From 4f60fe177c66e7955a21111a719dc6a0e66336c1 Mon Sep 17 00:00:00 2001 From: osamajandali Date: Mon, 2 Dec 2024 23:41:35 +0000 Subject: [PATCH] deploy: 8d4d0e602ad9f51444cd827bf51e4b8e85ec12a3 --- assets/index-BHxxlFYR.css | 1 - assets/{index-Juu0HrVn.js => index-BOY5d8qj.js} | 2 +- assets/index-C0-1-t3d.css | 1 + index.html | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 assets/index-BHxxlFYR.css rename assets/{index-Juu0HrVn.js => index-BOY5d8qj.js} (99%) create mode 100644 assets/index-C0-1-t3d.css diff --git a/assets/index-BHxxlFYR.css b/assets/index-BHxxlFYR.css deleted file mode 100644 index 4822da0..0000000 --- a/assets/index-BHxxlFYR.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/if-visualizer/assets/nunito-sans-cyrillic-ext-400-normal-DbZ3PraV.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-ext-400-normal-CiS_ymQP.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/if-visualizer/assets/nunito-sans-cyrillic-400-normal-BtO980RN.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-400-normal-DSadNw8v.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/if-visualizer/assets/nunito-sans-vietnamese-400-normal-nJ9uqzQQ.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-vietnamese-400-normal-BDueTZp9.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/if-visualizer/assets/nunito-sans-latin-ext-400-normal-Dl00lHtW.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-ext-400-normal-peglra3h.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/if-visualizer/assets/nunito-sans-latin-400-normal-GK4zUbTe.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-400-normal-BcaM0ec9.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/if-visualizer/assets/nunito-sans-cyrillic-ext-500-normal-iRI3h2Rp.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-ext-500-normal-J6XOOZby.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/if-visualizer/assets/nunito-sans-cyrillic-500-normal-B4hzaLRt.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-500-normal-CetUFi4z.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/if-visualizer/assets/nunito-sans-vietnamese-500-normal-D3dchfYx.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-vietnamese-500-normal-dvhVfJC2.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/if-visualizer/assets/nunito-sans-latin-ext-500-normal-Dp3w1j9Z.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-ext-500-normal-BhvLMx_k.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/if-visualizer/assets/nunito-sans-latin-500-normal-C-sym9Zp.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-500-normal-CtFMTw07.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/if-visualizer/assets/nunito-sans-cyrillic-ext-700-normal-C83qBzxs.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-ext-700-normal-B0cEhJyB.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/if-visualizer/assets/nunito-sans-cyrillic-700-normal-BucEZqdl.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-700-normal-N11n8Wu1.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/if-visualizer/assets/nunito-sans-vietnamese-700-normal-BEpNkMJC.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-vietnamese-700-normal-BaFHLVzU.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/if-visualizer/assets/nunito-sans-latin-ext-700-normal-BRYPcVU0.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-ext-700-normal-B1WuhRgc.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/if-visualizer/assets/nunito-sans-latin-700-normal-Bg6PAa9Y.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-700-normal-JizdrUr4.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/if-visualizer/assets/nunito-sans-cyrillic-ext-900-normal-UKUWaibx.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-ext-900-normal-BL0k2LwF.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/if-visualizer/assets/nunito-sans-cyrillic-900-normal-C_WMrL8M.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-cyrillic-900-normal-C-jRn0mA.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/if-visualizer/assets/nunito-sans-vietnamese-900-normal-B95FVEM_.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-vietnamese-900-normal-CZWL6OWh.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/if-visualizer/assets/nunito-sans-latin-ext-900-normal-ePT42D-O.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-ext-900-normal-BHiF0nq-.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/if-visualizer/assets/nunito-sans-latin-900-normal-Afd1rMI-.woff2) format("woff2"),url(/if-visualizer/assets/nunito-sans-latin-900-normal-490hvtV8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Nunito Sans,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 20 14.3% 4.1%;--card: 0 0% 100%;--card-foreground: 20 14.3% 4.1%;--popover: 0 0% 100%;--popover-foreground: 20 14.3% 4.1%;--primary: 178 100% 21%;--primary-foreground: 170 30% 96%;--primary-background: 178 100% 16%;--secondary: 75 54% 56%;--secondary-foreground: 75 42% 28%;--secondary-background: 70 50% 98%;--muted: 60 4.8% 95.9%;--muted-foreground: 178 100% 11%;--accent: 60 4.8% 95.9%;--accent-foreground: 24 9.8% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 60 9.1% 97.8%;--border: 178 27% 80%;--input: 20 5.9% 90%;--ring: 20 14.3% 4.1%;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%;--radius: .5rem;--primary-darkest-2: 178 100% 7%;--primary-darkest: 178 100% 9%;--primary-darker: 178 100% 11%;--primary-dark: 178 100% 16%;--primary-light: 178 20% 61%;--primary-lighter: 178 30% 86%;--primary-lightest-2: 180 33% 92%;--primary-lightest-1: 180 33% 96%;--secondary-darker: 75 42% 28%;--secondary-dark: 75 42% 42%;--secondary-light: 75 54% 78%;--secondary-lighter: 75 54% 89%;--secondary-lightest-2: 75 54% 96%;--secondary-lightest-1: 75 54% 98%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.mb-2{margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-4{height:1rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[400px\]{height:400px}.h-\[80vh\]{height:80vh}.h-full{height:100%}.max-h-\[600px\]{max-height:600px}.max-h-full{max-height:100%}.w-0{width:0px}.w-1{width:.25rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/5{width:40%}.w-4{width:1rem}.w-9{width:2.25rem}.w-\[24px\]{width:24px}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.max-w-5xl{max-width:64rem}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-20{-moz-column-gap:5rem;column-gap:5rem}.gap-y-12{row-gap:3rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-border{border-color:hsl(var(--border))}.border-border\/50{border-color:hsl(var(--border) / .5)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-primary-lighter{border-color:hsl(var(--primary-lighter))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:#000c}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary-lighter{background-color:hsl(var(--primary-lighter))}.bg-primary-lightest-1{background-color:hsl(var(--primary-lightest-1))}.bg-primary-lightest-2{background-color:hsl(var(--primary-lightest-2))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-secondary-lightest-1{background-color:hsl(var(--secondary-lightest-1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-\[1px\]{padding:1px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-3{padding-bottom:.75rem}.pt-0{padding-top:0}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-dark{color:hsl(var(--primary-dark))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary-light{color:hsl(var(--primary-light))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.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)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:mt-4:after{content:var(--tw-content);margin-top:1rem}.after\:block:after{content:var(--tw-content);display:block}.after\:h-1:after{content:var(--tw-content);height:.25rem}.after\:w-9:after{content:var(--tw-content);width:2.25rem}.after\:bg-primary-light:after{content:var(--tw-content);background-color:hsl(var(--primary-light))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-primary:focus-visible{--tw-ring-color: hsl(var(--primary))}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=active\]\:bg-primary[data-state=active]{background-color:hsl(var(--primary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=active\]\:text-primary-foreground[data-state=active]{color:hsl(var(--primary-foreground))}.data-\[state\=checked\]\:opacity-100[data-state=checked]{opacity:1}.data-\[state\=unchecked\]\:opacity-60[data-state=unchecked]{opacity:.6}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}@media (min-width: 640px){.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:mb-6{margin-bottom:1.5rem}.md\:gap-y-16{row-gap:4rem}.md\:py-16{padding-top:4rem;padding-bottom:4rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:items-center{align-items:center}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-primary-dark .recharts-cartesian-axis-tick text{fill:hsl(var(--primary-dark))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border) / .5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} diff --git a/assets/index-Juu0HrVn.js b/assets/index-BOY5d8qj.js similarity index 99% rename from assets/index-Juu0HrVn.js rename to assets/index-BOY5d8qj.js index 718ff6d..ed852b7 100644 --- a/assets/index-Juu0HrVn.js +++ b/assets/index-BOY5d8qj.js @@ -264,4 +264,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),ye=F,se=V);const W={co If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return R.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},GEe="DialogDescriptionWarning",$Ee=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${QU(GEe).contentName}}.`;return R.useEffect(()=>{var a;const i=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},YEe=kU,HEe=UU,qEe=GU,VEe=$U,zEe=YU,WEe=qU,jEe=zU,KEe=jU;function QEe(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const XU=I.createContext({drawerRef:{current:null},overlayRef:{current:null},scaleBackground:()=>{},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,handleOnly:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},visible:!1,closeDrawer:()=>{},setVisible:()=>{},direction:"bottom"}),Z_=()=>{const e=I.useContext(XU);if(!e)throw new Error("useDrawerContext must be used within a Drawer.Root");return e};QEe("[vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left]{overflow-x:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]::after{content:'';position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-handle]{display:block;position:relative;opacity:.8;margin-left:auto;margin-right:auto;height:5px;width:56px;border-radius:1rem;touch-action:pan-y;cursor:grab}[vaul-handle]:active,[vaul-handle]:hover{opacity:1}[vaul-handle]:active{cursor:grabbing}[vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible=false]){opacity:1}@media (hover:hover) and (pointer:fine){[vaul-drawer]{user-select:none}}@media (pointer:fine){[vaul-handle-hitarea]:{width:100%;height:100%}}");const ZU=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Uh(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function XEe(){return fT(/^Mac/)}function ZEe(){return fT(/^iPhone/)}function JEe(){return fT(/^iPad/)||XEe()&&navigator.maxTouchPoints>1}function JU(){return ZEe()||JEe()}function fT(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}const nS=typeof document<"u"&&window.visualViewport;function HD(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function eB(e){for(HD(e)&&(e=e.parentElement);e&&!HD(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const eSe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Jc=0,rS;function tSe(e={}){let{isDisabled:t}=e;ZU(()=>{if(!t)return Jc++,Jc===1&&(JU()?rS=rSe():rS=nSe()),()=>{Jc--,Jc===0&&rS()}},[t])}function nSe(){return Uh(tB(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`))}function rSe(){let e,t=0,n=d=>{e=eB(d.target),!(e===document.documentElement&&e===document.body)&&(t=d.changedTouches[0].pageY)},r=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}let _=d.changedTouches[0].pageY,p=e.scrollTop,m=e.scrollHeight-e.clientHeight;m!==0&&((p<=0&&_>t||p>=m&&_{let _=d.target;Bh(_)&&_!==document.activeElement&&(d.preventDefault(),_.style.transform="translateY(-2000px)",_.focus(),requestAnimationFrame(()=>{_.style.transform=""}))},a=d=>{let _=d.target;Bh(_)&&(_.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{_.style.transform="",nS&&(nS.height{qD(_)}):nS.addEventListener("resize",()=>qD(_),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},s=window.pageXOffset,l=window.pageYOffset,c=Uh(tB(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let u=Uh(gs(document,"touchstart",n,{passive:!1,capture:!0}),gs(document,"touchmove",r,{passive:!1,capture:!0}),gs(document,"touchend",i,{passive:!1,capture:!0}),gs(document,"focus",a,!0),gs(window,"scroll",o));return()=>{c(),u(),window.scrollTo(s,l)}}function tB(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function gs(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function qD(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=eB(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,i=e.getBoundingClientRect().top,a=e.getBoundingClientRect().bottom;const o=n.getBoundingClientRect().bottom;a>o&&(n.scrollTop+=i-r)}e=n.parentElement}}function Bh(e){return e instanceof HTMLInputElement&&!eSe.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function iSe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function aSe(...e){return t=>e.forEach(n=>iSe(n,t))}function nB(...e){return R.useCallback(aSe(...e),e)}let Es=null;function oSe({isOpen:e,modal:t,nested:n,hasBeenOpened:r,preventScrollRestoration:i,noBodyStyles:a}){const[o,s]=I.useState(()=>typeof window<"u"?window.location.href:""),l=I.useRef(0),c=I.useCallback(()=>{if(Es===null&&e&&!a){Es={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:d,innerHeight:_}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-d}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const p=_-window.innerHeight;p&&l.current>=_&&(document.body.style.top=`${-(l.current+p)}px`)}),300)}},[e]),u=I.useCallback(()=>{if(Es!==null&&!a){const d=-parseInt(document.body.style.top,10),_=-parseInt(document.body.style.left,10);Object.assign(document.body.style,Es),window.requestAnimationFrame(()=>{if(i&&o!==window.location.href){s(window.location.href);return}window.scrollTo(_,d)}),Es=null}},[o]);return I.useEffect(()=>{function d(){l.current=window.scrollY}return d(),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}},[]),I.useEffect(()=>{n||!r||(e?(!window.matchMedia("(display-mode: standalone)").matches&&c(),t||window.setTimeout(()=>{u()},500)):u())},[e,r,o,t,n,c,u]),{restorePositionSetting:u}}const rB=new WeakMap;function Ve(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let r={};Object.entries(t).forEach(([i,a])=>{if(i.startsWith("--")){e.style.setProperty(i,a);return}r[i]=e.style[i],e.style[i]=a}),!n&&rB.set(e,r)}function eu(e,t){if(!e||!(e instanceof HTMLElement))return;let n=rB.get(e);n&&(t?e.style[t]=n[t]:Object.entries(n).forEach(([r,i])=>{e.style[r]=i}))}const _t=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function tu(e,t){if(!e)return null;const n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform;let i=r.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[_t(t)?13:12]):(i=r.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[_t(t)?5:4]):null)}function sSe(e){return 8*(Math.log(e+1)-2)}const Le={DURATION:.5,EASE:[.32,.72,0,1]},iB=.4;function aB(e){const t=I.useRef(e);return I.useEffect(()=>{t.current=e}),I.useMemo(()=>(...n)=>t.current==null?void 0:t.current.call(t,...n),[])}function lSe({defaultProp:e,onChange:t}){const n=I.useState(e),[r]=n,i=I.useRef(r),a=aB(t);return I.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}function cSe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=lSe({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=aB(n),l=I.useCallback(c=>{if(a){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else i(c)},[a,e,i,s]);return[o,l]}function uSe({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:r,overlayRef:i,fadeFromIndex:a,onSnapPointChange:o,direction:s="bottom"}){const[l,c]=cSe({prop:e,defaultProp:n==null?void 0:n[0],onChange:t}),u=I.useMemo(()=>l===(n==null?void 0:n[n.length-1])||null,[n,l]),d=n&&n.length>0&&(a||a===0)&&!Number.isNaN(a)&&n[a]===l||!n,_=I.useMemo(()=>n==null?void 0:n.findIndex(h=>h===l),[n,l]),p=I.useMemo(()=>{var h;return(h=n==null?void 0:n.map(v=>{const b=typeof window<"u",y=typeof v=="string";let T=0;if(y&&(T=parseInt(v,10)),_t(s)){const O=y?T:b?v*window.innerHeight:0;return b?s==="bottom"?window.innerHeight-O:-window.innerHeight+O:O}const C=y?T:b?v*window.innerWidth:0;return b?s==="right"?window.innerWidth-C:-window.innerWidth+C:C}))!=null?h:[]},[n]),m=I.useMemo(()=>_!==null?p==null?void 0:p[_]:null,[p,_]),f=I.useCallback(h=>{var v;const b=(v=p==null?void 0:p.findIndex(y=>y===h))!=null?v:null;o(b),Ve(r.current,{transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,transform:_t(s)?`translate3d(0, ${h}px, 0)`:`translate3d(${h}px, 0, 0)`}),p&&b!==p.length-1&&b!==a?Ve(i.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,opacity:"0"}):Ve(i.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,opacity:"1"}),c(b!==null?n==null?void 0:n[b]:null)},[r.current,n,p,a,i,c]);I.useEffect(()=>{if(l||e){var h;const v=(h=n==null?void 0:n.findIndex(b=>b===e||b===l))!=null?h:-1;p&&v!==-1&&typeof p[v]=="number"&&f(p[v])}},[l,e,n,p,f]);function S({draggedDistance:h,closeDrawer:v,velocity:b,dismissible:y}){if(a===void 0)return;const T=s==="bottom"||s==="right"?(m??0)-h:(m??0)+h,C=_===a-1,O=_===0,N=h>0;if(C&&Ve(i.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),b>2&&!N){y?v():f(p[0]);return}if(b>2&&N&&p&&n){f(p[n.length-1]);return}const x=p==null?void 0:p.reduce((M,k)=>typeof M!="number"||typeof k!="number"?M:Math.abs(k-T)iB&&Math.abs(h)0&&u){f(p[n.length-1]);return}if(O&&M<0&&y&&v(),_===null)return;f(p[_+M]);return}f(x)}function g({draggedDistance:h}){if(m===null)return;const v=s==="bottom"||s==="right"?m-h:m+h;(s==="bottom"||s==="right")&&vp[p.length-1]||Ve(r.current,{transform:_t(s)?`translate3d(0, ${v}px, 0)`:`translate3d(${v}px, 0, 0)`})}function E(h,v){if(!n||typeof _!="number"||!p||a===void 0)return null;const b=_===a-1;if(_>=a&&v)return 0;if(b&&!v)return 1;if(!d&&!b)return null;const T=b?_+1:_-1,C=b?p[T]-p[T-1]:p[T+1]-p[T],O=h/Math.abs(C);return b?1-O:O}return{isLastSnapPoint:u,activeSnapPoint:l,shouldFade:d,getPercentageDragged:E,setActiveSnapPoint:c,activeSnapPointIndex:_,onRelease:S,onDrag:g,snapPointsOffset:p}}const dSe=.25,_Se=100,VD=8,ki=16,zD=26,iS="vaul-dragging";function oB({open:e,onOpenChange:t,children:n,shouldScaleBackground:r,onDrag:i,onRelease:a,snapPoints:o,nested:s=!1,setBackgroundColorOnScale:l=!0,closeThreshold:c=dSe,scrollLockTimeout:u=_Se,dismissible:d=!0,handleOnly:_=!1,fadeFromIndex:p=o&&o.length-1,activeSnapPoint:m,setActiveSnapPoint:f,fixed:S,modal:g=!0,onClose:E,noBodyStyles:h,direction:v="bottom",preventScrollRestoration:b=!0,disablePreventScroll:y=!1}){var T;const[C=!1,O]=I.useState(!1),[N,x]=I.useState(!1),[w,M]=I.useState(!1),[k,U]=I.useState(!1),[L,G]=I.useState(!1),[P,B]=I.useState(!1),H=I.useRef(null),j=I.useRef(null),K=I.useRef(null),F=I.useRef(null),V=I.useRef(null),J=I.useRef(!1),ne=I.useRef(null),se=I.useRef(0),ye=I.useRef(!1),W=I.useRef(0),q=I.useRef(null),te=I.useRef(((T=q.current)==null?void 0:T.getBoundingClientRect().height)||0),$=I.useRef(0),xe=I.useCallback(oe=>{o&&oe===lt.length-1&&(j.current=new Date)},[]),{activeSnapPoint:Ee,activeSnapPointIndex:Ne,setActiveSnapPoint:Ae,onRelease:Je,snapPointsOffset:lt,onDrag:Lt,shouldFade:yt,getPercentageDragged:it}=uSe({snapPoints:o,activeSnapPointProp:m,setActiveSnapPointProp:f,drawerRef:q,fadeFromIndex:p,overlayRef:H,onSnapPointChange:xe,direction:v});tSe({isDisabled:!C||L||!g||P||!N||y});const{restorePositionSetting:de}=oSe({isOpen:C,modal:g,nested:s,hasBeenOpened:N,preventScrollRestoration:b,noBodyStyles:h});function Ht(){return(window.innerWidth-zD)/window.innerWidth}function Ke(oe){var _e;!d&&!o||q.current&&!q.current.contains(oe.target)||(te.current=((_e=q.current)==null?void 0:_e.getBoundingClientRect().height)||0,G(!0),K.current=new Date,JU()&&window.addEventListener("touchend",()=>J.current=!1,{once:!0}),oe.target.setPointerCapture(oe.pointerId),se.current=_t(v)?oe.clientY:oe.clientX)}function Ue(oe,_e){var Ye;let Se=oe;const at=(Ye=window.getSelection())==null?void 0:Ye.toString(),ct=q.current?tu(q.current,v):null,sn=new Date;if(Se.hasAttribute("data-vaul-no-drag")||Se.closest("[data-vaul-no-drag]"))return!1;if(v==="right"||v==="left")return!0;if(j.current&&sn.getTime()-j.current.getTime()<500)return!1;if(ct!==null&&(v==="bottom"?ct>0:ct<0))return!0;if(at&&at.length>0)return!1;if(V.current&&sn.getTime()-V.current.getTime()Se.clientHeight){if(Se.scrollTop!==0)return V.current=new Date,!1;if(Se.getAttribute("role")==="dialog")return!0}Se=Se.parentNode}return!0}function Xn(oe){if(q.current&&L){const _e=v==="bottom"||v==="right"?1:-1,Ye=(se.current-(_t(v)?oe.clientY:oe.clientX))*_e,Se=Ye>0,at=o&&!d&&!Se;if(at&&Ne===0)return;const ct=Math.abs(Ye),sn=document.querySelector("[vaul-drawer-wrapper]");let Fn=ct/te.current;const Sr=it(ct,Se);if(Sr!==null&&(Fn=Sr),at&&Fn>=1||!J.current&&!Ue(oe.target,Se))return;if(q.current.classList.add(iS),J.current=!0,Ve(q.current,{transition:"none"}),Ve(H.current,{transition:"none"}),o&&Lt({draggedDistance:Ye}),Se&&!o){const jr=sSe(Ye),Ko=Math.min(jr*-1,0)*_e;Ve(q.current,{transform:_t(v)?`translate3d(0, ${Ko}px, 0)`:`translate3d(${Ko}px, 0, 0)`});return}const jo=1-Fn;if((yt||p&&Ne===p-1)&&(i==null||i(oe,Fn),Ve(H.current,{opacity:`${jo}`,transition:"none"},!0)),sn&&H.current&&r){const jr=Math.min(Ht()+Fn*(1-Ht()),1),Ko=8-Fn*8,tp=Math.max(0,14-Fn*14);Ve(sn,{borderRadius:`${Ko}px`,transform:_t(v)?`scale(${jr}) translate3d(0, ${tp}px, 0)`:`scale(${jr}) translate3d(${tp}px, 0, 0)`,transition:"none"},!0)}if(!o){const jr=ct*_e;Ve(q.current,{transform:_t(v)?`translate3d(0, ${jr}px, 0)`:`translate3d(${jr}px, 0, 0)`})}}}I.useEffect(()=>()=>{re(!1),de()},[]),I.useEffect(()=>{var oe;function _e(){if(!q.current)return;const Ye=document.activeElement;if(Bh(Ye)||ye.current){var Se;const at=((Se=window.visualViewport)==null?void 0:Se.height)||0;let ct=window.innerHeight-at;const sn=q.current.getBoundingClientRect().height||0;$.current||($.current=sn);const Fn=q.current.getBoundingClientRect().top;if(Math.abs(W.current-ct)>60&&(ye.current=!ye.current),o&&o.length>0&<&&Ne){const Sr=lt[Ne]||0;ct+=Sr}if(W.current=ct,sn>at||ye.current){const Sr=q.current.getBoundingClientRect().height;let jo=Sr;Sr>at&&(jo=at-zD),S?q.current.style.height=`${Sr-Math.max(ct,0)}px`:q.current.style.height=`${Math.max(jo,at-Fn)}px`}else q.current.style.height=`${$.current}px`;o&&o.length>0&&!ye.current?q.current.style.bottom="0px":q.current.style.bottom=`${Math.max(ct,0)}px`}}return(oe=window.visualViewport)==null||oe.addEventListener("resize",_e),()=>{var Ye;return(Ye=window.visualViewport)==null?void 0:Ye.removeEventListener("resize",_e)}},[Ne,o,lt]);function kt(){q.current&&(Wr(),E==null||E(),Ve(q.current,{transform:_t(v)?`translate3d(0, ${v==="bottom"?"100%":"-100%"}, 0)`:`translate3d(${v==="right"?"100%":"-100%"}, 0, 0)`,transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),Ve(H.current,{opacity:"0",transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),re(!1),setTimeout(()=>{M(!1),O(!1)},300),setTimeout(()=>{o&&Ae(o[0])},Le.DURATION*1e3))}I.useEffect(()=>{if(!C&&r){const oe=setTimeout(()=>{eu(document.body)},200);return()=>clearTimeout(oe)}},[C,r]),ZU(()=>{e?(O(!0),x(!0)):kt()},[e]),I.useEffect(()=>{k&&(t==null||t(C))},[C]),I.useEffect(()=>{U(!0)},[]);function Zn(){if(!q.current)return;const oe=document.querySelector("[vaul-drawer-wrapper]"),_e=tu(q.current,v);Ve(q.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),Ve(H.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,opacity:"1"}),r&&_e&&_e>0&&C&&Ve(oe,{borderRadius:`${VD}px`,overflow:"hidden",..._t(v)?{transform:`scale(${Ht()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Ht()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Le.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Le.EASE.join(",")})`},!0)}function Wr(){!L||!q.current||(q.current.classList.remove(iS),J.current=!1,G(!1),F.current=new Date)}function ee(oe){if(!L||!q.current)return;q.current.classList.remove(iS),J.current=!1,G(!1),F.current=new Date;const _e=tu(q.current,v);if(!Ue(oe.target,!1)||!_e||Number.isNaN(_e)||K.current===null)return;const Ye=F.current.getTime()-K.current.getTime(),Se=se.current-(_t(v)?oe.clientY:oe.clientX),at=Math.abs(Se)/Ye;if(at>.05&&(B(!0),setTimeout(()=>{B(!1)},200)),o){Je({draggedDistance:Se*(v==="bottom"||v==="right"?1:-1),closeDrawer:kt,velocity:at,dismissible:d}),a==null||a(oe,!0);return}if(v==="bottom"||v==="right"?Se>0:Se<0){Zn(),a==null||a(oe,!0);return}if(at>iB){kt(),a==null||a(oe,!1);return}var ct;const sn=Math.min((ct=q.current.getBoundingClientRect().height)!=null?ct:0,window.innerHeight);if(_e>=sn*c){kt(),a==null||a(oe,!1);return}a==null||a(oe,!0),Zn()}I.useEffect(()=>{C&&(Ve(document.documentElement,{scrollBehavior:"auto"}),j.current=new Date,re(!0))},[C]),I.useEffect(()=>{if(q.current&&w){var oe;const _e=q==null||(oe=q.current)==null?void 0:oe.querySelectorAll("*");_e==null||_e.forEach(Ye=>{const Se=Ye;(Se.scrollHeight>Se.clientHeight||Se.scrollWidth>Se.clientWidth)&&Se.classList.add("vaul-scrollable")})}},[w]);function re(oe){const _e=document.querySelector("[vaul-drawer-wrapper]");!_e||!r||(oe?(l&&(h||(Ve(document.body,{background:document.body.style.backgroundColor||document.body.style.background}),Ve(document.body,{background:"black"},!0))),Ve(_e,{borderRadius:`${VD}px`,overflow:"hidden",..._t(v)?{transform:`scale(${Ht()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Ht()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Le.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Le.EASE.join(",")})`})):(eu(_e,"overflow"),eu(_e,"transform"),eu(_e,"borderRadius"),Ve(_e,{transitionProperty:"transform, border-radius",transitionDuration:`${Le.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Le.EASE.join(",")})`})))}function pe(oe){const _e=oe?(window.innerWidth-ki)/window.innerWidth:1,Ye=oe?-ki:0;ne.current&&window.clearTimeout(ne.current),Ve(q.current,{transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,transform:`scale(${_e}) translate3d(0, ${Ye}px, 0)`}),!oe&&q.current&&(ne.current=setTimeout(()=>{const Se=tu(q.current,v);Ve(q.current,{transition:"none",transform:_t(v)?`translate3d(0, ${Se}px, 0)`:`translate3d(${Se}px, 0, 0)`})},500))}function ae(oe,_e){if(_e<0)return;const Ye=_t(v)?window.innerHeight:window.innerWidth,Se=(Ye-ki)/Ye,at=Se+_e*(1-Se),ct=-ki+_e*ki;Ve(q.current,{transform:_t(v)?`scale(${at}) translate3d(0, ${ct}px, 0)`:`scale(${at}) translate3d(${ct}px, 0, 0)`,transition:"none"})}function dt(oe,_e){const Ye=_t(v)?window.innerHeight:window.innerWidth,Se=_e?(Ye-ki)/Ye:1,at=_e?-ki:0;_e&&Ve(q.current,{transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,transform:_t(v)?`scale(${Se}) translate3d(0, ${at}px, 0)`:`scale(${Se}) translate3d(${at}px, 0, 0)`})}return I.createElement(YEe,{modal:g,onOpenChange:oe=>{if(e!==void 0){t==null||t(oe);return}oe?(x(!0),O(oe)):kt()},open:C},I.createElement(XU.Provider,{value:{visible:w,activeSnapPoint:Ee,snapPoints:o,setActiveSnapPoint:Ae,drawerRef:q,overlayRef:H,scaleBackground:re,onOpenChange:t,onPress:Ke,setVisible:M,onRelease:ee,onDrag:Xn,dismissible:d,handleOnly:_,isOpen:C,isDragging:L,shouldFade:yt,closeDrawer:kt,onNestedDrag:ae,onNestedOpenChange:pe,onNestedRelease:dt,keyboardIsOpen:ye,openProp:e,modal:g,snapPointsOffset:lt,direction:v}},n))}const pSe=250,fSe=120,sB=I.forwardRef(function({preventCycle:e=!1,children:t,...n},r){const{visible:i,closeDrawer:a,isDragging:o,snapPoints:s,activeSnapPoint:l,setActiveSnapPoint:c,dismissible:u,handleOnly:d,onPress:_,onDrag:p}=Z_(),m=I.useRef(null),f=I.useRef(!1);function S(){if(f.current){h();return}window.setTimeout(()=>{g()},fSe)}function g(){if(o||e||f.current){h();return}if(h(),(!s||s.length===0)&&u){a();return}if(l===s[s.length-1]&&u){a();return}const b=s.findIndex(T=>T===l);if(b===-1)return;const y=s[b+1];c(y)}function E(){m.current=window.setTimeout(()=>{f.current=!0},pSe)}function h(){window.clearTimeout(m.current),f.current=!1}return I.createElement("div",{onClick:S,onDoubleClick:()=>{f.current=!0,a()},onPointerCancel:h,onPointerDown:v=>{d&&_(v),E()},onPointerMove:v=>{d&&p(v)},ref:r,"vaul-drawer-visible":i?"true":"false","vaul-handle":"","aria-hidden":"true",...n},I.createElement("span",{"vaul-handle-hitarea":"","aria-hidden":"true"},t))});sB.displayName="Drawer.Handle";const lB=I.forwardRef(function({children:e,...t},n){const{overlayRef:r,snapPoints:i,onRelease:a,shouldFade:o,isOpen:s,visible:l}=Z_(),c=nB(n,r),u=i&&i.length>0;return I.createElement(VEe,{onMouseUp:a,ref:c,"vaul-drawer-visible":l?"true":"false","vaul-overlay":"","vaul-snap-points":s&&u?"true":"false","vaul-snap-points-overlay":s&&o?"true":"false",...t})});lB.displayName="Drawer.Overlay";const cB=I.forwardRef(function({onOpenAutoFocus:e,onPointerDownOutside:t,onAnimationEnd:n,style:r,...i},a){const{drawerRef:o,onPress:s,onRelease:l,onDrag:c,dismissible:u,keyboardIsOpen:d,snapPointsOffset:_,visible:p,closeDrawer:m,modal:f,openProp:S,onOpenChange:g,setVisible:E,handleOnly:h,direction:v}=Z_(),b=nB(a,o),y=I.useRef(null),T=I.useRef(!1),C=(O,N,x=0)=>{if(T.current)return!0;const w=Math.abs(O.y),M=Math.abs(O.x),k=M>w,U=["bottom","right"].includes(N)?1:-1;if(N==="left"||N==="right"){if(!(O.x*U<0)&&M>=0&&M<=x)return k}else if(!(O.y*U<0)&&w>=0&&w<=x)return!k;return T.current=!0,!0};return I.useEffect(()=>{E(!0)},[]),I.createElement(zEe,{"vaul-drawer":"","vaul-drawer-direction":v,"vaul-drawer-visible":p?"true":"false",...i,ref:b,style:_&&_.length>0?{"--snap-point-height":`${_[0]}px`,...r}:r,onOpenAutoFocus:O=>{if(e)e(O);else{var N;O.preventDefault(),(N=o.current)==null||N.focus()}},onPointerDown:O=>{h||(i.onPointerDown==null||i.onPointerDown.call(i,O),y.current={x:O.clientX,y:O.clientY},s(O))},onPointerDownOutside:O=>{if(t==null||t(O),!f||O.defaultPrevented){O.preventDefault();return}d.current&&(d.current=!1),O.preventDefault(),g==null||g(!1),!(!u||S!==void 0)&&m()},onFocusOutside:O=>{if(!f){O.preventDefault();return}},onEscapeKeyDown:O=>{if(!f){O.preventDefault();return}},onPointerMove:O=>{if(h||(i.onPointerMove==null||i.onPointerMove.call(i,O),!y.current))return;const N=O.clientY-y.current.y,x=O.clientX-y.current.x,w=O.pointerType==="touch"?10:2;C({x,y:N},v,w)?c(O):(Math.abs(x)>w||Math.abs(N)>w)&&(y.current=null)},onPointerUp:O=>{i.onPointerUp==null||i.onPointerUp.call(i,O),y.current=null,T.current=!1,l(O)}})});cB.displayName="Drawer.Content";function mSe({onDrag:e,onOpenChange:t,...n}){const{onNestedDrag:r,onNestedOpenChange:i,onNestedRelease:a}=Z_();if(!r)throw new Error("Drawer.NestedRoot must be placed in another drawer");return I.createElement(oB,{nested:!0,onClose:()=>{i(!1)},onDrag:(o,s)=>{r(o,s),e==null||e(o,s)},onOpenChange:o=>{o&&i(o),t==null||t(o)},onRelease:a,...n})}const gr={Root:oB,NestedRoot:mSe,Content:cB,Handle:sB,Overlay:lB,Trigger:HEe,Portal:qEe,Close:KEe,Title:WEe,Description:jEe},uB=({shouldScaleBackground:e=!0,...t})=>A.jsx(gr.Root,{shouldScaleBackground:e,direction:"right",...t});uB.displayName="Drawer";const gSe=gr.Portal,ESe=gr.Close,dB=R.forwardRef(({className:e,...t},n)=>A.jsx(gr.Overlay,{ref:n,className:we("fixed inset-0 z-50 bg-black/80",e),...t}));dB.displayName=gr.Overlay.displayName;const _B=R.forwardRef(({className:e,children:t,...n},r)=>A.jsxs(gSe,{children:[A.jsx(dB,{}),A.jsx(gr.Content,{ref:r,className:we("fixed inset-y-0 right-0 z-50 flex h-full w-2/5 flex-col border-l bg-background",e),...n,children:t})]}));_B.displayName="DrawerContent";const pB=({className:e,...t})=>A.jsx("div",{className:we("grid gap-1.5 p-4 text-center sm:text-left",e),...t});pB.displayName="DrawerHeader";const fB=R.forwardRef(({className:e,...t},n)=>A.jsx(gr.Title,{ref:n,className:we("text-lg font-semibold leading-none tracking-tight",e),...t}));fB.displayName=gr.Title.displayName;const SSe=R.forwardRef(({className:e,...t},n)=>A.jsx(gr.Description,{ref:n,className:we("text-sm text-muted-foreground",e),...t}));SSe.displayName=gr.Description.displayName;function vSe(e,[t,n]){return Math.min(n,Math.max(t,e))}function hSe(e,t){return R.useReducer((n,r)=>t[n][r]??n,e)}var mT="ScrollArea",[mB,Lve]=fa(mT),[bSe,kn]=mB(mT),gB=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:a=600,...o}=e,[s,l]=R.useState(null),[c,u]=R.useState(null),[d,_]=R.useState(null),[p,m]=R.useState(null),[f,S]=R.useState(null),[g,E]=R.useState(0),[h,v]=R.useState(0),[b,y]=R.useState(!1),[T,C]=R.useState(!1),O=Ot(t,x=>l(x)),N=W_(i);return A.jsx(bSe,{scope:n,type:r,dir:N,scrollHideDelay:a,scrollArea:s,viewport:c,onViewportChange:u,content:d,onContentChange:_,scrollbarX:p,onScrollbarXChange:m,scrollbarXEnabled:b,onScrollbarXEnabledChange:y,scrollbarY:f,onScrollbarYChange:S,scrollbarYEnabled:T,onScrollbarYEnabledChange:C,onCornerWidthChange:E,onCornerHeightChange:v,children:A.jsx(rt.div,{dir:N,...o,ref:O,style:{position:"relative","--radix-scroll-area-corner-width":g+"px","--radix-scroll-area-corner-height":h+"px",...e.style}})})});gB.displayName=mT;var EB="ScrollAreaViewport",SB=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=kn(EB,n),s=R.useRef(null),l=Ot(t,s,o.onViewportChange);return A.jsxs(A.Fragment,{children:[A.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),A.jsx(rt.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style},children:A.jsx("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});SB.displayName=EB;var Er="ScrollAreaScrollbar",gT=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=kn(Er,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation==="horizontal";return R.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type==="hover"?A.jsx(ySe,{...r,ref:t,forceMount:n}):i.type==="scroll"?A.jsx(TSe,{...r,ref:t,forceMount:n}):i.type==="auto"?A.jsx(vB,{...r,ref:t,forceMount:n}):i.type==="always"?A.jsx(ET,{...r,ref:t}):null});gT.displayName=Er;var ySe=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=kn(Er,e.__scopeScrollArea),[a,o]=R.useState(!1);return R.useEffect(()=>{const s=i.scrollArea;let l=0;if(s){const c=()=>{window.clearTimeout(l),o(!0)},u=()=>{l=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return s.addEventListener("pointerenter",c),s.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",c),s.removeEventListener("pointerleave",u)}}},[i.scrollArea,i.scrollHideDelay]),A.jsx(mr,{present:n||a,children:A.jsx(vB,{"data-state":a?"visible":"hidden",...r,ref:t})})}),TSe=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=kn(Er,e.__scopeScrollArea),a=e.orientation==="horizontal",o=ep(()=>l("SCROLL_END"),100),[s,l]=hSe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return R.useEffect(()=>{if(s==="idle"){const c=window.setTimeout(()=>l("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(c)}},[s,i.scrollHideDelay,l]),R.useEffect(()=>{const c=i.viewport,u=a?"scrollLeft":"scrollTop";if(c){let d=c[u];const _=()=>{const p=c[u];d!==p&&(l("SCROLL"),o()),d=p};return c.addEventListener("scroll",_),()=>c.removeEventListener("scroll",_)}},[i.viewport,a,l,o]),A.jsx(mr,{present:n||s!=="hidden",children:A.jsx(ET,{"data-state":s==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:Fe(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:Fe(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),vB=R.forwardRef((e,t)=>{const n=kn(Er,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=R.useState(!1),s=e.orientation==="horizontal",l=ep(()=>{if(n.viewport){const c=n.viewport.offsetWidth{const{orientation:n="vertical",...r}=e,i=kn(Er,e.__scopeScrollArea),a=R.useRef(null),o=R.useRef(0),[s,l]=R.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=CB(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:_=>a.current=_,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:_=>o.current=_};function d(_,p){return ISe(_,o.current,s,p)}return n==="horizontal"?A.jsx(CSe,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const _=i.viewport.scrollLeft,p=WD(_,s,i.dir);a.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:_=>{i.viewport&&(i.viewport.scrollLeft=_)},onDragScroll:_=>{i.viewport&&(i.viewport.scrollLeft=d(_,i.dir))}}):n==="vertical"?A.jsx(RSe,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const _=i.viewport.scrollTop,p=WD(_,s);a.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:_=>{i.viewport&&(i.viewport.scrollTop=_)},onDragScroll:_=>{i.viewport&&(i.viewport.scrollTop=d(_))}}):null}),CSe=R.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=kn(Er,e.__scopeScrollArea),[o,s]=R.useState(),l=R.useRef(null),c=Ot(t,l,a.onScrollbarXChange);return R.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),A.jsx(bB,{"data-orientation":"horizontal",...i,ref:c,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":J_(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,d)=>{if(a.viewport){const _=a.viewport.scrollLeft+u.deltaX;e.onWheelScroll(_),OB(_,d)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:Fd(o.paddingLeft),paddingEnd:Fd(o.paddingRight)}})}})}),RSe=R.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=kn(Er,e.__scopeScrollArea),[o,s]=R.useState(),l=R.useRef(null),c=Ot(t,l,a.onScrollbarYChange);return R.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),A.jsx(bB,{"data-orientation":"vertical",...i,ref:c,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":J_(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,d)=>{if(a.viewport){const _=a.viewport.scrollTop+u.deltaY;e.onWheelScroll(_),OB(_,d)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:Fd(o.paddingTop),paddingEnd:Fd(o.paddingBottom)}})}})}),[OSe,hB]=mB(Er),bB=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:d,..._}=e,p=kn(Er,n),[m,f]=R.useState(null),S=Ot(t,O=>f(O)),g=R.useRef(null),E=R.useRef(""),h=p.viewport,v=r.content-r.viewport,b=zt(u),y=zt(l),T=ep(d,10);function C(O){if(g.current){const N=O.clientX-g.current.left,x=O.clientY-g.current.top;c({x:N,y:x})}}return R.useEffect(()=>{const O=N=>{const x=N.target;(m==null?void 0:m.contains(x))&&b(N,v)};return document.addEventListener("wheel",O,{passive:!1}),()=>document.removeEventListener("wheel",O,{passive:!1})},[h,m,v,b]),R.useEffect(y,[r,y]),wo(m,T),wo(p.content,T),A.jsx(OSe,{scope:n,scrollbar:m,hasThumb:i,onThumbChange:zt(a),onThumbPointerUp:zt(o),onThumbPositionChange:y,onThumbPointerDown:zt(s),children:A.jsx(rt.div,{..._,ref:S,style:{position:"absolute",..._.style},onPointerDown:Fe(e.onPointerDown,O=>{O.button===0&&(O.target.setPointerCapture(O.pointerId),g.current=m.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),C(O))}),onPointerMove:Fe(e.onPointerMove,C),onPointerUp:Fe(e.onPointerUp,O=>{const N=O.target;N.hasPointerCapture(O.pointerId)&&N.releasePointerCapture(O.pointerId),document.body.style.webkitUserSelect=E.current,p.viewport&&(p.viewport.style.scrollBehavior=""),g.current=null})})})}),kd="ScrollAreaThumb",yB=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=hB(kd,e.__scopeScrollArea);return A.jsx(mr,{present:n||i.hasThumb,children:A.jsx(NSe,{ref:t,...r})})}),NSe=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,a=kn(kd,n),o=hB(kd,n),{onThumbPositionChange:s}=o,l=Ot(t,d=>o.onThumbChange(d)),c=R.useRef(),u=ep(()=>{c.current&&(c.current(),c.current=void 0)},100);return R.useEffect(()=>{const d=a.viewport;if(d){const _=()=>{if(u(),!c.current){const p=wSe(d,s);c.current=p,s()}};return s(),d.addEventListener("scroll",_),()=>d.removeEventListener("scroll",_)}},[a.viewport,u,s]),A.jsx(rt.div,{"data-state":o.hasThumb?"visible":"hidden",...i,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:Fe(e.onPointerDownCapture,d=>{const p=d.target.getBoundingClientRect(),m=d.clientX-p.left,f=d.clientY-p.top;o.onThumbPointerDown({x:m,y:f})}),onPointerUp:Fe(e.onPointerUp,o.onThumbPointerUp)})});yB.displayName=kd;var ST="ScrollAreaCorner",TB=R.forwardRef((e,t)=>{const n=kn(ST,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?A.jsx(ASe,{...e,ref:t}):null});TB.displayName=ST;var ASe=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=kn(ST,n),[a,o]=R.useState(0),[s,l]=R.useState(0),c=!!(a&&s);return wo(i.scrollbarX,()=>{var d;const u=((d=i.scrollbarX)==null?void 0:d.offsetHeight)||0;i.onCornerHeightChange(u),l(u)}),wo(i.scrollbarY,()=>{var d;const u=((d=i.scrollbarY)==null?void 0:d.offsetWidth)||0;i.onCornerWidthChange(u),o(u)}),c?A.jsx(rt.div,{...r,ref:t,style:{width:a,height:s,position:"absolute",right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Fd(e){return e?parseInt(e,10):0}function CB(e,t){const n=e/t;return isNaN(n)?0:n}function J_(e){const t=CB(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function ISe(e,t,n,r="ltr"){const i=J_(n),a=i/2,o=t||a,s=i-o,l=n.scrollbar.paddingStart+o,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r==="ltr"?[0,u]:[u*-1,0];return RB([l,c],d)(e)}function WD(e,t,n="ltr"){const r=J_(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,l=n==="ltr"?[0,o]:[o*-1,0],c=vSe(e,l);return RB([0,o],[0,s])(c)}function RB(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function OB(e,t){return e>0&&e{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function i(){const a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function ep(e,t){const n=zt(e),r=R.useRef(0);return R.useEffect(()=>()=>window.clearTimeout(r.current),[]),R.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function wo(e,t){const n=zt(t);Io(()=>{let r=0;if(e){const i=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return i.observe(e),()=>{window.cancelAnimationFrame(r),i.unobserve(e)}}},[e,n])}var NB=gB,xSe=SB,DSe=TB;const AB=R.forwardRef(({className:e,children:t,...n},r)=>A.jsxs(NB,{ref:r,className:we("relative overflow-hidden",e),...n,children:[A.jsx(xSe,{className:"h-full w-full rounded-[inherit]",children:t}),A.jsx(IB,{}),A.jsx(DSe,{})]}));AB.displayName=NB.displayName;const IB=R.forwardRef(({className:e,orientation:t="vertical",...n},r)=>A.jsx(gT,{ref:r,orientation:t,className:we("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:A.jsx(yB,{className:"relative flex-1 rounded-full bg-border"})}));IB.displayName=gT.displayName;const MSe=({fileUrl:e})=>{const[t,n]=R.useState(null),[r,i]=R.useState(""),[a,o]=R.useState([]),[s,l]=R.useState(""),[c,u]=R.useState(""),[d]=R.useState(null),[_,p]=R.useState(!1),[m,f]=R.useState(null),[S,g]=R.useState(null),E=R.useRef(null);R.useEffect(()=>{(async()=>{try{const C=await(await fetch(e)).text();i(C);const O=Mue.load(C);n(O);const N=O.aggregation.metrics;o(N),l(N[0]);const x=/^https:\/\/raw\.githubusercontent\.com\/([^/]+)\/([^/]+)\/([^/]+)\/(.+)$/,w=e.match(x);if(w){const[,M,k,U,L]=w,G=`https://github.com/${M}/${k}/blob/${U}/${L}`;u(G)}}catch(T){console.error("Error fetching YAML data:",T)}})()},[e]);const h=y=>{l(y)},v=(y,T,C)=>{var O,N,x;C&&!C.children?(f({inputs:((O=C.inputs)==null?void 0:O[0])||{},outputs:((N=C.outputs)==null?void 0:N[0])||{},pipeline:((x=C.pipeline)==null?void 0:x.compute)||[],defaults:C.defaults||{}}),p(!0)):g({name:y,path:T,data:C})},b=y=>{var T,C;if(t&&t.tree&&t.tree.aggregated){const O=(T=t==null?void 0:t.tree)==null?void 0:T.aggregated[y];if(O!==void 0&&t.explain){const N=((C=t==null?void 0:t.explain[y])==null?void 0:C.unit)||"";return`${O.toFixed(3)} ${N}`}}return""};return A.jsxs("div",{className:"py-10",children:[A.jsxs(Jy,{className:"bg-primary-foreground text-center",children:[A.jsxs(eT,{children:[A.jsx(tT,{className:"font-black text-primary text-xl",children:t==null?void 0:t.name}),A.jsx(nT,{children:t==null?void 0:t.description})]}),A.jsx(rT,{children:A.jsxs("div",{className:"flex flex-col gap-3",children:[c&&A.jsxs("a",{href:c,className:"flex items-center justify-center space-x-2 text-sm text-primary",target:"_blank",rel:"noopener noreferrer",children:[A.jsx("svg",{className:"w-4 h-4 flex-shrink-0",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})}),A.jsx("span",{className:"text-sm font-bold",children:new URL(c).pathname.split("/").pop()})]}),A.jsx("div",{className:"flex items-center justify-center space-x-2",children:(t==null?void 0:t.tree.outputs)&&t.tree.outputs.length>0&&A.jsxs(gde,{children:[A.jsx(zY,{className:"h-4 w-4 mr-2"}),`${new Date(t.tree.outputs[0].timestamp).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit"})} - ${new Date(t.tree.outputs[t.tree.outputs.length-1].timestamp).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit"})}`]})})]})})]}),A.jsxs(hde,{defaultValue:"visualizer",className:"py-6",children:[A.jsx("div",{className:"flex justify-center",children:A.jsxs(nU,{children:[A.jsx(Dh,{value:"visualizer",children:"Visualizer"}),A.jsx(Dh,{value:"rawFile",children:"Raw File"})]})}),A.jsxs(Mh,{value:"visualizer",children:[A.jsx("div",{className:"flex flex-col space-y-2 mt-4",children:A.jsx($F,{value:s,onValueChange:h,className:"flex items-center justify-center",children:a.map(y=>A.jsx(YF,{value:y,label:y,total:b(y)},y))})}),A.jsx(uB,{open:_,onOpenChange:p,children:A.jsxs(_B,{children:[A.jsxs(pB,{children:[A.jsx(fB,{children:"Component Details"}),A.jsx(ESe,{})]}),A.jsx(AB,{className:"h-[80vh]",children:m&&A.jsxs("div",{className:"p-4",children:[Object.keys(m.defaults).length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Defaults"}),Object.entries(m.defaults).map(([y,T])=>A.jsxs("div",{className:"p-1",children:[A.jsxs("span",{className:"font-bold",children:[y,": "]}),A.jsx("span",{children:T})]},y))]}),Object.keys(m.inputs).length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Inputs"}),Object.entries(m.inputs).map(([y,T])=>A.jsxs("div",{className:"p-1",children:[A.jsxs("span",{className:"font-bold",children:[y,": "]}),A.jsx("span",{children:T})]},y))]}),m.pipeline.length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Pipeline"}),m.pipeline.map((y,T)=>A.jsx("div",{className:"p-1",children:y},T))]}),Object.keys(m.outputs).length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Outputs"}),Object.entries(m.outputs).map(([y,T])=>A.jsxs("div",{className:"p-1",children:[A.jsxs("span",{className:"font-bold",children:[y,": "]}),A.jsx("span",{children:T})]},y))]})]})})]})}),A.jsxs("div",{children:[A.jsxs("section",{className:"py-8",children:[A.jsx(va,{children:"Component Visualization"}),A.jsx(ple,{data:t,selectedMetric:s,selectedNode:S,onNodeSelect:v})]}),A.jsxs("section",{className:"py-8",children:[A.jsx(va,{children:"Component Breakdown"}),A.jsx("div",{ref:E,children:A.jsx(XY,{data:t,selectedMetric:s,hoveredTimestamp:d,selectedNode:S,onNodeSelect:v})})]})]})]}),A.jsx(Mh,{value:"rawFile",children:A.jsx("div",{className:"mt-4 p-4 rounded-lg bg-primary-lightest-1 border border-primary-lighter max-h-[600px] overflow-auto",children:A.jsx(vU,{language:"yaml",style:wge,customStyle:{backgroundColor:"transparent",fontSize:"14px",lineHeight:"1.5"},wrapLines:!0,wrapLongLines:!0,children:r})})})]})]})},wB=R.forwardRef(({className:e,type:t,...n},r)=>A.jsx("input",{type:t,className:we("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));wB.displayName="Input";const PSe="/if-visualizer/assets/logo-D0JrJmIn.svg",LSe=()=>A.jsx("nav",{className:"py-7 border-border border-b",children:A.jsxs("div",{className:"flex justify-between items-center max-w-5xl mx-auto",children:[A.jsx("div",{children:A.jsx("a",{href:"/",children:A.jsx("img",{src:PSe,alt:"Logo",className:"h-10"})})}),A.jsx("div",{children:A.jsx(q_,{children:"Become a watcher"})})]})});function kSe(){const[e,t]=R.useState(null),[n]=R.useState(new URLSearchParams(window.location.search)),r=i=>{i.preventDefault();const o=i.currentTarget.elements.namedItem("url").value;t(o),window.history.pushState({},"",`?url=${encodeURIComponent(o)}`)};return R.useEffect(()=>{const i=n.get("url");t(i||null)},[n]),R.useEffect(()=>{const i=()=>{const o=new URLSearchParams(window.location.search).get("url");t(o)};return window.addEventListener("popstate",i),()=>{window.removeEventListener("popstate",i)}},[]),A.jsxs("main",{children:[A.jsx(LSe,{}),A.jsx("div",{className:"relative max-w-5xl mx-auto",children:e?A.jsx(MSe,{fileUrl:e}):A.jsx("div",{children:A.jsx("div",{className:"py-10",children:A.jsxs(Jy,{className:"max-w-lg mx-auto ",children:[A.jsxs(eT,{children:[A.jsx(tT,{children:"File URL"}),A.jsx(nT,{children:"Use the URL of the manifest file you want to visualize."})]}),A.jsx(rT,{children:A.jsxs("form",{onSubmit:r,className:"flex flex-col gap-2",children:[A.jsx(wB,{name:"url",placeholder:"Raw File URL"}),A.jsx(q_,{type:"submit",children:"Visualize"})]})})]})})})})]})}oP(document.getElementById("root")).render(A.jsx(R.StrictMode,{children:A.jsx(kSe,{})})); +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return R.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},GEe="DialogDescriptionWarning",$Ee=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${QU(GEe).contentName}}.`;return R.useEffect(()=>{var a;const i=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},YEe=kU,HEe=UU,qEe=GU,VEe=$U,zEe=YU,WEe=qU,jEe=zU,KEe=jU;function QEe(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const XU=I.createContext({drawerRef:{current:null},overlayRef:{current:null},scaleBackground:()=>{},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,handleOnly:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},visible:!1,closeDrawer:()=>{},setVisible:()=>{},direction:"bottom"}),Z_=()=>{const e=I.useContext(XU);if(!e)throw new Error("useDrawerContext must be used within a Drawer.Root");return e};QEe("[vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left]{overflow-x:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]::after{content:'';position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-handle]{display:block;position:relative;opacity:.8;margin-left:auto;margin-right:auto;height:5px;width:56px;border-radius:1rem;touch-action:pan-y;cursor:grab}[vaul-handle]:active,[vaul-handle]:hover{opacity:1}[vaul-handle]:active{cursor:grabbing}[vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible=false]){opacity:1}@media (hover:hover) and (pointer:fine){[vaul-drawer]{user-select:none}}@media (pointer:fine){[vaul-handle-hitarea]:{width:100%;height:100%}}");const ZU=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Uh(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function XEe(){return fT(/^Mac/)}function ZEe(){return fT(/^iPhone/)}function JEe(){return fT(/^iPad/)||XEe()&&navigator.maxTouchPoints>1}function JU(){return ZEe()||JEe()}function fT(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}const nS=typeof document<"u"&&window.visualViewport;function HD(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function eB(e){for(HD(e)&&(e=e.parentElement);e&&!HD(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const eSe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Jc=0,rS;function tSe(e={}){let{isDisabled:t}=e;ZU(()=>{if(!t)return Jc++,Jc===1&&(JU()?rS=rSe():rS=nSe()),()=>{Jc--,Jc===0&&rS()}},[t])}function nSe(){return Uh(tB(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`))}function rSe(){let e,t=0,n=d=>{e=eB(d.target),!(e===document.documentElement&&e===document.body)&&(t=d.changedTouches[0].pageY)},r=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}let _=d.changedTouches[0].pageY,p=e.scrollTop,m=e.scrollHeight-e.clientHeight;m!==0&&((p<=0&&_>t||p>=m&&_{let _=d.target;Bh(_)&&_!==document.activeElement&&(d.preventDefault(),_.style.transform="translateY(-2000px)",_.focus(),requestAnimationFrame(()=>{_.style.transform=""}))},a=d=>{let _=d.target;Bh(_)&&(_.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{_.style.transform="",nS&&(nS.height{qD(_)}):nS.addEventListener("resize",()=>qD(_),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},s=window.pageXOffset,l=window.pageYOffset,c=Uh(tB(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let u=Uh(gs(document,"touchstart",n,{passive:!1,capture:!0}),gs(document,"touchmove",r,{passive:!1,capture:!0}),gs(document,"touchend",i,{passive:!1,capture:!0}),gs(document,"focus",a,!0),gs(window,"scroll",o));return()=>{c(),u(),window.scrollTo(s,l)}}function tB(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function gs(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function qD(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=eB(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,i=e.getBoundingClientRect().top,a=e.getBoundingClientRect().bottom;const o=n.getBoundingClientRect().bottom;a>o&&(n.scrollTop+=i-r)}e=n.parentElement}}function Bh(e){return e instanceof HTMLInputElement&&!eSe.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function iSe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function aSe(...e){return t=>e.forEach(n=>iSe(n,t))}function nB(...e){return R.useCallback(aSe(...e),e)}let Es=null;function oSe({isOpen:e,modal:t,nested:n,hasBeenOpened:r,preventScrollRestoration:i,noBodyStyles:a}){const[o,s]=I.useState(()=>typeof window<"u"?window.location.href:""),l=I.useRef(0),c=I.useCallback(()=>{if(Es===null&&e&&!a){Es={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:d,innerHeight:_}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-d}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const p=_-window.innerHeight;p&&l.current>=_&&(document.body.style.top=`${-(l.current+p)}px`)}),300)}},[e]),u=I.useCallback(()=>{if(Es!==null&&!a){const d=-parseInt(document.body.style.top,10),_=-parseInt(document.body.style.left,10);Object.assign(document.body.style,Es),window.requestAnimationFrame(()=>{if(i&&o!==window.location.href){s(window.location.href);return}window.scrollTo(_,d)}),Es=null}},[o]);return I.useEffect(()=>{function d(){l.current=window.scrollY}return d(),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}},[]),I.useEffect(()=>{n||!r||(e?(!window.matchMedia("(display-mode: standalone)").matches&&c(),t||window.setTimeout(()=>{u()},500)):u())},[e,r,o,t,n,c,u]),{restorePositionSetting:u}}const rB=new WeakMap;function Ve(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let r={};Object.entries(t).forEach(([i,a])=>{if(i.startsWith("--")){e.style.setProperty(i,a);return}r[i]=e.style[i],e.style[i]=a}),!n&&rB.set(e,r)}function eu(e,t){if(!e||!(e instanceof HTMLElement))return;let n=rB.get(e);n&&(t?e.style[t]=n[t]:Object.entries(n).forEach(([r,i])=>{e.style[r]=i}))}const _t=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function tu(e,t){if(!e)return null;const n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform;let i=r.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[_t(t)?13:12]):(i=r.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[_t(t)?5:4]):null)}function sSe(e){return 8*(Math.log(e+1)-2)}const Le={DURATION:.5,EASE:[.32,.72,0,1]},iB=.4;function aB(e){const t=I.useRef(e);return I.useEffect(()=>{t.current=e}),I.useMemo(()=>(...n)=>t.current==null?void 0:t.current.call(t,...n),[])}function lSe({defaultProp:e,onChange:t}){const n=I.useState(e),[r]=n,i=I.useRef(r),a=aB(t);return I.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}function cSe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=lSe({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=aB(n),l=I.useCallback(c=>{if(a){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else i(c)},[a,e,i,s]);return[o,l]}function uSe({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:r,overlayRef:i,fadeFromIndex:a,onSnapPointChange:o,direction:s="bottom"}){const[l,c]=cSe({prop:e,defaultProp:n==null?void 0:n[0],onChange:t}),u=I.useMemo(()=>l===(n==null?void 0:n[n.length-1])||null,[n,l]),d=n&&n.length>0&&(a||a===0)&&!Number.isNaN(a)&&n[a]===l||!n,_=I.useMemo(()=>n==null?void 0:n.findIndex(h=>h===l),[n,l]),p=I.useMemo(()=>{var h;return(h=n==null?void 0:n.map(v=>{const b=typeof window<"u",y=typeof v=="string";let T=0;if(y&&(T=parseInt(v,10)),_t(s)){const O=y?T:b?v*window.innerHeight:0;return b?s==="bottom"?window.innerHeight-O:-window.innerHeight+O:O}const C=y?T:b?v*window.innerWidth:0;return b?s==="right"?window.innerWidth-C:-window.innerWidth+C:C}))!=null?h:[]},[n]),m=I.useMemo(()=>_!==null?p==null?void 0:p[_]:null,[p,_]),f=I.useCallback(h=>{var v;const b=(v=p==null?void 0:p.findIndex(y=>y===h))!=null?v:null;o(b),Ve(r.current,{transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,transform:_t(s)?`translate3d(0, ${h}px, 0)`:`translate3d(${h}px, 0, 0)`}),p&&b!==p.length-1&&b!==a?Ve(i.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,opacity:"0"}):Ve(i.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,opacity:"1"}),c(b!==null?n==null?void 0:n[b]:null)},[r.current,n,p,a,i,c]);I.useEffect(()=>{if(l||e){var h;const v=(h=n==null?void 0:n.findIndex(b=>b===e||b===l))!=null?h:-1;p&&v!==-1&&typeof p[v]=="number"&&f(p[v])}},[l,e,n,p,f]);function S({draggedDistance:h,closeDrawer:v,velocity:b,dismissible:y}){if(a===void 0)return;const T=s==="bottom"||s==="right"?(m??0)-h:(m??0)+h,C=_===a-1,O=_===0,N=h>0;if(C&&Ve(i.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),b>2&&!N){y?v():f(p[0]);return}if(b>2&&N&&p&&n){f(p[n.length-1]);return}const x=p==null?void 0:p.reduce((M,k)=>typeof M!="number"||typeof k!="number"?M:Math.abs(k-T)iB&&Math.abs(h)0&&u){f(p[n.length-1]);return}if(O&&M<0&&y&&v(),_===null)return;f(p[_+M]);return}f(x)}function g({draggedDistance:h}){if(m===null)return;const v=s==="bottom"||s==="right"?m-h:m+h;(s==="bottom"||s==="right")&&vp[p.length-1]||Ve(r.current,{transform:_t(s)?`translate3d(0, ${v}px, 0)`:`translate3d(${v}px, 0, 0)`})}function E(h,v){if(!n||typeof _!="number"||!p||a===void 0)return null;const b=_===a-1;if(_>=a&&v)return 0;if(b&&!v)return 1;if(!d&&!b)return null;const T=b?_+1:_-1,C=b?p[T]-p[T-1]:p[T+1]-p[T],O=h/Math.abs(C);return b?1-O:O}return{isLastSnapPoint:u,activeSnapPoint:l,shouldFade:d,getPercentageDragged:E,setActiveSnapPoint:c,activeSnapPointIndex:_,onRelease:S,onDrag:g,snapPointsOffset:p}}const dSe=.25,_Se=100,VD=8,ki=16,zD=26,iS="vaul-dragging";function oB({open:e,onOpenChange:t,children:n,shouldScaleBackground:r,onDrag:i,onRelease:a,snapPoints:o,nested:s=!1,setBackgroundColorOnScale:l=!0,closeThreshold:c=dSe,scrollLockTimeout:u=_Se,dismissible:d=!0,handleOnly:_=!1,fadeFromIndex:p=o&&o.length-1,activeSnapPoint:m,setActiveSnapPoint:f,fixed:S,modal:g=!0,onClose:E,noBodyStyles:h,direction:v="bottom",preventScrollRestoration:b=!0,disablePreventScroll:y=!1}){var T;const[C=!1,O]=I.useState(!1),[N,x]=I.useState(!1),[w,M]=I.useState(!1),[k,U]=I.useState(!1),[L,G]=I.useState(!1),[P,B]=I.useState(!1),H=I.useRef(null),j=I.useRef(null),K=I.useRef(null),F=I.useRef(null),V=I.useRef(null),J=I.useRef(!1),ne=I.useRef(null),se=I.useRef(0),ye=I.useRef(!1),W=I.useRef(0),q=I.useRef(null),te=I.useRef(((T=q.current)==null?void 0:T.getBoundingClientRect().height)||0),$=I.useRef(0),xe=I.useCallback(oe=>{o&&oe===lt.length-1&&(j.current=new Date)},[]),{activeSnapPoint:Ee,activeSnapPointIndex:Ne,setActiveSnapPoint:Ae,onRelease:Je,snapPointsOffset:lt,onDrag:Lt,shouldFade:yt,getPercentageDragged:it}=uSe({snapPoints:o,activeSnapPointProp:m,setActiveSnapPointProp:f,drawerRef:q,fadeFromIndex:p,overlayRef:H,onSnapPointChange:xe,direction:v});tSe({isDisabled:!C||L||!g||P||!N||y});const{restorePositionSetting:de}=oSe({isOpen:C,modal:g,nested:s,hasBeenOpened:N,preventScrollRestoration:b,noBodyStyles:h});function Ht(){return(window.innerWidth-zD)/window.innerWidth}function Ke(oe){var _e;!d&&!o||q.current&&!q.current.contains(oe.target)||(te.current=((_e=q.current)==null?void 0:_e.getBoundingClientRect().height)||0,G(!0),K.current=new Date,JU()&&window.addEventListener("touchend",()=>J.current=!1,{once:!0}),oe.target.setPointerCapture(oe.pointerId),se.current=_t(v)?oe.clientY:oe.clientX)}function Ue(oe,_e){var Ye;let Se=oe;const at=(Ye=window.getSelection())==null?void 0:Ye.toString(),ct=q.current?tu(q.current,v):null,sn=new Date;if(Se.hasAttribute("data-vaul-no-drag")||Se.closest("[data-vaul-no-drag]"))return!1;if(v==="right"||v==="left")return!0;if(j.current&&sn.getTime()-j.current.getTime()<500)return!1;if(ct!==null&&(v==="bottom"?ct>0:ct<0))return!0;if(at&&at.length>0)return!1;if(V.current&&sn.getTime()-V.current.getTime()Se.clientHeight){if(Se.scrollTop!==0)return V.current=new Date,!1;if(Se.getAttribute("role")==="dialog")return!0}Se=Se.parentNode}return!0}function Xn(oe){if(q.current&&L){const _e=v==="bottom"||v==="right"?1:-1,Ye=(se.current-(_t(v)?oe.clientY:oe.clientX))*_e,Se=Ye>0,at=o&&!d&&!Se;if(at&&Ne===0)return;const ct=Math.abs(Ye),sn=document.querySelector("[vaul-drawer-wrapper]");let Fn=ct/te.current;const Sr=it(ct,Se);if(Sr!==null&&(Fn=Sr),at&&Fn>=1||!J.current&&!Ue(oe.target,Se))return;if(q.current.classList.add(iS),J.current=!0,Ve(q.current,{transition:"none"}),Ve(H.current,{transition:"none"}),o&&Lt({draggedDistance:Ye}),Se&&!o){const jr=sSe(Ye),Ko=Math.min(jr*-1,0)*_e;Ve(q.current,{transform:_t(v)?`translate3d(0, ${Ko}px, 0)`:`translate3d(${Ko}px, 0, 0)`});return}const jo=1-Fn;if((yt||p&&Ne===p-1)&&(i==null||i(oe,Fn),Ve(H.current,{opacity:`${jo}`,transition:"none"},!0)),sn&&H.current&&r){const jr=Math.min(Ht()+Fn*(1-Ht()),1),Ko=8-Fn*8,tp=Math.max(0,14-Fn*14);Ve(sn,{borderRadius:`${Ko}px`,transform:_t(v)?`scale(${jr}) translate3d(0, ${tp}px, 0)`:`scale(${jr}) translate3d(${tp}px, 0, 0)`,transition:"none"},!0)}if(!o){const jr=ct*_e;Ve(q.current,{transform:_t(v)?`translate3d(0, ${jr}px, 0)`:`translate3d(${jr}px, 0, 0)`})}}}I.useEffect(()=>()=>{re(!1),de()},[]),I.useEffect(()=>{var oe;function _e(){if(!q.current)return;const Ye=document.activeElement;if(Bh(Ye)||ye.current){var Se;const at=((Se=window.visualViewport)==null?void 0:Se.height)||0;let ct=window.innerHeight-at;const sn=q.current.getBoundingClientRect().height||0;$.current||($.current=sn);const Fn=q.current.getBoundingClientRect().top;if(Math.abs(W.current-ct)>60&&(ye.current=!ye.current),o&&o.length>0&<&&Ne){const Sr=lt[Ne]||0;ct+=Sr}if(W.current=ct,sn>at||ye.current){const Sr=q.current.getBoundingClientRect().height;let jo=Sr;Sr>at&&(jo=at-zD),S?q.current.style.height=`${Sr-Math.max(ct,0)}px`:q.current.style.height=`${Math.max(jo,at-Fn)}px`}else q.current.style.height=`${$.current}px`;o&&o.length>0&&!ye.current?q.current.style.bottom="0px":q.current.style.bottom=`${Math.max(ct,0)}px`}}return(oe=window.visualViewport)==null||oe.addEventListener("resize",_e),()=>{var Ye;return(Ye=window.visualViewport)==null?void 0:Ye.removeEventListener("resize",_e)}},[Ne,o,lt]);function kt(){q.current&&(Wr(),E==null||E(),Ve(q.current,{transform:_t(v)?`translate3d(0, ${v==="bottom"?"100%":"-100%"}, 0)`:`translate3d(${v==="right"?"100%":"-100%"}, 0, 0)`,transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),Ve(H.current,{opacity:"0",transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),re(!1),setTimeout(()=>{M(!1),O(!1)},300),setTimeout(()=>{o&&Ae(o[0])},Le.DURATION*1e3))}I.useEffect(()=>{if(!C&&r){const oe=setTimeout(()=>{eu(document.body)},200);return()=>clearTimeout(oe)}},[C,r]),ZU(()=>{e?(O(!0),x(!0)):kt()},[e]),I.useEffect(()=>{k&&(t==null||t(C))},[C]),I.useEffect(()=>{U(!0)},[]);function Zn(){if(!q.current)return;const oe=document.querySelector("[vaul-drawer-wrapper]"),_e=tu(q.current,v);Ve(q.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`}),Ve(H.current,{transition:`opacity ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,opacity:"1"}),r&&_e&&_e>0&&C&&Ve(oe,{borderRadius:`${VD}px`,overflow:"hidden",..._t(v)?{transform:`scale(${Ht()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Ht()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Le.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Le.EASE.join(",")})`},!0)}function Wr(){!L||!q.current||(q.current.classList.remove(iS),J.current=!1,G(!1),F.current=new Date)}function ee(oe){if(!L||!q.current)return;q.current.classList.remove(iS),J.current=!1,G(!1),F.current=new Date;const _e=tu(q.current,v);if(!Ue(oe.target,!1)||!_e||Number.isNaN(_e)||K.current===null)return;const Ye=F.current.getTime()-K.current.getTime(),Se=se.current-(_t(v)?oe.clientY:oe.clientX),at=Math.abs(Se)/Ye;if(at>.05&&(B(!0),setTimeout(()=>{B(!1)},200)),o){Je({draggedDistance:Se*(v==="bottom"||v==="right"?1:-1),closeDrawer:kt,velocity:at,dismissible:d}),a==null||a(oe,!0);return}if(v==="bottom"||v==="right"?Se>0:Se<0){Zn(),a==null||a(oe,!0);return}if(at>iB){kt(),a==null||a(oe,!1);return}var ct;const sn=Math.min((ct=q.current.getBoundingClientRect().height)!=null?ct:0,window.innerHeight);if(_e>=sn*c){kt(),a==null||a(oe,!1);return}a==null||a(oe,!0),Zn()}I.useEffect(()=>{C&&(Ve(document.documentElement,{scrollBehavior:"auto"}),j.current=new Date,re(!0))},[C]),I.useEffect(()=>{if(q.current&&w){var oe;const _e=q==null||(oe=q.current)==null?void 0:oe.querySelectorAll("*");_e==null||_e.forEach(Ye=>{const Se=Ye;(Se.scrollHeight>Se.clientHeight||Se.scrollWidth>Se.clientWidth)&&Se.classList.add("vaul-scrollable")})}},[w]);function re(oe){const _e=document.querySelector("[vaul-drawer-wrapper]");!_e||!r||(oe?(l&&(h||(Ve(document.body,{background:document.body.style.backgroundColor||document.body.style.background}),Ve(document.body,{background:"black"},!0))),Ve(_e,{borderRadius:`${VD}px`,overflow:"hidden",..._t(v)?{transform:`scale(${Ht()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Ht()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Le.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Le.EASE.join(",")})`})):(eu(_e,"overflow"),eu(_e,"transform"),eu(_e,"borderRadius"),Ve(_e,{transitionProperty:"transform, border-radius",transitionDuration:`${Le.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Le.EASE.join(",")})`})))}function pe(oe){const _e=oe?(window.innerWidth-ki)/window.innerWidth:1,Ye=oe?-ki:0;ne.current&&window.clearTimeout(ne.current),Ve(q.current,{transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,transform:`scale(${_e}) translate3d(0, ${Ye}px, 0)`}),!oe&&q.current&&(ne.current=setTimeout(()=>{const Se=tu(q.current,v);Ve(q.current,{transition:"none",transform:_t(v)?`translate3d(0, ${Se}px, 0)`:`translate3d(${Se}px, 0, 0)`})},500))}function ae(oe,_e){if(_e<0)return;const Ye=_t(v)?window.innerHeight:window.innerWidth,Se=(Ye-ki)/Ye,at=Se+_e*(1-Se),ct=-ki+_e*ki;Ve(q.current,{transform:_t(v)?`scale(${at}) translate3d(0, ${ct}px, 0)`:`scale(${at}) translate3d(${ct}px, 0, 0)`,transition:"none"})}function dt(oe,_e){const Ye=_t(v)?window.innerHeight:window.innerWidth,Se=_e?(Ye-ki)/Ye:1,at=_e?-ki:0;_e&&Ve(q.current,{transition:`transform ${Le.DURATION}s cubic-bezier(${Le.EASE.join(",")})`,transform:_t(v)?`scale(${Se}) translate3d(0, ${at}px, 0)`:`scale(${Se}) translate3d(${at}px, 0, 0)`})}return I.createElement(YEe,{modal:g,onOpenChange:oe=>{if(e!==void 0){t==null||t(oe);return}oe?(x(!0),O(oe)):kt()},open:C},I.createElement(XU.Provider,{value:{visible:w,activeSnapPoint:Ee,snapPoints:o,setActiveSnapPoint:Ae,drawerRef:q,overlayRef:H,scaleBackground:re,onOpenChange:t,onPress:Ke,setVisible:M,onRelease:ee,onDrag:Xn,dismissible:d,handleOnly:_,isOpen:C,isDragging:L,shouldFade:yt,closeDrawer:kt,onNestedDrag:ae,onNestedOpenChange:pe,onNestedRelease:dt,keyboardIsOpen:ye,openProp:e,modal:g,snapPointsOffset:lt,direction:v}},n))}const pSe=250,fSe=120,sB=I.forwardRef(function({preventCycle:e=!1,children:t,...n},r){const{visible:i,closeDrawer:a,isDragging:o,snapPoints:s,activeSnapPoint:l,setActiveSnapPoint:c,dismissible:u,handleOnly:d,onPress:_,onDrag:p}=Z_(),m=I.useRef(null),f=I.useRef(!1);function S(){if(f.current){h();return}window.setTimeout(()=>{g()},fSe)}function g(){if(o||e||f.current){h();return}if(h(),(!s||s.length===0)&&u){a();return}if(l===s[s.length-1]&&u){a();return}const b=s.findIndex(T=>T===l);if(b===-1)return;const y=s[b+1];c(y)}function E(){m.current=window.setTimeout(()=>{f.current=!0},pSe)}function h(){window.clearTimeout(m.current),f.current=!1}return I.createElement("div",{onClick:S,onDoubleClick:()=>{f.current=!0,a()},onPointerCancel:h,onPointerDown:v=>{d&&_(v),E()},onPointerMove:v=>{d&&p(v)},ref:r,"vaul-drawer-visible":i?"true":"false","vaul-handle":"","aria-hidden":"true",...n},I.createElement("span",{"vaul-handle-hitarea":"","aria-hidden":"true"},t))});sB.displayName="Drawer.Handle";const lB=I.forwardRef(function({children:e,...t},n){const{overlayRef:r,snapPoints:i,onRelease:a,shouldFade:o,isOpen:s,visible:l}=Z_(),c=nB(n,r),u=i&&i.length>0;return I.createElement(VEe,{onMouseUp:a,ref:c,"vaul-drawer-visible":l?"true":"false","vaul-overlay":"","vaul-snap-points":s&&u?"true":"false","vaul-snap-points-overlay":s&&o?"true":"false",...t})});lB.displayName="Drawer.Overlay";const cB=I.forwardRef(function({onOpenAutoFocus:e,onPointerDownOutside:t,onAnimationEnd:n,style:r,...i},a){const{drawerRef:o,onPress:s,onRelease:l,onDrag:c,dismissible:u,keyboardIsOpen:d,snapPointsOffset:_,visible:p,closeDrawer:m,modal:f,openProp:S,onOpenChange:g,setVisible:E,handleOnly:h,direction:v}=Z_(),b=nB(a,o),y=I.useRef(null),T=I.useRef(!1),C=(O,N,x=0)=>{if(T.current)return!0;const w=Math.abs(O.y),M=Math.abs(O.x),k=M>w,U=["bottom","right"].includes(N)?1:-1;if(N==="left"||N==="right"){if(!(O.x*U<0)&&M>=0&&M<=x)return k}else if(!(O.y*U<0)&&w>=0&&w<=x)return!k;return T.current=!0,!0};return I.useEffect(()=>{E(!0)},[]),I.createElement(zEe,{"vaul-drawer":"","vaul-drawer-direction":v,"vaul-drawer-visible":p?"true":"false",...i,ref:b,style:_&&_.length>0?{"--snap-point-height":`${_[0]}px`,...r}:r,onOpenAutoFocus:O=>{if(e)e(O);else{var N;O.preventDefault(),(N=o.current)==null||N.focus()}},onPointerDown:O=>{h||(i.onPointerDown==null||i.onPointerDown.call(i,O),y.current={x:O.clientX,y:O.clientY},s(O))},onPointerDownOutside:O=>{if(t==null||t(O),!f||O.defaultPrevented){O.preventDefault();return}d.current&&(d.current=!1),O.preventDefault(),g==null||g(!1),!(!u||S!==void 0)&&m()},onFocusOutside:O=>{if(!f){O.preventDefault();return}},onEscapeKeyDown:O=>{if(!f){O.preventDefault();return}},onPointerMove:O=>{if(h||(i.onPointerMove==null||i.onPointerMove.call(i,O),!y.current))return;const N=O.clientY-y.current.y,x=O.clientX-y.current.x,w=O.pointerType==="touch"?10:2;C({x,y:N},v,w)?c(O):(Math.abs(x)>w||Math.abs(N)>w)&&(y.current=null)},onPointerUp:O=>{i.onPointerUp==null||i.onPointerUp.call(i,O),y.current=null,T.current=!1,l(O)}})});cB.displayName="Drawer.Content";function mSe({onDrag:e,onOpenChange:t,...n}){const{onNestedDrag:r,onNestedOpenChange:i,onNestedRelease:a}=Z_();if(!r)throw new Error("Drawer.NestedRoot must be placed in another drawer");return I.createElement(oB,{nested:!0,onClose:()=>{i(!1)},onDrag:(o,s)=>{r(o,s),e==null||e(o,s)},onOpenChange:o=>{o&&i(o),t==null||t(o)},onRelease:a,...n})}const gr={Root:oB,NestedRoot:mSe,Content:cB,Handle:sB,Overlay:lB,Trigger:HEe,Portal:qEe,Close:KEe,Title:WEe,Description:jEe},uB=({shouldScaleBackground:e=!0,...t})=>A.jsx(gr.Root,{shouldScaleBackground:e,direction:"right",...t});uB.displayName="Drawer";const gSe=gr.Portal,ESe=gr.Close,dB=R.forwardRef(({className:e,...t},n)=>A.jsx(gr.Overlay,{ref:n,className:we("fixed inset-0 z-50 bg-black/80",e),...t}));dB.displayName=gr.Overlay.displayName;const _B=R.forwardRef(({className:e,children:t,...n},r)=>A.jsxs(gSe,{children:[A.jsx(dB,{}),A.jsx(gr.Content,{ref:r,className:we("fixed inset-y-0 right-0 z-50 flex h-full w-2/5 flex-col border-l bg-background",e),...n,children:t})]}));_B.displayName="DrawerContent";const pB=({className:e,...t})=>A.jsx("div",{className:we("grid gap-1.5 p-4 text-center sm:text-left",e),...t});pB.displayName="DrawerHeader";const fB=R.forwardRef(({className:e,...t},n)=>A.jsx(gr.Title,{ref:n,className:we("text-lg font-semibold leading-none tracking-tight",e),...t}));fB.displayName=gr.Title.displayName;const SSe=R.forwardRef(({className:e,...t},n)=>A.jsx(gr.Description,{ref:n,className:we("text-sm text-muted-foreground",e),...t}));SSe.displayName=gr.Description.displayName;function vSe(e,[t,n]){return Math.min(n,Math.max(t,e))}function hSe(e,t){return R.useReducer((n,r)=>t[n][r]??n,e)}var mT="ScrollArea",[mB,Lve]=fa(mT),[bSe,kn]=mB(mT),gB=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:a=600,...o}=e,[s,l]=R.useState(null),[c,u]=R.useState(null),[d,_]=R.useState(null),[p,m]=R.useState(null),[f,S]=R.useState(null),[g,E]=R.useState(0),[h,v]=R.useState(0),[b,y]=R.useState(!1),[T,C]=R.useState(!1),O=Ot(t,x=>l(x)),N=W_(i);return A.jsx(bSe,{scope:n,type:r,dir:N,scrollHideDelay:a,scrollArea:s,viewport:c,onViewportChange:u,content:d,onContentChange:_,scrollbarX:p,onScrollbarXChange:m,scrollbarXEnabled:b,onScrollbarXEnabledChange:y,scrollbarY:f,onScrollbarYChange:S,scrollbarYEnabled:T,onScrollbarYEnabledChange:C,onCornerWidthChange:E,onCornerHeightChange:v,children:A.jsx(rt.div,{dir:N,...o,ref:O,style:{position:"relative","--radix-scroll-area-corner-width":g+"px","--radix-scroll-area-corner-height":h+"px",...e.style}})})});gB.displayName=mT;var EB="ScrollAreaViewport",SB=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=kn(EB,n),s=R.useRef(null),l=Ot(t,s,o.onViewportChange);return A.jsxs(A.Fragment,{children:[A.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),A.jsx(rt.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style},children:A.jsx("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});SB.displayName=EB;var Er="ScrollAreaScrollbar",gT=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=kn(Er,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation==="horizontal";return R.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type==="hover"?A.jsx(ySe,{...r,ref:t,forceMount:n}):i.type==="scroll"?A.jsx(TSe,{...r,ref:t,forceMount:n}):i.type==="auto"?A.jsx(vB,{...r,ref:t,forceMount:n}):i.type==="always"?A.jsx(ET,{...r,ref:t}):null});gT.displayName=Er;var ySe=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=kn(Er,e.__scopeScrollArea),[a,o]=R.useState(!1);return R.useEffect(()=>{const s=i.scrollArea;let l=0;if(s){const c=()=>{window.clearTimeout(l),o(!0)},u=()=>{l=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return s.addEventListener("pointerenter",c),s.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",c),s.removeEventListener("pointerleave",u)}}},[i.scrollArea,i.scrollHideDelay]),A.jsx(mr,{present:n||a,children:A.jsx(vB,{"data-state":a?"visible":"hidden",...r,ref:t})})}),TSe=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=kn(Er,e.__scopeScrollArea),a=e.orientation==="horizontal",o=ep(()=>l("SCROLL_END"),100),[s,l]=hSe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return R.useEffect(()=>{if(s==="idle"){const c=window.setTimeout(()=>l("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(c)}},[s,i.scrollHideDelay,l]),R.useEffect(()=>{const c=i.viewport,u=a?"scrollLeft":"scrollTop";if(c){let d=c[u];const _=()=>{const p=c[u];d!==p&&(l("SCROLL"),o()),d=p};return c.addEventListener("scroll",_),()=>c.removeEventListener("scroll",_)}},[i.viewport,a,l,o]),A.jsx(mr,{present:n||s!=="hidden",children:A.jsx(ET,{"data-state":s==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:Fe(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:Fe(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),vB=R.forwardRef((e,t)=>{const n=kn(Er,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=R.useState(!1),s=e.orientation==="horizontal",l=ep(()=>{if(n.viewport){const c=n.viewport.offsetWidth{const{orientation:n="vertical",...r}=e,i=kn(Er,e.__scopeScrollArea),a=R.useRef(null),o=R.useRef(0),[s,l]=R.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=CB(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:_=>a.current=_,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:_=>o.current=_};function d(_,p){return ISe(_,o.current,s,p)}return n==="horizontal"?A.jsx(CSe,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const _=i.viewport.scrollLeft,p=WD(_,s,i.dir);a.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:_=>{i.viewport&&(i.viewport.scrollLeft=_)},onDragScroll:_=>{i.viewport&&(i.viewport.scrollLeft=d(_,i.dir))}}):n==="vertical"?A.jsx(RSe,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const _=i.viewport.scrollTop,p=WD(_,s);a.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:_=>{i.viewport&&(i.viewport.scrollTop=_)},onDragScroll:_=>{i.viewport&&(i.viewport.scrollTop=d(_))}}):null}),CSe=R.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=kn(Er,e.__scopeScrollArea),[o,s]=R.useState(),l=R.useRef(null),c=Ot(t,l,a.onScrollbarXChange);return R.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),A.jsx(bB,{"data-orientation":"horizontal",...i,ref:c,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":J_(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,d)=>{if(a.viewport){const _=a.viewport.scrollLeft+u.deltaX;e.onWheelScroll(_),OB(_,d)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:Fd(o.paddingLeft),paddingEnd:Fd(o.paddingRight)}})}})}),RSe=R.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=kn(Er,e.__scopeScrollArea),[o,s]=R.useState(),l=R.useRef(null),c=Ot(t,l,a.onScrollbarYChange);return R.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),A.jsx(bB,{"data-orientation":"vertical",...i,ref:c,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":J_(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,d)=>{if(a.viewport){const _=a.viewport.scrollTop+u.deltaY;e.onWheelScroll(_),OB(_,d)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:Fd(o.paddingTop),paddingEnd:Fd(o.paddingBottom)}})}})}),[OSe,hB]=mB(Er),bB=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:d,..._}=e,p=kn(Er,n),[m,f]=R.useState(null),S=Ot(t,O=>f(O)),g=R.useRef(null),E=R.useRef(""),h=p.viewport,v=r.content-r.viewport,b=zt(u),y=zt(l),T=ep(d,10);function C(O){if(g.current){const N=O.clientX-g.current.left,x=O.clientY-g.current.top;c({x:N,y:x})}}return R.useEffect(()=>{const O=N=>{const x=N.target;(m==null?void 0:m.contains(x))&&b(N,v)};return document.addEventListener("wheel",O,{passive:!1}),()=>document.removeEventListener("wheel",O,{passive:!1})},[h,m,v,b]),R.useEffect(y,[r,y]),wo(m,T),wo(p.content,T),A.jsx(OSe,{scope:n,scrollbar:m,hasThumb:i,onThumbChange:zt(a),onThumbPointerUp:zt(o),onThumbPositionChange:y,onThumbPointerDown:zt(s),children:A.jsx(rt.div,{..._,ref:S,style:{position:"absolute",..._.style},onPointerDown:Fe(e.onPointerDown,O=>{O.button===0&&(O.target.setPointerCapture(O.pointerId),g.current=m.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),C(O))}),onPointerMove:Fe(e.onPointerMove,C),onPointerUp:Fe(e.onPointerUp,O=>{const N=O.target;N.hasPointerCapture(O.pointerId)&&N.releasePointerCapture(O.pointerId),document.body.style.webkitUserSelect=E.current,p.viewport&&(p.viewport.style.scrollBehavior=""),g.current=null})})})}),kd="ScrollAreaThumb",yB=R.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=hB(kd,e.__scopeScrollArea);return A.jsx(mr,{present:n||i.hasThumb,children:A.jsx(NSe,{ref:t,...r})})}),NSe=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,a=kn(kd,n),o=hB(kd,n),{onThumbPositionChange:s}=o,l=Ot(t,d=>o.onThumbChange(d)),c=R.useRef(),u=ep(()=>{c.current&&(c.current(),c.current=void 0)},100);return R.useEffect(()=>{const d=a.viewport;if(d){const _=()=>{if(u(),!c.current){const p=wSe(d,s);c.current=p,s()}};return s(),d.addEventListener("scroll",_),()=>d.removeEventListener("scroll",_)}},[a.viewport,u,s]),A.jsx(rt.div,{"data-state":o.hasThumb?"visible":"hidden",...i,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:Fe(e.onPointerDownCapture,d=>{const p=d.target.getBoundingClientRect(),m=d.clientX-p.left,f=d.clientY-p.top;o.onThumbPointerDown({x:m,y:f})}),onPointerUp:Fe(e.onPointerUp,o.onThumbPointerUp)})});yB.displayName=kd;var ST="ScrollAreaCorner",TB=R.forwardRef((e,t)=>{const n=kn(ST,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?A.jsx(ASe,{...e,ref:t}):null});TB.displayName=ST;var ASe=R.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=kn(ST,n),[a,o]=R.useState(0),[s,l]=R.useState(0),c=!!(a&&s);return wo(i.scrollbarX,()=>{var d;const u=((d=i.scrollbarX)==null?void 0:d.offsetHeight)||0;i.onCornerHeightChange(u),l(u)}),wo(i.scrollbarY,()=>{var d;const u=((d=i.scrollbarY)==null?void 0:d.offsetWidth)||0;i.onCornerWidthChange(u),o(u)}),c?A.jsx(rt.div,{...r,ref:t,style:{width:a,height:s,position:"absolute",right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Fd(e){return e?parseInt(e,10):0}function CB(e,t){const n=e/t;return isNaN(n)?0:n}function J_(e){const t=CB(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function ISe(e,t,n,r="ltr"){const i=J_(n),a=i/2,o=t||a,s=i-o,l=n.scrollbar.paddingStart+o,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r==="ltr"?[0,u]:[u*-1,0];return RB([l,c],d)(e)}function WD(e,t,n="ltr"){const r=J_(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,l=n==="ltr"?[0,o]:[o*-1,0],c=vSe(e,l);return RB([0,o],[0,s])(c)}function RB(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function OB(e,t){return e>0&&e{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function i(){const a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function ep(e,t){const n=zt(e),r=R.useRef(0);return R.useEffect(()=>()=>window.clearTimeout(r.current),[]),R.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function wo(e,t){const n=zt(t);Io(()=>{let r=0;if(e){const i=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return i.observe(e),()=>{window.cancelAnimationFrame(r),i.unobserve(e)}}},[e,n])}var NB=gB,xSe=SB,DSe=TB;const AB=R.forwardRef(({className:e,children:t,...n},r)=>A.jsxs(NB,{ref:r,className:we("relative overflow-hidden",e),...n,children:[A.jsx(xSe,{className:"h-full w-full rounded-[inherit]",children:t}),A.jsx(IB,{}),A.jsx(DSe,{})]}));AB.displayName=NB.displayName;const IB=R.forwardRef(({className:e,orientation:t="vertical",...n},r)=>A.jsx(gT,{ref:r,orientation:t,className:we("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:A.jsx(yB,{className:"relative flex-1 rounded-full bg-border"})}));IB.displayName=gT.displayName;const MSe=({fileUrl:e})=>{const[t,n]=R.useState(null),[r,i]=R.useState(""),[a,o]=R.useState([]),[s,l]=R.useState(""),[c,u]=R.useState(""),[d]=R.useState(null),[_,p]=R.useState(!1),[m,f]=R.useState(null),[S,g]=R.useState(null),E=R.useRef(null);R.useEffect(()=>{(async()=>{try{const C=await(await fetch(e)).text();i(C);const O=Mue.load(C);n(O);const N=O.aggregation.metrics;o(N),l(N[0]);const x=/^https:\/\/raw\.githubusercontent\.com\/([^/]+)\/([^/]+)\/([^/]+)\/(.+)$/,w=e.match(x);if(w){const[,M,k,U,L]=w,G=`https://github.com/${M}/${k}/blob/${U}/${L}`;u(G)}}catch(T){console.error("Error fetching YAML data:",T)}})()},[e]);const h=y=>{l(y)},v=(y,T,C)=>{var O,N,x;C&&!C.children?(f({inputs:((O=C.inputs)==null?void 0:O[0])||{},outputs:((N=C.outputs)==null?void 0:N[0])||{},pipeline:((x=C.pipeline)==null?void 0:x.compute)||[],defaults:C.defaults||{}}),p(!0)):g({name:y,path:T,data:C})},b=y=>{var T,C;if(t&&t.tree&&t.tree.aggregated){const O=(T=t==null?void 0:t.tree)==null?void 0:T.aggregated[y];if(O!==void 0&&t.explain){const N=((C=t==null?void 0:t.explain[y])==null?void 0:C.unit)||"";return`${O.toFixed(3)} ${N}`}}return""};return A.jsxs("div",{className:"py-10",children:[A.jsxs(Jy,{className:"bg-primary-foreground text-center",children:[A.jsxs(eT,{children:[A.jsx(tT,{className:"font-black text-primary text-xl",children:t==null?void 0:t.name}),A.jsx(nT,{children:t==null?void 0:t.description})]}),A.jsx(rT,{children:A.jsxs("div",{className:"flex flex-col gap-3",children:[c&&A.jsxs("a",{href:c,className:"flex items-center justify-center space-x-2 text-sm text-primary",target:"_blank",rel:"noopener noreferrer",children:[A.jsx("svg",{className:"w-4 h-4 flex-shrink-0",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})}),A.jsx("span",{className:"text-sm font-bold",children:new URL(c).pathname.split("/").pop()})]}),A.jsx("div",{className:"flex items-center justify-center space-x-2",children:(t==null?void 0:t.tree.outputs)&&t.tree.outputs.length>0&&A.jsxs(gde,{children:[A.jsx(zY,{className:"h-4 w-4 mr-2"}),`${new Date(t.tree.outputs[0].timestamp).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit"})} - ${new Date(t.tree.outputs[t.tree.outputs.length-1].timestamp).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit"})}`]})})]})})]}),A.jsxs(hde,{defaultValue:"visualizer",className:"py-6",children:[A.jsx("div",{className:"flex justify-center",children:A.jsxs(nU,{children:[A.jsx(Dh,{value:"visualizer",children:"Visualizer"}),A.jsx(Dh,{value:"rawFile",children:"Raw File"})]})}),A.jsxs(Mh,{value:"visualizer",children:[A.jsx("div",{className:"flex flex-col space-y-2 mt-4",children:A.jsx($F,{value:s,onValueChange:h,className:"flex items-center justify-center",children:a.map(y=>A.jsx(YF,{value:y,label:y,total:b(y)},y))})}),A.jsx(uB,{open:_,onOpenChange:p,children:A.jsxs(_B,{children:[A.jsxs(pB,{children:[A.jsx(fB,{children:"Component Details"}),A.jsx(ESe,{})]}),A.jsx(AB,{className:"h-[80vh]",children:m&&A.jsxs("div",{className:"p-4",children:[Object.keys(m.defaults).length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Defaults"}),Object.entries(m.defaults).map(([y,T])=>A.jsxs("div",{className:"p-1",children:[A.jsxs("span",{className:"font-bold",children:[y,": "]}),A.jsx("span",{children:T})]},y))]}),Object.keys(m.inputs).length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Inputs"}),Object.entries(m.inputs).map(([y,T])=>A.jsxs("div",{className:"p-1",children:[A.jsxs("span",{className:"font-bold",children:[y,": "]}),A.jsx("span",{children:T})]},y))]}),m.pipeline.length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Pipeline"}),m.pipeline.map((y,T)=>A.jsx("div",{className:"p-1",children:y},T))]}),Object.keys(m.outputs).length>0&&A.jsxs("div",{children:[A.jsx(va,{children:"Outputs"}),Object.entries(m.outputs).map(([y,T])=>A.jsxs("div",{className:"p-1",children:[A.jsxs("span",{className:"font-bold",children:[y,": "]}),A.jsx("span",{children:T})]},y))]})]})})]})}),A.jsxs("div",{children:[A.jsxs("section",{className:"py-8",children:[A.jsx(va,{children:"Component Visualization"}),A.jsx(ple,{data:t,selectedMetric:s,selectedNode:S,onNodeSelect:v})]}),A.jsxs("section",{className:"py-8",children:[A.jsx(va,{children:"Component Breakdown"}),A.jsx("div",{ref:E,children:A.jsx(XY,{data:t,selectedMetric:s,hoveredTimestamp:d,selectedNode:S,onNodeSelect:v})})]})]})]}),A.jsx(Mh,{value:"rawFile",children:A.jsx("div",{className:"mt-4 p-4 rounded-lg bg-primary-lightest-1 border border-primary-lighter max-h-[600px] overflow-auto",children:A.jsx(vU,{language:"yaml",style:wge,customStyle:{backgroundColor:"transparent",fontSize:"14px",lineHeight:"1.5"},wrapLines:!0,wrapLongLines:!0,children:r})})})]})]})},wB=R.forwardRef(({className:e,type:t,...n},r)=>A.jsx("input",{type:t,className:we("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));wB.displayName="Input";const PSe="/assets/logo-D0JrJmIn.svg",LSe=()=>A.jsx("nav",{className:"py-7 border-border border-b",children:A.jsxs("div",{className:"flex justify-between items-center max-w-5xl mx-auto",children:[A.jsx("div",{children:A.jsx("a",{href:"/",children:A.jsx("img",{src:PSe,alt:"Logo",className:"h-10"})})}),A.jsx("div",{children:A.jsx(q_,{children:"Become a watcher"})})]})});function kSe(){const[e,t]=R.useState(null),[n]=R.useState(new URLSearchParams(window.location.search)),r=i=>{i.preventDefault();const o=i.currentTarget.elements.namedItem("url").value;t(o),window.history.pushState({},"",`?url=${encodeURIComponent(o)}`)};return R.useEffect(()=>{const i=n.get("url");t(i||null)},[n]),R.useEffect(()=>{const i=()=>{const o=new URLSearchParams(window.location.search).get("url");t(o)};return window.addEventListener("popstate",i),()=>{window.removeEventListener("popstate",i)}},[]),A.jsxs("main",{children:[A.jsx(LSe,{}),A.jsx("div",{className:"relative max-w-5xl mx-auto",children:e?A.jsx(MSe,{fileUrl:e}):A.jsx("div",{children:A.jsx("div",{className:"py-10",children:A.jsxs(Jy,{className:"max-w-lg mx-auto ",children:[A.jsxs(eT,{children:[A.jsx(tT,{children:"File URL"}),A.jsx(nT,{children:"Use the URL of the manifest file you want to visualize."})]}),A.jsx(rT,{children:A.jsxs("form",{onSubmit:r,className:"flex flex-col gap-2",children:[A.jsx(wB,{name:"url",placeholder:"Raw File URL"}),A.jsx(q_,{type:"submit",children:"Visualize"})]})})]})})})})]})}oP(document.getElementById("root")).render(A.jsx(R.StrictMode,{children:A.jsx(kSe,{})})); diff --git a/assets/index-C0-1-t3d.css b/assets/index-C0-1-t3d.css new file mode 100644 index 0000000..8d35e7a --- /dev/null +++ b/assets/index-C0-1-t3d.css @@ -0,0 +1 @@ +@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-sans-cyrillic-ext-400-normal-DbZ3PraV.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-ext-400-normal-CiS_ymQP.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-sans-cyrillic-400-normal-BtO980RN.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-400-normal-DSadNw8v.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-sans-vietnamese-400-normal-nJ9uqzQQ.woff2) format("woff2"),url(/assets/nunito-sans-vietnamese-400-normal-BDueTZp9.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-sans-latin-ext-400-normal-Dl00lHtW.woff2) format("woff2"),url(/assets/nunito-sans-latin-ext-400-normal-peglra3h.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-sans-latin-400-normal-GK4zUbTe.woff2) format("woff2"),url(/assets/nunito-sans-latin-400-normal-BcaM0ec9.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/nunito-sans-cyrillic-ext-500-normal-iRI3h2Rp.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-ext-500-normal-J6XOOZby.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/nunito-sans-cyrillic-500-normal-B4hzaLRt.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-500-normal-CetUFi4z.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/nunito-sans-vietnamese-500-normal-D3dchfYx.woff2) format("woff2"),url(/assets/nunito-sans-vietnamese-500-normal-dvhVfJC2.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/nunito-sans-latin-ext-500-normal-Dp3w1j9Z.woff2) format("woff2"),url(/assets/nunito-sans-latin-ext-500-normal-BhvLMx_k.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/nunito-sans-latin-500-normal-C-sym9Zp.woff2) format("woff2"),url(/assets/nunito-sans-latin-500-normal-CtFMTw07.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-sans-cyrillic-ext-700-normal-C83qBzxs.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-ext-700-normal-B0cEhJyB.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-sans-cyrillic-700-normal-BucEZqdl.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-700-normal-N11n8Wu1.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-sans-vietnamese-700-normal-BEpNkMJC.woff2) format("woff2"),url(/assets/nunito-sans-vietnamese-700-normal-BaFHLVzU.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-sans-latin-ext-700-normal-BRYPcVU0.woff2) format("woff2"),url(/assets/nunito-sans-latin-ext-700-normal-B1WuhRgc.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-sans-latin-700-normal-Bg6PAa9Y.woff2) format("woff2"),url(/assets/nunito-sans-latin-700-normal-JizdrUr4.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-sans-cyrillic-ext-900-normal-UKUWaibx.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-ext-900-normal-BL0k2LwF.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-sans-cyrillic-900-normal-C_WMrL8M.woff2) format("woff2"),url(/assets/nunito-sans-cyrillic-900-normal-C-jRn0mA.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-sans-vietnamese-900-normal-B95FVEM_.woff2) format("woff2"),url(/assets/nunito-sans-vietnamese-900-normal-CZWL6OWh.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-sans-latin-ext-900-normal-ePT42D-O.woff2) format("woff2"),url(/assets/nunito-sans-latin-ext-900-normal-BHiF0nq-.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Sans;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-sans-latin-900-normal-Afd1rMI-.woff2) format("woff2"),url(/assets/nunito-sans-latin-900-normal-490hvtV8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Nunito Sans,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 20 14.3% 4.1%;--card: 0 0% 100%;--card-foreground: 20 14.3% 4.1%;--popover: 0 0% 100%;--popover-foreground: 20 14.3% 4.1%;--primary: 178 100% 21%;--primary-foreground: 170 30% 96%;--primary-background: 178 100% 16%;--secondary: 75 54% 56%;--secondary-foreground: 75 42% 28%;--secondary-background: 70 50% 98%;--muted: 60 4.8% 95.9%;--muted-foreground: 178 100% 11%;--accent: 60 4.8% 95.9%;--accent-foreground: 24 9.8% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 60 9.1% 97.8%;--border: 178 27% 80%;--input: 20 5.9% 90%;--ring: 20 14.3% 4.1%;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%;--radius: .5rem;--primary-darkest-2: 178 100% 7%;--primary-darkest: 178 100% 9%;--primary-darker: 178 100% 11%;--primary-dark: 178 100% 16%;--primary-light: 178 20% 61%;--primary-lighter: 178 30% 86%;--primary-lightest-2: 180 33% 92%;--primary-lightest-1: 180 33% 96%;--secondary-darker: 75 42% 28%;--secondary-dark: 75 42% 42%;--secondary-light: 75 54% 78%;--secondary-lighter: 75 54% 89%;--secondary-lightest-2: 75 54% 96%;--secondary-lightest-1: 75 54% 98%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.mb-2{margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-4{height:1rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[400px\]{height:400px}.h-\[80vh\]{height:80vh}.h-full{height:100%}.max-h-\[600px\]{max-height:600px}.max-h-full{max-height:100%}.w-0{width:0px}.w-1{width:.25rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/5{width:40%}.w-4{width:1rem}.w-9{width:2.25rem}.w-\[24px\]{width:24px}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.max-w-5xl{max-width:64rem}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-20{-moz-column-gap:5rem;column-gap:5rem}.gap-y-12{row-gap:3rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-border{border-color:hsl(var(--border))}.border-border\/50{border-color:hsl(var(--border) / .5)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-primary-lighter{border-color:hsl(var(--primary-lighter))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:#000c}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary-lighter{background-color:hsl(var(--primary-lighter))}.bg-primary-lightest-1{background-color:hsl(var(--primary-lightest-1))}.bg-primary-lightest-2{background-color:hsl(var(--primary-lightest-2))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-secondary-lightest-1{background-color:hsl(var(--secondary-lightest-1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-\[1px\]{padding:1px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-3{padding-bottom:.75rem}.pt-0{padding-top:0}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-dark{color:hsl(var(--primary-dark))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary-light{color:hsl(var(--primary-light))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.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)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:mt-4:after{content:var(--tw-content);margin-top:1rem}.after\:block:after{content:var(--tw-content);display:block}.after\:h-1:after{content:var(--tw-content);height:.25rem}.after\:w-9:after{content:var(--tw-content);width:2.25rem}.after\:bg-primary-light:after{content:var(--tw-content);background-color:hsl(var(--primary-light))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-primary:focus-visible{--tw-ring-color: hsl(var(--primary))}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=active\]\:bg-primary[data-state=active]{background-color:hsl(var(--primary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=active\]\:text-primary-foreground[data-state=active]{color:hsl(var(--primary-foreground))}.data-\[state\=checked\]\:opacity-100[data-state=checked]{opacity:1}.data-\[state\=unchecked\]\:opacity-60[data-state=unchecked]{opacity:.6}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}@media (min-width: 640px){.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:mb-6{margin-bottom:1.5rem}.md\:gap-y-16{row-gap:4rem}.md\:py-16{padding-top:4rem;padding-bottom:4rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:items-center{align-items:center}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-primary-dark .recharts-cartesian-axis-tick text{fill:hsl(var(--primary-dark))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border) / .5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} diff --git a/index.html b/index.html index 41ed88e..17926e4 100644 --- a/index.html +++ b/index.html @@ -12,11 +12,11 @@ gtag('config', 'G-G0FBNWR63G'); - + IF Visualizer - - + +