Spaces:
Running
Running
Docker 版:服务器抓取 Telegram,数据存 Cloudflare R2
Browse files- Dockerfile +8 -1
- README.md +10 -6
- public/assets/App-GV61TZeX.js +0 -0
- public/assets/ErrorBoundary-Bpoe_81u.js +1 -0
- public/assets/client-BlQxAbrl.js +0 -0
- public/assets/index-B4dC72NG.css +1 -0
- public/assets/index-BE6rTi0X.js +1 -0
- public/assets/index-BlGQAcOD.js +21 -0
- public/assets/index-CSjziSyP.js +5 -0
- public/assets/index-DBmve0NR.js +1 -0
- public/assets/jsx-dev-runtime-Czb3f8pQ.js +14 -0
- public/assets/useInfiniteQuery-DL16ew97.js +14 -0
- public/index.html +128 -0
- server.js +0 -0
Dockerfile
CHANGED
|
@@ -1 +1,8 @@
|
|
| 1 |
-
FROM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:22-slim
|
| 2 |
+
ENV NODE_ENV=production PORT=7860
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
COPY --chown=1000:1000 server.js ./server.js
|
| 5 |
+
COPY --chown=1000:1000 public ./public
|
| 6 |
+
USER 1000
|
| 7 |
+
EXPOSE 7860
|
| 8 |
+
CMD ["node", "server.js"]
|
README.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
colorFrom: red
|
| 6 |
colorTo: gray
|
| 7 |
sdk: docker
|
| 8 |
-
app_port:
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: 小说素材库
|
| 3 |
+
emoji: 📚
|
| 4 |
+
colorFrom: pink
|
|
|
|
| 5 |
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# 小说素材库
|
| 12 |
+
|
| 13 |
+
收集 Telegram 公开频道的帖子,按频道分开整理,并筛选成小说灵感素材。
|
| 14 |
|
| 15 |
+
- Docker 运行:服务器直接读取 Telegram,每 30 分钟自动抓新帖,新频道在后台收集全部历史
|
| 16 |
+
- 数据保存在 Cloudflare R2(Space secrets:R2_ACCESS_KEY_ID / R2_SECRET_ACCESS_KEY / R2_ENDPOINT / R2_BUCKET)
|
| 17 |
+
- 访问密码:Space secret `APP_PASSWORD`,第一次输入后保存在浏览器里
|
public/assets/App-GV61TZeX.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
public/assets/ErrorBoundary-Bpoe_81u.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
var m=Object.defineProperty;var p=(e,r,t)=>r in e?m(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var i=(e,r,t)=>p(e,typeof r!="symbol"?r+"":r,t);import{j as o}from"./jsx-dev-runtime-Czb3f8pQ.js";import{r as f}from"./index-BE6rTi0X.js";import"./index-BlGQAcOD.js";const u="__dep_reload",a=6,c=6e4,g=["reading 'useState'","reading 'useEffect'","reading 'useRef'","reading 'useCallback'","reading 'useMemo'","reading 'useContext'","reading 'useReducer'"];function d(e){return g.some(r=>e.includes(r))}function l(){try{const e=sessionStorage.getItem(u);if(e)return JSON.parse(e)}catch{}return{c:0,t:0}}class N extends f.Component{constructor(){super(...arguments);i(this,"state",{error:null})}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t){if(!d(t.message))return;const s=l(),n=Date.now()-s.t>c?0:s.c;n<a&&(sessionStorage.setItem(u,JSON.stringify({c:n+1,t:Date.now()})),setTimeout(()=>location.reload(),3e3))}render(){if(this.state.error){if(this.props.fallback)return this.props.fallback;if(d(this.state.error.message)){const{c:t,t:s}=l();if(!(Date.now()-s<=c)||t<a)return o.jsxDEV("div",{style:{padding:"24px",margin:"16px",borderRadius:"12px",background:"rgba(59,130,246,0.06)",border:"1px solid rgba(59,130,246,0.15)",color:"#3b82f6",fontSize:"13px",fontFamily:"system-ui, sans-serif",textAlign:"center"},children:[o.jsxDEV("p",{style:{fontWeight:600,marginBottom:"4px"},children:"Loading dependencies..."},void 0,!1,{fileName:"/workspaces/frontend/src/ErrorBoundary.tsx",lineNumber:81,columnNumber:15},this),o.jsxDEV("p",{style:{opacity:.7,fontSize:"12px"},children:"Reloading automatically"},void 0,!1,{fileName:"/workspaces/frontend/src/ErrorBoundary.tsx",lineNumber:82,columnNumber:15},this)]},void 0,!0,{fileName:"/workspaces/frontend/src/ErrorBoundary.tsx",lineNumber:70,columnNumber:13},this)}return o.jsxDEV("div",{style:{padding:"24px",margin:"16px",borderRadius:"12px",background:"rgba(245,34,45,0.06)",border:"1px solid rgba(245,34,45,0.15)",color:"#c0392b",fontSize:"13px",fontFamily:"monospace"},children:[o.jsxDEV("p",{style:{fontWeight:600,marginBottom:"8px"},children:"Component Error"},void 0,!1,{fileName:"/workspaces/frontend/src/ErrorBoundary.tsx",lineNumber:99,columnNumber:11},this),o.jsxDEV("p",{style:{opacity:.8},children:this.state.error.message},void 0,!1,{fileName:"/workspaces/frontend/src/ErrorBoundary.tsx",lineNumber:100,columnNumber:11},this)]},void 0,!0,{fileName:"/workspaces/frontend/src/ErrorBoundary.tsx",lineNumber:89,columnNumber:9},this)}return this.props.children}}export{N as default};
|
public/assets/client-BlQxAbrl.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
public/assets/index-B4dC72NG.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
@import"https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700;900&family=Roboto+Mono:wght@400;500&display=swap";/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-600:oklch(57.7% .245 27.325);--color-black:#000;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-widest:.1em;--leading-relaxed:1.625;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-2xl:40px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:var(--background);--color-foreground:var(--foreground);--color-border:var(--border)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before{border-color:var(--color-border)}body{background-color:var(--color-background);color:var(--color-foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Lato,PingFang SC,sans-serif}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-12{top:calc(var(--spacing) * -12)}.top-0{top:calc(var(--spacing) * 0)}.top-1{top:calc(var(--spacing) * 1)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.-right-12{right:calc(var(--spacing) * -12)}.right-0{right:calc(var(--spacing) * 0)}.right-1{right:calc(var(--spacing) * 1)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-12{bottom:calc(var(--spacing) * -12)}.bottom-0{bottom:calc(var(--spacing) * 0)}.-left-12{left:calc(var(--spacing) * -12)}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-3{left:calc(var(--spacing) * 3)}.left-\[50\%\]{left:50%}.z-10{z-index:10}.z-50{z-index:50}.z-\[1\]{z-index:1}.z-\[100\]{z-index:100}.order-1{order:1}.order-2{order:2}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.-mt-4{margin-top:calc(var(--spacing) * -4)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-24{margin-top:calc(var(--spacing) * 24)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing) * 2)}.-mb-6{margin-bottom:calc(var(--spacing) * -6)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-4{margin-left:calc(var(--spacing) * -4)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.aspect-square{aspect-ratio:1}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-\[--cell-size\]{width:--cell-size;height:--cell-size}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-28{height:calc(var(--spacing) * 28)}.h-40{height:calc(var(--spacing) * 40)}.h-\[--cell-size\]{height:--cell-size}.h-\[1px\]{height:1px}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[--radix-context-menu-content-available-height\]{max-height:--radix-context-menu-content-available-height}.max-h-\[--radix-select-content-available-height\]{max-height:--radix-select-content-available-height}.max-h-\[85vh\]{max-height:85vh}.max-h-\[300px\]{max-height:300px}.max-h-\[var\(--radix-dropdown-menu-content-available-height\)\]{max-height:var(--radix-dropdown-menu-content-available-height)}.max-h-screen{max-height:100vh}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-4\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-28{width:calc(var(--spacing) * 28)}.w-40{width:calc(var(--spacing) * 40)}.w-48{width:calc(var(--spacing) * 48)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[--cell-size\]{width:--cell-size}.w-\[1px\]{width:1px}.w-\[100px\]{width:100px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-\[180px\]{max-width:180px}.max-w-lg{max-width:var(--container-lg)}.max-w-max{max-width:max-content}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-9{min-width:calc(var(--spacing) * 9)}.min-w-10{min-width:calc(var(--spacing) * 10)}.min-w-\[--cell-size\]{min-width:--cell-size}.min-w-\[8rem\]{min-width:8rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[200px\]{min-width:200px}.min-w-\[260px\]{min-width:260px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.origin-\[--radix-context-menu-content-transform-origin\]{transform-origin:--radix-context-menu-content-transform-origin}.origin-\[--radix-dropdown-menu-content-transform-origin\]{transform-origin:--radix-dropdown-menu-content-transform-origin}.origin-\[--radix-hover-card-content-transform-origin\]{transform-origin:--radix-hover-card-content-transform-origin}.origin-\[--radix-menubar-content-transform-origin\]{transform-origin:--radix-menubar-content-transform-origin}.origin-\[--radix-popover-content-transform-origin\]{transform-origin:--radix-popover-content-transform-origin}.origin-\[--radix-select-content-transform-origin\]{transform-origin:--radix-select-content-transform-origin}.origin-\[--radix-tooltip-content-transform-origin\]{transform-origin:--radix-tooltip-content-transform-origin}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[120px_1fr_64px\]{grid-template-columns:120px 1fr 64px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-px{gap:1px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 1) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\[10px\]{border-radius:10px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.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:calc(var(--radius) + 4px)}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[var\(--border-base\)\]{border-color:var(--border-base)}.border-border{border-color:var(--border)}.border-brand-60{border-color:var(--brand-60)}.border-brand-100{border-color:var(--brand-100)}.border-destructive,.border-destructive\/50{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.border-destructive\/50{border-color:color-mix(in oklab,var(--destructive) 50%,transparent)}}.border-input{border-color:var(--input)}.border-primary,.border-primary\/50{border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\/50{border-color:color-mix(in oklab,var(--primary) 50%,transparent)}}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\[var\(--bg-subtle\)\]{background-color:var(--bg-subtle)}.bg-\[var\(--neutral-0\)\]{background-color:var(--neutral-0)}.bg-accent{background-color:var(--accent)}.bg-background{background-color:var(--background)}.bg-bg-chat{background-color:var(--bg-chat)}.bg-bg-menu{background-color:var(--bg-menu)}.bg-bg-subtle{background-color:var(--bg-subtle)}.bg-bg-subtle-hover{background-color:var(--bg-subtle-hover)}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black) 60%,transparent)}}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\/80{background-color:color-mix(in oklab,var(--color-black) 80%,transparent)}}.bg-border{background-color:var(--border)}.bg-brand-10{background-color:var(--brand-10)}.bg-brand-30{background-color:var(--brand-30)}.bg-brand-100{background-color:var(--brand-100)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-foreground\/5{background-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\/5{background-color:color-mix(in oklab,var(--foreground) 5%,transparent)}}.bg-muted,.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary,.bg-primary\/20{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/20{background-color:color-mix(in oklab,var(--primary) 20%,transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.fill-current{fill:currentColor}.fill-primary{fill:var(--primary)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-10{padding:calc(var(--spacing) * 10)}.p-\[1px\]{padding:1px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-\[--cell-size\]{padding-inline:--cell-size}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[15px\]{font-size:15px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[var\(--fg-subtle\)\]{color:var(--fg-subtle)}.text-accent-foreground{color:var(--accent-foreground)}.text-brand-100{color:var(--brand-100)}.text-card-foreground{color:var(--card-foreground)}.text-current{color:currentColor}.text-destructive{color:var(--destructive)}.text-destructive-foreground{color:var(--destructive-foreground)}.text-fg-base{color:var(--fg-base)}.text-fg-disabled{color:var(--fg-disabled)}.text-fg-muted{color:var(--fg-muted)}.text-fg-subtle{color:var(--fg-subtle)}.text-foreground,.text-foreground\/50{color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\/50{color:color-mix(in oklab,var(--foreground) 50%,transparent)}}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.italic{font-style:italic}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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-2xl{--tw-backdrop-blur:blur(var(--blur-2xl));-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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.\[--cell-size\:2rem\]{--cell-size:2rem}.running{animation-play-state:running}@media(hover:hover){.group-hover\:text-fg-base:is(:where(.group):hover *){color:var(--fg-base)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[focused\=true\]\/day\:relative:is(:where(.group\/day)[data-focused=true] *){position:relative}.group-data-\[focused\=true\]\/day\:z-10:is(:where(.group\/day)[data-focused=true] *){z-index:10}.group-data-\[focused\=true\]\/day\:border-ring:is(:where(.group\/day)[data-focused=true] *){border-color:var(--ring)}.group-data-\[focused\=true\]\/day\:ring-\[3px\]:is(:where(.group\/day)[data-focused=true] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused=true] *){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused=true] *){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-\[\.destructive\]\:border-muted\/40:is(:where(.group).destructive *){border-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.group-\[\.destructive\]\:border-muted\/40:is(:where(.group).destructive *){border-color:color-mix(in oklab,var(--muted) 40%,transparent)}}.group-\[\.destructive\]\:text-red-300:is(:where(.group).destructive *){color:var(--color-red-300)}.group-\[\.toast\]\:bg-muted:is(:where(.group).toast *){background-color:var(--muted)}.group-\[\.toast\]\:bg-primary:is(:where(.group).toast *){background-color:var(--primary)}.group-\[\.toast\]\:text-muted-foreground:is(:where(.group).toast *){color:var(--muted-foreground)}.group-\[\.toast\]\:text-primary-foreground:is(:where(.group).toast *){color:var(--primary-foreground)}.group-\[\.toaster\]\:border-border:is(:where(.group).toaster *){border-color:var(--border)}.group-\[\.toaster\]\:bg-background:is(:where(.group).toaster *){background-color:var(--background)}.group-\[\.toaster\]\:text-foreground:is(:where(.group).toaster *){color:var(--foreground)}.group-\[\.toaster\]\:shadow-lg:is(:where(.group).toaster *){--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:calc(var(--spacing) * 1)}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-bg-subtle:hover{background-color:var(--bg-subtle)}.hover\:bg-destructive\/80:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/80:hover{background-color:color-mix(in oklab,var(--destructive) 80%,transparent)}}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive) 90%,transparent)}}.hover\:bg-muted:hover,.hover\:bg-muted\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.hover\:bg-primary\/80:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/80:hover{background-color:color-mix(in oklab,var(--primary) 80%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary) 90%,transparent)}}.hover\:bg-secondary:hover,.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-fg-base:hover{color:var(--fg-base)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.group-\[\.destructive\]\:hover\:border-destructive\/30:is(:where(.group).destructive *):hover{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.group-\[\.destructive\]\:hover\:border-destructive\/30:is(:where(.group).destructive *):hover{border-color:color-mix(in oklab,var(--destructive) 30%,transparent)}}.group-\[\.destructive\]\:hover\:bg-destructive:is(:where(.group).destructive *):hover{background-color:var(--destructive)}.group-\[\.destructive\]\:hover\:text-destructive-foreground:is(:where(.group).destructive *):hover{color:var(--destructive-foreground)}.group-\[\.destructive\]\:hover\:text-red-50:is(:where(.group).destructive *):hover{color:var(--color-red-50)}}.focus\:border-border-focus:focus{border-color:var(--border-focus)}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:opacity-100:focus{opacity:1}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.group-\[\.destructive\]\:focus\:ring-destructive:is(:where(.group).destructive *):focus{--tw-ring-color:var(--destructive)}.group-\[\.destructive\]\:focus\:ring-red-400:is(:where(.group).destructive *):focus{--tw-ring-color:var(--color-red-400)}.group-\[\.destructive\]\:focus\:ring-offset-red-600:is(:where(.group).destructive *):focus{--tw-ring-offset-color:var(--color-red-600)}.focus-visible\:border-\[var\(--fg-base\)\]:focus-visible{border-color:var(--fg-base)}.focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:var(--background)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.has-focus\:border-ring:has(:focus){border-color:var(--ring)}.has-focus\:ring-\[3px\]:has(:focus){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.has-focus\:ring-ring\/50:has(:focus){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.has-focus\:ring-ring\/50:has(:focus){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:text-muted-foreground[aria-selected=true]{color:var(--muted-foreground)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true]{pointer-events:none}.data-\[disabled\=true\]\:opacity-50[data-disabled=true]{opacity:.5}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(52*var(--spacing))}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(52*var(--spacing)*-1)}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(52*var(--spacing))}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(52*var(--spacing)*-1)}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.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-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:calc(var(--spacing) * 0)}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:calc(var(--spacing) * 1)}.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-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\[range-end\=true\]\:rounded-md[data-range-end=true]{border-radius:calc(var(--radius) - 2px)}.data-\[range-end\=true\]\:bg-primary[data-range-end=true]{background-color:var(--primary)}.data-\[range-end\=true\]\:text-primary-foreground[data-range-end=true]{color:var(--primary-foreground)}.data-\[range-middle\=true\]\:rounded-none[data-range-middle=true]{border-radius:0}.data-\[range-middle\=true\]\:bg-accent[data-range-middle=true]{background-color:var(--accent)}.data-\[range-middle\=true\]\:text-accent-foreground[data-range-middle=true]{color:var(--accent-foreground)}.data-\[range-start\=true\]\:rounded-md[data-range-start=true]{border-radius:calc(var(--radius) - 2px)}.data-\[range-start\=true\]\:bg-primary[data-range-start=true]{background-color:var(--primary)}.data-\[range-start\=true\]\:text-primary-foreground[data-range-start=true]{color:var(--primary-foreground)}.data-\[selected-single\=true\]\:bg-primary[data-selected-single=true]{background-color:var(--primary)}.data-\[selected-single\=true\]\:text-primary-foreground[data-selected-single=true]{color:var(--primary-foreground)}.data-\[selected\=true\]\:rounded-none[data-selected=true]{border-radius:0}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:var(--accent)}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:var(--accent-foreground)}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--background)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--foreground)}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--primary)}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:var(--primary-foreground)}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:.2s ease-out accordion-up}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:.8}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50% }.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100% }.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48% }.data-\[state\=hidden\]\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:var(--accent)}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:var(--accent-foreground)}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:.2s ease-out accordion-down}.data-\[state\=open\]\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:bg-accent[data-state=open],.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:color-mix(in oklab,var(--accent) 50%,transparent)}}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--secondary)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50% }.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48% }.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100% }@media(hover:hover){.data-\[state\=open\]\:hover\:bg-accent[data-state=open]:hover{background-color:var(--accent)}}.data-\[state\=open\]\:focus\:bg-accent[data-state=open]:focus{background-color:var(--accent)}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--muted)}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:var(--input)}.data-\[state\=visible\]\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity:0}.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}@media(min-width:40rem){.sm\:top-auto{top:auto}.sm\:right-0{right:calc(var(--spacing) * 0)}.sm\:bottom-0{bottom:calc(var(--spacing) * 0)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:flex-col{flex-direction:column}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:calc(var(--spacing) * 2.5)}:where(.sm\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100% }}@media(min-width:48rem){.md\:absolute{position:absolute}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:max-w-\[420px\]{max-width:420px}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:64rem){.lg\:sticky{position:sticky}.lg\:top-4{top:calc(var(--spacing) * 4)}.lg\:order-1{order:1}.lg\:order-2{order:2}.lg\:max-h-\[calc\(100vh-2rem\)\]{max-height:calc(100vh - 2rem)}.lg\:grid-cols-\[1fr_300px\]{grid-template-columns:1fr 300px}.lg\:grid-cols-\[280px_1fr\]{grid-template-columns:280px 1fr}.lg\:self-start{align-self:flex-start}.lg\:overflow-y-auto{overflow-y:auto}}@media(prefers-color-scheme:dark){.dark\:border-destructive{border-color:var(--destructive)}}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-inline:calc(var(--spacing) * 2)}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-block:calc(var(--spacing) * 1.5)}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:var(--muted-foreground)}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-inline:calc(var(--spacing) * 2)}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:calc(var(--spacing) * 0)}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:calc(var(--spacing) * 5)}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:calc(var(--spacing) * 5)}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:calc(var(--spacing) * 12)}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-inline:calc(var(--spacing) * 2)}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-block:calc(var(--spacing) * 3)}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:calc(var(--spacing) * 5)}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:calc(var(--spacing) * 5)}.\[\&_p\]\:leading-relaxed p{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\+div\]\:text-xs+div{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md:first-child[data-selected=true] button{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing) * 0)}:is(.rtl\:\*\*\:\[\.rdp-button\\_next\>svg\]\:rotate-180:where(:dir(rtl),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_next>svg),:is(.rtl\:\*\*\:\[\.rdp-button\\_previous\>svg\]\:rotate-180:where(:dir(rtl),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_previous>svg){rotate:180deg}.\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md:last-child[data-selected=true] button{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x) var(--tw-translate-y)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>span\]\:text-xs>span{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\[\&\>span\]\:opacity-70>span{opacity:.7}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:top-4>svg{top:calc(var(--spacing) * 4)}.\[\&\>svg\]\:left-4>svg{left:calc(var(--spacing) * 4)}.\[\&\>svg\]\:size-3\.5>svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\]\:h-3\.5>svg{height:calc(var(--spacing) * 3.5)}.\[\&\>svg\]\:w-3\.5>svg{width:calc(var(--spacing) * 3.5)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-destructive>svg{color:var(--destructive)}.\[\&\>svg\]\:text-foreground>svg{color:var(--foreground)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--muted-foreground)}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;translate:var(--tw-translate-x) var(--tw-translate-y)}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:calc(var(--spacing) * 7)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{rotate:90deg}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{rotate:180deg}[data-slot=card-content] .\[\[data-slot\=card-content\]_\&\]\:bg-transparent,[data-slot=popover-content] .\[\[data-slot\=popover-content\]_\&\]\:bg-transparent{background-color:#0000}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}to{height:0}}:root{--background:#fff;--foreground:#212121;--card:#fff;--card-foreground:#212121;--popover:#fff;--popover-foreground:#212121;--primary:#ff2974;--primary-foreground:#fff;--secondary:#f3f2f2;--secondary-foreground:#212121;--muted:#f3f2f2;--muted-foreground:#7a7a7a;--accent:#f3f2f2;--accent-foreground:#212121;--destructive:#f5242e;--destructive-foreground:#fff;--border:#e8e8e8;--input:#e8e8e8;--ring:#212121;--radius:.5rem;--neutral-0:#fff;--neutral-50:#fafafa;--neutral-100:#f5f4f4;--neutral-200:#e7e7e7;--neutral-300:#d8d8d8;--neutral-400:#aaa;--neutral-500:#7a7a7a;--neutral-600:#5b5b5b;--neutral-700:#464646;--neutral-800:#2a2a2a;--neutral-900:#212121;--neutral-950:#1b1b1b;--neutral-1000:#101010;--brand-100:#ff2882;--brand-60:#ff288299;--brand-30:#ff28824d;--brand-10:#ff28821a;--brand-seafoam:#b6cfd0;--brand-dusty-teal:#6ba4b8;--brand-black-aqua:#002f38;--brand-deep-teal-blue:#07272d;--visualizer-rose-pop:#fd4b96;--visualizer-indigo-breeze:#6366f1;--visualizer-emerald-mint:#10b981;--visualizer-golden-amber:#f59e0b;--visualizer-royal-blue:#1d4ed8;--visualizer-crimson-spark:#ef4444;--visualizer-aqua-glow:#06b6d4;--visualizer-sunbeam-yellow:#facc15;--bg-subtle:#2a2a2a0a;--bg-subtle-hover:#2a2a2a0f;--bg-base:#ffffffe0;--bg-base-opaque:#fff;--bg-menu:#fff;--bg-chat:#fcfcfc;--bg-chat-nav:#f4f4f4;--fg-base:#212121;--fg-subtle:#7a7a7a;--fg-muted:#aaa;--fg-disabled:#d8d8d8;--border-base:#2a2a2a0a;--border-strong:#2a2a2a14;--border-contrast:#2a2a2a1f;--border-focus:#2a2a2a66;--tag-blue-10:#5bb5ff1a;--tag-blue-100:#5bb5ff;--tag-yellow-10:#dec3781a;--tag-yellow-100:#dec378;--tag-purple-10:#908eb81a;--tag-purple-100:#908eb8;--tag-cyan-10:#74ada41a;--tag-cyan-100:#74ada4;--tag-pink-10:#b88ea71a;--tag-pink-100:#b88ea7;--tag-orange-10:#b8a08e1a;--tag-orange-100:#b8a08e;--gradient-max-dark:linear-gradient(213deg, #8c421d 2%, #fbe67b 31%, #fcfbe7 53%, #f7d14e 77%, #d4a041 100%);--gradient-max-light:linear-gradient(125deg, #8c421d 22%, #d2af00 47%, #cd9124 67%, #d4a041 88%);--gradient-pro-dark:linear-gradient(213deg, #7a96ac 1%, #c5d6e2 27%, #eaeff3 47%, #c5d6e2 65%, #a3bccf 89%);--gradient-pro-light:linear-gradient(129deg, #7a96ac 4%, #6d7f8d 27%, #9fb9ce 55%, #6d7f8d 90%);--gradient-plus-dark:linear-gradient(214deg, #986732 0%, #a7825b 23%, #f6d0ab 45%, #a07043 66%, #9d774e 100%);--gradient-plus-light:linear-gradient(129deg, #9e8976 5%, #7a5e50 19%, #f6d0ab 35%, #9d774e 49%, #c99b70 65%, #795f52 78%);--gradient-upgrade-dark:linear-gradient(214deg, #ffedf3 0%, #ff9fbf 30%, #fd5d92 59%, #ffdab2 100%);--gradient-upgrade-light:linear-gradient(32deg, #fc3bb2 6%, #f7906e 79%);--gradient-new-function:linear-gradient(33deg, #6e86ff 17%, #ff2882 55%, #ff98a4 103%);--gradient-suggestion:linear-gradient(32deg, #fd538c 4%, #5aa6e0 47%, #ffdab2 98%);--gradient-g1:linear-gradient(189deg, #ffacc6 6%, #b6e0f5 99%);--gradient-g2:linear-gradient(34deg, #9796f0 9%, #fbc7d4 84%);--gradient-g3:linear-gradient(to right, #ed4264, #ffedbc);--gradient-g4:linear-gradient(232deg, #fedc2a 4%, #dd5789 56%, #7a2c9e 104%);--gradient-g5:linear-gradient(32deg, #fc3bb2 6%, #f7906e 79%);--gradient-max:var(--gradient-max-light);--gradient-pro:var(--gradient-pro-light);--gradient-plus:var(--gradient-plus-light);--gradient-upgrade:var(--gradient-upgrade-light);--spacing-2:2px;--spacing-4:4px;--spacing-6:6px;--spacing-8:8px;--spacing-10:10px;--spacing-12:12px;--spacing-16:16px;--spacing-24:24px;--spacing-32:32px;--spacing-40:40px;--spacing-64:64px;--spacing-96:96px;--spacing-128:128px;--radius-2:2px;--radius-4:4px;--radius-6:6px;--radius-8:8px;--radius-10:10px;--radius-12:12px;--radius-16:16px;--radius-20:20px;--radius-24:24px;--radius-full:999px;--font-family-header:"Lato", "PingFang SC", sans-serif;--font-family-body:"Lato", "PingFang SC", sans-serif;--font-family-code:"Roboto Mono", monospace}.dark{--background:#171717;--foreground:#e8e8e8;--card:#171717;--card-foreground:#e8e8e8;--popover:#262626;--popover-foreground:#e8e8e8;--primary:#ff2974;--primary-foreground:#fff;--secondary:#292929;--secondary-foreground:#e8e8e8;--muted:#292929;--muted-foreground:#ababab;--accent:#292929;--accent-foreground:#e8e8e8;--destructive:#ff4c4f;--destructive-foreground:#fff;--border:#333;--input:#333;--ring:#e7e7e7;--gradient-max:var(--gradient-max-dark);--gradient-pro:var(--gradient-pro-dark);--gradient-plus:var(--gradient-plus-dark);--gradient-upgrade:var(--gradient-upgrade-dark);--bg-subtle:#ffffff0a;--bg-subtle-hover:#ffffff1f;--bg-base:#2a2a2acc;--bg-base-opaque:#171717;--bg-menu:#252525;--bg-chat:#101010;--bg-chat-nav:#171717;--fg-base:#e7e7e7;--fg-subtle:#aaa;--fg-muted:#7a7a7a;--fg-disabled:#5b5b5b;--border-base:#ffffff0a;--border-strong:#ffffff14;--border-contrast:#ffffff1f;--border-focus:#fff6}@media(max-width:768px){:root{--spacing-96:64px;--spacing-128:64px}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@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));filter:blur(var(--tw-enter-blur,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));filter:blur(var(--tw-exit-blur,0))}}
|
public/assets/index-BE6rTi0X.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{g as c,r as f}from"./index-BlGQAcOD.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=f();const p=c(s),g=i({__proto__:null,default:p},[s]);export{p as R,g as i,s as r};
|
public/assets/index-BlGQAcOD.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function Ue(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var Q={exports:{}},b={exports:{}};b.exports;var Ee;function Ye(){return Ee||(Ee=1,(function(p,u){/**
|
| 2 |
+
* @license React
|
| 3 |
+
* react.development.js
|
| 4 |
+
*
|
| 5 |
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 6 |
+
*
|
| 7 |
+
* This source code is licensed under the MIT license found in the
|
| 8 |
+
* LICENSE file in the root directory of this source tree.
|
| 9 |
+
*/(function(){function Re(e,t){Object.defineProperty(m.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function Te(e){return e===null||typeof e!="object"?null:(e=se&&e[se]||e["@@iterator"],typeof e=="function"?e:null)}function M(e,t){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var r=e+"."+t;ie[r]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,e),ie[r]=!0)}function m(e,t,r){this.props=e,this.context=t,this.refs=H,this.updater=r||ce}function B(){}function N(e,t,r){this.props=e,this.context=t,this.refs=H,this.updater=r||ce}function L(){}function K(e){return""+e}function R(e){try{K(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),K(e)}}function T(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case re:return"Profiler";case te:return"StrictMode";case ue:return"Suspense";case Pe:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ee:return"Portal";case ne:return e.displayName||"Context";case W:return(e._context.displayName||"Context")+".Consumer";case oe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case z:return t=e.displayName||null,t!==null?t:T(e.type)||"Memo";case w:t=e._payload,e=e._init;try{return T(e(t))}catch{}}return null}function F(e){if(e===q)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===w)return"<...>";try{var t=T(e);return t?"<"+t+">":"<...>"}catch{return"<...>"}}function X(){var e=s.A;return e===null?null:e.getOwner()}function V(){return Error("react-stack-top-frame")}function Z(e){if(A.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function Oe(e,t){function r(){pe||(pe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}function ke(){var e=T(this.type);return me[e]||(me[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function $(e,t,r,n,o,i){var a=r.ref;return e={$$typeof:I,type:e,key:t,props:r,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:ke}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function Se(e,t){return t=$(e.type,t,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(t._store.validated=e._store.validated),t}function J(e){y(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===w&&(e._payload.status==="fulfilled"?y(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function y(e){return typeof e=="object"&&e!==null&&e.$$typeof===I}function Ae(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}function D(e,t){return typeof e=="object"&&e!==null&&e.key!=null?(R(e.key),Ae(""+e.key)):t.toString(36)}function Ce(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(L,L):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function g(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case I:case ee:a=!0;break;case w:return a=e._init,g(a(e._payload),t,r,n,o)}}if(a){a=e,o=o(a);var f=n===""?"."+D(a,0):n;return le(o)?(r="",f!=null&&(r=f.replace(ge,"$&/")+"/"),g(o,t,r,"",function(h){return h})):o!=null&&(y(o)&&(o.key!=null&&(a&&a.key===o.key||R(o.key)),r=Se(o,r+(o.key==null||a&&a.key===o.key?"":(""+o.key).replace(ge,"$&/")+"/")+f),n!==""&&a!=null&&y(a)&&a.key==null&&a._store&&!a._store.validated&&(r._store.validated=2),o=r),t.push(o)),1}if(a=0,f=n===""?".":n+":",le(e))for(var c=0;c<e.length;c++)n=e[c],i=f+D(n,c),a+=g(n,t,r,i,o);else if(c=Te(e),typeof c=="function")for(c===e.entries&&(ye||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ye=!0),e=c.call(e),c=0;!(n=e.next()).done;)n=n.value,i=f+D(n,c++),a+=g(n,t,r,i,o);else if(i==="object"){if(typeof e.then=="function")return g(Ce(e),t,r,n,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return a}function O(e,t,r){if(e==null)return e;var n=[],o=0;return g(e,n,"","",function(i){return t.call(r,i,o++)}),n}function je(e){if(e._status===-1){var t=e._ioInfo;t!=null&&(t.start=t.end=performance.now()),t=e._result;var r=t();if(r.then(function(o){if(e._status===0||e._status===-1){e._status=1,e._result=o;var i=e._ioInfo;i!=null&&(i.end=performance.now()),r.status===void 0&&(r.status="fulfilled",r.value=o)}},function(o){if(e._status===0||e._status===-1){e._status=2,e._result=o;var i=e._ioInfo;i!=null&&(i.end=performance.now()),r.status===void 0&&(r.status="rejected",r.reason=o)}}),t=e._ioInfo,t!=null){t.value=r;var n=r.displayName;typeof n=="string"&&(t.name=n)}e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return t=e._result,t===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
| 10 |
+
|
| 11 |
+
Your code should look like:
|
| 12 |
+
const MyComponent = lazy(() => import('./MyComponent'))
|
| 13 |
+
|
| 14 |
+
Did you accidentally put curly braces around the import?`,t),"default"in t||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
| 15 |
+
|
| 16 |
+
Your code should look like:
|
| 17 |
+
const MyComponent = lazy(() => import('./MyComponent'))`,t),t.default;throw e._result}function l(){var e=s.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
| 18 |
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
| 19 |
+
2. You might be breaking the Rules of Hooks
|
| 20 |
+
3. You might have more than one copy of React in the same app
|
| 21 |
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function x(){s.asyncTransitions--}function k(e){if(C===null)try{var t=("require"+Math.random()).slice(0,7);C=(p&&p[t]).call(p,"timers").setImmediate}catch{C=function(n){ve===!1&&(ve=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var o=new MessageChannel;o.port1.onmessage=n,o.port2.postMessage(void 0)}}return C(e)}function v(e){return 1<e.length&&typeof AggregateError=="function"?new AggregateError(e):e[0]}function S(e,t){t!==j-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),j=t}function Y(e,t,r){var n=s.actQueue;if(n!==null)if(n.length!==0)try{U(n),k(function(){return Y(e,t,r)});return}catch(o){s.thrownErrors.push(o)}else s.actQueue=null;0<s.thrownErrors.length?(n=v(s.thrownErrors),s.thrownErrors.length=0,r(n)):t(e)}function U(e){if(!G){G=!0;var t=0;try{for(;t<e.length;t++){var r=e[t];do{s.didUsePromise=!1;var n=r(!1);if(n!==null){if(s.didUsePromise){e[t]=r,e.splice(0,t);return}r=n}else break}while(!0)}e.length=0}catch(o){e.splice(0,t+1),s.thrownErrors.push(o)}finally{G=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var I=Symbol.for("react.transitional.element"),ee=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),Pe=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),se=Symbol.iterator,ie={},ce={isMounted:function(){return!1},enqueueForceUpdate:function(e){M(e,"forceUpdate")},enqueueReplaceState:function(e){M(e,"replaceState")},enqueueSetState:function(e){M(e,"setState")}},fe=Object.assign,H={};Object.freeze(H),m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var d={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(E in d)d.hasOwnProperty(E)&&Re(E,d[E]);B.prototype=m.prototype,d=N.prototype=new B,d.constructor=N,fe(d,m.prototype),d.isPureReactComponent=!0;var le=Array.isArray,Me=Symbol.for("react.client.reference"),s={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},A=Object.prototype.hasOwnProperty,de=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(e){return e()}};var pe,he,me={},Ne=d.react_stack_bottom_frame.bind(d,V)(),Le=de(F(V)),ye=!1,ge=/\/+/g,_e=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ve=!1,C=null,j=0,P=!1,G=!1,we=typeof queueMicrotask=="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:k;d=Object.freeze({__proto__:null,c:function(e){return l().useMemoCache(e)}});var E={map:O,forEach:function(e,t,r){O(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(t){return t})||[]},only:function(e){if(!y(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};u.Activity=ae,u.Children=E,u.Component=m,u.Fragment=q,u.Profiler=re,u.PureComponent=N,u.StrictMode=te,u.Suspense=ue,u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,u.__COMPILER_RUNTIME=d,u.act=function(e){var t=s.actQueue,r=j;j++;var n=s.actQueue=t!==null?t:[],o=!1;try{var i=e()}catch(c){s.thrownErrors.push(c)}if(0<s.thrownErrors.length)throw S(t,r),e=v(s.thrownErrors),s.thrownErrors.length=0,e;if(i!==null&&typeof i=="object"&&typeof i.then=="function"){var a=i;return we(function(){o||P||(P=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(c,h){o=!0,a.then(function(_){if(S(t,r),r===0){try{U(n),k(function(){return Y(_,c,h)})}catch(De){s.thrownErrors.push(De)}if(0<s.thrownErrors.length){var $e=v(s.thrownErrors);s.thrownErrors.length=0,h($e)}}else c(_)},function(_){S(t,r),0<s.thrownErrors.length&&(_=v(s.thrownErrors),s.thrownErrors.length=0),h(_)})}}}var f=i;if(S(t,r),r===0&&(U(n),n.length!==0&&we(function(){o||P||(P=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),s.actQueue=null),0<s.thrownErrors.length)throw e=v(s.thrownErrors),s.thrownErrors.length=0,e;return{then:function(c,h){o=!0,r===0?(s.actQueue=n,k(function(){return Y(f,c,h)})):c(f)}}},u.cache=function(e){return function(){return e.apply(null,arguments)}},u.cacheSignal=function(){return null},u.captureOwnerStack=function(){var e=s.getCurrentStack;return e===null?null:e()},u.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=fe({},e.props),o=e.key,i=e._owner;if(t!=null){var a;e:{if(A.call(t,"ref")&&(a=Object.getOwnPropertyDescriptor(t,"ref").get)&&a.isReactWarning){a=!1;break e}a=t.ref!==void 0}a&&(i=X()),Z(t)&&(R(t.key),o=""+t.key);for(f in t)!A.call(t,f)||f==="key"||f==="__self"||f==="__source"||f==="ref"&&t.ref===void 0||(n[f]=t[f])}var f=arguments.length-2;if(f===1)n.children=r;else if(1<f){a=Array(f);for(var c=0;c<f;c++)a[c]=arguments[c+2];n.children=a}for(n=$(e.type,o,n,i,e._debugStack,e._debugTask),o=2;o<arguments.length;o++)J(arguments[o]);return n},u.createContext=function(e){return e={$$typeof:ne,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:W,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},u.createElement=function(e,t,r){for(var n=2;n<arguments.length;n++)J(arguments[n]);n={};var o=null;if(t!=null)for(c in he||!("__self"in t)||"key"in t||(he=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Z(t)&&(R(t.key),o=""+t.key),t)A.call(t,c)&&c!=="key"&&c!=="__self"&&c!=="__source"&&(n[c]=t[c]);var i=arguments.length-2;if(i===1)n.children=r;else if(1<i){for(var a=Array(i),f=0;f<i;f++)a[f]=arguments[f+2];Object.freeze&&Object.freeze(a),n.children=a}if(e&&e.defaultProps)for(c in i=e.defaultProps,i)n[c]===void 0&&(n[c]=i[c]);o&&Oe(n,typeof e=="function"?e.displayName||e.name||"Unknown":e);var c=1e4>s.recentlyCreatedOwnerStacks++;return $(e,o,n,X(),c?Error("react-stack-top-frame"):Ne,c?de(F(e)):Le)},u.createRef=function(){var e={current:null};return Object.seal(e),e},u.forwardRef=function(e){e!=null&&e.$$typeof===z?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t={$$typeof:oe,render:e},r;return Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(n){r=n,e.name||e.displayName||(Object.defineProperty(e,"name",{value:n}),e.displayName=n)}}),t},u.isValidElement=y,u.lazy=function(e){e={_status:-1,_result:e};var t={$$typeof:w,_payload:e,_init:je},r={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return e._ioInfo=r,t._debugInfo=[{awaited:r}],t},u.memo=function(e,t){e==null&&console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),t={$$typeof:z,type:e,compare:t===void 0?null:t};var r;return Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(n){r=n,e.name||e.displayName||(Object.defineProperty(e,"name",{value:n}),e.displayName=n)}}),t},u.startTransition=function(e){var t=s.T,r={};r._updatedFibers=new Set,s.T=r;try{var n=e(),o=s.S;o!==null&&o(r,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&(s.asyncTransitions++,n.then(x,x),n.then(L,_e))}catch(i){_e(i)}finally{t===null&&r._updatedFibers&&(e=r._updatedFibers.size,r._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),t!==null&&r.types!==null&&(t.types!==null&&t.types!==r.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),t.types=r.types),s.T=t}},u.unstable_useCacheRefresh=function(){return l().useCacheRefresh()},u.use=function(e){return l().use(e)},u.useActionState=function(e,t,r){return l().useActionState(e,t,r)},u.useCallback=function(e,t){return l().useCallback(e,t)},u.useContext=function(e){var t=l();return e.$$typeof===W&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},u.useDebugValue=function(e,t){return l().useDebugValue(e,t)},u.useDeferredValue=function(e,t){return l().useDeferredValue(e,t)},u.useEffect=function(e,t){return e==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),l().useEffect(e,t)},u.useEffectEvent=function(e){return l().useEffectEvent(e)},u.useId=function(){return l().useId()},u.useImperativeHandle=function(e,t,r){return l().useImperativeHandle(e,t,r)},u.useInsertionEffect=function(e,t){return e==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),l().useInsertionEffect(e,t)},u.useLayoutEffect=function(e,t){return e==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),l().useLayoutEffect(e,t)},u.useMemo=function(e,t){return l().useMemo(e,t)},u.useOptimistic=function(e,t){return l().useOptimistic(e,t)},u.useReducer=function(e,t,r){return l().useReducer(e,t,r)},u.useRef=function(e){return l().useRef(e)},u.useState=function(e){return l().useState(e)},u.useSyncExternalStore=function(e,t,r){return l().useSyncExternalStore(e,t,r)},u.useTransition=function(){return l().useTransition()},u.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(b,b.exports)),b.exports}var be;function Ie(){return be||(be=1,Q.exports=Ye()),Q.exports}export{Ue as g,Ie as r};
|
public/assets/index-CSjziSyP.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BE6rTi0X.js","assets/index-BlGQAcOD.js","assets/client-BlQxAbrl.js","assets/index-DBmve0NR.js","assets/useInfiniteQuery-DL16ew97.js","assets/App-GV61TZeX.js","assets/jsx-dev-runtime-Czb3f8pQ.js","assets/ErrorBoundary-Bpoe_81u.js"])))=>i.map(i=>d[i]);
|
| 2 |
+
(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))f(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&f(s)}).observe(document,{childList:!0,subtree:!0});function i(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function f(e){if(e.ep)return;e.ep=!0;const t=i(e);fetch(e.href,t)}})();const w="modulepreload",E=function(o){return"/"+o},g={},y=function(c,i,f){let e=Promise.resolve();if(i&&i.length>0){let s=function(a){return Promise.all(a.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),m=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=s(i.map(a=>{if(a=E(a),a in g)return;g[a]=!0;const u=a.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${d}`))return;const l=document.createElement("link");if(l.rel=u?"stylesheet":w,u||(l.as="script"),l.crossOrigin="",l.href=a,m&&l.setAttribute("nonce",m),document.head.appendChild(l),u)return new Promise((n,p)=>{l.addEventListener("load",n),l.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}function t(s){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=s,window.dispatchEvent(r),!r.defaultPrevented)throw s}return e.then(s=>{for(const r of s||[])r.status==="rejected"&&t(r.reason);return c().catch(t)})};/**
|
| 3 |
+
* @license MIT <https://opensource.org/licenses/MIT>
|
| 4 |
+
* @copyright Michael Hart 2024
|
| 5 |
+
*/new TextEncoder;Math.random().toString(36).slice(2,10);const h="__dep_reload",v=6,L=6e4;function O(){try{return JSON.parse(sessionStorage.getItem(h)||"{}")}catch{return{c:0,t:0}}}async function P(){const o=document.getElementById("root");try{let c=function(){if(!document.querySelector("[data-surf-placeholder]"))try{window.parent.postMessage({type:"surf-app-ready"},"*")}catch{}};const i=await y(()=>import("./index-BE6rTi0X.js").then(n=>n.i),__vite__mapDeps([0,1]));if(typeof i.useState!="function")throw new Error("dep-stub");const{createElement:f}=i,{createRoot:e,hydrateRoot:t}=await y(async()=>{const{createRoot:n,hydrateRoot:p}=await import("./client-BlQxAbrl.js").then(_=>_.c);return{createRoot:n,hydrateRoot:p}},__vite__mapDeps([2,1])),{QueryClient:s,QueryClientProvider:r}=await y(async()=>{const{QueryClient:n,QueryClientProvider:p}=await import("./index-DBmve0NR.js");return{QueryClient:n,QueryClientProvider:p}},__vite__mapDeps([3,0,1,4])),{default:m}=await y(async()=>{const{default:n}=await import("./App-GV61TZeX.js");return{default:n}},__vite__mapDeps([5,6,1,0,4])),{default:a}=await y(async()=>{const{default:n}=await import("./ErrorBoundary-Bpoe_81u.js");return{default:n}},__vite__mapDeps([7,6,1,0])),u=new s({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:3,retryDelay:n=>Math.min(1e3*2**n,1e4),staleTime:3e4}}}),d=f(a,null,f(r,{client:u},f(m))),l=!!o.querySelector("[data-surf-placeholder]");o.childNodes.length>0&&o.innerHTML!=="<!--ssr-outlet-->"&&!l?t(o,d):(o.innerHTML="",e(o).render(d)),window.__reactOk=!0,sessionStorage.removeItem(h),c(),new MutationObserver(c).observe(o,{childList:!0,subtree:!0})}catch{const c=O(),i=Date.now()-c.t>L?0:c.c;i<v?(o.innerHTML=['<div style="padding:24px;text-align:center;font-family:system-ui,sans-serif">','<p style="color:#3b82f6;font-weight:600;margin:0 0 4px">Loading dependencies...</p>','<p style="color:#3b82f6;opacity:0.7;font-size:12px;margin:0">Reloading automatically</p>',"</div>"].join(""),sessionStorage.setItem(h,JSON.stringify({c:i+1,t:Date.now()})),setTimeout(()=>location.reload(),3e3+i*1e3)):o.innerHTML=['<div style="padding:24px;text-align:center;font-family:system-ui,sans-serif">','<p style="color:#c0392b;font-weight:600;margin:0 0 4px">Failed to load dependencies</p>','<p style="color:#c0392b;opacity:0.8;font-size:12px;margin:0">Please refresh the page</p>',"</div>"].join("")}}P();
|
public/assets/index-DBmve0NR.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
var le=t=>{throw TypeError(t)};var ee=(t,e,s)=>e.has(t)||le("Cannot "+s);var n=(t,e,s)=>(ee(t,e,"read from private field"),s?s.call(t):e.get(t)),d=(t,e,s)=>e.has(t)?le("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),c=(t,e,s,r)=>(ee(t,e,"write to private field"),r?r.call(t,s):e.set(t,s),s),R=(t,e,s)=>(ee(t,e,"access private method"),s);var Z=(t,e,s,r)=>({set _(a){c(t,e,a,s)},get _(){return n(t,e,r)}});import{r as v}from"./index-BE6rTi0X.js";import{t as Te,n as D,S as ie,M as Ke,a as m,m as de,s as Fe,r as De,Q as ue,h as Re,b as xe,c as fe,f as Be,o as ye,d as pe,e as Ue,i as ge,g as me,p as Qe,j as W,k as je,l as ze,u as x,q as _e,v as Le,w as Ne,x as $e,y as Ge,z as be,A as Je,B as Xe,C as qe,D as oe,I as Ye,E as dt}from"./useInfiniteQuery-DL16ew97.js";import{F as Ht,G as It,H as Tt,J as Kt,K as Ft,L as xt,N as Bt,O as Ut,P as jt,R as zt,T as _t,U as Lt,V as Nt,W as $t,X as Gt}from"./useInfiniteQuery-DL16ew97.js";import"./index-BlGQAcOD.js";function Ae(t){return t}function Ze(t){return{mutationKey:t.options.mutationKey,state:t.state,...t.options.scope&&{scope:t.options.scope},...t.meta&&{meta:t.meta}}}function Ve(t,e,s){const r=()=>{var i;const a=(i=t.promise)==null?void 0:i.then(e).catch(u=>s(u)?(console.error(`A query that was dehydrated as pending ended up rejecting. [${t.queryHash}]: ${u}; The error will be redacted in production builds`),Promise.reject(new Error("redacted"))):Promise.reject(u));return a==null||a.catch(D),a};return{dehydratedAt:Date.now(),state:{...t.state,...t.state.data!==void 0&&{data:e(t.state.data)}},queryKey:t.queryKey,queryHash:t.queryHash,...t.state.status==="pending"&&{promise:r()},...t.meta&&{meta:t.meta}}}function We(t){return t.state.isPaused}function et(t){return t.state.status==="success"}function tt(t){return!0}function yt(t,e={}){var y,p,b,o;const s=e.shouldDehydrateMutation??((y=t.getDefaultOptions().dehydrate)==null?void 0:y.shouldDehydrateMutation)??We,r=t.getMutationCache().getAll().flatMap(h=>s(h)?[Ze(h)]:[]),a=e.shouldDehydrateQuery??((p=t.getDefaultOptions().dehydrate)==null?void 0:p.shouldDehydrateQuery)??et,i=e.shouldRedactErrors??((b=t.getDefaultOptions().dehydrate)==null?void 0:b.shouldRedactErrors)??tt,u=e.serializeData??((o=t.getDefaultOptions().dehydrate)==null?void 0:o.serializeData)??Ae,l=t.getQueryCache().getAll().flatMap(h=>a(h)?[Ve(h,u,i)]:[]);return{mutations:r,queries:l}}function ve(t,e,s){var y,p;if(typeof e!="object"||e===null)return;const r=t.getMutationCache(),a=t.getQueryCache(),i=((y=s==null?void 0:s.defaultOptions)==null?void 0:y.deserializeData)??((p=t.getDefaultOptions().hydrate)==null?void 0:p.deserializeData)??Ae,u=e.mutations||[],l=e.queries||[];u.forEach(({state:b,...o})=>{var h,E;r.build(t,{...(h=t.getDefaultOptions().hydrate)==null?void 0:h.mutations,...(E=s==null?void 0:s.defaultOptions)==null?void 0:E.mutations,...o},b)}),l.forEach(({queryKey:b,state:o,queryHash:h,meta:E,promise:P,dehydratedAt:g})=>{var ce,he;const O=P?Te(P):void 0,C=o.data===void 0?O==null?void 0:O.data:o.data,N=C===void 0?C:i(C);let w=a.get(h);const Pe=(w==null?void 0:w.state.status)==="pending",ke=(w==null?void 0:w.state.fetchStatus)==="fetching";if(w){const He=O&&g!==void 0&&g>w.state.dataUpdatedAt;if(o.dataUpdatedAt>w.state.dataUpdatedAt||He){const{fetchStatus:ot,...Ie}=o;w.setState({...Ie,data:N})}}else w=a.build(t,{...(ce=t.getDefaultOptions().hydrate)==null?void 0:ce.queries,...(he=s==null?void 0:s.defaultOptions)==null?void 0:he.queries,queryKey:b,queryHash:h,meta:E},{...o,data:N,fetchStatus:"idle",status:N!==void 0?"success":o.status});P&&!Pe&&!ke&&(g===void 0||g>w.state.dataUpdatedAt)&&w.fetch(void 0,{initialPromise:Promise.resolve(P).then(i)}).catch(D)})}var k,q,$,Ce,st=(Ce=class extends ie{constructor(e={}){super();d(this,k);d(this,q);d(this,$);this.config=e,c(this,k,new Set),c(this,q,new Map),c(this,$,0)}build(e,s,r){const a=new Ke({client:e,mutationCache:this,mutationId:++Z(this,$)._,options:e.defaultMutationOptions(s),state:r});return this.add(a),a}add(e){n(this,k).add(e);const s=V(e);if(typeof s=="string"){const r=n(this,q).get(s);r?r.push(e):n(this,q).set(s,[e])}this.notify({type:"added",mutation:e})}remove(e){if(n(this,k).delete(e)){const s=V(e);if(typeof s=="string"){const r=n(this,q).get(s);if(r)if(r.length>1){const a=r.indexOf(e);a!==-1&&r.splice(a,1)}else r[0]===e&&n(this,q).delete(s)}}this.notify({type:"removed",mutation:e})}canRun(e){const s=V(e);if(typeof s=="string"){const r=n(this,q).get(s),a=r==null?void 0:r.find(i=>i.state.status==="pending");return!a||a===e}else return!0}runNext(e){var r;const s=V(e);if(typeof s=="string"){const a=(r=n(this,q).get(s))==null?void 0:r.find(i=>i!==e&&i.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){m.batch(()=>{n(this,k).forEach(e=>{this.notify({type:"removed",mutation:e})}),n(this,k).clear(),n(this,q).clear()})}getAll(){return Array.from(n(this,k))}find(e){const s={exact:!0,...e};return this.getAll().find(r=>de(s,r))}findAll(e={}){return this.getAll().filter(s=>de(e,s))}notify(e){m.batch(()=>{this.listeners.forEach(s=>{s(e)})})}resumePausedMutations(){const e=this.getAll().filter(s=>s.state.isPaused);return m.batch(()=>Promise.all(e.map(s=>s.continue().catch(D))))}},k=new WeakMap,q=new WeakMap,$=new WeakMap,Ce);function V(t){var e;return(e=t.options.scope)==null?void 0:e.id}function Oe(t,e){const s=new Set(e);return t.filter(r=>!s.has(r))}function rt(t,e,s){const r=t.slice(0);return r[e]=s,r}var F,M,B,U,S,H,G,J,X,Y,Q,te,se,re,ae,ne,we,at=(we=class extends ie{constructor(e,s,r){super();d(this,Q);d(this,F);d(this,M);d(this,B);d(this,U);d(this,S);d(this,H);d(this,G);d(this,J);d(this,X);d(this,Y,[]);c(this,F,e),c(this,U,r),c(this,B,[]),c(this,S,[]),c(this,M,[]),this.setQueries(s)}onSubscribe(){this.listeners.size===1&&n(this,S).forEach(e=>{e.subscribe(s=>{R(this,Q,ae).call(this,e,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,n(this,S).forEach(e=>{e.destroy()})}setQueries(e,s){c(this,B,e),c(this,U,s);{const r=e.map(a=>n(this,F).defaultQueryOptions(a).queryHash);new Set(r).size!==r.length&&console.warn("[QueriesObserver]: Duplicate Queries found. This might result in unexpected behavior.")}m.batch(()=>{const r=n(this,S),a=R(this,Q,re).call(this,n(this,B));a.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=a.map(o=>o.observer),u=i.map(o=>o.getCurrentResult()),l=r.length!==i.length,y=i.some((o,h)=>o!==r[h]),p=l||y,b=p?!0:u.some((o,h)=>{const E=n(this,M)[h];return!E||!Fe(o,E)});!p&&!b||(p&&(c(this,Y,a),c(this,S,i)),c(this,M,u),this.hasListeners()&&(p&&(Oe(r,i).forEach(o=>{o.destroy()}),Oe(i,r).forEach(o=>{o.subscribe(h=>{R(this,Q,ae).call(this,o,h)})})),R(this,Q,ne).call(this)))})}getCurrentResult(){return n(this,M)}getQueries(){return n(this,S).map(e=>e.getCurrentQuery())}getObservers(){return n(this,S)}getOptimisticResult(e,s){const r=R(this,Q,re).call(this,e),a=r.map(u=>u.observer.getOptimisticResult(u.defaultedQueryOptions)),i=r.map(u=>u.defaultedQueryOptions.queryHash);return[a,u=>R(this,Q,se).call(this,u??a,s,i),()=>R(this,Q,te).call(this,a,r)]}},F=new WeakMap,M=new WeakMap,B=new WeakMap,U=new WeakMap,S=new WeakMap,H=new WeakMap,G=new WeakMap,J=new WeakMap,X=new WeakMap,Y=new WeakMap,Q=new WeakSet,te=function(e,s){return s.map((r,a)=>{const i=e[a];return r.defaultedQueryOptions.notifyOnChangeProps?i:r.observer.trackResult(i,u=>{s.forEach(l=>{l.observer.trackProp(u)})})})},se=function(e,s,r){if(s){const a=n(this,X),i=r!==void 0&&a!==void 0&&(a.length!==r.length||r.some((u,l)=>u!==a[l]));return(!n(this,H)||n(this,M)!==n(this,J)||i||s!==n(this,G))&&(c(this,G,s),c(this,J,n(this,M)),r!==void 0&&c(this,X,r),c(this,H,De(n(this,H),s(e)))),n(this,H)}return e},re=function(e){const s=new Map;n(this,S).forEach(a=>{const i=a.options.queryHash;if(!i)return;const u=s.get(i);u?u.push(a):s.set(i,[a])});const r=[];return e.forEach(a=>{var y;const i=n(this,F).defaultQueryOptions(a),l=((y=s.get(i.queryHash))==null?void 0:y.shift())??new ue(n(this,F),i);r.push({defaultedQueryOptions:i,observer:l})}),r},ae=function(e,s){const r=n(this,S).indexOf(e);r!==-1&&(c(this,M,rt(n(this,M),r,s)),R(this,Q,ne).call(this))},ne=function(){var e;if(this.hasListeners()){const s=n(this,H),r=R(this,Q,te).call(this,n(this,M),n(this,Y)),a=R(this,Q,se).call(this,r,(e=n(this,U))==null?void 0:e.combine);s!==a&&m.batch(()=>{this.listeners.forEach(i=>{i(n(this,M))})})}},we),A,Me,nt=(Me=class extends ie{constructor(e={}){super();d(this,A);this.config=e,c(this,A,new Map)}build(e,s,r){const a=s.queryKey,i=s.queryHash??Re(a,s);let u=this.get(i);return u||(u=new xe({client:e,queryKey:a,queryHash:i,options:e.defaultQueryOptions(s),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){n(this,A).has(e.queryHash)||(n(this,A).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const s=n(this,A).get(e.queryHash);s&&(e.destroy(),s===e&&n(this,A).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){m.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return n(this,A).get(e)}getAll(){return[...n(this,A).values()]}find(e){const s={exact:!0,...e};return this.getAll().find(r=>fe(s,r))}findAll(e={}){const s=this.getAll();return Object.keys(e).length>0?s.filter(r=>fe(e,r)):s}notify(e){m.batch(()=>{this.listeners.forEach(s=>{s(e)})})}onFocus(){m.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){m.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},A=new WeakMap,Me),f,I,T,j,z,K,_,L,Se,pt=(Se=class{constructor(t={}){d(this,f);d(this,I);d(this,T);d(this,j);d(this,z);d(this,K);d(this,_);d(this,L);c(this,f,t.queryCache||new nt),c(this,I,t.mutationCache||new st),c(this,T,t.defaultOptions||{}),c(this,j,new Map),c(this,z,new Map),c(this,K,0)}mount(){Z(this,K)._++,n(this,K)===1&&(c(this,_,Be.subscribe(async t=>{t&&(await this.resumePausedMutations(),n(this,f).onFocus())})),c(this,L,ye.subscribe(async t=>{t&&(await this.resumePausedMutations(),n(this,f).onOnline())})))}unmount(){var t,e;Z(this,K)._--,n(this,K)===0&&((t=n(this,_))==null||t.call(this),c(this,_,void 0),(e=n(this,L))==null||e.call(this),c(this,L,void 0))}isFetching(t){return n(this,f).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return n(this,I).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=n(this,f).get(e.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=n(this,f).build(this,e),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(pe(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return n(this,f).findAll(t).map(({queryKey:e,state:s})=>{const r=s.data;return[e,r]})}setQueryData(t,e,s){const r=this.defaultQueryOptions({queryKey:t}),a=n(this,f).get(r.queryHash),i=a==null?void 0:a.state.data,u=Ue(e,i);if(u!==void 0)return n(this,f).build(this,r).setData(u,{...s,manual:!0})}setQueriesData(t,e,s){return m.batch(()=>n(this,f).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,s)]))}getQueryState(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=n(this,f).get(e.queryHash))==null?void 0:s.state}removeQueries(t){const e=n(this,f);m.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=n(this,f);return m.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},r=m.batch(()=>n(this,f).findAll(t).map(a=>a.cancel(s)));return Promise.all(r).then(D).catch(D)}invalidateQueries(t,e={}){return m.batch(()=>(n(this,f).findAll(t).forEach(s=>{s.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},r=m.batch(()=>n(this,f).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let i=a.fetch(void 0,s);return s.throwOnError||(i=i.catch(D)),a.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(D)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=n(this,f).build(this,e);return s.isStaleByTime(pe(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(D).catch(D)}fetchInfiniteQuery(t){return t.behavior=ge(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(D).catch(D)}ensureInfiniteQueryData(t){return t.behavior=ge(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return ye.isOnline()?n(this,I).resumePausedMutations():Promise.resolve()}getQueryCache(){return n(this,f)}getMutationCache(){return n(this,I)}getDefaultOptions(){return n(this,T)}setDefaultOptions(t){c(this,T,t)}setQueryDefaults(t,e){n(this,j).set(me(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...n(this,j).values()],s={};return e.forEach(r=>{Qe(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,e){n(this,z).set(me(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...n(this,z).values()],s={};return e.forEach(r=>{Qe(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...n(this,T).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Re(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===W&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...n(this,T).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){n(this,f).clear(),n(this,I).clear()}},f=new WeakMap,I=new WeakMap,T=new WeakMap,j=new WeakMap,z=new WeakMap,K=new WeakMap,_=new WeakMap,L=new WeakMap,Se);function gt({streamFn:t,refetchMode:e="reset",reducer:s=(a,i)=>ze(a,i),initialValue:r=[]}){return async a=>{const i=a.client.getQueryCache().find({queryKey:a.queryKey,exact:!0}),u=!!i&&i.isFetched();u&&e==="reset"&&i.setState({...i.resetState,fetchStatus:"fetching"});let l=r,y=!1;const p=je({client:a.client,meta:a.meta,queryKey:a.queryKey,pageParam:a.pageParam,direction:a.direction},()=>a.signal,()=>y=!0),b=await t(p),o=u&&e==="replace";for await(const h of b){if(y)break;o?l=s(l,h):a.client.setQueryData(a.queryKey,E=>s(E===void 0?r:E,h))}return o&&!y&&a.client.setQueryData(a.queryKey,l),a.client.getQueryData(a.queryKey)??r}}var mt=Symbol("dataTagSymbol"),Qt=Symbol("dataTagErrorSymbol"),bt=Symbol("unsetMarker");function it({queries:t,...e},s){const r=x(s),a=_e(),i=Le(),u=v.useMemo(()=>t.map(g=>{const O=r.defaultQueryOptions(g);return O._optimisticResults=a?"isRestoring":"optimistic",O}),[t,r,a]);u.forEach(g=>{Ne(g);const O=r.getQueryCache().get(g.queryHash);$e(g,i,O)}),Ge(i);const[l]=v.useState(()=>new at(r,u,e)),[y,p,b]=l.getOptimisticResult(u,e.combine),o=!a&&e.subscribed!==!1;v.useSyncExternalStore(v.useCallback(g=>o?l.subscribe(m.batchCalls(g)):D,[l,o]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),v.useEffect(()=>{l.setQueries(u,e)},[u,e,l]);const E=y.some((g,O)=>be(u[O],g))?y.flatMap((g,O)=>{const C=u[O];if(C&&be(C,g)){const N=new ue(r,C);return Je(C,N,i)}return[]}):[];if(E.length>0)throw Promise.all(E);const P=y.find((g,O)=>{const C=u[O];return C&&Xe({result:g,errorResetBoundary:i,throwOnError:C.throwOnError,query:r.getQueryCache().get(C.queryHash),suspense:C.suspense})});if(P!=null&&P.error)throw P.error;return p(b())}function vt(t,e){return t.queryFn===W&&console.error("skipToken is not allowed for useSuspenseQuery"),qe({...t,enabled:!0,suspense:!0,throwOnError:oe,placeholderData:void 0},ue,e)}function Ot(t,e){return t.queryFn===W&&console.error("skipToken is not allowed for useSuspenseInfiniteQuery"),qe({...t,enabled:!0,suspense:!0,throwOnError:oe},Ye,e)}function Et(t,e){return it({...t,queries:t.queries.map(s=>(s.queryFn===W&&console.error("skipToken is not allowed for useSuspenseQueries"),{...s,suspense:!0,throwOnError:oe,enabled:!0,placeholderData:void 0}))},e)}function Ct(t,e){const s=x(e);s.getQueryState(t.queryKey)||s.prefetchQuery(t)}function wt(t,e){const s=x(e);s.getQueryState(t.queryKey)||s.prefetchInfiniteQuery(t)}function Mt(t){return t}function St(t){return t}var Dt=({children:t,options:e={},state:s,queryClient:r})=>{const a=x(r),i=v.useRef(e);v.useEffect(()=>{i.current=e});const u=v.useMemo(()=>{if(s){if(typeof s!="object")return;const l=a.getQueryCache(),y=s.queries||[],p=[],b=[];for(const o of y){const h=l.get(o.queryHash);h?(o.state.dataUpdatedAt>h.state.dataUpdatedAt||o.promise&&h.state.status!=="pending"&&h.state.fetchStatus!=="fetching"&&o.dehydratedAt!==void 0&&o.dehydratedAt>h.state.dataUpdatedAt)&&b.push(o):p.push(o)}if(p.length>0&&ve(a,{queries:p},i.current),b.length>0)return b}},[a,s]);return v.useEffect(()=>{u&&ve(a,{queries:u},i.current)},[a,u]),t};function Rt(t,e){const s=x(e),r=s.getQueryCache();return v.useSyncExternalStore(v.useCallback(a=>r.subscribe(m.batchCalls(a)),[r]),()=>s.isFetching(t),()=>s.isFetching(t))}function qt(t,e){const s=x(e);return ut({filters:{...t,status:"pending"}},s).length}function Ee(t,e){return t.findAll(e.filters).map(s=>e.select?e.select(s):s.state)}function ut(t={},e){const s=x(e).getMutationCache(),r=v.useRef(t),a=v.useRef(null);return a.current===null&&(a.current=Ee(s,t)),v.useEffect(()=>{r.current=t}),v.useSyncExternalStore(v.useCallback(i=>s.subscribe(()=>{const u=De(a.current,Ee(s,r.current));a.current!==u&&(a.current=u,m.schedule(i))}),[s]),()=>a.current,()=>a.current)}function At(t){return t}export{Ht as CancelledError,Dt as HydrationBoundary,Ye as InfiniteQueryObserver,It as IsRestoringProvider,Ke as Mutation,st as MutationCache,Tt as MutationObserver,at as QueriesObserver,xe as Query,nt as QueryCache,pt as QueryClient,Kt as QueryClientContext,dt as QueryClientProvider,Ft as QueryErrorResetBoundary,ue as QueryObserver,Qt as dataTagErrorSymbol,mt as dataTagSymbol,xt as defaultScheduler,We as defaultShouldDehydrateMutation,et as defaultShouldDehydrateQuery,yt as dehydrate,Bt as environmentManager,gt as experimental_streamedQuery,Be as focusManager,me as hashKey,ve as hydrate,St as infiniteQueryOptions,Ut as isCancelledError,jt as isServer,zt as keepPreviousData,de as matchMutation,fe as matchQuery,At as mutationOptions,D as noop,m as notifyManager,ye as onlineManager,Qe as partialMatchKey,Mt as queryOptions,De as replaceEqualDeep,_t as shouldThrowError,W as skipToken,Lt as timeoutManager,bt as unsetMarker,Nt as useInfiniteQuery,Rt as useIsFetching,qt as useIsMutating,_e as useIsRestoring,$t as useMutation,ut as useMutationState,wt as usePrefetchInfiniteQuery,Ct as usePrefetchQuery,it as useQueries,Gt as useQuery,x as useQueryClient,Le as useQueryErrorResetBoundary,Ot as useSuspenseInfiniteQuery,Et as useSuspenseQueries,vt as useSuspenseQuery};
|
public/assets/jsx-dev-runtime-Czb3f8pQ.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{r as H}from"./index-BlGQAcOD.js";var b={exports:{}},c={},w;function Z(){if(w)return c;w=1;/**
|
| 2 |
+
* @license React
|
| 3 |
+
* react-jsx-dev-runtime.development.js
|
| 4 |
+
*
|
| 5 |
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 6 |
+
*
|
| 7 |
+
* This source code is licensed under the MIT license found in the
|
| 8 |
+
* LICENSE file in the root directory of this source tree.
|
| 9 |
+
*/return(function(){function s(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===G?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case F:return"Profiler";case $:return"StrictMode";case M:return"Suspense";case z:return"SuspenseList";case q:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case L:return e.displayName||"Context";case W:return(e._context.displayName||"Context")+".Consumer";case U:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:s(e.type)||"Memo";case f:r=e._payload,e=e._init;try{return s(e(r))}catch{}}return null}function _(e){return""+e}function E(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function v(e){if(e===i)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===f)return"<...>";try{var r=s(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function j(){var e=O.A;return e===null?null:e.getOwner()}function R(){return Error("react-stack-top-frame")}function x(e){if(k.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function N(e,r){function t(){A||(A=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function C(){var e=s(this.type);return S[e]||(S[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function D(e,r,t,n,o,m){var a=t.ref;return e={$$typeof:g,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:C}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:m}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function Y(e,r,t,n,o,m){var a=r.children;if(a!==void 0)if(n)if(J(a)){for(n=0;n<a.length;n++)T(a[n]);Object.freeze&&Object.freeze(a)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(a);if(k.call(r,"key")){a=s(e);var l=Object.keys(r).filter(function(B){return B!=="key"});n=0<l.length?"{key: someKey, "+l.join(": ..., ")+": ...}":"{key: someKey}",P[a+n]||(l=0<l.length?"{"+l.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
| 10 |
+
let props = %s;
|
| 11 |
+
<%s {...props} />
|
| 12 |
+
React keys must be passed directly to JSX without using spread:
|
| 13 |
+
let props = %s;
|
| 14 |
+
<%s key={someKey} {...props} />`,n,a,l,a),P[a+n]=!0)}if(a=null,t!==void 0&&(E(t),a=""+t),x(r)&&(E(r.key),a=""+r.key),"key"in r){t={};for(var d in r)d!=="key"&&(t[d]=r[d])}else t=r;return a&&N(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),D(e,a,t,j(),o,m)}function T(e){p(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===f&&(e._payload.status==="fulfilled"?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e=="object"&&e!==null&&e.$$typeof===g}var u=H(),g=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),L=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),G=Symbol.for("react.client.reference"),O=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=Object.prototype.hasOwnProperty,J=Array.isArray,y=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(e){return e()}};var A,S={},X=u.react_stack_bottom_frame.bind(u,R)(),K=y(v(R)),P={};c.Fragment=i,c.jsxDEV=function(e,r,t,n){var o=1e4>O.recentlyCreatedOwnerStacks++;return Y(e,r,t,n,o?Error("react-stack-top-frame"):X,o?y(v(e)):K)}})(),c}var h;function Q(){return h||(h=1,b.exports=Z()),b.exports}var re=Q();export{re as j};
|
public/assets/useInfiniteQuery-DL16ew97.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
var wt=t=>{throw TypeError(t)};var Ve=(t,e,s)=>e.has(t)||wt("Cannot "+s);var i=(t,e,s)=>(Ve(t,e,"read from private field"),s?s.call(t):e.get(t)),y=(t,e,s)=>e.has(t)?wt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),c=(t,e,s,r)=>(Ve(t,e,"write to private field"),r?r.call(t,s):e.set(t,s),s),v=(t,e,s)=>(Ve(t,e,"access private method"),s);import{r as D}from"./index-BE6rTi0X.js";import{r as us}from"./index-BlGQAcOD.js";var ze=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},fe,ne,Oe,jt,cs=(jt=class extends ze{constructor(){super();y(this,fe);y(this,ne);y(this,Oe);c(this,Oe,e=>{if(typeof window<"u"&&window.addEventListener){const s=()=>e();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){i(this,ne)||this.setEventListener(i(this,Oe))}onUnsubscribe(){var e;this.hasListeners()||((e=i(this,ne))==null||e.call(this),c(this,ne,void 0))}setEventListener(e){var s;c(this,Oe,e),(s=i(this,ne))==null||s.call(this),c(this,ne,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){i(this,fe)!==e&&(c(this,fe,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(s=>{s(e)})}isFocused(){var e;return typeof i(this,fe)=="boolean"?i(this,fe):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},fe=new WeakMap,ne=new WeakMap,Oe=new WeakMap,jt),Lt=new cs,hs={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},W,de,kt,ls=(kt=class{constructor(){y(this,W,hs);y(this,de,!1)}setTimeoutProvider(t){i(this,de)&&t!==i(this,W)&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:i(this,W),provider:t}),c(this,W,t),c(this,de,!1)}setTimeout(t,e){return c(this,de,!0),i(this,W).setTimeout(t,e)}clearTimeout(t){i(this,W).clearTimeout(t)}setInterval(t,e){return c(this,de,!0),i(this,W).setInterval(t,e)}clearInterval(t){i(this,W).clearInterval(t)}},W=new WeakMap,de=new WeakMap,kt),le=new ls;function fs(t){setTimeout(t,0)}var ds=typeof window>"u"||"Deno"in globalThis;function he(){}function Gs(t,e){return typeof t=="function"?t(e):t}function Xe(t){return typeof t=="number"&&t>=0&&t!==1/0}function Kt(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Ee(t,e){return typeof t=="function"?t(e):t}function H(t,e){return typeof t=="function"?t(e):t}function $s(t,e){const{type:s="all",exact:r,fetchStatus:a,predicate:o,queryKey:h,stale:u}=t;if(h){if(r){if(e.queryHash!==ps(h,e.options))return!1}else if(!pt(e.queryKey,h))return!1}if(s!=="all"){const p=e.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof u=="boolean"&&e.isStale()!==u||a&&a!==e.state.fetchStatus||o&&!o(e))}function Hs(t,e){const{exact:s,status:r,predicate:a,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(s){if(Ue(e.options.mutationKey)!==Ue(o))return!1}else if(!pt(e.options.mutationKey,o))return!1}return!(r&&e.state.status!==r||a&&!a(e))}function ps(t,e){return((e==null?void 0:e.queryKeyHashFn)||Ue)(t)}function Ue(t){return JSON.stringify(t,(e,s)=>et(s)?Object.keys(s).sort().reduce((r,a)=>(r[a]=s[a],r),{}):s)}function pt(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(s=>pt(t[s],e[s])):!1}var ys=Object.prototype.hasOwnProperty;function Ze(t,e,s=0){if(t===e)return t;if(s>500)return e;const r=Pt(t)&&Pt(e);if(!r&&!(et(t)&&et(e)))return e;const o=(r?t:Object.keys(t)).length,h=r?e:Object.keys(e),u=h.length,p=r?new Array(u):{};let b=0;for(let m=0;m<u;m++){const d=r?m:h[m],g=t[d],f=e[d];if(g===f){p[d]=g,(r?m<o:ys.call(t,d))&&b++;continue}if(g===null||f===null||typeof g!="object"||typeof f!="object"){p[d]=f;continue}const O=Ze(g,f,s+1);p[d]=O,O===g&&b++}return o===u&&b===o?t:p}function He(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function Pt(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function et(t){if(!Et(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!Et(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Et(t){return Object.prototype.toString.call(t)==="[object Object]"}function ms(t){return new Promise(e=>{le.setTimeout(e,t)})}function tt(t,e,s){if(typeof s.structuralSharing=="function")return s.structuralSharing(t,e);if(s.structuralSharing!==!1){try{return Ze(t,e)}catch(r){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${s.queryHash}]: ${r}`),r}return Ze(t,e)}return e}function Ys(t){return t}function vs(t,e,s=0){const r=[...t,e];return s&&r.length>s?r.slice(1):r}function bs(t,e,s=0){const r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var st=Symbol();function Gt(t,e){return t.queryFn===st&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${t.queryHash}'`),!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===st?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function yt(t,e){return typeof t=="function"?t(...e):!!t}function gs(t,e,s){let r=!1,a;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(a??(a=e()),r||(r=!0,a.aborted?s():a.addEventListener("abort",s,{once:!0})),a)}),t}var Ne=(()=>{let t=()=>ds;return{isServer(){return t()},setIsServer(e){t=e}}})();function rt(){let t,e;const s=new Promise((a,o)=>{t=a,e=o});s.status="pending",s.catch(()=>{});function r(a){Object.assign(s,a),delete s.resolve,delete s.reject}return s.resolve=a=>{r({status:"fulfilled",value:a}),t(a)},s.reject=a=>{r({status:"rejected",reason:a}),e(a)},s}function zs(t){var s;let e;if((s=t.then(r=>(e=r,r),he))==null||s.catch(he),e!==void 0)return{data:e}}var Ss=fs;function Rs(){let t=[],e=0,s=u=>{u()},r=u=>{u()},a=Ss;const o=u=>{e?t.push(u):a(()=>{s(u)})},h=()=>{const u=t;t=[],u.length&&a(()=>{r(()=>{u.forEach(p=>{s(p)})})})};return{batch:u=>{let p;e++;try{p=u()}finally{e--,e||h()}return p},batchCalls:u=>(...p)=>{o(()=>{u(...p)})},schedule:o,setNotifyFunction:u=>{s=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{a=u}}}var je=Rs(),Ce,ae,Te,At,ws=(At=class extends ze{constructor(){super();y(this,Ce,!0);y(this,ae);y(this,Te);c(this,Te,e=>{if(typeof window<"u"&&window.addEventListener){const s=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",r)}}})}onSubscribe(){i(this,ae)||this.setEventListener(i(this,Te))}onUnsubscribe(){var e;this.hasListeners()||((e=i(this,ae))==null||e.call(this),c(this,ae,void 0))}setEventListener(e){var s;c(this,Te,e),(s=i(this,ae))==null||s.call(this),c(this,ae,e(this.setOnline.bind(this)))}setOnline(e){i(this,Ce)!==e&&(c(this,Ce,e),this.listeners.forEach(r=>{r(e)}))}isOnline(){return i(this,Ce)}},Ce=new WeakMap,ae=new WeakMap,Te=new WeakMap,At),$t=new ws;function Ps(t){return Math.min(1e3*2**t,3e4)}function Ht(t){return(t??"online")==="online"?$t.isOnline():!0}var Ye=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Ws(t){return t instanceof Ye}function Yt(t){let e=!1,s=0,r;const a=rt(),o=()=>a.status!=="pending",h=R=>{var w;if(!o()){const T=new Ye(R);g(T),(w=t.onCancel)==null||w.call(t,T)}},u=()=>{e=!0},p=()=>{e=!1},b=()=>Lt.isFocused()&&(t.networkMode==="always"||$t.isOnline())&&t.canRun(),m=()=>Ht(t.networkMode)&&t.canRun(),d=R=>{o()||(r==null||r(),a.resolve(R))},g=R=>{o()||(r==null||r(),a.reject(R))},f=()=>new Promise(R=>{var w;r=T=>{(o()||b())&&R(T)},(w=t.onPause)==null||w.call(t)}).then(()=>{var R;r=void 0,o()||(R=t.onContinue)==null||R.call(t)}),O=()=>{if(o())return;let R;const w=s===0?t.initialPromise:void 0;try{R=w??t.fn()}catch(T){R=Promise.reject(T)}Promise.resolve(R).then(d).catch(T=>{var N;if(o())return;const I=t.retry??(Ne.isServer()?0:3),F=t.retryDelay??Ps,l=typeof F=="function"?F(s,T):F,M=I===!0||typeof I=="number"&&s<I||typeof I=="function"&&I(s,T);if(e||!M){g(T);return}s++,(N=t.onFail)==null||N.call(t,s,T),ms(l).then(()=>b()?void 0:f()).then(()=>{e?g(T):O()})})};return{promise:a,status:()=>a.status,cancel:h,continue:()=>(r==null||r(),a),cancelRetry:u,continueRetry:p,canStart:m,start:()=>(m()?O():f().then(O),a)}}var pe,Dt,zt=(Dt=class{constructor(){y(this,pe)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xe(this.gcTime)&&c(this,pe,le.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Ne.isServer()?1/0:300*1e3))}clearGcTimeout(){i(this,pe)&&(le.clearTimeout(i(this,pe)),c(this,pe,void 0))}},pe=new WeakMap,Dt),ye,Fe,$,me,A,Qe,ve,G,Wt,J,Ut,Bs=(Ut=class extends zt{constructor(e){super();y(this,G);y(this,ye);y(this,Fe);y(this,$);y(this,me);y(this,A);y(this,Qe);y(this,ve);c(this,ve,!1),c(this,Qe,e.defaultOptions),this.setOptions(e.options),this.observers=[],c(this,me,e.client),c(this,$,i(this,me).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,c(this,ye,Ct(this.options)),this.state=e.state??i(this,ye),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=i(this,A))==null?void 0:e.promise}setOptions(e){if(this.options={...i(this,Qe),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Ct(this.options);s.data!==void 0&&(this.setState(Ot(s.data,s.dataUpdatedAt)),c(this,ye,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&i(this,$).remove(this)}setData(e,s){const r=tt(this.state.data,e,this.options);return v(this,G,J).call(this,{data:r,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),r}setState(e,s){v(this,G,J).call(this,{type:"setState",state:e,setStateOptions:s})}cancel(e){var r,a;const s=(r=i(this,A))==null?void 0:r.promise;return(a=i(this,A))==null||a.cancel(e),s?s.then(he).catch(he):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return i(this,ye)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>H(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===st||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ee(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Kt(this.state.dataUpdatedAt,e)}onFocus(){var s;const e=this.observers.find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(s=i(this,A))==null||s.continue()}onOnline(){var s;const e=this.observers.find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(s=i(this,A))==null||s.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),i(this,$).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(s=>s!==e),this.observers.length||(i(this,A)&&(i(this,ve)||v(this,G,Wt).call(this)?i(this,A).cancel({revert:!0}):i(this,A).cancelRetry()),this.scheduleGc()),i(this,$).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||v(this,G,J).call(this,{type:"invalidate"})}async fetch(e,s){var p,b,m,d,g,f,O,R,w,T,I,F;if(this.state.fetchStatus!=="idle"&&((p=i(this,A))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(i(this,A))return i(this,A).continueRetry(),i(this,A).promise}if(e&&this.setOptions(e),!this.options.queryFn){const l=this.observers.find(M=>M.options.queryFn);l&&this.setOptions(l.options)}Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const r=new AbortController,a=l=>{Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(c(this,ve,!0),r.signal)})},o=()=>{const l=Gt(this.options,s),N=(()=>{const Y={client:i(this,me),queryKey:this.queryKey,meta:this.meta};return a(Y),Y})();return c(this,ve,!1),this.options.persister?this.options.persister(l,N,this):l(N)},u=(()=>{const l={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:i(this,me),state:this.state,fetchFn:o};return a(l),l})();(b=this.options.behavior)==null||b.onFetch(u,this),c(this,Fe,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=u.fetchOptions)==null?void 0:m.meta))&&v(this,G,J).call(this,{type:"fetch",meta:(d=u.fetchOptions)==null?void 0:d.meta}),c(this,A,Yt({initialPromise:s==null?void 0:s.initialPromise,fn:u.fetchFn,onCancel:l=>{l instanceof Ye&&l.revert&&this.setState({...i(this,Fe),fetchStatus:"idle"}),r.abort()},onFail:(l,M)=>{v(this,G,J).call(this,{type:"failed",failureCount:l,error:M})},onPause:()=>{v(this,G,J).call(this,{type:"pause"})},onContinue:()=>{v(this,G,J).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0}));try{const l=await i(this,A).start();if(l===void 0)throw console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),new Error(`${this.queryHash} data is undefined`);return this.setData(l),(f=(g=i(this,$).config).onSuccess)==null||f.call(g,l,this),(R=(O=i(this,$).config).onSettled)==null||R.call(O,l,this.state.error,this),l}catch(l){if(l instanceof Ye){if(l.silent)return i(this,A).promise;if(l.revert){if(this.state.data===void 0)throw l;return this.state.data}}throw v(this,G,J).call(this,{type:"error",error:l}),(T=(w=i(this,$).config).onError)==null||T.call(w,l,this),(F=(I=i(this,$).config).onSettled)==null||F.call(I,this.state.data,l,this),l}finally{this.scheduleGc()}}},ye=new WeakMap,Fe=new WeakMap,$=new WeakMap,me=new WeakMap,A=new WeakMap,Qe=new WeakMap,ve=new WeakMap,G=new WeakSet,Wt=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},J=function(e){const s=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Bt(r.data,this.options),fetchMeta:e.meta??null};case"success":const a={...r,...Ot(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return c(this,Fe,e.manual?a:void 0),a;case"error":const o=e.error;return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=s(this.state),je.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),i(this,$).notify({query:this,type:"updated",action:e})})},Ut);function Bt(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ht(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Ot(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Ct(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var L,P,qe,q,be,xe,X,oe,Le,_e,Ie,ge,Se,ue,Me,E,De,it,nt,at,ot,ut,ct,ht,Jt,Nt,Vt=(Nt=class extends ze{constructor(e,s){super();y(this,E);y(this,L);y(this,P);y(this,qe);y(this,q);y(this,be);y(this,xe);y(this,X);y(this,oe);y(this,Le);y(this,_e);y(this,Ie);y(this,ge);y(this,Se);y(this,ue);y(this,Me,new Set);this.options=s,c(this,L,e),c(this,oe,null),c(this,X,rt()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(i(this,P).addObserver(this),Tt(i(this,P),this.options)?v(this,E,De).call(this):this.updateResult(),v(this,E,ot).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return lt(i(this,P),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return lt(i(this,P),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,v(this,E,ut).call(this),v(this,E,ct).call(this),i(this,P).removeObserver(this)}setOptions(e){const s=this.options,r=i(this,P);if(this.options=i(this,L).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof H(this.options.enabled,i(this,P))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");v(this,E,ht).call(this),i(this,P).setOptions(this.options),s._defaulted&&!He(this.options,s)&&i(this,L).getQueryCache().notify({type:"observerOptionsUpdated",query:i(this,P),observer:this});const a=this.hasListeners();a&&Ft(i(this,P),r,this.options,s)&&v(this,E,De).call(this),this.updateResult(),a&&(i(this,P)!==r||H(this.options.enabled,i(this,P))!==H(s.enabled,i(this,P))||Ee(this.options.staleTime,i(this,P))!==Ee(s.staleTime,i(this,P)))&&v(this,E,it).call(this);const o=v(this,E,nt).call(this);a&&(i(this,P)!==r||H(this.options.enabled,i(this,P))!==H(s.enabled,i(this,P))||o!==i(this,ue))&&v(this,E,at).call(this,o)}getOptimisticResult(e){const s=i(this,L).getQueryCache().build(i(this,L),e),r=this.createResult(s,e);return Os(this,r)&&(c(this,q,r),c(this,xe,this.options),c(this,be,i(this,P).state)),r}getCurrentResult(){return i(this,q)}trackResult(e,s){return new Proxy(e,{get:(r,a)=>(this.trackProp(a),s==null||s(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&i(this,X).status==="pending"&&i(this,X).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,a))})}trackProp(e){i(this,Me).add(e)}getCurrentQuery(){return i(this,P)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=i(this,L).defaultQueryOptions(e),r=i(this,L).getQueryCache().build(i(this,L),s);return r.fetch().then(()=>this.createResult(r,s))}fetch(e){return v(this,E,De).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),i(this,q)))}createResult(e,s){var x;const r=i(this,P),a=this.options,o=i(this,q),h=i(this,be),u=i(this,xe),b=e!==r?e.state:i(this,qe),{state:m}=e;let d={...m},g=!1,f;if(s._optimisticResults){const U=this.hasListeners(),z=!U&&Tt(e,s),se=U&&Ft(e,r,s,a);(z||se)&&(d={...d,...Bt(m.data,e.options)}),s._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:O,errorUpdatedAt:R,status:w}=d;f=d.data;let T=!1;if(s.placeholderData!==void 0&&f===void 0&&w==="pending"){let U;o!=null&&o.isPlaceholderData&&s.placeholderData===(u==null?void 0:u.placeholderData)?(U=o.data,T=!0):U=typeof s.placeholderData=="function"?s.placeholderData((x=i(this,Ie))==null?void 0:x.state.data,i(this,Ie)):s.placeholderData,U!==void 0&&(w="success",f=tt(o==null?void 0:o.data,U,s),g=!0)}if(s.select&&f!==void 0&&!T)if(o&&f===(h==null?void 0:h.data)&&s.select===i(this,Le))f=i(this,_e);else try{c(this,Le,s.select),f=s.select(f),f=tt(o==null?void 0:o.data,f,s),c(this,_e,f),c(this,oe,null)}catch(U){c(this,oe,U)}i(this,oe)&&(O=i(this,oe),f=i(this,_e),R=Date.now(),w="error");const I=d.fetchStatus==="fetching",F=w==="pending",l=w==="error",M=F&&I,N=f!==void 0,C={status:w,fetchStatus:d.fetchStatus,isPending:F,isSuccess:w==="success",isError:l,isInitialLoading:M,isLoading:M,data:f,dataUpdatedAt:d.dataUpdatedAt,error:O,errorUpdatedAt:R,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>b.dataUpdateCount||d.errorUpdateCount>b.errorUpdateCount,isFetching:I,isRefetching:I&&!F,isLoadingError:l&&!N,isPaused:d.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:l&&N,isStale:mt(e,s),refetch:this.refetch,promise:i(this,X),isEnabled:H(s.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const U=C.data!==void 0,z=C.status==="error"&&!U,se=re=>{z?re.reject(C.error):U&&re.resolve(C.data)},ke=()=>{const re=c(this,X,C.promise=rt());se(re)},we=i(this,X);switch(we.status){case"pending":e.queryHash===r.queryHash&&se(we);break;case"fulfilled":(z||C.data!==we.value)&&ke();break;case"rejected":(!z||C.error!==we.reason)&&ke();break}}return C}updateResult(){const e=i(this,q),s=this.createResult(i(this,P),this.options);if(c(this,be,i(this,P).state),c(this,xe,this.options),i(this,be).data!==void 0&&c(this,Ie,i(this,P)),He(s,e))return;c(this,q,s);const r=()=>{if(!e)return!0;const{notifyOnChangeProps:a}=this.options,o=typeof a=="function"?a():a;if(o==="all"||!o&&!i(this,Me).size)return!0;const h=new Set(o??i(this,Me));return this.options.throwOnError&&h.add("error"),Object.keys(i(this,q)).some(u=>{const p=u;return i(this,q)[p]!==e[p]&&h.has(p)})};v(this,E,Jt).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&v(this,E,ot).call(this)}},L=new WeakMap,P=new WeakMap,qe=new WeakMap,q=new WeakMap,be=new WeakMap,xe=new WeakMap,X=new WeakMap,oe=new WeakMap,Le=new WeakMap,_e=new WeakMap,Ie=new WeakMap,ge=new WeakMap,Se=new WeakMap,ue=new WeakMap,Me=new WeakMap,E=new WeakSet,De=function(e){v(this,E,ht).call(this);let s=i(this,P).fetch(this.options,e);return e!=null&&e.throwOnError||(s=s.catch(he)),s},it=function(){v(this,E,ut).call(this);const e=Ee(this.options.staleTime,i(this,P));if(Ne.isServer()||i(this,q).isStale||!Xe(e))return;const r=Kt(i(this,q).dataUpdatedAt,e)+1;c(this,ge,le.setTimeout(()=>{i(this,q).isStale||this.updateResult()},r))},nt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(i(this,P)):this.options.refetchInterval)??!1},at=function(e){v(this,E,ct).call(this),c(this,ue,e),!(Ne.isServer()||H(this.options.enabled,i(this,P))===!1||!Xe(i(this,ue))||i(this,ue)===0)&&c(this,Se,le.setInterval(()=>{(this.options.refetchIntervalInBackground||Lt.isFocused())&&v(this,E,De).call(this)},i(this,ue)))},ot=function(){v(this,E,it).call(this),v(this,E,at).call(this,v(this,E,nt).call(this))},ut=function(){i(this,ge)&&(le.clearTimeout(i(this,ge)),c(this,ge,void 0))},ct=function(){i(this,Se)&&(le.clearInterval(i(this,Se)),c(this,Se,void 0))},ht=function(){const e=i(this,L).getQueryCache().build(i(this,L),this.options);if(e===i(this,P))return;const s=i(this,P);c(this,P,e),c(this,qe,e.state),this.hasListeners()&&(s==null||s.removeObserver(this),e.addObserver(this))},Jt=function(e){je.batch(()=>{e.listeners&&this.listeners.forEach(s=>{s(i(this,q))}),i(this,L).getQueryCache().notify({query:i(this,P),type:"observerResultsUpdated"})})},Nt);function Es(t,e){return H(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Tt(t,e){return Es(t,e)||t.state.data!==void 0&<(t,e,e.refetchOnMount)}function lt(t,e,s){if(H(e.enabled,t)!==!1&&Ee(e.staleTime,t)!=="static"){const r=typeof s=="function"?s(t):s;return r==="always"||r!==!1&&mt(t,e)}return!1}function Ft(t,e,s,r){return(t!==e||H(r.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&mt(t,s)}function mt(t,e){return H(e.enabled,t)!==!1&&t.isStaleByTime(Ee(e.staleTime,t))}function Os(t,e){return!He(t.getCurrentResult(),e)}function xt(t){return{onFetch:(e,s)=>{var m,d,g,f,O;const r=e.options,a=(g=(d=(m=e.fetchOptions)==null?void 0:m.meta)==null?void 0:d.fetchMore)==null?void 0:g.direction,o=((f=e.state.data)==null?void 0:f.pages)||[],h=((O=e.state.data)==null?void 0:O.pageParams)||[];let u={pages:[],pageParams:[]},p=0;const b=async()=>{let R=!1;const w=F=>{gs(F,()=>e.signal,()=>R=!0)},T=Gt(e.options,e.fetchOptions),I=async(F,l,M)=>{if(R)return Promise.reject();if(l==null&&F.pages.length)return Promise.resolve(F);const Y=(()=>{const z={client:e.client,queryKey:e.queryKey,pageParam:l,direction:M?"backward":"forward",meta:e.options.meta};return w(z),z})(),C=await T(Y),{maxPages:x}=e.options,U=M?bs:vs;return{pages:U(F.pages,C,x),pageParams:U(F.pageParams,l,x)}};if(a&&o.length){const F=a==="backward",l=F?Xt:ft,M={pages:o,pageParams:h},N=l(r,M);u=await I(M,N,F)}else{const F=t??o.length;do{const l=p===0?h[0]??r.initialPageParam:ft(r,u);if(p>0&&l==null)break;u=await I(u,l),p++}while(p<F)}return u};e.options.persister?e.fetchFn=()=>{var R,w;return(w=(R=e.options).persister)==null?void 0:w.call(R,b,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=b}}}function ft(t,{pages:e,pageParams:s}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function Xt(t,{pages:e,pageParams:s}){var r;return e.length>0?(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,s[0],s):void 0}function Cs(t,e){return e?ft(t,e)!=null:!1}function Ts(t,e){return!e||!t.getPreviousPageParam?!1:Xt(t,e)!=null}var Fs=class extends Vt{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t){super.setOptions({...t,behavior:xt()})}getOptimisticResult(t){return t.behavior=xt(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){var O,R;const{state:s}=t,r=super.createResult(t,e),{isFetching:a,isRefetching:o,isError:h,isRefetchError:u}=r,p=(R=(O=s.fetchMeta)==null?void 0:O.fetchMore)==null?void 0:R.direction,b=h&&p==="forward",m=a&&p==="forward",d=h&&p==="backward",g=a&&p==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Cs(e,s.data),hasPreviousPage:Ts(e,s.data),isFetchNextPageError:b,isFetchingNextPage:m,isFetchPreviousPageError:d,isFetchingPreviousPage:g,isRefetchError:u&&!b&&!d,isRefetching:o&&!m&&!g}}},Ke,B,Q,Re,V,ie,Qt,Vs=(Qt=class extends zt{constructor(e){super();y(this,V);y(this,Ke);y(this,B);y(this,Q);y(this,Re);c(this,Ke,e.client),this.mutationId=e.mutationId,c(this,Q,e.mutationCache),c(this,B,[]),this.state=e.state||Zt(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){i(this,B).includes(e)||(i(this,B).push(e),this.clearGcTimeout(),i(this,Q).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){c(this,B,i(this,B).filter(s=>s!==e)),this.scheduleGc(),i(this,Q).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){i(this,B).length||(this.state.status==="pending"?this.scheduleGc():i(this,Q).remove(this))}continue(){var e;return((e=i(this,Re))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var h,u,p,b,m,d,g,f,O,R,w,T,I,F,l,M,N,Y;const s=()=>{v(this,V,ie).call(this,{type:"continue"})},r={client:i(this,Ke),meta:this.options.meta,mutationKey:this.options.mutationKey};c(this,Re,Yt({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(C,x)=>{v(this,V,ie).call(this,{type:"failed",failureCount:C,error:x})},onPause:()=>{v(this,V,ie).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>i(this,Q).canRun(this)}));const a=this.state.status==="pending",o=!i(this,Re).canStart();try{if(a)s();else{v(this,V,ie).call(this,{type:"pending",variables:e,isPaused:o}),i(this,Q).config.onMutate&&await i(this,Q).config.onMutate(e,this,r);const x=await((u=(h=this.options).onMutate)==null?void 0:u.call(h,e,r));x!==this.state.context&&v(this,V,ie).call(this,{type:"pending",context:x,variables:e,isPaused:o})}const C=await i(this,Re).start();return await((b=(p=i(this,Q).config).onSuccess)==null?void 0:b.call(p,C,e,this.state.context,this,r)),await((d=(m=this.options).onSuccess)==null?void 0:d.call(m,C,e,this.state.context,r)),await((f=(g=i(this,Q).config).onSettled)==null?void 0:f.call(g,C,null,this.state.variables,this.state.context,this,r)),await((R=(O=this.options).onSettled)==null?void 0:R.call(O,C,null,e,this.state.context,r)),v(this,V,ie).call(this,{type:"success",data:C}),C}catch(C){try{await((T=(w=i(this,Q).config).onError)==null?void 0:T.call(w,C,e,this.state.context,this,r))}catch(x){Promise.reject(x)}try{await((F=(I=this.options).onError)==null?void 0:F.call(I,C,e,this.state.context,r))}catch(x){Promise.reject(x)}try{await((M=(l=i(this,Q).config).onSettled)==null?void 0:M.call(l,void 0,C,this.state.variables,this.state.context,this,r))}catch(x){Promise.reject(x)}try{await((Y=(N=this.options).onSettled)==null?void 0:Y.call(N,void 0,C,e,this.state.context,r))}catch(x){Promise.reject(x)}throw v(this,V,ie).call(this,{type:"error",error:C}),C}finally{i(this,Q).runNext(this)}}},Ke=new WeakMap,B=new WeakMap,Q=new WeakMap,Re=new WeakMap,V=new WeakSet,ie=function(e){const s=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=s(this.state),je.batch(()=>{i(this,B).forEach(r=>{r.onMutationUpdate(e)}),i(this,Q).notify({mutation:this,type:"updated",action:e})})},Qt);function Zt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Z,ce,K,ee,te,$e,dt,qt,xs=(qt=class extends ze{constructor(e,s){super();y(this,te);y(this,Z);y(this,ce);y(this,K);y(this,ee);c(this,Z,e),this.setOptions(s),this.bindMethods(),v(this,te,$e).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var r;const s=this.options;this.options=i(this,Z).defaultMutationOptions(e),He(this.options,s)||i(this,Z).getMutationCache().notify({type:"observerOptionsUpdated",mutation:i(this,K),observer:this}),s!=null&&s.mutationKey&&this.options.mutationKey&&Ue(s.mutationKey)!==Ue(this.options.mutationKey)?this.reset():((r=i(this,K))==null?void 0:r.state.status)==="pending"&&i(this,K).setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(e=i(this,K))==null||e.removeObserver(this)}onMutationUpdate(e){v(this,te,$e).call(this),v(this,te,dt).call(this,e)}getCurrentResult(){return i(this,ce)}reset(){var e;(e=i(this,K))==null||e.removeObserver(this),c(this,K,void 0),v(this,te,$e).call(this),v(this,te,dt).call(this)}mutate(e,s){var r;return c(this,ee,s),(r=i(this,K))==null||r.removeObserver(this),c(this,K,i(this,Z).getMutationCache().build(i(this,Z),this.options)),i(this,K).addObserver(this),i(this,K).execute(e)}},Z=new WeakMap,ce=new WeakMap,K=new WeakMap,ee=new WeakMap,te=new WeakSet,$e=function(){var s;const e=((s=i(this,K))==null?void 0:s.state)??Zt();c(this,ce,{...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset})},dt=function(e){je.batch(()=>{var s,r,a,o,h,u,p,b;if(i(this,ee)&&this.hasListeners()){const m=i(this,ce).variables,d=i(this,ce).context,g={client:i(this,Z),meta:this.options.meta,mutationKey:this.options.mutationKey};if((e==null?void 0:e.type)==="success"){try{(r=(s=i(this,ee)).onSuccess)==null||r.call(s,e.data,m,d,g)}catch(f){Promise.reject(f)}try{(o=(a=i(this,ee)).onSettled)==null||o.call(a,e.data,null,m,d,g)}catch(f){Promise.reject(f)}}else if((e==null?void 0:e.type)==="error"){try{(u=(h=i(this,ee)).onError)==null||u.call(h,e.error,m,d,g)}catch(f){Promise.reject(f)}try{(b=(p=i(this,ee)).onSettled)==null||b.call(p,void 0,e.error,m,d,g)}catch(f){Promise.reject(f)}}}this.listeners.forEach(m=>{m(i(this,ce))})})},qt),Je={exports:{}},Ae={},_t;function _s(){if(_t)return Ae;_t=1;/**
|
| 2 |
+
* @license React
|
| 3 |
+
* react-jsx-runtime.development.js
|
| 4 |
+
*
|
| 5 |
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 6 |
+
*
|
| 7 |
+
* This source code is licensed under the MIT license found in the
|
| 8 |
+
* LICENSE file in the root directory of this source tree.
|
| 9 |
+
*/return(function(){function t(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===z?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case w:return"Fragment";case I:return"Profiler";case T:return"StrictMode";case N:return"Suspense";case Y:return"SuspenseList";case U:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case R:return"Portal";case l:return n.displayName||"Context";case F:return(n._context.displayName||"Context")+".Consumer";case M:var S=n.render;return n=n.displayName,n||(n=S.displayName||S.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case C:return S=n.displayName||null,S!==null?S:t(n.type)||"Memo";case x:S=n._payload,n=n._init;try{return t(n(S))}catch{}}return null}function e(n){return""+n}function s(n){try{e(n);var S=!1}catch{S=!0}if(S){S=console;var _=S.error,j=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return _.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",j),e(n)}}function r(n){if(n===w)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===x)return"<...>";try{var S=t(n);return S?"<"+S+">":"<...>"}catch{return"<...>"}}function a(){var n=se.A;return n===null?null:n.getOwner()}function o(){return Error("react-stack-top-frame")}function h(n){if(ke.call(n,"key")){var S=Object.getOwnPropertyDescriptor(n,"key").get;if(S&&S.isReactWarning)return!1}return n.key!==void 0}function u(n,S){function _(){vt||(vt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",S))}_.isReactWarning=!0,Object.defineProperty(n,"key",{get:_,configurable:!0})}function p(){var n=t(this.type);return bt[n]||(bt[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function b(n,S,_,j,Ge,We){var k=_.ref;return n={$$typeof:O,type:n,key:S,props:_,_owner:j},(k!==void 0?k:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:p}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ge}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:We}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function m(n,S,_,j,Ge,We){var k=S.children;if(k!==void 0)if(j)if(we(k)){for(j=0;j<k.length;j++)d(k[j]);Object.freeze&&Object.freeze(k)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(k);if(ke.call(S,"key")){k=t(n);var Pe=Object.keys(S).filter(function(os){return os!=="key"});j=0<Pe.length?"{key: someKey, "+Pe.join(": ..., ")+": ...}":"{key: someKey}",Rt[k+j]||(Pe=0<Pe.length?"{"+Pe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
| 10 |
+
let props = %s;
|
| 11 |
+
<%s {...props} />
|
| 12 |
+
React keys must be passed directly to JSX without using spread:
|
| 13 |
+
let props = %s;
|
| 14 |
+
<%s key={someKey} {...props} />`,j,k,Pe,k),Rt[k+j]=!0)}if(k=null,_!==void 0&&(s(_),k=""+_),h(S)&&(s(S.key),k=""+S.key),"key"in S){_={};for(var Be in S)Be!=="key"&&(_[Be]=S[Be])}else _=S;return k&&u(_,typeof n=="function"?n.displayName||n.name||"Unknown":n),b(n,k,_,a(),Ge,We)}function d(n){g(n)?n._store&&(n._store.validated=1):typeof n=="object"&&n!==null&&n.$$typeof===x&&(n._payload.status==="fulfilled"?g(n._payload.value)&&n._payload.value._store&&(n._payload.value._store.validated=1):n._store&&(n._store.validated=1))}function g(n){return typeof n=="object"&&n!==null&&n.$$typeof===O}var f=us(),O=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),l=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),z=Symbol.for("react.client.reference"),se=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ke=Object.prototype.hasOwnProperty,we=Array.isArray,re=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(n){return n()}};var vt,bt={},gt=f.react_stack_bottom_frame.bind(f,o)(),St=re(r(o)),Rt={};Ae.Fragment=w,Ae.jsx=function(n,S,_){var j=1e4>se.recentlyCreatedOwnerStacks++;return m(n,S,_,!1,j?Error("react-stack-top-frame"):gt,j?re(r(n)):St)},Ae.jsxs=function(n,S,_){var j=1e4>se.recentlyCreatedOwnerStacks++;return m(n,S,_,!0,j?Error("react-stack-top-frame"):gt,j?re(r(n)):St)}})(),Ae}var It;function Is(){return It||(It=1,Je.exports=_s()),Je.exports}var es=Is(),ts=D.createContext(void 0),ss=t=>{const e=D.useContext(ts);if(t)return t;if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Js=({client:t,children:e})=>(D.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),es.jsx(ts.Provider,{value:t,children:e})),rs=D.createContext(!1),Ms=()=>D.useContext(rs),Xs=rs.Provider;function is(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var ns=D.createContext(is()),js=()=>D.useContext(ns),Zs=({children:t})=>{const[e]=D.useState(()=>is());return es.jsx(ns.Provider,{value:e,children:typeof t=="function"?t(e):t})},ks=(t,e,s)=>{const r=s!=null&&s.state.error&&typeof t.throwOnError=="function"?yt(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(e.isReset()||(t.retryOnMount=!1))},As=t=>{D.useEffect(()=>{t.clearReset()},[t])},Ds=({result:t,errorResetBoundary:e,throwOnError:s,query:r,suspense:a})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(a&&t.data===void 0||yt(s,[t.error,r])),er=(t,e)=>e.state.data===void 0,Us=t=>{if(t.suspense){const s=a=>a==="static"?a:Math.max(a??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...a)=>s(r(...a)):s(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},Ns=(t,e)=>t.isLoading&&t.isFetching&&!e,Qs=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,Mt=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function as(t,e,s){var g,f,O,R;if(typeof t!="object"||Array.isArray(t))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=Ms(),a=js(),o=ss(s),h=o.defaultQueryOptions(t);(f=(g=o.getDefaultOptions().queries)==null?void 0:g._experimental_beforeQuery)==null||f.call(g,h);const u=o.getQueryCache().get(h.queryHash);h.queryFn||console.error(`[${h.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),h._optimisticResults=r?"isRestoring":"optimistic",Us(h),ks(h,a,u),As(a);const p=!o.getQueryCache().get(h.queryHash),[b]=D.useState(()=>new e(o,h)),m=b.getOptimisticResult(h),d=!r&&t.subscribed!==!1;if(D.useSyncExternalStore(D.useCallback(w=>{const T=d?b.subscribe(je.batchCalls(w)):he;return b.updateResult(),T},[b,d]),()=>b.getCurrentResult(),()=>b.getCurrentResult()),D.useEffect(()=>{b.setOptions(h)},[h,b]),Qs(h,m))throw Mt(h,b,a);if(Ds({result:m,errorResetBoundary:a,throwOnError:h.throwOnError,query:u,suspense:h.suspense}))throw m.error;if((R=(O=o.getDefaultOptions().queries)==null?void 0:O._experimental_afterQuery)==null||R.call(O,h,m),h.experimental_prefetchInRender&&!Ne.isServer()&&Ns(m,r)){const w=p?Mt(h,b,a):u==null?void 0:u.promise;w==null||w.catch(he).finally(()=>{b.updateResult()})}return h.notifyOnChangeProps?m:b.trackResult(m)}function tr(t,e){return as(t,Vt,e)}function sr(t,e){const s=ss(e),[r]=D.useState(()=>new xs(s,t));D.useEffect(()=>{r.setOptions(t)},[r,t]);const a=D.useSyncExternalStore(D.useCallback(h=>r.subscribe(je.batchCalls(h)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=D.useCallback((h,u)=>{r.mutate(h,u).catch(he)},[r]);if(a.error&&yt(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:o,mutateAsync:a.mutate}}function rr(t,e){return as(t,Fs,e)}export{Mt as A,Ds as B,as as C,er as D,Js as E,Ye as F,Xs as G,xs as H,Fs as I,ts as J,Zs as K,Ss as L,Vs as M,Ne as N,Ws as O,ds as P,Vt as Q,Ys as R,ze as S,yt as T,le as U,rr as V,sr as W,tr as X,je as a,Bs as b,$s as c,Ee as d,Gs as e,Lt as f,Ue as g,ps as h,xt as i,st as j,gs as k,vs as l,Hs as m,he as n,$t as o,pt as p,Ms as q,Ze as r,He as s,zs as t,ss as u,js as v,Us as w,ks as x,As as y,Qs as z};
|
public/index.html
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<script type="module">
|
| 5 |
+
(function() {
|
| 6 |
+
const errors = [];
|
| 7 |
+
let timer = null;
|
| 8 |
+
|
| 9 |
+
function push(err) {
|
| 10 |
+
errors.push(err);
|
| 11 |
+
if (!timer) {
|
| 12 |
+
timer = setTimeout(flush, 2000);
|
| 13 |
+
}
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
function flush() {
|
| 17 |
+
timer = null;
|
| 18 |
+
if (!errors.length) return;
|
| 19 |
+
const batch = errors.splice(0);
|
| 20 |
+
fetch("/_vulcan/errors", {
|
| 21 |
+
method: "POST",
|
| 22 |
+
headers: { "Content-Type": "application/json" },
|
| 23 |
+
body: JSON.stringify({ errors: batch }),
|
| 24 |
+
}).catch(() => {});
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
window.addEventListener("error", (ev) => {
|
| 28 |
+
push({
|
| 29 |
+
type: "uncaught_error",
|
| 30 |
+
message: ev.message || String(ev.error),
|
| 31 |
+
file: ev.filename || "",
|
| 32 |
+
line: ev.lineno || 0,
|
| 33 |
+
column: ev.colno || 0,
|
| 34 |
+
stack: ev.error?.stack || "",
|
| 35 |
+
timestamp: Math.floor(Date.now() / 1000),
|
| 36 |
+
});
|
| 37 |
+
});
|
| 38 |
+
|
| 39 |
+
window.addEventListener("unhandledrejection", (ev) => {
|
| 40 |
+
const reason = ev.reason;
|
| 41 |
+
push({
|
| 42 |
+
type: "unhandled_rejection",
|
| 43 |
+
message: reason?.message || String(reason),
|
| 44 |
+
file: "",
|
| 45 |
+
line: 0,
|
| 46 |
+
column: 0,
|
| 47 |
+
stack: reason?.stack || "",
|
| 48 |
+
timestamp: Math.floor(Date.now() / 1000),
|
| 49 |
+
});
|
| 50 |
+
});
|
| 51 |
+
})();
|
| 52 |
+
</script>
|
| 53 |
+
|
| 54 |
+
<meta charset="UTF-8" />
|
| 55 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 56 |
+
<link rel="icon" href="/favicon.ico" />
|
| 57 |
+
<title>App</title>
|
| 58 |
+
<script>
|
| 59 |
+
document.documentElement.classList.add('dark');
|
| 60 |
+
</script>
|
| 61 |
+
<script type="module" crossorigin src="/assets/index-CSjziSyP.js"></script>
|
| 62 |
+
<link rel="stylesheet" crossorigin href="/assets/index-B4dC72NG.css">
|
| 63 |
+
</head>
|
| 64 |
+
<body>
|
| 65 |
+
<div id="root"><!--ssr-outlet--></div>
|
| 66 |
+
<script>
|
| 67 |
+
// Fallback: if React fails to render (e.g. Vite dep stubs during cold
|
| 68 |
+
// start), auto-reload until deps are ready. This fires OUTSIDE React
|
| 69 |
+
// so it works even when React itself is null/undefined.
|
| 70 |
+
(function(){
|
| 71 |
+
var K='__boot_reload', W=30000, M=8;
|
| 72 |
+
function st(){try{return JSON.parse(sessionStorage.getItem(K))||{c:0,t:0}}catch(e){return{c:0,t:0}}}
|
| 73 |
+
setTimeout(function(){
|
| 74 |
+
if(window.__reactOk)return;
|
| 75 |
+
var s=st(),c=(Date.now()-s.t>W)?0:s.c;
|
| 76 |
+
if(c<M){sessionStorage.setItem(K,JSON.stringify({c:c+1,t:Date.now()}));location.reload()}
|
| 77 |
+
},3000);
|
| 78 |
+
})();
|
| 79 |
+
</script>
|
| 80 |
+
<!-- Made by Surf badge -->
|
| 81 |
+
<style>
|
| 82 |
+
#surf-badge{position:fixed;bottom:16px;right:16px;z-index:2147483647;display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:20px;font-family:"Lato",system-ui,sans-serif;font-size:12px;font-weight:500;line-height:16px;text-decoration:none;box-shadow:0 1px 1px rgba(51,51,51,.08),0 6px 12px rgba(51,51,51,.08);opacity:.9;transition:opacity .2s}
|
| 83 |
+
#surf-badge:hover{opacity:1}
|
| 84 |
+
@media print{#surf-badge{display:none}}
|
| 85 |
+
</style>
|
| 86 |
+
<a id="surf-badge" href="https://asksurf.ai" target="_blank" rel="noopener noreferrer" aria-label="Made by Surf" style="background:var(--bg-menu,#fff);color:var(--fg-base,#212121)">
|
| 87 |
+
<span>Made by</span>
|
| 88 |
+
<svg width="40" height="13" viewBox="0 0 63 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
| 89 |
+
<path d="M15.583 13.333C15.9931 13.3331 16.3814 13.5196 16.6377 13.8398L18.7666 16.5019C18.7956 16.5382 18.8261 16.5719 18.8574 16.6035C19.2049 16.954 19.6484 17.3405 19.6484 17.834C19.6484 18.3399 19.2383 18.75 18.7324 18.75H18.4668C18.1079 18.75 17.7682 18.5868 17.5439 18.3066L16.3633 16.831C15.6565 15.9476 14.2315 16.4477 14.2314 17.5791V18.6494C14.2314 18.7061 14.1827 18.7499 14.126 18.75H12.2529C11.6074 18.75 10.997 18.4562 10.5938 17.9521L9.69629 16.831C8.98948 15.9478 7.56544 16.4478 7.56543 17.5791V18.6494C7.56542 18.7062 7.51669 18.7499 7.45996 18.75H5.58594C4.94038 18.7499 4.32999 18.4563 3.92676 17.9521L3.03027 16.831C2.67436 16.3862 2.14844 15.9311 2.14844 15.3613V13.4385C2.14851 13.3817 2.19228 13.333 2.24902 13.333C2.65919 13.333 3.04737 13.5197 3.30371 13.8398L5.43359 16.5019C6.14031 17.3853 7.56521 16.8861 7.56543 15.7549V14.6846C7.56543 13.9385 8.16998 13.333 8.91602 13.333C9.32621 13.333 9.71437 13.5196 9.9707 13.8398L12.1006 16.5019C12.8052 17.3827 14.2227 16.8887 14.2314 15.7646V14.6846C14.2314 13.9385 14.837 13.333 15.583 13.333ZM15.583 6.66698C15.9932 6.66711 16.3814 6.8535 16.6377 7.17382L18.7666 9.83593C19.1224 10.2806 19.6484 10.7352 19.6484 11.3047V13.2266C19.6483 13.2833 19.6046 13.333 19.5479 13.333C19.1375 13.333 18.7495 13.1466 18.4932 12.8262L16.3633 10.1641C15.6565 9.28087 14.2315 9.78081 14.2314 10.9121V11.9824C14.2314 12.7284 13.6269 13.333 12.8809 13.333C12.4706 13.3329 12.0825 13.1465 11.8262 12.8262L9.69629 10.1641C8.98942 9.28109 7.56544 9.78088 7.56543 10.9121V11.9824C7.56543 12.7282 6.96062 13.3327 6.21484 13.333C5.80451 13.333 5.41551 13.1466 5.15918 12.8262L3.03027 10.1641C2.67435 9.71918 2.14844 9.26406 2.14844 8.69433V6.77245C2.14851 6.71573 2.19228 6.66699 2.24902 6.66698C2.65936 6.66698 3.04738 6.8534 3.30371 7.17382L5.43359 9.83593C6.14042 10.7191 7.56543 10.2192 7.56543 9.08788V8.01757C7.56543 7.27154 8.16998 6.66698 8.91602 6.66698C9.32634 6.66701 9.71437 6.85341 9.9707 7.17382L12.1006 9.83593C12.8052 10.7162 14.2225 10.2223 14.2314 9.09863V8.01757C14.2314 7.27154 14.837 6.66698 15.583 6.66698ZM3.33008 1.24999C3.68899 1.24999 4.02863 1.41318 4.25293 1.69335L5.43359 3.16894C6.14036 4.0524 7.56543 3.55227 7.56543 2.42089V1.35058C7.56544 1.29384 7.61417 1.25007 7.6709 1.24999H9.54395C10.1895 1.24999 10.7999 1.54378 11.2031 2.04784L12.1006 3.16894C12.8052 4.04953 14.2227 3.5556 14.2314 2.43163V1.35058C14.2315 1.29384 14.2802 1.25007 14.3369 1.24999H16.2109C16.8565 1.25014 17.4669 1.54375 17.8701 2.04784L18.7666 3.16894C19.1223 3.61354 19.6481 4.06741 19.6484 4.63671V6.56054C19.6483 6.61728 19.6046 6.66698 19.5479 6.66698C19.1377 6.66698 18.7495 6.48034 18.4932 6.16015L16.3633 3.49804C15.6566 2.61465 14.2317 3.11391 14.2314 4.24511V5.3164C14.2312 6.06217 13.6267 6.66698 12.8809 6.66698C12.4707 6.66693 12.0825 6.48039 11.8262 6.16015L9.69629 3.49804C8.98957 2.61465 7.56565 3.11391 7.56543 4.24511V5.3164C7.56518 6.06202 6.96046 6.66673 6.21484 6.66698C5.80453 6.66698 5.41551 6.48054 5.15918 6.16015L3.03027 3.49804C3.00109 3.46156 2.97093 3.42724 2.93945 3.3955C2.59217 3.04543 2.14867 2.65906 2.14844 2.16601C2.14844 1.66032 2.55877 1.24999 3.06445 1.24999H3.33008Z"/>
|
| 90 |
+
<path d="M35.1083 6.97044C34.7154 6.97044 34.5223 6.77734 34.3692 6.39782C33.9963 5.49228 33.0042 4.97958 31.6925 4.97958C30.0146 4.97958 28.9559 5.83851 28.9559 6.99707C28.9493 8.30211 30.3675 8.80149 31.4328 9.07449L32.7645 9.42072C34.4957 9.84686 36.6863 10.799 36.6863 13.2559C36.6863 15.5664 34.8419 17.251 31.6392 17.251C28.8827 17.251 27.0649 16.0125 26.6321 13.9617C26.5389 13.5156 26.7986 13.2559 27.2514 13.2559H27.9971C28.3966 13.2559 28.5897 13.4557 28.7229 13.8485C29.1024 14.9272 30.2676 15.4466 31.6259 15.4466C33.3771 15.4466 34.6488 14.5676 34.6488 13.236C34.6488 12.0241 33.5236 11.5447 32.0654 11.1586L30.454 10.7191C28.2634 10.1265 26.9051 9.01456 26.9051 7.11692C26.9051 4.76651 29.0025 3.20179 31.7391 3.20179C34.2027 3.20179 36.0005 4.45357 36.4133 6.27131C36.5132 6.71076 36.2335 6.97044 35.7874 6.97044H35.1083Z"/>
|
| 91 |
+
<path d="M45.0887 7.46316C45.0887 7.03036 45.3217 6.79732 45.7545 6.79732H46.4204C46.8532 6.79732 47.0862 7.03036 47.0862 7.46316V16.3588C47.0862 16.7915 46.8532 17.0246 46.4204 17.0246H45.7945C45.3617 17.0246 45.1286 16.7915 45.1286 16.3588V15.2535H45.0221C44.5494 16.3454 43.504 17.1578 41.9659 17.1578C40.0017 17.1578 38.6101 15.8394 38.6101 13.3026V7.46316C38.6101 7.03036 38.8431 6.79732 39.2759 6.79732H39.9351C40.3679 6.79732 40.601 7.03036 40.601 7.46316V13.0629C40.601 14.4545 41.4532 15.3467 42.685 15.3467C43.8036 15.3467 45.0954 14.521 45.0887 12.7832V7.46316Z"/>
|
| 92 |
+
<path d="M49.3862 7.46316C49.3862 7.03036 49.6193 6.79732 50.0521 6.79732H50.6447C51.0774 6.79732 51.3105 7.03036 51.3105 7.46316V8.42196H51.417C51.7899 7.32333 52.8153 6.64418 54.0138 6.64418C54.0737 6.64418 54.147 6.64418 54.2202 6.65084C54.6397 6.65749 54.8594 6.91717 54.8594 7.33665V7.88264C54.8594 8.33541 54.673 8.54182 54.3467 8.50852C54.1803 8.48855 53.9938 8.47523 53.8207 8.47523C52.4091 8.47523 51.3771 9.4407 51.3771 10.779V16.3588C51.3771 16.7915 51.144 17.0246 50.7112 17.0246H50.0521C49.6193 17.0246 49.3862 16.7915 49.3862 16.3588V7.46316Z"/>
|
| 93 |
+
<path d="M61.6788 7.72949C61.6788 8.16229 61.4457 8.39533 61.013 8.39533H59.4749V16.3588C59.4749 16.7915 59.2418 17.0246 58.809 17.0246H58.1432C57.7104 17.0246 57.4774 16.7915 57.4774 16.3588V8.39533H56.5652C56.1324 8.39533 55.8993 8.16229 55.8993 7.72949V7.46316C55.8993 7.03036 56.1324 6.79732 56.5652 6.79732H57.4774V5.61213C57.4774 3.69451 58.8956 2.74902 60.5136 2.74902C60.9131 2.74902 61.2593 2.78897 61.539 2.84224C61.9651 2.9288 62.1116 3.2484 61.9917 3.66122L61.8919 4.01412C61.7787 4.42028 61.5656 4.57342 61.2726 4.52015C61.1395 4.49352 60.993 4.4802 60.8199 4.4802C59.8477 4.4802 59.4749 4.97292 59.4749 5.87846V6.79732H61.013C61.4457 6.79732 61.6788 7.03036 61.6788 7.46316V7.72949Z"/>
|
| 94 |
+
</svg>
|
| 95 |
+
</a>
|
| 96 |
+
<!-- Plaza badge: rendered only when this deployed site is shared on Surf Plaza. -->
|
| 97 |
+
<script>
|
| 98 |
+
(function(){
|
| 99 |
+
try{
|
| 100 |
+
var m=location.hostname.match(/^([a-z0-9][a-z0-9-]{0,51})\.(?:surf\.computer|stg\.ask\.surf)$/i);
|
| 101 |
+
if(!m)return;
|
| 102 |
+
var slug=m[1].toLowerCase();
|
| 103 |
+
fetch('https://api.asksurf.ai/muninn/v1/plaza/by-subdomain?subdomain='+encodeURIComponent(slug))
|
| 104 |
+
.then(function(r){return r.ok?r.json():null;})
|
| 105 |
+
.then(function(j){
|
| 106 |
+
var d=j&&j.data;
|
| 107 |
+
if(!d||!d.shared||!d.listing_id)return;
|
| 108 |
+
var a=document.createElement('a');
|
| 109 |
+
a.id='plaza-badge';
|
| 110 |
+
a.href='https://asksurf.ai/studio/gallery?id='+encodeURIComponent(d.listing_id);
|
| 111 |
+
a.target='_blank';
|
| 112 |
+
a.rel='noopener noreferrer';
|
| 113 |
+
a.setAttribute('aria-label','Remix this on Surf Plaza');
|
| 114 |
+
a.style.cssText='position:fixed;bottom:56px;right:16px;z-index:2147483647;display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:20px;font-family:"Lato",system-ui,sans-serif;font-size:12px;font-weight:500;line-height:16px;text-decoration:none;background:#fd5587;color:#fff;box-shadow:0 1px 1px rgba(51,51,51,.08),0 6px 12px rgba(51,51,51,.16);opacity:.92;transition:opacity .2s';
|
| 115 |
+
a.onmouseenter=function(){a.style.opacity='1';};
|
| 116 |
+
a.onmouseleave=function(){a.style.opacity='.92';};
|
| 117 |
+
a.innerHTML='<span aria-hidden="true" style="font-size:13px;line-height:1">↻</span><span>Remix on Plaza</span>';
|
| 118 |
+
var s=document.createElement('style');
|
| 119 |
+
s.textContent='@media print{#plaza-badge{display:none}}';
|
| 120 |
+
document.head.appendChild(s);
|
| 121 |
+
document.body.appendChild(a);
|
| 122 |
+
})
|
| 123 |
+
.catch(function(){});
|
| 124 |
+
}catch(e){}
|
| 125 |
+
})();
|
| 126 |
+
</script>
|
| 127 |
+
</body>
|
| 128 |
+
</html>
|
server.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|