diff --git a/ee/tabby-webserver/ui/404.html b/ee/tabby-webserver/ui/404.html index 7e6f4c9de735..ba30401f1119 100644 --- a/ee/tabby-webserver/ui/404.html +++ b/ee/tabby-webserver/ui/404.html @@ -1 +1 @@ -404: This page could not be found.Tabby

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Tabby

404

This page could not be found.

\ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1621-61bb60a1a2d1ceb0.js b/ee/tabby-webserver/ui/_next/static/chunks/1621-61bb60a1a2d1ceb0.js new file mode 100644 index 000000000000..637656d4536e --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/1621-61bb60a1a2d1ceb0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1621],{96964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(21024),o=r(68533),l=o._(r(2265)),i=n._(r(54887)),a=n._(r(29232)),s=r(33655),c=r(6921),u=r(98143);r(7707);let d=r(67650),f=n._(r(85324)),p={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:!0};function h(e,t,r,n,o,l){let i=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===i)return;e["data-loaded-src"]=i;let a="decode"in e?e.decode():Promise.resolve();a.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}})}function m(e){let[t,r]=l.version.split("."),n=parseInt(t,10),o=parseInt(r,10);return n>18||18===n&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:i,width:a,decoding:s,className:c,style:u,fetchPriority:d,placeholder:f,loading:p,unoptimized:g,fill:v,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:y,setShowAltText:S,onLoad:E,onError:_,...C}=e;return l.default.createElement("img",{...C,...m(d),loading:p,width:a,height:i,decoding:s,"data-nimg":v?"fill":"1",className:c,style:u,sizes:o,srcSet:n,src:r,ref:(0,l.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&h(e,f,b,w,y,g))},[r,f,b,w,y,_,g,t]),onLoad:e=>{let t=e.currentTarget;h(t,f,b,w,y,g)},onError:e=>{S(!0),"empty"!==f&&y(!0),_&&_(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...m(r.fetchPriority)};return t&&i.default.preload?(i.default.preload(r.src,n),null):l.default.createElement(a.default,null,l.default.createElement("link",{key:"__nimg-"+r.src+r.srcSet+r.sizes,rel:"preload",href:r.srcSet?void 0:r.src,...n}))}let b=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(d.RouterContext),n=(0,l.useContext)(u.ImageConfigContext),o=(0,l.useMemo)(()=>{let e=p||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:i,onLoadingComplete:a}=e,h=(0,l.useRef)(i);(0,l.useEffect)(()=>{h.current=i},[i]);let m=(0,l.useRef)(a);(0,l.useEffect)(()=>{m.current=a},[a]);let[b,w]=(0,l.useState)(!1),[y,S]=(0,l.useState)(!1),{props:E,meta:_}=(0,s.getImgProps)(e,{defaultLoader:f.default,imgConf:o,blurComplete:b,showAltText:y});return l.default.createElement(l.default.Fragment,null,l.default.createElement(g,{...E,unoptimized:_.unoptimized,placeholder:_.placeholder,fill:_.fill,onLoadRef:h,onLoadingCompleteRef:m,setBlurComplete:w,setShowAltText:S,ref:t}),_.priority?l.default.createElement(v,{isAppRouter:!r,imgAttributes:E}):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)},56948:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return l}});let n=r(21024),o=n._(r(2265)),l=o.default.createContext({})},28827:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},33655:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),r(7707);let n=r(48932),o=r(6921);function l(e){return void 0!==e.default}function i(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 a(e,t){var r;let a,s,c,{src:u,sizes:d,unoptimized:f=!1,priority:p=!1,loading:h,className:m,quality:g,width:v,height:b,fill:w=!1,style:y,onLoad:S,onLoadingComplete:E,placeholder:_="empty",blurDataURL:C,fetchPriority:P,layout:x,objectFit:R,objectPosition:T,lazyBoundary:O,lazyRoot:z,...M}=e,{imgConf:A,showAltText:j,blurComplete:L,defaultLoader:D}=t,I=A||o.imageConfigDefault;if("allSizes"in I)a=I;else{let e=[...I.deviceSizes,...I.imageSizes].sort((e,t)=>e-t),t=I.deviceSizes.sort((e,t)=>e-t);a={...I,allSizes:e,deviceSizes:t}}let W=M.loader||D;delete M.loader,delete M.srcSet;let k="__next_img_default"in W;if(k){if("custom"===a.loader)throw Error('Image with src "'+u+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=W;W=t=>{let{config:r,...n}=t;return e(n)}}if(x){"fill"===x&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[x];e&&(y={...y,...e});let t={responsive:"100vw",fill:"100vw"}[x];t&&!d&&(d=t)}let U="",N=i(v),H=i(b);if("object"==typeof(r=u)&&(l(r)||void 0!==r.src)){let e=l(u)?u.default:u;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(s=e.blurWidth,c=e.blurHeight,C=C||e.blurDataURL,U=e.src,!w){if(N||H){if(N&&!H){let t=N/e.width;H=Math.round(e.height*t)}else if(!N&&H){let t=H/e.height;N=Math.round(e.width*t)}}else N=e.width,H=e.height}}let Z=!p&&("lazy"===h||void 0===h);(!(u="string"==typeof u?u:U)||u.startsWith("data:")||u.startsWith("blob:"))&&(f=!0,Z=!1),a.unoptimized&&(f=!0),k&&u.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(f=!0),p&&(P="high");let Y=i(g),V=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:T}:{},j?{}:{color:"transparent"},y),F=L||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:N,heightInt:H,blurWidth:s,blurHeight:c,blurDataURL:C||"",objectFit:V.objectFit})+'")':'url("'+_+'")',B=F?{backgroundSize:V.objectFit||"cover",backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:F}:{},X=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:l,sizes:i,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:c}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof t)return{widths:n,kind:"w"};let l=[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))];return{widths:l,kind:"x"}}(t,o,i),u=s.length-1;return{sizes:i||"w"!==c?i:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:l,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:a({config:t,src:r,quality:l,width:s[u]})}}({config:a,src:u,unoptimized:f,width:N,quality:Y,sizes:d,loader:W}),G={...M,loading:Z?"lazy":h,fetchPriority:P,width:N,height:H,decoding:"async",className:m,style:{...V,...B},sizes:X.sizes,srcSet:X.srcSet,src:X.src},q={unoptimized:f,priority:p,placeholder:_,fill:w};return{props:G,meta:q}}},29232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return u},default:function(){return h}});let n=r(21024),o=r(68533),l=o._(r(2265)),i=n._(r(65184)),a=r(56948),s=r(43305),c=r(28827);function u(e){void 0===e&&(e=!1);let t=[l.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(l.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(7707);let f=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(u(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let l=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,r=(0,l.useContext)(a.AmpStateContext),n=(0,l.useContext)(s.HeadManagerContext);return l.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,c.isInAmpMode)(r)},t)};("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)},48932:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:l,objectFit:i}=e,a=n?40*n:t,s=o?40*o:r,c=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%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='"+(c?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},98143:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(21024),o=n._(r(2265)),l=r(6921),i=o.default.createContext(l.imageConfigDefault)},6921:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},62597:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return c},unstable_getImgProps:function(){return s}});let n=r(21024),o=r(33655),l=r(7707),i=r(96964),a=n._(r(85324)),s=e=>{(0,l.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,o.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:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},c=i.Image},85324:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:o}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},67650:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return l}});let n=r(21024),o=n._(r(2265)),l=o.default.createContext(null)},65184:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(68533),o=n._(r(2265)),l=o.useLayoutEffect,i=o.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let n=o.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}return l(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),l(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},7707:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},16691:function(e,t,r){e.exports=r(62597)},33018:function(e,t,r){"use strict";var n=r(61289);function o(){}function l(){}l.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,l,i){if(i!==n){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:o};return r.PropTypes=r,r}},74275:function(e,t,r){e.exports=r(33018)()},61289:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},17283:function(e,t,r){"use strict";r.d(t,{Ns:function(){return X},fC:function(){return F},gb:function(){return S},q4:function(){return A},l_:function(){return B}});var n=r(13428),o=r(2265),l=r(9381),i=r(85606),a=r(56989),s=r(42210),c=r(16459),u=r(65400),d=r(51030),f=r(85744);let p="ScrollArea",[h,m]=(0,a.b)(p),[g,v]=h(p),b=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,type:i="hover",dir:a,scrollHideDelay:c=600,...d}=e,[f,p]=(0,o.useState)(null),[h,m]=(0,o.useState)(null),[v,b]=(0,o.useState)(null),[w,y]=(0,o.useState)(null),[S,E]=(0,o.useState)(null),[_,C]=(0,o.useState)(0),[P,x]=(0,o.useState)(0),[R,T]=(0,o.useState)(!1),[O,z]=(0,o.useState)(!1),M=(0,s.e)(t,e=>p(e)),A=(0,u.gm)(a);return(0,o.createElement)(g,{scope:r,type:i,dir:A,scrollHideDelay:c,scrollArea:f,viewport:h,onViewportChange:m,content:v,onContentChange:b,scrollbarX:w,onScrollbarXChange:y,scrollbarXEnabled:R,onScrollbarXEnabledChange:T,scrollbarY:S,onScrollbarYChange:E,scrollbarYEnabled:O,onScrollbarYEnabledChange:z,onCornerWidthChange:C,onCornerHeightChange:x},(0,o.createElement)(l.WV.div,(0,n.Z)({dir:A},d,{ref:M,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":P+"px",...e.style}})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,children:i,...a}=e,c=v("ScrollAreaViewport",r),u=(0,o.useRef)(null),d=(0,s.e)(t,u,c.onViewportChange);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,o.createElement)(l.WV.div,(0,n.Z)({"data-radix-scroll-area-viewport":""},a,{ref:d,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,o.createElement)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"}},i)))}),y="ScrollAreaScrollbar",S=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,i=v(y,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=i,c="horizontal"===e.orientation;return(0,o.useEffect)(()=>(c?a(!0):s(!0),()=>{c?a(!1):s(!1)}),[c,a,s]),"hover"===i.type?(0,o.createElement)(E,(0,n.Z)({},l,{ref:t,forceMount:r})):"scroll"===i.type?(0,o.createElement)(_,(0,n.Z)({},l,{ref:t,forceMount:r})):"auto"===i.type?(0,o.createElement)(C,(0,n.Z)({},l,{ref:t,forceMount:r})):"always"===i.type?(0,o.createElement)(P,(0,n.Z)({},l,{ref:t})):null}),E=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,a=v(y,e.__scopeScrollArea),[s,c]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=a.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),c(!0)},n=()=>{t=window.setTimeout(()=>c(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),(0,o.createElement)(i.z,{present:r||s},(0,o.createElement)(C,(0,n.Z)({"data-state":s?"visible":"hidden"},l,{ref:t})))}),_=(0,o.forwardRef)((e,t)=>{var r;let{forceMount:l,...a}=e,s=v(y,e.__scopeScrollArea),c="horizontal"===e.orientation,u=Y(()=>p("SCROLL_END"),100),[d,p]=(r={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,o.useReducer)((e,t)=>{let n=r[e][t];return null!=n?n:e},"hidden"));return(0,o.useEffect)(()=>{if("idle"===d){let e=window.setTimeout(()=>p("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,s.scrollHideDelay,p]),(0,o.useEffect)(()=>{let e=s.viewport,t=c?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t],o=r!==n;o&&(p("SCROLL"),u()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,c,p,u]),(0,o.createElement)(i.z,{present:l||"hidden"!==d},(0,o.createElement)(P,(0,n.Z)({"data-state":"hidden"===d?"hidden":"visible"},a,{ref:t,onPointerEnter:(0,f.M)(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:(0,f.M)(e.onPointerLeave,()=>p("POINTER_LEAVE"))})))}),C=(0,o.forwardRef)((e,t)=>{let r=v(y,e.__scopeScrollArea),{forceMount:l,...a}=e,[s,c]=(0,o.useState)(!1),u="horizontal"===e.orientation,d=Y(()=>{if(r.viewport){let e=r.viewport.offsetWidth{let{orientation:r="vertical",...l}=e,i=v(y,e.__scopeScrollArea),a=(0,o.useRef)(null),s=(0,o.useRef)(0),[c,u]=(0,o.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=k(c.viewport,c.content),f={...l,sizes:c,onSizesChange:u,hasThumb:!!(d>0&&d<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function p(e,t){return function(e,t,r,n="ltr"){let o=U(r),l=t||o/2,i=r.scrollbar.paddingStart+l,a=r.scrollbar.size-r.scrollbar.paddingEnd-(o-l),s=r.content-r.viewport,c=H([i,a],"ltr"===n?[0,s]:[-1*s,0]);return c(e)}(e,s.current,c,t)}return"horizontal"===r?(0,o.createElement)(x,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=N(e,c,i.dir);a.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=p(e,i.dir))}})):"vertical"===r?(0,o.createElement)(R,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=N(e,c);a.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=p(e))}})):null}),x=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:l,...i}=e,a=v(y,e.__scopeScrollArea),[c,u]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,s.e)(t,d,a.onScrollbarXChange);return(0,o.useEffect)(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,o.createElement)(z,(0,n.Z)({"data-orientation":"horizontal"},i,{ref:f,sizes:r,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":U(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(a.viewport){let n=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),n>0&&n{d.current&&a.viewport&&c&&l({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:W(c.paddingLeft),paddingEnd:W(c.paddingRight)}})}}))}),R=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:l,...i}=e,a=v(y,e.__scopeScrollArea),[c,u]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,s.e)(t,d,a.onScrollbarYChange);return(0,o.useEffect)(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,o.createElement)(z,(0,n.Z)({"data-orientation":"vertical"},i,{ref:f,sizes:r,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":U(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(a.viewport){let n=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),n>0&&n{d.current&&a.viewport&&c&&l({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:W(c.paddingTop),paddingEnd:W(c.paddingBottom)}})}}))}),[T,O]=h(y),z=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,sizes:i,hasThumb:a,onThumbChange:u,onThumbPointerUp:d,onThumbPointerDown:p,onThumbPositionChange:h,onDragScroll:m,onWheelScroll:g,onResize:b,...w}=e,S=v(y,r),[E,_]=(0,o.useState)(null),C=(0,s.e)(t,e=>_(e)),P=(0,o.useRef)(null),x=(0,o.useRef)(""),R=S.viewport,O=i.content-i.viewport,z=(0,c.W)(g),M=(0,c.W)(h),A=Y(b,10);function j(e){if(P.current){let t=e.clientX-P.current.left,r=e.clientY-P.current.top;m({x:t,y:r})}}return(0,o.useEffect)(()=>{let e=e=>{let t=e.target,r=null==E?void 0:E.contains(t);r&&z(e,O)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[R,E,O,z]),(0,o.useEffect)(M,[i,M]),V(E,A),V(S.content,A),(0,o.createElement)(T,{scope:r,scrollbar:E,hasThumb:a,onThumbChange:(0,c.W)(u),onThumbPointerUp:(0,c.W)(d),onThumbPositionChange:M,onThumbPointerDown:(0,c.W)(p)},(0,o.createElement)(l.WV.div,(0,n.Z)({},w,{ref:C,style:{position:"absolute",...w.style},onPointerDown:(0,f.M)(e.onPointerDown,e=>{if(0===e.button){let t=e.target;t.setPointerCapture(e.pointerId),P.current=E.getBoundingClientRect(),x.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),j(e)}}),onPointerMove:(0,f.M)(e.onPointerMove,j),onPointerUp:(0,f.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=x.current,S.viewport&&(S.viewport.style.scrollBehavior=""),P.current=null})})))}),M="ScrollAreaThumb",A=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,a=O(M,e.__scopeScrollArea);return(0,o.createElement)(i.z,{present:r||a.hasThumb},(0,o.createElement)(j,(0,n.Z)({ref:t},l)))}),j=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,style:i,...a}=e,c=v(M,r),u=O(M,r),{onThumbPositionChange:d}=u,p=(0,s.e)(t,e=>u.onThumbChange(e)),h=(0,o.useRef)(),m=Y(()=>{h.current&&(h.current(),h.current=void 0)},100);return(0,o.useEffect)(()=>{let e=c.viewport;if(e){let t=()=>{if(m(),!h.current){let t=Z(e,d);h.current=t,d()}};return d(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[c.viewport,m,d]),(0,o.createElement)(l.WV.div,(0,n.Z)({"data-state":u.hasThumb?"visible":"hidden"},a,{ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...i},onPointerDownCapture:(0,f.M)(e.onPointerDownCapture,e=>{let t=e.target,r=t.getBoundingClientRect(),n=e.clientX-r.left,o=e.clientY-r.top;u.onThumbPointerDown({x:n,y:o})}),onPointerUp:(0,f.M)(e.onPointerUp,u.onThumbPointerUp)}))}),L="ScrollAreaCorner",D=(0,o.forwardRef)((e,t)=>{let r=v(L,e.__scopeScrollArea),l=!!(r.scrollbarX&&r.scrollbarY),i="scroll"!==r.type&&l;return i?(0,o.createElement)(I,(0,n.Z)({},e,{ref:t})):null}),I=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,...i}=e,a=v(L,r),[s,c]=(0,o.useState)(0),[u,d]=(0,o.useState)(0);return V(a.scrollbarX,()=>{var e;let t=(null===(e=a.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;a.onCornerHeightChange(t),d(t)}),V(a.scrollbarY,()=>{var e;let t=(null===(e=a.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;a.onCornerWidthChange(t),c(t)}),s&&u?(0,o.createElement)(l.WV.div,(0,n.Z)({},i,{ref:t,style:{width:s,height:u,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}})):null});function W(e){return e?parseInt(e,10):0}function k(e,t){let r=e/t;return isNaN(r)?0:r}function U(e){let t=k(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function N(e,t,r="ltr"){let n=U(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,i=t.content-t.viewport,a="ltr"===r?[0,i]:[-1*i,0],s=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,a),c=H([0,i],[0,l-n]);return c(s)}function H(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}let Z=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let l={left:e.scrollLeft,top:e.scrollTop},i=r.left!==l.left,a=r.top!==l.top;(i||a)&&t(),r=l,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function Y(e,t){let r=(0,c.W)(e),n=(0,o.useRef)(0);return(0,o.useEffect)(()=>()=>window.clearTimeout(n.current),[]),(0,o.useCallback)(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function V(e,t){let r=(0,c.W)(t);(0,d.b)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}let F=b,B=w,X=D},91067:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=Object.prototype.hasOwnProperty,o=function(e,t){return null!=e&&n.call(e,t)},l=r(12494),i=function(e,t){return null!=e&&(0,l.Z)(e,t,o)}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1621-8722ce7f0a9da221.js b/ee/tabby-webserver/ui/_next/static/chunks/1621-8722ce7f0a9da221.js deleted file mode 100644 index b4d86f04612b..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/1621-8722ce7f0a9da221.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1621],{96964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(21024),o=r(68533),l=o._(r(2265)),i=n._(r(54887)),a=n._(r(29232)),s=r(33655),u=r(6921),c=r(98143);r(7707);let d=r(67650),f=n._(r(85324)),p={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:!0};function m(e,t,r,n,o,l){let i=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===i)return;e["data-loaded-src"]=i;let a="decode"in e?e.decode():Promise.resolve();a.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}})}function h(e){let[t,r]=l.version.split("."),n=parseInt(t,10),o=parseInt(r,10);return n>18||18===n&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:i,width:a,decoding:s,className:u,style:c,fetchPriority:d,placeholder:f,loading:p,unoptimized:g,fill:v,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:y,setShowAltText:S,onLoad:E,onError:_,...C}=e;return l.default.createElement("img",{...C,...h(d),loading:p,width:a,height:i,decoding:s,"data-nimg":v?"fill":"1",className:u,style:c,sizes:o,srcSet:n,src:r,ref:(0,l.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&m(e,f,b,w,y,g))},[r,f,b,w,y,_,g,t]),onLoad:e=>{let t=e.currentTarget;m(t,f,b,w,y,g)},onError:e=>{S(!0),"empty"!==f&&y(!0),_&&_(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...h(r.fetchPriority)};return t&&i.default.preload?(i.default.preload(r.src,n),null):l.default.createElement(a.default,null,l.default.createElement("link",{key:"__nimg-"+r.src+r.srcSet+r.sizes,rel:"preload",href:r.srcSet?void 0:r.src,...n}))}let b=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(d.RouterContext),n=(0,l.useContext)(c.ImageConfigContext),o=(0,l.useMemo)(()=>{let e=p||n||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:i,onLoadingComplete:a}=e,m=(0,l.useRef)(i);(0,l.useEffect)(()=>{m.current=i},[i]);let h=(0,l.useRef)(a);(0,l.useEffect)(()=>{h.current=a},[a]);let[b,w]=(0,l.useState)(!1),[y,S]=(0,l.useState)(!1),{props:E,meta:_}=(0,s.getImgProps)(e,{defaultLoader:f.default,imgConf:o,blurComplete:b,showAltText:y});return l.default.createElement(l.default.Fragment,null,l.default.createElement(g,{...E,unoptimized:_.unoptimized,placeholder:_.placeholder,fill:_.fill,onLoadRef:m,onLoadingCompleteRef:h,setBlurComplete:w,setShowAltText:S,ref:t}),_.priority?l.default.createElement(v,{isAppRouter:!r,imgAttributes:E}):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)},56948:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return l}});let n=r(21024),o=n._(r(2265)),l=o.default.createContext({})},28827:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},33655:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),r(7707);let n=r(48932),o=r(6921);function l(e){return void 0!==e.default}function i(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 a(e,t){var r;let a,s,u,{src:c,sizes:d,unoptimized:f=!1,priority:p=!1,loading:m,className:h,quality:g,width:v,height:b,fill:w=!1,style:y,onLoad:S,onLoadingComplete:E,placeholder:_="empty",blurDataURL:C,fetchPriority:P,layout:x,objectFit:R,objectPosition:T,lazyBoundary:O,lazyRoot:z,...M}=e,{imgConf:A,showAltText:j,blurComplete:L,defaultLoader:D}=t,I=A||o.imageConfigDefault;if("allSizes"in I)a=I;else{let e=[...I.deviceSizes,...I.imageSizes].sort((e,t)=>e-t),t=I.deviceSizes.sort((e,t)=>e-t);a={...I,allSizes:e,deviceSizes:t}}let W=M.loader||D;delete M.loader,delete M.srcSet;let k="__next_img_default"in W;if(k){if("custom"===a.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=W;W=t=>{let{config:r,...n}=t;return e(n)}}if(x){"fill"===x&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[x];e&&(y={...y,...e});let t={responsive:"100vw",fill:"100vw"}[x];t&&!d&&(d=t)}let U="",N=i(v),H=i(b);if("object"==typeof(r=c)&&(l(r)||void 0!==r.src)){let e=l(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(s=e.blurWidth,u=e.blurHeight,C=C||e.blurDataURL,U=e.src,!w){if(N||H){if(N&&!H){let t=N/e.width;H=Math.round(e.height*t)}else if(!N&&H){let t=H/e.height;N=Math.round(e.width*t)}}else N=e.width,H=e.height}}let Z=!p&&("lazy"===m||void 0===m);(!(c="string"==typeof c?c:U)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,Z=!1),a.unoptimized&&(f=!0),k&&c.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(f=!0),p&&(P="high");let Y=i(g),V=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:T}:{},j?{}:{color:"transparent"},y),F=L||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:N,heightInt:H,blurWidth:s,blurHeight:u,blurDataURL:C||"",objectFit:V.objectFit})+'")':'url("'+_+'")',B=F?{backgroundSize:V.objectFit||"cover",backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:F}:{},X=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:l,sizes:i,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof t)return{widths:n,kind:"w"};let l=[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))];return{widths:l,kind:"x"}}(t,o,i),c=s.length-1;return{sizes:i||"w"!==u?i:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:l,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:l,width:s[c]})}}({config:a,src:c,unoptimized:f,width:N,quality:Y,sizes:d,loader:W}),G={...M,loading:Z?"lazy":m,fetchPriority:P,width:N,height:H,decoding:"async",className:h,style:{...V,...B},sizes:X.sizes,srcSet:X.srcSet,src:X.src},q={unoptimized:f,priority:p,placeholder:_,fill:w};return{props:G,meta:q}}},29232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return c},default:function(){return m}});let n=r(21024),o=r(68533),l=o._(r(2265)),i=n._(r(65184)),a=r(56948),s=r(43305),u=r(28827);function c(e){void 0===e&&(e=!1);let t=[l.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(l.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(7707);let f=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let l=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(a.AmpStateContext),n=(0,l.useContext)(s.HeadManagerContext);return l.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,u.isInAmpMode)(r)},t)};("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)},48932:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:l,objectFit:i}=e,a=n?40*n:t,s=o?40*o:r,u=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";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"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},98143:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(21024),o=n._(r(2265)),l=r(6921),i=o.default.createContext(l.imageConfigDefault)},6921:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},62597:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},unstable_getImgProps:function(){return s}});let n=r(21024),o=r(33655),l=r(7707),i=r(96964),a=n._(r(85324)),s=e=>{(0,l.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,o.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:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},u=i.Image},85324:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:o}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},67650:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return l}});let n=r(21024),o=n._(r(2265)),l=o.default.createContext(null)},65184:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(68533),o=n._(r(2265)),l=o.useLayoutEffect,i=o.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let n=o.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}return l(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),l(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},7707:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},16691:function(e,t,r){e.exports=r(62597)},33018:function(e,t,r){"use strict";var n=r(61289);function o(){}function l(){}l.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,l,i){if(i!==n){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:o};return r.PropTypes=r,r}},74275:function(e,t,r){e.exports=r(33018)()},61289:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65400:function(e,t,r){"use strict";r.d(t,{gm:function(){return l}});var n=r(2265);let o=(0,n.createContext)(void 0);function l(e){let t=(0,n.useContext)(o);return e||t||"ltr"}},17283:function(e,t,r){"use strict";r.d(t,{Ns:function(){return X},fC:function(){return F},gb:function(){return S},q4:function(){return A},l_:function(){return B}});var n=r(13428),o=r(2265),l=r(9381),i=r(85606),a=r(56989),s=r(42210),u=r(16459),c=r(65400),d=r(51030),f=r(85744);let p="ScrollArea",[m,h]=(0,a.b)(p),[g,v]=m(p),b=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,type:i="hover",dir:a,scrollHideDelay:u=600,...d}=e,[f,p]=(0,o.useState)(null),[m,h]=(0,o.useState)(null),[v,b]=(0,o.useState)(null),[w,y]=(0,o.useState)(null),[S,E]=(0,o.useState)(null),[_,C]=(0,o.useState)(0),[P,x]=(0,o.useState)(0),[R,T]=(0,o.useState)(!1),[O,z]=(0,o.useState)(!1),M=(0,s.e)(t,e=>p(e)),A=(0,c.gm)(a);return(0,o.createElement)(g,{scope:r,type:i,dir:A,scrollHideDelay:u,scrollArea:f,viewport:m,onViewportChange:h,content:v,onContentChange:b,scrollbarX:w,onScrollbarXChange:y,scrollbarXEnabled:R,onScrollbarXEnabledChange:T,scrollbarY:S,onScrollbarYChange:E,scrollbarYEnabled:O,onScrollbarYEnabledChange:z,onCornerWidthChange:C,onCornerHeightChange:x},(0,o.createElement)(l.WV.div,(0,n.Z)({dir:A},d,{ref:M,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":P+"px",...e.style}})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,children:i,...a}=e,u=v("ScrollAreaViewport",r),c=(0,o.useRef)(null),d=(0,s.e)(t,c,u.onViewportChange);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,o.createElement)(l.WV.div,(0,n.Z)({"data-radix-scroll-area-viewport":""},a,{ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,o.createElement)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"}},i)))}),y="ScrollAreaScrollbar",S=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,i=v(y,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=i,u="horizontal"===e.orientation;return(0,o.useEffect)(()=>(u?a(!0):s(!0),()=>{u?a(!1):s(!1)}),[u,a,s]),"hover"===i.type?(0,o.createElement)(E,(0,n.Z)({},l,{ref:t,forceMount:r})):"scroll"===i.type?(0,o.createElement)(_,(0,n.Z)({},l,{ref:t,forceMount:r})):"auto"===i.type?(0,o.createElement)(C,(0,n.Z)({},l,{ref:t,forceMount:r})):"always"===i.type?(0,o.createElement)(P,(0,n.Z)({},l,{ref:t})):null}),E=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,a=v(y,e.__scopeScrollArea),[s,u]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=a.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),u(!0)},n=()=>{t=window.setTimeout(()=>u(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),(0,o.createElement)(i.z,{present:r||s},(0,o.createElement)(C,(0,n.Z)({"data-state":s?"visible":"hidden"},l,{ref:t})))}),_=(0,o.forwardRef)((e,t)=>{var r;let{forceMount:l,...a}=e,s=v(y,e.__scopeScrollArea),u="horizontal"===e.orientation,c=Y(()=>p("SCROLL_END"),100),[d,p]=(r={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,o.useReducer)((e,t)=>{let n=r[e][t];return null!=n?n:e},"hidden"));return(0,o.useEffect)(()=>{if("idle"===d){let e=window.setTimeout(()=>p("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,s.scrollHideDelay,p]),(0,o.useEffect)(()=>{let e=s.viewport,t=u?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t],o=r!==n;o&&(p("SCROLL"),c()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,u,p,c]),(0,o.createElement)(i.z,{present:l||"hidden"!==d},(0,o.createElement)(P,(0,n.Z)({"data-state":"hidden"===d?"hidden":"visible"},a,{ref:t,onPointerEnter:(0,f.M)(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:(0,f.M)(e.onPointerLeave,()=>p("POINTER_LEAVE"))})))}),C=(0,o.forwardRef)((e,t)=>{let r=v(y,e.__scopeScrollArea),{forceMount:l,...a}=e,[s,u]=(0,o.useState)(!1),c="horizontal"===e.orientation,d=Y(()=>{if(r.viewport){let e=r.viewport.offsetWidth{let{orientation:r="vertical",...l}=e,i=v(y,e.__scopeScrollArea),a=(0,o.useRef)(null),s=(0,o.useRef)(0),[u,c]=(0,o.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=k(u.viewport,u.content),f={...l,sizes:u,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function p(e,t){return function(e,t,r,n="ltr"){let o=U(r),l=t||o/2,i=r.scrollbar.paddingStart+l,a=r.scrollbar.size-r.scrollbar.paddingEnd-(o-l),s=r.content-r.viewport,u=H([i,a],"ltr"===n?[0,s]:[-1*s,0]);return u(e)}(e,s.current,u,t)}return"horizontal"===r?(0,o.createElement)(x,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=N(e,u,i.dir);a.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=p(e,i.dir))}})):"vertical"===r?(0,o.createElement)(R,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=N(e,u);a.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=p(e))}})):null}),x=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:l,...i}=e,a=v(y,e.__scopeScrollArea),[u,c]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,s.e)(t,d,a.onScrollbarXChange);return(0,o.useEffect)(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,o.createElement)(z,(0,n.Z)({"data-orientation":"horizontal"},i,{ref:f,sizes:r,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":U(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(a.viewport){let n=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),n>0&&n{d.current&&a.viewport&&u&&l({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:W(u.paddingLeft),paddingEnd:W(u.paddingRight)}})}}))}),R=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:l,...i}=e,a=v(y,e.__scopeScrollArea),[u,c]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,s.e)(t,d,a.onScrollbarYChange);return(0,o.useEffect)(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,o.createElement)(z,(0,n.Z)({"data-orientation":"vertical"},i,{ref:f,sizes:r,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":U(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(a.viewport){let n=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),n>0&&n{d.current&&a.viewport&&u&&l({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:W(u.paddingTop),paddingEnd:W(u.paddingBottom)}})}}))}),[T,O]=m(y),z=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,sizes:i,hasThumb:a,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:p,onThumbPositionChange:m,onDragScroll:h,onWheelScroll:g,onResize:b,...w}=e,S=v(y,r),[E,_]=(0,o.useState)(null),C=(0,s.e)(t,e=>_(e)),P=(0,o.useRef)(null),x=(0,o.useRef)(""),R=S.viewport,O=i.content-i.viewport,z=(0,u.W)(g),M=(0,u.W)(m),A=Y(b,10);function j(e){if(P.current){let t=e.clientX-P.current.left,r=e.clientY-P.current.top;h({x:t,y:r})}}return(0,o.useEffect)(()=>{let e=e=>{let t=e.target,r=null==E?void 0:E.contains(t);r&&z(e,O)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[R,E,O,z]),(0,o.useEffect)(M,[i,M]),V(E,A),V(S.content,A),(0,o.createElement)(T,{scope:r,scrollbar:E,hasThumb:a,onThumbChange:(0,u.W)(c),onThumbPointerUp:(0,u.W)(d),onThumbPositionChange:M,onThumbPointerDown:(0,u.W)(p)},(0,o.createElement)(l.WV.div,(0,n.Z)({},w,{ref:C,style:{position:"absolute",...w.style},onPointerDown:(0,f.M)(e.onPointerDown,e=>{if(0===e.button){let t=e.target;t.setPointerCapture(e.pointerId),P.current=E.getBoundingClientRect(),x.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),j(e)}}),onPointerMove:(0,f.M)(e.onPointerMove,j),onPointerUp:(0,f.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=x.current,S.viewport&&(S.viewport.style.scrollBehavior=""),P.current=null})})))}),M="ScrollAreaThumb",A=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,a=O(M,e.__scopeScrollArea);return(0,o.createElement)(i.z,{present:r||a.hasThumb},(0,o.createElement)(j,(0,n.Z)({ref:t},l)))}),j=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,style:i,...a}=e,u=v(M,r),c=O(M,r),{onThumbPositionChange:d}=c,p=(0,s.e)(t,e=>c.onThumbChange(e)),m=(0,o.useRef)(),h=Y(()=>{m.current&&(m.current(),m.current=void 0)},100);return(0,o.useEffect)(()=>{let e=u.viewport;if(e){let t=()=>{if(h(),!m.current){let t=Z(e,d);m.current=t,d()}};return d(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[u.viewport,h,d]),(0,o.createElement)(l.WV.div,(0,n.Z)({"data-state":c.hasThumb?"visible":"hidden"},a,{ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...i},onPointerDownCapture:(0,f.M)(e.onPointerDownCapture,e=>{let t=e.target,r=t.getBoundingClientRect(),n=e.clientX-r.left,o=e.clientY-r.top;c.onThumbPointerDown({x:n,y:o})}),onPointerUp:(0,f.M)(e.onPointerUp,c.onThumbPointerUp)}))}),L="ScrollAreaCorner",D=(0,o.forwardRef)((e,t)=>{let r=v(L,e.__scopeScrollArea),l=!!(r.scrollbarX&&r.scrollbarY),i="scroll"!==r.type&&l;return i?(0,o.createElement)(I,(0,n.Z)({},e,{ref:t})):null}),I=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,...i}=e,a=v(L,r),[s,u]=(0,o.useState)(0),[c,d]=(0,o.useState)(0);return V(a.scrollbarX,()=>{var e;let t=(null===(e=a.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;a.onCornerHeightChange(t),d(t)}),V(a.scrollbarY,()=>{var e;let t=(null===(e=a.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;a.onCornerWidthChange(t),u(t)}),s&&c?(0,o.createElement)(l.WV.div,(0,n.Z)({},i,{ref:t,style:{width:s,height:c,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}})):null});function W(e){return e?parseInt(e,10):0}function k(e,t){let r=e/t;return isNaN(r)?0:r}function U(e){let t=k(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function N(e,t,r="ltr"){let n=U(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,i=t.content-t.viewport,a="ltr"===r?[0,i]:[-1*i,0],s=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,a),u=H([0,i],[0,l-n]);return u(s)}function H(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}let Z=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let l={left:e.scrollLeft,top:e.scrollTop},i=r.left!==l.left,a=r.top!==l.top;(i||a)&&t(),r=l,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function Y(e,t){let r=(0,u.W)(e),n=(0,o.useRef)(0);return(0,o.useEffect)(()=>()=>window.clearTimeout(n.current),[]),(0,o.useCallback)(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function V(e,t){let r=(0,u.W)(t);(0,d.b)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}let F=b,B=w,X=D},91067:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=Object.prototype.hasOwnProperty,o=function(e,t){return null!=e&&n.call(e,t)},l=r(12494),i=function(e,t){return null!=e&&(0,l.Z)(e,t,o)}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1894-3767909c2d941ab2.js b/ee/tabby-webserver/ui/_next/static/chunks/1894-3767909c2d941ab2.js deleted file mode 100644 index efdf66f79e99..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/1894-3767909c2d941ab2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1894],{93023:function(n,t,e){e.d(t,{d:function(){return a},z:function(){return c}});var r=e(57437),s=e(2265),o=e(67256),l=e(7404),i=e(39311);let a=(0,l.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((n,t)=>{let{className:e,variant:s,size:l,asChild:c=!1,...h}=n,u=c?o.g7:"button";return(0,r.jsx)(u,{className:(0,i.cn)(a({variant:s,size:l,className:e})),ref:t,...h})});c.displayName="Button"},84168:function(n,t,e){e.d(t,{A2:function(){return B},BD:function(){return o},C2:function(){return a},C9:function(){return f},Dj:function(){return j},Ec:function(){return l},F8:function(){return A},IT:function(){return d},LW:function(){return R},NO:function(){return m},O3:function(){return g},Qs:function(){return L},SC:function(){return h},Sr:function(){return Z},TE:function(){return y},VG:function(){return i},Xh:function(){return b},bM:function(){return C},f7:function(){return E},gt:function(){return k},gx:function(){return H},im:function(){return N},oR:function(){return z},qO:function(){return c},sW:function(){return V},se:function(){return W},tr:function(){return v},vM:function(){return w},vU:function(){return p},vq:function(){return u},yl:function(){return M},zu:function(){return x}});var r=e(57437);e(2265);var s=e(39311);function o(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z"})})}function l(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z"})})}function i(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"m9 18 6-6-6-6"})})}function a(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"m6 9 6 6 6-6"})})}function c(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z"})})}function h(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z"})})}function u(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z"})})}function w(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4 animate-spin",t),...e,children:(0,r.jsx)("path",{d:"M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128Z"})})}function d(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16ZM96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Zm48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Z"})})}function v(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z"})})}function x(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z"})})}function f(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z"})})}function g(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z"})})}function p(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z"})})}function m(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z"})})}function j(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z"})})}function C(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z"})})}function M(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})})}function Z(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),viewBox:"0 0 256 256",...e,children:(0,r.jsx)("path",{d:"M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71ZM40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44Zm210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07Z"})})}function H(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),viewBox:"0 0 270 270",...e,children:(0,r.jsxs)("g",{children:[(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{style:{fill:"#E01E5A"},d:"M99.4,151.2c0,7.1-5.8,12.9-12.9,12.9c-7.1,0-12.9-5.8-12.9-12.9c0-7.1,5.8-12.9,12.9-12.9h12.9V151.2z"}),(0,r.jsx)("path",{style:{fill:"#E01E5A"},d:"M105.9,151.2c0-7.1,5.8-12.9,12.9-12.9s12.9,5.8,12.9,12.9v32.3c0,7.1-5.8,12.9-12.9,12.9 s-12.9-5.8-12.9-12.9V151.2z"})]}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{style:{fill:"#36C5F0"},d:"M118.8,99.4c-7.1,0-12.9-5.8-12.9-12.9c0-7.1,5.8-12.9,12.9-12.9s12.9,5.8,12.9,12.9v12.9H118.8z"}),(0,r.jsx)("path",{style:{fill:"#36C5F0"},d:"M118.8,105.9c7.1,0,12.9,5.8,12.9,12.9s-5.8,12.9-12.9,12.9H86.5c-7.1,0-12.9-5.8-12.9-12.9 s5.8-12.9,12.9-12.9H118.8z"})]}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{style:{fill:"#2EB67D"},d:"M170.6,118.8c0-7.1,5.8-12.9,12.9-12.9c7.1,0,12.9,5.8,12.9,12.9s-5.8,12.9-12.9,12.9h-12.9V118.8z"}),(0,r.jsx)("path",{style:{fill:"#2EB67D"},d:"M164.1,118.8c0,7.1-5.8,12.9-12.9,12.9c-7.1,0-12.9-5.8-12.9-12.9V86.5c0-7.1,5.8-12.9,12.9-12.9 c7.1,0,12.9,5.8,12.9,12.9V118.8z"})]}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{style:{fill:"#ECB22E"},d:"M151.2,170.6c7.1,0,12.9,5.8,12.9,12.9c0,7.1-5.8,12.9-12.9,12.9c-7.1,0-12.9-5.8-12.9-12.9v-12.9H151.2z"}),(0,r.jsx)("path",{style:{fill:"#ECB22E"},d:"M151.2,164.1c-7.1,0-12.9-5.8-12.9-12.9c0-7.1,5.8-12.9,12.9-12.9h32.3c7.1,0,12.9,5.8,12.9,12.9 c0,7.1-5.8,12.9-12.9,12.9H151.2z"})]})]})})}function L(n){let{className:t,...e}=n;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,r.jsx)("path",{d:"M12 9v4"}),(0,r.jsx)("path",{d:"M12 17h.01"})]})}function V(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...e,children:(0,r.jsx)("path",{d:"M13.51 4l-5-3h-1l-5 3-.49.86v6l.49.85 5 3h1l5-3 .49-.85v-6L13.51 4zm-6 9.56l-4.5-2.7V5.7l4.5 2.45v5.41zM3.27 4.7l4.74-2.84 4.74 2.84-4.74 2.59L3.27 4.7zm9.74 6.16l-4.5 2.7V8.15l4.5-2.45v5.16z"})})}function k(n){let{className:t,...e}=n;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:[(0,r.jsx)("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),(0,r.jsx)("polyline",{points:"16 17 21 12 16 7"}),(0,r.jsx)("line",{x1:"21",x2:"9",y1:"12",y2:"12"})]})}function B(n){let{className:t,...e}=n;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:[(0,r.jsx)("path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),(0,r.jsx)("polyline",{points:"9 22 9 12 15 12 15 22"})]})}function N(n){let{className:t,...e}=n;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:[(0,r.jsx)("rect",{x:"16",y:"16",width:"6",height:"6",rx:"1"}),(0,r.jsx)("rect",{x:"2",y:"16",width:"6",height:"6",rx:"1"}),(0,r.jsx)("rect",{x:"9",y:"2",width:"6",height:"6",rx:"1"}),(0,r.jsx)("path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"}),(0,r.jsx)("path",{d:"M12 12V8"})]})}function y(n){let{className:t,...e}=n;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:[(0,r.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,r.jsx)("path",{d:"M3 3v5h5"})]})}function b(n){let{className:t,...e}=n;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.cn)("h-4 w-4",t),...e,children:[(0,r.jsx)("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),(0,r.jsx)("polyline",{points:"14 2 14 8 20 8"})]})}function z(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"})})}function A(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M.513 1.513A1.75 1.75 0 0 1 1.75 1h3.5c.55 0 1.07.26 1.4.7l.9 1.2a.25.25 0 0 0 .2.1H13a1 1 0 0 1 1 1v.5H2.75a.75.75 0 0 0 0 1.5h11.978a1 1 0 0 1 .994 1.117L15 13.25A1.75 1.75 0 0 1 13.25 15H1.75A1.75 1.75 0 0 1 0 13.25V2.75c0-.464.184-.91.513-1.237Z"})})}function E(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function W(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function R(n){let{className:t,...e}=n;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,s.cn)("h-4 w-4",t),...e,children:(0,r.jsx)("path",{d:"M5 1C5 0.447715 5.44772 0 6 0H9C9.55228 0 10 0.447715 10 1V2H14C14.5523 2 15 2.44772 15 3V6C15 6.8888 14.6131 7.68734 14 8.23608V11.5C14 12.3284 13.3284 13 12.5 13H2.5C1.67157 13 1 12.3284 1 11.5V8.2359C0.38697 7.68721 0 6.88883 0 6V3C0 2.44772 0.447716 2 1 2H5V1ZM9 1V2H6V1H9ZM1 3H5H5.5H9.5H10H14V6C14 6.654 13.6866 7.23467 13.1997 7.6004C12.8655 7.85144 12.4508 8 12 8H8V7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5V8H3C2.5493 8 2.1346 7.85133 1.80029 7.60022C1.31335 7.23446 1 6.65396 1 6V3ZM7 9H3C2.64961 9 2.31292 8.93972 2 8.82905V11.5C2 11.7761 2.22386 12 2.5 12H12.5C12.7761 12 13 11.7761 13 11.5V8.82915C12.6871 8.93978 12.3504 9 12 9H8V9.5C8 9.77614 7.77614 10 7.5 10C7.22386 10 7 9.77614 7 9.5V9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1894-fbe42815b4b0b176.js b/ee/tabby-webserver/ui/_next/static/chunks/1894-fbe42815b4b0b176.js new file mode 100644 index 000000000000..0a3e98208736 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/1894-fbe42815b4b0b176.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1894],{93023:function(n,e,r){r.d(e,{d:function(){return c},z:function(){return a}});var t=r(57437),o=r(2265),s=r(67256),l=r(7404),i=r(39311);let c=(0,l.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),a=o.forwardRef((n,e)=>{let{className:r,variant:o,size:l,asChild:a=!1,...u}=n,h=a?s.g7:"button";return(0,t.jsx)(h,{className:(0,i.cn)(c({variant:o,size:l,className:r})),ref:e,...u})});a.displayName="Button"},84168:function(n,e,r){r.d(e,{A2:function(){return B},BD:function(){return s},C2:function(){return a},C9:function(){return C},Dj:function(){return m},Ec:function(){return l},F8:function(){return A},GI:function(){return D},IT:function(){return v},LW:function(){return R},NK:function(){return _},NO:function(){return j},O3:function(){return g},Qs:function(){return V},SC:function(){return h},TE:function(){return y},VG:function(){return i},Xh:function(){return b},bM:function(){return L},ed:function(){return c},f7:function(){return E},gt:function(){return k},gx:function(){return H},im:function(){return N},oR:function(){return z},qO:function(){return u},sW:function(){return Z},se:function(){return W},tr:function(){return x},vM:function(){return w},vU:function(){return p},vq:function(){return d},yl:function(){return M},zu:function(){return f}});var t=r(57437);r(2265);var o=r(39311);function s(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z"})})}function l(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z"})})}function i(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"m9 18 6-6-6-6"})})}function c(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"m15 18-6-6 6-6"})})}function a(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"m6 9 6 6 6-6"})})}function u(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z"})})}function h(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z"})})}function d(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z"})})}function w(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4 animate-spin",e),...r,children:(0,t.jsx)("path",{d:"M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128Z"})})}function v(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16ZM96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Zm48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Z"})})}function x(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z"})})}function f(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z"})})}function C(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z"})})}function g(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z"})})}function p(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z"})})}function j(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z"})})}function m(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z"})})}function L(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z"})})}function M(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})})}function H(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),viewBox:"0 0 270 270",...r,children:(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{style:{fill:"#E01E5A"},d:"M99.4,151.2c0,7.1-5.8,12.9-12.9,12.9c-7.1,0-12.9-5.8-12.9-12.9c0-7.1,5.8-12.9,12.9-12.9h12.9V151.2z"}),(0,t.jsx)("path",{style:{fill:"#E01E5A"},d:"M105.9,151.2c0-7.1,5.8-12.9,12.9-12.9s12.9,5.8,12.9,12.9v32.3c0,7.1-5.8,12.9-12.9,12.9 s-12.9-5.8-12.9-12.9V151.2z"})]}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{style:{fill:"#36C5F0"},d:"M118.8,99.4c-7.1,0-12.9-5.8-12.9-12.9c0-7.1,5.8-12.9,12.9-12.9s12.9,5.8,12.9,12.9v12.9H118.8z"}),(0,t.jsx)("path",{style:{fill:"#36C5F0"},d:"M118.8,105.9c7.1,0,12.9,5.8,12.9,12.9s-5.8,12.9-12.9,12.9H86.5c-7.1,0-12.9-5.8-12.9-12.9 s5.8-12.9,12.9-12.9H118.8z"})]}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{style:{fill:"#2EB67D"},d:"M170.6,118.8c0-7.1,5.8-12.9,12.9-12.9c7.1,0,12.9,5.8,12.9,12.9s-5.8,12.9-12.9,12.9h-12.9V118.8z"}),(0,t.jsx)("path",{style:{fill:"#2EB67D"},d:"M164.1,118.8c0,7.1-5.8,12.9-12.9,12.9c-7.1,0-12.9-5.8-12.9-12.9V86.5c0-7.1,5.8-12.9,12.9-12.9 c7.1,0,12.9,5.8,12.9,12.9V118.8z"})]}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{style:{fill:"#ECB22E"},d:"M151.2,170.6c7.1,0,12.9,5.8,12.9,12.9c0,7.1-5.8,12.9-12.9,12.9c-7.1,0-12.9-5.8-12.9-12.9v-12.9H151.2z"}),(0,t.jsx)("path",{style:{fill:"#ECB22E"},d:"M151.2,164.1c-7.1,0-12.9-5.8-12.9-12.9c0-7.1,5.8-12.9,12.9-12.9h32.3c7.1,0,12.9,5.8,12.9,12.9 c0,7.1-5.8,12.9-12.9,12.9H151.2z"})]})]})})}function V(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),viewBox:"0 0 24 24",...r,children:[(0,t.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,t.jsx)("path",{d:"M12 9v4"}),(0,t.jsx)("path",{d:"M12 17h.01"})]})}function Z(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...r,children:(0,t.jsx)("path",{d:"M13.51 4l-5-3h-1l-5 3-.49.86v6l.49.85 5 3h1l5-3 .49-.85v-6L13.51 4zm-6 9.56l-4.5-2.7V5.7l4.5 2.45v5.41zM3.27 4.7l4.74-2.84 4.74 2.84-4.74 2.59L3.27 4.7zm9.74 6.16l-4.5 2.7V8.15l4.5-2.45v5.16z"})})}function k(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:[(0,t.jsx)("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),(0,t.jsx)("polyline",{points:"16 17 21 12 16 7"}),(0,t.jsx)("line",{x1:"21",x2:"9",y1:"12",y2:"12"})]})}function B(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:[(0,t.jsx)("path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),(0,t.jsx)("polyline",{points:"9 22 9 12 15 12 15 22"})]})}function N(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:[(0,t.jsx)("rect",{x:"16",y:"16",width:"6",height:"6",rx:"1"}),(0,t.jsx)("rect",{x:"2",y:"16",width:"6",height:"6",rx:"1"}),(0,t.jsx)("rect",{x:"9",y:"2",width:"6",height:"6",rx:"1"}),(0,t.jsx)("path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"}),(0,t.jsx)("path",{d:"M12 12V8"})]})}function y(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:[(0,t.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,t.jsx)("path",{d:"M3 3v5h5"})]})}function b(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:[(0,t.jsx)("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),(0,t.jsx)("polyline",{points:"14 2 14 8 20 8"})]})}function z(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"})})}function A(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M.513 1.513A1.75 1.75 0 0 1 1.75 1h3.5c.55 0 1.07.26 1.4.7l.9 1.2a.25.25 0 0 0 .2.1H13a1 1 0 0 1 1 1v.5H2.75a.75.75 0 0 0 0 1.5h11.978a1 1 0 0 1 .994 1.117L15 13.25A1.75 1.75 0 0 1 13.25 15H1.75A1.75 1.75 0 0 1 0 13.25V2.75c0-.464.184-.91.513-1.237Z"})})}function E(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function W(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function R(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M5 1C5 0.447715 5.44772 0 6 0H9C9.55228 0 10 0.447715 10 1V2H14C14.5523 2 15 2.44772 15 3V6C15 6.8888 14.6131 7.68734 14 8.23608V11.5C14 12.3284 13.3284 13 12.5 13H2.5C1.67157 13 1 12.3284 1 11.5V8.2359C0.38697 7.68721 0 6.88883 0 6V3C0 2.44772 0.447716 2 1 2H5V1ZM9 1V2H6V1H9ZM1 3H5H5.5H9.5H10H14V6C14 6.654 13.6866 7.23467 13.1997 7.6004C12.8655 7.85144 12.4508 8 12 8H8V7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5V8H3C2.5493 8 2.1346 7.85133 1.80029 7.60022C1.31335 7.23446 1 6.65396 1 6V3ZM7 9H3C2.64961 9 2.31292 8.93972 2 8.82905V11.5C2 11.7761 2.22386 12 2.5 12H12.5C12.7761 12 13 11.7761 13 11.5V8.82915C12.6871 8.93978 12.3504 9 12 9H8V9.5C8 9.77614 7.77614 10 7.5 10C7.22386 10 7 9.77614 7 9.5V9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function D(n){let{className:e,...r}=n;return(0,t.jsx)("svg",{viewBox:"0 0 15 15",fill:"currentColor",className:(0,o.cn)("h-4 w-4",e),...r,children:(0,t.jsx)("path",{d:"M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z",fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"})})}function _(n){let{className:e,...r}=n;return(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("h-4 w-4",e),...r,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,t.jsx)("circle",{cx:"19",cy:"12",r:"1"}),(0,t.jsx)("circle",{cx:"5",cy:"12",r:"1"})]})}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/2248-566dbbd63d7f8694.js b/ee/tabby-webserver/ui/_next/static/chunks/2024-716ae18a355412fb.js similarity index 84% rename from ee/tabby-webserver/ui/_next/static/chunks/2248-566dbbd63d7f8694.js rename to ee/tabby-webserver/ui/_next/static/chunks/2024-716ae18a355412fb.js index 2021ccd9b6e1..32fef290400e 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/2248-566dbbd63d7f8694.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/2024-716ae18a355412fb.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2248],{92402:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t"object"==typeof e&&null!=e&&1===e.nodeType,c=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,u=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&i=t&&l>=n?a-e-r:i>t&&ln?i-t+o:0,p=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},g=(e,t)=>{var n,r,o,a;if("undefined"==typeof document)return[];let{scrollMode:i,block:l,inline:c,boundary:g,skipOverflowHiddenElements:f}=t,m="function"==typeof g?g:e=>e!==g;if(!s(e))throw TypeError("Invalid target");let b=document.scrollingElement||document.documentElement,h=[],y=e;for(;s(y)&&m(y);){if((y=p(y))===b){h.push(y);break}null!=y&&y===document.body&&u(y)&&!u(document.documentElement)||null!=y&&u(y,f)&&h.push(y)}let E=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,S=null!=(a=null==(o=window.visualViewport)?void 0:o.height)?a:innerHeight,{scrollX:k,scrollY:A}=window,{height:w,width:v,top:T,right:x,bottom:I,left:R}=e.getBoundingClientRect(),{top:C,right:_,bottom:N,left:O}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),L="start"===l||"nearest"===l?T-C:"end"===l?I+N:T+w/2-C+N,D="center"===c?R+v/2-O+_:"end"===c?x+_:R-O,M=[];for(let e=0;e=0&&R>=0&&I<=S&&x<=E&&T>=o&&I<=s&&R>=u&&x<=a)break;let p=getComputedStyle(t),g=parseInt(p.borderLeftWidth,10),f=parseInt(p.borderTopWidth,10),m=parseInt(p.borderRightWidth,10),y=parseInt(p.borderBottomWidth,10),C=0,_=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-m:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-y:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,F="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(b===t)C="start"===l?L:"end"===l?L-S:"nearest"===l?d(A,A+S,S,f,y,A+L,A+L+w,w):L-S/2,_="start"===c?D:"center"===c?D-E/2:"end"===c?D-E:d(k,k+E,E,g,m,k+D,k+D+v,v),C=Math.max(0,C+A),_=Math.max(0,_+k);else{C="start"===l?L-o-f:"end"===l?L-s+y+O:"nearest"===l?d(o,s,n,f,y+O,L,L+w,w):L-(o+n/2)+O/2,_="start"===c?D-u-g:"center"===c?D-(u+r/2)+N/2:"end"===c?D-a+m+N:d(u,a,r,g,m+N,D,D+v,v);let{scrollLeft:e,scrollTop:i}=t;C=0===F?0:Math.max(0,Math.min(i+C/F,t.scrollHeight-n/F+O)),_=0===P?0:Math.max(0,Math.min(e+_/P,t.scrollWidth-r/P+N)),L+=i-C,D+=e-_}M.push({el:t,top:C,left:_})}return M};var f=n(50044);function m(){}function b(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function h(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=Array(o),i=0;i1?n-1:0),o=1;oi)&&(e=t>0?-1:i+1);var l=e+t;l<0?l=o?i:0:l>i&&(l=o?0:i);var s=A(l,t<0,n,r,o);return -1===s?e>=a?-1:e:s}function A(e,t,n,r,o){void 0===o&&(o=!1);var a=n.length;if(t){for(var i=e;i>=0;i--)if(!r(n[i],i))return i}else for(var l=e;l=0;return o({isOpen:!1,highlightedIndex:-1},a&&o({selectedItem:e.items[t],isOpen:M(e,"isOpen"),highlightedIndex:M(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}var z={environment:i().shape({addEventListener:i().func.isRequired,removeEventListener:i().func.isRequired,document:i().shape({createElement:i().func.isRequired,getElementById:i().func.isRequired,activeElement:i().any.isRequired,body:i().any.isRequired}).isRequired,Node:i().func.isRequired}),itemToString:i().func,stateReducer:i().func},H=o({},z,{getA11yStatusMessage:i().func,highlightedIndex:i().number,defaultHighlightedIndex:i().number,initialHighlightedIndex:i().number,isOpen:i().bool,defaultIsOpen:i().bool,initialIsOpen:i().bool,selectedItem:i().any,initialSelectedItem:i().any,defaultSelectedItem:i().any,id:i().string,labelId:i().string,menuId:i().string,getItemId:i().func,toggleButtonId:i().string,onSelectedItemChange:i().func,onHighlightedIndexChange:i().func,onStateChange:i().func,onIsOpenChange:i().func,scrollIntoView:i().func});function G(e,t,n){var r,a=t.type,i=t.props;switch(a){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:F(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:F(i,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:M(i,"highlightedIndex"),isOpen:M(i,"isOpen"),selectedItem:M(i,"selectedItem"),inputValue:M(i,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return o({},e,r)}(0,f.pi)((0,f.pi)({},H),{items:i().array.isRequired,isItemDisabled:i().func,getA11ySelectionMessage:i().func}),(0,f.pi)((0,f.pi)({},D),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""},isItemDisabled:function(){return!1}});var $=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21}),W=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputClick:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});o({},H,{items:i().array.isRequired,isItemDisabled:i().func,selectedItemChanged:i().func,getA11ySelectionMessage:i().func,inputValue:i().string,defaultInputValue:i().string,initialInputValue:i().string,inputId:i().string,onInputValueChange:i().func});var j=o({},D,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""},isItemDisabled:function(){return!1}});function V(e,t){var n,r,a=t.type,i=t.props,l=t.altKey;switch(a){case 13:r={isOpen:M(i,"isOpen"),highlightedIndex:M(i,"highlightedIndex"),selectedItem:i.items[t.index],inputValue:i.itemToString(i.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:k(e.highlightedIndex,1,i.items,i.isItemDisabled,!0)}:{highlightedIndex:l&&null==e.selectedItem?-1:F(i,e,1),isOpen:i.items.length>=0};break;case 1:r=e.isOpen?l?U(i,e.highlightedIndex):{highlightedIndex:k(e.highlightedIndex,-1,i.items,i.isItemDisabled,!0)}:{highlightedIndex:F(i,e,-1),isOpen:i.items.length>=0};break;case 7:r=U(i,e.highlightedIndex);break;case 2:r=o({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:k(e.highlightedIndex,-10,i.items,i.isItemDisabled,!0)};break;case 6:r={highlightedIndex:k(e.highlightedIndex,10,i.items,i.isItemDisabled,!0)};break;case 3:r={highlightedIndex:A(0,!1,i.items,i.isItemDisabled)};break;case 4:r={highlightedIndex:A(i.items.length-1,!0,i.items,i.isItemDisabled)};break;case 9:r=o({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=i.items)?void 0:n.length)&&t.selectItem&&{selectedItem:i.items[e.highlightedIndex],inputValue:i.itemToString(i.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:M(i,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:F(i,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:i.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return G(e,t,W)}return o({},e,r)}var q=["onMouseLeave","refKey","ref"],Y=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],K=["onClick","onPress","refKey","ref"],Z=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function X(e){void 0===e&&(e={});var t,n,a,i,s,c,u,d,p,g,f,b,h,k,A,v,T,x,I,R,N,D,M,F,U,z=o({},j,e),H=z.items,G=z.scrollIntoView,$=z.environment,W=z.getA11yStatusMessage,X=z.getA11ySelectionMessage,Q=z.itemToString,J=(R=(A=P(k=z,"selectedItem"),v=P(k,"isOpen"),T=P(k,"highlightedIndex"),x=P(k,"inputValue"),I={highlightedIndex:T<0&&A&&v?k.items.indexOf(A):T,isOpen:v,selectedItem:A,inputValue:x}).selectedItem,""===(N=I.inputValue)&&R&&void 0===z.defaultInputValue&&void 0===z.initialInputValue&&void 0===z.inputValue&&(N=z.itemToString(R)),o({},I,{inputValue:N})),ee=(D=(0,l.useRef)(),F=(M=L(V,J,z))[0],U=M[1],(0,l.useEffect)(function(){void 0!==z.selectedItem&&(z.selectedItemChanged(D.current,z.selectedItem)&&U({type:22,inputValue:z.itemToString(z.selectedItem)}),D.current=F.selectedItem===D.current?z.selectedItem:F.selectedItem)},[F.selectedItem,z.selectedItem]),[S(F,z),U]),et=ee[0],en=ee[1],er=et.isOpen,eo=et.highlightedIndex,ea=et.selectedItem,ei=et.inputValue,el=(0,l.useRef)(null),es=(0,l.useRef)({}),ec=(0,l.useRef)(null),eu=(0,l.useRef)(null),ed=(0,l.useRef)(!0),ep=_(z),eg=(0,l.useRef)(),ef=O({state:et,props:z}),em=(0,l.useCallback)(function(e){return es.current[ep.getItemId(e)]},[ep]);B(W,[er,eo,ei,H],o({isInitialMount:ed.current,previousResultCount:eg.current,items:H,environment:$,itemToString:Q},et)),B(X,[ea],o({isInitialMount:ed.current,previousResultCount:eg.current,items:H,environment:$,itemToString:Q},et));var eb=(n=(t={menuElement:el.current,highlightedIndex:eo,isOpen:er,itemRefs:es,scrollIntoView:G,getItemNodeFromIndex:em}).highlightedIndex,a=t.isOpen,i=t.itemRefs,s=t.getItemNodeFromIndex,c=t.menuElement,u=t.scrollIntoView,d=(0,l.useRef)(!0),C(function(){!(n<0)&&a&&Object.keys(i.current).length&&(!1===d.current?d.current=!0:u(s(n),c))},[n]),d);ed.current,(0,l.useEffect)(function(){P(z,"isOpen")&&ec.current&&ec.current.focus()},[]),(0,l.useEffect)(function(){ed.current||(eg.current=H.length)});var eh=(p=er,g=[ec,el,eu],f=$,b=function(){en({type:9,selectItem:!1})},h=(0,l.useRef)({isMouseDown:!1,isTouchMove:!1}),(0,l.useEffect)(function(){if(f){var e=function(){h.current.isMouseDown=!0},t=function(e){h.current.isMouseDown=!1,p&&!w(e.target,g.map(function(e){return e.current}),f)&&b()},n=function(){h.current.isTouchMove=!1},r=function(){h.current.isTouchMove=!0},o=function(e){!p||h.current.isTouchMove||w(e.target,g.map(function(e){return e.current}),f,!1)||b()};return f.addEventListener("mousedown",e),f.addEventListener("mouseup",t),f.addEventListener("touchstart",n),f.addEventListener("touchmove",r),f.addEventListener("touchend",o),function(){f.removeEventListener("mousedown",e),f.removeEventListener("mouseup",t),f.removeEventListener("touchstart",n),f.removeEventListener("touchmove",r),f.removeEventListener("touchend",o)}}},[p,f]),h),ey=m;(0,l.useEffect)(function(){return ed.current=!1,function(){ed.current=!0}},[]),(0,l.useEffect)(function(){er||(es.current={})},[er]),(0,l.useEffect)(function(){var e;er&&null!=$&&$.document&&null!=ec&&null!=(e=ec.current)&&e.focus&&$.document.activeElement!==ec.current&&ec.current.focus()},[er,$]);var eE=(0,l.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),en({type:0,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),en({type:1,altKey:e.altKey})},Home:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:3}))},End:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:4}))},Escape:function(e){var t=ef.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),en({type:2}))},Enter:function(e){ef.current.state.isOpen&&229!==e.which&&(e.preventDefault(),en({type:7}))},PageUp:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:5}))},PageDown:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:6}))}}},[en,ef]),eS=(0,l.useCallback)(function(e){return o({id:ep.labelId,htmlFor:ep.inputId},e)},[ep]),ek=(0,l.useCallback)(function(e,t){var n,a=void 0===e?{}:e,i=a.onMouseLeave,l=a.refKey,s=void 0===l?"ref":l,c=a.ref,u=r(a,q),d=(void 0===t?{}:t).suppressRefError;return ey("getMenuProps",void 0!==d&&d,s,el),o(((n={})[s]=E(c,function(e){el.current=e}),n.id=ep.menuId,n.role="listbox",n["aria-labelledby"]=u&&u["aria-label"]?void 0:""+ep.labelId,n.onMouseLeave=y(i,function(){en({type:11})}),n),u)},[en,ey,ep]),eA=(0,l.useCallback)(function(e){var t,n,a=void 0===e?{}:e,i=a.item,l=a.index,s=a.refKey,c=a.ref,u=a.onMouseMove,d=a.onMouseDown,p=a.onClick;a.onPress;var g=a.disabled,f=r(a,Y);void 0!==g&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var m=ef.current,b=m.props,h=m.state,S=function(e,t,n,r){var o,a;if(void 0===e){if(void 0===t)throw Error(r);o=n[t],a=t}else a=void 0===t?n.indexOf(e):t,o=e;return[o,a]}(i,l,b.items,"Pass either item or index to getItemProps!"),k=S[0],A=S[1],w=b.isItemDisabled(k,A);return o(((t={})[void 0===s?"ref":s]=E(c,function(e){e&&(es.current[ep.getItemId(A)]=e)}),t["aria-disabled"]=w,t["aria-selected"]=""+(A===h.highlightedIndex),t.id=ep.getItemId(A),t.role="option",t),!w&&((n={}).onClick=y(p,function(){en({type:13,index:A})}),n),{onMouseMove:y(u,function(){A!==h.highlightedIndex&&(eb.current=!1,en({type:12,index:A,disabled:w}))}),onMouseDown:y(d,function(e){return e.preventDefault()})},f)},[en,ef,eb,ep]),ew=(0,l.useCallback)(function(e){var t,n=void 0===e?{}:e,a=n.onClick;n.onPress;var i=n.refKey,l=n.ref,s=r(n,K),c=ef.current.state;return o(((t={})[void 0===i?"ref":i]=E(l,function(e){eu.current=e}),t["aria-controls"]=ep.menuId,t["aria-expanded"]=c.isOpen,t.id=ep.toggleButtonId,t.tabIndex=-1,t),!s.disabled&&o({},{onClick:y(a,function(){en({type:14})})}),s)},[en,ef,ep]),ev=(0,l.useCallback)(function(e,t){var n,a,i=void 0===e?{}:e,l=i.onKeyDown,s=i.onChange,c=i.onInput,u=i.onBlur;i.onChangeText;var d=i.onClick,p=i.refKey,g=void 0===p?"ref":p,f=i.ref,m=r(i,Z),b=(void 0===t?{}:t).suppressRefError;ey("getInputProps",void 0!==b&&b,g,ec);var h=ef.current.state,S={};return m.disabled||((a={}).onChange=y(s,c,function(e){en({type:8,inputValue:e.target.value})}),a.onKeyDown=y(l,function(e){var t,n,r,o=(n=(t=e).key,(r=t.keyCode)>=37&&r<=40&&0!==n.indexOf("Arrow")?"Arrow"+n:n);o&&eE[o]&&eE[o](e)}),a.onBlur=y(u,function(e){null!=$&&$.document&&h.isOpen&&!eh.current.isMouseDown&&en({type:9,selectItem:!(null===e.relatedTarget&&$.document.activeElement!==$.document.body)})}),a.onClick=y(d,function(){en({type:10})}),S=a),o(((n={})[g]=E(f,function(e){ec.current=e}),n["aria-activedescendant"]=h.isOpen&&h.highlightedIndex>-1?ep.getItemId(h.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=ep.menuId,n["aria-expanded"]=h.isOpen,n["aria-labelledby"]=m&&m["aria-label"]?void 0:ep.labelId,n.autoComplete="off",n.id=ep.inputId,n.role="combobox",n.value=h.inputValue,n),S,m)},[ey,ef,ep,eE,en,eh,$]),eT=(0,l.useCallback)(function(){en({type:15})},[en]),ex=(0,l.useCallback)(function(){en({type:17})},[en]),eI=(0,l.useCallback)(function(){en({type:16})},[en]),eR=(0,l.useCallback)(function(e){en({type:18,highlightedIndex:e})},[en]),eC=(0,l.useCallback)(function(e){en({type:19,selectedItem:e})},[en]);return{getItemProps:eA,getLabelProps:eS,getMenuProps:ek,getInputProps:ev,getToggleButtonProps:ew,toggleMenu:eT,openMenu:eI,closeMenu:ex,setHighlightedIndex:eR,setInputValue:(0,l.useCallback)(function(e){en({type:20,inputValue:e})},[en]),selectItem:eC,reset:(0,l.useCallback)(function(){en({type:21})},[en]),highlightedIndex:eo,isOpen:er,selectedItem:ea,inputValue:ei}}X.stateChangeTypes=W;var Q={activeIndex:-1,selectedItems:[]};o({},z,{selectedItems:i().array,initialSelectedItems:i().array,defaultSelectedItems:i().array,getA11yRemovalMessage:i().func,activeIndex:i().number,initialActiveIndex:i().number,defaultActiveIndex:i().number,onActiveIndexChange:i().func,onSelectedItemsChange:i().func,keyNavigationNext:i().string,keyNavigationPrevious:i().string}),D.itemToString,D.stateReducer,D.environment},55379:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,u,d=arguments[0],p=1,g=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p4&&f.slice(0,4)===i&&l.test(t)&&("-"===t.charAt(4)?m=i+(n=t.slice(5).replace(s,d)).charAt(0).toUpperCase()+n.slice(1):(g=(p=t).slice(4),t=s.test(g)?p:("-"!==(g=g.replace(c,u)).charAt(0)&&(g="-"+g),i+g)),b=o),new b(m,t))};var l=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},62378:function(e,t,n){"use strict";var r=n(73680),o=n(82861),a=n(90798),i=n(50085),l=n(71642),s=n(94345);e.exports=r([a,o,i,l,s])},71642:function(e,t,n){"use strict";var r=n(73856),o=n(70034),a=r.booleanish,i=r.number,l=r.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:i,ariaColIndex:i,ariaColSpan:i,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:i,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:i,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:i,ariaRowIndex:i,ariaRowSpan:i,ariaSelected:a,ariaSetSize:i,ariaSort:null,ariaValueMax:i,ariaValueMin:i,ariaValueNow:i,ariaValueText:null,role:null}})},94345:function(e,t,n){"use strict";var r=n(73856),o=n(70034),a=n(76729),i=r.boolean,l=r.overloadedBoolean,s=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:i,allowPaymentRequest:i,allowUserMedia:i,alt:null,as:null,async:i,autoCapitalize:null,autoComplete:u,autoFocus:i,autoPlay:i,capture:i,charSet:null,checked:i,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:s,controls:i,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:i,defer:i,dir:null,dirName:null,disabled:i,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:i,formTarget:null,headers:u,height:c,hidden:i,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:i,itemId:null,itemProp:u,itemRef:u,itemScope:i,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:i,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:i,muted:i,name:null,nonce:null,noModule:i,noValidate:i,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:i,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:i,poster:null,preload:null,readOnly:i,referrerPolicy:null,rel:u,required:i,reversed:i,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:i,seamless:i,selected:i,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:i,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:i,declare:i,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:i,noHref:i,noShade:i,noWrap:i,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:i,disableRemotePlayback:i,prefix:null,property:null,results:c,security:null,unselectable:null}})},76729:function(e,t,n){"use strict";var r=n(27665);e.exports=function(e,t){return r(e,t.toLowerCase())}},27665:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},70034:function(e,t,n){"use strict";var r=n(17695),o=n(11382),a=n(80766);e.exports=function(e){var t,n,i=e.space,l=e.mustUseProperty||[],s=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new a(t,u(s,t),c[t],i),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new o(d,p,i)}},80766:function(e,t,n){"use strict";var r=n(70076),o=n(73856);e.exports=l,l.prototype=new r,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],i=a.length;function l(e,t,n,l){var s,c,u,d=-1;for(l&&(this.space=l),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},50688:function(e,t,n){"use strict";var r=n(24025),o=n(32797);e.exports=function(e){return r(e)||o(e)}},69934:function(e){/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2024],{92402:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t"object"==typeof e&&null!=e&&1===e.nodeType,c=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,u=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&i=t&&l>=n?a-e-r:i>t&&ln?i-t+o:0,p=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},g=(e,t)=>{var n,r,o,a;if("undefined"==typeof document)return[];let{scrollMode:i,block:l,inline:c,boundary:g,skipOverflowHiddenElements:f}=t,m="function"==typeof g?g:e=>e!==g;if(!s(e))throw TypeError("Invalid target");let b=document.scrollingElement||document.documentElement,h=[],y=e;for(;s(y)&&m(y);){if((y=p(y))===b){h.push(y);break}null!=y&&y===document.body&&u(y)&&!u(document.documentElement)||null!=y&&u(y,f)&&h.push(y)}let E=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,S=null!=(a=null==(o=window.visualViewport)?void 0:o.height)?a:innerHeight,{scrollX:k,scrollY:A}=window,{height:w,width:v,top:T,right:x,bottom:I,left:R}=e.getBoundingClientRect(),{top:C,right:_,bottom:N,left:O}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),L="start"===l||"nearest"===l?T-C:"end"===l?I+N:T+w/2-C+N,D="center"===c?R+v/2-O+_:"end"===c?x+_:R-O,M=[];for(let e=0;e=0&&R>=0&&I<=S&&x<=E&&T>=o&&I<=s&&R>=u&&x<=a)break;let p=getComputedStyle(t),g=parseInt(p.borderLeftWidth,10),f=parseInt(p.borderTopWidth,10),m=parseInt(p.borderRightWidth,10),y=parseInt(p.borderBottomWidth,10),C=0,_=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-m:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-y:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,F="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(b===t)C="start"===l?L:"end"===l?L-S:"nearest"===l?d(A,A+S,S,f,y,A+L,A+L+w,w):L-S/2,_="start"===c?D:"center"===c?D-E/2:"end"===c?D-E:d(k,k+E,E,g,m,k+D,k+D+v,v),C=Math.max(0,C+A),_=Math.max(0,_+k);else{C="start"===l?L-o-f:"end"===l?L-s+y+O:"nearest"===l?d(o,s,n,f,y+O,L,L+w,w):L-(o+n/2)+O/2,_="start"===c?D-u-g:"center"===c?D-(u+r/2)+N/2:"end"===c?D-a+m+N:d(u,a,r,g,m+N,D,D+v,v);let{scrollLeft:e,scrollTop:i}=t;C=0===F?0:Math.max(0,Math.min(i+C/F,t.scrollHeight-n/F+O)),_=0===P?0:Math.max(0,Math.min(e+_/P,t.scrollWidth-r/P+N)),L+=i-C,D+=e-_}M.push({el:t,top:C,left:_})}return M};var f=n(50044);function m(){}function b(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function h(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=Array(o),i=0;i1?n-1:0),o=1;oi)&&(e=t>0?-1:i+1);var l=e+t;l<0?l=o?i:0:l>i&&(l=o?0:i);var s=A(l,t<0,n,r,o);return -1===s?e>=a?-1:e:s}function A(e,t,n,r,o){void 0===o&&(o=!1);var a=n.length;if(t){for(var i=e;i>=0;i--)if(!r(n[i],i))return i}else for(var l=e;l=0;return o({isOpen:!1,highlightedIndex:-1},a&&o({selectedItem:e.items[t],isOpen:M(e,"isOpen"),highlightedIndex:M(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}var z={environment:i().shape({addEventListener:i().func.isRequired,removeEventListener:i().func.isRequired,document:i().shape({createElement:i().func.isRequired,getElementById:i().func.isRequired,activeElement:i().any.isRequired,body:i().any.isRequired}).isRequired,Node:i().func.isRequired}),itemToString:i().func,stateReducer:i().func},H=o({},z,{getA11yStatusMessage:i().func,highlightedIndex:i().number,defaultHighlightedIndex:i().number,initialHighlightedIndex:i().number,isOpen:i().bool,defaultIsOpen:i().bool,initialIsOpen:i().bool,selectedItem:i().any,initialSelectedItem:i().any,defaultSelectedItem:i().any,id:i().string,labelId:i().string,menuId:i().string,getItemId:i().func,toggleButtonId:i().string,onSelectedItemChange:i().func,onHighlightedIndexChange:i().func,onStateChange:i().func,onIsOpenChange:i().func,scrollIntoView:i().func});function G(e,t,n){var r,a=t.type,i=t.props;switch(a){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:F(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:F(i,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:M(i,"highlightedIndex"),isOpen:M(i,"isOpen"),selectedItem:M(i,"selectedItem"),inputValue:M(i,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return o({},e,r)}(0,f.pi)((0,f.pi)({},H),{items:i().array.isRequired,isItemDisabled:i().func,getA11ySelectionMessage:i().func}),(0,f.pi)((0,f.pi)({},D),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""},isItemDisabled:function(){return!1}});var $=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21}),W=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputClick:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});o({},H,{items:i().array.isRequired,isItemDisabled:i().func,selectedItemChanged:i().func,getA11ySelectionMessage:i().func,inputValue:i().string,defaultInputValue:i().string,initialInputValue:i().string,inputId:i().string,onInputValueChange:i().func});var j=o({},D,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""},isItemDisabled:function(){return!1}});function V(e,t){var n,r,a=t.type,i=t.props,l=t.altKey;switch(a){case 13:r={isOpen:M(i,"isOpen"),highlightedIndex:M(i,"highlightedIndex"),selectedItem:i.items[t.index],inputValue:i.itemToString(i.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:k(e.highlightedIndex,1,i.items,i.isItemDisabled,!0)}:{highlightedIndex:l&&null==e.selectedItem?-1:F(i,e,1),isOpen:i.items.length>=0};break;case 1:r=e.isOpen?l?U(i,e.highlightedIndex):{highlightedIndex:k(e.highlightedIndex,-1,i.items,i.isItemDisabled,!0)}:{highlightedIndex:F(i,e,-1),isOpen:i.items.length>=0};break;case 7:r=U(i,e.highlightedIndex);break;case 2:r=o({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:k(e.highlightedIndex,-10,i.items,i.isItemDisabled,!0)};break;case 6:r={highlightedIndex:k(e.highlightedIndex,10,i.items,i.isItemDisabled,!0)};break;case 3:r={highlightedIndex:A(0,!1,i.items,i.isItemDisabled)};break;case 4:r={highlightedIndex:A(i.items.length-1,!0,i.items,i.isItemDisabled)};break;case 9:r=o({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=i.items)?void 0:n.length)&&t.selectItem&&{selectedItem:i.items[e.highlightedIndex],inputValue:i.itemToString(i.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:M(i,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:F(i,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:i.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return G(e,t,W)}return o({},e,r)}var q=["onMouseLeave","refKey","ref"],Y=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],K=["onClick","onPress","refKey","ref"],Z=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function X(e){void 0===e&&(e={});var t,n,a,i,s,c,u,d,p,g,f,b,h,k,A,v,T,x,I,R,N,D,M,F,U,z=o({},j,e),H=z.items,G=z.scrollIntoView,$=z.environment,W=z.getA11yStatusMessage,X=z.getA11ySelectionMessage,Q=z.itemToString,J=(R=(A=P(k=z,"selectedItem"),v=P(k,"isOpen"),T=P(k,"highlightedIndex"),x=P(k,"inputValue"),I={highlightedIndex:T<0&&A&&v?k.items.indexOf(A):T,isOpen:v,selectedItem:A,inputValue:x}).selectedItem,""===(N=I.inputValue)&&R&&void 0===z.defaultInputValue&&void 0===z.initialInputValue&&void 0===z.inputValue&&(N=z.itemToString(R)),o({},I,{inputValue:N})),ee=(D=(0,l.useRef)(),F=(M=L(V,J,z))[0],U=M[1],(0,l.useEffect)(function(){void 0!==z.selectedItem&&(z.selectedItemChanged(D.current,z.selectedItem)&&U({type:22,inputValue:z.itemToString(z.selectedItem)}),D.current=F.selectedItem===D.current?z.selectedItem:F.selectedItem)},[F.selectedItem,z.selectedItem]),[S(F,z),U]),et=ee[0],en=ee[1],er=et.isOpen,eo=et.highlightedIndex,ea=et.selectedItem,ei=et.inputValue,el=(0,l.useRef)(null),es=(0,l.useRef)({}),ec=(0,l.useRef)(null),eu=(0,l.useRef)(null),ed=(0,l.useRef)(!0),ep=_(z),eg=(0,l.useRef)(),ef=O({state:et,props:z}),em=(0,l.useCallback)(function(e){return es.current[ep.getItemId(e)]},[ep]);B(W,[er,eo,ei,H],o({isInitialMount:ed.current,previousResultCount:eg.current,items:H,environment:$,itemToString:Q},et)),B(X,[ea],o({isInitialMount:ed.current,previousResultCount:eg.current,items:H,environment:$,itemToString:Q},et));var eb=(n=(t={menuElement:el.current,highlightedIndex:eo,isOpen:er,itemRefs:es,scrollIntoView:G,getItemNodeFromIndex:em}).highlightedIndex,a=t.isOpen,i=t.itemRefs,s=t.getItemNodeFromIndex,c=t.menuElement,u=t.scrollIntoView,d=(0,l.useRef)(!0),C(function(){!(n<0)&&a&&Object.keys(i.current).length&&(!1===d.current?d.current=!0:u(s(n),c))},[n]),d);ed.current,(0,l.useEffect)(function(){P(z,"isOpen")&&ec.current&&ec.current.focus()},[]),(0,l.useEffect)(function(){ed.current||(eg.current=H.length)});var eh=(p=er,g=[ec,el,eu],f=$,b=function(){en({type:9,selectItem:!1})},h=(0,l.useRef)({isMouseDown:!1,isTouchMove:!1}),(0,l.useEffect)(function(){if(f){var e=function(){h.current.isMouseDown=!0},t=function(e){h.current.isMouseDown=!1,p&&!w(e.target,g.map(function(e){return e.current}),f)&&b()},n=function(){h.current.isTouchMove=!1},r=function(){h.current.isTouchMove=!0},o=function(e){!p||h.current.isTouchMove||w(e.target,g.map(function(e){return e.current}),f,!1)||b()};return f.addEventListener("mousedown",e),f.addEventListener("mouseup",t),f.addEventListener("touchstart",n),f.addEventListener("touchmove",r),f.addEventListener("touchend",o),function(){f.removeEventListener("mousedown",e),f.removeEventListener("mouseup",t),f.removeEventListener("touchstart",n),f.removeEventListener("touchmove",r),f.removeEventListener("touchend",o)}}},[p,f]),h),ey=m;(0,l.useEffect)(function(){return ed.current=!1,function(){ed.current=!0}},[]),(0,l.useEffect)(function(){er||(es.current={})},[er]),(0,l.useEffect)(function(){var e;er&&null!=$&&$.document&&null!=ec&&null!=(e=ec.current)&&e.focus&&$.document.activeElement!==ec.current&&ec.current.focus()},[er,$]);var eE=(0,l.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),en({type:0,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),en({type:1,altKey:e.altKey})},Home:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:3}))},End:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:4}))},Escape:function(e){var t=ef.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),en({type:2}))},Enter:function(e){ef.current.state.isOpen&&229!==e.which&&(e.preventDefault(),en({type:7}))},PageUp:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:5}))},PageDown:function(e){ef.current.state.isOpen&&(e.preventDefault(),en({type:6}))}}},[en,ef]),eS=(0,l.useCallback)(function(e){return o({id:ep.labelId,htmlFor:ep.inputId},e)},[ep]),ek=(0,l.useCallback)(function(e,t){var n,a=void 0===e?{}:e,i=a.onMouseLeave,l=a.refKey,s=void 0===l?"ref":l,c=a.ref,u=r(a,q),d=(void 0===t?{}:t).suppressRefError;return ey("getMenuProps",void 0!==d&&d,s,el),o(((n={})[s]=E(c,function(e){el.current=e}),n.id=ep.menuId,n.role="listbox",n["aria-labelledby"]=u&&u["aria-label"]?void 0:""+ep.labelId,n.onMouseLeave=y(i,function(){en({type:11})}),n),u)},[en,ey,ep]),eA=(0,l.useCallback)(function(e){var t,n,a=void 0===e?{}:e,i=a.item,l=a.index,s=a.refKey,c=a.ref,u=a.onMouseMove,d=a.onMouseDown,p=a.onClick;a.onPress;var g=a.disabled,f=r(a,Y);void 0!==g&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var m=ef.current,b=m.props,h=m.state,S=function(e,t,n,r){var o,a;if(void 0===e){if(void 0===t)throw Error(r);o=n[t],a=t}else a=void 0===t?n.indexOf(e):t,o=e;return[o,a]}(i,l,b.items,"Pass either item or index to getItemProps!"),k=S[0],A=S[1],w=b.isItemDisabled(k,A);return o(((t={})[void 0===s?"ref":s]=E(c,function(e){e&&(es.current[ep.getItemId(A)]=e)}),t["aria-disabled"]=w,t["aria-selected"]=""+(A===h.highlightedIndex),t.id=ep.getItemId(A),t.role="option",t),!w&&((n={}).onClick=y(p,function(){en({type:13,index:A})}),n),{onMouseMove:y(u,function(){A!==h.highlightedIndex&&(eb.current=!1,en({type:12,index:A,disabled:w}))}),onMouseDown:y(d,function(e){return e.preventDefault()})},f)},[en,ef,eb,ep]),ew=(0,l.useCallback)(function(e){var t,n=void 0===e?{}:e,a=n.onClick;n.onPress;var i=n.refKey,l=n.ref,s=r(n,K),c=ef.current.state;return o(((t={})[void 0===i?"ref":i]=E(l,function(e){eu.current=e}),t["aria-controls"]=ep.menuId,t["aria-expanded"]=c.isOpen,t.id=ep.toggleButtonId,t.tabIndex=-1,t),!s.disabled&&o({},{onClick:y(a,function(){en({type:14})})}),s)},[en,ef,ep]),ev=(0,l.useCallback)(function(e,t){var n,a,i=void 0===e?{}:e,l=i.onKeyDown,s=i.onChange,c=i.onInput,u=i.onBlur;i.onChangeText;var d=i.onClick,p=i.refKey,g=void 0===p?"ref":p,f=i.ref,m=r(i,Z),b=(void 0===t?{}:t).suppressRefError;ey("getInputProps",void 0!==b&&b,g,ec);var h=ef.current.state,S={};return m.disabled||((a={}).onChange=y(s,c,function(e){en({type:8,inputValue:e.target.value})}),a.onKeyDown=y(l,function(e){var t,n,r,o=(n=(t=e).key,(r=t.keyCode)>=37&&r<=40&&0!==n.indexOf("Arrow")?"Arrow"+n:n);o&&eE[o]&&eE[o](e)}),a.onBlur=y(u,function(e){null!=$&&$.document&&h.isOpen&&!eh.current.isMouseDown&&en({type:9,selectItem:!(null===e.relatedTarget&&$.document.activeElement!==$.document.body)})}),a.onClick=y(d,function(){en({type:10})}),S=a),o(((n={})[g]=E(f,function(e){ec.current=e}),n["aria-activedescendant"]=h.isOpen&&h.highlightedIndex>-1?ep.getItemId(h.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=ep.menuId,n["aria-expanded"]=h.isOpen,n["aria-labelledby"]=m&&m["aria-label"]?void 0:ep.labelId,n.autoComplete="off",n.id=ep.inputId,n.role="combobox",n.value=h.inputValue,n),S,m)},[ey,ef,ep,eE,en,eh,$]),eT=(0,l.useCallback)(function(){en({type:15})},[en]),ex=(0,l.useCallback)(function(){en({type:17})},[en]),eI=(0,l.useCallback)(function(){en({type:16})},[en]),eR=(0,l.useCallback)(function(e){en({type:18,highlightedIndex:e})},[en]),eC=(0,l.useCallback)(function(e){en({type:19,selectedItem:e})},[en]);return{getItemProps:eA,getLabelProps:eS,getMenuProps:ek,getInputProps:ev,getToggleButtonProps:ew,toggleMenu:eT,openMenu:eI,closeMenu:ex,setHighlightedIndex:eR,setInputValue:(0,l.useCallback)(function(e){en({type:20,inputValue:e})},[en]),selectItem:eC,reset:(0,l.useCallback)(function(){en({type:21})},[en]),highlightedIndex:eo,isOpen:er,selectedItem:ea,inputValue:ei}}X.stateChangeTypes=W;var Q={activeIndex:-1,selectedItems:[]};o({},z,{selectedItems:i().array,initialSelectedItems:i().array,defaultSelectedItems:i().array,getA11yRemovalMessage:i().func,activeIndex:i().number,initialActiveIndex:i().number,defaultActiveIndex:i().number,onActiveIndexChange:i().func,onSelectedItemsChange:i().func,keyNavigationNext:i().string,keyNavigationPrevious:i().string}),D.itemToString,D.stateReducer,D.environment},55379:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,u,d=arguments[0],p=1,g=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p4&&f.slice(0,4)===i&&l.test(t)&&("-"===t.charAt(4)?m=i+(n=t.slice(5).replace(s,d)).charAt(0).toUpperCase()+n.slice(1):(g=(p=t).slice(4),t=s.test(g)?p:("-"!==(g=g.replace(c,u)).charAt(0)&&(g="-"+g),i+g)),b=o),new b(m,t))};var l=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},62378:function(e,t,n){"use strict";var r=n(73680),o=n(82861),a=n(90798),i=n(50085),l=n(71642),s=n(94345);e.exports=r([a,o,i,l,s])},71642:function(e,t,n){"use strict";var r=n(73856),o=n(70034),a=r.booleanish,i=r.number,l=r.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:i,ariaColIndex:i,ariaColSpan:i,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:i,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:i,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:i,ariaRowIndex:i,ariaRowSpan:i,ariaSelected:a,ariaSetSize:i,ariaSort:null,ariaValueMax:i,ariaValueMin:i,ariaValueNow:i,ariaValueText:null,role:null}})},94345:function(e,t,n){"use strict";var r=n(73856),o=n(70034),a=n(76729),i=r.boolean,l=r.overloadedBoolean,s=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:i,allowPaymentRequest:i,allowUserMedia:i,alt:null,as:null,async:i,autoCapitalize:null,autoComplete:u,autoFocus:i,autoPlay:i,capture:i,charSet:null,checked:i,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:s,controls:i,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:i,defer:i,dir:null,dirName:null,disabled:i,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:i,formTarget:null,headers:u,height:c,hidden:i,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:i,itemId:null,itemProp:u,itemRef:u,itemScope:i,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:i,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:i,muted:i,name:null,nonce:null,noModule:i,noValidate:i,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:i,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:i,poster:null,preload:null,readOnly:i,referrerPolicy:null,rel:u,required:i,reversed:i,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:i,seamless:i,selected:i,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:i,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:i,declare:i,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:i,noHref:i,noShade:i,noWrap:i,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:i,disableRemotePlayback:i,prefix:null,property:null,results:c,security:null,unselectable:null}})},76729:function(e,t,n){"use strict";var r=n(27665);e.exports=function(e,t){return r(e,t.toLowerCase())}},27665:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},70034:function(e,t,n){"use strict";var r=n(17695),o=n(11382),a=n(80766);e.exports=function(e){var t,n,i=e.space,l=e.mustUseProperty||[],s=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new a(t,u(s,t),c[t],i),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new o(d,p,i)}},80766:function(e,t,n){"use strict";var r=n(70076),o=n(73856);e.exports=l,l.prototype=new r,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],i=a.length;function l(e,t,n,l){var s,c,u,d=-1;for(l&&(this.space=l),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},50688:function(e,t,n){"use strict";var r=n(24025),o=n(32797);e.exports=function(e){return r(e)||o(e)}},69934:function(e){/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh @@ -26,9 +26,9 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(2265),o=n(26272),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=l(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var g=i(e,(d=c(function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,o]))[0],d[1]);return s(function(){p.hasValue=!0,p.value=g},[g]),u(g),g}},65401:function(e,t,n){"use strict";e.exports=n(78704)},49820:function(e){e.exports=function(){for(var e={},n=0;n=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},19190:function(e,t,n){"use strict";let r;n.d(t,{ee:function(){return K},x8:function(){return J},VY:function(){return Q},h_:function(){return X},fC:function(){return Y},xz:function(){return Z}});var o=n(13428),a=n(2265),i=n(85744),l=n(42210),s=n(56989),c=n(74278),u=n(31244),d=n(9381),p=n(16459);let g="focusScope.autoFocusOnMount",f="focusScope.autoFocusOnUnmount",m={bubbles:!1,cancelable:!0},b=(0,a.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=e,[u,b]=(0,a.useState)(null),k=(0,p.W)(i),A=(0,p.W)(s),w=(0,a.useRef)(null),v=(0,l.e)(t,e=>b(e)),T=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(r){function e(e){if(T.paused||!u)return;let t=e.target;u.contains(t)?w.current=t:E(w.current,{select:!0})}function t(e){if(T.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||E(w.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&E(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,T.paused]),(0,a.useEffect)(()=>{if(u){S.add(T);let e=document.activeElement,t=u.contains(e);if(!t){let t=new CustomEvent(g,m);u.addEventListener(g,k),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(E(r,{select:t}),document.activeElement!==n)return}(h(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&E(u))}return()=>{u.removeEventListener(g,k),setTimeout(()=>{let t=new CustomEvent(f,m);u.addEventListener(f,A),u.dispatchEvent(t),t.defaultPrevented||E(null!=e?e:document.body,{select:!0}),u.removeEventListener(f,A),S.remove(T)},0)}}},[u,k,A,T]);let x=(0,a.useCallback)(e=>{if(!n&&!r||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=h(e),n=y(t,e),r=y(t.reverse(),e);return[n,r]}(t),i=r&&a;i?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&E(a,{select:!0})):(e.preventDefault(),n&&E(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,T.paused]);return(0,a.createElement)(d.WV.div,(0,o.Z)({tabIndex:-1},c,{ref:v,onKeyDown:x}))});function h(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 y(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 E(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()}}let S=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=k(r,e)).unshift(e)},remove(e){var t;null===(t=(r=k(r,e))[0])||void 0===t||t.resume()}});function k(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var A=n(20966),w=n(7649),v=n(52730),T=n(85606),x=n(67256),I=n(73763),R=n(85859),C=n(17552);let _="Popover",[N,O]=(0,s.b)(_,[w.D7]),L=(0,w.D7)(),[D,M]=N(_),P=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,i=M("PopoverAnchor",n),l=L(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=i;return(0,a.useEffect)(()=>(s(),()=>c()),[s,c]),(0,a.createElement)(w.ee,(0,o.Z)({},l,r,{ref:t}))}),F=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,s=M("PopoverTrigger",n),c=L(n),u=(0,l.e)(t,s.triggerRef),p=(0,a.createElement)(d.WV.button,(0,o.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":q(s.open)},r,{ref:u,onClick:(0,i.M)(e.onClick,s.onOpenToggle)}));return s.hasCustomAnchor?p:(0,a.createElement)(w.ee,(0,o.Z)({asChild:!0},c),p)}),B="PopoverPortal",[U,z]=N(B,{forceMount:void 0}),H="PopoverContent",G=(0,a.forwardRef)((e,t)=>{let n=z(H,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,l=M(H,e.__scopePopover);return(0,a.createElement)(T.z,{present:r||l.open},l.modal?(0,a.createElement)($,(0,o.Z)({},i,{ref:t})):(0,a.createElement)(W,(0,o.Z)({},i,{ref:t})))}),$=(0,a.forwardRef)((e,t)=>{let n=M(H,e.__scopePopover),r=(0,a.useRef)(null),s=(0,l.e)(t,r),c=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=r.current;if(e)return(0,R.Ry)(e)},[]),(0,a.createElement)(C.Z,{as:x.g7,allowPinchZoom:!0},(0,a.createElement)(j,(0,o.Z)({},e,{ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),c.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;c.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),W=(0,a.forwardRef)((e,t)=>{let n=M(H,e.__scopePopover),r=(0,a.useRef)(!1),i=(0,a.useRef)(!1);return(0,a.createElement)(j,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let l=t.target,s=null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l);s&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),j=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:f,...m}=e,h=M(H,n),y=L(n);return(0,u.EW)(),(0,a.createElement)(b,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:l},(0,a.createElement)(c.XB,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:g,onDismiss:()=>h.onOpenChange(!1)},(0,a.createElement)(w.VY,(0,o.Z)({"data-state":q(h.open),role:"dialog",id:h.contentId},y,m,{ref:t,style:{...m.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)"}}))))}),V=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,l=M("PopoverClose",n);return(0,a.createElement)(d.WV.button,(0,o.Z)({type:"button"},r,{ref:t,onClick:(0,i.M)(e.onClick,()=>l.onOpenChange(!1))}))});function q(e){return e?"open":"closed"}let Y=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!1}=e,s=L(t),c=(0,a.useRef)(null),[u,d]=(0,a.useState)(!1),[p=!1,g]=(0,I.T)({prop:r,defaultProp:o,onChange:i});return(0,a.createElement)(w.fC,s,(0,a.createElement)(D,{scope:t,contentId:(0,A.M)(),triggerRef:c,open:p,onOpenChange:g,onOpenToggle:(0,a.useCallback)(()=>g(e=>!e),[g]),hasCustomAnchor:u,onCustomAnchorAdd:(0,a.useCallback)(()=>d(!0),[]),onCustomAnchorRemove:(0,a.useCallback)(()=>d(!1),[]),modal:l},n))},K=P,Z=F,X=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=M(B,t);return(0,a.createElement)(U,{scope:t,forceMount:n},(0,a.createElement)(T.z,{present:n||i.open},(0,a.createElement)(v.h,{asChild:!0,container:o},r)))},Q=G,J=V},26823:function(e,t,n){"use strict";n.d(t,{f:function(){return u}});var r=n(13428),o=n(2265),a=n(9381);let i="horizontal",l=["horizontal","vertical"],s=(0,o.forwardRef)((e,t)=>{let{decorative:n,orientation:l=i,...s}=e,u=c(l)?l:i;return(0,o.createElement)(a.WV.div,(0,r.Z)({"data-orientation":u},n?{role:"none"}:{"aria-orientation":"vertical"===u?u:void 0,role:"separator"},s,{ref:t}))});function c(e){return l.includes(e)}s.propTypes={orientation(e,t,n){let r=e[t],o=String(r);return r&&!c(r)?Error(`Invalid prop \`orientation\` of value \`${o}\` supplied to \`${n}\`, expected one of: + */var r=n(2265),o=n(26272),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=l(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var g=i(e,(d=c(function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,o]))[0],d[1]);return s(function(){p.hasValue=!0,p.value=g},[g]),u(g),g}},65401:function(e,t,n){"use strict";e.exports=n(78704)},49820:function(e){e.exports=function(){for(var e={},n=0;n=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},65400:function(e,t,n){"use strict";n.d(t,{gm:function(){return a}});var r=n(2265);let o=(0,r.createContext)(void 0);function a(e){let t=(0,r.useContext)(o);return e||t||"ltr"}},19190:function(e,t,n){"use strict";let r;n.d(t,{ee:function(){return K},x8:function(){return J},VY:function(){return Q},h_:function(){return X},fC:function(){return Y},xz:function(){return Z}});var o=n(13428),a=n(2265),i=n(85744),l=n(42210),s=n(56989),c=n(74278),u=n(31244),d=n(9381),p=n(16459);let g="focusScope.autoFocusOnMount",f="focusScope.autoFocusOnUnmount",m={bubbles:!1,cancelable:!0},b=(0,a.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=e,[u,b]=(0,a.useState)(null),k=(0,p.W)(i),A=(0,p.W)(s),w=(0,a.useRef)(null),v=(0,l.e)(t,e=>b(e)),T=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(r){function e(e){if(T.paused||!u)return;let t=e.target;u.contains(t)?w.current=t:E(w.current,{select:!0})}function t(e){if(T.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||E(w.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&E(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,T.paused]),(0,a.useEffect)(()=>{if(u){S.add(T);let e=document.activeElement,t=u.contains(e);if(!t){let t=new CustomEvent(g,m);u.addEventListener(g,k),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(E(r,{select:t}),document.activeElement!==n)return}(h(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&E(u))}return()=>{u.removeEventListener(g,k),setTimeout(()=>{let t=new CustomEvent(f,m);u.addEventListener(f,A),u.dispatchEvent(t),t.defaultPrevented||E(null!=e?e:document.body,{select:!0}),u.removeEventListener(f,A),S.remove(T)},0)}}},[u,k,A,T]);let x=(0,a.useCallback)(e=>{if(!n&&!r||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=h(e),n=y(t,e),r=y(t.reverse(),e);return[n,r]}(t),i=r&&a;i?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&E(a,{select:!0})):(e.preventDefault(),n&&E(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,T.paused]);return(0,a.createElement)(d.WV.div,(0,o.Z)({tabIndex:-1},c,{ref:v,onKeyDown:x}))});function h(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 y(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 E(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()}}let S=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=k(r,e)).unshift(e)},remove(e){var t;null===(t=(r=k(r,e))[0])||void 0===t||t.resume()}});function k(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var A=n(20966),w=n(7649),v=n(52730),T=n(85606),x=n(67256),I=n(73763),R=n(85859),C=n(17552);let _="Popover",[N,O]=(0,s.b)(_,[w.D7]),L=(0,w.D7)(),[D,M]=N(_),P=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,i=M("PopoverAnchor",n),l=L(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=i;return(0,a.useEffect)(()=>(s(),()=>c()),[s,c]),(0,a.createElement)(w.ee,(0,o.Z)({},l,r,{ref:t}))}),F=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,s=M("PopoverTrigger",n),c=L(n),u=(0,l.e)(t,s.triggerRef),p=(0,a.createElement)(d.WV.button,(0,o.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":q(s.open)},r,{ref:u,onClick:(0,i.M)(e.onClick,s.onOpenToggle)}));return s.hasCustomAnchor?p:(0,a.createElement)(w.ee,(0,o.Z)({asChild:!0},c),p)}),B="PopoverPortal",[U,z]=N(B,{forceMount:void 0}),H="PopoverContent",G=(0,a.forwardRef)((e,t)=>{let n=z(H,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,l=M(H,e.__scopePopover);return(0,a.createElement)(T.z,{present:r||l.open},l.modal?(0,a.createElement)($,(0,o.Z)({},i,{ref:t})):(0,a.createElement)(W,(0,o.Z)({},i,{ref:t})))}),$=(0,a.forwardRef)((e,t)=>{let n=M(H,e.__scopePopover),r=(0,a.useRef)(null),s=(0,l.e)(t,r),c=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=r.current;if(e)return(0,R.Ry)(e)},[]),(0,a.createElement)(C.Z,{as:x.g7,allowPinchZoom:!0},(0,a.createElement)(j,(0,o.Z)({},e,{ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),c.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;c.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),W=(0,a.forwardRef)((e,t)=>{let n=M(H,e.__scopePopover),r=(0,a.useRef)(!1),i=(0,a.useRef)(!1);return(0,a.createElement)(j,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let l=t.target,s=null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l);s&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),j=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:f,...m}=e,h=M(H,n),y=L(n);return(0,u.EW)(),(0,a.createElement)(b,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:l},(0,a.createElement)(c.XB,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:g,onDismiss:()=>h.onOpenChange(!1)},(0,a.createElement)(w.VY,(0,o.Z)({"data-state":q(h.open),role:"dialog",id:h.contentId},y,m,{ref:t,style:{...m.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)"}}))))}),V=(0,a.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,l=M("PopoverClose",n);return(0,a.createElement)(d.WV.button,(0,o.Z)({type:"button"},r,{ref:t,onClick:(0,i.M)(e.onClick,()=>l.onOpenChange(!1))}))});function q(e){return e?"open":"closed"}let Y=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!1}=e,s=L(t),c=(0,a.useRef)(null),[u,d]=(0,a.useState)(!1),[p=!1,g]=(0,I.T)({prop:r,defaultProp:o,onChange:i});return(0,a.createElement)(w.fC,s,(0,a.createElement)(D,{scope:t,contentId:(0,A.M)(),triggerRef:c,open:p,onOpenChange:g,onOpenToggle:(0,a.useCallback)(()=>g(e=>!e),[g]),hasCustomAnchor:u,onCustomAnchorAdd:(0,a.useCallback)(()=>d(!0),[]),onCustomAnchorRemove:(0,a.useCallback)(()=>d(!1),[]),modal:l},n))},K=P,Z=F,X=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=M(B,t);return(0,a.createElement)(U,{scope:t,forceMount:n},(0,a.createElement)(T.z,{present:n||i.open},(0,a.createElement)(v.h,{asChild:!0,container:o},r)))},Q=G,J=V},26823:function(e,t,n){"use strict";n.d(t,{f:function(){return u}});var r=n(13428),o=n(2265),a=n(9381);let i="horizontal",l=["horizontal","vertical"],s=(0,o.forwardRef)((e,t)=>{let{decorative:n,orientation:l=i,...s}=e,u=c(l)?l:i;return(0,o.createElement)(a.WV.div,(0,r.Z)({"data-orientation":u},n?{role:"none"}:{"aria-orientation":"vertical"===u?u:void 0,role:"separator"},s,{ref:t}))});function c(e){return l.includes(e)}s.propTypes={orientation(e,t,n){let r=e[t],o=String(r);return r&&!c(r)?Error(`Invalid prop \`orientation\` of value \`${o}\` supplied to \`${n}\`, expected one of: - horizontal - vertical Defaulting to \`${i}\`.`):null}};let u=s},95865:function(e,t,n){"use strict";n.d(t,{HP:function(){return function e(t,n){let a;if(Symbol.asyncIterator in t){let e;a=(e=l(t)[Symbol.asyncIterator](),new ReadableStream({async pull(t){let{done:n,value:r}=await e.next();n?t.close():t.enqueue(r)},async cancel(t){var n;await (null==(n=e.return)?void 0:n.call(e,t))}})).pipeThrough(o((null==n?void 0:n.experimental_onFunctionCall)?{...n,onFinal:void 0}:{...n}))}else a=function(e,t,n){if(!e.ok){if(!e.body)return new ReadableStream({start(e){e.error(Error("Response error: No response body"))}});{let t=e.body.getReader();return new ReadableStream({async start(e){let{done:n,value:r}=await t.read();if(!n){let t=new TextDecoder().decode(r);e.error(Error(`Response error: ${t}`))}}})}}let a=e.body||new ReadableStream({start(e){e.close()}});return a.pipeThrough(function(e){let t;let n=new TextDecoder;return new TransformStream({async start(n){t=function(e){let t,n,o,a,i,l,s;return c(),{feed:function(c){var u;n=n?n+c:c,t&&(u=n,r.every((e,t)=>u.charCodeAt(t)===e))&&(n=n.slice(r.length)),t=!1;let d=n.length,p=0,g=!1;for(;p0&&(e({type:"event",id:i,event:l||void 0,data:s.slice(0,-1)}),s="",i=void 0),l=void 0;return}let a=r<0,c=t.slice(n,n+(a?o:r)),u=0;u=a?o:" "===t[n+r+1]?r+2:r+1;let d=n+u,p=o-u,g=t.slice(d,d+p).toString();if("data"===c)s+=g?"".concat(g,"\n"):"\n";else if("event"===c)l=g;else if("id"!==c||g.includes("\x00")){if("retry"===c){let t=parseInt(g,10);Number.isNaN(t)||e({type:"reconnect-interval",value:t})}}else i=g}(n,p,c,r),p+=r+1}p===d?n="":p>0&&(n=n.slice(p))},reset:c};function c(){t=!0,n="",o=0,a=-1,i=void 0,l=void 0,s=""}}(t=>{if("data"in t&&"event"===t.type&&"[DONE]"===t.data||"done"===t.event){n.terminate();return}if("data"in t){let r=e?e(t.data):t.data;r&&n.enqueue(r)}})},transform(e){t.feed(n.decode(e))}})}(t)).pipeThrough(o(n))}(t,function(){let e=s();return t=>e(JSON.parse(t))}(),(null==n?void 0:n.experimental_onFunctionCall)?{...n,onFinal:void 0}:{...n});if(!n||!n.experimental_onFunctionCall)return a.pipeThrough(function(e){if(!e)return new TransformStream({transform:async(e,t)=>{t.enqueue(e)}});let t=new TextEncoder,n=new TextDecoder;return new TransformStream({transform:async(e,r)=>{let o=n.decode(e);r.enqueue(t.encode(i("text",o)))}})}(null==n?void 0:n.experimental_streamData));{let t=function(t){let n=new TextEncoder,r=!0,o="",a="",l=!1,s=t[c]||[],u=null==t?void 0:t.experimental_streamData,d=function(e){let t=new TextDecoder;return function(e){return e?t.decode(e,{stream:!0}):""}}();return new TransformStream({async transform(e,t){let s=d(e);a+=s;let c=r&&s.startsWith('{"function_call":');if(c){l=!0,o+=s,r=!1;return}if(l)o+=s;else{t.enqueue(u?n.encode(i("text",s)):e);return}},async flush(d){try{let a=!r&&t.experimental_onFunctionCall&&l;if(a&&t.experimental_onFunctionCall){l=!1;let r=JSON.parse(o),a=JSON.parse(r.function_call.arguments),p=[...s],g=await t.experimental_onFunctionCall({name:r.function_call.name,arguments:a},e=>p=[...s,{role:"assistant",content:"",function_call:r.function_call},{role:"function",name:r.function_call.name,content:JSON.stringify(e)}]);if(g){if("string"==typeof g){d.enqueue(u?n.encode(i("text",g)):n.encode(g));return}}else{d.enqueue(n.encode(u?i("function_call",o):o));return}let f={...t,onStart:void 0};t.onFinal=void 0;let m=e(g,{...f,[c]:p}),b=m.getReader();for(;;){let{done:e,value:t}=await b.read();if(e)break;d.enqueue(t)}}}finally{t.onFinal&&a&&await t.onFinal(a)}}})}(n);return a.pipeThrough(t)}}},wn:function(){return d}});let r=[239,187,191];function o(e){let t=new TextEncoder,n="",r=e||{};return new TransformStream({async start(){r.onStart&&await r.onStart()},async transform(e,o){o.enqueue(t.encode(e)),r.onToken&&await r.onToken(e),r.onCompletion&&(n+=e)},async flush(){r.onCompletion&&await r.onCompletion(n),!r.onFinal||"experimental_onFunctionCall"in r||await r.onFinal(n)}})}(0,n(22776).k)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);var a={text:0,function_call:1,data:2},i=(e,t)=>`${a[e]}:${JSON.stringify(t)} -`;async function*l(e){let t=s();for await(let n of e){let e=t(n);e&&(yield e)}}function s(){let e,t;let n=(t=!0,e=>(t&&(e=e.trimStart())&&(t=!1),e));return t=>{var r,o,a,i,l,s,c,d,p,g;if(u(t)&&(null==(a=null==(o=null==(r=t.choices[0])?void 0:r.delta)?void 0:o.function_call)?void 0:a.name))return e=!0,`{"function_call": {"name": "${null==(l=null==(i=t.choices[0])?void 0:i.delta)?void 0:l.function_call.name}", "arguments": "`;if(u(t)&&(null==(d=null==(c=null==(s=t.choices[0])?void 0:s.delta)?void 0:c.function_call)?void 0:d.arguments)){let e=t.choices[0].delta.function_call.arguments;return`${e.replace(/\\/g,"\\\\").replace(/\//g,"\\/").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\f/g,"\\f")}`}if(e&&((null==(p=t.choices[0])?void 0:p.finish_reason)==="function_call"||(null==(g=t.choices[0])?void 0:g.finish_reason)==="stop"))return e=!1,'"}}';let f=n(u(t)&&t.choices[0].delta.content?t.choices[0].delta.content:"choices"in t&&t.choices&&t.choices[0]&&"text"in t.choices[0]?t.choices[0].text:"");return f}}var c=Symbol("internal_openai_fn_messages");function u(e){return"choices"in e&&e.choices&&e.choices[0]&&"delta"in e.choices[0]}var d=class extends Response{constructor(e,t,n){let r=e;n&&(r=e.pipeThrough(n.stream)),super(r,{...t,status:200,headers:{"Content-Type":"text/plain; charset=utf-8","X-Experimental-Stream-Data":n?"true":"false",...null==t?void 0:t.headers}})}};new TextDecoder("utf-8")},22776:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r=(e,t=21)=>(n=t)=>{let r="",o=n;for(;o--;)r+=e[Math.random()*e.length|0];return r}},82504:function(e,t,n){"use strict";n.d(t,{R:function(){return ea}});var r,o=n(2265),a=n(26272);let i=()=>{},l=i(),s=Object,c=e=>e===l,u=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),p=e=>u(e.then),g=new WeakMap,f=0,m=e=>{let t,n;let r=typeof e,o=e&&e.constructor,a=o==Date;if(s(e)!==e||a||o==RegExp)t=a?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=g.get(e))return t;if(t=++f+"~",g.set(e,t),o==Array){for(n=0,t="@";nS&&typeof window.requestAnimationFrame!=E,w=(e,t)=>{let n=b.get(e);return[()=>!c(t)&&e.get(t)||h,r=>{if(!c(t)){let o=e.get(t);t in y||(y[t]=o),n[5](t,d(o,r),o||h)}},n[6],()=>!c(t)&&t in y?y[t]:!c(t)&&e.get(t)||h]},v=!0,[T,x]=S&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],I={initFocus:e=>(k&&document.addEventListener("visibilitychange",e),T("focus",e),()=>{k&&document.removeEventListener("visibilitychange",e),x("focus",e)}),initReconnect:e=>{let t=()=>{v=!0,e()},n=()=>{v=!1};return T("online",t),T("offline",n),()=>{x("online",t),x("offline",n)}}},R=!o.useId,C=!S||"Deno"in window,_=e=>A()?window.requestAnimationFrame(e):setTimeout(e,1),N=C?o.useEffect:o.useLayoutEffect,O="undefined"!=typeof navigator&&navigator.connection,L=!C&&O&&(["slow-2g","2g"].includes(O.effectiveType)||O.saveData),D=e=>{if(u(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t]},M=0,P=()=>++M;var F={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function B(...e){let[t,n,r,o]=e,a=d({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),i=a.populateCache,s=a.rollbackOnError,g=a.optimisticData,f=!1!==a.revalidate,m=e=>"function"==typeof s?s(e):!1!==s,h=a.throwOnError;if(u(n)){let e=[],r=t.keys();for(let o of r)!/^\$(inf|sub)\$/.test(o)&&n(t.get(o)._k)&&e.push(o);return Promise.all(e.map(y))}return y(n);async function y(n){let o;let[a]=D(n);if(!a)return;let[s,d]=w(t,a),[y,E,S,k]=b.get(t),A=y[a],v=()=>f&&(delete S[a],delete k[a],A&&A[0])?A[0](2).then(()=>s().data):s().data;if(e.length<3)return v();let T=r,x=P();E[a]=[x,0];let I=!c(g),R=s(),C=R.data,_=R._c,N=c(_)?C:_;if(I&&d({data:g=u(g)?g(N,C):g,_c:N}),u(T))try{T=T(N)}catch(e){o=e}if(T&&p(T)){if(T=await T.catch(e=>{o=e}),x!==E[a][0]){if(o)throw o;return T}o&&I&&m(o)&&(i=!0,d({data:T=N,_c:l}))}i&&!o&&(u(i)&&(T=i(T,N)),d({data:T,error:l,_c:l})),E[a][1]=P();let O=await v();if(d({_c:l}),o){if(h)throw o;return}return i?O:T}}let U=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},z=(e,t)=>{if(!b.has(e)){let n=d(I,t),r={},o=B.bind(l,e),a=i,s={},c=(e,t)=>{let n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},u=(t,n,r)=>{e.set(t,n);let o=s[t];if(o)for(let e of o)e(n,r)},p=()=>{if(!b.has(e)&&(b.set(e,[r,{},{},{},o,u,c]),!C)){let t=n.initFocus(setTimeout.bind(l,U.bind(l,r,0))),o=n.initReconnect(setTimeout.bind(l,U.bind(l,r,1)));a=()=>{t&&t(),o&&o(),b.delete(e)}}};return p(),[e,o,p,a]}return[e,b.get(e)[4]]},[H,G]=z(new Map),$=d({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,n,r,o)=>{let a=n.errorRetryCount,i=o.retryCount,l=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;(c(a)||!(i>a))&&setTimeout(r,l,o)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:(e,t)=>m(e)==m(t),isPaused:()=>!1,cache:H,mutate:G,fallback:{}},{isOnline:()=>v,isVisible:()=>{let e=k&&document.visibilityState;return c(e)||"hidden"!==e}}),W=(e,t)=>{let n=d(e,t);if(t){let{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=d(o,i))}return n},j=(0,o.createContext)({}),V=S&&window.__SWR_DEVTOOLS_USE__,q=V?window.__SWR_DEVTOOLS_USE__:[],Y=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>d($,(0,o.useContext)(j)),Z=q.concat(e=>(t,n,r)=>{let o=n&&((...e)=>{let[r]=D(t),[,,,o]=b.get(H),a=o[r];return c(a)?n(...e):(delete o[r],a)});return e(t,o,r)}),X=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};V&&(window.__SWR_DEVTOOLS_REACT__=o);let Q=o.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}),J={dedupe:!0};s.defineProperty(e=>{let{value:t}=e,n=(0,o.useContext)(j),r=u(t),a=(0,o.useMemo)(()=>r?t(n):t,[r,n,t]),i=(0,o.useMemo)(()=>r?a:W(n,a),[r,n,a]),s=a&&a.provider,c=(0,o.useRef)(l);s&&!c.current&&(c.current=z(s(i.cache||H),a));let p=c.current;return p&&(i.cache=p[0],i.mutate=p[1]),N(()=>{if(p)return p[2]&&p[2](),p[3]},[]),(0,o.createElement)(j.Provider,d(e,{value:i}))},"defaultValue",{value:$});let ee=(r=(e,t,n)=>{let{cache:r,compare:i,suspense:s,fallbackData:p,revalidateOnMount:g,revalidateIfStale:f,refreshInterval:m,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:E}=n,[S,k,A,v]=b.get(r),[T,x]=D(e),I=(0,o.useRef)(!1),O=(0,o.useRef)(!1),L=(0,o.useRef)(T),M=(0,o.useRef)(t),U=(0,o.useRef)(n),z=()=>U.current,H=()=>z().isVisible()&&z().isOnline(),[G,$,W,j]=w(r,T),V=(0,o.useRef)({}).current,q=c(p)?n.fallback[T]:p,Y=(e,t)=>{for(let n in V)if("data"===n){if(!i(e[n],t[n])&&(!c(e[n])||!i(ei,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},K=(0,o.useMemo)(()=>{let e=!!T&&!!t&&(c(g)?!z().isPaused()&&!s&&(!!c(f)||f):g),n=t=>{let n=d(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=G(),o=j(),a=n(r),i=r===o?a:n(o),l=a;return[()=>{let e=n(G()),t=Y(e,l);return t?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>i]},[r,T]),Z=(0,a.useSyncExternalStore)((0,o.useCallback)(e=>W(T,(t,n)=>{Y(n,t)||e()}),[r,T]),K[0],K[1]),ee=!I.current,et=S[T]&&S[T].length>0,en=Z.data,er=c(en)?q:en,eo=Z.error,ea=(0,o.useRef)(er),ei=E?c(en)?ea.current:en:er,el=(!et||!!c(eo))&&(ee&&!c(g)?g:!z().isPaused()&&(s?!c(er)&&f:c(er)||f)),es=!!(T&&t&&ee&&el),ec=c(Z.isValidating)?es:Z.isValidating,eu=c(Z.isLoading)?es:Z.isLoading,ed=(0,o.useCallback)(async e=>{let t,r;let o=M.current;if(!T||!o||O.current||z().isPaused())return!1;let a=!0,s=e||{},d=!A[T]||!s.dedupe,p=()=>R?!O.current&&T===L.current&&I.current:T===L.current,g={isValidating:!1,isLoading:!1},f=()=>{$(g)},m=()=>{let e=A[T];e&&e[1]===r&&delete A[T]},b={isValidating:!0};c(G().data)&&(b.isLoading=!0);try{if(d&&($(b),n.loadingTimeout&&c(G().data)&&setTimeout(()=>{a&&p()&&z().onLoadingSlow(T,n)},n.loadingTimeout),A[T]=[o(x),P()]),[t,r]=A[T],t=await t,d&&setTimeout(m,n.dedupingInterval),!A[T]||A[T][1]!==r)return d&&p()&&z().onDiscarded(T),!1;g.error=l;let e=k[T];if(!c(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return f(),d&&p()&&z().onDiscarded(T),!1;let s=G().data;g.data=i(s,t)?s:t,d&&p()&&z().onSuccess(t,T,n)}catch(n){m();let e=z(),{shouldRetryOnError:t}=e;!e.isPaused()&&(g.error=n,d&&p()&&(e.onError(n,T,e),(!0===t||u(t)&&t(n))&&H()&&e.onErrorRetry(n,T,e,e=>{let t=S[T];t&&t[0]&&t[0](F.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0},[T,r]),ep=(0,o.useCallback)((...e)=>B(r,L.current,...e),[]);if(N(()=>{M.current=t,U.current=n,c(en)||(ea.current=en)}),N(()=>{if(!T)return;let e=ed.bind(l,J),t=0,n=X(T,S,(n,r={})=>{if(n==F.FOCUS_EVENT){let n=Date.now();z().revalidateOnFocus&&n>t&&H()&&(t=n+z().focusThrottleInterval,e())}else if(n==F.RECONNECT_EVENT)z().revalidateOnReconnect&&H()&&e();else if(n==F.MUTATE_EVENT)return ed();else if(n==F.ERROR_REVALIDATE_EVENT)return ed(r)});return O.current=!1,L.current=T,I.current=!0,$({_k:x}),el&&(c(er)||C?e():_(e)),()=>{O.current=!0,n()}},[T]),N(()=>{let e;function t(){let t=u(m)?m(G().data):m;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!G().error&&(h||z().isVisible())&&(y||z().isOnline())?ed(J).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[m,h,y,T]),(0,o.useDebugValue)(ei),s&&c(er)&&T){if(!R&&C)throw Error("Fallback data is required when using suspense in SSR.");M.current=t,U.current=n,O.current=!1;let e=v[T];if(!c(e)){let t=ep(e);Q(t)}if(c(eo)){let e=ed(J);c(ei)||(e.status="fulfilled",e.value=!0),Q(e)}else throw eo}return{mutate:ep,get data(){return V.data=!0,ei},get error(){return V.error=!0,eo},get isValidating(){return V.isValidating=!0,ec},get isLoading(){return V.isLoading=!0,eu}}},function(...e){let t=K(),[n,o,a]=Y(e),i=W(t,a),l=r,{use:s}=i,c=(s||[]).concat(Z);for(let e=c.length;e--;)l=c[e](l);return l(n,o||i.fetcher||null,i)});var et=(0,n(22776).k)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7),en={text:0,function_call:1,data:2},er=e=>{let t=e.indexOf(":"),n=e.slice(0,t),r=Object.keys(en).find(e=>en[e]===Number(n)),o=e.slice(t+1),a=o;if(!o)return{type:r,value:""};try{a=JSON.parse(o)}catch(e){console.error("Failed to parse JSON value:",o)}return{type:r,value:a}},eo=async(e,t,n,r,o,a,i,l,s,c,u)=>{var d,p;let g=i.current;n(t.messages,!1);let f=await fetch(e,{method:"POST",body:JSON.stringify({messages:u?t.messages:t.messages.map(({role:e,content:t,name:n,function_call:r})=>({role:e,content:t,...void 0!==n&&{name:n},...void 0!==r&&{function_call:r}})),...a.current.body,...null==(d=t.options)?void 0:d.body,...void 0!==t.functions&&{functions:t.functions},...void 0!==t.function_call&&{function_call:t.function_call}}),credentials:a.current.credentials,headers:{...a.current.headers,...null==(p=t.options)?void 0:p.headers},...null!==l.current&&{signal:l.current.signal}}).catch(e=>{throw n(g,!1),e});if(c)try{await c(f)}catch(e){throw e}if(!f.ok)throw n(g,!1),Error(await f.text()||"Failed to fetch the chat response.");if(!f.body)throw Error("The response body is empty.");let m="true"===f.headers.get("X-Experimental-Stream-Data"),b=new Date,h=f.body.getReader(),y=function(e){let t=new TextDecoder;return e?function(e){let n=t.decode(e,{stream:!0}).split("\n");return n.map(er).filter(Boolean)}:function(e){return e?t.decode(e,{stream:!0}):""}}(m),E=[],S=[],k={},A=[],w=0;if(m){for(;;){let{value:e}=await h.read();if(e&&(A.push(e),w+=e.length,10!==e[e.length-1]))continue;if(0===A.length)break;let a=new Uint8Array(w),i=0;for(let e of A)a.set(e,i),i+=e.length;A.length=0,w=0;let s=y(a);if("string"==typeof s)throw Error("Invalid response format. Complex mode was set but the response is a string. This should never happen.");for(let{type:e,value:a}of s){"text"===e&&(k.text?k.text={...k.text,content:(k.text.content||"")+a}:k.text={id:et(),role:"assistant",content:a,createdAt:b});let i=null;if("function_call"===e){k.function_call=a;let e=k.function_call;if(e&&"string"==typeof e){let t=JSON.parse(e).function_call;i={id:et(),role:"assistant",content:"",function_call:t,name:t.name,createdAt:b},k.function_call=i}}if("data"===e){let e=JSON.parse(a);k.data?k.data=[...k.data,...e]:k.data=e}let s=k.data,c=k.text,u=[i,c].filter(Boolean);if(n([...t.messages,...u],!1),r([...o||[],...s||[]],!1),null===l.current){h.cancel();break}}}for(let[e,t]of Object.entries(k))s&&"text"===e&&s(t),"data"===e?S.push(t):E.push(t);return{messages:E,data:S}}{let e="",r=et(),o={id:r,createdAt:b,content:"",role:"assistant"};for(;;){let{done:r,value:a}=await h.read();if(r)break;if((e+=y(a)).startsWith('{"function_call":')?o.function_call=e:o.content=e,n([...t.messages,{...o}],!1),null===l.current){h.cancel();break}}if(e.startsWith('{"function_call":')){let r=JSON.parse(e).function_call;o.function_call=r,n([...t.messages,{...o}])}return s&&s(o),o}};function ea({api:e="/api/chat",id:t,initialMessages:n=[],initialInput:r="",sendExtraMessageFields:a,experimental_onFunctionCall:i,onResponse:l,onFinish:s,onError:c,credentials:u,headers:d,body:p}={}){let g=(0,o.useId)(),f=t||g,{data:m,mutate:b}=ee([e,f],null,{fallbackData:n}),{data:h=!1,mutate:y}=ee([f,"loading"],null),{data:E,mutate:S}=ee([f,"streamData"],null),k=(0,o.useRef)(m||[]);(0,o.useEffect)(()=>{k.current=m||[]},[m]);let A=(0,o.useRef)(null),w=(0,o.useRef)({credentials:u,headers:d,body:p});(0,o.useEffect)(()=>{w.current={credentials:u,headers:d,body:p}},[u,d,p]);let[v,T]=(0,o.useState)(),x=(0,o.useCallback)(async t=>{try{y(!0),T(void 0);let n=new AbortController;for(A.current=n;;){let n=await eo(e,t,b,S,E,w,k,A,s,l,a);if("messages"in n){let e=!1;for(let r of n.messages)if(void 0!==r.function_call&&"string"!=typeof r.function_call&&(e=!0,i)){let e=r.function_call,n=await i(k.current,e);if(void 0===n)break;t=n}if(!e)break}else{if(void 0===n.function_call||"string"==typeof n.function_call)break;if(i){let e=n.function_call,r=await i(k.current,e);if(void 0===r)break;t=r}}}A.current=null}catch(e){if("AbortError"===e.name)return A.current=null,null;c&&e instanceof Error&&c(e),T(e)}finally{y(!1)}},[b,y,e,w,l,s,c,T,S,E,a,i,k.current,A.current]),I=(0,o.useCallback)(async(e,{options:t,functions:n,function_call:r}={})=>{e.id||(e.id=et());let o={messages:k.current.concat(e),options:t,...void 0!==n&&{functions:n},...void 0!==r&&{function_call:r}};return x(o)},[x]),R=(0,o.useCallback)(async({options:e,functions:t,function_call:n}={})=>{if(0===k.current.length)return null;let r=k.current[k.current.length-1];if("assistant"===r.role){let r={messages:k.current.slice(0,-1),options:e,...void 0!==t&&{functions:t},...void 0!==n&&{function_call:n}};return x(r)}let o={messages:k.current,options:e,...void 0!==t&&{functions:t},...void 0!==n&&{function_call:n}};return x(o)},[x]),C=(0,o.useCallback)(()=>{A.current&&(A.current.abort(),A.current=null)},[]),_=(0,o.useCallback)(e=>{b(e,!1),k.current=e},[b]),[N,O]=(0,o.useState)(r),L=(0,o.useCallback)((e,{options:t,functions:n,function_call:r}={},o)=>{o&&(w.current={...w.current,...o}),e.preventDefault(),N&&(I({content:N,role:"user",createdAt:new Date},{options:t,functions:n,function_call:r}),O(""))},[N,I]);return{messages:m||[],error:v,append:I,reload:R,stop:C,setMessages:_,input:N,setInput:O,handleInputChange:e=>{O(e.target.value)},handleSubmit:L,isLoading:h,data:E}}},63034:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});let r=document.createElement("i");function o(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},34380:function(e,t,n){"use strict";var r=n(62913),o=n(26785),a=Object.prototype.hasOwnProperty;t.Z=function(e,t,n){var i=e[t];a.call(e,t)&&(0,o.Z)(i,n)&&(void 0!==n||t in e)||(0,r.Z)(e,t,n)}},56141:function(e,t,n){"use strict";var r=n(41926),o=n(85387),a=n(13879);t.Z=function(e){return(0,r.Z)(e,a.Z,o.Z)}},16345:function(e,t,n){"use strict";var r=(0,n(16917).Z)(Object.getPrototypeOf,Object);t.Z=r},85387:function(e,t,n){"use strict";var r=n(35563),o=n(16345),a=n(82787),i=n(26772),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,r.Z)(t,(0,a.Z)(e)),e=(0,o.Z)(e);return t}:i.Z;t.Z=l},50976:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(64164),o=n(90440),a=function(){return o.Z.Date.now()},i=n(4091),l=Math.max,s=Math.min,c=function(e,t,n){var o,c,u,d,p,g,f=0,m=!1,b=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=o,r=c;return o=c=void 0,f=t,d=e.apply(r,n)}function E(e){var n=e-g,r=e-f;return void 0===g||n>=t||n<0||b&&r>=u}function S(){var e,n,r,o=a();if(E(o))return k(o);p=setTimeout(S,(e=o-g,n=o-f,r=t-e,b?s(r,u-n):r))}function k(e){return(p=void 0,h&&o)?y(e):(o=c=void 0,d)}function A(){var e,n=a(),r=E(n);if(o=arguments,c=this,g=n,r){if(void 0===p)return f=e=g,p=setTimeout(S,t),m?y(e):d;if(b)return clearTimeout(p),p=setTimeout(S,t),y(g)}return void 0===p&&(p=setTimeout(S,t)),d}return t=(0,i.Z)(t)||0,(0,r.Z)(n)&&(m=!!n.leading,u=(b="maxWait"in n)?l((0,i.Z)(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),A.cancel=function(){void 0!==p&&clearTimeout(p),f=0,o=g=c=p=void 0},A.flush=function(){return void 0===p?d:k(a())},A}},83390:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r,o=n(18579),a=n(85222),i=n(35805),l=(r=n(16630).Z,function(e,t,n){var l=Object(e);if(!(0,a.Z)(e)){var s=(0,o.Z)(t,3);e=(0,i.Z)(e),t=function(e){return s(l[e],e,l)}}var c=r(e,t,n);return c>-1?l[s?e[c]:c]:void 0})},24144:function(e,t){"use strict";t.Z=function(e){return null==e}},13879:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(86070),o=n(64164),a=n(26343),i=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},l=Object.prototype.hasOwnProperty,s=function(e){if(!(0,o.Z)(e))return i(e);var t=(0,a.Z)(e),n=[];for(var r in e)"constructor"==r&&(t||!l.call(e,r))||n.push(r);return n},c=n(85222),u=function(e){return(0,c.Z)(e)?(0,r.Z)(e,!0):s(e)}},29166:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(18579),o=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}},a=n(89688),i=n(95157),l=n(34380),s=n(12930),c=n(60176),u=n(64164),d=n(16422),p=function(e,t,n,r){if(!(0,u.Z)(e))return e;t=(0,s.Z)(t,e);for(var o=-1,a=t.length,i=a-1,p=e;null!=p&&++o=f)&&(!(e+1a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(o=Array.from(r)).unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return o},d:function(){return r}})},75786:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(82659);function o(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},6361:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(58180);let o={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}n.d(t,{o:function(){return r}})},11559:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(63034),o=n(43012);let a=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(e){return e.replace(a,l)}function l(e,t,n){if(t)return t;let a=n.charCodeAt(0);if(35===a){let e=n.charCodeAt(1),t=120===e||88===e;return(0,o.o)(n.slice(t?2:1),t?16:10)}return(0,r.T)(n)||e}},93575:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},80594:function(e,t,n){"use strict";function r(e,t,n){let r=[],o=-1;for(;++o{let r;if(!d&&b)return r=function(e,t,n={},r=s){if(void 0===window.IntersectionObserver&&void 0!==r){let o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:c,elements:u}=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)?(i.has(n)||(l+=1,i.set(n,l.toString())),i.get(n)):"0":e[t]}`}).toString(),n=a.get(t);if(!n){let r;let o=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var n;let a=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(n=o.get(t.target))||n.forEach(e=>{e(a,t)})})},e);r=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:o},a.set(t,n)}return n}(n),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(t),c.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(u.delete(e),c.unobserve(e)),0===u.size&&(c.disconnect(),a.delete(o))}}(b,(e,t)=>{S({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&u&&r&&(r(),r=void 0)},{root:c,rootMargin:o,threshold:e,trackVisibility:n,delay:t},g),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,b,c,o,u,d,n,g,t]);let k=null==(m=E.entry)?void 0:m.target,A=r.useRef();b||!k||u||d||A.current===k||(A.current=k,S({inView:!!p,entry:void 0}));let w=[h,E.inView,E.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}r.Component},19349:function(e,t,n){"use strict";n.d(t,{D:function(){return tJ}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return ez},contentInitial:function(){return eD},disable:function(){return eH},document:function(){return eL},flow:function(){return eP},flowInitial:function(){return eM},insideSpan:function(){return eU},string:function(){return eF},text:function(){return eB}});var o={};n.r(o),n.d(o,{boolean:function(){return tf},booleanish:function(){return tm},commaOrSpaceSeparated:function(){return tS},commaSeparated:function(){return tE},number:function(){return th},overloadedBoolean:function(){return tb},spaceSeparated:function(){return ty}});var a=n(2265),i=n(69934);function l(e){return e&&"object"==typeof e?"position"in e||"type"in e?c(e.position):"start"in e||"end"in e?c(e):"line"in e||"column"in e?s(e):"":""}function s(e){return u(e&&e.line)+":"+u(e&&e.column)}function c(e){return s(e&&e.start)+"-"+s(e&&e.end)}function u(e){return e&&"number"==typeof e?e:1}class d extends Error{constructor(e,t,n){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=l(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;let p={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');g(e);let r=0,o=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,l=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1),l>-1&&(e.charCodeAt(a)===t.charCodeAt(l--)?l<0&&(o=a):(l=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},dirname:function(e){let t;if(g(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;g(e);let n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){let l=e.charCodeAt(n);if(47===l){if(t){o=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1)}return a<0||r<0||0===i||1===i&&a===r-1&&a===o+1?"":e.slice(a,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",a=0):a=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),i=s,l=0;continue}}else if(o.length>0){o="",a=0,i=s,l=0;continue}}t&&(o=o.length>0?o+"/..":"..",a=2)}else o.length>0?o+="/"+e.slice(i+1,s):o=e.slice(i+1,s),a=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function g(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function f(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let m=["history","path","basename","stem","extname","dirname"];class b{constructor(e){let t,n;t=e?"string"==typeof e||i(e)?{value:e}:f(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let r=-1;for(;++rt.length;i&&t.push(r);try{a=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(a instanceof Promise?a.then(o,r):a instanceof Error?r(a):o(a))};function r(e,...o){n||(n=!0,t(e,...o))}function o(e){r(null,e)}})(l,o)(...i):r(null,...i)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],o={},a=-1;return l.data=function(e,n){return"string"==typeof e?2==arguments.length?(R("data",t),o[e]=n,l):v.call(o,e)&&o[e]||null:e?(R("data",t),o=e,l):o},l.Parser=void 0,l.Compiler=void 0,l.freeze=function(){if(t)return l;for(;++a{if(!e&&t&&n){let r=l.stringify(t,n);null==r||("string"==typeof r||i(r)?n.value=r:n.result=r),a(e,n)}else a(e)})}n(null,t)},l.processSync=function(e){let t;l.freeze(),x("processSync",l.Parser),I("processSync",l.Compiler);let n=N(e);return l.process(n,function(e){t=!0,S(e)}),_("processSync","process",t),n},l;function l(){let t=e(),n=-1;for(;++nr))return;let l=o.events.length,s=l;for(;s--;)if("exit"===o.events[s][0]&&"chunkFlow"===o.events[s][1].type){if(e){n=o.events[s][1].end;break}e=!0}for(b(i),a=l;at;){let t=a[n];o.containerState=t[1],t[0].exit.call(o,e)}a.length=t}function h(){t.write([null]),n=void 0,t=void 0,o.containerState._closeFlow=void 0}}},H={tokenize:function(e,t,n){return(0,P.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var G=n(56833);function $(e){let t,n,r,o,a,i,l;let s={},c=-1;for(;++c=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0},V={tokenize:function(e){let t=this,n=e.attempt(G.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,P.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(W,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},q={resolveAll:X()},Y=Z("string"),K=Z("text");function Z(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a;function a(e){return s(e)?o(e):i(e)}function i(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],o=-1;if(t)for(;++o=3&&(null===i||(0,F.Ch)(i))?(e.exit("thematicBreak"),t(i)):n(i)}(a)}}},et={name:"list",tokenize:function(e,t,n){let r=this,o=r.events[r.events.length-1],a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){let o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:(0,F.pY)(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ee,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(o){return(0,F.pY)(o)&&++i<10?(e.consume(o),t):(!r.interrupt||i<2)&&(r.containerState.marker?o===r.containerState.marker:41===o||46===o)?(e.exit("listItemValue"),l(o)):n(o)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(G.w,r.interrupt?n:s,e.attempt(en,u,c))}function s(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,F.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(G.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,P.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,F.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(er,t,o)(n))});function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,P.f)(e,e.attempt(et,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},en={tokenize:function(e,t,n){let r=this;return(0,P.f)(e,function(e){let o=r.events[r.events.length-1];return!(0,F.xz)(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},er={tokenize:function(e,t,n){let r=this;return(0,P.f)(e,function(e){let o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eo={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return(0,F.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,F.xz)(t)?(0,P.f)(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(eo,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ea(e,t,n,r,o,a,i,l,s){let c=s||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,F.Av)(t)?n(t):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||(0,F.Ch)(t)?n(t):(e.consume(t),92===t?g:p)}function g(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(o){return!u&&(null===o||41===o||(0,F.z3)(o))?(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(o)):u999||null===d||91===d||93===d&&!i||94===d&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):(0,F.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,F.Ch)(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),i||(i=!(0,F.xz)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function el(e,t,n,r,o,a){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,l):n(t)};function l(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===i?(e.exit(a),l(i)):null===t?n(t):(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,P.f)(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||(0,F.Ch)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function es(e,t){let n;return function r(o){return(0,F.Ch)(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):(0,F.xz)(o)?(0,P.f)(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}var ec=n(93575);let eu={tokenize:function(e,t,n){return function(t){return(0,F.z3)(t)?es(e,r)(t):n(t)};function r(t){return el(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return(0,F.xz)(t)?(0,P.f)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,F.Ch)(e)?t(e):n(e)}},partial:!0},ed={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,P.f)(e,o,"linePrefix",5)(t)};function o(t){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?function t(n){return null===n?a(n):(0,F.Ch)(n)?e.attempt(ep,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,F.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},ep={tokenize:function(e,t,n){let r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):(0,P.f)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,F.Ch)(e)?o(e):n(e)}},partial:!0},eg={name:"setextUnderline",tokenize:function(e,t,n){let r;let o=this;return function(t){let i,l=o.events.length;for(;l--;)if("lineEnding"!==o.events[l][1].type&&"linePrefix"!==o.events[l][1].type&&"content"!==o.events[l][1].type){i="paragraph"===o.events[l][1].type;break}return!o.parser.lazy[o.now().line]&&(o.interrupt||i)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,F.xz)(n)?(0,P.f)(e,a,"lineSuffix")(n):a(n))}(t)):n(t)};function a(r){return null===r||(0,F.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);let i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=i,e.push(["exit",i,t]),e}},ef=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],em=["pre","script","style","textarea"],eb={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(G.w,t,n)}},partial:!0},eh={tokenize:function(e,t,n){let r=this;return function(t){return(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},ey={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eE={name:"codeFenced",tokenize:function(e,t,n){let r;let o=this,a={tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),(0,F.xz)(t)?(0,P.f)(e,s,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(o){return o===r?(a++,e.consume(o),t):a>=l?(e.exit("codeFencedFenceSequence"),(0,F.xz)(o)?(0,P.f)(e,c,"whitespace")(o):c(o)):n(o)}(t)):n(t)}function c(r){return null===r||(0,F.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},i=0,l=0;return function(t){return function(t){let a=o.events[o.events.length-1];return i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(o){return o===r?(l++,e.consume(o),t):l<3?n(o):(e.exit("codeFencedFenceSequence"),(0,F.xz)(o)?(0,P.f)(e,s,"whitespace")(o):s(o))}(t)}(t)};function s(a){return null===a||(0,F.Ch)(a)?(e.exit("codeFencedFence"),o.interrupt?t(a):e.check(ey,u,f)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||(0,F.Ch)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(o)):(0,F.xz)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,P.f)(e,c,"whitespace")(o)):96===o&&o===r?n(o):(e.consume(o),t)}(a))}function c(t){return null===t||(0,F.Ch)(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||(0,F.Ch)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(o)):96===o&&o===r?n(o):(e.consume(o),t)}(t))}function u(t){return e.attempt(a,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return i>0&&(0,F.xz)(t)?(0,P.f)(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||(0,F.Ch)(t)?e.check(ey,u,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,F.Ch)(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eS=n(63034);let ek={name:"characterReference",tokenize:function(e,t,n){let r,o;let a=this,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,o=F.H$,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,o=F.AF,c):(e.enter("characterReferenceValue"),r=7,o=F.pY,c(t))}function c(l){if(59===l&&i){let r=e.exit("characterReferenceValue");return o!==F.H$||(0,eS.T)(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return o(l)&&i++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);eN(d,-l),eN(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},i={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},a.start),e[u][1].start=Object.assign({},i.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=(0,U.V)(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=(0,U.V)(s,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),s=(0,U.V)(s,(0,J.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=(0,U.V)(s,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=(0,U.V)(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,U.d)(e,n-1,u-n+3,s),u=n+s.length-c-2;break}}for(u=-1;++ua&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,U.d)(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ee,45:[eg,ee],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,o,a,i,l;let s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(i){return 33===i?(e.consume(i),u):47===i?(e.consume(i),o=!0,g):63===i?(e.consume(i),r=3,s.interrupt?t:O):(0,F.jv)(i)?(e.consume(i),a=String.fromCharCode(i),f):n(i)}function u(o){return 45===o?(e.consume(o),r=2,d):91===o?(e.consume(o),r=5,i=0,p):(0,F.jv)(o)?(e.consume(o),r=4,s.interrupt?t:O):n(o)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:O):n(r)}function p(r){let o="CDATA[";return r===o.charCodeAt(i++)?(e.consume(r),i===o.length)?s.interrupt?t:v:p:n(r)}function g(t){return(0,F.jv)(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(i){if(null===i||47===i||62===i||(0,F.z3)(i)){let l=47===i,c=a.toLowerCase();return!l&&!o&&em.includes(c)?(r=1,s.interrupt?t(i):v(i)):ef.includes(a.toLowerCase())?(r=6,l)?(e.consume(i),m):s.interrupt?t(i):v(i):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(i):o?function t(n){return(0,F.xz)(n)?(e.consume(n),t):A(n)}(i):b(i))}return 45===i||(0,F.H$)(i)?(e.consume(i),a+=String.fromCharCode(i),f):n(i)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:v):n(r)}function b(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,F.jv)(t)?(e.consume(t),h):(0,F.xz)(t)?(e.consume(t),b):A(t)}function h(t){return 45===t||46===t||58===t||95===t||(0,F.H$)(t)?(e.consume(t),h):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,F.xz)(t)?(e.consume(t),y):b(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,S):(0,F.xz)(t)?(e.consume(t),E):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,F.z3)(n)?y(n):(e.consume(n),t)}(t)}function S(t){return t===l?(e.consume(t),l=null,k):null===t||(0,F.Ch)(t)?n(t):(e.consume(t),S)}function k(e){return 47===e||62===e||(0,F.xz)(e)?b(e):n(e)}function A(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||(0,F.Ch)(t)?v(t):(0,F.xz)(t)?(e.consume(t),w):n(t)}function v(t){return 45===t&&2===r?(e.consume(t),R):60===t&&1===r?(e.consume(t),C):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),N):(0,F.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eb,D,T)(t)):null===t||(0,F.Ch)(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),v)}function T(t){return e.check(eh,x,D)(t)}function x(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,F.Ch)(t)?T(t):(e.enter("htmlFlowData"),v(t))}function R(t){return 45===t?(e.consume(t),O):v(t)}function C(t){return 47===t?(e.consume(t),a="",_):v(t)}function _(t){if(62===t){let n=a.toLowerCase();return em.includes(n)?(e.consume(t),L):v(t)}return(0,F.jv)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),_):v(t)}function N(t){return 93===t?(e.consume(t),O):v(t)}function O(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),O):v(t)}function L(t){return null===t||(0,F.Ch)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eg,95:ee,96:eE,126:eE},eF={38:ek,92:eA},eB={[-5]:ew,[-4]:ew,[-3]:ew,33:eR,38:ek,42:e_,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return(0,F.jv)(t)?(e.consume(t),a):l(t)}function a(t){return 43===t||45===t||46===t||(0,F.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,i):(43===n||45===n||46===n||(0,F.H$)(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function i(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,F.Av)(r)?n(r):(e.consume(r),i)}function l(t){return 64===t?(e.consume(t),s):(0,F.n9)(t)?(e.consume(t),l):n(t)}function s(o){return(0,F.H$)(o)?function o(a){return 46===a?(e.consume(a),r=0,s):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,F.H$)(a))&&r++<63){let n=45===a?t:o;return e.consume(a),n}return n(a)}(a)}(o):n(o)}}},{name:"htmlText",tokenize:function(e,t,n){let r,o,a;let i=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),S):63===t?(e.consume(t),y):(0,F.jv)(t)?(e.consume(t),A):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,g):(0,F.jv)(t)?(e.consume(t),h):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,F.Ch)(t)?(a=u,_(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?C(e):45===e?d(e):u(e)}function g(t){let r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),o===r.length?f:g):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):(0,F.Ch)(t)?(a=f,_(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),b):f(t)}function b(t){return 62===t?C(t):93===t?(e.consume(t),b):f(t)}function h(t){return null===t||62===t?C(t):(0,F.Ch)(t)?(a=h,_(t)):(e.consume(t),h)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,F.Ch)(t)?(a=y,_(t)):(e.consume(t),y)}function E(e){return 62===e?C(e):y(e)}function S(t){return(0,F.jv)(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||(0,F.H$)(t)?(e.consume(t),k):function t(n){return(0,F.Ch)(n)?(a=t,_(n)):(0,F.xz)(n)?(e.consume(n),t):C(n)}(t)}function A(t){return 45===t||(0,F.H$)(t)?(e.consume(t),A):47===t||62===t||(0,F.z3)(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,F.jv)(t)?(e.consume(t),v):(0,F.Ch)(t)?(a=w,_(t)):(0,F.xz)(t)?(e.consume(t),w):C(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,F.H$)(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),T):(0,F.Ch)(n)?(a=t,_(n)):(0,F.xz)(n)?(e.consume(n),t):w(n)}(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,x):(0,F.Ch)(t)?(a=T,_(t)):(0,F.xz)(t)?(e.consume(t),T):(e.consume(t),I)}function x(t){return t===r?(e.consume(t),r=void 0,R):null===t?n(t):(0,F.Ch)(t)?(a=x,_(t)):(e.consume(t),x)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,F.z3)(t)?w(t):(e.consume(t),I)}function R(e){return 47===e||62===e||(0,F.z3)(e)?w(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function _(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return(0,F.xz)(t)?(0,P.f)(e,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),a(t)}}}],91:eO,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,F.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eA],93:ev,95:e_,96:{name:"codeText",tokenize:function(e,t,n){let r,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),i(n))}(t)};function i(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),i):96===s?(o=e.enter("codeTextSequence"),r=0,function n(i){return 96===i?(e.consume(i),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(i)):(o.type="codeTextData",l(i))}(s)):(0,F.Ch)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||(0,F.Ch)(t)?(e.exit("codeTextData"),i(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,o=3;if(("lineEnding"===e[3][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=o;++t0){let e=a.tokenStack[a.tokenStack.length-1],t=e[1]||eY;t.call(a,void 0,e[0])}for(n.position={start:eq(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eq(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c-1){let e=n[0];"string"==typeof e?n[0]=e.slice(o):n.shift()}i>0&&n.push(e[a].slice(0,i))}return n}(i,e)}function p(){let{line:e,column:t,offset:n,_index:o,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:a}}function g(e,t){t.restore()}function f(e,t){return function(n,o,a){let i,u,d,g;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,o=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return f(o)(e)};function f(e){return(i=e,u=0,0===e.length)?a:m(e[u])}function m(e){return function(n){return(g=function(){let e=p(),t=c.previous,n=c.currentConstruct,o=c.events.length,a=Array.from(l);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=a,b()},from:o}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,h,y)(n)}}function h(t){return e(d,g),o}function y(e){return(g.restore(),++u{let n=this.data("settings");return eV(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function eZ(e){let t=[],n=-1,r=0,o=0;for(;++n55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}var eX=n(37462);let eQ=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),(0,eX.S4)(e,t,function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},eJ=e1("start"),e0=e1("end");function e1(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let e2={}.hasOwnProperty;function e3(e){return String(e||"").toUpperCase()}function e4(e,t){let n;let r=String(t.identifier).toUpperCase(),o=eZ(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);-1===a?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=a+1);let i=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+o,id:e.clobberPrefix+"fnref-"+o+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function e5(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({type:"text",value:"["});let i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function e9(e){let t=e.spread;return null==t?e.children.length>1:t}function e6(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}let e7={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let a={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:e4,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},e4(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e5(e,t);let r={src:eZ(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:eZ(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e5(e,t);let r={href:eZ(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:eZ(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=eJ(t.children[1]),i=e0(t.children[t.children.length-1]);a.line&&i.line&&(r.position={start:a,end:i}),o.push(r)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,o=r?r.indexOf(t):1,a=0===o?"th":"td",i=n&&"table"===n.type?n.align:void 0,l=i?i.length:t.children.length,s=-1,c=[];for(;++s0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(e6(t.slice(o),o>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:e8,yaml:e8,definition:e8,footnoteDefinition:e8};function e8(){return null}let te={}.hasOwnProperty;function tt(e,t){e.position&&(t.position={start:eJ(e),end:e0(e)})}function tn(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tr(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return te.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:to(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(te.call(n,"hProperties")||te.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:to(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function to(e,t){let n=[];if("children"in t){let r=t.children,o=-1;for(;++o0&&n.push({type:"text",value:"\n"}),n}function ti(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,o={};return i.dangerous=r,i.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,i.footnoteLabel=n.footnoteLabel||"Footnotes",i.footnoteLabelTagName=n.footnoteLabelTagName||"h2",i.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=n.footnoteBackLabel||"Back to content",i.unknownHandler=n.unknownHandler,i.passThrough=n.passThrough,i.handlers={...e7,...n.handlers},i.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return eQ(e,"definition",e=>{let n=e3(e.identifier);n&&!e2.call(t,n)&&(t[n]=e)}),function(e){let n=e3(e);return n&&e2.call(t,n)?t[n]:null}}(e),i.footnoteById=o,i.footnoteOrder=[],i.footnoteCounts={},i.patch=tt,i.applyData=tn,i.one=function(e,t){return tr(i,e,t)},i.all=function(e){return to(i,e)},i.wrap=ta,i.augment=a,eQ(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();te.call(o,t)||(o[t]=e)}),i;function a(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:eJ(n),end:e0(n)})}return t}function i(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),a(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),o=function(e){let t=[],n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}let c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else o.push(...s);let u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}var tl=function(e,t){var n;return e&&"run"in e?(n,r,o)=>{e.run(ti(n,t),r,e=>{o(e)})}:(n=e||t,e=>ti(e,n))},ts=n(74275);class tc{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function tu(e,t){let n={},r={},o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tI=tT({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tR(e,t){return t in e?e[t]:t}function tC(e,t){return tR(e,t.toLowerCase())}let t_=tT({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tC,properties:{xmlns:null,xmlnsXLink:null}}),tN=tT({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tm,ariaAutoComplete:null,ariaBusy:tm,ariaChecked:tm,ariaColCount:th,ariaColIndex:th,ariaColSpan:th,ariaControls:ty,ariaCurrent:null,ariaDescribedBy:ty,ariaDetails:null,ariaDisabled:tm,ariaDropEffect:ty,ariaErrorMessage:null,ariaExpanded:tm,ariaFlowTo:ty,ariaGrabbed:tm,ariaHasPopup:null,ariaHidden:tm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ty,ariaLevel:th,ariaLive:null,ariaModal:tm,ariaMultiLine:tm,ariaMultiSelectable:tm,ariaOrientation:null,ariaOwns:ty,ariaPlaceholder:null,ariaPosInSet:th,ariaPressed:tm,ariaReadOnly:tm,ariaRelevant:null,ariaRequired:tm,ariaRoleDescription:ty,ariaRowCount:th,ariaRowIndex:th,ariaRowSpan:th,ariaSelected:tm,ariaSetSize:th,ariaSort:null,ariaValueMax:th,ariaValueMin:th,ariaValueNow:th,ariaValueText:null,role:null}}),tO=tT({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tC,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tE,acceptCharset:ty,accessKey:ty,action:null,allow:null,allowFullScreen:tf,allowPaymentRequest:tf,allowUserMedia:tf,alt:null,as:null,async:tf,autoCapitalize:null,autoComplete:ty,autoFocus:tf,autoPlay:tf,blocking:ty,capture:tf,charSet:null,checked:tf,cite:null,className:ty,cols:th,colSpan:null,content:null,contentEditable:tm,controls:tf,controlsList:ty,coords:th|tE,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tf,defer:tf,dir:null,dirName:null,disabled:tf,download:tb,draggable:tm,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tf,formTarget:null,headers:ty,height:th,hidden:tf,high:th,href:null,hrefLang:null,htmlFor:ty,httpEquiv:ty,id:null,imageSizes:null,imageSrcSet:null,inert:tf,inputMode:null,integrity:null,is:null,isMap:tf,itemId:null,itemProp:ty,itemRef:ty,itemScope:tf,itemType:ty,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tf,low:th,manifest:null,max:null,maxLength:th,media:null,method:null,min:null,minLength:th,multiple:tf,muted:tf,name:null,nonce:null,noModule:tf,noValidate:tf,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tf,optimum:th,pattern:null,ping:ty,placeholder:null,playsInline:tf,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:tf,referrerPolicy:null,rel:ty,required:tf,reversed:tf,rows:th,rowSpan:th,sandbox:ty,scope:null,scoped:tf,seamless:tf,selected:tf,shape:null,size:th,sizes:null,slot:null,span:th,spellCheck:tm,src:null,srcDoc:null,srcLang:null,srcSet:null,start:th,step:null,style:null,tabIndex:th,target:null,title:null,translate:null,type:null,typeMustMatch:tf,useMap:null,value:tm,width:th,wrap:null,align:null,aLink:null,archive:ty,axis:null,background:null,bgColor:null,border:th,borderColor:null,bottomMargin:th,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tf,declare:tf,event:null,face:null,frame:null,frameBorder:null,hSpace:th,leftMargin:th,link:null,longDesc:null,lowSrc:null,marginHeight:th,marginWidth:th,noResize:tf,noHref:tf,noShade:tf,noWrap:tf,object:null,profile:null,prompt:null,rev:null,rightMargin:th,rules:null,scheme:null,scrolling:tm,standby:null,summary:null,text:null,topMargin:th,valueType:null,version:null,vAlign:null,vLink:null,vSpace:th,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tf,disableRemotePlayback:tf,prefix:null,property:null,results:th,security:null,unselectable:null}}),tL=tT({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:tR,properties:{about:tS,accentHeight:th,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:th,amplitude:th,arabicForm:null,ascent:th,attributeName:null,attributeType:null,azimuth:th,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:th,by:null,calcMode:null,capHeight:th,className:ty,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:th,diffuseConstant:th,direction:null,display:null,dur:null,divisor:th,dominantBaseline:null,download:tf,dx:null,dy:null,edgeMode:null,editable:null,elevation:th,enableBackground:null,end:null,event:null,exponent:th,externalResourcesRequired:null,fill:null,fillOpacity:th,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:tE,g2:tE,glyphName:tE,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:th,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:th,horizOriginX:th,horizOriginY:th,id:null,ideographic:th,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:th,k:th,k1:th,k2:th,k3:th,k4:th,kernelMatrix:tS,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:th,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:th,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:th,overlineThickness:th,paintOrder:null,panose1:null,path:null,pathLength:th,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ty,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:th,pointsAtY:th,pointsAtZ:th,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tS,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tS,rev:tS,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tS,requiredFeatures:tS,requiredFonts:tS,requiredFormats:tS,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:th,specularExponent:th,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:th,strikethroughThickness:th,string:null,stroke:null,strokeDashArray:tS,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:th,strokeOpacity:th,strokeWidth:null,style:null,surfaceScale:th,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tS,tabIndex:th,tableValues:null,target:null,targetX:th,targetY:th,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tS,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:th,underlineThickness:th,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:th,values:null,vAlphabetic:th,vMathematical:th,vectorEffect:null,vHanging:th,vIdeographic:th,version:null,vertAdvY:th,vertOriginX:th,vertOriginY:th,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:th,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),tD=tu([tI,tx,t_,tN,tO],"html"),tM=tu([tI,tx,t_,tN,tL],"svg");function tP(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{eQ(t,"element",(t,n,r)=>{let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,r)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tF=n(9176);let tB=/^data[-\w.:]+$/i,tU=/-[a-z]/g,tz=/[A-Z]/g;function tH(e){return"-"+e.toLowerCase()}function tG(e){return e.charAt(1).toUpperCase()}let t$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tW=n(48699);let tj=["http","https","mailto","tel"];function tV(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++oo||-1!==(o=t.indexOf("#"))&&r>o?t:"javascript:void(0)"}let tq={}.hasOwnProperty,tY=new Set(["table","thead","tbody","tfoot","tr"]);function tK(e,t){let n=-1,r=0;for(;++n for more info)`),delete tQ[t]}let t=w().use(eK).use(e.remarkPlugins||[]).use(tl,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(tP,e),n=new b;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let o=a.createElement(a.Fragment,{},function e(t,n){let r;let o=[],i=-1;for(;++i4&&"data"===n.slice(0,4)&&tB.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(tU,tG);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tU.test(e)){let n=e.replace(tz,tH);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=tw}return new o(r,t)}(r.schema,t),a=n;null!=a&&a==a&&(Array.isArray(a)&&(a=o.commaSeparated?function(e,t){let n={},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(a):a.join(" ").trim()),"style"===o.property&&"string"==typeof a&&(a=function(e){let t={};try{tW(e,function(e,n){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,tZ)]=n})}catch{}return t}(a)),o.space&&o.property?e[tq.call(t$,o.property)?t$[o.property]:o.property]=a:o.attribute&&(e[o.attribute]=a))}(d,i,n.properties[i],t);("ol"===u||"ul"===u)&&t.listDepth++;let g=e(t,n);("ol"===u||"ul"===u)&&t.listDepth--,t.schema=c;let f=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=l.components&&tq.call(l.components,u)?l.components[u]:u,b="string"==typeof m||m===a.Fragment;if(!tF.isValidElementType(m))throw TypeError(`Component for name \`${u}\` not defined or is not renderable`);if(d.key=r,"a"===u&&l.linkTarget&&(d.target="function"==typeof l.linkTarget?l.linkTarget(String(d.href||""),n.children,"string"==typeof d.title?d.title:null):l.linkTarget),"a"===u&&s&&(d.href=s(String(d.href||""),n.children,"string"==typeof d.title?d.title:null)),b||"code"!==u||"element"!==o.type||"pre"===o.tagName||(d.inline=!0),b||"h1"!==u&&"h2"!==u&&"h3"!==u&&"h4"!==u&&"h5"!==u&&"h6"!==u||(d.level=Number.parseInt(u.charAt(1),10)),"img"===u&&l.transformImageUri&&(d.src=l.transformImageUri(String(d.src||""),String(d.alt||""),"string"==typeof d.title?d.title:null)),!b&&"li"===u&&"element"===o.type){let e=function(e){let t=-1;for(;++t0?a.createElement(m,d,g):a.createElement(m,d)}(t,r,i,n)):"text"===r.type?"element"===n.type&&tY.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||o.push(r.value):"raw"!==r.type||t.options.skipHtml||o.push(r.value);return o}({options:e,schema:tD,listDepth:0},r));return e.className&&(o=a.createElement("div",{className:e.className},o)),o}tJ.propTypes={children:ts.string,className:ts.string,allowElement:ts.func,allowedElements:ts.arrayOf(ts.string),disallowedElements:ts.arrayOf(ts.string),unwrapDisallowed:ts.bool,remarkPlugins:ts.arrayOf(ts.oneOfType([ts.object,ts.func,ts.arrayOf(ts.oneOfType([ts.bool,ts.string,ts.object,ts.func,ts.arrayOf(ts.any)]))])),rehypePlugins:ts.arrayOf(ts.oneOfType([ts.object,ts.func,ts.arrayOf(ts.oneOfType([ts.bool,ts.string,ts.object,ts.func,ts.arrayOf(ts.any)]))])),sourcePos:ts.bool,rawSourcePos:ts.bool,skipHtml:ts.bool,includeElementIndex:ts.bool,transformLinkUri:ts.oneOfType([ts.func,ts.bool]),linkTarget:ts.oneOfType([ts.func,ts.string]),transformImageUri:ts.func,components:ts.object}},48975:function(e,t,n){"use strict";n.d(t,{Z:function(){return eL}});var r=n(6361),o=n(82659);let a={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),o):n(a)};function o(e){return null===e?n(e):t(e)}},partial:!0},i={tokenize:function(e,t,n){let r,a,i;return l;function l(t){return 46===t||95===t?e.check(s,u,c)(t):null===t||(0,o.z3)(t)||(0,o.B8)(t)||45!==t&&(0,o.Xh)(t)?u(t):(i=!0,e.consume(t),l)}function c(t){return 95===t?r=!0:(a=r,r=void 0),e.consume(t),l}function u(e){return a||r||!i?n(e):t(e)}},partial:!0},l={tokenize:function(e,t){let n=0,r=0;return a;function a(l){return 40===l?(n++,e.consume(l),a):41===l&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}g[43]=p,g[45]=p,g[46]=p,g[95]=p,g[72]=[p,d],g[104]=[p,d],g[87]=[p,u],g[119]=[p,u];var k=n(56833),A=n(9471),w=n(93575);let v={tokenize:function(e,t,n){let r=this;return(0,A.f)(e,function(e){let o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function T(e,t,n){let r;let o=this,a=o.events.length,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);for(;a--;){let e=o.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let l=(0,w.d)(o.sliceSerialize({start:r.end,end:o.now()}));return 94===l.codePointAt(0)&&i.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function x(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function I(e,t,n){let r;let a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(s){if(l>999||93===s&&!r||null===s||91===s||(0,o.z3)(s))return n(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return i.includes((0,w.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return(0,o.z3)(s)||(r=!0),l++,e.consume(s),92===s?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function R(e,t,n){let r,a;let i=this,l=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!a||null===t||91===t||(0,o.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,w.d)(i.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,o.z3)(t)||(a=!0),s++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l.includes(r)||l.push(r),(0,A.f)(e,g,"gfmFootnoteDefinitionWhitespace")):n(t)}function g(e){return t(e)}}function C(e,t,n){return e.check(k.w,t,e.attempt(v,t,n))}function _(e){e.exit("gfmFootnoteDefinition")}var N=n(58180),O=n(75786),L=n(80594);class D{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;oe[0]-t[0]),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}let M={flow:{null:{tokenize:function(e,t,n){let r;let a=this,i=0,l=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?E:s;return o===E&&a.parser.lazy[a.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,l+=1),c(t)}function c(t){return null===t?n(t):(0,o.Ch)(t)?l>1?(l=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,o.xz)(t)?(0,A.f)(e,c,"whitespace")(t):(l+=1,r&&(r=!1,i+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,o.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,o.xz)(t))?(0,A.f)(e,g,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):g(t)}function g(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,o.xz)(t)?(0,A.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(l+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):45===t?(l+=1,b(t)):null===t||(0,o.Ch)(t)?y(t):n(t)}function b(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),h):(e.exit("tableDelimiterFiller"),h(n))}(t)):n(t)}function h(t){return(0,o.xz)(t)?(0,A.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?g(a):null===a||(0,o.Ch)(a)?r&&i===l?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),S(t)}function S(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),S):null===n||(0,o.Ch)(n)?(e.exit("tableRow"),t(n)):(0,o.xz)(n)?(0,A.f)(e,S,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||(0,o.z3)(t)?(e.exit("data"),S(t)):(e.consume(t),92===t?w:k)}function w(t){return 92===t||124===t?(e.consume(t),k):k(t)}},resolveAll:function(e,t){let n,r,o,a=-1,i=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new D;for(;++an[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==o&&(a.end=Object.assign({},B(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function F(e,t,n,r,o){let a=[],i=B(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function B(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let U={text:{91:{tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,o.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(t)}function l(r){return(0,o.Ch)(r)?t(r):(0,o.xz)(r)?e.check({tokenize:z},t,n)(r):n(r)}}}}};function z(e,t,n){return(0,A.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}function H(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}var G=n(37462),$=n(54e3);let W={}.hasOwnProperty,j=function(e,t,n,r){let o,a;"string"==typeof t||t instanceof RegExp?(a=[[t,n]],o=r):(a=t,o=n),o||(o={});let i=(0,$.O)(o.ignore||[]),l=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:l}:void 0),!1!==l&&(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(l)?u.push(...l):l&&u.push(l),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(ae}let Y="phrasing",K=["autolink","link","image","label"],Z={transforms:[function(e){j(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,J],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ee]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Q,literalAutolinkHttp:Q,literalAutolinkWww:Q},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},X={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Y,notInConstruct:K},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Y,notInConstruct:K},{character:":",before:"[ps]",after:"\\/",inConstruct:Y,notInConstruct:K}]};function Q(e){this.config.enter.autolinkProtocol.call(this,e)}function J(e,t,n,r,o){let a="";if(!et(o)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let i=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),o=H(e,"("),a=H(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;let l={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function ee(e,t,n,r){return!(!et(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function et(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.B8)(n)||(0,o.Xh)(n))&&(!t||47!==n)}var en=n(11559);function er(e){return e.label||!e.identifier?e.label||"":(0,en.v)(e.identifier)}let eo=/\r?\n|\r/g;var ea=n(62848),ei=n(12101);function el(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function es(){this.buffer()}function ec(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,w.d)(this.sliceSerialize(e)).toLowerCase()}function eu(e){this.exit(e)}function ed(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ep(){this.buffer()}function eg(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,w.d)(this.sliceSerialize(e)).toLowerCase()}function ef(e){this.exit(e)}function em(e,t,n,r){let o=(0,ei.j)(r),a=o.move("[^"),i=n.enter("footnoteReference"),l=n.enter("reference");return a+=o.move((0,ea.T)(n,er(e),{...o.current(),before:a,after:"]"})),l(),i(),a+=o.move("]")}function eb(e,t,n,r){let o=(0,ei.j)(r),a=o.move("[^"),i=n.enter("footnoteDefinition"),l=n.enter("label");return a+=o.move((0,ea.T)(n,er(e),{...o.current(),before:a,after:"]"})),l(),a+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),a+=o.move(function(e,t){let n;let r=[],o=0,a=0;for(;n=eo.exec(e);)i(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,a++;return i(e.slice(o)),r.join("");function i(e){r.push(t(e,a,!e))}}(function(e,t,n){let r=t.indexStack,o=e.children||[],a=t.createTracker(n),i=[],l=-1;for(r.push(-1);++l\n\n"}return"\n\n"}(n,o[l+1],e,t)))}return r.pop(),i.join("")}(e,n,o.current()),eh)),i(),a}function eh(e,t,n){return 0===t?e:(n?"":" ")+e}function ey(e,t,n){let r=t.indexStack,o=e.children||[],a=[],i=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++i0&&("\r"===l||"\n"===l)&&"html"===u.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(s=t.createTracker(n)).move(a.join(""))),a.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=a[a.length-1].slice(-1)}return r.pop(),a.join("")}em.peek=function(){return"["},ek.peek=function(){return"~"};let eE={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},eS={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:ek}};function ek(e,t,n,r){let o=(0,ei.j)(r),a=n.enter("strikethrough"),i=o.move("~~");return i+=ey(e,n,{...o.current(),before:i,after:"~"})+o.move("~~"),a(),i}var eA=n(57785);function ew(e,t,n){let r=e.value||"",o="`",a=-1;for(;RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:eR,tableHeader:eR,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,eC));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:eI,tableHeader:eI,tableRow:eI}};function eI(e){this.exit(e)}function eR(e){this.enter({type:"tableCell",children:[]},e)}function eC(e,t){return"|"===t?t:e}let e_={exit:{taskListCheckValueChecked:eO,taskListCheckValueUnchecked:eO,paragraph:function(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){let r;let o=t.children,a=-1;for(;++a-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));let l=n.createTracker(r);l.move(a+" ".repeat(i-a.length)),l.shift(i);let s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?a:a+" ".repeat(i-a.length))+e});return s(),c}(e,t,n,{...r,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),s}}};function eO(e){let t=this.stack[this.stack.length-2];t.checked="taskListCheckValueChecked"===e.type}function eL(e={}){let t=this.data();function n(e,n){let r=t[e]?t[e]:t[e]=[];r.push(n)}n("micromarkExtensions",(0,r.W)([f,{document:{91:{tokenize:R,continuation:{tokenize:C},exit:_}},text:{91:{tokenize:I},93:{add:"after",tokenize:T,resolveTo:x}}},function(e){let t=(e||{}).singleTilde,n={tokenize:function(e,n,r){let o=this.previous,a=this.events,i=0;return function(l){return 126===o&&"characterEscape"!==a[a.length-1][1].type?r(l):(e.enter("strikethroughSequenceTemporary"),function a(l){let s=(0,O.r)(o);if(126===l)return i>1?r(l):(e.consume(l),i++,a);if(i<2&&!t)return r(l);let c=e.exit("strikethroughSequenceTemporary"),u=(0,O.r)(l);return c._open=!u||2===u&&!!s,c._close=!s||2===s&&!!u,n(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++ns&&(s=e[c].length);++dl[d])&&(l[d]=e)}n.push(a)}a[c]=n,i[c]=o}let d=-1;if("object"==typeof n&&"length"in n)for(;++dl[d]&&(l[d]=a),g[d]=a),p[d]=i}a.splice(1,0,p),i.splice(1,0,g),c=-1;let f=[];for(;++ci&&(i=a):a=1,o=r+t.length,r=n.indexOf(t,o);return i}(o,"$")+1,2)),l=n.enter("mathFlow"),s=a.move(i);if(e.meta){let t=n.enter("mathFlowMeta");s+=a.move((0,c.T)(n,e.meta,{before:s,after:"\n",encode:["$"],...a.current()})),t()}return s+=a.move("\n"),o&&(s+=a.move(o+"\n")),s+=a.move(i),l(),s},inlineMath:n}};function n(e,n,r){let o=e.value||"",a=1;for(!t&&a++;RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(o);)a++;let i="$".repeat(a);/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^\$|\$$/.test(o))&&(o=" "+o+" ");let l=-1;for(;++l":"")+")"})}return u;function u(){var c;let u,d,p,g=[];if((!t||a(r,l,s[s.length-1]||null))&&!1===(g=Array.isArray(c=n(r,s))?c:"number"==typeof c?[!0,c]:[c])[0])return g;if(r.children&&"skip"!==g[0])for(d=(o?r.children.length:-1)+i,p=s.concat(r);d>-1&&d{let t;let n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,a={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,a),a},o=e=>e?r(e):r;var a=n(2265),i=n(65401);let{useDebugValue:l}=a,{useSyncExternalStoreWithSelector:s}=i,c=!1,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?o(e):e,n=(e,n)=>(function(e,t=e.getState,n){n&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);let r=s(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return l(r),r})(t,e,n);return Object.assign(n,t),n},d=e=>e?u(e):u},74810:function(e,t,n){"use strict";n.d(t,{tJ:function(){return i}});let r=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>r(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>r(t)(e)}}},o=(e,t)=>(n,o,a)=>{let i,l,s={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},c=!1,u=new Set,d=new Set;try{i=s.getStorage()}catch(e){}if(!i)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...e)},o,a);let p=r(s.serialize),g=()=>{let e;let t=s.partialize({...o()}),n=p({state:t,version:s.version}).then(e=>i.setItem(s.name,e)).catch(t=>{e=t});if(e)throw e;return n},f=a.setState;a.setState=(e,t)=>{f(e,t),g()};let m=e((...e)=>{n(...e),g()},o,a),b=()=>{var e;if(!i)return;c=!1,u.forEach(e=>e(o()));let t=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,o()))||void 0;return r(i.getItem.bind(i))(s.name).then(e=>{if(e)return s.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===s.version)return e.state;if(s.migrate)return s.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return n(l=s.merge(e,null!=(t=o())?t:m),!0),g()}).then(()=>{null==t||t(l,void 0),c=!0,d.forEach(e=>e(l))}).catch(e=>{null==t||t(void 0,e)})};return a.persist={setOptions:e=>{s={...s,...e},e.getStorage&&(i=e.getStorage())},clearStorage:()=>{null==i||i.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>b(),hasHydrated:()=>c,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},b(),l||m},a=(e,t)=>(n,o,a)=>{let i,l={storage:function(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;let o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),a=null!=(r=n.getItem(e))?r:null;return a instanceof Promise?a.then(o):o(a)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,c=new Set,u=new Set,d=l.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),n(...e)},o,a);let p=()=>{let e=l.partialize({...o()});return d.setItem(l.name,{state:e,version:l.version})},g=a.setState;a.setState=(e,t)=>{g(e,t),p()};let f=e((...e)=>{n(...e),p()},o,a),m=()=>{var e,t;if(!d)return;s=!1,c.forEach(e=>{var t;return e(null!=(t=o())?t:f)});let a=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=o())?e:f))||void 0;return r(d.getItem.bind(d))(l.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return e.state;if(l.migrate)return l.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return n(i=l.merge(e,null!=(t=o())?t:f),!0),p()}).then(()=>{null==a||a(i,void 0),i=o(),s=!0,u.forEach(e=>e(i))}).catch(e=>{null==a||a(void 0,e)})};return a.persist={setOptions:e=>{l={...l,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>m(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},l.skipHydration||m(),i||f},i=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),o(e,t)):a(e,t)},66704:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},46561:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file +`;async function*l(e){let t=s();for await(let n of e){let e=t(n);e&&(yield e)}}function s(){let e,t;let n=(t=!0,e=>(t&&(e=e.trimStart())&&(t=!1),e));return t=>{var r,o,a,i,l,s,c,d,p,g;if(u(t)&&(null==(a=null==(o=null==(r=t.choices[0])?void 0:r.delta)?void 0:o.function_call)?void 0:a.name))return e=!0,`{"function_call": {"name": "${null==(l=null==(i=t.choices[0])?void 0:i.delta)?void 0:l.function_call.name}", "arguments": "`;if(u(t)&&(null==(d=null==(c=null==(s=t.choices[0])?void 0:s.delta)?void 0:c.function_call)?void 0:d.arguments)){let e=t.choices[0].delta.function_call.arguments;return`${e.replace(/\\/g,"\\\\").replace(/\//g,"\\/").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\f/g,"\\f")}`}if(e&&((null==(p=t.choices[0])?void 0:p.finish_reason)==="function_call"||(null==(g=t.choices[0])?void 0:g.finish_reason)==="stop"))return e=!1,'"}}';let f=n(u(t)&&t.choices[0].delta.content?t.choices[0].delta.content:"choices"in t&&t.choices&&t.choices[0]&&"text"in t.choices[0]?t.choices[0].text:"");return f}}var c=Symbol("internal_openai_fn_messages");function u(e){return"choices"in e&&e.choices&&e.choices[0]&&"delta"in e.choices[0]}var d=class extends Response{constructor(e,t,n){let r=e;n&&(r=e.pipeThrough(n.stream)),super(r,{...t,status:200,headers:{"Content-Type":"text/plain; charset=utf-8","X-Experimental-Stream-Data":n?"true":"false",...null==t?void 0:t.headers}})}};new TextDecoder("utf-8")},22776:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r=(e,t=21)=>(n=t)=>{let r="",o=n;for(;o--;)r+=e[Math.random()*e.length|0];return r}},82504:function(e,t,n){"use strict";n.d(t,{R:function(){return ea}});var r,o=n(2265),a=n(26272);let i=()=>{},l=i(),s=Object,c=e=>e===l,u=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),p=e=>u(e.then),g=new WeakMap,f=0,m=e=>{let t,n;let r=typeof e,o=e&&e.constructor,a=o==Date;if(s(e)!==e||a||o==RegExp)t=a?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=g.get(e))return t;if(t=++f+"~",g.set(e,t),o==Array){for(n=0,t="@";nS&&typeof window.requestAnimationFrame!=E,w=(e,t)=>{let n=b.get(e);return[()=>!c(t)&&e.get(t)||h,r=>{if(!c(t)){let o=e.get(t);t in y||(y[t]=o),n[5](t,d(o,r),o||h)}},n[6],()=>!c(t)&&t in y?y[t]:!c(t)&&e.get(t)||h]},v=!0,[T,x]=S&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],I={initFocus:e=>(k&&document.addEventListener("visibilitychange",e),T("focus",e),()=>{k&&document.removeEventListener("visibilitychange",e),x("focus",e)}),initReconnect:e=>{let t=()=>{v=!0,e()},n=()=>{v=!1};return T("online",t),T("offline",n),()=>{x("online",t),x("offline",n)}}},R=!o.useId,C=!S||"Deno"in window,_=e=>A()?window.requestAnimationFrame(e):setTimeout(e,1),N=C?o.useEffect:o.useLayoutEffect,O="undefined"!=typeof navigator&&navigator.connection,L=!C&&O&&(["slow-2g","2g"].includes(O.effectiveType)||O.saveData),D=e=>{if(u(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t]},M=0,P=()=>++M;var F={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function B(...e){let[t,n,r,o]=e,a=d({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),i=a.populateCache,s=a.rollbackOnError,g=a.optimisticData,f=!1!==a.revalidate,m=e=>"function"==typeof s?s(e):!1!==s,h=a.throwOnError;if(u(n)){let e=[],r=t.keys();for(let o of r)!/^\$(inf|sub)\$/.test(o)&&n(t.get(o)._k)&&e.push(o);return Promise.all(e.map(y))}return y(n);async function y(n){let o;let[a]=D(n);if(!a)return;let[s,d]=w(t,a),[y,E,S,k]=b.get(t),A=y[a],v=()=>f&&(delete S[a],delete k[a],A&&A[0])?A[0](2).then(()=>s().data):s().data;if(e.length<3)return v();let T=r,x=P();E[a]=[x,0];let I=!c(g),R=s(),C=R.data,_=R._c,N=c(_)?C:_;if(I&&d({data:g=u(g)?g(N,C):g,_c:N}),u(T))try{T=T(N)}catch(e){o=e}if(T&&p(T)){if(T=await T.catch(e=>{o=e}),x!==E[a][0]){if(o)throw o;return T}o&&I&&m(o)&&(i=!0,d({data:T=N,_c:l}))}i&&!o&&(u(i)&&(T=i(T,N)),d({data:T,error:l,_c:l})),E[a][1]=P();let O=await v();if(d({_c:l}),o){if(h)throw o;return}return i?O:T}}let U=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},z=(e,t)=>{if(!b.has(e)){let n=d(I,t),r={},o=B.bind(l,e),a=i,s={},c=(e,t)=>{let n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},u=(t,n,r)=>{e.set(t,n);let o=s[t];if(o)for(let e of o)e(n,r)},p=()=>{if(!b.has(e)&&(b.set(e,[r,{},{},{},o,u,c]),!C)){let t=n.initFocus(setTimeout.bind(l,U.bind(l,r,0))),o=n.initReconnect(setTimeout.bind(l,U.bind(l,r,1)));a=()=>{t&&t(),o&&o(),b.delete(e)}}};return p(),[e,o,p,a]}return[e,b.get(e)[4]]},[H,G]=z(new Map),$=d({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,n,r,o)=>{let a=n.errorRetryCount,i=o.retryCount,l=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;(c(a)||!(i>a))&&setTimeout(r,l,o)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:(e,t)=>m(e)==m(t),isPaused:()=>!1,cache:H,mutate:G,fallback:{}},{isOnline:()=>v,isVisible:()=>{let e=k&&document.visibilityState;return c(e)||"hidden"!==e}}),W=(e,t)=>{let n=d(e,t);if(t){let{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=d(o,i))}return n},j=(0,o.createContext)({}),V=S&&window.__SWR_DEVTOOLS_USE__,q=V?window.__SWR_DEVTOOLS_USE__:[],Y=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>d($,(0,o.useContext)(j)),Z=q.concat(e=>(t,n,r)=>{let o=n&&((...e)=>{let[r]=D(t),[,,,o]=b.get(H),a=o[r];return c(a)?n(...e):(delete o[r],a)});return e(t,o,r)}),X=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};V&&(window.__SWR_DEVTOOLS_REACT__=o);let Q=o.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}),J={dedupe:!0};s.defineProperty(e=>{let{value:t}=e,n=(0,o.useContext)(j),r=u(t),a=(0,o.useMemo)(()=>r?t(n):t,[r,n,t]),i=(0,o.useMemo)(()=>r?a:W(n,a),[r,n,a]),s=a&&a.provider,c=(0,o.useRef)(l);s&&!c.current&&(c.current=z(s(i.cache||H),a));let p=c.current;return p&&(i.cache=p[0],i.mutate=p[1]),N(()=>{if(p)return p[2]&&p[2](),p[3]},[]),(0,o.createElement)(j.Provider,d(e,{value:i}))},"defaultValue",{value:$});let ee=(r=(e,t,n)=>{let{cache:r,compare:i,suspense:s,fallbackData:p,revalidateOnMount:g,revalidateIfStale:f,refreshInterval:m,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:E}=n,[S,k,A,v]=b.get(r),[T,x]=D(e),I=(0,o.useRef)(!1),O=(0,o.useRef)(!1),L=(0,o.useRef)(T),M=(0,o.useRef)(t),U=(0,o.useRef)(n),z=()=>U.current,H=()=>z().isVisible()&&z().isOnline(),[G,$,W,j]=w(r,T),V=(0,o.useRef)({}).current,q=c(p)?n.fallback[T]:p,Y=(e,t)=>{for(let n in V)if("data"===n){if(!i(e[n],t[n])&&(!c(e[n])||!i(ei,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},K=(0,o.useMemo)(()=>{let e=!!T&&!!t&&(c(g)?!z().isPaused()&&!s&&(!!c(f)||f):g),n=t=>{let n=d(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=G(),o=j(),a=n(r),i=r===o?a:n(o),l=a;return[()=>{let e=n(G()),t=Y(e,l);return t?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>i]},[r,T]),Z=(0,a.useSyncExternalStore)((0,o.useCallback)(e=>W(T,(t,n)=>{Y(n,t)||e()}),[r,T]),K[0],K[1]),ee=!I.current,et=S[T]&&S[T].length>0,en=Z.data,er=c(en)?q:en,eo=Z.error,ea=(0,o.useRef)(er),ei=E?c(en)?ea.current:en:er,el=(!et||!!c(eo))&&(ee&&!c(g)?g:!z().isPaused()&&(s?!c(er)&&f:c(er)||f)),es=!!(T&&t&&ee&&el),ec=c(Z.isValidating)?es:Z.isValidating,eu=c(Z.isLoading)?es:Z.isLoading,ed=(0,o.useCallback)(async e=>{let t,r;let o=M.current;if(!T||!o||O.current||z().isPaused())return!1;let a=!0,s=e||{},d=!A[T]||!s.dedupe,p=()=>R?!O.current&&T===L.current&&I.current:T===L.current,g={isValidating:!1,isLoading:!1},f=()=>{$(g)},m=()=>{let e=A[T];e&&e[1]===r&&delete A[T]},b={isValidating:!0};c(G().data)&&(b.isLoading=!0);try{if(d&&($(b),n.loadingTimeout&&c(G().data)&&setTimeout(()=>{a&&p()&&z().onLoadingSlow(T,n)},n.loadingTimeout),A[T]=[o(x),P()]),[t,r]=A[T],t=await t,d&&setTimeout(m,n.dedupingInterval),!A[T]||A[T][1]!==r)return d&&p()&&z().onDiscarded(T),!1;g.error=l;let e=k[T];if(!c(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return f(),d&&p()&&z().onDiscarded(T),!1;let s=G().data;g.data=i(s,t)?s:t,d&&p()&&z().onSuccess(t,T,n)}catch(n){m();let e=z(),{shouldRetryOnError:t}=e;!e.isPaused()&&(g.error=n,d&&p()&&(e.onError(n,T,e),(!0===t||u(t)&&t(n))&&H()&&e.onErrorRetry(n,T,e,e=>{let t=S[T];t&&t[0]&&t[0](F.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0},[T,r]),ep=(0,o.useCallback)((...e)=>B(r,L.current,...e),[]);if(N(()=>{M.current=t,U.current=n,c(en)||(ea.current=en)}),N(()=>{if(!T)return;let e=ed.bind(l,J),t=0,n=X(T,S,(n,r={})=>{if(n==F.FOCUS_EVENT){let n=Date.now();z().revalidateOnFocus&&n>t&&H()&&(t=n+z().focusThrottleInterval,e())}else if(n==F.RECONNECT_EVENT)z().revalidateOnReconnect&&H()&&e();else if(n==F.MUTATE_EVENT)return ed();else if(n==F.ERROR_REVALIDATE_EVENT)return ed(r)});return O.current=!1,L.current=T,I.current=!0,$({_k:x}),el&&(c(er)||C?e():_(e)),()=>{O.current=!0,n()}},[T]),N(()=>{let e;function t(){let t=u(m)?m(G().data):m;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!G().error&&(h||z().isVisible())&&(y||z().isOnline())?ed(J).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[m,h,y,T]),(0,o.useDebugValue)(ei),s&&c(er)&&T){if(!R&&C)throw Error("Fallback data is required when using suspense in SSR.");M.current=t,U.current=n,O.current=!1;let e=v[T];if(!c(e)){let t=ep(e);Q(t)}if(c(eo)){let e=ed(J);c(ei)||(e.status="fulfilled",e.value=!0),Q(e)}else throw eo}return{mutate:ep,get data(){return V.data=!0,ei},get error(){return V.error=!0,eo},get isValidating(){return V.isValidating=!0,ec},get isLoading(){return V.isLoading=!0,eu}}},function(...e){let t=K(),[n,o,a]=Y(e),i=W(t,a),l=r,{use:s}=i,c=(s||[]).concat(Z);for(let e=c.length;e--;)l=c[e](l);return l(n,o||i.fetcher||null,i)});var et=(0,n(22776).k)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7),en={text:0,function_call:1,data:2},er=e=>{let t=e.indexOf(":"),n=e.slice(0,t),r=Object.keys(en).find(e=>en[e]===Number(n)),o=e.slice(t+1),a=o;if(!o)return{type:r,value:""};try{a=JSON.parse(o)}catch(e){console.error("Failed to parse JSON value:",o)}return{type:r,value:a}},eo=async(e,t,n,r,o,a,i,l,s,c,u)=>{var d,p;let g=i.current;n(t.messages,!1);let f=await fetch(e,{method:"POST",body:JSON.stringify({messages:u?t.messages:t.messages.map(({role:e,content:t,name:n,function_call:r})=>({role:e,content:t,...void 0!==n&&{name:n},...void 0!==r&&{function_call:r}})),...a.current.body,...null==(d=t.options)?void 0:d.body,...void 0!==t.functions&&{functions:t.functions},...void 0!==t.function_call&&{function_call:t.function_call}}),credentials:a.current.credentials,headers:{...a.current.headers,...null==(p=t.options)?void 0:p.headers},...null!==l.current&&{signal:l.current.signal}}).catch(e=>{throw n(g,!1),e});if(c)try{await c(f)}catch(e){throw e}if(!f.ok)throw n(g,!1),Error(await f.text()||"Failed to fetch the chat response.");if(!f.body)throw Error("The response body is empty.");let m="true"===f.headers.get("X-Experimental-Stream-Data"),b=new Date,h=f.body.getReader(),y=function(e){let t=new TextDecoder;return e?function(e){let n=t.decode(e,{stream:!0}).split("\n");return n.map(er).filter(Boolean)}:function(e){return e?t.decode(e,{stream:!0}):""}}(m),E=[],S=[],k={},A=[],w=0;if(m){for(;;){let{value:e}=await h.read();if(e&&(A.push(e),w+=e.length,10!==e[e.length-1]))continue;if(0===A.length)break;let a=new Uint8Array(w),i=0;for(let e of A)a.set(e,i),i+=e.length;A.length=0,w=0;let s=y(a);if("string"==typeof s)throw Error("Invalid response format. Complex mode was set but the response is a string. This should never happen.");for(let{type:e,value:a}of s){"text"===e&&(k.text?k.text={...k.text,content:(k.text.content||"")+a}:k.text={id:et(),role:"assistant",content:a,createdAt:b});let i=null;if("function_call"===e){k.function_call=a;let e=k.function_call;if(e&&"string"==typeof e){let t=JSON.parse(e).function_call;i={id:et(),role:"assistant",content:"",function_call:t,name:t.name,createdAt:b},k.function_call=i}}if("data"===e){let e=JSON.parse(a);k.data?k.data=[...k.data,...e]:k.data=e}let s=k.data,c=k.text,u=[i,c].filter(Boolean);if(n([...t.messages,...u],!1),r([...o||[],...s||[]],!1),null===l.current){h.cancel();break}}}for(let[e,t]of Object.entries(k))s&&"text"===e&&s(t),"data"===e?S.push(t):E.push(t);return{messages:E,data:S}}{let e="",r=et(),o={id:r,createdAt:b,content:"",role:"assistant"};for(;;){let{done:r,value:a}=await h.read();if(r)break;if((e+=y(a)).startsWith('{"function_call":')?o.function_call=e:o.content=e,n([...t.messages,{...o}],!1),null===l.current){h.cancel();break}}if(e.startsWith('{"function_call":')){let r=JSON.parse(e).function_call;o.function_call=r,n([...t.messages,{...o}])}return s&&s(o),o}};function ea({api:e="/api/chat",id:t,initialMessages:n=[],initialInput:r="",sendExtraMessageFields:a,experimental_onFunctionCall:i,onResponse:l,onFinish:s,onError:c,credentials:u,headers:d,body:p}={}){let g=(0,o.useId)(),f=t||g,{data:m,mutate:b}=ee([e,f],null,{fallbackData:n}),{data:h=!1,mutate:y}=ee([f,"loading"],null),{data:E,mutate:S}=ee([f,"streamData"],null),k=(0,o.useRef)(m||[]);(0,o.useEffect)(()=>{k.current=m||[]},[m]);let A=(0,o.useRef)(null),w=(0,o.useRef)({credentials:u,headers:d,body:p});(0,o.useEffect)(()=>{w.current={credentials:u,headers:d,body:p}},[u,d,p]);let[v,T]=(0,o.useState)(),x=(0,o.useCallback)(async t=>{try{y(!0),T(void 0);let n=new AbortController;for(A.current=n;;){let n=await eo(e,t,b,S,E,w,k,A,s,l,a);if("messages"in n){let e=!1;for(let r of n.messages)if(void 0!==r.function_call&&"string"!=typeof r.function_call&&(e=!0,i)){let e=r.function_call,n=await i(k.current,e);if(void 0===n)break;t=n}if(!e)break}else{if(void 0===n.function_call||"string"==typeof n.function_call)break;if(i){let e=n.function_call,r=await i(k.current,e);if(void 0===r)break;t=r}}}A.current=null}catch(e){if("AbortError"===e.name)return A.current=null,null;c&&e instanceof Error&&c(e),T(e)}finally{y(!1)}},[b,y,e,w,l,s,c,T,S,E,a,i,k.current,A.current]),I=(0,o.useCallback)(async(e,{options:t,functions:n,function_call:r}={})=>{e.id||(e.id=et());let o={messages:k.current.concat(e),options:t,...void 0!==n&&{functions:n},...void 0!==r&&{function_call:r}};return x(o)},[x]),R=(0,o.useCallback)(async({options:e,functions:t,function_call:n}={})=>{if(0===k.current.length)return null;let r=k.current[k.current.length-1];if("assistant"===r.role){let r={messages:k.current.slice(0,-1),options:e,...void 0!==t&&{functions:t},...void 0!==n&&{function_call:n}};return x(r)}let o={messages:k.current,options:e,...void 0!==t&&{functions:t},...void 0!==n&&{function_call:n}};return x(o)},[x]),C=(0,o.useCallback)(()=>{A.current&&(A.current.abort(),A.current=null)},[]),_=(0,o.useCallback)(e=>{b(e,!1),k.current=e},[b]),[N,O]=(0,o.useState)(r),L=(0,o.useCallback)((e,{options:t,functions:n,function_call:r}={},o)=>{o&&(w.current={...w.current,...o}),e.preventDefault(),N&&(I({content:N,role:"user",createdAt:new Date},{options:t,functions:n,function_call:r}),O(""))},[N,I]);return{messages:m||[],error:v,append:I,reload:R,stop:C,setMessages:_,input:N,setInput:O,handleInputChange:e=>{O(e.target.value)},handleSubmit:L,isLoading:h,data:E}}},63034:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});let r=document.createElement("i");function o(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},34380:function(e,t,n){"use strict";var r=n(62913),o=n(26785),a=Object.prototype.hasOwnProperty;t.Z=function(e,t,n){var i=e[t];a.call(e,t)&&(0,o.Z)(i,n)&&(void 0!==n||t in e)||(0,r.Z)(e,t,n)}},56141:function(e,t,n){"use strict";var r=n(41926),o=n(85387),a=n(13879);t.Z=function(e){return(0,r.Z)(e,a.Z,o.Z)}},16345:function(e,t,n){"use strict";var r=(0,n(16917).Z)(Object.getPrototypeOf,Object);t.Z=r},85387:function(e,t,n){"use strict";var r=n(35563),o=n(16345),a=n(82787),i=n(26772),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,r.Z)(t,(0,a.Z)(e)),e=(0,o.Z)(e);return t}:i.Z;t.Z=l},50976:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(64164),o=n(90440),a=function(){return o.Z.Date.now()},i=n(4091),l=Math.max,s=Math.min,c=function(e,t,n){var o,c,u,d,p,g,f=0,m=!1,b=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=o,r=c;return o=c=void 0,f=t,d=e.apply(r,n)}function E(e){var n=e-g,r=e-f;return void 0===g||n>=t||n<0||b&&r>=u}function S(){var e,n,r,o=a();if(E(o))return k(o);p=setTimeout(S,(e=o-g,n=o-f,r=t-e,b?s(r,u-n):r))}function k(e){return(p=void 0,h&&o)?y(e):(o=c=void 0,d)}function A(){var e,n=a(),r=E(n);if(o=arguments,c=this,g=n,r){if(void 0===p)return f=e=g,p=setTimeout(S,t),m?y(e):d;if(b)return clearTimeout(p),p=setTimeout(S,t),y(g)}return void 0===p&&(p=setTimeout(S,t)),d}return t=(0,i.Z)(t)||0,(0,r.Z)(n)&&(m=!!n.leading,u=(b="maxWait"in n)?l((0,i.Z)(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),A.cancel=function(){void 0!==p&&clearTimeout(p),f=0,o=g=c=p=void 0},A.flush=function(){return void 0===p?d:k(a())},A}},83390:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r,o=n(18579),a=n(85222),i=n(35805),l=(r=n(16630).Z,function(e,t,n){var l=Object(e);if(!(0,a.Z)(e)){var s=(0,o.Z)(t,3);e=(0,i.Z)(e),t=function(e){return s(l[e],e,l)}}var c=r(e,t,n);return c>-1?l[s?e[c]:c]:void 0})},13879:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(86070),o=n(64164),a=n(26343),i=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},l=Object.prototype.hasOwnProperty,s=function(e){if(!(0,o.Z)(e))return i(e);var t=(0,a.Z)(e),n=[];for(var r in e)"constructor"==r&&(t||!l.call(e,r))||n.push(r);return n},c=n(85222),u=function(e){return(0,c.Z)(e)?(0,r.Z)(e,!0):s(e)}},29166:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(18579),o=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}},a=n(89688),i=n(95157),l=n(34380),s=n(12930),c=n(60176),u=n(64164),d=n(16422),p=function(e,t,n,r){if(!(0,u.Z)(e))return e;t=(0,s.Z)(t,e);for(var o=-1,a=t.length,i=a-1,p=e;null!=p&&++o=f)&&(!(e+1a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(o=Array.from(r)).unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return o},d:function(){return r}})},75786:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(82659);function o(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},6361:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(58180);let o={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}n.d(t,{o:function(){return r}})},11559:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(63034),o=n(43012);let a=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(e){return e.replace(a,l)}function l(e,t,n){if(t)return t;let a=n.charCodeAt(0);if(35===a){let e=n.charCodeAt(1),t=120===e||88===e;return(0,o.o)(n.slice(t?2:1),t?16:10)}return(0,r.T)(n)||e}},93575:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},80594:function(e,t,n){"use strict";function r(e,t,n){let r=[],o=-1;for(;++o{let r;if(!d&&b)return r=function(e,t,n={},r=s){if(void 0===window.IntersectionObserver&&void 0!==r){let o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:c,elements:u}=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)?(i.has(n)||(l+=1,i.set(n,l.toString())),i.get(n)):"0":e[t]}`}).toString(),n=a.get(t);if(!n){let r;let o=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var n;let a=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(n=o.get(t.target))||n.forEach(e=>{e(a,t)})})},e);r=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:o},a.set(t,n)}return n}(n),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(t),c.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(u.delete(e),c.unobserve(e)),0===u.size&&(c.disconnect(),a.delete(o))}}(b,(e,t)=>{S({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&u&&r&&(r(),r=void 0)},{root:c,rootMargin:o,threshold:e,trackVisibility:n,delay:t},g),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,b,c,o,u,d,n,g,t]);let k=null==(m=E.entry)?void 0:m.target,A=r.useRef();b||!k||u||d||A.current===k||(A.current=k,S({inView:!!p,entry:void 0}));let w=[h,E.inView,E.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}r.Component},19349:function(e,t,n){"use strict";n.d(t,{D:function(){return tJ}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return ez},contentInitial:function(){return eD},disable:function(){return eH},document:function(){return eL},flow:function(){return eP},flowInitial:function(){return eM},insideSpan:function(){return eU},string:function(){return eF},text:function(){return eB}});var o={};n.r(o),n.d(o,{boolean:function(){return tf},booleanish:function(){return tm},commaOrSpaceSeparated:function(){return tS},commaSeparated:function(){return tE},number:function(){return th},overloadedBoolean:function(){return tb},spaceSeparated:function(){return ty}});var a=n(2265),i=n(69934);function l(e){return e&&"object"==typeof e?"position"in e||"type"in e?c(e.position):"start"in e||"end"in e?c(e):"line"in e||"column"in e?s(e):"":""}function s(e){return u(e&&e.line)+":"+u(e&&e.column)}function c(e){return s(e&&e.start)+"-"+s(e&&e.end)}function u(e){return e&&"number"==typeof e?e:1}class d extends Error{constructor(e,t,n){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=l(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;let p={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');g(e);let r=0,o=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,l=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1),l>-1&&(e.charCodeAt(a)===t.charCodeAt(l--)?l<0&&(o=a):(l=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},dirname:function(e){let t;if(g(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;g(e);let n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){let l=e.charCodeAt(n);if(47===l){if(t){o=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1)}return a<0||r<0||0===i||1===i&&a===r-1&&a===o+1?"":e.slice(a,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",a=0):a=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),i=s,l=0;continue}}else if(o.length>0){o="",a=0,i=s,l=0;continue}}t&&(o=o.length>0?o+"/..":"..",a=2)}else o.length>0?o+="/"+e.slice(i+1,s):o=e.slice(i+1,s),a=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function g(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function f(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let m=["history","path","basename","stem","extname","dirname"];class b{constructor(e){let t,n;t=e?"string"==typeof e||i(e)?{value:e}:f(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let r=-1;for(;++rt.length;i&&t.push(r);try{a=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(a instanceof Promise?a.then(o,r):a instanceof Error?r(a):o(a))};function r(e,...o){n||(n=!0,t(e,...o))}function o(e){r(null,e)}})(l,o)(...i):r(null,...i)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],o={},a=-1;return l.data=function(e,n){return"string"==typeof e?2==arguments.length?(R("data",t),o[e]=n,l):v.call(o,e)&&o[e]||null:e?(R("data",t),o=e,l):o},l.Parser=void 0,l.Compiler=void 0,l.freeze=function(){if(t)return l;for(;++a{if(!e&&t&&n){let r=l.stringify(t,n);null==r||("string"==typeof r||i(r)?n.value=r:n.result=r),a(e,n)}else a(e)})}n(null,t)},l.processSync=function(e){let t;l.freeze(),x("processSync",l.Parser),I("processSync",l.Compiler);let n=N(e);return l.process(n,function(e){t=!0,S(e)}),_("processSync","process",t),n},l;function l(){let t=e(),n=-1;for(;++nr))return;let l=o.events.length,s=l;for(;s--;)if("exit"===o.events[s][0]&&"chunkFlow"===o.events[s][1].type){if(e){n=o.events[s][1].end;break}e=!0}for(b(i),a=l;at;){let t=a[n];o.containerState=t[1],t[0].exit.call(o,e)}a.length=t}function h(){t.write([null]),n=void 0,t=void 0,o.containerState._closeFlow=void 0}}},H={tokenize:function(e,t,n){return(0,P.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var G=n(56833);function $(e){let t,n,r,o,a,i,l;let s={},c=-1;for(;++c=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0},V={tokenize:function(e){let t=this,n=e.attempt(G.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,P.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(W,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},q={resolveAll:X()},Y=Z("string"),K=Z("text");function Z(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a;function a(e){return s(e)?o(e):i(e)}function i(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],o=-1;if(t)for(;++o=3&&(null===i||(0,F.Ch)(i))?(e.exit("thematicBreak"),t(i)):n(i)}(a)}}},et={name:"list",tokenize:function(e,t,n){let r=this,o=r.events[r.events.length-1],a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){let o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:(0,F.pY)(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ee,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(o){return(0,F.pY)(o)&&++i<10?(e.consume(o),t):(!r.interrupt||i<2)&&(r.containerState.marker?o===r.containerState.marker:41===o||46===o)?(e.exit("listItemValue"),l(o)):n(o)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(G.w,r.interrupt?n:s,e.attempt(en,u,c))}function s(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,F.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(G.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,P.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,F.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(er,t,o)(n))});function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,P.f)(e,e.attempt(et,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},en={tokenize:function(e,t,n){let r=this;return(0,P.f)(e,function(e){let o=r.events[r.events.length-1];return!(0,F.xz)(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},er={tokenize:function(e,t,n){let r=this;return(0,P.f)(e,function(e){let o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eo={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return(0,F.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,F.xz)(t)?(0,P.f)(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(eo,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ea(e,t,n,r,o,a,i,l,s){let c=s||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,F.Av)(t)?n(t):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||(0,F.Ch)(t)?n(t):(e.consume(t),92===t?g:p)}function g(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(o){return!u&&(null===o||41===o||(0,F.z3)(o))?(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(o)):u999||null===d||91===d||93===d&&!i||94===d&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):(0,F.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,F.Ch)(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),i||(i=!(0,F.xz)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function el(e,t,n,r,o,a){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,l):n(t)};function l(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===i?(e.exit(a),l(i)):null===t?n(t):(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,P.f)(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||(0,F.Ch)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function es(e,t){let n;return function r(o){return(0,F.Ch)(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):(0,F.xz)(o)?(0,P.f)(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}var ec=n(93575);let eu={tokenize:function(e,t,n){return function(t){return(0,F.z3)(t)?es(e,r)(t):n(t)};function r(t){return el(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return(0,F.xz)(t)?(0,P.f)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,F.Ch)(e)?t(e):n(e)}},partial:!0},ed={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,P.f)(e,o,"linePrefix",5)(t)};function o(t){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?function t(n){return null===n?a(n):(0,F.Ch)(n)?e.attempt(ep,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,F.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},ep={tokenize:function(e,t,n){let r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):(0,P.f)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,F.Ch)(e)?o(e):n(e)}},partial:!0},eg={name:"setextUnderline",tokenize:function(e,t,n){let r;let o=this;return function(t){let i,l=o.events.length;for(;l--;)if("lineEnding"!==o.events[l][1].type&&"linePrefix"!==o.events[l][1].type&&"content"!==o.events[l][1].type){i="paragraph"===o.events[l][1].type;break}return!o.parser.lazy[o.now().line]&&(o.interrupt||i)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,F.xz)(n)?(0,P.f)(e,a,"lineSuffix")(n):a(n))}(t)):n(t)};function a(r){return null===r||(0,F.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);let i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=i,e.push(["exit",i,t]),e}},ef=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],em=["pre","script","style","textarea"],eb={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(G.w,t,n)}},partial:!0},eh={tokenize:function(e,t,n){let r=this;return function(t){return(0,F.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},ey={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eE={name:"codeFenced",tokenize:function(e,t,n){let r;let o=this,a={tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),(0,F.xz)(t)?(0,P.f)(e,s,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(o){return o===r?(a++,e.consume(o),t):a>=l?(e.exit("codeFencedFenceSequence"),(0,F.xz)(o)?(0,P.f)(e,c,"whitespace")(o):c(o)):n(o)}(t)):n(t)}function c(r){return null===r||(0,F.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},i=0,l=0;return function(t){return function(t){let a=o.events[o.events.length-1];return i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(o){return o===r?(l++,e.consume(o),t):l<3?n(o):(e.exit("codeFencedFenceSequence"),(0,F.xz)(o)?(0,P.f)(e,s,"whitespace")(o):s(o))}(t)}(t)};function s(a){return null===a||(0,F.Ch)(a)?(e.exit("codeFencedFence"),o.interrupt?t(a):e.check(ey,u,f)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||(0,F.Ch)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(o)):(0,F.xz)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,P.f)(e,c,"whitespace")(o)):96===o&&o===r?n(o):(e.consume(o),t)}(a))}function c(t){return null===t||(0,F.Ch)(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||(0,F.Ch)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(o)):96===o&&o===r?n(o):(e.consume(o),t)}(t))}function u(t){return e.attempt(a,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return i>0&&(0,F.xz)(t)?(0,P.f)(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||(0,F.Ch)(t)?e.check(ey,u,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,F.Ch)(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eS=n(63034);let ek={name:"characterReference",tokenize:function(e,t,n){let r,o;let a=this,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,o=F.H$,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,o=F.AF,c):(e.enter("characterReferenceValue"),r=7,o=F.pY,c(t))}function c(l){if(59===l&&i){let r=e.exit("characterReferenceValue");return o!==F.H$||(0,eS.T)(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return o(l)&&i++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);eN(d,-l),eN(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},i={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},a.start),e[u][1].start=Object.assign({},i.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=(0,U.V)(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=(0,U.V)(s,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),s=(0,U.V)(s,(0,J.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=(0,U.V)(s,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=(0,U.V)(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,U.d)(e,n-1,u-n+3,s),u=n+s.length-c-2;break}}for(u=-1;++ua&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,U.d)(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ee,45:[eg,ee],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,o,a,i,l;let s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(i){return 33===i?(e.consume(i),u):47===i?(e.consume(i),o=!0,g):63===i?(e.consume(i),r=3,s.interrupt?t:O):(0,F.jv)(i)?(e.consume(i),a=String.fromCharCode(i),f):n(i)}function u(o){return 45===o?(e.consume(o),r=2,d):91===o?(e.consume(o),r=5,i=0,p):(0,F.jv)(o)?(e.consume(o),r=4,s.interrupt?t:O):n(o)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:O):n(r)}function p(r){let o="CDATA[";return r===o.charCodeAt(i++)?(e.consume(r),i===o.length)?s.interrupt?t:v:p:n(r)}function g(t){return(0,F.jv)(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(i){if(null===i||47===i||62===i||(0,F.z3)(i)){let l=47===i,c=a.toLowerCase();return!l&&!o&&em.includes(c)?(r=1,s.interrupt?t(i):v(i)):ef.includes(a.toLowerCase())?(r=6,l)?(e.consume(i),m):s.interrupt?t(i):v(i):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(i):o?function t(n){return(0,F.xz)(n)?(e.consume(n),t):A(n)}(i):b(i))}return 45===i||(0,F.H$)(i)?(e.consume(i),a+=String.fromCharCode(i),f):n(i)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:v):n(r)}function b(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,F.jv)(t)?(e.consume(t),h):(0,F.xz)(t)?(e.consume(t),b):A(t)}function h(t){return 45===t||46===t||58===t||95===t||(0,F.H$)(t)?(e.consume(t),h):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,F.xz)(t)?(e.consume(t),y):b(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,S):(0,F.xz)(t)?(e.consume(t),E):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,F.z3)(n)?y(n):(e.consume(n),t)}(t)}function S(t){return t===l?(e.consume(t),l=null,k):null===t||(0,F.Ch)(t)?n(t):(e.consume(t),S)}function k(e){return 47===e||62===e||(0,F.xz)(e)?b(e):n(e)}function A(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||(0,F.Ch)(t)?v(t):(0,F.xz)(t)?(e.consume(t),w):n(t)}function v(t){return 45===t&&2===r?(e.consume(t),R):60===t&&1===r?(e.consume(t),C):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),N):(0,F.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eb,D,T)(t)):null===t||(0,F.Ch)(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),v)}function T(t){return e.check(eh,x,D)(t)}function x(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,F.Ch)(t)?T(t):(e.enter("htmlFlowData"),v(t))}function R(t){return 45===t?(e.consume(t),O):v(t)}function C(t){return 47===t?(e.consume(t),a="",_):v(t)}function _(t){if(62===t){let n=a.toLowerCase();return em.includes(n)?(e.consume(t),L):v(t)}return(0,F.jv)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),_):v(t)}function N(t){return 93===t?(e.consume(t),O):v(t)}function O(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),O):v(t)}function L(t){return null===t||(0,F.Ch)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eg,95:ee,96:eE,126:eE},eF={38:ek,92:eA},eB={[-5]:ew,[-4]:ew,[-3]:ew,33:eR,38:ek,42:e_,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return(0,F.jv)(t)?(e.consume(t),a):l(t)}function a(t){return 43===t||45===t||46===t||(0,F.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,i):(43===n||45===n||46===n||(0,F.H$)(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function i(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,F.Av)(r)?n(r):(e.consume(r),i)}function l(t){return 64===t?(e.consume(t),s):(0,F.n9)(t)?(e.consume(t),l):n(t)}function s(o){return(0,F.H$)(o)?function o(a){return 46===a?(e.consume(a),r=0,s):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,F.H$)(a))&&r++<63){let n=45===a?t:o;return e.consume(a),n}return n(a)}(a)}(o):n(o)}}},{name:"htmlText",tokenize:function(e,t,n){let r,o,a;let i=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),S):63===t?(e.consume(t),y):(0,F.jv)(t)?(e.consume(t),A):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,g):(0,F.jv)(t)?(e.consume(t),h):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,F.Ch)(t)?(a=u,_(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?C(e):45===e?d(e):u(e)}function g(t){let r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),o===r.length?f:g):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):(0,F.Ch)(t)?(a=f,_(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),b):f(t)}function b(t){return 62===t?C(t):93===t?(e.consume(t),b):f(t)}function h(t){return null===t||62===t?C(t):(0,F.Ch)(t)?(a=h,_(t)):(e.consume(t),h)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,F.Ch)(t)?(a=y,_(t)):(e.consume(t),y)}function E(e){return 62===e?C(e):y(e)}function S(t){return(0,F.jv)(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||(0,F.H$)(t)?(e.consume(t),k):function t(n){return(0,F.Ch)(n)?(a=t,_(n)):(0,F.xz)(n)?(e.consume(n),t):C(n)}(t)}function A(t){return 45===t||(0,F.H$)(t)?(e.consume(t),A):47===t||62===t||(0,F.z3)(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,F.jv)(t)?(e.consume(t),v):(0,F.Ch)(t)?(a=w,_(t)):(0,F.xz)(t)?(e.consume(t),w):C(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,F.H$)(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),T):(0,F.Ch)(n)?(a=t,_(n)):(0,F.xz)(n)?(e.consume(n),t):w(n)}(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,x):(0,F.Ch)(t)?(a=T,_(t)):(0,F.xz)(t)?(e.consume(t),T):(e.consume(t),I)}function x(t){return t===r?(e.consume(t),r=void 0,R):null===t?n(t):(0,F.Ch)(t)?(a=x,_(t)):(e.consume(t),x)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,F.z3)(t)?w(t):(e.consume(t),I)}function R(e){return 47===e||62===e||(0,F.z3)(e)?w(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function _(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return(0,F.xz)(t)?(0,P.f)(e,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),a(t)}}}],91:eO,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,F.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eA],93:ev,95:e_,96:{name:"codeText",tokenize:function(e,t,n){let r,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),i(n))}(t)};function i(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),i):96===s?(o=e.enter("codeTextSequence"),r=0,function n(i){return 96===i?(e.consume(i),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(i)):(o.type="codeTextData",l(i))}(s)):(0,F.Ch)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||(0,F.Ch)(t)?(e.exit("codeTextData"),i(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,o=3;if(("lineEnding"===e[3][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=o;++t0){let e=a.tokenStack[a.tokenStack.length-1],t=e[1]||eY;t.call(a,void 0,e[0])}for(n.position={start:eq(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eq(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c-1){let e=n[0];"string"==typeof e?n[0]=e.slice(o):n.shift()}i>0&&n.push(e[a].slice(0,i))}return n}(i,e)}function p(){let{line:e,column:t,offset:n,_index:o,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:a}}function g(e,t){t.restore()}function f(e,t){return function(n,o,a){let i,u,d,g;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,o=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return f(o)(e)};function f(e){return(i=e,u=0,0===e.length)?a:m(e[u])}function m(e){return function(n){return(g=function(){let e=p(),t=c.previous,n=c.currentConstruct,o=c.events.length,a=Array.from(l);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=a,b()},from:o}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,h,y)(n)}}function h(t){return e(d,g),o}function y(e){return(g.restore(),++u{let n=this.data("settings");return eV(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function eZ(e){let t=[],n=-1,r=0,o=0;for(;++n55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}var eX=n(37462);let eQ=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),(0,eX.S4)(e,t,function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},eJ=e1("start"),e0=e1("end");function e1(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let e2={}.hasOwnProperty;function e3(e){return String(e||"").toUpperCase()}function e4(e,t){let n;let r=String(t.identifier).toUpperCase(),o=eZ(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);-1===a?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=a+1);let i=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+o,id:e.clobberPrefix+"fnref-"+o+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function e5(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({type:"text",value:"["});let i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function e9(e){let t=e.spread;return null==t?e.children.length>1:t}function e6(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}let e7={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let a={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:e4,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},e4(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e5(e,t);let r={src:eZ(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:eZ(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return e5(e,t);let r={href:eZ(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:eZ(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=eJ(t.children[1]),i=e0(t.children[t.children.length-1]);a.line&&i.line&&(r.position={start:a,end:i}),o.push(r)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,o=r?r.indexOf(t):1,a=0===o?"th":"td",i=n&&"table"===n.type?n.align:void 0,l=i?i.length:t.children.length,s=-1,c=[];for(;++s0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(e6(t.slice(o),o>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:e8,yaml:e8,definition:e8,footnoteDefinition:e8};function e8(){return null}let te={}.hasOwnProperty;function tt(e,t){e.position&&(t.position={start:eJ(e),end:e0(e)})}function tn(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tr(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return te.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:to(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(te.call(n,"hProperties")||te.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:to(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function to(e,t){let n=[];if("children"in t){let r=t.children,o=-1;for(;++o0&&n.push({type:"text",value:"\n"}),n}function ti(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,o={};return i.dangerous=r,i.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,i.footnoteLabel=n.footnoteLabel||"Footnotes",i.footnoteLabelTagName=n.footnoteLabelTagName||"h2",i.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=n.footnoteBackLabel||"Back to content",i.unknownHandler=n.unknownHandler,i.passThrough=n.passThrough,i.handlers={...e7,...n.handlers},i.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return eQ(e,"definition",e=>{let n=e3(e.identifier);n&&!e2.call(t,n)&&(t[n]=e)}),function(e){let n=e3(e);return n&&e2.call(t,n)?t[n]:null}}(e),i.footnoteById=o,i.footnoteOrder=[],i.footnoteCounts={},i.patch=tt,i.applyData=tn,i.one=function(e,t){return tr(i,e,t)},i.all=function(e){return to(i,e)},i.wrap=ta,i.augment=a,eQ(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();te.call(o,t)||(o[t]=e)}),i;function a(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:eJ(n),end:e0(n)})}return t}function i(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),a(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),o=function(e){let t=[],n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}let c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else o.push(...s);let u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}var tl=function(e,t){var n;return e&&"run"in e?(n,r,o)=>{e.run(ti(n,t),r,e=>{o(e)})}:(n=e||t,e=>ti(e,n))},ts=n(74275);class tc{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function tu(e,t){let n={},r={},o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tI=tT({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tR(e,t){return t in e?e[t]:t}function tC(e,t){return tR(e,t.toLowerCase())}let t_=tT({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tC,properties:{xmlns:null,xmlnsXLink:null}}),tN=tT({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tm,ariaAutoComplete:null,ariaBusy:tm,ariaChecked:tm,ariaColCount:th,ariaColIndex:th,ariaColSpan:th,ariaControls:ty,ariaCurrent:null,ariaDescribedBy:ty,ariaDetails:null,ariaDisabled:tm,ariaDropEffect:ty,ariaErrorMessage:null,ariaExpanded:tm,ariaFlowTo:ty,ariaGrabbed:tm,ariaHasPopup:null,ariaHidden:tm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ty,ariaLevel:th,ariaLive:null,ariaModal:tm,ariaMultiLine:tm,ariaMultiSelectable:tm,ariaOrientation:null,ariaOwns:ty,ariaPlaceholder:null,ariaPosInSet:th,ariaPressed:tm,ariaReadOnly:tm,ariaRelevant:null,ariaRequired:tm,ariaRoleDescription:ty,ariaRowCount:th,ariaRowIndex:th,ariaRowSpan:th,ariaSelected:tm,ariaSetSize:th,ariaSort:null,ariaValueMax:th,ariaValueMin:th,ariaValueNow:th,ariaValueText:null,role:null}}),tO=tT({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tC,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tE,acceptCharset:ty,accessKey:ty,action:null,allow:null,allowFullScreen:tf,allowPaymentRequest:tf,allowUserMedia:tf,alt:null,as:null,async:tf,autoCapitalize:null,autoComplete:ty,autoFocus:tf,autoPlay:tf,blocking:ty,capture:tf,charSet:null,checked:tf,cite:null,className:ty,cols:th,colSpan:null,content:null,contentEditable:tm,controls:tf,controlsList:ty,coords:th|tE,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tf,defer:tf,dir:null,dirName:null,disabled:tf,download:tb,draggable:tm,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tf,formTarget:null,headers:ty,height:th,hidden:tf,high:th,href:null,hrefLang:null,htmlFor:ty,httpEquiv:ty,id:null,imageSizes:null,imageSrcSet:null,inert:tf,inputMode:null,integrity:null,is:null,isMap:tf,itemId:null,itemProp:ty,itemRef:ty,itemScope:tf,itemType:ty,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tf,low:th,manifest:null,max:null,maxLength:th,media:null,method:null,min:null,minLength:th,multiple:tf,muted:tf,name:null,nonce:null,noModule:tf,noValidate:tf,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tf,optimum:th,pattern:null,ping:ty,placeholder:null,playsInline:tf,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:tf,referrerPolicy:null,rel:ty,required:tf,reversed:tf,rows:th,rowSpan:th,sandbox:ty,scope:null,scoped:tf,seamless:tf,selected:tf,shape:null,size:th,sizes:null,slot:null,span:th,spellCheck:tm,src:null,srcDoc:null,srcLang:null,srcSet:null,start:th,step:null,style:null,tabIndex:th,target:null,title:null,translate:null,type:null,typeMustMatch:tf,useMap:null,value:tm,width:th,wrap:null,align:null,aLink:null,archive:ty,axis:null,background:null,bgColor:null,border:th,borderColor:null,bottomMargin:th,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tf,declare:tf,event:null,face:null,frame:null,frameBorder:null,hSpace:th,leftMargin:th,link:null,longDesc:null,lowSrc:null,marginHeight:th,marginWidth:th,noResize:tf,noHref:tf,noShade:tf,noWrap:tf,object:null,profile:null,prompt:null,rev:null,rightMargin:th,rules:null,scheme:null,scrolling:tm,standby:null,summary:null,text:null,topMargin:th,valueType:null,version:null,vAlign:null,vLink:null,vSpace:th,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tf,disableRemotePlayback:tf,prefix:null,property:null,results:th,security:null,unselectable:null}}),tL=tT({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:tR,properties:{about:tS,accentHeight:th,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:th,amplitude:th,arabicForm:null,ascent:th,attributeName:null,attributeType:null,azimuth:th,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:th,by:null,calcMode:null,capHeight:th,className:ty,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:th,diffuseConstant:th,direction:null,display:null,dur:null,divisor:th,dominantBaseline:null,download:tf,dx:null,dy:null,edgeMode:null,editable:null,elevation:th,enableBackground:null,end:null,event:null,exponent:th,externalResourcesRequired:null,fill:null,fillOpacity:th,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:tE,g2:tE,glyphName:tE,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:th,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:th,horizOriginX:th,horizOriginY:th,id:null,ideographic:th,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:th,k:th,k1:th,k2:th,k3:th,k4:th,kernelMatrix:tS,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:th,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:th,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:th,overlineThickness:th,paintOrder:null,panose1:null,path:null,pathLength:th,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ty,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:th,pointsAtY:th,pointsAtZ:th,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tS,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tS,rev:tS,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tS,requiredFeatures:tS,requiredFonts:tS,requiredFormats:tS,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:th,specularExponent:th,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:th,strikethroughThickness:th,string:null,stroke:null,strokeDashArray:tS,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:th,strokeOpacity:th,strokeWidth:null,style:null,surfaceScale:th,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tS,tabIndex:th,tableValues:null,target:null,targetX:th,targetY:th,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tS,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:th,underlineThickness:th,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:th,values:null,vAlphabetic:th,vMathematical:th,vectorEffect:null,vHanging:th,vIdeographic:th,version:null,vertAdvY:th,vertOriginX:th,vertOriginY:th,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:th,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),tD=tu([tI,tx,t_,tN,tO],"html"),tM=tu([tI,tx,t_,tN,tL],"svg");function tP(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{eQ(t,"element",(t,n,r)=>{let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,r)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tF=n(9176);let tB=/^data[-\w.:]+$/i,tU=/-[a-z]/g,tz=/[A-Z]/g;function tH(e){return"-"+e.toLowerCase()}function tG(e){return e.charAt(1).toUpperCase()}let t$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tW=n(48699);let tj=["http","https","mailto","tel"];function tV(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++oo||-1!==(o=t.indexOf("#"))&&r>o?t:"javascript:void(0)"}let tq={}.hasOwnProperty,tY=new Set(["table","thead","tbody","tfoot","tr"]);function tK(e,t){let n=-1,r=0;for(;++n for more info)`),delete tQ[t]}let t=w().use(eK).use(e.remarkPlugins||[]).use(tl,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(tP,e),n=new b;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let o=a.createElement(a.Fragment,{},function e(t,n){let r;let o=[],i=-1;for(;++i4&&"data"===n.slice(0,4)&&tB.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(tU,tG);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tU.test(e)){let n=e.replace(tz,tH);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=tw}return new o(r,t)}(r.schema,t),a=n;null!=a&&a==a&&(Array.isArray(a)&&(a=o.commaSeparated?function(e,t){let n={},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(a):a.join(" ").trim()),"style"===o.property&&"string"==typeof a&&(a=function(e){let t={};try{tW(e,function(e,n){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,tZ)]=n})}catch{}return t}(a)),o.space&&o.property?e[tq.call(t$,o.property)?t$[o.property]:o.property]=a:o.attribute&&(e[o.attribute]=a))}(d,i,n.properties[i],t);("ol"===u||"ul"===u)&&t.listDepth++;let g=e(t,n);("ol"===u||"ul"===u)&&t.listDepth--,t.schema=c;let f=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=l.components&&tq.call(l.components,u)?l.components[u]:u,b="string"==typeof m||m===a.Fragment;if(!tF.isValidElementType(m))throw TypeError(`Component for name \`${u}\` not defined or is not renderable`);if(d.key=r,"a"===u&&l.linkTarget&&(d.target="function"==typeof l.linkTarget?l.linkTarget(String(d.href||""),n.children,"string"==typeof d.title?d.title:null):l.linkTarget),"a"===u&&s&&(d.href=s(String(d.href||""),n.children,"string"==typeof d.title?d.title:null)),b||"code"!==u||"element"!==o.type||"pre"===o.tagName||(d.inline=!0),b||"h1"!==u&&"h2"!==u&&"h3"!==u&&"h4"!==u&&"h5"!==u&&"h6"!==u||(d.level=Number.parseInt(u.charAt(1),10)),"img"===u&&l.transformImageUri&&(d.src=l.transformImageUri(String(d.src||""),String(d.alt||""),"string"==typeof d.title?d.title:null)),!b&&"li"===u&&"element"===o.type){let e=function(e){let t=-1;for(;++t0?a.createElement(m,d,g):a.createElement(m,d)}(t,r,i,n)):"text"===r.type?"element"===n.type&&tY.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||o.push(r.value):"raw"!==r.type||t.options.skipHtml||o.push(r.value);return o}({options:e,schema:tD,listDepth:0},r));return e.className&&(o=a.createElement("div",{className:e.className},o)),o}tJ.propTypes={children:ts.string,className:ts.string,allowElement:ts.func,allowedElements:ts.arrayOf(ts.string),disallowedElements:ts.arrayOf(ts.string),unwrapDisallowed:ts.bool,remarkPlugins:ts.arrayOf(ts.oneOfType([ts.object,ts.func,ts.arrayOf(ts.oneOfType([ts.bool,ts.string,ts.object,ts.func,ts.arrayOf(ts.any)]))])),rehypePlugins:ts.arrayOf(ts.oneOfType([ts.object,ts.func,ts.arrayOf(ts.oneOfType([ts.bool,ts.string,ts.object,ts.func,ts.arrayOf(ts.any)]))])),sourcePos:ts.bool,rawSourcePos:ts.bool,skipHtml:ts.bool,includeElementIndex:ts.bool,transformLinkUri:ts.oneOfType([ts.func,ts.bool]),linkTarget:ts.oneOfType([ts.func,ts.string]),transformImageUri:ts.func,components:ts.object}},48975:function(e,t,n){"use strict";n.d(t,{Z:function(){return eL}});var r=n(6361),o=n(82659);let a={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),o):n(a)};function o(e){return null===e?n(e):t(e)}},partial:!0},i={tokenize:function(e,t,n){let r,a,i;return l;function l(t){return 46===t||95===t?e.check(s,u,c)(t):null===t||(0,o.z3)(t)||(0,o.B8)(t)||45!==t&&(0,o.Xh)(t)?u(t):(i=!0,e.consume(t),l)}function c(t){return 95===t?r=!0:(a=r,r=void 0),e.consume(t),l}function u(e){return a||r||!i?n(e):t(e)}},partial:!0},l={tokenize:function(e,t){let n=0,r=0;return a;function a(l){return 40===l?(n++,e.consume(l),a):41===l&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}g[43]=p,g[45]=p,g[46]=p,g[95]=p,g[72]=[p,d],g[104]=[p,d],g[87]=[p,u],g[119]=[p,u];var k=n(56833),A=n(9471),w=n(93575);let v={tokenize:function(e,t,n){let r=this;return(0,A.f)(e,function(e){let o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function T(e,t,n){let r;let o=this,a=o.events.length,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);for(;a--;){let e=o.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let l=(0,w.d)(o.sliceSerialize({start:r.end,end:o.now()}));return 94===l.codePointAt(0)&&i.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function x(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function I(e,t,n){let r;let a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(s){if(l>999||93===s&&!r||null===s||91===s||(0,o.z3)(s))return n(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return i.includes((0,w.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return(0,o.z3)(s)||(r=!0),l++,e.consume(s),92===s?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function R(e,t,n){let r,a;let i=this,l=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!a||null===t||91===t||(0,o.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,w.d)(i.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,o.z3)(t)||(a=!0),s++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l.includes(r)||l.push(r),(0,A.f)(e,g,"gfmFootnoteDefinitionWhitespace")):n(t)}function g(e){return t(e)}}function C(e,t,n){return e.check(k.w,t,e.attempt(v,t,n))}function _(e){e.exit("gfmFootnoteDefinition")}var N=n(58180),O=n(75786),L=n(80594);class D{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;oe[0]-t[0]),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}let M={flow:{null:{tokenize:function(e,t,n){let r;let a=this,i=0,l=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?E:s;return o===E&&a.parser.lazy[a.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,l+=1),c(t)}function c(t){return null===t?n(t):(0,o.Ch)(t)?l>1?(l=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,o.xz)(t)?(0,A.f)(e,c,"whitespace")(t):(l+=1,r&&(r=!1,i+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,o.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,o.xz)(t))?(0,A.f)(e,g,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):g(t)}function g(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,o.xz)(t)?(0,A.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(l+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):45===t?(l+=1,b(t)):null===t||(0,o.Ch)(t)?y(t):n(t)}function b(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),h):(e.exit("tableDelimiterFiller"),h(n))}(t)):n(t)}function h(t){return(0,o.xz)(t)?(0,A.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?g(a):null===a||(0,o.Ch)(a)?r&&i===l?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),S(t)}function S(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),S):null===n||(0,o.Ch)(n)?(e.exit("tableRow"),t(n)):(0,o.xz)(n)?(0,A.f)(e,S,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||(0,o.z3)(t)?(e.exit("data"),S(t)):(e.consume(t),92===t?w:k)}function w(t){return 92===t||124===t?(e.consume(t),k):k(t)}},resolveAll:function(e,t){let n,r,o,a=-1,i=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new D;for(;++an[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==o&&(a.end=Object.assign({},B(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function F(e,t,n,r,o){let a=[],i=B(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function B(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let U={text:{91:{tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,o.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(t)}function l(r){return(0,o.Ch)(r)?t(r):(0,o.xz)(r)?e.check({tokenize:z},t,n)(r):n(r)}}}}};function z(e,t,n){return(0,A.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}function H(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}var G=n(37462),$=n(54e3);let W={}.hasOwnProperty,j=function(e,t,n,r){let o,a;"string"==typeof t||t instanceof RegExp?(a=[[t,n]],o=r):(a=t,o=n),o||(o={});let i=(0,$.O)(o.ignore||[]),l=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:l}:void 0),!1!==l&&(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(l)?u.push(...l):l&&u.push(l),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(ae}let Y="phrasing",K=["autolink","link","image","label"],Z={transforms:[function(e){j(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,J],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ee]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Q,literalAutolinkHttp:Q,literalAutolinkWww:Q},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},X={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Y,notInConstruct:K},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Y,notInConstruct:K},{character:":",before:"[ps]",after:"\\/",inConstruct:Y,notInConstruct:K}]};function Q(e){this.config.enter.autolinkProtocol.call(this,e)}function J(e,t,n,r,o){let a="";if(!et(o)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let i=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),o=H(e,"("),a=H(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;let l={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function ee(e,t,n,r){return!(!et(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function et(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.B8)(n)||(0,o.Xh)(n))&&(!t||47!==n)}var en=n(11559);function er(e){return e.label||!e.identifier?e.label||"":(0,en.v)(e.identifier)}let eo=/\r?\n|\r/g;var ea=n(62848),ei=n(12101);function el(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function es(){this.buffer()}function ec(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,w.d)(this.sliceSerialize(e)).toLowerCase()}function eu(e){this.exit(e)}function ed(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ep(){this.buffer()}function eg(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,w.d)(this.sliceSerialize(e)).toLowerCase()}function ef(e){this.exit(e)}function em(e,t,n,r){let o=(0,ei.j)(r),a=o.move("[^"),i=n.enter("footnoteReference"),l=n.enter("reference");return a+=o.move((0,ea.T)(n,er(e),{...o.current(),before:a,after:"]"})),l(),i(),a+=o.move("]")}function eb(e,t,n,r){let o=(0,ei.j)(r),a=o.move("[^"),i=n.enter("footnoteDefinition"),l=n.enter("label");return a+=o.move((0,ea.T)(n,er(e),{...o.current(),before:a,after:"]"})),l(),a+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),a+=o.move(function(e,t){let n;let r=[],o=0,a=0;for(;n=eo.exec(e);)i(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,a++;return i(e.slice(o)),r.join("");function i(e){r.push(t(e,a,!e))}}(function(e,t,n){let r=t.indexStack,o=e.children||[],a=t.createTracker(n),i=[],l=-1;for(r.push(-1);++l\n\n"}return"\n\n"}(n,o[l+1],e,t)))}return r.pop(),i.join("")}(e,n,o.current()),eh)),i(),a}function eh(e,t,n){return 0===t?e:(n?"":" ")+e}function ey(e,t,n){let r=t.indexStack,o=e.children||[],a=[],i=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++i0&&("\r"===l||"\n"===l)&&"html"===u.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(s=t.createTracker(n)).move(a.join(""))),a.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=a[a.length-1].slice(-1)}return r.pop(),a.join("")}em.peek=function(){return"["},ek.peek=function(){return"~"};let eE={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},eS={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:ek}};function ek(e,t,n,r){let o=(0,ei.j)(r),a=n.enter("strikethrough"),i=o.move("~~");return i+=ey(e,n,{...o.current(),before:i,after:"~"})+o.move("~~"),a(),i}var eA=n(57785);function ew(e,t,n){let r=e.value||"",o="`",a=-1;for(;RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:eR,tableHeader:eR,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,eC));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:eI,tableHeader:eI,tableRow:eI}};function eI(e){this.exit(e)}function eR(e){this.enter({type:"tableCell",children:[]},e)}function eC(e,t){return"|"===t?t:e}let e_={exit:{taskListCheckValueChecked:eO,taskListCheckValueUnchecked:eO,paragraph:function(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){let r;let o=t.children,a=-1;for(;++a-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));let l=n.createTracker(r);l.move(a+" ".repeat(i-a.length)),l.shift(i);let s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?a:a+" ".repeat(i-a.length))+e});return s(),c}(e,t,n,{...r,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),s}}};function eO(e){let t=this.stack[this.stack.length-2];t.checked="taskListCheckValueChecked"===e.type}function eL(e={}){let t=this.data();function n(e,n){let r=t[e]?t[e]:t[e]=[];r.push(n)}n("micromarkExtensions",(0,r.W)([f,{document:{91:{tokenize:R,continuation:{tokenize:C},exit:_}},text:{91:{tokenize:I},93:{add:"after",tokenize:T,resolveTo:x}}},function(e){let t=(e||{}).singleTilde,n={tokenize:function(e,n,r){let o=this.previous,a=this.events,i=0;return function(l){return 126===o&&"characterEscape"!==a[a.length-1][1].type?r(l):(e.enter("strikethroughSequenceTemporary"),function a(l){let s=(0,O.r)(o);if(126===l)return i>1?r(l):(e.consume(l),i++,a);if(i<2&&!t)return r(l);let c=e.exit("strikethroughSequenceTemporary"),u=(0,O.r)(l);return c._open=!u||2===u&&!!s,c._close=!s||2===s&&!!u,n(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++ns&&(s=e[c].length);++dl[d])&&(l[d]=e)}n.push(a)}a[c]=n,i[c]=o}let d=-1;if("object"==typeof n&&"length"in n)for(;++dl[d]&&(l[d]=a),g[d]=a),p[d]=i}a.splice(1,0,p),i.splice(1,0,g),c=-1;let f=[];for(;++ci&&(i=a):a=1,o=r+t.length,r=n.indexOf(t,o);return i}(o,"$")+1,2)),l=n.enter("mathFlow"),s=a.move(i);if(e.meta){let t=n.enter("mathFlowMeta");s+=a.move((0,c.T)(n,e.meta,{before:s,after:"\n",encode:["$"],...a.current()})),t()}return s+=a.move("\n"),o&&(s+=a.move(o+"\n")),s+=a.move(i),l(),s},inlineMath:n}};function n(e,n,r){let o=e.value||"",a=1;for(!t&&a++;RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(o);)a++;let i="$".repeat(a);/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^\$|\$$/.test(o))&&(o=" "+o+" ");let l=-1;for(;++l":"")+")"})}return u;function u(){var c;let u,d,p,g=[];if((!t||a(r,l,s[s.length-1]||null))&&!1===(g=Array.isArray(c=n(r,s))?c:"number"==typeof c?[!0,c]:[c])[0])return g;if(r.children&&"skip"!==g[0])for(d=(o?r.children.length:-1)+i,p=s.concat(r);d>-1&&d{let t;let n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,a={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,a),a},o=e=>e?r(e):r;var a=n(2265),i=n(65401);let{useDebugValue:l}=a,{useSyncExternalStoreWithSelector:s}=i,c=!1,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?o(e):e,n=(e,n)=>(function(e,t=e.getState,n){n&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);let r=s(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return l(r),r})(t,e,n);return Object.assign(n,t),n},d=e=>e?u(e):u},74810:function(e,t,n){"use strict";n.d(t,{tJ:function(){return i}});let r=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>r(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>r(t)(e)}}},o=(e,t)=>(n,o,a)=>{let i,l,s={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},c=!1,u=new Set,d=new Set;try{i=s.getStorage()}catch(e){}if(!i)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...e)},o,a);let p=r(s.serialize),g=()=>{let e;let t=s.partialize({...o()}),n=p({state:t,version:s.version}).then(e=>i.setItem(s.name,e)).catch(t=>{e=t});if(e)throw e;return n},f=a.setState;a.setState=(e,t)=>{f(e,t),g()};let m=e((...e)=>{n(...e),g()},o,a),b=()=>{var e;if(!i)return;c=!1,u.forEach(e=>e(o()));let t=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,o()))||void 0;return r(i.getItem.bind(i))(s.name).then(e=>{if(e)return s.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===s.version)return e.state;if(s.migrate)return s.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return n(l=s.merge(e,null!=(t=o())?t:m),!0),g()}).then(()=>{null==t||t(l,void 0),c=!0,d.forEach(e=>e(l))}).catch(e=>{null==t||t(void 0,e)})};return a.persist={setOptions:e=>{s={...s,...e},e.getStorage&&(i=e.getStorage())},clearStorage:()=>{null==i||i.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>b(),hasHydrated:()=>c,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},b(),l||m},a=(e,t)=>(n,o,a)=>{let i,l={storage:function(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;let o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),a=null!=(r=n.getItem(e))?r:null;return a instanceof Promise?a.then(o):o(a)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,c=new Set,u=new Set,d=l.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),n(...e)},o,a);let p=()=>{let e=l.partialize({...o()});return d.setItem(l.name,{state:e,version:l.version})},g=a.setState;a.setState=(e,t)=>{g(e,t),p()};let f=e((...e)=>{n(...e),p()},o,a),m=()=>{var e,t;if(!d)return;s=!1,c.forEach(e=>{var t;return e(null!=(t=o())?t:f)});let a=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=o())?e:f))||void 0;return r(d.getItem.bind(d))(l.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return e.state;if(l.migrate)return l.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return n(i=l.merge(e,null!=(t=o())?t:f),!0),p()}).then(()=>{null==a||a(i,void 0),i=o(),s=!0,u.forEach(e=>e(i))}).catch(e=>{null==a||a(void 0,e)})};return a.persist={setOptions:e=>{l={...l,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>m(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},l.skipHydration||m(),i||f},i=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),o(e,t)):a(e,t)},66704:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},46561:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/449-6ecf26cdc1eb342f.js b/ee/tabby-webserver/ui/_next/static/chunks/449-6ecf26cdc1eb342f.js new file mode 100644 index 000000000000..1e9f03eba7f2 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/449-6ecf26cdc1eb342f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[449],{65400:function(e,t,n){n.d(t,{gm:function(){return u}});var r=n(2265);let o=(0,r.createContext)(void 0);function u(e){let t=(0,r.useContext)(o);return e||t||"ltr"}},90449:function(e,t,n){let r;n.d(t,{VY:function(){return e8},ZA:function(){return te},ck:function(){return tn},__:function(){return tt},Uv:function(){return e3},Ee:function(){return tr},fC:function(){return e7},Z0:function(){return to},Tr:function(){return tu},tu:function(){return tl},xz:function(){return e9}});var o=n(13428),u=n(2265),l=n(85744),a=n(42210),c=n(56989),i=n(73763),d=n(9381),s=n(67256);function f(e){let t=e+"CollectionProvider",[n,r]=(0,c.b)(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=e+"CollectionSlot",d=u.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=l(i,n),c=(0,a.e)(t,o.collectionRef);return u.createElement(s.g7,{ref:c},r)}),f=e+"CollectionItemSlot",p="data-radix-collection-item",m=u.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,c=u.useRef(null),i=(0,a.e)(t,c),d=l(f,n);return u.useEffect(()=>(d.itemMap.set(c,{ref:c,...o}),()=>void d.itemMap.delete(c))),u.createElement(s.g7,{[p]:"",ref:i},r)});return[{Provider:e=>{let{scope:t,children:n}=e,r=u.useRef(null),l=u.useRef(new Map).current;return u.createElement(o,{scope:t,itemMap:l,collectionRef:r},n)},Slot:d,ItemSlot:m},function(t){let n=l(e+"CollectionConsumer",t),r=u.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`)),r=Array.from(n.itemMap.values()),o=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return o},[n.collectionRef,n.itemMap]);return r},r]}var p=n(65400),m=n(74278),v=n(31244),g=n(16459);let E="focusScope.autoFocusOnMount",h="focusScope.autoFocusOnUnmount",w={bubbles:!1,cancelable:!0},M=(0,u.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...i}=e,[s,f]=(0,u.useState)(null),p=(0,g.W)(l),m=(0,g.W)(c),v=(0,u.useRef)(null),M=(0,a.e)(t,e=>f(e)),R=(0,u.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,u.useEffect)(()=>{if(r){function e(e){if(R.paused||!s)return;let t=e.target;s.contains(t)?v.current=t:C(v.current,{select:!0})}function t(e){if(R.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||C(v.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&C(s)});return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,s,R.paused]),(0,u.useEffect)(()=>{if(s){y.add(R);let e=document.activeElement,t=s.contains(e);if(!t){let t=new CustomEvent(E,w);s.addEventListener(E,p),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(C(r,{select:t}),document.activeElement!==n)return}(b(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&C(s))}return()=>{s.removeEventListener(E,p),setTimeout(()=>{let t=new CustomEvent(h,w);s.addEventListener(h,m),s.dispatchEvent(t),t.defaultPrevented||C(null!=e?e:document.body,{select:!0}),s.removeEventListener(h,m),y.remove(R)},0)}}},[s,p,m,R]);let D=(0,u.useCallback)(e=>{if(!n&&!r||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,u]=function(e){let t=b(e),n=_(t,e),r=_(t.reverse(),e);return[n,r]}(t),l=r&&u;l?e.shiftKey||o!==u?e.shiftKey&&o===r&&(e.preventDefault(),n&&C(u,{select:!0})):(e.preventDefault(),n&&C(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,R.paused]);return(0,u.createElement)(d.WV.div,(0,o.Z)({tabIndex:-1},i,{ref:M,onKeyDown:D}))});function b(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 _(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 C(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()}}let y=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=R(r,e)).unshift(e)},remove(e){var t;null===(t=(r=R(r,e))[0])||void 0===t||t.resume()}});function R(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var D=n(20966),I=n(7649),T=n(52730),k=n(85606);let x="rovingFocusGroup.onEntryFocus",F={bubbles:!1,cancelable:!0},P="RovingFocusGroup",[O,S,Z]=f(P),[L,A]=(0,c.b)(P,[Z]),[K,V]=L(P),W=(0,u.forwardRef)((e,t)=>(0,u.createElement)(O.Provider,{scope:e.__scopeRovingFocusGroup},(0,u.createElement)(O.Slot,{scope:e.__scopeRovingFocusGroup},(0,u.createElement)(G,(0,o.Z)({},e,{ref:t}))))),G=(0,u.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:c=!1,dir:s,currentTabStopId:f,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:v,onEntryFocus:E,...h}=e,w=(0,u.useRef)(null),M=(0,a.e)(t,w),b=(0,p.gm)(s),[_=null,C]=(0,i.T)({prop:f,defaultProp:m,onChange:v}),[y,R]=(0,u.useState)(!1),D=(0,g.W)(E),I=S(n),T=(0,u.useRef)(!1),[k,P]=(0,u.useState)(0);return(0,u.useEffect)(()=>{let e=w.current;if(e)return e.addEventListener(x,D),()=>e.removeEventListener(x,D)},[D]),(0,u.createElement)(K,{scope:n,orientation:r,dir:b,loop:c,currentTabStopId:_,onItemFocus:(0,u.useCallback)(e=>C(e),[C]),onItemShiftTab:(0,u.useCallback)(()=>R(!0),[]),onFocusableItemAdd:(0,u.useCallback)(()=>P(e=>e+1),[]),onFocusableItemRemove:(0,u.useCallback)(()=>P(e=>e-1),[])},(0,u.createElement)(d.WV.div,(0,o.Z)({tabIndex:y||0===k?-1:0,"data-orientation":r},h,{ref:M,style:{outline:"none",...e.style},onMouseDown:(0,l.M)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,l.M)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(x,F);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable),t=e.find(e=>e.active),n=e.find(e=>e.id===_),r=[t,n,...e].filter(Boolean),o=r.map(e=>e.ref.current);B(o)}}T.current=!1}),onBlur:(0,l.M)(e.onBlur,()=>R(!1))})))}),U=(0,u.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:c,...i}=e,s=(0,D.M)(),f=c||s,p=V("RovingFocusGroupItem",n),m=p.currentTabStopId===f,v=S(n),{onFocusableItemAdd:g,onFocusableItemRemove:E}=p;return(0,u.useEffect)(()=>{if(r)return g(),()=>E()},[r,g,E]),(0,u.createElement)(O.ItemSlot,{scope:n,id:f,focusable:r,active:a},(0,u.createElement)(d.WV.span,(0,o.Z)({tabIndex:m?0:-1,"data-orientation":p.orientation},i,{ref:t,onMouseDown:(0,l.M)(e.onMouseDown,e=>{r?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,l.M)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,l.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return N[o]}(e,p.orientation,p.dir);if(void 0!==t){e.preventDefault();let o=v().filter(e=>e.focusable),u=o.map(e=>e.ref.current);if("last"===t)u.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&u.reverse();let o=u.indexOf(e.currentTarget);u=p.loop?(n=u,r=o+1,n.map((e,t)=>n[(r+t)%n.length])):u.slice(o+1)}setTimeout(()=>B(u))}})})))}),N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function B(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}var z=n(85859),X=n(17552);let H=["Enter"," "],Y=["ArrowUp","PageDown","End"],j=["ArrowDown","PageUp","Home",...Y],q={ltr:[...H,"ArrowRight"],rtl:[...H,"ArrowLeft"]},$={ltr:["ArrowLeft"],rtl:["ArrowRight"]},J="Menu",[Q,ee,et]=f(J),[en,er]=(0,c.b)(J,[et,I.D7,A]),eo=(0,I.D7)(),eu=A(),[el,ea]=en(J),[ec,ei]=en(J),ed=(0,u.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,l=eo(n);return(0,u.createElement)(I.ee,(0,o.Z)({},l,r,{ref:t}))}),es="MenuPortal",[ef,ep]=en(es,{forceMount:void 0}),em="MenuContent",[ev,eg]=en(em),eE=(0,u.forwardRef)((e,t)=>{let n=ep(em,e.__scopeMenu),{forceMount:r=n.forceMount,...l}=e,a=ea(em,e.__scopeMenu),c=ei(em,e.__scopeMenu);return(0,u.createElement)(Q.Provider,{scope:e.__scopeMenu},(0,u.createElement)(k.z,{present:r||a.open},(0,u.createElement)(Q.Slot,{scope:e.__scopeMenu},c.modal?(0,u.createElement)(eh,(0,o.Z)({},l,{ref:t})):(0,u.createElement)(ew,(0,o.Z)({},l,{ref:t})))))}),eh=(0,u.forwardRef)((e,t)=>{let n=ea(em,e.__scopeMenu),r=(0,u.useRef)(null),c=(0,a.e)(t,r);return(0,u.useEffect)(()=>{let e=r.current;if(e)return(0,z.Ry)(e)},[]),(0,u.createElement)(eM,(0,o.Z)({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,l.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),ew=(0,u.forwardRef)((e,t)=>{let n=ea(em,e.__scopeMenu);return(0,u.createElement)(eM,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),eM=(0,u.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:c,onOpenAutoFocus:i,onCloseAutoFocus:d,disableOutsidePointerEvents:f,onEntryFocus:p,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:h,onInteractOutside:w,onDismiss:b,disableOutsideScroll:_,...C}=e,y=ea(em,n),R=ei(em,n),D=eo(n),T=eu(n),k=ee(n),[x,F]=(0,u.useState)(null),P=(0,u.useRef)(null),O=(0,a.e)(t,P,y.onContentChange),S=(0,u.useRef)(0),Z=(0,u.useRef)(""),L=(0,u.useRef)(0),A=(0,u.useRef)(null),K=(0,u.useRef)("right"),V=(0,u.useRef)(0),G=_?X.Z:u.Fragment,U=_?{as:s.g7,allowPinchZoom:!0}:void 0,N=e=>{var t,n;let r=Z.current+e,o=k().filter(e=>!e.disabled),u=document.activeElement,l=null===(t=o.find(e=>e.ref.current===u))||void 0===t?void 0:t.textValue,a=o.map(e=>e.textValue),c=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0]),u=o?t[0]:t,l=n?e.indexOf(n):-1,a=(r=Math.max(l,0),e.map((t,n)=>e[(r+n)%e.length])),c=1===u.length;c&&(a=a.filter(e=>e!==n));let i=a.find(e=>e.toLowerCase().startsWith(u.toLowerCase()));return i!==n?i:void 0}(a,r,l),i=null===(n=o.find(e=>e.textValue===c))||void 0===n?void 0:n.ref.current;!function e(t){Z.current=t,window.clearTimeout(S.current),""!==t&&(S.current=window.setTimeout(()=>e(""),1e3))}(r),i&&setTimeout(()=>i.focus())};(0,u.useEffect)(()=>()=>window.clearTimeout(S.current),[]),(0,v.EW)();let B=(0,u.useCallback)(e=>{var t,n;let r=K.current===(null===(t=A.current)||void 0===t?void 0:t.side);return r&&function(e,t){if(!t)return!1;let n={x:e.clientX,y:e.clientY};return function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,u=t.length-1;er!=i>r&&n<(c-l)*(r-a)/(i-a)+l;d&&(o=!o)}return o}(n,t)}(e,null===(n=A.current)||void 0===n?void 0:n.area)},[]);return(0,u.createElement)(ev,{scope:n,searchRef:Z,onItemEnter:(0,u.useCallback)(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:(0,u.useCallback)(e=>{var t;B(e)||(null===(t=P.current)||void 0===t||t.focus(),F(null))},[B]),onTriggerLeave:(0,u.useCallback)(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:L,onPointerGraceIntentChange:(0,u.useCallback)(e=>{A.current=e},[])},(0,u.createElement)(G,U,(0,u.createElement)(M,{asChild:!0,trapped:c,onMountAutoFocus:(0,l.M)(i,e=>{var t;e.preventDefault(),null===(t=P.current)||void 0===t||t.focus()}),onUnmountAutoFocus:d},(0,u.createElement)(m.XB,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:g,onPointerDownOutside:E,onFocusOutside:h,onInteractOutside:w,onDismiss:b},(0,u.createElement)(W,(0,o.Z)({asChild:!0},T,{dir:R.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:F,onEntryFocus:(0,l.M)(p,e=>{R.isUsingKeyboardRef.current||e.preventDefault()})}),(0,u.createElement)(I.VY,(0,o.Z)({role:"menu","aria-orientation":"vertical","data-state":eV(y.open),"data-radix-menu-content":"",dir:R.dir},D,C,{ref:O,style:{outline:"none",...C.style},onKeyDown:(0,l.M)(C.onKeyDown,e=>{let t=e.target,n=t.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;n&&("Tab"===e.key&&e.preventDefault(),!r&&o&&N(e.key));let u=P.current;if(e.target!==u||!j.includes(e.key))return;e.preventDefault();let l=k().filter(e=>!e.disabled),a=l.map(e=>e.ref.current);Y.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,l.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(S.current),Z.current="")}),onPointerMove:(0,l.M)(e.onPointerMove,eU(e=>{let t=e.target,n=V.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>V.current?"right":"left";K.current=t,V.current=e.clientX}}))})))))))}),eb=(0,u.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,u.createElement)(d.WV.div,(0,o.Z)({role:"group"},r,{ref:t}))}),e_=(0,u.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,u.createElement)(d.WV.div,(0,o.Z)({},r,{ref:t}))}),eC="MenuItem",ey="menu.itemSelect",eR=(0,u.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:r,...c}=e,i=(0,u.useRef)(null),s=ei(eC,e.__scopeMenu),f=eg(eC,e.__scopeMenu),p=(0,a.e)(t,i),m=(0,u.useRef)(!1);return(0,u.createElement)(eD,(0,o.Z)({},c,{ref:p,disabled:n,onClick:(0,l.M)(e.onClick,()=>{let e=i.current;if(!n&&e){let t=new CustomEvent(ey,{bubbles:!0,cancelable:!0});e.addEventListener(ey,e=>null==r?void 0:r(e),{once:!0}),(0,d.jH)(e,t),t.defaultPrevented?m.current=!1:s.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),m.current=!0},onPointerUp:(0,l.M)(e.onPointerUp,e=>{var t;m.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=""!==f.searchRef.current;!n&&(!t||" "!==e.key)&&H.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),eD=(0,u.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:c,...i}=e,s=eg(eC,n),f=eu(n),p=(0,u.useRef)(null),m=(0,a.e)(t,p),[v,g]=(0,u.useState)(!1),[E,h]=(0,u.useState)("");return(0,u.useEffect)(()=>{let e=p.current;if(e){var t;h((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[i.children]),(0,u.createElement)(Q.ItemSlot,{scope:n,disabled:r,textValue:null!=c?c:E},(0,u.createElement)(U,(0,o.Z)({asChild:!0},f,{focusable:!r}),(0,u.createElement)(d.WV.div,(0,o.Z)({role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:m,onPointerMove:(0,l.M)(e.onPointerMove,eU(e=>{if(r)s.onItemLeave(e);else if(s.onItemEnter(e),!e.defaultPrevented){let t=e.currentTarget;t.focus()}})),onPointerLeave:(0,l.M)(e.onPointerLeave,eU(e=>s.onItemLeave(e))),onFocus:(0,l.M)(e.onFocus,()=>g(!0)),onBlur:(0,l.M)(e.onBlur,()=>g(!1))}))))}),[eI,eT]=((e,t)=>{let{checked:n=!1,onCheckedChange:r,...a}=e;return(0,u.createElement)(eF,{scope:e.__scopeMenu,checked:n},(0,u.createElement)(eR,(0,o.Z)({role:"menuitemcheckbox","aria-checked":eW(n)?"mixed":n},a,{ref:t,"data-state":eG(n),onSelect:(0,l.M)(a.onSelect,()=>null==r?void 0:r(!!eW(n)||!n),{checkForDefaultPrevented:!1})})))},en("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),ek=(0,u.forwardRef)((e,t)=>{let{value:n,onValueChange:r,...l}=e,a=(0,g.W)(r);return(0,u.createElement)(eI,{scope:e.__scopeMenu,value:n,onValueChange:a},(0,u.createElement)(eb,(0,o.Z)({},l,{ref:t})))}),ex=((e,t)=>{let{value:n,...r}=e,a=eT("MenuRadioItem",e.__scopeMenu),c=n===a.value;return(0,u.createElement)(eF,{scope:e.__scopeMenu,checked:c},(0,u.createElement)(eR,(0,o.Z)({role:"menuitemradio","aria-checked":c},r,{ref:t,"data-state":eG(c),onSelect:(0,l.M)(r.onSelect,()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)},{checkForDefaultPrevented:!1})})))},"MenuItemIndicator"),[eF,eP]=en(ex,{checked:!1}),eO=((e,t)=>{let{__scopeMenu:n,forceMount:r,...l}=e,a=eP(ex,n);return(0,u.createElement)(k.z,{present:r||eW(a.checked)||!0===a.checked},(0,u.createElement)(d.WV.span,(0,o.Z)({},l,{ref:t,"data-state":eG(a.checked)})))},(0,u.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,u.createElement)(d.WV.div,(0,o.Z)({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))})),eS=((e,t)=>{let{__scopeMenu:n,...r}=e,l=eo(n);return(0,u.createElement)(I.Eh,(0,o.Z)({},l,r,{ref:t}))},"MenuSub"),[eZ,eL]=en(eS),eA="MenuSubTrigger",eK=((e,t)=>{let n=ea(eA,e.__scopeMenu),r=ei(eA,e.__scopeMenu),c=eL(eA,e.__scopeMenu),i=eg(eA,e.__scopeMenu),d=(0,u.useRef)(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:f}=i,p={__scopeMenu:e.__scopeMenu},m=(0,u.useCallback)(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return(0,u.useEffect)(()=>m,[m]),(0,u.useEffect)(()=>{let e=s.current;return()=>{window.clearTimeout(e),f(null)}},[s,f]),(0,u.createElement)(ed,(0,o.Z)({asChild:!0},p),(0,u.createElement)(eD,(0,o.Z)({id:c.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":c.contentId,"data-state":eV(n.open)},e,{ref:(0,a.F)(t,c.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,l.M)(e.onPointerMove,eU(t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||d.current||(i.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),m()},100))})),onPointerLeave:(0,l.M)(e.onPointerLeave,eU(e=>{var t,r;m();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,u="right"===t,l=o[u?"left":"right"],a=o[u?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(u?-5:5),y:e.clientY},{x:l,y:o.top},{x:a,y:o.top},{x:a,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,l.M)(e.onKeyDown,t=>{let o=""!==i.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&q[r.dir].includes(t.key)){var u;n.onOpenChange(!0),null===(u=n.content)||void 0===u||u.focus(),t.preventDefault()}})})))},(0,u.forwardRef)((e,t)=>{let n=ep(em,e.__scopeMenu),{forceMount:r=n.forceMount,...c}=e,i=ea(em,e.__scopeMenu),d=ei(em,e.__scopeMenu),s=eL("MenuSubContent",e.__scopeMenu),f=(0,u.useRef)(null),p=(0,a.e)(t,f);return(0,u.createElement)(Q.Provider,{scope:e.__scopeMenu},(0,u.createElement)(k.z,{present:r||i.open},(0,u.createElement)(Q.Slot,{scope:e.__scopeMenu},(0,u.createElement)(eM,(0,o.Z)({id:s.contentId,"aria-labelledby":s.triggerId},c,{ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;d.isUsingKeyboardRef.current&&(null===(t=f.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,l.M)(e.onFocusOutside,e=>{e.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,l.M)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=$[d.dir].includes(e.key);if(t&&n){var r;i.onOpenChange(!1),null===(r=s.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))}));function eV(e){return e?"open":"closed"}function eW(e){return"indeterminate"===e}function eG(e){return eW(e)?"indeterminate":e?"checked":"unchecked"}function eU(e){return t=>"mouse"===t.pointerType?e(t):void 0}let eN=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:l,modal:a=!0}=e,c=eo(t),[i,d]=(0,u.useState)(null),s=(0,u.useRef)(!1),f=(0,g.W)(l),m=(0,p.gm)(o);return(0,u.useEffect)(()=>{let e=()=>{s.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>s.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,u.createElement)(I.fC,c,(0,u.createElement)(el,{scope:t,open:n,onOpenChange:f,content:i,onContentChange:d},(0,u.createElement)(ec,{scope:t,onClose:(0,u.useCallback)(()=>f(!1),[f]),isUsingKeyboardRef:s,dir:m,modal:a},r)))},eB=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,l=ea(es,t);return(0,u.createElement)(ef,{scope:t,forceMount:n},(0,u.createElement)(k.z,{present:n||l.open},(0,u.createElement)(T.h,{asChild:!0,container:o},r)))},ez=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,l=ea(eS,t),a=eo(t),[c,i]=(0,u.useState)(null),[d,s]=(0,u.useState)(null),f=(0,g.W)(o);return(0,u.useEffect)(()=>(!1===l.open&&f(!1),()=>f(!1)),[l.open,f]),(0,u.createElement)(I.fC,a,(0,u.createElement)(el,{scope:t,open:r,onOpenChange:f,content:d,onContentChange:s},(0,u.createElement)(eZ,{scope:t,contentId:(0,D.M)(),triggerId:(0,D.M)(),trigger:c,onTriggerChange:i},n)))},eX="DropdownMenu",[eH,eY]=(0,c.b)(eX,[er]),ej=er(),[eq,e$]=eH(eX),eJ=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...c}=e,i=e$("DropdownMenuTrigger",n),s=ej(n);return(0,u.createElement)(ed,(0,o.Z)({asChild:!0},s),(0,u.createElement)(d.WV.button,(0,o.Z)({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},c,{ref:(0,a.F)(t,i.triggerRef),onPointerDown:(0,l.M)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),eQ=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,a=e$("DropdownMenuContent",n),c=ej(n),i=(0,u.useRef)(!1);return(0,u.createElement)(eE,(0,o.Z)({id:a.contentId,"aria-labelledby":a.triggerId},c,r,{ref:t,onCloseAutoFocus:(0,l.M)(e.onCloseAutoFocus,e=>{var t;i.current||null===(t=a.triggerRef.current)||void 0===t||t.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,l.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!a.modal||r)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),e0=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=ej(n);return(0,u.createElement)(eb,(0,o.Z)({},l,r,{ref:t}))}),e1=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=ej(n);return(0,u.createElement)(e_,(0,o.Z)({},l,r,{ref:t}))}),e5=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=ej(n);return(0,u.createElement)(eR,(0,o.Z)({},l,r,{ref:t}))}),e4=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=ej(n);return(0,u.createElement)(ek,(0,o.Z)({},l,r,{ref:t}))}),e2=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=ej(n);return(0,u.createElement)(eO,(0,o.Z)({},l,r,{ref:t}))}),e6=(0,u.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,l=ej(n);return(0,u.createElement)(eK,(0,o.Z)({},l,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),e7=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:l,defaultOpen:a,onOpenChange:c,modal:d=!0}=e,s=ej(t),f=(0,u.useRef)(null),[p=!1,m]=(0,i.T)({prop:l,defaultProp:a,onChange:c});return(0,u.createElement)(eq,{scope:t,triggerId:(0,D.M)(),triggerRef:f,contentId:(0,D.M)(),open:p,onOpenChange:m,onOpenToggle:(0,u.useCallback)(()=>m(e=>!e),[m]),modal:d},(0,u.createElement)(eN,(0,o.Z)({},s,{open:p,onOpenChange:m,dir:r,modal:d}),n))},e9=eJ,e3=e=>{let{__scopeDropdownMenu:t,...n}=e,r=ej(t);return(0,u.createElement)(eB,(0,o.Z)({},r,n))},e8=eQ,te=e0,tt=e1,tn=e5,tr=e4,to=e2,tu=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:l,defaultOpen:a}=e,c=ej(t),[d=!1,s]=(0,i.T)({prop:r,defaultProp:a,onChange:l});return(0,u.createElement)(ez,(0,o.Z)({},c,{open:d,onOpenChange:s}),n)},tl=e6}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5135-8973b1169b0df56b.js b/ee/tabby-webserver/ui/_next/static/chunks/5135-8973b1169b0df56b.js new file mode 100644 index 000000000000..e0f8af6fc8c8 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/5135-8973b1169b0df56b.js @@ -0,0 +1,10 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5135],{50348:function(e,r,t){"use strict";function n(){for(var e,r,t=0,n="";ti.useContext(a),u={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},c=(e,r)=>e===r||!(!e||!r||e.key!==r.key),d=(e,r)=>{var t={...e,...r,data:void 0!==r.data||r.error?r.data:e.data,fetching:!!r.fetching,stale:!!r.stale};return((e,r)=>{for(var t in e)if(!(t in r))return!0;for(var n in r)if("operation"===n?!c(e[n],r[n]):e[n]!==r[n])return!0;return!1})(e,t)?t:e},f=(e,r)=>{for(var t=0,n=r.length;t(s({...u,fetching:!0}),(0,o.Vi)((0,o.qn)(1)((0,o.hX)(e=>!e.hasNext)((0,o.Mq)(e=>{r.current&&s({fetching:!1,stale:e.stale,data:e.data,error:e.error,extensions:e.extensions,operation:e.operation})})(t.executeMutation((0,n.h)(e,i),a||{})))))),[t,e,s]);return i.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),[a,c]}i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var v=e=>{if(!e._react){var r=new Set,t=new Map;e.operations$&&(0,o.Ld)(e=>{"teardown"===e.kind&&r.has(e.key)&&(r.delete(e.key),t.delete(e.key))})(e.operations$),e._react={get:e=>t.get(e),set(e,n){r.delete(e),t.set(e,n)},dispose(e){r.add(e)}}}return e._react},h=(e,r)=>r&&void 0!==r.suspense?!!r.suspense:e.suspense;function y(e){var r,t,a,s=l(),c=v(s),p=h(s,e.context),y=(r=e.query,t=e.variables,a=i.useRef(void 0),i.useMemo(()=>{var e=(0,n.h)(r,t);return void 0!==a.current&&a.current.key===e.key?a.current:(a.current=e,e)},[r,t])),m=i.useMemo(()=>{if(e.pause)return null;var r=s.executeQuery(y,{requestPolicy:e.requestPolicy,...e.context});return p?(0,o.Mq)(e=>{c.set(y.key,e)})(r):r},[c,s,y,p,e.pause,e.requestPolicy,e.context]),g=i.useCallback((e,r)=>{if(!e)return{fetching:!1};var t=c.get(y.key);if(t){if(r&&null!=t&&"then"in t)throw t}else{var n,i=(0,o.Ld)(e=>{t=e,n&&n(t)})((0,o.oE)(()=>r&&!n||!t)(e));if(null==t&&r){var a=new Promise(e=>{n=e});throw c.set(y.key,a),a}i.unsubscribe()}return t||{fetching:!0}},[c,y]),b=[s,y,e.requestPolicy,e.context,e.pause],[w,k]=i.useState(()=>[m,d(u,g(m,p)),b]),x=w[1];return m!==w[0]&&f(w[2],b)&&k([m,x=d(w[1],g(m,p)),b]),i.useEffect(()=>{var e=w[0],r=w[2][1],t=!1,n=e=>{t=!0,k(r=>{var t=d(r[1],e);return r[1]!==t?[r[0],t,r[2]]:r})};if(e){var i=(0,o.Ld)(n)((0,o.ok)(()=>{n({fetching:!1})})(e));return t||n({fetching:!0}),()=>{c.dispose(r.key),i.unsubscribe()}}n({fetching:!1})},[c,w[0],w[2][1]]),[x,i.useCallback(r=>{var t={requestPolicy:e.requestPolicy,...e.context,...r};k(e=>[p?(0,o.Mq)(e=>{c.set(y.key,e)})(s.executeQuery(y,t)):s.executeQuery(y,t),e[1],b])},[s,c,y,p,e.requestPolicy,e.context,e.pause])]}},26566:function(e,r,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var r,t=1,n=arguments.length;t1)for(var t=1;t!(!e||!e.length),T={OperationDefinition(e){if("query"===e.operation&&!e.name&&!C(e.variableDefinitions)&&!C(e.directives))return T.SelectionSet(e.selectionSet);var r=e.operation;return e.name&&(r+=" "+e.name.value),C(e.variableDefinitions)&&(e.name||(r+=" "),r+="("+e.variableDefinitions.map(T.VariableDefinition).join(", ")+")"),C(e.directives)&&(r+=" "+e.directives.map(T.Directive).join(" ")),r+" "+T.SelectionSet(e.selectionSet)},VariableDefinition(e){var r=T.Variable(e.variable)+": "+q(e.type);return e.defaultValue&&(r+=" = "+q(e.defaultValue)),C(e.directives)&&(r+=" "+e.directives.map(T.Directive).join(" ")),r},Field(e){var r=(e.alias?e.alias.value+": ":"")+e.name.value;if(C(e.arguments)){var t=e.arguments.map(T.Argument),n=r+"("+t.join(", ")+")";r=n.length>80?r+"(\n "+t.join("\n").replace(/\n/g,"\n ")+"\n)":n}return C(e.directives)&&(r+=" "+e.directives.map(T.Directive).join(" ")),e.selectionSet?r+" "+T.SelectionSet(e.selectionSet):r},StringValue:e=>e.block?'"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""':JSON.stringify(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(q).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(T.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+q(e.value),Document:e=>C(e.definitions)?e.definitions.map(q).join("\n\n"):"",SelectionSet:e=>"{\n "+e.selections.map(q).join("\n").replace(/\n/g,"\n ")+"\n}",Argument:e=>e.name.value+": "+q(e.value),FragmentSpread(e){var r="..."+e.name.value;return C(e.directives)&&(r+=" "+e.directives.map(T.Directive).join(" ")),r},InlineFragment(e){var r="...";return e.typeCondition&&(r+=" on "+e.typeCondition.name.value),C(e.directives)&&(r+=" "+e.directives.map(T.Directive).join(" ")),r+" "+q(e.selectionSet)},FragmentDefinition(e){var r="fragment "+e.name.value;return r+=" on "+e.typeCondition.name.value,C(e.directives)&&(r+=" "+e.directives.map(T.Directive).join(" ")),r+" "+q(e.selectionSet)},Directive(e){var r="@"+e.name.value;return C(e.arguments)&&(r+="("+e.arguments.map(T.Argument).join(", ")+")"),r},NamedType:e=>e.name.value,ListType:e=>"["+q(e.type)+"]",NonNullType:e=>q(e.type)+"!"};function q(e){return T[e.kind]?T[e.kind](e):""}},13428:function(e,r,t){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var r=1;re.forEach(e=>{"function"==typeof e?e(r):null!=e&&(e.current=r)})}function o(...e){return(0,n.useCallback)(i(...e),e)}},67256:function(e,r,t){"use strict";t.d(r,{A4:function(){return l},g7:function(){return a}});var n=t(13428),i=t(2265),o=t(42210);let a=(0,i.forwardRef)((e,r)=>{let{children:t,...o}=e,a=i.Children.toArray(t),l=a.find(u);if(l){let e=l.props.children,t=a.map(r=>r!==l?r:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(s,(0,n.Z)({},o,{ref:r}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,t):null)}return(0,i.createElement)(s,(0,n.Z)({},o,{ref:r}),t)});a.displayName="Slot";let s=(0,i.forwardRef)((e,r)=>{let{children:t,...n}=e;return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{...function(e,r){let t={...r};for(let n in r){let i=e[n],o=r[n],a=/^on[A-Z]/.test(n);a?i&&o?t[n]=(...e)=>{o(...e),i(...e)}:i&&(t[n]=i):"style"===n?t[n]={...i,...o}:"className"===n&&(t[n]=[i,o].filter(Boolean).join(" "))}return{...e,...t}}(n,t.props),ref:r?(0,o.F)(r,t.ref):t.ref}):i.Children.count(t)>1?i.Children.only(null):null});s.displayName="SlotClone";let l=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function u(e){return(0,i.isValidElement)(e)&&e.type===l}},34084:function(e,r,t){"use strict";t.d(r,{a:function(){return T},b:function(){return C},d:function(){return q},e:function(){return M},f:function(){return K},h:function(){return O},i:function(){return f},k:function(){return N}});var n=t(75532),i=t(81474),o=e=>e&&e.message&&(e.extensions||"GraphQLError"===e.name)?e:"object"==typeof e&&e.message?new n.__(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new n.__(e);class a extends Error{constructor(e){var r=(e.graphQLErrors||[]).map(o),t=((e,r)=>{var t="";if(e)return`[Network] ${e.message}`;if(r)for(var n of r)t&&(t+="\n"),t+=`[GraphQL] ${n.message}`;return t})(e.networkError,r);super(t),this.name="CombinedError",this.message=t,this.graphQLErrors=r,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var s=(e,r)=>{for(var t=0|(r||5381),n=0,i=0|e.length;n{if(null===e||l.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return c(e.toJSON());if(Array.isArray(e)){var r="[";for(var t of e)r.length>1&&(r+=","),r+=c(t)||"null";return r+"]"}if(v!==p&&e instanceof v||h!==p&&e instanceof h)return"null";var n=Object.keys(e).sort();if(!n.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var i=u.get(e)||Math.random().toString(36).slice(2);return u.set(e,i),c({__key:i})}l.add(e);var o="{";for(var a of n){var s=c(e[a]);s&&(o.length>1&&(o+=","),o+=c(a)+":"+s)}return l.delete(e),o+"}"},d=(e,r,t)=>{if(null==t||"object"!=typeof t||t.toJSON||l.has(t));else if(Array.isArray(t))for(var n=0,i=t.length;n(l.clear(),c(e));class p{}var v="undefined"!=typeof File?File:p,h="undefined"!=typeof Blob?Blob:p,y=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,m=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,g=(e,r)=>r%2==0?e.replace(m,"\n"):e,b=e=>e.split(y).map(g).join("").trim(),w=new Map,k=new Map,x=e=>{var r;return"string"==typeof e?r=b(e):e.loc&&k.get(e.__key)===e?r=e.loc.source.body:(r=w.get(e)||b((0,n.S0)(e)),w.set(e,r)),"string"==typeof e||e.loc||(e.loc={start:0,end:r.length,source:{body:r,name:"gql",locationOffset:{line:1,column:1}}}),r},_=e=>{var r=s(x(e));if(e.definitions){var t=S(e);t&&(r=s(` +# ${t}`,r))}return r},N=e=>{var r,t;return"string"==typeof e?(r=_(e),t=k.get(r)||(0,n.Qc)(e,{noLocation:!0})):(r=e.__key||_(e),t=k.get(r)||e),t.loc||x(t),t.__key=r,k.set(r,t),t},O=(e,r,t)=>{var n=r||{},i=N(e),o=f(n),a=i.__key;return"{}"!==o&&(a=s(o,a)),{key:a,query:i,variables:n,extensions:t}},S=e=>{for(var r of e.definitions)if(r.kind===n.hY.OPERATION_DEFINITION)return r.name?r.name.value:void 0},E=(e,r,t)=>{if(!("data"in r||"errors"in r&&Array.isArray(r.errors)))throw Error("No Content");var n="subscription"===e.kind;return{operation:e,data:r.data,error:Array.isArray(r.errors)?new a({graphQLErrors:r.errors,response:t}):void 0,extensions:r.extensions?{...r.extensions}:void 0,hasNext:null==r.hasNext?n:r.hasNext,stale:!1}},I=(e,r)=>{if("object"==typeof e&&null!=e&&(!e.constructor||e.constructor===Object||Array.isArray(e))){for(var t of(e=Array.isArray(e)?[...e]:{...e},Object.keys(r)))e[t]=I(e[t],r[t]);return e}return r},A=(e,r,t,n)=>{var i=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!r.extensions,s={...e.extensions,...r.extensions},l=r.incremental;"path"in r&&(l=[r]);var u={data:e.data};if(l){var c=function(e){Array.isArray(e.errors)&&i.push(...e.errors),e.extensions&&(Object.assign(s,e.extensions),o=!0);var r="data",t=u,a=[];if(e.path)a=e.path;else if(n){var l=n.find(r=>r.id===e.id);a=e.subPath?[...l.path,...e.subPath]:l.path}for(var c=0,d=a.length;c=0?r:0,p=0,v=e.items.length;p({operation:e,data:void 0,error:new a({networkError:r,response:t}),extensions:void 0,hasNext:!1,stale:!1});function T(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:x(e.query),operationName:S(e.query),variables:e.variables||void 0,extensions:e.extensions}}var q=(e,r)=>{var t="query"===e.kind&&e.context.preferGetMethod;if(!t||!r)return e.context.url;var n=new URL(e.context.url);for(var i in r){var o=r[i];o&&n.searchParams.set(i,"object"==typeof o?f(o):o)}var a=n.toString();return a.length>2047&&"force"!==t?(e.context.preferGetMethod=!1,e.context.url):a},j=(e,r)=>{if(r&&!("query"===e.kind&&e.context.preferGetMethod)){var t,n,i=f(r),o=(t=r.variables,n=new Map,(v!==p||h!==p)&&(l.clear(),d(n,"variables",t)),n);if(o.size){var a=new FormData;a.append("operations",i),a.append("map",f({...[...o.keys()].map(e=>[e])}));var s=0;for(var u of o.values())a.append(""+s++,u);return a}return i}},M=(e,r)=>{var t={accept:"subscription"===e.kind?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},n=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(n.headers)for(var i in n.headers)t[i.toLowerCase()]=n.headers[i];var o=j(e,r);return"string"!=typeof o||t["content-type"]||(t["content-type"]="application/json"),{...n,method:o?"POST":"GET",body:o,headers:t}},P="undefined"!=typeof TextDecoder?new TextDecoder:null,D=/boundary="?([^=";]+)"?/i,V=/data: ?([^\n]+)/,F=e=>"Buffer"===e.constructor.name?e.toString():P.decode(e);async function*L(e){if(e.body[Symbol.asyncIterator])for await(var r of e.body)yield F(r);else{var t,n=e.body.getReader();try{for(;!(t=await n.read()).done;)yield F(t.value)}finally{n.cancel()}}}async function*R(e,r){var t,n="";for await(var i of e)for(n+=i;(t=n.indexOf(r))>-1;)yield n.slice(0,t),n=n.slice(t+r.length)}async function*z(e,r,t){var n=!0,i=null;try{yield await Promise.resolve();var o,a,s=(o=await (e.context.fetch||fetch)(r,t)).headers.get("Content-Type")||"";for await(var l of/multipart\/mixed/i.test(s)?async function*(e,r){var t,n=e.match(D),i="--"+(n?n[1]:"-"),o=!0;for await(var a of R(L(r),"\r\n"+i)){if(o){o=!1;var s=a.indexOf(i);if(!(s>-1))continue;a=a.slice(s+i.length)}try{yield t=JSON.parse(a.slice(a.indexOf("\r\n\r\n")+4))}catch(e){if(!t)throw e}if(t&&!1===t.hasNext)break}t&&!1!==t.hasNext&&(yield{hasNext:!1})}(s,o):/text\/event-stream/i.test(s)?async function*(e){var r;for await(var t of R(L(e),"\n\n")){var n=t.match(V);if(n){var i=n[1];try{yield r=JSON.parse(i)}catch(e){if(!r)throw e}if(r&&!1===r.hasNext)break}}r&&!1!==r.hasNext&&(yield{hasNext:!1})}(o):/text\//i.test(s)?async function*(e){var r=await e.text();try{var t=JSON.parse(r);yield t}catch(e){throw Error(r)}}(o):async function*(e){yield JSON.parse(await e.text())}(o))l.pending&&!i?a=l.pending:l.pending&&(a=[...a,...l.pending]),i=i?A(i,l,o,a):E(e,l,o),n=!1,yield i,n=!0;i||(yield i=E(e,{},o))}catch(r){if(!n)throw r;yield C(e,o&&(o.status<200||o.status>=300)&&o.statusText?Error(o.statusText):r,o)}}function K(e,r,t){var n;return"undefined"!=typeof AbortController&&(t.signal=(n=new AbortController).signal),(0,i.ok)(()=>{n&&n.abort()})((0,i.hX)(e=>!!e)((0,i.fY)(z(e,r,t))))}},18398:function(e,r,t){"use strict";t.d(r,{Ek:function(){return p},KU:function(){return y},nZ:function(){return l},vx:function(){return d}});var n=t(75532),i=t(34084),o=t(81474),a=e=>{if("definitions"in e){var r=[];for(var t of e.definitions){var i=a(t);r.push(i)}return{...e,definitions:r}}if("directives"in e&&e.directives&&e.directives.length){var o=[],s={};for(var l of e.directives){var u=l.name.value;"_"!==u[0]?o.push(l):u=u.slice(1),s[u]=l}e={...e,directives:o,_directives:s}}if("selectionSet"in e){var c=[],d=e.kind===n.hY.OPERATION_DEFINITION;if(e.selectionSet){for(var f of e.selectionSet.selections||[]){d=d||f.kind===n.hY.FIELD&&"__typename"===f.name.value&&!f.alias;var p=a(f);c.push(p)}return d||c.push({kind:n.hY.FIELD,name:{kind:n.hY.NAME,value:"__typename"},_generated:!0}),{...e,selectionSet:{...e.selectionSet,selections:c}}}}return e},s=new Map,l=e=>{var r=(0,i.k)(e),t=s.get(r.__key);return t||(s.set(r.__key,t=a(r)),Object.defineProperty(t,"__key",{value:r.__key,enumerable:!1})),t},u=(e,r)=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>u(e));if(!e||"object"!=typeof e||!r&&!("__typename"in e))return e;var t={};for(var n in e)"__typename"===n?Object.defineProperty(t,"__typename",{enumerable:!1,value:e.__typename}):t[n]=u(e[n]);return t};function c(e){var r=r=>e(r);return r.toPromise=()=>(0,o.Vi)((0,o.qn)(1)((0,o.hX)(e=>!e.stale&&!e.hasNext)(r))),r.then=(e,t)=>r.toPromise().then(e,t),r.subscribe=e=>(0,o.Ld)(e)(r),r}function d(e,r,t){return{...r,kind:e,context:r.context?{...r.context,...t}:t||r.context}}var f=()=>{},p=({forward:e,dispatchDebug:r})=>r=>{var t=(0,o.zg)(e=>{var t=(0,i.a)(e),n=(0,i.d)(e,t),a=(0,i.e)(e,t);return(0,o.Rs)((0,o.hX)(r=>"teardown"===r.kind&&r.key===e.key)(r))((0,i.f)(e,n,a))})((0,o.hX)(e=>"teardown"!==e.kind&&("subscription"!==e.kind||!!e.context.fetchSubscriptions))(r)),n=e((0,o.hX)(e=>"teardown"===e.kind||"subscription"===e.kind&&!e.context.fetchSubscriptions)(r));return(0,o.TS)([t,n])},v=e=>({client:r,forward:t,dispatchDebug:n})=>e.reduceRight((e,t)=>t({client:r,forward:r=>(0,o.BN)(e((0,o.BN)(r))),dispatchDebug(e){}}),t),h=({dispatchDebug:e})=>e=>(0,o.hX)(e=>!1)(e),y=function e(r){var t=0,n=new Map,a=new Map,s=new Set,l=[],p={url:r.url,fetchSubscriptions:r.fetchSubscriptions,fetchOptions:r.fetchOptions,fetch:r.fetch,preferGetMethod:r.preferGetMethod,requestPolicy:r.requestPolicy||"cache-first"},y=(0,o.nN)();function m(e){"mutation"!==e.kind&&"teardown"!==e.kind&&s.has(e.key)||("teardown"===e.kind?s.delete(e.key):"mutation"!==e.kind&&s.add(e.key),y.next(e))}var g=!1;function b(e){if(e&&m(e),!g){for(g=!0;g&&(e=l.shift());)m(e);g=!1}}var w=e=>{var t=(0,o.Rs)((0,o.hX)(r=>"teardown"===r.kind&&r.key===e.key)(y.source))((0,o.hX)(r=>r.operation.kind===e.kind&&r.operation.key===e.key&&(!r.operation.context._instance||r.operation.context._instance===e.context._instance))(_));return r.maskTypename&&(t=(0,o.UI)(e=>({...e,data:u(e.data,!0)}))(t)),t="query"!==e.kind?(0,o.oE)(e=>!!e.hasNext,!0)(t):(0,o.wt)(r=>{var t=(0,o._A)(r);return r.stale||r.hasNext?t:(0,o.TS)([t,(0,o.UI)(()=>(r.stale=!0,r))((0,o.qn)(1)((0,o.hX)(r=>r.key===e.key)(y.source)))])})(t),t="mutation"!==e.kind?(0,o.ok)(()=>{s.delete(e.key),n.delete(e.key),a.delete(e.key),g=!1;for(var r=l.length-1;r>=0;r--)l[r].key===e.key&&l.splice(r,1);m(d("teardown",e,e.context))})((0,o.Mq)(r=>{if(r.stale){for(var t of l)if(t.key===r.operation.key){s.delete(t.key);break}}else r.hasNext||s.delete(e.key);n.set(e.key,r)})(t)):(0,o.Hr)(()=>{m(e)})(t),(0,o.BN)(t)},k=Object.assign(this instanceof e?this:Object.create(e.prototype),{suspense:!!r.suspense,operations$:y.source,reexecuteOperation(e){if("teardown"===e.kind)b(e);else if("mutation"===e.kind||a.has(e.key)){for(var r=!1,t=0;t(n||(n={}),d(e,r,{_instance:"mutation"===e?t=t+1|0:void 0,...p,...n,requestPolicy:n.requestPolicy||p.requestPolicy,suspense:n.suspense||!1!==n.suspense&&k.suspense})),executeRequestOperation:e=>"mutation"===e.kind?c(w(e)):c((0,o.Vo)(()=>{var r=a.get(e.key);r||a.set(e.key,r=w(e)),r=(0,o.Hr)(()=>{b(e)})(r);var t=n.get(e.key);return"query"===e.kind&&t&&(t.stale||t.hasNext)?(0,o.wt)(o._A)((0,o.TS)([r,(0,o.hX)(r=>r===n.get(e.key))((0,o._A)(t))])):r})),executeQuery(e,r){var t=k.createRequestOperation("query",e,r);return k.executeRequestOperation(t)},executeSubscription(e,r){var t=k.createRequestOperation("subscription",e,r);return k.executeRequestOperation(t)},executeMutation(e,r){var t=k.createRequestOperation("mutation",e,r);return k.executeRequestOperation(t)},readQuery(e,r,t){var n=null;return(0,o.Ld)(e=>{n=e})(k.query(e,r,t)).unsubscribe(),n},query:(e,r,t)=>k.executeQuery((0,i.h)(e,r),t),subscription:(e,r,t)=>k.executeSubscription((0,i.h)(e,r),t),mutation:(e,r,t)=>k.executeMutation((0,i.h)(e,r),t)}),x=v(r.exchanges),_=(0,o.BN)(x({client:k,dispatchDebug:f,forward:h({dispatchDebug:f})})(y.source));return(0,o.nY)(_),k}},69166:function(e,r,t){"use strict";t.d(r,{M:function(){return s}});var n=t(81474),i=t(18398),o=t(34084),a=(e,r)=>(0,i.vx)(e.kind,e,{...e.context,authAttempt:r});function s(e){return({client:r,forward:t})=>{var s,l=new Set,u=(0,n.nN)(),c=(0,n.nN)(),d=new Map;function f(){s=void 0;var e=d;d=new Map,e.forEach(u.next)}function p(e){s=void 0;var r=d;d=new Map,r.forEach(r=>{c.next((0,o.b)(r,e))})}var v=null;return h=>{function y(){s=Promise.resolve().then(()=>e({mutate(e,t,i){var a=r.createRequestOperation("mutation",(0,o.h)(e,t),i);return(0,n.Vi)((0,n.qn)(1)((0,n.hX)(e=>e.operation.key===a.key&&a.context._instance===e.operation.context._instance)((0,n.Hr)(()=>{var e=g(a);l.add(e.context._instance),u.next(e)})(b))))},appendHeaders(e,r){var t="function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions||{};return(0,i.vx)(e.kind,e,{...e.context,fetchOptions:{...t,headers:{...t.headers,...r}}})}})).then(e=>{e&&(v=e),f()}).catch(e=>{p(e)})}function m(e){d.set(e.key,a(e,!0)),v&&!s&&(s=v.refreshAuth().then(f).catch(p))}function g(e){return v?v.addAuthToOperation(e):e}y();var b=t((0,n.hX)(Boolean)((0,n.UI)(e=>"teardown"===e.kind?(d.delete(e.key),e):e.context._instance&&l.has(e.context._instance)?e:e.context.authAttempt?g(e):s||!v?(s||y(),d.has(e.key)||d.set(e.key,a(e,!1)),null):!e.context.authAttempt&&v&&v.willAuthError&&v.willAuthError(e)?(m(e),null):g(a(e,!1)))((0,n.TS)([u.source,h]))));return(0,n.TS)([c.source,(0,n.hX)(e=>!l.has(e.operation.context._instance)&&e.error&&v&&v.didAuthError&&v.didAuthError(e.error,e.operation)&&!e.operation.context.authAttempt?(m(e.operation),!1):(l.has(e.operation.context._instance)&&l.delete(e.operation.context._instance),!0))(b)])}}}},83074:function(e,r,t){"use strict";t.d(r,{N:function(){return c}});var n=t(34084),i={__typename:"PageInfo",endCursor:null,startCursor:null,hasNextPage:!1,hasPreviousPage:!1},o=e=>"string"==typeof e?e:null,a=(e,r,t)=>{for(var n=new Set,i=0,o=r.length;i{for(var t=new Set,n=0,i=e.length;n{for(var t in r)if("first"!==t&&"last"!==t&&"after"!==t&&"before"!==t){if(!(t in e))return!1;var i=e[t],o=r[t];if(typeof i!=typeof o||"object"!=typeof i?i!==o:(0,n.i)(i)!==(0,n.i)(o))return!1}for(var a in e)if("first"!==a&&"last"!==a&&"after"!==a&&"before"!==a&&!(a in r))return!1;return!0},u=(e,r,t)=>{var n=o(e.resolve(r,t));if(!n)return null;var a=e.resolve(n,"__typename"),s=e.resolve(n,"edges")||[],l=e.resolve(n,"nodes")||[];if("string"!=typeof a)return null;var u={__typename:a,edges:s,nodes:l,pageInfo:i},c=e.resolve(n,"pageInfo");if("string"==typeof c){var d=o(e.resolve(c,"__typename")),f=o(e.resolve(c,"endCursor")),p=o(e.resolve(c,"startCursor")),v=e.resolve(c,"hasNextPage"),h=e.resolve(c,"hasPreviousPage"),y=u.pageInfo={__typename:"string"==typeof d?d:"PageInfo",hasNextPage:"boolean"==typeof v?v:!!f,hasPreviousPage:"boolean"==typeof h?h:!!p,endCursor:f,startCursor:p};if(null===y.endCursor){var m=s[s.length-1];if(m){var g=e.resolve(m,"cursor");y.endCursor=o(g)}}if(null===y.startCursor){var b=s[0];if(b){var w=e.resolve(b,"cursor");y.startCursor=o(w)}}}return u},c=(e={})=>{var r=e.mergeMode||"inwards";return(e,t,n,c)=>{var{parentKey:d,fieldName:f}=c,p=n.inspectFields(d).filter(e=>e.fieldName===f),v=p.length;if(0!==v){for(var h=null,y=[],m=[],g=[],b=[],w={...i},k=0;ke._directives||l,c=e=>e.name.value,d=e=>e.typeCondition.name.value,f=e=>e.alias?e.alias.value:e.name.value,p=[],v=e=>e.selectionSet?e.selectionSet.selections:p,h=e=>e.typeCondition?e.typeCondition.name.value:null,y=(e,r)=>{var t=null;if(e.arguments)for(var n=0,i=e.arguments.length;n{if(r&&e.variableDefinitions){for(var t={},n=0,i=e.variableDefinitions.length;n{var t={};if(!r)return t;if(e.variableDefinitions)for(var n=0,i=e.variableDefinitions.length;n{for(var r={},t=0;t{var t=u(e);if(t.include||t.skip)for(var n in t){var i=t[n];if(i&&("include"===n||"skip"===n)&&i.arguments&&i.arguments[0]&&"if"===c(i.arguments[0])){var a=(0,o.Mq)(i.arguments[0].value,r);return"include"===n?!!a:!a}}return!0},x=(e,r)=>{var{defer:t}=u(e);if(t){for(var n of t.arguments||[])if("if"===c(n))return!!(0,o.Mq)(n.value,r);return!0}return!1},_=(e,r,t,n)=>{var i=S(e,r,t,n);return!!i&&"NON_NULL"!==i.type.kind},N=(e,r,t,n)=>{var i=S(e,r,t,n);if(!i)return!1;var o="NON_NULL"===i.type.kind?i.type.ofType:i.type;return"LIST"===o.kind&&"NON_NULL"!==o.ofType.kind},O=(e,r,t)=>{if(!t)return!1;var n=h(r);return!n||t===n||(e.types.has(n)&&"OBJECT"===e.types.get(n).kind?n===t:(s(e.types.has(n)&&("INTERFACE"===e.types.get(n).kind||"UNION"===e.types.get(n).kind),"",5),E(e,t),e.isSubType(n,t)))},S=(e,r,t,n)=>{if(0!==t.indexOf("__")&&0!==r.indexOf("__"))return E(e,r),e.types.get(r).fields()[t]};function E(e,r){s(e.types.has(r)&&"OBJECT"===e.types.get(r).kind,"",3)}var I=(e,r)=>r?`${e}(${(0,n.i)(r)})`:e,A=(e,r)=>`${e}.${r}`,C=e=>{var r=e.indexOf("(");return r>-1?{fieldKey:e,fieldName:e.slice(0,r),arguments:JSON.parse(e.slice(r+1,-1))}:{fieldKey:e,fieldName:e,arguments:null}},T=e=>{var r=e.indexOf(".");return{entityKey:e.slice(0,r).replace(/%2e/g,"."),fieldKey:e.slice(r+1)}},q=null,j=null,M=null,P=null,D=null,V=null,F=!1,L=!1;function R(e,r){var t;if(e){if(q.has(e))return e;t=j.get(e)}return null==t&&(t=r?[]:{}),e&&j.set(e,t),q.add(t),t}var z=e=>!!e&&q.has(e),K=(e,r,t,n,i)=>{q=new WeakSet,j=new WeakMap,D=e,M=r,V=new Set,L=!!n,F=!!i,t?"read"===D?P=t:n||r.hydrating||r.optimisticOrder.length>1?(n||r.commutativeKeys.has(t)?n&&(-1===r.optimisticOrder.indexOf(t)||r.commutativeKeys.has(t)||r.optimisticOrder.splice(r.optimisticOrder.indexOf(t),1),r.commutativeKeys.delete(t)):ei(r,t),P=t,eo(r,t)):(P=null,es(r,t)):P=null},$=()=>{var e=M,r=P;if(L=!1,P=null,!e.hydrating&&r&&e.optimisticOrder.indexOf(r)>-1)for(var t=e.optimisticOrder.length;--t>=0&&e.dirtyKeys.has(e.optimisticOrder[t])&&e.commutativeKeys.has(e.optimisticOrder[t]);)el(e.optimisticOrder[t]);q=null,j=null,D=null,M=null,V=null,e.defer||!e.storage&&e.optimisticOrder.length||(e.defer=!0,setTimeout(()=>{K("read",e,null),Y(),ec(),$(),e.defer=!1}))},G=(e,r,t)=>{r&&!t&&e.deferredKeys.delete(r),K("write",e,r,t),$()},U=(e,r,t,n)=>{var i=P?e.optimistic.get(P):e.base,o=i.get(r);void 0===o&&i.set(r,o=Object.create(null)),void 0!==n||P?o[t]=n:delete o[t]},B=(e,r,t)=>{for(var n,i=!L&&"read"===D&&P&&M.commutativeKeys.has(P),o=0,a=M.optimisticOrder.length;o{if(Array.isArray(e))for(var t,n,i=0,o=e.length;i0?t+r:0,M.refCount.set(e,n),n?!t&&n&&M.gc.delete(e):M.gc.add(e))},J=(e,r,t)=>{if(void 0!==t)for(var n in t)r.has(n)||(e.push(C(n)),r.add(n))},X=(e,r,t,n)=>{J(e,r,n.base.get(t));for(var i=0,o=M.optimisticOrder.length;i{if(!M.optimisticOrder.length){for(var e of M.gc.keys())if(M.gc.delete(e),!((M.refCount.get(e)||0)>0)){M.refCount.delete(e),M.records.base.delete(e);var r=M.links.base.get(e);if(r)for(var t in M.links.base.delete(e),r)Q(r[t],-1)}}},Z=(e,r)=>{e!==M.queryRootKey?V.add(e):void 0!==r&&"__typename"!==r&&V.add(A(e,r))},W=(e,r)=>{!L&&M.storage&&M.persist.add(`${e.replace(/\./g,"%2e")}.${r}`)},H=(e,r)=>(Z(e,r),B(M.records,e,r)),ee=(e,r)=>(Z(e,r),B(M.links,e,r)),er=(e,r,t)=>{Z(e,r),W(e,r),U(M.records,e,r,t)},et=(e,r)=>void 0!==H(e,r)||void 0!==ee(e,r),en=(e,r,t)=>{var n=P?M.links.optimistic.get(P):M.links.base;if(!P){var i=n&&n.get(e);Q(i&&i[r],-1),Q(t,1)}Z(e,r),W(e,r),U(M.links,e,r,t)},ei=(e,r,t)=>{var n=e.optimisticOrder.indexOf(r);if(n>-1&&e.optimisticOrder.splice(n,1),t)for(e.deferredKeys.add(r),n=n>-1?n:0;n-1&&!e.commutativeKeys.has(r)&&ea(e,r),n=0;e.optimisticOrder.splice(n,0,r),e.commutativeKeys.add(r)},eo=(e,r)=>{-1===e.optimisticOrder.indexOf(r)&&e.optimisticOrder.unshift(r),e.dirtyKeys.has(r)||(e.dirtyKeys.add(r),e.links.optimistic.set(r,new Map),e.records.optimistic.set(r,new Map))},ea=(e,r)=>{e.dirtyKeys.has(r)&&(e.dirtyKeys.delete(r),e.records.optimistic.delete(r),e.links.optimistic.delete(r),e.deferredKeys.delete(r))},es=(e,r)=>{var t=e.optimisticOrder.indexOf(r);t>-1&&(e.optimisticOrder.splice(t,1),e.commutativeKeys.delete(r)),ea(e,r)},el=e=>{var r=V;V=new Set,D="write";var t=M.links.optimistic.get(e);if(t)for(var n of t.entries()){var i=n[0],o=n[1];for(var a in o)en(i,a,o[a])}var s=M.records.optimistic.get(e);if(s)for(var l of s.entries()){var u=l[0],c=l[1];for(var d in c)er(u,d,c[d])}V=r,es(M,e)},eu=e=>{var{links:r,records:t}=M,n=[],i=new Set;return Z(e),X(n,i,e,r),X(n,i,e,t),n},ec=()=>{if(M.storage){L=!0,D="read";var e={};for(var r of M.persist.keys()){var{entityKey:t,fieldKey:i}=T(r),o=void 0;void 0!==(o=ee(t,i))?e[r]=`:${(0,n.i)(o)}`:void 0!==(o=H(t,i))?e[r]=(0,n.i)(o):e[r]=void 0}L=!1,M.storage.writeData(e),M.persist.clear()}},ed=null,ef=!1,ep=e=>e.__internal.path.length>0&&e.__internal.errorMap?e.__internal.errorMap[e.__internal.path.join(".")]:void 0,ev=(e,r,t,n,i,o)=>{var a={store:e,variables:r,fragments:t,parent:{__typename:n},parentTypeName:n,parentKey:i,parentFieldKey:"",fieldName:"",error:void 0,partial:!1,hasNext:!1,optimistic:L,__internal:{path:[],errorMap:void 0}};if(o&&o.graphQLErrors)for(var s=0;s{ed=e,e.parent=r,e.parentTypeName=t,e.parentKey=n,e.parentFieldKey=i,e.fieldName=o,e.error=ep(e)},ey=(e,r,t,n,i)=>{if(!r)return!1;var a=h(e);return!a||r===a||"write"===D||!v(e).some(e=>e.kind===o.hY.FIELD&&!et(t,I(c(e),y(e,n))))},em=(e,r,t,n,i)=>{var a,s=0;return function(){for(var l;a||snull==e?null:e,eb=(e,r)=>{if(!r)return r||null;if(Array.isArray(r)){for(var t=Array(r.length),n=0,i=t.length;n{var o=(0,i.nZ)(r.query),a=b(o),s=e.rootFields[a.operation],l=v(a),u=ev(e,g(a,r.variables),w(o),s,s,n),c=s!==u.store.rootFields.query?ek(u,s,l,t||R()):e_(u,s,l,t||R());return{dependencies:V,partial:u.partial||!c,hasNext:u.hasNext,data:c||null}},ek=(e,r,t,n)=>{if("string"!=typeof(e.store.rootNames[r]?r:n.__typename))return n;for(var i,o=em(r,r,ef,t,e),a=F,s=R(n);i=o();){var l=f(i),u=n[l];e.__internal.path.push(l);var c=void 0;c=i.selectionSet&&null!==u?ex(e,v(i),eg(u)):u,a=a||c!==u,void 0!==c&&(s[l]=c),e.__internal.path.pop()}return a?s:n},ex=(e,r,t)=>{if(Array.isArray(t)){for(var n=Array(t.length),i=F,o=0,a=t.length;o{var o,{store:a}=e,s=r===a.rootFields.query,l=i&&a.keyOfEntity(i)||r,d=s?r:H(l,"__typename")||i&&i.__typename;if("string"==typeof d&&(!i||d===i.__typename)){for(var p=em(d,l,ef,t,e),h=!1,m=!1,g=F,b=e.partial,w=R(n);void 0!==(o=p());){var k=c(o),x=y(o,e.variables),N=f(o),O=u(o),S=function(e,r,t,n){var i,o=n.store.resolvers[r],a=o&&o[t];for(var s in e){var l=e[s];if(l&&"include"!==s&&"skip"!==s&&n.store.directives[s])return n.store.directives[s](y(l,n.variables))}return i||a}(O,d,k,e),E=I(k,x),C=A(l,E),T=H(l,E),q=i?i[k]:void 0;e.__internal.path.push(N);var j=void 0;if("__typename"===k)j=d;else if(void 0!==q&&void 0===o.selectionSet)j=q;else if("read"===D&&S){var M=w;if(void 0===o.selectionSet&&void 0!==T&&(M={...w,[N]:T,[k]:T}),eh(e,M,d,l,E,k),j=S(M,x||{},a,e),o.selectionSet&&(j=eN(e,d,k,C,v(o),void 0!==w[N]?w[N]:n[N],j,z(n))),a.schema&&null===j&&!_(a.schema,d,k,e.store.logger))return}else if(o.selectionSet){if(void 0!==q)j=eN(e,d,k,C,v(o),void 0!==w[N]?w[N]:n[N],q,z(n));else{var P=ee(l,E);void 0!==P?j=eO(e,P,d,k,v(o),void 0!==w[N]?w[N]:n[N],z(n)):"object"==typeof T&&null!==T&&(j=T)}}else j=T;if(!ef&&void 0===j&&(O.optional||ep(e)||a.schema&&_(a.schema,d,k,e.store.logger))?(e.partial=!0,j=null):null===j&&O.required?(e.store.logger,j=void 0):h=h||"__typename"!==k,e.__internal.path.pop(),g=g||j!==n[N],void 0!==j)w[N]=j;else if(ef)m=!0;else{e.store.logger,e.partial=b;return}}return e.partial=e.partial||b,e.hasNext=e.hasNext||m,s&&e.partial&&!h?void 0:g?w:n}},eN=(e,r,t,n,i,o,a,s)=>{if(Array.isArray(a)){for(var{store:l}=e,u=!!l.schema&&N(l.schema,r,t,e.store.logger),c=e.partial,d=R(o,!0),f=F||!Array.isArray(o)||a.length!==o.length,p=0,v=a.length;p{if(Array.isArray(r)){for(var{store:s}=e,l=!!s.schema&&N(s.schema,t,n,e.store.logger),u=R(o,!0),c=e.partial,d=F||!Array.isArray(o)||r.length!==o.length,f=0,p=r.length;f"string"==typeof e||"object"==typeof e&&"string"==typeof e.__typename,eE=(e,r,t,n)=>{var o=(0,i.nZ)(r.query),a=b(o),s={data:t||R(),dependencies:V},l=e.rootFields[a.operation];return eI(ev(e,g(a,r.variables),w(o),l,l,n),l,v(a),s.data),s},eI=(e,r,t,n)=>{var i,o=e.store.rootNames[r]||"query",a=!!e.store.rootNames[r],s=a?r:n.__typename;if(!s&&r&&e.optimistic&&(s=H(r,"__typename")),s){!a&&r&&er(r,"__typename",s);for(var l=e.store.updates[s],u=em(s,r||s,ef,t,e);i=u();){var d=c(i),p=y(i,e.variables),h=I(d,p),m=f(i),g=n[e.optimistic?d:m];if("__typename"!==d&&(void 0!==g||!ef&&(!e.optimistic||"query"!==o))){e.__internal.path.push(m);var b=void 0;if(e.optimistic&&"mutation"===o){if(!(b=e.store.optimisticMutations[d]))continue}else e.optimistic&&"function"==typeof g&&(b=g);if(b&&(eh(e,n,s,r||s,h,d),g=eg(b(p||{},e.store,e))),void 0!==g){if(i.selectionSet){if(r&&"query"===o){var w=A(r,h),k=eA(e,v(i),eg(g),w,e.optimistic?ee(r||s,h):void 0);en(r||s,h,k)}else eA(e,v(i),eg(g))}else r&&"query"===o&&er(r||s,h,null===g&&ep(e)?void 0:g);var x=l&&l[d];x&&(eh(e,n,s,r||s,h,d),n[d]=g,x(n,p||{},e.store,e)),e.__internal.path.pop()}}}}},eA=(e,r,t,n,i)=>{if(Array.isArray(t)){for(var o=Array(t.length),a=0,s=t.length;a{var r=new Map,t=e=>{var r;return()=>{if(!r){r={};for(var t=0;t{switch(e.kind){case"OBJECT":case"INTERFACE":return{name:e.name,kind:e.kind,interfaces:t(e.interfaces||[]),fields:t(e.fields.map(e=>({name:e.name,type:e.type,args:t(e.args)})))};case"UNION":return{name:e.name,kind:e.kind,types:t(e.possibleTypes||[])}}},i={query:e.queryType?e.queryType.name:null,mutation:e.mutationType?e.mutationType.name:null,subscription:e.subscriptionType?e.subscriptionType.name:null,types:void 0,isSubType(e,t){var n=r.get(e),i=r.get(t);return!!n&&!!i&&("UNION"===n.kind?!!n.types()[t]:"OBJECT"!==n.kind&&"OBJECT"===i.kind?!!i.interfaces()[e]:e===t)}};if(e.types){i.types=r;for(var o=0;o{for(var n=r?[{fieldKey:I(r,t)}]:eu(e),i=0,o=n.length;i{var o,a=w(r);if(i){if(!(o=a[i]))return null}else if(!(o=a[Object.keys(a)[0]]))return null;var s=d(o);"string"==typeof t||t.__typename||(t.__typename=s);var l=e.keyOfEntity(t);return l&&e_(ev(e,n||{},a,s,l,void 0),l,v(o),R())||null})(this,(0,i.nZ)(e),r,t,n)}writeFragment(e,r,t,n){((e,r,t,n,i)=>{var o,a=w(r);if(i){if(!(o=a[i]))return}else if(!(o=a[Object.keys(a)[0]]))return;var s=d(o),l={__typename:s,...t},u=e.keyOfEntity(l);u&&eI(ev(e,n||{},a,s,u,void 0),u,v(o),l)})(this,(0,i.nZ)(e),r,t,n)}link(e,r,...t){var n=2===t.length?t[0]:null,i=2===t.length?t[1]:t[0],o=this.keyOfEntity(e);o&&en(o,I(r,n),eb(this,i))}}var eT=(e,r)=>(0,i.vx)(e.kind,e,{...e.context,requestPolicy:r}),eq=e=>({forward:r,client:t,dispatchDebug:n})=>{var o=new eC(e);e&&e.storage&&(o.data.hydrating=!0,e.storage.readData().then(r=>{((e,r,t)=>{for(var n in K("write",e,null),t){var i=t[n];if(void 0!==i){var{entityKey:o,fieldKey:a}=T(n);":"===i[0]?void 0===ee(o,a)&&en(o,a,JSON.parse(i.slice(1))):void 0===H(o,a)&&er(o,a,JSON.parse(i))}}e.storage=r,e.hydrating=!1,$()})(o.data,e.storage,r),e.storage.onCacheHydrated&&e.storage.onCacheHydrated()}));var s=new Map,l=[],u=new Map,c=new Map,d=new Set,f=new Set,p=new Map,v=new Set,h=new Set,y=e=>{for(var r of e.values())if(d.has(r))return!0;return!1},g=(e,r)=>{if(r)for(var t of r.values()){var n=p.get(t);if(n)for(var i of n.values())e.add(i)}},w=(e,r,n)=>{for(var i of r.values())if(i!==e.key){var o=u.get(i);if(o){"query"===e.kind&&h.add(i);var a="cache-first";f.has(i)&&(f.delete(i),a="cache-and-network"),t.reexecuteOperation(eT(o,a))}}if(!n){var s=v;"query"===e.kind&&(v=h).add(e.key),(h=s).clear()}},k=e=>{var r=!1;if("query"===e.kind)ei(o.data,e.key),u.set(e.key,e);else if("teardown"===e.kind)return u.delete(e.key),c.delete(e.key),v.delete(e.key),G(o.data,e.key),e;else if("mutation"===e.kind&&"network-only"!==e.context.requestPolicy){u.set(e.key,e),K("write",o.data,e.key,!0,!1);var{dependencies:t}=eE(o,e,void 0,void 0);if($(),t.size){for(var n of t.values())d.add(n);s.set(e.key,t);var a=new Set;g(a,t),w(e,a,!0),r=!0}}return(0,i.vx)(e.kind,{key:e.key,query:(0,i.nZ)(e.query),variables:e.variables?m(b(e.query),e.variables):e.variables},{...e.context,optimistic:r})},x=(e,r)=>{for(var t of r.values()){var n=p.get(t);n||p.set(t,n=new Set),n.add(e.key)}},_=e=>{K("read",o.data,void 0,!1,!1);var r=ew(o,e,c.get(e.key),void 0);$();var t=r.data?r.partial||r.hasNext?"partial":"hit":"miss";return c.set(e.key,r.data),u.set(e.key,e),x(e,r.dependencies),{outcome:t,operation:e,data:r.data,dependencies:r.dependencies,hasNext:r.hasNext}},N=(e,r)=>{var t,n=u.get(e.operation.key)||e.operation;"mutation"===n.kind&&(g(r,s.get(n.key)),s.delete(n.key)),("subscription"===n.kind||e.hasNext)&&ei(o.data,n.key,!0);var i=e.data;if(i){K("write",o.data,n.key,!1,!1);var a=eE(o,n,i,e.error).dependencies;$(),g(r,a);var l="query"===n.kind?c.get(n.key):null;K("read",o.data,n.key,!1,l!==i);var d=ew(o,n,l||i,e.error);$(),i=d.data,"query"===n.kind&&(g(r,t=d.dependencies),c.set(n.key,i))}else G(o.data,n.key);return t&&x(e.operation,t),{operation:n,data:i,error:e.error,extensions:e.extensions,hasNext:e.hasNext,stale:e.stale}};return e=>{var n=(0,a.BN)((0,a.UI)(_)((0,a.hX)(e=>"query"===e.kind&&"network-only"!==e.context.requestPolicy)(e))),i=(0,a.hX)(e=>"query"!==e.kind||"network-only"===e.context.requestPolicy)(e),c=(0,a.UI)(e=>e.operation)((0,a.hX)(e=>"miss"===e.outcome&&"cache-only"!==e.operation.context.requestPolicy&&!y(e.dependencies)&&!v.has(e.operation.key))(n)),p=(0,a.UI)(e=>{var{requestPolicy:r}=e.operation.context,n="cache-only"!==r&&(e.hasNext||"cache-and-network"===r||"cache-first"===r&&"partial"===e.outcome&&!v.has(e.operation.key)),i={operation:e.operation,data:e.data,error:e.error,extensions:e.extensions,stale:n&&!e.hasNext,hasNext:n&&e.hasNext};return n&&(y(e.dependencies)?"cache-and-network"===r&&f.add(e.operation.key):t.reexecuteOperation(eT(u.get(e.operation.key)||e.operation,"network-only"))),i})((0,a.hX)(e=>"miss"!==e.outcome||"cache-only"===e.operation.context.requestPolicy)(n)),h=r((0,a.UI)(k)((0,a.TS)([i,c]))),m=(0,a.UI)(e=>{var r=new Set,t=N(e,r);return w(e.operation,r,!1),t})((0,a.hX)(e=>!s.has(e.operation.key))(h)),g=(0,a.zg)(e=>{if(l.push(e)s.has(e.operation.key))(h));return(0,a.TS)([m,g,p])}}},53771:function(e,r,t){"use strict";t.d(r,{o:function(){return i}});class n extends Error{}function i(e,r){let t;if("string"!=typeof e)throw new n("Invalid token specified: must be a string");r||(r={});let i=!0===r.header?0:1,o=e.split(".")[i];if("string"!=typeof o)throw new n(`Invalid token specified: missing part #${i+1}`);try{t=function(e){let r=e.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw Error("base64 string is not of the correct length")}try{var t;return t=r,decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t}))}catch(e){return atob(r)}}(o)}catch(e){throw new n(`Invalid token specified: invalid base64 for part #${i+1} (${e.message})`)}try{return JSON.parse(t)}catch(e){throw new n(`Invalid token specified: invalid json for part #${i+1} (${e.message})`)}}n.prototype.name="InvalidTokenError"},24144:function(e,r){"use strict";r.Z=function(e){return null==e}},28481:function(e,r,t){"use strict";t.d(r,{kP:function(){return o}});let n=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,r,t)=>{let n=(2<{let a="";for(;;){let r=t(i),s=i;for(;s--;)if((a+=e[r[s]&n]||"").length===o)return a}}},o=(e,r=21)=>i(e,r,n)},23986:function(e,r,t){"use strict";t.d(r,{m:function(){return j}});var n=/^\[(.+)\]$/;function i(e,r){var t=e;return r.split("-").forEach(function(e){t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t}var o=/\s+/;function a(){for(var e,r,t=0,n="";te&&(r=0,n=t,t=new Map)}return{get:function(e){var r=t.get(e);return void 0!==r?r:void 0!==(r=n.get(e))?(i(e,r),r):void 0},set:function(e,r){t.has(e)?t.set(e,r):i(e,r)}}}(e.cacheSize),splitModifiers:(t=1===(r=e.separator||":").length,o=r[0],a=r.length,function(e){for(var n,i=[],s=0,l=0,u=0;ul?n-l:void 0}}),...(c=e.theme,d=e.prefix,f={nextPart:new Map,validators:[]},(p=Object.entries(e.classGroups),d?p.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?d+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[d+e[0],e[1]]})):e})]}):p).forEach(function(e){var r=e[0];(function e(r,t,n,o){r.forEach(function(r){if("string"==typeof r){(""===r?t:i(t,r)).classGroupId=n;return}if("function"==typeof r){if(r.isThemeGetter){e(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(function(r){var a=r[0];e(r[1],i(t,a),n,o)})})})(e[1],f,r,c)}),s=e.conflictingClassGroups,u=void 0===(l=e.conflictingClassGroupModifiers)?{}:l,{getClassGroupId:function(e){var r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(r,t){if(0===r.length)return t.classGroupId;var n=r[0],i=t.nextPart.get(n),o=i?e(r.slice(1),i):void 0;if(o)return o;if(0!==t.validators.length){var a=r.join("-");return t.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(r,f)||function(e){if(n.test(e)){var r=n.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}(e)},getConflictingClassGroupIds:function(e,r){var t=s[e]||[];return r&&u[e]?[].concat(t,u[e]):t}})}}(l.slice(1).reduce(function(e,r){return r(e)},a()))).cache.get,t=e.cache.set,c=d,d(o)};function d(n){var i,a,s,l,u,c=r(n);if(c)return c;var d=(a=(i=e).splitModifiers,s=i.getClassGroupId,l=i.getConflictingClassGroupIds,u=new Set,n.trim().split(o).map(function(e){var r=a(e),t=r.modifiers,n=r.hasImportantModifier,i=r.baseClassName,o=r.maybePostfixModifierPosition,l=s(o?i.substring(0,o):i),u=!!o;if(!l){if(!o||!(l=s(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(e){"["===e[0]?(r.push.apply(r,t.sort().concat([e])),t=[]):t.push(e)}),r.push.apply(r,t.sort()),r})(t).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var r=e.modifierId,t=e.classGroupId,n=e.hasPostfixModifier,i=r+t;return!u.has(i)&&(u.add(i),l(t,n).forEach(function(e){return u.add(r+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return t(n,d),d}return function(){return c(a.apply(null,arguments))}}(function(){var e=s("colors"),r=s("spacing"),t=s("blur"),n=s("brightness"),i=s("borderColor"),o=s("borderRadius"),a=s("borderSpacing"),l=s("borderWidth"),u=s("contrast"),c=s("grayscale"),d=s("hueRotate"),f=s("invert"),p=s("gap"),E=s("gradientColorStops"),I=s("gradientColorStopPositions"),A=s("inset"),C=s("margin"),T=s("opacity"),q=s("padding"),j=s("saturate"),M=s("scale"),P=s("sepia"),D=s("skew"),V=s("space"),F=s("translate"),L=function(){return["auto","contain","none"]},R=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",_,r]},K=function(){return[_,r]},$=function(){return["",v]},G=function(){return["auto",w,_]},U=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},B=function(){return["solid","dashed","dotted","double","none"]},Q=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},J=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",_]},Y=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},Z=function(){return[w,b]},W=function(){return[w,_]};return{cacheSize:500,theme:{colors:[N],spacing:[v],blur:["none","",O,_],brightness:Z(),borderColor:[e],borderRadius:["none","","full",O,_],borderSpacing:K(),borderWidth:$(),contrast:Z(),grayscale:X(),hueRotate:W(),invert:X(),gap:K(),gradientColorStops:[e],gradientColorStopPositions:[k,h],inset:z(),margin:z(),opacity:Z(),padding:K(),saturate:Z(),scale:Z(),sepia:X(),skew:W(),space:K(),translate:K()},classGroups:{aspect:[{aspect:["auto","square","video",_]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"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"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(U(),[_])}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[A]}],"inset-x":[{"inset-x":[A]}],"inset-y":[{"inset-y":[A]}],start:[{start:[A]}],end:[{end:[A]}],top:[{top:[A]}],right:[{right:[A]}],bottom:[{bottom:[A]}],left:[{left:[A]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",x]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",x]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",x]},_]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[x]},_]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"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:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(J())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(J(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(J(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[q]}],px:[{px:[q]}],py:[{py:[q]}],ps:[{ps:[q]}],pe:[{pe:[q]}],pt:[{pt:[q]}],pr:[{pr:[q]}],pb:[{pb:[q]}],pl:[{pl:[q]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[V]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[V]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",_,r]}],"min-w":[{"min-w":["min","max","fit",_,v]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[O]},O,_]}],h:[{h:[_,r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",_,v]}],"max-h":[{"max-h":[_,r,"min","max","fit"]}],"font-size":[{text:["base",O,h]}],"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:[N]}],"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",w,b]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_,v]}],"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":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(B(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",v]}],"underline-offset":[{"underline-offset":["auto",_,v]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:K()}],"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":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(U(),[m])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",y]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},g]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[E]}],"gradient-via":[{via:[E]}],"gradient-to":[{to:[E]}],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":[T]}],"border-style":[{border:[].concat(B(),["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":[T]}],"divide-style":[{divide:B()}],"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:[""].concat(B())}],"outline-offset":[{"outline-offset":[_,v]}],"outline-w":[{outline:[v]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[v]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,S]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":Q()}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",O,_]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[j]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"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:W()}],ease:[{ease:["linear","in","out","in-out",_]}],delay:[{delay:W()}],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:[x,_]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[v,b]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},81474:function(e,r,t){"use strict";t.d(r,{BN:function(){return h},Hr:function(){return v},Ld:function(){return S},Mq:function(){return p},Rs:function(){return g},TS:function(){return d},UI:function(){return u},Vi:function(){return I},Vo:function(){return w},_A:function(){return _},cS:function(){return O},fY:function(){return k},hX:function(){return l},nI:function(){return x},nN:function(){return N},nY:function(){return E},oE:function(){return b},ok:function(){return f},qn:function(){return m},wt:function(){return y},zg:function(){return c}});var n=()=>{};function i(e){return{tag:0,0:e}}function o(e){return{tag:1,0:e}}var a=()=>"function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator",s=e=>e;function l(e){return r=>t=>{var i=n;r(r=>{0===r?t(0):0===r.tag?(i=r[0],t(r)):e(r[0])?t(r):i(0)})}}function u(e){return r=>t=>r(r=>{0===r||0===r.tag?t(r):t(o(e(r[0])))})}function c(e){return r=>t=>{var o=[],a=n,s=!1,l=!1;r(r=>{if(l);else if(0===r)l=!0,o.length||t(0);else if(0===r.tag)a=r[0];else{var i,u;s=!1,i=e(r[0]),u=n,i(e=>{if(0===e){if(o.length){var r=o.indexOf(u);r>-1&&(o=o.slice()).splice(r,1),o.length||(l?t(0):s||(s=!0,a(0)))}}else 0===e.tag?(o.push(u=e[0]),u(0)):o.length&&(t(e),u(0))}),s||(s=!0,a(0))}}),t(i(e=>{if(1===e){l||(l=!0,a(1));for(var r=0,t=o,n=o.length;rt=>{var n=!1;r(r=>{if(n);else if(0===r)n=!0,t(0),e();else if(0===r.tag){var o=r[0];t(i(r=>{1===r?(n=!0,o(1),e()):o(r)}))}else t(r)})}}function p(e){return r=>t=>{var n=!1;r(r=>{if(n);else if(0===r)n=!0,t(0);else if(0===r.tag){var o=r[0];t(i(e=>{1===e&&(n=!0),o(e)}))}else e(r[0]),t(r)})}}function v(e){return r=>t=>r(r=>{0===r?t(0):0===r.tag?(t(r),e()):t(r)})}function h(e){var r=[],t=n,o=!1;return n=>{r.push(n),1===r.length&&e(e=>{if(0===e){for(var n=0,i=r,a=r.length;n{if(1===e){var i=r.indexOf(n);i>-1&&(r=r.slice()).splice(i,1),r.length||t(1)}else o||(o=!0,t(0))}))}}function y(e){return r=>t=>{var o=n,a=n,s=!1,l=!1,u=!1,c=!1;r(r=>{if(c);else if(0===r)c=!0,u||t(0);else if(0===r.tag)o=r[0];else{var i;u&&(a(1),a=n),s?s=!1:(s=!0,o(0)),i=e(r[0]),u=!0,i(e=>{u&&(0===e?(u=!1,c?t(0):s||(s=!0,o(0))):0===e.tag?(l=!1,(a=e[0])(0)):(t(e),l?l=!1:a(0)))})}}),t(i(e=>{1===e?(c||(c=!0,o(1)),u&&(u=!1,a(1))):(c||s||(s=!0,o(0)),u&&!l&&(l=!0,a(0)))}))}}function m(e){return r=>t=>{var o=n,a=!1,s=0;r(r=>{a||(0===r?(a=!0,t(0)):0===r.tag?e<=0?(a=!0,t(0),r[0](1)):o=r[0]:s++=e&&(a=!0,t(0),o(1))):t(r))}),t(i(r=>{1!==r||a?0===r&&!a&&st=>{var o=n,a=n,s=!1;r(r=>{s||(0===r?(s=!0,a(1),t(0)):0===r.tag?(o=r[0],e(e=>{0===e||(0===e.tag?(a=e[0])(0):(s=!0,a(1),o(1),t(0)))})):t(r))}),t(i(e=>{1!==e||s?s||o(0):(s=!0,o(1),a(1))}))}}function b(e,r){return t=>i=>{var o=n,a=!1;t(t=>{a||(0===t?(a=!0,i(0)):0===t.tag?(o=t[0],i(t)):e(t[0])?i(t):(a=!0,r&&i(t),i(0),o(1)))})}}function w(e){return r=>e()(r)}function k(e){return r=>{var t,n=e[a()]&&e[a()]()||e,s=!1,l=!1,u=!1;r(i(async e=>{if(1===e)s=!0,n.return&&n.return();else if(l)u=!0;else{for(u=l=!0;u&&!s;)if((t=await n.next()).done)s=!0,n.return&&await n.return(),r(0);else try{u=!1,r(o(t.value))}catch(e){if(n.throw)(s=!!(await n.throw(e)).done)&&r(0);else throw e}l=!1}}))}}var x=function(e){return e[Symbol.asyncIterator]?k(e):r=>{var t,n=e[Symbol.iterator](),a=!1,s=!1,l=!1;r(i(e=>{if(1===e)a=!0,n.return&&n.return();else if(s)l=!0;else{for(l=s=!0;l&&!a;)if((t=n.next()).done)a=!0,n.return&&n.return(),r(0);else try{l=!1,r(o(t.value))}catch(e){if(n.throw)(a=!!n.throw(e).done)&&r(0);else throw e}s=!1}}))}};function _(e){return r=>{var t=!1;r(i(n=>{1===n?t=!0:t||(t=!0,r(o(e)),r(0))}))}}function N(){var e,r,t;return{source:h((t=t=>(e=t.next,r=t.complete,n),e=>{var r=!1,n=t({next(t){r||e(o(t))},complete(){r||(r=!0,e(0))}});e(i(e=>{1!==e||r||(r=!0,n())}))})),next(r){e&&e(r)},complete(){r&&r()}}}var O=e=>{var r=!1;e(i(t=>{1===t?r=!0:r||(r=!0,e(0))}))};function S(e){return r=>{var t=n,i=!1;return r(r=>{0===r?i=!0:0===r.tag?(t=r[0])(0):i||(e(r[0]),t(0))}),{unsubscribe(){i||(i=!0,t(1))}}}}function E(e){S(e=>{})(e)}function I(e){return new Promise(r=>{var t,i=n;e(e=>{0===e?Promise.resolve(t).then(r):0===e.tag?(i=e[0])(0):(t=e[0],i(0))})})}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5328-77e3e9e48a9bea9e.js b/ee/tabby-webserver/ui/_next/static/chunks/5328-77e3e9e48a9bea9e.js deleted file mode 100644 index da377fe3d19c..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/5328-77e3e9e48a9bea9e.js +++ /dev/null @@ -1,10 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5328],{50348:function(e,r,t){"use strict";function n(){for(var e,r,t=0,n="";to.useContext(a),c={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},u=(e,r)=>e===r||!(!e||!r||e.key!==r.key),d=(e,r)=>{var t={...e,...r,data:void 0!==r.data||r.error?r.data:e.data,fetching:!!r.fetching,stale:!!r.stale};return((e,r)=>{for(var t in e)if(!(t in r))return!0;for(var n in r)if("operation"===n?!u(e[n],r[n]):e[n]!==r[n])return!0;return!1})(e,t)?t:e},f=(e,r)=>{for(var t=0,n=r.length;t(s({...c,fetching:!0}),(0,i.Vi)((0,i.qn)(1)((0,i.hX)(e=>!e.hasNext)((0,i.Mq)(e=>{r.current&&s({fetching:!1,stale:e.stale,data:e.data,error:e.error,extensions:e.extensions,operation:e.operation})})(t.executeMutation((0,n.h)(e,o),a||{})))))),[t,e,s]);return o.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),[a,u]}o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var v=e=>{if(!e._react){var r=new Set,t=new Map;e.operations$&&(0,i.Ld)(e=>{"teardown"===e.kind&&r.has(e.key)&&(r.delete(e.key),t.delete(e.key))})(e.operations$),e._react={get:e=>t.get(e),set(e,n){r.delete(e),t.set(e,n)},dispose(e){r.add(e)}}}return e._react},h=(e,r)=>r&&void 0!==r.suspense?!!r.suspense:e.suspense;function m(e){var r,t,a,s=l(),u=v(s),p=h(s,e.context),m=(r=e.query,t=e.variables,a=o.useRef(void 0),o.useMemo(()=>{var e=(0,n.h)(r,t);return void 0!==a.current&&a.current.key===e.key?a.current:(a.current=e,e)},[r,t])),y=o.useMemo(()=>{if(e.pause)return null;var r=s.executeQuery(m,{requestPolicy:e.requestPolicy,...e.context});return p?(0,i.Mq)(e=>{u.set(m.key,e)})(r):r},[u,s,m,p,e.pause,e.requestPolicy,e.context]),g=o.useCallback((e,r)=>{if(!e)return{fetching:!1};var t=u.get(m.key);if(t){if(r&&null!=t&&"then"in t)throw t}else{var n,o=(0,i.Ld)(e=>{t=e,n&&n(t)})((0,i.oE)(()=>r&&!n||!t)(e));if(null==t&&r){var a=new Promise(e=>{n=e});throw u.set(m.key,a),a}o.unsubscribe()}return t||{fetching:!0}},[u,m]),b=[s,m,e.requestPolicy,e.context,e.pause],[w,x]=o.useState(()=>[y,d(c,g(y,p)),b]),k=w[1];return y!==w[0]&&f(w[2],b)&&x([y,k=d(w[1],g(y,p)),b]),o.useEffect(()=>{var e=w[0],r=w[2][1],t=!1,n=e=>{t=!0,x(r=>{var t=d(r[1],e);return r[1]!==t?[r[0],t,r[2]]:r})};if(e){var o=(0,i.Ld)(n)((0,i.ok)(()=>{n({fetching:!1})})(e));return t||n({fetching:!0}),()=>{u.dispose(r.key),o.unsubscribe()}}n({fetching:!1})},[u,w[0],w[2][1]]),[k,o.useCallback(r=>{var t={requestPolicy:e.requestPolicy,...e.context,...r};x(e=>[p?(0,i.Mq)(e=>{u.set(m.key,e)})(s.executeQuery(m,t)):s.executeQuery(m,t),e[1],b])},[s,u,m,p,e.requestPolicy,e.context,e.pause])]}},26566:function(e,r,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var r,t=1,n=arguments.length;t1)for(var t=1;t!(!e||!e.length),C={OperationDefinition(e){if("query"===e.operation&&!e.name&&!I(e.variableDefinitions)&&!I(e.directives))return C.SelectionSet(e.selectionSet);var r=e.operation;return e.name&&(r+=" "+e.name.value),I(e.variableDefinitions)&&(e.name||(r+=" "),r+="("+e.variableDefinitions.map(C.VariableDefinition).join(", ")+")"),I(e.directives)&&(r+=" "+e.directives.map(C.Directive).join(" ")),r+" "+C.SelectionSet(e.selectionSet)},VariableDefinition(e){var r=C.Variable(e.variable)+": "+j(e.type);return e.defaultValue&&(r+=" = "+j(e.defaultValue)),I(e.directives)&&(r+=" "+e.directives.map(C.Directive).join(" ")),r},Field(e){var r=(e.alias?e.alias.value+": ":"")+e.name.value;if(I(e.arguments)){var t=e.arguments.map(C.Argument),n=r+"("+t.join(", ")+")";r=n.length>80?r+"(\n "+t.join("\n").replace(/\n/g,"\n ")+"\n)":n}return I(e.directives)&&(r+=" "+e.directives.map(C.Directive).join(" ")),e.selectionSet?r+" "+C.SelectionSet(e.selectionSet):r},StringValue:e=>e.block?'"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""':JSON.stringify(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(j).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(C.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+j(e.value),Document:e=>I(e.definitions)?e.definitions.map(j).join("\n\n"):"",SelectionSet:e=>"{\n "+e.selections.map(j).join("\n").replace(/\n/g,"\n ")+"\n}",Argument:e=>e.name.value+": "+j(e.value),FragmentSpread(e){var r="..."+e.name.value;return I(e.directives)&&(r+=" "+e.directives.map(C.Directive).join(" ")),r},InlineFragment(e){var r="...";return e.typeCondition&&(r+=" on "+e.typeCondition.name.value),I(e.directives)&&(r+=" "+e.directives.map(C.Directive).join(" ")),r+" "+j(e.selectionSet)},FragmentDefinition(e){var r="fragment "+e.name.value;return r+=" on "+e.typeCondition.name.value,I(e.directives)&&(r+=" "+e.directives.map(C.Directive).join(" ")),r+" "+j(e.selectionSet)},Directive(e){var r="@"+e.name.value;return I(e.arguments)&&(r+="("+e.arguments.map(C.Argument).join(", ")+")"),r},NamedType:e=>e.name.value,ListType:e=>"["+j(e.type)+"]",NonNullType:e=>j(e.type)+"!"};function j(e){return C[e.kind]?C[e.kind](e):""}},13428:function(e,r,t){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var r=1;re.forEach(e=>{"function"==typeof e?e(r):null!=e&&(e.current=r)})}function i(...e){return(0,n.useCallback)(o(...e),e)}},67256:function(e,r,t){"use strict";t.d(r,{A4:function(){return l},g7:function(){return a}});var n=t(13428),o=t(2265),i=t(42210);let a=(0,o.forwardRef)((e,r)=>{let{children:t,...i}=e,a=o.Children.toArray(t),l=a.find(c);if(l){let e=l.props.children,t=a.map(r=>r!==l?r:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(s,(0,n.Z)({},i,{ref:r}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,t):null)}return(0,o.createElement)(s,(0,n.Z)({},i,{ref:r}),t)});a.displayName="Slot";let s=(0,o.forwardRef)((e,r)=>{let{children:t,...n}=e;return(0,o.isValidElement)(t)?(0,o.cloneElement)(t,{...function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n],a=/^on[A-Z]/.test(n);a?o&&i?t[n]=(...e)=>{i(...e),o(...e)}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(n,t.props),ref:r?(0,i.F)(r,t.ref):t.ref}):o.Children.count(t)>1?o.Children.only(null):null});s.displayName="SlotClone";let l=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function c(e){return(0,o.isValidElement)(e)&&e.type===l}},34084:function(e,r,t){"use strict";t.d(r,{a:function(){return C},b:function(){return I},d:function(){return j},e:function(){return D},f:function(){return G},h:function(){return E},k:function(){return N},m:function(){return _}});var n=t(75532),o=t(81474),i=e=>e&&e.message&&(e.extensions||"GraphQLError"===e.name)?e:"object"==typeof e&&e.message?new n.__(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new n.__(e);class a extends Error{constructor(e){var r=(e.graphQLErrors||[]).map(i),t=((e,r)=>{var t="";if(e)return`[Network] ${e.message}`;if(r)for(var n of r)t&&(t+="\n"),t+=`[GraphQL] ${n.message}`;return t})(e.networkError,r);super(t),this.name="CombinedError",this.message=t,this.graphQLErrors=r,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var s=(e,r)=>{for(var t=0|(r||5381),n=0,o=0|e.length;n{if(null===e||l.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return u(e.toJSON());if(Array.isArray(e)){var r="[";for(var t of e)r.length>1&&(r+=","),r+=u(t)||"null";return r+"]"}if(v!==p&&e instanceof v||h!==p&&e instanceof h)return"null";var n=Object.keys(e).sort();if(!n.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var o=c.get(e)||Math.random().toString(36).slice(2);return c.set(e,o),u({__key:o})}l.add(e);var i="{";for(var a of n){var s=u(e[a]);s&&(i.length>1&&(i+=","),i+=u(a)+":"+s)}return l.delete(e),i+"}"},d=(e,r,t)=>{if(null==t||"object"!=typeof t||t.toJSON||l.has(t));else if(Array.isArray(t))for(var n=0,o=t.length;n(l.clear(),u(e));class p{}var v="undefined"!=typeof File?File:p,h="undefined"!=typeof Blob?Blob:p,m=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,y=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,g=(e,r)=>r%2==0?e.replace(y,"\n"):e,b=e=>e.split(m).map(g).join("").trim(),w=new Map,x=new Map,k=e=>{var r;return"string"==typeof e?r=b(e):e.loc&&x.get(e.__key)===e?r=e.loc.source.body:(r=w.get(e)||b((0,n.S0)(e)),w.set(e,r)),"string"==typeof e||e.loc||(e.loc={start:0,end:r.length,source:{body:r,name:"gql",locationOffset:{line:1,column:1}}}),r},S=e=>{var r=s(k(e));if(e.definitions){var t=O(e);t&&(r=s(` -# ${t}`,r))}return r},N=e=>{var r,t;return"string"==typeof e?(r=S(e),t=x.get(r)||(0,n.Qc)(e,{noLocation:!0})):(r=e.__key||S(e),t=x.get(r)||e),t.loc||k(t),t.__key=r,x.set(r,t),t},E=(e,r,t)=>{var n=r||{},o=N(e),i=f(n),a=o.__key;return"{}"!==i&&(a=s(i,a)),{key:a,query:o,variables:n,extensions:t}},O=e=>{for(var r of e.definitions)if(r.kind===n.hY.OPERATION_DEFINITION)return r.name?r.name.value:void 0},_=(e,r,t)=>{if(!("data"in r||"errors"in r&&Array.isArray(r.errors)))throw Error("No Content");var n="subscription"===e.kind;return{operation:e,data:r.data,error:Array.isArray(r.errors)?new a({graphQLErrors:r.errors,response:t}):void 0,extensions:r.extensions?{...r.extensions}:void 0,hasNext:null==r.hasNext?n:r.hasNext,stale:!1}},A=(e,r)=>{if("object"==typeof e&&null!=e&&(!e.constructor||e.constructor===Object||Array.isArray(e))){for(var t of(e=Array.isArray(e)?[...e]:{...e},Object.keys(r)))e[t]=A(e[t],r[t]);return e}return r},T=(e,r,t,n)=>{var o=e.error?e.error.graphQLErrors:[],i=!!e.extensions||!!r.extensions,s={...e.extensions,...r.extensions},l=r.incremental;"path"in r&&(l=[r]);var c={data:e.data};if(l){var u=function(e){Array.isArray(e.errors)&&o.push(...e.errors),e.extensions&&(Object.assign(s,e.extensions),i=!0);var r="data",t=c,a=[];if(e.path)a=e.path;else if(n){var l=n.find(r=>r.id===e.id);a=e.subPath?[...l.path,...e.subPath]:l.path}for(var u=0,d=a.length;u=0?r:0,p=0,v=e.items.length;p({operation:e,data:void 0,error:new a({networkError:r,response:t}),extensions:void 0,hasNext:!1,stale:!1});function C(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:k(e.query),operationName:O(e.query),variables:e.variables||void 0,extensions:e.extensions}}var j=(e,r)=>{var t="query"===e.kind&&e.context.preferGetMethod;if(!t||!r)return e.context.url;var n=new URL(e.context.url);for(var o in r){var i=r[o];i&&n.searchParams.set(o,"object"==typeof i?f(i):i)}var a=n.toString();return a.length>2047&&"force"!==t?(e.context.preferGetMethod=!1,e.context.url):a},q=(e,r)=>{if(r&&!("query"===e.kind&&e.context.preferGetMethod)){var t,n,o=f(r),i=(t=r.variables,n=new Map,(v!==p||h!==p)&&(l.clear(),d(n,"variables",t)),n);if(i.size){var a=new FormData;a.append("operations",o),a.append("map",f({...[...i.keys()].map(e=>[e])}));var s=0;for(var c of i.values())a.append(""+s++,c);return a}return o}},D=(e,r)=>{var t={accept:"subscription"===e.kind?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},n=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(n.headers)for(var o in n.headers)t[o.toLowerCase()]=n.headers[o];var i=q(e,r);return"string"!=typeof i||t["content-type"]||(t["content-type"]="application/json"),{...n,method:i?"POST":"GET",body:i,headers:t}},P="undefined"!=typeof TextDecoder?new TextDecoder:null,V=/boundary="?([^=";]+)"?/i,M=/data: ?([^\n]+)/,L=e=>"Buffer"===e.constructor.name?e.toString():P.decode(e);async function*F(e){if(e.body[Symbol.asyncIterator])for await(var r of e.body)yield L(r);else{var t,n=e.body.getReader();try{for(;!(t=await n.read()).done;)yield L(t.value)}finally{n.cancel()}}}async function*R(e,r){var t,n="";for await(var o of e)for(n+=o;(t=n.indexOf(r))>-1;)yield n.slice(0,t),n=n.slice(t+r.length)}async function*z(e,r,t){var n=!0,o=null;try{yield await Promise.resolve();var i,a,s=(i=await (e.context.fetch||fetch)(r,t)).headers.get("Content-Type")||"";for await(var l of/multipart\/mixed/i.test(s)?async function*(e,r){var t,n=e.match(V),o="--"+(n?n[1]:"-"),i=!0;for await(var a of R(F(r),"\r\n"+o)){if(i){i=!1;var s=a.indexOf(o);if(!(s>-1))continue;a=a.slice(s+o.length)}try{yield t=JSON.parse(a.slice(a.indexOf("\r\n\r\n")+4))}catch(e){if(!t)throw e}if(t&&!1===t.hasNext)break}t&&!1!==t.hasNext&&(yield{hasNext:!1})}(s,i):/text\/event-stream/i.test(s)?async function*(e){var r;for await(var t of R(F(e),"\n\n")){var n=t.match(M);if(n){var o=n[1];try{yield r=JSON.parse(o)}catch(e){if(!r)throw e}if(r&&!1===r.hasNext)break}}r&&!1!==r.hasNext&&(yield{hasNext:!1})}(i):/text\//i.test(s)?async function*(e){var r=await e.text();try{var t=JSON.parse(r);yield t}catch(e){throw Error(r)}}(i):async function*(e){yield JSON.parse(await e.text())}(i))l.pending&&!o?a=l.pending:l.pending&&(a=[...a,...l.pending]),o=o?T(o,l,i,a):_(e,l,i),n=!1,yield o,n=!0;o||(yield o=_(e,{},i))}catch(r){if(!n)throw r;yield I(e,i&&(i.status<200||i.status>=300)&&i.statusText?Error(i.statusText):r,i)}}function G(e,r,t){var n;return"undefined"!=typeof AbortController&&(t.signal=(n=new AbortController).signal),(0,o.ok)(()=>{n&&n.abort()})((0,o.hX)(e=>!!e)((0,o.fY)(z(e,r,t))))}},18398:function(e,r,t){"use strict";t.d(r,{Ek:function(){return g},HG:function(){return m},KU:function(){return x},vx:function(){return f}});var n=t(75532),o=t(34084),i=t(81474),a=(e,r)=>{if(Array.isArray(e))for(var t of e)a(t,r);else if("object"==typeof e&&null!==e)for(var n in e)"__typename"===n&&"string"==typeof e[n]?r.add(e[n]):a(e[n],r);return r},s=e=>{if("definitions"in e){var r=[];for(var t of e.definitions){var o=s(t);r.push(o)}return{...e,definitions:r}}if("directives"in e&&e.directives&&e.directives.length){var i=[],a={};for(var l of e.directives){var c=l.name.value;"_"!==c[0]?i.push(l):c=c.slice(1),a[c]=l}e={...e,directives:i,_directives:a}}if("selectionSet"in e){var u=[],d=e.kind===n.hY.OPERATION_DEFINITION;if(e.selectionSet){for(var f of e.selectionSet.selections||[]){d=d||f.kind===n.hY.FIELD&&"__typename"===f.name.value&&!f.alias;var p=s(f);u.push(p)}return d||u.push({kind:n.hY.FIELD,name:{kind:n.hY.NAME,value:"__typename"},_generated:!0}),{...e,selectionSet:{...e.selectionSet,selections:u}}}}return e},l=new Map,c=e=>{var r=(0,o.k)(e),t=l.get(r.__key);return t||(l.set(r.__key,t=s(r)),Object.defineProperty(t,"__key",{value:r.__key,enumerable:!1})),t},u=(e,r)=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>u(e));if(!e||"object"!=typeof e||!r&&!("__typename"in e))return e;var t={};for(var n in e)"__typename"===n?Object.defineProperty(t,"__typename",{enumerable:!1,value:e.__typename}):t[n]=u(e[n]);return t};function d(e){var r=r=>e(r);return r.toPromise=()=>(0,i.Vi)((0,i.qn)(1)((0,i.hX)(e=>!e.stale&&!e.hasNext)(r))),r.then=(e,t)=>r.toPromise().then(e,t),r.subscribe=e=>(0,i.Ld)(e)(r),r}function f(e,r,t){return{...r,kind:e,context:r.context?{...r.context,...t}:t||r.context}}var p=()=>{},v=({kind:e})=>"mutation"!==e&&"query"!==e,h=e=>{var r=c(e.query);if(r===e.query)return e;var t=f(e.kind,e);return t.query=r,t},m=({forward:e,client:r,dispatchDebug:t})=>{var n=new Map,s=new Map,l=e=>"query"===e.kind&&"network-only"!==e.context.requestPolicy&&("cache-only"===e.context.requestPolicy||n.has(e.key));return t=>{var c=(0,i.UI)(e=>{var t=n.get(e.key)||(0,o.m)(e,{data:null});return"cache-and-network"===e.context.requestPolicy&&(t.stale=!0,y(r,e)),t})((0,i.hX)(e=>!v(e)&&l(e))(t)),u=(0,i.bw)(e=>{var{operation:t}=e;if(t){var o=t.context.additionalTypenames||[];if("subscription"!==e.operation.kind&&(o=[...a(e.data,new Set)].concat(o)),"mutation"===e.operation.kind||"subscription"===e.operation.kind){for(var i=new Set,l=0;l"query"!==e.kind||"cache-only"!==e.context.requestPolicy)((0,i.UI)(e=>e)((0,i.TS)([(0,i.UI)(h)((0,i.hX)(e=>!v(e)&&!l(e))(t)),(0,i.hX)(e=>v(e))(t)])))));return(0,i.TS)([c,u])}},y=(e,r)=>e.reexecuteOperation(f(r.kind,r,{requestPolicy:"network-only"})),g=({forward:e,dispatchDebug:r})=>r=>{var t=(0,i.zg)(e=>{var t=(0,o.a)(e),n=(0,o.d)(e,t),a=(0,o.e)(e,t);return(0,i.Rs)((0,i.hX)(r=>"teardown"===r.kind&&r.key===e.key)(r))((0,o.f)(e,n,a))})((0,i.hX)(e=>"teardown"!==e.kind&&("subscription"!==e.kind||!!e.context.fetchSubscriptions))(r)),n=e((0,i.hX)(e=>"teardown"===e.kind||"subscription"===e.kind&&!e.context.fetchSubscriptions)(r));return(0,i.TS)([t,n])},b=e=>({client:r,forward:t,dispatchDebug:n})=>e.reduceRight((e,t)=>t({client:r,forward:r=>(0,i.BN)(e((0,i.BN)(r))),dispatchDebug(e){}}),t),w=({dispatchDebug:e})=>e=>(0,i.hX)(e=>!1)(e),x=function e(r){var t=0,n=new Map,a=new Map,s=new Set,l=[],c={url:r.url,fetchSubscriptions:r.fetchSubscriptions,fetchOptions:r.fetchOptions,fetch:r.fetch,preferGetMethod:r.preferGetMethod,requestPolicy:r.requestPolicy||"cache-first"},v=(0,i.nN)();function h(e){"mutation"!==e.kind&&"teardown"!==e.kind&&s.has(e.key)||("teardown"===e.kind?s.delete(e.key):"mutation"!==e.kind&&s.add(e.key),v.next(e))}var m=!1;function y(e){if(e&&h(e),!m){for(m=!0;m&&(e=l.shift());)h(e);m=!1}}var g=e=>{var t=(0,i.Rs)((0,i.hX)(r=>"teardown"===r.kind&&r.key===e.key)(v.source))((0,i.hX)(r=>r.operation.kind===e.kind&&r.operation.key===e.key&&(!r.operation.context._instance||r.operation.context._instance===e.context._instance))(S));return r.maskTypename&&(t=(0,i.UI)(e=>({...e,data:u(e.data,!0)}))(t)),t="query"!==e.kind?(0,i.oE)(e=>!!e.hasNext,!0)(t):(0,i.wt)(r=>{var t=(0,i._A)(r);return r.stale||r.hasNext?t:(0,i.TS)([t,(0,i.UI)(()=>(r.stale=!0,r))((0,i.qn)(1)((0,i.hX)(r=>r.key===e.key)(v.source)))])})(t),t="mutation"!==e.kind?(0,i.ok)(()=>{s.delete(e.key),n.delete(e.key),a.delete(e.key),m=!1;for(var r=l.length-1;r>=0;r--)l[r].key===e.key&&l.splice(r,1);h(f("teardown",e,e.context))})((0,i.Mq)(r=>{if(r.stale){for(var t of l)if(t.key===r.operation.key){s.delete(t.key);break}}else r.hasNext||s.delete(e.key);n.set(e.key,r)})(t)):(0,i.Hr)(()=>{h(e)})(t),(0,i.BN)(t)},x=Object.assign(this instanceof e?this:Object.create(e.prototype),{suspense:!!r.suspense,operations$:v.source,reexecuteOperation(e){if("teardown"===e.kind)y(e);else if("mutation"===e.kind||a.has(e.key)){for(var r=!1,t=0;t(n||(n={}),f(e,r,{_instance:"mutation"===e?t=t+1|0:void 0,...c,...n,requestPolicy:n.requestPolicy||c.requestPolicy,suspense:n.suspense||!1!==n.suspense&&x.suspense})),executeRequestOperation:e=>"mutation"===e.kind?d(g(e)):d((0,i.Vo)(()=>{var r=a.get(e.key);r||a.set(e.key,r=g(e)),r=(0,i.Hr)(()=>{y(e)})(r);var t=n.get(e.key);return"query"===e.kind&&t&&(t.stale||t.hasNext)?(0,i.wt)(i._A)((0,i.TS)([r,(0,i.hX)(r=>r===n.get(e.key))((0,i._A)(t))])):r})),executeQuery(e,r){var t=x.createRequestOperation("query",e,r);return x.executeRequestOperation(t)},executeSubscription(e,r){var t=x.createRequestOperation("subscription",e,r);return x.executeRequestOperation(t)},executeMutation(e,r){var t=x.createRequestOperation("mutation",e,r);return x.executeRequestOperation(t)},readQuery(e,r,t){var n=null;return(0,i.Ld)(e=>{n=e})(x.query(e,r,t)).unsubscribe(),n},query:(e,r,t)=>x.executeQuery((0,o.h)(e,r),t),subscription:(e,r,t)=>x.executeSubscription((0,o.h)(e,r),t),mutation:(e,r,t)=>x.executeMutation((0,o.h)(e,r),t)}),k=b(r.exchanges),S=(0,i.BN)(k({client:x,dispatchDebug:p,forward:w({dispatchDebug:p})})(v.source));return(0,i.nY)(S),x}},69166:function(e,r,t){"use strict";t.d(r,{M:function(){return s}});var n=t(81474),o=t(18398),i=t(34084),a=(e,r)=>(0,o.vx)(e.kind,e,{...e.context,authAttempt:r});function s(e){return({client:r,forward:t})=>{var s,l=new Set,c=(0,n.nN)(),u=(0,n.nN)(),d=new Map;function f(){s=void 0;var e=d;d=new Map,e.forEach(c.next)}function p(e){s=void 0;var r=d;d=new Map,r.forEach(r=>{u.next((0,i.b)(r,e))})}var v=null;return h=>{function m(){s=Promise.resolve().then(()=>e({mutate(e,t,o){var a=r.createRequestOperation("mutation",(0,i.h)(e,t),o);return(0,n.Vi)((0,n.qn)(1)((0,n.hX)(e=>e.operation.key===a.key&&a.context._instance===e.operation.context._instance)((0,n.Hr)(()=>{var e=g(a);l.add(e.context._instance),c.next(e)})(b))))},appendHeaders(e,r){var t="function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions||{};return(0,o.vx)(e.kind,e,{...e.context,fetchOptions:{...t,headers:{...t.headers,...r}}})}})).then(e=>{e&&(v=e),f()}).catch(e=>{p(e)})}function y(e){d.set(e.key,a(e,!0)),v&&!s&&(s=v.refreshAuth().then(f).catch(p))}function g(e){return v?v.addAuthToOperation(e):e}m();var b=t((0,n.hX)(Boolean)((0,n.UI)(e=>"teardown"===e.kind?(d.delete(e.key),e):e.context._instance&&l.has(e.context._instance)?e:e.context.authAttempt?g(e):s||!v?(s||m(),d.has(e.key)||d.set(e.key,a(e,!1)),null):!e.context.authAttempt&&v&&v.willAuthError&&v.willAuthError(e)?(y(e),null):g(a(e,!1)))((0,n.TS)([c.source,h]))));return(0,n.TS)([u.source,(0,n.hX)(e=>!l.has(e.operation.context._instance)&&e.error&&v&&v.didAuthError&&v.didAuthError(e.error,e.operation)&&!e.operation.context.authAttempt?(y(e.operation),!1):(l.has(e.operation.context._instance)&&l.delete(e.operation.context._instance),!0))(b)])}}}},53771:function(e,r,t){"use strict";t.d(r,{o:function(){return o}});class n extends Error{}function o(e,r){let t;if("string"!=typeof e)throw new n("Invalid token specified: must be a string");r||(r={});let o=!0===r.header?0:1,i=e.split(".")[o];if("string"!=typeof i)throw new n(`Invalid token specified: missing part #${o+1}`);try{t=function(e){let r=e.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw Error("base64 string is not of the correct length")}try{var t;return t=r,decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t}))}catch(e){return atob(r)}}(i)}catch(e){throw new n(`Invalid token specified: invalid base64 for part #${o+1} (${e.message})`)}try{return JSON.parse(t)}catch(e){throw new n(`Invalid token specified: invalid json for part #${o+1} (${e.message})`)}}n.prototype.name="InvalidTokenError"},28481:function(e,r,t){"use strict";t.d(r,{kP:function(){return i}});let n=e=>crypto.getRandomValues(new Uint8Array(e)),o=(e,r,t)=>{let n=(2<{let a="";for(;;){let r=t(o),s=o;for(;s--;)if((a+=e[r[s]&n]||"").length===i)return a}}},i=(e,r=21)=>o(e,r,n)},23986:function(e,r,t){"use strict";t.d(r,{m:function(){return q}});var n=/^\[(.+)\]$/;function o(e,r){var t=e;return r.split("-").forEach(function(e){t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t}var i=/\s+/;function a(){for(var e,r,t=0,n="";te&&(r=0,n=t,t=new Map)}return{get:function(e){var r=t.get(e);return void 0!==r?r:void 0!==(r=n.get(e))?(o(e,r),r):void 0},set:function(e,r){t.has(e)?t.set(e,r):o(e,r)}}}(e.cacheSize),splitModifiers:(t=1===(r=e.separator||":").length,i=r[0],a=r.length,function(e){for(var n,o=[],s=0,l=0,c=0;cl?n-l:void 0}}),...(u=e.theme,d=e.prefix,f={nextPart:new Map,validators:[]},(p=Object.entries(e.classGroups),d?p.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?d+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[d+e[0],e[1]]})):e})]}):p).forEach(function(e){var r=e[0];(function e(r,t,n,i){r.forEach(function(r){if("string"==typeof r){(""===r?t:o(t,r)).classGroupId=n;return}if("function"==typeof r){if(r.isThemeGetter){e(r(i),t,n,i);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(function(r){var a=r[0];e(r[1],o(t,a),n,i)})})})(e[1],f,r,u)}),s=e.conflictingClassGroups,c=void 0===(l=e.conflictingClassGroupModifiers)?{}:l,{getClassGroupId:function(e){var r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(r,t){if(0===r.length)return t.classGroupId;var n=r[0],o=t.nextPart.get(n),i=o?e(r.slice(1),o):void 0;if(i)return i;if(0!==t.validators.length){var a=r.join("-");return t.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(r,f)||function(e){if(n.test(e)){var r=n.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}(e)},getConflictingClassGroupIds:function(e,r){var t=s[e]||[];return r&&c[e]?[].concat(t,c[e]):t}})}}(l.slice(1).reduce(function(e,r){return r(e)},a()))).cache.get,t=e.cache.set,u=d,d(i)};function d(n){var o,a,s,l,c,u=r(n);if(u)return u;var d=(a=(o=e).splitModifiers,s=o.getClassGroupId,l=o.getConflictingClassGroupIds,c=new Set,n.trim().split(i).map(function(e){var r=a(e),t=r.modifiers,n=r.hasImportantModifier,o=r.baseClassName,i=r.maybePostfixModifierPosition,l=s(i?o.substring(0,i):o),c=!!i;if(!l){if(!i||!(l=s(o)))return{isTailwindClass:!1,originalClassName:e};c=!1}var u=(function(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(e){"["===e[0]?(r.push.apply(r,t.sort().concat([e])),t=[]):t.push(e)}),r.push.apply(r,t.sort()),r})(t).join(":");return{isTailwindClass:!0,modifierId:n?u+"!":u,classGroupId:l,originalClassName:e,hasPostfixModifier:c}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var r=e.modifierId,t=e.classGroupId,n=e.hasPostfixModifier,o=r+t;return!c.has(o)&&(c.add(o),l(t,n).forEach(function(e){return c.add(r+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return t(n,d),d}return function(){return u(a.apply(null,arguments))}}(function(){var e=s("colors"),r=s("spacing"),t=s("blur"),n=s("brightness"),o=s("borderColor"),i=s("borderRadius"),a=s("borderSpacing"),l=s("borderWidth"),c=s("contrast"),u=s("grayscale"),d=s("hueRotate"),f=s("invert"),p=s("gap"),_=s("gradientColorStops"),A=s("gradientColorStopPositions"),T=s("inset"),I=s("margin"),C=s("opacity"),j=s("padding"),q=s("saturate"),D=s("scale"),P=s("sepia"),V=s("skew"),M=s("space"),L=s("translate"),F=function(){return["auto","contain","none"]},R=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",S,r]},G=function(){return[S,r]},$=function(){return["",v]},U=function(){return["auto",w,S]},B=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},Q=function(){return["solid","dashed","dotted","double","none"]},X=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},J=function(){return["start","end","center","between","around","evenly","stretch"]},Y=function(){return["","0",S]},W=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},H=function(){return[w,b]},Z=function(){return[w,S]};return{cacheSize:500,theme:{colors:[N],spacing:[v],blur:["none","",E,S],brightness:H(),borderColor:[e],borderRadius:["none","","full",E,S],borderSpacing:G(),borderWidth:$(),contrast:H(),grayscale:Y(),hueRotate:Z(),invert:Y(),gap:G(),gradientColorStops:[e],gradientColorStopPositions:[x,h],inset:z(),margin:z(),opacity:H(),padding:G(),saturate:H(),scale:H(),sepia:Y(),skew:Z(),space:G(),translate:G()},classGroups:{aspect:[{aspect:["auto","square","video",S]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(B(),[S])}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",k]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",S]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",k]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",k]},S]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[k]},S]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",S]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",S]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(J())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(J(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(J(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[I]}],mx:[{mx:[I]}],my:[{my:[I]}],ms:[{ms:[I]}],me:[{me:[I]}],mt:[{mt:[I]}],mr:[{mr:[I]}],mb:[{mb:[I]}],ml:[{ml:[I]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",S,r]}],"min-w":[{"min-w":["min","max","fit",S,v]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[E]},E,S]}],h:[{h:[S,r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",S,v]}],"max-h":[{"max-h":[S,r,"min","max","fit"]}],"font-size":[{text:["base",E,h]}],"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:[N]}],"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",S]}],"line-clamp":[{"line-clamp":["none",w,b]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,v]}],"list-image":[{"list-image":["none",S]}],"list-style-type":[{list:["none","disc","decimal",S]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(Q(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",v]}],"underline-offset":[{"underline-offset":["auto",S,v]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:G()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",S]}],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",S]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(B(),[y])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",m]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},g]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[_]}],"gradient-via":[{via:[_]}],"gradient-to":[{to:[_]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"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":[C]}],"border-style":[{border:[].concat(Q(),["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":[C]}],"divide-style":[{divide:Q()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(Q())}],"outline-offset":[{"outline-offset":[S,v]}],"outline-w":[{outline:[v]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[v]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,O]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":X()}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",E,S]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[q]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[q]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"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",S]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",S]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",S]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[k,S]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[V]}],"skew-y":[{"skew-y":[V]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",S]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",S]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",S]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[v,b]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},81474:function(e,r,t){"use strict";t.d(r,{BN:function(){return h},Hr:function(){return v},Ld:function(){return E},Mq:function(){return p},Rs:function(){return g},TS:function(){return d},UI:function(){return c},Vi:function(){return _},Vo:function(){return w},_A:function(){return S},bw:function(){return p},fY:function(){return x},hX:function(){return l},nN:function(){return N},nY:function(){return O},oE:function(){return b},ok:function(){return f},qn:function(){return y},wt:function(){return m},zg:function(){return u}});var n=()=>{};function o(e){return{tag:0,0:e}}function i(e){return{tag:1,0:e}}var a=()=>"function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator",s=e=>e;function l(e){return r=>t=>{var o=n;r(r=>{0===r?t(0):0===r.tag?(o=r[0],t(r)):e(r[0])?t(r):o(0)})}}function c(e){return r=>t=>r(r=>{0===r||0===r.tag?t(r):t(i(e(r[0])))})}function u(e){return r=>t=>{var i=[],a=n,s=!1,l=!1;r(r=>{if(l);else if(0===r)l=!0,i.length||t(0);else if(0===r.tag)a=r[0];else{var o,c;s=!1,o=e(r[0]),c=n,o(e=>{if(0===e){if(i.length){var r=i.indexOf(c);r>-1&&(i=i.slice()).splice(r,1),i.length||(l?t(0):s||(s=!0,a(0)))}}else 0===e.tag?(i.push(c=e[0]),c(0)):i.length&&(t(e),c(0))}),s||(s=!0,a(0))}}),t(o(e=>{if(1===e){l||(l=!0,a(1));for(var r=0,t=i,n=i.length;rt=>{var n=!1;r(r=>{if(n);else if(0===r)n=!0,t(0),e();else if(0===r.tag){var i=r[0];t(o(r=>{1===r?(n=!0,i(1),e()):i(r)}))}else t(r)})}}function p(e){return r=>t=>{var n=!1;r(r=>{if(n);else if(0===r)n=!0,t(0);else if(0===r.tag){var i=r[0];t(o(e=>{1===e&&(n=!0),i(e)}))}else e(r[0]),t(r)})}}function v(e){return r=>t=>r(r=>{0===r?t(0):0===r.tag?(t(r),e()):t(r)})}function h(e){var r=[],t=n,i=!1;return n=>{r.push(n),1===r.length&&e(e=>{if(0===e){for(var n=0,o=r,a=r.length;n{if(1===e){var o=r.indexOf(n);o>-1&&(r=r.slice()).splice(o,1),r.length||t(1)}else i||(i=!0,t(0))}))}}function m(e){return r=>t=>{var i=n,a=n,s=!1,l=!1,c=!1,u=!1;r(r=>{if(u);else if(0===r)u=!0,c||t(0);else if(0===r.tag)i=r[0];else{var o;c&&(a(1),a=n),s?s=!1:(s=!0,i(0)),o=e(r[0]),c=!0,o(e=>{c&&(0===e?(c=!1,u?t(0):s||(s=!0,i(0))):0===e.tag?(l=!1,(a=e[0])(0)):(t(e),l?l=!1:a(0)))})}}),t(o(e=>{1===e?(u||(u=!0,i(1)),c&&(c=!1,a(1))):(u||s||(s=!0,i(0)),c&&!l&&(l=!0,a(0)))}))}}function y(e){return r=>t=>{var i=n,a=!1,s=0;r(r=>{a||(0===r?(a=!0,t(0)):0===r.tag?e<=0?(a=!0,t(0),r[0](1)):i=r[0]:s++=e&&(a=!0,t(0),i(1))):t(r))}),t(o(r=>{1!==r||a?0===r&&!a&&st=>{var i=n,a=n,s=!1;r(r=>{s||(0===r?(s=!0,a(1),t(0)):0===r.tag?(i=r[0],e(e=>{0===e||(0===e.tag?(a=e[0])(0):(s=!0,a(1),i(1),t(0)))})):t(r))}),t(o(e=>{1!==e||s?s||i(0):(s=!0,i(1),a(1))}))}}function b(e,r){return t=>o=>{var i=n,a=!1;t(t=>{a||(0===t?(a=!0,o(0)):0===t.tag?(i=t[0],o(t)):e(t[0])?o(t):(a=!0,r&&o(t),o(0),i(1)))})}}function w(e){return r=>e()(r)}function x(e){return r=>{var t,n=e[a()]&&e[a()]()||e,s=!1,l=!1,c=!1;r(o(async e=>{if(1===e)s=!0,n.return&&n.return();else if(l)c=!0;else{for(c=l=!0;c&&!s;)if((t=await n.next()).done)s=!0,n.return&&await n.return(),r(0);else try{c=!1,r(i(t.value))}catch(e){if(n.throw)(s=!!(await n.throw(e)).done)&&r(0);else throw e}l=!1}}))}}var k=function(e){return e[Symbol.asyncIterator]?x(e):r=>{var t,n=e[Symbol.iterator](),a=!1,s=!1,l=!1;r(o(e=>{if(1===e)a=!0,n.return&&n.return();else if(s)l=!0;else{for(l=s=!0;l&&!a;)if((t=n.next()).done)a=!0,n.return&&n.return(),r(0);else try{l=!1,r(i(t.value))}catch(e){if(n.throw)(a=!!n.throw(e).done)&&r(0);else throw e}s=!1}}))}};function S(e){return r=>{var t=!1;r(o(n=>{1===n?t=!0:t||(t=!0,r(i(e)),r(0))}))}}function N(){var e,r,t;return{source:h((t=t=>(e=t.next,r=t.complete,n),e=>{var r=!1,n=t({next(t){r||e(i(t))},complete(){r||(r=!0,e(0))}});e(o(e=>{1!==e||r||(r=!0,n())}))})),next(r){e&&e(r)},complete(){r&&r()}}}function E(e){return r=>{var t=n,o=!1;return r(r=>{0===r?o=!0:0===r.tag?(t=r[0])(0):o||(e(r[0]),t(0))}),{unsubscribe(){o||(o=!0,t(1))}}}}function O(e){E(e=>{})(e)}function _(e){return new Promise(r=>{var t,o=n;e(e=>{0===e?Promise.resolve(t).then(r):0===e.tag?(o=e[0])(0):(t=e[0],o(0))})})}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5414-06b80b739a31c06e.js b/ee/tabby-webserver/ui/_next/static/chunks/5414-06b80b739a31c06e.js deleted file mode 100644 index 47644abd0a84..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/5414-06b80b739a31c06e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5414],{7404:function(e,t,r){r.d(t,{j:function(){return i}});let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e=arguments.length,t=Array(e),r=0;rr=>{var i;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:n,defaultVariants:l}=t,u=Object.keys(n).map(e=>{let t=null==r?void 0:r[e],s=null==l?void 0:l[e];if(null===t)return null;let i=a(t)||a(s);return n[e][i]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{}),o=null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:a,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...d}[t]):({...l,...d})[t]===r})?[...e,r,a]:e},[]);return s(e,u,o,null==r?void 0:r.class,null==r?void 0:r.className)}},38110:function(e,t,r){r.d(t,{F:function(){return o}});var a=r(61865),s=function(e,t,r){if(e&&"reportValidity"in e){var s=(0,a.U2)(r,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},i=function(e,t){var r=function(r){var a=t.fields[r];a&&a.ref&&"reportValidity"in a.ref?s(a.ref,r,e):a.refs&&a.refs.forEach(function(t){return s(t,r,e)})};for(var a in t.fields)r(a)},n=function(e,t){t.shouldUseNativeValidation&&i(e,t);var r={};for(var s in e){var n=(0,a.U2)(t.fields,s),d=Object.assign(e[s]||{},{ref:n&&n.ref});if(u(t.names||Object.keys(e),s)){var o=Object.assign({},l((0,a.U2)(r,s)));(0,a.t8)(o,"root",d),(0,a.t8)(r,s,o)}else(0,a.t8)(r,s,d)}return r},l=function(e){return Array.isArray(e)?e.filter(Boolean):[]},u=function(e,t){return e.some(function(e){return e.startsWith(t+".")})},d=function(e,t){for(var r={};e.length;){var s=e[0],i=s.code,n=s.message,l=s.path.join(".");if(!r[l]){if("unionErrors"in s){var u=s.unionErrors[0].errors[0];r[l]={message:u.message,type:u.code}}else r[l]={message:n,type:i}}if("unionErrors"in s&&s.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var d=r[l].types,o=d&&d[s.code];r[l]=(0,a.KN)(l,t,r,i,o?[].concat(o,s.message):s.message)}e.shift()}return r},o=function(e,t,r){return void 0===r&&(r={}),function(a,s,l){try{return Promise.resolve(function(s,n){try{var u=Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](a,t)).then(function(e){return l.shouldUseNativeValidation&&i({},l),{errors:{},values:r.raw?a:e}})}catch(e){return n(e)}return u&&u.then?u.then(void 0,n):u}(0,function(e){if(null!=e.errors)return{values:{},errors:n(d(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}}}},36743:function(e,t,r){r.d(t,{f:function(){return l}});var a=r(13428),s=r(2265),i=r(9381);let n=(0,s.forwardRef)((e,t)=>(0,s.createElement)(i.WV.label,(0,a.Z)({},e,{ref:t,onMouseDown:t=>{var r;null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),l=n},9381:function(e,t,r){r.d(t,{WV:function(){return l},jH:function(){return u}});var a=r(13428),s=r(2265),i=r(54887),n=r(67256);let l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,s.forwardRef)((e,r)=>{let{asChild:i,...l}=e,u=i?n.g7:t;return(0,s.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,s.createElement)(u,(0,a.Z)({},l,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&(0,i.flushSync)(()=>e.dispatchEvent(t))}},61865:function(e,t,r){r.d(t,{Gc:function(){return w},KN:function(){return F},Qr:function(){return P},RV:function(){return S},U2:function(){return v},cI:function(){return ex},t8:function(){return R}});var a=r(2265),s=e=>"checkbox"===e.type,i=e=>e instanceof Date,n=e=>null==e;let l=e=>"object"==typeof e;var u=e=>!n(e)&&!Array.isArray(e)&&l(e)&&!i(e),d=e=>u(e)&&e.target?s(e.target)?e.target.checked:e.target.value:e,o=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>e.has(o(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(h&&(e instanceof Blob||e instanceof FileList))&&(r||u(e))))return e;else if(t=r?[]:{},r||f(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],y=e=>void 0===e,v=(e,t,r)=>{if(!t||!u(e))return r;let a=m(t.split(/[,[\].]+?/)).reduce((e,t)=>n(e)?e:e[t],e);return y(a)||a===e?y(e[t])?r:e[t]:a},_=e=>"boolean"==typeof e;let g={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},x={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},k=a.createContext(null),w=()=>a.useContext(k),S=e=>{let{children:t,...r}=e;return a.createElement(k.Provider,{value:r},t)};var T=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==b.all&&(t._proxyFormState[i]=!a||b.all),r&&(r[i]=!0),e[i])});return s},O=e=>u(e)&&!Object.keys(e).length,A=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return O(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||b.all))},C=e=>Array.isArray(e)?e:[e],Z=(e,t,r)=>!e||!t||e===t||C(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e)));function V(e){let t=a.useRef(e);t.current=e,a.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var N=e=>"string"==typeof e,E=(e,t,r,a,s)=>N(e)?(a&&t.watch.add(e),v(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),v(r,e))):(a&&(t.watchAll=!0),r),j=e=>/^\w*$/.test(e),D=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/));function R(e,t,r){let a=-1,s=j(t)?[t]:D(t),i=s.length,n=i-1;for(;++ae.render(function(e){let t=w(),{name:r,disabled:s,control:i=t.control,shouldUnregister:n}=e,l=c(i._names.array,r),u=function(e){let t=w(),{control:r=t.control,name:s,defaultValue:i,disabled:n,exact:l}=e||{},u=a.useRef(s);u.current=s,V({disabled:n,subject:r._subjects.values,next:e=>{Z(u.current,e.name,l)&&o(p(E(u.current,r._names,e.values||r._formValues,!1,i)))}});let[d,o]=a.useState(r._getWatch(s,i));return a.useEffect(()=>r._removeUnmounted()),d}({control:i,name:r,defaultValue:v(i._formValues,r,v(i._defaultValues,r,e.defaultValue)),exact:!0}),o=function(e){let t=w(),{control:r=t.control,disabled:s,name:i,exact:n}=e||{},[l,u]=a.useState(r._formState),d=a.useRef(!0),o=a.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=a.useRef(i);return c.current=i,V({disabled:s,next:e=>d.current&&Z(c.current,e.name,n)&&A(e,o.current,r._updateFormState)&&u({...r._formState,...e}),subject:r._subjects.state}),a.useEffect(()=>(d.current=!0,o.current.isValid&&r._updateValid(!0),()=>{d.current=!1}),[r]),T(l,r,o.current,!1)}({control:i,name:r}),f=a.useRef(i.register(r,{...e.rules,value:u}));return f.current=i.register(r,e.rules),a.useEffect(()=>{let e=i._options.shouldUnregister||n,t=(e,t)=>{let r=v(i._fields,e);r&&(r._f.mount=t)};if(t(r,!0),e){let e=p(v(i._options.defaultValues,r));R(i._defaultValues,r,e),y(v(i._formValues,r))&&R(i._formValues,r,e)}return()=>{(l?e&&!i._state.action:e)?i.unregister(r):t(r,!1)}},[r,i,l,n]),a.useEffect(()=>{v(i._fields,r)&&i._updateDisabledField({disabled:s,fields:i._fields,name:r,value:v(i._fields,r)._f.value})},[s,r,i]),{field:{name:r,value:u,..._(s)||_(o.disabled)?{disabled:o.disabled||s}:{},onChange:a.useCallback(e=>f.current.onChange({target:{value:d(e),name:r},type:g.CHANGE}),[r]),onBlur:a.useCallback(()=>f.current.onBlur({target:{value:v(i._formValues,r),name:r},type:g.BLUR}),[r,i]),ref:e=>{let t=v(i._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:o,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(o.errors,r)},isDirty:{enumerable:!0,get:()=>!!v(o.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!v(o.touchedFields,r)},error:{enumerable:!0,get:()=>v(o.errors,r)}})}}(e));var F=(e,t,r,a,s)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{},I=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched}),L=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let M=(e,t,r,a)=>{for(let s of r||Object.keys(e)){let r=v(e,s);if(r){let{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],s)&&!a||e.ref&&t(e.ref,e.name)&&!a)break}else u(i)&&M(i,t)}}};var $=(e,t,r)=>{let a=m(v(e,r));return R(a,"root",t[r]),R(e,r,a),e},U=e=>"file"===e.type,B=e=>"function"==typeof e,z=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},K=e=>N(e),W=e=>"radio"===e.type,q=e=>e instanceof RegExp;let H={value:!1,isValid:!1},G={value:!0,isValid:!0};var J=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!y(e[0].attributes.value)?y(e[0].value)||""===e[0].value?G:{value:e[0].value,isValid:!0}:G:H}return H};let Q={isValid:!1,value:null};var X=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Q):Q;function Y(e,t,r="validate"){if(K(e)||Array.isArray(e)&&e.every(K)||_(e)&&!e)return{type:r,message:K(e)?e:"",ref:t}}var ee=e=>u(e)&&!q(e)?e:{value:e,message:""},et=async(e,t,r,a,i)=>{let{ref:l,refs:d,required:o,maxLength:c,minLength:f,min:h,max:p,pattern:m,validate:g,name:b,valueAsNumber:k,mount:w,disabled:S}=e._f,T=v(t,b);if(!w||S)return{};let A=d?d[0]:l,C=e=>{a&&A.reportValidity&&(A.setCustomValidity(_(e)?"":e||""),A.reportValidity())},Z={},V=W(l),E=s(l),j=(k||U(l))&&y(l.value)&&y(T)||z(l)&&""===l.value||""===T||Array.isArray(T)&&!T.length,D=F.bind(null,b,r,Z),R=(e,t,r,a=x.maxLength,s=x.minLength)=>{let i=e?t:r;Z[b]={type:e?a:s,message:i,ref:l,...D(e?a:s,i)}};if(i?!Array.isArray(T)||!T.length:o&&(!(V||E)&&(j||n(T))||_(T)&&!T||E&&!J(d).isValid||V&&!X(d).isValid)){let{value:e,message:t}=K(o)?{value:!!o,message:o}:ee(o);if(e&&(Z[b]={type:x.required,message:t,ref:A,...D(x.required,t)},!r))return C(t),Z}if(!j&&(!n(h)||!n(p))){let e,t;let a=ee(p),s=ee(h);if(n(T)||isNaN(T)){let r=l.valueAsDate||new Date(T),i=e=>new Date(new Date().toDateString()+" "+e),n="time"==l.type,u="week"==l.type;N(a.value)&&T&&(e=n?i(T)>i(a.value):u?T>a.value:r>new Date(a.value)),N(s.value)&&T&&(t=n?i(T)a.value),n(s.value)||(t=r+e.value,s=!n(t.value)&&T.length<+t.value;if((a||s)&&(R(a,e.message,t.message),!r))return C(Z[b].message),Z}if(m&&!j&&N(T)){let{value:e,message:t}=ee(m);if(q(e)&&!T.match(e)&&(Z[b]={type:x.pattern,message:t,ref:l,...D(x.pattern,t)},!r))return C(t),Z}if(g){if(B(g)){let e=await g(T,t),a=Y(e,A);if(a&&(Z[b]={...a,...D(x.validate,a.message)},!r))return C(a.message),Z}else if(u(g)){let e={};for(let a in g){if(!O(e)&&!r)break;let s=Y(await g[a](T,t),A,a);s&&(e={...s,...D(a,s.message)},C(s.message),r&&(Z[b]=e))}if(!O(e)&&(Z[b]={ref:A,...e},!r))return Z}}return C(!0),Z};function er(e,t){let r=Array.isArray(t)?t:j(t)?[t]:D(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var es=e=>n(e)||!l(e);function ei(e,t){if(es(e)||es(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!ei(r,e):r!==e)return!1}}return!0}var en=e=>"select-multiple"===e.type,el=e=>W(e)||s(e),eu=e=>z(e)&&e.isConnected,ed=e=>{for(let t in e)if(B(e[t]))return!0;return!1};function eo(e,t={}){let r=Array.isArray(e);if(u(e)||r)for(let r in e)Array.isArray(e[r])||u(e[r])&&!ed(e[r])?(t[r]=Array.isArray(e[r])?[]:{},eo(e[r],t[r])):n(e[r])||(t[r]=!0);return t}var ec=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(u(t)||s)for(let s in t)Array.isArray(t[s])||u(t[s])&&!ed(t[s])?y(r)||es(a[s])?a[s]=Array.isArray(t[s])?eo(t[s],[]):{...eo(t[s])}:e(t[s],n(r)?{}:r[s],a[s]):a[s]=!ei(t[s],r[s]);return a})(e,t,eo(t)),ef=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>y(e)?e:t?""===e?NaN:e?+e:e:r&&N(e)?new Date(e):a?a(e):e;function eh(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:U(t)?t.files:W(t)?X(e.refs).value:en(t)?[...t.selectedOptions].map(({value:e})=>e):s(t)?J(e.refs).value:ef(y(t.value)?e.ref.value:t.value,e)}var ep=(e,t,r,a)=>{let s={};for(let r of e){let e=v(t,r);e&&R(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},em=e=>y(e)?e:q(e)?e.source:u(e)?q(e.value)?e.value.source:e.value:e,ey=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ev(e,t,r){let a=v(e,r);if(a||j(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=v(t,a),n=v(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(n&&n.type)return{name:a,error:n};s.pop()}return{name:r}}var e_=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),eg=(e,t)=>!m(v(e,t)).length&&er(e,t);let eb={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0};function ex(e={}){let t=a.useRef(),r=a.useRef(),[l,o]=a.useState({isDirty:!1,isValidating:!1,isLoading:B(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},disabled:!1,defaultValues:B(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,a={...eb,...e},l={submitCount:0,isDirty:!1,isLoading:B(a.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{},disabled:!1},o={},f=(u(a.defaultValues)||u(a.values))&&p(a.defaultValues||a.values)||{},x=a.shouldUnregister?{}:p(f),k={action:!1,mount:!1,watch:!1},w={mount:new Set,unMount:new Set,array:new Set,watch:new Set},S=0,T={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},A={values:ea(),array:ea(),state:ea()},Z=e.resetOptions&&e.resetOptions.keepDirtyValues,V=I(a.mode),j=I(a.reValidateMode),D=a.criteriaMode===b.all,P=e=>t=>{clearTimeout(S),S=setTimeout(e,t)},F=async e=>{if(T.isValid||e){let e=a.resolver?O((await J()).errors):await X(o,!0);e!==l.isValid&&A.state.next({isValid:e})}},K=e=>T.isValidating&&A.state.next({isValidating:e}),W=(e,t)=>{R(l.errors,e,t),A.state.next({errors:l.errors})},q=(e,t,r,a)=>{let s=v(o,e);if(s){let i=v(x,e,y(r)?v(f,e):r);y(i)||a&&a.defaultChecked||t?R(x,e,t?i:eh(s._f)):ed(e,i),k.mount&&F()}},H=(e,t,r,a,s)=>{let i=!1,n=!1,u={name:e};if(!r||a){T.isDirty&&(n=l.isDirty,l.isDirty=u.isDirty=Y(),i=n!==u.isDirty);let r=ei(v(f,e),t);n=v(l.dirtyFields,e),r?er(l.dirtyFields,e):R(l.dirtyFields,e,!0),u.dirtyFields=l.dirtyFields,i=i||T.dirtyFields&&!r!==n}if(r){let t=v(l.touchedFields,e);t||(R(l.touchedFields,e,r),u.touchedFields=l.touchedFields,i=i||T.touchedFields&&t!==r)}return i&&s&&A.state.next(u),i?u:{}},G=(t,a,s,i)=>{let n=v(l.errors,t),u=T.isValid&&_(a)&&l.isValid!==a;if(e.delayError&&s?(r=P(()=>W(t,s)))(e.delayError):(clearTimeout(S),r=null,s?R(l.errors,t,s):er(l.errors,t)),(s?!ei(n,s):n)||!O(i)||u){let e={...i,...u&&_(a)?{isValid:a}:{},errors:l.errors,name:t};l={...l,...e},A.state.next(e)}K(!1)},J=async e=>a.resolver(x,a.context,ep(e||w.mount,o,a.criteriaMode,a.shouldUseNativeValidation)),Q=async e=>{let{errors:t}=await J(e);if(e)for(let r of e){let e=v(t,r);e?R(l.errors,r,e):er(l.errors,r)}else l.errors=t;return t},X=async(e,t,r={valid:!0})=>{for(let s in e){let i=e[s];if(i){let{_f:e,...s}=i;if(e){let s=w.array.has(e.name),n=await et(i,x,D,a.shouldUseNativeValidation&&!t,s);if(n[e.name]&&(r.valid=!1,t))break;t||(v(n,e.name)?s?$(l.errors,n,e.name):R(l.errors,e.name,n[e.name]):er(l.errors,e.name))}s&&await X(s,t,r)}}return r.valid},Y=(e,t)=>(e&&t&&R(x,e,t),!ei(eT(),f)),ee=(e,t,r)=>E(e,w,{...k.mount?x:y(t)?f:N(e)?{[e]:t}:t},r,t),ed=(e,t,r={})=>{let a=v(o,e),i=t;if(a){let r=a._f;r&&(r.disabled||R(x,e,ef(t,r)),i=z(r.ref)&&n(t)?"":t,en(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?s(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):U(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||A.values.next({name:e,values:{...x}})))}(r.shouldDirty||r.shouldTouch)&&H(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eS(e)},eo=(e,t,r)=>{for(let a in t){let s=t[a],n=`${e}.${a}`,l=v(o,n);!w.array.has(e)&&es(s)&&(!l||l._f)||i(s)?ed(n,s,r):eo(n,s,r)}},ex=(e,r,a={})=>{let s=v(o,e),i=w.array.has(e),u=p(r);R(x,e,u),i?(A.array.next({name:e,values:{...x}}),(T.isDirty||T.dirtyFields)&&a.shouldDirty&&A.state.next({name:e,dirtyFields:ec(f,x),isDirty:Y(e,u)})):!s||s._f||n(u)?ed(e,u,a):eo(e,u,a),L(e,w)&&A.state.next({...l}),A.values.next({name:e,values:{...x}}),k.mount||t()},ek=async e=>{let t=e.target,s=t.name,i=!0,n=v(o,s),u=e=>{i=Number.isNaN(e)||e===v(x,s,e)};if(n){let c,f;let h=t.type?eh(n._f):d(e),p=e.type===g.BLUR||e.type===g.FOCUS_OUT,m=!ey(n._f)&&!a.resolver&&!v(l.errors,s)&&!n._f.deps||e_(p,v(l.touchedFields,s),l.isSubmitted,j,V),y=L(s,w,p);R(x,s,h),p?(n._f.onBlur&&n._f.onBlur(e),r&&r(0)):n._f.onChange&&n._f.onChange(e);let _=H(s,h,p,!1),b=!O(_)||y;if(p||A.values.next({name:s,type:e.type,values:{...x}}),m)return T.isValid&&F(),b&&A.state.next({name:s,...y?{}:_});if(!p&&y&&A.state.next({...l}),K(!0),a.resolver){let{errors:e}=await J([s]);if(u(h),i){let t=ev(l.errors,o,s),r=ev(e,o,t.name||s);c=r.error,s=r.name,f=O(e)}}else c=(await et(n,x,D,a.shouldUseNativeValidation))[s],u(h),i&&(c?f=!1:T.isValid&&(f=await X(o,!0)));i&&(n._f.deps&&eS(n._f.deps),G(s,f,c,_))}},ew=(e,t)=>{if(v(l.errors,t)&&e.focus)return e.focus(),1},eS=async(e,t={})=>{let r,s;let i=C(e);if(K(!0),a.resolver){let t=await Q(y(e)?e:i);r=O(t),s=e?!i.some(e=>v(t,e)):r}else e?((s=(await Promise.all(i.map(async e=>{let t=v(o,e);return await X(t&&t._f?{[e]:t}:t)}))).every(Boolean))||l.isValid)&&F():s=r=await X(o);return A.state.next({...!N(e)||T.isValid&&r!==l.isValid?{}:{name:e},...a.resolver||!e?{isValid:r}:{},errors:l.errors,isValidating:!1}),t.shouldFocus&&!s&&M(o,ew,e?i:w.mount),s},eT=e=>{let t={...f,...k.mount?x:{}};return y(e)?t:N(e)?v(t,e):e.map(e=>v(t,e))},eO=(e,t)=>({invalid:!!v((t||l).errors,e),isDirty:!!v((t||l).dirtyFields,e),isTouched:!!v((t||l).touchedFields,e),error:v((t||l).errors,e)}),eA=(e,t,r)=>{let a=(v(o,e,{_f:{}})._f||{}).ref;R(l.errors,e,{...t,ref:a}),A.state.next({name:e,errors:l.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},eC=(e,t={})=>{for(let r of e?C(e):w.mount)w.mount.delete(r),w.array.delete(r),t.keepValue||(er(o,r),er(x,r)),t.keepError||er(l.errors,r),t.keepDirty||er(l.dirtyFields,r),t.keepTouched||er(l.touchedFields,r),a.shouldUnregister||t.keepDefaultValue||er(f,r);A.values.next({values:{...x}}),A.state.next({...l,...t.keepDirty?{isDirty:Y()}:{}}),t.keepIsValid||F()},eZ=({disabled:e,name:t,field:r,fields:a,value:s})=>{if(_(e)){let i=e?void 0:y(s)?eh(r?r._f:v(a,t)._f):s;R(x,t,i),H(t,i,!1,!1,!0)}},eV=(e,t={})=>{let r=v(o,e),s=_(t.disabled);return R(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),w.mount.add(e),r?eZ({field:r,disabled:t.disabled,name:e}):q(e,!0,t.value),{...s?{disabled:t.disabled}:{},...a.progressive?{required:!!t.required,min:em(t.min),max:em(t.max),minLength:em(t.minLength),maxLength:em(t.maxLength),pattern:em(t.pattern)}:{},name:e,onChange:ek,onBlur:ek,ref:s=>{if(s){eV(e,t),r=v(o,e);let a=y(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=el(a),n=r._f.refs||[];(i?n.find(e=>e===a):a===r._f.ref)||(R(o,e,{_f:{...r._f,...i?{refs:[...n.filter(eu),a,...Array.isArray(v(f,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),q(e,!1,void 0,a))}else(r=v(o,e,{}))._f&&(r._f.mount=!1),(a.shouldUnregister||t.shouldUnregister)&&!(c(w.array,e)&&k.action)&&w.unMount.add(e)}}},eN=()=>a.shouldFocusError&&M(o,ew,w.mount),eE=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let s=p(x);if(A.state.next({isSubmitting:!0}),a.resolver){let{errors:e,values:t}=await J();l.errors=e,s=t}else await X(o);er(l.errors,"root"),O(l.errors)?(A.state.next({errors:{}}),await e(s,r)):(t&&await t({...l.errors},r),eN(),setTimeout(eN)),A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:O(l.errors),submitCount:l.submitCount+1,errors:l.errors})},ej=(r,a={})=>{let s=r?p(r):f,i=p(s),n=r&&!O(r)?i:f;if(a.keepDefaultValues||(f=s),!a.keepValues){if(a.keepDirtyValues||Z)for(let e of w.mount)v(l.dirtyFields,e)?R(n,e,v(x,e)):ex(e,v(n,e));else{if(h&&y(r))for(let e of w.mount){let t=v(o,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(z(e)){let t=e.closest("form");if(t){t.reset();break}}}}o={}}x=e.shouldUnregister?a.keepDefaultValues?p(f):{}:p(n),A.array.next({values:{...n}}),A.values.next({values:{...n}})}w={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},k.mount||t(),k.mount=!T.isValid||!!a.keepIsValid,k.watch=!!e.shouldUnregister,A.state.next({submitCount:a.keepSubmitCount?l.submitCount:0,isDirty:a.keepDirty?l.isDirty:!!(a.keepDefaultValues&&!ei(r,f)),isSubmitted:!!a.keepIsSubmitted&&l.isSubmitted,dirtyFields:a.keepDirtyValues?l.dirtyFields:a.keepDefaultValues&&r?ec(f,r):{},touchedFields:a.keepTouched?l.touchedFields:{},errors:a.keepErrors?l.errors:{},isSubmitSuccessful:!!a.keepIsSubmitSuccessful&&l.isSubmitSuccessful,isSubmitting:!1})},eD=(e,t)=>ej(B(e)?e(x):e,t);return{control:{register:eV,unregister:eC,getFieldState:eO,handleSubmit:eE,setError:eA,_executeSchema:J,_getWatch:ee,_getDirty:Y,_updateValid:F,_removeUnmounted:()=>{for(let e of w.unMount){let t=v(o,e);t&&(t._f.refs?t._f.refs.every(e=>!eu(e)):!eu(t._f.ref))&&eC(e)}w.unMount=new Set},_updateFieldArray:(e,t=[],r,a,s=!0,i=!0)=>{if(a&&r){if(k.action=!0,i&&Array.isArray(v(o,e))){let t=r(v(o,e),a.argA,a.argB);s&&R(o,e,t)}if(i&&Array.isArray(v(l.errors,e))){let t=r(v(l.errors,e),a.argA,a.argB);s&&R(l.errors,e,t),eg(l.errors,e)}if(T.touchedFields&&i&&Array.isArray(v(l.touchedFields,e))){let t=r(v(l.touchedFields,e),a.argA,a.argB);s&&R(l.touchedFields,e,t)}T.dirtyFields&&(l.dirtyFields=ec(f,x)),A.state.next({name:e,isDirty:Y(e,t),dirtyFields:l.dirtyFields,errors:l.errors,isValid:l.isValid})}else R(x,e,t)},_updateDisabledField:eZ,_getFieldArray:t=>m(v(k.mount?x:f,t,e.shouldUnregister?v(f,t,[]):[])),_reset:ej,_resetDefaultValues:()=>B(a.defaultValues)&&a.defaultValues().then(e=>{eD(e,a.resetOptions),A.state.next({isLoading:!1})}),_updateFormState:e=>{l={...l,...e}},_disableForm:e=>{_(e)&&(A.state.next({disabled:e}),M(o,t=>{t.disabled=e},0,!1))},_subjects:A,_proxyFormState:T,get _fields(){return o},get _formValues(){return x},get _state(){return k},set _state(value){k=value},get _defaultValues(){return f},get _names(){return w},set _names(value){w=value},get _formState(){return l},set _formState(value){l=value},get _options(){return a},set _options(value){a={...a,...value}}},trigger:eS,register:eV,handleSubmit:eE,watch:(e,t)=>B(e)?A.values.subscribe({next:r=>e(ee(void 0,t),r)}):ee(e,t,!0),setValue:ex,getValues:eT,reset:eD,resetField:(e,t={})=>{v(o,e)&&(y(t.defaultValue)?ex(e,v(f,e)):(ex(e,t.defaultValue),R(f,e,t.defaultValue)),t.keepTouched||er(l.touchedFields,e),t.keepDirty||(er(l.dirtyFields,e),l.isDirty=t.defaultValue?Y(e,v(f,e)):Y()),!t.keepError&&(er(l.errors,e),T.isValid&&F()),A.state.next({...l}))},clearErrors:e=>{e&&C(e).forEach(e=>er(l.errors,e)),A.state.next({errors:e?l.errors:{}})},unregister:eC,setError:eA,setFocus:(e,t={})=>{let r=v(o,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eO}}(e,()=>o(e=>({...e}))),formState:l});let f=t.current.control;return f._options=e,V({subject:f._subjects.state,next:e=>{A(e,f._proxyFormState,f._updateFormState,!0)&&o({...f._formState})}}),a.useEffect(()=>f._disableForm(e.disabled),[f,e.disabled]),a.useEffect(()=>{if(f._proxyFormState.isDirty){let e=f._getDirty();e!==l.isDirty&&f._subjects.state.next({isDirty:e})}},[f,l.isDirty]),a.useEffect(()=>{e.values&&!ei(e.values,r.current)?(f._reset(e.values,f._options.resetOptions),r.current=e.values):f._resetDefaultValues()},[e.values,f]),a.useEffect(()=>{f._state.mount||(f._updateValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=T(l,f),t.current}},74578:function(e,t,r){var a,s,i,n,l,u,d;let o;r.d(t,{Ry:function(){return ew},Z_:function(){return ek}}),(l=a||(a={})).assertEqual=e=>e,l.assertIs=function(e){},l.assertNever=function(e){throw Error()},l.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},l.getValidEnumValues=e=>{let t=l.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let a of t)r[a]=e[a];return l.objectValues(r)},l.objectValues=e=>l.objectKeys(e).map(function(t){return e[t]}),l.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},l.find=(e,t)=>{for(let r of e)if(t(r))return r},l.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,l.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},l.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(s||(s={})).mergeShapes=(e,t)=>({...e,...t});let c=a.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),f=e=>{let t=typeof e;switch(t){case"undefined":return c.undefined;case"string":return c.string;case"number":return isNaN(e)?c.nan:c.number;case"boolean":return c.boolean;case"function":return c.function;case"bigint":return c.bigint;case"symbol":return c.symbol;case"object":if(Array.isArray(e))return c.array;if(null===e)return c.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return c.promise;if("undefined"!=typeof Map&&e instanceof Map)return c.map;if("undefined"!=typeof Set&&e instanceof Set)return c.set;if("undefined"!=typeof Date&&e instanceof Date)return c.date;return c.object;default:return c.unknown}},h=a.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class p extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},r={_errors:[]},a=e=>{for(let s of e.issues)if("invalid_union"===s.code)s.unionErrors.map(a);else if("invalid_return_type"===s.code)a(s.returnTypeError);else if("invalid_arguments"===s.code)a(s.argumentsError);else if(0===s.path.length)r._errors.push(t(s));else{let e=r,a=0;for(;ae.message){let t={},r=[];for(let a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}p.create=e=>{let t=new p(e);return t};let m=(e,t)=>{let r;switch(e.code){case h.invalid_type:r=e.received===c.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case h.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,a.jsonStringifyReplacer)}`;break;case h.unrecognized_keys:r=`Unrecognized key(s) in object: ${a.joinValues(e.keys,", ")}`;break;case h.invalid_union:r="Invalid input";break;case h.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${a.joinValues(e.options)}`;break;case h.invalid_enum_value:r=`Invalid enum value. Expected ${a.joinValues(e.options)}, received '${e.received}'`;break;case h.invalid_arguments:r="Invalid function arguments";break;case h.invalid_return_type:r="Invalid function return type";break;case h.invalid_date:r="Invalid date";break;case h.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:a.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case h.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case h.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case h.custom:r="Invalid input";break;case h.invalid_intersection_types:r="Intersection results could not be merged";break;case h.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case h.not_finite:r="Number must be finite";break;default:r=t.defaultError,a.assertNever(e)}return{message:r}},y=e=>{let{data:t,path:r,errorMaps:a,issueData:s}=e,i=[...r,...s.path||[]],n={...s,path:i},l="",u=a.filter(e=>!!e).slice().reverse();for(let e of u)l=e(n,{data:t,defaultError:l}).message;return{...s,path:i,message:s.message||l}};function v(e,t){let r=y({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,m,m].filter(e=>!!e)});e.common.issues.push(r)}class _{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let a of t){if("aborted"===a.status)return g;"dirty"===a.status&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t)r.push({key:await e.key,value:await e.value});return _.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let a of t){let{key:t,value:s}=a;if("aborted"===t.status||"aborted"===s.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==s.value||a.alwaysSet)&&(r[t.value]=s.value)}return{status:e.value,value:r}}}let g=Object.freeze({status:"aborted"}),b=e=>({status:"dirty",value:e}),x=e=>({status:"valid",value:e}),k=e=>"aborted"===e.status,w=e=>"dirty"===e.status,S=e=>"valid"===e.status,T=e=>"undefined"!=typeof Promise&&e instanceof Promise;(u=i||(i={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},u.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class O{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let A=(e,t)=>{if(S(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new p(e.common.issues);return this._error=t,this._error}}};function C(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:a,description:s}=e;if(t&&(r||a))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:s}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=a?a:t.defaultError}:{message:null!=r?r:t.defaultError},description:s}}class Z{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return f(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:f(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new _,ctx:{common:e.parent.common,data:e.data,parsedType:f(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(T(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let a={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f(e)},s=this._parseSync({data:e,path:a.path,parent:a});return A(a,s)}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f(e)},a=this._parse({data:e,path:r.path,parent:r}),s=await (T(a)?a:Promise.resolve(a));return A(r,s)}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,a)=>{let s=e(t),i=()=>a.addIssue({code:h.custom,...r(t)});return"undefined"!=typeof Promise&&s instanceof Promise?s.then(e=>!!e||(i(),!1)):!!s||(i(),!1)})}refinement(e,t){return this._refinement((r,a)=>!!e(r)||(a.addIssue("function"==typeof t?t(r,a):t),!1))}_refinement(e){return new eh({schema:this,typeName:n.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ep.create(this,this._def)}nullable(){return em.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J.create(this,this._def)}promise(){return ef.create(this,this._def)}or(e){return X.create([this,e],this._def)}and(e){return et.create(this,e,this._def)}transform(e){return new eh({...C(this._def),schema:this,typeName:n.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ey({...C(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:n.ZodDefault})}brand(){return new eg({typeName:n.ZodBranded,type:this,...C(this._def)})}catch(e){return new ev({...C(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:n.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return eb.create(this,e)}readonly(){return ex.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let V=/^c[^\s-]{8,}$/i,N=/^[a-z][a-z0-9]*$/,E=/^[0-9A-HJKMNP-TV-Z]{26}$/,j=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,D=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,R=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,P=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,F=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class I extends Z{_parse(e){let t;this._def.coerce&&(e.data=String(e.data));let r=this._getType(e);if(r!==c.string){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.string,received:t.parsedType}),g}let s=new _;for(let r of this._def.checks)if("min"===r.kind)e.data.lengthr.value&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),s.dirty());else if("length"===r.kind){let a=e.data.length>r.value,i=e.data.lengthe.test(t),{validation:t,code:h.invalid_string,...i.errToObj(r)})}_addCheck(e){return new I({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...i.errToObj(e)})}url(e){return this._addCheck({kind:"url",...i.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...i.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...i.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...i.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...i.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...i.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...i.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...i.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...i.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...i.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...i.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...i.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...i.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...i.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...i.errToObj(t)})}nonempty(e){return this.min(1,i.errToObj(e))}trim(){return new I({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new I({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new I({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new I({checks:[],typeName:n.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...C(e)})};class L extends Z{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;this._def.coerce&&(e.data=Number(e.data));let r=this._getType(e);if(r!==c.number){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.number,received:t.parsedType}),g}let s=new _;for(let r of this._def.checks)if("int"===r.kind)a.isInteger(e.data)||(v(t=this._getOrReturnCtx(e,t),{code:h.invalid_type,expected:"integer",received:"float",message:r.message}),s.dirty());else if("min"===r.kind){let a=r.inclusive?e.datar.value:e.data>=r.value;a&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),s.dirty())}else"multipleOf"===r.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,s=r>a?r:a,i=parseInt(e.toFixed(s).replace(".","")),n=parseInt(t.toFixed(s).replace(".",""));return i%n/Math.pow(10,s)}(e.data,r.value)&&(v(t=this._getOrReturnCtx(e,t),{code:h.not_multiple_of,multipleOf:r.value,message:r.message}),s.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(v(t=this._getOrReturnCtx(e,t),{code:h.not_finite,message:r.message}),s.dirty()):a.assertNever(r);return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,i.toString(t))}gt(e,t){return this.setLimit("min",e,!1,i.toString(t))}lte(e,t){return this.setLimit("max",e,!0,i.toString(t))}lt(e,t){return this.setLimit("max",e,!1,i.toString(t))}setLimit(e,t,r,a){return new L({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:i.toString(a)}]})}_addCheck(e){return new L({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:i.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:i.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:i.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:i.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:i.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:i.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:i.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:i.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:i.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&a.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.valuenew L({checks:[],typeName:n.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...C(e)});class M extends Z{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;this._def.coerce&&(e.data=BigInt(e.data));let r=this._getType(e);if(r!==c.bigint){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.bigint,received:t.parsedType}),g}let s=new _;for(let r of this._def.checks)if("min"===r.kind){let a=r.inclusive?e.datar.value:e.data>=r.value;a&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),s.dirty())}else"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(v(t=this._getOrReturnCtx(e,t),{code:h.not_multiple_of,multipleOf:r.value,message:r.message}),s.dirty()):a.assertNever(r);return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,i.toString(t))}gt(e,t){return this.setLimit("min",e,!1,i.toString(t))}lte(e,t){return this.setLimit("max",e,!0,i.toString(t))}lt(e,t){return this.setLimit("max",e,!1,i.toString(t))}setLimit(e,t,r,a){return new M({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:i.toString(a)}]})}_addCheck(e){return new M({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:i.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:i.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:i.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:i.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:i.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new M({checks:[],typeName:n.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...C(e)})};class $ extends Z{_parse(e){this._def.coerce&&(e.data=!!e.data);let t=this._getType(e);if(t!==c.boolean){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.boolean,received:t.parsedType}),g}return x(e.data)}}$.create=e=>new $({typeName:n.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...C(e)});class U extends Z{_parse(e){let t;this._def.coerce&&(e.data=new Date(e.data));let r=this._getType(e);if(r!==c.date){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.date,received:t.parsedType}),g}if(isNaN(e.data.getTime())){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_date}),g}let s=new _;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),s.dirty()):a.assertNever(r);return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:i.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:i.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew U({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:n.ZodDate,...C(e)});class B extends Z{_parse(e){let t=this._getType(e);if(t!==c.symbol){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.symbol,received:t.parsedType}),g}return x(e.data)}}B.create=e=>new B({typeName:n.ZodSymbol,...C(e)});class z extends Z{_parse(e){let t=this._getType(e);if(t!==c.undefined){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.undefined,received:t.parsedType}),g}return x(e.data)}}z.create=e=>new z({typeName:n.ZodUndefined,...C(e)});class K extends Z{_parse(e){let t=this._getType(e);if(t!==c.null){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.null,received:t.parsedType}),g}return x(e.data)}}K.create=e=>new K({typeName:n.ZodNull,...C(e)});class W extends Z{constructor(){super(...arguments),this._any=!0}_parse(e){return x(e.data)}}W.create=e=>new W({typeName:n.ZodAny,...C(e)});class q extends Z{constructor(){super(...arguments),this._unknown=!0}_parse(e){return x(e.data)}}q.create=e=>new q({typeName:n.ZodUnknown,...C(e)});class H extends Z{_parse(e){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.never,received:t.parsedType}),g}}H.create=e=>new H({typeName:n.ZodNever,...C(e)});class G extends Z{_parse(e){let t=this._getType(e);if(t!==c.undefined){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.void,received:t.parsedType}),g}return x(e.data)}}G.create=e=>new G({typeName:n.ZodVoid,...C(e)});class J extends Z{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==c.array)return v(t,{code:h.invalid_type,expected:c.array,received:t.parsedType}),g;if(null!==a.exactLength){let e=t.data.length>a.exactLength.value,s=t.data.lengtha.maxLength.value&&(v(t,{code:h.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>a.type._parseAsync(new O(t,e,t.path,r)))).then(e=>_.mergeArray(r,e));let s=[...t.data].map((e,r)=>a.type._parseSync(new O(t,e,t.path,r)));return _.mergeArray(r,s)}get element(){return this._def.type}min(e,t){return new J({...this._def,minLength:{value:e,message:i.toString(t)}})}max(e,t){return new J({...this._def,maxLength:{value:e,message:i.toString(t)}})}length(e,t){return new J({...this._def,exactLength:{value:e,message:i.toString(t)}})}nonempty(e){return this.min(1,e)}}J.create=(e,t)=>new J({type:e,minLength:null,maxLength:null,exactLength:null,typeName:n.ZodArray,...C(t)});class Q extends Z{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=a.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){let t=this._getType(e);if(t!==c.object){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.object,received:t.parsedType}),g}let{status:r,ctx:a}=this._processInputParams(e),{shape:s,keys:i}=this._getCached(),n=[];if(!(this._def.catchall instanceof H&&"strip"===this._def.unknownKeys))for(let e in a.data)i.includes(e)||n.push(e);let l=[];for(let e of i){let t=s[e],r=a.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new O(a,r,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof H){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of n)l.push({key:{status:"valid",value:e},value:{status:"valid",value:a.data[e]}});else if("strict"===e)n.length>0&&(v(a,{code:h.unrecognized_keys,keys:n}),r.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of n){let r=a.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new O(a,r,a.path,t)),alwaysSet:t in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let r=await t.key;e.push({key:r,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>_.mergeObjectSync(r,e)):_.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(e){return i.errToObj,new Q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var a,s,n,l;let u=null!==(n=null===(s=(a=this._def).errorMap)||void 0===s?void 0:s.call(a,t,r).message)&&void 0!==n?n:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(l=i.errToObj(e).message)&&void 0!==l?l:u}:{message:u}}}:{}})}strip(){return new Q({...this._def,unknownKeys:"strip"})}passthrough(){return new Q({...this._def,unknownKeys:"passthrough"})}extend(e){return new Q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){let t=new Q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:n.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Q({...this._def,catchall:e})}pick(e){let t={};return a.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new Q({...this._def,shape:()=>t})}omit(e){let t={};return a.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new Q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof Q){let r={};for(let a in t.shape){let s=t.shape[a];r[a]=ep.create(e(s))}return new Q({...t._def,shape:()=>r})}return t instanceof J?new J({...t._def,type:e(t.element)}):t instanceof ep?ep.create(e(t.unwrap())):t instanceof em?em.create(e(t.unwrap())):t instanceof er?er.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return a.objectKeys(this.shape).forEach(r=>{let a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new Q({...this._def,shape:()=>t})}required(e){let t={};return a.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r],a=e;for(;a instanceof ep;)a=a._def.innerType;t[r]=a}}),new Q({...this._def,shape:()=>t})}keyof(){return ed(a.objectKeys(this.shape))}}Q.create=(e,t)=>new Q({shape:()=>e,unknownKeys:"strip",catchall:H.create(),typeName:n.ZodObject,...C(t)}),Q.strictCreate=(e,t)=>new Q({shape:()=>e,unknownKeys:"strict",catchall:H.create(),typeName:n.ZodObject,...C(t)}),Q.lazycreate=(e,t)=>new Q({shape:e,unknownKeys:"strip",catchall:H.create(),typeName:n.ZodObject,...C(t)});class X extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new p(e.ctx.common.issues));return v(t,{code:h.invalid_union,unionErrors:r}),g});{let e;let a=[];for(let s of r){let r={...t,common:{...t.common,issues:[]},parent:null},i=s._parseSync({data:t.data,path:t.path,parent:r});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:r}),r.common.issues.length&&a.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let s=a.map(e=>new p(e));return v(t,{code:h.invalid_union,unionErrors:s}),g}}get options(){return this._def.options}}X.create=(e,t)=>new X({options:e,typeName:n.ZodUnion,...C(t)});let Y=e=>{if(e instanceof el)return Y(e.schema);if(e instanceof eh)return Y(e.innerType());if(e instanceof eu)return[e.value];if(e instanceof eo)return e.options;if(e instanceof ec)return Object.keys(e.enum);if(e instanceof ey)return Y(e._def.innerType);if(e instanceof z)return[void 0];else if(e instanceof K)return[null];else return null};class ee extends Z{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.object)return v(t,{code:h.invalid_type,expected:c.object,received:t.parsedType}),g;let r=this.discriminator,a=t.data[r],s=this.optionsMap.get(a);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(v(t,{code:h.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),g)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let a=new Map;for(let r of t){let t=Y(r.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of t){if(a.has(s))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);a.set(s,r)}}return new ee({typeName:n.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...C(r)})}}class et extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),s=(e,s)=>{if(k(e)||k(s))return g;let i=function e(t,r){let s=f(t),i=f(r);if(t===r)return{valid:!0,data:t};if(s===c.object&&i===c.object){let s=a.objectKeys(r),i=a.objectKeys(t).filter(e=>-1!==s.indexOf(e)),n={...t,...r};for(let a of i){let s=e(t[a],r[a]);if(!s.valid)return{valid:!1};n[a]=s.data}return{valid:!0,data:n}}if(s===c.array&&i===c.array){if(t.length!==r.length)return{valid:!1};let a=[];for(let s=0;ss(e,t)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}et.create=(e,t,r)=>new et({left:e,right:t,typeName:n.ZodIntersection,...C(r)});class er extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.array)return v(r,{code:h.invalid_type,expected:c.array,received:r.parsedType}),g;if(r.data.lengththis._def.items.length&&(v(r,{code:h.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let s=[...r.data].map((e,t)=>{let a=this._def.items[t]||this._def.rest;return a?a._parse(new O(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(s).then(e=>_.mergeArray(t,e)):_.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new er({...this._def,rest:e})}}er.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new er({items:e,typeName:n.ZodTuple,rest:null,...C(t)})};class ea extends Z{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.object)return v(r,{code:h.invalid_type,expected:c.object,received:r.parsedType}),g;let a=[],s=this._def.keyType,i=this._def.valueType;for(let e in r.data)a.push({key:s._parse(new O(r,e,r.path,e)),value:i._parse(new O(r,r.data[e],r.path,e))});return r.common.async?_.mergeObjectAsync(t,a):_.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return new ea(t instanceof Z?{keyType:e,valueType:t,typeName:n.ZodRecord,...C(r)}:{keyType:I.create(),valueType:e,typeName:n.ZodRecord,...C(t)})}}class es extends Z{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.map)return v(r,{code:h.invalid_type,expected:c.map,received:r.parsedType}),g;let a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([e,t],i)=>({key:a._parse(new O(r,e,r.path,[i,"key"])),value:s._parse(new O(r,t,r.path,[i,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of i){let a=await r.key,s=await r.value;if("aborted"===a.status||"aborted"===s.status)return g;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of i){let a=r.key,s=r.value;if("aborted"===a.status||"aborted"===s.status)return g;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}}}}es.create=(e,t,r)=>new es({valueType:t,keyType:e,typeName:n.ZodMap,...C(r)});class ei extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.set)return v(r,{code:h.invalid_type,expected:c.set,received:r.parsedType}),g;let a=this._def;null!==a.minSize&&r.data.sizea.maxSize.value&&(v(r,{code:h.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());let s=this._def.valueType;function i(e){let r=new Set;for(let a of e){if("aborted"===a.status)return g;"dirty"===a.status&&t.dirty(),r.add(a.value)}return{status:t.value,value:r}}let n=[...r.data.values()].map((e,t)=>s._parse(new O(r,e,r.path,t)));return r.common.async?Promise.all(n).then(e=>i(e)):i(n)}min(e,t){return new ei({...this._def,minSize:{value:e,message:i.toString(t)}})}max(e,t){return new ei({...this._def,maxSize:{value:e,message:i.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ei.create=(e,t)=>new ei({valueType:e,minSize:null,maxSize:null,typeName:n.ZodSet,...C(t)});class en extends Z{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.function)return v(t,{code:h.invalid_type,expected:c.function,received:t.parsedType}),g;function r(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,m,m].filter(e=>!!e),issueData:{code:h.invalid_arguments,argumentsError:r}})}function a(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,m,m].filter(e=>!!e),issueData:{code:h.invalid_return_type,returnTypeError:r}})}let s={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof ef){let e=this;return x(async function(...t){let n=new p([]),l=await e._def.args.parseAsync(t,s).catch(e=>{throw n.addIssue(r(t,e)),n}),u=await Reflect.apply(i,this,l),d=await e._def.returns._def.type.parseAsync(u,s).catch(e=>{throw n.addIssue(a(u,e)),n});return d})}{let e=this;return x(function(...t){let n=e._def.args.safeParse(t,s);if(!n.success)throw new p([r(t,n.error)]);let l=Reflect.apply(i,this,n.data),u=e._def.returns.safeParse(l,s);if(!u.success)throw new p([a(l,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new en({...this._def,args:er.create(e).rest(q.create())})}returns(e){return new en({...this._def,returns:e})}implement(e){let t=this.parse(e);return t}strictImplement(e){let t=this.parse(e);return t}static create(e,t,r){return new en({args:e||er.create([]).rest(q.create()),returns:t||q.create(),typeName:n.ZodFunction,...C(r)})}}class el extends Z{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.getter();return r._parse({data:t.data,path:t.path,parent:t})}}el.create=(e,t)=>new el({getter:e,typeName:n.ZodLazy,...C(t)});class eu extends Z{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return v(t,{received:t.data,code:h.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ed(e,t){return new eo({values:e,typeName:n.ZodEnum,...C(t)})}eu.create=(e,t)=>new eu({value:e,typeName:n.ZodLiteral,...C(t)});class eo extends Z{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{expected:a.joinValues(r),received:t.parsedType,code:h.invalid_type}),g}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{received:t.data,code:h.invalid_enum_value,options:r}),g}return x(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return eo.create(e)}exclude(e){return eo.create(this.options.filter(t=>!e.includes(t)))}}eo.create=ed;class ec extends Z{_parse(e){let t=a.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==c.string&&r.parsedType!==c.number){let e=a.objectValues(t);return v(r,{expected:a.joinValues(e),received:r.parsedType,code:h.invalid_type}),g}if(-1===t.indexOf(e.data)){let e=a.objectValues(t);return v(r,{received:r.data,code:h.invalid_enum_value,options:e}),g}return x(e.data)}get enum(){return this._def.values}}ec.create=(e,t)=>new ec({values:e,typeName:n.ZodNativeEnum,...C(t)});class ef extends Z{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.promise&&!1===t.common.async)return v(t,{code:h.invalid_type,expected:c.promise,received:t.parsedType}),g;let r=t.parsedType===c.promise?t.data:Promise.resolve(t.data);return x(r.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}ef.create=(e,t)=>new ef({type:e,typeName:n.ZodPromise,...C(t)});class eh extends Z{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===n.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:e=>{v(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===s.type){let e=s.transform(r.data,i);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:r.path,parent:r})):this._def.schema._parseSync({data:e,path:r.path,parent:r})}if("refinement"===s.type){let e=e=>{let t=s.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===a.status?g:("dirty"===a.status&&t.dirty(),e(a.value),{status:t.value,value:a.value})}}if("transform"===s.type){if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>S(e)?Promise.resolve(s.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!S(e))return e;let a=s.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}a.assertNever(s)}}eh.create=(e,t,r)=>new eh({schema:e,typeName:n.ZodEffects,effect:t,...C(r)}),eh.createWithPreprocess=(e,t,r)=>new eh({schema:t,effect:{type:"preprocess",transform:e},typeName:n.ZodEffects,...C(r)});class ep extends Z{_parse(e){let t=this._getType(e);return t===c.undefined?x(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ep.create=(e,t)=>new ep({innerType:e,typeName:n.ZodOptional,...C(t)});class em extends Z{_parse(e){let t=this._getType(e);return t===c.null?x(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}em.create=(e,t)=>new em({innerType:e,typeName:n.ZodNullable,...C(t)});class ey extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===c.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:n.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...C(t)});class ev extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return T(a)?a.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new p(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new p(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ev.create=(e,t)=>new ev({innerType:e,typeName:n.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...C(t)});class e_ extends Z{_parse(e){let t=this._getType(e);if(t!==c.nan){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}e_.create=e=>new e_({typeName:n.ZodNaN,...C(e)}),Symbol("zod_brand");class eg extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class eb extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async){let e=async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),b(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})};return e()}{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new eb({in:e,out:t,typeName:n.ZodPipeline})}}class ex extends Z{_parse(e){let t=this._def.innerType._parse(e);return S(t)&&(t.value=Object.freeze(t.value)),t}}ex.create=(e,t)=>new ex({innerType:e,typeName:n.ZodReadonly,...C(t)}),Q.lazycreate,(d=n||(n={})).ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly";let ek=I.create;L.create,e_.create,M.create,$.create,U.create,B.create,z.create,K.create,W.create,q.create,H.create,G.create,J.create;let ew=Q.create;Q.strictCreate,X.create,ee.create,et.create,er.create,ea.create,es.create,ei.create,en.create,el.create,eu.create,eo.create,ec.create,ef.create,eh.create,ep.create,em.create,eh.createWithPreprocess,eb.create}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5414-bbfc03f802689235.js b/ee/tabby-webserver/ui/_next/static/chunks/5414-bbfc03f802689235.js new file mode 100644 index 000000000000..130905896975 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/5414-bbfc03f802689235.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5414],{7404:function(e,t,r){r.d(t,{j:function(){return i}});let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e=arguments.length,t=Array(e),r=0;rr=>{var i;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:n,defaultVariants:l}=t,u=Object.keys(n).map(e=>{let t=null==r?void 0:r[e],s=null==l?void 0:l[e];if(null===t)return null;let i=a(t)||a(s);return n[e][i]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{}),o=null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:a,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...d}[t]):({...l,...d})[t]===r})?[...e,r,a]:e},[]);return s(e,u,o,null==r?void 0:r.class,null==r?void 0:r.className)}},38110:function(e,t,r){r.d(t,{F:function(){return o}});var a=r(61865),s=function(e,t,r){if(e&&"reportValidity"in e){var s=(0,a.U2)(r,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},i=function(e,t){var r=function(r){var a=t.fields[r];a&&a.ref&&"reportValidity"in a.ref?s(a.ref,r,e):a.refs&&a.refs.forEach(function(t){return s(t,r,e)})};for(var a in t.fields)r(a)},n=function(e,t){t.shouldUseNativeValidation&&i(e,t);var r={};for(var s in e){var n=(0,a.U2)(t.fields,s),d=Object.assign(e[s]||{},{ref:n&&n.ref});if(u(t.names||Object.keys(e),s)){var o=Object.assign({},l((0,a.U2)(r,s)));(0,a.t8)(o,"root",d),(0,a.t8)(r,s,o)}else(0,a.t8)(r,s,d)}return r},l=function(e){return Array.isArray(e)?e.filter(Boolean):[]},u=function(e,t){return e.some(function(e){return e.startsWith(t+".")})},d=function(e,t){for(var r={};e.length;){var s=e[0],i=s.code,n=s.message,l=s.path.join(".");if(!r[l]){if("unionErrors"in s){var u=s.unionErrors[0].errors[0];r[l]={message:u.message,type:u.code}}else r[l]={message:n,type:i}}if("unionErrors"in s&&s.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var d=r[l].types,o=d&&d[s.code];r[l]=(0,a.KN)(l,t,r,i,o?[].concat(o,s.message):s.message)}e.shift()}return r},o=function(e,t,r){return void 0===r&&(r={}),function(a,s,l){try{return Promise.resolve(function(s,n){try{var u=Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](a,t)).then(function(e){return l.shouldUseNativeValidation&&i({},l),{errors:{},values:r.raw?a:e}})}catch(e){return n(e)}return u&&u.then?u.then(void 0,n):u}(0,function(e){if(null!=e.errors)return{values:{},errors:n(d(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}}}},36743:function(e,t,r){r.d(t,{f:function(){return l}});var a=r(13428),s=r(2265),i=r(9381);let n=(0,s.forwardRef)((e,t)=>(0,s.createElement)(i.WV.label,(0,a.Z)({},e,{ref:t,onMouseDown:t=>{var r;null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),l=n},61865:function(e,t,r){r.d(t,{Gc:function(){return w},KN:function(){return P},Qr:function(){return F},RV:function(){return S},U2:function(){return v},cI:function(){return ex},t8:function(){return R}});var a=r(2265),s=e=>"checkbox"===e.type,i=e=>e instanceof Date,n=e=>null==e;let l=e=>"object"==typeof e;var u=e=>!n(e)&&!Array.isArray(e)&&l(e)&&!i(e),d=e=>u(e)&&e.target?s(e.target)?e.target.checked:e.target.value:e,o=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>e.has(o(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(h&&(e instanceof Blob||e instanceof FileList))&&(r||u(e))))return e;else if(t=r?[]:{},r||f(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],y=e=>void 0===e,v=(e,t,r)=>{if(!t||!u(e))return r;let a=m(t.split(/[,[\].]+?/)).reduce((e,t)=>n(e)?e:e[t],e);return y(a)||a===e?y(e[t])?r:e[t]:a},_=e=>"boolean"==typeof e;let g={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},x={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},k=a.createContext(null),w=()=>a.useContext(k),S=e=>{let{children:t,...r}=e;return a.createElement(k.Provider,{value:r},t)};var T=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==b.all&&(t._proxyFormState[i]=!a||b.all),r&&(r[i]=!0),e[i])});return s},O=e=>u(e)&&!Object.keys(e).length,A=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return O(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||b.all))},C=e=>Array.isArray(e)?e:[e],Z=(e,t,r)=>!e||!t||e===t||C(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e)));function V(e){let t=a.useRef(e);t.current=e,a.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var N=e=>"string"==typeof e,E=(e,t,r,a,s)=>N(e)?(a&&t.watch.add(e),v(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),v(r,e))):(a&&(t.watchAll=!0),r),j=e=>/^\w*$/.test(e),D=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/));function R(e,t,r){let a=-1,s=j(t)?[t]:D(t),i=s.length,n=i-1;for(;++ae.render(function(e){let t=w(),{name:r,disabled:s,control:i=t.control,shouldUnregister:n}=e,l=c(i._names.array,r),u=function(e){let t=w(),{control:r=t.control,name:s,defaultValue:i,disabled:n,exact:l}=e||{},u=a.useRef(s);u.current=s,V({disabled:n,subject:r._subjects.values,next:e=>{Z(u.current,e.name,l)&&o(p(E(u.current,r._names,e.values||r._formValues,!1,i)))}});let[d,o]=a.useState(r._getWatch(s,i));return a.useEffect(()=>r._removeUnmounted()),d}({control:i,name:r,defaultValue:v(i._formValues,r,v(i._defaultValues,r,e.defaultValue)),exact:!0}),o=function(e){let t=w(),{control:r=t.control,disabled:s,name:i,exact:n}=e||{},[l,u]=a.useState(r._formState),d=a.useRef(!0),o=a.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=a.useRef(i);return c.current=i,V({disabled:s,next:e=>d.current&&Z(c.current,e.name,n)&&A(e,o.current,r._updateFormState)&&u({...r._formState,...e}),subject:r._subjects.state}),a.useEffect(()=>(d.current=!0,o.current.isValid&&r._updateValid(!0),()=>{d.current=!1}),[r]),T(l,r,o.current,!1)}({control:i,name:r}),f=a.useRef(i.register(r,{...e.rules,value:u}));return f.current=i.register(r,e.rules),a.useEffect(()=>{let e=i._options.shouldUnregister||n,t=(e,t)=>{let r=v(i._fields,e);r&&(r._f.mount=t)};if(t(r,!0),e){let e=p(v(i._options.defaultValues,r));R(i._defaultValues,r,e),y(v(i._formValues,r))&&R(i._formValues,r,e)}return()=>{(l?e&&!i._state.action:e)?i.unregister(r):t(r,!1)}},[r,i,l,n]),a.useEffect(()=>{v(i._fields,r)&&i._updateDisabledField({disabled:s,fields:i._fields,name:r,value:v(i._fields,r)._f.value})},[s,r,i]),{field:{name:r,value:u,..._(s)||_(o.disabled)?{disabled:o.disabled||s}:{},onChange:a.useCallback(e=>f.current.onChange({target:{value:d(e),name:r},type:g.CHANGE}),[r]),onBlur:a.useCallback(()=>f.current.onBlur({target:{value:v(i._formValues,r),name:r},type:g.BLUR}),[r,i]),ref:e=>{let t=v(i._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:o,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(o.errors,r)},isDirty:{enumerable:!0,get:()=>!!v(o.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!v(o.touchedFields,r)},error:{enumerable:!0,get:()=>v(o.errors,r)}})}}(e));var P=(e,t,r,a,s)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{},I=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched}),L=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let M=(e,t,r,a)=>{for(let s of r||Object.keys(e)){let r=v(e,s);if(r){let{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],s)&&!a||e.ref&&t(e.ref,e.name)&&!a)break}else u(i)&&M(i,t)}}};var $=(e,t,r)=>{let a=m(v(e,r));return R(a,"root",t[r]),R(e,r,a),e},U=e=>"file"===e.type,B=e=>"function"==typeof e,z=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},K=e=>N(e),W=e=>"radio"===e.type,q=e=>e instanceof RegExp;let H={value:!1,isValid:!1},G={value:!0,isValid:!0};var J=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!y(e[0].attributes.value)?y(e[0].value)||""===e[0].value?G:{value:e[0].value,isValid:!0}:G:H}return H};let Q={isValid:!1,value:null};var X=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Q):Q;function Y(e,t,r="validate"){if(K(e)||Array.isArray(e)&&e.every(K)||_(e)&&!e)return{type:r,message:K(e)?e:"",ref:t}}var ee=e=>u(e)&&!q(e)?e:{value:e,message:""},et=async(e,t,r,a,i)=>{let{ref:l,refs:d,required:o,maxLength:c,minLength:f,min:h,max:p,pattern:m,validate:g,name:b,valueAsNumber:k,mount:w,disabled:S}=e._f,T=v(t,b);if(!w||S)return{};let A=d?d[0]:l,C=e=>{a&&A.reportValidity&&(A.setCustomValidity(_(e)?"":e||""),A.reportValidity())},Z={},V=W(l),E=s(l),j=(k||U(l))&&y(l.value)&&y(T)||z(l)&&""===l.value||""===T||Array.isArray(T)&&!T.length,D=P.bind(null,b,r,Z),R=(e,t,r,a=x.maxLength,s=x.minLength)=>{let i=e?t:r;Z[b]={type:e?a:s,message:i,ref:l,...D(e?a:s,i)}};if(i?!Array.isArray(T)||!T.length:o&&(!(V||E)&&(j||n(T))||_(T)&&!T||E&&!J(d).isValid||V&&!X(d).isValid)){let{value:e,message:t}=K(o)?{value:!!o,message:o}:ee(o);if(e&&(Z[b]={type:x.required,message:t,ref:A,...D(x.required,t)},!r))return C(t),Z}if(!j&&(!n(h)||!n(p))){let e,t;let a=ee(p),s=ee(h);if(n(T)||isNaN(T)){let r=l.valueAsDate||new Date(T),i=e=>new Date(new Date().toDateString()+" "+e),n="time"==l.type,u="week"==l.type;N(a.value)&&T&&(e=n?i(T)>i(a.value):u?T>a.value:r>new Date(a.value)),N(s.value)&&T&&(t=n?i(T)a.value),n(s.value)||(t=r+e.value,s=!n(t.value)&&T.length<+t.value;if((a||s)&&(R(a,e.message,t.message),!r))return C(Z[b].message),Z}if(m&&!j&&N(T)){let{value:e,message:t}=ee(m);if(q(e)&&!T.match(e)&&(Z[b]={type:x.pattern,message:t,ref:l,...D(x.pattern,t)},!r))return C(t),Z}if(g){if(B(g)){let e=await g(T,t),a=Y(e,A);if(a&&(Z[b]={...a,...D(x.validate,a.message)},!r))return C(a.message),Z}else if(u(g)){let e={};for(let a in g){if(!O(e)&&!r)break;let s=Y(await g[a](T,t),A,a);s&&(e={...s,...D(a,s.message)},C(s.message),r&&(Z[b]=e))}if(!O(e)&&(Z[b]={ref:A,...e},!r))return Z}}return C(!0),Z};function er(e,t){let r=Array.isArray(t)?t:j(t)?[t]:D(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var es=e=>n(e)||!l(e);function ei(e,t){if(es(e)||es(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!ei(r,e):r!==e)return!1}}return!0}var en=e=>"select-multiple"===e.type,el=e=>W(e)||s(e),eu=e=>z(e)&&e.isConnected,ed=e=>{for(let t in e)if(B(e[t]))return!0;return!1};function eo(e,t={}){let r=Array.isArray(e);if(u(e)||r)for(let r in e)Array.isArray(e[r])||u(e[r])&&!ed(e[r])?(t[r]=Array.isArray(e[r])?[]:{},eo(e[r],t[r])):n(e[r])||(t[r]=!0);return t}var ec=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(u(t)||s)for(let s in t)Array.isArray(t[s])||u(t[s])&&!ed(t[s])?y(r)||es(a[s])?a[s]=Array.isArray(t[s])?eo(t[s],[]):{...eo(t[s])}:e(t[s],n(r)?{}:r[s],a[s]):a[s]=!ei(t[s],r[s]);return a})(e,t,eo(t)),ef=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>y(e)?e:t?""===e?NaN:e?+e:e:r&&N(e)?new Date(e):a?a(e):e;function eh(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:U(t)?t.files:W(t)?X(e.refs).value:en(t)?[...t.selectedOptions].map(({value:e})=>e):s(t)?J(e.refs).value:ef(y(t.value)?e.ref.value:t.value,e)}var ep=(e,t,r,a)=>{let s={};for(let r of e){let e=v(t,r);e&&R(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},em=e=>y(e)?e:q(e)?e.source:u(e)?q(e.value)?e.value.source:e.value:e,ey=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ev(e,t,r){let a=v(e,r);if(a||j(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=v(t,a),n=v(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(n&&n.type)return{name:a,error:n};s.pop()}return{name:r}}var e_=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),eg=(e,t)=>!m(v(e,t)).length&&er(e,t);let eb={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0};function ex(e={}){let t=a.useRef(),r=a.useRef(),[l,o]=a.useState({isDirty:!1,isValidating:!1,isLoading:B(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},disabled:!1,defaultValues:B(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,a={...eb,...e},l={submitCount:0,isDirty:!1,isLoading:B(a.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{},disabled:!1},o={},f=(u(a.defaultValues)||u(a.values))&&p(a.defaultValues||a.values)||{},x=a.shouldUnregister?{}:p(f),k={action:!1,mount:!1,watch:!1},w={mount:new Set,unMount:new Set,array:new Set,watch:new Set},S=0,T={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},A={values:ea(),array:ea(),state:ea()},Z=e.resetOptions&&e.resetOptions.keepDirtyValues,V=I(a.mode),j=I(a.reValidateMode),D=a.criteriaMode===b.all,F=e=>t=>{clearTimeout(S),S=setTimeout(e,t)},P=async e=>{if(T.isValid||e){let e=a.resolver?O((await J()).errors):await X(o,!0);e!==l.isValid&&A.state.next({isValid:e})}},K=e=>T.isValidating&&A.state.next({isValidating:e}),W=(e,t)=>{R(l.errors,e,t),A.state.next({errors:l.errors})},q=(e,t,r,a)=>{let s=v(o,e);if(s){let i=v(x,e,y(r)?v(f,e):r);y(i)||a&&a.defaultChecked||t?R(x,e,t?i:eh(s._f)):ed(e,i),k.mount&&P()}},H=(e,t,r,a,s)=>{let i=!1,n=!1,u={name:e};if(!r||a){T.isDirty&&(n=l.isDirty,l.isDirty=u.isDirty=Y(),i=n!==u.isDirty);let r=ei(v(f,e),t);n=v(l.dirtyFields,e),r?er(l.dirtyFields,e):R(l.dirtyFields,e,!0),u.dirtyFields=l.dirtyFields,i=i||T.dirtyFields&&!r!==n}if(r){let t=v(l.touchedFields,e);t||(R(l.touchedFields,e,r),u.touchedFields=l.touchedFields,i=i||T.touchedFields&&t!==r)}return i&&s&&A.state.next(u),i?u:{}},G=(t,a,s,i)=>{let n=v(l.errors,t),u=T.isValid&&_(a)&&l.isValid!==a;if(e.delayError&&s?(r=F(()=>W(t,s)))(e.delayError):(clearTimeout(S),r=null,s?R(l.errors,t,s):er(l.errors,t)),(s?!ei(n,s):n)||!O(i)||u){let e={...i,...u&&_(a)?{isValid:a}:{},errors:l.errors,name:t};l={...l,...e},A.state.next(e)}K(!1)},J=async e=>a.resolver(x,a.context,ep(e||w.mount,o,a.criteriaMode,a.shouldUseNativeValidation)),Q=async e=>{let{errors:t}=await J(e);if(e)for(let r of e){let e=v(t,r);e?R(l.errors,r,e):er(l.errors,r)}else l.errors=t;return t},X=async(e,t,r={valid:!0})=>{for(let s in e){let i=e[s];if(i){let{_f:e,...s}=i;if(e){let s=w.array.has(e.name),n=await et(i,x,D,a.shouldUseNativeValidation&&!t,s);if(n[e.name]&&(r.valid=!1,t))break;t||(v(n,e.name)?s?$(l.errors,n,e.name):R(l.errors,e.name,n[e.name]):er(l.errors,e.name))}s&&await X(s,t,r)}}return r.valid},Y=(e,t)=>(e&&t&&R(x,e,t),!ei(eT(),f)),ee=(e,t,r)=>E(e,w,{...k.mount?x:y(t)?f:N(e)?{[e]:t}:t},r,t),ed=(e,t,r={})=>{let a=v(o,e),i=t;if(a){let r=a._f;r&&(r.disabled||R(x,e,ef(t,r)),i=z(r.ref)&&n(t)?"":t,en(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?s(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):U(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||A.values.next({name:e,values:{...x}})))}(r.shouldDirty||r.shouldTouch)&&H(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eS(e)},eo=(e,t,r)=>{for(let a in t){let s=t[a],n=`${e}.${a}`,l=v(o,n);!w.array.has(e)&&es(s)&&(!l||l._f)||i(s)?ed(n,s,r):eo(n,s,r)}},ex=(e,r,a={})=>{let s=v(o,e),i=w.array.has(e),u=p(r);R(x,e,u),i?(A.array.next({name:e,values:{...x}}),(T.isDirty||T.dirtyFields)&&a.shouldDirty&&A.state.next({name:e,dirtyFields:ec(f,x),isDirty:Y(e,u)})):!s||s._f||n(u)?ed(e,u,a):eo(e,u,a),L(e,w)&&A.state.next({...l}),A.values.next({name:e,values:{...x}}),k.mount||t()},ek=async e=>{let t=e.target,s=t.name,i=!0,n=v(o,s),u=e=>{i=Number.isNaN(e)||e===v(x,s,e)};if(n){let c,f;let h=t.type?eh(n._f):d(e),p=e.type===g.BLUR||e.type===g.FOCUS_OUT,m=!ey(n._f)&&!a.resolver&&!v(l.errors,s)&&!n._f.deps||e_(p,v(l.touchedFields,s),l.isSubmitted,j,V),y=L(s,w,p);R(x,s,h),p?(n._f.onBlur&&n._f.onBlur(e),r&&r(0)):n._f.onChange&&n._f.onChange(e);let _=H(s,h,p,!1),b=!O(_)||y;if(p||A.values.next({name:s,type:e.type,values:{...x}}),m)return T.isValid&&P(),b&&A.state.next({name:s,...y?{}:_});if(!p&&y&&A.state.next({...l}),K(!0),a.resolver){let{errors:e}=await J([s]);if(u(h),i){let t=ev(l.errors,o,s),r=ev(e,o,t.name||s);c=r.error,s=r.name,f=O(e)}}else c=(await et(n,x,D,a.shouldUseNativeValidation))[s],u(h),i&&(c?f=!1:T.isValid&&(f=await X(o,!0)));i&&(n._f.deps&&eS(n._f.deps),G(s,f,c,_))}},ew=(e,t)=>{if(v(l.errors,t)&&e.focus)return e.focus(),1},eS=async(e,t={})=>{let r,s;let i=C(e);if(K(!0),a.resolver){let t=await Q(y(e)?e:i);r=O(t),s=e?!i.some(e=>v(t,e)):r}else e?((s=(await Promise.all(i.map(async e=>{let t=v(o,e);return await X(t&&t._f?{[e]:t}:t)}))).every(Boolean))||l.isValid)&&P():s=r=await X(o);return A.state.next({...!N(e)||T.isValid&&r!==l.isValid?{}:{name:e},...a.resolver||!e?{isValid:r}:{},errors:l.errors,isValidating:!1}),t.shouldFocus&&!s&&M(o,ew,e?i:w.mount),s},eT=e=>{let t={...f,...k.mount?x:{}};return y(e)?t:N(e)?v(t,e):e.map(e=>v(t,e))},eO=(e,t)=>({invalid:!!v((t||l).errors,e),isDirty:!!v((t||l).dirtyFields,e),isTouched:!!v((t||l).touchedFields,e),error:v((t||l).errors,e)}),eA=(e,t,r)=>{let a=(v(o,e,{_f:{}})._f||{}).ref;R(l.errors,e,{...t,ref:a}),A.state.next({name:e,errors:l.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},eC=(e,t={})=>{for(let r of e?C(e):w.mount)w.mount.delete(r),w.array.delete(r),t.keepValue||(er(o,r),er(x,r)),t.keepError||er(l.errors,r),t.keepDirty||er(l.dirtyFields,r),t.keepTouched||er(l.touchedFields,r),a.shouldUnregister||t.keepDefaultValue||er(f,r);A.values.next({values:{...x}}),A.state.next({...l,...t.keepDirty?{isDirty:Y()}:{}}),t.keepIsValid||P()},eZ=({disabled:e,name:t,field:r,fields:a,value:s})=>{if(_(e)){let i=e?void 0:y(s)?eh(r?r._f:v(a,t)._f):s;R(x,t,i),H(t,i,!1,!1,!0)}},eV=(e,t={})=>{let r=v(o,e),s=_(t.disabled);return R(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),w.mount.add(e),r?eZ({field:r,disabled:t.disabled,name:e}):q(e,!0,t.value),{...s?{disabled:t.disabled}:{},...a.progressive?{required:!!t.required,min:em(t.min),max:em(t.max),minLength:em(t.minLength),maxLength:em(t.maxLength),pattern:em(t.pattern)}:{},name:e,onChange:ek,onBlur:ek,ref:s=>{if(s){eV(e,t),r=v(o,e);let a=y(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=el(a),n=r._f.refs||[];(i?n.find(e=>e===a):a===r._f.ref)||(R(o,e,{_f:{...r._f,...i?{refs:[...n.filter(eu),a,...Array.isArray(v(f,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),q(e,!1,void 0,a))}else(r=v(o,e,{}))._f&&(r._f.mount=!1),(a.shouldUnregister||t.shouldUnregister)&&!(c(w.array,e)&&k.action)&&w.unMount.add(e)}}},eN=()=>a.shouldFocusError&&M(o,ew,w.mount),eE=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let s=p(x);if(A.state.next({isSubmitting:!0}),a.resolver){let{errors:e,values:t}=await J();l.errors=e,s=t}else await X(o);er(l.errors,"root"),O(l.errors)?(A.state.next({errors:{}}),await e(s,r)):(t&&await t({...l.errors},r),eN(),setTimeout(eN)),A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:O(l.errors),submitCount:l.submitCount+1,errors:l.errors})},ej=(r,a={})=>{let s=r?p(r):f,i=p(s),n=r&&!O(r)?i:f;if(a.keepDefaultValues||(f=s),!a.keepValues){if(a.keepDirtyValues||Z)for(let e of w.mount)v(l.dirtyFields,e)?R(n,e,v(x,e)):ex(e,v(n,e));else{if(h&&y(r))for(let e of w.mount){let t=v(o,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(z(e)){let t=e.closest("form");if(t){t.reset();break}}}}o={}}x=e.shouldUnregister?a.keepDefaultValues?p(f):{}:p(n),A.array.next({values:{...n}}),A.values.next({values:{...n}})}w={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},k.mount||t(),k.mount=!T.isValid||!!a.keepIsValid,k.watch=!!e.shouldUnregister,A.state.next({submitCount:a.keepSubmitCount?l.submitCount:0,isDirty:a.keepDirty?l.isDirty:!!(a.keepDefaultValues&&!ei(r,f)),isSubmitted:!!a.keepIsSubmitted&&l.isSubmitted,dirtyFields:a.keepDirtyValues?l.dirtyFields:a.keepDefaultValues&&r?ec(f,r):{},touchedFields:a.keepTouched?l.touchedFields:{},errors:a.keepErrors?l.errors:{},isSubmitSuccessful:!!a.keepIsSubmitSuccessful&&l.isSubmitSuccessful,isSubmitting:!1})},eD=(e,t)=>ej(B(e)?e(x):e,t);return{control:{register:eV,unregister:eC,getFieldState:eO,handleSubmit:eE,setError:eA,_executeSchema:J,_getWatch:ee,_getDirty:Y,_updateValid:P,_removeUnmounted:()=>{for(let e of w.unMount){let t=v(o,e);t&&(t._f.refs?t._f.refs.every(e=>!eu(e)):!eu(t._f.ref))&&eC(e)}w.unMount=new Set},_updateFieldArray:(e,t=[],r,a,s=!0,i=!0)=>{if(a&&r){if(k.action=!0,i&&Array.isArray(v(o,e))){let t=r(v(o,e),a.argA,a.argB);s&&R(o,e,t)}if(i&&Array.isArray(v(l.errors,e))){let t=r(v(l.errors,e),a.argA,a.argB);s&&R(l.errors,e,t),eg(l.errors,e)}if(T.touchedFields&&i&&Array.isArray(v(l.touchedFields,e))){let t=r(v(l.touchedFields,e),a.argA,a.argB);s&&R(l.touchedFields,e,t)}T.dirtyFields&&(l.dirtyFields=ec(f,x)),A.state.next({name:e,isDirty:Y(e,t),dirtyFields:l.dirtyFields,errors:l.errors,isValid:l.isValid})}else R(x,e,t)},_updateDisabledField:eZ,_getFieldArray:t=>m(v(k.mount?x:f,t,e.shouldUnregister?v(f,t,[]):[])),_reset:ej,_resetDefaultValues:()=>B(a.defaultValues)&&a.defaultValues().then(e=>{eD(e,a.resetOptions),A.state.next({isLoading:!1})}),_updateFormState:e=>{l={...l,...e}},_disableForm:e=>{_(e)&&(A.state.next({disabled:e}),M(o,t=>{t.disabled=e},0,!1))},_subjects:A,_proxyFormState:T,get _fields(){return o},get _formValues(){return x},get _state(){return k},set _state(value){k=value},get _defaultValues(){return f},get _names(){return w},set _names(value){w=value},get _formState(){return l},set _formState(value){l=value},get _options(){return a},set _options(value){a={...a,...value}}},trigger:eS,register:eV,handleSubmit:eE,watch:(e,t)=>B(e)?A.values.subscribe({next:r=>e(ee(void 0,t),r)}):ee(e,t,!0),setValue:ex,getValues:eT,reset:eD,resetField:(e,t={})=>{v(o,e)&&(y(t.defaultValue)?ex(e,v(f,e)):(ex(e,t.defaultValue),R(f,e,t.defaultValue)),t.keepTouched||er(l.touchedFields,e),t.keepDirty||(er(l.dirtyFields,e),l.isDirty=t.defaultValue?Y(e,v(f,e)):Y()),!t.keepError&&(er(l.errors,e),T.isValid&&P()),A.state.next({...l}))},clearErrors:e=>{e&&C(e).forEach(e=>er(l.errors,e)),A.state.next({errors:e?l.errors:{}})},unregister:eC,setError:eA,setFocus:(e,t={})=>{let r=v(o,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eO}}(e,()=>o(e=>({...e}))),formState:l});let f=t.current.control;return f._options=e,V({subject:f._subjects.state,next:e=>{A(e,f._proxyFormState,f._updateFormState,!0)&&o({...f._formState})}}),a.useEffect(()=>f._disableForm(e.disabled),[f,e.disabled]),a.useEffect(()=>{if(f._proxyFormState.isDirty){let e=f._getDirty();e!==l.isDirty&&f._subjects.state.next({isDirty:e})}},[f,l.isDirty]),a.useEffect(()=>{e.values&&!ei(e.values,r.current)?(f._reset(e.values,f._options.resetOptions),r.current=e.values):f._resetDefaultValues()},[e.values,f]),a.useEffect(()=>{f._state.mount||(f._updateValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=T(l,f),t.current}},74578:function(e,t,r){var a,s,i,n,l,u,d;let o;r.d(t,{Ry:function(){return ew},Z_:function(){return ek}}),(l=a||(a={})).assertEqual=e=>e,l.assertIs=function(e){},l.assertNever=function(e){throw Error()},l.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},l.getValidEnumValues=e=>{let t=l.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let a of t)r[a]=e[a];return l.objectValues(r)},l.objectValues=e=>l.objectKeys(e).map(function(t){return e[t]}),l.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},l.find=(e,t)=>{for(let r of e)if(t(r))return r},l.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,l.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},l.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(s||(s={})).mergeShapes=(e,t)=>({...e,...t});let c=a.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),f=e=>{let t=typeof e;switch(t){case"undefined":return c.undefined;case"string":return c.string;case"number":return isNaN(e)?c.nan:c.number;case"boolean":return c.boolean;case"function":return c.function;case"bigint":return c.bigint;case"symbol":return c.symbol;case"object":if(Array.isArray(e))return c.array;if(null===e)return c.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return c.promise;if("undefined"!=typeof Map&&e instanceof Map)return c.map;if("undefined"!=typeof Set&&e instanceof Set)return c.set;if("undefined"!=typeof Date&&e instanceof Date)return c.date;return c.object;default:return c.unknown}},h=a.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class p extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},r={_errors:[]},a=e=>{for(let s of e.issues)if("invalid_union"===s.code)s.unionErrors.map(a);else if("invalid_return_type"===s.code)a(s.returnTypeError);else if("invalid_arguments"===s.code)a(s.argumentsError);else if(0===s.path.length)r._errors.push(t(s));else{let e=r,a=0;for(;ae.message){let t={},r=[];for(let a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}p.create=e=>{let t=new p(e);return t};let m=(e,t)=>{let r;switch(e.code){case h.invalid_type:r=e.received===c.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case h.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,a.jsonStringifyReplacer)}`;break;case h.unrecognized_keys:r=`Unrecognized key(s) in object: ${a.joinValues(e.keys,", ")}`;break;case h.invalid_union:r="Invalid input";break;case h.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${a.joinValues(e.options)}`;break;case h.invalid_enum_value:r=`Invalid enum value. Expected ${a.joinValues(e.options)}, received '${e.received}'`;break;case h.invalid_arguments:r="Invalid function arguments";break;case h.invalid_return_type:r="Invalid function return type";break;case h.invalid_date:r="Invalid date";break;case h.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:a.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case h.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case h.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case h.custom:r="Invalid input";break;case h.invalid_intersection_types:r="Intersection results could not be merged";break;case h.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case h.not_finite:r="Number must be finite";break;default:r=t.defaultError,a.assertNever(e)}return{message:r}},y=e=>{let{data:t,path:r,errorMaps:a,issueData:s}=e,i=[...r,...s.path||[]],n={...s,path:i},l="",u=a.filter(e=>!!e).slice().reverse();for(let e of u)l=e(n,{data:t,defaultError:l}).message;return{...s,path:i,message:s.message||l}};function v(e,t){let r=y({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,m,m].filter(e=>!!e)});e.common.issues.push(r)}class _{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let a of t){if("aborted"===a.status)return g;"dirty"===a.status&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t)r.push({key:await e.key,value:await e.value});return _.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let a of t){let{key:t,value:s}=a;if("aborted"===t.status||"aborted"===s.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==s.value||a.alwaysSet)&&(r[t.value]=s.value)}return{status:e.value,value:r}}}let g=Object.freeze({status:"aborted"}),b=e=>({status:"dirty",value:e}),x=e=>({status:"valid",value:e}),k=e=>"aborted"===e.status,w=e=>"dirty"===e.status,S=e=>"valid"===e.status,T=e=>"undefined"!=typeof Promise&&e instanceof Promise;(u=i||(i={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},u.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class O{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let A=(e,t)=>{if(S(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new p(e.common.issues);return this._error=t,this._error}}};function C(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:a,description:s}=e;if(t&&(r||a))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:s}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=a?a:t.defaultError}:{message:null!=r?r:t.defaultError},description:s}}class Z{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return f(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:f(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new _,ctx:{common:e.parent.common,data:e.data,parsedType:f(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(T(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let a={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f(e)},s=this._parseSync({data:e,path:a.path,parent:a});return A(a,s)}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f(e)},a=this._parse({data:e,path:r.path,parent:r}),s=await (T(a)?a:Promise.resolve(a));return A(r,s)}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,a)=>{let s=e(t),i=()=>a.addIssue({code:h.custom,...r(t)});return"undefined"!=typeof Promise&&s instanceof Promise?s.then(e=>!!e||(i(),!1)):!!s||(i(),!1)})}refinement(e,t){return this._refinement((r,a)=>!!e(r)||(a.addIssue("function"==typeof t?t(r,a):t),!1))}_refinement(e){return new eh({schema:this,typeName:n.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ep.create(this,this._def)}nullable(){return em.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J.create(this,this._def)}promise(){return ef.create(this,this._def)}or(e){return X.create([this,e],this._def)}and(e){return et.create(this,e,this._def)}transform(e){return new eh({...C(this._def),schema:this,typeName:n.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ey({...C(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:n.ZodDefault})}brand(){return new eg({typeName:n.ZodBranded,type:this,...C(this._def)})}catch(e){return new ev({...C(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:n.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return eb.create(this,e)}readonly(){return ex.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let V=/^c[^\s-]{8,}$/i,N=/^[a-z][a-z0-9]*$/,E=/^[0-9A-HJKMNP-TV-Z]{26}$/,j=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,D=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,R=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,F=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,P=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class I extends Z{_parse(e){let t;this._def.coerce&&(e.data=String(e.data));let r=this._getType(e);if(r!==c.string){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.string,received:t.parsedType}),g}let s=new _;for(let r of this._def.checks)if("min"===r.kind)e.data.lengthr.value&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),s.dirty());else if("length"===r.kind){let a=e.data.length>r.value,i=e.data.lengthe.test(t),{validation:t,code:h.invalid_string,...i.errToObj(r)})}_addCheck(e){return new I({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...i.errToObj(e)})}url(e){return this._addCheck({kind:"url",...i.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...i.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...i.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...i.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...i.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...i.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...i.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...i.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...i.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...i.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...i.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...i.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...i.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...i.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...i.errToObj(t)})}nonempty(e){return this.min(1,i.errToObj(e))}trim(){return new I({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new I({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new I({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new I({checks:[],typeName:n.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...C(e)})};class L extends Z{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;this._def.coerce&&(e.data=Number(e.data));let r=this._getType(e);if(r!==c.number){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.number,received:t.parsedType}),g}let s=new _;for(let r of this._def.checks)if("int"===r.kind)a.isInteger(e.data)||(v(t=this._getOrReturnCtx(e,t),{code:h.invalid_type,expected:"integer",received:"float",message:r.message}),s.dirty());else if("min"===r.kind){let a=r.inclusive?e.datar.value:e.data>=r.value;a&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),s.dirty())}else"multipleOf"===r.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,s=r>a?r:a,i=parseInt(e.toFixed(s).replace(".","")),n=parseInt(t.toFixed(s).replace(".",""));return i%n/Math.pow(10,s)}(e.data,r.value)&&(v(t=this._getOrReturnCtx(e,t),{code:h.not_multiple_of,multipleOf:r.value,message:r.message}),s.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(v(t=this._getOrReturnCtx(e,t),{code:h.not_finite,message:r.message}),s.dirty()):a.assertNever(r);return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,i.toString(t))}gt(e,t){return this.setLimit("min",e,!1,i.toString(t))}lte(e,t){return this.setLimit("max",e,!0,i.toString(t))}lt(e,t){return this.setLimit("max",e,!1,i.toString(t))}setLimit(e,t,r,a){return new L({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:i.toString(a)}]})}_addCheck(e){return new L({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:i.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:i.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:i.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:i.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:i.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:i.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:i.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:i.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:i.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&a.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.valuenew L({checks:[],typeName:n.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...C(e)});class M extends Z{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;this._def.coerce&&(e.data=BigInt(e.data));let r=this._getType(e);if(r!==c.bigint){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.bigint,received:t.parsedType}),g}let s=new _;for(let r of this._def.checks)if("min"===r.kind){let a=r.inclusive?e.datar.value:e.data>=r.value;a&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),s.dirty())}else"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(v(t=this._getOrReturnCtx(e,t),{code:h.not_multiple_of,multipleOf:r.value,message:r.message}),s.dirty()):a.assertNever(r);return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,i.toString(t))}gt(e,t){return this.setLimit("min",e,!1,i.toString(t))}lte(e,t){return this.setLimit("max",e,!0,i.toString(t))}lt(e,t){return this.setLimit("max",e,!1,i.toString(t))}setLimit(e,t,r,a){return new M({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:i.toString(a)}]})}_addCheck(e){return new M({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:i.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:i.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:i.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:i.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:i.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new M({checks:[],typeName:n.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...C(e)})};class $ extends Z{_parse(e){this._def.coerce&&(e.data=!!e.data);let t=this._getType(e);if(t!==c.boolean){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.boolean,received:t.parsedType}),g}return x(e.data)}}$.create=e=>new $({typeName:n.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...C(e)});class U extends Z{_parse(e){let t;this._def.coerce&&(e.data=new Date(e.data));let r=this._getType(e);if(r!==c.date){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.date,received:t.parsedType}),g}if(isNaN(e.data.getTime())){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_date}),g}let s=new _;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),s.dirty()):a.assertNever(r);return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:i.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:i.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew U({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:n.ZodDate,...C(e)});class B extends Z{_parse(e){let t=this._getType(e);if(t!==c.symbol){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.symbol,received:t.parsedType}),g}return x(e.data)}}B.create=e=>new B({typeName:n.ZodSymbol,...C(e)});class z extends Z{_parse(e){let t=this._getType(e);if(t!==c.undefined){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.undefined,received:t.parsedType}),g}return x(e.data)}}z.create=e=>new z({typeName:n.ZodUndefined,...C(e)});class K extends Z{_parse(e){let t=this._getType(e);if(t!==c.null){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.null,received:t.parsedType}),g}return x(e.data)}}K.create=e=>new K({typeName:n.ZodNull,...C(e)});class W extends Z{constructor(){super(...arguments),this._any=!0}_parse(e){return x(e.data)}}W.create=e=>new W({typeName:n.ZodAny,...C(e)});class q extends Z{constructor(){super(...arguments),this._unknown=!0}_parse(e){return x(e.data)}}q.create=e=>new q({typeName:n.ZodUnknown,...C(e)});class H extends Z{_parse(e){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.never,received:t.parsedType}),g}}H.create=e=>new H({typeName:n.ZodNever,...C(e)});class G extends Z{_parse(e){let t=this._getType(e);if(t!==c.undefined){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.void,received:t.parsedType}),g}return x(e.data)}}G.create=e=>new G({typeName:n.ZodVoid,...C(e)});class J extends Z{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==c.array)return v(t,{code:h.invalid_type,expected:c.array,received:t.parsedType}),g;if(null!==a.exactLength){let e=t.data.length>a.exactLength.value,s=t.data.lengtha.maxLength.value&&(v(t,{code:h.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>a.type._parseAsync(new O(t,e,t.path,r)))).then(e=>_.mergeArray(r,e));let s=[...t.data].map((e,r)=>a.type._parseSync(new O(t,e,t.path,r)));return _.mergeArray(r,s)}get element(){return this._def.type}min(e,t){return new J({...this._def,minLength:{value:e,message:i.toString(t)}})}max(e,t){return new J({...this._def,maxLength:{value:e,message:i.toString(t)}})}length(e,t){return new J({...this._def,exactLength:{value:e,message:i.toString(t)}})}nonempty(e){return this.min(1,e)}}J.create=(e,t)=>new J({type:e,minLength:null,maxLength:null,exactLength:null,typeName:n.ZodArray,...C(t)});class Q extends Z{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=a.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){let t=this._getType(e);if(t!==c.object){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.object,received:t.parsedType}),g}let{status:r,ctx:a}=this._processInputParams(e),{shape:s,keys:i}=this._getCached(),n=[];if(!(this._def.catchall instanceof H&&"strip"===this._def.unknownKeys))for(let e in a.data)i.includes(e)||n.push(e);let l=[];for(let e of i){let t=s[e],r=a.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new O(a,r,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof H){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of n)l.push({key:{status:"valid",value:e},value:{status:"valid",value:a.data[e]}});else if("strict"===e)n.length>0&&(v(a,{code:h.unrecognized_keys,keys:n}),r.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of n){let r=a.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new O(a,r,a.path,t)),alwaysSet:t in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let r=await t.key;e.push({key:r,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>_.mergeObjectSync(r,e)):_.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(e){return i.errToObj,new Q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var a,s,n,l;let u=null!==(n=null===(s=(a=this._def).errorMap)||void 0===s?void 0:s.call(a,t,r).message)&&void 0!==n?n:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(l=i.errToObj(e).message)&&void 0!==l?l:u}:{message:u}}}:{}})}strip(){return new Q({...this._def,unknownKeys:"strip"})}passthrough(){return new Q({...this._def,unknownKeys:"passthrough"})}extend(e){return new Q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){let t=new Q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:n.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Q({...this._def,catchall:e})}pick(e){let t={};return a.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new Q({...this._def,shape:()=>t})}omit(e){let t={};return a.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new Q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof Q){let r={};for(let a in t.shape){let s=t.shape[a];r[a]=ep.create(e(s))}return new Q({...t._def,shape:()=>r})}return t instanceof J?new J({...t._def,type:e(t.element)}):t instanceof ep?ep.create(e(t.unwrap())):t instanceof em?em.create(e(t.unwrap())):t instanceof er?er.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return a.objectKeys(this.shape).forEach(r=>{let a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new Q({...this._def,shape:()=>t})}required(e){let t={};return a.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r],a=e;for(;a instanceof ep;)a=a._def.innerType;t[r]=a}}),new Q({...this._def,shape:()=>t})}keyof(){return ed(a.objectKeys(this.shape))}}Q.create=(e,t)=>new Q({shape:()=>e,unknownKeys:"strip",catchall:H.create(),typeName:n.ZodObject,...C(t)}),Q.strictCreate=(e,t)=>new Q({shape:()=>e,unknownKeys:"strict",catchall:H.create(),typeName:n.ZodObject,...C(t)}),Q.lazycreate=(e,t)=>new Q({shape:e,unknownKeys:"strip",catchall:H.create(),typeName:n.ZodObject,...C(t)});class X extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new p(e.ctx.common.issues));return v(t,{code:h.invalid_union,unionErrors:r}),g});{let e;let a=[];for(let s of r){let r={...t,common:{...t.common,issues:[]},parent:null},i=s._parseSync({data:t.data,path:t.path,parent:r});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:r}),r.common.issues.length&&a.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let s=a.map(e=>new p(e));return v(t,{code:h.invalid_union,unionErrors:s}),g}}get options(){return this._def.options}}X.create=(e,t)=>new X({options:e,typeName:n.ZodUnion,...C(t)});let Y=e=>{if(e instanceof el)return Y(e.schema);if(e instanceof eh)return Y(e.innerType());if(e instanceof eu)return[e.value];if(e instanceof eo)return e.options;if(e instanceof ec)return Object.keys(e.enum);if(e instanceof ey)return Y(e._def.innerType);if(e instanceof z)return[void 0];else if(e instanceof K)return[null];else return null};class ee extends Z{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.object)return v(t,{code:h.invalid_type,expected:c.object,received:t.parsedType}),g;let r=this.discriminator,a=t.data[r],s=this.optionsMap.get(a);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(v(t,{code:h.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),g)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let a=new Map;for(let r of t){let t=Y(r.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of t){if(a.has(s))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);a.set(s,r)}}return new ee({typeName:n.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...C(r)})}}class et extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),s=(e,s)=>{if(k(e)||k(s))return g;let i=function e(t,r){let s=f(t),i=f(r);if(t===r)return{valid:!0,data:t};if(s===c.object&&i===c.object){let s=a.objectKeys(r),i=a.objectKeys(t).filter(e=>-1!==s.indexOf(e)),n={...t,...r};for(let a of i){let s=e(t[a],r[a]);if(!s.valid)return{valid:!1};n[a]=s.data}return{valid:!0,data:n}}if(s===c.array&&i===c.array){if(t.length!==r.length)return{valid:!1};let a=[];for(let s=0;ss(e,t)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}et.create=(e,t,r)=>new et({left:e,right:t,typeName:n.ZodIntersection,...C(r)});class er extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.array)return v(r,{code:h.invalid_type,expected:c.array,received:r.parsedType}),g;if(r.data.lengththis._def.items.length&&(v(r,{code:h.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let s=[...r.data].map((e,t)=>{let a=this._def.items[t]||this._def.rest;return a?a._parse(new O(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(s).then(e=>_.mergeArray(t,e)):_.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new er({...this._def,rest:e})}}er.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new er({items:e,typeName:n.ZodTuple,rest:null,...C(t)})};class ea extends Z{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.object)return v(r,{code:h.invalid_type,expected:c.object,received:r.parsedType}),g;let a=[],s=this._def.keyType,i=this._def.valueType;for(let e in r.data)a.push({key:s._parse(new O(r,e,r.path,e)),value:i._parse(new O(r,r.data[e],r.path,e))});return r.common.async?_.mergeObjectAsync(t,a):_.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return new ea(t instanceof Z?{keyType:e,valueType:t,typeName:n.ZodRecord,...C(r)}:{keyType:I.create(),valueType:e,typeName:n.ZodRecord,...C(t)})}}class es extends Z{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.map)return v(r,{code:h.invalid_type,expected:c.map,received:r.parsedType}),g;let a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([e,t],i)=>({key:a._parse(new O(r,e,r.path,[i,"key"])),value:s._parse(new O(r,t,r.path,[i,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of i){let a=await r.key,s=await r.value;if("aborted"===a.status||"aborted"===s.status)return g;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of i){let a=r.key,s=r.value;if("aborted"===a.status||"aborted"===s.status)return g;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}}}}es.create=(e,t,r)=>new es({valueType:t,keyType:e,typeName:n.ZodMap,...C(r)});class ei extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.set)return v(r,{code:h.invalid_type,expected:c.set,received:r.parsedType}),g;let a=this._def;null!==a.minSize&&r.data.sizea.maxSize.value&&(v(r,{code:h.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());let s=this._def.valueType;function i(e){let r=new Set;for(let a of e){if("aborted"===a.status)return g;"dirty"===a.status&&t.dirty(),r.add(a.value)}return{status:t.value,value:r}}let n=[...r.data.values()].map((e,t)=>s._parse(new O(r,e,r.path,t)));return r.common.async?Promise.all(n).then(e=>i(e)):i(n)}min(e,t){return new ei({...this._def,minSize:{value:e,message:i.toString(t)}})}max(e,t){return new ei({...this._def,maxSize:{value:e,message:i.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ei.create=(e,t)=>new ei({valueType:e,minSize:null,maxSize:null,typeName:n.ZodSet,...C(t)});class en extends Z{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.function)return v(t,{code:h.invalid_type,expected:c.function,received:t.parsedType}),g;function r(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,m,m].filter(e=>!!e),issueData:{code:h.invalid_arguments,argumentsError:r}})}function a(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,m,m].filter(e=>!!e),issueData:{code:h.invalid_return_type,returnTypeError:r}})}let s={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof ef){let e=this;return x(async function(...t){let n=new p([]),l=await e._def.args.parseAsync(t,s).catch(e=>{throw n.addIssue(r(t,e)),n}),u=await Reflect.apply(i,this,l),d=await e._def.returns._def.type.parseAsync(u,s).catch(e=>{throw n.addIssue(a(u,e)),n});return d})}{let e=this;return x(function(...t){let n=e._def.args.safeParse(t,s);if(!n.success)throw new p([r(t,n.error)]);let l=Reflect.apply(i,this,n.data),u=e._def.returns.safeParse(l,s);if(!u.success)throw new p([a(l,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new en({...this._def,args:er.create(e).rest(q.create())})}returns(e){return new en({...this._def,returns:e})}implement(e){let t=this.parse(e);return t}strictImplement(e){let t=this.parse(e);return t}static create(e,t,r){return new en({args:e||er.create([]).rest(q.create()),returns:t||q.create(),typeName:n.ZodFunction,...C(r)})}}class el extends Z{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.getter();return r._parse({data:t.data,path:t.path,parent:t})}}el.create=(e,t)=>new el({getter:e,typeName:n.ZodLazy,...C(t)});class eu extends Z{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return v(t,{received:t.data,code:h.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ed(e,t){return new eo({values:e,typeName:n.ZodEnum,...C(t)})}eu.create=(e,t)=>new eu({value:e,typeName:n.ZodLiteral,...C(t)});class eo extends Z{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{expected:a.joinValues(r),received:t.parsedType,code:h.invalid_type}),g}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{received:t.data,code:h.invalid_enum_value,options:r}),g}return x(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return eo.create(e)}exclude(e){return eo.create(this.options.filter(t=>!e.includes(t)))}}eo.create=ed;class ec extends Z{_parse(e){let t=a.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==c.string&&r.parsedType!==c.number){let e=a.objectValues(t);return v(r,{expected:a.joinValues(e),received:r.parsedType,code:h.invalid_type}),g}if(-1===t.indexOf(e.data)){let e=a.objectValues(t);return v(r,{received:r.data,code:h.invalid_enum_value,options:e}),g}return x(e.data)}get enum(){return this._def.values}}ec.create=(e,t)=>new ec({values:e,typeName:n.ZodNativeEnum,...C(t)});class ef extends Z{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.promise&&!1===t.common.async)return v(t,{code:h.invalid_type,expected:c.promise,received:t.parsedType}),g;let r=t.parsedType===c.promise?t.data:Promise.resolve(t.data);return x(r.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}ef.create=(e,t)=>new ef({type:e,typeName:n.ZodPromise,...C(t)});class eh extends Z{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===n.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:e=>{v(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===s.type){let e=s.transform(r.data,i);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:r.path,parent:r})):this._def.schema._parseSync({data:e,path:r.path,parent:r})}if("refinement"===s.type){let e=e=>{let t=s.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===a.status?g:("dirty"===a.status&&t.dirty(),e(a.value),{status:t.value,value:a.value})}}if("transform"===s.type){if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>S(e)?Promise.resolve(s.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!S(e))return e;let a=s.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}a.assertNever(s)}}eh.create=(e,t,r)=>new eh({schema:e,typeName:n.ZodEffects,effect:t,...C(r)}),eh.createWithPreprocess=(e,t,r)=>new eh({schema:t,effect:{type:"preprocess",transform:e},typeName:n.ZodEffects,...C(r)});class ep extends Z{_parse(e){let t=this._getType(e);return t===c.undefined?x(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ep.create=(e,t)=>new ep({innerType:e,typeName:n.ZodOptional,...C(t)});class em extends Z{_parse(e){let t=this._getType(e);return t===c.null?x(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}em.create=(e,t)=>new em({innerType:e,typeName:n.ZodNullable,...C(t)});class ey extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===c.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:n.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...C(t)});class ev extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return T(a)?a.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new p(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new p(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ev.create=(e,t)=>new ev({innerType:e,typeName:n.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...C(t)});class e_ extends Z{_parse(e){let t=this._getType(e);if(t!==c.nan){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:c.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}e_.create=e=>new e_({typeName:n.ZodNaN,...C(e)}),Symbol("zod_brand");class eg extends Z{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class eb extends Z{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async){let e=async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),b(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})};return e()}{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new eb({in:e,out:t,typeName:n.ZodPipeline})}}class ex extends Z{_parse(e){let t=this._def.innerType._parse(e);return S(t)&&(t.value=Object.freeze(t.value)),t}}ex.create=(e,t)=>new ex({innerType:e,typeName:n.ZodReadonly,...C(t)}),Q.lazycreate,(d=n||(n={})).ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly";let ek=I.create;L.create,e_.create,M.create,$.create,U.create,B.create,z.create,K.create,W.create,q.create,H.create,G.create,J.create;let ew=Q.create;Q.strictCreate,X.create,ee.create,et.create,er.create,ea.create,es.create,ei.create,en.create,el.create,eu.create,eo.create,ec.create,ef.create,eh.create,ep.create,em.create,eh.createWithPreprocess,eb.create}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/6655-15f6a1edc5fe710f.js b/ee/tabby-webserver/ui/_next/static/chunks/6655-15f6a1edc5fe710f.js deleted file mode 100644 index 328d98f974a0..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/6655-15f6a1edc5fe710f.js +++ /dev/null @@ -1,56 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6655],{73737:function(e,t,r){"use strict";r.d(t,{q:function(){return s}});let n=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,o=e=>{if("string"!=typeof e)throw TypeError("Invalid argument expected string");let t=e.match(n);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},a=e=>"*"===e||"x"===e||"X"===e,l=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},u=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],i=(e,t)=>{if(a(e)||a(t))return 0;let[r,n]=u(l(e),l(t));return r>n?1:r{for(let r=0;r{let r=o(e),n=o(t),a=r.pop(),l=n.pop(),u=c(r,n);return 0!==u?u:a&&l?c(a.split("."),l.split(".")):a||l?a?-1:1:0},s=(e,t,r)=>{p(r);let n=f(e,t);return d[r].includes(n)},d={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},h=Object.keys(d),p=e=>{if("string"!=typeof e)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(-1===h.indexOf(e))throw Error(`Invalid operator, expected one of ${h.join("|")}`)}},6435:function(e,t,r){"use strict";r.d(t,{F:function(){return c},f:function(){return f}});var n=r(2265);let o=["light","dark"],a="(prefers-color-scheme: dark)",l="undefined"==typeof window,u=(0,n.createContext)(void 0),i={setTheme:e=>{},themes:[]},c=()=>{var e;return null!==(e=(0,n.useContext)(u))&&void 0!==e?e:i},f=e=>(0,n.useContext)(u)?n.createElement(n.Fragment,null,e.children):n.createElement(d,e),s=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:l=!0,storageKey:i="theme",themes:c=s,defaultTheme:f=r?"system":"light",attribute:d="data-theme",value:b,children:v,nonce:y})=>{let[C,w]=(0,n.useState)(()=>p(i,f)),[k,E]=(0,n.useState)(()=>p(i)),M=b?Object.values(b):c,L=(0,n.useCallback)(e=>{let n=e;if(!n)return;"system"===e&&r&&(n=g());let a=b?b[n]:n,u=t?m():null,i=document.documentElement;if("class"===d?(i.classList.remove(...M),a&&i.classList.add(a)):a?i.setAttribute(d,a):i.removeAttribute(d),l){let e=o.includes(f)?f:null,t=o.includes(n)?n:e;i.style.colorScheme=t}null==u||u()},[]),_=(0,n.useCallback)(e=>{w(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),x=(0,n.useCallback)(t=>{let n=g(t);E(n),"system"===C&&r&&!e&&L("system")},[C,e]);(0,n.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(x),x(e),()=>e.removeListener(x)},[x]),(0,n.useEffect)(()=>{let e=e=>{e.key===i&&_(e.newValue||f)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[_]),(0,n.useEffect)(()=>{L(null!=e?e:C)},[e,C]);let S=(0,n.useMemo)(()=>({theme:C,setTheme:_,forcedTheme:e,resolvedTheme:"system"===C?k:C,themes:r?[...c,"system"]:c,systemTheme:r?k:void 0}),[C,_,e,k,r,c]);return n.createElement(u.Provider,{value:S},n.createElement(h,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:r,enableColorScheme:l,storageKey:i,themes:c,defaultTheme:f,attribute:d,value:b,children:v,attrs:M,nonce:y}),v)},h=(0,n.memo)(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:l,enableColorScheme:u,defaultTheme:i,value:c,attrs:f,nonce:s})=>{let d="system"===i,h="class"===r?`var d=document.documentElement,c=d.classList;c.remove(${f.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${r}',s='setAttribute';`,p=u?o.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,n=!0)=>{let a=c?c[e]:e,l=t?e+"|| ''":`'${a}'`,i="";return u&&n&&!t&&o.includes(e)&&(i+=`d.style.colorScheme = '${e}';`),"class"===r?i+=t||a?`c.add(${l})`:"null":a&&(i+=`d[s](n,${l})`),i},g=e?`!function(){${h}${m(e)}}()`:l?`!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${c?`var x=${JSON.stringify(c)};`:""}${m(c?"x[e]":"e",!0)}}${d?"":"else{"+m(i,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${c?`var x=${JSON.stringify(c)};`:""}${m(c?"x[e]":"e",!0)}}else{${m(i,!1,!1)};}${p}}catch(t){}}();`;return n.createElement("script",{nonce:s,dangerouslySetInnerHTML:{__html:g}})},()=>!0),p=(e,t)=>{let r;if(!l){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},m=()=>{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)}},g=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},95277:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(70474);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{})}function v(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let y=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:g,children:y,prefetch:C=null,passHref:w,replace:k,shallow:E,scroll:M,locale:L,onClick:_,onMouseEnter:x,onTouchStart:S,legacyBehavior:O=!1,...R}=e;r=y,O&&("string"==typeof r||"number"==typeof r)&&(r=o.default.createElement("a",null,r));let P=o.default.useContext(f.RouterContext),Z=o.default.useContext(s.AppRouterContext),F=null!=P?P:Z,D=!P,j=!1!==C,N=null===C?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:T,as:I}=o.default.useMemo(()=>{if(!P){let e=v(u);return{href:e,as:g?v(g):e}}let[e,t]=(0,a.resolveHref)(P,u,!0);return{href:e,as:g?(0,a.resolveHref)(P,g):t||e}},[P,u,g]),A=o.default.useRef(T),W=o.default.useRef(I);O&&(n=o.default.Children.only(r));let B=O?n&&"object"==typeof n&&n.ref:t,[z,U,K]=(0,d.useIntersection)({rootMargin:"200px"}),$=o.default.useCallback(e=>{(W.current!==I||A.current!==T)&&(K(),W.current=I,A.current=T),z(e),B&&("function"==typeof B?B(e):"object"==typeof B&&(B.current=e))},[I,B,T,K,z]);o.default.useEffect(()=>{F&&U&&j&&b(F,T,I,{locale:L},{kind:N},D)},[I,T,U,L,j,null==P?void 0:P.locale,F,D,N]);let G={ref:$,onClick(e){O||"function"!=typeof _||_(e),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),F&&!e.defaultPrevented&&function(e,t,r,n,a,u,i,c,f,s){let{nodeName:d}=e.currentTarget,h="A"===d.toUpperCase();if(h&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!f&&!(0,l.isLocalURL)(r)))return;e.preventDefault();let p=()=>{let e=null==i||i;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:u,locale:c,scroll:e}):t[a?"replace":"push"](n||r,{forceOptimisticNavigation:!s,scroll:e})};f?o.default.startTransition(p):p()}(e,F,T,I,k,E,M,L,D,j)},onMouseEnter(e){O||"function"!=typeof x||x(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),F&&(j||!D)&&b(F,T,I,{locale:L,priority:!0,bypassPrefetchedCheck:!0},{kind:N},D)},onTouchStart(e){O||"function"!=typeof S||S(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),F&&(j||!D)&&b(F,T,I,{locale:L,priority:!0,bypassPrefetchedCheck:!0},{kind:N},D)}};if((0,i.isAbsoluteUrl)(I))G.href=I;else if(!O||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==L?L:null==P?void 0:P.locale,t=(null==P?void 0:P.isLocaleDomain)&&(0,h.getDomainLocale)(I,e,null==P?void 0:P.locales,null==P?void 0:P.domainLocales);G.href=t||(0,p.addBasePath)((0,c.addLocale)(I,e,null==P?void 0:P.defaultLocale))}return O?o.default.cloneElement(n,G):o.default.createElement("a",{...R,...G},r)}),C=y;("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)},64913:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return s}});let n=r(38888),o=r(7746),a=r(69946),l=r(22337),u=r(70474),i=r(49357),c=r(31956),f=r(25125);function s(e,t,r){let s;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),h=d.match(/^[a-zA-Z]{1,}:\/\//),p=h?d.slice(h[0].length):d,m=p.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,l.normalizeRepeatedSlashes)(p);d=(h?h[0]:"")+t}if(!(0,i.isLocalURL)(d))return r?[d]:d;try{s=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){s=new URL("/","http://n")}try{let e=new URL(d,s);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,c.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:l,params:u}=(0,f.interpolateAs)(e.pathname,e.pathname,r);l&&(t=(0,o.formatWithValidation)({pathname:l,hash:e.hash,query:(0,a.omit)(r,u)}))}let l=e.origin===s.origin?e.href.slice(e.origin.length):e.href;return r?[l,t||l]:l}catch(e){return r?[d]:d}}("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)},91013:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return i}});let n=r(2265),o=r(64913),a="function"==typeof IntersectionObserver,l=new Map,u=[];function i(e){let{rootRef:t,rootMargin:r,disabled:i}=e,c=i||!a,[f,s]=(0,n.useState)(!1),d=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{d.current=e},[]);(0,n.useEffect)(()=>{if(a){if(c||f)return;let e=d.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:o,elements:a}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=u.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=l.get(n)))return t;let o=new Map,a=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:a,elements:o},u.push(r),l.set(r,t),t}(r);return a.set(e,t),o.observe(e),function(){if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),l.delete(n);let e=u.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&u.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!f){let e=(0,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,r,t,f,d.current]);let p=(0,n.useCallback)(()=>{s(!1)},[]);return[h,f,p]}("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)},62361:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},7746:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return l},urlObjectKeys:function(){return u},formatWithValidation:function(){return i}});let n=r(68533),o=n._(r(38888)),a=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",l=e.pathname||"",u=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(o.urlQueryToSearchParams(i)));let f=e.search||i&&"?"+i||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),l&&"/"!==l[0]&&(l="/"+l)):c||(c=""),u&&"#"!==u[0]&&(u="#"+u),f&&"?"!==f[0]&&(f="?"+f),""+n+c+(l=l.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+u}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function i(e){return l(e)}},31956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(83799),o=r(79731)},25125:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(35366),o=r(95319);function a(e,t,r){let a="",l=(0,o.getRouteRegex)(e),u=l.groups,i=(t!==e?(0,n.getRouteMatcher)(l)(t):"")||r;a=e;let c=Object.keys(u);return c.every(e=>{let t=i[e]||"",{repeat:r,optional:n}=u[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in i)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:c,result:a}}},79731:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},49357:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(22337),o=r(44561);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},69946:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},38888:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o},assign:function(){return a}})},35366:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(22337);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},l={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(l[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),l}}},95319:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return i},getNamedRouteRegex:function(){return s},getNamedMiddlewareRegex:function(){return d}});let n=r(84507),o=r(62361),a=r(993);function l(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:i}=l(a[1]);return r[e]={pos:u++,repeat:i,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=l(a[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function i(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function c(e){let{getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:o}=e,{key:a,optional:u,repeat:i}=l(r),c=a.replace(/\W/g,"");o&&(c=""+o+c);let f=!1;return(0===c.length||c.length>30)&&(f=!0),isNaN(parseInt(c.slice(0,1)))||(f=!0),f&&(c=t()),o?n[c]=""+o+a:n[c]=""+a,i?u?"(?:/(?<"+c+">.+?))?":"/(?<"+c+">.+?)":"/(?<"+c+">[^/]+?)"}function f(e,t){let r;let l=(0,a.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),i={};return{namedParameterizedRoute:l.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);return r&&a?c({getSafeRouteKey:u,segment:a[1],routeKeys:i,keyPrefix:t?"nxtI":void 0}):a?c({getSafeRouteKey:u,segment:a[1],routeKeys:i,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:i}}function s(e,t){let r=f(e,t);return{...i(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=f(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},83799:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),l=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),l=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(l){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(l)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},22337:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return a},getLocationOrigin:function(){return l},getURL:function(){return u},getDisplayName:function(){return i},isResSent:function(){return c},normalizeRepeatedSlashes:function(){return f},loadGetInitialProps:function(){return s},SP:function(){return d},ST:function(){return h},DecodeError:function(){return p},NormalizeError:function(){return m},PageNotFoundError:function(){return g},MissingStaticPage:function(){return b},MiddlewareNotFoundError:function(){return v},stringifyError:function(){return y}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=l();return e.substring(t.length)}function i(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function f(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n){let t='"'+i(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,h=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function y(e){return JSON.stringify({message:e.message,stack:e.stack})}},61396:function(e,t,r){e.exports=r(34724)},11372:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:String(t)}function l(e,t){for(var r=0;rn}),h),R=(p={},x.d(p,{default:()=>u}),p),P=(m={},x.d(m,{default:()=>c}),m),Z=(g={},x.d(g,{default:()=>f}),g),F=(b={},x.d(b,{default:()=>s}),b),D=(v={},x.d(v,{default:()=>d}),v),j=(y={},x.d(y,{Component:()=>k.Component,Fragment:()=>k.Fragment,default:()=>k}),y),N=(C={},x.d(C,{default:()=>M()}),C),T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.avoidList,n=t.usually,o=new Set((void 0===r?[]:r).filter(function(e){return!!e})),a=e.filter(function(e){return!o.has(e)}),l=(void 0===n?[]:n).filter(Boolean).reduce(function(e,t){return e.concat(Array(15).fill(t))},[]),u=(a=a.concat(l)).length;return a[Math.floor(Math.random()*u)]},I={sex:["man","woman"],faceColor:["#F9C9B6","#AC6651"],earSize:["small","big"],hairColor:["#000","#fff","#77311D","#FC909F","#D2EFF3","#506AF4","#F48150"],hairStyleMan:["normal","thick","mohawk"],hairStyleWoman:["normal","womanLong","womanShort"],hatColor:["#000","#fff","#77311D","#FC909F","#D2EFF3","#506AF4","#F48150"],hatStyle:["beanie","turban","none"],eyeBrowWoman:["up","upWoman"],eyeStyle:["circle","oval","smile"],glassesStyle:["round","square","none"],noseStyle:["short","long","round"],mouthStyle:["laugh","smile","peace"],shirtStyle:["hoody","short","polo"],shirtColor:["#9287FF","#6BD9E9","#FC909F","#F4D150","#77311D"],bgColor:["#9287FF","#6BD9E9","#FC909F","#F4D150","#E0DDFF","#D2EFF3","#FFEDEF","#FFEBA4","#506AF4","#F48150","#74D153"],gradientBgColor:["linear-gradient(45deg, #178bff 0%, #ff6868 100%)","linear-gradient(45deg, #176fff 0%, #68ffef 100%)","linear-gradient(45deg, #ff1717 0%, #ffd368 100%)","linear-gradient(90deg, #36cd1c 0%, #68deff 100%)","linear-gradient(45deg, #3e1ccd 0%, #ff6871 100%)","linear-gradient(45deg, #1729ff 0%, #ff56f7 100%)","linear-gradient(45deg, #56b5f0 0%, #45ccb5 100%)"]},A=function(e){if(0===e.length)return 0;for(var t=0,r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t="string"==typeof e,r=t&&A(e)||0,n={};n.sex=t?W(r,"sex"):e.sex||T(I.sex),n.faceColor=t?W(r,"faceColor"):e.faceColor||T(I.faceColor),n.earSize=t?W(r,"earSize"):e.earSize||T(I.earSize),n.eyeStyle=t?W(r,"eyeStyle"):e.eyeStyle||T(I.eyeStyle),n.noseStyle=t?W(r,"noseStyle"):e.noseStyle||T(I.noseStyle),n.mouthStyle=t?W(r,"mouthStyle"):e.mouthStyle||T(I.mouthStyle),n.shirtStyle=t?W(r,"shirtStyle"):e.shirtStyle||T(I.shirtStyle),n.glassesStyle=t?W(r,"glassesStyle",{usually:["none"]}):e.glassesStyle||T(I.glassesStyle,{usually:["none"]});var o=[],a=[];if(t||!e.hairColor)switch(n.sex){case"woman":o=n.faceColor===I.faceColor[1]&&["#77311D"]||[];break;case"man":a=["#000"]}if(n.hairColor=t?W(r,"hairColor",{avoidList:o,usually:a}):e.hairColor||T(I.hairColor,{avoidList:o,usually:a}),t||!e.hairStyle)switch(n.sex){case"man":n.hairStyle=t?W(r,"hairStyleMan",{usually:["normal","thick"]}):T(I.hairStyleMan,{usually:["normal","thick"]});break;case"woman":n.hairStyle=t?W(r,"hairStyleWoman"):T(I.hairStyleWoman)}else n.hairStyle=e.hairStyle;n.hatStyle=t?W(r,"hatStyle",{usually:["none"]}):e.hatStyle||T(I.hatStyle,{usually:["none"]}),n.hatColor=t?W(r,"hatColor"):e.hatColor||T(I.hatColor);var l="none"===n.hatStyle&&n.hairColor||n.hatColor;return!t&&e.eyeBrowStyle?n.eyeBrowStyle=e.eyeBrowStyle:n.eyeBrowStyle="woman"===n.sex?t?W(r,"eyeBrowWoman"):T(I.eyeBrowWoman):"up",n.shirtColor=t?W(r,"shirtColor",{avoidList:[l]}):e.shirtColor||T(I.shirtColor,{avoidList:[l]}),!t&&e.isGradient?n.bgColor=e.bgColor||T(I.gradientBgColor):n.bgColor=t?W(r,"bgColor",{avoidList:[l,n.shirtColor]}):e.bgColor||T(I.bgColor,{avoidList:[l,n.shirtColor]}),n};function z(e){var t=e.color;return j.default.createElement("svg",{style:{width:"100%",height:"100%",left:0,top:0,position:"absolute"},width:"200",height:"320",viewBox:"0 0 200 320",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("g",{clipPath:"url(#clip0)"},j.default.createElement("path",{d:"M154 319.5C139.6 299.5 128.333 260.834 127 241.5L58.5 212L30 319.5H154Z",fill:t,stroke:"black",strokeWidth:"4"}),j.default.createElement("mask",{id:"mask-id",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"30",y:"212",width:"124",height:"118"},j.default.createElement("path",{d:"M154 329.5C139.6 309.5 128.333 260.834 127 241.5L58.5 212L30 329.5H154Z",fill:t})),j.default.createElement("g",{mask:"url(#".concat("mask-id",")")},j.default.createElement("ellipse",{cx:"124",cy:"210",rx:"59",ry:"54",fill:"black"})),j.default.createElement("mask",{id:"path-id",fill:"white"},j.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M183.886 150.917C183.859 150.801 183.831 150.685 183.803 150.569C183.776 150.454 183.748 150.338 183.719 150.222L167.323 81.7855C167.306 81.7177 167.29 81.6499 167.274 81.5821C167.258 81.5142 167.242 81.4465 167.225 81.3787L167.152 81.0752L167.151 81.0755C156.933 39.6308 115.156 14.1472 73.5821 24.1081C32.0078 34.0689 6.31547 75.7174 15.9883 117.293L15.9863 117.293L32.9776 188.211L32.9916 188.208C43.5944 229.112 85.0616 254.149 126.329 244.261C167.597 234.374 193.216 193.264 184.131 151.996L184.144 151.993L183.886 150.917Z"})),j.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M183.886 150.917C183.859 150.801 183.831 150.685 183.803 150.569C183.776 150.454 183.748 150.338 183.719 150.222L167.323 81.7855C167.306 81.7177 167.29 81.6499 167.274 81.5821C167.258 81.5142 167.242 81.4465 167.225 81.3787L167.152 81.0752L167.151 81.0755C156.933 39.6308 115.156 14.1472 73.5821 24.1081C32.0078 34.0689 6.31547 75.7174 15.9883 117.293L15.9863 117.293L32.9776 188.211L32.9916 188.208C43.5944 229.112 85.0616 254.149 126.329 244.261C167.597 234.374 193.216 193.264 184.131 151.996L184.144 151.993L183.886 150.917Z",fill:t}),j.default.createElement("path",{d:"M183.886 150.917L179.992 151.831L179.994 151.84L179.996 151.849L183.886 150.917ZM183.719 150.222L179.83 151.154L179.832 151.163L179.834 151.172L183.719 150.222ZM167.323 81.7855L163.43 82.7076L163.433 82.7175L167.323 81.7855ZM167.274 81.5821L163.384 82.5141L163.384 82.5142L167.274 81.5821ZM167.225 81.3787L163.335 82.3108L163.338 82.321L167.225 81.3787ZM167.152 81.0752L171.042 80.1432L170.111 76.255L166.222 77.1849L167.152 81.0752ZM167.151 81.0755L163.267 82.0331L164.218 85.8897L168.081 84.9659L167.151 81.0755ZM73.5821 24.1081L72.6501 20.2182L73.5821 24.1081ZM15.9883 117.293L16.9223 121.182L20.7842 120.255L19.8842 116.386L15.9883 117.293ZM15.9863 117.293L15.0523 113.404L11.1649 114.337L12.0964 118.225L15.9863 117.293ZM32.9776 188.211L29.0877 189.143L30.0201 193.035L33.9113 192.101L32.9776 188.211ZM32.9916 188.208L36.8636 187.204L35.8779 183.401L32.058 184.318L32.9916 188.208ZM126.329 244.261L125.397 240.371H125.397L126.329 244.261ZM184.131 151.996L183.2 148.106L179.381 149.021L180.225 152.856L184.131 151.996ZM184.144 151.993L185.075 155.883L188.966 154.951L188.034 151.061L184.144 151.993ZM187.78 150.002C187.751 149.881 187.722 149.759 187.693 149.637L179.914 151.502C179.94 151.611 179.966 151.721 179.992 151.831L187.78 150.002ZM187.693 149.637C187.664 149.516 187.635 149.395 187.605 149.273L179.834 151.172C179.861 151.281 179.887 151.391 179.914 151.502L187.693 149.637ZM163.433 82.7175L179.83 151.154L187.609 149.29L171.212 80.8535L163.433 82.7175ZM171.215 80.8634C171.198 80.7928 171.181 80.7216 171.164 80.65L163.384 82.5142C163.4 82.5781 163.415 82.6425 163.43 82.7076L171.215 80.8634ZM171.164 80.65C171.147 80.579 171.13 80.5078 171.113 80.4364L163.338 82.321C163.353 82.3851 163.369 82.4494 163.384 82.5141L171.164 80.65ZM163.262 82.0072L163.335 82.3108L171.115 80.4467L171.042 80.1432L163.262 82.0072ZM168.081 84.9659L168.083 84.9655L166.222 77.1849L166.221 77.1852L168.081 84.9659ZM171.035 80.118C160.291 36.5398 116.364 9.74466 72.6501 20.2182L74.514 27.998C113.949 18.5498 153.575 42.7219 163.267 82.0331L171.035 80.118ZM72.6501 20.2182C28.936 30.6917 1.92157 74.4836 12.0923 118.199L19.8842 116.386C10.7094 76.9513 35.0796 37.4461 74.514 27.998L72.6501 20.2182ZM16.9204 121.183L16.9223 121.182L15.0542 113.403L15.0523 113.404L16.9204 121.183ZM36.8676 187.279L19.8763 116.361L12.0964 118.225L29.0877 189.143L36.8676 187.279ZM32.058 184.318L32.044 184.322L33.9113 192.101L33.9252 192.097L32.058 184.318ZM29.1195 189.211C40.2685 232.223 83.8693 258.548 127.261 248.151L125.397 240.371C86.2539 249.75 46.9204 226.002 36.8636 187.204L29.1195 189.211ZM127.261 248.151C170.653 237.755 197.591 194.53 188.038 151.136L180.225 152.856C188.842 191.999 164.541 230.993 125.397 240.371L127.261 248.151ZM183.212 148.103L183.2 148.106L185.063 155.886L185.075 155.883L183.212 148.103ZM179.996 151.849L180.254 152.925L188.034 151.061L187.776 149.985L179.996 151.849Z",fill:"black",mask:"url(#".concat("path-id",")")})),j.default.createElement("defs",null,j.default.createElement("clipPath",{id:"clip0"},j.default.createElement("rect",{width:"200",height:"320",fill:"white"}))))}function U(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",bottom:"20%",width:"94%",height:"81%",left:"-0.5%"},width:"240",height:"270",viewBox:"0 0 240 270",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M123.788 17.4887L123.864 17.4969L123.941 17.4991C150.61 18.2835 171.342 28.8969 186.013 41.8493C200.069 54.2583 208.463 68.7231 211.2 78.5817C207.14 80.8991 200.185 82.8931 191.315 84.5285C181.639 86.3123 170.022 87.615 158.168 88.5436C134.462 90.4007 109.978 90.7491 98.5428 90.5005L92.4699 90.3685L97.2764 94.0826C99.774 96.0125 103.099 97.3557 106.615 98.3003C110.156 99.2517 114.034 99.8354 117.746 100.167C121.57 100.509 125.299 100.589 128.387 100.51C117.8 108.672 104.325 114.948 91.0384 119.6C75.6922 124.973 60.7685 128.12 51.2093 129.521L49.0601 129.836L49.551 131.952C52.8984 146.381 59.0518 171.603 63.179 188.519C65.01 196.025 66.4422 201.895 67.0537 204.463C68.1379 209.017 71.5518 215.508 75.4484 221.491C79.0412 227.008 83.2329 232.38 86.7703 235.687L78.9322 267.5H49.3714C57.7091 254.787 59.469 240.097 57.7689 224.517C55.9286 207.653 50.0074 189.513 43.7659 171.35C43.1514 169.562 42.5339 167.774 41.9165 165.986C36.2326 149.527 30.5644 133.113 27.4936 117.382C24.0922 99.9582 23.9407 83.6514 30.3264 69.3137C40.6653 46.0999 58.9929 32.6198 77.3255 25.1911C95.701 17.745 113.945 16.4399 123.788 17.4887Z",fill:t||"#171921",stroke:"#171921",strokeWidth:"4"}))}function K(e){var t=e.color,r=e.colorRandom;return j.default.createElement("svg",{style:{position:"absolute",bottom:"40.2%",width:"93.5%",height:"64%"},width:"240",height:"200",viewBox:"0 0 240 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M210.177 51.3965C201.855 91.2936 103.499 96.8962 83.6772 96.8962C31.6548 102.823 56.6248 165.262 66.1772 196.396C58.6772 197.396 59.6772 206.396 30.6772 134.896C7.47724 77.6964 73.1831 42.8337 121.999 30.9995C170.815 19.1653 189.499 2.50195 189.499 2.50195C210.177 11 215.116 27.7185 210.177 51.3965Z",fill:r&&t||"black",stroke:r&&t||"black"}),j.default.createElement("path",{d:"M205.134 124.947L189.316 71.5069L199.354 62.3644C210.109 99.4523 210.601 120.988 205.134 124.947Z",fill:r&&t||"black",stroke:r&&t||"black"}),j.default.createElement("path",{d:"M80 170C74.4 142.8 60.3333 147.667 51 149L41 105L81.5844 96.5056C82.3363 96.2656 83.1408 96.0955 84 96L81.5844 96.5056C63.4332 102.299 75.9565 148.796 91 168L80 170Z",fill:r&&t||"black",stroke:r&&t||"black",strokeWidth:"3"}),j.default.createElement("path",{d:"M24.9887 67.3632C33.8341 62.9091 44.2805 65.4873 48.3981 67.3331L36.6273 82.2134C39.6625 77.3568 30.1329 70.2897 24.9887 67.3632Z",fill:r&&t||"black"}),j.default.createElement("path",{d:"M10 84.4996C21.6 77.6996 32.8333 79.9996 37 81.9996L32.5 97.5C31.3 89.1 17 85.3331 10 84.4996Z",fill:r&&t||"black"}))}var $=(w={},x.d(w,{default:()=>_()}),w);function G(e){var t=e.color,r=e.colorRandom,n=r&&t||"#171921",o=r&&(0,$.default)(t).brighten(2)||"#717376";return j.default.createElement("svg",{style:{position:"absolute",bottom:"40.8%",width:"97.6%",height:"63.5%",left:"-1.8%"},width:"240",height:"203",viewBox:"0 0 240 203",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{opacity:"0.35",d:"M187.986 80.1756C179.986 73.7756 166.153 73.1758 160.486 73.6758L152.486 47.1758C166.086 50.3758 184.486 71.1758 187.986 80.1756Z",fill:o,stroke:o,strokeWidth:"1"}),j.default.createElement("path",{d:"M85.7923 14.7636C85.7923 14.7636 91.5301 10.802 115.746 4.70097C139.963 -1.40007 148.792 0.983287 148.792 0.983287L160.581 73.815C160.581 73.815 152.542 73.6416 132.548 78.0085C112.555 82.3754 102.986 87.6748 102.986 87.6748L85.7923 14.7636Z",fill:n}),j.default.createElement("path",{d:"M48.9855 89.6758C42.1855 48.0758 72.3188 21.5091 85.9855 14.1758L102.985 87.6758C83.7855 48.0758 57.6521 72.5091 48.9855 89.6758Z",fill:n}),j.default.createElement("path",{opacity:"0.35",d:"M67.4855 133.675C60.2855 106.475 89.4855 91.8415 102.985 87.6749C95.9855 71.3415 79.9854 56.6749 60.4854 74.6756C42.4854 105.175 49.4855 128.676 54.9855 146.675L67.4855 133.675Z",fill:o,stroke:o,strokeWidth:"1"}))}function q(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",bottom:"-2.2%",width:"97%",height:"100%"},width:"306",height:"331",viewBox:"0 0 306 331",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M209.76 327.932C209.271 327.902 208.865 327.872 208.544 327.847C202.393 318.458 196.789 302.969 192.447 287.059C188.226 271.589 185.261 255.968 184.147 245.649C221.22 234.931 244.458 196.667 238.871 157.189C238.864 157.117 238.856 157.067 238.856 157.066C238.848 157.006 238.837 156.938 238.825 156.867C238.802 156.724 238.768 156.532 238.726 156.3C238.641 155.832 238.516 155.172 238.353 154.346C238.028 152.693 237.552 150.358 236.942 147.532C235.722 141.88 233.967 134.249 231.825 126.155C229.685 118.065 227.152 109.485 224.372 101.945C221.613 94.4597 218.541 87.8015 215.264 83.7056L214.967 83.3351L214.532 83.1463C212.6 82.3081 210.593 81.3741 208.499 80.3991C198.568 75.775 186.659 70.2299 171.235 69.6199C152.46 68.8774 128.684 75.3957 96.5441 98.7056L94.5214 100.173L96.467 101.74C112.393 114.574 115.836 131.598 115.1 146.048C114.539 157.077 111.551 166.459 109.865 171.149C108.704 169.452 107.964 167.319 107.408 164.814C107.023 163.083 106.743 161.258 106.449 159.347L106.403 159.045C106.096 157.051 105.769 154.97 105.292 152.961C104.341 148.95 102.732 144.941 99.1602 142.102C95.5807 139.257 90.3641 137.848 82.7671 138.272L80.5398 138.396L81.0046 140.578L92.3634 193.891L92.3824 193.98L92.41 194.068C96.4679 206.93 103.426 218.078 112.323 226.88C112.399 227.007 112.509 227.193 112.65 227.434C112.939 227.928 113.356 228.653 113.861 229.563C114.87 231.384 116.229 233.941 117.621 236.886C120.435 242.835 123.282 250.138 123.83 256.102C124.386 262.154 122.865 269.962 121.123 276.412C120.26 279.605 119.361 282.406 118.677 284.407C118.535 284.824 118.402 285.206 118.281 285.549C113.249 283.144 108.754 283.323 104.902 285.565C100.738 287.989 97.6892 292.625 95.4191 297.781C91.2706 307.202 89.2756 319.42 88.3551 327.002C63.4846 321.298 44.281 315.507 31.2149 311.107C24.5012 308.846 19.408 306.953 15.9993 305.627C14.2949 304.964 13.0117 304.443 12.1575 304.089C11.9454 304.002 11.7598 303.924 11.6007 303.857C11.4477 303.466 11.2377 302.916 10.9828 302.219C10.4158 300.667 9.62676 298.384 8.74853 295.479C6.99149 289.667 4.88057 281.38 3.4734 271.502C0.656265 251.725 0.676883 225.696 11.8698 200.384C13.679 196.292 15.94 192.089 18.3903 187.533C27.8582 169.931 40.1551 147.07 40.1551 105.084C40.1551 74.4931 55.0029 48.7305 76.8623 30.5692C98.7415 12.3915 127.56 1.9109 155.237 1.91092C170.368 1.91093 182.533 3.64443 192.311 9.55105C202.028 15.4212 209.679 25.5978 215.362 43.1322C215.94 44.9168 217.851 46.0074 219.719 45.4015C231.034 41.7304 248.191 45.4361 262.673 54.8904C277.091 64.3032 288.289 79.0455 288.289 96.8141C288.289 112.24 285.647 122.664 283.071 132.815L283.071 132.815C279.952 145.104 276.94 156.974 279.065 176.313C279.774 182.762 281.216 187.336 283.231 191.128C285.213 194.859 287.712 197.747 290.345 200.792L290.405 200.861C296.679 208.113 299.534 214.079 300.455 219.327C301.375 224.562 300.412 229.31 298.623 234.237C297.723 236.712 296.629 239.197 295.47 241.815L295.37 242.04C294.249 244.573 293.074 247.225 292.019 250.016C289.836 255.787 288.133 262.223 288.302 269.851C288.446 276.326 289.594 280.764 291.311 284.122C293.008 287.442 295.199 289.565 297.111 291.417L297.162 291.466C298.905 293.155 300.355 294.577 301.428 296.57C302.387 298.351 303.098 300.702 303.217 304.232C279.208 318.511 255.445 324.413 237.601 326.734C228.565 327.91 221.057 328.166 215.818 328.129C213.199 328.11 211.149 328.019 209.76 327.932Z",fill:t||"black",stroke:"black",strokeWidth:"3.82184"}))}function V(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",bottom:"25%",width:"92%",height:"75%",left:"-0.8%"},width:"261",height:"240",viewBox:"0 0 261 240",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M121.837 79.8195C121.051 78.0776 121.051 78.0779 121.05 78.0783L121.047 78.0794L121.04 78.0828L121.015 78.0942C120.994 78.1038 120.964 78.1177 120.925 78.1357C120.89 78.1518 120.848 78.1714 120.799 78.1943C120.74 78.2223 120.67 78.2553 120.591 78.2932C120.301 78.4313 119.882 78.6353 119.352 78.9045C118.291 79.4426 116.782 80.2418 114.972 81.2948C111.356 83.3984 106.515 86.527 101.628 90.626C91.9116 98.7764 81.7052 111.03 81.0904 126.926C80.8259 133.765 79.9706 166.806 80.1619 179.433C80.323 190.065 85.8253 201.481 93.4581 212.008C100.109 221.18 108.508 229.857 116.832 237.008C79.0664 238.501 50.4555 233.546 31.1209 228.121C21.038 225.292 13.4742 222.334 8.44733 220.094C6.46024 219.208 4.86951 218.434 3.67627 217.825C12.7707 211.141 20.3578 199.682 25.3638 182.675C30.8537 164.024 33.288 138.554 31.1521 104.963C29.2166 74.5247 44.0087 48.8092 66.3601 30.629C88.7347 12.4301 118.55 1.9109 146.238 1.91092C161.221 1.91093 173.377 4.84484 183.177 11.9616C192.98 19.081 200.668 30.5619 206.363 48.1322L206.758 49.3516L208.036 49.4485C220.412 50.3865 229.115 55.4881 235.532 63.6621C242.017 71.924 246.24 83.4216 249.336 97.232C251.376 106.332 249.389 115.311 247.001 125.651L246.89 126.133C244.553 136.25 241.952 147.505 243.096 160.666C244.126 172.51 248.853 184.135 252.782 193.074C253.287 194.222 253.776 195.321 254.242 196.368C255.617 199.455 256.793 202.096 257.586 204.253C258.118 205.698 258.425 206.79 258.523 207.566C258.573 207.963 258.555 208.168 258.542 208.254C258.097 208.665 257.273 209.12 255.957 209.522C254.588 209.94 252.864 210.248 250.882 210.442C246.921 210.828 242.138 210.738 237.544 210.296C232.942 209.853 228.638 209.067 225.623 208.108C224.092 207.622 223.033 207.134 222.436 206.711C222.345 206.646 222.275 206.591 222.222 206.546C222.594 205.259 223.132 203.723 223.753 201.949C226.947 192.824 232.348 177.398 228.855 157.08C226.766 144.924 221.189 123.457 216.162 105.11C213.643 95.9192 211.255 87.4828 209.496 81.3444C208.616 78.275 207.894 75.7798 207.391 74.0515C207.14 73.1874 206.944 72.515 206.81 72.0584L206.658 71.5384L206.619 71.4055L206.609 71.3717L206.607 71.3632L206.606 71.361C206.606 71.3605 206.606 71.3602 204.772 71.8993L206.606 71.3602L205.677 68.2011L203.395 70.5745L203.395 70.5751L203.391 70.579L203.372 70.5991C203.353 70.6178 203.325 70.6471 203.286 70.6867C203.208 70.7659 203.088 70.8861 202.928 71.0445C202.607 71.3612 202.123 71.8304 201.482 72.4293C200.199 73.6271 198.286 75.343 195.784 77.3943C190.779 81.4982 183.428 86.9376 174.067 92.2568C156.25 102.382 131.216 112.037 101.246 111.29C110.86 102.359 116.392 95.0181 119.562 89.7007C121.329 86.736 122.36 84.4028 122.955 82.7777C123.252 81.9654 123.44 81.3309 123.555 80.8839C123.613 80.6605 123.653 80.484 123.68 80.3558C123.693 80.2917 123.703 80.2397 123.711 80.1998C123.714 80.1799 123.717 80.1631 123.72 80.1493L123.723 80.1309L123.724 80.1235L123.724 80.1202C123.725 80.1187 123.725 80.1172 121.837 79.8195ZM121.837 79.8195L121.051 78.0776L124.276 76.6229L123.725 80.1172L121.837 79.8195ZM222.068 206.388C222.071 206.388 222.082 206.402 222.097 206.428C222.073 206.401 222.066 206.388 222.068 206.388Z",fill:t||"black",stroke:"black",strokeWidth:"3.82184"}))}function Y(e){var t=e.style,r=e.color,n=e.colorRandom;switch(t){case"thick":return j.default.createElement(K,{color:r,colorRandom:n});case"mohawk":return j.default.createElement(G,{color:r,colorRandom:n});case"womanLong":return j.default.createElement(q,{color:r});case"womanShort":return j.default.createElement(V,{color:r});default:return j.default.createElement(U,{color:r})}}function H(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",bottom:"33%",left:"15.8%",width:"64%",height:"84%"},width:"240",height:"212",viewBox:"0 0 240 212",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M222.726 112.791C222.726 46.702 186.268 2.00007 141.859 2C84.9656 2 27 23.3414 27 124.255C27 149.223 37.6589 167.827 52.5644 181.54C51.0704 179.671 49.8666 177.996 49.0668 176.619C46.176 149.638 78.2326 128.929 109.601 108.665C126.254 97.907 142.712 87.2746 153.646 75.8956C163.24 81.3324 191.44 104.109 196.813 113.32C199.695 118.26 204.322 135.189 207.484 154.95C217.822 142.532 222.726 130.107 222.726 112.791Z",fill:t,stroke:"rgba(0,0,0,0.1)",strokeWidth:"4"}),j.default.createElement("path",{d:"M154.264 75.2457C167.438 63.3013 187.146 36.0399 185.881 18.334",stroke:"rgba(0,0,0,0.1)",strokeWidth:"4"}))}function X(e){var t=e.color;return j.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",bottom:"34%",width:"49%",height:"85%",left:"22%"},width:"640px",height:"508px",viewBox:"0 0 640 508",preserveAspectRatio:"xMidYMid meet"},j.default.createElement("defs",null),j.default.createElement("path",{fill:"#000000"===t?"dimgray":"#000000",d:"M71.5 502.6c-3.8-1.6-14.6-15.8-20.3-26.5C46 466.3 28 426.5 23.1 414c-6.4-16.4-13.6-42.5-14.7-53.3-.7-7.4-.6-7.8 7.4-17.6l4.5-5.6-.6-34c-.6-35-.1-45 3.3-68.5 3.3-22.8 4.9-36 6-48.5.6-6.6 2-17.8 3.1-25 3.6-24.8 7.3-35.2 16.9-47.5 2.8-3.6 9.9-13.2 15.8-21.4C84.3 65.5 92.4 58.7 110 54.5c5.2-1.2 13.8-2.7 19-3.3 15.7-1.9 20.1-4.1 40-20.1 13.3-10.7 21.5-15 30.8-16.1 6.7-.9 21.1.2 26.7 2 3.3 1 19.4 3.9 26.5 4.7 5.4.6 18.5-2.4 32-7.1 17.9-6.4 20.2-7 31.5-7.4 16.4-.6 24.4 1.4 50 12.3 24.1 10.3 27.7 11.1 43 9.5 26.1-2.7 42.9 2.8 71 23.1 19.5 14 24.1 16.2 40 18.4 2.8.4 6.4 1.5 8.1 2.6 5.5 3.4 13.2 12.5 22.8 27.1 14.3 21.9 24.6 40.4 30 54 .9 2.4 3.2 5 6 7 5.1 3.5 7.8 8.4 18.6 33.8 7.9 18.5 11.4 31.3 19.6 72.8l6.8 33.7v20.1c.1 21.9-.2 23.4-5.4 23.4-1.5 0-4.1-.7-5.6-1.5-1.6-.8-3.7-1.5-4.6-1.5-1 0-4.1-.9-7-2-10.8-4-49.4-12.7-59.8-13.4-2-.2-4.5-.8-5.5-1.3-2.3-1.2-13.7-3.5-30-6-14-2.2-60.2-2.4-81.5-.5l-29 2.8c-45 4.2-84.8 13-119.3 26.6-27 10.6-76.5 37.3-98.3 53.1-39.8 28.8-71.9 57.9-93.6 85.2-6.6 8.3-12.7 15.6-13.6 16.3-2 1.5-3.9 1.5-7.7-.2zm11.1-29.3c12.5-15.7 36.4-39.4 58.2-57.5l3.2-2.6-3.7-7.9c-2-4.3-5.1-10.3-6.9-13.3-1.7-3-6.2-11.3-9.9-18.5-9.7-18.5-15-27.8-21.5-37.5-6.8-10.1-16.9-23-18.1-23-1.8 0-28.8 17.9-42.4 28.1-5 3.7-11.2 9.4-13.8 12.7l-4.7 6 2.1 8.4c5.3 21.5 11.6 39.7 19.1 55.1 2.6 5.4 4.8 10 4.8 10.4 0 1.1 9.4 21.8 13.8 30.2 3.9 7.6 10.9 19.1 11.7 19.1.1 0 3.8-4.4 8.1-9.7zm89.5-81.5c12.6-9 18.5-12.8 35.1-22.8 7.4-4.5 12.4-8.1 11.9-8.6s-4.6-8.3-9.3-17.4c-4.6-9.1-10.6-20-13.3-24.3-14.2-22.2-19.7-30.2-27-39.5l-7.9-10.1-17.6 9.1c-9.6 5-20.6 11-24.5 13.3-3.8 2.3-9.4 5.5-12.2 7.1-2.9 1.6-5.3 3.1-5.3 3.4s3.3 5 7.4 10.5c8.8 11.8 19.6 29.6 29.7 49l11.3 21.6 6.6 12.2c1.4 2.6 3 4.5 3.6 4.3s5.7-3.7 11.5-7.8zm88.4-50.4c9.6-4.5 22.1-9.6 31.3-12.6 6.8-2.3 9.2-3.5 9.2-4.8 0-9.8-10.5-41.9-19.5-59.5-10.1-19.9-21.8-37.5-24.9-37.5-1 0-11.9 4.2-18.1 7-1.1.5-4.9 2.1-8.5 3.6-3.6 1.4-8.1 3.3-10 4.1l-5.5 2.4c-7.1 3-24.9 11.1-29.6 13.4l-5.6 2.8 9.6 12.7c5.3 7 11.3 15.6 13.4 19.1l8.9 14.4c2.9 4.4 8.3 14.1 12.1 21.5l10 19.1 3 5.7 9.6-4.5 14.6-6.9zm357.2-26.1C617 300.9 606.4 246 600 224c-2.3-8.1-11-29.6-17.6-43.5-2.3-4.7-4.5-5.4-19.6-5.4-7.7-.1-9.8.2-9.8 1.3 0 .7 1.1 4.7 2.4 8.7 4.8 14.8 6.3 20.7 11.7 45.9 1.9 8.8 2.3 13.7 2.3 30 .1 19.6-.5 25-5 43.6-.7 3.3-1.4 6.5-1.4 7.1 0 1 3.6 1.9 18 4.8 8.5 1.7 34.2 8.3 34.9 9 1.9 1.9 2.3-.6 1.8-10.2zm-569.7-3c13.2-8.9 26.6-17 65-39.2 19.1-11.1 58.8-30.9 83.5-41.6l15-6.6c26.5-11.8 61.3-24.6 86-31.7l24.5-6.8c5.4-1.3 10.9-2.7 24.5-6.6 23.5-6.6 35.4-9.1 57.5-12.3 5.8-.8 13.1-1.9 16.2-2.5s12.3-1.7 20.5-2.6l23.8-2.5c5-.5 30-1.2 55.6-1.5l46.7-.7-5.2-10.1c-5.1-9.8-11.2-20.2-18.5-31.6-2-3-4-6.3-4.6-7.2-3.8-6.5-11.4-16.4-15.4-20.1-4.3-4.1-5.3-4.5-11.6-5.2-14.4-1.5-20.2-4.4-44.9-22.2-9.9-7.2-21.5-13.4-30.7-16.4-5.9-1.9-7.8-2-24.4-1.4-12.2.5-20.1.3-24.4-.5-6.3-1.1-19.4-6-33.6-12.5-14.7-6.7-29.9-10.2-38.8-9.1-2.9.4-13.2 3.4-23 6.7-26.9 9.1-38.5 9.7-69.2 3.4-22.5-4.6-25.3-3.7-48 15.1-16.3 13.5-24.5 16.8-48.3 19.9-18 2.3-23.6 4.9-33.7 15.7-3.3 3.5-7.8 9-10 12.3-2.2 3.2-6.7 9.4-10 13.8l-7 9.6c-.5.8-2.9 4-5.3 7-10.6 13.4-12.8 23.3-19.3 86.6-.5 5-1.3 11.3-1.9 14-.5 2.8-2.1 14.7-3.6 26.5-2.5 20.7-2.6 22.2-1.5 42l1.1 23.9c0 3.3 0 3.3 2.3 1.7l10.7-7.3zm290.5 3.9c15.8-3.3 35.1-6.6 44.8-7.7l5.9-.7-.6-3.1c-.3-1.8-.8-8.1-1.1-14.2-1.3-23.5-4.4-38-14.8-69.5-6.1-18.3-9.3-26-11.1-26-.6 0-4.3.9-8.1 2-3.9 1.2-13.5 3.8-21.5 6-23.2 6.1-25.7 6.9-40.7 11.6-9.8 3.2-14.1 5-13.5 5.8l5.3 8.1c15.9 24.5 27.6 52.2 32.9 78 2.9 13.9 2.8 13.8 5.3 13.2 1.2-.2 9-1.8 17.2-3.5zm207.2-12.7c2.2-8.6 5-23.6 6.3-32.9 1.6-11.5.5-20.2-6-49.6-1.8-8.4-2.7-11.6-8.9-31.9-5-16.1-1.7-14.5-27.5-13.7l-28.9 1.3-6.7.6.6 3.6c.4 2 2.9 10.6 5.6 19.1 7.5 23.3 11.6 39.1 15.6 60.6 1.4 7.3 1.6 33.6.3 38.2-1.2 4-2.1 3.7 13.6 5.1 12 1.1 30.4 3.9 31.3 4.7 1.5 1.6 3.6-.7 4.7-5.1zm-106.2 0l30.5-1.8 6.5-.2 1.3-5c1.7-6.6 1-31.7-1.1-40-.9-3.3-2.6-10-3.8-15-2.1-8.9-5.4-19.9-10.9-36.5-1.6-4.7-3.6-12.3-4.6-16.9-1.1-5-2.4-8.5-3.2-8.9-1.5-.5-23.1 1.9-34.2 3.9l-20.9 3.4c-8.5 1.4-15.9 2.9-16.3 3.3-.5.5.2 3.7 1.6 7.3 4.3 11.5 8.4 24.2 11.6 35.9l4 14c1.8 5 5 31.3 5 41.3 0 5.6.3 11.9.6 14l.7 3.7 4.6-.5c2.5-.3 15.4-1.2 28.6-2z"}),j.default.createElement("path",{fill:t,d:"M70.4 484.7c-4.3-5.9-9.8-15.6-14-24.5C51.6 450 46 437.3 46 436.6c0-.3-2.2-4.9-4.8-10.3-7.5-15.4-13.8-33.6-19.1-55.2-3-12.1-2.8-13.3 2.6-20.3 5-6.3 15.4-14.5 34.8-27.5 17.9-11.9 24.3-15.6 25.8-15 1.9.7 12.6 14.2 19.6 24.6 6.6 9.8 11.9 19 21.6 37.6 3.7 7.2 8.2 15.5 9.9 18.5s5.3 9.9 8 15.3c4.1 8.3 4.7 10 3.5 11.1-.8.7-6.1 5.2-11.9 10.1-16.9 14.4-38.4 36-49.7 50-5.8 7.2-11 13.1-11.7 13.2-.6.2-2.5-1.6-4.2-4zm84.1-85c-1.6-3.4-4.8-9.6-7.1-13.7l-11.9-22.5c-13.1-25.1-24.8-43.6-36.2-57.2l-4.4-5.2 7.3-4.2 14.3-8.5c3.9-2.3 15.9-8.7 26.7-14.3l19.6-10.2 9.2 11.7c8.4 10.6 12.3 16.4 27.5 40.1 2.7 4.3 7.8 13.4 11.3 20.3l10.3 19.7c2.9 5.3 3.5 7.3 2.6 8-.7.6-6.4 4-12.7 7.8-13.9 8.2-32.7 20.6-43.3 28.6-4.3 3.3-8.4 5.9-9 5.8-.7 0-2.5-2.8-4.2-6.2zm78-45.7c-1.4-2.2-5.3-9.5-8.6-16.2-12-23.8-26.9-47.7-41.8-66.8-4.4-5.7-8.1-10.9-8.1-11.5 0-1 19.5-10.9 29.9-15.2 2-.8 5.1-2.1 6.9-2.9 1.7-.8 4.7-2 6.5-2.8 1.7-.8 6.1-2.6 9.7-4l8.5-3.6c1.1-.5 6.7-2.8 12.4-5.1l10.4-4.3 4 4.5c11.2 12.5 27 42.1 34.1 63.9 5.6 17.4 9.7 36.7 8.1 38-.5.5-5.1 2.2-10 3.8-9 3-21.6 8.1-31 12.6l-16.8 8-11.7 5.5-2.5-3.9zm382.7-24.6c-4.1-1.8-26.8-7.8-37.2-9.9-19-3.8-19-3.8-19-5.8 0-1 .9-5.5 1.9-10 4.8-20.1 5.6-25.9 5.5-42.7-.1-17.1-.5-20.1-6.8-47-2.3-10.1-3.8-15.1-8.6-30.5-1.2-3.8-2.4-8.1-2.7-9.3l-.6-2.4 16.9.3c9.3.1 17.5.7 18.2 1.2 1.3 1 2 2.5 11.4 24.2 8.9 20.6 11.1 28.7 20.4 75.5 4.9 24.5 5.7 30.6 6.2 43.3.5 16.2.6 15.8-5.6 13.1zM31.9 319.3l-.4-9.5c-.2-.9-.6-10.4-1-21-.6-18-.5-20.9 2.4-43.5l3.6-25.5c.2-.7.9-5.8 1.4-11.3 4.3-43 6.7-59.2 10.3-70 2.7-8 3.9-10.2 9-16.6 2.4-3 4.8-6.2 5.3-7 .6-.9 3.7-5.2 7-9.6s7.8-10.6 10-13.8c2.2-3.3 6.7-8.8 10-12.3 10.1-10.8 15.7-13.4 33.7-15.7 23.8-3.1 32-6.4 48.3-19.9 6.1-5.1 12.8-10.4 15-11.8 9.8-6.6 19-7.4 38.6-3.4 29.5 6 37.4 5.6 64.1-3.5 13.7-4.6 20-6.2 25.8-6.6 12.2-.9 26.1 2.2 41.5 9.2 13.7 6.3 27.2 11.3 32.9 12.4 3.6.7 12.5.8 24 .4 15.9-.5 19-.4 24.2 1.2 8.9 2.7 22.3 9.7 32 16.7 24.7 17.9 30.5 20.8 44.9 22.3 6.3.7 7.3 1.1 11.6 5.2 4 3.7 11.6 13.6 15.4 20.1.6.9 2.6 4.2 4.6 7.2 12 18.5 23.6 40.2 24.1 45l.3 2.5-46.5.7-56 1.7-24.3 2.5c-8.2.9-17.4 2-20.5 2.6s-10.4 1.7-16.2 2.5c-22.1 3.2-34 5.7-57.5 12.3-13.6 3.9-19.1 5.3-24.5 6.6-5.3 1.3-9.1 2.3-24.5 6.8-24.7 7.1-59.5 19.9-86 31.7l-15 6.6c-21.4 9.3-49.2 22.9-74 36.3-8.5 4.6-42 24-50 28.9-12 7.5-28.8 18.4-34.6 22.6-3.7 2.6-7.2 4.7-7.8 4.7-.7 0-1.1-2.7-1.2-7.7zm284.6 4.6c-.3-.4-1.7-6.1-3-12.6-5.3-25.2-15.7-51.1-29.9-74.3-3.2-5.2-7.3-11.4-9.2-13.7s-3.4-4.6-3.4-5.1c0-.6 7.1-3.3 15.8-6.1 16.4-5.2 18.6-5.9 42.2-12.2l23.5-6.4c4.9-1.4 9.9-2.5 11-2.5 2.6 0 5 5.4 12.2 27 10.8 32.6 12.9 42.8 15.3 75 1.5 19.6 1.9 17.7-4.7 18.5-14.5 1.7-48.5 7.9-62.1 11.4-3.9 1.1-7.4 1.5-7.7 1zM541 312c-13.2-2.8-36.4-6-43.5-6-6.2 0-6.6-.6-5-7.5s2-27.1.5-34.2c-3.1-15.6-7.4-34.4-8.7-38.3-.8-2.5-1.6-5.2-1.8-6s-2.6-8.5-5.3-17c-5-15.7-7.9-27.6-7-28.5.7-.7 38.4-2.5 53-2.5 13.7 0 12.2-1.3 16.9 14.1 6.2 20.3 7.1 23.5 8.9 31.9 6.9 31.2 8.1 42.1 6 55.9-2.4 15.7-6 33.3-7.7 37.6-.6 1.6-1 1.7-6.3.5zm-137-3c-1-.6-1.5-5.2-2.1-18.2-.7-16.6-3-35.6-4.9-40.8l-4-14c-3.5-12.7-8.7-28.6-13.1-39.8-1.6-4-2.9-7.7-2.9-8.1 0-.5 3-1.6 6.8-2.5 10.4-2.3 54.8-8.8 67.9-9.9l6.3-.5.9 3.6 2.1 9.2c.7 3 2.5 9.3 4 14 5.8 17.6 8.8 27.8 10.9 36.5l3.8 15c2.1 8.2 2.9 39.1 1.1 46l-1.3 5-7.5.3c-12 .4-65.1 4.1-65.9 4.6-.4.3-1.3.1-2.1-.4z"}))}function Q(e){var t=e.style,r=e.color;switch(t){case"beanie":return j.default.createElement(X,{color:r});case"turban":return j.default.createElement(H,{color:r});default:return null}}function J(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",width:"16%",height:"15%",top:"13%",left:"19.8%"},width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M30.5 6.17556C28.17 5.40834 25.6547 5 23.08 5C12.5866 5 4.08007 11.5 5.08001 23.5C6.12162 36 13.5866 40.5 24.08 40.5C25.2476 40.5 26.3906 40.3975 27.5 40.2011C28.7105 39.9869 29.8811 39.6609 31 39.2347",stroke:"#171921",strokeWidth:"9"}),j.default.createElement("path",{d:"M31.5 39.0361C29.2204 39.9786 26.7127 40.5 24.08 40.5C13.5866 40.5 6.12162 36 5.08001 23.5C4.08007 11.5 12.5866 5 23.08 5C26.2175 5 29.2667 5.60635 32 6.72957L31.5 39.0361Z",fill:t}),j.default.createElement("path",{d:"M27.5 13.5004C23.5 11.6671 14.7 10.7004 11.5 21.5004",stroke:"#171921",strokeWidth:"4"}),j.default.createElement("path",{d:"M17 14C19.1667 15.8333 23.3 21.5 22.5 29.5",stroke:"#171921",strokeWidth:"4"}))}function ee(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",width:"16%",height:"15%",top:"13%",left:"19%"},width:"48",height:"52",viewBox:"0 0 48 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M36.466 43.1111L37 42.5357V41.7506V8.24948V7.13022L36.046 6.54483C32.3122 4.25363 27.7717 3 23.08 3C17.4397 3 12.1591 4.74745 8.39775 8.29504C4.59419 11.8824 2.54206 17.1274 3.08692 23.6661C3.61786 30.0378 5.75693 34.7272 9.30474 37.8433C9.01338 38.8425 8.92733 39.9197 9.06236 41.0533C9.45166 44.3216 11.1039 46.6766 13.6572 48.1277C16.0911 49.511 19.2061 49.9998 22.5242 49.9998C28.0033 49.9998 32.8077 47.0528 36.466 43.1111Z",stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.972 23.984C43.0434 23.3322 43.08 22.6703 43.08 22C43.08 11.7827 33.5734 5 23.08 5C12.5866 5 4.08007 11.5 5.08001 23.5C5.63643 30.1774 8.02584 34.5719 11.7307 37.2171C11.1423 38.2409 10.8848 39.4436 11.0483 40.8167C11.6774 46.0984 16.1862 47.9998 22.5242 47.9998C33.6292 47.9998 42.4159 33.9534 42.972 23.984Z",fill:t}),j.default.createElement("path",{d:"M27.5 13.5004C23.5 11.6671 14.7 10.7004 11.5 21.5004",stroke:"#171921",strokeWidth:"4"}),j.default.createElement("path",{d:"M17 14C19.1667 15.8333 23.3 21.5 22.5 29.5",stroke:"#171921",strokeWidth:"4"}))}function et(e){var t=e.color,r=e.size;return j.default.createElement(j.Fragment,null,"small"===r&&j.default.createElement(J,{color:t}),"big"===r&&j.default.createElement(ee,{color:t}))}function er(){return j.default.createElement("svg",{style:{position:"absolute",width:"80%",height:"13%",top:0},width:"149",height:"48",viewBox:"0 0 149 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M99 10.2143C104.667 7.5476 118 5.11427 126 16.7143",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M23.5791 35.521C25.6497 29.6104 33.2612 18.3959 47.1418 20.8224",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}))}function en(){return j.default.createElement("svg",{style:{position:"absolute",width:"80%",height:"13%",top:0},width:"149",height:"51",viewBox:"0 0 149 51",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M99 13.2143C104.667 10.5476 118 8.11427 126 19.7143",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M23.5791 38.521C25.6497 32.6104 33.2612 21.3959 47.1418 23.8224",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M26.0742 32.4578L19.9258 27.0312",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M122.961 14.157L129.109 8.73047",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M32.5233 26.8142L28.4766 19.6816",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M115.512 10.5135L119.559 3.38086",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M40.5994 23.2005L38.3984 15.3008",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M106.436 9.89973L108.637 2",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}))}function eo(e){return"upWoman"===e.style?j.default.createElement(en,null):j.default.createElement(er,null)}function ea(){return j.default.createElement("svg",{style:{width:"100%",height:"12%",position:"absolute",top:"7%"},width:"96",height:"48",viewBox:"0 0 96 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("ellipse",{cx:"16.1171",cy:"28.9268",rx:"9",ry:"10",transform:"rotate(-6.77646 16.1171 28.9268)",fill:"black"}),j.default.createElement("ellipse",{cx:"80.1486",cy:"18.9231",rx:"9",ry:"10",transform:"rotate(-6.27568 80.1486 18.9231)",fill:"black"}))}function el(){return j.default.createElement("svg",{style:{width:"100%",height:"12%",position:"absolute",top:"6%"},width:"96",height:"48",viewBox:"0 0 96 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("ellipse",{cx:"16.5301",cy:"29.4023",rx:"9",ry:"13.5",transform:"rotate(-6.77646 16.5301 29.4023)",fill:"black"}),j.default.createElement("ellipse",{cx:"80.5312",cy:"19.4021",rx:"9",ry:"13.5",transform:"rotate(-6.27568 80.5312 19.4021)",fill:"black"}))}function eu(){return j.default.createElement("svg",{style:{width:"100%",height:"14%",position:"absolute",top:"6%"},width:"96",height:"48",viewBox:"0 0 96 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.28675 34.0729C5.40099 34.8857 6.43424 35.0669 7.00876 34.4806C9.47388 31.9648 13.2637 30.1163 17.663 29.5936C20.2577 29.2853 22.7544 29.4749 24.9787 30.0657C25.7326 30.2659 26.4737 29.6294 26.2105 28.8951C24.5451 24.2497 19.8447 21.1962 14.7356 21.8033C8.79442 22.5093 4.55046 27.8978 5.25642 33.839C5.26572 33.9172 5.27583 33.9952 5.28675 34.0729Z",fill:"#171921"}),j.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M69.3848 24.0725C69.4976 24.8856 70.5308 25.0671 71.1062 24.4816C73.5487 21.9959 77.2977 20.1702 81.6484 19.6532C84.2128 19.3485 86.6804 19.5348 88.88 20.1167C89.6341 20.3162 90.3751 19.6795 90.1108 18.9456C88.456 14.3522 83.8041 11.3346 78.7482 11.9354C72.8624 12.6348 68.6579 17.9732 69.3573 23.8591C69.3658 23.9305 69.3749 24.0016 69.3848 24.0725Z",fill:"#171921"}))}function ei(e){switch(e.style){case"circle":return j.default.createElement(ea,null);case"smile":return j.default.createElement(eu,null);default:return j.default.createElement(el,null)}}function ec(){return j.default.createElement("svg",{style:{width:"100%",height:"20%",position:"absolute",top:"1.5%",left:"-3%"},width:"152",height:"65",viewBox:"0 0 152 65",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("circle",{cx:"123.5",cy:"28",r:"26",stroke:"black",strokeWidth:"4"}),j.default.createElement("circle",{cx:"56.5",cy:"37",r:"26",stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M98.5 35C98.5 32.8783 97.6571 30.8434 96.1569 29.3431C94.6566 27.8429 92.6217 27 90.5 27C88.3783 27 86.3434 27.8429 84.8431 29.3431C83.3429 30.8434 82.5 32.8783 82.5 35",stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M31 39L1 44.5",stroke:"black",strokeWidth:"4"}))}function ef(){return j.default.createElement("svg",{style:{width:"100%",height:"22%",position:"absolute",top:"0.5%",left:"-3%"},width:"160",height:"74",viewBox:"0 0 160 74",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M36.5 42.5L2 49.125",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),j.default.createElement("path",{d:"M32.4878 25.9393C31.618 22.4804 33.9396 19.0308 37.4716 18.5345L76.1882 13.0932C79.4696 12.632 82.5036 14.9183 82.9648 18.1998L88.5317 57.8105C88.9929 61.0919 86.7066 64.126 83.4252 64.5871L48.9526 69.4319C45.9161 69.8587 43.0465 67.9273 42.2987 64.9536L32.4878 25.9393Z",stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M154.751 8.96388C154.634 5.39915 151.451 2.7232 147.919 3.21958L109.203 8.66085C105.921 9.12202 103.635 12.156 104.096 15.4375L109.663 55.0482C110.124 58.3297 113.158 60.616 116.44 60.1548L150.912 55.31C153.949 54.8832 156.175 52.2357 156.074 49.1711L154.751 8.96388Z",stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M85.5 37.125L107.5 33.625",stroke:"black",strokeWidth:"4"}))}function es(e){switch(e.style){case"round":return j.default.createElement(ec,null);case"square":return j.default.createElement(ef,null);default:return null}}function ed(){return j.default.createElement("svg",{style:{width:"10%",height:"10%",position:"absolute",top:"15%",left:"46%"},width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M16.5 3C16.5 17 23.5 28 23.5 28C23.5 28 20 34 10 32",stroke:"#171921",strokeWidth:"4"}))}function eh(){return j.default.createElement("svg",{style:{width:"10%",height:"10%",position:"absolute",top:"15%",left:"46%"},width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M16.5 7C16.1667 10.8333 16.5 19.2 20.5 22C25.5 25.5 20 34 10 32",stroke:"#171921",strokeWidth:"4"}))}function ep(){return j.default.createElement("svg",{style:{width:"10%",height:"10%",position:"absolute",top:"15%",left:"46%"},width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M12.307 12.3397C17.753 11.0993 26.6843 12.9603 24.7238 22.8833C22.9813 31.7023 13.6141 32.1857 11 29.7048",stroke:"black",strokeWidth:"4"}))}function em(e){switch(e.style){case"long":return j.default.createElement(ed,null);case"round":return j.default.createElement(ep,null);default:return j.default.createElement(eh,null)}}function eg(){var e="mouth-laugh-id";return j.default.createElement("svg",{style:{width:"50%",height:"19%",position:"absolute",top:"23%",right:"23%"},width:"73",height:"64",viewBox:"0 0 73 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M69.9204 13.3305C69.7501 11.263 67.6363 10.1117 65.8448 10.8176C61.6161 12.4839 47.6267 17.7834 37.7627 19.1403C26.9401 20.6291 10.5503 18.821 5.80622 18.2319C3.87694 17.9923 2.15721 19.6504 2.49021 21.6654C3.14178 25.6081 4.48399 29.4088 6.45857 32.8914C8.6608 36.7754 11.6065 40.1877 15.1274 42.9333C18.6484 45.679 22.6757 47.7042 26.9793 48.8935C31.283 50.0827 35.7787 50.4126 40.2099 49.8644C44.6411 49.3162 48.9208 47.9005 52.8049 45.6983C56.689 43.4961 60.1012 40.5504 62.8469 37.0294C65.5925 33.5085 67.6178 29.4812 68.807 25.1775C69.8726 21.3212 70.2483 17.3106 69.9204 13.3305Z",fill:"#171921",stroke:"#171921",strokeWidth:"4"}),j.default.createElement("mask",{id:e,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"12",width:"65",height:"37"},j.default.createElement("path",{d:"M67.7931 12.1925C68.3091 16.363 67.9985 20.5943 66.8793 24.6448C65.76 28.6953 63.8539 32.4857 61.2697 35.7996C58.6856 39.1134 55.474 41.8858 51.8185 43.9585C48.1629 46.0312 44.1348 47.3636 39.9643 47.8795C35.7938 48.3955 31.5625 48.085 27.512 46.9657C23.4615 45.8464 19.6712 43.9403 16.3573 41.3562C13.0435 38.772 10.2711 35.5605 8.19838 31.9049C6.12569 28.2493 4.79332 24.2213 4.27734 20.0508L67.7931 12.1925Z",fill:"#171921"})),j.default.createElement("g",{mask:"url(#".concat(e,")")},j.default.createElement("circle",{cx:"40.5221",cy:"52.3146",r:"21.5",transform:"rotate(-7.05286 40.5221 52.3146)",fill:"#FC909F"})))}function eb(){return j.default.createElement("svg",{style:{width:"50%",height:"17%",position:"absolute",top:"23%",right:"23%"},width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M10.0007 24.1649C14.941 30.6115 22.4277 37.7537 33.9767 36.125C45.5257 34.4963 50.6642 26.5297 49.1492 20.0779",stroke:"black",strokeWidth:"4"}))}function ev(){return j.default.createElement("svg",{style:{width:"50%",height:"19%",position:"absolute",top:"23%",right:"23%"},width:"67",height:"64",viewBox:"0 0 67 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M2.5 17.5C5 34.5 33.5 42.5 59.5 23",stroke:"black",strokeWidth:"4"}))}function ey(e){switch(e.style){case"laugh":return j.default.createElement(eg,null);case"smile":return j.default.createElement(eb,null);default:return j.default.createElement(ev,null)}}function eC(e){var t=e.color,r=e.lightColor;return j.default.createElement("svg",{style:{position:"absolute",bottom:"-2%",width:"98%",height:"26%"},width:"281",height:"93",viewBox:"0 0 281 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M182.552 38.4488L182.692 38.4809L182.836 38.4927C228.961 42.2969 256.62 62.7848 276.694 90.9997H3.37453C19.6742 61.6579 42.8579 42.9816 80.4446 34.4117C96.4579 30.7606 115.113 28.9394 137 28.9395C146.456 28.9395 153.814 30.3819 160.796 32.2853C163.383 32.9904 165.983 33.7805 168.643 34.5887C173.045 35.9265 177.611 37.3141 182.552 38.4488Z",fill:t,stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M68.9305 36.5805L78.0837 16.9838C78.3023 16.5157 78.8456 16.293 79.3326 16.4654C117.259 29.8904 151.762 28.945 183.736 20.0444C184.139 19.9324 184.569 20.0806 184.815 20.4178L198.747 39.4703C199.13 39.994 198.935 40.7324 198.331 40.9696C164.724 54.166 101.663 51.9229 69.4152 37.9037C68.9036 37.6813 68.6945 37.0859 68.9305 36.5805Z",fill:r,stroke:"black",strokeWidth:"4"}))}function ew(e){var t=e.color;return j.default.createElement("svg",{style:{position:"absolute",bottom:"-2.5%",width:"100%",height:"26%"},width:"281",height:"93",viewBox:"0 0 281 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M276.366 90.8628H3.45626C3.49074 90.7926 3.52546 90.7219 3.5604 90.6507C8.10518 81.395 16.4899 64.319 27.4025 49.0413C33.5961 40.3702 40.5303 32.3872 47.9416 26.7719C55.3538 21.1558 63.0614 18.0405 70.8916 18.7256C85.946 20.0429 99.3549 28.2854 112.817 36.5604C114.092 37.3444 115.368 38.1288 116.646 38.9076C131.131 47.7349 146.005 55.9312 162.365 52.3445C167.899 51.1311 171.629 48.5345 173.976 45.1797C176.29 41.8727 177.122 38.0292 177.266 34.5166C177.41 30.9989 176.871 27.6738 176.311 25.2562C176.049 24.1257 175.779 23.1785 175.564 22.4839C179.189 18.8351 183.027 16.71 186.989 15.7533C191.284 14.7164 195.876 15.0158 200.707 16.4448C210.437 19.3229 220.847 26.6969 231.007 36.1789C249.621 53.5516 266.7 77.3231 276.366 90.8628Z",fill:t,stroke:"black",strokeWidth:"4.27431"}))}function ek(e){var t=e.color,r=e.lightColor;return j.default.createElement("svg",{style:{position:"absolute",bottom:"-2%",width:"98%",height:"26%",left:"-0.2%"},width:"281",height:"93",viewBox:"0 0 281 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M142.771 67.5777C142.771 67.5779 142.771 67.5779 144 66L142.771 67.5779L144.493 68.9188L145.679 67.0874L145.679 67.087L145.681 67.0841L145.69 67.0697L145.731 67.0072C145.742 66.9904 145.755 66.971 145.769 66.9491C145.803 66.8975 145.847 66.8318 145.9 66.7529C146.05 66.5278 146.275 66.1947 146.57 65.7695C147.158 64.919 148.023 63.7016 149.118 62.2463C151.312 59.3316 154.416 55.482 158.071 51.7183C161.737 47.9446 165.898 44.3176 170.198 41.7935C174.514 39.2597 178.777 37.9491 182.733 38.4825C225.171 44.2046 256.402 63.002 276.674 91.0006H3.37453C19.6742 61.6588 42.8579 42.9825 80.4446 34.4127C82.0464 34.0474 84.2242 34.1581 86.9471 34.7915C89.6421 35.4183 92.7146 36.5194 96.0282 37.9759C102.655 40.8887 110.052 45.1363 117.004 49.5364C123.945 53.9299 130.39 58.4425 135.104 61.8597C137.459 63.5674 139.379 64.9995 140.709 66.0036C141.374 66.5056 141.891 66.9005 142.241 67.1693C142.416 67.3037 142.55 67.4065 142.639 67.4754L142.739 67.553L142.764 67.5722L142.77 67.5767L142.771 67.5777Z",fill:t,stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M68.6127 37.0849L73.7794 17.8529C73.9886 17.0741 74.9962 16.854 75.5402 17.4493C90.4034 33.7135 109.16 33.0762 115.385 32.3297C116.23 32.2284 116.892 33.1531 116.495 33.906L103.338 58.859C103.136 59.2414 102.724 59.4518 102.3 59.3636C98.3518 58.5411 78.6774 53.7321 68.7286 37.8667C68.583 37.6345 68.5416 37.3496 68.6127 37.0849Z",fill:r,stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M199.195 36.9814L187.615 17.4989C187.222 16.8374 186.253 16.8483 185.834 17.4937C180.097 26.3296 170.202 30.4 166.742 31.6024C166.12 31.8187 165.835 32.5584 166.171 33.1254L179.673 55.9402C179.875 56.2806 180.255 56.4651 180.636 56.3568C182.771 55.749 190.096 52.6851 199.182 38.0212C199.378 37.706 199.385 37.3001 199.195 36.9814Z",fill:r,stroke:"black",strokeWidth:"4"}),j.default.createElement("path",{d:"M125.5 54.5L116.5 33L109.5 48L125.5 54.5Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M157 53.5L166 32L173 47L157 53.5Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M86.5 14L74.5 17L84.5 23.5L86.5 14Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M176 14L187 17L180 23.5L176 14Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}))}function eE(e){var t=e.style,r=e.color,n=(0,$.default)(r).brighten(1).hex();switch(t){case"hoody":return j.default.createElement(eC,{color:r,lightColor:n});case"polo":return j.default.createElement(ek,{color:r,lightColor:n});default:return j.default.createElement(ew,{color:r})}}function eM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var eL=function(e){(0,P.default)(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=(0,F.default)(n);if(t){var o=(0,F.default)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,Z.default)(this,e)});function n(){return(0,O.default)(this,n),r.apply(this,arguments)}return(0,R.default)(n,[{key:"render",value:function(){var e,t=this.props,r=t.id,n=t.className,o=t.style,a=t.shape,l=t.hairColorRandom,u=B(this.props);switch(void 0===a?"circle":a){case"circle":e="100%";break;case"rounded":e="6px";break;case"square":e=0}return j.default.createElement("div",{id:r,className:n,style:function(e){for(var t=1;tr?r:e},t={},r=0,n=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r255)&&(t._clipped=!0),t[r]=e(t[r],0,255)):3===r&&(t[r]=e(t[r],0,1));return t},limit:e,type:a,unpack:function(e,t){return(void 0===t&&(t=null),e.length>=3)?Array.prototype.slice.call(e):"object"==a(e[0])&&t?t.split("").filter(function(t){return void 0!==e[0][t]}).map(function(t){return e[0][t]}):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==a(e[t])?e[t].toLowerCase():null},TWOPI:2*l,PITHIRD:l/3,DEG2RAD:l/180,RAD2DEG:180/l},i={format:{},autodetect:[]},c=u.last,f=u.clip_rgb,s=u.type,d=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("object"===s(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=c(e),n=!1;if(!r){n=!0,i.sorted||(i.autodetect=i.autodetect.sort(function(e,t){return t.p-e.p}),i.sorted=!0);for(var o=0,a=i.autodetect;o4?e[4]:1;return 1===a?[0,0,0,l]:[r>=1?0:255*(1-r)*(1-a),n>=1?0:255*(1-n)*(1-a),o>=1?0:255*(1-o)*(1-a),l]},i.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===v(e=b(e,"cmyk"))&&4===e.length)return"cmyk"}});var C=u.unpack,w=u.last,k=function(e){return Math.round(100*e)/100},E=u.unpack,M=function(){for(var e,t,r=[],n=arguments.length;n--;)r[n]=arguments[n];var o=(r=E(r,"rgba"))[0],a=r[1],l=r[2],u=Math.min(o/=255,a/=255,l/=255),i=Math.max(o,a,l),c=(i+u)/2;return(i===u?(e=0,t=Number.NaN):e=c<.5?(i-u)/(i+u):(i-u)/(2-i-u),o==i?t=(a-l)/(i-u):a==i?t=2+(l-o)/(i-u):l==i&&(t=4+(o-a)/(i-u)),(t*=60)<0&&(t+=360),r.length>3&&void 0!==r[3])?[t,e,c,r[3]]:[t,e,c]},L=u.unpack,_=u.last,x=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=C(e,"hsla"),n=w(e)||"lsa";return r[0]=k(r[0]||0),r[1]=k(100*r[1])+"%",r[2]=k(100*r[2])+"%","hsla"===n||r.length>3&&r[3]<1?(r[3]=r.length>3?r[3]:1,n="hsla"):r.length=3,n+"("+r.join(",")+")"},S=Math.round,O=u.unpack,R=Math.round,P=function(){for(var e,t,r,n,o=[],a=arguments.length;a--;)o[a]=arguments[a];var l=(o=O(o,"hsl"))[0],u=o[1],i=o[2];if(0===u)t=r=n=255*i;else{var c=[0,0,0],f=[0,0,0],s=i<.5?i*(1+u):i+u-i*u,d=2*i-s,h=l/360;c[0]=h+1/3,c[1]=h,c[2]=h-1/3;for(var p=0;p<3;p++)c[p]<0&&(c[p]+=1),c[p]>1&&(c[p]-=1),6*c[p]<1?f[p]=d+(s-d)*6*c[p]:2*c[p]<1?f[p]=s:3*c[p]<2?f[p]=d+(s-d)*(2/3-c[p])*6:f[p]=d;t=(e=[R(255*f[0]),R(255*f[1]),R(255*f[2])])[0],r=e[1],n=e[2]}return o.length>3?[t,r,n,o[3]]:[t,r,n,1]},Z=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,F=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,D=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,j=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,N=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,T=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,I=Math.round,A=function(e){if(e=e.toLowerCase().trim(),i.format.named)try{return i.format.named(e)}catch(e){}if(t=e.match(Z)){for(var t,r=t.slice(1,4),n=0;n<3;n++)r[n]=+r[n];return r[3]=1,r}if(t=e.match(F)){for(var o=t.slice(1,5),a=0;a<4;a++)o[a]=+o[a];return o}if(t=e.match(D)){for(var l=t.slice(1,4),u=0;u<3;u++)l[u]=I(2.55*l[u]);return l[3]=1,l}if(t=e.match(j)){for(var c=t.slice(1,5),f=0;f<3;f++)c[f]=I(2.55*c[f]);return c[3]=+c[3],c}if(t=e.match(N)){var s=t.slice(1,4);s[1]*=.01,s[2]*=.01;var d=P(s);return d[3]=1,d}if(t=e.match(T)){var h=t.slice(1,4);h[1]*=.01,h[2]*=.01;var p=P(h);return p[3]=+t[4],p}};A.test=function(e){return Z.test(e)||F.test(e)||D.test(e)||j.test(e)||N.test(e)||T.test(e)};var W=u.type,B=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=L(e,"rgba"),n=_(e)||"rgb";return"hsl"==n.substr(0,3)?x(M(r),n):(r[0]=S(r[0]),r[1]=S(r[1]),r[2]=S(r[2]),("rgba"===n||r.length>3&&r[3]<1)&&(r[3]=r.length>3?r[3]:1,n="rgba"),n+"("+r.slice(0,"rgb"===n?3:4).join(",")+")")};d.prototype.css=function(e){return B(this._rgb,e)},h.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["css"])))},i.format.css=A,i.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===W(e)&&A.test(e))return"css"}});var z=u.unpack;i.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=z(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r},h.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["gl"])))},d.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var U=u.unpack,K=u.unpack,$=Math.floor,G=u.unpack,q=u.type,V=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=U(t,"rgb"),o=n[0],a=n[1],l=n[2],u=Math.min(o,a,l),i=Math.max(o,a,l),c=i-u;return 0===c?e=Number.NaN:(o===i&&(e=(a-l)/c),a===i&&(e=2+(l-o)/c),l===i&&(e=4+(o-a)/c),(e*=60)<0&&(e+=360)),[e,100*c/255,u/(255-c)*100]};d.prototype.hcg=function(){return V(this._rgb)},h.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hcg"])))},i.format.hcg=function(){for(var e,t,r,n,o,a,l,u,i,c=[],f=arguments.length;f--;)c[f]=arguments[f];var s=(c=K(c,"hcg"))[0],d=c[1],h=c[2];h*=255;var p=255*d;if(0===d)l=u=i=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var m=$(s/=60),g=s-m,b=h*(1-d),v=b+p*(1-g),y=b+p*g,C=b+p;switch(m){case 0:l=(e=[C,y,b])[0],u=e[1],i=e[2];break;case 1:l=(t=[v,C,b])[0],u=t[1],i=t[2];break;case 2:l=(r=[b,C,y])[0],u=r[1],i=r[2];break;case 3:l=(n=[b,v,C])[0],u=n[1],i=n[2];break;case 4:l=(o=[y,b,C])[0],u=o[1],i=o[2];break;case 5:l=(a=[C,b,v])[0],u=a[1],i=a[2]}}return[l,u,i,c.length>3?c[3]:1]},i.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===q(e=G(e,"hcg"))&&3===e.length)return"hcg"}});var Y=u.unpack,H=u.last,X=Math.round,Q=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Y(e,"rgba"),n=r[0],o=r[1],a=r[2],l=r[3],u=H(e)||"auto";void 0===l&&(l=1),"auto"===u&&(u=l<1?"rgba":"rgb");var i="000000"+((n=X(n))<<16|(o=X(o))<<8|(a=X(a))).toString(16);i=i.substr(i.length-6);var c="0"+X(255*l).toString(16);switch(c=c.substr(c.length-2),u.toLowerCase()){case"rgba":return"#"+i+c;case"argb":return"#"+c+i;default:return"#"+i}},J=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ee=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,et=function(e){if(e.match(J)){(4===e.length||7===e.length)&&(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ee)){(5===e.length||9===e.length)&&(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var r=parseInt(e,16);return[r>>24&255,r>>16&255,r>>8&255,Math.round((255&r)/255*100)/100]}throw Error("unknown hex color: "+e)},er=u.type;d.prototype.hex=function(e){return Q(this._rgb,e)},h.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hex"])))},i.format.hex=et,i.autodetect.push({p:4,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===er(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var en=u.unpack,eo=u.TWOPI,ea=Math.min,el=Math.sqrt,eu=Math.acos,ei=u.unpack,ec=u.limit,ef=u.TWOPI,es=u.PITHIRD,ed=Math.cos,eh=u.unpack,ep=u.type,em=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=en(t,"rgb"),o=n[0],a=n[1],l=n[2],u=ea(o/=255,a/=255,l/=255),i=(o+a+l)/3,c=i>0?1-u/i:0;return 0===c?e=NaN:(e=eu(e=(o-a+(o-l))/2/el((o-a)*(o-a)+(o-l)*(a-l))),l>a&&(e=eo-e),e/=eo),[360*e,c,i]};d.prototype.hsi=function(){return em(this._rgb)},h.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsi"])))},i.format.hsi=function(){for(var e,t,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=(n=ei(n,"hsi"))[0],l=n[1],u=n[2];return isNaN(a)&&(a=0),isNaN(l)&&(l=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?t=1-((r=(1-l)/3)+(e=(1+l*ed(ef*a)/ed(es-ef*a))/3)):a<2/3?(a-=1/3,r=1-((e=(1-l)/3)+(t=(1+l*ed(ef*a)/ed(es-ef*a))/3))):(a-=2/3,e=1-((t=(1-l)/3)+(r=(1+l*ed(ef*a)/ed(es-ef*a))/3))),[255*(e=ec(u*e*3)),255*(t=ec(u*t*3)),255*(r=ec(u*r*3)),n.length>3?n[3]:1]},i.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ep(e=eh(e,"hsi"))&&3===e.length)return"hsi"}});var eg=u.unpack,eb=u.type;d.prototype.hsl=function(){return M(this._rgb)},h.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsl"])))},i.format.hsl=P,i.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===eb(e=eg(e,"hsl"))&&3===e.length)return"hsl"}});var ev=u.unpack,ey=Math.min,eC=Math.max,ew=u.unpack,ek=Math.floor,eE=u.unpack,eM=u.type,eL=function(){for(var e,t,r=[],n=arguments.length;n--;)r[n]=arguments[n];var o=(r=ev(r,"rgb"))[0],a=r[1],l=r[2],u=ey(o,a,l),i=eC(o,a,l),c=i-u;return 0===i?(e=Number.NaN,t=0):(t=c/i,o===i&&(e=(a-l)/c),a===i&&(e=2+(l-o)/c),l===i&&(e=4+(o-a)/c),(e*=60)<0&&(e+=360)),[e,t,i/255]};d.prototype.hsv=function(){return eL(this._rgb)},h.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsv"])))},i.format.hsv=function(){for(var e,t,r,n,o,a,l,u,i,c=[],f=arguments.length;f--;)c[f]=arguments[f];var s=(c=ew(c,"hsv"))[0],d=c[1],h=c[2];if(h*=255,0===d)l=u=i=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var p=ek(s/=60),m=s-p,g=h*(1-d),b=h*(1-d*m),v=h*(1-d*(1-m));switch(p){case 0:l=(e=[h,v,g])[0],u=e[1],i=e[2];break;case 1:l=(t=[b,h,g])[0],u=t[1],i=t[2];break;case 2:l=(r=[g,h,v])[0],u=r[1],i=r[2];break;case 3:l=(n=[g,b,h])[0],u=n[1],i=n[2];break;case 4:l=(o=[v,g,h])[0],u=o[1],i=o[2];break;case 5:l=(a=[h,g,b])[0],u=a[1],i=a[2]}}return[l,u,i,c.length>3?c[3]:1]},i.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===eM(e=eE(e,"hsv"))&&3===e.length)return"hsv"}});var e_={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},ex=u.unpack,eS=Math.pow,eO=function(e){return(e/=255)<=.04045?e/12.92:eS((e+.055)/1.055,2.4)},eR=function(e){return e>e_.t3?eS(e,1/3):e/e_.t2+e_.t0},eP=function(){for(var e,t,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=ex(n,"rgb"),l=(e=a[0],t=a[1],r=a[2],[eR((.4124564*(e=eO(e))+.3575761*(t=eO(t))+.1804375*(r=eO(r)))/e_.Xn),eR((.2126729*e+.7151522*t+.072175*r)/e_.Yn),eR((.0193339*e+.119192*t+.9503041*r)/e_.Zn)]),u=l[0],i=l[1],c=l[2],f=116*i-16;return[f<0?0:f,500*(u-i),200*(i-c)]},eZ=u.unpack,eF=Math.pow,eD=function(e){return 255*(e<=.00304?12.92*e:1.055*eF(e,1/2.4)-.055)},ej=function(e){return e>e_.t1?e*e*e:e_.t2*(e-e_.t0)},eN=function(){for(var e,t,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=(n=eZ(n,"lab"))[0],l=n[1],u=n[2];return t=(a+16)/116,e=isNaN(l)?t:t+l/500,r=isNaN(u)?t:t-u/200,t=e_.Yn*ej(t),[eD(3.2404542*(e=e_.Xn*ej(e))-1.5371385*t-.4985314*(r=e_.Zn*ej(r))),eD(-.969266*e+1.8760108*t+.041556*r),eD(.0556434*e-.2040259*t+1.0572252*r),n.length>3?n[3]:1]},eT=u.unpack,eI=u.type;d.prototype.lab=function(){return eP(this._rgb)},h.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["lab"])))},i.format.lab=eN,i.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===eI(e=eT(e,"lab"))&&3===e.length)return"lab"}});var eA=u.unpack,eW=u.RAD2DEG,eB=Math.sqrt,ez=Math.atan2,eU=Math.round,eK=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eA(e,"lab"),n=r[0],o=r[1],a=r[2],l=eB(o*o+a*a),u=(ez(a,o)*eW+360)%360;return 0===eU(1e4*l)&&(u=Number.NaN),[n,l,u]},e$=u.unpack,eG=u.unpack,eq=u.DEG2RAD,eV=Math.sin,eY=Math.cos,eH=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eG(e,"lch"),n=r[0],o=r[1],a=r[2];return isNaN(a)&&(a=0),[n,eY(a*=eq)*o,eV(a)*o]},eX=u.unpack,eQ=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eH((e=eX(e,"lch"))[0],e[1],e[2]),n=eN(r[0],r[1],r[2]);return[n[0],n[1],n[2],e.length>3?e[3]:1]},eJ=u.unpack,e1=u.unpack,e2=u.type,e0=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e$(e,"rgb"),n=eP(r[0],r[1],r[2]);return eK(n[0],n[1],n[2])};d.prototype.lch=function(){return e0(this._rgb)},d.prototype.hcl=function(){return e0(this._rgb).reverse()},h.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["lch"])))},h.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hcl"])))},i.format.lch=eQ,i.format.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eJ(e,"hcl").reverse();return eQ.apply(void 0,r)},["lch","hcl"].forEach(function(e){return i.autodetect.push({p:2,test:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if("array"===e2(t=e1(t,e))&&3===t.length)return e}})});var e3={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},e5=u.type;d.prototype.name=function(){for(var e=Q(this._rgb,"rgb"),t=0,r=Object.keys(e3);t0;)t[r]=arguments[r+1];if(!t.length&&"string"===e5(e)&&e3[e.toLowerCase()])return"named"}});var e6=u.unpack,e4=u.type,e8=u.type,e7=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e6(e,"rgb");return(r[0]<<16)+(r[1]<<8)+r[2]};d.prototype.num=function(){return e7(this._rgb)},h.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["num"])))},i.format.num=function(e){if("number"==e4(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw Error("unknown num color: "+e)},i.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===e8(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var e9=u.unpack,te=u.type,tt=Math.round;d.prototype.rgb=function(e){return(void 0===e&&(e=!0),!1===e)?this._rgb.slice(0,3):this._rgb.slice(0,3).map(tt)},d.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map(function(t,r){return r<3?!1===e?t:tt(t):t})},h.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["rgb"])))},i.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e9(e,"rgba");return void 0===r[3]&&(r[3]=1),r},i.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===te(e=e9(e,"rgba"))&&(3===e.length||4===e.length&&"number"==te(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var tr=Math.log,tn=function(e){var t,r,n,o=e/100;return o<66?(t=255,r=o<6?0:-155.25485562709179-.44596950469579133*(r=o-2)+104.49216199393888*tr(r),n=o<20?0:-254.76935184120902+.8274096064007395*(n=o-10)+115.67994401066147*tr(n)):(t=351.97690566805693+.114206453784165*(t=o-55)-40.25366309332127*tr(t),r=325.4494125711974+.07943456536662342*(r=o-50)-28.0852963507957*tr(r),n=255),[t,r,n,1]},to=u.unpack,ta=Math.round,tl=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=to(t,"rgb"),o=n[0],a=n[2],l=1e3,u=4e4;u-l>.4;){var i=tn(e=(u+l)*.5);i[2]/i[0]>=a/o?u=e:l=e}return ta(e)};d.prototype.temp=d.prototype.kelvin=d.prototype.temperature=function(){return tl(this._rgb)},h.temp=h.kelvin=h.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["temp"])))},i.format.temp=i.format.kelvin=i.format.temperature=tn;var tu=u.unpack,ti=Math.cbrt,tc=Math.pow,tf=Math.sign,ts=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=tu(e,"rgb"),n=r[0],o=r[1],a=r[2],l=[td(n/255),td(o/255),td(a/255)],u=l[0],i=l[1],c=l[2],f=ti(.4122214708*u+.5363325363*i+.0514459929*c),s=ti(.2119034982*u+.6806995451*i+.1073969566*c),d=ti(.0883024619*u+.2817188376*i+.6299787005*c);return[.2104542553*f+.793617785*s-.0040720468*d,1.9779984951*f-2.428592205*s+.4505937099*d,.0259040371*f+.7827717662*s-.808675766*d]};function td(e){var t=Math.abs(e);return t<.04045?e/12.92:(tf(e)||1)*tc((t+.055)/1.055,2.4)}var th=u.unpack,tp=Math.pow,tm=Math.sign,tg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=th(e,"lab"))[0],n=e[1],o=e[2],a=tp(r+.3963377774*n+.2158037573*o,3),l=tp(r-.1055613458*n-.0638541728*o,3),u=tp(r-.0894841775*n-1.291485548*o,3);return[255*tb(4.0767416621*a-3.3077115913*l+.2309699292*u),255*tb(-1.2684380046*a+2.6097574011*l-.3413193965*u),255*tb(-.0041960863*a-.7034186147*l+1.707614701*u),e.length>3?e[3]:1]};function tb(e){var t=Math.abs(e);return t>.0031308?(tm(e)||1)*(1.055*tp(t,1/2.4)-.055):12.92*e}var tv=u.unpack,ty=u.type;d.prototype.oklab=function(){return ts(this._rgb)},h.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["oklab"])))},i.format.oklab=tg,i.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ty(e=tv(e,"oklab"))&&3===e.length)return"oklab"}});var tC=u.unpack,tw=u.unpack,tk=u.unpack,tE=u.type,tM=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=tC(e,"rgb"),n=ts(r[0],r[1],r[2]);return eK(n[0],n[1],n[2])};d.prototype.oklch=function(){return tM(this._rgb)},h.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["oklch"])))},i.format.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eH((e=tw(e,"lch"))[0],e[1],e[2]),n=tg(r[0],r[1],r[2]);return[n[0],n[1],n[2],e.length>3?e[3]:1]},i.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===tE(e=tk(e,"oklch"))&&3===e.length)return"oklch"}});var tL=u.type;d.prototype.alpha=function(e,t){return(void 0===t&&(t=!1),void 0!==e&&"number"===tL(e))?t?(this._rgb[3]=e,this):new d([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},d.prototype.clipped=function(){return this._rgb._clipped||!1},d.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=e_.Kn*e,new d(t,"lab").alpha(this.alpha(),!0)},d.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},d.prototype.darker=d.prototype.darken,d.prototype.brighter=d.prototype.brighten,d.prototype.get=function(e){var t=e.split("."),r=t[0],n=t[1],o=this[r]();if(!n)return o;var a=r.indexOf(n)-("ok"===r.substr(0,2)?2:0);if(a>-1)return o[a];throw Error("unknown channel "+n+" in mode "+r)};var t_=u.type,tx=Math.pow;d.prototype.luminance=function(e){if(void 0!==e&&"number"===t_(e)){if(0===e)return new d([0,0,0,this._rgb[3]],"rgb");if(1===e)return new d([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),r=20,n=function(t,o){var a=t.interpolate(o,.5,"rgb"),l=a.luminance();return!(1e-7>Math.abs(e-l))&&r--?l>e?n(t,a):n(a,o):a},o=(t>e?n(new d([0,0,0]),this):n(this,new d([255,255,255]))).rgb();return new d(o.concat([this._rgb[3]]))}return tS.apply(void 0,this._rgb.slice(0,3))};var tS=function(e,t,r){return .2126*(e=tO(e))+.7152*(t=tO(t))+.0722*(r=tO(r))},tO=function(e){return(e/=255)<=.03928?e/12.92:tx((e+.055)/1.055,2.4)},tR={},tP=u.type,tZ=function(e,t,r){void 0===r&&(r=.5);for(var n=[],o=arguments.length-3;o-- >0;)n[o]=arguments[o+3];var a=n[0]||"lrgb";if(tR[a]||n.length||(a=Object.keys(tR)[0]),!tR[a])throw Error("interpolation mode "+a+" is not defined");return"object"!==tP(e)&&(e=new d(e)),"object"!==tP(t)&&(t=new d(t)),tR[a](e,t,r).alpha(e.alpha()+r*(t.alpha()-e.alpha()))};d.prototype.mix=d.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return tZ.apply(void 0,[this,e,t].concat(r))},d.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,r=t[3];return e?(this._rgb=[t[0]*r,t[1]*r,t[2]*r,r],this):new d([t[0]*r,t[1]*r,t[2]*r,r],"rgb")},d.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=e_.Kn*e,t[1]<0&&(t[1]=0),new d(t,"lch").alpha(this.alpha(),!0)},d.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var tF=u.type;d.prototype.set=function(e,t,r){void 0===r&&(r=!1);var n=e.split("."),o=n[0],a=n[1],l=this[o]();if(!a)return l;var u=o.indexOf(a)-("ok"===o.substr(0,2)?2:0);if(u>-1){if("string"==tF(t))switch(t.charAt(0)){case"+":case"-":l[u]+=+t;break;case"*":l[u]*=+t.substr(1);break;case"/":l[u]/=+t.substr(1);break;default:l[u]=+t}else if("number"===tF(t))l[u]=t;else throw Error("unsupported value for Color.set");var i=new d(l,o);return r?(this._rgb=i._rgb,this):i}throw Error("unknown channel "+a+" in mode "+o)},tR.rgb=function(e,t,r){var n=e._rgb,o=t._rgb;return new d(n[0]+r*(o[0]-n[0]),n[1]+r*(o[1]-n[1]),n[2]+r*(o[2]-n[2]),"rgb")};var tD=Math.sqrt,tj=Math.pow;tR.lrgb=function(e,t,r){var n=e._rgb,o=n[0],a=n[1],l=n[2],u=t._rgb,i=u[0],c=u[1],f=u[2];return new d(tD(tj(o,2)*(1-r)+tj(i,2)*r),tD(tj(a,2)*(1-r)+tj(c,2)*r),tD(tj(l,2)*(1-r)+tj(f,2)*r),"rgb")},tR.lab=function(e,t,r){var n=e.lab(),o=t.lab();return new d(n[0]+r*(o[0]-n[0]),n[1]+r*(o[1]-n[1]),n[2]+r*(o[2]-n[2]),"lab")};var tN=function(e,t,r,n){var o,a,l,u,i,c,f,s,h,p,m,g,b,v;return"hsl"===n?(l=e.hsl(),u=t.hsl()):"hsv"===n?(l=e.hsv(),u=t.hsv()):"hcg"===n?(l=e.hcg(),u=t.hcg()):"hsi"===n?(l=e.hsi(),u=t.hsi()):"lch"===n||"hcl"===n?(n="hcl",l=e.hcl(),u=t.hcl()):"oklch"===n&&(l=e.oklch().reverse(),u=t.oklch().reverse()),("h"===n.substr(0,1)||"oklch"===n)&&(i=(o=l)[0],f=o[1],h=o[2],c=(a=u)[0],s=a[1],p=a[2]),isNaN(i)||isNaN(c)?isNaN(i)?isNaN(c)?g=Number.NaN:(g=c,(1==h||0==h)&&"hsv"!=n&&(m=s)):(g=i,(1==p||0==p)&&"hsv"!=n&&(m=f)):(v=c>i&&c-i>180?c-(i+360):c180?c+360-i:c-i,g=i+r*v),void 0===m&&(m=f+r*(s-f)),b=h+r*(p-h),"oklch"===n?new d([b,m,g],n):new d([g,m,b],n)},tT=function(e,t,r){return tN(e,t,r,"lch")};tR.lch=tT,tR.hcl=tT,tR.num=function(e,t,r){var n=e.num(),o=t.num();return new d(n+r*(o-n),"num")},tR.hcg=function(e,t,r){return tN(e,t,r,"hcg")},tR.hsi=function(e,t,r){return tN(e,t,r,"hsi")},tR.hsl=function(e,t,r){return tN(e,t,r,"hsl")},tR.hsv=function(e,t,r){return tN(e,t,r,"hsv")},tR.oklab=function(e,t,r){var n=e.oklab(),o=t.oklab();return new d(n[0]+r*(o[0]-n[0]),n[1]+r*(o[1]-n[1]),n[2]+r*(o[2]-n[2]),"oklab")},tR.oklch=function(e,t,r){return tN(e,t,r,"oklch")};var tI=u.clip_rgb,tA=Math.pow,tW=Math.sqrt,tB=Math.PI,tz=Math.cos,tU=Math.sin,tK=Math.atan2,t$=function(e,t){for(var r=e.length,n=[0,0,0,0],o=0;o.9999999&&(n[3]=1),new d(tI(n))},tG=u.type,tq=Math.pow,tV=function(e){var t="rgb",r=h("#ccc"),n=0,o=[0,1],a=[],l=[0,0],u=!1,i=[],c=!1,f=0,s=1,d=!1,p={},m=!0,g=1,b=function(e){if("string"===tG(e=e||["#fff","#000"])&&h.brewer&&h.brewer[e.toLowerCase()]&&(e=h.brewer[e.toLowerCase()]),"array"===tG(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t=u[r];)r++;return r-1}return 0},y=function(e){return e},C=function(e){return e},w=function(e,n){if(null==n&&(n=!1),isNaN(e)||null===e)return r;if(n)c=e;else if(u&&u.length>2){var o,c;c=v(e)/(u.length-2)}else c=s!==f?(e-f)/(s-f):1;c=C(c),n||(c=y(c)),1!==g&&(c=tq(c,g));var d=Math.floor(1e4*(c=Math.min(1,Math.max(0,c=l[0]+c*(1-l[0]-l[1])))));if(m&&p[d])o=p[d];else{if("array"===tG(i))for(var b=0;b=w&&b===a.length-1){o=i[b];break}if(c>w&&c2){var c=e.map(function(t,r){return r/(e.length-1)}),d=e.map(function(e){return(e-f)/(s-f)});d.every(function(e,t){return c[t]===e})||(C=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var r=(e-d[t])/(d[t+1]-d[t]);return c[t]+r*(c[t+1]-c[t])})}}return o=[f,s],E},E.mode=function(e){return arguments.length?(t=e,k(),E):t},E.range=function(e,t){return b(e),E},E.out=function(e){return c=e,E},E.spread=function(e){return arguments.length?(n=e,E):n},E.correctLightness=function(e){return null==e&&(e=!0),d=e,k(),y=d?function(e){for(var t=w(0,!0).lab()[0],r=w(1,!0).lab()[0],n=t>r,o=w(e,!0).lab()[0],a=t+(r-t)*e,l=o-a,u=0,i=1,c=20;Math.abs(l)>.01&&c-- >0;)n&&(l*=-1),l<0?(u=e,e+=(i-e)*.5):(i=e,e+=(u-e)*.5),l=(o=w(e,!0).lab()[0])-a;return e}:function(e){return e},E},E.padding=function(e){return null!=e?("number"===tG(e)&&(e=[e,e]),l=e,E):l},E.colors=function(t,r){arguments.length<2&&(r="hex");var n=[];if(0==arguments.length)n=i.slice(0);else if(1===t)n=[E(.5)];else if(t>1){var a=o[0],l=o[1]-a;n=(function(e,t,r){for(var n=[],o=ea;o?l++:l--)n.push(l);return n})(0,t,!1).map(function(e){return E(a+e/(t-1)*l)})}else{e=[];var c=[];if(u&&u.length>2)for(var f=1,s=u.length,d=1<=s;d?fs;d?f++:f--)c.push((u[f-1]+u[f])*.5);else c=o;n=c.map(function(e){return E(e)})}return h[r]&&(n=n.map(function(e){return e[r]()})),n},E.cache=function(e){return null!=e?(m=e,E):m},E.gamma=function(e){return null!=e?(g=e,E):g},E.nodata=function(e){return null!=e?(r=h(e),E):r},E},tY=function(e){for(var t=[1,1],r=1;r=5)c=e.map(function(e){return e.lab()}),f=tY(s=e.length-1),o=function(e){var t=1-e,r=[0,1,2].map(function(r){return c.reduce(function(n,o,a){return n+f[a]*Math.pow(t,s-a)*Math.pow(e,a)*o[r]},0)});return new d(r,"lab")};else throw RangeError("No point in running bezier with only one color.");return o},tX=function(e,t,r){if(!tX[r])throw Error("unknown blend mode "+r);return tX[r](e,t)},tQ=function(e){return function(t,r){var n=h(r).rgb(),o=h(t).rgb();return h.rgb(e(n,o))}},tJ=function(e){return function(t,r){var n=[];return n[0]=e(t[0],r[0]),n[1]=e(t[1],r[1]),n[2]=e(t[2],r[2]),n}};tX.normal=tQ(tJ(function(e){return e})),tX.multiply=tQ(tJ(function(e,t){return e*t/255})),tX.screen=tQ(tJ(function(e,t){return 255*(1-(1-e/255)*(1-t/255))})),tX.overlay=tQ(tJ(function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))})),tX.darken=tQ(tJ(function(e,t){return e>t?t:e})),tX.lighten=tQ(tJ(function(e,t){return e>t?e:t})),tX.dodge=tQ(tJ(function(e,t){return 255===e?255:(e=255*(t/255)/(1-e/255))>255?255:e})),tX.burn=tQ(tJ(function(e,t){return 255*(1-(1-t/255)/(e/255))}));for(var t1=u.type,t2=u.clip_rgb,t0=u.TWOPI,t3=Math.pow,t5=Math.sin,t6=Math.cos,t4=Math.floor,t8=Math.random,t7=Math.log,t9=Math.pow,re=Math.floor,rt=Math.abs,rr=function(e,t){void 0===t&&(t=null);var r={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(e)&&(e=Object.values(e)),e.forEach(function(e){t&&"object"===a(e)&&(e=e[t]),null==e||isNaN(e)||(r.values.push(e),r.sum+=e,er.max&&(r.max=e),r.count+=1)}),r.domain=[r.min,r.max],r.limits=function(e,t){return rn(r,e,t)},r},rn=function(e,t,r){void 0===t&&(t="equal"),void 0===r&&(r=7),"array"==a(e)&&(e=rr(e));var n=e.min,o=e.max,l=e.values.sort(function(e,t){return e-t});if(1===r)return[n,o];var u=[];if("c"===t.substr(0,1)&&(u.push(n),u.push(o)),"e"===t.substr(0,1)){u.push(n);for(var i=1;i 0");var c=Math.LOG10E*t7(n),f=Math.LOG10E*t7(o);u.push(n);for(var s=1;s200&&(C=!1)}for(var N={},T=0;T=360;)m-=360;l[p]=m}else l[p]=l[p]/u[p];return h/=n,new d(l,t).alpha(h>.99999?1:h,!0)},h.bezier=function(e){var t=tH(e);return t.scale=function(){return tV(t)},t},h.blend=tX,h.cubehelix=function(e,t,r,n,o){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===r&&(r=1),void 0===n&&(n=1),void 0===o&&(o=[0,1]);var a,l=0;"array"===t1(o)?a=o[1]-o[0]:(a=0,o=[o,o]);var u=function(u){var i=t0*((e+120)/360+t*u),c=t3(o[0]+a*u,n),f=(0!==l?r[0]+u*l:r)*c*(1-c)/2,s=t6(i),d=t5(i);return h(t2([255*(c+f*(-.14861*s+1.78277*d)),255*(c+f*(-.29227*s-.90649*d)),255*(c+f*(1.97294*s)),1]))};return u.start=function(t){return null==t?e:(e=t,u)},u.rotations=function(e){return null==e?t:(t=e,u)},u.gamma=function(e){return null==e?n:(n=e,u)},u.hue=function(e){return null==e?r:("array"===t1(r=e)?0==(l=r[1]-r[0])&&(r=r[1]):l=0,u)},u.lightness=function(e){return null==e?o:("array"===t1(e)?(o=e,a=e[1]-e[0]):(o=[e,e],a=0),u)},u.scale=function(){return h.scale(u)},u.hue(r),u},h.mix=h.interpolate=tZ,h.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(t4(16*t8()));return new d(e,"hex")},h.scale=tV,h.analyze=ro.analyze,h.contrast=function(e,t){e=new d(e),t=new d(t);var r=e.luminance(),n=t.luminance();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},h.deltaE=function(e,t,r,n,o){void 0===r&&(r=1),void 0===n&&(n=1),void 0===o&&(o=1);var a=function(e){return 360*e/(2*rp)},l=function(e){return 2*rp*e/360};e=new d(e),t=new d(t);var u=Array.from(e.lab()),i=u[0],c=u[1],f=u[2],s=Array.from(t.lab()),h=s[0],p=s[1],m=s[2],g=(i+h)/2,b=(ra(rl(c,2)+rl(f,2))+ra(rl(p,2)+rl(m,2)))/2,v=.5*(1-ra(rl(b,7)/(rl(b,7)+rl(25,7)))),y=c*(1+v),C=p*(1+v),w=ra(rl(y,2)+rl(f,2)),k=ra(rl(C,2)+rl(m,2)),E=(w+k)/2,M=a(rc(f,y)),L=a(rc(m,C)),_=M>=0?M:M+360,x=L>=0?L:L+360,S=rf(_-x)>180?(_+x+360)/2:(_+x)/2,O=1-.17*rs(l(S-30))+.24*rs(l(2*S))+.32*rs(l(3*S+6))-.2*rs(l(4*S-63)),R=x-_;R=180>=rf(R)?R:x<=_?R+360:R-360,R=2*ra(w*k)*rd(l(R)/2);var P=k-w,Z=1+.015*rl(g-50,2)/ra(20+rl(g-50,2)),F=1+.045*E,D=1+.015*E*O,j=30*rh(-rl((S-275)/25,2)),N=-(2*ra(rl(E,7)/(rl(E,7)+rl(25,7))))*rd(2*l(j));return ri(0,ru(100,ra(rl((h-i)/(r*Z),2)+rl(P/(n*F),2)+rl(R/(o*D),2)+N*(P/(n*F))*(R/(o*D)))))},h.distance=function(e,t,r){void 0===r&&(r="lab"),e=new d(e),t=new d(t);var n=e.get(r),o=t.get(r),a=0;for(var l in n){var u=(n[l]||0)-(o[l]||0);a+=u*u}return Math.sqrt(a)},h.limits=ro.limits,h.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(d,[null].concat(e))),!0}catch(e){return!1}},h.scales={cool:function(){return tV([h.hsl(180,1,.9),h.hsl(250,.7,.4)])},hot:function(){return tV(["#000","#f00","#ff0","#fff"]).mode("rgb")}},h.colors=e3,h.brewer=rm,h}()},90449:function(e,t,r){"use strict";let n;r.d(t,{VY:function(){return e9},ZA:function(){return te},ck:function(){return tr},__:function(){return tt},Uv:function(){return e7},Ee:function(){return tn},fC:function(){return e4},Z0:function(){return to},Tr:function(){return ta},tu:function(){return tl},xz:function(){return e8}});var o=r(13428),a=r(2265),l=r(85744),u=r(42210),i=r(56989),c=r(73763),f=r(9381),s=r(67256);function d(e){let t=e+"CollectionProvider",[r,n]=(0,i.b)(t),[o,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",f=a.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=l(c,r),i=(0,u.e)(t,o.collectionRef);return a.createElement(s.g7,{ref:i},n)}),d=e+"CollectionItemSlot",h="data-radix-collection-item",p=a.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,i=a.useRef(null),c=(0,u.e)(t,i),f=l(d,r);return a.useEffect(()=>(f.itemMap.set(i,{ref:i,...o}),()=>void f.itemMap.delete(i))),a.createElement(s.g7,{[h]:"",ref:c},n)});return[{Provider:e=>{let{scope:t,children:r}=e,n=a.useRef(null),l=a.useRef(new Map).current;return a.createElement(o,{scope:t,itemMap:l,collectionRef:n},r)},Slot:f,ItemSlot:p},function(t){let r=l(e+"CollectionConsumer",t),n=a.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`)),n=Array.from(r.itemMap.values()),o=n.sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current));return o},[r.collectionRef,r.itemMap]);return n},n]}var h=r(65400),p=r(74278),m=r(31244),g=r(16459);let b="focusScope.autoFocusOnMount",v="focusScope.autoFocusOnUnmount",y={bubbles:!1,cancelable:!0},C=(0,a.forwardRef)((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:l,onUnmountAutoFocus:i,...c}=e,[s,d]=(0,a.useState)(null),h=(0,g.W)(l),p=(0,g.W)(i),m=(0,a.useRef)(null),C=(0,u.e)(t,e=>d(e)),L=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(n){function e(e){if(L.paused||!s)return;let t=e.target;s.contains(t)?m.current=t:E(m.current,{select:!0})}function t(e){if(L.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||E(m.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&E(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,L.paused]),(0,a.useEffect)(()=>{if(s){M.add(L);let e=document.activeElement,t=s.contains(e);if(!t){let t=new CustomEvent(b,y);s.addEventListener(b,h),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(E(n,{select:t}),document.activeElement!==r)return}(w(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&E(s))}return()=>{s.removeEventListener(b,h),setTimeout(()=>{let t=new CustomEvent(v,y);s.addEventListener(v,p),s.dispatchEvent(t),t.defaultPrevented||E(null!=e?e:document.body,{select:!0}),s.removeEventListener(v,p),M.remove(L)},0)}}},[s,h,p,L]);let _=(0,a.useCallback)(e=>{if(!r&&!n||L.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,a]=function(e){let t=w(e),r=k(t,e),n=k(t.reverse(),e);return[r,n]}(t),l=n&&a;l?e.shiftKey||o!==a?e.shiftKey&&o===n&&(e.preventDefault(),r&&E(a,{select:!0})):(e.preventDefault(),r&&E(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,L.paused]);return(0,a.createElement)(f.WV.div,(0,o.Z)({tabIndex:-1},c,{ref:C,onKeyDown:_}))});function w(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}function k(e,t){for(let r 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}(r,{upTo:t}))return r}function E(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}let M=(n=[],{add(e){let t=n[0];e!==t&&(null==t||t.pause()),(n=L(n,e)).unshift(e)},remove(e){var t;null===(t=(n=L(n,e))[0])||void 0===t||t.resume()}});function L(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var _=r(20966),x=r(7649),S=r(52730),O=r(85606);let R="rovingFocusGroup.onEntryFocus",P={bubbles:!1,cancelable:!0},Z="RovingFocusGroup",[F,D,j]=d(Z),[N,T]=(0,i.b)(Z,[j]),[I,A]=N(Z),W=(0,a.forwardRef)((e,t)=>(0,a.createElement)(F.Provider,{scope:e.__scopeRovingFocusGroup},(0,a.createElement)(F.Slot,{scope:e.__scopeRovingFocusGroup},(0,a.createElement)(B,(0,o.Z)({},e,{ref:t}))))),B=(0,a.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:s,currentTabStopId:d,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:m,onEntryFocus:b,...v}=e,y=(0,a.useRef)(null),C=(0,u.e)(t,y),w=(0,h.gm)(s),[k=null,E]=(0,c.T)({prop:d,defaultProp:p,onChange:m}),[M,L]=(0,a.useState)(!1),_=(0,g.W)(b),x=D(r),S=(0,a.useRef)(!1),[O,Z]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=y.current;if(e)return e.addEventListener(R,_),()=>e.removeEventListener(R,_)},[_]),(0,a.createElement)(I,{scope:r,orientation:n,dir:w,loop:i,currentTabStopId:k,onItemFocus:(0,a.useCallback)(e=>E(e),[E]),onItemShiftTab:(0,a.useCallback)(()=>L(!0),[]),onFocusableItemAdd:(0,a.useCallback)(()=>Z(e=>e+1),[]),onFocusableItemRemove:(0,a.useCallback)(()=>Z(e=>e-1),[])},(0,a.createElement)(f.WV.div,(0,o.Z)({tabIndex:M||0===O?-1:0,"data-orientation":n},v,{ref:C,style:{outline:"none",...e.style},onMouseDown:(0,l.M)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,l.M)(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(R,P);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=x().filter(e=>e.focusable),t=e.find(e=>e.active),r=e.find(e=>e.id===k),n=[t,r,...e].filter(Boolean),o=n.map(e=>e.ref.current);K(o)}}S.current=!1}),onBlur:(0,l.M)(e.onBlur,()=>L(!1))})))}),z=(0,a.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:u=!1,tabStopId:i,...c}=e,s=(0,_.M)(),d=i||s,h=A("RovingFocusGroupItem",r),p=h.currentTabStopId===d,m=D(r),{onFocusableItemAdd:g,onFocusableItemRemove:b}=h;return(0,a.useEffect)(()=>{if(n)return g(),()=>b()},[n,g,b]),(0,a.createElement)(F.ItemSlot,{scope:r,id:d,focusable:n,active:u},(0,a.createElement)(f.WV.span,(0,o.Z)({tabIndex:p?0:-1,"data-orientation":h.orientation},c,{ref:t,onMouseDown:(0,l.M)(e.onMouseDown,e=>{n?h.onItemFocus(d):e.preventDefault()}),onFocus:(0,l.M)(e.onFocus,()=>h.onItemFocus(d)),onKeyDown:(0,l.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){h.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return U[o]}(e,h.orientation,h.dir);if(void 0!==t){e.preventDefault();let o=m().filter(e=>e.focusable),a=o.map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&a.reverse();let o=a.indexOf(e.currentTarget);a=h.loop?(r=a,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):a.slice(o+1)}setTimeout(()=>K(a))}})})))}),U={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}var $=r(85859),G=r(17552);let q=["Enter"," "],V=["ArrowUp","PageDown","End"],Y=["ArrowDown","PageUp","Home",...V],H={ltr:[...q,"ArrowRight"],rtl:[...q,"ArrowLeft"]},X={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Q="Menu",[J,ee,et]=d(Q),[er,en]=(0,i.b)(Q,[et,x.D7,T]),eo=(0,x.D7)(),ea=T(),[el,eu]=er(Q),[ei,ec]=er(Q),ef=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:r,...n}=e,l=eo(r);return(0,a.createElement)(x.ee,(0,o.Z)({},l,n,{ref:t}))}),es="MenuPortal",[ed,eh]=er(es,{forceMount:void 0}),ep="MenuContent",[em,eg]=er(ep),eb=(0,a.forwardRef)((e,t)=>{let r=eh(ep,e.__scopeMenu),{forceMount:n=r.forceMount,...l}=e,u=eu(ep,e.__scopeMenu),i=ec(ep,e.__scopeMenu);return(0,a.createElement)(J.Provider,{scope:e.__scopeMenu},(0,a.createElement)(O.z,{present:n||u.open},(0,a.createElement)(J.Slot,{scope:e.__scopeMenu},i.modal?(0,a.createElement)(ev,(0,o.Z)({},l,{ref:t})):(0,a.createElement)(ey,(0,o.Z)({},l,{ref:t})))))}),ev=(0,a.forwardRef)((e,t)=>{let r=eu(ep,e.__scopeMenu),n=(0,a.useRef)(null),i=(0,u.e)(t,n);return(0,a.useEffect)(()=>{let e=n.current;if(e)return(0,$.Ry)(e)},[]),(0,a.createElement)(eC,(0,o.Z)({},e,{ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,l.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),ey=(0,a.forwardRef)((e,t)=>{let r=eu(ep,e.__scopeMenu);return(0,a.createElement)(eC,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),eC=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:i,onOpenAutoFocus:c,onCloseAutoFocus:f,disableOutsidePointerEvents:d,onEntryFocus:h,onEscapeKeyDown:g,onPointerDownOutside:b,onFocusOutside:v,onInteractOutside:y,onDismiss:w,disableOutsideScroll:k,...E}=e,M=eu(ep,r),L=ec(ep,r),_=eo(r),S=ea(r),O=ee(r),[R,P]=(0,a.useState)(null),Z=(0,a.useRef)(null),F=(0,u.e)(t,Z,M.onContentChange),D=(0,a.useRef)(0),j=(0,a.useRef)(""),N=(0,a.useRef)(0),T=(0,a.useRef)(null),I=(0,a.useRef)("right"),A=(0,a.useRef)(0),B=k?G.Z:a.Fragment,z=k?{as:s.g7,allowPinchZoom:!0}:void 0,U=e=>{var t,r;let n=j.current+e,o=O().filter(e=>!e.disabled),a=document.activeElement,l=null===(t=o.find(e=>e.ref.current===a))||void 0===t?void 0:t.textValue,u=o.map(e=>e.textValue),i=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0]),a=o?t[0]:t,l=r?e.indexOf(r):-1,u=(n=Math.max(l,0),e.map((t,r)=>e[(n+r)%e.length])),i=1===a.length;i&&(u=u.filter(e=>e!==r));let c=u.find(e=>e.toLowerCase().startsWith(a.toLowerCase()));return c!==r?c:void 0}(u,n,l),c=null===(r=o.find(e=>e.textValue===i))||void 0===r?void 0:r.ref.current;!function e(t){j.current=t,window.clearTimeout(D.current),""!==t&&(D.current=window.setTimeout(()=>e(""),1e3))}(n),c&&setTimeout(()=>c.focus())};(0,a.useEffect)(()=>()=>window.clearTimeout(D.current),[]),(0,m.EW)();let K=(0,a.useCallback)(e=>{var t,r;let n=I.current===(null===(t=T.current)||void 0===t?void 0:t.side);return n&&function(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,a=t.length-1;en!=c>n&&r<(i-l)*(n-u)/(c-u)+l;f&&(o=!o)}return o}(r,t)}(e,null===(r=T.current)||void 0===r?void 0:r.area)},[]);return(0,a.createElement)(em,{scope:r,searchRef:j,onItemEnter:(0,a.useCallback)(e=>{K(e)&&e.preventDefault()},[K]),onItemLeave:(0,a.useCallback)(e=>{var t;K(e)||(null===(t=Z.current)||void 0===t||t.focus(),P(null))},[K]),onTriggerLeave:(0,a.useCallback)(e=>{K(e)&&e.preventDefault()},[K]),pointerGraceTimerRef:N,onPointerGraceIntentChange:(0,a.useCallback)(e=>{T.current=e},[])},(0,a.createElement)(B,z,(0,a.createElement)(C,{asChild:!0,trapped:i,onMountAutoFocus:(0,l.M)(c,e=>{var t;e.preventDefault(),null===(t=Z.current)||void 0===t||t.focus()}),onUnmountAutoFocus:f},(0,a.createElement)(p.XB,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:g,onPointerDownOutside:b,onFocusOutside:v,onInteractOutside:y,onDismiss:w},(0,a.createElement)(W,(0,o.Z)({asChild:!0},S,{dir:L.dir,orientation:"vertical",loop:n,currentTabStopId:R,onCurrentTabStopIdChange:P,onEntryFocus:(0,l.M)(h,e=>{L.isUsingKeyboardRef.current||e.preventDefault()})}),(0,a.createElement)(x.VY,(0,o.Z)({role:"menu","aria-orientation":"vertical","data-state":eA(M.open),"data-radix-menu-content":"",dir:L.dir},_,E,{ref:F,style:{outline:"none",...E.style},onKeyDown:(0,l.M)(E.onKeyDown,e=>{let t=e.target,r=t.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;r&&("Tab"===e.key&&e.preventDefault(),!n&&o&&U(e.key));let a=Z.current;if(e.target!==a||!Y.includes(e.key))return;e.preventDefault();let l=O().filter(e=>!e.disabled),u=l.map(e=>e.ref.current);V.includes(e.key)&&u.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(u)}),onBlur:(0,l.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(D.current),j.current="")}),onPointerMove:(0,l.M)(e.onPointerMove,ez(e=>{let t=e.target,r=A.current!==e.clientX;if(e.currentTarget.contains(t)&&r){let t=e.clientX>A.current?"right":"left";I.current=t,A.current=e.clientX}}))})))))))}),ew=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.createElement)(f.WV.div,(0,o.Z)({role:"group"},n,{ref:t}))}),ek=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.createElement)(f.WV.div,(0,o.Z)({},n,{ref:t}))}),eE="MenuItem",eM="menu.itemSelect",eL=(0,a.forwardRef)((e,t)=>{let{disabled:r=!1,onSelect:n,...i}=e,c=(0,a.useRef)(null),s=ec(eE,e.__scopeMenu),d=eg(eE,e.__scopeMenu),h=(0,u.e)(t,c),p=(0,a.useRef)(!1);return(0,a.createElement)(e_,(0,o.Z)({},i,{ref:h,disabled:r,onClick:(0,l.M)(e.onClick,()=>{let e=c.current;if(!r&&e){let t=new CustomEvent(eM,{bubbles:!0,cancelable:!0});e.addEventListener(eM,e=>null==n?void 0:n(e),{once:!0}),(0,f.jH)(e,t),t.defaultPrevented?p.current=!1:s.onClose()}}),onPointerDown:t=>{var r;null===(r=e.onPointerDown)||void 0===r||r.call(e,t),p.current=!0},onPointerUp:(0,l.M)(e.onPointerUp,e=>{var t;p.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!r&&(!t||" "!==e.key)&&q.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),e_=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:i,...c}=e,s=eg(eE,r),d=ea(r),h=(0,a.useRef)(null),p=(0,u.e)(t,h),[m,g]=(0,a.useState)(!1),[b,v]=(0,a.useState)("");return(0,a.useEffect)(()=>{let e=h.current;if(e){var t;v((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[c.children]),(0,a.createElement)(J.ItemSlot,{scope:r,disabled:n,textValue:null!=i?i:b},(0,a.createElement)(z,(0,o.Z)({asChild:!0},d,{focusable:!n}),(0,a.createElement)(f.WV.div,(0,o.Z)({role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0},c,{ref:p,onPointerMove:(0,l.M)(e.onPointerMove,ez(e=>{if(n)s.onItemLeave(e);else if(s.onItemEnter(e),!e.defaultPrevented){let t=e.currentTarget;t.focus()}})),onPointerLeave:(0,l.M)(e.onPointerLeave,ez(e=>s.onItemLeave(e))),onFocus:(0,l.M)(e.onFocus,()=>g(!0)),onBlur:(0,l.M)(e.onBlur,()=>g(!1))}))))}),[ex,eS]=((e,t)=>{let{checked:r=!1,onCheckedChange:n,...u}=e;return(0,a.createElement)(eP,{scope:e.__scopeMenu,checked:r},(0,a.createElement)(eL,(0,o.Z)({role:"menuitemcheckbox","aria-checked":eW(r)?"mixed":r},u,{ref:t,"data-state":eB(r),onSelect:(0,l.M)(u.onSelect,()=>null==n?void 0:n(!!eW(r)||!r),{checkForDefaultPrevented:!1})})))},er("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),eO=(0,a.forwardRef)((e,t)=>{let{value:r,onValueChange:n,...l}=e,u=(0,g.W)(n);return(0,a.createElement)(ex,{scope:e.__scopeMenu,value:r,onValueChange:u},(0,a.createElement)(ew,(0,o.Z)({},l,{ref:t})))}),eR=((e,t)=>{let{value:r,...n}=e,u=eS("MenuRadioItem",e.__scopeMenu),i=r===u.value;return(0,a.createElement)(eP,{scope:e.__scopeMenu,checked:i},(0,a.createElement)(eL,(0,o.Z)({role:"menuitemradio","aria-checked":i},n,{ref:t,"data-state":eB(i),onSelect:(0,l.M)(n.onSelect,()=>{var e;return null===(e=u.onValueChange)||void 0===e?void 0:e.call(u,r)},{checkForDefaultPrevented:!1})})))},"MenuItemIndicator"),[eP,eZ]=er(eR,{checked:!1}),eF=((e,t)=>{let{__scopeMenu:r,forceMount:n,...l}=e,u=eZ(eR,r);return(0,a.createElement)(O.z,{present:n||eW(u.checked)||!0===u.checked},(0,a.createElement)(f.WV.span,(0,o.Z)({},l,{ref:t,"data-state":eB(u.checked)})))},(0,a.forwardRef)((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.createElement)(f.WV.div,(0,o.Z)({role:"separator","aria-orientation":"horizontal"},n,{ref:t}))})),eD=((e,t)=>{let{__scopeMenu:r,...n}=e,l=eo(r);return(0,a.createElement)(x.Eh,(0,o.Z)({},l,n,{ref:t}))},"MenuSub"),[ej,eN]=er(eD),eT="MenuSubTrigger",eI=((e,t)=>{let r=eu(eT,e.__scopeMenu),n=ec(eT,e.__scopeMenu),i=eN(eT,e.__scopeMenu),c=eg(eT,e.__scopeMenu),f=(0,a.useRef)(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:d}=c,h={__scopeMenu:e.__scopeMenu},p=(0,a.useCallback)(()=>{f.current&&window.clearTimeout(f.current),f.current=null},[]);return(0,a.useEffect)(()=>p,[p]),(0,a.useEffect)(()=>{let e=s.current;return()=>{window.clearTimeout(e),d(null)}},[s,d]),(0,a.createElement)(ef,(0,o.Z)({asChild:!0},h),(0,a.createElement)(e_,(0,o.Z)({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":eA(r.open)},e,{ref:(0,u.F)(t,i.onTriggerChange),onClick:t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,l.M)(e.onPointerMove,ez(t=>{c.onItemEnter(t),t.defaultPrevented||e.disabled||r.open||f.current||(c.onPointerGraceIntentChange(null),f.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:(0,l.M)(e.onPointerLeave,ez(e=>{var t,n;p();let o=null===(t=r.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(n=r.content)||void 0===n?void 0:n.dataset.side,a="right"===t,l=o[a?"left":"right"],u=o[a?"right":"left"];c.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:l,y:o.top},{x:u,y:o.top},{x:u,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(e),e.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:(0,l.M)(e.onKeyDown,t=>{let o=""!==c.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&H[n.dir].includes(t.key)){var a;r.onOpenChange(!0),null===(a=r.content)||void 0===a||a.focus(),t.preventDefault()}})})))},(0,a.forwardRef)((e,t)=>{let r=eh(ep,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,c=eu(ep,e.__scopeMenu),f=ec(ep,e.__scopeMenu),s=eN("MenuSubContent",e.__scopeMenu),d=(0,a.useRef)(null),h=(0,u.e)(t,d);return(0,a.createElement)(J.Provider,{scope:e.__scopeMenu},(0,a.createElement)(O.z,{present:n||c.open},(0,a.createElement)(J.Slot,{scope:e.__scopeMenu},(0,a.createElement)(eC,(0,o.Z)({id:s.contentId,"aria-labelledby":s.triggerId},i,{ref:h,align:"start",side:"rtl"===f.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;f.isUsingKeyboardRef.current&&(null===(t=d.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,l.M)(e.onFocusOutside,e=>{e.target!==s.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:(0,l.M)(e.onEscapeKeyDown,e=>{f.onClose(),e.preventDefault()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=X[f.dir].includes(e.key);if(t&&r){var n;c.onOpenChange(!1),null===(n=s.trigger)||void 0===n||n.focus(),e.preventDefault()}})})))))}));function eA(e){return e?"open":"closed"}function eW(e){return"indeterminate"===e}function eB(e){return eW(e)?"indeterminate":e?"checked":"unchecked"}function ez(e){return t=>"mouse"===t.pointerType?e(t):void 0}let eU=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:l,modal:u=!0}=e,i=eo(t),[c,f]=(0,a.useState)(null),s=(0,a.useRef)(!1),d=(0,g.W)(l),p=(0,h.gm)(o);return(0,a.useEffect)(()=>{let e=()=>{s.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>s.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,a.createElement)(x.fC,i,(0,a.createElement)(el,{scope:t,open:r,onOpenChange:d,content:c,onContentChange:f},(0,a.createElement)(ei,{scope:t,onClose:(0,a.useCallback)(()=>d(!1),[d]),isUsingKeyboardRef:s,dir:p,modal:u},n)))},eK=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,l=eu(es,t);return(0,a.createElement)(ed,{scope:t,forceMount:r},(0,a.createElement)(O.z,{present:r||l.open},(0,a.createElement)(S.h,{asChild:!0,container:o},n)))},e$=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,l=eu(eD,t),u=eo(t),[i,c]=(0,a.useState)(null),[f,s]=(0,a.useState)(null),d=(0,g.W)(o);return(0,a.useEffect)(()=>(!1===l.open&&d(!1),()=>d(!1)),[l.open,d]),(0,a.createElement)(x.fC,u,(0,a.createElement)(el,{scope:t,open:n,onOpenChange:d,content:f,onContentChange:s},(0,a.createElement)(ej,{scope:t,contentId:(0,_.M)(),triggerId:(0,_.M)(),trigger:i,onTriggerChange:c},r)))},eG="DropdownMenu",[eq,eV]=(0,i.b)(eG,[en]),eY=en(),[eH,eX]=eq(eG),eQ=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...i}=e,c=eX("DropdownMenuTrigger",r),s=eY(r);return(0,a.createElement)(ef,(0,o.Z)({asChild:!0},s),(0,a.createElement)(f.WV.button,(0,o.Z)({type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":n?"":void 0,disabled:n},i,{ref:(0,u.F)(t,c.triggerRef),onPointerDown:(0,l.M)(e.onPointerDown,e=>{n||0!==e.button||!1!==e.ctrlKey||(c.onOpenToggle(),c.open||e.preventDefault())}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&c.onOpenToggle(),"ArrowDown"===e.key&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),eJ=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,u=eX("DropdownMenuContent",r),i=eY(r),c=(0,a.useRef)(!1);return(0,a.createElement)(eb,(0,o.Z)({id:u.contentId,"aria-labelledby":u.triggerId},i,n,{ref:t,onCloseAutoFocus:(0,l.M)(e.onCloseAutoFocus,e=>{var t;c.current||null===(t=u.triggerRef.current)||void 0===t||t.focus(),c.current=!1,e.preventDefault()}),onInteractOutside:(0,l.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!u.modal||n)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),e1=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=eY(r);return(0,a.createElement)(ew,(0,o.Z)({},l,n,{ref:t}))}),e2=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=eY(r);return(0,a.createElement)(ek,(0,o.Z)({},l,n,{ref:t}))}),e0=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=eY(r);return(0,a.createElement)(eL,(0,o.Z)({},l,n,{ref:t}))}),e3=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=eY(r);return(0,a.createElement)(eO,(0,o.Z)({},l,n,{ref:t}))}),e5=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=eY(r);return(0,a.createElement)(eF,(0,o.Z)({},l,n,{ref:t}))}),e6=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=eY(r);return(0,a.createElement)(eI,(0,o.Z)({},l,n,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),e4=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:l,defaultOpen:u,onOpenChange:i,modal:f=!0}=e,s=eY(t),d=(0,a.useRef)(null),[h=!1,p]=(0,c.T)({prop:l,defaultProp:u,onChange:i});return(0,a.createElement)(eH,{scope:t,triggerId:(0,_.M)(),triggerRef:d,contentId:(0,_.M)(),open:h,onOpenChange:p,onOpenToggle:(0,a.useCallback)(()=>p(e=>!e),[p]),modal:f},(0,a.createElement)(eU,(0,o.Z)({},s,{open:h,onOpenChange:p,dir:n,modal:f}),r))},e8=eQ,e7=e=>{let{__scopeDropdownMenu:t,...r}=e,n=eY(t);return(0,a.createElement)(eK,(0,o.Z)({},n,r))},e9=eJ,te=e1,tt=e2,tr=e0,tn=e3,to=e5,ta=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:l,defaultOpen:u}=e,i=eY(t),[f=!1,s]=(0,c.T)({prop:n,defaultProp:u,onChange:l});return(0,a.createElement)(e$,(0,o.Z)({},i,{open:f,onOpenChange:s}),r)},tl=e6},13433:function(e,t){"use strict";t.Z=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/6887-b3d050b2c7e5168e.js b/ee/tabby-webserver/ui/_next/static/chunks/6887-b3d050b2c7e5168e.js new file mode 100644 index 000000000000..41405c11d82a --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/6887-b3d050b2c7e5168e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6887],{2390:function(e,t,n){"use strict";var r=n(25809),l={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,o,u,i,c,s,d,f=!1;t||(t={}),o=t.debug||!1;try{if(i=r(),c=document.createRange(),s=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=l[t.format]||l.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),c.selectNodeContents(d),s.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){o&&console.error("unable to copy using execCommand: ",r),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(r){o&&console.error("unable to copy using clipboardData: ",r),o&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",u=n.replace(/#{\s*key\s*}/g,a),window.prompt(u,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(c):s.removeAllRanges()),d&&document.body.removeChild(d),i()}return f}},30415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(21024);n(2265);let l=r._(n(54));function a(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let o=r.loader;return n({...r,loader:()=>null!=o?o().then(a):Promise.resolve(a(()=>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)},63388: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,{suspense:function(){return l},NoSSR:function(){return a}}),n(21024),n(2265);let r=n(54922);function l(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function a(e){let{children:t}=e;return t}},54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(21024),l=r._(n(2265)),a=n(63388),o=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=l.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),o=t.ssr?l.default.Fragment:a.NoSSR,u=t.lazy;return l.default.createElement(l.default.Suspense,{fallback:r},l.default.createElement(o,null,l.default.createElement(u,e)))}return t.lazy=l.default.lazy(t.loader),n.displayName="LoadableComponent",n}},61574:function(e,t,n){"use strict";n.d(t,{OT:function(){return er},eh:function(){return ee},s_:function(){return A}});var r,l=n(2265);let{createElement:a,createContext:o,createRef:u,forwardRef:i,useCallback:c,useContext:s,useEffect:d,useImperativeHandle:f,useLayoutEffect:p,useMemo:v,useRef:y,useState:g}=r||(r=n.t(l,2)),b=(r||(r=n.t(l,2)))["useId".toString()],m=o(null);m.displayName="PanelGroupContext";let h="function"==typeof b?b:()=>null,w=0;function Z(e=null){let t=h(),n=y(e||t||null);return null===n.current&&(n.current=""+w++),null!=e?e:n.current}function j({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:l,forwardedRef:o,id:u,maxSize:i,minSize:c,onCollapse:d,onExpand:v,onResize:g,order:b,style:h,tagName:w="div",...j}){let A=s(m);if(null===A)throw Error("Panel components must be rendered within a PanelGroup container");let{collapsePanel:x,expandPanel:E,getPanelSize:C,getPanelStyle:S,groupId:z,isPanelCollapsed:O,registerPanel:I,resizePanel:D,unregisterPanel:P}=A,M=Z(u),N=y({callbacks:{onCollapse:d,onExpand:v,onResize:g},constraints:{collapsedSize:n,collapsible:r,defaultSize:l,maxSize:i,minSize:c},id:M,idIsFromProps:void 0!==u,order:b});y({didLogMissingDefaultSizeWarning:!1}),p(()=>{let{callbacks:e,constraints:t}=N.current;N.current.id=M,N.current.idIsFromProps=void 0!==u,N.current.order=b,e.onCollapse=d,e.onExpand=v,e.onResize=g,t.collapsedSize=n,t.collapsible=r,t.defaultSize=l,t.maxSize=i,t.minSize=c}),p(()=>{let e=N.current;return I(e),()=>{P(e)}},[b,M,I,P]),f(o,()=>({collapse:()=>{x(N.current)},expand:()=>{E(N.current)},getId:()=>M,getSize:()=>C(N.current),isCollapsed:()=>O(N.current),isExpanded:()=>!O(N.current),resize:e=>{D(N.current,e)}}),[x,E,C,O,M,D]);let k=S(N.current,l);return a(w,{...j,children:e,className:t,style:{...k,...h},"data-panel":"","data-panel-id":M,"data-panel-group-id":z,"data-panel-collapsible":void 0,"data-panel-size":void 0})}let A=i((e,t)=>a(j,{...e,forwardedRef:t}));function x(e,t="Assertion failed!"){if(!e)throw console.error(t),Error(t)}function E(e,t,n=10){e=parseFloat(e.toFixed(n)),t=parseFloat(t.toFixed(n));let r=e-t;return 0===r?0:r>0?1:-1}function C(e,t,n){return 0===E(e,t,n)}function S({panelConstraints:e,panelIndex:t,size:n}){let r=e[t];x(null!=r);let{collapsedSize:l=0,collapsible:a,maxSize:o=100,minSize:u=0}=r;if(0>E(n,u)){if(a){let e=(l+u)/2;n=0>E(n,e)?l:u}else n=u}return n=parseFloat((n=Math.min(o,n)).toFixed(10))}function z({delta:e,layout:t,panelConstraints:n,pivotIndices:r,trigger:l}){if(C(e,0))return t;let a=[...t],[o,u]=r;x(null!=o),x(null!=u);let i=0;if("keyboard"===l){{let r=e<0?u:o,l=n[r];if(x(l),l.collapsible){let l=t[r];x(null!=l);let a=n[r];x(a);let{collapsedSize:o=0,minSize:u=0}=a;if(C(l,o)){let t=u-l;E(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}{let r=e<0?o:u,l=n[r];x(l);let{collapsible:a}=l;if(a){let l=t[r];x(null!=l);let a=n[r];x(a);let{collapsedSize:o=0,minSize:u=0}=a;if(C(l,u)){let t=l-o;E(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}}{let r=e<0?1:-1,l=e<0?u:o,a=0;for(;;){let e=t[l];x(null!=e);let o=S({panelConstraints:n,panelIndex:l,size:100}),u=o-e;if(a+=u,(l+=r)<0||l>=n.length)break}let i=Math.min(Math.abs(e),Math.abs(a));e=e<0?0-i:i}{let r=e<0?o:u,l=r;for(;l>=0&&l=0))break;e<0?l--:l++}}if(C(i,0))return t;{let r=e<0?u:o,l=t[r];x(null!=l);let c=l+i,s=S({panelConstraints:n,panelIndex:r,size:c});if(a[r]=s,!C(s,c)){let t=c-s,r=e<0?u:o,l=r;for(;l>=0&&l0?l--:l++}}}let c=a.reduce((e,t)=>t+e,0);return C(c,100)?a:t}function O(e){return Array.from(document.querySelectorAll(`[data-panel-resize-handle-id][data-panel-group-id="${e}"]`))}function I(e,t){let n=O(e),r=n.findIndex(e=>e.getAttribute("data-panel-resize-handle-id")===t);return null!=r?r:null}function D(e,t){let n=I(e,t);return null!=n?[n,n+1]:[-1,-1]}function P(e){let t=document.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return t||null}function M(e){let t=document.querySelector(`[data-panel-resize-handle-id="${e}"]`);return t||null}function N(e,t){if(e.length!==t.length)return!1;for(let n=0;n{let l=e[r];x(l);let{callbacks:a,constraints:o,id:u}=l,{collapsedSize:i=0,collapsible:c}=o,s=n[u];if(null==s||t!==s){n[u]=t;let{onCollapse:e,onExpand:r,onResize:l}=a;l&&l(t,s),c&&(e||r)&&(r&&(null==s||s===i)&&t!==i&&r(),e&&(null==s||s!==i)&&t===i&&e())}})}function U(e,t){if(e.length!==t.length)return!1;for(let n=0;nlocalStorage.getItem(e),e.setItem=(e,t)=>{localStorage.setItem(e,t)};else throw Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function W(e){return`react-resizable-panels:${e}`}function X(e){return e.map(e=>{let{constraints:t,id:n,idIsFromProps:r,order:l}=e;return r?n:l?`${l}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((e,t)=>e.localeCompare(t)).join(",")}function J(e,t){try{let n=W(e),r=t.getItem(n);if(r){let e=JSON.parse(r);if("object"==typeof e&&null!=e)return e}}catch(e){}return null}function Y(e,t,n,r,l){var a;let o=W(e),u=X(t),i=null!==(a=J(e,l))&&void 0!==a?a:{};i[u]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{l.setItem(o,JSON.stringify(i))}catch(e){console.error(e)}}function q({layout:e,panelConstraints:t}){let n=[...e],r=n.reduce((e,t)=>e+t,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(e=>`${e}%`).join(", ")}`);if(!C(r,100))for(let e=0;e(G(K),K.getItem(e)),setItem:(e,t)=>{G(K),K.setItem(e,t)}},V={};function Q({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:l,id:o=null,onLayout:u=null,keyboardResizeBy:i=null,storage:s=K,style:b,tagName:h="div",...w}){let j=Z(o),[A,E]=g(null),[S,I]=g([]),B=y({}),G=y(new Map),W=y(0),Q=y({autoSaveId:e,direction:r,dragState:A,id:j,keyboardResizeBy:i,onLayout:u,storage:s}),ee=y({layout:S,panelDataArray:[],panelDataArrayChanged:!1});y({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),f(l,()=>({getId:()=>Q.current.id,getLayout:()=>{let{layout:e}=ee.current;return e},setLayout:e=>{let{onLayout:t}=Q.current,{layout:n,panelDataArray:r}=ee.current,l=q({layout:e,panelConstraints:r.map(e=>e.constraints)});N(n,l)||(I(l),ee.current.layout=l,t&&t(l),F(r,l,B.current))}}),[]),p(()=>{Q.current.autoSaveId=e,Q.current.direction=r,Q.current.dragState=A,Q.current.id=j,Q.current.onLayout=u,Q.current.storage=s}),function({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:l,setLayout:a}){y({didWarnAboutMissingResizeHandle:!1}),p(()=>{let e=O(n);for(let t=0;t{let{constraints:n}=e,{maxSize:i=100,minSize:c=0}=n;t===u?(r=c,l=i):(a+=c,o+=i)});let i=Math.min(l,100-a),c=Math.max(r,100-o),s=e[u];return{valueMax:i,valueMin:c,valueNow:s}}({layout:r,panelsArray:l,pivotIndices:[t,t+1]}),u=e[t];if(null==u);else{let e=l[t];x(e),u.setAttribute("aria-controls",e.id),u.setAttribute("aria-valuemax",""+Math.round(n)),u.setAttribute("aria-valuemin",""+Math.round(a)),u.setAttribute("aria-valuenow",null!=o?""+Math.round(o):"")}}return()=>{e.forEach((e,t)=>{e.removeAttribute("aria-controls"),e.removeAttribute("aria-valuemax"),e.removeAttribute("aria-valuemin"),e.removeAttribute("aria-valuenow")})}},[n,r,l]),d(()=>{let e=t.current;x(e);let{panelDataArray:l}=e,o=P(n);x(null!=o,`No group found for id "${n}"`);let u=O(n);x(u);let i=u.map(e=>{let t=e.getAttribute("data-panel-resize-handle-id");x(t);let[o,u]=function(e,t,n){var r,l,a,o;let u=M(t),i=O(e),c=u?i.indexOf(u):-1,s=null!==(r=null===(l=n[c])||void 0===l?void 0:l.id)&&void 0!==r?r:null,d=null!==(a=null===(o=n[c+1])||void 0===o?void 0:o.id)&&void 0!==a?a:null;return[s,d]}(n,t,l);if(null==o||null==u)return()=>{};let i=e=>{if(!e.defaultPrevented&&"Enter"===e.key){e.preventDefault();let u=l.findIndex(e=>e.id===o);if(u>=0){let e=l[u];x(e);let o=r[u],{collapsedSize:i=0,collapsible:c,minSize:s=0}=e.constraints;if(null!=o&&c){let e=z({delta:C(o,i)?s-i:i-o,layout:r,panelConstraints:l.map(e=>e.constraints),pivotIndices:D(n,t),trigger:"keyboard"});r!==e&&a(e)}}}};return e.addEventListener("keydown",i),()=>{e.removeEventListener("keydown",i)}});return()=>{i.forEach(e=>e())}},[e,t,n,r,l,a])}({committedValuesRef:Q,eagerValuesRef:ee,groupId:j,layout:S,panelDataArray:ee.current.panelDataArray,setLayout:I}),d(()=>{let{panelDataArray:t}=ee.current;if(e){if(0===S.length||S.length!==t.length)return;let n=V[e];null==n&&(n=function(e,t=10){let n=null;return(...r)=>{null!==n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}(Y,100),V[e]=n);let r=[...t],l=new Map(G.current);n(e,r,l,S,s)}},[e,S,s]),d(()=>{});let er=c(e=>{let{onLayout:t}=Q.current,{layout:n,panelDataArray:r}=ee.current;if(e.constraints.collapsible){let l=r.map(e=>e.constraints),{collapsedSize:a=0,panelSize:o,pivotIndices:u}=en(r,e,n);if(x(null!=o),o!==a){G.current.set(e.id,o);let i=et(r,e)===r.length-1,c=i?o-a:a-o,s=z({delta:c,layout:n,panelConstraints:l,pivotIndices:u,trigger:"imperative-api"});U(n,s)||(I(s),ee.current.layout=s,t&&t(s),F(r,s,B.current))}}},[]),el=c(e=>{let{onLayout:t}=Q.current,{layout:n,panelDataArray:r}=ee.current;if(e.constraints.collapsible){let l=r.map(e=>e.constraints),{collapsedSize:a=0,panelSize:o,minSize:u=0,pivotIndices:i}=en(r,e,n);if(o===a){let a=G.current.get(e.id),c=null!=a&&a>=u?a:u,s=et(r,e)===r.length-1,d=z({delta:s?o-c:c-o,layout:n,panelConstraints:l,pivotIndices:i,trigger:"imperative-api"});U(n,d)||(I(d),ee.current.layout=d,t&&t(d),F(r,d,B.current))}}},[]),ea=c(e=>{let{layout:t,panelDataArray:n}=ee.current,{panelSize:r}=en(n,e,t);return x(null!=r),r},[]),eo=c((e,t)=>{let{panelDataArray:n}=ee.current,r=et(n,e);return function({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:l,precision:a=3}){let o=n[l];return{flexBasis:0,flexGrow:null==o?null!=e?e:"1":1===r.length?"1":o.toPrecision(a),flexShrink:1,overflow:"hidden",pointerEvents:null!==t?"none":void 0}}({defaultSize:t,dragState:A,layout:S,panelData:n,panelIndex:r})},[A,S]),eu=c(e=>{let{layout:t,panelDataArray:n}=ee.current,{collapsedSize:r=0,collapsible:l,panelSize:a}=en(n,e,t);return!0===l&&a===r},[]),ei=c(e=>{let{layout:t,panelDataArray:n}=ee.current,{collapsedSize:r=0,collapsible:l,panelSize:a}=en(n,e,t);return x(null!=a),!l||a>r},[]),ec=c(e=>{let{panelDataArray:t}=ee.current;t.push(e),t.sort((e,t)=>{let n=e.order,r=t.order;return null==n&&null==r?0:null==n?-1:null==r?1:n-r}),ee.current.panelDataArrayChanged=!0},[]);p(()=>{if(ee.current.panelDataArrayChanged){ee.current.panelDataArrayChanged=!1;let{autoSaveId:e,onLayout:t,storage:n}=Q.current,{layout:r,panelDataArray:l}=ee.current,a=null;if(e){let t=function(e,t,n){var r,l;let a=null!==(r=J(e,n))&&void 0!==r?r:{},o=X(t);return null!==(l=a[o])&&void 0!==l?l:null}(e,l,n);t&&(G.current=new Map(Object.entries(t.expandToSizes)),a=t.layout)}null==a&&(a=function({panelDataArray:e}){let t=Array(e.length),n=e.map(e=>e.constraints),r=0,l=100;for(let a=0;ae.constraints)});N(r,o)||(I(o),ee.current.layout=o,t&&t(o),F(l,o,B.current))}});let es=c(e=>function(t){t.preventDefault();let{direction:n,dragState:r,id:l,keyboardResizeBy:a,onLayout:o}=Q.current,{layout:u,panelDataArray:i}=ee.current,{initialLayout:c}=null!=r?r:{},s=D(l,e),d=function(e,t,n,r,l){if(k(e)){let t="horizontal"===n,r=0;r=e.shiftKey?100:null!=l?l:10;let a=0;switch(e.key){case"ArrowDown":a=t?0:r;break;case"ArrowLeft":a=t?-r:0;break;case"ArrowRight":a=t?r:0;break;case"ArrowUp":a=t?0:-r;break;case"End":a=100;break;case"Home":a=-100}return a}return null==r?0:function(e,t,n,r){let l="horizontal"===n,a=M(t);x(a);let o=a.getAttribute("data-panel-group-id");x(o);let{initialCursorPosition:u}=r,i=_(n,e),c=P(o);x(c);let s=c.getBoundingClientRect(),d=l?s.width:s.height;return(i-u)/d*100}(e,t,n,r)}(t,e,n,r,a);if(0===d)return;let f="horizontal"===n;"rtl"===document.dir&&f&&(d=-d);let p=i.map(e=>e.constraints),v=z({delta:d,layout:null!=c?c:u,panelConstraints:p,pivotIndices:s,trigger:k(t)?"keyboard":"mouse-or-touch"}),y=!U(u,v);(L(t)||R(t))&&W.current!=d&&(W.current=d,y?H(f?"horizontal":"vertical"):f?H(d<0?"horizontal-min":"horizontal-max"):H(d<0?"vertical-min":"vertical-max")),y&&(I(v),ee.current.layout=v,o&&o(v),F(i,v,B.current))},[]),ed=c((e,t)=>{let{onLayout:n}=Q.current,{layout:r,panelDataArray:l}=ee.current,a=l.map(e=>e.constraints),{panelSize:o,pivotIndices:u}=en(l,e,r);x(null!=o);let i=et(l,e)===l.length-1,c=i?o-t:t-o,s=z({delta:c,layout:r,panelConstraints:a,pivotIndices:u,trigger:"imperative-api"});U(r,s)||(I(s),ee.current.layout=s,n&&n(s),F(l,s,B.current))},[]),ef=c((e,t)=>{let{direction:n}=Q.current,{layout:r}=ee.current,l=M(e);x(l);let a=_(n,t);E({dragHandleId:e,dragHandleRect:l.getBoundingClientRect(),initialCursorPosition:a,initialLayout:r})},[]),ep=c(()=>{null!==$&&(document.head.removeChild($),T=null,$=null),E(null)},[]),ev=c(e=>{let{panelDataArray:t}=ee.current,n=et(t,e);n>=0&&(t.splice(n,1),delete B.current[e.id],ee.current.panelDataArrayChanged=!0)},[]),ey=v(()=>({collapsePanel:er,direction:r,dragState:A,expandPanel:el,getPanelSize:ea,getPanelStyle:eo,groupId:j,isPanelCollapsed:eu,isPanelExpanded:ei,registerPanel:ec,registerResizeHandle:es,resizePanel:ed,startDragging:ef,stopDragging:ep,unregisterPanel:ev}),[er,A,r,el,ea,eo,j,eu,ei,ec,es,ed,ef,ep,ev]);return a(m.Provider,{value:ey},a(h,{...w,children:t,className:n,style:{display:"flex",flexDirection:"horizontal"===r?"row":"column",height:"100%",overflow:"hidden",width:"100%",...b},"data-panel-group":"","data-panel-group-direction":r,"data-panel-group-id":j}))}let ee=i((e,t)=>a(Q,{...e,forwardedRef:t}));function et(e,t){return e.findIndex(e=>e===t||e.id===t.id)}function en(e,t,n){let r=e.map(e=>e.constraints),l=et(e,t),a=r[l],o=l===e.length-1,u=n[l];return{...a,panelSize:u,pivotIndices:o?[l-1,l]:[l,l+1]}}function er({children:e=null,className:t="",disabled:n=!1,id:r,onDragging:l,style:o={},tabIndex:u=0,tagName:i="div",...f}){let p=y(null),v=y({onDragging:l});d(()=>{v.current.onDragging=l});let b=s(m);if(null===b)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");let{direction:h,dragState:w,groupId:j,registerResizeHandle:A,startDragging:E,stopDragging:C}=b,S=Z(r),z=(null==w?void 0:w.dragHandleId)===S,[D,P]=g(!1),[N,k]=g(null),L=c(()=>{let e=p.current;x(e),e.blur(),C();let{onDragging:t}=v.current;t&&t(!1)},[C]);d(()=>{if(n)k(null);else{let e=A(S);k(()=>e)}},[n,S,A]),d(()=>{if(n||null==N||!z)return;let e=e=>{N(e)},t=e=>{N(e)},r=p.current;x(r);let l=r.ownerDocument;return l.body.addEventListener("contextmenu",L),l.body.addEventListener("mousemove",e),l.body.addEventListener("touchmove",e),l.body.addEventListener("mouseleave",t),window.addEventListener("mouseup",L),window.addEventListener("touchend",L),()=>{l.body.removeEventListener("contextmenu",L),l.body.removeEventListener("mousemove",e),l.body.removeEventListener("touchmove",e),l.body.removeEventListener("mouseleave",t),window.removeEventListener("mouseup",L),window.removeEventListener("touchend",L)}},[h,n,z,N,L]),function({disabled:e,handleId:t,resizeHandler:n}){d(()=>{if(e||null==n)return;let r=M(t);if(null==r)return;let l=e=>{if(!e.defaultPrevented)switch(e.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":e.preventDefault(),n(e);break;case"F6":{e.preventDefault();let n=r.getAttribute("data-panel-group-id");x(n);let l=O(n),a=I(n,t);x(null!==a);let o=e.shiftKey?a>0?a-1:l.length-1:a+1{r.removeEventListener("keydown",l)}},[e,t,n])}({disabled:n,handleId:S,resizeHandler:N});let R={cursor:B(h),touchAction:"none",userSelect:"none"};return a(i,{...f,children:e,className:t,onBlur:()=>P(!1),onFocus:()=>P(!0),onMouseDown:e=>{E(S,e.nativeEvent);let t=v.current;x(t);let{onDragging:n}=t;n&&n(!0)},onMouseUp:L,onTouchCancel:L,onTouchEnd:L,onTouchStart:e=>{E(S,e.nativeEvent);let t=v.current;x(t);let{onDragging:n}=t;n&&n(!0)},ref:p,role:"separator",style:{...R,...o},tabIndex:u,"data-panel-group-direction":h,"data-panel-group-id":j,"data-resize-handle":"","data-resize-handle-active":z?"pointer":D?"keyboard":void 0,"data-panel-resize-handle-enabled":!n,"data-panel-resize-handle-id":S})}Q.displayName="PanelGroup",ee.displayName="forwardRef(PanelGroup)",er.displayName="PanelResizeHandle"},25809:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;rl?0:l+t),(n=n>l?l:n)<0&&(n+=l),l=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(l);++r-1?u[i?e[c]:c]:void 0})},91067:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=Object.prototype.hasOwnProperty,l=function(e,t){return null!=e&&r.call(e,t)},a=n(12494),o=function(e,t){return null!=e&&(0,a.Z)(e,t,l)}},13879:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(86070),l=n(64164),a=n(26343),o=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},u=Object.prototype.hasOwnProperty,i=function(e){if(!(0,l.Z)(e))return o(e);var t=(0,a.Z)(e),n=[];for(var r in e)"constructor"==r&&(t||!u.call(e,r))||n.push(r);return n},c=n(85222),s=function(e){return(0,c.Z)(e)?(0,r.Z)(e,!0):i(e)}},95376:function(e,t,n){"use strict";n.d(t,{Z:function(){return eO}});var r,l,a,o,u,i=n(89688),c=n(43128),s=function(e,t){for(var n=-1,r=null==e?0:e.length;++n0&&r(i)?n>1?e(i,n-1,r,l,a):(0,em.Z)(a,i):l||(a[a.length]=i)}return a},eA=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},ex=Math.max,eE=n(73043),eC=n(8293),eS=eE.Z?function(e,t){return(0,eE.Z)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eC.Z,ez=Date.now,eO=(r=0,l=0,function(){var e=ez(),t=16-(e-l);if(l=e,t>0){if(++r>=800)return arguments[0]}else r=0;return eS.apply(void 0,arguments)})((o=a=function(e,t){var n={};if(null==e)return n;var r=!1;t=(0,i.Z)(t,function(t){return t=(0,ea.Z)(t,e),r||(r=t.length>1),t}),p(e,(0,C.Z)(e),n),r&&(n=el(n,7,eb));for(var l=t.length;l--;)es(n,t[l]);return n},u=ex((u=void 0,o.length-1),0),function(){for(var e=arguments,t=-1,n=ex(e.length-u,0),r=Array(n);++t(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)))}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/7587-5749f48c6bf80916.js b/ee/tabby-webserver/ui/_next/static/chunks/7587-5749f48c6bf80916.js new file mode 100644 index 000000000000..609c1e185212 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/7587-5749f48c6bf80916.js @@ -0,0 +1,56 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7587],{73737:function(e,t,r){"use strict";r.d(t,{q:function(){return s}});let n=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,a=e=>{if("string"!=typeof e)throw TypeError("Invalid argument expected string");let t=e.match(n);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},o=e=>"*"===e||"x"===e||"X"===e,l=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},i=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],u=(e,t)=>{if(o(e)||o(t))return 0;let[r,n]=i(l(e),l(t));return r>n?1:r{for(let r=0;r{let r=a(e),n=a(t),o=r.pop(),l=n.pop(),i=c(r,n);return 0!==i?i:o&&l?c(o.split("."),l.split(".")):o||l?o?-1:1:0},s=(e,t,r)=>{p(r);let n=f(e,t);return d[r].includes(n)},d={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},h=Object.keys(d),p=e=>{if("string"!=typeof e)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(-1===h.indexOf(e))throw Error(`Invalid operator, expected one of ${h.join("|")}`)}},6435:function(e,t,r){"use strict";r.d(t,{F:function(){return c},f:function(){return f}});var n=r(2265);let a=["light","dark"],o="(prefers-color-scheme: dark)",l="undefined"==typeof window,i=(0,n.createContext)(void 0),u={setTheme:e=>{},themes:[]},c=()=>{var e;return null!==(e=(0,n.useContext)(i))&&void 0!==e?e:u},f=e=>(0,n.useContext)(i)?n.createElement(n.Fragment,null,e.children):n.createElement(d,e),s=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:l=!0,storageKey:u="theme",themes:c=s,defaultTheme:f=r?"system":"light",attribute:d="data-theme",value:m,children:v,nonce:y})=>{let[C,w]=(0,n.useState)(()=>p(u,f)),[k,L]=(0,n.useState)(()=>p(u)),E=m?Object.values(m):c,M=(0,n.useCallback)(e=>{let n=e;if(!n)return;"system"===e&&r&&(n=b());let o=m?m[n]:n,i=t?g():null,u=document.documentElement;if("class"===d?(u.classList.remove(...E),o&&u.classList.add(o)):o?u.setAttribute(d,o):u.removeAttribute(d),l){let e=a.includes(f)?f:null,t=a.includes(n)?n:e;u.style.colorScheme=t}null==i||i()},[]),x=(0,n.useCallback)(e=>{w(e);try{localStorage.setItem(u,e)}catch(e){}},[e]),S=(0,n.useCallback)(t=>{let n=b(t);L(n),"system"===C&&r&&!e&&M("system")},[C,e]);(0,n.useEffect)(()=>{let e=window.matchMedia(o);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),(0,n.useEffect)(()=>{let e=e=>{e.key===u&&x(e.newValue||f)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[x]),(0,n.useEffect)(()=>{M(null!=e?e:C)},[e,C]);let O=(0,n.useMemo)(()=>({theme:C,setTheme:x,forcedTheme:e,resolvedTheme:"system"===C?k:C,themes:r?[...c,"system"]:c,systemTheme:r?k:void 0}),[C,x,e,k,r,c]);return n.createElement(i.Provider,{value:O},n.createElement(h,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:r,enableColorScheme:l,storageKey:u,themes:c,defaultTheme:f,attribute:d,value:m,children:v,attrs:E,nonce:y}),v)},h=(0,n.memo)(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:l,enableColorScheme:i,defaultTheme:u,value:c,attrs:f,nonce:s})=>{let d="system"===u,h="class"===r?`var d=document.documentElement,c=d.classList;c.remove(${f.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${r}',s='setAttribute';`,p=i?a.includes(u)&&u?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${u}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",g=(e,t=!1,n=!0)=>{let o=c?c[e]:e,l=t?e+"|| ''":`'${o}'`,u="";return i&&n&&!t&&a.includes(e)&&(u+=`d.style.colorScheme = '${e}';`),"class"===r?u+=t||o?`c.add(${l})`:"null":o&&(u+=`d[s](n,${l})`),u},b=e?`!function(){${h}${g(e)}}()`:l?`!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${o}',m=window.matchMedia(t);if(m.media!==t||m.matches){${g("dark")}}else{${g("light")}}}else if(e){${c?`var x=${JSON.stringify(c)};`:""}${g(c?"x[e]":"e",!0)}}${d?"":"else{"+g(u,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${c?`var x=${JSON.stringify(c)};`:""}${g(c?"x[e]":"e",!0)}}else{${g(u,!1,!1)};}${p}}catch(t){}}();`;return n.createElement("script",{nonce:s,dangerouslySetInnerHTML:{__html:b}})},()=>!0),p=(e,t)=>{let r;if(!l){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},g=()=>{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)}},b=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")},95277:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(70474);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{})}function v(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}let y=a.default.forwardRef(function(e,t){let r,n;let{href:i,as:b,children:y,prefetch:C=null,passHref:w,replace:k,shallow:L,scroll:E,locale:M,onClick:x,onMouseEnter:S,onTouchStart:O,legacyBehavior:_=!1,...P}=e;r=y,_&&("string"==typeof r||"number"==typeof r)&&(r=a.default.createElement("a",null,r));let R=a.default.useContext(f.RouterContext),j=a.default.useContext(s.AppRouterContext),N=null!=R?R:j,Z=!R,W=!1!==C,F=null===C?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:A,as:B}=a.default.useMemo(()=>{if(!R){let e=v(i);return{href:e,as:b?v(b):e}}let[e,t]=(0,o.resolveHref)(R,i,!0);return{href:e,as:b?(0,o.resolveHref)(R,b):t||e}},[R,i,b]),T=a.default.useRef(A),I=a.default.useRef(B);_&&(n=a.default.Children.only(r));let D=_?n&&"object"==typeof n&&n.ref:t,[z,$,U]=(0,d.useIntersection)({rootMargin:"200px"}),q=a.default.useCallback(e=>{(I.current!==B||T.current!==A)&&(U(),I.current=B,T.current=A),z(e),D&&("function"==typeof D?D(e):"object"==typeof D&&(D.current=e))},[B,D,A,U,z]);a.default.useEffect(()=>{N&&$&&W&&m(N,A,B,{locale:M},{kind:F},Z)},[B,A,$,M,W,null==R?void 0:R.locale,N,Z,F]);let G={ref:q,onClick(e){_||"function"!=typeof x||x(e),_&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,r,n,o,i,u,c,f,s){let{nodeName:d}=e.currentTarget,h="A"===d.toUpperCase();if(h&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!f&&!(0,l.isLocalURL)(r)))return;e.preventDefault();let p=()=>{let e=null==u||u;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:i,locale:c,scroll:e}):t[o?"replace":"push"](n||r,{forceOptimisticNavigation:!s,scroll:e})};f?a.default.startTransition(p):p()}(e,N,A,B,k,L,E,M,Z,W)},onMouseEnter(e){_||"function"!=typeof S||S(e),_&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&(W||!Z)&&m(N,A,B,{locale:M,priority:!0,bypassPrefetchedCheck:!0},{kind:F},Z)},onTouchStart(e){_||"function"!=typeof O||O(e),_&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&(W||!Z)&&m(N,A,B,{locale:M,priority:!0,bypassPrefetchedCheck:!0},{kind:F},Z)}};if((0,u.isAbsoluteUrl)(B))G.href=B;else if(!_||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==M?M:null==R?void 0:R.locale,t=(null==R?void 0:R.isLocaleDomain)&&(0,h.getDomainLocale)(B,e,null==R?void 0:R.locales,null==R?void 0:R.domainLocales);G.href=t||(0,p.addBasePath)((0,c.addLocale)(B,e,null==R?void 0:R.defaultLocale))}return _?a.default.cloneElement(n,G):a.default.createElement("a",{...P,...G},r)}),C=y;("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)},64913:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return s}});let n=r(38888),a=r(7746),o=r(69946),l=r(22337),i=r(70474),u=r(49357),c=r(31956),f=r(25125);function s(e,t,r){let s;let d="string"==typeof t?t:(0,a.formatWithValidation)(t),h=d.match(/^[a-zA-Z]{1,}:\/\//),p=h?d.slice(h[0].length):d,g=p.split("?");if((g[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,l.normalizeRepeatedSlashes)(p);d=(h?h[0]:"")+t}if(!(0,u.isLocalURL)(d))return r?[d]:d;try{s=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){s=new URL("/","http://n")}try{let e=new URL(d,s);e.pathname=(0,i.normalizePathTrailingSlash)(e.pathname);let t="";if((0,c.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:l,params:i}=(0,f.interpolateAs)(e.pathname,e.pathname,r);l&&(t=(0,a.formatWithValidation)({pathname:l,hash:e.hash,query:(0,o.omit)(r,i)}))}let l=e.origin===s.origin?e.href.slice(e.origin.length):e.href;return r?[l,t||l]:l}catch(e){return r?[d]:d}}("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)},91013:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(2265),a=r(64913),o="function"==typeof IntersectionObserver,l=new Map,i=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,c=u||!o,[f,s]=(0,n.useState)(!1),d=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{d.current=e},[]);(0,n.useEffect)(()=>{if(o){if(c||f)return;let e=d.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:a,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=i.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=l.get(n)))return t;let a=new Map,o=new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:o,elements:a},i.push(r),l.set(r,t),t}(r);return o.set(e,t),a.observe(e),function(){if(o.delete(e),a.unobserve(e),0===o.size){a.disconnect(),l.delete(n);let e=i.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&i.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!f){let e=(0,a.requestIdleCallback)(()=>s(!0));return()=>(0,a.cancelIdleCallback)(e)}},[c,r,t,f,d.current]);let p=(0,n.useCallback)(()=>{s(!1)},[]);return[h,f,p]}("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)},62361:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},7746:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return l},urlObjectKeys:function(){return i},formatWithValidation:function(){return u}});let n=r(68533),a=n._(r(38888)),o=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",l=e.pathname||"",i=e.hash||"",u=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let f=e.search||u&&"?"+u||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==c?(c="//"+(c||""),l&&"/"!==l[0]&&(l="/"+l)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),f&&"?"!==f[0]&&(f="?"+f),""+n+c+(l=l.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+i}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return l(e)}},31956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});let n=r(83799),a=r(79731)},25125:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(35366),a=r(95319);function o(e,t,r){let o="",l=(0,a.getRouteRegex)(e),i=l.groups,u=(t!==e?(0,n.getRouteMatcher)(l)(t):"")||r;o=e;let c=Object.keys(i);return c.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=i[e],a="["+(r?"...":"")+e+"]";return n&&(a=(t?"":"/")+"["+a+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:c,result:o}}},79731:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},49357:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(22337),a=r(44561);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},69946:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},38888:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,a]=e;Array.isArray(a)?a.forEach(e=>t.append(r,n(e))):t.set(r,n(a))}),t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a},assign:function(){return o}})},35366:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return a}});let n=r(22337);function a(e){let{re:t,groups:r}=e;return e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},l={};return Object.keys(r).forEach(e=>{let t=r[e],n=a[t.pos];void 0!==n&&(l[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),l}}},95319:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return s},getNamedMiddlewareRegex:function(){return d}});let n=r(84507),a=r(62361),o=r(993);function l(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function i(e){let t=(0,o.removeTrailingSlash)(e).slice(1).split("/"),r={},i=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&o){let{key:e,optional:n,repeat:u}=l(o[1]);return r[e]={pos:i++,repeat:u,optional:n},"/"+(0,a.escapeStringRegexp)(t)+"([^/]+?)"}if(!o)return"/"+(0,a.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=l(o[1]);return r[e]={pos:i++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=i(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function c(e){let{getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:a}=e,{key:o,optional:i,repeat:u}=l(r),c=o.replace(/\W/g,"");a&&(c=""+a+c);let f=!1;return(0===c.length||c.length>30)&&(f=!0),isNaN(parseInt(c.slice(0,1)))||(f=!0),f&&(c=t()),a?n[c]=""+a+o:n[c]=""+o,u?i?"(?:/(?<"+c+">.+?))?":"/(?<"+c+">.+?)":"/(?<"+c+">[^/]+?)"}function f(e,t){let r;let l=(0,o.removeTrailingSlash)(e).slice(1).split("/"),i=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:l.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);return r&&o?c({getSafeRouteKey:i,segment:o[1],routeKeys:u,keyPrefix:t?"nxtI":void 0}):o?c({getSafeRouteKey:i,segment:o[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,a.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function s(e,t){let r=f(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=i(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:a}=f(e,!1);return{namedRegex:"^"+a+(n?"(?:(/.*)?)":"")+"$"}}},83799:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),l=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),l=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(l){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');o(this.restSlugName,r),this.restSlugName=r,a="[...]"}}else{if(l)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},22337:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return o},getLocationOrigin:function(){return l},getURL:function(){return i},getDisplayName:function(){return u},isResSent:function(){return c},normalizeRepeatedSlashes:function(){return f},loadGetInitialProps:function(){return s},SP:function(){return d},ST:function(){return h},DecodeError:function(){return p},NormalizeError:function(){return g},PageNotFoundError:function(){return b},MissingStaticPage:function(){return m},MiddlewareNotFoundError:function(){return v},stringifyError:function(){return y}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;oa.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function i(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function f(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n){let t='"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,h=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class g extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function y(e){return JSON.stringify({message:e.message,stack:e.stack})}},61396:function(e,t,r){e.exports=r(34724)},11372:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:String(t)}function l(e,t){for(var r=0;rn}),h),P=(p={},S.d(p,{default:()=>i}),p),R=(g={},S.d(g,{default:()=>c}),g),j=(b={},S.d(b,{default:()=>f}),b),N=(m={},S.d(m,{default:()=>s}),m),Z=(v={},S.d(v,{default:()=>d}),v),W=(y={},S.d(y,{Component:()=>k.Component,Fragment:()=>k.Fragment,default:()=>k}),y),F=(C={},S.d(C,{default:()=>E()}),C),A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.avoidList,n=t.usually,a=new Set((void 0===r?[]:r).filter(function(e){return!!e})),o=e.filter(function(e){return!a.has(e)}),l=(void 0===n?[]:n).filter(Boolean).reduce(function(e,t){return e.concat(Array(15).fill(t))},[]),i=(o=o.concat(l)).length;return o[Math.floor(Math.random()*i)]},B={sex:["man","woman"],faceColor:["#F9C9B6","#AC6651"],earSize:["small","big"],hairColor:["#000","#fff","#77311D","#FC909F","#D2EFF3","#506AF4","#F48150"],hairStyleMan:["normal","thick","mohawk"],hairStyleWoman:["normal","womanLong","womanShort"],hatColor:["#000","#fff","#77311D","#FC909F","#D2EFF3","#506AF4","#F48150"],hatStyle:["beanie","turban","none"],eyeBrowWoman:["up","upWoman"],eyeStyle:["circle","oval","smile"],glassesStyle:["round","square","none"],noseStyle:["short","long","round"],mouthStyle:["laugh","smile","peace"],shirtStyle:["hoody","short","polo"],shirtColor:["#9287FF","#6BD9E9","#FC909F","#F4D150","#77311D"],bgColor:["#9287FF","#6BD9E9","#FC909F","#F4D150","#E0DDFF","#D2EFF3","#FFEDEF","#FFEBA4","#506AF4","#F48150","#74D153"],gradientBgColor:["linear-gradient(45deg, #178bff 0%, #ff6868 100%)","linear-gradient(45deg, #176fff 0%, #68ffef 100%)","linear-gradient(45deg, #ff1717 0%, #ffd368 100%)","linear-gradient(90deg, #36cd1c 0%, #68deff 100%)","linear-gradient(45deg, #3e1ccd 0%, #ff6871 100%)","linear-gradient(45deg, #1729ff 0%, #ff56f7 100%)","linear-gradient(45deg, #56b5f0 0%, #45ccb5 100%)"]},T=function(e){if(0===e.length)return 0;for(var t=0,r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t="string"==typeof e,r=t&&T(e)||0,n={};n.sex=t?I(r,"sex"):e.sex||A(B.sex),n.faceColor=t?I(r,"faceColor"):e.faceColor||A(B.faceColor),n.earSize=t?I(r,"earSize"):e.earSize||A(B.earSize),n.eyeStyle=t?I(r,"eyeStyle"):e.eyeStyle||A(B.eyeStyle),n.noseStyle=t?I(r,"noseStyle"):e.noseStyle||A(B.noseStyle),n.mouthStyle=t?I(r,"mouthStyle"):e.mouthStyle||A(B.mouthStyle),n.shirtStyle=t?I(r,"shirtStyle"):e.shirtStyle||A(B.shirtStyle),n.glassesStyle=t?I(r,"glassesStyle",{usually:["none"]}):e.glassesStyle||A(B.glassesStyle,{usually:["none"]});var a=[],o=[];if(t||!e.hairColor)switch(n.sex){case"woman":a=n.faceColor===B.faceColor[1]&&["#77311D"]||[];break;case"man":o=["#000"]}if(n.hairColor=t?I(r,"hairColor",{avoidList:a,usually:o}):e.hairColor||A(B.hairColor,{avoidList:a,usually:o}),t||!e.hairStyle)switch(n.sex){case"man":n.hairStyle=t?I(r,"hairStyleMan",{usually:["normal","thick"]}):A(B.hairStyleMan,{usually:["normal","thick"]});break;case"woman":n.hairStyle=t?I(r,"hairStyleWoman"):A(B.hairStyleWoman)}else n.hairStyle=e.hairStyle;n.hatStyle=t?I(r,"hatStyle",{usually:["none"]}):e.hatStyle||A(B.hatStyle,{usually:["none"]}),n.hatColor=t?I(r,"hatColor"):e.hatColor||A(B.hatColor);var l="none"===n.hatStyle&&n.hairColor||n.hatColor;return!t&&e.eyeBrowStyle?n.eyeBrowStyle=e.eyeBrowStyle:n.eyeBrowStyle="woman"===n.sex?t?I(r,"eyeBrowWoman"):A(B.eyeBrowWoman):"up",n.shirtColor=t?I(r,"shirtColor",{avoidList:[l]}):e.shirtColor||A(B.shirtColor,{avoidList:[l]}),!t&&e.isGradient?n.bgColor=e.bgColor||A(B.gradientBgColor):n.bgColor=t?I(r,"bgColor",{avoidList:[l,n.shirtColor]}):e.bgColor||A(B.bgColor,{avoidList:[l,n.shirtColor]}),n};function z(e){var t=e.color;return W.default.createElement("svg",{style:{width:"100%",height:"100%",left:0,top:0,position:"absolute"},width:"200",height:"320",viewBox:"0 0 200 320",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("g",{clipPath:"url(#clip0)"},W.default.createElement("path",{d:"M154 319.5C139.6 299.5 128.333 260.834 127 241.5L58.5 212L30 319.5H154Z",fill:t,stroke:"black",strokeWidth:"4"}),W.default.createElement("mask",{id:"mask-id",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"30",y:"212",width:"124",height:"118"},W.default.createElement("path",{d:"M154 329.5C139.6 309.5 128.333 260.834 127 241.5L58.5 212L30 329.5H154Z",fill:t})),W.default.createElement("g",{mask:"url(#".concat("mask-id",")")},W.default.createElement("ellipse",{cx:"124",cy:"210",rx:"59",ry:"54",fill:"black"})),W.default.createElement("mask",{id:"path-id",fill:"white"},W.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M183.886 150.917C183.859 150.801 183.831 150.685 183.803 150.569C183.776 150.454 183.748 150.338 183.719 150.222L167.323 81.7855C167.306 81.7177 167.29 81.6499 167.274 81.5821C167.258 81.5142 167.242 81.4465 167.225 81.3787L167.152 81.0752L167.151 81.0755C156.933 39.6308 115.156 14.1472 73.5821 24.1081C32.0078 34.0689 6.31547 75.7174 15.9883 117.293L15.9863 117.293L32.9776 188.211L32.9916 188.208C43.5944 229.112 85.0616 254.149 126.329 244.261C167.597 234.374 193.216 193.264 184.131 151.996L184.144 151.993L183.886 150.917Z"})),W.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M183.886 150.917C183.859 150.801 183.831 150.685 183.803 150.569C183.776 150.454 183.748 150.338 183.719 150.222L167.323 81.7855C167.306 81.7177 167.29 81.6499 167.274 81.5821C167.258 81.5142 167.242 81.4465 167.225 81.3787L167.152 81.0752L167.151 81.0755C156.933 39.6308 115.156 14.1472 73.5821 24.1081C32.0078 34.0689 6.31547 75.7174 15.9883 117.293L15.9863 117.293L32.9776 188.211L32.9916 188.208C43.5944 229.112 85.0616 254.149 126.329 244.261C167.597 234.374 193.216 193.264 184.131 151.996L184.144 151.993L183.886 150.917Z",fill:t}),W.default.createElement("path",{d:"M183.886 150.917L179.992 151.831L179.994 151.84L179.996 151.849L183.886 150.917ZM183.719 150.222L179.83 151.154L179.832 151.163L179.834 151.172L183.719 150.222ZM167.323 81.7855L163.43 82.7076L163.433 82.7175L167.323 81.7855ZM167.274 81.5821L163.384 82.5141L163.384 82.5142L167.274 81.5821ZM167.225 81.3787L163.335 82.3108L163.338 82.321L167.225 81.3787ZM167.152 81.0752L171.042 80.1432L170.111 76.255L166.222 77.1849L167.152 81.0752ZM167.151 81.0755L163.267 82.0331L164.218 85.8897L168.081 84.9659L167.151 81.0755ZM73.5821 24.1081L72.6501 20.2182L73.5821 24.1081ZM15.9883 117.293L16.9223 121.182L20.7842 120.255L19.8842 116.386L15.9883 117.293ZM15.9863 117.293L15.0523 113.404L11.1649 114.337L12.0964 118.225L15.9863 117.293ZM32.9776 188.211L29.0877 189.143L30.0201 193.035L33.9113 192.101L32.9776 188.211ZM32.9916 188.208L36.8636 187.204L35.8779 183.401L32.058 184.318L32.9916 188.208ZM126.329 244.261L125.397 240.371H125.397L126.329 244.261ZM184.131 151.996L183.2 148.106L179.381 149.021L180.225 152.856L184.131 151.996ZM184.144 151.993L185.075 155.883L188.966 154.951L188.034 151.061L184.144 151.993ZM187.78 150.002C187.751 149.881 187.722 149.759 187.693 149.637L179.914 151.502C179.94 151.611 179.966 151.721 179.992 151.831L187.78 150.002ZM187.693 149.637C187.664 149.516 187.635 149.395 187.605 149.273L179.834 151.172C179.861 151.281 179.887 151.391 179.914 151.502L187.693 149.637ZM163.433 82.7175L179.83 151.154L187.609 149.29L171.212 80.8535L163.433 82.7175ZM171.215 80.8634C171.198 80.7928 171.181 80.7216 171.164 80.65L163.384 82.5142C163.4 82.5781 163.415 82.6425 163.43 82.7076L171.215 80.8634ZM171.164 80.65C171.147 80.579 171.13 80.5078 171.113 80.4364L163.338 82.321C163.353 82.3851 163.369 82.4494 163.384 82.5141L171.164 80.65ZM163.262 82.0072L163.335 82.3108L171.115 80.4467L171.042 80.1432L163.262 82.0072ZM168.081 84.9659L168.083 84.9655L166.222 77.1849L166.221 77.1852L168.081 84.9659ZM171.035 80.118C160.291 36.5398 116.364 9.74466 72.6501 20.2182L74.514 27.998C113.949 18.5498 153.575 42.7219 163.267 82.0331L171.035 80.118ZM72.6501 20.2182C28.936 30.6917 1.92157 74.4836 12.0923 118.199L19.8842 116.386C10.7094 76.9513 35.0796 37.4461 74.514 27.998L72.6501 20.2182ZM16.9204 121.183L16.9223 121.182L15.0542 113.403L15.0523 113.404L16.9204 121.183ZM36.8676 187.279L19.8763 116.361L12.0964 118.225L29.0877 189.143L36.8676 187.279ZM32.058 184.318L32.044 184.322L33.9113 192.101L33.9252 192.097L32.058 184.318ZM29.1195 189.211C40.2685 232.223 83.8693 258.548 127.261 248.151L125.397 240.371C86.2539 249.75 46.9204 226.002 36.8636 187.204L29.1195 189.211ZM127.261 248.151C170.653 237.755 197.591 194.53 188.038 151.136L180.225 152.856C188.842 191.999 164.541 230.993 125.397 240.371L127.261 248.151ZM183.212 148.103L183.2 148.106L185.063 155.886L185.075 155.883L183.212 148.103ZM179.996 151.849L180.254 152.925L188.034 151.061L187.776 149.985L179.996 151.849Z",fill:"black",mask:"url(#".concat("path-id",")")})),W.default.createElement("defs",null,W.default.createElement("clipPath",{id:"clip0"},W.default.createElement("rect",{width:"200",height:"320",fill:"white"}))))}function $(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",bottom:"20%",width:"94%",height:"81%",left:"-0.5%"},width:"240",height:"270",viewBox:"0 0 240 270",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M123.788 17.4887L123.864 17.4969L123.941 17.4991C150.61 18.2835 171.342 28.8969 186.013 41.8493C200.069 54.2583 208.463 68.7231 211.2 78.5817C207.14 80.8991 200.185 82.8931 191.315 84.5285C181.639 86.3123 170.022 87.615 158.168 88.5436C134.462 90.4007 109.978 90.7491 98.5428 90.5005L92.4699 90.3685L97.2764 94.0826C99.774 96.0125 103.099 97.3557 106.615 98.3003C110.156 99.2517 114.034 99.8354 117.746 100.167C121.57 100.509 125.299 100.589 128.387 100.51C117.8 108.672 104.325 114.948 91.0384 119.6C75.6922 124.973 60.7685 128.12 51.2093 129.521L49.0601 129.836L49.551 131.952C52.8984 146.381 59.0518 171.603 63.179 188.519C65.01 196.025 66.4422 201.895 67.0537 204.463C68.1379 209.017 71.5518 215.508 75.4484 221.491C79.0412 227.008 83.2329 232.38 86.7703 235.687L78.9322 267.5H49.3714C57.7091 254.787 59.469 240.097 57.7689 224.517C55.9286 207.653 50.0074 189.513 43.7659 171.35C43.1514 169.562 42.5339 167.774 41.9165 165.986C36.2326 149.527 30.5644 133.113 27.4936 117.382C24.0922 99.9582 23.9407 83.6514 30.3264 69.3137C40.6653 46.0999 58.9929 32.6198 77.3255 25.1911C95.701 17.745 113.945 16.4399 123.788 17.4887Z",fill:t||"#171921",stroke:"#171921",strokeWidth:"4"}))}function U(e){var t=e.color,r=e.colorRandom;return W.default.createElement("svg",{style:{position:"absolute",bottom:"40.2%",width:"93.5%",height:"64%"},width:"240",height:"200",viewBox:"0 0 240 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M210.177 51.3965C201.855 91.2936 103.499 96.8962 83.6772 96.8962C31.6548 102.823 56.6248 165.262 66.1772 196.396C58.6772 197.396 59.6772 206.396 30.6772 134.896C7.47724 77.6964 73.1831 42.8337 121.999 30.9995C170.815 19.1653 189.499 2.50195 189.499 2.50195C210.177 11 215.116 27.7185 210.177 51.3965Z",fill:r&&t||"black",stroke:r&&t||"black"}),W.default.createElement("path",{d:"M205.134 124.947L189.316 71.5069L199.354 62.3644C210.109 99.4523 210.601 120.988 205.134 124.947Z",fill:r&&t||"black",stroke:r&&t||"black"}),W.default.createElement("path",{d:"M80 170C74.4 142.8 60.3333 147.667 51 149L41 105L81.5844 96.5056C82.3363 96.2656 83.1408 96.0955 84 96L81.5844 96.5056C63.4332 102.299 75.9565 148.796 91 168L80 170Z",fill:r&&t||"black",stroke:r&&t||"black",strokeWidth:"3"}),W.default.createElement("path",{d:"M24.9887 67.3632C33.8341 62.9091 44.2805 65.4873 48.3981 67.3331L36.6273 82.2134C39.6625 77.3568 30.1329 70.2897 24.9887 67.3632Z",fill:r&&t||"black"}),W.default.createElement("path",{d:"M10 84.4996C21.6 77.6996 32.8333 79.9996 37 81.9996L32.5 97.5C31.3 89.1 17 85.3331 10 84.4996Z",fill:r&&t||"black"}))}var q=(w={},S.d(w,{default:()=>x()}),w);function G(e){var t=e.color,r=e.colorRandom,n=r&&t||"#171921",a=r&&(0,q.default)(t).brighten(2)||"#717376";return W.default.createElement("svg",{style:{position:"absolute",bottom:"40.8%",width:"97.6%",height:"63.5%",left:"-1.8%"},width:"240",height:"203",viewBox:"0 0 240 203",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{opacity:"0.35",d:"M187.986 80.1756C179.986 73.7756 166.153 73.1758 160.486 73.6758L152.486 47.1758C166.086 50.3758 184.486 71.1758 187.986 80.1756Z",fill:a,stroke:a,strokeWidth:"1"}),W.default.createElement("path",{d:"M85.7923 14.7636C85.7923 14.7636 91.5301 10.802 115.746 4.70097C139.963 -1.40007 148.792 0.983287 148.792 0.983287L160.581 73.815C160.581 73.815 152.542 73.6416 132.548 78.0085C112.555 82.3754 102.986 87.6748 102.986 87.6748L85.7923 14.7636Z",fill:n}),W.default.createElement("path",{d:"M48.9855 89.6758C42.1855 48.0758 72.3188 21.5091 85.9855 14.1758L102.985 87.6758C83.7855 48.0758 57.6521 72.5091 48.9855 89.6758Z",fill:n}),W.default.createElement("path",{opacity:"0.35",d:"M67.4855 133.675C60.2855 106.475 89.4855 91.8415 102.985 87.6749C95.9855 71.3415 79.9854 56.6749 60.4854 74.6756C42.4854 105.175 49.4855 128.676 54.9855 146.675L67.4855 133.675Z",fill:a,stroke:a,strokeWidth:"1"}))}function K(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",bottom:"-2.2%",width:"97%",height:"100%"},width:"306",height:"331",viewBox:"0 0 306 331",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M209.76 327.932C209.271 327.902 208.865 327.872 208.544 327.847C202.393 318.458 196.789 302.969 192.447 287.059C188.226 271.589 185.261 255.968 184.147 245.649C221.22 234.931 244.458 196.667 238.871 157.189C238.864 157.117 238.856 157.067 238.856 157.066C238.848 157.006 238.837 156.938 238.825 156.867C238.802 156.724 238.768 156.532 238.726 156.3C238.641 155.832 238.516 155.172 238.353 154.346C238.028 152.693 237.552 150.358 236.942 147.532C235.722 141.88 233.967 134.249 231.825 126.155C229.685 118.065 227.152 109.485 224.372 101.945C221.613 94.4597 218.541 87.8015 215.264 83.7056L214.967 83.3351L214.532 83.1463C212.6 82.3081 210.593 81.3741 208.499 80.3991C198.568 75.775 186.659 70.2299 171.235 69.6199C152.46 68.8774 128.684 75.3957 96.5441 98.7056L94.5214 100.173L96.467 101.74C112.393 114.574 115.836 131.598 115.1 146.048C114.539 157.077 111.551 166.459 109.865 171.149C108.704 169.452 107.964 167.319 107.408 164.814C107.023 163.083 106.743 161.258 106.449 159.347L106.403 159.045C106.096 157.051 105.769 154.97 105.292 152.961C104.341 148.95 102.732 144.941 99.1602 142.102C95.5807 139.257 90.3641 137.848 82.7671 138.272L80.5398 138.396L81.0046 140.578L92.3634 193.891L92.3824 193.98L92.41 194.068C96.4679 206.93 103.426 218.078 112.323 226.88C112.399 227.007 112.509 227.193 112.65 227.434C112.939 227.928 113.356 228.653 113.861 229.563C114.87 231.384 116.229 233.941 117.621 236.886C120.435 242.835 123.282 250.138 123.83 256.102C124.386 262.154 122.865 269.962 121.123 276.412C120.26 279.605 119.361 282.406 118.677 284.407C118.535 284.824 118.402 285.206 118.281 285.549C113.249 283.144 108.754 283.323 104.902 285.565C100.738 287.989 97.6892 292.625 95.4191 297.781C91.2706 307.202 89.2756 319.42 88.3551 327.002C63.4846 321.298 44.281 315.507 31.2149 311.107C24.5012 308.846 19.408 306.953 15.9993 305.627C14.2949 304.964 13.0117 304.443 12.1575 304.089C11.9454 304.002 11.7598 303.924 11.6007 303.857C11.4477 303.466 11.2377 302.916 10.9828 302.219C10.4158 300.667 9.62676 298.384 8.74853 295.479C6.99149 289.667 4.88057 281.38 3.4734 271.502C0.656265 251.725 0.676883 225.696 11.8698 200.384C13.679 196.292 15.94 192.089 18.3903 187.533C27.8582 169.931 40.1551 147.07 40.1551 105.084C40.1551 74.4931 55.0029 48.7305 76.8623 30.5692C98.7415 12.3915 127.56 1.9109 155.237 1.91092C170.368 1.91093 182.533 3.64443 192.311 9.55105C202.028 15.4212 209.679 25.5978 215.362 43.1322C215.94 44.9168 217.851 46.0074 219.719 45.4015C231.034 41.7304 248.191 45.4361 262.673 54.8904C277.091 64.3032 288.289 79.0455 288.289 96.8141C288.289 112.24 285.647 122.664 283.071 132.815L283.071 132.815C279.952 145.104 276.94 156.974 279.065 176.313C279.774 182.762 281.216 187.336 283.231 191.128C285.213 194.859 287.712 197.747 290.345 200.792L290.405 200.861C296.679 208.113 299.534 214.079 300.455 219.327C301.375 224.562 300.412 229.31 298.623 234.237C297.723 236.712 296.629 239.197 295.47 241.815L295.37 242.04C294.249 244.573 293.074 247.225 292.019 250.016C289.836 255.787 288.133 262.223 288.302 269.851C288.446 276.326 289.594 280.764 291.311 284.122C293.008 287.442 295.199 289.565 297.111 291.417L297.162 291.466C298.905 293.155 300.355 294.577 301.428 296.57C302.387 298.351 303.098 300.702 303.217 304.232C279.208 318.511 255.445 324.413 237.601 326.734C228.565 327.91 221.057 328.166 215.818 328.129C213.199 328.11 211.149 328.019 209.76 327.932Z",fill:t||"black",stroke:"black",strokeWidth:"3.82184"}))}function Y(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",bottom:"25%",width:"92%",height:"75%",left:"-0.8%"},width:"261",height:"240",viewBox:"0 0 261 240",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M121.837 79.8195C121.051 78.0776 121.051 78.0779 121.05 78.0783L121.047 78.0794L121.04 78.0828L121.015 78.0942C120.994 78.1038 120.964 78.1177 120.925 78.1357C120.89 78.1518 120.848 78.1714 120.799 78.1943C120.74 78.2223 120.67 78.2553 120.591 78.2932C120.301 78.4313 119.882 78.6353 119.352 78.9045C118.291 79.4426 116.782 80.2418 114.972 81.2948C111.356 83.3984 106.515 86.527 101.628 90.626C91.9116 98.7764 81.7052 111.03 81.0904 126.926C80.8259 133.765 79.9706 166.806 80.1619 179.433C80.323 190.065 85.8253 201.481 93.4581 212.008C100.109 221.18 108.508 229.857 116.832 237.008C79.0664 238.501 50.4555 233.546 31.1209 228.121C21.038 225.292 13.4742 222.334 8.44733 220.094C6.46024 219.208 4.86951 218.434 3.67627 217.825C12.7707 211.141 20.3578 199.682 25.3638 182.675C30.8537 164.024 33.288 138.554 31.1521 104.963C29.2166 74.5247 44.0087 48.8092 66.3601 30.629C88.7347 12.4301 118.55 1.9109 146.238 1.91092C161.221 1.91093 173.377 4.84484 183.177 11.9616C192.98 19.081 200.668 30.5619 206.363 48.1322L206.758 49.3516L208.036 49.4485C220.412 50.3865 229.115 55.4881 235.532 63.6621C242.017 71.924 246.24 83.4216 249.336 97.232C251.376 106.332 249.389 115.311 247.001 125.651L246.89 126.133C244.553 136.25 241.952 147.505 243.096 160.666C244.126 172.51 248.853 184.135 252.782 193.074C253.287 194.222 253.776 195.321 254.242 196.368C255.617 199.455 256.793 202.096 257.586 204.253C258.118 205.698 258.425 206.79 258.523 207.566C258.573 207.963 258.555 208.168 258.542 208.254C258.097 208.665 257.273 209.12 255.957 209.522C254.588 209.94 252.864 210.248 250.882 210.442C246.921 210.828 242.138 210.738 237.544 210.296C232.942 209.853 228.638 209.067 225.623 208.108C224.092 207.622 223.033 207.134 222.436 206.711C222.345 206.646 222.275 206.591 222.222 206.546C222.594 205.259 223.132 203.723 223.753 201.949C226.947 192.824 232.348 177.398 228.855 157.08C226.766 144.924 221.189 123.457 216.162 105.11C213.643 95.9192 211.255 87.4828 209.496 81.3444C208.616 78.275 207.894 75.7798 207.391 74.0515C207.14 73.1874 206.944 72.515 206.81 72.0584L206.658 71.5384L206.619 71.4055L206.609 71.3717L206.607 71.3632L206.606 71.361C206.606 71.3605 206.606 71.3602 204.772 71.8993L206.606 71.3602L205.677 68.2011L203.395 70.5745L203.395 70.5751L203.391 70.579L203.372 70.5991C203.353 70.6178 203.325 70.6471 203.286 70.6867C203.208 70.7659 203.088 70.8861 202.928 71.0445C202.607 71.3612 202.123 71.8304 201.482 72.4293C200.199 73.6271 198.286 75.343 195.784 77.3943C190.779 81.4982 183.428 86.9376 174.067 92.2568C156.25 102.382 131.216 112.037 101.246 111.29C110.86 102.359 116.392 95.0181 119.562 89.7007C121.329 86.736 122.36 84.4028 122.955 82.7777C123.252 81.9654 123.44 81.3309 123.555 80.8839C123.613 80.6605 123.653 80.484 123.68 80.3558C123.693 80.2917 123.703 80.2397 123.711 80.1998C123.714 80.1799 123.717 80.1631 123.72 80.1493L123.723 80.1309L123.724 80.1235L123.724 80.1202C123.725 80.1187 123.725 80.1172 121.837 79.8195ZM121.837 79.8195L121.051 78.0776L124.276 76.6229L123.725 80.1172L121.837 79.8195ZM222.068 206.388C222.071 206.388 222.082 206.402 222.097 206.428C222.073 206.401 222.066 206.388 222.068 206.388Z",fill:t||"black",stroke:"black",strokeWidth:"3.82184"}))}function V(e){var t=e.style,r=e.color,n=e.colorRandom;switch(t){case"thick":return W.default.createElement(U,{color:r,colorRandom:n});case"mohawk":return W.default.createElement(G,{color:r,colorRandom:n});case"womanLong":return W.default.createElement(K,{color:r});case"womanShort":return W.default.createElement(Y,{color:r});default:return W.default.createElement($,{color:r})}}function H(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",bottom:"33%",left:"15.8%",width:"64%",height:"84%"},width:"240",height:"212",viewBox:"0 0 240 212",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M222.726 112.791C222.726 46.702 186.268 2.00007 141.859 2C84.9656 2 27 23.3414 27 124.255C27 149.223 37.6589 167.827 52.5644 181.54C51.0704 179.671 49.8666 177.996 49.0668 176.619C46.176 149.638 78.2326 128.929 109.601 108.665C126.254 97.907 142.712 87.2746 153.646 75.8956C163.24 81.3324 191.44 104.109 196.813 113.32C199.695 118.26 204.322 135.189 207.484 154.95C217.822 142.532 222.726 130.107 222.726 112.791Z",fill:t,stroke:"rgba(0,0,0,0.1)",strokeWidth:"4"}),W.default.createElement("path",{d:"M154.264 75.2457C167.438 63.3013 187.146 36.0399 185.881 18.334",stroke:"rgba(0,0,0,0.1)",strokeWidth:"4"}))}function X(e){var t=e.color;return W.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",bottom:"34%",width:"49%",height:"85%",left:"22%"},width:"640px",height:"508px",viewBox:"0 0 640 508",preserveAspectRatio:"xMidYMid meet"},W.default.createElement("defs",null),W.default.createElement("path",{fill:"#000000"===t?"dimgray":"#000000",d:"M71.5 502.6c-3.8-1.6-14.6-15.8-20.3-26.5C46 466.3 28 426.5 23.1 414c-6.4-16.4-13.6-42.5-14.7-53.3-.7-7.4-.6-7.8 7.4-17.6l4.5-5.6-.6-34c-.6-35-.1-45 3.3-68.5 3.3-22.8 4.9-36 6-48.5.6-6.6 2-17.8 3.1-25 3.6-24.8 7.3-35.2 16.9-47.5 2.8-3.6 9.9-13.2 15.8-21.4C84.3 65.5 92.4 58.7 110 54.5c5.2-1.2 13.8-2.7 19-3.3 15.7-1.9 20.1-4.1 40-20.1 13.3-10.7 21.5-15 30.8-16.1 6.7-.9 21.1.2 26.7 2 3.3 1 19.4 3.9 26.5 4.7 5.4.6 18.5-2.4 32-7.1 17.9-6.4 20.2-7 31.5-7.4 16.4-.6 24.4 1.4 50 12.3 24.1 10.3 27.7 11.1 43 9.5 26.1-2.7 42.9 2.8 71 23.1 19.5 14 24.1 16.2 40 18.4 2.8.4 6.4 1.5 8.1 2.6 5.5 3.4 13.2 12.5 22.8 27.1 14.3 21.9 24.6 40.4 30 54 .9 2.4 3.2 5 6 7 5.1 3.5 7.8 8.4 18.6 33.8 7.9 18.5 11.4 31.3 19.6 72.8l6.8 33.7v20.1c.1 21.9-.2 23.4-5.4 23.4-1.5 0-4.1-.7-5.6-1.5-1.6-.8-3.7-1.5-4.6-1.5-1 0-4.1-.9-7-2-10.8-4-49.4-12.7-59.8-13.4-2-.2-4.5-.8-5.5-1.3-2.3-1.2-13.7-3.5-30-6-14-2.2-60.2-2.4-81.5-.5l-29 2.8c-45 4.2-84.8 13-119.3 26.6-27 10.6-76.5 37.3-98.3 53.1-39.8 28.8-71.9 57.9-93.6 85.2-6.6 8.3-12.7 15.6-13.6 16.3-2 1.5-3.9 1.5-7.7-.2zm11.1-29.3c12.5-15.7 36.4-39.4 58.2-57.5l3.2-2.6-3.7-7.9c-2-4.3-5.1-10.3-6.9-13.3-1.7-3-6.2-11.3-9.9-18.5-9.7-18.5-15-27.8-21.5-37.5-6.8-10.1-16.9-23-18.1-23-1.8 0-28.8 17.9-42.4 28.1-5 3.7-11.2 9.4-13.8 12.7l-4.7 6 2.1 8.4c5.3 21.5 11.6 39.7 19.1 55.1 2.6 5.4 4.8 10 4.8 10.4 0 1.1 9.4 21.8 13.8 30.2 3.9 7.6 10.9 19.1 11.7 19.1.1 0 3.8-4.4 8.1-9.7zm89.5-81.5c12.6-9 18.5-12.8 35.1-22.8 7.4-4.5 12.4-8.1 11.9-8.6s-4.6-8.3-9.3-17.4c-4.6-9.1-10.6-20-13.3-24.3-14.2-22.2-19.7-30.2-27-39.5l-7.9-10.1-17.6 9.1c-9.6 5-20.6 11-24.5 13.3-3.8 2.3-9.4 5.5-12.2 7.1-2.9 1.6-5.3 3.1-5.3 3.4s3.3 5 7.4 10.5c8.8 11.8 19.6 29.6 29.7 49l11.3 21.6 6.6 12.2c1.4 2.6 3 4.5 3.6 4.3s5.7-3.7 11.5-7.8zm88.4-50.4c9.6-4.5 22.1-9.6 31.3-12.6 6.8-2.3 9.2-3.5 9.2-4.8 0-9.8-10.5-41.9-19.5-59.5-10.1-19.9-21.8-37.5-24.9-37.5-1 0-11.9 4.2-18.1 7-1.1.5-4.9 2.1-8.5 3.6-3.6 1.4-8.1 3.3-10 4.1l-5.5 2.4c-7.1 3-24.9 11.1-29.6 13.4l-5.6 2.8 9.6 12.7c5.3 7 11.3 15.6 13.4 19.1l8.9 14.4c2.9 4.4 8.3 14.1 12.1 21.5l10 19.1 3 5.7 9.6-4.5 14.6-6.9zm357.2-26.1C617 300.9 606.4 246 600 224c-2.3-8.1-11-29.6-17.6-43.5-2.3-4.7-4.5-5.4-19.6-5.4-7.7-.1-9.8.2-9.8 1.3 0 .7 1.1 4.7 2.4 8.7 4.8 14.8 6.3 20.7 11.7 45.9 1.9 8.8 2.3 13.7 2.3 30 .1 19.6-.5 25-5 43.6-.7 3.3-1.4 6.5-1.4 7.1 0 1 3.6 1.9 18 4.8 8.5 1.7 34.2 8.3 34.9 9 1.9 1.9 2.3-.6 1.8-10.2zm-569.7-3c13.2-8.9 26.6-17 65-39.2 19.1-11.1 58.8-30.9 83.5-41.6l15-6.6c26.5-11.8 61.3-24.6 86-31.7l24.5-6.8c5.4-1.3 10.9-2.7 24.5-6.6 23.5-6.6 35.4-9.1 57.5-12.3 5.8-.8 13.1-1.9 16.2-2.5s12.3-1.7 20.5-2.6l23.8-2.5c5-.5 30-1.2 55.6-1.5l46.7-.7-5.2-10.1c-5.1-9.8-11.2-20.2-18.5-31.6-2-3-4-6.3-4.6-7.2-3.8-6.5-11.4-16.4-15.4-20.1-4.3-4.1-5.3-4.5-11.6-5.2-14.4-1.5-20.2-4.4-44.9-22.2-9.9-7.2-21.5-13.4-30.7-16.4-5.9-1.9-7.8-2-24.4-1.4-12.2.5-20.1.3-24.4-.5-6.3-1.1-19.4-6-33.6-12.5-14.7-6.7-29.9-10.2-38.8-9.1-2.9.4-13.2 3.4-23 6.7-26.9 9.1-38.5 9.7-69.2 3.4-22.5-4.6-25.3-3.7-48 15.1-16.3 13.5-24.5 16.8-48.3 19.9-18 2.3-23.6 4.9-33.7 15.7-3.3 3.5-7.8 9-10 12.3-2.2 3.2-6.7 9.4-10 13.8l-7 9.6c-.5.8-2.9 4-5.3 7-10.6 13.4-12.8 23.3-19.3 86.6-.5 5-1.3 11.3-1.9 14-.5 2.8-2.1 14.7-3.6 26.5-2.5 20.7-2.6 22.2-1.5 42l1.1 23.9c0 3.3 0 3.3 2.3 1.7l10.7-7.3zm290.5 3.9c15.8-3.3 35.1-6.6 44.8-7.7l5.9-.7-.6-3.1c-.3-1.8-.8-8.1-1.1-14.2-1.3-23.5-4.4-38-14.8-69.5-6.1-18.3-9.3-26-11.1-26-.6 0-4.3.9-8.1 2-3.9 1.2-13.5 3.8-21.5 6-23.2 6.1-25.7 6.9-40.7 11.6-9.8 3.2-14.1 5-13.5 5.8l5.3 8.1c15.9 24.5 27.6 52.2 32.9 78 2.9 13.9 2.8 13.8 5.3 13.2 1.2-.2 9-1.8 17.2-3.5zm207.2-12.7c2.2-8.6 5-23.6 6.3-32.9 1.6-11.5.5-20.2-6-49.6-1.8-8.4-2.7-11.6-8.9-31.9-5-16.1-1.7-14.5-27.5-13.7l-28.9 1.3-6.7.6.6 3.6c.4 2 2.9 10.6 5.6 19.1 7.5 23.3 11.6 39.1 15.6 60.6 1.4 7.3 1.6 33.6.3 38.2-1.2 4-2.1 3.7 13.6 5.1 12 1.1 30.4 3.9 31.3 4.7 1.5 1.6 3.6-.7 4.7-5.1zm-106.2 0l30.5-1.8 6.5-.2 1.3-5c1.7-6.6 1-31.7-1.1-40-.9-3.3-2.6-10-3.8-15-2.1-8.9-5.4-19.9-10.9-36.5-1.6-4.7-3.6-12.3-4.6-16.9-1.1-5-2.4-8.5-3.2-8.9-1.5-.5-23.1 1.9-34.2 3.9l-20.9 3.4c-8.5 1.4-15.9 2.9-16.3 3.3-.5.5.2 3.7 1.6 7.3 4.3 11.5 8.4 24.2 11.6 35.9l4 14c1.8 5 5 31.3 5 41.3 0 5.6.3 11.9.6 14l.7 3.7 4.6-.5c2.5-.3 15.4-1.2 28.6-2z"}),W.default.createElement("path",{fill:t,d:"M70.4 484.7c-4.3-5.9-9.8-15.6-14-24.5C51.6 450 46 437.3 46 436.6c0-.3-2.2-4.9-4.8-10.3-7.5-15.4-13.8-33.6-19.1-55.2-3-12.1-2.8-13.3 2.6-20.3 5-6.3 15.4-14.5 34.8-27.5 17.9-11.9 24.3-15.6 25.8-15 1.9.7 12.6 14.2 19.6 24.6 6.6 9.8 11.9 19 21.6 37.6 3.7 7.2 8.2 15.5 9.9 18.5s5.3 9.9 8 15.3c4.1 8.3 4.7 10 3.5 11.1-.8.7-6.1 5.2-11.9 10.1-16.9 14.4-38.4 36-49.7 50-5.8 7.2-11 13.1-11.7 13.2-.6.2-2.5-1.6-4.2-4zm84.1-85c-1.6-3.4-4.8-9.6-7.1-13.7l-11.9-22.5c-13.1-25.1-24.8-43.6-36.2-57.2l-4.4-5.2 7.3-4.2 14.3-8.5c3.9-2.3 15.9-8.7 26.7-14.3l19.6-10.2 9.2 11.7c8.4 10.6 12.3 16.4 27.5 40.1 2.7 4.3 7.8 13.4 11.3 20.3l10.3 19.7c2.9 5.3 3.5 7.3 2.6 8-.7.6-6.4 4-12.7 7.8-13.9 8.2-32.7 20.6-43.3 28.6-4.3 3.3-8.4 5.9-9 5.8-.7 0-2.5-2.8-4.2-6.2zm78-45.7c-1.4-2.2-5.3-9.5-8.6-16.2-12-23.8-26.9-47.7-41.8-66.8-4.4-5.7-8.1-10.9-8.1-11.5 0-1 19.5-10.9 29.9-15.2 2-.8 5.1-2.1 6.9-2.9 1.7-.8 4.7-2 6.5-2.8 1.7-.8 6.1-2.6 9.7-4l8.5-3.6c1.1-.5 6.7-2.8 12.4-5.1l10.4-4.3 4 4.5c11.2 12.5 27 42.1 34.1 63.9 5.6 17.4 9.7 36.7 8.1 38-.5.5-5.1 2.2-10 3.8-9 3-21.6 8.1-31 12.6l-16.8 8-11.7 5.5-2.5-3.9zm382.7-24.6c-4.1-1.8-26.8-7.8-37.2-9.9-19-3.8-19-3.8-19-5.8 0-1 .9-5.5 1.9-10 4.8-20.1 5.6-25.9 5.5-42.7-.1-17.1-.5-20.1-6.8-47-2.3-10.1-3.8-15.1-8.6-30.5-1.2-3.8-2.4-8.1-2.7-9.3l-.6-2.4 16.9.3c9.3.1 17.5.7 18.2 1.2 1.3 1 2 2.5 11.4 24.2 8.9 20.6 11.1 28.7 20.4 75.5 4.9 24.5 5.7 30.6 6.2 43.3.5 16.2.6 15.8-5.6 13.1zM31.9 319.3l-.4-9.5c-.2-.9-.6-10.4-1-21-.6-18-.5-20.9 2.4-43.5l3.6-25.5c.2-.7.9-5.8 1.4-11.3 4.3-43 6.7-59.2 10.3-70 2.7-8 3.9-10.2 9-16.6 2.4-3 4.8-6.2 5.3-7 .6-.9 3.7-5.2 7-9.6s7.8-10.6 10-13.8c2.2-3.3 6.7-8.8 10-12.3 10.1-10.8 15.7-13.4 33.7-15.7 23.8-3.1 32-6.4 48.3-19.9 6.1-5.1 12.8-10.4 15-11.8 9.8-6.6 19-7.4 38.6-3.4 29.5 6 37.4 5.6 64.1-3.5 13.7-4.6 20-6.2 25.8-6.6 12.2-.9 26.1 2.2 41.5 9.2 13.7 6.3 27.2 11.3 32.9 12.4 3.6.7 12.5.8 24 .4 15.9-.5 19-.4 24.2 1.2 8.9 2.7 22.3 9.7 32 16.7 24.7 17.9 30.5 20.8 44.9 22.3 6.3.7 7.3 1.1 11.6 5.2 4 3.7 11.6 13.6 15.4 20.1.6.9 2.6 4.2 4.6 7.2 12 18.5 23.6 40.2 24.1 45l.3 2.5-46.5.7-56 1.7-24.3 2.5c-8.2.9-17.4 2-20.5 2.6s-10.4 1.7-16.2 2.5c-22.1 3.2-34 5.7-57.5 12.3-13.6 3.9-19.1 5.3-24.5 6.6-5.3 1.3-9.1 2.3-24.5 6.8-24.7 7.1-59.5 19.9-86 31.7l-15 6.6c-21.4 9.3-49.2 22.9-74 36.3-8.5 4.6-42 24-50 28.9-12 7.5-28.8 18.4-34.6 22.6-3.7 2.6-7.2 4.7-7.8 4.7-.7 0-1.1-2.7-1.2-7.7zm284.6 4.6c-.3-.4-1.7-6.1-3-12.6-5.3-25.2-15.7-51.1-29.9-74.3-3.2-5.2-7.3-11.4-9.2-13.7s-3.4-4.6-3.4-5.1c0-.6 7.1-3.3 15.8-6.1 16.4-5.2 18.6-5.9 42.2-12.2l23.5-6.4c4.9-1.4 9.9-2.5 11-2.5 2.6 0 5 5.4 12.2 27 10.8 32.6 12.9 42.8 15.3 75 1.5 19.6 1.9 17.7-4.7 18.5-14.5 1.7-48.5 7.9-62.1 11.4-3.9 1.1-7.4 1.5-7.7 1zM541 312c-13.2-2.8-36.4-6-43.5-6-6.2 0-6.6-.6-5-7.5s2-27.1.5-34.2c-3.1-15.6-7.4-34.4-8.7-38.3-.8-2.5-1.6-5.2-1.8-6s-2.6-8.5-5.3-17c-5-15.7-7.9-27.6-7-28.5.7-.7 38.4-2.5 53-2.5 13.7 0 12.2-1.3 16.9 14.1 6.2 20.3 7.1 23.5 8.9 31.9 6.9 31.2 8.1 42.1 6 55.9-2.4 15.7-6 33.3-7.7 37.6-.6 1.6-1 1.7-6.3.5zm-137-3c-1-.6-1.5-5.2-2.1-18.2-.7-16.6-3-35.6-4.9-40.8l-4-14c-3.5-12.7-8.7-28.6-13.1-39.8-1.6-4-2.9-7.7-2.9-8.1 0-.5 3-1.6 6.8-2.5 10.4-2.3 54.8-8.8 67.9-9.9l6.3-.5.9 3.6 2.1 9.2c.7 3 2.5 9.3 4 14 5.8 17.6 8.8 27.8 10.9 36.5l3.8 15c2.1 8.2 2.9 39.1 1.1 46l-1.3 5-7.5.3c-12 .4-65.1 4.1-65.9 4.6-.4.3-1.3.1-2.1-.4z"}))}function Q(e){var t=e.style,r=e.color;switch(t){case"beanie":return W.default.createElement(X,{color:r});case"turban":return W.default.createElement(H,{color:r});default:return null}}function J(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",width:"16%",height:"15%",top:"13%",left:"19.8%"},width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M30.5 6.17556C28.17 5.40834 25.6547 5 23.08 5C12.5866 5 4.08007 11.5 5.08001 23.5C6.12162 36 13.5866 40.5 24.08 40.5C25.2476 40.5 26.3906 40.3975 27.5 40.2011C28.7105 39.9869 29.8811 39.6609 31 39.2347",stroke:"#171921",strokeWidth:"9"}),W.default.createElement("path",{d:"M31.5 39.0361C29.2204 39.9786 26.7127 40.5 24.08 40.5C13.5866 40.5 6.12162 36 5.08001 23.5C4.08007 11.5 12.5866 5 23.08 5C26.2175 5 29.2667 5.60635 32 6.72957L31.5 39.0361Z",fill:t}),W.default.createElement("path",{d:"M27.5 13.5004C23.5 11.6671 14.7 10.7004 11.5 21.5004",stroke:"#171921",strokeWidth:"4"}),W.default.createElement("path",{d:"M17 14C19.1667 15.8333 23.3 21.5 22.5 29.5",stroke:"#171921",strokeWidth:"4"}))}function ee(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",width:"16%",height:"15%",top:"13%",left:"19%"},width:"48",height:"52",viewBox:"0 0 48 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M36.466 43.1111L37 42.5357V41.7506V8.24948V7.13022L36.046 6.54483C32.3122 4.25363 27.7717 3 23.08 3C17.4397 3 12.1591 4.74745 8.39775 8.29504C4.59419 11.8824 2.54206 17.1274 3.08692 23.6661C3.61786 30.0378 5.75693 34.7272 9.30474 37.8433C9.01338 38.8425 8.92733 39.9197 9.06236 41.0533C9.45166 44.3216 11.1039 46.6766 13.6572 48.1277C16.0911 49.511 19.2061 49.9998 22.5242 49.9998C28.0033 49.9998 32.8077 47.0528 36.466 43.1111Z",stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.972 23.984C43.0434 23.3322 43.08 22.6703 43.08 22C43.08 11.7827 33.5734 5 23.08 5C12.5866 5 4.08007 11.5 5.08001 23.5C5.63643 30.1774 8.02584 34.5719 11.7307 37.2171C11.1423 38.2409 10.8848 39.4436 11.0483 40.8167C11.6774 46.0984 16.1862 47.9998 22.5242 47.9998C33.6292 47.9998 42.4159 33.9534 42.972 23.984Z",fill:t}),W.default.createElement("path",{d:"M27.5 13.5004C23.5 11.6671 14.7 10.7004 11.5 21.5004",stroke:"#171921",strokeWidth:"4"}),W.default.createElement("path",{d:"M17 14C19.1667 15.8333 23.3 21.5 22.5 29.5",stroke:"#171921",strokeWidth:"4"}))}function et(e){var t=e.color,r=e.size;return W.default.createElement(W.Fragment,null,"small"===r&&W.default.createElement(J,{color:t}),"big"===r&&W.default.createElement(ee,{color:t}))}function er(){return W.default.createElement("svg",{style:{position:"absolute",width:"80%",height:"13%",top:0},width:"149",height:"48",viewBox:"0 0 149 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M99 10.2143C104.667 7.5476 118 5.11427 126 16.7143",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M23.5791 35.521C25.6497 29.6104 33.2612 18.3959 47.1418 20.8224",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}))}function en(){return W.default.createElement("svg",{style:{position:"absolute",width:"80%",height:"13%",top:0},width:"149",height:"51",viewBox:"0 0 149 51",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M99 13.2143C104.667 10.5476 118 8.11427 126 19.7143",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M23.5791 38.521C25.6497 32.6104 33.2612 21.3959 47.1418 23.8224",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M26.0742 32.4578L19.9258 27.0312",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M122.961 14.157L129.109 8.73047",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M32.5233 26.8142L28.4766 19.6816",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M115.512 10.5135L119.559 3.38086",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M40.5994 23.2005L38.3984 15.3008",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M106.436 9.89973L108.637 2",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}))}function ea(e){return"upWoman"===e.style?W.default.createElement(en,null):W.default.createElement(er,null)}function eo(){return W.default.createElement("svg",{style:{width:"100%",height:"12%",position:"absolute",top:"7%"},width:"96",height:"48",viewBox:"0 0 96 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("ellipse",{cx:"16.1171",cy:"28.9268",rx:"9",ry:"10",transform:"rotate(-6.77646 16.1171 28.9268)",fill:"black"}),W.default.createElement("ellipse",{cx:"80.1486",cy:"18.9231",rx:"9",ry:"10",transform:"rotate(-6.27568 80.1486 18.9231)",fill:"black"}))}function el(){return W.default.createElement("svg",{style:{width:"100%",height:"12%",position:"absolute",top:"6%"},width:"96",height:"48",viewBox:"0 0 96 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("ellipse",{cx:"16.5301",cy:"29.4023",rx:"9",ry:"13.5",transform:"rotate(-6.77646 16.5301 29.4023)",fill:"black"}),W.default.createElement("ellipse",{cx:"80.5312",cy:"19.4021",rx:"9",ry:"13.5",transform:"rotate(-6.27568 80.5312 19.4021)",fill:"black"}))}function ei(){return W.default.createElement("svg",{style:{width:"100%",height:"14%",position:"absolute",top:"6%"},width:"96",height:"48",viewBox:"0 0 96 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.28675 34.0729C5.40099 34.8857 6.43424 35.0669 7.00876 34.4806C9.47388 31.9648 13.2637 30.1163 17.663 29.5936C20.2577 29.2853 22.7544 29.4749 24.9787 30.0657C25.7326 30.2659 26.4737 29.6294 26.2105 28.8951C24.5451 24.2497 19.8447 21.1962 14.7356 21.8033C8.79442 22.5093 4.55046 27.8978 5.25642 33.839C5.26572 33.9172 5.27583 33.9952 5.28675 34.0729Z",fill:"#171921"}),W.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M69.3848 24.0725C69.4976 24.8856 70.5308 25.0671 71.1062 24.4816C73.5487 21.9959 77.2977 20.1702 81.6484 19.6532C84.2128 19.3485 86.6804 19.5348 88.88 20.1167C89.6341 20.3162 90.3751 19.6795 90.1108 18.9456C88.456 14.3522 83.8041 11.3346 78.7482 11.9354C72.8624 12.6348 68.6579 17.9732 69.3573 23.8591C69.3658 23.9305 69.3749 24.0016 69.3848 24.0725Z",fill:"#171921"}))}function eu(e){switch(e.style){case"circle":return W.default.createElement(eo,null);case"smile":return W.default.createElement(ei,null);default:return W.default.createElement(el,null)}}function ec(){return W.default.createElement("svg",{style:{width:"100%",height:"20%",position:"absolute",top:"1.5%",left:"-3%"},width:"152",height:"65",viewBox:"0 0 152 65",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("circle",{cx:"123.5",cy:"28",r:"26",stroke:"black",strokeWidth:"4"}),W.default.createElement("circle",{cx:"56.5",cy:"37",r:"26",stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M98.5 35C98.5 32.8783 97.6571 30.8434 96.1569 29.3431C94.6566 27.8429 92.6217 27 90.5 27C88.3783 27 86.3434 27.8429 84.8431 29.3431C83.3429 30.8434 82.5 32.8783 82.5 35",stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M31 39L1 44.5",stroke:"black",strokeWidth:"4"}))}function ef(){return W.default.createElement("svg",{style:{width:"100%",height:"22%",position:"absolute",top:"0.5%",left:"-3%"},width:"160",height:"74",viewBox:"0 0 160 74",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M36.5 42.5L2 49.125",stroke:"black",strokeWidth:"4",strokeLinecap:"round"}),W.default.createElement("path",{d:"M32.4878 25.9393C31.618 22.4804 33.9396 19.0308 37.4716 18.5345L76.1882 13.0932C79.4696 12.632 82.5036 14.9183 82.9648 18.1998L88.5317 57.8105C88.9929 61.0919 86.7066 64.126 83.4252 64.5871L48.9526 69.4319C45.9161 69.8587 43.0465 67.9273 42.2987 64.9536L32.4878 25.9393Z",stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M154.751 8.96388C154.634 5.39915 151.451 2.7232 147.919 3.21958L109.203 8.66085C105.921 9.12202 103.635 12.156 104.096 15.4375L109.663 55.0482C110.124 58.3297 113.158 60.616 116.44 60.1548L150.912 55.31C153.949 54.8832 156.175 52.2357 156.074 49.1711L154.751 8.96388Z",stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M85.5 37.125L107.5 33.625",stroke:"black",strokeWidth:"4"}))}function es(e){switch(e.style){case"round":return W.default.createElement(ec,null);case"square":return W.default.createElement(ef,null);default:return null}}function ed(){return W.default.createElement("svg",{style:{width:"10%",height:"10%",position:"absolute",top:"15%",left:"46%"},width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M16.5 3C16.5 17 23.5 28 23.5 28C23.5 28 20 34 10 32",stroke:"#171921",strokeWidth:"4"}))}function eh(){return W.default.createElement("svg",{style:{width:"10%",height:"10%",position:"absolute",top:"15%",left:"46%"},width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M16.5 7C16.1667 10.8333 16.5 19.2 20.5 22C25.5 25.5 20 34 10 32",stroke:"#171921",strokeWidth:"4"}))}function ep(){return W.default.createElement("svg",{style:{width:"10%",height:"10%",position:"absolute",top:"15%",left:"46%"},width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M12.307 12.3397C17.753 11.0993 26.6843 12.9603 24.7238 22.8833C22.9813 31.7023 13.6141 32.1857 11 29.7048",stroke:"black",strokeWidth:"4"}))}function eg(e){switch(e.style){case"long":return W.default.createElement(ed,null);case"round":return W.default.createElement(ep,null);default:return W.default.createElement(eh,null)}}function eb(){var e="mouth-laugh-id";return W.default.createElement("svg",{style:{width:"50%",height:"19%",position:"absolute",top:"23%",right:"23%"},width:"73",height:"64",viewBox:"0 0 73 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M69.9204 13.3305C69.7501 11.263 67.6363 10.1117 65.8448 10.8176C61.6161 12.4839 47.6267 17.7834 37.7627 19.1403C26.9401 20.6291 10.5503 18.821 5.80622 18.2319C3.87694 17.9923 2.15721 19.6504 2.49021 21.6654C3.14178 25.6081 4.48399 29.4088 6.45857 32.8914C8.6608 36.7754 11.6065 40.1877 15.1274 42.9333C18.6484 45.679 22.6757 47.7042 26.9793 48.8935C31.283 50.0827 35.7787 50.4126 40.2099 49.8644C44.6411 49.3162 48.9208 47.9005 52.8049 45.6983C56.689 43.4961 60.1012 40.5504 62.8469 37.0294C65.5925 33.5085 67.6178 29.4812 68.807 25.1775C69.8726 21.3212 70.2483 17.3106 69.9204 13.3305Z",fill:"#171921",stroke:"#171921",strokeWidth:"4"}),W.default.createElement("mask",{id:e,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"12",width:"65",height:"37"},W.default.createElement("path",{d:"M67.7931 12.1925C68.3091 16.363 67.9985 20.5943 66.8793 24.6448C65.76 28.6953 63.8539 32.4857 61.2697 35.7996C58.6856 39.1134 55.474 41.8858 51.8185 43.9585C48.1629 46.0312 44.1348 47.3636 39.9643 47.8795C35.7938 48.3955 31.5625 48.085 27.512 46.9657C23.4615 45.8464 19.6712 43.9403 16.3573 41.3562C13.0435 38.772 10.2711 35.5605 8.19838 31.9049C6.12569 28.2493 4.79332 24.2213 4.27734 20.0508L67.7931 12.1925Z",fill:"#171921"})),W.default.createElement("g",{mask:"url(#".concat(e,")")},W.default.createElement("circle",{cx:"40.5221",cy:"52.3146",r:"21.5",transform:"rotate(-7.05286 40.5221 52.3146)",fill:"#FC909F"})))}function em(){return W.default.createElement("svg",{style:{width:"50%",height:"17%",position:"absolute",top:"23%",right:"23%"},width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M10.0007 24.1649C14.941 30.6115 22.4277 37.7537 33.9767 36.125C45.5257 34.4963 50.6642 26.5297 49.1492 20.0779",stroke:"black",strokeWidth:"4"}))}function ev(){return W.default.createElement("svg",{style:{width:"50%",height:"19%",position:"absolute",top:"23%",right:"23%"},width:"67",height:"64",viewBox:"0 0 67 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M2.5 17.5C5 34.5 33.5 42.5 59.5 23",stroke:"black",strokeWidth:"4"}))}function ey(e){switch(e.style){case"laugh":return W.default.createElement(eb,null);case"smile":return W.default.createElement(em,null);default:return W.default.createElement(ev,null)}}function eC(e){var t=e.color,r=e.lightColor;return W.default.createElement("svg",{style:{position:"absolute",bottom:"-2%",width:"98%",height:"26%"},width:"281",height:"93",viewBox:"0 0 281 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M182.552 38.4488L182.692 38.4809L182.836 38.4927C228.961 42.2969 256.62 62.7848 276.694 90.9997H3.37453C19.6742 61.6579 42.8579 42.9816 80.4446 34.4117C96.4579 30.7606 115.113 28.9394 137 28.9395C146.456 28.9395 153.814 30.3819 160.796 32.2853C163.383 32.9904 165.983 33.7805 168.643 34.5887C173.045 35.9265 177.611 37.3141 182.552 38.4488Z",fill:t,stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M68.9305 36.5805L78.0837 16.9838C78.3023 16.5157 78.8456 16.293 79.3326 16.4654C117.259 29.8904 151.762 28.945 183.736 20.0444C184.139 19.9324 184.569 20.0806 184.815 20.4178L198.747 39.4703C199.13 39.994 198.935 40.7324 198.331 40.9696C164.724 54.166 101.663 51.9229 69.4152 37.9037C68.9036 37.6813 68.6945 37.0859 68.9305 36.5805Z",fill:r,stroke:"black",strokeWidth:"4"}))}function ew(e){var t=e.color;return W.default.createElement("svg",{style:{position:"absolute",bottom:"-2.5%",width:"100%",height:"26%"},width:"281",height:"93",viewBox:"0 0 281 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M276.366 90.8628H3.45626C3.49074 90.7926 3.52546 90.7219 3.5604 90.6507C8.10518 81.395 16.4899 64.319 27.4025 49.0413C33.5961 40.3702 40.5303 32.3872 47.9416 26.7719C55.3538 21.1558 63.0614 18.0405 70.8916 18.7256C85.946 20.0429 99.3549 28.2854 112.817 36.5604C114.092 37.3444 115.368 38.1288 116.646 38.9076C131.131 47.7349 146.005 55.9312 162.365 52.3445C167.899 51.1311 171.629 48.5345 173.976 45.1797C176.29 41.8727 177.122 38.0292 177.266 34.5166C177.41 30.9989 176.871 27.6738 176.311 25.2562C176.049 24.1257 175.779 23.1785 175.564 22.4839C179.189 18.8351 183.027 16.71 186.989 15.7533C191.284 14.7164 195.876 15.0158 200.707 16.4448C210.437 19.3229 220.847 26.6969 231.007 36.1789C249.621 53.5516 266.7 77.3231 276.366 90.8628Z",fill:t,stroke:"black",strokeWidth:"4.27431"}))}function ek(e){var t=e.color,r=e.lightColor;return W.default.createElement("svg",{style:{position:"absolute",bottom:"-2%",width:"98%",height:"26%",left:"-0.2%"},width:"281",height:"93",viewBox:"0 0 281 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W.default.createElement("path",{d:"M142.771 67.5777C142.771 67.5779 142.771 67.5779 144 66L142.771 67.5779L144.493 68.9188L145.679 67.0874L145.679 67.087L145.681 67.0841L145.69 67.0697L145.731 67.0072C145.742 66.9904 145.755 66.971 145.769 66.9491C145.803 66.8975 145.847 66.8318 145.9 66.7529C146.05 66.5278 146.275 66.1947 146.57 65.7695C147.158 64.919 148.023 63.7016 149.118 62.2463C151.312 59.3316 154.416 55.482 158.071 51.7183C161.737 47.9446 165.898 44.3176 170.198 41.7935C174.514 39.2597 178.777 37.9491 182.733 38.4825C225.171 44.2046 256.402 63.002 276.674 91.0006H3.37453C19.6742 61.6588 42.8579 42.9825 80.4446 34.4127C82.0464 34.0474 84.2242 34.1581 86.9471 34.7915C89.6421 35.4183 92.7146 36.5194 96.0282 37.9759C102.655 40.8887 110.052 45.1363 117.004 49.5364C123.945 53.9299 130.39 58.4425 135.104 61.8597C137.459 63.5674 139.379 64.9995 140.709 66.0036C141.374 66.5056 141.891 66.9005 142.241 67.1693C142.416 67.3037 142.55 67.4065 142.639 67.4754L142.739 67.553L142.764 67.5722L142.77 67.5767L142.771 67.5777Z",fill:t,stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M68.6127 37.0849L73.7794 17.8529C73.9886 17.0741 74.9962 16.854 75.5402 17.4493C90.4034 33.7135 109.16 33.0762 115.385 32.3297C116.23 32.2284 116.892 33.1531 116.495 33.906L103.338 58.859C103.136 59.2414 102.724 59.4518 102.3 59.3636C98.3518 58.5411 78.6774 53.7321 68.7286 37.8667C68.583 37.6345 68.5416 37.3496 68.6127 37.0849Z",fill:r,stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M199.195 36.9814L187.615 17.4989C187.222 16.8374 186.253 16.8483 185.834 17.4937C180.097 26.3296 170.202 30.4 166.742 31.6024C166.12 31.8187 165.835 32.5584 166.171 33.1254L179.673 55.9402C179.875 56.2806 180.255 56.4651 180.636 56.3568C182.771 55.749 190.096 52.6851 199.182 38.0212C199.378 37.706 199.385 37.3001 199.195 36.9814Z",fill:r,stroke:"black",strokeWidth:"4"}),W.default.createElement("path",{d:"M125.5 54.5L116.5 33L109.5 48L125.5 54.5Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}),W.default.createElement("path",{d:"M157 53.5L166 32L173 47L157 53.5Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}),W.default.createElement("path",{d:"M86.5 14L74.5 17L84.5 23.5L86.5 14Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}),W.default.createElement("path",{d:"M176 14L187 17L180 23.5L176 14Z",fill:"black",stroke:"black",strokeWidth:"4",strokeLinejoin:"round"}))}function eL(e){var t=e.style,r=e.color,n=(0,q.default)(r).brighten(1).hex();switch(t){case"hoody":return W.default.createElement(eC,{color:r,lightColor:n});case"polo":return W.default.createElement(ek,{color:r,lightColor:n});default:return W.default.createElement(ew,{color:r})}}function eE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var eM=function(e){(0,R.default)(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=(0,N.default)(n);if(t){var a=(0,N.default)(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return(0,j.default)(this,e)});function n(){return(0,_.default)(this,n),r.apply(this,arguments)}return(0,P.default)(n,[{key:"render",value:function(){var e,t=this.props,r=t.id,n=t.className,a=t.style,o=t.shape,l=t.hairColorRandom,i=D(this.props);switch(void 0===o?"circle":o){case"circle":e="100%";break;case"rounded":e="6px";break;case"square":e=0}return W.default.createElement("div",{id:r,className:n,style:function(e){for(var t=1;tr?r:e},t={},r=0,n=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r255)&&(t._clipped=!0),t[r]=e(t[r],0,255)):3===r&&(t[r]=e(t[r],0,1));return t},limit:e,type:o,unpack:function(e,t){return(void 0===t&&(t=null),e.length>=3)?Array.prototype.slice.call(e):"object"==o(e[0])&&t?t.split("").filter(function(t){return void 0!==e[0][t]}).map(function(t){return e[0][t]}):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==o(e[t])?e[t].toLowerCase():null},TWOPI:2*l,PITHIRD:l/3,DEG2RAD:l/180,RAD2DEG:180/l},u={format:{},autodetect:[]},c=i.last,f=i.clip_rgb,s=i.type,d=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("object"===s(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=c(e),n=!1;if(!r){n=!0,u.sorted||(u.autodetect=u.autodetect.sort(function(e,t){return t.p-e.p}),u.sorted=!0);for(var a=0,o=u.autodetect;a4?e[4]:1;return 1===o?[0,0,0,l]:[r>=1?0:255*(1-r)*(1-o),n>=1?0:255*(1-n)*(1-o),a>=1?0:255*(1-a)*(1-o),l]},u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===v(e=m(e,"cmyk"))&&4===e.length)return"cmyk"}});var C=i.unpack,w=i.last,k=function(e){return Math.round(100*e)/100},L=i.unpack,E=function(){for(var e,t,r=[],n=arguments.length;n--;)r[n]=arguments[n];var a=(r=L(r,"rgba"))[0],o=r[1],l=r[2],i=Math.min(a/=255,o/=255,l/=255),u=Math.max(a,o,l),c=(u+i)/2;return(u===i?(e=0,t=Number.NaN):e=c<.5?(u-i)/(u+i):(u-i)/(2-u-i),a==u?t=(o-l)/(u-i):o==u?t=2+(l-a)/(u-i):l==u&&(t=4+(a-o)/(u-i)),(t*=60)<0&&(t+=360),r.length>3&&void 0!==r[3])?[t,e,c,r[3]]:[t,e,c]},M=i.unpack,x=i.last,S=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=C(e,"hsla"),n=w(e)||"lsa";return r[0]=k(r[0]||0),r[1]=k(100*r[1])+"%",r[2]=k(100*r[2])+"%","hsla"===n||r.length>3&&r[3]<1?(r[3]=r.length>3?r[3]:1,n="hsla"):r.length=3,n+"("+r.join(",")+")"},O=Math.round,_=i.unpack,P=Math.round,R=function(){for(var e,t,r,n,a=[],o=arguments.length;o--;)a[o]=arguments[o];var l=(a=_(a,"hsl"))[0],i=a[1],u=a[2];if(0===i)t=r=n=255*u;else{var c=[0,0,0],f=[0,0,0],s=u<.5?u*(1+i):u+i-u*i,d=2*u-s,h=l/360;c[0]=h+1/3,c[1]=h,c[2]=h-1/3;for(var p=0;p<3;p++)c[p]<0&&(c[p]+=1),c[p]>1&&(c[p]-=1),6*c[p]<1?f[p]=d+(s-d)*6*c[p]:2*c[p]<1?f[p]=s:3*c[p]<2?f[p]=d+(s-d)*(2/3-c[p])*6:f[p]=d;t=(e=[P(255*f[0]),P(255*f[1]),P(255*f[2])])[0],r=e[1],n=e[2]}return a.length>3?[t,r,n,a[3]]:[t,r,n,1]},j=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,N=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Z=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,W=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,F=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,A=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,B=Math.round,T=function(e){if(e=e.toLowerCase().trim(),u.format.named)try{return u.format.named(e)}catch(e){}if(t=e.match(j)){for(var t,r=t.slice(1,4),n=0;n<3;n++)r[n]=+r[n];return r[3]=1,r}if(t=e.match(N)){for(var a=t.slice(1,5),o=0;o<4;o++)a[o]=+a[o];return a}if(t=e.match(Z)){for(var l=t.slice(1,4),i=0;i<3;i++)l[i]=B(2.55*l[i]);return l[3]=1,l}if(t=e.match(W)){for(var c=t.slice(1,5),f=0;f<3;f++)c[f]=B(2.55*c[f]);return c[3]=+c[3],c}if(t=e.match(F)){var s=t.slice(1,4);s[1]*=.01,s[2]*=.01;var d=R(s);return d[3]=1,d}if(t=e.match(A)){var h=t.slice(1,4);h[1]*=.01,h[2]*=.01;var p=R(h);return p[3]=+t[4],p}};T.test=function(e){return j.test(e)||N.test(e)||Z.test(e)||W.test(e)||F.test(e)||A.test(e)};var I=i.type,D=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=M(e,"rgba"),n=x(e)||"rgb";return"hsl"==n.substr(0,3)?S(E(r),n):(r[0]=O(r[0]),r[1]=O(r[1]),r[2]=O(r[2]),("rgba"===n||r.length>3&&r[3]<1)&&(r[3]=r.length>3?r[3]:1,n="rgba"),n+"("+r.slice(0,"rgb"===n?3:4).join(",")+")")};d.prototype.css=function(e){return D(this._rgb,e)},h.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["css"])))},u.format.css=T,u.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===I(e)&&T.test(e))return"css"}});var z=i.unpack;u.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=z(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r},h.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["gl"])))},d.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var $=i.unpack,U=i.unpack,q=Math.floor,G=i.unpack,K=i.type,Y=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=$(t,"rgb"),a=n[0],o=n[1],l=n[2],i=Math.min(a,o,l),u=Math.max(a,o,l),c=u-i;return 0===c?e=Number.NaN:(a===u&&(e=(o-l)/c),o===u&&(e=2+(l-a)/c),l===u&&(e=4+(a-o)/c),(e*=60)<0&&(e+=360)),[e,100*c/255,i/(255-c)*100]};d.prototype.hcg=function(){return Y(this._rgb)},h.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hcg"])))},u.format.hcg=function(){for(var e,t,r,n,a,o,l,i,u,c=[],f=arguments.length;f--;)c[f]=arguments[f];var s=(c=U(c,"hcg"))[0],d=c[1],h=c[2];h*=255;var p=255*d;if(0===d)l=i=u=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var g=q(s/=60),b=s-g,m=h*(1-d),v=m+p*(1-b),y=m+p*b,C=m+p;switch(g){case 0:l=(e=[C,y,m])[0],i=e[1],u=e[2];break;case 1:l=(t=[v,C,m])[0],i=t[1],u=t[2];break;case 2:l=(r=[m,C,y])[0],i=r[1],u=r[2];break;case 3:l=(n=[m,v,C])[0],i=n[1],u=n[2];break;case 4:l=(a=[y,m,C])[0],i=a[1],u=a[2];break;case 5:l=(o=[C,m,v])[0],i=o[1],u=o[2]}}return[l,i,u,c.length>3?c[3]:1]},u.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===K(e=G(e,"hcg"))&&3===e.length)return"hcg"}});var V=i.unpack,H=i.last,X=Math.round,Q=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=V(e,"rgba"),n=r[0],a=r[1],o=r[2],l=r[3],i=H(e)||"auto";void 0===l&&(l=1),"auto"===i&&(i=l<1?"rgba":"rgb");var u="000000"+((n=X(n))<<16|(a=X(a))<<8|(o=X(o))).toString(16);u=u.substr(u.length-6);var c="0"+X(255*l).toString(16);switch(c=c.substr(c.length-2),i.toLowerCase()){case"rgba":return"#"+u+c;case"argb":return"#"+c+u;default:return"#"+u}},J=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ee=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,et=function(e){if(e.match(J)){(4===e.length||7===e.length)&&(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ee)){(5===e.length||9===e.length)&&(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var r=parseInt(e,16);return[r>>24&255,r>>16&255,r>>8&255,Math.round((255&r)/255*100)/100]}throw Error("unknown hex color: "+e)},er=i.type;d.prototype.hex=function(e){return Q(this._rgb,e)},h.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hex"])))},u.format.hex=et,u.autodetect.push({p:4,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===er(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var en=i.unpack,ea=i.TWOPI,eo=Math.min,el=Math.sqrt,ei=Math.acos,eu=i.unpack,ec=i.limit,ef=i.TWOPI,es=i.PITHIRD,ed=Math.cos,eh=i.unpack,ep=i.type,eg=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=en(t,"rgb"),a=n[0],o=n[1],l=n[2],i=eo(a/=255,o/=255,l/=255),u=(a+o+l)/3,c=u>0?1-i/u:0;return 0===c?e=NaN:(e=ei(e=(a-o+(a-l))/2/el((a-o)*(a-o)+(a-l)*(o-l))),l>o&&(e=ea-e),e/=ea),[360*e,c,u]};d.prototype.hsi=function(){return eg(this._rgb)},h.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsi"])))},u.format.hsi=function(){for(var e,t,r,n=[],a=arguments.length;a--;)n[a]=arguments[a];var o=(n=eu(n,"hsi"))[0],l=n[1],i=n[2];return isNaN(o)&&(o=0),isNaN(l)&&(l=0),o>360&&(o-=360),o<0&&(o+=360),(o/=360)<1/3?t=1-((r=(1-l)/3)+(e=(1+l*ed(ef*o)/ed(es-ef*o))/3)):o<2/3?(o-=1/3,r=1-((e=(1-l)/3)+(t=(1+l*ed(ef*o)/ed(es-ef*o))/3))):(o-=2/3,e=1-((t=(1-l)/3)+(r=(1+l*ed(ef*o)/ed(es-ef*o))/3))),[255*(e=ec(i*e*3)),255*(t=ec(i*t*3)),255*(r=ec(i*r*3)),n.length>3?n[3]:1]},u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ep(e=eh(e,"hsi"))&&3===e.length)return"hsi"}});var eb=i.unpack,em=i.type;d.prototype.hsl=function(){return E(this._rgb)},h.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsl"])))},u.format.hsl=R,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===em(e=eb(e,"hsl"))&&3===e.length)return"hsl"}});var ev=i.unpack,ey=Math.min,eC=Math.max,ew=i.unpack,ek=Math.floor,eL=i.unpack,eE=i.type,eM=function(){for(var e,t,r=[],n=arguments.length;n--;)r[n]=arguments[n];var a=(r=ev(r,"rgb"))[0],o=r[1],l=r[2],i=ey(a,o,l),u=eC(a,o,l),c=u-i;return 0===u?(e=Number.NaN,t=0):(t=c/u,a===u&&(e=(o-l)/c),o===u&&(e=2+(l-a)/c),l===u&&(e=4+(a-o)/c),(e*=60)<0&&(e+=360)),[e,t,u/255]};d.prototype.hsv=function(){return eM(this._rgb)},h.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsv"])))},u.format.hsv=function(){for(var e,t,r,n,a,o,l,i,u,c=[],f=arguments.length;f--;)c[f]=arguments[f];var s=(c=ew(c,"hsv"))[0],d=c[1],h=c[2];if(h*=255,0===d)l=i=u=h;else{360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360);var p=ek(s/=60),g=s-p,b=h*(1-d),m=h*(1-d*g),v=h*(1-d*(1-g));switch(p){case 0:l=(e=[h,v,b])[0],i=e[1],u=e[2];break;case 1:l=(t=[m,h,b])[0],i=t[1],u=t[2];break;case 2:l=(r=[b,h,v])[0],i=r[1],u=r[2];break;case 3:l=(n=[b,m,h])[0],i=n[1],u=n[2];break;case 4:l=(a=[v,b,h])[0],i=a[1],u=a[2];break;case 5:l=(o=[h,b,m])[0],i=o[1],u=o[2]}}return[l,i,u,c.length>3?c[3]:1]},u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===eE(e=eL(e,"hsv"))&&3===e.length)return"hsv"}});var ex={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},eS=i.unpack,eO=Math.pow,e_=function(e){return(e/=255)<=.04045?e/12.92:eO((e+.055)/1.055,2.4)},eP=function(e){return e>ex.t3?eO(e,1/3):e/ex.t2+ex.t0},eR=function(){for(var e,t,r,n=[],a=arguments.length;a--;)n[a]=arguments[a];var o=eS(n,"rgb"),l=(e=o[0],t=o[1],r=o[2],[eP((.4124564*(e=e_(e))+.3575761*(t=e_(t))+.1804375*(r=e_(r)))/ex.Xn),eP((.2126729*e+.7151522*t+.072175*r)/ex.Yn),eP((.0193339*e+.119192*t+.9503041*r)/ex.Zn)]),i=l[0],u=l[1],c=l[2],f=116*u-16;return[f<0?0:f,500*(i-u),200*(u-c)]},ej=i.unpack,eN=Math.pow,eZ=function(e){return 255*(e<=.00304?12.92*e:1.055*eN(e,1/2.4)-.055)},eW=function(e){return e>ex.t1?e*e*e:ex.t2*(e-ex.t0)},eF=function(){for(var e,t,r,n=[],a=arguments.length;a--;)n[a]=arguments[a];var o=(n=ej(n,"lab"))[0],l=n[1],i=n[2];return t=(o+16)/116,e=isNaN(l)?t:t+l/500,r=isNaN(i)?t:t-i/200,t=ex.Yn*eW(t),[eZ(3.2404542*(e=ex.Xn*eW(e))-1.5371385*t-.4985314*(r=ex.Zn*eW(r))),eZ(-.969266*e+1.8760108*t+.041556*r),eZ(.0556434*e-.2040259*t+1.0572252*r),n.length>3?n[3]:1]},eA=i.unpack,eB=i.type;d.prototype.lab=function(){return eR(this._rgb)},h.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["lab"])))},u.format.lab=eF,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===eB(e=eA(e,"lab"))&&3===e.length)return"lab"}});var eT=i.unpack,eI=i.RAD2DEG,eD=Math.sqrt,ez=Math.atan2,e$=Math.round,eU=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eT(e,"lab"),n=r[0],a=r[1],o=r[2],l=eD(a*a+o*o),i=(ez(o,a)*eI+360)%360;return 0===e$(1e4*l)&&(i=Number.NaN),[n,l,i]},eq=i.unpack,eG=i.unpack,eK=i.DEG2RAD,eY=Math.sin,eV=Math.cos,eH=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eG(e,"lch"),n=r[0],a=r[1],o=r[2];return isNaN(o)&&(o=0),[n,eV(o*=eK)*a,eY(o)*a]},eX=i.unpack,eQ=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eH((e=eX(e,"lch"))[0],e[1],e[2]),n=eF(r[0],r[1],r[2]);return[n[0],n[1],n[2],e.length>3?e[3]:1]},eJ=i.unpack,e1=i.unpack,e2=i.type,e0=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eq(e,"rgb"),n=eR(r[0],r[1],r[2]);return eU(n[0],n[1],n[2])};d.prototype.lch=function(){return e0(this._rgb)},d.prototype.hcl=function(){return e0(this._rgb).reverse()},h.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["lch"])))},h.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hcl"])))},u.format.lch=eQ,u.format.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eJ(e,"hcl").reverse();return eQ.apply(void 0,r)},["lch","hcl"].forEach(function(e){return u.autodetect.push({p:2,test:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if("array"===e2(t=e1(t,e))&&3===t.length)return e}})});var e3={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},e5=i.type;d.prototype.name=function(){for(var e=Q(this._rgb,"rgb"),t=0,r=Object.keys(e3);t0;)t[r]=arguments[r+1];if(!t.length&&"string"===e5(e)&&e3[e.toLowerCase()])return"named"}});var e6=i.unpack,e4=i.type,e8=i.type,e7=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e6(e,"rgb");return(r[0]<<16)+(r[1]<<8)+r[2]};d.prototype.num=function(){return e7(this._rgb)},h.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["num"])))},u.format.num=function(e){if("number"==e4(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw Error("unknown num color: "+e)},u.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===e8(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var e9=i.unpack,te=i.type,tt=Math.round;d.prototype.rgb=function(e){return(void 0===e&&(e=!0),!1===e)?this._rgb.slice(0,3):this._rgb.slice(0,3).map(tt)},d.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map(function(t,r){return r<3?!1===e?t:tt(t):t})},h.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["rgb"])))},u.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e9(e,"rgba");return void 0===r[3]&&(r[3]=1),r},u.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===te(e=e9(e,"rgba"))&&(3===e.length||4===e.length&&"number"==te(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var tr=Math.log,tn=function(e){var t,r,n,a=e/100;return a<66?(t=255,r=a<6?0:-155.25485562709179-.44596950469579133*(r=a-2)+104.49216199393888*tr(r),n=a<20?0:-254.76935184120902+.8274096064007395*(n=a-10)+115.67994401066147*tr(n)):(t=351.97690566805693+.114206453784165*(t=a-55)-40.25366309332127*tr(t),r=325.4494125711974+.07943456536662342*(r=a-50)-28.0852963507957*tr(r),n=255),[t,r,n,1]},ta=i.unpack,to=Math.round,tl=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=ta(t,"rgb"),a=n[0],o=n[2],l=1e3,i=4e4;i-l>.4;){var u=tn(e=(i+l)*.5);u[2]/u[0]>=o/a?i=e:l=e}return to(e)};d.prototype.temp=d.prototype.kelvin=d.prototype.temperature=function(){return tl(this._rgb)},h.temp=h.kelvin=h.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["temp"])))},u.format.temp=u.format.kelvin=u.format.temperature=tn;var ti=i.unpack,tu=Math.cbrt,tc=Math.pow,tf=Math.sign,ts=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=ti(e,"rgb"),n=r[0],a=r[1],o=r[2],l=[td(n/255),td(a/255),td(o/255)],i=l[0],u=l[1],c=l[2],f=tu(.4122214708*i+.5363325363*u+.0514459929*c),s=tu(.2119034982*i+.6806995451*u+.1073969566*c),d=tu(.0883024619*i+.2817188376*u+.6299787005*c);return[.2104542553*f+.793617785*s-.0040720468*d,1.9779984951*f-2.428592205*s+.4505937099*d,.0259040371*f+.7827717662*s-.808675766*d]};function td(e){var t=Math.abs(e);return t<.04045?e/12.92:(tf(e)||1)*tc((t+.055)/1.055,2.4)}var th=i.unpack,tp=Math.pow,tg=Math.sign,tb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=th(e,"lab"))[0],n=e[1],a=e[2],o=tp(r+.3963377774*n+.2158037573*a,3),l=tp(r-.1055613458*n-.0638541728*a,3),i=tp(r-.0894841775*n-1.291485548*a,3);return[255*tm(4.0767416621*o-3.3077115913*l+.2309699292*i),255*tm(-1.2684380046*o+2.6097574011*l-.3413193965*i),255*tm(-.0041960863*o-.7034186147*l+1.707614701*i),e.length>3?e[3]:1]};function tm(e){var t=Math.abs(e);return t>.0031308?(tg(e)||1)*(1.055*tp(t,1/2.4)-.055):12.92*e}var tv=i.unpack,ty=i.type;d.prototype.oklab=function(){return ts(this._rgb)},h.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["oklab"])))},u.format.oklab=tb,u.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ty(e=tv(e,"oklab"))&&3===e.length)return"oklab"}});var tC=i.unpack,tw=i.unpack,tk=i.unpack,tL=i.type,tE=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=tC(e,"rgb"),n=ts(r[0],r[1],r[2]);return eU(n[0],n[1],n[2])};d.prototype.oklch=function(){return tE(this._rgb)},h.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["oklch"])))},u.format.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eH((e=tw(e,"lch"))[0],e[1],e[2]),n=tb(r[0],r[1],r[2]);return[n[0],n[1],n[2],e.length>3?e[3]:1]},u.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===tL(e=tk(e,"oklch"))&&3===e.length)return"oklch"}});var tM=i.type;d.prototype.alpha=function(e,t){return(void 0===t&&(t=!1),void 0!==e&&"number"===tM(e))?t?(this._rgb[3]=e,this):new d([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},d.prototype.clipped=function(){return this._rgb._clipped||!1},d.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=ex.Kn*e,new d(t,"lab").alpha(this.alpha(),!0)},d.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},d.prototype.darker=d.prototype.darken,d.prototype.brighter=d.prototype.brighten,d.prototype.get=function(e){var t=e.split("."),r=t[0],n=t[1],a=this[r]();if(!n)return a;var o=r.indexOf(n)-("ok"===r.substr(0,2)?2:0);if(o>-1)return a[o];throw Error("unknown channel "+n+" in mode "+r)};var tx=i.type,tS=Math.pow;d.prototype.luminance=function(e){if(void 0!==e&&"number"===tx(e)){if(0===e)return new d([0,0,0,this._rgb[3]],"rgb");if(1===e)return new d([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),r=20,n=function(t,a){var o=t.interpolate(a,.5,"rgb"),l=o.luminance();return!(1e-7>Math.abs(e-l))&&r--?l>e?n(t,o):n(o,a):o},a=(t>e?n(new d([0,0,0]),this):n(this,new d([255,255,255]))).rgb();return new d(a.concat([this._rgb[3]]))}return tO.apply(void 0,this._rgb.slice(0,3))};var tO=function(e,t,r){return .2126*(e=t_(e))+.7152*(t=t_(t))+.0722*(r=t_(r))},t_=function(e){return(e/=255)<=.03928?e/12.92:tS((e+.055)/1.055,2.4)},tP={},tR=i.type,tj=function(e,t,r){void 0===r&&(r=.5);for(var n=[],a=arguments.length-3;a-- >0;)n[a]=arguments[a+3];var o=n[0]||"lrgb";if(tP[o]||n.length||(o=Object.keys(tP)[0]),!tP[o])throw Error("interpolation mode "+o+" is not defined");return"object"!==tR(e)&&(e=new d(e)),"object"!==tR(t)&&(t=new d(t)),tP[o](e,t,r).alpha(e.alpha()+r*(t.alpha()-e.alpha()))};d.prototype.mix=d.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return tj.apply(void 0,[this,e,t].concat(r))},d.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,r=t[3];return e?(this._rgb=[t[0]*r,t[1]*r,t[2]*r,r],this):new d([t[0]*r,t[1]*r,t[2]*r,r],"rgb")},d.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=ex.Kn*e,t[1]<0&&(t[1]=0),new d(t,"lch").alpha(this.alpha(),!0)},d.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var tN=i.type;d.prototype.set=function(e,t,r){void 0===r&&(r=!1);var n=e.split("."),a=n[0],o=n[1],l=this[a]();if(!o)return l;var i=a.indexOf(o)-("ok"===a.substr(0,2)?2:0);if(i>-1){if("string"==tN(t))switch(t.charAt(0)){case"+":case"-":l[i]+=+t;break;case"*":l[i]*=+t.substr(1);break;case"/":l[i]/=+t.substr(1);break;default:l[i]=+t}else if("number"===tN(t))l[i]=t;else throw Error("unsupported value for Color.set");var u=new d(l,a);return r?(this._rgb=u._rgb,this):u}throw Error("unknown channel "+o+" in mode "+a)},tP.rgb=function(e,t,r){var n=e._rgb,a=t._rgb;return new d(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"rgb")};var tZ=Math.sqrt,tW=Math.pow;tP.lrgb=function(e,t,r){var n=e._rgb,a=n[0],o=n[1],l=n[2],i=t._rgb,u=i[0],c=i[1],f=i[2];return new d(tZ(tW(a,2)*(1-r)+tW(u,2)*r),tZ(tW(o,2)*(1-r)+tW(c,2)*r),tZ(tW(l,2)*(1-r)+tW(f,2)*r),"rgb")},tP.lab=function(e,t,r){var n=e.lab(),a=t.lab();return new d(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"lab")};var tF=function(e,t,r,n){var a,o,l,i,u,c,f,s,h,p,g,b,m,v;return"hsl"===n?(l=e.hsl(),i=t.hsl()):"hsv"===n?(l=e.hsv(),i=t.hsv()):"hcg"===n?(l=e.hcg(),i=t.hcg()):"hsi"===n?(l=e.hsi(),i=t.hsi()):"lch"===n||"hcl"===n?(n="hcl",l=e.hcl(),i=t.hcl()):"oklch"===n&&(l=e.oklch().reverse(),i=t.oklch().reverse()),("h"===n.substr(0,1)||"oklch"===n)&&(u=(a=l)[0],f=a[1],h=a[2],c=(o=i)[0],s=o[1],p=o[2]),isNaN(u)||isNaN(c)?isNaN(u)?isNaN(c)?b=Number.NaN:(b=c,(1==h||0==h)&&"hsv"!=n&&(g=s)):(b=u,(1==p||0==p)&&"hsv"!=n&&(g=f)):(v=c>u&&c-u>180?c-(u+360):c180?c+360-u:c-u,b=u+r*v),void 0===g&&(g=f+r*(s-f)),m=h+r*(p-h),"oklch"===n?new d([m,g,b],n):new d([b,g,m],n)},tA=function(e,t,r){return tF(e,t,r,"lch")};tP.lch=tA,tP.hcl=tA,tP.num=function(e,t,r){var n=e.num(),a=t.num();return new d(n+r*(a-n),"num")},tP.hcg=function(e,t,r){return tF(e,t,r,"hcg")},tP.hsi=function(e,t,r){return tF(e,t,r,"hsi")},tP.hsl=function(e,t,r){return tF(e,t,r,"hsl")},tP.hsv=function(e,t,r){return tF(e,t,r,"hsv")},tP.oklab=function(e,t,r){var n=e.oklab(),a=t.oklab();return new d(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"oklab")},tP.oklch=function(e,t,r){return tF(e,t,r,"oklch")};var tB=i.clip_rgb,tT=Math.pow,tI=Math.sqrt,tD=Math.PI,tz=Math.cos,t$=Math.sin,tU=Math.atan2,tq=function(e,t){for(var r=e.length,n=[0,0,0,0],a=0;a.9999999&&(n[3]=1),new d(tB(n))},tG=i.type,tK=Math.pow,tY=function(e){var t="rgb",r=h("#ccc"),n=0,a=[0,1],o=[],l=[0,0],i=!1,u=[],c=!1,f=0,s=1,d=!1,p={},g=!0,b=1,m=function(e){if("string"===tG(e=e||["#fff","#000"])&&h.brewer&&h.brewer[e.toLowerCase()]&&(e=h.brewer[e.toLowerCase()]),"array"===tG(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t=i[r];)r++;return r-1}return 0},y=function(e){return e},C=function(e){return e},w=function(e,n){if(null==n&&(n=!1),isNaN(e)||null===e)return r;if(n)c=e;else if(i&&i.length>2){var a,c;c=v(e)/(i.length-2)}else c=s!==f?(e-f)/(s-f):1;c=C(c),n||(c=y(c)),1!==b&&(c=tK(c,b));var d=Math.floor(1e4*(c=Math.min(1,Math.max(0,c=l[0]+c*(1-l[0]-l[1])))));if(g&&p[d])a=p[d];else{if("array"===tG(u))for(var m=0;m=w&&m===o.length-1){a=u[m];break}if(c>w&&c2){var c=e.map(function(t,r){return r/(e.length-1)}),d=e.map(function(e){return(e-f)/(s-f)});d.every(function(e,t){return c[t]===e})||(C=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var r=(e-d[t])/(d[t+1]-d[t]);return c[t]+r*(c[t+1]-c[t])})}}return a=[f,s],L},L.mode=function(e){return arguments.length?(t=e,k(),L):t},L.range=function(e,t){return m(e),L},L.out=function(e){return c=e,L},L.spread=function(e){return arguments.length?(n=e,L):n},L.correctLightness=function(e){return null==e&&(e=!0),d=e,k(),y=d?function(e){for(var t=w(0,!0).lab()[0],r=w(1,!0).lab()[0],n=t>r,a=w(e,!0).lab()[0],o=t+(r-t)*e,l=a-o,i=0,u=1,c=20;Math.abs(l)>.01&&c-- >0;)n&&(l*=-1),l<0?(i=e,e+=(u-e)*.5):(u=e,e+=(i-e)*.5),l=(a=w(e,!0).lab()[0])-o;return e}:function(e){return e},L},L.padding=function(e){return null!=e?("number"===tG(e)&&(e=[e,e]),l=e,L):l},L.colors=function(t,r){arguments.length<2&&(r="hex");var n=[];if(0==arguments.length)n=u.slice(0);else if(1===t)n=[L(.5)];else if(t>1){var o=a[0],l=a[1]-o;n=(function(e,t,r){for(var n=[],a=eo;a?l++:l--)n.push(l);return n})(0,t,!1).map(function(e){return L(o+e/(t-1)*l)})}else{e=[];var c=[];if(i&&i.length>2)for(var f=1,s=i.length,d=1<=s;d?fs;d?f++:f--)c.push((i[f-1]+i[f])*.5);else c=a;n=c.map(function(e){return L(e)})}return h[r]&&(n=n.map(function(e){return e[r]()})),n},L.cache=function(e){return null!=e?(g=e,L):g},L.gamma=function(e){return null!=e?(b=e,L):b},L.nodata=function(e){return null!=e?(r=h(e),L):r},L},tV=function(e){for(var t=[1,1],r=1;r=5)c=e.map(function(e){return e.lab()}),f=tV(s=e.length-1),a=function(e){var t=1-e,r=[0,1,2].map(function(r){return c.reduce(function(n,a,o){return n+f[o]*Math.pow(t,s-o)*Math.pow(e,o)*a[r]},0)});return new d(r,"lab")};else throw RangeError("No point in running bezier with only one color.");return a},tX=function(e,t,r){if(!tX[r])throw Error("unknown blend mode "+r);return tX[r](e,t)},tQ=function(e){return function(t,r){var n=h(r).rgb(),a=h(t).rgb();return h.rgb(e(n,a))}},tJ=function(e){return function(t,r){var n=[];return n[0]=e(t[0],r[0]),n[1]=e(t[1],r[1]),n[2]=e(t[2],r[2]),n}};tX.normal=tQ(tJ(function(e){return e})),tX.multiply=tQ(tJ(function(e,t){return e*t/255})),tX.screen=tQ(tJ(function(e,t){return 255*(1-(1-e/255)*(1-t/255))})),tX.overlay=tQ(tJ(function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))})),tX.darken=tQ(tJ(function(e,t){return e>t?t:e})),tX.lighten=tQ(tJ(function(e,t){return e>t?e:t})),tX.dodge=tQ(tJ(function(e,t){return 255===e?255:(e=255*(t/255)/(1-e/255))>255?255:e})),tX.burn=tQ(tJ(function(e,t){return 255*(1-(1-t/255)/(e/255))}));for(var t1=i.type,t2=i.clip_rgb,t0=i.TWOPI,t3=Math.pow,t5=Math.sin,t6=Math.cos,t4=Math.floor,t8=Math.random,t7=Math.log,t9=Math.pow,re=Math.floor,rt=Math.abs,rr=function(e,t){void 0===t&&(t=null);var r={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===o(e)&&(e=Object.values(e)),e.forEach(function(e){t&&"object"===o(e)&&(e=e[t]),null==e||isNaN(e)||(r.values.push(e),r.sum+=e,er.max&&(r.max=e),r.count+=1)}),r.domain=[r.min,r.max],r.limits=function(e,t){return rn(r,e,t)},r},rn=function(e,t,r){void 0===t&&(t="equal"),void 0===r&&(r=7),"array"==o(e)&&(e=rr(e));var n=e.min,a=e.max,l=e.values.sort(function(e,t){return e-t});if(1===r)return[n,a];var i=[];if("c"===t.substr(0,1)&&(i.push(n),i.push(a)),"e"===t.substr(0,1)){i.push(n);for(var u=1;u 0");var c=Math.LOG10E*t7(n),f=Math.LOG10E*t7(a);i.push(n);for(var s=1;s200&&(C=!1)}for(var F={},A=0;A=360;)g-=360;l[p]=g}else l[p]=l[p]/i[p];return h/=n,new d(l,t).alpha(h>.99999?1:h,!0)},h.bezier=function(e){var t=tH(e);return t.scale=function(){return tY(t)},t},h.blend=tX,h.cubehelix=function(e,t,r,n,a){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===r&&(r=1),void 0===n&&(n=1),void 0===a&&(a=[0,1]);var o,l=0;"array"===t1(a)?o=a[1]-a[0]:(o=0,a=[a,a]);var i=function(i){var u=t0*((e+120)/360+t*i),c=t3(a[0]+o*i,n),f=(0!==l?r[0]+i*l:r)*c*(1-c)/2,s=t6(u),d=t5(u);return h(t2([255*(c+f*(-.14861*s+1.78277*d)),255*(c+f*(-.29227*s-.90649*d)),255*(c+f*(1.97294*s)),1]))};return i.start=function(t){return null==t?e:(e=t,i)},i.rotations=function(e){return null==e?t:(t=e,i)},i.gamma=function(e){return null==e?n:(n=e,i)},i.hue=function(e){return null==e?r:("array"===t1(r=e)?0==(l=r[1]-r[0])&&(r=r[1]):l=0,i)},i.lightness=function(e){return null==e?a:("array"===t1(e)?(a=e,o=e[1]-e[0]):(a=[e,e],o=0),i)},i.scale=function(){return h.scale(i)},i.hue(r),i},h.mix=h.interpolate=tj,h.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(t4(16*t8()));return new d(e,"hex")},h.scale=tY,h.analyze=ra.analyze,h.contrast=function(e,t){e=new d(e),t=new d(t);var r=e.luminance(),n=t.luminance();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},h.deltaE=function(e,t,r,n,a){void 0===r&&(r=1),void 0===n&&(n=1),void 0===a&&(a=1);var o=function(e){return 360*e/(2*rp)},l=function(e){return 2*rp*e/360};e=new d(e),t=new d(t);var i=Array.from(e.lab()),u=i[0],c=i[1],f=i[2],s=Array.from(t.lab()),h=s[0],p=s[1],g=s[2],b=(u+h)/2,m=(ro(rl(c,2)+rl(f,2))+ro(rl(p,2)+rl(g,2)))/2,v=.5*(1-ro(rl(m,7)/(rl(m,7)+rl(25,7)))),y=c*(1+v),C=p*(1+v),w=ro(rl(y,2)+rl(f,2)),k=ro(rl(C,2)+rl(g,2)),L=(w+k)/2,E=o(rc(f,y)),M=o(rc(g,C)),x=E>=0?E:E+360,S=M>=0?M:M+360,O=rf(x-S)>180?(x+S+360)/2:(x+S)/2,_=1-.17*rs(l(O-30))+.24*rs(l(2*O))+.32*rs(l(3*O+6))-.2*rs(l(4*O-63)),P=S-x;P=180>=rf(P)?P:S<=x?P+360:P-360,P=2*ro(w*k)*rd(l(P)/2);var R=k-w,j=1+.015*rl(b-50,2)/ro(20+rl(b-50,2)),N=1+.045*L,Z=1+.015*L*_,W=30*rh(-rl((O-275)/25,2)),F=-(2*ro(rl(L,7)/(rl(L,7)+rl(25,7))))*rd(2*l(W));return ru(0,ri(100,ro(rl((h-u)/(r*j),2)+rl(R/(n*N),2)+rl(P/(a*Z),2)+F*(R/(n*N))*(P/(a*Z)))))},h.distance=function(e,t,r){void 0===r&&(r="lab"),e=new d(e),t=new d(t);var n=e.get(r),a=t.get(r),o=0;for(var l in n){var i=(n[l]||0)-(a[l]||0);o+=i*i}return Math.sqrt(o)},h.limits=ra.limits,h.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(d,[null].concat(e))),!0}catch(e){return!1}},h.scales={cool:function(){return tY([h.hsl(180,1,.9),h.hsl(250,.7,.4)])},hot:function(){return tY(["#000","#f00","#ff0","#fff"]).mode("rgb")}},h.colors=e3,h.brewer=rg,h}()},91927:function(e,t,r){"use strict";r.d(t,{Fw:function(){return w},fC:function(){return E},wy:function(){return y}});var n=r(13428),a=r(2265),o=r(85744),l=r(56989),i=r(73763),u=r(51030),c=r(42210),f=r(9381),s=r(85606),d=r(20966);let h="Collapsible",[p,g]=(0,l.b)(h),[b,m]=p(h),v=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:l,disabled:u,onOpenChange:c,...s}=e,[h=!1,p]=(0,i.T)({prop:o,defaultProp:l,onChange:c});return(0,a.createElement)(b,{scope:r,disabled:u,contentId:(0,d.M)(),open:h,onOpenToggle:(0,a.useCallback)(()=>p(e=>!e),[p])},(0,a.createElement)(f.WV.div,(0,n.Z)({"data-state":L(h),"data-disabled":u?"":void 0},s,{ref:t})))}),y=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:r,...l}=e,i=m("CollapsibleTrigger",r);return(0,a.createElement)(f.WV.button,(0,n.Z)({type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":L(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled},l,{ref:t,onClick:(0,o.M)(e.onClick,i.onOpenToggle)}))}),C="CollapsibleContent",w=(0,a.forwardRef)((e,t)=>{let{forceMount:r,...o}=e,l=m(C,e.__scopeCollapsible);return(0,a.createElement)(s.z,{present:r||l.open},({present:e})=>(0,a.createElement)(k,(0,n.Z)({},o,{ref:t,present:e})))}),k=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:r,present:o,children:l,...i}=e,s=m(C,r),[d,h]=(0,a.useState)(o),p=(0,a.useRef)(null),g=(0,c.e)(t,p),b=(0,a.useRef)(0),v=b.current,y=(0,a.useRef)(0),w=y.current,k=s.open||d,E=(0,a.useRef)(k),M=(0,a.useRef)();return(0,a.useEffect)(()=>{let e=requestAnimationFrame(()=>E.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,u.b)(()=>{let e=p.current;if(e){M.current=M.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();b.current=t.height,y.current=t.width,E.current||(e.style.transitionDuration=M.current.transitionDuration,e.style.animationName=M.current.animationName),h(o)}},[s.open,o]),(0,a.createElement)(f.WV.div,(0,n.Z)({"data-state":L(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!k},i,{ref:g,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style}}),k&&l)});function L(e){return e?"open":"closed"}let E=v},13433:function(e,t){"use strict";t.Z=function(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(a);++n(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/7820-2f9445c13ccb56da.js b/ee/tabby-webserver/ui/_next/static/chunks/7820-2f9445c13ccb56da.js new file mode 100644 index 000000000000..170f119bafae --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/7820-2f9445c13ccb56da.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7820],{70349:function(e,n,i){var a,t,r,d;i.d(n,{FR:function(){return g},UO:function(){return f},Xx:function(){return b},YM:function(){return m},YR:function(){return N},bh:function(){return l},by:function(){return v},d3:function(){return p},dv:function(){return c},fk:function(){return u},ib:function(){return k},qI:function(){return S},qq:function(){return s},wW:function(){return o},xj:function(){return t}}),(r=a||(a={})).Github="GITHUB",r.Google="GOOGLE",(d=t||(t={})).Chat="CHAT",d.Completion="COMPLETION";let l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registrationToken"}}]}}]},o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetRegistrationToken"}}]}}]},u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MeQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"authToken"}}]}}]}}]},s={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetUserAuthToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetUserAuthToken"}}]}}]},k={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}]}]}}]},m={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListUsers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"users"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"isAdmin"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"active"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}}]}]}}]},f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"tokenAuth"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenAuth"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},N={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"register"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password1"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password2"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"register"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password1"},value:{kind:"Variable",name:{kind:"Name",value:"password1"}}},{kind:"Argument",name:{kind:"Name",value:"password2"},value:{kind:"Variable",name:{kind:"Name",value:"password2"}}},{kind:"Argument",name:{kind:"Name",value:"invitationCode"},value:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},p={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetWorkers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"workers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"addr"}},{kind:"Field",name:{kind:"Name",value:"device"}},{kind:"Field",name:{kind:"Name",value:"arch"}},{kind:"Field",name:{kind:"Name",value:"cpuInfo"}},{kind:"Field",name:{kind:"Name",value:"cpuCount"}},{kind:"Field",name:{kind:"Name",value:"cudaDevices"}}]}}]}}]},g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"refreshToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"refreshToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"refreshToken"},value:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},S={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetIsAdminInitialized"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAdminInitialized"}}]}}]},b={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListInvitations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invitations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]}},58835:function(e,n,i){i.d(n,{BX:function(){return r}});var a=i(70349);let t={"\n query GetRegistrationToken {\n registrationToken\n }\n":a.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":a.wW,"\n query MeQuery {\n me {\n authToken\n }\n }\n":a.fk,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":a.qq,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":a.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":a.YM,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n createdAt\n active\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":a.by,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":a.dv,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":a.UO,"\n mutation register(\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":a.YR,"\n query GetWorkers {\n workers {\n kind\n name\n addr\n device\n arch\n cpuInfo\n cpuCount\n cudaDevices\n }\n }\n":a.d3,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":a.FR,"\n query GetIsAdminInitialized {\n isAdminInitialized\n }\n":a.qI,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":a.Xx};function r(e){var n;return null!==(n=t[e])&&void 0!==n?n:{}}},58001:function(e,n,i){i.d(n,{Dp:function(){return b},Ho:function(){return h},QJ:function(){return A},Rn:function(){return p},av:function(){return $},bW:function(){return f},kP:function(){return F},pC:function(){return N},zq:function(){return D}});var a,t,r=i(57437),d=i(2265),l=i(24033),o=i(53771),u=i(99109),s=i(26566),k=i.n(s),m=i(58835),v=i(39311);(a=t||(t={}))[a.SignIn=0]="SignIn",a[a.SignOut=1]="SignOut",a[a.Refresh=2]="Refresh";let c="_tabby_auth",f=()=>{if((0,v.S_)()){let e=localStorage.getItem(c);if(!e)return null;try{return JSON.parse(e)}catch(e){}}return null},N=e=>{localStorage.setItem(c,JSON.stringify(e))},p=()=>{localStorage.removeItem(c),window.dispatchEvent(new StorageEvent("storage",{storageArea:window.localStorage,url:window.location.href,key:c}))};function g(e,n){var i,a;let r=function(e,n){switch(n.type){case t.SignIn:case t.Refresh:return{status:"authenticated",data:n.data};case t.SignOut:return{status:"unauthenticated",data:null}}}(0,n);return e.status==r.status&&(i=e.data,a=r.data,(null==i?void 0:i.accessToken)===(null==a?void 0:a.accessToken)&&(null==i?void 0:i.refreshToken)===(null==a?void 0:a.refreshToken))?e:r}let S=d.createContext({}),b=(0,m.BX)("\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n"),h=e=>{let{children:n}=e,[i]=k()(c,null),[a,l]=d.useReducer(g,{status:"loading",data:null});d.useEffect(()=>{(null==i?void 0:i.accessToken)&&(null==i?void 0:i.refreshToken)?l({type:t.Refresh,data:i}):l({type:t.SignOut})},[i]);let u=d.useMemo(()=>{var e,n;if((null==a?void 0:a.status)=="authenticated")try{let{sub:e,is_admin:n}=(0,o.o)(a.data.accessToken);return{data:{email:e,isAdmin:n,accessToken:a.data.accessToken},status:a.status}}catch(n){return console.error("jwt decode failed"),{status:null!==(e=null==a?void 0:a.status)&&void 0!==e?e:"loading",data:{email:"",isAdmin:!1,accessToken:a.data.accessToken}}}return{status:null!==(n=null==a?void 0:a.status)&&void 0!==n?n:"loading",data:null}},[a]);return(0,r.jsx)(S.Provider,{value:{authState:a,dispatch:l,session:u},children:n})};class T extends Error{constructor(){super("AuthProvider is missing. Please add the AuthProvider at root level")}}function y(){let e=d.useContext(S);if(!e)throw new T;return e}function D(){let{dispatch:e}=y();return async n=>(N({accessToken:n.accessToken,refreshToken:n.refreshToken}),e({type:t.SignIn,data:n}),!0)}function A(){let{dispatch:e}=y();return async()=>{p(),e({type:t.SignOut})}}function F(){let{session:e}=y();return e}let V=(0,m.BX)("\n query GetIsAdminInitialized {\n isAdminInitialized\n }\n"),I=["/auth/signin","/auth/signup"];function $(){let[{data:e}]=(0,u.aM)({query:V}),n=(0,l.useRouter)(),i=(0,l.usePathname)(),{data:a,status:t}=F();return d.useEffect(()=>{"loading"!==t&&("authenticated"===t||((null==e?void 0:e.isAdminInitialized)===!1?n.replace("/auth/signup?isAdmin=true"):I.includes(i)||n.replace("/auth/signin")))},[e,t]),a}},7820:function(e,n,i){i.d(n,{D:function(){return c},L:function(){return N}});var a,t=i(69166),r=i(73997),d=i(83074),l=i(53771),o=i(24144),u=i(99109),s=i(18398),k=i(58001),m=i(57166),v=i(68571);function c(e,n){var i;let[a,t]=(0,u.Db)(e),r=(null==n?void 0:n.form)?(i=n.form,e=>{let{graphQLErrors:n=[]}=e;for(let e of n)if(e.extensions&&e.extensions["validation-errors"]){let n=e.extensions["validation-errors"];for(let e of n.errors)i.setError(e.path,e)}else(null==e?void 0:e.originalError)&&i.setError("root",e.originalError)}):void 0,d=async e=>{let i;try{if(null==(i=await t(e))?void 0:i.error)r&&r(i.error),(null==n?void 0:n.onError)&&n.onError(i.error);else if(!(0,o.Z)(null==i?void 0:i.data)){var a;null==n||null===(a=n.onCompleted)||void 0===a||a.call(n,i.data)}}catch(e){(null==n?void 0:n.onError)&&n.onError(e);return}return i};return d}let f=e=>Date.now()>1e3*e,N=new s.KU({url:"".concat(null!==(a=v.env.NEXT_PUBLIC_TABBY_SERVER_URL)&&void 0!==a?a:"","/graphql"),requestPolicy:"cache-and-network",exchanges:[(0,r.HG)({resolvers:{Query:{invitations:(0,d.N)()}},updates:{Mutation:{deleteInvitation(e,n,i,a){e.deleteInvitation&&i.inspectFields("Query").filter(e=>"invitations"===e.fieldName).forEach(e=>{i.updateQuery({query:m.l,variables:e.arguments},e=>{var i;return(null==e?void 0:null===(i=e.invitations)||void 0===i?void 0:i.edges)&&(e.invitations.edges=e.invitations.edges.filter(e=>e.node.id!==n.id)),e})})}}}}),(0,t.M)(async e=>{let n=(0,k.bW)(),i=null==n?void 0:n.accessToken,a=null==n?void 0:n.refreshToken;return{addAuthToOperation:n=>i?e.appendHeaders(n,{Authorization:"Bearer ".concat(i)}):n,didAuthError(e,n){var i;return(null==e?void 0:null===(i=e.response)||void 0===i?void 0:i.status)===401||e.graphQLErrors.some(e=>{var n;return(null==e?void 0:null===(n=e.extensions)||void 0===n?void 0:n.code)==="UNAUTHORIZED"})},willAuthError(e){let n=(0,k.bW)();if(i=null==n?void 0:n.accessToken,a=null==n?void 0:n.refreshToken,"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null===(n=e.name)||void 0===n?void 0:n.value)&&["tokenAuth","registerUser"].includes(e.name.value)})||a&&"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null==e?void 0:null===(n=e.name)||void 0===n?void 0:n.value)==="refreshToken"}))return!1;if(!i)return!0;try{let{exp:e}=(0,l.o)(i);return!e||f(e)}catch(e){return!0}},async refreshAuth(){if(a){var n;let t=await e.mutate(k.Dp,{refreshToken:a});(null===(n=t.data)||void 0===n?void 0:n.refreshToken)?(i=t.data.refreshToken.accessToken,a=t.data.refreshToken.refreshToken,(0,k.pC)({accessToken:i,refreshToken:a})):(0,k.Rn)()}else(0,k.Rn)()}}}),s.Ek]})},57166:function(e,n,i){i.d(n,{l:function(){return t}});var a=i(58835);let t=(0,a.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n")},39311:function(e,n,i){i.d(n,{S_:function(){return u},aF:function(){return o},cn:function(){return d},x0:function(){return l}});var a=i(50348),t=i(28481),r=i(23986);function d(){for(var e=arguments.length,n=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:50,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/[ ,.:;\n,。:;]/;if(!e)return"";if(e.length<=n)return e;let a=e.slice(0,n),t=-1;for(let e=n-1;e>=0;e--)if(i.test(a[e])){t=e;break}return -1!==t&&(a=a.slice(0,t)),a+"..."}let u=()=>!0}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/7820-ceb91098cbc2ba2b.js b/ee/tabby-webserver/ui/_next/static/chunks/7820-ceb91098cbc2ba2b.js deleted file mode 100644 index 2c234e7da380..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/7820-ceb91098cbc2ba2b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7820],{70349:function(e,n,i){var t,a,r,o;i.d(n,{FR:function(){return S},UO:function(){return f},Xx:function(){return m},YM:function(){return c},YR:function(){return N},bh:function(){return d},by:function(){return v},d3:function(){return p},fk:function(){return u},ib:function(){return k},qI:function(){return h},qq:function(){return s},wW:function(){return l},xj:function(){return a}}),(r=t||(t={})).Github="GITHUB",r.Google="GOOGLE",(o=a||(a={})).Chat="CHAT",o.Completion="COMPLETION";let d={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registrationToken"}}]}}]},l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetRegistrationToken"}}]}}]},u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MeQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"authToken"}}]}}]}}]},s={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetUserAuthToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetUserAuthToken"}}]}}]},k={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}]}]}}]},m={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListInvitations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invitations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]},c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListUsers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"users"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"isAdmin"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]},f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"tokenAuth"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenAuth"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},N={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"register"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password1"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password2"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"register"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password1"},value:{kind:"Variable",name:{kind:"Name",value:"password1"}}},{kind:"Argument",name:{kind:"Name",value:"password2"},value:{kind:"Variable",name:{kind:"Name",value:"password2"}}},{kind:"Argument",name:{kind:"Name",value:"invitationCode"},value:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},p={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetWorkers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"workers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"addr"}},{kind:"Field",name:{kind:"Name",value:"device"}},{kind:"Field",name:{kind:"Name",value:"arch"}},{kind:"Field",name:{kind:"Name",value:"cpuInfo"}},{kind:"Field",name:{kind:"Name",value:"cpuCount"}},{kind:"Field",name:{kind:"Name",value:"cudaDevices"}}]}}]}}]},S={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"refreshToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"refreshToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"refreshToken"},value:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetIsAdminInitialized"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAdminInitialized"}}]}}]}},58835:function(e,n,i){i.d(n,{BX:function(){return r}});var t=i(70349);let a={"\n query GetRegistrationToken {\n registrationToken\n }\n":t.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":t.wW,"\n query MeQuery {\n me {\n authToken\n }\n }\n":t.fk,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":t.qq,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":t.ib,"\n query ListInvitations {\n invitations {\n id\n email\n code\n createdAt\n }\n }\n":t.Xx,"\n mutation DeleteInvitation($id: Int!) {\n deleteInvitation(id: $id)\n }\n":t.YM,"\n query ListUsers {\n users {\n email\n isAdmin\n createdAt\n }\n }\n":t.by,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":t.UO,"\n mutation register(\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":t.YR,"\n query GetWorkers {\n workers {\n kind\n name\n addr\n device\n arch\n cpuInfo\n cpuCount\n cudaDevices\n }\n }\n":t.d3,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":t.FR,"\n query GetIsAdminInitialized {\n isAdminInitialized\n }\n":t.qI};function r(e){var n;return null!==(n=a[e])&&void 0!==n?n:{}}},58001:function(e,n,i){i.d(n,{Dp:function(){return T},Ho:function(){return g},QJ:function(){return A},Rn:function(){return p},av:function(){return O},bW:function(){return f},kP:function(){return w},pC:function(){return N},zq:function(){return D}});var t,a,r=i(57437),o=i(2265),d=i(24033),l=i(53771),u=i(99109),s=i(26566),k=i.n(s),m=i(58835),c=i(39311);(t=a||(a={}))[t.SignIn=0]="SignIn",t[t.SignOut=1]="SignOut",t[t.Refresh=2]="Refresh";let v="_tabby_auth",f=()=>{if((0,c.S_)()){let e=localStorage.getItem(v);if(!e)return null;try{return JSON.parse(e)}catch(e){}}return null},N=e=>{localStorage.setItem(v,JSON.stringify(e))},p=()=>{localStorage.removeItem(v),window.dispatchEvent(new StorageEvent("storage",{storageArea:window.localStorage,url:window.location.href,key:v}))};function S(e,n){var i,t;let r=function(e,n){switch(n.type){case a.SignIn:case a.Refresh:return{status:"authenticated",data:n.data};case a.SignOut:return{status:"unauthenticated",data:null}}}(0,n);return e.status==r.status&&(i=e.data,t=r.data,(null==i?void 0:i.accessToken)===(null==t?void 0:t.accessToken)&&(null==i?void 0:i.refreshToken)===(null==t?void 0:t.refreshToken))?e:r}let h=o.createContext({}),T=(0,m.BX)("\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n"),g=e=>{let{children:n}=e,[i]=k()(v,null),[t,d]=o.useReducer(S,{status:"loading",data:null});o.useEffect(()=>{(null==i?void 0:i.accessToken)&&(null==i?void 0:i.refreshToken)?d({type:a.Refresh,data:i}):d({type:a.SignOut})},[i]);let u=o.useMemo(()=>{var e,n;if((null==t?void 0:t.status)=="authenticated")try{let{sub:e,is_admin:n}=(0,l.o)(t.data.accessToken);return{data:{email:e,isAdmin:n,accessToken:t.data.accessToken},status:t.status}}catch(n){return console.error("jwt decode failed"),{status:null!==(e=null==t?void 0:t.status)&&void 0!==e?e:"loading",data:{email:"",isAdmin:!1,accessToken:t.data.accessToken}}}return{status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:"loading",data:null}},[t]);return(0,r.jsx)(h.Provider,{value:{authState:t,dispatch:d,session:u},children:n})};class y extends Error{constructor(){super("AuthProvider is missing. Please add the AuthProvider at root level")}}function b(){let e=o.useContext(h);if(!e)throw new y;return e}function D(){let{dispatch:e}=b();return async n=>(N({accessToken:n.accessToken,refreshToken:n.refreshToken}),e({type:a.SignIn,data:n}),!0)}function A(){let{dispatch:e}=b();return async()=>{p(),e({type:a.SignOut})}}function w(){let{session:e}=b();return e}let F=(0,m.BX)("\n query GetIsAdminInitialized {\n isAdminInitialized\n }\n"),I=["/auth/signin","/auth/signup"];function O(){let[{data:e}]=(0,u.aM)({query:F}),n=(0,d.useRouter)(),i=(0,d.usePathname)(),{data:t,status:a}=w();return o.useEffect(()=>{"loading"!==a&&("authenticated"===a||((null==e?void 0:e.isAdminInitialized)===!1?n.replace("/auth/signup?isAdmin=true"):I.includes(i)||n.replace("/auth/signin")))},[e,a]),t}},7820:function(e,n,i){i.d(n,{D:function(){return s},L:function(){return m}});var t,a=i(69166),r=i(53771),o=i(99109),d=i(18398),l=i(58001),u=i(68571);function s(e,n){var i;let[t,a]=(0,o.Db)(e),r=(null==n?void 0:n.form)?(i=n.form,e=>{let{graphQLErrors:n=[]}=e;for(let e of n)if(e.extensions&&e.extensions["validation-errors"]){let n=e.extensions["validation-errors"];for(let e of n.errors)i.setError(e.path,e)}else(null==e?void 0:e.originalError)&&i.setError("root",e.originalError)}):void 0,d=async e=>{let i;try{let t=await a(e);if(null==t?void 0:t.error){r&&r(t.error),(null==n?void 0:n.onError)&&n.onError(t.error);return}i=null==t?void 0:t.data}catch(e){(null==n?void 0:n.onError)&&n.onError(e);return}return i&&(null==n?void 0:n.onCompleted)&&n.onCompleted(i),i};return d}let k=e=>Date.now()>1e3*e,m=new d.KU({url:"".concat(null!==(t=u.env.NEXT_PUBLIC_TABBY_SERVER_URL)&&void 0!==t?t:"","/graphql"),requestPolicy:"cache-and-network",exchanges:[d.HG,(0,a.M)(async e=>{let n=(0,l.bW)(),i=null==n?void 0:n.accessToken,t=null==n?void 0:n.refreshToken;return{addAuthToOperation:n=>i?e.appendHeaders(n,{Authorization:"Bearer ".concat(i)}):n,didAuthError:(e,n)=>401===e.response.status||e.graphQLErrors.some(e=>{var n;return(null==e?void 0:null===(n=e.extensions)||void 0===n?void 0:n.code)==="UNAUTHORIZED"}),willAuthError(e){let n=(0,l.bW)();if(i=null==n?void 0:n.accessToken,t=null==n?void 0:n.refreshToken,"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null===(n=e.name)||void 0===n?void 0:n.value)&&["tokenAuth","registerUser"].includes(e.name.value)})||t&&"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null==e?void 0:null===(n=e.name)||void 0===n?void 0:n.value)==="refreshToken"}))return!1;if(!i)return!0;try{let{exp:e}=(0,r.o)(i);return!e||k(e)}catch(e){return!0}},async refreshAuth(){if(t){var n;let a=await e.mutate(l.Dp,{refreshToken:t});(null===(n=a.data)||void 0===n?void 0:n.refreshToken)?(i=a.data.refreshToken.accessToken,t=a.data.refreshToken.refreshToken,(0,l.pC)({accessToken:i,refreshToken:t})):(0,l.Rn)()}else(0,l.Rn)()}}}),d.Ek]})},39311:function(e,n,i){i.d(n,{S_:function(){return u},aF:function(){return l},cn:function(){return o},x0:function(){return d}});var t=i(50348),a=i(28481),r=i(23986);function o(){for(var e=arguments.length,n=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:50,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/[ ,.:;\n,。:;]/;if(!e)return"";if(e.length<=n)return e;let t=e.slice(0,n),a=-1;for(let e=n-1;e>=0;e--)if(i.test(t[e])){a=e;break}return -1!==a&&(t=t.slice(0,a)),t+"..."}let u=()=>!0}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/8558-54cd5bc5832e8a92.js b/ee/tabby-webserver/ui/_next/static/chunks/8558-54cd5bc5832e8a92.js deleted file mode 100644 index 1337fd29515f..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/8558-54cd5bc5832e8a92.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8558],{2390:function(e,t,n){"use strict";var r=n(25809),l={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,u,i,c,s,d,f=!1;t||(t={}),a=t.debug||!1;try{if(i=r(),c=document.createRange(),s=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=l[t.format]||l.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),c.selectNodeContents(d),s.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){a&&console.error("unable to copy using execCommand: ",r),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(r){a&&console.error("unable to copy using clipboardData: ",r),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",u=n.replace(/#{\s*key\s*}/g,o),window.prompt(u,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(c):s.removeAllRanges()),d&&document.body.removeChild(d),i()}return f}},30415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(21024);n(2265);let l=r._(n(54));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let a=r.loader;return n({...r,loader:()=>null!=a?a().then(o):Promise.resolve(o(()=>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)},63388: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,{suspense:function(){return l},NoSSR:function(){return o}}),n(21024),n(2265);let r=n(54922);function l(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function o(e){let{children:t}=e;return t}},54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(21024),l=r._(n(2265)),o=n(63388),a=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=l.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),a=t.ssr?l.default.Fragment:o.NoSSR,u=t.lazy;return l.default.createElement(l.default.Suspense,{fallback:r},l.default.createElement(a,null,l.default.createElement(u,e)))}return t.lazy=l.default.lazy(t.loader),n.displayName="LoadableComponent",n}},61574:function(e,t,n){"use strict";n.d(t,{OT:function(){return er},eh:function(){return ee},s_:function(){return A}});var r,l=n(2265);let{createElement:o,createContext:a,createRef:u,forwardRef:i,useCallback:c,useContext:s,useEffect:d,useImperativeHandle:f,useLayoutEffect:p,useMemo:v,useRef:y,useState:g}=r||(r=n.t(l,2)),b=(r||(r=n.t(l,2)))["useId".toString()],m=a(null);m.displayName="PanelGroupContext";let h="function"==typeof b?b:()=>null,w=0;function Z(e=null){let t=h(),n=y(e||t||null);return null===n.current&&(n.current=""+w++),null!=e?e:n.current}function j({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:l,forwardedRef:a,id:u,maxSize:i,minSize:c,onCollapse:d,onExpand:v,onResize:g,order:b,style:h,tagName:w="div",...j}){let A=s(m);if(null===A)throw Error("Panel components must be rendered within a PanelGroup container");let{collapsePanel:x,expandPanel:E,getPanelSize:C,getPanelStyle:S,groupId:z,isPanelCollapsed:O,registerPanel:I,resizePanel:D,unregisterPanel:P}=A,M=Z(u),N=y({callbacks:{onCollapse:d,onExpand:v,onResize:g},constraints:{collapsedSize:n,collapsible:r,defaultSize:l,maxSize:i,minSize:c},id:M,idIsFromProps:void 0!==u,order:b});y({didLogMissingDefaultSizeWarning:!1}),p(()=>{let{callbacks:e,constraints:t}=N.current;N.current.id=M,N.current.idIsFromProps=void 0!==u,N.current.order=b,e.onCollapse=d,e.onExpand=v,e.onResize=g,t.collapsedSize=n,t.collapsible=r,t.defaultSize=l,t.maxSize=i,t.minSize=c}),p(()=>{let e=N.current;return I(e),()=>{P(e)}},[b,M,I,P]),f(a,()=>({collapse:()=>{x(N.current)},expand:()=>{E(N.current)},getId:()=>M,getSize:()=>C(N.current),isCollapsed:()=>O(N.current),isExpanded:()=>!O(N.current),resize:e=>{D(N.current,e)}}),[x,E,C,O,M,D]);let k=S(N.current,l);return o(w,{...j,children:e,className:t,style:{...k,...h},"data-panel":"","data-panel-id":M,"data-panel-group-id":z,"data-panel-collapsible":void 0,"data-panel-size":void 0})}let A=i((e,t)=>o(j,{...e,forwardedRef:t}));function x(e,t="Assertion failed!"){if(!e)throw console.error(t),Error(t)}function E(e,t,n=10){e=parseFloat(e.toFixed(n)),t=parseFloat(t.toFixed(n));let r=e-t;return 0===r?0:r>0?1:-1}function C(e,t,n){return 0===E(e,t,n)}function S({panelConstraints:e,panelIndex:t,size:n}){let r=e[t];x(null!=r);let{collapsedSize:l=0,collapsible:o,maxSize:a=100,minSize:u=0}=r;if(0>E(n,u)){if(o){let e=(l+u)/2;n=0>E(n,e)?l:u}else n=u}return n=parseFloat((n=Math.min(a,n)).toFixed(10))}function z({delta:e,layout:t,panelConstraints:n,pivotIndices:r,trigger:l}){if(C(e,0))return t;let o=[...t],[a,u]=r;x(null!=a),x(null!=u);let i=0;if("keyboard"===l){{let r=e<0?u:a,l=n[r];if(x(l),l.collapsible){let l=t[r];x(null!=l);let o=n[r];x(o);let{collapsedSize:a=0,minSize:u=0}=o;if(C(l,a)){let t=u-l;E(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}{let r=e<0?a:u,l=n[r];x(l);let{collapsible:o}=l;if(o){let l=t[r];x(null!=l);let o=n[r];x(o);let{collapsedSize:a=0,minSize:u=0}=o;if(C(l,u)){let t=l-a;E(t,Math.abs(e))>0&&(e=e<0?0-t:t)}}}}{let r=e<0?1:-1,l=e<0?u:a,o=0;for(;;){let e=t[l];x(null!=e);let a=S({panelConstraints:n,panelIndex:l,size:100}),u=a-e;if(o+=u,(l+=r)<0||l>=n.length)break}let i=Math.min(Math.abs(e),Math.abs(o));e=e<0?0-i:i}{let r=e<0?a:u,l=r;for(;l>=0&&l=0))break;e<0?l--:l++}}if(C(i,0))return t;{let r=e<0?u:a,l=t[r];x(null!=l);let c=l+i,s=S({panelConstraints:n,panelIndex:r,size:c});if(o[r]=s,!C(s,c)){let t=c-s,r=e<0?u:a,l=r;for(;l>=0&&l0?l--:l++}}}let c=o.reduce((e,t)=>t+e,0);return C(c,100)?o:t}function O(e){return Array.from(document.querySelectorAll(`[data-panel-resize-handle-id][data-panel-group-id="${e}"]`))}function I(e,t){let n=O(e),r=n.findIndex(e=>e.getAttribute("data-panel-resize-handle-id")===t);return null!=r?r:null}function D(e,t){let n=I(e,t);return null!=n?[n,n+1]:[-1,-1]}function P(e){let t=document.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return t||null}function M(e){let t=document.querySelector(`[data-panel-resize-handle-id="${e}"]`);return t||null}function N(e,t){if(e.length!==t.length)return!1;for(let n=0;n{let l=e[r];x(l);let{callbacks:o,constraints:a,id:u}=l,{collapsedSize:i=0,collapsible:c}=a,s=n[u];if(null==s||t!==s){n[u]=t;let{onCollapse:e,onExpand:r,onResize:l}=o;l&&l(t,s),c&&(e||r)&&(r&&(null==s||s===i)&&t!==i&&r(),e&&(null==s||s!==i)&&t===i&&e())}})}function U(e,t){if(e.length!==t.length)return!1;for(let n=0;nlocalStorage.getItem(e),e.setItem=(e,t)=>{localStorage.setItem(e,t)};else throw Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function W(e){return`react-resizable-panels:${e}`}function X(e){return e.map(e=>{let{constraints:t,id:n,idIsFromProps:r,order:l}=e;return r?n:l?`${l}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((e,t)=>e.localeCompare(t)).join(",")}function J(e,t){try{let n=W(e),r=t.getItem(n);if(r){let e=JSON.parse(r);if("object"==typeof e&&null!=e)return e}}catch(e){}return null}function Y(e,t,n,r,l){var o;let a=W(e),u=X(t),i=null!==(o=J(e,l))&&void 0!==o?o:{};i[u]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{l.setItem(a,JSON.stringify(i))}catch(e){console.error(e)}}function q({layout:e,panelConstraints:t}){let n=[...e],r=n.reduce((e,t)=>e+t,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(e=>`${e}%`).join(", ")}`);if(!C(r,100))for(let e=0;e(G(K),K.getItem(e)),setItem:(e,t)=>{G(K),K.setItem(e,t)}},V={};function Q({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:l,id:a=null,onLayout:u=null,keyboardResizeBy:i=null,storage:s=K,style:b,tagName:h="div",...w}){let j=Z(a),[A,E]=g(null),[S,I]=g([]),B=y({}),G=y(new Map),W=y(0),Q=y({autoSaveId:e,direction:r,dragState:A,id:j,keyboardResizeBy:i,onLayout:u,storage:s}),ee=y({layout:S,panelDataArray:[],panelDataArrayChanged:!1});y({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),f(l,()=>({getId:()=>Q.current.id,getLayout:()=>{let{layout:e}=ee.current;return e},setLayout:e=>{let{onLayout:t}=Q.current,{layout:n,panelDataArray:r}=ee.current,l=q({layout:e,panelConstraints:r.map(e=>e.constraints)});N(n,l)||(I(l),ee.current.layout=l,t&&t(l),F(r,l,B.current))}}),[]),p(()=>{Q.current.autoSaveId=e,Q.current.direction=r,Q.current.dragState=A,Q.current.id=j,Q.current.onLayout=u,Q.current.storage=s}),function({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:l,setLayout:o}){y({didWarnAboutMissingResizeHandle:!1}),p(()=>{let e=O(n);for(let t=0;t{let{constraints:n}=e,{maxSize:i=100,minSize:c=0}=n;t===u?(r=c,l=i):(o+=c,a+=i)});let i=Math.min(l,100-o),c=Math.max(r,100-a),s=e[u];return{valueMax:i,valueMin:c,valueNow:s}}({layout:r,panelsArray:l,pivotIndices:[t,t+1]}),u=e[t];if(null==u);else{let e=l[t];x(e),u.setAttribute("aria-controls",e.id),u.setAttribute("aria-valuemax",""+Math.round(n)),u.setAttribute("aria-valuemin",""+Math.round(o)),u.setAttribute("aria-valuenow",null!=a?""+Math.round(a):"")}}return()=>{e.forEach((e,t)=>{e.removeAttribute("aria-controls"),e.removeAttribute("aria-valuemax"),e.removeAttribute("aria-valuemin"),e.removeAttribute("aria-valuenow")})}},[n,r,l]),d(()=>{let e=t.current;x(e);let{panelDataArray:l}=e,a=P(n);x(null!=a,`No group found for id "${n}"`);let u=O(n);x(u);let i=u.map(e=>{let t=e.getAttribute("data-panel-resize-handle-id");x(t);let[a,u]=function(e,t,n){var r,l,o,a;let u=M(t),i=O(e),c=u?i.indexOf(u):-1,s=null!==(r=null===(l=n[c])||void 0===l?void 0:l.id)&&void 0!==r?r:null,d=null!==(o=null===(a=n[c+1])||void 0===a?void 0:a.id)&&void 0!==o?o:null;return[s,d]}(n,t,l);if(null==a||null==u)return()=>{};let i=e=>{if(!e.defaultPrevented&&"Enter"===e.key){e.preventDefault();let u=l.findIndex(e=>e.id===a);if(u>=0){let e=l[u];x(e);let a=r[u],{collapsedSize:i=0,collapsible:c,minSize:s=0}=e.constraints;if(null!=a&&c){let e=z({delta:C(a,i)?s-i:i-a,layout:r,panelConstraints:l.map(e=>e.constraints),pivotIndices:D(n,t),trigger:"keyboard"});r!==e&&o(e)}}}};return e.addEventListener("keydown",i),()=>{e.removeEventListener("keydown",i)}});return()=>{i.forEach(e=>e())}},[e,t,n,r,l,o])}({committedValuesRef:Q,eagerValuesRef:ee,groupId:j,layout:S,panelDataArray:ee.current.panelDataArray,setLayout:I}),d(()=>{let{panelDataArray:t}=ee.current;if(e){if(0===S.length||S.length!==t.length)return;let n=V[e];null==n&&(n=function(e,t=10){let n=null;return(...r)=>{null!==n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}(Y,100),V[e]=n);let r=[...t],l=new Map(G.current);n(e,r,l,S,s)}},[e,S,s]),d(()=>{});let er=c(e=>{let{onLayout:t}=Q.current,{layout:n,panelDataArray:r}=ee.current;if(e.constraints.collapsible){let l=r.map(e=>e.constraints),{collapsedSize:o=0,panelSize:a,pivotIndices:u}=en(r,e,n);if(x(null!=a),a!==o){G.current.set(e.id,a);let i=et(r,e)===r.length-1,c=i?a-o:o-a,s=z({delta:c,layout:n,panelConstraints:l,pivotIndices:u,trigger:"imperative-api"});U(n,s)||(I(s),ee.current.layout=s,t&&t(s),F(r,s,B.current))}}},[]),el=c(e=>{let{onLayout:t}=Q.current,{layout:n,panelDataArray:r}=ee.current;if(e.constraints.collapsible){let l=r.map(e=>e.constraints),{collapsedSize:o=0,panelSize:a,minSize:u=0,pivotIndices:i}=en(r,e,n);if(a===o){let o=G.current.get(e.id),c=null!=o&&o>=u?o:u,s=et(r,e)===r.length-1,d=z({delta:s?a-c:c-a,layout:n,panelConstraints:l,pivotIndices:i,trigger:"imperative-api"});U(n,d)||(I(d),ee.current.layout=d,t&&t(d),F(r,d,B.current))}}},[]),eo=c(e=>{let{layout:t,panelDataArray:n}=ee.current,{panelSize:r}=en(n,e,t);return x(null!=r),r},[]),ea=c((e,t)=>{let{panelDataArray:n}=ee.current,r=et(n,e);return function({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:l,precision:o=3}){let a=n[l];return{flexBasis:0,flexGrow:null==a?null!=e?e:"1":1===r.length?"1":a.toPrecision(o),flexShrink:1,overflow:"hidden",pointerEvents:null!==t?"none":void 0}}({defaultSize:t,dragState:A,layout:S,panelData:n,panelIndex:r})},[A,S]),eu=c(e=>{let{layout:t,panelDataArray:n}=ee.current,{collapsedSize:r=0,collapsible:l,panelSize:o}=en(n,e,t);return!0===l&&o===r},[]),ei=c(e=>{let{layout:t,panelDataArray:n}=ee.current,{collapsedSize:r=0,collapsible:l,panelSize:o}=en(n,e,t);return x(null!=o),!l||o>r},[]),ec=c(e=>{let{panelDataArray:t}=ee.current;t.push(e),t.sort((e,t)=>{let n=e.order,r=t.order;return null==n&&null==r?0:null==n?-1:null==r?1:n-r}),ee.current.panelDataArrayChanged=!0},[]);p(()=>{if(ee.current.panelDataArrayChanged){ee.current.panelDataArrayChanged=!1;let{autoSaveId:e,onLayout:t,storage:n}=Q.current,{layout:r,panelDataArray:l}=ee.current,o=null;if(e){let t=function(e,t,n){var r,l;let o=null!==(r=J(e,n))&&void 0!==r?r:{},a=X(t);return null!==(l=o[a])&&void 0!==l?l:null}(e,l,n);t&&(G.current=new Map(Object.entries(t.expandToSizes)),o=t.layout)}null==o&&(o=function({panelDataArray:e}){let t=Array(e.length),n=e.map(e=>e.constraints),r=0,l=100;for(let o=0;oe.constraints)});N(r,a)||(I(a),ee.current.layout=a,t&&t(a),F(l,a,B.current))}});let es=c(e=>function(t){t.preventDefault();let{direction:n,dragState:r,id:l,keyboardResizeBy:o,onLayout:a}=Q.current,{layout:u,panelDataArray:i}=ee.current,{initialLayout:c}=null!=r?r:{},s=D(l,e),d=function(e,t,n,r,l){if(k(e)){let t="horizontal"===n,r=0;r=e.shiftKey?100:null!=l?l:10;let o=0;switch(e.key){case"ArrowDown":o=t?0:r;break;case"ArrowLeft":o=t?-r:0;break;case"ArrowRight":o=t?r:0;break;case"ArrowUp":o=t?0:-r;break;case"End":o=100;break;case"Home":o=-100}return o}return null==r?0:function(e,t,n,r){let l="horizontal"===n,o=M(t);x(o);let a=o.getAttribute("data-panel-group-id");x(a);let{initialCursorPosition:u}=r,i=_(n,e),c=P(a);x(c);let s=c.getBoundingClientRect(),d=l?s.width:s.height;return(i-u)/d*100}(e,t,n,r)}(t,e,n,r,o);if(0===d)return;let f="horizontal"===n;"rtl"===document.dir&&f&&(d=-d);let p=i.map(e=>e.constraints),v=z({delta:d,layout:null!=c?c:u,panelConstraints:p,pivotIndices:s,trigger:k(t)?"keyboard":"mouse-or-touch"}),y=!U(u,v);(L(t)||R(t))&&W.current!=d&&(W.current=d,y?H(f?"horizontal":"vertical"):f?H(d<0?"horizontal-min":"horizontal-max"):H(d<0?"vertical-min":"vertical-max")),y&&(I(v),ee.current.layout=v,a&&a(v),F(i,v,B.current))},[]),ed=c((e,t)=>{let{onLayout:n}=Q.current,{layout:r,panelDataArray:l}=ee.current,o=l.map(e=>e.constraints),{panelSize:a,pivotIndices:u}=en(l,e,r);x(null!=a);let i=et(l,e)===l.length-1,c=i?a-t:t-a,s=z({delta:c,layout:r,panelConstraints:o,pivotIndices:u,trigger:"imperative-api"});U(r,s)||(I(s),ee.current.layout=s,n&&n(s),F(l,s,B.current))},[]),ef=c((e,t)=>{let{direction:n}=Q.current,{layout:r}=ee.current,l=M(e);x(l);let o=_(n,t);E({dragHandleId:e,dragHandleRect:l.getBoundingClientRect(),initialCursorPosition:o,initialLayout:r})},[]),ep=c(()=>{null!==$&&(document.head.removeChild($),T=null,$=null),E(null)},[]),ev=c(e=>{let{panelDataArray:t}=ee.current,n=et(t,e);n>=0&&(t.splice(n,1),delete B.current[e.id],ee.current.panelDataArrayChanged=!0)},[]),ey=v(()=>({collapsePanel:er,direction:r,dragState:A,expandPanel:el,getPanelSize:eo,getPanelStyle:ea,groupId:j,isPanelCollapsed:eu,isPanelExpanded:ei,registerPanel:ec,registerResizeHandle:es,resizePanel:ed,startDragging:ef,stopDragging:ep,unregisterPanel:ev}),[er,A,r,el,eo,ea,j,eu,ei,ec,es,ed,ef,ep,ev]);return o(m.Provider,{value:ey},o(h,{...w,children:t,className:n,style:{display:"flex",flexDirection:"horizontal"===r?"row":"column",height:"100%",overflow:"hidden",width:"100%",...b},"data-panel-group":"","data-panel-group-direction":r,"data-panel-group-id":j}))}let ee=i((e,t)=>o(Q,{...e,forwardedRef:t}));function et(e,t){return e.findIndex(e=>e===t||e.id===t.id)}function en(e,t,n){let r=e.map(e=>e.constraints),l=et(e,t),o=r[l],a=l===e.length-1,u=n[l];return{...o,panelSize:u,pivotIndices:a?[l-1,l]:[l,l+1]}}function er({children:e=null,className:t="",disabled:n=!1,id:r,onDragging:l,style:a={},tabIndex:u=0,tagName:i="div",...f}){let p=y(null),v=y({onDragging:l});d(()=>{v.current.onDragging=l});let b=s(m);if(null===b)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");let{direction:h,dragState:w,groupId:j,registerResizeHandle:A,startDragging:E,stopDragging:C}=b,S=Z(r),z=(null==w?void 0:w.dragHandleId)===S,[D,P]=g(!1),[N,k]=g(null),L=c(()=>{let e=p.current;x(e),e.blur(),C();let{onDragging:t}=v.current;t&&t(!1)},[C]);d(()=>{if(n)k(null);else{let e=A(S);k(()=>e)}},[n,S,A]),d(()=>{if(n||null==N||!z)return;let e=e=>{N(e)},t=e=>{N(e)},r=p.current;x(r);let l=r.ownerDocument;return l.body.addEventListener("contextmenu",L),l.body.addEventListener("mousemove",e),l.body.addEventListener("touchmove",e),l.body.addEventListener("mouseleave",t),window.addEventListener("mouseup",L),window.addEventListener("touchend",L),()=>{l.body.removeEventListener("contextmenu",L),l.body.removeEventListener("mousemove",e),l.body.removeEventListener("touchmove",e),l.body.removeEventListener("mouseleave",t),window.removeEventListener("mouseup",L),window.removeEventListener("touchend",L)}},[h,n,z,N,L]),function({disabled:e,handleId:t,resizeHandler:n}){d(()=>{if(e||null==n)return;let r=M(t);if(null==r)return;let l=e=>{if(!e.defaultPrevented)switch(e.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":e.preventDefault(),n(e);break;case"F6":{e.preventDefault();let n=r.getAttribute("data-panel-group-id");x(n);let l=O(n),o=I(n,t);x(null!==o);let a=e.shiftKey?o>0?o-1:l.length-1:o+1{r.removeEventListener("keydown",l)}},[e,t,n])}({disabled:n,handleId:S,resizeHandler:N});let R={cursor:B(h),touchAction:"none",userSelect:"none"};return o(i,{...f,children:e,className:t,onBlur:()=>P(!1),onFocus:()=>P(!0),onMouseDown:e=>{E(S,e.nativeEvent);let t=v.current;x(t);let{onDragging:n}=t;n&&n(!0)},onMouseUp:L,onTouchCancel:L,onTouchEnd:L,onTouchStart:e=>{E(S,e.nativeEvent);let t=v.current;x(t);let{onDragging:n}=t;n&&n(!0)},ref:p,role:"separator",style:{...R,...a},tabIndex:u,"data-panel-group-direction":h,"data-panel-group-id":j,"data-resize-handle":"","data-resize-handle-active":z?"pointer":D?"keyboard":void 0,"data-panel-resize-handle-enabled":!n,"data-panel-resize-handle-id":S})}Q.displayName="PanelGroup",ee.displayName="forwardRef(PanelGroup)",er.displayName="PanelResizeHandle"},25809:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;rl?0:l+t),(n=n>l?l:n)<0&&(n+=l),l=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(l);++r-1?u[i?e[c]:c]:void 0})},91067:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=Object.prototype.hasOwnProperty,l=function(e,t){return null!=e&&r.call(e,t)},o=n(12494),a=function(e,t){return null!=e&&(0,o.Z)(e,t,l)}},24144:function(e,t){"use strict";t.Z=function(e){return null==e}},13879:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(86070),l=n(64164),o=n(26343),a=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},u=Object.prototype.hasOwnProperty,i=function(e){if(!(0,l.Z)(e))return a(e);var t=(0,o.Z)(e),n=[];for(var r in e)"constructor"==r&&(t||!u.call(e,r))||n.push(r);return n},c=n(85222),s=function(e){return(0,c.Z)(e)?(0,r.Z)(e,!0):i(e)}},95376:function(e,t,n){"use strict";n.d(t,{Z:function(){return eO}});var r,l,o,a,u,i=n(89688),c=n(43128),s=function(e,t){for(var n=-1,r=null==e?0:e.length;++n0&&r(i)?n>1?e(i,n-1,r,l,o):(0,em.Z)(o,i):l||(o[o.length]=i)}return o},eA=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},ex=Math.max,eE=n(73043),eC=n(8293),eS=eE.Z?function(e,t){return(0,eE.Z)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eC.Z,ez=Date.now,eO=(r=0,l=0,function(){var e=ez(),t=16-(e-l);if(l=e,t>0){if(++r>=800)return arguments[0]}else r=0;return eS.apply(void 0,arguments)})((a=o=function(e,t){var n={};if(null==e)return n;var r=!1;t=(0,i.Z)(t,function(t){return t=(0,eo.Z)(t,e),r||(r=t.length>1),t}),p(e,(0,C.Z)(e),n),r&&(n=el(n,7,eb));for(var l=t.length;l--;)es(n,t[l]);return n},u=ex((u=void 0,a.length-1),0),function(){for(var e=arguments,t=-1,n=ex(e.length-u,0),r=Array(n);++t(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)))}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/cluster/page-f3dcac508d35671b.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/cluster/page-6e897e13cb90cf27.js similarity index 98% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/cluster/page-f3dcac508d35671b.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/cluster/page-6e897e13cb90cf27.js index 532f7bcf67c5..fc40d1d51f91 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/cluster/page-f3dcac508d35671b.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/cluster/page-6e897e13cb90cf27.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4131],{62878:function(e,t,n){Promise.resolve().then(n.bind(n,28883))},28883:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(57437),s=n(81860),i=n(99109),o=n(58835),a=n(70349),l=n(13287),c=n(8724),d=n(7820),u=n(93023),h=n(84168),x=n(51908),f=n(16775),p=n(33555),m=n(39311),v=n(86110);function j(e){let{addr:t,name:n,kind:s,device:i,cudaDevices:o,cpuCount:a,cpuInfo:l}=e,c=(0,m.cn)("ml-2","whitespace-nowrap","overflow-hidden","text-ellipsis"),d="".concat(l," (").concat(a," cores)");return(0,r.jsxs)(v.Zb,{className:"rounded-xl p-2 shadow-md lg:w-[260px]",children:[(0,r.jsx)(v.Ol,{className:"p-0 px-4 pb-2 pt-4",children:(0,r.jsxs)(v.ll,{className:"text-md flex items-center font-normal",children:[(0,r.jsx)(w,{type:s}),(0,r.jsx)("p",{title:n,className:c,children:n})]})}),(0,r.jsxs)(v.aY,{className:"flex flex-col gap-2 p-0 px-4 pb-4 pt-2",children:[(0,r.jsxs)(g,{children:[(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:" h-5 w-5",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("rect",{x:"16",y:"16",width:"6",height:"6",rx:"1"}),(0,r.jsx)("rect",{x:"2",y:"16",width:"6",height:"6",rx:"1"}),(0,r.jsx)("rect",{x:"9",y:"2",width:"6",height:"6",rx:"1"}),(0,r.jsx)("path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"}),(0,r.jsx)("path",{d:"M12 12V8"})]}),(0,r.jsx)("p",{title:t,className:c,children:t})]}),(0,r.jsxs)(g,{children:[(0,r.jsxs)("svg",{className:" h-5 w-5",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{height:"16",rx:"2",width:"16",x:"4",y:"4"}),(0,r.jsx)("rect",{height:"6",width:"6",x:"9",y:"9"}),(0,r.jsx)("path",{d:"M15 2v2"}),(0,r.jsx)("path",{d:"M15 20v2"}),(0,r.jsx)("path",{d:"M2 15h2"}),(0,r.jsx)("path",{d:"M2 9h2"}),(0,r.jsx)("path",{d:"M20 15h2"}),(0,r.jsx)("path",{d:"M20 9h2"}),(0,r.jsx)("path",{d:"M9 2v2"}),(0,r.jsx)("path",{d:"M9 20v2"})]}),(0,r.jsx)("p",{title:d,className:c,children:d})]}),"cuda"==i&&(null==o?void 0:o.length)&&o.map((e,t)=>(0,r.jsxs)(g,{children:[(0,r.jsxs)("svg",{className:" h-5 w-5",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M6 19v-3"}),(0,r.jsx)("path",{d:"M10 19v-3"}),(0,r.jsx)("path",{d:"M14 19v-3"}),(0,r.jsx)("path",{d:"M18 19v-3"}),(0,r.jsx)("path",{d:"M8 11V9"}),(0,r.jsx)("path",{d:"M16 11V9"}),(0,r.jsx)("path",{d:"M12 11V9"}),(0,r.jsx)("path",{d:"M2 15h20"}),(0,r.jsx)("path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z"})]}),(0,r.jsx)("p",{title:e,className:c,children:e})]},t))]})]})}function g(e){let{children:t}=e;return(0,r.jsx)("div",{className:"mt-2 flex items-center text-sm text-card-foreground/70",children:t})}function w(e){let{type:t}=e,n="h-5 w-5";return t==a.xj.Completion?(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),(0,r.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,r.jsx)("path",{d:"m10 13-2 2 2 2"}),(0,r.jsx)("path",{d:"m14 17 2-2-2-2"})]}):t==a.xj.Chat?(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v5Z"}),(0,r.jsx)("path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"})]}):"INDEX"==t?(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"m9 9-2 2 2 2"}),(0,r.jsx)("path",{d:"m13 13 2-2-2-2"}),(0,r.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,r.jsx)("path",{d:"m21 21-4.3-4.3"})]}):void 0}let k=(0,o.BX)("\n query GetRegistrationToken {\n registrationToken\n }\n"),N=(0,o.BX)("\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n");function b(){let{data:e}=(0,l.Q)(),t=(0,c.s)(),[{data:n},o]=(0,i.aM)({query:k}),m=(0,d.D)(N,{onCompleted(){o()}});if(e)return(0,r.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,r.jsxs)("h1",{children:[(0,r.jsx)("span",{className:"font-bold",children:"Congratulations"}),", your tabby instance is up!"]}),(0,r.jsx)("span",{className:"flex flex-wrap gap-1",children:(0,r.jsx)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby/releases/tag/".concat(e.version.git_describe),children:(0,r.jsx)("img",{src:"https://img.shields.io/badge/version-".concat(encodeURIComponent(e.version.git_describe.replaceAll("-","--")),"-green")})})}),(0,r.jsx)(f.Z,{}),!!(null==n?void 0:n.registrationToken)&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:["Registration token:",(0,r.jsx)(x.I,{className:"max-w-[320px] font-mono text-red-600",value:n.registrationToken,onChange:s.Z}),(0,r.jsx)(u.z,{title:"Rotate",size:"icon",variant:"hover-destructive",onClick:()=>m(),children:(0,r.jsx)(h.TE,{})}),(0,r.jsx)(p.q,{value:n.registrationToken})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-4 lg:flex-row lg:flex-wrap",children:[!!(null==t?void 0:t[a.xj.Completion])&&(0,r.jsx)(r.Fragment,{children:t[a.xj.Completion].map((e,t)=>(0,r.jsx)(j,{...e},t))}),!!(null==t?void 0:t[a.xj.Chat])&&(0,r.jsx)(r.Fragment,{children:t[a.xj.Chat].map((e,t)=>(0,r.jsx)(j,{...e},t))}),(0,r.jsx)(j,{addr:"localhost",name:"Code Search Index",kind:"INDEX",arch:"",device:e.device,cudaDevices:e.cuda_devices,cpuCount:e.cpu_count,cpuInfo:e.cpu_info})]})]})}},33555:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(57437);n(2265);var s=n(77723),i=n(93023),o=n(84168);function a(e){let{className:t,value:n,...a}=e,{isCopied:l,copyToClipboard:c}=(0,s.m)({timeout:2e3});return n?(0,r.jsxs)(i.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{l||c(n)},...a,children:[l?(0,r.jsx)(o.NO,{className:"text-green-600"}):(0,r.jsx)(o.vU,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},86110:function(e,t,n){"use strict";n.d(t,{Ol:function(){return a},Zb:function(){return o},aY:function(){return d},eW:function(){return u},ll:function(){return l}});var r=n(57437),s=n(2265),i=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",n),...s})});o.displayName="Card";let a=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",n),...s})});a.displayName="CardHeader";let l=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",n),...s})});l.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",n),...s})});c.displayName="CardDescription";let d=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",n),...s})});d.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",n),...s})});u.displayName="CardFooter"},51908:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(57437),s=n(2265),i=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,type:s,...o}=e;return(0,r.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...o})});o.displayName="Input"},16775:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57437),s=n(2265),i=n(26823),o=n(39311);let a=s.forwardRef((e,t)=>{let{className:n,orientation:s="horizontal",decorative:a=!0,...l}=e;return(0,r.jsx)(i.f,{ref:t,decorative:a,orientation:s,className:(0,o.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",n),...l})});a.displayName=i.f.displayName},77723:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(2265),s=n(2390),i=n.n(s),o=n(71424);function a(e){let{timeout:t=2e3,onError:n}=e,[s,a]=r.useState(!1),l=()=>{a(!0),setTimeout(()=>{a(!1)},t)},c=e=>{if("function"==typeof n){null==n||n(e);return}o.A.error("Failed to copy.")};return{isCopied:s,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(l).catch(c);else{let t=i()(e);t?l():c()}}}}}},13287:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(30713),s=n(1592);function i(){return(0,r.ZP)("/v1/health",s.Z)}},8724:function(e,t,n){"use strict";n.d(t,{s:function(){return f}});var r=n(2265),s=n(16630),i=n(91317),o=n(63303),a=n(99109),l=n(58835),c=n(70349),d=n(13287);let u={[c.xj.Chat]:"chat_model",[c.xj.Completion]:"model"};function h(e,t){var n;return{kind:t,device:e.device,addr:"localhost",arch:"",cpuInfo:e.cpu_info,name:null!==(n=null==e?void 0:e[u[t]])&&void 0!==n?n:"",cpuCount:e.cpu_count,cudaDevices:e.cuda_devices}}let x=(0,l.BX)("\n query GetWorkers {\n workers {\n kind\n name\n addr\n device\n arch\n cpuInfo\n cpuCount\n cudaDevices\n }\n }\n");function f(){let{data:e}=(0,d.Q)(),[{data:t}]=(0,a.aM)({query:x}),n=null==t?void 0:t.workers,l=r.useMemo(()=>{let t=(0,o.Z)(n),r=(0,s.Z)(t,{kind:c.xj.Completion})>-1,a=(0,s.Z)(t,{kind:c.xj.Chat})>-1;return!r&&(null==e?void 0:e.model)&&t.push(h(e,c.xj.Completion)),!a&&(null==e?void 0:e.chat_model)&&t.push(h(e,c.xj.Chat)),(0,i.Z)(t,"kind")},[e,n]);return l}},1592:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(34084),s=n(58001),i=n(7820);let o=!1,a=[];async function l(e,t){let n=await fetch(e,c(t));if(401!==n.status)return(null==t?void 0:t.format)==="text"?n.text():n.json();{var r,i;if(o)return new Promise(n=>{a.push({url:e,init:t,resolve:n})});let n=null===(r=(0,s.bW)())||void 0===r?void 0:r.refreshToken;if(!n){(0,s.Rn)();return}o=!0;let l=await d(n),c=null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.refreshToken;if(c){for((0,s.pC)({accessToken:c.accessToken,refreshToken:c.refreshToken}),o=!1;a.length;){let e=a.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,t)}o=!1,a.length=0,(0,s.Rn)()}}function c(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,s.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function d(e){let t=i.L.createRequestOperation("mutation",(0,r.h)(s.Dp,{refreshToken:e}));return i.L.executeMutation(t)}function u(e,t){return fetch(e,c(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5328,1424,2047,4012,2999,7820,1894,2971,7864,1744],function(){return e(e.s=62878)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4131],{76505:function(e,t,n){Promise.resolve().then(n.bind(n,28883))},28883:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(57437),s=n(81860),i=n(99109),o=n(58835),a=n(70349),l=n(13287),c=n(8724),d=n(7820),u=n(93023),h=n(84168),x=n(51908),f=n(16775),p=n(33555),m=n(39311),v=n(86110);function j(e){let{addr:t,name:n,kind:s,device:i,cudaDevices:o,cpuCount:a,cpuInfo:l}=e,c=(0,m.cn)("ml-2","whitespace-nowrap","overflow-hidden","text-ellipsis"),d="".concat(l," (").concat(a," cores)");return(0,r.jsxs)(v.Zb,{className:"rounded-xl p-2 shadow-md lg:w-[260px]",children:[(0,r.jsx)(v.Ol,{className:"p-0 px-4 pb-2 pt-4",children:(0,r.jsxs)(v.ll,{className:"text-md flex items-center font-normal",children:[(0,r.jsx)(w,{type:s}),(0,r.jsx)("p",{title:n,className:c,children:n})]})}),(0,r.jsxs)(v.aY,{className:"flex flex-col gap-2 p-0 px-4 pb-4 pt-2",children:[(0,r.jsxs)(g,{children:[(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:" h-5 w-5",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("rect",{x:"16",y:"16",width:"6",height:"6",rx:"1"}),(0,r.jsx)("rect",{x:"2",y:"16",width:"6",height:"6",rx:"1"}),(0,r.jsx)("rect",{x:"9",y:"2",width:"6",height:"6",rx:"1"}),(0,r.jsx)("path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"}),(0,r.jsx)("path",{d:"M12 12V8"})]}),(0,r.jsx)("p",{title:t,className:c,children:t})]}),(0,r.jsxs)(g,{children:[(0,r.jsxs)("svg",{className:" h-5 w-5",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{height:"16",rx:"2",width:"16",x:"4",y:"4"}),(0,r.jsx)("rect",{height:"6",width:"6",x:"9",y:"9"}),(0,r.jsx)("path",{d:"M15 2v2"}),(0,r.jsx)("path",{d:"M15 20v2"}),(0,r.jsx)("path",{d:"M2 15h2"}),(0,r.jsx)("path",{d:"M2 9h2"}),(0,r.jsx)("path",{d:"M20 15h2"}),(0,r.jsx)("path",{d:"M20 9h2"}),(0,r.jsx)("path",{d:"M9 2v2"}),(0,r.jsx)("path",{d:"M9 20v2"})]}),(0,r.jsx)("p",{title:d,className:c,children:d})]}),"cuda"==i&&(null==o?void 0:o.length)&&o.map((e,t)=>(0,r.jsxs)(g,{children:[(0,r.jsxs)("svg",{className:" h-5 w-5",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M6 19v-3"}),(0,r.jsx)("path",{d:"M10 19v-3"}),(0,r.jsx)("path",{d:"M14 19v-3"}),(0,r.jsx)("path",{d:"M18 19v-3"}),(0,r.jsx)("path",{d:"M8 11V9"}),(0,r.jsx)("path",{d:"M16 11V9"}),(0,r.jsx)("path",{d:"M12 11V9"}),(0,r.jsx)("path",{d:"M2 15h20"}),(0,r.jsx)("path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z"})]}),(0,r.jsx)("p",{title:e,className:c,children:e})]},t))]})]})}function g(e){let{children:t}=e;return(0,r.jsx)("div",{className:"mt-2 flex items-center text-sm text-card-foreground/70",children:t})}function w(e){let{type:t}=e,n="h-5 w-5";return t==a.xj.Completion?(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),(0,r.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,r.jsx)("path",{d:"m10 13-2 2 2 2"}),(0,r.jsx)("path",{d:"m14 17 2-2-2-2"})]}):t==a.xj.Chat?(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v5Z"}),(0,r.jsx)("path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"})]}):"INDEX"==t?(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"m9 9-2 2 2 2"}),(0,r.jsx)("path",{d:"m13 13 2-2-2-2"}),(0,r.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,r.jsx)("path",{d:"m21 21-4.3-4.3"})]}):void 0}let k=(0,o.BX)("\n query GetRegistrationToken {\n registrationToken\n }\n"),N=(0,o.BX)("\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n");function b(){let{data:e}=(0,l.Q)(),t=(0,c.s)(),[{data:n},o]=(0,i.aM)({query:k}),m=(0,d.D)(N,{onCompleted(){o()}});if(e)return(0,r.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,r.jsxs)("h1",{children:[(0,r.jsx)("span",{className:"font-bold",children:"Congratulations"}),", your tabby instance is up!"]}),(0,r.jsx)("span",{className:"flex flex-wrap gap-1",children:(0,r.jsx)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby/releases/tag/".concat(e.version.git_describe),children:(0,r.jsx)("img",{src:"https://img.shields.io/badge/version-".concat(encodeURIComponent(e.version.git_describe.replaceAll("-","--")),"-green")})})}),(0,r.jsx)(f.Z,{}),!!(null==n?void 0:n.registrationToken)&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:["Registration token:",(0,r.jsx)(x.I,{className:"max-w-[320px] font-mono text-red-600",value:n.registrationToken,onChange:s.Z}),(0,r.jsx)(u.z,{title:"Rotate",size:"icon",variant:"hover-destructive",onClick:()=>m(),children:(0,r.jsx)(h.TE,{})}),(0,r.jsx)(p.q,{value:n.registrationToken})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-4 lg:flex-row lg:flex-wrap",children:[!!(null==t?void 0:t[a.xj.Completion])&&(0,r.jsx)(r.Fragment,{children:t[a.xj.Completion].map((e,t)=>(0,r.jsx)(j,{...e},t))}),!!(null==t?void 0:t[a.xj.Chat])&&(0,r.jsx)(r.Fragment,{children:t[a.xj.Chat].map((e,t)=>(0,r.jsx)(j,{...e},t))}),(0,r.jsx)(j,{addr:"localhost",name:"Code Search Index",kind:"INDEX",arch:"",device:e.device,cudaDevices:e.cuda_devices,cpuCount:e.cpu_count,cpuInfo:e.cpu_info})]})]})}},33555:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(57437);n(2265);var s=n(77723),i=n(93023),o=n(84168);function a(e){let{className:t,value:n,...a}=e,{isCopied:l,copyToClipboard:c}=(0,s.m)({timeout:2e3});return n?(0,r.jsxs)(i.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{l||c(n)},...a,children:[l?(0,r.jsx)(o.NO,{className:"text-green-600"}):(0,r.jsx)(o.vU,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},86110:function(e,t,n){"use strict";n.d(t,{Ol:function(){return a},Zb:function(){return o},aY:function(){return d},eW:function(){return u},ll:function(){return l}});var r=n(57437),s=n(2265),i=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",n),...s})});o.displayName="Card";let a=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",n),...s})});a.displayName="CardHeader";let l=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",n),...s})});l.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",n),...s})});c.displayName="CardDescription";let d=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",n),...s})});d.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",n),...s})});u.displayName="CardFooter"},51908:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(57437),s=n(2265),i=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,type:s,...o}=e;return(0,r.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...o})});o.displayName="Input"},16775:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57437),s=n(2265),i=n(26823),o=n(39311);let a=s.forwardRef((e,t)=>{let{className:n,orientation:s="horizontal",decorative:a=!0,...l}=e;return(0,r.jsx)(i.f,{ref:t,decorative:a,orientation:s,className:(0,o.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",n),...l})});a.displayName=i.f.displayName},77723:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(2265),s=n(2390),i=n.n(s),o=n(71424);function a(e){let{timeout:t=2e3,onError:n}=e,[s,a]=r.useState(!1),l=()=>{a(!0),setTimeout(()=>{a(!1)},t)},c=e=>{if("function"==typeof n){null==n||n(e);return}o.A.error("Failed to copy.")};return{isCopied:s,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(l).catch(c);else{let t=i()(e);t?l():c()}}}}}},13287:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(30713),s=n(1592);function i(){return(0,r.ZP)("/v1/health",s.Z)}},8724:function(e,t,n){"use strict";n.d(t,{s:function(){return f}});var r=n(2265),s=n(16630),i=n(91317),o=n(63303),a=n(99109),l=n(58835),c=n(70349),d=n(13287);let u={[c.xj.Chat]:"chat_model",[c.xj.Completion]:"model"};function h(e,t){var n;return{kind:t,device:e.device,addr:"localhost",arch:"",cpuInfo:e.cpu_info,name:null!==(n=null==e?void 0:e[u[t]])&&void 0!==n?n:"",cpuCount:e.cpu_count,cudaDevices:e.cuda_devices}}let x=(0,l.BX)("\n query GetWorkers {\n workers {\n kind\n name\n addr\n device\n arch\n cpuInfo\n cpuCount\n cudaDevices\n }\n }\n");function f(){let{data:e}=(0,d.Q)(),[{data:t}]=(0,a.aM)({query:x}),n=null==t?void 0:t.workers,l=r.useMemo(()=>{let t=(0,o.Z)(n),r=(0,s.Z)(t,{kind:c.xj.Completion})>-1,a=(0,s.Z)(t,{kind:c.xj.Chat})>-1;return!r&&(null==e?void 0:e.model)&&t.push(h(e,c.xj.Completion)),!a&&(null==e?void 0:e.chat_model)&&t.push(h(e,c.xj.Chat)),(0,i.Z)(t,"kind")},[e,n]);return l}},1592:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(34084),s=n(58001),i=n(7820);let o=!1,a=[];async function l(e,t){let n=await fetch(e,c(t));if(401!==n.status)return(null==t?void 0:t.format)==="text"?n.text():n.json();{var r,i;if(o)return new Promise(n=>{a.push({url:e,init:t,resolve:n})});let n=null===(r=(0,s.bW)())||void 0===r?void 0:r.refreshToken;if(!n){(0,s.Rn)();return}o=!0;let l=await d(n),c=null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.refreshToken;if(c){for((0,s.pC)({accessToken:c.accessToken,refreshToken:c.refreshToken}),o=!1;a.length;){let e=a.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,t)}o=!1,a.length=0,(0,s.Rn)()}}function c(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,s.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function d(e){let t=i.L.createRequestOperation("mutation",(0,r.h)(s.Dp,{refreshToken:e}));return i.L.executeMutation(t)}function u(e,t){return fetch(e,c(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5135,1424,2047,4012,2999,7820,1894,2971,7864,1744],function(){return e(e.s=76505)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js deleted file mode 100644 index ab8c177bd36a..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5642],{3811:function(e,n,t){Promise.resolve().then(t.bind(t,67854)),Promise.resolve().then(t.bind(t,81496)),Promise.resolve().then(t.bind(t,18851))},67854:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return x}});var r=t(57437),s=t(16691),l=t.n(s),a=t(61396),i=t.n(a),o=t(24033),d={src:"/_next/static/media/logo-dark.362a169d.png",height:149,width:395,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAQAAAAEwYbDAAAAOklEQVR42gXAIQqAMBQA0A+K3eIVHNhEk21Wk5iN4g6w6z9GyBaDZDLr9OH0qD6/4nWHUZLtNqvL0QDmsR1AxwcSfQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},c={src:"/_next/static/media/logo.526f7cf9.png",height:184,width:607,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAASklEQVR4nGPsKQh1f/HshV/PqtNtagrC8p++//rDAgQM//9/ZWJifMZYnRqg9+bVq6iZ51+1SP/5ovH//z8eRgbGbwyMjPxA9n0AMi8g2L1xUkUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2},u=t(7404),f=t(58001),h=t(39311),m=t(84168);function x(e){let{children:n,className:t}=e,{data:s}=(0,f.kP)(),a=(null==s?void 0:s.isAdmin)||!1;return(0,r.jsxs)("div",{className:(0,h.cn)("grid overflow-hidden lg:grid-cols-[280px_1fr]",t),children:[(0,r.jsx)("div",{className:"hidden border-r lg:block",children:(0,r.jsxs)("div",{className:"flex h-full flex-col gap-2",children:[(0,r.jsx)("div",{className:"h-[12px]"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)("nav",{className:"grid items-start gap-2 px-4 text-sm font-medium",children:[(0,r.jsxs)(i(),{href:"/",className:"flex justify-center pb-4",children:[(0,r.jsx)(l(),{src:c,alt:"logo",width:128,className:"dark:hidden"}),(0,r.jsx)(l(),{src:d,alt:"logo",width:96,className:"hidden dark:block"})]}),(0,r.jsxs)(v,{href:"/",children:[(0,r.jsx)(m.A2,{})," Home"]}),a&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v,{href:"/cluster",children:[(0,r.jsx)(m.im,{})," Cluster Information"]}),(0,r.jsxs)(v,{href:"/team",children:[(0,r.jsx)(m.Sr,{})," Team Management"]})]})]})})]})}),(0,r.jsx)("div",{className:"flex flex-1 flex-col overflow-auto",children:n})]})}let p=(0,u.j)("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:bg-accent",{variants:{state:{selected:"bg-accent","not-selected":""}},defaultVariants:{state:"not-selected"}});function v(e){let{href:n,children:t}=e,s=(0,o.usePathname)();return(0,r.jsx)(i(),{className:p({state:s==n?"selected":"not-selected"}),href:n,children:t})}},81496:function(e,n,t){"use strict";t.r(n),t.d(n,{Header:function(){return R}});var r=t(57437),s=t(2265),l=t(73737),a=t(13287),i=t(1589),o=t(93023),d=t(84168),c=t(6435);function u(){let{setTheme:e,theme:n}=(0,c.F)(),[t,l]=s.useTransition();return(0,r.jsxs)(o.z,{variant:"ghost",size:"icon",onClick:()=>{l(()=>{e("light"===n?"dark":"light")})},children:["dark"===n?(0,r.jsx)(d.C9,{className:"transition-all"}):(0,r.jsx)(d.O3,{className:"transition-all"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}var f=t(91067),h=t(11372),m=t(70349),x=t(8724),p=t(58001),v=t(90449),j=t(39311);let g=v.fC,b=v.xz;v.ZA,v.Uv,v.Tr,v.Ee;let N=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(v.tu,{ref:n,className:(0,j.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...s})});N.displayName=v.tu.displayName;let A=s.forwardRef((e,n)=>{let{className:t,sideOffset:s=4,...l}=e;return(0,r.jsx)(v.Uv,{children:(0,r.jsx)(v.VY,{ref:n,sideOffset:s,className:(0,j.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...l})})});A.displayName=v.VY.displayName;let w=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(v.ck,{ref:n,className:(0,j.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...l})});w.displayName=v.ck.displayName;let k=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(v.__,{ref:n,className:(0,j.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...l})});k.displayName=v.__.displayName;let y=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(v.Z0,{ref:n,className:(0,j.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});function C(){let e=(0,p.av)(),n=(0,p.QJ)(),t=(0,x.s)(),s=(0,f.Z)(t,m.xj.Chat);if(!e)return;let l=(0,h.B)(e.email);return(0,r.jsxs)(g,{children:[(0,r.jsx)(b,{children:(0,r.jsx)("span",{className:"flex h-10 w-10 rounded-full border",children:(0,r.jsx)(h.Z,{className:"w-full",...l})})}),(0,r.jsxs)(A,{collisionPadding:{right:16},children:[(0,r.jsx)(k,{children:e.email}),(0,r.jsx)(y,{}),s&&(0,r.jsxs)(w,{onClick:()=>window.open("/playground"),className:"cursor-pointer",children:[(0,r.jsx)(d.f7,{}),(0,r.jsx)("span",{className:"ml-2",children:"Chat Playground"})]}),(0,r.jsxs)(w,{onClick:()=>window.open("/files"),className:"cursor-pointer",children:[(0,r.jsx)(d.se,{}),(0,r.jsx)("span",{className:"ml-2",children:"Code Browser"})]}),(0,r.jsxs)(w,{onClick:()=>window.open("/api"),className:"cursor-pointer",children:[(0,r.jsx)(d.LW,{}),(0,r.jsx)("span",{className:"ml-2",children:"API Docs"})]}),(0,r.jsx)(y,{}),(0,r.jsxs)(w,{onClick:n,className:"cursor-pointer",children:[(0,r.jsx)(d.gt,{}),(0,r.jsx)("span",{className:"ml-2",children:"Logout"})]})]})]})}function R(){var e;let{data:n}=(0,a.Q)(),t=null==n?void 0:null===(e=n.version)||void 0===e?void 0:e.git_describe,{data:s}=(0,i.Z)("https://api.github.com/repos/TabbyML/tabby/releases/latest",e=>fetch(e).then(e=>e.json())),c=function(e,n){try{return e&&n&&(0,l.q)(n.name,e,">")}catch(e){return console.warn(e),!0}}(t,s);return(0,r.jsxs)("header",{className:"sticky top-0 z-50 flex h-16 w-full shrink-0 items-center justify-between border-b px-4 backdrop-blur-xl",children:[(0,r.jsx)("div",{className:"flex items-center",children:c&&(0,r.jsxs)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby/releases/latest",rel:"noopener noreferrer",className:(0,o.d)({variant:"ghost"}),children:[(0,r.jsx)(d.Qs,{className:"text-yellow-600 dark:text-yellow-400"}),(0,r.jsxs)("span",{className:"ml-2 hidden md:flex",children:["New version (",null==s?void 0:s.name,") available"]})]})}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-6",children:[(0,r.jsx)(u,{}),(0,r.jsx)(C,{})]})]})}y.displayName=v.Z0.displayName},18851:function(e,n,t){"use strict";t.r(n),t.d(n,{ScrollArea:function(){return i},ScrollBar:function(){return o}});var r=t(57437),s=t(2265),l=t(17283),a=t(39311);let i=s.forwardRef((e,n)=>{let{className:t,children:s,...i}=e;return(0,r.jsxs)(l.fC,{ref:n,className:(0,a.cn)("relative overflow-hidden",t),...i,children:[(0,r.jsx)(l.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,r.jsx)(o,{}),(0,r.jsx)(l.Ns,{})]})});i.displayName=l.fC.displayName;let o=s.forwardRef((e,n)=>{let{className:t,orientation:s="vertical",...i}=e;return(0,r.jsx)(l.gb,{ref:n,orientation:s,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...i,children:(0,r.jsx)(l.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=l.gb.displayName},13287:function(e,n,t){"use strict";t.d(n,{Q:function(){return l}});var r=t(30713),s=t(1592);function l(){return(0,r.ZP)("/v1/health",s.Z)}},8724:function(e,n,t){"use strict";t.d(n,{s:function(){return m}});var r=t(2265),s=t(16630),l=t(91317),a=t(63303),i=t(99109),o=t(58835),d=t(70349),c=t(13287);let u={[d.xj.Chat]:"chat_model",[d.xj.Completion]:"model"};function f(e,n){var t;return{kind:n,device:e.device,addr:"localhost",arch:"",cpuInfo:e.cpu_info,name:null!==(t=null==e?void 0:e[u[n]])&&void 0!==t?t:"",cpuCount:e.cpu_count,cudaDevices:e.cuda_devices}}let h=(0,o.BX)("\n query GetWorkers {\n workers {\n kind\n name\n addr\n device\n arch\n cpuInfo\n cpuCount\n cudaDevices\n }\n }\n");function m(){let{data:e}=(0,c.Q)(),[{data:n}]=(0,i.aM)({query:h}),t=null==n?void 0:n.workers,o=r.useMemo(()=>{let n=(0,a.Z)(t),r=(0,s.Z)(n,{kind:d.xj.Completion})>-1,i=(0,s.Z)(n,{kind:d.xj.Chat})>-1;return!r&&(null==e?void 0:e.model)&&n.push(f(e,d.xj.Completion)),!i&&(null==e?void 0:e.chat_model)&&n.push(f(e,d.xj.Chat)),(0,l.Z)(n,"kind")},[e,t]);return o}},1592:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(34084),s=t(58001),l=t(7820);let a=!1,i=[];async function o(e,n){let t=await fetch(e,d(n));if(401!==t.status)return(null==n?void 0:n.format)==="text"?t.text():t.json();{var r,l;if(a)return new Promise(t=>{i.push({url:e,init:n,resolve:t})});let t=null===(r=(0,s.bW)())||void 0===r?void 0:r.refreshToken;if(!t){(0,s.Rn)();return}a=!0;let o=await c(t),d=null==o?void 0:null===(l=o.data)||void 0===l?void 0:l.refreshToken;if(d){for((0,s.pC)({accessToken:d.accessToken,refreshToken:d.refreshToken}),a=!1;i.length;){let e=i.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,n)}a=!1,i.length=0,(0,s.Rn)()}}function d(e){var n;let t=new Headers(null==e?void 0:e.headers);return t.append("authorization","Bearer ".concat(null===(n=(0,s.bW)())||void 0===n?void 0:n.accessToken)),{...e||{},headers:t}}async function c(e){let n=l.L.createRequestOperation("mutation",(0,r.h)(s.Dp,{refreshToken:e}));return l.L.executeMutation(n)}function u(e,n){return fetch(e,d(n)).then(e=>(null==n?void 0:n.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5328,2047,4012,1629,9503,5479,1621,6655,7820,1894,2971,7864,1744],function(){return e(e.s=3811)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js new file mode 100644 index 000000000000..68902f72e606 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5642],{6327:function(e,n,t){Promise.resolve().then(t.bind(t,97848)),Promise.resolve().then(t.bind(t,84231)),Promise.resolve().then(t.bind(t,18851))},97848:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return v}});var r=t(57437),s=t(16691),l=t.n(s),a=t(61396),i=t.n(a),o=t(24033),d={src:"/_next/static/media/logo-dark.362a169d.png",height:149,width:395,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAQAAAAEwYbDAAAAOklEQVR42gXAIQqAMBQA0A+K3eIVHNhEk21Wk5iN4g6w6z9GyBaDZDLr9OH0qD6/4nWHUZLtNqvL0QDmsR1AxwcSfQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},c={src:"/_next/static/media/logo.526f7cf9.png",height:184,width:607,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAASklEQVR4nGPsKQh1f/HshV/PqtNtagrC8p++//rDAgQM//9/ZWJifMZYnRqg9+bVq6iZ51+1SP/5ovH//z8eRgbGbwyMjPxA9n0AMi8g2L1xUkUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2},u=t(7404),f=t(58001),h=t(39311),m=t(91927);let x=m.fC,p=m.wy,j=m.Fw;var g=t(84168);function v(e){let{children:n,className:t}=e,{data:s}=(0,f.kP)(),a=(null==s?void 0:s.isAdmin)||!1;return(0,r.jsxs)("div",{className:(0,h.cn)("grid overflow-hidden md:grid-cols-[280px_1fr]",t),children:[(0,r.jsx)("div",{className:"hidden border-r md:block",children:(0,r.jsxs)("div",{className:"flex h-full flex-col gap-2",children:[(0,r.jsx)("div",{className:"h-[12px]"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)("nav",{className:"grid items-start gap-2 px-4 text-sm font-medium",children:[(0,r.jsxs)(i(),{href:"/",className:"flex justify-center pb-4",children:[(0,r.jsx)(l(),{src:c,alt:"logo",width:128,className:"dark:hidden"}),(0,r.jsx)(l(),{src:d,alt:"logo",width:96,className:"hidden dark:block"})]}),(0,r.jsxs)(b,{href:"/",children:[(0,r.jsx)(g.A2,{})," Home"]}),a&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(b,{href:"/cluster",children:[(0,r.jsx)(g.im,{})," Cluster Information"]}),(0,r.jsxs)(A,{title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.GI,{}),"Settings"]}),children:[(0,r.jsx)(b,{href:"/settings/general",children:"General"}),(0,r.jsx)(b,{href:"/settings/team",children:"Members"}),(0,r.jsx)(b,{href:"/settings/sso",children:"SSO"}),(0,r.jsx)(b,{href:"/settings/mail",children:"Mail Delivery"})]})]})]})})]})}),(0,r.jsx)("div",{className:"flex flex-1 flex-col overflow-auto",children:n})]})}let N=(0,u.j)("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:bg-accent",{variants:{state:{selected:"bg-accent","not-selected":""}},defaultVariants:{state:"not-selected"}});function b(e){let{href:n,children:t}=e,s=(0,o.usePathname)();return(0,r.jsx)(i(),{className:N({state:s==n?"selected":"not-selected"}),href:n,children:t})}function A(e){let{title:n,children:t}=e;return(0,r.jsxs)(x,{defaultOpen:!0,className:"[&_svg.ml-auto]:data-[state=open]:rotate-90",children:[(0,r.jsx)(p,{className:"w-full",children:(0,r.jsxs)("span",{className:N(),children:[n,(0,r.jsx)(g.VG,{className:"ml-auto"})]})}),(0,r.jsx)(j,{className:"ml-7 flex flex-col gap-1 py-1",children:t})]})}},84231:function(e,n,t){"use strict";t.r(n),t.d(n,{Header:function(){return v}});var r=t(57437),s=t(2265),l=t(73737),a=t(13287),i=t(1589),o=t(93023),d=t(84168),c=t(6435);function u(){let{setTheme:e,theme:n}=(0,c.F)(),[t,l]=s.useTransition();return(0,r.jsxs)(o.z,{variant:"ghost",size:"icon",onClick:()=>{l(()=>{e("light"===n?"dark":"light")})},children:["dark"===n?(0,r.jsx)(d.C9,{className:"transition-all"}):(0,r.jsx)(d.O3,{className:"transition-all"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}var f=t(91067),h=t(11372),m=t(70349),x=t(8724),p=t(58001),j=t(56434);function g(){let e=(0,p.av)(),n=(0,p.QJ)(),t=(0,x.s)(),s=(0,f.Z)(t,m.xj.Chat);if(!e)return;let l=(0,h.B)(e.email);return(0,r.jsxs)(j.h_,{children:[(0,r.jsx)(j.$F,{children:(0,r.jsx)("span",{className:"flex h-10 w-10 rounded-full border",children:(0,r.jsx)(h.Z,{className:"w-full",...l})})}),(0,r.jsxs)(j.AW,{collisionPadding:{right:16},children:[(0,r.jsx)(j.Ju,{children:e.email}),(0,r.jsx)(j.VD,{}),s&&(0,r.jsxs)(j.Xi,{onClick:()=>window.open("/playground"),className:"cursor-pointer",children:[(0,r.jsx)(d.f7,{}),(0,r.jsx)("span",{className:"ml-2",children:"Chat Playground"})]}),(0,r.jsxs)(j.Xi,{onClick:()=>window.open("/files"),className:"cursor-pointer",children:[(0,r.jsx)(d.se,{}),(0,r.jsx)("span",{className:"ml-2",children:"Code Browser"})]}),(0,r.jsxs)(j.Xi,{onClick:()=>window.open("/api"),className:"cursor-pointer",children:[(0,r.jsx)(d.LW,{}),(0,r.jsx)("span",{className:"ml-2",children:"API Docs"})]}),(0,r.jsx)(j.VD,{}),(0,r.jsxs)(j.Xi,{onClick:n,className:"cursor-pointer",children:[(0,r.jsx)(d.gt,{}),(0,r.jsx)("span",{className:"ml-2",children:"Logout"})]})]})]})}function v(){var e;let{data:n}=(0,a.Q)(),t=null==n?void 0:null===(e=n.version)||void 0===e?void 0:e.git_describe,{data:s}=(0,i.Z)("https://api.github.com/repos/TabbyML/tabby/releases/latest",e=>fetch(e).then(e=>e.json())),c=function(e,n){try{return e&&n&&(0,l.q)(n.name,e,">")}catch(e){return console.warn(e),!0}}(t,s);return(0,r.jsxs)("header",{className:"sticky top-0 z-50 flex h-16 w-full shrink-0 items-center justify-between border-b px-4 backdrop-blur-xl",children:[(0,r.jsx)("div",{className:"flex items-center",children:c&&(0,r.jsxs)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby/releases/latest",rel:"noopener noreferrer",className:(0,o.d)({variant:"ghost"}),children:[(0,r.jsx)(d.Qs,{className:"text-yellow-600 dark:text-yellow-400"}),(0,r.jsxs)("span",{className:"ml-2 hidden md:flex",children:["New version (",null==s?void 0:s.name,") available"]})]})}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-6",children:[(0,r.jsx)(u,{}),(0,r.jsx)(g,{})]})]})}},56434:function(e,n,t){"use strict";t.d(n,{$F:function(){return o},AW:function(){return c},Ju:function(){return f},VD:function(){return h},Xi:function(){return u},h_:function(){return i}});var r=t(57437),s=t(2265),l=t(90449),a=t(39311);let i=l.fC,o=l.xz;l.ZA,l.Uv,l.Tr,l.Ee;let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(l.tu,{ref:n,className:(0,a.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...s})});d.displayName=l.tu.displayName;let c=s.forwardRef((e,n)=>{let{className:t,sideOffset:s=4,...i}=e;return(0,r.jsx)(l.Uv,{children:(0,r.jsx)(l.VY,{ref:n,sideOffset:s,className:(0,a.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})})});c.displayName=l.VY.displayName;let u=s.forwardRef((e,n)=>{let{className:t,inset:s,...i}=e;return(0,r.jsx)(l.ck,{ref:n,className:(0,a.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...i})});u.displayName=l.ck.displayName;let f=s.forwardRef((e,n)=>{let{className:t,inset:s,...i}=e;return(0,r.jsx)(l.__,{ref:n,className:(0,a.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...i})});f.displayName=l.__.displayName;let h=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(l.Z0,{ref:n,className:(0,a.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});h.displayName=l.Z0.displayName},18851:function(e,n,t){"use strict";t.r(n),t.d(n,{ScrollArea:function(){return i},ScrollBar:function(){return o}});var r=t(57437),s=t(2265),l=t(17283),a=t(39311);let i=s.forwardRef((e,n)=>{let{className:t,children:s,...i}=e;return(0,r.jsxs)(l.fC,{ref:n,className:(0,a.cn)("relative overflow-hidden",t),...i,children:[(0,r.jsx)(l.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,r.jsx)(o,{}),(0,r.jsx)(l.Ns,{})]})});i.displayName=l.fC.displayName;let o=s.forwardRef((e,n)=>{let{className:t,orientation:s="vertical",...i}=e;return(0,r.jsx)(l.gb,{ref:n,orientation:s,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...i,children:(0,r.jsx)(l.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=l.gb.displayName},13287:function(e,n,t){"use strict";t.d(n,{Q:function(){return l}});var r=t(30713),s=t(1592);function l(){return(0,r.ZP)("/v1/health",s.Z)}},8724:function(e,n,t){"use strict";t.d(n,{s:function(){return m}});var r=t(2265),s=t(16630),l=t(91317),a=t(63303),i=t(99109),o=t(58835),d=t(70349),c=t(13287);let u={[d.xj.Chat]:"chat_model",[d.xj.Completion]:"model"};function f(e,n){var t;return{kind:n,device:e.device,addr:"localhost",arch:"",cpuInfo:e.cpu_info,name:null!==(t=null==e?void 0:e[u[n]])&&void 0!==t?t:"",cpuCount:e.cpu_count,cudaDevices:e.cuda_devices}}let h=(0,o.BX)("\n query GetWorkers {\n workers {\n kind\n name\n addr\n device\n arch\n cpuInfo\n cpuCount\n cudaDevices\n }\n }\n");function m(){let{data:e}=(0,c.Q)(),[{data:n}]=(0,i.aM)({query:h}),t=null==n?void 0:n.workers,o=r.useMemo(()=>{let n=(0,a.Z)(t),r=(0,s.Z)(n,{kind:d.xj.Completion})>-1,i=(0,s.Z)(n,{kind:d.xj.Chat})>-1;return!r&&(null==e?void 0:e.model)&&n.push(f(e,d.xj.Completion)),!i&&(null==e?void 0:e.chat_model)&&n.push(f(e,d.xj.Chat)),(0,l.Z)(n,"kind")},[e,t]);return o}},1592:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(34084),s=t(58001),l=t(7820);let a=!1,i=[];async function o(e,n){let t=await fetch(e,d(n));if(401!==t.status)return(null==n?void 0:n.format)==="text"?t.text():t.json();{var r,l;if(a)return new Promise(t=>{i.push({url:e,init:n,resolve:t})});let t=null===(r=(0,s.bW)())||void 0===r?void 0:r.refreshToken;if(!t){(0,s.Rn)();return}a=!0;let o=await c(t),d=null==o?void 0:null===(l=o.data)||void 0===l?void 0:l.refreshToken;if(d){for((0,s.pC)({accessToken:d.accessToken,refreshToken:d.refreshToken}),a=!1;i.length;){let e=i.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,n)}a=!1,i.length=0,(0,s.Rn)()}}function d(e){var n;let t=new Headers(null==e?void 0:e.headers);return t.append("authorization","Bearer ".concat(null===(n=(0,s.bW)())||void 0===n?void 0:n.accessToken)),{...e||{},headers:t}}async function c(e){let n=l.L.createRequestOperation("mutation",(0,r.h)(s.Dp,{refreshToken:e}));return l.L.executeMutation(n)}function u(e,n){return fetch(e,d(n)).then(e=>(null==n?void 0:n.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5135,2047,1629,9503,4012,5479,449,1621,7587,7820,1894,2971,7864,1744],function(){return e(e.s=6327)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/page-e49d4746964eafbb.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/page-bda82f178c24fae6.js similarity index 98% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/page-e49d4746964eafbb.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/page-bda82f178c24fae6.js index 4d34d9d5fed9..068eed62481a 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/page-e49d4746964eafbb.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/page-bda82f178c24fae6.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1130],{75045:function(e,t,n){Promise.resolve().then(n.bind(n,37333))},37333:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var r=n(57437),s=n(2265),a=n(81860),o=n(99109),i=n(58835),l=n(13287),c=n(7820),u=n(93023),d=n(86110),f=n(84168),m=n(51908),x=n(66672),p=n(33555),h=n(58001),g=n(12609);let v="community-dialog-shown";function b(){let{status:e}=(0,h.kP)(),[t,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{"authenticated"!==e||localStorage.getItem(v)||(n(!0),localStorage.setItem(v,"true"))},[e]),(0,r.jsx)(g.Vq,{open:t,onOpenChange:n,children:(0,r.jsxs)(g.cZ,{children:[(0,r.jsxs)(g.fK,{className:"gap-3",children:[(0,r.jsx)(g.$N,{children:"Join the Tabby community"}),(0,r.jsx)(g.Be,{children:"Connect with other contributors building Tabby. Share knowledge, get help, and contribute to the open-source project."})]}),(0,r.jsx)(g.cN,{className:"sm:justify-start",children:(0,r.jsxs)("a",{target:"_blank",href:"https://links.tabbyml.com/join-slack-webserver",className:(0,u.d)(),children:[(0,r.jsx)(f.gx,{className:"-ml-2 h-8 w-8"}),"Join us on Slack"]})})]})})}function j(){return(0,r.jsxs)("div",{children:[(0,r.jsx)(w,{}),(0,r.jsx)(b,{})]})}let N=(0,i.BX)("\n query MeQuery {\n me {\n authToken\n }\n }\n"),y=(0,i.BX)("\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n");function w(){let{data:e}=(0,l.Q)(),[{data:t},n]=(0,o.aM)({query:N}),[i,h]=(0,s.useState)("");(0,s.useEffect)(()=>{h(new URL(window.location.href).origin)},[]);let g=(0,c.D)(y,{onCompleted:()=>n()});if(e&&t)return(0,r.jsxs)("div",{children:[(0,r.jsx)(d.Ol,{children:(0,r.jsx)(d.ll,{children:"Getting Started"})}),(0,r.jsxs)(d.aY,{className:"flex flex-col gap-4",children:[(0,r.jsx)(x._,{children:"Endpoint URL"}),(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(m.I,{value:i,onChange:a.Z,className:"max-w-[320px]"}),(0,r.jsx)(p.q,{value:i})]}),(0,r.jsx)(x._,{children:"Token"}),(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(m.I,{className:"max-w-[320px] font-mono text-red-600",value:t.me.authToken,onChange:a.Z}),(0,r.jsx)(u.z,{title:"Rotate",size:"icon",variant:"hover-destructive",onClick:()=>g(),children:(0,r.jsx)(f.TE,{})}),(0,r.jsx)(p.q,{value:t.me.authToken})]})]}),(0,r.jsx)(d.eW,{children:(0,r.jsxs)("span",{children:["Use informations above for IDE extensions / plugins configuration, see"," ",(0,r.jsx)("a",{className:"underline",target:"_blank",href:"https://tabby.tabbyml.com/docs/extensions/configurations#server",children:"documentation website"})," ","for details"]})})]})}},33555:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(57437);n(2265);var s=n(77723),a=n(93023),o=n(84168);function i(e){let{className:t,value:n,...i}=e,{isCopied:l,copyToClipboard:c}=(0,s.m)({timeout:2e3});return n?(0,r.jsxs)(a.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{l||c(n)},...i,children:[l?(0,r.jsx)(o.NO,{className:"text-green-600"}):(0,r.jsx)(o.vU,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},86110:function(e,t,n){"use strict";n.d(t,{Ol:function(){return i},Zb:function(){return o},aY:function(){return u},eW:function(){return d},ll:function(){return l}});var r=n(57437),s=n(2265),a=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",n),...s})});o.displayName="Card";let i=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",n),...s})});i.displayName="CardHeader";let l=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",n),...s})});l.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",n),...s})});c.displayName="CardDescription";let u=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",n),...s})});u.displayName="CardContent";let d=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",n),...s})});d.displayName="CardFooter"},12609:function(e,t,n){"use strict";n.d(t,{$N:function(){return x},Be:function(){return p},Vq:function(){return l},cN:function(){return m},cZ:function(){return d},fK:function(){return f}});var r=n(57437),s=n(2265),a=n(25555),o=n(39311),i=n(84168);let l=a.fC;a.xz;let c=e=>{let{className:t,children:n,...s}=e;return(0,r.jsx)(a.h_,{className:(0,o.cn)(t),...s,children:(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center sm:items-center",children:n})})};c.displayName=a.h_.displayName;let u=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in",n),...s})});u.displayName=a.aV.displayName;let d=s.forwardRef((e,t)=>{let{className:n,children:s,...l}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(a.VY,{ref:t,className:(0,o.cn)("fixed z-50 grid w-full gap-4 rounded-b-lg border bg-background p-6 shadow-sm animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-lg sm:rounded-lg sm:zoom-in-90 data-[state=open]:sm:slide-in-from-bottom-0",n),...l,children:[s,(0,r.jsxs)(a.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(i.bM,{}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});d.displayName=a.VY.displayName;let f=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};f.displayName="DialogHeader";let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};m.displayName="DialogFooter";let x=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",n),...s})});x.displayName=a.Dx.displayName;let p=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",n),...s})});p.displayName=a.dk.displayName},51908:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(57437),s=n(2265),a=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,type:s,...o}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...o})});o.displayName="Input"},66672:function(e,t,n){"use strict";n.d(t,{_:function(){return c}});var r=n(57437),s=n(2265),a=n(36743),o=n(7404),i=n(39311);let l=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.f,{ref:t,className:(0,i.cn)(l(),n),...s})});c.displayName=a.f.displayName},77723:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(2265),s=n(2390),a=n.n(s),o=n(71424);function i(e){let{timeout:t=2e3,onError:n}=e,[s,i]=r.useState(!1),l=()=>{i(!0),setTimeout(()=>{i(!1)},t)},c=e=>{if("function"==typeof n){null==n||n(e);return}o.A.error("Failed to copy.")};return{isCopied:s,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(l).catch(c);else{let t=a()(e);t?l():c()}}}}}},13287:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(30713),s=n(1592);function a(){return(0,r.ZP)("/v1/health",s.Z)}},1592:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(34084),s=n(58001),a=n(7820);let o=!1,i=[];async function l(e,t){let n=await fetch(e,c(t));if(401!==n.status)return(null==t?void 0:t.format)==="text"?n.text():n.json();{var r,a;if(o)return new Promise(n=>{i.push({url:e,init:t,resolve:n})});let n=null===(r=(0,s.bW)())||void 0===r?void 0:r.refreshToken;if(!n){(0,s.Rn)();return}o=!0;let l=await u(n),c=null==l?void 0:null===(a=l.data)||void 0===a?void 0:a.refreshToken;if(c){for((0,s.pC)({accessToken:c.accessToken,refreshToken:c.refreshToken}),o=!1;i.length;){let e=i.shift();null==e||e.resolve(d(e.url,e.init))}return d(e,t)}o=!1,i.length=0,(0,s.Rn)()}}function c(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,s.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function u(e){let t=a.L.createRequestOperation("mutation",(0,r.h)(s.Dp,{refreshToken:e}));return a.L.executeMutation(t)}function d(e,t){return fetch(e,c(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}},36743:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(13428),s=n(2265),a=n(9381);let o=(0,s.forwardRef)((e,t)=>(0,s.createElement)(a.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),i=o},81860:function(e,t){"use strict";t.Z=function(){}}},function(e){e.O(0,[5328,1424,2047,1629,5479,2949,7820,1894,2971,7864,1744],function(){return e(e.s=75045)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1130],{22815:function(e,t,n){Promise.resolve().then(n.bind(n,37333))},37333:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var r=n(57437),s=n(2265),a=n(81860),o=n(99109),i=n(58835),l=n(13287),c=n(7820),u=n(93023),d=n(86110),f=n(84168),m=n(51908),x=n(66672),p=n(33555),h=n(58001),g=n(12609);let v="community-dialog-shown";function b(){let{status:e}=(0,h.kP)(),[t,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{"authenticated"!==e||localStorage.getItem(v)||(n(!0),localStorage.setItem(v,"true"))},[e]),(0,r.jsx)(g.Vq,{open:t,onOpenChange:n,children:(0,r.jsxs)(g.cZ,{children:[(0,r.jsxs)(g.fK,{className:"gap-3",children:[(0,r.jsx)(g.$N,{children:"Join the Tabby community"}),(0,r.jsx)(g.Be,{children:"Connect with other contributors building Tabby. Share knowledge, get help, and contribute to the open-source project."})]}),(0,r.jsx)(g.cN,{className:"sm:justify-start",children:(0,r.jsxs)("a",{target:"_blank",href:"https://links.tabbyml.com/join-slack-webserver",className:(0,u.d)(),children:[(0,r.jsx)(f.gx,{className:"-ml-2 h-8 w-8"}),"Join us on Slack"]})})]})})}function j(){return(0,r.jsxs)("div",{children:[(0,r.jsx)(w,{}),(0,r.jsx)(b,{})]})}let N=(0,i.BX)("\n query MeQuery {\n me {\n authToken\n }\n }\n"),y=(0,i.BX)("\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n");function w(){let{data:e}=(0,l.Q)(),[{data:t},n]=(0,o.aM)({query:N}),[i,h]=(0,s.useState)("");(0,s.useEffect)(()=>{h(new URL(window.location.href).origin)},[]);let g=(0,c.D)(y,{onCompleted:()=>n()});if(e&&t)return(0,r.jsxs)("div",{children:[(0,r.jsx)(d.Ol,{children:(0,r.jsx)(d.ll,{children:"Getting Started"})}),(0,r.jsxs)(d.aY,{className:"flex flex-col gap-4",children:[(0,r.jsx)(x._,{children:"Endpoint URL"}),(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(m.I,{value:i,onChange:a.Z,className:"max-w-[320px]"}),(0,r.jsx)(p.q,{value:i})]}),(0,r.jsx)(x._,{children:"Token"}),(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(m.I,{className:"max-w-[320px] font-mono text-red-600",value:t.me.authToken,onChange:a.Z}),(0,r.jsx)(u.z,{title:"Rotate",size:"icon",variant:"hover-destructive",onClick:()=>g(),children:(0,r.jsx)(f.TE,{})}),(0,r.jsx)(p.q,{value:t.me.authToken})]})]}),(0,r.jsx)(d.eW,{children:(0,r.jsxs)("span",{children:["Use informations above for IDE extensions / plugins configuration, see"," ",(0,r.jsx)("a",{className:"underline",target:"_blank",href:"https://tabby.tabbyml.com/docs/extensions/configurations#server",children:"documentation website"})," ","for details"]})})]})}},33555:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(57437);n(2265);var s=n(77723),a=n(93023),o=n(84168);function i(e){let{className:t,value:n,...i}=e,{isCopied:l,copyToClipboard:c}=(0,s.m)({timeout:2e3});return n?(0,r.jsxs)(a.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{l||c(n)},...i,children:[l?(0,r.jsx)(o.NO,{className:"text-green-600"}):(0,r.jsx)(o.vU,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},86110:function(e,t,n){"use strict";n.d(t,{Ol:function(){return i},Zb:function(){return o},aY:function(){return u},eW:function(){return d},ll:function(){return l}});var r=n(57437),s=n(2265),a=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",n),...s})});o.displayName="Card";let i=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",n),...s})});i.displayName="CardHeader";let l=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",n),...s})});l.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",n),...s})});c.displayName="CardDescription";let u=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",n),...s})});u.displayName="CardContent";let d=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",n),...s})});d.displayName="CardFooter"},12609:function(e,t,n){"use strict";n.d(t,{$N:function(){return x},Be:function(){return p},Vq:function(){return l},cN:function(){return m},cZ:function(){return d},fK:function(){return f}});var r=n(57437),s=n(2265),a=n(25555),o=n(39311),i=n(84168);let l=a.fC;a.xz;let c=e=>{let{className:t,children:n,...s}=e;return(0,r.jsx)(a.h_,{className:(0,o.cn)(t),...s,children:(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center sm:items-center",children:n})})};c.displayName=a.h_.displayName;let u=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in",n),...s})});u.displayName=a.aV.displayName;let d=s.forwardRef((e,t)=>{let{className:n,children:s,...l}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(a.VY,{ref:t,className:(0,o.cn)("fixed z-50 grid w-full gap-4 rounded-b-lg border bg-background p-6 shadow-sm animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-lg sm:rounded-lg sm:zoom-in-90 data-[state=open]:sm:slide-in-from-bottom-0",n),...l,children:[s,(0,r.jsxs)(a.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(i.bM,{}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});d.displayName=a.VY.displayName;let f=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};f.displayName="DialogHeader";let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};m.displayName="DialogFooter";let x=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",n),...s})});x.displayName=a.Dx.displayName;let p=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",n),...s})});p.displayName=a.dk.displayName},51908:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(57437),s=n(2265),a=n(39311);let o=s.forwardRef((e,t)=>{let{className:n,type:s,...o}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...o})});o.displayName="Input"},66672:function(e,t,n){"use strict";n.d(t,{_:function(){return c}});var r=n(57437),s=n(2265),a=n(36743),o=n(7404),i=n(39311);let l=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.f,{ref:t,className:(0,i.cn)(l(),n),...s})});c.displayName=a.f.displayName},77723:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(2265),s=n(2390),a=n.n(s),o=n(71424);function i(e){let{timeout:t=2e3,onError:n}=e,[s,i]=r.useState(!1),l=()=>{i(!0),setTimeout(()=>{i(!1)},t)},c=e=>{if("function"==typeof n){null==n||n(e);return}o.A.error("Failed to copy.")};return{isCopied:s,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(l).catch(c);else{let t=a()(e);t?l():c()}}}}}},13287:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(30713),s=n(1592);function a(){return(0,r.ZP)("/v1/health",s.Z)}},1592:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(34084),s=n(58001),a=n(7820);let o=!1,i=[];async function l(e,t){let n=await fetch(e,c(t));if(401!==n.status)return(null==t?void 0:t.format)==="text"?n.text():n.json();{var r,a;if(o)return new Promise(n=>{i.push({url:e,init:t,resolve:n})});let n=null===(r=(0,s.bW)())||void 0===r?void 0:r.refreshToken;if(!n){(0,s.Rn)();return}o=!0;let l=await u(n),c=null==l?void 0:null===(a=l.data)||void 0===a?void 0:a.refreshToken;if(c){for((0,s.pC)({accessToken:c.accessToken,refreshToken:c.refreshToken}),o=!1;i.length;){let e=i.shift();null==e||e.resolve(d(e.url,e.init))}return d(e,t)}o=!1,i.length=0,(0,s.Rn)()}}function c(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,s.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function u(e){let t=a.L.createRequestOperation("mutation",(0,r.h)(s.Dp,{refreshToken:e}));return a.L.executeMutation(t)}function d(e,t){return fetch(e,c(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}},36743:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(13428),s=n(2265),a=n(9381);let o=(0,s.forwardRef)((e,t)=>(0,s.createElement)(a.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),i=o},81860:function(e,t){"use strict";t.Z=function(){}}},function(e){e.O(0,[5135,1424,2047,1629,5479,2949,7820,1894,2971,7864,1744],function(){return e(e.s=22815)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-a365eed113aae11b.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-a365eed113aae11b.js new file mode 100644 index 000000000000..bf95a6a9c257 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-a365eed113aae11b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3816],{2390:function(e,t,r){"use strict";var n=r(25809),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,s,i,l,o,d,c,u,f=!1;t||(t={}),i=t.debug||!1;try{if(o=n(),d=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(r){if(r.stopPropagation(),t.format){if(r.preventDefault(),void 0===r.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=a[t.format]||a.default;window.clipboardData.setData(n,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e)}t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(u),d.selectNodeContents(u),c.addRange(d),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(n){i&&console.error("unable to copy using execCommand: ",n),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(n){i&&console.error("unable to copy using clipboardData: ",n),i&&console.error("falling back to prompt"),r="message"in t?t.message:"Copy to clipboard: #{key}, Enter",s=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",l=r.replace(/#{\s*key\s*}/g,s),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),o()}return f}},6805:function(e,t,r){Promise.resolve().then(r.bind(r,11527))},11527:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return B}});var n=r(57437),a=r(86110),s=r(2265),i=r(62067),l=r.n(i),o=r(71424),d=r(99109),c=r(58835),u=r(7820),f=r(57166),m=r(93023),x=r(84168),v=r(39311);let p=e=>{let{className:t,...r}=e;return(0,n.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,v.cn)("mx-auto flex w-full justify-center",t),...r})};p.displayName="Pagination";let h=s.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("ul",{ref:t,className:(0,v.cn)("flex flex-row items-center gap-1",r),...a})});h.displayName="PaginationContent";let g=s.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("li",{ref:t,className:(0,v.cn)("",r),...a})});g.displayName="PaginationItem";let j=e=>{let{className:t,isActive:r,size:a="icon",...s}=e;return(0,n.jsx)("a",{"aria-current":r?"page":void 0,className:(0,v.cn)((0,m.d)({variant:r?"outline":"ghost",size:a}),t),...s})};j.displayName="PaginationLink";let N=e=>{let{className:t,disabled:r,...a}=e;return(0,n.jsxs)(j,{"aria-label":"Go to previous page",size:"default",className:(0,v.cn)("cursor-pointer gap-1 pl-2.5",r&&"cursor-not-allowed text-muted-foreground",t),...a,children:[(0,n.jsx)(x.ed,{className:"h-4 w-4"}),(0,n.jsx)("span",{children:"Previous"})]})};N.displayName="PaginationPrevious";let b=e=>{let{className:t,disabled:r,...a}=e;return(0,n.jsxs)(j,{"aria-label":"Go to next page",size:"default",className:(0,v.cn)("cursor-pointer gap-1 pr-2.5",r&&"cursor-not-allowed text-muted-foreground",t),...a,children:[(0,n.jsx)("span",{children:"Next"}),(0,n.jsx)(x.VG,{className:"h-4 w-4"})]})};b.displayName="PaginationNext";var y=r(32553),w=r(33555),C=r(38110),R=r(61865),I=r(74578),A=r(41315),D=r(51908);let S=(0,c.BX)("\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n"),P=I.Ry({email:I.Z_().email("Invalid email address")});function E(e){let{onCreated:t}=e,r=(0,R.cI)({resolver:(0,C.F)(P)}),{isSubmitting:a}=r.formState,s=(0,u.D)(S,{onCompleted(){r.reset({email:""}),t()},form:r});return(0,n.jsx)(A.l0,{...r,children:(0,n.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,n.jsxs)("form",{className:"flex w-full items-center gap-2",onSubmit:r.handleSubmit(s),children:[(0,n.jsx)(A.Wi,{control:r.control,name:"email",render:e=>{let{field:t}=e;return(0,n.jsx)(A.xJ,{children:(0,n.jsx)(A.NI,{children:(0,n.jsx)(D.I,{placeholder:"Email",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})})})}}),(0,n.jsx)(m.z,{type:"submit",disabled:a,children:"Invite"})]}),(0,n.jsx)(A.zG,{className:"text-center"})]})})}let k=(0,c.BX)("\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n");function T(){var e,t;let r=(0,d.m8)(),[{data:a,fetching:i}]=(0,d.aM)({query:f.l,variables:{first:20}}),[c,v]=s.useState(!1),[j,C]=s.useState(1),R=null==a?void 0:null===(e=a.invitations)||void 0===e?void 0:e.edges,I=null==a?void 0:null===(t=a.invitations)||void 0===t?void 0:t.pageInfo,A=Math.ceil(((null==R?void 0:R.length)||0)/20),D=s.useMemo(()=>{var e;return null==R?void 0:null===(e=R.slice)||void 0===e?void 0:e.call(R,(j-1)*20,20*j)},[j,R]),S=(null==I?void 0:I.hasNextPage)||j1,T=e=>r.query(f.l,e).toPromise(),$=async e=>{var t,r,n,a,s;let i=await T({first:20,after:e}),l=(null==i?void 0:null===(n=i.data)||void 0===n?void 0:null===(r=n.invitations)||void 0===r?void 0:null===(t=r.edges)||void 0===t?void 0:t.length)||0,o=null==i?void 0:null===(s=i.data)||void 0===s?void 0:null===(a=s.invitations)||void 0===a?void 0:a.pageInfo;return(null==o?void 0:o.hasNextPage)&&(null==o?void 0:o.endCursor)&&(l=await $(o.endCursor)),l},_=async()=>{try{var e;v(!0);let t=$(null!==(e=null==I?void 0:I.endCursor)&&void 0!==e?e:void 0);return t}catch(e){return 0}finally{v(!1)}},[z,F]=(0,s.useState)("");(0,s.useEffect)(()=>{F(new URL(window.location.href).origin)},[]);let M=(0,u.D)(k),U=async()=>{o.A.success("Invitation created"),_().then(e=>{C(Math.ceil((e||0)/20))})},X=e=>{M({id:e.id}).then(t=>{var r;if(null==t?void 0:t.error){o.A.error(t.error.message);return}(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.deleteInvitation)&&o.A.success("".concat(e.email," deleted"))})};return s.useEffect(()=>{A1&&C(A)},[A,j]),(0,n.jsxs)("div",{children:[(0,n.jsx)(E,{onCreated:U}),(0,n.jsxs)(y.iA,{className:"mt-4 border-b",children:[!!(null==D?void 0:D.length)&&(0,n.jsx)(y.xD,{children:(0,n.jsxs)(y.SC,{children:[(0,n.jsx)(y.ss,{className:"w-[25%]",children:"Invitee"}),(0,n.jsx)(y.ss,{className:"w-[45%]",children:"Created"}),(0,n.jsx)(y.ss,{})]})}),(0,n.jsx)(y.RM,{children:null==D?void 0:D.map(e=>{let t="".concat(z,"/auth/signup?invitationCode=").concat(e.node.code);return(0,n.jsxs)(y.SC,{children:[(0,n.jsx)(y.pj,{children:e.node.email}),(0,n.jsx)(y.pj,{children:l().utc(e.node.createdAt).fromNow()}),(0,n.jsx)(y.pj,{className:"flex justify-end",children:(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)(w.q,{value:t}),(0,n.jsx)(m.z,{size:"icon",variant:"hover-destructive",onClick:()=>X(e.node),children:(0,n.jsx)(x.IT,{})})]})})]},e.node.id)})})]}),(S||P)&&(0,n.jsx)(p,{className:"my-4",children:(0,n.jsxs)(h,{children:[(0,n.jsx)(g,{children:(0,n.jsx)(N,{disabled:!P,onClick:()=>{!(j<=1)&&(c||i||C(e=>e-1))}})}),(0,n.jsx)(g,{children:(0,n.jsx)(b,{disabled:!S,onClick:()=>{S&&(c||i||T({first:20,after:null==I?void 0:I.endCursor}).then(e=>{var t,r,n;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(r=n.invitations)||void 0===r?void 0:null===(t=r.edges)||void 0===t?void 0:t.length)&&C(e=>e+1)}))}})})]})})]})}var $=r(7404);let _=(0,$.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function z(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,v.cn)(_({variant:r}),t),...a})}var F=r(56434);let M=(0,c.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n createdAt\n active\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),U=(0,c.BX)("\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n");function X(){var e;let[t,r]=s.useState({first:20}),[{data:a,error:i},c]=(0,d.aM)({query:M,variables:t}),[f,v]=s.useState();s.useEffect(()=>{var e;let t=null==a?void 0:a.users;(null==t?void 0:null===(e=t.edges)||void 0===e?void 0:e.length)&&v(t)},[a]),s.useEffect(()=>{(null==i?void 0:i.message)&&o.A.error(i.message)},[i]);let j=(0,u.D)(U),w=(e,t)=>{j({id:e.id,active:t}).then(r=>{var n,a;if((null==r?void 0:r.error)||!(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.updateUserActive)){o.A.error((null==r?void 0:null===(a=r.error)||void 0===a?void 0:a.message)||"".concat(t?"activate":"deactivate"," failed"));return}c(),o.A.success("".concat(e.email," is ").concat(t?"activated":"deactivated"))})},C=null==f?void 0:f.pageInfo;return!!(null==f?void 0:null===(e=f.edges)||void 0===e?void 0:e.length)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(y.iA,{className:"border-b",children:[(0,n.jsx)(y.xD,{children:(0,n.jsxs)(y.SC,{children:[(0,n.jsx)(y.ss,{className:"w-[25%]",children:"Email"}),(0,n.jsx)(y.ss,{className:"w-[35%]",children:"Joined"}),(0,n.jsx)(y.ss,{className:"w-[15%] text-center",children:"Status"}),(0,n.jsx)(y.ss,{className:"w-[15%] text-center",children:"Level"}),(0,n.jsx)(y.ss,{className:"w-[100px]"})]})}),(0,n.jsx)(y.RM,{children:f.edges.map(e=>(0,n.jsxs)(y.SC,{children:[(0,n.jsx)(y.pj,{children:e.node.email}),(0,n.jsx)(y.pj,{children:l().utc(e.node.createdAt).fromNow()}),(0,n.jsx)(y.pj,{className:"text-center",children:e.node.active?(0,n.jsx)(z,{variant:"successful",children:"Active"}):(0,n.jsx)(z,{variant:"secondary",children:"Inactive"})}),(0,n.jsx)(y.pj,{className:"text-center",children:e.node.isAdmin?(0,n.jsx)(z,{children:"ADMIN"}):(0,n.jsx)(z,{variant:"secondary",children:"MEMBER"})}),(0,n.jsx)(y.pj,{className:"text-end",children:(0,n.jsxs)(F.h_,{children:[(0,n.jsx)(F.$F,{asChild:!0,children:(0,n.jsx)("div",{className:"h-8",children:e.node.isAdmin?null:(0,n.jsx)(m.z,{size:"icon",variant:"ghost",children:(0,n.jsx)(x.NK,{})})})}),(0,n.jsxs)(F.AW,{collisionPadding:{right:16},children:[e.node.active&&(0,n.jsx)(F.Xi,{onSelect:()=>w(e.node,!1),className:"cursor-pointer",children:(0,n.jsx)("span",{className:"ml-2",children:"Deactivate"})}),!e.node.active&&(0,n.jsx)(F.Xi,{onSelect:()=>w(e.node,!0),className:"cursor-pointer",children:(0,n.jsx)("span",{className:"ml-2",children:"Activate"})})]})]})})]},e.node.id))})]}),((null==C?void 0:C.hasNextPage)||(null==C?void 0:C.hasPreviousPage))&&(0,n.jsx)(p,{className:"my-4",children:(0,n.jsxs)(h,{children:[(0,n.jsx)(g,{children:(0,n.jsx)(N,{disabled:!(null==C?void 0:C.hasPreviousPage),onClick:e=>r({last:20,before:null==C?void 0:C.startCursor})})}),(0,n.jsx)(g,{children:(0,n.jsx)(b,{disabled:!(null==C?void 0:C.hasNextPage),onClick:e=>r({first:20,after:null==C?void 0:C.endCursor})})})]})})]})}function B(){return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(a.Ol,{children:(0,n.jsx)(a.ll,{children:"Pending Invites"})}),(0,n.jsx)(a.aY,{className:"p-4",children:(0,n.jsx)(T,{})})]}),(0,n.jsx)("div",{className:"h-16"}),(0,n.jsxs)("div",{children:[(0,n.jsx)(a.Ol,{children:(0,n.jsx)(a.ll,{children:"Members"})}),(0,n.jsx)(a.aY,{className:"p-4",children:(0,n.jsx)(X,{})})]})]})}},33555:function(e,t,r){"use strict";r.d(t,{q:function(){return l}});var n=r(57437);r(2265);var a=r(77723),s=r(93023),i=r(84168);function l(e){let{className:t,value:r,...l}=e,{isCopied:o,copyToClipboard:d}=(0,a.m)({timeout:2e3});return r?(0,n.jsxs)(s.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{o||d(r)},...l,children:[o?(0,n.jsx)(i.NO,{className:"text-green-600"}):(0,n.jsx)(i.vU,{}),(0,n.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},86110:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var n=r(57437),a=r(2265),s=r(39311);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});l.displayName="CardHeader";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});o.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},56434:function(e,t,r){"use strict";r.d(t,{$F:function(){return o},AW:function(){return c},Ju:function(){return f},VD:function(){return m},Xi:function(){return u},h_:function(){return l}});var n=r(57437),a=r(2265),s=r(90449),i=r(39311);let l=s.fC,o=s.xz;s.ZA,s.Uv,s.Tr,s.Ee;let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.tu,{ref:t,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",r),...a})});d.displayName=s.tu.displayName;let c=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...l}=e;return(0,n.jsx)(s.Uv,{children:(0,n.jsx)(s.VY,{ref:t,sideOffset:a,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.VY.displayName;let u=a.forwardRef((e,t)=>{let{className:r,inset:a,...l}=e;return(0,n.jsx)(s.ck,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",r),...l})});u.displayName=s.ck.displayName;let f=a.forwardRef((e,t)=>{let{className:r,inset:a,...l}=e;return(0,n.jsx)(s.__,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",r),...l})});f.displayName=s.__.displayName;let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.Z0,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",r),...a})});m.displayName=s.Z0.displayName},41315:function(e,t,r){"use strict";r.d(t,{NI:function(){return p},Wi:function(){return u},l0:function(){return d},lX:function(){return v},xJ:function(){return x},zG:function(){return g}});var n=r(57437),a=r(2265),s=r(67256),i=r(61865),l=r(39311),o=r(66672);let d=i.RV,c=a.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(c.Provider,{value:{name:t.name},children:(0,n.jsx)(i.Qr,{...t})})},f=()=>{let e=a.useContext(c),t=a.useContext(m),{getFieldState:r,formState:n}=(0,i.Gc)(),s=e.name||"root",l=r(s,n);if(!n)throw Error("useFormField should be used within
");let{id:o}=t;return{id:o,name:s,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},m=a.createContext({}),x=a.forwardRef((e,t)=>{let{className:r,...s}=e,i=a.useId();return(0,n.jsx)(m.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...s})})});x.displayName="FormItem";let v=a.forwardRef((e,t)=>{let{className:r,...a}=e,{error:s,formItemId:i}=f();return(0,n.jsx)(o._,{ref:t,className:(0,l.cn)(s&&"text-destructive",r),htmlFor:i,...a})});v.displayName="FormLabel";let p=a.forwardRef((e,t)=>{let{...r}=e,{error:a,formItemId:i,formDescriptionId:l,formMessageId:o}=f();return(0,n.jsx)(s.g7,{ref:t,id:i,"aria-describedby":a?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!a,...r})});p.displayName="FormControl";let h=a.forwardRef((e,t)=>{let{className:r,...a}=e,{formDescriptionId:s}=f();return(0,n.jsx)("p",{ref:t,id:s,className:(0,l.cn)("text-sm text-muted-foreground",r),...a})});h.displayName="FormDescription";let g=a.forwardRef((e,t)=>{let{className:r,children:a,...s}=e,{error:i,formMessageId:o}=f(),d=i?String(null==i?void 0:i.message):a;return d?(0,n.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",r),...s,children:d}):null});g.displayName="FormMessage"},51908:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(57437),a=r(2265),s=r(39311);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},66672:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var n=r(57437),a=r(2265),s=r(36743),i=r(7404),l=r(39311);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.f,{ref:t,className:(0,l.cn)(o(),r),...a})});d.displayName=s.f.displayName},32553:function(e,t,r){"use strict";r.d(t,{RM:function(){return o},SC:function(){return c},iA:function(){return i},pj:function(){return f},ss:function(){return u},xD:function(){return l}});var n=r(57437),a=r(2265),s=r(39311);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{className:"relative w-full overflow-auto",children:(0,n.jsx)("table",{ref:t,className:(0,s.cn)("w-full caption-bottom text-sm",r),...a})})});i.displayName="Table";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("thead",{ref:t,className:(0,s.cn)("[&_tr]:border-b",r),...a})});l.displayName="TableHeader";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,s.cn)("[&_tr:last-child]:border-0",r),...a})});o.displayName="TableBody";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,s.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...a})});d.displayName="TableFooter";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tr",{ref:t,className:(0,s.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...a})});c.displayName="TableRow";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("th",{ref:t,className:(0,s.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...a})});u.displayName="TableHead";let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("td",{ref:t,className:(0,s.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",r),...a})});f.displayName="TableCell";let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("caption",{ref:t,className:(0,s.cn)("mt-4 text-sm text-muted-foreground",r),...a})});m.displayName="TableCaption"},77723:function(e,t,r){"use strict";r.d(t,{m:function(){return l}});var n=r(2265),a=r(2390),s=r.n(a),i=r(71424);function l(e){let{timeout:t=2e3,onError:r}=e,[a,l]=n.useState(!1),o=()=>{l(!0),setTimeout(()=>{l(!1)},t)},d=e=>{if("function"==typeof r){null==r||r(e);return}i.A.error("Failed to copy.")};return{isCopied:a,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(o).catch(d);else{let t=s()(e);t?o():d()}}}}}},25809:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n{let{field:t}=e;return(0,n.jsx)(j.xJ,{children:(0,n.jsx)(j.NI,{children:(0,n.jsx)(b.I,{placeholder:"Email",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})})})}}),(0,n.jsx)(u.z,{type:"submit",disabled:a,children:"Invite"})]}),(0,n.jsx)(j.zG,{className:"text-center"})]})})}let w=(0,c.BX)("\n query ListInvitations {\n invitations {\n id\n email\n code\n createdAt\n }\n }\n"),C=(0,c.BX)("\n mutation DeleteInvitation($id: Int!) {\n deleteInvitation(id: $id)\n }\n");function R(){let[{data:e},t]=(0,i.aM)({query:w}),r=null==e?void 0:e.invitations,[a,o]=(0,s.useState)("");(0,s.useEffect)(()=>{o(new URL(window.location.href).origin)},[]);let c=(0,d.D)(C,{onCompleted(){t()}});return r&&(0,n.jsxs)(m.iA,{children:[r.length>0&&(0,n.jsx)(m.xD,{children:(0,n.jsxs)(m.SC,{children:[(0,n.jsx)(m.ss,{className:"w-[25%]",children:"Invitee"}),(0,n.jsx)(m.ss,{className:"w-[45%]",children:"Created"}),(0,n.jsx)(m.ss,{})]})}),(0,n.jsxs)(m.RM,{children:[r.map((e,t)=>{let r="".concat(a,"/auth/signup?invitationCode=").concat(e.code);return(0,n.jsxs)(m.SC,{children:[(0,n.jsx)(m.pj,{children:e.email}),(0,n.jsx)(m.pj,{children:l().utc(e.createdAt).fromNow()}),(0,n.jsxs)(m.pj,{className:"text-center",children:[(0,n.jsx)(x.q,{value:r}),(0,n.jsx)(u.z,{size:"icon",variant:"hover-destructive",onClick:()=>c(e),children:(0,n.jsx)(f.IT,{})})]})]},t)}),(0,n.jsx)(m.SC,{children:(0,n.jsx)(m.pj,{className:"p-2",children:(0,n.jsx)(N,{onCreated:()=>t()})})})]})]})}var D=r(7404),I=r(39311);let S=(0,D.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function E(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,I.cn)(S({variant:r}),t),...a})}let T=(0,c.BX)("\n query ListUsers {\n users {\n email\n isAdmin\n createdAt\n }\n }\n");function A(){let[{data:e}]=(0,i.aM)({query:T}),t=null==e?void 0:e.users;return t&&(0,n.jsxs)(m.iA,{children:[(0,n.jsx)(m.xD,{children:(0,n.jsxs)(m.SC,{children:[(0,n.jsx)(m.ss,{className:"w-[25%]",children:"Email"}),(0,n.jsx)(m.ss,{className:"w-[45%]",children:"Joined"}),(0,n.jsx)(m.ss,{className:"text-center",children:"Level"})]})}),(0,n.jsx)(m.RM,{children:t.map((e,t)=>(0,n.jsxs)(m.SC,{children:[(0,n.jsx)(m.pj,{children:e.email}),(0,n.jsx)(m.pj,{children:l().utc(e.createdAt).fromNow()}),(0,n.jsx)(m.pj,{className:"text-center",children:e.isAdmin?(0,n.jsx)(E,{children:"ADMIN"}):(0,n.jsx)(E,{variant:"secondary",children:"MEMBER"})})]},t))})]})}function k(){return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(a.Ol,{children:(0,n.jsx)(a.ll,{children:"Pending Invites"})}),(0,n.jsx)(a.aY,{className:"p-4",children:(0,n.jsx)(R,{})})]}),(0,n.jsx)("div",{className:"h-16"}),(0,n.jsxs)("div",{children:[(0,n.jsx)(a.Ol,{children:(0,n.jsx)(a.ll,{children:"Members"})}),(0,n.jsx)(a.aY,{className:"p-4",children:(0,n.jsx)(A,{})})]})]})}},33555:function(e,t,r){"use strict";r.d(t,{q:function(){return l}});var n=r(57437);r(2265);var a=r(77723),s=r(93023),o=r(84168);function l(e){let{className:t,value:r,...l}=e,{isCopied:i,copyToClipboard:c}=(0,a.m)({timeout:2e3});return r?(0,n.jsxs)(s.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{i||c(r)},...l,children:[i?(0,n.jsx)(o.NO,{className:"text-green-600"}):(0,n.jsx)(o.vU,{}),(0,n.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},86110:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},Zb:function(){return o},aY:function(){return d},eW:function(){return u},ll:function(){return i}});var n=r(57437),a=r(2265),s=r(39311);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});o.displayName="Card";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});l.displayName="CardHeader";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});i.displayName="CardTitle";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})});c.displayName="CardDescription";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});d.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},41315:function(e,t,r){"use strict";r.d(t,{NI:function(){return h},Wi:function(){return u},l0:function(){return c},lX:function(){return p},xJ:function(){return x},zG:function(){return j}});var n=r(57437),a=r(2265),s=r(67256),o=r(61865),l=r(39311),i=r(66672);let c=o.RV,d=a.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(d.Provider,{value:{name:t.name},children:(0,n.jsx)(o.Qr,{...t})})},f=()=>{let e=a.useContext(d),t=a.useContext(m),{getFieldState:r,formState:n}=(0,o.Gc)(),s=e.name||"root",l=r(s,n);if(!n)throw Error("useFormField should be used within ");let{id:i}=t;return{id:i,name:s,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...l}},m=a.createContext({}),x=a.forwardRef((e,t)=>{let{className:r,...s}=e,o=a.useId();return(0,n.jsx)(m.Provider,{value:{id:o},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...s})})});x.displayName="FormItem";let p=a.forwardRef((e,t)=>{let{className:r,...a}=e,{error:s,formItemId:o}=f();return(0,n.jsx)(i._,{ref:t,className:(0,l.cn)(s&&"text-destructive",r),htmlFor:o,...a})});p.displayName="FormLabel";let h=a.forwardRef((e,t)=>{let{...r}=e,{error:a,formItemId:o,formDescriptionId:l,formMessageId:i}=f();return(0,n.jsx)(s.g7,{ref:t,id:o,"aria-describedby":a?"".concat(l," ").concat(i):"".concat(l),"aria-invalid":!!a,...r})});h.displayName="FormControl";let v=a.forwardRef((e,t)=>{let{className:r,...a}=e,{formDescriptionId:s}=f();return(0,n.jsx)("p",{ref:t,id:s,className:(0,l.cn)("text-sm text-muted-foreground",r),...a})});v.displayName="FormDescription";let j=a.forwardRef((e,t)=>{let{className:r,children:a,...s}=e,{error:o,formMessageId:i}=f(),c=o?String(null==o?void 0:o.message):a;return c?(0,n.jsx)("p",{ref:t,id:i,className:(0,l.cn)("text-sm font-medium text-destructive",r),...s,children:c}):null});j.displayName="FormMessage"},51908:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(57437),a=r(2265),s=r(39311);let o=a.forwardRef((e,t)=>{let{className:r,type:a,...o}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},66672:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n=r(57437),a=r(2265),s=r(36743),o=r(7404),l=r(39311);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.f,{ref:t,className:(0,l.cn)(i(),r),...a})});c.displayName=s.f.displayName},32553:function(e,t,r){"use strict";r.d(t,{RM:function(){return i},SC:function(){return d},iA:function(){return o},pj:function(){return f},ss:function(){return u},xD:function(){return l}});var n=r(57437),a=r(2265),s=r(39311);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{className:"relative w-full overflow-auto",children:(0,n.jsx)("table",{ref:t,className:(0,s.cn)("w-full caption-bottom text-sm",r),...a})})});o.displayName="Table";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("thead",{ref:t,className:(0,s.cn)("[&_tr]:border-b",r),...a})});l.displayName="TableHeader";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,s.cn)("[&_tr:last-child]:border-0",r),...a})});i.displayName="TableBody";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,s.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...a})});c.displayName="TableFooter";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tr",{ref:t,className:(0,s.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...a})});d.displayName="TableRow";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("th",{ref:t,className:(0,s.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...a})});u.displayName="TableHead";let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("td",{ref:t,className:(0,s.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",r),...a})});f.displayName="TableCell";let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("caption",{ref:t,className:(0,s.cn)("mt-4 text-sm text-muted-foreground",r),...a})});m.displayName="TableCaption"},77723:function(e,t,r){"use strict";r.d(t,{m:function(){return l}});var n=r(2265),a=r(2390),s=r.n(a),o=r(71424);function l(e){let{timeout:t=2e3,onError:r}=e,[a,l]=n.useState(!1),i=()=>{l(!0),setTimeout(()=>{l(!1)},t)},c=e=>{if("function"==typeof r){null==r||r(e);return}o.A.error("Failed to copy.")};return{isCopied:a,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(i).catch(c);else{let t=s()(e);t?i():c()}}}}}},25809:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n{"authenticated"===b&&N.replace("/")},[b]);let v=(0,d.zq)(),{isSubmitting:w}=c.formState,y=(0,u.D)(j,{onCompleted(e){v(e.tokenAuth)},form:c});return(0,n.jsx)("div",{className:(0,m.cn)("grid gap-6",t),...l,children:(0,n.jsxs)(x.l0,{...c,children:[(0,n.jsxs)("form",{className:"grid gap-2",onSubmit:c.handleSubmit(y),children:[(0,n.jsx)(x.Wi,{control:c.control,name:"email",render:e=>{let{field:t}=e;return(0,n.jsxs)(x.xJ,{children:[(0,n.jsx)(x.lX,{children:"Email"}),(0,n.jsx)(x.NI,{children:(0,n.jsx)(h.I,{placeholder:"",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,n.jsx)(x.zG,{})]})}}),(0,n.jsx)(x.Wi,{control:c.control,name:"password",render:e=>{let{field:t}=e;return(0,n.jsxs)(x.xJ,{children:[(0,n.jsx)(x.lX,{children:"Password"}),(0,n.jsx)(x.NI,{children:(0,n.jsx)(h.I,{type:"password",...t})}),(0,n.jsx)(x.zG,{})]})}}),(0,n.jsxs)(f.z,{type:"submit",className:"mt-1",disabled:w,children:[w&&(0,n.jsx)(p.vM,{className:"mr-2 h-4 w-4 animate-spin"}),"Login"]})]}),(0,n.jsx)(x.zG,{className:"text-center"})]})})}function b(){return(0,n.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Sign In"}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter credentials to login to your account"})]}),(0,n.jsx)(N,{})]})}},41315:function(e,t,r){"use strict";r.d(t,{NI:function(){return h},Wi:function(){return u},l0:function(){return c},lX:function(){return p},xJ:function(){return x},zG:function(){return g}});var n=r(57437),s=r(2265),i=r(67256),a=r(61865),o=r(39311),l=r(66672);let c=a.RV,d=s.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(d.Provider,{value:{name:t.name},children:(0,n.jsx)(a.Qr,{...t})})},m=()=>{let e=s.useContext(d),t=s.useContext(f),{getFieldState:r,formState:n}=(0,a.Gc)(),i=e.name||"root",o=r(i,n);if(!n)throw Error("useFormField should be used within ");let{id:l}=t;return{id:l,name:i,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...o}},f=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...i}=e,a=s.useId();return(0,n.jsx)(f.Provider,{value:{id:a},children:(0,n.jsx)("div",{ref:t,className:(0,o.cn)("space-y-2",r),...i})})});x.displayName="FormItem";let p=s.forwardRef((e,t)=>{let{className:r,...s}=e,{error:i,formItemId:a}=m();return(0,n.jsx)(l._,{ref:t,className:(0,o.cn)(i&&"text-destructive",r),htmlFor:a,...s})});p.displayName="FormLabel";let h=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:a,formDescriptionId:o,formMessageId:l}=m();return(0,n.jsx)(i.g7,{ref:t,id:a,"aria-describedby":s?"".concat(o," ").concat(l):"".concat(o),"aria-invalid":!!s,...r})});h.displayName="FormControl";let j=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:i}=m();return(0,n.jsx)("p",{ref:t,id:i,className:(0,o.cn)("text-sm text-muted-foreground",r),...s})});j.displayName="FormDescription";let g=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e,{error:a,formMessageId:l}=m(),c=a?String(null==a?void 0:a.message):s;return c?(0,n.jsx)("p",{ref:t,id:l,className:(0,o.cn)("text-sm font-medium text-destructive",r),...i,children:c}):null});g.displayName="FormMessage"},51908:function(e,t,r){"use strict";r.d(t,{I:function(){return a}});var n=r(57437),s=r(2265),i=r(39311);let a=s.forwardRef((e,t)=>{let{className:r,type:s,...a}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...a})});a.displayName="Input"},66672:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n=r(57437),s=r(2265),i=r(36743),a=r(7404),o=r(39311);let l=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(i.f,{ref:t,className:(0,o.cn)(l(),r),...s})});c.displayName=i.f.displayName}},function(e){e.O(0,[5328,5414,7820,1894,2971,7864,1744],function(){return e(e.s=76846)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8098],{93189:function(e,t,r){Promise.resolve().then(r.bind(r,61004))},61004:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var n=r(57437),s=r(2265),i=r(24033),a=r(38110),o=r(61865),l=r(74578),c=r(58835),d=r(58001),u=r(7820),m=r(39311),f=r(93023),x=r(41315),p=r(84168),h=r(51908);let j=(0,c.BX)("\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n"),g=l.Ry({email:l.Z_().email("Invalid email address"),password:l.Z_()});function v(e){let{className:t,invitationCode:r,...l}=e,c=(0,o.cI)({resolver:(0,a.F)(g)}),v=(0,i.useRouter)(),{status:N}=(0,d.kP)();s.useEffect(()=>{"authenticated"===N&&v.replace("/")},[N]);let b=(0,d.zq)(),{isSubmitting:w}=c.formState,y=(0,u.D)(j,{onCompleted(e){b(e.tokenAuth)},form:c});return(0,n.jsx)("div",{className:(0,m.cn)("grid gap-6",t),...l,children:(0,n.jsxs)(x.l0,{...c,children:[(0,n.jsxs)("form",{className:"grid gap-2",onSubmit:c.handleSubmit(y),children:[(0,n.jsx)(x.Wi,{control:c.control,name:"email",render:e=>{let{field:t}=e;return(0,n.jsxs)(x.xJ,{children:[(0,n.jsx)(x.lX,{children:"Email"}),(0,n.jsx)(x.NI,{children:(0,n.jsx)(h.I,{placeholder:"",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,n.jsx)(x.zG,{})]})}}),(0,n.jsx)(x.Wi,{control:c.control,name:"password",render:e=>{let{field:t}=e;return(0,n.jsxs)(x.xJ,{children:[(0,n.jsx)(x.lX,{children:"Password"}),(0,n.jsx)(x.NI,{children:(0,n.jsx)(h.I,{type:"password",...t})}),(0,n.jsx)(x.zG,{})]})}}),(0,n.jsxs)(f.z,{type:"submit",className:"mt-1",disabled:w,children:[w&&(0,n.jsx)(p.vM,{className:"mr-2 h-4 w-4 animate-spin"}),"Login"]})]}),(0,n.jsx)(x.zG,{className:"text-center"})]})})}function N(){return(0,n.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Sign In"}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter credentials to login to your account"})]}),(0,n.jsx)(v,{})]})}},41315:function(e,t,r){"use strict";r.d(t,{NI:function(){return h},Wi:function(){return u},l0:function(){return c},lX:function(){return p},xJ:function(){return x},zG:function(){return g}});var n=r(57437),s=r(2265),i=r(67256),a=r(61865),o=r(39311),l=r(66672);let c=a.RV,d=s.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(d.Provider,{value:{name:t.name},children:(0,n.jsx)(a.Qr,{...t})})},m=()=>{let e=s.useContext(d),t=s.useContext(f),{getFieldState:r,formState:n}=(0,a.Gc)(),i=e.name||"root",o=r(i,n);if(!n)throw Error("useFormField should be used within ");let{id:l}=t;return{id:l,name:i,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...o}},f=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...i}=e,a=s.useId();return(0,n.jsx)(f.Provider,{value:{id:a},children:(0,n.jsx)("div",{ref:t,className:(0,o.cn)("space-y-2",r),...i})})});x.displayName="FormItem";let p=s.forwardRef((e,t)=>{let{className:r,...s}=e,{error:i,formItemId:a}=m();return(0,n.jsx)(l._,{ref:t,className:(0,o.cn)(i&&"text-destructive",r),htmlFor:a,...s})});p.displayName="FormLabel";let h=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:a,formDescriptionId:o,formMessageId:l}=m();return(0,n.jsx)(i.g7,{ref:t,id:a,"aria-describedby":s?"".concat(o," ").concat(l):"".concat(o),"aria-invalid":!!s,...r})});h.displayName="FormControl";let j=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:i}=m();return(0,n.jsx)("p",{ref:t,id:i,className:(0,o.cn)("text-sm text-muted-foreground",r),...s})});j.displayName="FormDescription";let g=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e,{error:a,formMessageId:l}=m(),c=a?String(null==a?void 0:a.message):s;return c?(0,n.jsx)("p",{ref:t,id:l,className:(0,o.cn)("text-sm font-medium text-destructive",r),...i,children:c}):null});g.displayName="FormMessage"},51908:function(e,t,r){"use strict";r.d(t,{I:function(){return a}});var n=r(57437),s=r(2265),i=r(39311);let a=s.forwardRef((e,t)=>{let{className:r,type:s,...a}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...a})});a.displayName="Input"},66672:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n=r(57437),s=r(2265),i=r(36743),a=r(7404),o=r(39311);let l=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(i.f,{ref:t,className:(0,o.cn)(l(),r),...s})});c.displayName=i.f.displayName},9381:function(e,t,r){"use strict";r.d(t,{WV:function(){return o},jH:function(){return l}});var n=r(13428),s=r(2265),i=r(54887),a=r(67256);let o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,s.forwardRef)((e,r)=>{let{asChild:i,...o}=e,l=i?a.g7:t;return(0,s.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,s.createElement)(l,(0,n.Z)({},o,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&(0,i.flushSync)(()=>e.dispatchEvent(t))}}},function(e){e.O(0,[5135,5414,7820,1894,2971,7864,1744],function(){return e(e.s=93189)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-29d665856a81e6f6.js b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-29d665856a81e6f6.js new file mode 100644 index 000000000000..dcd976a8db17 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-29d665856a81e6f6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5271],{16376:function(e,t,r){Promise.resolve().then(r.bind(r,89890))},89890:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(57437),s=r(24033);r(2265);var i=r(38110),a=r(61865),o=r(74578),l=r(58835),d=r(58001),c=r(7820),u=r(39311),m=r(93023),f=r(41315),x=r(84168),p=r(51908);let h=(0,l.BX)("\n mutation register(\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n"),j=o.Ry({email:o.Z_().email("Invalid email address"),password1:o.Z_(),password2:o.Z_(),invitationCode:o.Z_().optional()});function v(e){let{className:t,invitationCode:r,...o}=e,l=(0,a.cI)({resolver:(0,i.F)(j),defaultValues:{invitationCode:r}}),v=(0,s.useRouter)(),g=(0,d.zq)(),{isSubmitting:w}=l.formState,N=(0,c.D)(h,{async onCompleted(e){await g(null==e?void 0:e.register)&&v.replace("/")},form:l});return(0,n.jsx)("div",{className:(0,u.cn)("grid gap-6",t),...o,children:(0,n.jsxs)(f.l0,{...l,children:[(0,n.jsxs)("form",{className:"grid gap-2",onSubmit:l.handleSubmit(N),children:[(0,n.jsx)(f.Wi,{control:l.control,name:"email",render:e=>{let{field:t}=e;return(0,n.jsxs)(f.xJ,{children:[(0,n.jsx)(f.lX,{children:"Email"}),(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{placeholder:"",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,n.jsx)(f.zG,{})]})}}),(0,n.jsx)(f.Wi,{control:l.control,name:"password1",render:e=>{let{field:t}=e;return(0,n.jsxs)(f.xJ,{children:[(0,n.jsx)(f.lX,{children:"Password"}),(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{type:"password",...t})}),(0,n.jsx)(f.zG,{})]})}}),(0,n.jsx)(f.Wi,{control:l.control,name:"password2",render:e=>{let{field:t}=e;return(0,n.jsxs)(f.xJ,{children:[(0,n.jsx)(f.lX,{children:"Confirm Password"}),(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{type:"password",...t})}),(0,n.jsx)(f.zG,{})]})}}),(0,n.jsx)(f.Wi,{control:l.control,name:"invitationCode",render:e=>{let{field:t}=e;return(0,n.jsx)(f.xJ,{className:"hidden",children:(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{type:"hidden",...t})})})}}),(0,n.jsxs)(m.z,{type:"submit",className:"mt-1",disabled:w,children:[w&&(0,n.jsx)(x.vM,{className:"mr-2 h-4 w-4 animate-spin"}),"Register"]})]}),(0,n.jsx)(f.zG,{className:"text-center"})]})})}function g(){let e=(0,s.useSearchParams)(),t=e.get("invitationCode")||void 0,r=e.get("isAdmin")||!1;return r||t?(0,n.jsx)(w,{title:r?"Create an admin account":"Create an account",description:r?"Your instance will be secured, only registered users can access it.":"Fill form below to create your account",show:!0}):(0,n.jsx)(w,{title:"No invitation code",description:"Please contact your Tabby admin for an invitation code to register"})}function w(e){let{title:t,description:r,show:i}=e,a=(0,s.useSearchParams)(),o=a.get("invitationCode")||void 0;return(0,n.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:t}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:r})]}),i&&(0,n.jsx)(v,{invitationCode:o})]})}},41315:function(e,t,r){"use strict";r.d(t,{NI:function(){return h},Wi:function(){return u},l0:function(){return d},lX:function(){return p},xJ:function(){return x},zG:function(){return v}});var n=r(57437),s=r(2265),i=r(67256),a=r(61865),o=r(39311),l=r(66672);let d=a.RV,c=s.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(c.Provider,{value:{name:t.name},children:(0,n.jsx)(a.Qr,{...t})})},m=()=>{let e=s.useContext(c),t=s.useContext(f),{getFieldState:r,formState:n}=(0,a.Gc)(),i=e.name||"root",o=r(i,n);if(!n)throw Error("useFormField should be used within ");let{id:l}=t;return{id:l,name:i,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...o}},f=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...i}=e,a=s.useId();return(0,n.jsx)(f.Provider,{value:{id:a},children:(0,n.jsx)("div",{ref:t,className:(0,o.cn)("space-y-2",r),...i})})});x.displayName="FormItem";let p=s.forwardRef((e,t)=>{let{className:r,...s}=e,{error:i,formItemId:a}=m();return(0,n.jsx)(l._,{ref:t,className:(0,o.cn)(i&&"text-destructive",r),htmlFor:a,...s})});p.displayName="FormLabel";let h=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:a,formDescriptionId:o,formMessageId:l}=m();return(0,n.jsx)(i.g7,{ref:t,id:a,"aria-describedby":s?"".concat(o," ").concat(l):"".concat(o),"aria-invalid":!!s,...r})});h.displayName="FormControl";let j=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:i}=m();return(0,n.jsx)("p",{ref:t,id:i,className:(0,o.cn)("text-sm text-muted-foreground",r),...s})});j.displayName="FormDescription";let v=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e,{error:a,formMessageId:l}=m(),d=a?String(null==a?void 0:a.message):s;return d?(0,n.jsx)("p",{ref:t,id:l,className:(0,o.cn)("text-sm font-medium text-destructive",r),...i,children:d}):null});v.displayName="FormMessage"},51908:function(e,t,r){"use strict";r.d(t,{I:function(){return a}});var n=r(57437),s=r(2265),i=r(39311);let a=s.forwardRef((e,t)=>{let{className:r,type:s,...a}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...a})});a.displayName="Input"},66672:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var n=r(57437),s=r(2265),i=r(36743),a=r(7404),o=r(39311);let l=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(i.f,{ref:t,className:(0,o.cn)(l(),r),...s})});d.displayName=i.f.displayName},9381:function(e,t,r){"use strict";r.d(t,{WV:function(){return o},jH:function(){return l}});var n=r(13428),s=r(2265),i=r(54887),a=r(67256);let o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,s.forwardRef)((e,r)=>{let{asChild:i,...o}=e,l=i?a.g7:t;return(0,s.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,s.createElement)(l,(0,n.Z)({},o,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&(0,i.flushSync)(()=>e.dispatchEvent(t))}}},function(e){e.O(0,[5135,5414,7820,1894,2971,7864,1744],function(){return e(e.s=16376)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-636605bfde04be8f.js b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-636605bfde04be8f.js deleted file mode 100644 index b2f88c9b69d1..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-636605bfde04be8f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5271],{37704:function(e,r,t){Promise.resolve().then(t.bind(t,89890))},89890:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return g}});var n=t(57437),s=t(24033);t(2265);var i=t(38110),o=t(61865),a=t(74578),l=t(58835),d=t(58001),c=t(7820),u=t(39311),m=t(93023),f=t(41315),x=t(84168),p=t(51908);let j=(0,l.BX)("\n mutation register(\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n"),h=a.Ry({email:a.Z_().email("Invalid email address"),password1:a.Z_(),password2:a.Z_(),invitationCode:a.Z_().optional()});function v(e){let{className:r,invitationCode:t,...a}=e,l=(0,o.cI)({resolver:(0,i.F)(h),defaultValues:{invitationCode:t}}),v=(0,s.useRouter)(),g=(0,d.zq)(),{isSubmitting:w}=l.formState,N=(0,c.D)(j,{async onCompleted(e){await g(null==e?void 0:e.register)&&v.replace("/")},form:l});return(0,n.jsx)("div",{className:(0,u.cn)("grid gap-6",r),...a,children:(0,n.jsxs)(f.l0,{...l,children:[(0,n.jsxs)("form",{className:"grid gap-2",onSubmit:l.handleSubmit(N),children:[(0,n.jsx)(f.Wi,{control:l.control,name:"email",render:e=>{let{field:r}=e;return(0,n.jsxs)(f.xJ,{children:[(0,n.jsx)(f.lX,{children:"Email"}),(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{placeholder:"",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...r})}),(0,n.jsx)(f.zG,{})]})}}),(0,n.jsx)(f.Wi,{control:l.control,name:"password1",render:e=>{let{field:r}=e;return(0,n.jsxs)(f.xJ,{children:[(0,n.jsx)(f.lX,{children:"Password"}),(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{type:"password",...r})}),(0,n.jsx)(f.zG,{})]})}}),(0,n.jsx)(f.Wi,{control:l.control,name:"password2",render:e=>{let{field:r}=e;return(0,n.jsxs)(f.xJ,{children:[(0,n.jsx)(f.lX,{children:"Confirm Password"}),(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{type:"password",...r})}),(0,n.jsx)(f.zG,{})]})}}),(0,n.jsx)(f.Wi,{control:l.control,name:"invitationCode",render:e=>{let{field:r}=e;return(0,n.jsx)(f.xJ,{className:"hidden",children:(0,n.jsx)(f.NI,{children:(0,n.jsx)(p.I,{type:"hidden",...r})})})}}),(0,n.jsxs)(m.z,{type:"submit",className:"mt-1",disabled:w,children:[w&&(0,n.jsx)(x.vM,{className:"mr-2 h-4 w-4 animate-spin"}),"Register"]})]}),(0,n.jsx)(f.zG,{className:"text-center"})]})})}function g(){let e=(0,s.useSearchParams)(),r=e.get("invitationCode")||void 0,t=e.get("isAdmin")||!1;return t||r?(0,n.jsx)(w,{title:t?"Create an admin account":"Create an account",description:t?"Your instance will be secured, only registered users can access it.":"Fill form below to create your account",show:!0}):(0,n.jsx)(w,{title:"No invitation code",description:"Please contact your Tabby admin for an invitation code to register"})}function w(e){let{title:r,description:t,show:i}=e,o=(0,s.useSearchParams)(),a=o.get("invitationCode")||void 0;return(0,n.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:r}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:t})]}),i&&(0,n.jsx)(v,{invitationCode:a})]})}},41315:function(e,r,t){"use strict";t.d(r,{NI:function(){return j},Wi:function(){return u},l0:function(){return d},lX:function(){return p},xJ:function(){return x},zG:function(){return v}});var n=t(57437),s=t(2265),i=t(67256),o=t(61865),a=t(39311),l=t(66672);let d=o.RV,c=s.createContext({}),u=e=>{let{...r}=e;return(0,n.jsx)(c.Provider,{value:{name:r.name},children:(0,n.jsx)(o.Qr,{...r})})},m=()=>{let e=s.useContext(c),r=s.useContext(f),{getFieldState:t,formState:n}=(0,o.Gc)(),i=e.name||"root",a=t(i,n);if(!n)throw Error("useFormField should be used within ");let{id:l}=r;return{id:l,name:i,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...a}},f=s.createContext({}),x=s.forwardRef((e,r)=>{let{className:t,...i}=e,o=s.useId();return(0,n.jsx)(f.Provider,{value:{id:o},children:(0,n.jsx)("div",{ref:r,className:(0,a.cn)("space-y-2",t),...i})})});x.displayName="FormItem";let p=s.forwardRef((e,r)=>{let{className:t,...s}=e,{error:i,formItemId:o}=m();return(0,n.jsx)(l._,{ref:r,className:(0,a.cn)(i&&"text-destructive",t),htmlFor:o,...s})});p.displayName="FormLabel";let j=s.forwardRef((e,r)=>{let{...t}=e,{error:s,formItemId:o,formDescriptionId:a,formMessageId:l}=m();return(0,n.jsx)(i.g7,{ref:r,id:o,"aria-describedby":s?"".concat(a," ").concat(l):"".concat(a),"aria-invalid":!!s,...t})});j.displayName="FormControl";let h=s.forwardRef((e,r)=>{let{className:t,...s}=e,{formDescriptionId:i}=m();return(0,n.jsx)("p",{ref:r,id:i,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});h.displayName="FormDescription";let v=s.forwardRef((e,r)=>{let{className:t,children:s,...i}=e,{error:o,formMessageId:l}=m(),d=o?String(null==o?void 0:o.message):s;return d?(0,n.jsx)("p",{ref:r,id:l,className:(0,a.cn)("text-sm font-medium text-destructive",t),...i,children:d}):null});v.displayName="FormMessage"},51908:function(e,r,t){"use strict";t.d(r,{I:function(){return o}});var n=t(57437),s=t(2265),i=t(39311);let o=s.forwardRef((e,r)=>{let{className:t,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...o})});o.displayName="Input"},66672:function(e,r,t){"use strict";t.d(r,{_:function(){return d}});var n=t(57437),s=t(2265),i=t(36743),o=t(7404),a=t(39311);let l=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(i.f,{ref:r,className:(0,a.cn)(l(),t),...s})});d.displayName=i.f.displayName}},function(e){e.O(0,[5328,5414,7820,1894,2971,7864,1744],function(){return e(e.s=37704)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-f71017bba8194a4c.js b/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-8b9c14b4567ef892.js similarity index 98% rename from ee/tabby-webserver/ui/_next/static/chunks/app/files/page-f71017bba8194a4c.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/files/page-8b9c14b4567ef892.js index b444a5c86ba4..83f918f960e5 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-f71017bba8194a4c.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-8b9c14b4567ef892.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[357],{51848:function(e,t,l){Promise.resolve().then(l.bind(l,56922))},56922:function(e,t,l){"use strict";l.r(t),l.d(t,{SourceCodeBrowser:function(){return X},SourceCodeBrowserContext:function(){return U}});var r=l(57437),n=l(2265),a=l(30415),i=l.n(a),s=l(72999),o=l(16630),c=l(91067),d=l(1589),u=l(24033),f=l(1592),h=l(39311),v=l(61574);let m=e=>{let{className:t,...l}=e;return(0,r.jsx)(v.eh,{className:(0,h.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...l})},x=v.s_,p=e=>{let{withHandle:t,className:l,...n}=e;return(0,r.jsx)(v.OT,{className:(0,h.cn)("border-bg relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",l),...n,children:t&&(0,r.jsx)("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"})})};var g=l(33555);let j=e=>{let{className:t}=e,{currentFileRoutes:l,setActivePath:a,activePath:i}=n.useContext(U);return(0,r.jsxs)("div",{className:(0,h.cn)("flex flex-nowrap items-center gap-1",t),children:[(0,r.jsx)("div",{className:"cursor-pointer font-medium text-primary hover:underline",onClick:e=>a(void 0),children:"Repositories"}),(0,r.jsx)("div",{children:"/"}),null==l?void 0:l.map((e,t)=>{let i=0===t&&(null==l?void 0:l.length)>1,s=t===l.length-1;return(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)("div",{className:(0,h.cn)(i||s?"font-bold":"font-medium",s?"":"cursor-pointer text-primary hover:underline",i?"hover:underline":void 0),onClick:t=>a(e.fullPath),children:e.name}),"file"!==e.file.kind&&(0,r.jsx)("div",{children:"/"})]},e.fullPath)}),!!(null==l?void 0:l.length)&&!!i&&(0,r.jsx)(g.q,{value:i})]})};var b=l(83390),N=l(95376);function y(e,t){let[l,r]=n.useState(e);return n.useEffect(()=>{let l=setTimeout(()=>{r(e)},t);return()=>clearTimeout(l)},[e,t]),l}var w=l(84168),k=l(32553),P=l(24144);function C(e){var t;return e?null===(t=e.split("/"))||void 0===t?void 0:t[0]:""}function S(e){return e?e.split("/").slice(1).join("/"):""}function T(e){if(!e)return"";let t=e.split("/");return t[t.length-1]}function E(e,t){if((0,P.Z)(e))return[];let l=[""],r=e.split("/"),n=t?r.length:r.length-1;for(let e=0;e{let{className:t,loading:l,initialized:a}=e,{activePath:i,currentFileRoutes:s,setActivePath:o,fileTreeData:c}=n.useContext(U),d=n.useMemo(()=>(function(e,t){if(!(null==e?void 0:e.length))return[];if(t){let l=t.split("/"),r=e;for(;l.length;){let e=l.shift(),t=(0,b.Z)(r,t=>t.name===e);if(null==t||!t.children)return[];r=null==t?void 0:t.children}return(null==r?void 0:r.map(e=>(0,N.Z)(e,"children")))||[]}{let t=e.map(e=>(0,N.Z)(e,"children"))||[];return t}})(c,i),[c,i]),u=y(l,300),f=(null==s?void 0:s.length)>0,v=()=>{var e;let t=null===(e=s[(null==s?void 0:s.length)-2])||void 0===e?void 0:e.fullPath;o(t)},m=e=>{o(e.fullPath)};return(0,r.jsx)("div",{className:(0,h.cn)("text-base",t),children:u||!a?(0,r.jsx)(Z,{}):(null==c?void 0:c.length)?(0,r.jsx)(k.iA,{children:(0,r.jsxs)(k.RM,{children:[f&&(0,r.jsx)(k.SC,{className:"cursor-pointer",onClick:e=>v(),children:(0,r.jsx)(k.pj,{className:"p-1 px-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(w.oR,{style:{color:"rgb(84, 174, 255)"}})}),(0,r.jsx)("span",{className:"px-1 py-2",children:".."})]})})}),(0,r.jsx)(r.Fragment,{children:d.map(e=>(0,r.jsx)(k.SC,{children:(0,r.jsx)(k.pj,{className:"p-1 px-4 text-base",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:"dir"===e.file.kind?(0,r.jsx)(w.oR,{style:{color:"rgb(84, 174, 255)"}}):(0,r.jsx)(w.Xh,{})}),(0,r.jsx)("span",{onClick:t=>m(e),className:"cursor-pointer px-1 py-2 hover:text-primary hover:underline",children:T(e.fullPath)})]})})},e.fullPath))})]})}):(0,r.jsx)("div",{className:"flex justify-center py-8",children:"No indexed repository yet"})})};function Z(){return(0,r.jsxs)("ul",{className:"duration-600 animate-pulse space-y-3 p-2",children:[(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"})]})}let M=n.createContext({}),z=e=>{let{onSelectTreeNode:t,children:l,activePath:n,fileMap:a,updateFileMap:i,expandedKeys:s,toggleExpandedKey:o,initialized:c,fileTreeData:d}=e;return(0,r.jsx)(M.Provider,{value:{onSelectTreeNode:t,fileTreeData:d,expandedKeys:s,toggleExpandedKey:o,activePath:n,fileMap:a,updateFileMap:i,initialized:c},children:l})},F=e=>{let{level:t}=e,l=n.useMemo(()=>Array(t).fill(1),[t]);return(0,r.jsx)("div",{className:"flex h-full shrink-0 items-stretch",children:l.map((e,t)=>(0,r.jsx)("div",{className:"flex h-8 w-2 border-r border-transparent transition-colors duration-300 group-hover/filetree:border-border"},t))})},A=()=>(0,r.jsx)("div",{className:"absolute -left-2 h-8 w-1 rounded-md bg-primary"}),_=e=>{let{isActive:t,level:l,children:n,className:a,...i}=e;return(0,r.jsxs)("div",{className:(0,h.cn)("relative flex cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",t&&"bg-accent",a),...i,children:[t&&(0,r.jsx)(A,{}),(0,r.jsx)(F,{level:l}),(0,r.jsxs)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:[(0,r.jsx)("div",{className:"h-4 w-4 shrink-0"}),n]})]})},O=e=>{let{children:t,level:l,isActive:n,className:a,...i}=e;return(0,r.jsxs)("div",{className:(0,h.cn)("relative flex cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",n?"bg-accent text-accent-foreground":void 0,a),...i,children:[n&&(0,r.jsx)(A,{}),(0,r.jsx)(F,{level:l}),(0,r.jsx)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:t})]})},D=e=>{let{node:t,level:l}=e,{onSelectTreeNode:a,activePath:i}=n.useContext(M),s="file"===t.file.kind,o=t.fullPath===i;return(0,r.jsxs)(_,{level:l,onClick:e=>{s&&(null==a||a(t))},isActive:o,children:[(0,r.jsx)(w.Xh,{className:"shrink-0"}),(0,r.jsx)("div",{className:"truncate",children:null==t?void 0:t.name})]})},B=e=>{var t,l,a;let{node:i,level:s,root:o}=e,{fileMap:c,updateFileMap:u,expandedKeys:h,toggleExpandedKey:v,onSelectTreeNode:m,activePath:x}=n.useContext(M),p=n.useRef(!1),g=n.useMemo(()=>C(i.fullPath),[i.fullPath]),j=o?"":i.file.basename,b=h.has(i.fullPath),N="dir"===i.file.kind&&!(null==c?void 0:null===(t=c[i.fullPath])||void 0===t?void 0:t.treeExpanded)&&b,{data:k,isValidating:P}=(0,d.Z)(N?"/repositories/".concat(g,"/resolve/").concat(j):null,f.Z,{revalidateIfStale:!1});n.useEffect(()=>{var e;if(!p.current&&(null==k?void 0:null===(e=k.entries)||void 0===e?void 0:e.length)){let e=k.entries.reduce((e,t)=>{let l="".concat(g,"/").concat(t.basename);return{...e,[l]:{file:t,name:T(l),fullPath:l,treeExpanded:!1}}},{});u(e),p.current=!0}},[k]);let S=y(P,100),E=!!(null==i?void 0:null===(l=i.children)||void 0===l?void 0:l.length);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(O,{level:s,onClick:e=>{null==m||m(i)},isActive:x===i.fullPath,children:[(0,r.jsx)("div",{className:"flex h-8 shrink-0 items-center hover:bg-primary/10 hover:text-popover-foreground",onClick:e=>{S||(v(i.fullPath),e.stopPropagation())},children:S&&!p.current?(0,r.jsx)(w.vM,{}):b?(0,r.jsx)(w.C2,{}):(0,r.jsx)(w.VG,{})}),(0,r.jsx)("div",{className:"shrink-0",style:{color:"rgb(84, 174, 255)"},children:b?(0,r.jsx)(w.F8,{}):(0,r.jsx)(w.oR,{})}),(0,r.jsx)("div",{className:"truncate",children:null==i?void 0:i.name})]}),(0,r.jsx)(r.Fragment,{children:b&&E?(0,r.jsx)(r.Fragment,{children:null===(a=i.children)||void 0===a?void 0:a.map(e=>{let t=e.file.basename;return"dir"===e.file.kind?(0,r.jsx)(B,{node:e,level:s+1},t):(0,r.jsx)(D,{node:e,level:s+1},t)})}):null})]})},L=()=>{let{fileTreeData:e,initialized:t}=n.useContext(M);return t?(null==e?void 0:e.length)?(0,r.jsx)(r.Fragment,{children:null==e?void 0:e.map(e=>(0,r.jsx)(B,{root:!0,level:0,node:e},e.fullPath))}):(0,r.jsx)("div",{className:"flex h-full items-center justify-center",children:"No Data"}):(0,r.jsx)(H,{})},q=e=>{let{className:t,...l}=e;return(0,r.jsx)("div",{className:(0,h.cn)("group/filetree",t),children:(0,r.jsx)(z,{...l,children:(0,r.jsx)(L,{})})})};function H(){return(0,r.jsxs)("ul",{className:"duration-600 animate-pulse space-y-3 p-2",children:[(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"ml-4 h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"ml-4 h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"ml-4 h-4 rounded-md bg-gray-200 dark:bg-gray-700"})]})}let K=i()(()=>Promise.all([l.e(8301),l.e(6401),l.e(5344),l.e(3830)]).then(l.bind(l,53830)),{loadableGenerated:{webpack:()=>[53830]},ssr:!1}),U=n.createContext({}),G=e=>{let{children:t}=e,{searchParams:l,updateSearchParams:a}=function(){let e=(0,u.usePathname)(),t=(0,u.useRouter)(),l=(0,u.useSearchParams)();return{pathname:e,router:t,searchParams:l,updateSearchParams:r=>{let{set:n,del:a,replace:i,getNewPath:s}=r,o=new URLSearchParams(l);n&&Object.entries(n).forEach(e=>{let[t,l]=e;return o.set(t,l)}),a&&(Array.isArray(a)?a.forEach(e=>o.delete(e)):o.delete(a));let c=o.toString(),d="".concat(e).concat(c.length>0?"?".concat(c):"");if(s)return d;i?t.replace(d):t.push(d)},getQueryString:e=>{let t=new URLSearchParams(l);e&&Object.entries(e).forEach(e=>{let[l,r]=e;return t.set(l,r)});let r=t.toString();return r.length>0?"?".concat(r):""}}}(),i=n.useMemo(()=>{var e,t;return null!==(t=null===(e=l.get("path"))||void 0===e?void 0:e.toString())&&void 0!==t?t:""},[l]),[o,c]=n.useState(!1),[d,f]=n.useState({}),[h,v]=(0,n.useState)({}),[m,x]=(0,n.useState)({}),[p,g]=n.useState(new Set),j=n.useMemo(()=>{if(!i)return[];let e=[],t=i.split("/");for(let l=0;l(function e(t){if(!t.length)return[];for(let l of(t.sort((e,t)=>{let l="file"===e.file.kind?1:0,r="file"===t.file.kind?1:0;return l-r||e.name.localeCompare(t.name)}),t))(null==l?void 0:l.children)&&e(l.children);return t})(function(e){let t=[];if(!e)return t;let l=Object.keys(e);for(let r of l){let l=e[r],n=r.split("/"),a=t;for(let e=0;ee.name===t);if(i)a=i.children||[];else{let e={file:l.file,name:t,fullPath:r,children:[]};a.push(e),a=e.children}}}return t}(d)),[d]);return(0,r.jsx)(U.Provider,{value:{initialized:o,setInitialized:c,codeMap:h,setCodeMap:v,fileMetaMap:m,setFileMetaMap:x,activePath:i,setActivePath:e=>{e?a({set:{path:e}}):a({del:"path"})},fileMap:d,updateFileMap:e=>{e&&f({...d,...e})},expandedKeys:p,setExpandedKeys:g,toggleExpandedKey:e=>{let t=p.has(e),l=new Set(p);t?l.delete(e):l.add(e),g(l)},currentFileRoutes:j,fileTreeData:b},children:t})},W=e=>{var t;let{className:l}=e,{activePath:a,setActivePath:i,codeMap:s,setCodeMap:o,updateFileMap:u,fileMetaMap:v,setFileMetaMap:g,fileMap:b,initialized:N,setInitialized:y,expandedKeys:w,toggleExpandedKey:k,setExpandedKeys:P,fileTreeData:Z}=n.useContext(U),M=n.useMemo(()=>C(a),[a]),z=n.useMemo(()=>S(a),[a]),F=n.useMemo(()=>{var e,t;let l=a&&(null==b?void 0:null===(t=b[a])||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.kind)==="file";return l&&!(0,c.Z)(s,a)},[a,b,s]),A=n.useMemo(()=>{var e,t;let l=a&&(null==b?void 0:null===(t=b[a])||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.kind)==="file";return l&&!(0,c.Z)(v,a)},[a,b,s]),_=n.useMemo(()=>{var e,t,l;if(!N)return!1;let r=a&&(null==b?void 0:null===(t=b[a])||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.kind)==="dir";return r&&!(null==b?void 0:null===(l=b[a])||void 0===l?void 0:l.treeExpanded)},[a,b,N]),{data:O}=(0,d.Z)(F?"/repositories/".concat(M,"/resolve/").concat(z):null,e=>(0,f.Z)(e,{format:"text"})),{data:D}=(0,d.Z)(A?"/repositories/".concat(M,"/meta/").concat(z):null,f.Z),{data:B,isLoading:L}=(0,d.Z)(_?"/repositories/".concat(M,"/resolve/").concat(z):null,f.Z);n.useEffect(()=>{let e=async()=>{let{patchMap:e,expandedKeys:t}=await I(a);e&&u(e),(null==t?void 0:t.length)&&P(new Set(t)),y(!0)};e()},[]),n.useEffect(()=>{O&&a&&o(e=>({...e,[a]:O}))},[O]),n.useEffect(()=>{D&&a&&g(e=>({...e,[a]:D}))},[D]),n.useEffect(()=>{(()=>{var e;if((null==B?void 0:null===(e=B.entries)||void 0===e?void 0:e.length)&&a){let e=C(a),t={};for(let l of B.entries){let r="".concat(e,"/").concat(l.basename);t[r]={file:l,name:T(r),fullPath:r,treeExpanded:!1}}u(t);let l=E(a,!0);(null==l?void 0:l.length)&&P(e=>{let t=new Set(e);for(let e of l)t.add(e);return t})}})()},[B]);let H=a?null==b?void 0:null===(t=b[a])||void 0===t?void 0:t.file:void 0,G=(null==H?void 0:H.kind)==="file",W=(null==H?void 0:H.kind)==="dir"||""===a;return(0,r.jsxs)(m,{direction:"horizontal",className:(0,h.cn)(l),children:[(0,r.jsx)(x,{defaultSize:20,minSize:20,children:(0,r.jsx)("div",{className:"h-full overflow-hidden py-2",children:(0,r.jsx)(q,{className:"h-full overflow-y-auto overflow-x-hidden px-4",onSelectTreeNode:e=>{i(e.fullPath)},activePath:a,fileMap:b,updateFileMap:u,expandedKeys:w,toggleExpandedKey:k,initialized:N,fileTreeData:Z})})}),(0,r.jsx)(p,{className:"w-1 hover:bg-card active:bg-card"}),(0,r.jsx)(x,{defaultSize:80,minSize:30,children:(0,r.jsxs)("div",{className:"flex h-full flex-col overflow-y-auto px-4 pb-4",children:[(0,r.jsx)(j,{className:"sticky top-0 z-10 bg-background py-4"}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)(R,{loading:L,initialized:N,className:"rounded-lg border ".concat(W?"block":"hidden")}),(0,r.jsx)(K,{className:"rounded-lg border py-2 ".concat(G?"block":"hidden")})]})]})})]})},X=e=>(0,r.jsx)(G,{children:(0,r.jsx)(W,{className:"source-code-browser",...e})});async function I(e){let t=C(e),l=S(e);try{let e=await r(),{defaultEntries:l,expandedDir:n}=await a(e),i={};for(let l of e)i[l.basename]={file:l,name:l.basename,fullPath:l.basename,treeExpanded:l.basename===t};for(let e of l){let l="".concat(t,"/").concat(e.basename);i[l]={file:e,name:T(l),fullPath:l,treeExpanded:n.includes(e.basename)}}let s=n.map(e=>[t,e].filter(Boolean).join("/"));return{patchMap:i,expandedKeys:s}}catch(e){return console.error(e),{}}async function r(){try{let e=await (0,f.Z)("/repositories/resolve/");return null==e?void 0:e.entries}catch(e){return[]}}async function n(e){try{if(!t)return;let n=(0,o.Z)(e,e=>e.basename===t);if(n<0)return;let a=E(l),i=a.map(e=>()=>(0,f.Z)("/repositories/".concat(t,"/resolve/").concat(e))),s=await Promise.all(i.map(e=>e())),c=[];for(let e of s){var r;(null===(r=e.entries)||void 0===r?void 0:r.length)&&(c=[...c,...e.entries])}return c}catch(e){console.error(e)}}async function a(e){let r={defaultEntries:[],expandedDir:[]};try{if(t&&(null==e?void 0:e.length)){let t=await n(e),a=E(l);(null==t?void 0:t.length)&&(r.defaultEntries=t),(null==a?void 0:a.length)&&(r.expandedDir=a)}}catch(e){console.error(e)}return r}}},33555:function(e,t,l){"use strict";l.d(t,{q:function(){return s}});var r=l(57437);l(2265);var n=l(77723),a=l(93023),i=l(84168);function s(e){let{className:t,value:l,...s}=e,{isCopied:o,copyToClipboard:c}=(0,n.m)({timeout:2e3});return l?(0,r.jsxs)(a.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{o||c(l)},...s,children:[o?(0,r.jsx)(i.NO,{className:"text-green-600"}):(0,r.jsx)(i.vU,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},32553:function(e,t,l){"use strict";l.d(t,{RM:function(){return o},SC:function(){return d},iA:function(){return i},pj:function(){return f},ss:function(){return u},xD:function(){return s}});var r=l(57437),n=l(2265),a=l(39311);let i=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("div",{className:"relative w-full overflow-auto",children:(0,r.jsx)("table",{ref:t,className:(0,a.cn)("w-full caption-bottom text-sm",l),...n})})});i.displayName="Table";let s=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("thead",{ref:t,className:(0,a.cn)("[&_tr]:border-b",l),...n})});s.displayName="TableHeader";let o=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("tbody",{ref:t,className:(0,a.cn)("[&_tr:last-child]:border-0",l),...n})});o.displayName="TableBody";let c=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("tfoot",{ref:t,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",l),...n})});c.displayName="TableFooter";let d=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("tr",{ref:t,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",l),...n})});d.displayName="TableRow";let u=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("th",{ref:t,className:(0,a.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",l),...n})});u.displayName="TableHead";let f=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("td",{ref:t,className:(0,a.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",l),...n})});f.displayName="TableCell";let h=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("caption",{ref:t,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",l),...n})});h.displayName="TableCaption"},77723:function(e,t,l){"use strict";l.d(t,{m:function(){return s}});var r=l(2265),n=l(2390),a=l.n(n),i=l(71424);function s(e){let{timeout:t=2e3,onError:l}=e,[n,s]=r.useState(!1),o=()=>{s(!0),setTimeout(()=>{s(!1)},t)},c=e=>{if("function"==typeof l){null==l||l(e);return}i.A.error("Failed to copy.")};return{isCopied:n,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(o).catch(c);else{let t=a()(e);t?o():c()}}}}}},1592:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var r=l(34084),n=l(58001),a=l(7820);let i=!1,s=[];async function o(e,t){let l=await fetch(e,c(t));if(401!==l.status)return(null==t?void 0:t.format)==="text"?l.text():l.json();{var r,a;if(i)return new Promise(l=>{s.push({url:e,init:t,resolve:l})});let l=null===(r=(0,n.bW)())||void 0===r?void 0:r.refreshToken;if(!l){(0,n.Rn)();return}i=!0;let o=await d(l),c=null==o?void 0:null===(a=o.data)||void 0===a?void 0:a.refreshToken;if(c){for((0,n.pC)({accessToken:c.accessToken,refreshToken:c.refreshToken}),i=!1;s.length;){let e=s.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,t)}i=!1,s.length=0,(0,n.Rn)()}}function c(e){var t;let l=new Headers(null==e?void 0:e.headers);return l.append("authorization","Bearer ".concat(null===(t=(0,n.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:l}}async function d(e){let t=a.L.createRequestOperation("mutation",(0,r.h)(n.Dp,{refreshToken:e}));return a.L.executeMutation(t)}function u(e,t){return fetch(e,c(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5328,1424,2047,4012,8558,7820,1894,2971,7864,1744],function(){return e(e.s=51848)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[357],{10318:function(e,t,l){Promise.resolve().then(l.bind(l,56922))},56922:function(e,t,l){"use strict";l.r(t),l.d(t,{SourceCodeBrowser:function(){return X},SourceCodeBrowserContext:function(){return U}});var r=l(57437),n=l(2265),a=l(30415),i=l.n(a),s=l(72999),o=l(16630),c=l(91067),d=l(1589),u=l(24033),f=l(1592),h=l(39311),v=l(61574);let m=e=>{let{className:t,...l}=e;return(0,r.jsx)(v.eh,{className:(0,h.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...l})},x=v.s_,p=e=>{let{withHandle:t,className:l,...n}=e;return(0,r.jsx)(v.OT,{className:(0,h.cn)("border-bg relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",l),...n,children:t&&(0,r.jsx)("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"})})};var g=l(33555);let j=e=>{let{className:t}=e,{currentFileRoutes:l,setActivePath:a,activePath:i}=n.useContext(U);return(0,r.jsxs)("div",{className:(0,h.cn)("flex flex-nowrap items-center gap-1",t),children:[(0,r.jsx)("div",{className:"cursor-pointer font-medium text-primary hover:underline",onClick:e=>a(void 0),children:"Repositories"}),(0,r.jsx)("div",{children:"/"}),null==l?void 0:l.map((e,t)=>{let i=0===t&&(null==l?void 0:l.length)>1,s=t===l.length-1;return(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)("div",{className:(0,h.cn)(i||s?"font-bold":"font-medium",s?"":"cursor-pointer text-primary hover:underline",i?"hover:underline":void 0),onClick:t=>a(e.fullPath),children:e.name}),"file"!==e.file.kind&&(0,r.jsx)("div",{children:"/"})]},e.fullPath)}),!!(null==l?void 0:l.length)&&!!i&&(0,r.jsx)(g.q,{value:i})]})};var b=l(83390),N=l(95376);function y(e,t){let[l,r]=n.useState(e);return n.useEffect(()=>{let l=setTimeout(()=>{r(e)},t);return()=>clearTimeout(l)},[e,t]),l}var w=l(84168),k=l(32553),P=l(24144);function C(e){var t;return e?null===(t=e.split("/"))||void 0===t?void 0:t[0]:""}function S(e){return e?e.split("/").slice(1).join("/"):""}function T(e){if(!e)return"";let t=e.split("/");return t[t.length-1]}function E(e,t){if((0,P.Z)(e))return[];let l=[""],r=e.split("/"),n=t?r.length:r.length-1;for(let e=0;e{let{className:t,loading:l,initialized:a}=e,{activePath:i,currentFileRoutes:s,setActivePath:o,fileTreeData:c}=n.useContext(U),d=n.useMemo(()=>(function(e,t){if(!(null==e?void 0:e.length))return[];if(t){let l=t.split("/"),r=e;for(;l.length;){let e=l.shift(),t=(0,b.Z)(r,t=>t.name===e);if(null==t||!t.children)return[];r=null==t?void 0:t.children}return(null==r?void 0:r.map(e=>(0,N.Z)(e,"children")))||[]}{let t=e.map(e=>(0,N.Z)(e,"children"))||[];return t}})(c,i),[c,i]),u=y(l,300),f=(null==s?void 0:s.length)>0,v=()=>{var e;let t=null===(e=s[(null==s?void 0:s.length)-2])||void 0===e?void 0:e.fullPath;o(t)},m=e=>{o(e.fullPath)};return(0,r.jsx)("div",{className:(0,h.cn)("text-base",t),children:u||!a?(0,r.jsx)(Z,{}):(null==c?void 0:c.length)?(0,r.jsx)(k.iA,{children:(0,r.jsxs)(k.RM,{children:[f&&(0,r.jsx)(k.SC,{className:"cursor-pointer",onClick:e=>v(),children:(0,r.jsx)(k.pj,{className:"p-1 px-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(w.oR,{style:{color:"rgb(84, 174, 255)"}})}),(0,r.jsx)("span",{className:"px-1 py-2",children:".."})]})})}),(0,r.jsx)(r.Fragment,{children:d.map(e=>(0,r.jsx)(k.SC,{children:(0,r.jsx)(k.pj,{className:"p-1 px-4 text-base",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:"dir"===e.file.kind?(0,r.jsx)(w.oR,{style:{color:"rgb(84, 174, 255)"}}):(0,r.jsx)(w.Xh,{})}),(0,r.jsx)("span",{onClick:t=>m(e),className:"cursor-pointer px-1 py-2 hover:text-primary hover:underline",children:T(e.fullPath)})]})})},e.fullPath))})]})}):(0,r.jsx)("div",{className:"flex justify-center py-8",children:"No indexed repository yet"})})};function Z(){return(0,r.jsxs)("ul",{className:"duration-600 animate-pulse space-y-3 p-2",children:[(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"})]})}let M=n.createContext({}),z=e=>{let{onSelectTreeNode:t,children:l,activePath:n,fileMap:a,updateFileMap:i,expandedKeys:s,toggleExpandedKey:o,initialized:c,fileTreeData:d}=e;return(0,r.jsx)(M.Provider,{value:{onSelectTreeNode:t,fileTreeData:d,expandedKeys:s,toggleExpandedKey:o,activePath:n,fileMap:a,updateFileMap:i,initialized:c},children:l})},F=e=>{let{level:t}=e,l=n.useMemo(()=>Array(t).fill(1),[t]);return(0,r.jsx)("div",{className:"flex h-full shrink-0 items-stretch",children:l.map((e,t)=>(0,r.jsx)("div",{className:"flex h-8 w-2 border-r border-transparent transition-colors duration-300 group-hover/filetree:border-border"},t))})},A=()=>(0,r.jsx)("div",{className:"absolute -left-2 h-8 w-1 rounded-md bg-primary"}),_=e=>{let{isActive:t,level:l,children:n,className:a,...i}=e;return(0,r.jsxs)("div",{className:(0,h.cn)("relative flex cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",t&&"bg-accent",a),...i,children:[t&&(0,r.jsx)(A,{}),(0,r.jsx)(F,{level:l}),(0,r.jsxs)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:[(0,r.jsx)("div",{className:"h-4 w-4 shrink-0"}),n]})]})},O=e=>{let{children:t,level:l,isActive:n,className:a,...i}=e;return(0,r.jsxs)("div",{className:(0,h.cn)("relative flex cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",n?"bg-accent text-accent-foreground":void 0,a),...i,children:[n&&(0,r.jsx)(A,{}),(0,r.jsx)(F,{level:l}),(0,r.jsx)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:t})]})},D=e=>{let{node:t,level:l}=e,{onSelectTreeNode:a,activePath:i}=n.useContext(M),s="file"===t.file.kind,o=t.fullPath===i;return(0,r.jsxs)(_,{level:l,onClick:e=>{s&&(null==a||a(t))},isActive:o,children:[(0,r.jsx)(w.Xh,{className:"shrink-0"}),(0,r.jsx)("div",{className:"truncate",children:null==t?void 0:t.name})]})},B=e=>{var t,l,a;let{node:i,level:s,root:o}=e,{fileMap:c,updateFileMap:u,expandedKeys:h,toggleExpandedKey:v,onSelectTreeNode:m,activePath:x}=n.useContext(M),p=n.useRef(!1),g=n.useMemo(()=>C(i.fullPath),[i.fullPath]),j=o?"":i.file.basename,b=h.has(i.fullPath),N="dir"===i.file.kind&&!(null==c?void 0:null===(t=c[i.fullPath])||void 0===t?void 0:t.treeExpanded)&&b,{data:k,isValidating:P}=(0,d.Z)(N?"/repositories/".concat(g,"/resolve/").concat(j):null,f.Z,{revalidateIfStale:!1});n.useEffect(()=>{var e;if(!p.current&&(null==k?void 0:null===(e=k.entries)||void 0===e?void 0:e.length)){let e=k.entries.reduce((e,t)=>{let l="".concat(g,"/").concat(t.basename);return{...e,[l]:{file:t,name:T(l),fullPath:l,treeExpanded:!1}}},{});u(e),p.current=!0}},[k]);let S=y(P,100),E=!!(null==i?void 0:null===(l=i.children)||void 0===l?void 0:l.length);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(O,{level:s,onClick:e=>{null==m||m(i)},isActive:x===i.fullPath,children:[(0,r.jsx)("div",{className:"flex h-8 shrink-0 items-center hover:bg-primary/10 hover:text-popover-foreground",onClick:e=>{S||(v(i.fullPath),e.stopPropagation())},children:S&&!p.current?(0,r.jsx)(w.vM,{}):b?(0,r.jsx)(w.C2,{}):(0,r.jsx)(w.VG,{})}),(0,r.jsx)("div",{className:"shrink-0",style:{color:"rgb(84, 174, 255)"},children:b?(0,r.jsx)(w.F8,{}):(0,r.jsx)(w.oR,{})}),(0,r.jsx)("div",{className:"truncate",children:null==i?void 0:i.name})]}),(0,r.jsx)(r.Fragment,{children:b&&E?(0,r.jsx)(r.Fragment,{children:null===(a=i.children)||void 0===a?void 0:a.map(e=>{let t=e.file.basename;return"dir"===e.file.kind?(0,r.jsx)(B,{node:e,level:s+1},t):(0,r.jsx)(D,{node:e,level:s+1},t)})}):null})]})},L=()=>{let{fileTreeData:e,initialized:t}=n.useContext(M);return t?(null==e?void 0:e.length)?(0,r.jsx)(r.Fragment,{children:null==e?void 0:e.map(e=>(0,r.jsx)(B,{root:!0,level:0,node:e},e.fullPath))}):(0,r.jsx)("div",{className:"flex h-full items-center justify-center",children:"No Data"}):(0,r.jsx)(H,{})},q=e=>{let{className:t,...l}=e;return(0,r.jsx)("div",{className:(0,h.cn)("group/filetree",t),children:(0,r.jsx)(z,{...l,children:(0,r.jsx)(L,{})})})};function H(){return(0,r.jsxs)("ul",{className:"duration-600 animate-pulse space-y-3 p-2",children:[(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"ml-4 h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"ml-4 h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"h-4 rounded-md bg-gray-200 dark:bg-gray-700"}),(0,r.jsx)("li",{className:"ml-4 h-4 rounded-md bg-gray-200 dark:bg-gray-700"})]})}let K=i()(()=>Promise.all([l.e(8301),l.e(6401),l.e(5344),l.e(3830)]).then(l.bind(l,53830)),{loadableGenerated:{webpack:()=>[53830]},ssr:!1}),U=n.createContext({}),G=e=>{let{children:t}=e,{searchParams:l,updateSearchParams:a}=function(){let e=(0,u.usePathname)(),t=(0,u.useRouter)(),l=(0,u.useSearchParams)();return{pathname:e,router:t,searchParams:l,updateSearchParams:r=>{let{set:n,del:a,replace:i,getNewPath:s}=r,o=new URLSearchParams(l);n&&Object.entries(n).forEach(e=>{let[t,l]=e;return o.set(t,l)}),a&&(Array.isArray(a)?a.forEach(e=>o.delete(e)):o.delete(a));let c=o.toString(),d="".concat(e).concat(c.length>0?"?".concat(c):"");if(s)return d;i?t.replace(d):t.push(d)},getQueryString:e=>{let t=new URLSearchParams(l);e&&Object.entries(e).forEach(e=>{let[l,r]=e;return t.set(l,r)});let r=t.toString();return r.length>0?"?".concat(r):""}}}(),i=n.useMemo(()=>{var e,t;return null!==(t=null===(e=l.get("path"))||void 0===e?void 0:e.toString())&&void 0!==t?t:""},[l]),[o,c]=n.useState(!1),[d,f]=n.useState({}),[h,v]=(0,n.useState)({}),[m,x]=(0,n.useState)({}),[p,g]=n.useState(new Set),j=n.useMemo(()=>{if(!i)return[];let e=[],t=i.split("/");for(let l=0;l(function e(t){if(!t.length)return[];for(let l of(t.sort((e,t)=>{let l="file"===e.file.kind?1:0,r="file"===t.file.kind?1:0;return l-r||e.name.localeCompare(t.name)}),t))(null==l?void 0:l.children)&&e(l.children);return t})(function(e){let t=[];if(!e)return t;let l=Object.keys(e);for(let r of l){let l=e[r],n=r.split("/"),a=t;for(let e=0;ee.name===t);if(i)a=i.children||[];else{let e={file:l.file,name:t,fullPath:r,children:[]};a.push(e),a=e.children}}}return t}(d)),[d]);return(0,r.jsx)(U.Provider,{value:{initialized:o,setInitialized:c,codeMap:h,setCodeMap:v,fileMetaMap:m,setFileMetaMap:x,activePath:i,setActivePath:e=>{e?a({set:{path:e}}):a({del:"path"})},fileMap:d,updateFileMap:e=>{e&&f({...d,...e})},expandedKeys:p,setExpandedKeys:g,toggleExpandedKey:e=>{let t=p.has(e),l=new Set(p);t?l.delete(e):l.add(e),g(l)},currentFileRoutes:j,fileTreeData:b},children:t})},W=e=>{var t;let{className:l}=e,{activePath:a,setActivePath:i,codeMap:s,setCodeMap:o,updateFileMap:u,fileMetaMap:v,setFileMetaMap:g,fileMap:b,initialized:N,setInitialized:y,expandedKeys:w,toggleExpandedKey:k,setExpandedKeys:P,fileTreeData:Z}=n.useContext(U),M=n.useMemo(()=>C(a),[a]),z=n.useMemo(()=>S(a),[a]),F=n.useMemo(()=>{var e,t;let l=a&&(null==b?void 0:null===(t=b[a])||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.kind)==="file";return l&&!(0,c.Z)(s,a)},[a,b,s]),A=n.useMemo(()=>{var e,t;let l=a&&(null==b?void 0:null===(t=b[a])||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.kind)==="file";return l&&!(0,c.Z)(v,a)},[a,b,s]),_=n.useMemo(()=>{var e,t,l;if(!N)return!1;let r=a&&(null==b?void 0:null===(t=b[a])||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.kind)==="dir";return r&&!(null==b?void 0:null===(l=b[a])||void 0===l?void 0:l.treeExpanded)},[a,b,N]),{data:O}=(0,d.Z)(F?"/repositories/".concat(M,"/resolve/").concat(z):null,e=>(0,f.Z)(e,{format:"text"})),{data:D}=(0,d.Z)(A?"/repositories/".concat(M,"/meta/").concat(z):null,f.Z),{data:B,isLoading:L}=(0,d.Z)(_?"/repositories/".concat(M,"/resolve/").concat(z):null,f.Z);n.useEffect(()=>{let e=async()=>{let{patchMap:e,expandedKeys:t}=await I(a);e&&u(e),(null==t?void 0:t.length)&&P(new Set(t)),y(!0)};e()},[]),n.useEffect(()=>{O&&a&&o(e=>({...e,[a]:O}))},[O]),n.useEffect(()=>{D&&a&&g(e=>({...e,[a]:D}))},[D]),n.useEffect(()=>{(()=>{var e;if((null==B?void 0:null===(e=B.entries)||void 0===e?void 0:e.length)&&a){let e=C(a),t={};for(let l of B.entries){let r="".concat(e,"/").concat(l.basename);t[r]={file:l,name:T(r),fullPath:r,treeExpanded:!1}}u(t);let l=E(a,!0);(null==l?void 0:l.length)&&P(e=>{let t=new Set(e);for(let e of l)t.add(e);return t})}})()},[B]);let H=a?null==b?void 0:null===(t=b[a])||void 0===t?void 0:t.file:void 0,G=(null==H?void 0:H.kind)==="file",W=(null==H?void 0:H.kind)==="dir"||""===a;return(0,r.jsxs)(m,{direction:"horizontal",className:(0,h.cn)(l),children:[(0,r.jsx)(x,{defaultSize:20,minSize:20,children:(0,r.jsx)("div",{className:"h-full overflow-hidden py-2",children:(0,r.jsx)(q,{className:"h-full overflow-y-auto overflow-x-hidden px-4",onSelectTreeNode:e=>{i(e.fullPath)},activePath:a,fileMap:b,updateFileMap:u,expandedKeys:w,toggleExpandedKey:k,initialized:N,fileTreeData:Z})})}),(0,r.jsx)(p,{className:"w-1 hover:bg-card active:bg-card"}),(0,r.jsx)(x,{defaultSize:80,minSize:30,children:(0,r.jsxs)("div",{className:"flex h-full flex-col overflow-y-auto px-4 pb-4",children:[(0,r.jsx)(j,{className:"sticky top-0 z-10 bg-background py-4"}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)(R,{loading:L,initialized:N,className:"rounded-lg border ".concat(W?"block":"hidden")}),(0,r.jsx)(K,{className:"rounded-lg border py-2 ".concat(G?"block":"hidden")})]})]})})]})},X=e=>(0,r.jsx)(G,{children:(0,r.jsx)(W,{className:"source-code-browser",...e})});async function I(e){let t=C(e),l=S(e);try{let e=await r(),{defaultEntries:l,expandedDir:n}=await a(e),i={};for(let l of e)i[l.basename]={file:l,name:l.basename,fullPath:l.basename,treeExpanded:l.basename===t};for(let e of l){let l="".concat(t,"/").concat(e.basename);i[l]={file:e,name:T(l),fullPath:l,treeExpanded:n.includes(e.basename)}}let s=n.map(e=>[t,e].filter(Boolean).join("/"));return{patchMap:i,expandedKeys:s}}catch(e){return console.error(e),{}}async function r(){try{let e=await (0,f.Z)("/repositories/resolve/");return null==e?void 0:e.entries}catch(e){return[]}}async function n(e){try{if(!t)return;let n=(0,o.Z)(e,e=>e.basename===t);if(n<0)return;let a=E(l),i=a.map(e=>()=>(0,f.Z)("/repositories/".concat(t,"/resolve/").concat(e))),s=await Promise.all(i.map(e=>e())),c=[];for(let e of s){var r;(null===(r=e.entries)||void 0===r?void 0:r.length)&&(c=[...c,...e.entries])}return c}catch(e){console.error(e)}}async function a(e){let r={defaultEntries:[],expandedDir:[]};try{if(t&&(null==e?void 0:e.length)){let t=await n(e),a=E(l);(null==t?void 0:t.length)&&(r.defaultEntries=t),(null==a?void 0:a.length)&&(r.expandedDir=a)}}catch(e){console.error(e)}return r}}},33555:function(e,t,l){"use strict";l.d(t,{q:function(){return s}});var r=l(57437);l(2265);var n=l(77723),a=l(93023),i=l(84168);function s(e){let{className:t,value:l,...s}=e,{isCopied:o,copyToClipboard:c}=(0,n.m)({timeout:2e3});return l?(0,r.jsxs)(a.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{o||c(l)},...s,children:[o?(0,r.jsx)(i.NO,{className:"text-green-600"}):(0,r.jsx)(i.vU,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},32553:function(e,t,l){"use strict";l.d(t,{RM:function(){return o},SC:function(){return d},iA:function(){return i},pj:function(){return f},ss:function(){return u},xD:function(){return s}});var r=l(57437),n=l(2265),a=l(39311);let i=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("div",{className:"relative w-full overflow-auto",children:(0,r.jsx)("table",{ref:t,className:(0,a.cn)("w-full caption-bottom text-sm",l),...n})})});i.displayName="Table";let s=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("thead",{ref:t,className:(0,a.cn)("[&_tr]:border-b",l),...n})});s.displayName="TableHeader";let o=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("tbody",{ref:t,className:(0,a.cn)("[&_tr:last-child]:border-0",l),...n})});o.displayName="TableBody";let c=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("tfoot",{ref:t,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",l),...n})});c.displayName="TableFooter";let d=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("tr",{ref:t,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",l),...n})});d.displayName="TableRow";let u=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("th",{ref:t,className:(0,a.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",l),...n})});u.displayName="TableHead";let f=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("td",{ref:t,className:(0,a.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",l),...n})});f.displayName="TableCell";let h=n.forwardRef((e,t)=>{let{className:l,...n}=e;return(0,r.jsx)("caption",{ref:t,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",l),...n})});h.displayName="TableCaption"},77723:function(e,t,l){"use strict";l.d(t,{m:function(){return s}});var r=l(2265),n=l(2390),a=l.n(n),i=l(71424);function s(e){let{timeout:t=2e3,onError:l}=e,[n,s]=r.useState(!1),o=()=>{s(!0),setTimeout(()=>{s(!1)},t)},c=e=>{if("function"==typeof l){null==l||l(e);return}i.A.error("Failed to copy.")};return{isCopied:n,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(o).catch(c);else{let t=a()(e);t?o():c()}}}}}},1592:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var r=l(34084),n=l(58001),a=l(7820);let i=!1,s=[];async function o(e,t){let l=await fetch(e,c(t));if(401!==l.status)return(null==t?void 0:t.format)==="text"?l.text():l.json();{var r,a;if(i)return new Promise(l=>{s.push({url:e,init:t,resolve:l})});let l=null===(r=(0,n.bW)())||void 0===r?void 0:r.refreshToken;if(!l){(0,n.Rn)();return}i=!0;let o=await d(l),c=null==o?void 0:null===(a=o.data)||void 0===a?void 0:a.refreshToken;if(c){for((0,n.pC)({accessToken:c.accessToken,refreshToken:c.refreshToken}),i=!1;s.length;){let e=s.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,t)}i=!1,s.length=0,(0,n.Rn)()}}function c(e){var t;let l=new Headers(null==e?void 0:e.headers);return l.append("authorization","Bearer ".concat(null===(t=(0,n.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:l}}async function d(e){let t=a.L.createRequestOperation("mutation",(0,r.h)(n.Dp,{refreshToken:e}));return a.L.executeMutation(t)}function u(e,t){return fetch(e,c(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5135,1424,2047,4012,6887,7820,1894,2971,7864,1744],function(){return e(e.s=10318)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/layout-a55e9467d63125e4.js b/ee/tabby-webserver/ui/_next/static/chunks/app/layout-deb1f51008f724d3.js similarity index 97% rename from ee/tabby-webserver/ui/_next/static/chunks/app/layout-a55e9467d63125e4.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/layout-deb1f51008f724d3.js index 23c2fef93572..e17cd9022cd1 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/layout-a55e9467d63125e4.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/layout-deb1f51008f724d3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{6435:function(e,t,n){"use strict";n.d(t,{F:function(){return d},f:function(){return c}});var r=n(2265);let o=["light","dark"],a="(prefers-color-scheme: dark)",s="undefined"==typeof window,i=(0,r.createContext)(void 0),l={setTheme:e=>{},themes:[]},d=()=>{var e;return null!==(e=(0,r.useContext)(i))&&void 0!==e?e:l},c=e=>(0,r.useContext)(i)?r.createElement(r.Fragment,null,e.children):r.createElement(m,e),u=["light","dark"],m=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:s=!0,storageKey:l="theme",themes:d=u,defaultTheme:c=n?"system":"light",attribute:m="data-theme",value:b,children:p,nonce:y})=>{let[_,x]=(0,r.useState)(()=>h(l,c)),[$,w]=(0,r.useState)(()=>h(l)),S=b?Object.values(b):d,k=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let a=b?b[r]:r,i=t?g():null,l=document.documentElement;if("class"===m?(l.classList.remove(...S),a&&l.classList.add(a)):a?l.setAttribute(m,a):l.removeAttribute(m),s){let e=o.includes(c)?c:null,t=o.includes(r)?r:e;l.style.colorScheme=t}null==i||i()},[]),C=(0,r.useCallback)(e=>{x(e);try{localStorage.setItem(l,e)}catch(e){}},[e]),E=(0,r.useCallback)(t=>{let r=v(t);w(r),"system"===_&&n&&!e&&k("system")},[_,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),(0,r.useEffect)(()=>{let e=e=>{e.key===l&&C(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),(0,r.useEffect)(()=>{k(null!=e?e:_)},[e,_]);let T=(0,r.useMemo)(()=>({theme:_,setTheme:C,forcedTheme:e,resolvedTheme:"system"===_?$:_,themes:n?[...d,"system"]:d,systemTheme:n?$:void 0}),[_,C,e,$,n,d]);return r.createElement(i.Provider,{value:T},r.createElement(f,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:s,storageKey:l,themes:d,defaultTheme:c,attribute:m,value:b,children:p,attrs:S,nonce:y}),p)},f=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:s,enableColorScheme:i,defaultTheme:l,value:d,attrs:c,nonce:u})=>{let m="system"===l,f="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=i?o.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",g=(e,t=!1,r=!0)=>{let a=d?d[e]:e,s=t?e+"|| ''":`'${a}'`,l="";return i&&r&&!t&&o.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${s})`:"null":a&&(l+=`d[s](n,${s})`),l},v=e?`!function(){${f}${g(e)}}()`:s?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${m})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${g("dark")}}else{${g("light")}}}else if(e){${d?`var x=${JSON.stringify(d)};`:""}${g(d?"x[e]":"e",!0)}}${m?"":"else{"+g(l,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${d?`var x=${JSON.stringify(d)};`:""}${g(d?"x[e]":"e",!0)}}else{${g(l,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:v}})},()=>!0),h=(e,t)=>{let n;if(!s){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},g=()=>{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)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},65559:function(e,t,n){Promise.resolve().then(n.t.bind(n,58877,23)),Promise.resolve().then(n.bind(n,78495)),Promise.resolve().then(n.bind(n,42761)),Promise.resolve().then(n.t.bind(n,6928,23)),Promise.resolve().then(n.t.bind(n,33195,23))},78495:function(e,t,n){"use strict";n.r(t),n.d(t,{Providers:function(){return d}});var r=n(57437);n(2265);var o=n(6435),a=n(99109),s=n(58001),i=n(7820),l=n(95482);function d(e){let{children:t,...n}=e;return(0,r.jsx)(o.f,{...n,children:(0,r.jsx)(a.zt,{value:i.L,children:(0,r.jsx)(l.pn,{children:(0,r.jsxs)(s.Ho,{children:[(0,r.jsx)(c,{}),t]})})})})}function c(){return(0,s.av)(),(0,r.jsx)(r.Fragment,{})}},42761:function(e,t,n){"use strict";n.r(t),n.d(t,{Toaster:function(){return s}});var r=n(57437),o=n(6435),a=n(71424);let s=e=>{let{...t}=e,{theme:n="system"}=(0,o.F)();return(0,r.jsx)(a.x,{theme:n,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})}},95482:function(e,t,n){"use strict";n.d(t,{_v:function(){return c},aJ:function(){return d},pn:function(){return i},u:function(){return l}});var r=n(57437),o=n(2265),a=n(75224),s=n(39311);let i=a.zt,l=a.fC,d=a.xz,c=o.forwardRef((e,t)=>{let{className:n,sideOffset:o=4,...i}=e;return(0,r.jsx)(a.VY,{ref:t,sideOffset:o,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",n),...i})});c.displayName=a.VY.displayName},58877:function(){},6928:function(e){e.exports={style:{fontFamily:"'__Inter_e66fe9', '__Inter_Fallback_e66fe9'",fontStyle:"normal"},className:"__className_e66fe9",variable:"__variable_e66fe9"}},33195:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_bd9c35', '__JetBrains_Mono_Fallback_bd9c35'",fontStyle:"normal"},className:"__className_bd9c35",variable:"__variable_bd9c35"}}},function(e){e.O(0,[5328,1424,1629,9503,5224,7820,2971,7864,1744],function(){return e(e.s=65559)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{6435:function(e,t,n){"use strict";n.d(t,{F:function(){return d},f:function(){return c}});var r=n(2265);let o=["light","dark"],a="(prefers-color-scheme: dark)",s="undefined"==typeof window,i=(0,r.createContext)(void 0),l={setTheme:e=>{},themes:[]},d=()=>{var e;return null!==(e=(0,r.useContext)(i))&&void 0!==e?e:l},c=e=>(0,r.useContext)(i)?r.createElement(r.Fragment,null,e.children):r.createElement(m,e),u=["light","dark"],m=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:s=!0,storageKey:l="theme",themes:d=u,defaultTheme:c=n?"system":"light",attribute:m="data-theme",value:b,children:p,nonce:y})=>{let[_,x]=(0,r.useState)(()=>h(l,c)),[$,w]=(0,r.useState)(()=>h(l)),S=b?Object.values(b):d,k=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let a=b?b[r]:r,i=t?g():null,l=document.documentElement;if("class"===m?(l.classList.remove(...S),a&&l.classList.add(a)):a?l.setAttribute(m,a):l.removeAttribute(m),s){let e=o.includes(c)?c:null,t=o.includes(r)?r:e;l.style.colorScheme=t}null==i||i()},[]),C=(0,r.useCallback)(e=>{x(e);try{localStorage.setItem(l,e)}catch(e){}},[e]),E=(0,r.useCallback)(t=>{let r=v(t);w(r),"system"===_&&n&&!e&&k("system")},[_,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),(0,r.useEffect)(()=>{let e=e=>{e.key===l&&C(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),(0,r.useEffect)(()=>{k(null!=e?e:_)},[e,_]);let T=(0,r.useMemo)(()=>({theme:_,setTheme:C,forcedTheme:e,resolvedTheme:"system"===_?$:_,themes:n?[...d,"system"]:d,systemTheme:n?$:void 0}),[_,C,e,$,n,d]);return r.createElement(i.Provider,{value:T},r.createElement(f,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:s,storageKey:l,themes:d,defaultTheme:c,attribute:m,value:b,children:p,attrs:S,nonce:y}),p)},f=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:s,enableColorScheme:i,defaultTheme:l,value:d,attrs:c,nonce:u})=>{let m="system"===l,f="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=i?o.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",g=(e,t=!1,r=!0)=>{let a=d?d[e]:e,s=t?e+"|| ''":`'${a}'`,l="";return i&&r&&!t&&o.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${s})`:"null":a&&(l+=`d[s](n,${s})`),l},v=e?`!function(){${f}${g(e)}}()`:s?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${m})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${g("dark")}}else{${g("light")}}}else if(e){${d?`var x=${JSON.stringify(d)};`:""}${g(d?"x[e]":"e",!0)}}${m?"":"else{"+g(l,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${d?`var x=${JSON.stringify(d)};`:""}${g(d?"x[e]":"e",!0)}}else{${g(l,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:v}})},()=>!0),h=(e,t)=>{let n;if(!s){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},g=()=>{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)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},68965:function(e,t,n){Promise.resolve().then(n.t.bind(n,58877,23)),Promise.resolve().then(n.bind(n,78495)),Promise.resolve().then(n.bind(n,42761)),Promise.resolve().then(n.t.bind(n,6928,23)),Promise.resolve().then(n.t.bind(n,33195,23))},78495:function(e,t,n){"use strict";n.r(t),n.d(t,{Providers:function(){return d}});var r=n(57437);n(2265);var o=n(6435),a=n(99109),s=n(58001),i=n(7820),l=n(95482);function d(e){let{children:t,...n}=e;return(0,r.jsx)(o.f,{...n,children:(0,r.jsx)(a.zt,{value:i.L,children:(0,r.jsx)(l.pn,{children:(0,r.jsxs)(s.Ho,{children:[(0,r.jsx)(c,{}),t]})})})})}function c(){return(0,s.av)(),(0,r.jsx)(r.Fragment,{})}},42761:function(e,t,n){"use strict";n.r(t),n.d(t,{Toaster:function(){return s}});var r=n(57437),o=n(6435),a=n(71424);let s=e=>{let{...t}=e,{theme:n="system"}=(0,o.F)();return(0,r.jsx)(a.x,{theme:n,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})}},95482:function(e,t,n){"use strict";n.d(t,{_v:function(){return c},aJ:function(){return d},pn:function(){return i},u:function(){return l}});var r=n(57437),o=n(2265),a=n(75224),s=n(39311);let i=a.zt,l=a.fC,d=a.xz,c=o.forwardRef((e,t)=>{let{className:n,sideOffset:o=4,...i}=e;return(0,r.jsx)(a.VY,{ref:t,sideOffset:o,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",n),...i})});c.displayName=a.VY.displayName},58877:function(){},6928:function(e){e.exports={style:{fontFamily:"'__Inter_e66fe9', '__Inter_Fallback_e66fe9'",fontStyle:"normal"},className:"__className_e66fe9",variable:"__variable_e66fe9"}},33195:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_bd9c35', '__JetBrains_Mono_Fallback_bd9c35'",fontStyle:"normal"},className:"__className_bd9c35",variable:"__variable_bd9c35"}}},function(e){e.O(0,[5135,1424,1629,9503,5224,7820,2971,7864,1744],function(){return e(e.s=68965)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/playground/page-69382445d3321de6.js b/ee/tabby-webserver/ui/_next/static/chunks/app/playground/page-b9bb2400bda1bf2d.js similarity index 99% rename from ee/tabby-webserver/ui/_next/static/chunks/app/playground/page-69382445d3321de6.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/playground/page-b9bb2400bda1bf2d.js index 8da5bca7a976..310dfcd31891 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/playground/page-69382445d3321de6.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/playground/page-b9bb2400bda1bf2d.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2383],{24283:function(e,t,n){Promise.resolve().then(n.bind(n,40006))},40006:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eZ}});var s=n(57437),l=n(2265);let r=!0,a=(e,t)=>{let n=function(){let[e,t]=l.useState(()=>!r);return l.useEffect(function(){r=!1,t(!0)},[]),e}(),s=e(e=>null==e?void 0:e._hasHydrated),a=e(t),[i,o]=l.useState(n&&s?a:void 0);return l.useEffect(()=>{o(a)},[a]),i};var i=n(94660),o=n(74810),d=n(39311);let c=["_hasHydrated","setHasHydrated","activeChatId"],u={_hasHydrated:!1,chats:void 0,activeChatId:(0,d.x0)()},f=(0,i.Ue)()((0,o.tJ)(e=>({...u,setHasHydrated:t=>{e({_hasHydrated:t})}}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!c.includes(t)})),onRehydrateStorage:()=>e=>{e&&e.setHasHydrated(!0)}})),m=(e,t)=>{if(Array.isArray(e)&&t)return e.find(e=>e.id===t)};var h=n(82504),x=n(83390),p=n(16630),v=n(71424),g=n(95865),j=n(58001),b=n(68571);let y=b.env.NEXT_PUBLIC_TABBY_SERVER_URL||"";f.getState;let N=f.setState,w=e=>{N(()=>({activeChatId:e}))},k=(e,t)=>{let n=null!=e?e:(0,d.x0)();N(e=>({activeChatId:n,chats:[{id:n,title:null!=t?t:"",messages:[],createdAt:new Date,userId:"",path:""},...e.chats||[]]}))},C=e=>{N(t=>{var n;return{activeChatId:(0,d.x0)(),chats:null===(n=t.chats)||void 0===n?void 0:n.filter(t=>t.id!==e)}})},z=()=>{N(()=>({activeChatId:(0,d.x0)(),chats:[]}))},A=(e,t)=>{N(n=>{var s;return{chats:null===(s=n.chats)||void 0===s?void 0:s.map(n=>n.id===e?{...n,messages:t}:n)}})},R=(e,t)=>{N(n=>{var s;return{chats:null===(s=n.chats)||void 0===s?void 0:s.map(n=>n.id===e?{...n,...t}:n)}})};var E=n(16775),S=n(16691),D=n.n(S),O={src:"/_next/static/media/tabby.2c9e4d33.png",height:460,width:460,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAwUlEQVR42mN4+ejS8wcXXjy48O7lzTfPrr18ePHFo0svHl5kAGKg3K51c7evnrV5Yd+EtopnYDmgxKVXD89vmtM6Jd1+ZqySGgPDhVO73z67xgBU/uzBhW3zO9dMa1relObHwLB03sT3L24AJS4/vXP66PYlh9dOLwswTNNnmNtX9/b5NYbnQDseXrh8ckdfQ74OA0OmNsOhbUvfPr8Otvzx5Sf3zu3buWb10pmH96x7DrEciCEOe/f8GhABrYWIAAD934qARQKRZgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},T=n(48975),H=n(82180),I=n(30513),_=n(4523),L=n(77723),Z=n(93023),B=n(84168);let P={javascript:".js",python:".py",java:".java",c:".c",cpp:".cpp","c++":".cpp","c#":".cs",ruby:".rb",php:".php",swift:".swift","objective-c":".m",kotlin:".kt",typescript:".ts",go:".go",perl:".pl",rust:".rs",scala:".scala",haskell:".hs",lua:".lua",shell:".sh",sql:".sql",html:".html",css:".css"},V=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="ABCDEFGHJKLMNPQRSTUVWXY3456789",s="";for(let t=0;t{let{language:t,value:n}=e,{isCopied:l,copyToClipboard:r}=(0,L.m)({timeout:2e3});return(0,s.jsxs)("div",{className:"codeblock relative w-full bg-zinc-950 font-sans",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100",children:[(0,s.jsx)("span",{className:"text-xs lowercase",children:t}),(0,s.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,s.jsxs)(Z.z,{variant:"ghost",className:"hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>{let e=P[t]||".file",s="file-".concat(V(3,!0)).concat(e),l=window.prompt("Enter file name",s);if(!l)return;let r=new Blob([n],{type:"text/plain"}),a=URL.createObjectURL(r),i=document.createElement("a");i.download=l,i.href=a,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},size:"icon",children:[(0,s.jsx)(B.Dj,{}),(0,s.jsx)("span",{className:"sr-only",children:"Download"})]}),(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>{l||r(n)},children:[l?(0,s.jsx)(B.NO,{}):(0,s.jsx)(B.vU,{}),(0,s.jsx)("span",{className:"sr-only",children:"Copy code"})]})]})]}),(0,s.jsx)(I.Z,{language:t,style:_.RY,PreTag:"div",showLineNumbers:!0,customStyle:{margin:0,width:"100%",background:"transparent",padding:"1.5rem 1rem"},codeTagProps:{style:{fontSize:"0.9rem",fontFamily:"var(--font-mono)"}},children:n})]})});M.displayName="CodeBlock";var U=n(33555);function F(e){let{message:t,className:n,handleMessageAction:l,...r}=e;return(0,s.jsxs)("div",{className:(0,d.cn)("flex items-center justify-end transition-opacity group-hover:opacity-100 md:absolute md:-right-[5rem] md:-top-2 md:opacity-0",n),...r,children:["user"===t.role?(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:e=>l(t.id,"edit"),children:[(0,s.jsx)(B.yl,{}),(0,s.jsx)("span",{className:"sr-only",children:"Edit message"})]}):(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:e=>l(t.id,"regenerate"),children:[(0,s.jsx)(B.tr,{}),(0,s.jsx)("span",{className:"sr-only",children:"Regenerate message"})]}),(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:e=>l(t.id,"delete"),children:[(0,s.jsx)(B.IT,{}),(0,s.jsx)("span",{className:"sr-only",children:"Delete message"})]}),(0,s.jsx)(U.q,{value:t.content})]})}var q=n(19349);let Y=(0,l.memo)(q.D,(e,t)=>e.children===t.children&&e.className===t.className);function K(e){let{message:t,handleMessageAction:n,...l}=e;return(0,s.jsxs)("div",{className:(0,d.cn)("group relative mb-4 flex items-start md:-ml-12"),...l,children:[(0,s.jsx)("div",{className:(0,d.cn)("flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border bg-background shadow","user"===t.role?"bg-background":"bg-accent text-accent-foreground"),children:"user"===t.role?(0,s.jsx)(B.qO,{}):(0,s.jsx)(J,{})}),(0,s.jsxs)("div",{className:"ml-4 flex-1 space-y-2 overflow-hidden px-1",children:[(0,s.jsx)(Y,{className:"prose break-words dark:prose-invert prose-p:leading-relaxed prose-pre:p-0",remarkPlugins:[T.Z,H.Z],components:{p(e){let{children:t}=e;return(0,s.jsx)("p",{className:"mb-2 last:mb-0",children:t})},code(e){let{node:t,inline:n,className:l,children:r,...a}=e;if(r.length){if("▍"==r[0])return(0,s.jsx)("span",{className:"mt-1 animate-pulse cursor-default",children:"▍"});r[0]=r[0].replace("`▍`","▍")}let i=/language-(\w+)/.exec(l||"");return n?(0,s.jsx)("code",{className:l,...a,children:r}):(0,s.jsx)(M,{language:i&&i[1]||"",value:String(r).replace(/\n$/,""),...a},Math.random())}},children:t.content}),(0,s.jsx)(F,{message:t,handleMessageAction:n})]})]})}function J(){return(0,s.jsx)(D(),{style:{borderRadius:4},src:O,alt:"tabby",width:"128",height:"128"})}function W(e){let{messages:t,handleMessageAction:n}=e;return t.length?(0,s.jsx)("div",{className:"relative mx-auto max-w-2xl px-4",children:t.map((e,l)=>(0,s.jsxs)("div",{children:[(0,s.jsx)(K,{message:e,handleMessageAction:n}),l0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=l.useState(!1);return l.useEffect(()=>{let t=()=>{n(window.innerHeight+window.scrollY>=document.body.offsetHeight-e)};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t)}},[e]),t}function G(e){let{className:t,...n}=e,l=X();return(0,s.jsxs)(Z.z,{variant:"outline",size:"icon",className:(0,d.cn)("absolute right-4 top-1 z-10 bg-background transition-opacity duration-300 sm:right-8 md:top-2",l?"opacity-0":"opacity-100",t),onClick:()=>window.scrollTo({top:document.body.offsetHeight,behavior:"smooth"}),...n,children:[(0,s.jsx)(B.BD,{}),(0,s.jsx)("span",{className:"sr-only",children:"Scroll to bottom"})]})}function Q(e){let{href:t,children:n}=e;return(0,s.jsxs)("a",{href:t,target:"_blank",className:"inline-flex flex-1 justify-center gap-1 leading-4 hover:underline",children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)("svg",{"aria-hidden":"true",height:"7",viewBox:"0 0 6 6",width:"7",className:"opacity-70",children:(0,s.jsx)("path",{d:"M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z",fill:"currentColor"})})]})}function $(e){let{className:t,...n}=e;return(0,s.jsxs)("p",{className:(0,d.cn)("px-2 text-center text-xs leading-normal text-muted-foreground",t),...n,children:[(0,s.jsx)(Q,{href:"https://tabby.tabbyml.com",children:"Tabby"}),", an opensource, self-hosted AI coding assistant ."]})}var ee=n(50976),et=n(91067),en=n(30713),es=n(1592),el=n(92402),er=n(24144),ea=n(29166),ei=n(45470),eo=n(19190);let ed=eo.fC;eo.xz;let ec=eo.x8,eu=eo.h_,ef=eo.ee,em=l.forwardRef((e,t)=>{let{className:n,sideOffset:l=4,...r}=e;return(0,s.jsx)(eo.VY,{ref:t,sideOffset:l,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...r})});em.displayName=eo.VY.displayName;let eh=l.createContext({}),ex=l.forwardRef((e,t)=>(0,s.jsx)(ef,{...e,ref:t}));ex.displayName="ComboboxAnchor";let ep=l.forwardRef((e,t)=>{let{getInputProps:n,open:r}=l.useContext(eh),{onKeyDown:a,onChange:i,onInput:o,onBlur:d,onClick:c,...u}=e;return(0,s.jsx)(ei.Z,{...n((0,ea.Z)({onKeyDown:a,onChange:i,onInput:o,onBlur:d,onClick:c,ref:t},er.Z)),...u})});ep.displayName="ComboboxTextarea";let ev=l.forwardRef((e,t)=>{let{children:n,style:r,popupMatchAnchorWidth:a,...i}=e,{getMenuProps:o,anchorRef:d}=l.useContext(eh),c=l.useRef(void 0);return l.useLayoutEffect(()=>{if(a){let e=d.current;if(e){let t=e.getBoundingClientRect();c.current=t.width}}},[]),(0,s.jsx)(eu,{children:(0,s.jsx)(em,{align:"start",onOpenAutoFocus:e=>e.preventDefault(),style:{width:c.current,...r},...o({ref:t},{suppressRefError:!0}),...i,children:n})})});ev.displayName="ComboboxContent";let eg=l.forwardRef((e,t)=>{let{item:n,index:r,className:a,children:i,disabled:o,...c}=e,{highlightedIndex:u,selectedItem:f,getItemProps:m}=l.useContext(eh),h=u===r,x=f===n;return(0,s.jsx)(ec,{asChild:!0,children:(0,s.jsx)("div",{className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",h&&"bg-accent text-accent-foreground",x&&"font-bold",o&&"pointer-events-none opacity-50",a),...m({item:n,index:r,onMouseLeave:e=>e.preventDefault(),onMouseOut:e=>e.preventDefault()}),...c,children:"function"==typeof i?i({highlighted:h,selected:x}):i})},n.id)});function ej(e){let{options:t,onSelect:n,inputRef:r,children:a}=e,[i,o]=l.useState(!1),d=l.useRef(null),c=null!=r?r:d,u=l.useRef(null),f=l.useCallback((e,t)=>{let{type:n,changes:s}=t;return n===el.Kb.stateChangeTypes.MenuMouseLeave?{...s,highlightedIndex:e.highlightedIndex}:s},[]),m=(0,el.Kb)({items:null!=t?t:[],isOpen:i,onSelectedItemChange(e){let{selectedItem:t}=e;t&&(null==n||n(t),o(!1))},onIsOpenChange:e=>{let{isOpen:t}=e;t||o(!1)},stateReducer:f}),{setHighlightedIndex:h,highlightedIndex:x}=m,p=i&&!!(null==t?void 0:t.length);l.useEffect(()=>{p&&t.length&&-1===x&&h(0),p&&!t.length&&o(!1)},[p,t]),l.useEffect(()=>{(null==t?void 0:t.length)?o(!0):o(!1)},[t]);let v=l.useMemo(()=>({...m,open:p,inputRef:c,anchorRef:u}),[m,p,c,u]);return(0,s.jsx)(eh.Provider,{value:v,children:(0,s.jsx)(ed,{open:p,children:"function"==typeof a?a(v):a})})}eg.displayName="ComboboxOption";var eb=n(95482);let ey=l.forwardRef(function(e,t){let{onSubmit:n,input:r,setInput:a,isLoading:i}=e,{formRef:o,onKeyDown:c}=function(){let e=(0,l.useRef)(null);return{formRef:e,onKeyDown:t=>{if("Enter"===t.key&&!t.shiftKey&&!t.nativeEvent.isComposing){var n;null===(n=e.current)||void 0===n||n.requestSubmit(),t.preventDefault()}}}}(),[u,f]=l.useState(null),m=l.useRef(null),h=l.useRef(),x=l.useRef(),[p,v]=l.useState([]),[g,j]=l.useState({}),{data:b}=(0,en.ZP)(u,es.Z,{revalidateOnFocus:!1,dedupingInterval:0,errorRetryCount:0});l.useEffect(()=>{var e;v(null!==(e=null==b?void 0:b.hits)&&void 0!==e?e:[])},[null==b?void 0:b.hits]),l.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=m.current)||void 0===e||e.focus()}})),l.useEffect(()=>{r&&m.current&&m.current!==document.activeElement&&m.current.focus()},[r]),l.useLayoutEffect(()=>{var e,t,n;(null===(e=x.current)||void 0===e?void 0:e.length)&&(null===(n=m.current)||void 0===n||null===(t=n.setSelectionRange)||void 0===t||t.call(n,x.current[0],x.current[1]),x.current=void 0)});let y=l.useMemo(()=>(0,ee.Z)(e=>{var t,n,s,l;let r=null!==(s=null===(t=e.target)||void 0===t?void 0:t.value)&&void 0!==s?s:"",a=null!==(l=null===(n=e.target)||void 0===n?void 0:n.selectionEnd)&&void 0!==l?l:0,i=eN(r,a),o=null==i?void 0:i[1];if(o){let e=encodeURIComponent("name:".concat(o," AND kind:function")),t="/v1beta/search?q=".concat(e);f(t)}else v([])},200),[]),N=async e=>{if(e.preventDefault(),!(null==r?void 0:r.trim()))return;let t=r;Object.keys(g).forEach(e=>{var n,s,l;let r=g[e];(null==r?void 0:r.doc)&&(t=t.replaceAll(e,"\n```".concat(null!==(s=null===(n=r.doc)||void 0===n?void 0:n.language)&&void 0!==s?s:"","\n").concat(null!==(l=r.doc.body)&&void 0!==l?l:"","\n","```","\n")))}),a(""),await n(t)},w=(e,t)=>{"Enter"===e.key&&t?e.preventDefault():t&&["ArrowRight","ArrowLeft","Home","End"].includes(e.key)?v([]):(t||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDownshiftDefault=!0),c(e))};return(0,s.jsx)("form",{onSubmit:N,ref:o,children:(0,s.jsx)(ej,{inputRef:m,options:p,onSelect:e=>{var t,n,s;let l=null!==(t=h.current)&&void 0!==t?t:0,i=eN(r,l);if(i){j({...g,["@".concat(null===(n=e.doc)||void 0===n?void 0:n.name)]:e});let t="@".concat(null==e?void 0:null===(s=e.doc)||void 0===s?void 0:s.name," "),o=r.substring(0,l).replace(new RegExp(i[0]),""),d=o.length+t.length;x.current=[d,d],a(o+t+r.slice(l))}v([])},children:e=>{var t,n,l,o;let{open:c,highlightedIndex:u}=e,f=null==p?void 0:p[u];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ex,{children:(0,s.jsxs)("div",{className:"relative flex max-h-60 w-full grow flex-col overflow-hidden bg-background px-8 sm:rounded-md sm:border sm:px-12",children:[(0,s.jsx)("span",{className:(0,d.cn)((0,Z.d)({size:"sm",variant:"ghost"}),"absolute left-0 top-4 h-8 w-8 rounded-full bg-background p-0 hover:bg-background sm:left-4"),children:(0,s.jsx)(B.yl,{})}),(0,s.jsx)(ep,{tabIndex:0,rows:1,placeholder:"Ask a question.",spellCheck:!1,className:"min-h-[60px] w-full resize-none bg-transparent px-4 py-[1.3rem] focus-within:outline-none sm:text-sm",value:r,ref:m,onChange:e=>{(0,et.Z)(e,"target.value")?(h.current=e.target.selectionEnd,a(e.target.value),y(e)):h.current=void 0},onKeyDown:e=>w(e,c)}),(0,s.jsx)("div",{className:"absolute right-0 top-4 sm:right-4",children:(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{type:"submit",size:"icon",disabled:i||""===r,children:[(0,s.jsx)(B.vq,{}),(0,s.jsx)("span",{className:"sr-only",children:"Send message"})]})}),(0,s.jsx)(eb._v,{children:"Send message"})]})})]})}),(0,s.jsx)(ev,{align:"start",side:"top",onOpenAutoFocus:e=>e.preventDefault(),className:"w-[60vw] md:w-[430px]",children:(0,s.jsxs)(ed,{open:c&&!!f,children:[(0,s.jsx)(ef,{asChild:!0,children:(0,s.jsx)("div",{className:"max-h-[300px] overflow-y-scroll",children:c&&!!(null==p?void 0:p.length)&&p.map((e,t)=>{var n,l,r;return(0,s.jsx)(eg,{item:e,index:t,children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between gap-8 overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(ew,{kind:null==e?void 0:null===(n=e.doc)||void 0===n?void 0:n.kind}),(0,s.jsxs)("div",{className:"max-w-[200px] truncate",children:[null==e?void 0:null===(l=e.doc)||void 0===l?void 0:l.name,"(...)"]})]}),(0,s.jsx)("div",{className:"flex-1 truncate text-right text-sm text-muted-foreground",children:null==e?void 0:null===(r=e.doc)||void 0===r?void 0:r.body})]})},null==e?void 0:e.id)})})}),(0,s.jsx)(em,{asChild:!0,align:"start",side:"right",alignOffset:-4,onOpenAutoFocus:e=>e.preventDefault(),onKeyDownCapture:e=>e.preventDefault(),className:"rounded-none",collisionPadding:{bottom:120},children:(0,s.jsxs)("div",{className:"flex max-h-[70vh] w-[20vw] flex-col overflow-y-auto px-2 md:w-[240px] lg:w-[340px]",children:[(0,s.jsxs)("div",{className:"mb-2",children:[(null==f?void 0:null===(t=f.doc)||void 0===t?void 0:t.kind)?"(".concat(null==f?void 0:null===(n=f.doc)||void 0===n?void 0:n.kind,") "):"",null==f?void 0:null===(l=f.doc)||void 0===l?void 0:l.name]}),(0,s.jsx)("div",{className:"flex-1 whitespace-pre-wrap break-all text-muted-foreground",children:null==f?void 0:null===(o=f.doc)||void 0===o?void 0:o.body})]})})]})})]})}})})});function eN(e,t){let n=e.substring(0,t),s=/@(\w+)$/.exec(n);return s}function ew(e){let{kind:t,...n}=e;return(0,s.jsx)(B.sW,{...n})}function ek(e){let{id:t,isLoading:n,stop:r,append:a,reload:i,input:o,setInput:c,messages:u,className:f,onSubmit:m}=e,h=l.useRef(null);return l.useEffect(()=>{var e;null==h||null===(e=h.current)||void 0===e||e.focus()},[t]),(0,s.jsxs)("div",{className:(0,d.cn)("bg-gradient-to-b from-transparent from-0% to-muted/25 to-100%",f),children:[(0,s.jsx)(G,{}),(0,s.jsxs)("div",{className:"mx-auto sm:max-w-2xl sm:px-4",children:[(0,s.jsx)("div",{className:"flex h-10 items-center justify-center",children:n?(0,s.jsxs)(Z.z,{variant:"outline",onClick:()=>r(),className:"bg-background",children:[(0,s.jsx)(B.zu,{className:"mr-2"}),"Stop generating"]}):(null==u?void 0:u.length)>0&&(0,s.jsxs)(Z.z,{variant:"outline",onClick:()=>i(),className:"bg-background",children:[(0,s.jsx)(B.tr,{className:"mr-2"}),"Regenerate response"]})}),(0,s.jsxs)("div",{className:"space-y-4 border-t bg-background px-4 py-2 shadow-lg sm:rounded-t-xl sm:border md:py-4",children:[(0,s.jsx)(ey,{ref:h,onSubmit:m,input:o,setInput:c,isLoading:n}),(0,s.jsx)($,{className:"hidden sm:block"})]})]})]})}var eC=n(4327);function ez(e){let{trackVisibility:t}=e,n=X(),{ref:r,entry:a,inView:i}=(0,eC.YD)({trackVisibility:t,delay:100,rootMargin:"0px 0px -150px 0px"});return l.useEffect(()=>{n&&t&&!i&&(null==a||a.target.scrollIntoView({block:"start"}))},[i,a,n,t]),(0,s.jsx)("div",{ref:r,className:"h-px w-full"})}let eA=[{heading:"Convert list of string to numbers",message:"How to convert a list of string to numbers in python"},{heading:"How to parse email address",message:"How to parse email address with regex"}];function eR(e){let{setInput:t}=e;return(0,s.jsx)("div",{className:"mx-auto max-w-2xl px-4",children:(0,s.jsxs)("div",{className:"rounded-lg border bg-background p-8",children:[(0,s.jsx)("h1",{className:"mb-2 text-lg font-semibold",children:"Welcome to Playground!"}),(0,s.jsx)("p",{className:"leading-normal text-muted-foreground",children:"You can start a conversation here or try the following examples:"}),(0,s.jsx)("div",{className:"mt-4 flex flex-col items-start space-y-2",children:eA.map((e,n)=>(0,s.jsxs)(Z.z,{variant:"link",className:"h-auto p-0 text-base",onClick:()=>t(e.message),children:[(0,s.jsx)(B.Ec,{className:"mr-2 text-muted-foreground"}),e.heading]},n))})]})})}let eE=()=>(0,s.jsxs)("ul",{className:"space-y-3",children:[(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"}),(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"}),(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"}),(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"})]});function eS(e){let{id:t,initialMessages:n,loading:r,className:i}=e;!function(){let{data:e}=(0,j.kP)();(0,l.useEffect)(()=>{window._originFetch||(window._originFetch=window.fetch);let t=window._originFetch;window.fetch=async function(n,s){if("/api/chat"!==n)return t(n,s);let l={"Content-Type":"application/json"};(null==e?void 0:e.accessToken)&&(l.Authorization="Bearer ".concat(null==e?void 0:e.accessToken));let r=await t("".concat(y,"/v1beta/chat/completions"),{...s,method:"POST",headers:l}),a=(0,g.HP)(r,void 0);return new g.wn(a)}},[null==e?void 0:e.accessToken])}();let o=a(f,e=>e.chats),{messages:c,append:u,reload:m,stop:b,isLoading:N,input:w,setInput:C,setMessages:z}=(0,h.R)({initialMessages:n,id:t,body:{id:t},onResponse(e){401===e.status&&v.A.error(e.statusText)}}),[R,E]=l.useState(),S=e=>{let t=(0,p.Z)(c,{id:e}),n=null==c?void 0:c[t-1];(null==n?void 0:n.role)==="user"&&(z(c.slice(0,t-1)),u(n))},D=e=>{let t=(0,x.Z)(c,{id:e});t&&z(c.filter(t=>t.id!==e))},O=e=>{let t=(0,x.Z)(c,{id:e});t&&(C(t.content),E(e))},T=async e=>{if(-1===(0,p.Z)(o,{id:t}))k(t,(0,d.aF)(e));else if(R){let e=(0,p.Z)(c,{id:R});z(c.slice(0,e)),E(void 0)}await u({id:(0,d.x0)(),content:e,role:"user"})};return l.useEffect(()=>{t&&A(t,c)},[c]),l.useEffect(()=>{let e=document.documentElement.scrollHeight;return window.scrollTo(0,e),()=>b()},[]),(0,s.jsx)("div",{className:"flex justify-center overflow-x-hidden",children:(0,s.jsxs)("div",{className:"w-full max-w-2xl px-4",children:[(0,s.jsx)("div",{className:(0,d.cn)("pb-[200px] pt-4 md:pt-10",i),children:r?(0,s.jsxs)("div",{className:"group relative mb-4 flex animate-pulse items-start md:-ml-12",children:[(0,s.jsx)("div",{className:"shrink-0",children:(0,s.jsx)("span",{className:"block h-8 w-8 rounded-md bg-gray-200 dark:bg-gray-700"})}),(0,s.jsx)("div",{className:"ml-4 flex-1 space-y-2 overflow-hidden px-1",children:(0,s.jsx)(eE,{})})]}):c.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(W,{messages:c,handleMessageAction:(e,t)=>{switch(t){case"edit":O(e);break;case"delete":D(e);break;case"regenerate":S(e)}}}),(0,s.jsx)(ez,{trackVisibility:N})]}):(0,s.jsx)(eR,{setInput:C})}),(0,s.jsx)(ek,{onSubmit:T,className:"fixed inset-x-0 bottom-0 lg:ml-[280px]",id:t,isLoading:N,stop:b,append:u,reload:m,messages:c,input:w,setInput:C})]})})}var eD=n(18851);let eO=e=>{let{onClear:t,onClick:n,onBlur:r,...a}=e,[i,o]=l.useState(!1),d=()=>{o(!1)};return(0,s.jsx)(Z.z,{className:"h-12 w-full justify-start",variant:"ghost",...a,onClick:e=>{i?(t(),o(!1)):o(!0),null==n||n(e)},onBlur:e=>{i&&d(),null==r||r(e)},children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B.NO,{}),(0,s.jsx)("span",{className:"ml-2",children:"Confirm Clear Chats"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B.IT,{}),(0,s.jsx)("span",{className:"ml-2",children:"Clear Chats"})]})})};var eT=n(12609),eH=n(51908);let eI=e=>{let{children:t,initialValue:n,chatId:r}=e,[a,i]=l.useState(!1),o=l.useRef(null),[d,c]=l.useState(n),u=async e=>{e.preventDefault(),(null==d?void 0:d.trim())&&(R(r,{title:d}),i(!1))};return(0,s.jsxs)(eT.Vq,{open:a,onOpenChange:i,children:[(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:()=>i(!0),children:[(0,s.jsx)(B.yl,{}),(0,s.jsx)("span",{className:"sr-only",children:"Edit"})]})}),(0,s.jsx)(eb._v,{side:"bottom",children:"Edit"})]}),(0,s.jsx)(eT.cZ,{className:"bg-background",children:(0,s.jsxs)(eT.fK,{className:"gap-3",children:[(0,s.jsx)(eT.$N,{children:"Set Chat Title"}),(0,s.jsx)(eT.Be,{asChild:!0,children:(0,s.jsxs)("form",{className:"relative",onSubmit:u,ref:o,children:[(0,s.jsx)(eH.I,{className:"h-10 pr-12",value:d,onChange:e=>c(e.target.value),onKeyDown:e=>{if("Enter"===e.key){var t;null===(t=o.current)||void 0===t||t.requestSubmit(),e.preventDefault()}}}),(0,s.jsx)("div",{className:"absolute right-2 top-1",children:(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{type:"submit",size:"icon",disabled:""===d,children:[(0,s.jsx)(B.vq,{}),(0,s.jsx)("span",{className:"sr-only",children:"Send message"})]})}),(0,s.jsx)(eb._v,{children:"Edit Title"})]})})]})})]})})]})},e_=e=>{let{className:t}=e,n=a(f,e=>e._hasHydrated),l=a(f,e=>e.chats),r=a(f,e=>e.activeChatId),i=(e,t)=>{C(t)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:(0,d.cn)(t),children:(0,s.jsxs)("div",{className:"fixed inset-y-0 left-0 flex w-[279px] flex-col gap-2",children:[(0,s.jsx)("div",{className:"shrink-0 pb-0 pl-3 pt-2",children:(0,s.jsxs)(Z.z,{className:"h-12 w-full justify-start",variant:"ghost",onClick:e=>{w((0,d.x0)())},children:[(0,s.jsx)(B.SC,{}),(0,s.jsx)("span",{className:"ml-2",children:"New Chat"})]})}),(0,s.jsx)(E.Z,{}),(0,s.jsx)(eD.ScrollArea,{className:"flex flex-col gap-2 px-3",children:n?(0,s.jsx)(s.Fragment,{children:null==l?void 0:l.map(e=>{let t=r===e.id;return(0,s.jsxs)("div",{onClick:t=>w(e.id),className:(0,d.cn)("my-2 flex w-[254px] cursor-pointer items-center justify-between gap-3 rounded-lg px-3 py-1 text-sm transition-all hover:bg-primary/10",t&&"bg-primary/10"),children:[(0,s.jsx)("span",{className:"truncate leading-8",children:e.title||"(Untitled)"}),t&&(0,s.jsxs)("div",{className:"flex items-center",onClick:e=>e.stopPropagation(),children:[(0,s.jsx)(eI,{initialValue:e.title,chatId:e.id}),(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:t=>i(t,e.id),children:[(0,s.jsx)(B.IT,{}),(0,s.jsx)("span",{className:"sr-only",children:"Delete"})]})}),(0,s.jsx)(eb._v,{side:"bottom",children:"Delete"})]})]})]},e.id)})}):(0,s.jsx)(eE,{})}),(0,s.jsx)(E.Z,{}),(0,s.jsx)("div",{className:"shrink-0 pb-2",children:(0,s.jsx)(eO,{disabled:(null==l?void 0:l.length)===0,onClear:()=>{z()}})})]})})})},eL=[];function eZ(){var e;let t=a(f,e=>e._hasHydrated),n=a(f,e=>e.chats),l=a(f,e=>e.activeChatId),r=m(n,l);return(0,s.jsxs)("div",{className:"grid flex-1 overflow-hidden lg:grid-cols-[280px_1fr]",children:[(0,s.jsx)(e_,{className:"hidden w-[280px] border-r lg:block"}),(0,s.jsx)(eS,{loading:!t,id:l,initialMessages:null!==(e=null==r?void 0:r.messages)&&void 0!==e?e:eL},l)]})}},33555:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var s=n(57437);n(2265);var l=n(77723),r=n(93023),a=n(84168);function i(e){let{className:t,value:n,...i}=e,{isCopied:o,copyToClipboard:d}=(0,l.m)({timeout:2e3});return n?(0,s.jsxs)(r.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{o||d(n)},...i,children:[o?(0,s.jsx)(a.NO,{className:"text-green-600"}):(0,s.jsx)(a.vU,{}),(0,s.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},12609:function(e,t,n){"use strict";n.d(t,{$N:function(){return h},Be:function(){return x},Vq:function(){return o},cN:function(){return m},cZ:function(){return u},fK:function(){return f}});var s=n(57437),l=n(2265),r=n(25555),a=n(39311),i=n(84168);let o=r.fC;r.xz;let d=e=>{let{className:t,children:n,...l}=e;return(0,s.jsx)(r.h_,{className:(0,a.cn)(t),...l,children:(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center sm:items-center",children:n})})};d.displayName=r.h_.displayName;let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.aV,{ref:t,className:(0,a.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in",n),...l})});c.displayName=r.aV.displayName;let u=l.forwardRef((e,t)=>{let{className:n,children:l,...o}=e;return(0,s.jsxs)(d,{children:[(0,s.jsx)(c,{}),(0,s.jsxs)(r.VY,{ref:t,className:(0,a.cn)("fixed z-50 grid w-full gap-4 rounded-b-lg border bg-background p-6 shadow-sm animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-lg sm:rounded-lg sm:zoom-in-90 data-[state=open]:sm:slide-in-from-bottom-0",n),...o,children:[l,(0,s.jsxs)(r.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(i.bM,{}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=r.VY.displayName;let f=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};f.displayName="DialogHeader";let m=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};m.displayName="DialogFooter";let h=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.Dx,{ref:t,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",n),...l})});h.displayName=r.Dx.displayName;let x=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.dk,{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",n),...l})});x.displayName=r.dk.displayName},51908:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var s=n(57437),l=n(2265),r=n(39311);let a=l.forwardRef((e,t)=>{let{className:n,type:l,...a}=e;return(0,s.jsx)("input",{type:l,className:(0,r.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...a})});a.displayName="Input"},18851:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollArea:function(){return i},ScrollBar:function(){return o}});var s=n(57437),l=n(2265),r=n(17283),a=n(39311);let i=l.forwardRef((e,t)=>{let{className:n,children:l,...i}=e;return(0,s.jsxs)(r.fC,{ref:t,className:(0,a.cn)("relative overflow-hidden",n),...i,children:[(0,s.jsx)(r.l_,{className:"h-full w-full rounded-[inherit]",children:l}),(0,s.jsx)(o,{}),(0,s.jsx)(r.Ns,{})]})});i.displayName=r.fC.displayName;let o=l.forwardRef((e,t)=>{let{className:n,orientation:l="vertical",...i}=e;return(0,s.jsx)(r.gb,{ref:t,orientation:l,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===l&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...i,children:(0,s.jsx)(r.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=r.gb.displayName},16775:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(57437),l=n(2265),r=n(26823),a=n(39311);let i=l.forwardRef((e,t)=>{let{className:n,orientation:l="horizontal",decorative:i=!0,...o}=e;return(0,s.jsx)(r.f,{ref:t,decorative:i,orientation:l,className:(0,a.cn)("shrink-0 bg-border","horizontal"===l?"h-[1px] w-full":"h-full w-[1px]",n),...o})});i.displayName=r.f.displayName},95482:function(e,t,n){"use strict";n.d(t,{_v:function(){return c},aJ:function(){return d},pn:function(){return i},u:function(){return o}});var s=n(57437),l=n(2265),r=n(75224),a=n(39311);let i=r.zt,o=r.fC,d=r.xz,c=l.forwardRef((e,t)=>{let{className:n,sideOffset:l=4,...i}=e;return(0,s.jsx)(r.VY,{ref:t,sideOffset:l,className:(0,a.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",n),...i})});c.displayName=r.VY.displayName},77723:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var s=n(2265),l=n(2390),r=n.n(l),a=n(71424);function i(e){let{timeout:t=2e3,onError:n}=e,[l,i]=s.useState(!1),o=()=>{i(!0),setTimeout(()=>{i(!1)},t)},d=e=>{if("function"==typeof n){null==n||n(e);return}a.A.error("Failed to copy.")};return{isCopied:l,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(o).catch(d);else{let t=r()(e);t?o():d()}}}}}},1592:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var s=n(34084),l=n(58001),r=n(7820);let a=!1,i=[];async function o(e,t){let n=await fetch(e,d(t));if(401!==n.status)return(null==t?void 0:t.format)==="text"?n.text():n.json();{var s,r;if(a)return new Promise(n=>{i.push({url:e,init:t,resolve:n})});let n=null===(s=(0,l.bW)())||void 0===s?void 0:s.refreshToken;if(!n){(0,l.Rn)();return}a=!0;let o=await c(n),d=null==o?void 0:null===(r=o.data)||void 0===r?void 0:r.refreshToken;if(d){for((0,l.pC)({accessToken:d.accessToken,refreshToken:d.refreshToken}),a=!1;i.length;){let e=i.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,t)}a=!1,i.length=0,(0,l.Rn)()}}function d(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,l.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function c(e){let t=r.L.createRequestOperation("mutation",(0,s.h)(l.Dp,{refreshToken:e}));return r.L.executeMutation(t)}function u(e,t){return fetch(e,d(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5328,1424,2047,4012,1629,9503,5479,1621,2949,5224,2248,7820,1894,2971,7864,1744],function(){return e(e.s=24283)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2383],{33107:function(e,t,n){Promise.resolve().then(n.bind(n,40006))},40006:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eZ}});var s=n(57437),l=n(2265);let r=!0,a=(e,t)=>{let n=function(){let[e,t]=l.useState(()=>!r);return l.useEffect(function(){r=!1,t(!0)},[]),e}(),s=e(e=>null==e?void 0:e._hasHydrated),a=e(t),[i,o]=l.useState(n&&s?a:void 0);return l.useEffect(()=>{o(a)},[a]),i};var i=n(94660),o=n(74810),d=n(39311);let c=["_hasHydrated","setHasHydrated","activeChatId"],u={_hasHydrated:!1,chats:void 0,activeChatId:(0,d.x0)()},f=(0,i.Ue)()((0,o.tJ)(e=>({...u,setHasHydrated:t=>{e({_hasHydrated:t})}}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!c.includes(t)})),onRehydrateStorage:()=>e=>{e&&e.setHasHydrated(!0)}})),m=(e,t)=>{if(Array.isArray(e)&&t)return e.find(e=>e.id===t)};var h=n(82504),x=n(83390),p=n(16630),v=n(71424),g=n(95865),j=n(58001),b=n(68571);let y=b.env.NEXT_PUBLIC_TABBY_SERVER_URL||"";f.getState;let N=f.setState,w=e=>{N(()=>({activeChatId:e}))},k=(e,t)=>{let n=null!=e?e:(0,d.x0)();N(e=>({activeChatId:n,chats:[{id:n,title:null!=t?t:"",messages:[],createdAt:new Date,userId:"",path:""},...e.chats||[]]}))},C=e=>{N(t=>{var n;return{activeChatId:(0,d.x0)(),chats:null===(n=t.chats)||void 0===n?void 0:n.filter(t=>t.id!==e)}})},z=()=>{N(()=>({activeChatId:(0,d.x0)(),chats:[]}))},A=(e,t)=>{N(n=>{var s;return{chats:null===(s=n.chats)||void 0===s?void 0:s.map(n=>n.id===e?{...n,messages:t}:n)}})},R=(e,t)=>{N(n=>{var s;return{chats:null===(s=n.chats)||void 0===s?void 0:s.map(n=>n.id===e?{...n,...t}:n)}})};var E=n(16775),S=n(16691),D=n.n(S),O={src:"/_next/static/media/tabby.2c9e4d33.png",height:460,width:460,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAwUlEQVR42mN4+ejS8wcXXjy48O7lzTfPrr18ePHFo0svHl5kAGKg3K51c7evnrV5Yd+EtopnYDmgxKVXD89vmtM6Jd1+ZqySGgPDhVO73z67xgBU/uzBhW3zO9dMa1relObHwLB03sT3L24AJS4/vXP66PYlh9dOLwswTNNnmNtX9/b5NYbnQDseXrh8ckdfQ74OA0OmNsOhbUvfPr8Otvzx5Sf3zu3buWb10pmH96x7DrEciCEOe/f8GhABrYWIAAD934qARQKRZgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},T=n(48975),H=n(82180),I=n(30513),_=n(4523),L=n(77723),Z=n(93023),B=n(84168);let P={javascript:".js",python:".py",java:".java",c:".c",cpp:".cpp","c++":".cpp","c#":".cs",ruby:".rb",php:".php",swift:".swift","objective-c":".m",kotlin:".kt",typescript:".ts",go:".go",perl:".pl",rust:".rs",scala:".scala",haskell:".hs",lua:".lua",shell:".sh",sql:".sql",html:".html",css:".css"},V=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="ABCDEFGHJKLMNPQRSTUVWXY3456789",s="";for(let t=0;t{let{language:t,value:n}=e,{isCopied:l,copyToClipboard:r}=(0,L.m)({timeout:2e3});return(0,s.jsxs)("div",{className:"codeblock relative w-full bg-zinc-950 font-sans",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100",children:[(0,s.jsx)("span",{className:"text-xs lowercase",children:t}),(0,s.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,s.jsxs)(Z.z,{variant:"ghost",className:"hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>{let e=P[t]||".file",s="file-".concat(V(3,!0)).concat(e),l=window.prompt("Enter file name",s);if(!l)return;let r=new Blob([n],{type:"text/plain"}),a=URL.createObjectURL(r),i=document.createElement("a");i.download=l,i.href=a,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},size:"icon",children:[(0,s.jsx)(B.Dj,{}),(0,s.jsx)("span",{className:"sr-only",children:"Download"})]}),(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>{l||r(n)},children:[l?(0,s.jsx)(B.NO,{}):(0,s.jsx)(B.vU,{}),(0,s.jsx)("span",{className:"sr-only",children:"Copy code"})]})]})]}),(0,s.jsx)(I.Z,{language:t,style:_.RY,PreTag:"div",showLineNumbers:!0,customStyle:{margin:0,width:"100%",background:"transparent",padding:"1.5rem 1rem"},codeTagProps:{style:{fontSize:"0.9rem",fontFamily:"var(--font-mono)"}},children:n})]})});M.displayName="CodeBlock";var U=n(33555);function F(e){let{message:t,className:n,handleMessageAction:l,...r}=e;return(0,s.jsxs)("div",{className:(0,d.cn)("flex items-center justify-end transition-opacity group-hover:opacity-100 md:absolute md:-right-[5rem] md:-top-2 md:opacity-0",n),...r,children:["user"===t.role?(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:e=>l(t.id,"edit"),children:[(0,s.jsx)(B.yl,{}),(0,s.jsx)("span",{className:"sr-only",children:"Edit message"})]}):(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:e=>l(t.id,"regenerate"),children:[(0,s.jsx)(B.tr,{}),(0,s.jsx)("span",{className:"sr-only",children:"Regenerate message"})]}),(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:e=>l(t.id,"delete"),children:[(0,s.jsx)(B.IT,{}),(0,s.jsx)("span",{className:"sr-only",children:"Delete message"})]}),(0,s.jsx)(U.q,{value:t.content})]})}var q=n(19349);let Y=(0,l.memo)(q.D,(e,t)=>e.children===t.children&&e.className===t.className);function K(e){let{message:t,handleMessageAction:n,...l}=e;return(0,s.jsxs)("div",{className:(0,d.cn)("group relative mb-4 flex items-start md:-ml-12"),...l,children:[(0,s.jsx)("div",{className:(0,d.cn)("flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border bg-background shadow","user"===t.role?"bg-background":"bg-accent text-accent-foreground"),children:"user"===t.role?(0,s.jsx)(B.qO,{}):(0,s.jsx)(J,{})}),(0,s.jsxs)("div",{className:"ml-4 flex-1 space-y-2 overflow-hidden px-1",children:[(0,s.jsx)(Y,{className:"prose break-words dark:prose-invert prose-p:leading-relaxed prose-pre:p-0",remarkPlugins:[T.Z,H.Z],components:{p(e){let{children:t}=e;return(0,s.jsx)("p",{className:"mb-2 last:mb-0",children:t})},code(e){let{node:t,inline:n,className:l,children:r,...a}=e;if(r.length){if("▍"==r[0])return(0,s.jsx)("span",{className:"mt-1 animate-pulse cursor-default",children:"▍"});r[0]=r[0].replace("`▍`","▍")}let i=/language-(\w+)/.exec(l||"");return n?(0,s.jsx)("code",{className:l,...a,children:r}):(0,s.jsx)(M,{language:i&&i[1]||"",value:String(r).replace(/\n$/,""),...a},Math.random())}},children:t.content}),(0,s.jsx)(F,{message:t,handleMessageAction:n})]})]})}function J(){return(0,s.jsx)(D(),{style:{borderRadius:4},src:O,alt:"tabby",width:"128",height:"128"})}function W(e){let{messages:t,handleMessageAction:n}=e;return t.length?(0,s.jsx)("div",{className:"relative mx-auto max-w-2xl px-4",children:t.map((e,l)=>(0,s.jsxs)("div",{children:[(0,s.jsx)(K,{message:e,handleMessageAction:n}),l0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=l.useState(!1);return l.useEffect(()=>{let t=()=>{n(window.innerHeight+window.scrollY>=document.body.offsetHeight-e)};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t)}},[e]),t}function G(e){let{className:t,...n}=e,l=X();return(0,s.jsxs)(Z.z,{variant:"outline",size:"icon",className:(0,d.cn)("absolute right-4 top-1 z-10 bg-background transition-opacity duration-300 sm:right-8 md:top-2",l?"opacity-0":"opacity-100",t),onClick:()=>window.scrollTo({top:document.body.offsetHeight,behavior:"smooth"}),...n,children:[(0,s.jsx)(B.BD,{}),(0,s.jsx)("span",{className:"sr-only",children:"Scroll to bottom"})]})}function Q(e){let{href:t,children:n}=e;return(0,s.jsxs)("a",{href:t,target:"_blank",className:"inline-flex flex-1 justify-center gap-1 leading-4 hover:underline",children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)("svg",{"aria-hidden":"true",height:"7",viewBox:"0 0 6 6",width:"7",className:"opacity-70",children:(0,s.jsx)("path",{d:"M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z",fill:"currentColor"})})]})}function $(e){let{className:t,...n}=e;return(0,s.jsxs)("p",{className:(0,d.cn)("px-2 text-center text-xs leading-normal text-muted-foreground",t),...n,children:[(0,s.jsx)(Q,{href:"https://tabby.tabbyml.com",children:"Tabby"}),", an opensource, self-hosted AI coding assistant ."]})}var ee=n(50976),et=n(91067),en=n(30713),es=n(1592),el=n(92402),er=n(24144),ea=n(29166),ei=n(45470),eo=n(19190);let ed=eo.fC;eo.xz;let ec=eo.x8,eu=eo.h_,ef=eo.ee,em=l.forwardRef((e,t)=>{let{className:n,sideOffset:l=4,...r}=e;return(0,s.jsx)(eo.VY,{ref:t,sideOffset:l,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...r})});em.displayName=eo.VY.displayName;let eh=l.createContext({}),ex=l.forwardRef((e,t)=>(0,s.jsx)(ef,{...e,ref:t}));ex.displayName="ComboboxAnchor";let ep=l.forwardRef((e,t)=>{let{getInputProps:n,open:r}=l.useContext(eh),{onKeyDown:a,onChange:i,onInput:o,onBlur:d,onClick:c,...u}=e;return(0,s.jsx)(ei.Z,{...n((0,ea.Z)({onKeyDown:a,onChange:i,onInput:o,onBlur:d,onClick:c,ref:t},er.Z)),...u})});ep.displayName="ComboboxTextarea";let ev=l.forwardRef((e,t)=>{let{children:n,style:r,popupMatchAnchorWidth:a,...i}=e,{getMenuProps:o,anchorRef:d}=l.useContext(eh),c=l.useRef(void 0);return l.useLayoutEffect(()=>{if(a){let e=d.current;if(e){let t=e.getBoundingClientRect();c.current=t.width}}},[]),(0,s.jsx)(eu,{children:(0,s.jsx)(em,{align:"start",onOpenAutoFocus:e=>e.preventDefault(),style:{width:c.current,...r},...o({ref:t},{suppressRefError:!0}),...i,children:n})})});ev.displayName="ComboboxContent";let eg=l.forwardRef((e,t)=>{let{item:n,index:r,className:a,children:i,disabled:o,...c}=e,{highlightedIndex:u,selectedItem:f,getItemProps:m}=l.useContext(eh),h=u===r,x=f===n;return(0,s.jsx)(ec,{asChild:!0,children:(0,s.jsx)("div",{className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",h&&"bg-accent text-accent-foreground",x&&"font-bold",o&&"pointer-events-none opacity-50",a),...m({item:n,index:r,onMouseLeave:e=>e.preventDefault(),onMouseOut:e=>e.preventDefault()}),...c,children:"function"==typeof i?i({highlighted:h,selected:x}):i})},n.id)});function ej(e){let{options:t,onSelect:n,inputRef:r,children:a}=e,[i,o]=l.useState(!1),d=l.useRef(null),c=null!=r?r:d,u=l.useRef(null),f=l.useCallback((e,t)=>{let{type:n,changes:s}=t;return n===el.Kb.stateChangeTypes.MenuMouseLeave?{...s,highlightedIndex:e.highlightedIndex}:s},[]),m=(0,el.Kb)({items:null!=t?t:[],isOpen:i,onSelectedItemChange(e){let{selectedItem:t}=e;t&&(null==n||n(t),o(!1))},onIsOpenChange:e=>{let{isOpen:t}=e;t||o(!1)},stateReducer:f}),{setHighlightedIndex:h,highlightedIndex:x}=m,p=i&&!!(null==t?void 0:t.length);l.useEffect(()=>{p&&t.length&&-1===x&&h(0),p&&!t.length&&o(!1)},[p,t]),l.useEffect(()=>{(null==t?void 0:t.length)?o(!0):o(!1)},[t]);let v=l.useMemo(()=>({...m,open:p,inputRef:c,anchorRef:u}),[m,p,c,u]);return(0,s.jsx)(eh.Provider,{value:v,children:(0,s.jsx)(ed,{open:p,children:"function"==typeof a?a(v):a})})}eg.displayName="ComboboxOption";var eb=n(95482);let ey=l.forwardRef(function(e,t){let{onSubmit:n,input:r,setInput:a,isLoading:i}=e,{formRef:o,onKeyDown:c}=function(){let e=(0,l.useRef)(null);return{formRef:e,onKeyDown:t=>{if("Enter"===t.key&&!t.shiftKey&&!t.nativeEvent.isComposing){var n;null===(n=e.current)||void 0===n||n.requestSubmit(),t.preventDefault()}}}}(),[u,f]=l.useState(null),m=l.useRef(null),h=l.useRef(),x=l.useRef(),[p,v]=l.useState([]),[g,j]=l.useState({}),{data:b}=(0,en.ZP)(u,es.Z,{revalidateOnFocus:!1,dedupingInterval:0,errorRetryCount:0});l.useEffect(()=>{var e;v(null!==(e=null==b?void 0:b.hits)&&void 0!==e?e:[])},[null==b?void 0:b.hits]),l.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=m.current)||void 0===e||e.focus()}})),l.useEffect(()=>{r&&m.current&&m.current!==document.activeElement&&m.current.focus()},[r]),l.useLayoutEffect(()=>{var e,t,n;(null===(e=x.current)||void 0===e?void 0:e.length)&&(null===(n=m.current)||void 0===n||null===(t=n.setSelectionRange)||void 0===t||t.call(n,x.current[0],x.current[1]),x.current=void 0)});let y=l.useMemo(()=>(0,ee.Z)(e=>{var t,n,s,l;let r=null!==(s=null===(t=e.target)||void 0===t?void 0:t.value)&&void 0!==s?s:"",a=null!==(l=null===(n=e.target)||void 0===n?void 0:n.selectionEnd)&&void 0!==l?l:0,i=eN(r,a),o=null==i?void 0:i[1];if(o){let e=encodeURIComponent("name:".concat(o," AND kind:function")),t="/v1beta/search?q=".concat(e);f(t)}else v([])},200),[]),N=async e=>{if(e.preventDefault(),!(null==r?void 0:r.trim()))return;let t=r;Object.keys(g).forEach(e=>{var n,s,l;let r=g[e];(null==r?void 0:r.doc)&&(t=t.replaceAll(e,"\n```".concat(null!==(s=null===(n=r.doc)||void 0===n?void 0:n.language)&&void 0!==s?s:"","\n").concat(null!==(l=r.doc.body)&&void 0!==l?l:"","\n","```","\n")))}),a(""),await n(t)},w=(e,t)=>{"Enter"===e.key&&t?e.preventDefault():t&&["ArrowRight","ArrowLeft","Home","End"].includes(e.key)?v([]):(t||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDownshiftDefault=!0),c(e))};return(0,s.jsx)("form",{onSubmit:N,ref:o,children:(0,s.jsx)(ej,{inputRef:m,options:p,onSelect:e=>{var t,n,s;let l=null!==(t=h.current)&&void 0!==t?t:0,i=eN(r,l);if(i){j({...g,["@".concat(null===(n=e.doc)||void 0===n?void 0:n.name)]:e});let t="@".concat(null==e?void 0:null===(s=e.doc)||void 0===s?void 0:s.name," "),o=r.substring(0,l).replace(new RegExp(i[0]),""),d=o.length+t.length;x.current=[d,d],a(o+t+r.slice(l))}v([])},children:e=>{var t,n,l,o;let{open:c,highlightedIndex:u}=e,f=null==p?void 0:p[u];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ex,{children:(0,s.jsxs)("div",{className:"relative flex max-h-60 w-full grow flex-col overflow-hidden bg-background px-8 sm:rounded-md sm:border sm:px-12",children:[(0,s.jsx)("span",{className:(0,d.cn)((0,Z.d)({size:"sm",variant:"ghost"}),"absolute left-0 top-4 h-8 w-8 rounded-full bg-background p-0 hover:bg-background sm:left-4"),children:(0,s.jsx)(B.yl,{})}),(0,s.jsx)(ep,{tabIndex:0,rows:1,placeholder:"Ask a question.",spellCheck:!1,className:"min-h-[60px] w-full resize-none bg-transparent px-4 py-[1.3rem] focus-within:outline-none sm:text-sm",value:r,ref:m,onChange:e=>{(0,et.Z)(e,"target.value")?(h.current=e.target.selectionEnd,a(e.target.value),y(e)):h.current=void 0},onKeyDown:e=>w(e,c)}),(0,s.jsx)("div",{className:"absolute right-0 top-4 sm:right-4",children:(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{type:"submit",size:"icon",disabled:i||""===r,children:[(0,s.jsx)(B.vq,{}),(0,s.jsx)("span",{className:"sr-only",children:"Send message"})]})}),(0,s.jsx)(eb._v,{children:"Send message"})]})})]})}),(0,s.jsx)(ev,{align:"start",side:"top",onOpenAutoFocus:e=>e.preventDefault(),className:"w-[60vw] md:w-[430px]",children:(0,s.jsxs)(ed,{open:c&&!!f,children:[(0,s.jsx)(ef,{asChild:!0,children:(0,s.jsx)("div",{className:"max-h-[300px] overflow-y-scroll",children:c&&!!(null==p?void 0:p.length)&&p.map((e,t)=>{var n,l,r;return(0,s.jsx)(eg,{item:e,index:t,children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between gap-8 overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(ew,{kind:null==e?void 0:null===(n=e.doc)||void 0===n?void 0:n.kind}),(0,s.jsxs)("div",{className:"max-w-[200px] truncate",children:[null==e?void 0:null===(l=e.doc)||void 0===l?void 0:l.name,"(...)"]})]}),(0,s.jsx)("div",{className:"flex-1 truncate text-right text-sm text-muted-foreground",children:null==e?void 0:null===(r=e.doc)||void 0===r?void 0:r.body})]})},null==e?void 0:e.id)})})}),(0,s.jsx)(em,{asChild:!0,align:"start",side:"right",alignOffset:-4,onOpenAutoFocus:e=>e.preventDefault(),onKeyDownCapture:e=>e.preventDefault(),className:"rounded-none",collisionPadding:{bottom:120},children:(0,s.jsxs)("div",{className:"flex max-h-[70vh] w-[20vw] flex-col overflow-y-auto px-2 md:w-[240px] lg:w-[340px]",children:[(0,s.jsxs)("div",{className:"mb-2",children:[(null==f?void 0:null===(t=f.doc)||void 0===t?void 0:t.kind)?"(".concat(null==f?void 0:null===(n=f.doc)||void 0===n?void 0:n.kind,") "):"",null==f?void 0:null===(l=f.doc)||void 0===l?void 0:l.name]}),(0,s.jsx)("div",{className:"flex-1 whitespace-pre-wrap break-all text-muted-foreground",children:null==f?void 0:null===(o=f.doc)||void 0===o?void 0:o.body})]})})]})})]})}})})});function eN(e,t){let n=e.substring(0,t),s=/@(\w+)$/.exec(n);return s}function ew(e){let{kind:t,...n}=e;return(0,s.jsx)(B.sW,{...n})}function ek(e){let{id:t,isLoading:n,stop:r,append:a,reload:i,input:o,setInput:c,messages:u,className:f,onSubmit:m}=e,h=l.useRef(null);return l.useEffect(()=>{var e;null==h||null===(e=h.current)||void 0===e||e.focus()},[t]),(0,s.jsxs)("div",{className:(0,d.cn)("bg-gradient-to-b from-transparent from-0% to-muted/25 to-100%",f),children:[(0,s.jsx)(G,{}),(0,s.jsxs)("div",{className:"mx-auto sm:max-w-2xl sm:px-4",children:[(0,s.jsx)("div",{className:"flex h-10 items-center justify-center",children:n?(0,s.jsxs)(Z.z,{variant:"outline",onClick:()=>r(),className:"bg-background",children:[(0,s.jsx)(B.zu,{className:"mr-2"}),"Stop generating"]}):(null==u?void 0:u.length)>0&&(0,s.jsxs)(Z.z,{variant:"outline",onClick:()=>i(),className:"bg-background",children:[(0,s.jsx)(B.tr,{className:"mr-2"}),"Regenerate response"]})}),(0,s.jsxs)("div",{className:"space-y-4 border-t bg-background px-4 py-2 shadow-lg sm:rounded-t-xl sm:border md:py-4",children:[(0,s.jsx)(ey,{ref:h,onSubmit:m,input:o,setInput:c,isLoading:n}),(0,s.jsx)($,{className:"hidden sm:block"})]})]})]})}var eC=n(4327);function ez(e){let{trackVisibility:t}=e,n=X(),{ref:r,entry:a,inView:i}=(0,eC.YD)({trackVisibility:t,delay:100,rootMargin:"0px 0px -150px 0px"});return l.useEffect(()=>{n&&t&&!i&&(null==a||a.target.scrollIntoView({block:"start"}))},[i,a,n,t]),(0,s.jsx)("div",{ref:r,className:"h-px w-full"})}let eA=[{heading:"Convert list of string to numbers",message:"How to convert a list of string to numbers in python"},{heading:"How to parse email address",message:"How to parse email address with regex"}];function eR(e){let{setInput:t}=e;return(0,s.jsx)("div",{className:"mx-auto max-w-2xl px-4",children:(0,s.jsxs)("div",{className:"rounded-lg border bg-background p-8",children:[(0,s.jsx)("h1",{className:"mb-2 text-lg font-semibold",children:"Welcome to Playground!"}),(0,s.jsx)("p",{className:"leading-normal text-muted-foreground",children:"You can start a conversation here or try the following examples:"}),(0,s.jsx)("div",{className:"mt-4 flex flex-col items-start space-y-2",children:eA.map((e,n)=>(0,s.jsxs)(Z.z,{variant:"link",className:"h-auto p-0 text-base",onClick:()=>t(e.message),children:[(0,s.jsx)(B.Ec,{className:"mr-2 text-muted-foreground"}),e.heading]},n))})]})})}let eE=()=>(0,s.jsxs)("ul",{className:"space-y-3",children:[(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"}),(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"}),(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"}),(0,s.jsx)("li",{className:"h-4 w-full rounded-full bg-gray-200 dark:bg-gray-700"})]});function eS(e){let{id:t,initialMessages:n,loading:r,className:i}=e;!function(){let{data:e}=(0,j.kP)();(0,l.useEffect)(()=>{window._originFetch||(window._originFetch=window.fetch);let t=window._originFetch;window.fetch=async function(n,s){if("/api/chat"!==n)return t(n,s);let l={"Content-Type":"application/json"};(null==e?void 0:e.accessToken)&&(l.Authorization="Bearer ".concat(null==e?void 0:e.accessToken));let r=await t("".concat(y,"/v1beta/chat/completions"),{...s,method:"POST",headers:l}),a=(0,g.HP)(r,void 0);return new g.wn(a)}},[null==e?void 0:e.accessToken])}();let o=a(f,e=>e.chats),{messages:c,append:u,reload:m,stop:b,isLoading:N,input:w,setInput:C,setMessages:z}=(0,h.R)({initialMessages:n,id:t,body:{id:t},onResponse(e){401===e.status&&v.A.error(e.statusText)}}),[R,E]=l.useState(),S=e=>{let t=(0,p.Z)(c,{id:e}),n=null==c?void 0:c[t-1];(null==n?void 0:n.role)==="user"&&(z(c.slice(0,t-1)),u(n))},D=e=>{let t=(0,x.Z)(c,{id:e});t&&z(c.filter(t=>t.id!==e))},O=e=>{let t=(0,x.Z)(c,{id:e});t&&(C(t.content),E(e))},T=async e=>{if(-1===(0,p.Z)(o,{id:t}))k(t,(0,d.aF)(e));else if(R){let e=(0,p.Z)(c,{id:R});z(c.slice(0,e)),E(void 0)}await u({id:(0,d.x0)(),content:e,role:"user"})};return l.useEffect(()=>{t&&A(t,c)},[c]),l.useEffect(()=>{let e=document.documentElement.scrollHeight;return window.scrollTo(0,e),()=>b()},[]),(0,s.jsx)("div",{className:"flex justify-center overflow-x-hidden",children:(0,s.jsxs)("div",{className:"w-full max-w-2xl px-4",children:[(0,s.jsx)("div",{className:(0,d.cn)("pb-[200px] pt-4 md:pt-10",i),children:r?(0,s.jsxs)("div",{className:"group relative mb-4 flex animate-pulse items-start md:-ml-12",children:[(0,s.jsx)("div",{className:"shrink-0",children:(0,s.jsx)("span",{className:"block h-8 w-8 rounded-md bg-gray-200 dark:bg-gray-700"})}),(0,s.jsx)("div",{className:"ml-4 flex-1 space-y-2 overflow-hidden px-1",children:(0,s.jsx)(eE,{})})]}):c.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(W,{messages:c,handleMessageAction:(e,t)=>{switch(t){case"edit":O(e);break;case"delete":D(e);break;case"regenerate":S(e)}}}),(0,s.jsx)(ez,{trackVisibility:N})]}):(0,s.jsx)(eR,{setInput:C})}),(0,s.jsx)(ek,{onSubmit:T,className:"fixed inset-x-0 bottom-0 lg:ml-[280px]",id:t,isLoading:N,stop:b,append:u,reload:m,messages:c,input:w,setInput:C})]})})}var eD=n(18851);let eO=e=>{let{onClear:t,onClick:n,onBlur:r,...a}=e,[i,o]=l.useState(!1),d=()=>{o(!1)};return(0,s.jsx)(Z.z,{className:"h-12 w-full justify-start",variant:"ghost",...a,onClick:e=>{i?(t(),o(!1)):o(!0),null==n||n(e)},onBlur:e=>{i&&d(),null==r||r(e)},children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B.NO,{}),(0,s.jsx)("span",{className:"ml-2",children:"Confirm Clear Chats"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B.IT,{}),(0,s.jsx)("span",{className:"ml-2",children:"Clear Chats"})]})})};var eT=n(12609),eH=n(51908);let eI=e=>{let{children:t,initialValue:n,chatId:r}=e,[a,i]=l.useState(!1),o=l.useRef(null),[d,c]=l.useState(n),u=async e=>{e.preventDefault(),(null==d?void 0:d.trim())&&(R(r,{title:d}),i(!1))};return(0,s.jsxs)(eT.Vq,{open:a,onOpenChange:i,children:[(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:()=>i(!0),children:[(0,s.jsx)(B.yl,{}),(0,s.jsx)("span",{className:"sr-only",children:"Edit"})]})}),(0,s.jsx)(eb._v,{side:"bottom",children:"Edit"})]}),(0,s.jsx)(eT.cZ,{className:"bg-background",children:(0,s.jsxs)(eT.fK,{className:"gap-3",children:[(0,s.jsx)(eT.$N,{children:"Set Chat Title"}),(0,s.jsx)(eT.Be,{asChild:!0,children:(0,s.jsxs)("form",{className:"relative",onSubmit:u,ref:o,children:[(0,s.jsx)(eH.I,{className:"h-10 pr-12",value:d,onChange:e=>c(e.target.value),onKeyDown:e=>{if("Enter"===e.key){var t;null===(t=o.current)||void 0===t||t.requestSubmit(),e.preventDefault()}}}),(0,s.jsx)("div",{className:"absolute right-2 top-1",children:(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{type:"submit",size:"icon",disabled:""===d,children:[(0,s.jsx)(B.vq,{}),(0,s.jsx)("span",{className:"sr-only",children:"Send message"})]})}),(0,s.jsx)(eb._v,{children:"Edit Title"})]})})]})})]})})]})},e_=e=>{let{className:t}=e,n=a(f,e=>e._hasHydrated),l=a(f,e=>e.chats),r=a(f,e=>e.activeChatId),i=(e,t)=>{C(t)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:(0,d.cn)(t),children:(0,s.jsxs)("div",{className:"fixed inset-y-0 left-0 flex w-[279px] flex-col gap-2",children:[(0,s.jsx)("div",{className:"shrink-0 pb-0 pl-3 pt-2",children:(0,s.jsxs)(Z.z,{className:"h-12 w-full justify-start",variant:"ghost",onClick:e=>{w((0,d.x0)())},children:[(0,s.jsx)(B.SC,{}),(0,s.jsx)("span",{className:"ml-2",children:"New Chat"})]})}),(0,s.jsx)(E.Z,{}),(0,s.jsx)(eD.ScrollArea,{className:"flex flex-col gap-2 px-3",children:n?(0,s.jsx)(s.Fragment,{children:null==l?void 0:l.map(e=>{let t=r===e.id;return(0,s.jsxs)("div",{onClick:t=>w(e.id),className:(0,d.cn)("my-2 flex w-[254px] cursor-pointer items-center justify-between gap-3 rounded-lg px-3 py-1 text-sm transition-all hover:bg-primary/10",t&&"bg-primary/10"),children:[(0,s.jsx)("span",{className:"truncate leading-8",children:e.title||"(Untitled)"}),t&&(0,s.jsxs)("div",{className:"flex items-center",onClick:e=>e.stopPropagation(),children:[(0,s.jsx)(eI,{initialValue:e.title,chatId:e.id}),(0,s.jsxs)(eb.u,{children:[(0,s.jsx)(eb.aJ,{asChild:!0,children:(0,s.jsxs)(Z.z,{variant:"ghost",size:"icon",onClick:t=>i(t,e.id),children:[(0,s.jsx)(B.IT,{}),(0,s.jsx)("span",{className:"sr-only",children:"Delete"})]})}),(0,s.jsx)(eb._v,{side:"bottom",children:"Delete"})]})]})]},e.id)})}):(0,s.jsx)(eE,{})}),(0,s.jsx)(E.Z,{}),(0,s.jsx)("div",{className:"shrink-0 pb-2",children:(0,s.jsx)(eO,{disabled:(null==l?void 0:l.length)===0,onClear:()=>{z()}})})]})})})},eL=[];function eZ(){var e;let t=a(f,e=>e._hasHydrated),n=a(f,e=>e.chats),l=a(f,e=>e.activeChatId),r=m(n,l);return(0,s.jsxs)("div",{className:"grid flex-1 overflow-hidden lg:grid-cols-[280px_1fr]",children:[(0,s.jsx)(e_,{className:"hidden w-[280px] border-r lg:block"}),(0,s.jsx)(eS,{loading:!t,id:l,initialMessages:null!==(e=null==r?void 0:r.messages)&&void 0!==e?e:eL},l)]})}},33555:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var s=n(57437);n(2265);var l=n(77723),r=n(93023),a=n(84168);function i(e){let{className:t,value:n,...i}=e,{isCopied:o,copyToClipboard:d}=(0,l.m)({timeout:2e3});return n?(0,s.jsxs)(r.z,{variant:"ghost",size:"icon",className:t,onClick:()=>{o||d(n)},...i,children:[o?(0,s.jsx)(a.NO,{className:"text-green-600"}):(0,s.jsx)(a.vU,{}),(0,s.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},12609:function(e,t,n){"use strict";n.d(t,{$N:function(){return h},Be:function(){return x},Vq:function(){return o},cN:function(){return m},cZ:function(){return u},fK:function(){return f}});var s=n(57437),l=n(2265),r=n(25555),a=n(39311),i=n(84168);let o=r.fC;r.xz;let d=e=>{let{className:t,children:n,...l}=e;return(0,s.jsx)(r.h_,{className:(0,a.cn)(t),...l,children:(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center sm:items-center",children:n})})};d.displayName=r.h_.displayName;let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.aV,{ref:t,className:(0,a.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in",n),...l})});c.displayName=r.aV.displayName;let u=l.forwardRef((e,t)=>{let{className:n,children:l,...o}=e;return(0,s.jsxs)(d,{children:[(0,s.jsx)(c,{}),(0,s.jsxs)(r.VY,{ref:t,className:(0,a.cn)("fixed z-50 grid w-full gap-4 rounded-b-lg border bg-background p-6 shadow-sm animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-lg sm:rounded-lg sm:zoom-in-90 data-[state=open]:sm:slide-in-from-bottom-0",n),...o,children:[l,(0,s.jsxs)(r.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(i.bM,{}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=r.VY.displayName;let f=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};f.displayName="DialogHeader";let m=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};m.displayName="DialogFooter";let h=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.Dx,{ref:t,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",n),...l})});h.displayName=r.Dx.displayName;let x=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.dk,{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",n),...l})});x.displayName=r.dk.displayName},51908:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var s=n(57437),l=n(2265),r=n(39311);let a=l.forwardRef((e,t)=>{let{className:n,type:l,...a}=e;return(0,s.jsx)("input",{type:l,className:(0,r.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...a})});a.displayName="Input"},18851:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollArea:function(){return i},ScrollBar:function(){return o}});var s=n(57437),l=n(2265),r=n(17283),a=n(39311);let i=l.forwardRef((e,t)=>{let{className:n,children:l,...i}=e;return(0,s.jsxs)(r.fC,{ref:t,className:(0,a.cn)("relative overflow-hidden",n),...i,children:[(0,s.jsx)(r.l_,{className:"h-full w-full rounded-[inherit]",children:l}),(0,s.jsx)(o,{}),(0,s.jsx)(r.Ns,{})]})});i.displayName=r.fC.displayName;let o=l.forwardRef((e,t)=>{let{className:n,orientation:l="vertical",...i}=e;return(0,s.jsx)(r.gb,{ref:t,orientation:l,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===l&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...i,children:(0,s.jsx)(r.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=r.gb.displayName},16775:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(57437),l=n(2265),r=n(26823),a=n(39311);let i=l.forwardRef((e,t)=>{let{className:n,orientation:l="horizontal",decorative:i=!0,...o}=e;return(0,s.jsx)(r.f,{ref:t,decorative:i,orientation:l,className:(0,a.cn)("shrink-0 bg-border","horizontal"===l?"h-[1px] w-full":"h-full w-[1px]",n),...o})});i.displayName=r.f.displayName},95482:function(e,t,n){"use strict";n.d(t,{_v:function(){return c},aJ:function(){return d},pn:function(){return i},u:function(){return o}});var s=n(57437),l=n(2265),r=n(75224),a=n(39311);let i=r.zt,o=r.fC,d=r.xz,c=l.forwardRef((e,t)=>{let{className:n,sideOffset:l=4,...i}=e;return(0,s.jsx)(r.VY,{ref:t,sideOffset:l,className:(0,a.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",n),...i})});c.displayName=r.VY.displayName},77723:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var s=n(2265),l=n(2390),r=n.n(l),a=n(71424);function i(e){let{timeout:t=2e3,onError:n}=e,[l,i]=s.useState(!1),o=()=>{i(!0),setTimeout(()=>{i(!1)},t)},d=e=>{if("function"==typeof n){null==n||n(e);return}a.A.error("Failed to copy.")};return{isCopied:l,copyToClipboard:e=>{var t;if(e){if(null===(t=navigator.clipboard)||void 0===t?void 0:t.writeText)navigator.clipboard.writeText(e).then(o).catch(d);else{let t=r()(e);t?o():d()}}}}}},1592:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var s=n(34084),l=n(58001),r=n(7820);let a=!1,i=[];async function o(e,t){let n=await fetch(e,d(t));if(401!==n.status)return(null==t?void 0:t.format)==="text"?n.text():n.json();{var s,r;if(a)return new Promise(n=>{i.push({url:e,init:t,resolve:n})});let n=null===(s=(0,l.bW)())||void 0===s?void 0:s.refreshToken;if(!n){(0,l.Rn)();return}a=!0;let o=await c(n),d=null==o?void 0:null===(r=o.data)||void 0===r?void 0:r.refreshToken;if(d){for((0,l.pC)({accessToken:d.accessToken,refreshToken:d.refreshToken}),a=!1;i.length;){let e=i.shift();null==e||e.resolve(u(e.url,e.init))}return u(e,t)}a=!1,i.length=0,(0,l.Rn)()}}function d(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,l.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function c(e){let t=r.L.createRequestOperation("mutation",(0,s.h)(l.Dp,{refreshToken:e}));return r.L.executeMutation(t)}function u(e,t){return fetch(e,d(t)).then(e=>(null==t?void 0:t.format)==="text"?e.text():e.json())}}},function(e){e.O(0,[5135,1424,2047,1629,9503,4012,5479,1621,2949,5224,2024,7820,1894,2971,7864,1744],function(){return e(e.s=33107)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/main-app-244f3d05d783f7a1.js b/ee/tabby-webserver/ui/_next/static/chunks/main-app-a0c790948e975484.js similarity index 80% rename from ee/tabby-webserver/ui/_next/static/chunks/main-app-244f3d05d783f7a1.js rename to ee/tabby-webserver/ui/_next/static/chunks/main-app-a0c790948e975484.js index cd1ee6452c7c..ce29e3a6f16a 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/main-app-244f3d05d783f7a1.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/main-app-a0c790948e975484.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1744],{49989:function(e,n,t){Promise.resolve().then(t.t.bind(t,76054,23)),Promise.resolve().then(t.t.bind(t,41729,23)),Promise.resolve().then(t.t.bind(t,81443,23)),Promise.resolve().then(t.t.bind(t,36384,23)),Promise.resolve().then(t.t.bind(t,18639,23)),Promise.resolve().then(t.t.bind(t,65146,23))}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[2971,7864],function(){return n(23123),n(49989)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1744],{21850:function(e,n,t){Promise.resolve().then(t.t.bind(t,76054,23)),Promise.resolve().then(t.t.bind(t,41729,23)),Promise.resolve().then(t.t.bind(t,81443,23)),Promise.resolve().then(t.t.bind(t,36384,23)),Promise.resolve().then(t.t.bind(t,18639,23)),Promise.resolve().then(t.t.bind(t,65146,23))}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[2971,7864],function(){return n(23123),n(21850)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/main-29ed8140d790964e.js b/ee/tabby-webserver/ui/_next/static/chunks/main-fbadab3d66b348b2.js similarity index 99% rename from ee/tabby-webserver/ui/_next/static/chunks/main-29ed8140d790964e.js rename to ee/tabby-webserver/ui/_next/static/chunks/main-fbadab3d66b348b2.js index 8a789b9c5ead..7e44a409f33d 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/main-29ed8140d790964e.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/main-fbadab3d66b348b2.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},55341:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(60471),o=r(70464);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(70464);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,o="";if(n){let{children:e}=n.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),l=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-l.length+s.length).toString()},("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)},10752:function(e,t,r){"use strict";let n,o,a,i,l,u,s,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(61757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return q},router:function(){return n},emitter:function(){return G},initialize:function(){return Y},hydrate:function(){return ec}});let _=r(38754);r(40037);let g=_._(r(67294)),y=_._(r(20745)),b=r(87760),v=_._(r(92421)),P=r(71625),E=r(41286),S=r(33489),O=r(90716),w=r(90854),j=r(27921),R=r(18173),T=_._(r(45770)),M=_._(r(19321)),A=_._(r(82280)),C=r(56076),I=r(42338),x=r(80676),L=r(17010),N=r(17635),D=r(88017),k=r(41855),F=r(3111),U=r(37968),B=_._(r(92646)),H=_._(r(80872)),W=_._(r(30749)),q="13.5.3",G=(0,v.default)(),z=e=>[].slice.call(e),V=!1;class X extends g.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,S.isDynamicRoute)(n.pathname)||location.search||V)||o.props&&o.props.__N_SSG&&(location.search||V))&&n.replace(n.pathname+"?"+String((0,O.assign)((0,O.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!V}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function Y(e){void 0===e&&(e={}),H.default.onSpanEnd(W.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,w.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,j.getURL)(),(0,D.hasBasePath)(a)&&(a=(0,N.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(39220);e(o.scriptLoader)}i=new M.default(o.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(u=(0,T.default)()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:t}}function $(e,t){return g.default.createElement(e,t)}function K(e){var t;let{children:r}=e,o=g.default.useMemo(()=>(0,F.adaptForAppRouterInstance)(n),[]);return g.default.createElement(X,{fn:e=>Q({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e))},g.default.createElement(k.AppRouterContext.Provider,{value:o},g.default.createElement(U.SearchParamsContext.Provider,{value:(0,F.adaptForSearchParams)(n)},g.default.createElement(F.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},g.default.createElement(U.PathParamsContext.Provider,{value:(0,F.adaptForPathParams)(n)},g.default.createElement(P.RouterContext.Provider,{value:(0,I.makePublicRouterInstance)(n)},g.default.createElement(b.HeadManagerContext.Provider,{value:u},g.default.createElement(L.ImageConfigContext.Provider,{value:{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:!0}},r))))))))}let J=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return g.default.createElement(K,null,$(e,r))};function Q(e){let{App:t,err:l}=e;return console.error(l),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==s?void 0:s.Component)===o?Promise.resolve().then(()=>m._(r(92534))).then(n=>Promise.resolve().then(()=>m._(r(2840))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:u,styleSheets:s}=r,c=J(t),f={Component:u,AppTree:c,router:n,ctx:{err:l,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,j.loadGetInitialProps)(t,f)).then(t=>eu({...e,err:l,Component:u,styleSheets:s,props:t}))})}function Z(e){let{callback:t}=e;return g.default.useLayoutEffect(()=>t(),[t]),null}let ee={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},et={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},er=null,en=!0;function eo(){[ee.beforeRender,ee.afterHydrate,ee.afterRender,ee.routeChange].forEach(e=>performance.clearMarks(e))}function ea(){if(!j.ST)return;performance.mark(ee.afterHydrate);let e=performance.getEntriesByName(ee.beforeRender,"mark").length;e&&(performance.measure(et.beforeHydration,ee.navigationStart,ee.beforeRender),performance.measure(et.hydration,ee.beforeRender,ee.afterHydrate)),d&&performance.getEntriesByName(et.hydration).forEach(d),eo()}function ei(){if(!j.ST)return;performance.mark(ee.afterRender);let e=performance.getEntriesByName(ee.routeChange,"mark");if(!e.length)return;let t=performance.getEntriesByName(ee.beforeRender,"mark").length;t&&(performance.measure(et.routeChangeToRender,e[0].name,ee.beforeRender),performance.measure(et.render,ee.beforeRender,ee.afterRender),d&&(performance.getEntriesByName(et.render).forEach(d),performance.getEntriesByName(et.routeChangeToRender).forEach(d))),eo(),[et.routeChangeToRender,et.render].forEach(e=>performance.clearMeasures(e))}function el(e){let{callbacks:t,children:r}=e;return g.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),g.default.useEffect(()=>{(0,A.default)(d)},[]),r}function eu(e){let t,{App:r,Component:o,props:a,err:i}=e,u="initial"in e?void 0:e.styleSheets;o=o||s.Component,a=a||s.props;let f={...a,Component:o,err:i,router:n};s=f;let d=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!u)return;let e=z(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");u.forEach(e=>{let{href:r,text:o}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let m=g.default.createElement(g.default.Fragment,null,g.default.createElement(Z,{callback:function(){if(u&&!d){let e=new Set(u.map(e=>e.href)),t=z(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),z(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,E.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),g.default.createElement(K,null,$(r,f),g.default.createElement(R.Portal,{type:"next-route-announcer"},g.default.createElement(C.RouteAnnouncer,null))));return!function(e,t){j.ST&&performance.mark(ee.beforeRender);let r=t(en?ea:ei);if(er){let e=g.default.startTransition;e(()=>{er.render(r)})}else er=y.default.hydrateRoot(e,r,{onRecoverableError:B.default}),en=!1}(l,e=>g.default.createElement(el,{callbacks:[e,h]},g.default.createElement(g.default.StrictMode,null,m))),p}async function es(e){if(e.err){await Q(e);return}try{await eu(e)}catch(r){let t=(0,x.getProperError)(r);if(t.cancelled)throw t;await Q({...e,err:t})}}async function ec(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:l,entryType:u,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:o,startTime:a||t,value:null==i?l:i,label:"mark"===u||"measure"===u?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,x.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,I.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:J,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>es(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),V=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:o.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),es(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(82820);let n=r(10752);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("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)},70464:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(94416),o=r(29275),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+a};("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)},92646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(33625);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};e.digest!==n.NEXT_DYNAMIC_NO_SSR_CODE&&t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19321:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(38754),o=r(55341),a=r(97524),i=n._(r(49541)),l=r(66956),u=r(33489),s=r(40834),c=r(94416),f=r(93645);r(74191);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(r),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,l.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,u.isDynamicRoute)(m)?(0,a.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("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)},82280:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function i(e){n&&n(e)}let l=e=>{if(n=e,!a)for(let e of(a=!0,o))try{let t;t||(t=r(78018)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("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)},18173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(67294),o=r(73935),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):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)},17635:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(88017),("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)},66715:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(29275),("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)},33558:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69059:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(90716),o=r(23337),a=r(88831),i=r(27921),l=r(70464),u=r(91651),s=r(14676),c=r(97524);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d,m=h.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,l)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}("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)},56076:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(38754),o=n._(r(67294)),a=r(42338),i={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,a.useRouter)(),[t,r]=o.default.useState(""),n=o.default.useRef(e);return o.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),o=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(o||e)}}},[e]),o.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:i},t)},u=l;("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)},93645:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return l},isAssetError:function(){return u},getClientBuildManifest:function(){return d},createRouteLoader:function(){return h}}),r(38754),r(49541);let n=r(80883),o=r(33558);function a(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let i=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,i,{})}function u(e){return e&&i in e}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),c=()=>"";function f(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function d(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return f(e,3800,l(Error("Failed to load client build manifest")))}function p(e,t){return d().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+c()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+c())}})}function h(e){let t=new Map,r=new Map,n=new Map,i=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function c(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>a(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,n){return a(r,i,()=>{let o;return f(p(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(o.map(c))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():p(e,t).then(e=>Promise.all(s?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{let a='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(a))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},42338:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},default:function(){return p},withRouter:function(){return u.default},useRouter:function(){return h},createRouter:function(){return m},makePublicRouterInstance:function(){return _}});let n=r(38754),o=n._(r(67294)),a=n._(r(95008)),i=r(71625),l=n._(r(80676)),u=n._(r(16441)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get(){let t=d();return t[e]}})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{if(a.default.preinit){e.forEach(e=>{a.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:l="afterInteractive",onError:s,stylesheets:h}=e,m=r||t;if(m&&f.has(m))return;if(c.has(t)){f.add(m),c.get(t).then(n,s);return}let _=()=>{o&&o(),f.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(g.src=t,c.set(t,y)),Object.entries(e))){if(void 0===n||d.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),h&&p(h),document.body.appendChild(g)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))}):h(e)}function _(e){e.forEach(m),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}()}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:u="afterInteractive",onError:c,stylesheets:d,...p}=e,{updateScripts:m,scripts:_,getIsSsr:g,appDir:y,nonce:b}=(0,i.useContext)(l.HeadManagerContext),v=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=t||r;v.current||(o&&e&&f.has(e)&&o(),v.current=!0)},[o,t,r]);let P=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{!P.current&&("afterInteractive"===u?h(e):"lazyOnload"===u&&("complete"===document.readyState?(0,s.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))})),P.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(m?(_[u]=(_[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:c,...p}]),m(_)):g&&g()?f.add(t||r):g&&!g()&&h(e)),y){if(d&&d.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(a.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"}),i.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),i.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p}])+")"}}));"afterInteractive"===u&&r&&a.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("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)},30749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(83311);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("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)},80872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(38754),o=n._(r(92421));class a{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}let i=new class{startSpan(e,t){return new a(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,o.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80883:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("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)},82820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=e=>t=>e(t)+"",o=r.u;r.u=n(o);let a=r.k;r.k=n(a);let i=r.miniCssF;r.miniCssF=n(i),self.__next_require__=r,self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16441:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(38754),o=n._(r(67294)),a=r(42338);function i(e){function t(t){return o.default.createElement(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("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)},2840:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(38754),o=n._(r(67294)),a=r(27921);async function i(e){let{Component:t,ctx:r}=e,n=await (0,a.loadGetInitialProps)(t,r);return{pageProps:n}}class l extends o.default.Component{render(){let{Component:e,pageProps:t}=this.props;return o.default.createElement(e,t)}}l.origGetInitialProps=i,l.getInitialProps=i,("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)},92534:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(38754),o=n._(r(67294)),a=n._(r(96561)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class s extends o.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return o.default.createElement("div",{style:u.error},o.default.createElement(a.default,null,o.default.createElement("title",null,e?e+": "+r:"Application error: a client-side exception has occurred")),o.default.createElement("div",{style:u.desc},o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?o.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,o.default.createElement("div",{style:u.wrap},o.default.createElement("h2",{style:u.h2},this.props.title||e?r:o.default.createElement(o.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}s.displayName="ErrorPage",s.getInitialProps=l,s.origGetInitialProps=l,("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)},86505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return a}});let n=r(38754),o=n._(r(67294)),a=o.default.createContext({})},88801:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},41855:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CacheStates:function(){return n},AppRouterContext:function(){return l},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return s},TemplateContext:function(){return c}});let a=r(38754),i=a._(r(67294));(o=n||(n={})).LAZY_INITIALIZED="LAZYINITIALIZED",o.DATA_FETCH="DATAFETCH",o.READY="READY";let l=i.default.createContext(null),u=i.default.createContext(null),s=i.default.createContext(null),c=i.default.createContext(null)},5376:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=.01);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){let e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){let t=this.getHashValues(e);t.forEach(e=>{this.bitArray[e]=1})}contains(e){let t=this.getHashValues(e);return t.every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477)}return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},74191:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MODERN_BROWSERSLIST_TARGET:function(){return o.default},COMPILER_NAMES:function(){return a},INTERNAL_HEADERS:function(){return i},COMPILER_INDEXES:function(){return l},PHASE_EXPORT:function(){return u},PHASE_PRODUCTION_BUILD:function(){return s},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_DEVELOPMENT_SERVER:function(){return f},PHASE_TEST:function(){return d},PHASE_INFO:function(){return p},PAGES_MANIFEST:function(){return h},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return _},BUILD_MANIFEST:function(){return g},APP_BUILD_MANIFEST:function(){return y},FUNCTIONS_CONFIG_MANIFEST:function(){return b},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return v},NEXT_FONT_MANIFEST:function(){return P},EXPORT_MARKER:function(){return E},EXPORT_DETAIL:function(){return S},PRERENDER_MANIFEST:function(){return O},ROUTES_MANIFEST:function(){return w},IMAGES_MANIFEST:function(){return j},SERVER_FILES_MANIFEST:function(){return R},DEV_CLIENT_PAGES_MANIFEST:function(){return T},MIDDLEWARE_MANIFEST:function(){return M},DEV_MIDDLEWARE_MANIFEST:function(){return A},REACT_LOADABLE_MANIFEST:function(){return C},FONT_MANIFEST:function(){return I},SERVER_DIRECTORY:function(){return x},CONFIG_FILES:function(){return L},BUILD_ID_FILE:function(){return N},BLOCKED_PAGES:function(){return D},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_STATIC_FILES_PATH:function(){return F},STRING_LITERAL_DROP_BUNDLE:function(){return U},NEXT_BUILTIN_DOCUMENT:function(){return B},CLIENT_REFERENCE_MANIFEST:function(){return H},SERVER_REFERENCE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return q},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return z},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return V},APP_CLIENT_INTERNALS:function(){return X},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return $},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return J},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return Q},EDGE_RUNTIME_WEBPACK:function(){return Z},TEMPORARY_REDIRECT_STATUS:function(){return ee},PERMANENT_REDIRECT_STATUS:function(){return et},STATIC_PROPS_ID:function(){return er},SERVER_PROPS_ID:function(){return en},PAGE_SEGMENT_KEY:function(){return eo},GOOGLE_FONT_PROVIDER:function(){return ea},OPTIMIZED_FONT_PROVIDERS:function(){return ei},DEFAULT_SERIF_FONT:function(){return el},DEFAULT_SANS_SERIF_FONT:function(){return eu},STATIC_STATUS_PAGES:function(){return es},TRACE_OUTPUT_VERSION:function(){return ec},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},RSC_MODULE_TYPES:function(){return ed},EDGE_UNSUPPORTED_NODE_APIS:function(){return ep},SYSTEM_ENTRYPOINTS:function(){return eh}});let n=r(38754),o=n._(r(7708)),a={client:"client",server:"server",edgeServer:"edge-server"},i=["x-invoke-path","x-invoke-status","x-invoke-error","x-invoke-query","x-middleware-invoke"],l={[a.client]:0,[a.server]:1,[a.edgeServer]:2},u="phase-export",s="phase-production-build",c="phase-production-server",f="phase-development-server",d="phase-test",p="phase-info",h="pages-manifest.json",m="app-paths-manifest.json",_="app-path-routes-manifest.json",g="build-manifest.json",y="app-build-manifest.json",b="functions-config-manifest.json",v="subresource-integrity-manifest",P="next-font-manifest",E="export-marker.json",S="export-detail.json",O="prerender-manifest.json",w="routes-manifest.json",j="images-manifest.json",R="required-server-files.json",T="_devPagesManifest.json",M="middleware-manifest.json",A="_devMiddlewareManifest.json",C="react-loadable-manifest.json",I="font-manifest.json",x="server",L=["next.config.js","next.config.mjs"],N="BUILD_ID",D=["/_document","/_app","/_error"],k="public",F="static",U="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",H="client-reference-manifest",W="server-reference-manifest",q="middleware-build-manifest",G="middleware-react-loadable-manifest",z="main",V=""+z+"-app",X="app-pages-internals",Y="react-refresh",$="amp",K="webpack",J="polyfills",Q=Symbol(J),Z="edge-runtime-webpack",ee=307,et=308,er="__N_SSG",en="__N_SSP",eo="__PAGE__",ea="https://fonts.googleapis.com/",ei=[{url:ea,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],el={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},eu={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},es=["/500"],ec=1,ef=6e3,ed={client:"client",server:"server"},ep=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eh=new Set([z,Y,$,V]);("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)},11698:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},87760:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return a}});let n=r(38754),o=n._(r(67294)),a=o.default.createContext({})},96561:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return c},default:function(){return h}});let n=r(38754),o=r(61757),a=o._(r(67294)),i=n._(r(59737)),l=r(86505),u=r(87760),s=r(88801);function c(e){void 0===e&&(e=!1);let t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(78565);let d=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=d.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,r=(0,a.useContext)(l.AmpStateContext),n=(0,a.useContext)(u.HeadManagerContext);return a.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,s.isInAmpMode)(r)},t)};("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)},37968:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return a},PathParamsContext:function(){return i}});let n=r(67294),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},58264:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},17010:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(38754),o=n._(r(67294)),a=r(75764),i=o.default.createContext(a.imageConfigDefault)},75764:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},20972:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},33625:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return r}});let r="NEXT_DYNAMIC_NO_SSR_CODE"},92421:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},7708:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},50064:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(14676),o=r(39267);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},9341:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},39267:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},71625:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return a}});let n=r(38754),o=n._(r(67294)),a=o.default.createContext(null)},3111:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return s},adaptForSearchParams:function(){return c},adaptForPathParams:function(){return f},PathnameContextProviderAdapter:function(){return d}});let n=r(61757),o=n._(r(67294)),a=r(37968),i=r(14676),l=r(87701),u=r(35174);function s(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function c(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function f(e){if(!e.isReady||!e.query)return null;let t={},r=(0,u.getRouteRegex)(e.pathname),n=Object.keys(r.groups);for(let r of n)t[r]=e.query[r];return t}function d(e){let{children:t,router:r,...n}=e,l=(0,o.useRef)(n.isAutoExport),u=(0,o.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,i.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return o.default.createElement(a.PathnameContext.Provider,{value:u},t)}},95008:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return V},matchesMiddleware:function(){return N},createKey:function(){return q}});let n=r(38754),o=r(61757),a=r(94416),i=r(93645),l=r(39220),u=o._(r(80676)),s=r(50064),c=r(58264),f=n._(r(92421)),d=r(27921),p=r(33489),h=r(40834);r(72431);let m=r(45895),_=r(35174),g=r(23337);r(24392);let y=r(29275),b=r(66956),v=r(66715),P=r(17635),E=r(55341),S=r(88017),O=r(69059),w=r(79423),j=r(83670),R=r(10419),T=r(28985),M=r(91651),A=r(96320),C=r(88831),I=r(97524),x=r(41286);function L(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,o=(0,E.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function k(e,t,r){let[n,o]=(0,O.resolveHref)(e,t,!0),a=(0,d.getLocationOrigin)(),i=n.startsWith(a),l=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let u=i?n:(0,E.addBasePath)(n),s=r?D((0,O.resolveHref)(e,r)):o||n;return{url:u,as:l?s:(0,E.addBasePath)(s)}}function F(e,t){let r=(0,a.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function U(e){let t=await N(e);if(!t||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),l=o||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=(0,h.parseRelativeUrl)(l),u=(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,a.removeTrailingSlash)(u.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:l}]=a,f=(0,b.addLocale)(u.pathname,u.locale);if((0,p.isDynamicRoute)(f)||!o&&i.includes((0,c.normalizeLocalePath)((0,P.removeBasePath)(f),r.router.locales).pathname)){let r=(0,j.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,E.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=F(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:F((0,c.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e),u=(0,R.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+u+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,y.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let B=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:o,hasMiddleware:a,isServerRender:l,parseJSON:u,persistCache:s,isBackground:c,unstable_skipClientCache:f}=e,{href:d}=new URL(r,window.location.href),p=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(r,l?3:1,{headers:Object.assign({},o?{purpose:"prefetch"}:{},o&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:B},response:t,text:e,cacheKey:d}}let o=Error("Failed to load static props");throw l||(0,i.markAssetError)(o),o}return{dataHref:r,json:u?H(e):null,response:t,text:e,cacheKey:d}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw f||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return f&&s?p({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=p(c?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function G(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let z=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let u=!1,s=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,E.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,i,l;for(let e of(u=u||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,o){var s,c,f,O,w,j,R,A,x;let D,U;if(!(0,M.isLocalURL)(t))return G({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,q={...this.state},z=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=q.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:K=!0}=n,J={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",L(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,v.removeLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,q.locale);this._inFlightRoute=r;let Z=Y!==q.locale;if(!H&&this.onlyAHashChange(Q)&&!Z){q.asPath=Q,V.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),K&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(e){throw(0,u.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return V.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;if(null==(s=this.components[et])?void 0:s.__appRouter)return G({url:r,router:this}),new Promise(()=>{});try{[D,{__rewrites:U}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return G({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,P.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname,ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(eo))(ea))),el=!n.shallow&&await N({asPath:r,locale:q.locale,router:this});if(H&&el&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=F(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),el||(t=(0,g.formatWithValidation)(ee)))),!(0,M.isLocalURL)(r))return G({url:r,router:this}),!1;en=(0,v.removeLocale)((0,P.removeBasePath)(en),q.locale),eo=(0,a.removeTrailingSlash)(et);let eu=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,_.getRouteRegex)(eo);eu=(0,m.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,I.interpolateAs)(eo,n,er):{};if(eu&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,C.omit)(er,i.params)})):Object.assign(er,eu);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!el)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,J);let es="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:el,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&el){eo=et=a.route||eo,J.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,P.removeBasePath)(ee.pathname):ee.pathname;if(eu&&et!==e&&Object.keys(eu).forEach(e=>{eu&&er[e]===eu[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,q.locale),!0),t=e;(0,S.hasBasePath)(t)&&(t=(0,P.removeBasePath)(t));let n=(0,_.getRouteRegex)(et),o=(0,m.getRouteMatcher)(n)(new URL(t,location.href).pathname);o&&Object.assign(er,o)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return G({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader){let e=[].concat(i.unstable_scriptLoader());e.forEach(e=>{(0,l.handleClientScriptLoad)(e.props)})}if((a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=F(r.pathname,D);let{url:o,as:a}=k(this,t,t);return this.change(e,o,a,n)}return G({url:t,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(f=self.__NEXT_DATA__.props)?void 0:null==(c=f.pageProps)?void 0:c.statusCode)===500&&(null==(O=a.props)?void 0:O.pageProps)&&(a.props.pageProps.statusCode=500);let s=n.shallow&&q.route===(null!=(w=a.route)?w:eo),d=null!=(j=n.scroll)?j:!H&&!s,g=null!=o?o:d?{x:0,y:0}:null,y={...q,route:eo,pathname:et,query:er,asPath:Q,isFallback:!1};if(H&&es){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(A=self.__NEXT_DATA__.props)?void 0:null==(R=A.pageProps)?void 0:R.statusCode)===500&&(null==(x=a.props)?void 0:x.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,u.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return!0}V.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n);let v=H&&!g&&!z&&!Z&&(0,T.compareRouterStates)(y,this.state);if(!v){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,Q,J),a.error;H||V.events.emit("routeChangeComplete",r,J),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,u.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),G({url:n,router:this}),L();try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,u.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:l,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,v,E,S;let e=z({route:y,router:this}),t=this.components[y];if(l.shallow&&t&&this.route===y)return t;f&&(t=void 0);let u=!t||"initial"in t?void 0:t,O={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},j=h&&!m?null:await U({fetchData:()=>W(O),asPath:_?"/404":i,locale:s,router:this}).catch(e=>{if(h)return null;throw e});if(j&&("/_error"===r||"/404"===r)&&(j.effect=void 0),h&&(j?j.json=self.__NEXT_DATA__.props:j={json:self.__NEXT_DATA__.props}),e(),(null==j?void 0:null==(b=j.effect)?void 0:b.type)==="redirect-internal"||(null==j?void 0:null==(v=j.effect)?void 0:v.type)==="redirect-external")return j.effect;if((null==j?void 0:null==(E=j.effect)?void 0:E.type)==="rewrite"){let e=(0,a.removeTrailingSlash)(j.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(e))&&(y=e,r=j.effect.resolvedHref,n={...n,...j.effect.parsedAs.query},i=(0,P.removeBasePath)((0,c.normalizeLocalePath)(j.effect.parsedAs.pathname,this.locales).pathname),t=this.components[y],l.shallow&&t&&this.route===y&&!f))return{...t,route:y}}if((0,w.isAPIRoute)(y))return G({url:o,router:this}),new Promise(()=>{});let R=u||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==j?void 0:null==(S=j.response)?void 0:S.headers.get("x-middleware-skip"),M=R.__N_SSG||R.__N_SSP;T&&(null==j?void 0:j.dataHref)&&delete this.sdc[j.dataHref];let{props:A,cacheKey:C}=await this._getData(async()=>{if(M){if((null==j?void 0:j.json)&&!T)return{cacheKey:j.cacheKey,props:j.json};let e=(null==j?void 0:j.dataHref)?j.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:o,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&O.dataHref&&C&&delete this.sdc[C],this.isPreview||!R.__N_SSG||h||W(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),A.pageProps=Object.assign({},A.pageProps),R.props=A,R.route=y,R.query=n,R.resolvedAs=i,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,u.getProperError)(e),r,n,o,l)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,o]=e.split("#");return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#");(0,x.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,A.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:l}=n,u=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=F(n.pathname,s),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(l,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,g.formatWithValidation)(n)));let b=await U({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:u,query:l}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,l={...l,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let v=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(v).then(t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](v)])}async fetchComponent(e){let t=z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:o,pageLoader:i,App:l,wrapApp:u,Component:s,err:c,subscription:f,isFallback:m,locale:_,locales:y,defaultLocale:b,domainLocales:v,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:l}=n;this._key=l;let{pathname:u}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||u!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]};{let{BloomFilter:e}=r(5376),t={numItems:9,errorRate:.01,numBits:87,numHashes:7,bitArray:[1,1,1,1,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,1,1,0,1,1,0,0,1,0,1,1,0,1,0,0,0,1,1,0,0,1,0,0,1,1,1,0,0,0,1,0,1,1,1,0,0,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,1,1,1,1,1,1,0,1,0,1,0,1,1,0,1]},n={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let O=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=u,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!O&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:O?e:n,isPreview:!!P,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},o=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:_,asPath:o}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),o,r),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},26634:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(60471),o=r(21613);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},60471:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(29275);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},67938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(29275);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},22222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscPath:function(){return i}});let n=r(9341),o=r(56500);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},87701:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},28985:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},10419:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let n=r(94416),o=r(60471),a=r(67938),i=r(26634);function l(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},23337:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return i},urlObjectKeys:function(){return l},formatWithValidation:function(){return u}});let n=r(61757),o=n._(r(90716)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(o.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+n+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},49541:function(e,t){"use strict";function r(e,t){void 0===t&&(t="");let r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e;return r+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},83670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(58264),o=r(44679),a=r(21613);function i(e,t){var r,i;let{basePath:l,i18n:u,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};l&&(0,a.pathHasPrefix)(c.pathname,l)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,l),c.basePath=l);let f=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,f="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=f)}if(u){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,u.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(f):(0,n.normalizeLocalePath)(f,u.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},41286:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},14676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(85651),o=r(33489)},97524:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(45895),o=r(35174);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),l=i.groups,u=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let s=Object.keys(l);return s.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=l[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},96320:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},33489:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},91651:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(27921),o=r(88017);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},88831:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},29275:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},40834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(27921),o=r(90716);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:u,hash:s,href:c,origin:f}=new URL(e,a);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,o.searchParamsToUrlQuery)(l),search:u,hash:s,href:c.slice(r.origin.length)}}},21613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(29275);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},90716:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o},assign:function(){return a}})},44679:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(21613);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},94416:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},45895:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(27921);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},35174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});let n=r(92407),o=r(11698),a=r(94416);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},l=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:u}=i(a[1]);return r[e]={pos:l++,repeat:u,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(a[1]);return r[e]={pos:l++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e){let{getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:o}=e,{key:a,optional:l,repeat:u}=i(r),s=a.replace(/\W/g,"");o&&(s=""+o+s);let c=!1;return(0===s.length||s.length>30)&&(c=!0),isNaN(parseInt(s.slice(0,1)))||(c=!0),c&&(s=t()),o?n[s]=""+o+a:n[s]=""+a,u?l?"(?:/(?<"+s+">.+?))?":"/(?<"+s+">.+?)":"/(?<"+s+">[^/]+?)"}function c(e,t){let r;let i=(0,a.removeTrailingSlash)(e).slice(1).split("/"),l=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:i.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);return r&&a?s({getSafeRouteKey:l,segment:a[1],routeKeys:u,keyPrefix:t?"nxtI":void 0}):a?s({getSafeRouteKey:l,segment:a[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function f(e,t){let r=c(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},85651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},90854:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},56500:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isGroupSegment",{enumerable:!0,get:function(){return r}})},59737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(61757),o=n._(r(67294)),a=o.useLayoutEffect,i=o.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let n=o.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}return a(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},27921:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return a},getLocationOrigin:function(){return i},getURL:function(){return l},getDisplayName:function(){return u},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return p},DecodeError:function(){return h},NormalizeError:function(){return m},PageNotFoundError:function(){return _},MissingStaticPage:function(){return g},MiddlewareNotFoundError:function(){return y},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=i();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n){let t='"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},78565:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},78018:function(e){var t,r,n,o,a,i,l,u,s,c,f,d,p,h,m,_,g,y,b,v,P,E,S,O,w,j,R,T,M,A,C,I,x,L,N,D,k,F,U,B,H,W,q,G,z,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return v},getFID:function(){return A},getINP:function(){return W},getLCP:function(){return G},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return v},onFID:function(){return A},onINP:function(){return W},onLCP:function(){return G},onTTFB:function(){return V}}),u=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(u=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return u>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var o,a;return function(i){var l;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(l=t.value)>r[1]?"poor":l>r[0]?"needs-improvement":"good",e(t))}},_=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){h(function(e){_=e.timeStamp},!0)},b=function(){return _<0&&(_=g(),y(),s(function(){setTimeout(function(){_=g(),y()},0)})),{get firstHiddenTime(){return _}}},v=function(e,t){t=t||{};var r,n=[1800,3e3],o=b(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime-1&&e(t)},a=d("CLS",0),i=0,l=[],u=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=l[0],r=l[l.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,l.push(e)):(i=e.value,l=[e]),i>a.value&&(a.value=i,a.entries=l,n())}})},c=p("layout-shift",u);c&&(n=m(o,a,r,t.reportAllChanges),h(function(){u(c.takeRecords()),n(!0)}),s(function(){i=0,E=-1,n=m(o,a=d("CLS",0),r,t.reportAllChanges)}))},O={passive:!0,capture:!0},w=new Date,j=function(e,t){n||(n=t,o=e,a=new Date,M(removeEventListener),R())},R=function(){if(o>=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){j(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,O),removeEventListener("pointercancel",r,O)},addEventListener("pointerup",t,O),addEventListener("pointercancel",r,O)):j(o,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,O)})},A=function(e,t){t=t||{};var r,a=[100,300],l=b(),u=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};B[n.id]=n,U.push(n)}U.sort(function(e,t){return t.latency-e.latency}),U.splice(10).forEach(function(e){delete B[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];D();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||U.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=(t=Math.min(U.length-1,Math.floor(F()/50)),U[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=m(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&F()>0&&(o.value=0,o.entries=[]),n(!0)}),s(function(){U=[],k=N(),n=m(e,o=d("INP"),r,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var r,n=[2500,4e3],o=b(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[a],o(!0),s(function(){(o=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},79423:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},80676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(20972);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},92407:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return a},extractInterceptionRouteInformation:function(){return i}});let n=r(22222),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},72431:function(){},38754:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},61757:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}},function(e){e.O(0,[9774],function(){return e(e.s=99525)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]})},55341:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(60471),o=r(70464);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(70464);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,o="";if(n){let{children:e}=n.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),l=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-l.length+s.length).toString()},("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)},10752:function(e,t,r){"use strict";let n,o,a,i,l,u,s,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(61757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return q},router:function(){return n},emitter:function(){return G},initialize:function(){return Y},hydrate:function(){return ec}});let _=r(38754);r(40037);let g=_._(r(67294)),y=_._(r(20745)),b=r(87760),v=_._(r(92421)),P=r(71625),E=r(41286),S=r(33489),O=r(90716),w=r(90854),j=r(27921),R=r(18173),T=_._(r(45770)),M=_._(r(19321)),A=_._(r(82280)),C=r(56076),I=r(42338),x=r(80676),L=r(17010),N=r(17635),D=r(88017),k=r(41855),F=r(3111),U=r(37968),B=_._(r(92646)),H=_._(r(80872)),W=_._(r(30749)),q="13.5.3",G=(0,v.default)(),z=e=>[].slice.call(e),V=!1;class X extends g.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,S.isDynamicRoute)(n.pathname)||location.search||V)||o.props&&o.props.__N_SSG&&(location.search||V))&&n.replace(n.pathname+"?"+String((0,O.assign)((0,O.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!V}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function Y(e){void 0===e&&(e={}),H.default.onSpanEnd(W.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,w.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,j.getURL)(),(0,D.hasBasePath)(a)&&(a=(0,N.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(39220);e(o.scriptLoader)}i=new M.default(o.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(u=(0,T.default)()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:t}}function $(e,t){return g.default.createElement(e,t)}function K(e){var t;let{children:r}=e,o=g.default.useMemo(()=>(0,F.adaptForAppRouterInstance)(n),[]);return g.default.createElement(X,{fn:e=>Q({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e))},g.default.createElement(k.AppRouterContext.Provider,{value:o},g.default.createElement(U.SearchParamsContext.Provider,{value:(0,F.adaptForSearchParams)(n)},g.default.createElement(F.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},g.default.createElement(U.PathParamsContext.Provider,{value:(0,F.adaptForPathParams)(n)},g.default.createElement(P.RouterContext.Provider,{value:(0,I.makePublicRouterInstance)(n)},g.default.createElement(b.HeadManagerContext.Provider,{value:u},g.default.createElement(L.ImageConfigContext.Provider,{value:{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:!0}},r))))))))}let J=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return g.default.createElement(K,null,$(e,r))};function Q(e){let{App:t,err:l}=e;return console.error(l),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==s?void 0:s.Component)===o?Promise.resolve().then(()=>m._(r(92534))).then(n=>Promise.resolve().then(()=>m._(r(2840))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:u,styleSheets:s}=r,c=J(t),f={Component:u,AppTree:c,router:n,ctx:{err:l,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,j.loadGetInitialProps)(t,f)).then(t=>eu({...e,err:l,Component:u,styleSheets:s,props:t}))})}function Z(e){let{callback:t}=e;return g.default.useLayoutEffect(()=>t(),[t]),null}let ee={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},et={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},er=null,en=!0;function eo(){[ee.beforeRender,ee.afterHydrate,ee.afterRender,ee.routeChange].forEach(e=>performance.clearMarks(e))}function ea(){if(!j.ST)return;performance.mark(ee.afterHydrate);let e=performance.getEntriesByName(ee.beforeRender,"mark").length;e&&(performance.measure(et.beforeHydration,ee.navigationStart,ee.beforeRender),performance.measure(et.hydration,ee.beforeRender,ee.afterHydrate)),d&&performance.getEntriesByName(et.hydration).forEach(d),eo()}function ei(){if(!j.ST)return;performance.mark(ee.afterRender);let e=performance.getEntriesByName(ee.routeChange,"mark");if(!e.length)return;let t=performance.getEntriesByName(ee.beforeRender,"mark").length;t&&(performance.measure(et.routeChangeToRender,e[0].name,ee.beforeRender),performance.measure(et.render,ee.beforeRender,ee.afterRender),d&&(performance.getEntriesByName(et.render).forEach(d),performance.getEntriesByName(et.routeChangeToRender).forEach(d))),eo(),[et.routeChangeToRender,et.render].forEach(e=>performance.clearMeasures(e))}function el(e){let{callbacks:t,children:r}=e;return g.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),g.default.useEffect(()=>{(0,A.default)(d)},[]),r}function eu(e){let t,{App:r,Component:o,props:a,err:i}=e,u="initial"in e?void 0:e.styleSheets;o=o||s.Component,a=a||s.props;let f={...a,Component:o,err:i,router:n};s=f;let d=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!u)return;let e=z(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");u.forEach(e=>{let{href:r,text:o}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let m=g.default.createElement(g.default.Fragment,null,g.default.createElement(Z,{callback:function(){if(u&&!d){let e=new Set(u.map(e=>e.href)),t=z(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),z(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,E.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),g.default.createElement(K,null,$(r,f),g.default.createElement(R.Portal,{type:"next-route-announcer"},g.default.createElement(C.RouteAnnouncer,null))));return!function(e,t){j.ST&&performance.mark(ee.beforeRender);let r=t(en?ea:ei);if(er){let e=g.default.startTransition;e(()=>{er.render(r)})}else er=y.default.hydrateRoot(e,r,{onRecoverableError:B.default}),en=!1}(l,e=>g.default.createElement(el,{callbacks:[e,h]},g.default.createElement(g.default.StrictMode,null,m))),p}async function es(e){if(e.err){await Q(e);return}try{await eu(e)}catch(r){let t=(0,x.getProperError)(r);if(t.cancelled)throw t;await Q({...e,err:t})}}async function ec(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:l,entryType:u,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:o,startTime:a||t,value:null==i?l:i,label:"mark"===u||"measure"===u?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,x.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,I.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:J,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>es(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),V=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:o.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),es(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(82820);let n=r(10752);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("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)},70464:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(94416),o=r(29275),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+a};("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)},92646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(33625);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};e.digest!==n.NEXT_DYNAMIC_NO_SSR_CODE&&t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19321:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(38754),o=r(55341),a=r(97524),i=n._(r(49541)),l=r(66956),u=r(33489),s=r(40834),c=r(94416),f=r(93645);r(74191);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(r),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,l.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,u.isDynamicRoute)(m)?(0,a.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("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)},82280:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function i(e){n&&n(e)}let l=e=>{if(n=e,!a)for(let e of(a=!0,o))try{let t;t||(t=r(78018)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("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)},18173:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(67294),o=r(73935),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):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)},17635:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(88017),("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)},66715:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(29275),("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)},33558:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69059:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(90716),o=r(23337),a=r(88831),i=r(27921),l=r(70464),u=r(91651),s=r(14676),c=r(97524);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d,m=h.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,l)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}("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)},56076:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(38754),o=n._(r(67294)),a=r(42338),i={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,a.useRouter)(),[t,r]=o.default.useState(""),n=o.default.useRef(e);return o.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),o=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(o||e)}}},[e]),o.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:i},t)},u=l;("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)},93645:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return l},isAssetError:function(){return u},getClientBuildManifest:function(){return d},createRouteLoader:function(){return h}}),r(38754),r(49541);let n=r(80883),o=r(33558);function a(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let i=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,i,{})}function u(e){return e&&i in e}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),c=()=>"";function f(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function d(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return f(e,3800,l(Error("Failed to load client build manifest")))}function p(e,t){return d().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+c()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+c())}})}function h(e){let t=new Map,r=new Map,n=new Map,i=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function c(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>a(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,n){return a(r,i,()=>{let o;return f(p(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(o.map(c))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():p(e,t).then(e=>Promise.all(s?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{let a='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(a))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},42338:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},default:function(){return p},withRouter:function(){return u.default},useRouter:function(){return h},createRouter:function(){return m},makePublicRouterInstance:function(){return _}});let n=r(38754),o=n._(r(67294)),a=n._(r(95008)),i=r(71625),l=n._(r(80676)),u=n._(r(16441)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get(){let t=d();return t[e]}})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{if(a.default.preinit){e.forEach(e=>{a.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:l="afterInteractive",onError:s,stylesheets:h}=e,m=r||t;if(m&&f.has(m))return;if(c.has(t)){f.add(m),c.get(t).then(n,s);return}let _=()=>{o&&o(),f.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(g.src=t,c.set(t,y)),Object.entries(e))){if(void 0===n||d.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),h&&p(h),document.body.appendChild(g)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))}):h(e)}function _(e){e.forEach(m),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}()}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:u="afterInteractive",onError:c,stylesheets:d,...p}=e,{updateScripts:m,scripts:_,getIsSsr:g,appDir:y,nonce:b}=(0,i.useContext)(l.HeadManagerContext),v=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=t||r;v.current||(o&&e&&f.has(e)&&o(),v.current=!0)},[o,t,r]);let P=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{!P.current&&("afterInteractive"===u?h(e):"lazyOnload"===u&&("complete"===document.readyState?(0,s.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))})),P.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(m?(_[u]=(_[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:c,...p}]),m(_)):g&&g()?f.add(t||r):g&&!g()&&h(e)),y){if(d&&d.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(a.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"}),i.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),i.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p}])+")"}}));"afterInteractive"===u&&r&&a.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("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)},30749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(83311);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("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)},80872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(38754),o=n._(r(92421));class a{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}let i=new class{startSpan(e,t){return new a(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,o.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80883:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("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)},82820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=e=>t=>e(t)+"",o=r.u;r.u=n(o);let a=r.k;r.k=n(a);let i=r.miniCssF;r.miniCssF=n(i),self.__next_require__=r,self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16441:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(38754),o=n._(r(67294)),a=r(42338);function i(e){function t(t){return o.default.createElement(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("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)},2840:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(38754),o=n._(r(67294)),a=r(27921);async function i(e){let{Component:t,ctx:r}=e,n=await (0,a.loadGetInitialProps)(t,r);return{pageProps:n}}class l extends o.default.Component{render(){let{Component:e,pageProps:t}=this.props;return o.default.createElement(e,t)}}l.origGetInitialProps=i,l.getInitialProps=i,("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)},92534:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(38754),o=n._(r(67294)),a=n._(r(96561)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class s extends o.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return o.default.createElement("div",{style:u.error},o.default.createElement(a.default,null,o.default.createElement("title",null,e?e+": "+r:"Application error: a client-side exception has occurred")),o.default.createElement("div",{style:u.desc},o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?o.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,o.default.createElement("div",{style:u.wrap},o.default.createElement("h2",{style:u.h2},this.props.title||e?r:o.default.createElement(o.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}s.displayName="ErrorPage",s.getInitialProps=l,s.origGetInitialProps=l,("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)},86505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return a}});let n=r(38754),o=n._(r(67294)),a=o.default.createContext({})},88801:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},41855:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CacheStates:function(){return n},AppRouterContext:function(){return l},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return s},TemplateContext:function(){return c}});let a=r(38754),i=a._(r(67294));(o=n||(n={})).LAZY_INITIALIZED="LAZYINITIALIZED",o.DATA_FETCH="DATAFETCH",o.READY="READY";let l=i.default.createContext(null),u=i.default.createContext(null),s=i.default.createContext(null),c=i.default.createContext(null)},5376:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=.01);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){let e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){let t=this.getHashValues(e);t.forEach(e=>{this.bitArray[e]=1})}contains(e){let t=this.getHashValues(e);return t.every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477)}return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},74191:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MODERN_BROWSERSLIST_TARGET:function(){return o.default},COMPILER_NAMES:function(){return a},INTERNAL_HEADERS:function(){return i},COMPILER_INDEXES:function(){return l},PHASE_EXPORT:function(){return u},PHASE_PRODUCTION_BUILD:function(){return s},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_DEVELOPMENT_SERVER:function(){return f},PHASE_TEST:function(){return d},PHASE_INFO:function(){return p},PAGES_MANIFEST:function(){return h},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return _},BUILD_MANIFEST:function(){return g},APP_BUILD_MANIFEST:function(){return y},FUNCTIONS_CONFIG_MANIFEST:function(){return b},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return v},NEXT_FONT_MANIFEST:function(){return P},EXPORT_MARKER:function(){return E},EXPORT_DETAIL:function(){return S},PRERENDER_MANIFEST:function(){return O},ROUTES_MANIFEST:function(){return w},IMAGES_MANIFEST:function(){return j},SERVER_FILES_MANIFEST:function(){return R},DEV_CLIENT_PAGES_MANIFEST:function(){return T},MIDDLEWARE_MANIFEST:function(){return M},DEV_MIDDLEWARE_MANIFEST:function(){return A},REACT_LOADABLE_MANIFEST:function(){return C},FONT_MANIFEST:function(){return I},SERVER_DIRECTORY:function(){return x},CONFIG_FILES:function(){return L},BUILD_ID_FILE:function(){return N},BLOCKED_PAGES:function(){return D},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_STATIC_FILES_PATH:function(){return F},STRING_LITERAL_DROP_BUNDLE:function(){return U},NEXT_BUILTIN_DOCUMENT:function(){return B},CLIENT_REFERENCE_MANIFEST:function(){return H},SERVER_REFERENCE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return q},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return z},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return V},APP_CLIENT_INTERNALS:function(){return X},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return $},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return J},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return Q},EDGE_RUNTIME_WEBPACK:function(){return Z},TEMPORARY_REDIRECT_STATUS:function(){return ee},PERMANENT_REDIRECT_STATUS:function(){return et},STATIC_PROPS_ID:function(){return er},SERVER_PROPS_ID:function(){return en},PAGE_SEGMENT_KEY:function(){return eo},GOOGLE_FONT_PROVIDER:function(){return ea},OPTIMIZED_FONT_PROVIDERS:function(){return ei},DEFAULT_SERIF_FONT:function(){return el},DEFAULT_SANS_SERIF_FONT:function(){return eu},STATIC_STATUS_PAGES:function(){return es},TRACE_OUTPUT_VERSION:function(){return ec},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},RSC_MODULE_TYPES:function(){return ed},EDGE_UNSUPPORTED_NODE_APIS:function(){return ep},SYSTEM_ENTRYPOINTS:function(){return eh}});let n=r(38754),o=n._(r(7708)),a={client:"client",server:"server",edgeServer:"edge-server"},i=["x-invoke-path","x-invoke-status","x-invoke-error","x-invoke-query","x-middleware-invoke"],l={[a.client]:0,[a.server]:1,[a.edgeServer]:2},u="phase-export",s="phase-production-build",c="phase-production-server",f="phase-development-server",d="phase-test",p="phase-info",h="pages-manifest.json",m="app-paths-manifest.json",_="app-path-routes-manifest.json",g="build-manifest.json",y="app-build-manifest.json",b="functions-config-manifest.json",v="subresource-integrity-manifest",P="next-font-manifest",E="export-marker.json",S="export-detail.json",O="prerender-manifest.json",w="routes-manifest.json",j="images-manifest.json",R="required-server-files.json",T="_devPagesManifest.json",M="middleware-manifest.json",A="_devMiddlewareManifest.json",C="react-loadable-manifest.json",I="font-manifest.json",x="server",L=["next.config.js","next.config.mjs"],N="BUILD_ID",D=["/_document","/_app","/_error"],k="public",F="static",U="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",H="client-reference-manifest",W="server-reference-manifest",q="middleware-build-manifest",G="middleware-react-loadable-manifest",z="main",V=""+z+"-app",X="app-pages-internals",Y="react-refresh",$="amp",K="webpack",J="polyfills",Q=Symbol(J),Z="edge-runtime-webpack",ee=307,et=308,er="__N_SSG",en="__N_SSP",eo="__PAGE__",ea="https://fonts.googleapis.com/",ei=[{url:ea,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],el={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},eu={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},es=["/500"],ec=1,ef=6e3,ed={client:"client",server:"server"},ep=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eh=new Set([z,Y,$,V]);("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)},11698:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},87760:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return a}});let n=r(38754),o=n._(r(67294)),a=o.default.createContext({})},96561:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return c},default:function(){return h}});let n=r(38754),o=r(61757),a=o._(r(67294)),i=n._(r(59737)),l=r(86505),u=r(87760),s=r(88801);function c(e){void 0===e&&(e=!1);let t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(78565);let d=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=d.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,r=(0,a.useContext)(l.AmpStateContext),n=(0,a.useContext)(u.HeadManagerContext);return a.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,s.isInAmpMode)(r)},t)};("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)},37968:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return a},PathParamsContext:function(){return i}});let n=r(67294),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},58264:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},17010:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(38754),o=n._(r(67294)),a=r(75764),i=o.default.createContext(a.imageConfigDefault)},75764:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},20972:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},33625:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return r}});let r="NEXT_DYNAMIC_NO_SSR_CODE"},92421:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},7708:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},50064:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(14676),o=r(39267);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},9341:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},39267:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},71625:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return a}});let n=r(38754),o=n._(r(67294)),a=o.default.createContext(null)},3111:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return s},adaptForSearchParams:function(){return c},adaptForPathParams:function(){return f},PathnameContextProviderAdapter:function(){return d}});let n=r(61757),o=n._(r(67294)),a=r(37968),i=r(14676),l=r(87701),u=r(35174);function s(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function c(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function f(e){if(!e.isReady||!e.query)return null;let t={},r=(0,u.getRouteRegex)(e.pathname),n=Object.keys(r.groups);for(let r of n)t[r]=e.query[r];return t}function d(e){let{children:t,router:r,...n}=e,l=(0,o.useRef)(n.isAutoExport),u=(0,o.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,i.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return o.default.createElement(a.PathnameContext.Provider,{value:u},t)}},95008:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return V},matchesMiddleware:function(){return N},createKey:function(){return q}});let n=r(38754),o=r(61757),a=r(94416),i=r(93645),l=r(39220),u=o._(r(80676)),s=r(50064),c=r(58264),f=n._(r(92421)),d=r(27921),p=r(33489),h=r(40834);r(72431);let m=r(45895),_=r(35174),g=r(23337);r(24392);let y=r(29275),b=r(66956),v=r(66715),P=r(17635),E=r(55341),S=r(88017),O=r(69059),w=r(79423),j=r(83670),R=r(10419),T=r(28985),M=r(91651),A=r(96320),C=r(88831),I=r(97524),x=r(41286);function L(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,o=(0,E.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function k(e,t,r){let[n,o]=(0,O.resolveHref)(e,t,!0),a=(0,d.getLocationOrigin)(),i=n.startsWith(a),l=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let u=i?n:(0,E.addBasePath)(n),s=r?D((0,O.resolveHref)(e,r)):o||n;return{url:u,as:l?s:(0,E.addBasePath)(s)}}function F(e,t){let r=(0,a.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function U(e){let t=await N(e);if(!t||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),l=o||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=(0,h.parseRelativeUrl)(l),u=(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,a.removeTrailingSlash)(u.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:l}]=a,f=(0,b.addLocale)(u.pathname,u.locale);if((0,p.isDynamicRoute)(f)||!o&&i.includes((0,c.normalizeLocalePath)((0,P.removeBasePath)(f),r.router.locales).pathname)){let r=(0,j.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,E.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=F(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:F((0,c.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e),u=(0,R.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+u+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,y.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let B=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:o,hasMiddleware:a,isServerRender:l,parseJSON:u,persistCache:s,isBackground:c,unstable_skipClientCache:f}=e,{href:d}=new URL(r,window.location.href),p=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(r,l?3:1,{headers:Object.assign({},o?{purpose:"prefetch"}:{},o&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:B},response:t,text:e,cacheKey:d}}let o=Error("Failed to load static props");throw l||(0,i.markAssetError)(o),o}return{dataHref:r,json:u?H(e):null,response:t,text:e,cacheKey:d}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw f||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return f&&s?p({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=p(c?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function G(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let z=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let u=!1,s=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,E.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,i,l;for(let e of(u=u||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,o){var s,c,f,O,w,j,R,A,x;let D,U;if(!(0,M.isLocalURL)(t))return G({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,q={...this.state},z=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=q.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:K=!0}=n,J={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",L(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,v.removeLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,q.locale);this._inFlightRoute=r;let Z=Y!==q.locale;if(!H&&this.onlyAHashChange(Q)&&!Z){q.asPath=Q,V.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),K&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(e){throw(0,u.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return V.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;if(null==(s=this.components[et])?void 0:s.__appRouter)return G({url:r,router:this}),new Promise(()=>{});try{[D,{__rewrites:U}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return G({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,P.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname,ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(eo))(ea))),el=!n.shallow&&await N({asPath:r,locale:q.locale,router:this});if(H&&el&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=F(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),el||(t=(0,g.formatWithValidation)(ee)))),!(0,M.isLocalURL)(r))return G({url:r,router:this}),!1;en=(0,v.removeLocale)((0,P.removeBasePath)(en),q.locale),eo=(0,a.removeTrailingSlash)(et);let eu=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,_.getRouteRegex)(eo);eu=(0,m.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,I.interpolateAs)(eo,n,er):{};if(eu&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,C.omit)(er,i.params)})):Object.assign(er,eu);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!el)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,J);let es="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:el,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&el){eo=et=a.route||eo,J.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,P.removeBasePath)(ee.pathname):ee.pathname;if(eu&&et!==e&&Object.keys(eu).forEach(e=>{eu&&er[e]===eu[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,q.locale),!0),t=e;(0,S.hasBasePath)(t)&&(t=(0,P.removeBasePath)(t));let n=(0,_.getRouteRegex)(et),o=(0,m.getRouteMatcher)(n)(new URL(t,location.href).pathname);o&&Object.assign(er,o)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return G({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader){let e=[].concat(i.unstable_scriptLoader());e.forEach(e=>{(0,l.handleClientScriptLoad)(e.props)})}if((a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=F(r.pathname,D);let{url:o,as:a}=k(this,t,t);return this.change(e,o,a,n)}return G({url:t,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(f=self.__NEXT_DATA__.props)?void 0:null==(c=f.pageProps)?void 0:c.statusCode)===500&&(null==(O=a.props)?void 0:O.pageProps)&&(a.props.pageProps.statusCode=500);let s=n.shallow&&q.route===(null!=(w=a.route)?w:eo),d=null!=(j=n.scroll)?j:!H&&!s,g=null!=o?o:d?{x:0,y:0}:null,y={...q,route:eo,pathname:et,query:er,asPath:Q,isFallback:!1};if(H&&es){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(A=self.__NEXT_DATA__.props)?void 0:null==(R=A.pageProps)?void 0:R.statusCode)===500&&(null==(x=a.props)?void 0:x.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,u.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return!0}V.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n);let v=H&&!g&&!z&&!Z&&(0,T.compareRouterStates)(y,this.state);if(!v){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,Q,J),a.error;H||V.events.emit("routeChangeComplete",r,J),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,u.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),G({url:n,router:this}),L();try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,u.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:l,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,v,E,S;let e=z({route:y,router:this}),t=this.components[y];if(l.shallow&&t&&this.route===y)return t;f&&(t=void 0);let u=!t||"initial"in t?void 0:t,O={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},j=h&&!m?null:await U({fetchData:()=>W(O),asPath:_?"/404":i,locale:s,router:this}).catch(e=>{if(h)return null;throw e});if(j&&("/_error"===r||"/404"===r)&&(j.effect=void 0),h&&(j?j.json=self.__NEXT_DATA__.props:j={json:self.__NEXT_DATA__.props}),e(),(null==j?void 0:null==(b=j.effect)?void 0:b.type)==="redirect-internal"||(null==j?void 0:null==(v=j.effect)?void 0:v.type)==="redirect-external")return j.effect;if((null==j?void 0:null==(E=j.effect)?void 0:E.type)==="rewrite"){let e=(0,a.removeTrailingSlash)(j.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(e))&&(y=e,r=j.effect.resolvedHref,n={...n,...j.effect.parsedAs.query},i=(0,P.removeBasePath)((0,c.normalizeLocalePath)(j.effect.parsedAs.pathname,this.locales).pathname),t=this.components[y],l.shallow&&t&&this.route===y&&!f))return{...t,route:y}}if((0,w.isAPIRoute)(y))return G({url:o,router:this}),new Promise(()=>{});let R=u||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==j?void 0:null==(S=j.response)?void 0:S.headers.get("x-middleware-skip"),M=R.__N_SSG||R.__N_SSP;T&&(null==j?void 0:j.dataHref)&&delete this.sdc[j.dataHref];let{props:A,cacheKey:C}=await this._getData(async()=>{if(M){if((null==j?void 0:j.json)&&!T)return{cacheKey:j.cacheKey,props:j.json};let e=(null==j?void 0:j.dataHref)?j.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:o,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&O.dataHref&&C&&delete this.sdc[C],this.isPreview||!R.__N_SSG||h||W(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),A.pageProps=Object.assign({},A.pageProps),R.props=A,R.route=y,R.query=n,R.resolvedAs=i,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,u.getProperError)(e),r,n,o,l)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,o]=e.split("#");return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#");(0,x.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,A.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:l}=n,u=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=F(n.pathname,s),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(l,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,g.formatWithValidation)(n)));let b=await U({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:u,query:l}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,l={...l,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let v=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(v).then(t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](v)])}async fetchComponent(e){let t=z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:o,pageLoader:i,App:l,wrapApp:u,Component:s,err:c,subscription:f,isFallback:m,locale:_,locales:y,defaultLocale:b,domainLocales:v,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:l}=n;this._key=l;let{pathname:u}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||u!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]};{let{BloomFilter:e}=r(5376),t={numItems:9,errorRate:.01,numBits:87,numHashes:7,bitArray:[1,1,1,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,1,0,1,1,0,0,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,0,1,1,1,0,0,0,1,0,1,1,1,0,0,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,0,0,1,1,1,1,1,1,0,1,0,1,0,1,1,0,1]},n={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let O=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=u,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!O&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:O?e:n,isPreview:!!P,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},o=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:_,asPath:o}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),o,r),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},26634:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(60471),o=r(21613);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},60471:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(29275);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},67938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(29275);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},22222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscPath:function(){return i}});let n=r(9341),o=r(56500);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},87701:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},28985:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},10419:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let n=r(94416),o=r(60471),a=r(67938),i=r(26634);function l(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},23337:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return i},urlObjectKeys:function(){return l},formatWithValidation:function(){return u}});let n=r(61757),o=n._(r(90716)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(o.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+n+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},49541:function(e,t){"use strict";function r(e,t){void 0===t&&(t="");let r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e;return r+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},83670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(58264),o=r(44679),a=r(21613);function i(e,t){var r,i;let{basePath:l,i18n:u,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};l&&(0,a.pathHasPrefix)(c.pathname,l)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,l),c.basePath=l);let f=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,f="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=f)}if(u){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,u.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(f):(0,n.normalizeLocalePath)(f,u.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},41286:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},14676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(85651),o=r(33489)},97524:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(45895),o=r(35174);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),l=i.groups,u=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let s=Object.keys(l);return s.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=l[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},96320:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},33489:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},91651:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(27921),o=r(88017);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},88831:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},29275:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},40834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(27921),o=r(90716);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:u,hash:s,href:c,origin:f}=new URL(e,a);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,o.searchParamsToUrlQuery)(l),search:u,hash:s,href:c.slice(r.origin.length)}}},21613:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(29275);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},90716:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o},assign:function(){return a}})},44679:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(21613);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},94416:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},45895:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(27921);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},35174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});let n=r(92407),o=r(11698),a=r(94416);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},l=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:u}=i(a[1]);return r[e]={pos:l++,repeat:u,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(a[1]);return r[e]={pos:l++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e){let{getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:o}=e,{key:a,optional:l,repeat:u}=i(r),s=a.replace(/\W/g,"");o&&(s=""+o+s);let c=!1;return(0===s.length||s.length>30)&&(c=!0),isNaN(parseInt(s.slice(0,1)))||(c=!0),c&&(s=t()),o?n[s]=""+o+a:n[s]=""+a,u?l?"(?:/(?<"+s+">.+?))?":"/(?<"+s+">.+?)":"/(?<"+s+">[^/]+?)"}function c(e,t){let r;let i=(0,a.removeTrailingSlash)(e).slice(1).split("/"),l=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:i.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);return r&&a?s({getSafeRouteKey:l,segment:a[1],routeKeys:u,keyPrefix:t?"nxtI":void 0}):a?s({getSafeRouteKey:l,segment:a[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function f(e,t){let r=c(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},85651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},90854:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},56500:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isGroupSegment",{enumerable:!0,get:function(){return r}})},59737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(61757),o=n._(r(67294)),a=o.useLayoutEffect,i=o.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let n=o.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}return a(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},27921:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return a},getLocationOrigin:function(){return i},getURL:function(){return l},getDisplayName:function(){return u},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return p},DecodeError:function(){return h},NormalizeError:function(){return m},PageNotFoundError:function(){return _},MissingStaticPage:function(){return g},MiddlewareNotFoundError:function(){return y},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=i();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n){let t='"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},78565:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},78018:function(e){var t,r,n,o,a,i,l,u,s,c,f,d,p,h,m,_,g,y,b,v,P,E,S,O,w,j,R,T,M,A,C,I,x,L,N,D,k,F,U,B,H,W,q,G,z,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return v},getFID:function(){return A},getINP:function(){return W},getLCP:function(){return G},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return v},onFID:function(){return A},onINP:function(){return W},onLCP:function(){return G},onTTFB:function(){return V}}),u=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(u=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return u>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var o,a;return function(i){var l;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(l=t.value)>r[1]?"poor":l>r[0]?"needs-improvement":"good",e(t))}},_=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){h(function(e){_=e.timeStamp},!0)},b=function(){return _<0&&(_=g(),y(),s(function(){setTimeout(function(){_=g(),y()},0)})),{get firstHiddenTime(){return _}}},v=function(e,t){t=t||{};var r,n=[1800,3e3],o=b(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime-1&&e(t)},a=d("CLS",0),i=0,l=[],u=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=l[0],r=l[l.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,l.push(e)):(i=e.value,l=[e]),i>a.value&&(a.value=i,a.entries=l,n())}})},c=p("layout-shift",u);c&&(n=m(o,a,r,t.reportAllChanges),h(function(){u(c.takeRecords()),n(!0)}),s(function(){i=0,E=-1,n=m(o,a=d("CLS",0),r,t.reportAllChanges)}))},O={passive:!0,capture:!0},w=new Date,j=function(e,t){n||(n=t,o=e,a=new Date,M(removeEventListener),R())},R=function(){if(o>=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){j(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,O),removeEventListener("pointercancel",r,O)},addEventListener("pointerup",t,O),addEventListener("pointercancel",r,O)):j(o,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,O)})},A=function(e,t){t=t||{};var r,a=[100,300],l=b(),u=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};B[n.id]=n,U.push(n)}U.sort(function(e,t){return t.latency-e.latency}),U.splice(10).forEach(function(e){delete B[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];D();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||U.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=(t=Math.min(U.length-1,Math.floor(F()/50)),U[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=m(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&F()>0&&(o.value=0,o.entries=[]),n(!0)}),s(function(){U=[],k=N(),n=m(e,o=d("INP"),r,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var r,n=[2500,4e3],o=b(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[a],o(!0),s(function(){(o=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},79423:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},80676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(20972);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},92407:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return a},extractInterceptionRouteInformation:function(){return i}});let n=r(22222),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},72431:function(){},38754:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},61757:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}},function(e){e.O(0,[9774],function(){return e(e.s=99525)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/webpack-d1a565a4b87ec7af.js b/ee/tabby-webserver/ui/_next/static/chunks/webpack-e8f22f2f375d3865.js similarity index 85% rename from ee/tabby-webserver/ui/_next/static/chunks/webpack-d1a565a4b87ec7af.js rename to ee/tabby-webserver/ui/_next/static/chunks/webpack-e8f22f2f375d3865.js index 1e0832044a4b..fde94cce3321 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/webpack-d1a565a4b87ec7af.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/webpack-e8f22f2f375d3865.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u,i,c,a,f,l,d,s={},p={};function b(e){var t=p[e];if(void 0!==t)return t.exports;var n=p[e]={id:e,loaded:!1,exports:{}},r=!0;try{s[e].call(n.exports,n,n.exports,b),r=!1}finally{r&&delete p[e]}return n.loaded=!0,n.exports}b.m=s,e=[],b.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(b.O).every(function(e){return b.O[e](n[a])})?n.splice(a--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(b.O).every(function(e){return b.O[e](n[a])})?n.splice(a--,1):(c=!1,oli):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-left-2{left:-.5rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-2{margin-left:-.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-7{margin-left:1.75rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[12px\]{height:12px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-60{max-height:15rem}.max-h-\[100vh\]{max-height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[70vh\]{max-height:70vh}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[15\%\]{width:15%}.w-\[1px\]{width:1px}.w-\[20vw\]{width:20vw}.w-\[25\%\]{width:25%}.w-\[254px\]{width:254px}.w-\[279px\]{width:279px}.w-\[280px\]{width:280px}.w-\[35\%\]{width:35%}.w-\[350px\]{width:350px}.w-\[44px\]{width:44px}.w-\[45\%\]{width:45%}.w-\[60vw\]{width:60vw}.w-full{width:100%}.w-px{width:1px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-\[320px\]{max-width:320px}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.translate-y-1{--tw-translate-y:0.25rem}.scale-100,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-successful{background-color:hsl(var(--successful))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-0\%{--tw-gradient-from-position:0%}.to-muted\/25{--tw-gradient-to:hsl(var(--muted)/0.25) var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position:100%}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-\[200px\]{padding-bottom:200px}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),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"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.leading-4{line-height:1rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-successful-foreground{color:hsl(var(--successful-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-100{animation-duration:.1s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-card:hover{background-color:hsl(var(--card))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-successful\/80:hover{background-color:hsl(var(--successful)/.8)}.hover\:bg-zinc-800:hover{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-card:active{background-color:hsl(var(--card))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity:0.9}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y:2.5rem}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-2xl{max-width:42rem}.sm\:max-w-lg{max-width:32rem}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:zoom-in-90{--tw-enter-scale:.9}.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open],.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[5rem\]{right:-5rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-12{margin-left:-3rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[240px\]{width:240px}.md\:w-\[430px\]{width:430px}.md\:w-full{width:100%}.md\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pt-10{padding-top:2.5rem}.md\:opacity-0{opacity:0}}@media (min-width:1024px){.lg\:ml-\[280px\]{margin-left:280px}.lg\:block{display:block}.lg\:hidden{display:none}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}}@media (min-width:1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width:1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&_svg\.ml-auto\]\:data-\[state\=open\]\:rotate-90[data-state=open] svg.ml-auto{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ec159349637c90ad-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/513657b02c5c193f-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/fd4db3eb5472fc27-s.woff2) format("woff2");unicode-range:U+1f??}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/51ed15f9841b9f9d-s.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/05a31a2ca4975f99-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/d6b16ce4a6175f26-s.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__Inter_Fallback_e66fe9;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_e66fe9{font-family:__Inter_e66fe9,__Inter_Fallback_e66fe9;font-style:normal}.__variable_e66fe9{--font-sans:"__Inter_e66fe9","__Inter_Fallback_e66fe9"}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/de2ba2ebf355004e-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/9e58c89b9633dcad-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/c4a41ea065a0023c-s.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/34dd45dcdd6d47ee-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/a1ab2e69d2f53384-s.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/86fdec36ddd9097e-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__JetBrains_Mono_Fallback_bd9c35;src:local("Arial");ascent-override:75.04%;descent-override:22.07%;line-gap-override:0.00%;size-adjust:135.93%}.__className_bd9c35{font-family:__JetBrains_Mono_bd9c35,__JetBrains_Mono_Fallback_bd9c35;font-style:normal}.__variable_bd9c35{--font-mono:"__JetBrains_Mono_bd9c35","__JetBrains_Mono_Fallback_bd9c35"} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/css/78cd2232234c4702.css b/ee/tabby-webserver/ui/_next/static/css/78cd2232234c4702.css new file mode 100644 index 000000000000..c925acddc63d --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/css/78cd2232234c4702.css @@ -0,0 +1 @@ +.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.codemirror-editor{--tag-blue-bg:213.75,100%,96.86%;--tag-blue-border:211.7,96.36%,78.43%;--tag-blue-text:224.28,76.33%,48.04%}.dark .codemirror-editor{--tag-blue-bg:213.12,93.9%,67.84%,0.15;--tag-blue-border:217.22,91.22%,59.8%;--tag-blue-text:213.12,93.9%,67.84%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-left-2{left:-.5rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-2{margin-left:-.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-7{margin-left:1.75rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[12px\]{height:12px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-60{max-height:15rem}.max-h-\[100vh\]{max-height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[70vh\]{max-height:70vh}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[15\%\]{width:15%}.w-\[1px\]{width:1px}.w-\[20vw\]{width:20vw}.w-\[25\%\]{width:25%}.w-\[254px\]{width:254px}.w-\[279px\]{width:279px}.w-\[280px\]{width:280px}.w-\[35\%\]{width:35%}.w-\[350px\]{width:350px}.w-\[44px\]{width:44px}.w-\[45\%\]{width:45%}.w-\[60vw\]{width:60vw}.w-full{width:100%}.w-px{width:1px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-\[320px\]{max-width:320px}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.translate-y-1{--tw-translate-y:0.25rem}.scale-100,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-successful{background-color:hsl(var(--successful))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-0\%{--tw-gradient-from-position:0%}.to-muted\/25{--tw-gradient-to:hsl(var(--muted)/0.25) var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position:100%}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-\[200px\]{padding-bottom:200px}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),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"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.leading-4{line-height:1rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-successful-foreground{color:hsl(var(--successful-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-100{animation-duration:.1s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-card:hover{background-color:hsl(var(--card))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-successful\/80:hover{background-color:hsl(var(--successful)/.8)}.hover\:bg-zinc-800:hover{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-card:active{background-color:hsl(var(--card))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity:0.9}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y:2.5rem}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-2xl{max-width:42rem}.sm\:max-w-lg{max-width:32rem}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:zoom-in-90{--tw-enter-scale:.9}.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open],.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[5rem\]{right:-5rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-12{margin-left:-3rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[240px\]{width:240px}.md\:w-\[430px\]{width:430px}.md\:w-full{width:100%}.md\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pt-10{padding-top:2.5rem}.md\:opacity-0{opacity:0}}@media (min-width:1024px){.lg\:ml-\[280px\]{margin-left:280px}.lg\:block{display:block}.lg\:hidden{display:none}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}}@media (min-width:1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width:1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&_svg\.ml-auto\]\:data-\[state\=open\]\:rotate-90[data-state=open] svg.ml-auto{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/css/99bd59844a757a8f.css b/ee/tabby-webserver/ui/_next/static/css/99bd59844a757a8f.css deleted file mode 100644 index a5c1a47e9085..000000000000 --- a/ee/tabby-webserver/ui/_next/static/css/99bd59844a757a8f.css +++ /dev/null @@ -1,3 +0,0 @@ -/* -! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),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";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:38 96.55% 98.5%;--foreground:38 3.1% 1%;--muted:40 9.5% 91%;--muted-foreground:38 1.55% 42.5%;--popover:38 65.2% 92.5%;--popover-foreground:38 3.1% 1.25%;--card:38 65.2% 92.5%;--card-foreground:38 3.1% 1.25%;--border:38 8.1% 90%;--input:38 8.1% 90%;--primary:38 31% 25%;--primary-foreground:38 0.62% 92.5%;--secondary:38 1.55% 96.25%;--secondary-foreground:38 2.86% 12.5%;--accent:40 19% 91%;--accent-foreground:38 2.86% 12.5%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--ring:38 31% 25%;--radius:0.5rem;--selection:200,100%,90%}.dark{--background:20 14.3% 4.1%;--foreground:39 3.2% 99.35%;--muted:39 16% 26.1%;--muted-foreground:39 3.2% 58.7%;--popover:39 58.6% 11.31%;--popover-foreground:39 3.2% 99.35%;--card:39 58.6% 11.31%;--card-foreground:39 3.2% 99.35%;--border:39 16% 26.1%;--input:39 16% 26.1%;--primary:39 32% 87%;--primary-foreground:39 3.2% 8.7%;--secondary:39 16% 26.1%;--secondary-foreground:39 3.2% 99.35%;--accent:39 16% 26.1%;--accent-foreground:39 3.2% 99.35%;--destructive:0 62.8% 30.6%;--destructive-foreground:39 3.2% 99.35%;--ring:39 32% 87%;--selection:221,13%,28%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-left-2{left:-.5rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-2{margin-left:-.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[12px\]{height:12px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-60{max-height:15rem}.max-h-\[100vh\]{max-height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[70vh\]{max-height:70vh}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[1px\]{width:1px}.w-\[20vw\]{width:20vw}.w-\[25\%\]{width:25%}.w-\[254px\]{width:254px}.w-\[279px\]{width:279px}.w-\[280px\]{width:280px}.w-\[350px\]{width:350px}.w-\[44px\]{width:44px}.w-\[45\%\]{width:45%}.w-\[60vw\]{width:60vw}.w-full{width:100%}.w-px{width:1px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-\[320px\]{max-width:320px}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.translate-y-1{--tw-translate-y:0.25rem}.scale-100,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-0\%{--tw-gradient-from-position:0%}.to-muted\/25{--tw-gradient-to:hsl(var(--muted)/0.25) var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position:100%}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-\[200px\]{padding-bottom:200px}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),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"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.leading-4{line-height:1rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-100{animation-duration:.1s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-card:hover{background-color:hsl(var(--card))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-zinc-800:hover{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-card:active{background-color:hsl(var(--card))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity:0.9}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y:2.5rem}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-2xl{max-width:42rem}.sm\:max-w-lg{max-width:32rem}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:zoom-in-90{--tw-enter-scale:.9}.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open],.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[5rem\]{right:-5rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-12{margin-left:-3rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[240px\]{width:240px}.md\:w-\[430px\]{width:430px}.md\:w-full{width:100%}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pt-10{padding-top:2.5rem}.md\:opacity-0{opacity:0}}@media (min-width:1024px){.lg\:ml-\[280px\]{margin-left:280px}.lg\:block{display:block}.lg\:hidden{display:none}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}}@media (min-width:1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width:1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ec159349637c90ad-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/513657b02c5c193f-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/fd4db3eb5472fc27-s.woff2) format("woff2");unicode-range:U+1f??}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/51ed15f9841b9f9d-s.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/05a31a2ca4975f99-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/d6b16ce4a6175f26-s.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__Inter_e66fe9;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__Inter_Fallback_e66fe9;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_e66fe9{font-family:__Inter_e66fe9,__Inter_Fallback_e66fe9;font-style:normal}.__variable_e66fe9{--font-sans:"__Inter_e66fe9","__Inter_Fallback_e66fe9"}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/de2ba2ebf355004e-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/9e58c89b9633dcad-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/c4a41ea065a0023c-s.woff2) format("woff2");unicode-range:U+0370-03ff}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/34dd45dcdd6d47ee-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/a1ab2e69d2f53384-s.woff2) format("woff2");unicode-range:U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__JetBrains_Mono_bd9c35;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/86fdec36ddd9097e-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__JetBrains_Mono_Fallback_bd9c35;src:local("Arial");ascent-override:75.04%;descent-override:22.07%;line-gap-override:0.00%;size-adjust:135.93%}.__className_bd9c35{font-family:__JetBrains_Mono_bd9c35,__JetBrains_Mono_Fallback_bd9c35;font-style:normal}.__variable_bd9c35{--font-mono:"__JetBrains_Mono_bd9c35","__JetBrains_Mono_Fallback_bd9c35"} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/css/a4687f581a46f7a3.css b/ee/tabby-webserver/ui/_next/static/css/a4687f581a46f7a3.css deleted file mode 100644 index f8aea3aeb039..000000000000 --- a/ee/tabby-webserver/ui/_next/static/css/a4687f581a46f7a3.css +++ /dev/null @@ -1 +0,0 @@ -.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.codemirror-editor{--tag-blue-bg:213.75,100%,96.86%;--tag-blue-border:211.7,96.36%,78.43%;--tag-blue-text:224.28,76.33%,48.04%}.dark .codemirror-editor{--tag-blue-bg:213.12,93.9%,67.84%,0.15;--tag-blue-border:217.22,91.22%,59.8%;--tag-blue-text:213.12,93.9%,67.84%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-left-2{left:-.5rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-4{top:1rem}.z-10{z-index:10}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-2{margin-left:-.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[12px\]{height:12px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-60{max-height:15rem}.max-h-\[100vh\]{max-height:100vh}.max-h-\[300px\]{max-height:300px}.max-h-\[70vh\]{max-height:70vh}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[1px\]{width:1px}.w-\[20vw\]{width:20vw}.w-\[25\%\]{width:25%}.w-\[254px\]{width:254px}.w-\[279px\]{width:279px}.w-\[280px\]{width:280px}.w-\[350px\]{width:350px}.w-\[44px\]{width:44px}.w-\[45\%\]{width:45%}.w-\[60vw\]{width:60vw}.w-full{width:100%}.w-px{width:1px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-\[320px\]{max-width:320px}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.translate-y-1{--tw-translate-y:0.25rem}.scale-100,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-0\%{--tw-gradient-from-position:0%}.to-muted\/25{--tw-gradient-to:hsl(var(--muted)/0.25) var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position:100%}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-\[200px\]{padding-bottom:200px}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),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"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.leading-4{line-height:1rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-100{animation-duration:.1s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-card:hover{background-color:hsl(var(--card))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-zinc-800:hover{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-card:active{background-color:hsl(var(--card))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity:0.9}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y:2.5rem}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-2xl{max-width:42rem}.sm\:max-w-lg{max-width:32rem}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:zoom-in-90{--tw-enter-scale:.9}.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open],.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[5rem\]{right:-5rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-12{margin-left:-3rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[240px\]{width:240px}.md\:w-\[430px\]{width:430px}.md\:w-full{width:100%}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pt-10{padding-top:2.5rem}.md\:opacity-0{opacity:0}}@media (min-width:1024px){.lg\:ml-\[280px\]{margin-left:280px}.lg\:block{display:block}.lg\:hidden{display:none}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}}@media (min-width:1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width:1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/tMrzerf0188ZcKSR-xbdl/_buildManifest.js b/ee/tabby-webserver/ui/_next/static/jUgG95djQe3uQrBgBCWuH/_buildManifest.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/tMrzerf0188ZcKSR-xbdl/_buildManifest.js rename to ee/tabby-webserver/ui/_next/static/jUgG95djQe3uQrBgBCWuH/_buildManifest.js diff --git a/ee/tabby-webserver/ui/_next/static/tMrzerf0188ZcKSR-xbdl/_ssgManifest.js b/ee/tabby-webserver/ui/_next/static/jUgG95djQe3uQrBgBCWuH/_ssgManifest.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/tMrzerf0188ZcKSR-xbdl/_ssgManifest.js rename to ee/tabby-webserver/ui/_next/static/jUgG95djQe3uQrBgBCWuH/_ssgManifest.js diff --git a/ee/tabby-webserver/ui/api.html b/ee/tabby-webserver/ui/api.html index c7f3de89f6c4..64b329e8b10f 100644 --- a/ee/tabby-webserver/ui/api.html +++ b/ee/tabby-webserver/ui/api.html @@ -1 +1 @@ -Tabby - API
\ No newline at end of file +Tabby - API
\ No newline at end of file diff --git a/ee/tabby-webserver/ui/api.txt b/ee/tabby-webserver/ui/api.txt index a6b53fb1a174..9e06a0ef5917 100644 --- a/ee/tabby-webserver/ui/api.txt +++ b/ee/tabby-webserver/ui/api.txt @@ -1,11 +1,11 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["api",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["api",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +a:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - API"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","api","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$La",["$","iframe",null,{"className":"grow","src":"/swagger-ui"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"api"},"styles":[]}]}],null]}]]}]]}],null] -a:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","api","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L9",["$","iframe",null,{"className":"grow","src":"/swagger-ui"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"api"},"styles":[]}]}],["$","$La",null,{"richColors":true}],null]}]}]]}],null] +9:null diff --git a/ee/tabby-webserver/ui/auth/signin.html b/ee/tabby-webserver/ui/auth/signin.html index 2ea46ca43d31..10a661fbc61f 100644 --- a/ee/tabby-webserver/ui/auth/signin.html +++ b/ee/tabby-webserver/ui/auth/signin.html @@ -1 +1 @@ -Tabby - Sign In

Sign In

Enter credentials to login to your account

\ No newline at end of file +Tabby - Sign In

Sign In

Enter credentials to login to your account

\ No newline at end of file diff --git a/ee/tabby-webserver/ui/auth/signin.txt b/ee/tabby-webserver/ui/auth/signin.txt index c1c73c16e019..09efc1d5ce7c 100644 --- a/ee/tabby-webserver/ui/auth/signin.txt +++ b/ee/tabby-webserver/ui/auth/signin.txt @@ -1,12 +1,12 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["auth",{"children":["signin",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -b:I{"id":61004,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","5414:static/chunks/5414-06b80b739a31c06e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","8098:static/chunks/app/auth/signin/page-be3b4a3d6e5a91cd.js"],"name":"","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["auth",{"children":["signin",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +a:I{"id":61004,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","5414:static/chunks/5414-bbfc03f802689235.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","8098:static/chunks/app/auth/signin/page-72b4f61b3af449bb.js"],"name":"","async":false} +b:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Sign In"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signin","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$La",["$","$Lb",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"signin"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],null]}]]}]]}],null] -a:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signin","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L9",["$","$La",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"signin"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],["$","$Lb",null,{"richColors":true}],null]}]}]]}],null] +9:null diff --git a/ee/tabby-webserver/ui/auth/signup.html b/ee/tabby-webserver/ui/auth/signup.html index ec088ddf1d7d..0baabe1a381f 100644 --- a/ee/tabby-webserver/ui/auth/signup.html +++ b/ee/tabby-webserver/ui/auth/signup.html @@ -1 +1 @@ -Tabby - Sign Up \ No newline at end of file +Tabby - Sign Up \ No newline at end of file diff --git a/ee/tabby-webserver/ui/auth/signup.txt b/ee/tabby-webserver/ui/auth/signup.txt index 95a97eab5398..fbf4909f04a5 100644 --- a/ee/tabby-webserver/ui/auth/signup.txt +++ b/ee/tabby-webserver/ui/auth/signup.txt @@ -1,12 +1,12 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["auth",{"children":["signup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -b:I{"id":89890,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","5414:static/chunks/5414-06b80b739a31c06e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5271:static/chunks/app/auth/signup/page-636605bfde04be8f.js"],"name":"","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["auth",{"children":["signup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +a:I{"id":89890,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","5414:static/chunks/5414-bbfc03f802689235.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5271:static/chunks/app/auth/signup/page-29d665856a81e6f6.js"],"name":"","async":false} +b:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Sign Up"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signup","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$La",["$","$Lb",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"signup"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],null]}]]}]]}],null] -a:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signup","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L9",["$","$La",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"signup"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],["$","$Lb",null,{"richColors":true}],null]}]}]]}],null] +9:null diff --git a/ee/tabby-webserver/ui/cluster.html b/ee/tabby-webserver/ui/cluster.html index 288d525b8faa..bd10279d654e 100644 --- a/ee/tabby-webserver/ui/cluster.html +++ b/ee/tabby-webserver/ui/cluster.html @@ -1 +1 @@ -Tabby - Cluster Information
\ No newline at end of file +Tabby - Cluster Information
\ No newline at end of file diff --git a/ee/tabby-webserver/ui/cluster.txt b/ee/tabby-webserver/ui/cluster.txt index 395bff5cd924..d8c6716b3253 100644 --- a/ee/tabby-webserver/ui/cluster.txt +++ b/ee/tabby-webserver/ui/cluster.txt @@ -1,15 +1,15 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["(dashboard)",{"children":["cluster",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -a:I{"id":67854,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"","async":false} -b:I{"id":18851,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"ScrollArea","async":false} -c:I{"id":81496,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"Header","async":false} -e:I{"id":28883,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","2999:static/chunks/2999-4b348744b00a6b1f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","4131:static/chunks/app/(dashboard)/cluster/page-f3dcac508d35671b.js"],"name":"","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["(dashboard)",{"children":["cluster",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +9:I{"id":97848,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"","async":false} +a:I{"id":18851,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"ScrollArea","async":false} +b:I{"id":84231,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"Header","async":false} +d:I{"id":28883,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","2999:static/chunks/2999-4b348744b00a6b1f.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","4131:static/chunks/app/(dashboard)/cluster/page-6e897e13cb90cf27.js"],"name":"","async":false} +e:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Cluster Information"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$La",null,{"className":"flex-1","children":["$","$Lb",null,{"className":"max-h-[100vh]","children":[["$","$Lc",null,{}],["$","div",null,{"className":"p-4","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","cluster","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","div",null,{"className":"p-6","children":["$","$Le",null,{}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"cluster"},"styles":[]}]}]]}]}]}],null],"segment":"(dashboard)"},"styles":[]}]}],null]}]]}]]}],null] -d:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$L9",null,{"className":"flex-1","children":["$","$La",null,{"className":"max-h-[100vh]","children":[["$","$Lb",null,{}],["$","div",null,{"className":"p-4","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","cluster","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lc",["$","div",null,{"className":"p-6","children":["$","$Ld",null,{}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"cluster"},"styles":[]}]}]]}]}]}],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$Le",null,{"richColors":true}],null]}]}]]}],null] +c:null diff --git a/ee/tabby-webserver/ui/files.html b/ee/tabby-webserver/ui/files.html index db840dc8616d..ce90134e41c1 100644 --- a/ee/tabby-webserver/ui/files.html +++ b/ee/tabby-webserver/ui/files.html @@ -1 +1 @@ -Tabby - Code Browser \ No newline at end of file +Tabby - Code Browser \ No newline at end of file diff --git a/ee/tabby-webserver/ui/files.txt b/ee/tabby-webserver/ui/files.txt index cf544624e348..bd699e8418c8 100644 --- a/ee/tabby-webserver/ui/files.txt +++ b/ee/tabby-webserver/ui/files.txt @@ -1,12 +1,12 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["files",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -b:I{"id":56922,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","8558:static/chunks/8558-54cd5bc5832e8a92.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","357:static/chunks/app/files/page-f71017bba8194a4c.js"],"name":"SourceCodeBrowser","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["files",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +a:I{"id":56922,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","6887:static/chunks/6887-b3d050b2c7e5168e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","357:static/chunks/app/files/page-8b9c14b4567ef892.js"],"name":"SourceCodeBrowser","async":false} +b:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Code Browser"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","files","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$La",["$","div",null,{"className":"flex h-screen flex-col","children":["$","$Lb",null,{"className":"flex-1 overflow-hidden"}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"files"},"styles":[]}]}],null]}]]}]]}],null] -a:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","files","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L9",["$","div",null,{"className":"flex h-screen flex-col","children":["$","$La",null,{"className":"flex-1 overflow-hidden"}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"files"},"styles":[]}]}],["$","$Lb",null,{"richColors":true}],null]}]}]]}],null] +9:null diff --git a/ee/tabby-webserver/ui/index.html b/ee/tabby-webserver/ui/index.html index 1b57a38f355e..69754968367e 100644 --- a/ee/tabby-webserver/ui/index.html +++ b/ee/tabby-webserver/ui/index.html @@ -1 +1 @@ -Tabby - Home
\ No newline at end of file +Tabby - Home
\ No newline at end of file diff --git a/ee/tabby-webserver/ui/index.txt b/ee/tabby-webserver/ui/index.txt index d070167c7927..c1554261c2be 100644 --- a/ee/tabby-webserver/ui/index.txt +++ b/ee/tabby-webserver/ui/index.txt @@ -1,16 +1,16 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["(dashboard)",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -a:I{"id":67854,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"","async":false} -b:I{"id":18851,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"ScrollArea","async":false} -c:I{"id":81496,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"Header","async":false} -e:I{"id":65146,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -f:I{"id":37333,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","5479:static/chunks/5479-8336a6ddd5158337.js","2949:static/chunks/2949-edc71bee11e51f46.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","1130:static/chunks/app/(dashboard)/page-e49d4746964eafbb.js"],"name":"","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["(dashboard)",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +9:I{"id":97848,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"","async":false} +a:I{"id":18851,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"ScrollArea","async":false} +b:I{"id":84231,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"Header","async":false} +d:I{"id":65146,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +e:I{"id":37333,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","5479:static/chunks/5479-8336a6ddd5158337.js","2949:static/chunks/2949-edc71bee11e51f46.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","1130:static/chunks/app/(dashboard)/page-bda82f178c24fae6.js"],"name":"","async":false} +f:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Home"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$La",null,{"className":"flex-1","children":["$","$Lb",null,{"className":"max-h-[100vh]","children":[["$","$Lc",null,{}],["$","div",null,{"className":"p-4","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$Ld",["$","$Le",null,{"propsForComponent":{"params":{}},"Component":"$f"}],null],"segment":"__PAGE__"},"styles":[]}]}]]}]}]}],null],"segment":"(dashboard)"},"styles":[]}]}],null]}]]}]]}],null] -d:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$L9",null,{"className":"flex-1","children":["$","$La",null,{"className":"max-h-[100vh]","children":[["$","$Lb",null,{}],["$","div",null,{"className":"p-4","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$Lc",["$","$Ld",null,{"propsForComponent":{"params":{}},"Component":"$e"}],null],"segment":"__PAGE__"},"styles":[]}]}]]}]}]}],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$Lf",null,{"richColors":true}],null]}]}]]}],null] +c:null diff --git a/ee/tabby-webserver/ui/playground.html b/ee/tabby-webserver/ui/playground.html index 886fc8509c08..6ac032bc733a 100644 --- a/ee/tabby-webserver/ui/playground.html +++ b/ee/tabby-webserver/ui/playground.html @@ -1 +1 @@ -Tabby - Playground
\ No newline at end of file +Tabby - Playground
\ No newline at end of file diff --git a/ee/tabby-webserver/ui/playground.txt b/ee/tabby-webserver/ui/playground.txt index 21e3519a31c2..946b67b8b11e 100644 --- a/ee/tabby-webserver/ui/playground.txt +++ b/ee/tabby-webserver/ui/playground.txt @@ -1,12 +1,12 @@ 1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["playground",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -b:I{"id":40006,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","2949:static/chunks/2949-edc71bee11e51f46.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","2248:static/chunks/2248-566dbbd63d7f8694.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","2383:static/chunks/app/playground/page-69382445d3321de6.js"],"name":"","async":false} +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["playground",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +a:I{"id":40006,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","2949:static/chunks/2949-edc71bee11e51f46.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","2024:static/chunks/2024-716ae18a355412fb.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","2383:static/chunks/app/playground/page-b9bb2400bda1bf2d.js"],"name":"","async":false} +b:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Playground"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","playground","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$La",["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$Lb",null,{}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"playground"},"styles":[]}]}],null]}]]}]]}],null] -a:null +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","playground","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L9",["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$La",null,{}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"playground"},"styles":[]}]}],["$","$Lb",null,{"richColors":true}],null]}]}]]}],null] +9:null diff --git a/ee/tabby-webserver/ui/settings/team.html b/ee/tabby-webserver/ui/settings/team.html new file mode 100644 index 000000000000..cbb06d0ce099 --- /dev/null +++ b/ee/tabby-webserver/ui/settings/team.html @@ -0,0 +1 @@ +Tabby - Team Management

Pending Invites

Members

\ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/team.txt b/ee/tabby-webserver/ui/settings/team.txt new file mode 100644 index 000000000000..f79b807527dd --- /dev/null +++ b/ee/tabby-webserver/ui/settings/team.txt @@ -0,0 +1,15 @@ +1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] +2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] +3:HL["/_next/static/css/2008d88def35e205.css","style"] +0:["jUgG95djQe3uQrBgBCWuH",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["team",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2008d88def35e205.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":78495,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Providers","async":false} +7:I{"id":81443,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +8:I{"id":18639,"chunks":["2272:static/chunks/webpack-e8f22f2f375d3865.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} +9:I{"id":97848,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"","async":false} +a:I{"id":18851,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"ScrollArea","async":false} +b:I{"id":84231,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","2047:static/chunks/2047-2ade212d24811181.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","5479:static/chunks/5479-8336a6ddd5158337.js","449:static/chunks/449-6ecf26cdc1eb342f.js","1621:static/chunks/1621-61bb60a1a2d1ceb0.js","7587:static/chunks/7587-5749f48c6bf80916.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","5642:static/chunks/app/(dashboard)/layout-d1b403e2378bccbc.js"],"name":"Header","async":false} +d:I{"id":11527,"chunks":["6990:static/chunks/13b76428-f0fe9fe157a3353a.js","5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","5414:static/chunks/5414-bbfc03f802689235.js","449:static/chunks/449-6ecf26cdc1eb342f.js","7820:static/chunks/7820-2f9445c13ccb56da.js","1894:static/chunks/1894-fbe42815b4b0b176.js","3816:static/chunks/app/(dashboard)/settings/team/page-a365eed113aae11b.js"],"name":"","async":false} +e:I{"id":42761,"chunks":["5135:static/chunks/5135-8973b1169b0df56b.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-2f9445c13ccb56da.js","3185:static/chunks/app/layout-deb1f51008f724d3.js"],"name":"Toaster","async":false} +5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Team Management"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$L9",null,{"className":"flex-1","children":["$","$La",null,{"className":"max-h-[100vh]","children":[["$","$Lb",null,{}],["$","div",null,{"className":"p-4","children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","team","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lc",["$","$Ld",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"team"},"styles":[]}],"segment":"settings"},"styles":[]}]}]]}]}]}],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$Le",null,{"richColors":true}],null]}]}]]}],null] +c:null diff --git a/ee/tabby-webserver/ui/team.html b/ee/tabby-webserver/ui/team.html deleted file mode 100644 index c0f16d5da57e..000000000000 --- a/ee/tabby-webserver/ui/team.html +++ /dev/null @@ -1 +0,0 @@ -Tabby - Team Management

Pending Invites

Members

\ No newline at end of file diff --git a/ee/tabby-webserver/ui/team.txt b/ee/tabby-webserver/ui/team.txt deleted file mode 100644 index 5a9957f434a4..000000000000 --- a/ee/tabby-webserver/ui/team.txt +++ /dev/null @@ -1,15 +0,0 @@ -1:HL["/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -2:HL["/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -3:HL["/_next/static/css/99bd59844a757a8f.css","style"] -0:["tMrzerf0188ZcKSR-xbdl",[[["",{"children":["(dashboard)",{"children":["team",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99bd59844a757a8f.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":42761,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5224:static/chunks/5224-49d6d8b64810cc3e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","3185:static/chunks/app/layout-a55e9467d63125e4.js"],"name":"Providers","async":false} -8:I{"id":81443,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -9:I{"id":18639,"chunks":["2272:static/chunks/webpack-d1a565a4b87ec7af.js","2971:static/chunks/fd9d1056-a5449620cb20bbc5.js","7864:static/chunks/7864-e09e568e91e5ed29.js"],"name":"","async":false} -a:I{"id":67854,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"","async":false} -b:I{"id":18851,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"ScrollArea","async":false} -c:I{"id":81496,"chunks":["5328:static/chunks/5328-77e3e9e48a9bea9e.js","2047:static/chunks/2047-2ade212d24811181.js","4012:static/chunks/4012-44f2b4af6b9fad01.js","1629:static/chunks/1629-85e5cded21f77d75.js","9503:static/chunks/9503-5e587cc77d308fb5.js","5479:static/chunks/5479-8336a6ddd5158337.js","1621:static/chunks/1621-8722ce7f0a9da221.js","6655:static/chunks/6655-15f6a1edc5fe710f.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","5642:static/chunks/app/(dashboard)/layout-76d6887e34bd6ff1.js"],"name":"Header","async":false} -e:I{"id":84532,"chunks":["6990:static/chunks/13b76428-f0fe9fe157a3353a.js","5328:static/chunks/5328-77e3e9e48a9bea9e.js","1424:static/chunks/1424-78cca59938e343eb.js","5414:static/chunks/5414-06b80b739a31c06e.js","7820:static/chunks/7820-ceb91098cbc2ba2b.js","1894:static/chunks/1894-3767909c2d941ab2.js","339:static/chunks/app/(dashboard)/team/page-273dd73d6c8072a3.js"],"name":"","async":false} -5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Team Management"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_e66fe9 __variable_bd9c35","children":[["$","$L6",null,{"richColors":true}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":[null,["$","main",null,{"className":"flex flex-1 flex-col","children":["$","$La",null,{"className":"flex-1","children":["$","$Lb",null,{"className":"max-h-[100vh]","children":[["$","$Lc",null,{}],["$","div",null,{"className":"p-4","children":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$","$L8",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","team","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","$Le",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"team"},"styles":[]}]}]]}]}]}],null],"segment":"(dashboard)"},"styles":[]}]}],null]}]]}]]}],null] -d:null