bb-plugin-goal 0.0.0-stage → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,60 @@
1
+ /* shadcn/ui-derived */
2
+ import * as React from "react";
3
+ import { Slot } from "@radix-ui/react-slot";
4
+ import { cva, type VariantProps } from "class-variance-authority";
5
+
6
+ import { cn } from "../../lib/utils";
7
+ import { CONTROL_HOVER_TRANSITION } from "./motion.js";
8
+
9
+ const buttonVariants = cva(
10
+ `inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ${CONTROL_HOVER_TRANSITION} focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,
11
+ {
12
+ variants: {
13
+ variant: {
14
+ default: "bg-foreground text-background hover:bg-foreground/90",
15
+ destructive:
16
+ "bg-destructive text-destructive-foreground hover:bg-destructive/90",
17
+ outline:
18
+ "border border-input bg-transparent hover:bg-state-hover hover:text-foreground",
19
+ secondary:
20
+ "bg-secondary text-secondary-foreground hover:bg-secondary/80",
21
+ ghost:
22
+ "hover:bg-state-hover hover:text-foreground aria-pressed:bg-state-active aria-pressed:text-foreground aria-pressed:hover:bg-state-active data-[state=open]:bg-state-active data-[state=open]:text-foreground data-[state=open]:hover:bg-state-active",
23
+ link: "text-primary underline-offset-4 hover:underline",
24
+ },
25
+ size: {
26
+ default: "h-9 px-4 py-2",
27
+ sm: "h-8 rounded-md px-3 text-xs",
28
+ lg: "h-10 rounded-md px-8",
29
+ icon: "h-9 w-9",
30
+ },
31
+ },
32
+ defaultVariants: {
33
+ variant: "default",
34
+ size: "default",
35
+ },
36
+ },
37
+ );
38
+
39
+ export interface ButtonProps
40
+ extends
41
+ Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "title">,
42
+ VariantProps<typeof buttonVariants> {
43
+ asChild?: boolean;
44
+ }
45
+
46
+ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
47
+ ({ className, variant, size, asChild = false, ...props }, ref) => {
48
+ const Comp = asChild ? Slot : "button";
49
+ return (
50
+ <Comp
51
+ className={cn(buttonVariants({ variant, size, className }))}
52
+ ref={ref}
53
+ {...props}
54
+ />
55
+ );
56
+ },
57
+ );
58
+ Button.displayName = "Button";
59
+
60
+ export { Button, buttonVariants };
@@ -0,0 +1,76 @@
1
+ export const COARSE_POINTER_TEXT_BASE_CLASS =
2
+ "text-sm max-md:pointer-coarse:text-base";
3
+
4
+ export const COARSE_POINTER_TEXT_SM_CLASS =
5
+ "text-xs max-md:pointer-coarse:text-sm";
6
+
7
+ export const COARSE_POINTER_ICON_SIZE_CLASS =
8
+ "size-4 max-md:pointer-coarse:size-5";
9
+
10
+ export const COARSE_POINTER_ICON_SIZE_SHRINK_CLASS =
11
+ "size-4 shrink-0 max-md:pointer-coarse:size-5";
12
+
13
+ export const COARSE_POINTER_COMPACT_ICON_SIZE_CLASS =
14
+ "size-3.5 max-md:pointer-coarse:size-5";
15
+
16
+ export const COARSE_POINTER_COMPACT_ICON_SIZE_SHRINK_CLASS =
17
+ "size-3.5 shrink-0 max-md:pointer-coarse:size-5";
18
+
19
+ export const COARSE_POINTER_DOT_SIZE_CLASS =
20
+ "size-1.5 max-md:pointer-coarse:size-2";
21
+
22
+ export const COARSE_POINTER_GLYPH_BOX_CLASS =
23
+ "h-4 w-4 max-md:pointer-coarse:h-5 max-md:pointer-coarse:w-5";
24
+
25
+ export const COARSE_POINTER_CHECK_SLOT_CLASS =
26
+ "h-3.5 w-3.5 max-md:pointer-coarse:h-5 max-md:pointer-coarse:w-5";
27
+
28
+ // Shared box geometry (and thus the pointer/focus hit target) for header icon
29
+ // buttons. The glyph size is layered on separately so a reduced-glyph variant
30
+ // can shrink the artwork without touching the button footprint.
31
+ const HEADER_ICON_BUTTON_BOX_CLASS =
32
+ "h-[28px] w-[28px] rounded-md p-0 max-md:pointer-coarse:h-[36px] max-md:pointer-coarse:w-[36px]";
33
+
34
+ export const COARSE_POINTER_HEADER_ICON_BUTTON_CLASS = `${HEADER_ICON_BUTTON_BOX_CLASS} [&_svg]:size-[16px] max-md:pointer-coarse:[&_svg]:size-[20px]`;
35
+
36
+ // Same button box as above, but paints the glyph one optical step smaller.
37
+ // Some glyphs (e.g. the maximize/restore double-arrows, which cover ~66% of the
38
+ // 24px icon grid) read visibly larger than the compact controls they sit beside
39
+ // (the close X covers ~32%) at the shared 16px size. Rendering them at 13px fine
40
+ // / 16px coarse (~0.81x) matches their painted footprint to the sibling
41
+ // controls while keeping the 28/36px hit target identical. Other surfaces
42
+ // already reduce these same glyphs (prompt box 12px, panel collapse 14px).
43
+ export const COARSE_POINTER_HEADER_REDUCED_GLYPH_ICON_BUTTON_CLASS = `${HEADER_ICON_BUTTON_BOX_CLASS} [&_svg]:size-[13px] max-md:pointer-coarse:[&_svg]:size-[16px]`;
44
+
45
+ export const COARSE_POINTER_COMPACT_ICON_BUTTON_CLASS =
46
+ "h-7 w-7 rounded-md p-0 [&_svg]:size-3.5 max-md:pointer-coarse:h-9 max-md:pointer-coarse:w-9 max-md:pointer-coarse:[&_svg]:size-5";
47
+
48
+ export const COARSE_POINTER_CHILD_ICON_BUTTON_CLASS =
49
+ "h-8 w-8 justify-center p-0 [&>svg]:size-4 max-md:pointer-coarse:h-9 max-md:pointer-coarse:w-9 max-md:pointer-coarse:[&>svg]:size-5";
50
+
51
+ export const COARSE_POINTER_TOOLBAR_ACTION_BUTTON_CLASS =
52
+ "h-7 rounded-md border-border bg-transparent px-2 text-xs font-medium text-foreground shadow-none hover:bg-state-hover hover:text-foreground max-md:pointer-coarse:h-9";
53
+
54
+ export const COARSE_POINTER_PROMPT_ACTION_BUTTON_CLASS =
55
+ "h-8 px-2 transition-all max-md:pointer-coarse:h-10 max-md:pointer-coarse:px-2.5";
56
+
57
+ export const COARSE_POINTER_PROMPT_ICON_ACTION_BUTTON_CLASS =
58
+ "size-auto h-8 px-2 transition-all max-md:pointer-coarse:h-10 max-md:pointer-coarse:px-2.5";
59
+
60
+ export const COARSE_POINTER_PROMPT_COMBO_BUTTON_CLASS =
61
+ "h-8 w-8 rounded-l-none border-l border-l-primary-foreground/20 px-0 transition-all hover:border-l-primary-foreground/30 max-md:pointer-coarse:h-10 max-md:pointer-coarse:w-10";
62
+
63
+ export const COARSE_POINTER_INPUT_HEIGHT_CLASS =
64
+ "h-9 max-md:pointer-coarse:h-10";
65
+
66
+ export const COARSE_POINTER_COMPACT_ROW_HEIGHT_CLASS =
67
+ "h-7 max-md:pointer-coarse:h-9";
68
+
69
+ export const COARSE_POINTER_ROW_HEIGHT_CLASS =
70
+ "h-[var(--bb-sidebar-row-height)] max-md:pointer-coarse:h-[var(--bb-sidebar-row-height-coarse)]";
71
+
72
+ export const COARSE_POINTER_PROVIDER_TAB_SIZE_CLASS =
73
+ "h-7 w-6 max-md:pointer-coarse:h-9 max-md:pointer-coarse:w-9";
74
+
75
+ export const COARSE_POINTER_ROW_ACTION_SIZE_CLASS =
76
+ "h-7 w-7 max-md:pointer-coarse:h-9 max-md:pointer-coarse:w-9";
@@ -0,0 +1,31 @@
1
+ /* shadcn/ui-derived */
2
+ import * as React from "react";
3
+
4
+ import {
5
+ COARSE_POINTER_INPUT_HEIGHT_CLASS,
6
+ COARSE_POINTER_TEXT_BASE_CLASS,
7
+ } from "./coarse-pointer-sizing.js";
8
+ import { cn } from "../../lib/utils";
9
+ import { CONTROL_HOVER_TRANSITION } from "./motion.js";
10
+
11
+ const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(
12
+ ({ className, type, ...props }, ref) => {
13
+ return (
14
+ <input
15
+ type={type}
16
+ autoComplete="off"
17
+ className={cn(
18
+ `flex w-full rounded-md border border-input bg-transparent px-3 py-1 ${CONTROL_HOVER_TRANSITION} file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,
19
+ COARSE_POINTER_INPUT_HEIGHT_CLASS,
20
+ COARSE_POINTER_TEXT_BASE_CLASS,
21
+ className,
22
+ )}
23
+ ref={ref}
24
+ {...props}
25
+ />
26
+ );
27
+ },
28
+ );
29
+ Input.displayName = "Input";
30
+
31
+ export { Input };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Shared hover-motion heuristic for primitives, so the whole UI speaks one
3
+ * timing language instead of ad-hoc per-component transitions:
4
+ *
5
+ * - CONTROL_HOVER_TRANSITION — interactive controls (buttons, icon buttons):
6
+ * the hover/active fill snaps IN instantly (0ms) and eases OUT lazily (150ms).
7
+ * Immediate feedback on the way in, never twitchy on the way out. The trick:
8
+ * CSS applies the *end state's* transition-duration for each direction, so a
9
+ * base `duration-150` governs hover-out while `hover:duration-0` makes
10
+ * hover-in instant.
11
+ * - LIST_HOVER_TRANSITION — dense list/menu rows (menu items, list rows): no
12
+ * transition at all (instant both ways), so the highlight tracks the pointer
13
+ * and arrow keys exactly, with no lag during fast navigation.
14
+ *
15
+ * Reach for one of these rather than a bare `transition-colors` on anything with
16
+ * a hover/active state.
17
+ */
18
+ export const CONTROL_HOVER_TRANSITION =
19
+ "transition-colors duration-150 hover:duration-0";
20
+
21
+ export const LIST_HOVER_TRANSITION = "transition-none";
package/dist/app.css ADDED
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.8125rem;--text-sm--line-height:calc(1.25 / .875);--text-base:.9375rem;--text-base--line-height:1.375rem;--font-weight-medium:500;--leading-relaxed:1.625;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .collapse,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).collapse{visibility:collapse}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .visible,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).visible{visibility:visible}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .sr-only,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .absolute,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).absolute{position:absolute}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .relative,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).relative{position:relative}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .static,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).static{position:static}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .mt-1,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).mt-1{margin-top:calc(var(--spacing) * 1)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .mt-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).mt-2{margin-top:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .mt-3,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).mt-3{margin-top:calc(var(--spacing) * 3)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .ml-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).ml-2{margin-left:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .block,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).block{display:block}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .flex,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).flex{display:flex}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .inline-flex,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).inline-flex{display:inline-flex}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .table,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).table{display:table}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .size-1\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .size-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .size-3\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .size-4,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .size-auto,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).size-auto{width:auto;height:auto}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-3\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-3\.5{height:calc(var(--spacing) * 3.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-4,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-4{height:calc(var(--spacing) * 4)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-7,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-7{height:calc(var(--spacing) * 7)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-8,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-8{height:calc(var(--spacing) * 8)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-9,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-9{height:calc(var(--spacing) * 9)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-10,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-10{height:calc(var(--spacing) * 10)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-\[28px\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-\[28px\]{height:28px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .h-\[var\(--bb-sidebar-row-height\)\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).h-\[var\(--bb-sidebar-row-height\)\]{height:var(--bb-sidebar-row-height)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .min-h-8,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).min-h-8{min-height:calc(var(--spacing) * 8)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-3\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-3\.5{width:calc(var(--spacing) * 3.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-4,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-4{width:calc(var(--spacing) * 4)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-6,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-6{width:calc(var(--spacing) * 6)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-7,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-7{width:calc(var(--spacing) * 7)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-8,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-8{width:calc(var(--spacing) * 8)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-9,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-9{width:calc(var(--spacing) * 9)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-\[28px\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-\[28px\]{width:28px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .w-full,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).w-full{width:100%}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-w-\[760px\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-w-\[760px\]{max-width:760px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .min-w-0,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).min-w-0{min-width:calc(var(--spacing) * 0)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .flex-1,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).flex-1{flex:1}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .shrink,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).shrink{flex-shrink:1}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .shrink-0,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).shrink-0{flex-shrink:0}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .cursor-pointer,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).cursor-pointer{cursor:pointer}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .list-none,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).list-none{list-style-type:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .flex-wrap,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).flex-wrap{flex-wrap:wrap}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .items-center,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).items-center{align-items:center}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .items-start,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).items-start{align-items:flex-start}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .justify-between,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).justify-between{justify-content:space-between}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .justify-center,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).justify-center{justify-content:center}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .justify-end,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).justify-end{justify-content:flex-end}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-1,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).gap-1{gap:calc(var(--spacing) * 1)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).gap-2{gap:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-3,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).gap-3{gap:calc(var(--spacing) * 3)}:where(:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .space-y-3>:not(:last-child)),:where(:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .space-y-4>:not(:last-child)),:where(:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-x-3,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).gap-x-3{column-gap:calc(var(--spacing) * 3)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .gap-y-1,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).gap-y-1{row-gap:calc(var(--spacing) * 1)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .truncate,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .overflow-hidden,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).overflow-hidden{overflow:hidden}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-full,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-full{border-radius:3.40282e38px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-lg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-lg{border-radius:var(--radius)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-md,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-md{border-radius:calc(var(--radius) - 2px)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-xl,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-xl{border-radius:calc(var(--radius) + 4px)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .rounded-l-none,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border{border-style:var(--tw-border-style);border-width:1px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-t,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-t{border-top-style:var(--tw-border-style);border-top-width:1px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-l,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-l{border-left-style:var(--tw-border-style);border-left-width:1px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-dashed,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-dashed{--tw-border-style:dashed;border-style:dashed}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-border,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border\/35{border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border\/35{border-color:color-mix(in oklab, var(--border) 35%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-border\/35{border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-border\/35{border-color:color-mix(in oklab, var(--border) 35%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border\/50{border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-border\/50{border-color:color-mix(in oklab, var(--border) 50%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-border\/50{border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-border\/50{border-color:color-mix(in oklab, var(--border) 50%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-input,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-input{border-color:var(--input)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-l-primary-foreground\/20{border-left-color:var(--primary-foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .border-l-primary-foreground\/20{border-left-color:color-mix(in oklab, var(--primary-foreground) 20%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-l-primary-foreground\/20{border-left-color:var(--primary-foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).border-l-primary-foreground\/20{border-left-color:color-mix(in oklab, var(--primary-foreground) 20%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-card,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-card{background-color:var(--card)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-destructive,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-destructive{background-color:var(--destructive)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-foreground{background-color:var(--foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted{background-color:var(--muted)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted-foreground\/60{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted-foreground\/60{background-color:color-mix(in oklab, var(--muted-foreground) 60%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted-foreground\/60{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted-foreground\/60{background-color:color-mix(in oklab, var(--muted-foreground) 60%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-secondary,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-secondary{background-color:var(--secondary)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-success,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-success{background-color:var(--success)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .bg-transparent,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).bg-transparent{background-color:#0000}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .p-0,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).p-0{padding:calc(var(--spacing) * 0)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .p-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).p-2{padding:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .p-3,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).p-3{padding:calc(var(--spacing) * 3)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .p-4,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).p-4{padding:calc(var(--spacing) * 4)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .px-0,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).px-0{padding-inline:calc(var(--spacing) * 0)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .px-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).px-2{padding-inline:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .px-3,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).px-3{padding-inline:calc(var(--spacing) * 3)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .px-4,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).px-4{padding-inline:calc(var(--spacing) * 4)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .px-8,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).px-8{padding-inline:calc(var(--spacing) * 8)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .py-0\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).py-0\.5{padding-block:calc(var(--spacing) * .5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .py-1,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).py-1{padding-block:calc(var(--spacing) * 1)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .py-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).py-2{padding-block:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .py-2\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).py-2\.5{padding-block:calc(var(--spacing) * 2.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .pt-3,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).pt-3{padding-top:calc(var(--spacing) * 3)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .pb-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).pb-2{padding-bottom:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-sm,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-xs,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .leading-relaxed,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .font-medium,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .whitespace-nowrap,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).whitespace-nowrap{white-space:nowrap}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .whitespace-pre-wrap,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).whitespace-pre-wrap{white-space:pre-wrap}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-background,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-background{color:var(--background)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-destructive,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-destructive{color:var(--destructive)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-destructive-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-destructive-foreground{color:var(--destructive-foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-foreground\/90{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-foreground\/90{color:color-mix(in oklab, var(--foreground) 90%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-foreground\/90{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-foreground\/90{color:color-mix(in oklab, var(--foreground) 90%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-muted-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-muted-foreground{color:var(--muted-foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-primary,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-primary{color:var(--primary)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .text-secondary-foreground,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).text-secondary-foreground{color:var(--secondary-foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .underline-offset-4,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).underline-offset-4{text-underline-offset:4px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .shadow-none,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .shadow-sm,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).shadow-sm{--tw-shadow:var(--shadow-sm);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .outline,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).outline{outline-style:var(--tw-outline-style);outline-width:1px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .transition,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-all,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-colors,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-transform,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .transition-none,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).transition-none{transition-property:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .duration-150,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).duration-150{--tw-duration:.15s;transition-duration:.15s}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .paused,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).paused{animation-play-state:paused}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .running,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).running{animation-play-state:running}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .group-open\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *),:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).group-open\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .file\:bg-transparent::file-selector-button{background-color:#0000}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).file\:bg-transparent::file-selector-button{background-color:#0000}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .file\:text-foreground::file-selector-button{color:var(--foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).file\:text-foreground::file-selector-button{color:var(--foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .placeholder\:text-muted-foreground::placeholder,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media (hover:hover){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:border-l-primary-foreground\/30:hover{border-left-color:var(--primary-foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:border-l-primary-foreground\/30:hover{border-left-color:color-mix(in oklab, var(--primary-foreground) 30%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:border-l-primary-foreground\/30:hover{border-left-color:var(--primary-foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:border-l-primary-foreground\/30:hover{border-left-color:color-mix(in oklab, var(--primary-foreground) 30%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, var(--destructive) 90%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, var(--destructive) 90%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-foreground\/90:hover{background-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-foreground\/90:hover{background-color:color-mix(in oklab, var(--foreground) 90%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-foreground\/90:hover{background-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-foreground\/90:hover{background-color:color-mix(in oklab, var(--foreground) 90%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:bg-state-hover:hover,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:bg-state-hover:hover{background-color:var(--state-hover)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:text-foreground:hover,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:text-foreground:hover{color:var(--foreground)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:underline:hover,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:underline:hover{text-decoration-line:underline}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .hover\:duration-0:hover,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).hover\:duration-0:hover{--tw-duration:0s;transition-duration:0s}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-1:focus-visible,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:ring-ring:focus-visible,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .focus-visible\:outline-none:focus-visible,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .disabled\:pointer-events-none:disabled,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).disabled\:pointer-events-none:disabled{pointer-events:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .disabled\:cursor-not-allowed:disabled,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).disabled\:cursor-not-allowed:disabled{cursor:not-allowed}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .disabled\:opacity-50:disabled,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).disabled\:opacity-50:disabled{opacity:.5}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .aria-pressed\:bg-state-active[aria-pressed=true],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).aria-pressed\:bg-state-active[aria-pressed=true]{background-color:var(--state-active)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .aria-pressed\:text-foreground[aria-pressed=true],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).aria-pressed\:text-foreground[aria-pressed=true]{color:var(--foreground)}@media (hover:hover){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .aria-pressed\:hover\:bg-state-active[aria-pressed=true]:hover,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).aria-pressed\:hover\:bg-state-active[aria-pressed=true]:hover{background-color:var(--state-active)}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .data-\[state\=open\]\:bg-state-active[data-state=open],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).data-\[state\=open\]\:bg-state-active[data-state=open]{background-color:var(--state-active)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .data-\[state\=open\]\:text-foreground[data-state=open],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).data-\[state\=open\]\:text-foreground[data-state=open]{color:var(--foreground)}@media (hover:hover){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .data-\[state\=open\]\:hover\:bg-state-active[data-state=open]:hover,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).data-\[state\=open\]\:hover\:bg-state-active[data-state=open]:hover{background-color:var(--state-active)}}@media not all and (min-width:48rem){@media (pointer:coarse){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:size-2,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:size-5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:h-5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:h-5{height:calc(var(--spacing) * 5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:h-9,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:h-9{height:calc(var(--spacing) * 9)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:h-10,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:h-10{height:calc(var(--spacing) * 10)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:h-\[36px\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:h-\[36px\]{height:36px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:h-\[var\(--bb-sidebar-row-height-coarse\)\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:h-\[var\(--bb-sidebar-row-height-coarse\)\]{height:var(--bb-sidebar-row-height-coarse)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:w-5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:w-5{width:calc(var(--spacing) * 5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:w-9,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:w-9{width:calc(var(--spacing) * 9)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:w-10,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:w-10{width:calc(var(--spacing) * 10)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:w-\[36px\],:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:w-\[36px\]{width:36px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:px-2\.5,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:text-base,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:text-sm,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&_svg\]\:pointer-events-none svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&_svg\]\:pointer-events-none svg{pointer-events:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&_svg\]\:size-3\.5 svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&_svg\]\:size-3\.5 svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&_svg\]\:size-4 svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&_svg\]\:size-\[13px\] svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&_svg\]\:size-\[13px\] svg{width:13px;height:13px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&_svg\]\:size-\[16px\] svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&_svg\]\:size-\[16px\] svg{width:16px;height:16px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&_svg\]\:shrink-0 svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&_svg\]\:shrink-0 svg{flex-shrink:0}@media not all and (min-width:48rem){@media (pointer:coarse){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:\[\&_svg\]\:size-5 svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:\[\&_svg\]\:size-5 svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:\[\&_svg\]\:size-\[16px\] svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:\[\&_svg\]\:size-\[16px\] svg{width:16px;height:16px}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:\[\&_svg\]\:size-\[20px\] svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:\[\&_svg\]\:size-\[20px\] svg{width:20px;height:20px}}}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker{display:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker{display:none}:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .\[\&\>svg\]\:size-4>svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}@media not all and (min-width:48rem){@media (pointer:coarse){:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])) .max-md\:pointer-coarse\:\[\&\>svg\]\:size-5>svg,:where([data-bb-plugin=goal],[data-bb-plugin-root]:not([data-bb-plugin])).max-md\:pointer-coarse\:\[\&\>svg\]\:size-5>svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}
package/dist/app.js ADDED
@@ -0,0 +1 @@
1
+ var Oe=Object.defineProperty;var Ae=(e,o)=>{for(var i in o)Oe(e,i,{get:o[i],enumerable:!0})};var I={};Ae(I,{Activity:()=>Ie,Children:()=>z,Component:()=>ke,Fragment:()=>X,Profiler:()=>Le,PureComponent:()=>Be,StrictMode:()=>Ge,Suspense:()=>ze,ViewTransition:()=>He,act:()=>Me,addTransitionType:()=>je,cache:()=>Ve,cacheSignal:()=>De,captureOwnerStack:()=>Fe,cloneElement:()=>k,createContext:()=>$e,createElement:()=>Ue,createRef:()=>We,default:()=>Pe,forwardRef:()=>T,isValidElement:()=>O,lazy:()=>Ze,memo:()=>Ke,startTransition:()=>qe,unstable_useCacheRefresh:()=>Xe,use:()=>Ye,useActionState:()=>Qe,useCallback:()=>A,useContext:()=>Je,useDebugValue:()=>et,useDeferredValue:()=>tt,useEffect:()=>P,useEffectEvent:()=>nt,useId:()=>rt,useImperativeHandle:()=>ot,useInsertionEffect:()=>at,useLayoutEffect:()=>it,useMemo:()=>st,useOptimistic:()=>lt,useReducer:()=>dt,useRef:()=>H,useState:()=>h,useSyncExternalStore:()=>ut,useTransition:()=>ct,version:()=>mt});var q=globalThis.__bbPluginRuntime;if(q==null||q.react==null)throw new Error('Cannot load "react": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var G=q.react,Pe="default"in G?G.default:G,{Activity:Ie,Children:z,Component:ke,Fragment:X,Profiler:Le,PureComponent:Be,StrictMode:Ge,Suspense:ze,ViewTransition:He,act:Me,addTransitionType:je,cache:Ve,cacheSignal:De,captureOwnerStack:Fe,cloneElement:k,createContext:$e,createElement:Ue,createRef:We,forwardRef:T,isValidElement:O,lazy:Ze,memo:Ke,startTransition:qe,unstable_useCacheRefresh:Xe,use:Ye,useActionState:Qe,useCallback:A,useContext:Je,useDebugValue:et,useDeferredValue:tt,useEffect:P,useEffectEvent:nt,useId:rt,useImperativeHandle:ot,useInsertionEffect:at,useLayoutEffect:it,useMemo:st,useOptimistic:lt,useReducer:dt,useRef:H,useState:h,useSyncExternalStore:ut,useTransition:ct,version:mt}=G;var Y=globalThis.__bbPluginRuntime;if(Y==null||Y.pluginSdkApp==null)throw new Error('Cannot load "@get-bb/plugin-sdk/app": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var M=Y.pluginSdkApp,Rt="default"in M?M.default:M,{Markdown:Et,ThreadChat:Nt,ThreadTitle:Tt,UrlLink:wt,definePluginApp:ue,experimental_BranchPicker:Ot,experimental_ComposerRoot:At,experimental_DetailRow:Pt,experimental_Diff:It,experimental_FailedVoiceRecordings:kt,experimental_FileLink:Lt,experimental_Icon:Bt,experimental_ImageLightbox:Gt,experimental_InfoList:zt,experimental_InfoListRow:Ht,experimental_InfoSection:Mt,experimental_NewThreadComposer:jt,experimental_PanelTabIcon:Vt,experimental_PermissionModePicker:Dt,experimental_PluginIcon:Ft,experimental_PluginRpcCallError:$t,experimental_PromptMentionIcon:Ut,experimental_ProviderIcon:Wt,experimental_ProviderModelPicker:Zt,experimental_ShortcutHint:Kt,experimental_SidebarNavigationIcon:qt,experimental_SourceCode:Xt,experimental_THREAD_ACTION_GROUPS:Yt,experimental_THREAD_CONTEXT_SEGMENT_GROUPS:Qt,experimental_THREAD_INFO_ROW_GROUPS:Jt,experimental_THREAD_INFO_SECTION_GROUPS:en,experimental_ThreadActionsContextMenu:tn,experimental_ThreadActionsMenu:nn,experimental_ThreadContextCardRow:rn,experimental_ThreadRowMetadata:on,experimental_ThreadStatusGlyph:an,experimental_ThreadTitleText:sn,experimental_VoiceInputButton:ln,experimental_VoiceInputTextarea:dn,experimental_VoiceRecordingBar:un,experimental_copyToClipboard:cn,experimental_describePromptMention:mn,experimental_getApplicationLinkApprovals:pn,experimental_promptMentionClipboardAttributes:gn,experimental_readPromptMentionClipboard:fn,experimental_revokeApplicationLinkApproval:xn,experimental_saveFile:hn,experimental_useAppPanel:ce,experimental_useArchiveEnvironmentThreads:bn,experimental_useBranches:_n,experimental_useCanOpenFileExternally:vn,experimental_useCheckoutState:Cn,experimental_useCodeTheme:yn,experimental_useComposerCommandSearch:Sn,experimental_useComposerContributions:Rn,experimental_useComposerMentionSearch:En,experimental_useComposerRenderer:Nn,experimental_useExperiment:Tn,experimental_useFixedTabTarget:wn,experimental_usePanelTabs:On,experimental_usePluginId:An,experimental_useProviders:Pn,experimental_useQuestionFormHost:In,experimental_useRpcKeyedQuery:kn,experimental_useRpcMutation:Ln,experimental_useRpcQuery:Bn,experimental_useRpcRefresh:Gn,experimental_useServers:zn,experimental_useSidebarNavigation:Hn,experimental_useSidebarNavigationSplit:Mn,experimental_useSidebarThreadActions:jn,experimental_useSidebarThreadSplit:Vn,experimental_useSidebarThreads:Dn,experimental_useTabVisible:Fn,experimental_useThreadActionRegistrations:$n,experimental_useThreadActions:Un,experimental_useThreadContextKind:Wn,experimental_useThreadTitleDisplayText:Zn,useBbContext:me,useBbNavigate:Kn,useComposer:qn,useComposerView:Xn,useComposers:Yn,useEnvironmentProviders:Qn,useRealtime:Q,useRealtimeConnectionState:J,useRpc:ee,useSdk:Jn,useSettings:er,useSidebarSplitLayout:tr,useSidebarThreadDraft:nr,useSidebarThreadDraftIds:rr,useSidebarThreadRowStatus:or,useSidebarThreadRowStatuses:ar,useSidebarThreadShortcut:ir,experimental_useSidebarThreadPullRequest:sr}=M;var pt=Object.defineProperty,ne=(e,o)=>pt(e,"name",{value:o,configurable:!0});function te(e,o){if(typeof e=="function")return e(o);e!=null&&(e.current=o)}ne(te,"setRef");function pe(...e){return o=>{let i=!1,l=e.map(a=>{let r=te(a,o);return!i&&typeof r=="function"&&(i=!0),r});if(i)return()=>{for(let a=0;a<l.length;a++){let r=l[a];typeof r=="function"?r():te(e[a],null)}}}}ne(pe,"composeRefs");function re(...e){return A(pe(...e),e)}ne(re,"useComposedRefs");var gt=Object.defineProperty,y=(e,o)=>gt(e,"name",{value:o,configurable:!0});function ge(e){let o=T((i,l)=>{let{children:a,...r}=i,d=null,b=!1,v=[];oe(a)&&typeof j=="function"&&(a=j(a._payload)),z.forEach(a,f=>{if(_e(f)){b=!0;let p=f,m="child"in p.props?p.props.child:p.props.children;oe(m)&&typeof j=="function"&&(m=j(m._payload)),d=xt(p,m),v.push(d?.props?.children)}else v.push(f)}),d?d=k(d,void 0,v):!b&&z.count(a)===1&&O(a)&&(d=a);let S=d?be(d):void 0,R=re(l,S);if(!d){if(a||a===0)throw new Error(b?_t(e):bt(e));return a}let g=he(r,d.props??{});return d.type!==X&&(g.ref=l?R:S),k(d,g)});return o.displayName=`${e}.Slot`,o}y(ge,"createSlot");var fe=ge("Slot"),xe=Symbol.for("radix.slottable");function ft(e){let o=y(i=>"child"in i?i.children(i.child):i.children,"Slottable");return o.displayName=`${e}.Slottable`,o.__radixId=xe,o}y(ft,"createSlottable");var xt=y((e,o)=>{if("child"in e.props){let i=e.props.child;return O(i)?k(i,void 0,e.props.children(i.props.children)):null}return O(o)?o:null},"getSlottableElementFromSlottable");function he(e,o){let i={...o};for(let l in o){let a=e[l],r=o[l];/^on[A-Z]/.test(l)?a&&r?i[l]=(...b)=>{let v=r(...b);return a(...b),v}:a&&(i[l]=a):l==="style"?i[l]={...a,...r}:l==="className"&&(i[l]=[a,r].filter(Boolean).join(" "))}return{...e,...i}}y(he,"mergeProps");function be(e){let o=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=o&&"isReactWarning"in o&&o.isReactWarning;return i?e.ref:(o=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=o&&"isReactWarning"in o&&o.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}y(be,"getElementRef");function _e(e){return O(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xe}y(_e,"isSlottable");var ht=Symbol.for("react.lazy");function oe(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===ht&&"_payload"in e&&ve(e._payload)}y(oe,"isLazyComponent");function ve(e){return typeof e=="object"&&e!==null&&"then"in e}y(ve,"isPromiseLike");var bt=y(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),_t=y(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),j=I[" use ".trim().toString()];var ae=globalThis.__bbPluginRuntime;if(ae==null||ae.classVarianceAuthority==null)throw new Error('Cannot load "class-variance-authority": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var V=ae.classVarianceAuthority,mr="default"in V?V.default:V,{cva:Ce,cx:pr}=V;var ie=globalThis.__bbPluginRuntime;if(ie==null||ie.clsx==null)throw new Error('Cannot load "clsx": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var D=ie.clsx,fr="default"in D?D.default:D,{clsx:ye}=D;var se=globalThis.__bbPluginRuntime;if(se==null||se.tailwindMerge==null)throw new Error('Cannot load "tailwind-merge": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var F=se.tailwindMerge,hr="default"in F?F.default:F,{createTailwindMerge:br,extendTailwindMerge:_r,fromTheme:vr,getDefaultConfig:Cr,mergeConfigs:yr,twJoin:Sr,twMerge:Se,validators:Rr}=F;function $(...e){return Se(ye(e))}var U="transition-colors duration-150 hover:duration-0";var le=globalThis.__bbPluginRuntime;if(le==null||le.jsxRuntime==null)throw new Error('Cannot load "react/jsx-runtime": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var W=le.jsxRuntime,Ar="default"in W?W.default:W,{Fragment:Pr,jsx:n,jsxs:s}=W;var vt=Ce(`inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ${U} focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,{variants:{variant:{default:"bg-foreground text-background hover:bg-foreground/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent hover:bg-state-hover hover:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-state-hover hover:text-foreground aria-pressed:bg-state-active aria-pressed:text-foreground aria-pressed:hover:bg-state-active data-[state=open]:bg-state-active data-[state=open]:text-foreground data-[state=open]:hover:bg-state-active",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=T(({className:e,variant:o,size:i,asChild:l=!1,...a},r)=>n(l?fe:"button",{className:$(vt({variant:o,size:i,className:e})),ref:r,...a}));c.displayName="Button";var Re="text-sm max-md:pointer-coarse:text-base";var Ee="h-[28px] w-[28px] rounded-md p-0 max-md:pointer-coarse:h-[36px] max-md:pointer-coarse:w-[36px]",Mr=`${Ee} [&_svg]:size-[16px] max-md:pointer-coarse:[&_svg]:size-[20px]`,jr=`${Ee} [&_svg]:size-[13px] max-md:pointer-coarse:[&_svg]:size-[16px]`;var Ne="h-9 max-md:pointer-coarse:h-10";var Z=T(({className:e,type:o,...i},l)=>n("input",{type:o,autoComplete:"off",className:$(`flex w-full rounded-md border border-input bg-transparent px-3 py-1 ${U} file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,Ne,Re,e),ref:l,...i}));Z.displayName="Input";var Te="goal.changed";function w(e){return e instanceof Error?e.message:"Goal could not be loaded."}function we(e){switch(e){case"active":return"Active Goal";case"paused":return"Paused Goal";case"waiting":return"Waiting for usage reset";case"completed":return"Completed Goal";case"blocked":return"Blocked Goal";case"canceled":return"Canceled Goal"}}function Ct({threadId:e}){let o=ee(),i=J(),l=H(i),[a,r]=h({kind:"loading"}),[d,b]=h(!1),[v,S]=h(null),[R,g]=h(null),[f,p]=h(null),m=A(async()=>{try{let t=await o.call("history",{threadId:e,limit:20,cursor:null});r({kind:"ready",...t}),S(null),p(null)}catch(t){r({kind:"error",message:w(t)})}},[o,e]);P(()=>{r({kind:"loading"}),m()},[m]),P(()=>{let t=l.current;l.current=i,i==="connected"&&t!=="connected"&&m()},[i,m]),Q(Te,t=>{if(typeof t=="object"&&t!==null&&"threadId"in t&&t.threadId===e){if("lifecycle"in t&&t.lifecycle==="deleted"){r({kind:"ready",goals:[],nextCursor:null}),S(null),p(null);return}m()}});async function L(){if(!(a.kind!=="ready"||a.nextCursor===null)){b(!0),p(null);try{let t=await o.call("history",{threadId:e,limit:20,cursor:a.nextCursor});r({kind:"ready",goals:[...a.goals,...t.goals],nextCursor:t.nextCursor})}catch(t){p(w(t))}finally{b(!1)}}}async function x(t){g(t.id),p(null);try{await o.call("delete",{threadId:e,goalId:t.id,expectedRevision:t.revision}),await m()}catch(N){p(w(N))}finally{g(null)}}return a.kind==="loading"?n("div",{className:"text-sm text-muted-foreground",role:"status",children:"Loading Goal history"}):a.kind==="error"?s("div",{className:"space-y-3 text-sm",children:[n("p",{className:"text-destructive",children:a.message}),n(c,{size:"sm",variant:"outline",onClick:()=>{m()},children:"Retry"})]}):s("section",{"aria-label":"Goal history",className:"space-y-4 text-sm",children:[s("header",{children:[n("h2",{className:"font-medium text-foreground",children:"Goal history"}),n("p",{className:"mt-1 text-muted-foreground",children:"Newest first. Current and finished objectives stay with this thread."})]}),a.goals.length===0?n("div",{className:"rounded-lg border border-dashed border-border p-4 text-muted-foreground",children:"No Goals have been recorded for this thread."}):n("ol",{className:"space-y-3",children:a.goals.map(t=>{let N=R===t.id,B=v?.id===t.id;return s("li",{className:"rounded-lg border border-border bg-card p-3",children:[s("div",{className:"flex items-start justify-between gap-3",children:[s("div",{className:"min-w-0",children:[s("div",{className:"flex flex-wrap items-center gap-2",children:[n("span",{className:"font-medium text-foreground",children:we(t.state)}),n("span",{className:"rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground",children:t.finishedAt===null?"Current":"Historical"})]}),n("p",{className:"mt-2 whitespace-pre-wrap text-foreground",children:t.objective}),t.completionSummary!==null?s("div",{className:"mt-3 rounded-md bg-muted/50 p-2 text-sm",children:[n("p",{className:"font-medium text-foreground",children:"Completion summary"}),n("p",{className:"mt-1 whitespace-pre-wrap text-muted-foreground",children:t.completionSummary}),n("p",{className:"mt-2 font-medium text-foreground",children:"Verification evidence"}),n("p",{className:"mt-1 whitespace-pre-wrap text-muted-foreground",children:t.verificationEvidence})]}):null,t.pauseReason!==null?s("div",{className:"mt-3 rounded-md bg-muted/50 p-2 text-sm",children:[n("p",{className:"font-medium text-foreground",children:"Why Goal work paused"}),n("p",{className:"mt-1 whitespace-pre-wrap text-muted-foreground",children:t.pauseReason}),t.usageLimitKind!==null?s("p",{className:"mt-1 text-xs text-muted-foreground",children:["Usage limit: ",t.usageLimitKind,t.usageResetAt===null?" (manual resume required)":` \xB7 resets ${t.usageResetAt}`]}):null,t.noProgressEvidence!==null?s("p",{className:"mt-1 text-xs text-muted-foreground",children:["No-progress count: ",t.noProgressConsecutiveCount,` \xB7 turn ${t.noProgressEvidence.turnId} \xB7 terminal sequence ${t.noProgressEvidence.terminalSeq}`,t.noProgressEvidence.signals.length===0?" \xB7 no qualifying signals":` \xB7 signals ${t.noProgressEvidence.signals.join(", ")}`]}):null]}):null,t.blockageExternalAction!==null?s("div",{className:"mt-3 rounded-md bg-muted/50 p-2 text-sm",children:[n("p",{className:"font-medium text-foreground",children:"External action required"}),n("p",{className:"mt-1 whitespace-pre-wrap text-muted-foreground",children:t.blockageExternalAction}),n("p",{className:"mt-2 font-medium text-foreground",children:"Blockage evidence"}),n("p",{className:"mt-1 whitespace-pre-wrap text-muted-foreground",children:t.blockageEvidence}),s("p",{className:"mt-2 text-xs text-muted-foreground",children:["Same blocker reported for ",t.blockageRepeatedTurns," Goal turns"]})]}):null,s("div",{className:"mt-2 flex flex-wrap gap-x-3 gap-y-1 text-xs text-muted-foreground",children:[n("code",{children:t.id}),s("span",{children:["Revision ",t.revision]}),n("time",{dateTime:t.createdAt,children:t.createdAt})]})]}),B?null:n(c,{size:"sm",variant:"ghost",disabled:R!==null,onClick:()=>{S(t),p(null)},children:"Delete"})]}),B?s("div",{className:"mt-3 flex flex-wrap items-center justify-between gap-2 border-t border-border pt-3",role:"alert",children:[n("span",{className:"text-destructive",children:"Delete this Goal permanently?"}),s("div",{className:"flex gap-1",children:[n(c,{size:"sm",variant:"ghost",disabled:N,onClick:()=>S(null),children:"Keep Goal"}),n(c,{size:"sm",variant:"destructive",disabled:N,onClick:()=>{x(t)},children:N?"Deleting":"Confirm delete"})]})]}):null]},t.id)})}),a.nextCursor!==null?n(c,{size:"sm",variant:"outline",disabled:d,onClick:()=>{L()},children:d?"Loading":"Load older Goals"}):null,f!==null?s("div",{className:"flex items-center justify-between gap-3 text-destructive",children:[n("span",{children:f}),n(c,{size:"sm",variant:"ghost",onClick:()=>{m()},children:"Refresh"})]}):null]})}function yt(){let{threadId:e}=me(),o=ee(),i=ce(),l=J(),a=H(l),[r,d]=h({kind:"loading"}),[b,v]=h(!1),[S,R]=h(!1),[g,f]=h(""),[p,m]=h(null),[L,x]=h(null),t=A(async()=>{if(e===null){d({kind:"error",message:"A Goal needs an existing thread."});return}try{let u=await o.call("status",{threadId:e});d(u.goal===null?{kind:"empty"}:{kind:"current",goal:u.goal}),x(null),R(!1)}catch(u){d({kind:"error",message:w(u)})}},[o,e]);P(()=>{d({kind:"loading"}),t()},[t]),P(()=>{let u=a.current;a.current=l,l==="connected"&&u!=="connected"&&t()},[l,t]),Q(Te,u=>{if(typeof u=="object"&&u!==null&&"threadId"in u&&u.threadId===e){if("lifecycle"in u&&u.lifecycle==="deleted"){d({kind:"empty"}),x(null),R(!1);return}t()}});async function N(u){if(u.preventDefault(),!(e===null||g.trim().length===0)){m("start"),x(null);try{let C=await o.call("start",{threadId:e,objective:g});d({kind:"current",goal:C.goal}),f(""),v(!1)}catch(C){x(w(C))}finally{m(null)}}}async function B(u){if(u.preventDefault(),!(e===null||r.kind!=="current"||g.trim().length===0)){m("edit"),x(null);try{let C=await o.call("edit",{threadId:e,goalId:r.goal.id,expectedRevision:r.goal.revision,objective:g});d({kind:"current",goal:C.goal}),R(!1),f("")}catch(C){x(w(C))}finally{m(null)}}}async function K(u){if(!(e===null||r.kind!=="current")){m(u),x(null);try{let C=await o.call(u,{threadId:e,goalId:r.goal.id,expectedRevision:r.goal.revision});d(u==="cancel"?{kind:"empty"}:{kind:"current",goal:C.goal})}catch(C){x(w(C))}finally{m(null)}}}function de(){i.openTab({tab:{id:"history",context:{kind:"thread"},availability:"action"},title:"Goal history"})||x("Goal history is unavailable in this view.")}let E=p!==null,_="h-7 rounded-md px-2 text-xs";return s("section",{"aria-label":"Goal",className:"w-full max-w-[760px] min-w-0 overflow-hidden rounded-xl border border-border bg-card text-xs shadow-sm",children:[r.kind==="loading"?s("div",{className:"flex min-h-8 items-center gap-2 px-3 text-muted-foreground",children:[n("span",{className:"size-1.5 rounded-full bg-muted-foreground/60"}),"Loading Goal"]}):null,r.kind==="empty"&&!b?s("div",{className:"flex min-h-8 items-center justify-between gap-3 px-3",children:[s("div",{className:"min-w-0",children:[n("span",{className:"font-medium text-foreground",children:"Goal"}),n("span",{className:"ml-2 text-muted-foreground",children:"No unfinished objective"})]}),s("div",{className:"flex shrink-0 items-center gap-1",children:[n(c,{size:"sm",variant:"ghost",className:_,onClick:de,children:"History"}),n(c,{size:"sm",variant:"secondary",className:_,onClick:()=>v(!0),children:"Start Goal"})]})]}):null,r.kind==="empty"&&b?s("form",{className:"flex items-center gap-2 p-2",onSubmit:N,children:[n("label",{className:"sr-only",htmlFor:"goal-objective",children:"Goal objective"}),n(Z,{id:"goal-objective",autoFocus:!0,value:g,onChange:u=>f(u.target.value),placeholder:"What should this thread finish?",className:"h-8"}),n(c,{size:"sm",type:"submit",className:_,disabled:E||g.trim().length===0,children:p==="start"?"Starting":"Start"}),n(c,{size:"sm",type:"button",variant:"ghost",className:_,disabled:E,onClick:()=>{v(!1),f(""),x(null)},children:"Cancel"})]}):null,r.kind==="current"&&S?s("form",{className:"flex items-center gap-2 p-2",onSubmit:B,children:[n("label",{className:"sr-only",htmlFor:"goal-objective-edit",children:"Edit Goal objective"}),n(Z,{id:"goal-objective-edit",autoFocus:!0,value:g,onChange:u=>f(u.target.value),className:"h-8"}),n(c,{size:"sm",type:"submit",className:_,disabled:E||g.trim().length===0,children:p==="edit"?"Saving":"Save"}),n(c,{size:"sm",type:"button",variant:"ghost",className:_,disabled:E,onClick:()=>{R(!1),f(""),x(null)},children:"Cancel"})]}):null,r.kind==="current"&&!S?s("details",{className:"group",children:[s("summary",{className:"flex min-h-8 min-w-0 cursor-pointer list-none items-center gap-2 px-3 [&::-webkit-details-marker]:hidden","aria-label":"Goal details",children:[n("span",{className:`size-2 shrink-0 rounded-full ${r.goal.state==="active"?"bg-success":"bg-muted-foreground"}`}),n("span",{className:"shrink-0 font-medium text-foreground",children:we(r.goal.state)}),n("span",{className:"min-w-0 flex-1 truncate text-muted-foreground",title:r.goal.pauseReason??r.goal.objective,children:r.goal.objective}),n("span",{"aria-hidden":"true",className:"shrink-0 text-muted-foreground transition-transform group-open:rotate-180",children:"\u2304"})]}),s("div",{className:"border-t border-border/50 bg-muted/20",children:[s("p",{className:"whitespace-pre-wrap px-3 py-2.5 text-sm leading-relaxed text-foreground/90",children:[r.goal.objective,r.goal.pauseReason===null?"":` \xB7 ${r.goal.pauseReason}`]}),r.goal.noProgressConsecutiveCount>0?s("p",{className:"px-3 pb-2 text-muted-foreground",children:["No-progress ",r.goal.noProgressConsecutiveCount,"/3"]}):null,s("div",{className:"flex flex-wrap items-center justify-between gap-1 border-t border-border/35 px-2 py-1",children:[n(c,{size:"sm",variant:"ghost",className:_,disabled:E,onClick:de,children:"History"}),s("div",{className:"flex flex-wrap items-center justify-end gap-1",children:[n(c,{size:"sm",variant:"ghost",className:_,"aria-label":"Edit Goal",disabled:E,onClick:()=>{f(r.goal.objective),R(!0),x(null)},children:"Edit"}),r.goal.state==="active"||r.goal.state==="waiting"?n(c,{size:"sm",variant:"ghost",className:_,"aria-label":"Pause Goal",disabled:E,onClick:()=>{K("pause")},children:p==="pause"?"Pausing":"Pause"}):null,r.goal.state==="paused"||r.goal.state==="waiting"?n(c,{size:"sm",variant:"ghost",className:_,"aria-label":"Resume Goal",disabled:E,onClick:()=>{K("resume")},children:p==="resume"?"Resuming":"Resume"}):null,n(c,{size:"sm",variant:"ghost",className:_,"aria-label":"Cancel Goal",disabled:E,onClick:()=>{K("cancel")},children:p==="cancel"?"Canceling":"Cancel"})]})]})]})]}):null,L!==null?s("div",{className:"flex items-center justify-between gap-3 border-t border-border/35 px-3 py-1 text-destructive",children:[n("span",{className:"truncate",children:L}),n(c,{size:"sm",variant:"ghost",onClick:()=>{t()},children:"Refresh"})]}):null,r.kind==="error"?s("div",{className:"flex min-h-8 items-center justify-between gap-3 px-3 text-destructive",children:[n("span",{className:"truncate",children:r.message}),n(c,{size:"sm",variant:"ghost",className:_,onClick:()=>{t()},children:"Retry"})]}):null]})}var Yr=ue(e=>{e.slots.experimental_tab({context:{kind:"thread"},availability:"action",id:"history",title:"Goal history",icon:"History",component:Ct}),e.composer.customize({id:"goal-row",scopes:["thread"],banners:[{id:"current-goal",chrome:"bare",component:yt}]})});export{yt as GoalComposerRow,Ct as GoalHistoryPanel,Yr as default};
@@ -0,0 +1,19 @@
1
+ {
2
+ "sdkMajor": 0,
3
+ "sdkVersion": "0.6.104",
4
+ "artifactFormatVersion": 1,
5
+ "pluginId": "goal",
6
+ "pluginVersion": "0.1.3",
7
+ "builtWith": {
8
+ "bbVersion": "0.48.1",
9
+ "pluginSdkVersion": "0.6.104"
10
+ },
11
+ "runtimeSlots": [
12
+ "classVarianceAuthority",
13
+ "clsx",
14
+ "jsxRuntime",
15
+ "pluginSdkApp",
16
+ "react",
17
+ "tailwindMerge"
18
+ ]
19
+ }
@@ -0,0 +1 @@
1
+ {"type":"module"}