@bigtablet/design-system 4.4.0 → 4.5.0
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.
- package/dist/esm/ui/display/table/index.js +1 -1
- package/dist/esm/ui/display/table/style.css +1 -1
- package/dist/esm/ui/feedback/alert/index.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +46 -5
- package/dist/styles/breakpoints/_index.scss +7 -0
- package/dist/styles/layout/_index.scss +10 -5
- package/dist/vanilla/bigtablet.min.css +1 -1
- package/dist/vanilla/bigtablet.min.js +11 -11
- package/docs/AGENT_GUIDE.md +6 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1873,6 +1873,16 @@ interface TableColumn<T extends object> {
|
|
|
1873
1873
|
align?: "left" | "center" | "right";
|
|
1874
1874
|
/** 정렬 가능한 컬럼 여부 (기본값: false). 클릭 시 `onSortChange` 발화 - 실제 정렬은 소비자가 수행 */
|
|
1875
1875
|
sortable?: boolean;
|
|
1876
|
+
/**
|
|
1877
|
+
* 한 줄로 두고 넘치면 말줄임으로 자른다 (기본값: false). 자동 렌더(문자열 값)면 전체 값을 `title` 로 단다.
|
|
1878
|
+
* 열 폭이 정해져야 잘리므로 `layout="fixed"` + `width` 와 함께 쓴다 - 시각 · IP 처럼 길이가 거의 같은 칸.
|
|
1879
|
+
*/
|
|
1880
|
+
truncate?: boolean;
|
|
1881
|
+
/**
|
|
1882
|
+
* `cards` 화면에서 칸 앞에 붙는 라벨. 없으면 `header` 가 문자열일 때 그 글자를 쓴다 - `header` 가 아이콘 ·
|
|
1883
|
+
* 요소라면 이걸 줘야 카드에서 칸이 무슨 값인지 보인다 (칸 머리는 카드에서 화면 읽기용으로만 남는다).
|
|
1884
|
+
*/
|
|
1885
|
+
cardLabel?: string;
|
|
1876
1886
|
}
|
|
1877
1887
|
/** `selectable` 시 `rowKey` 를 요구하기 위한 판별 유니온 */
|
|
1878
1888
|
type TableSelectionProps<T extends object> = {
|
|
@@ -1909,6 +1919,23 @@ type TableProps<T extends object> = {
|
|
|
1909
1919
|
hoverable?: boolean;
|
|
1910
1920
|
/** thead sticky 고정 (기본값: false) */
|
|
1911
1921
|
stickyHeader?: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* 열 너비 계산 방식 (기본값: "auto").
|
|
1924
|
+
* - `auto`: 브라우저가 내용 길이로 잰다 - 쪽마다 내용이 달라 쪽을 넘기면 열 위치가 바뀐다
|
|
1925
|
+
* - `fixed`: 열의 `width` 를 그대로 쓴다. 너비를 주지 않은 열이 남는 폭을 나눠 가지며 줄바꿈한다.
|
|
1926
|
+
* 목록을 쪽으로 넘기는 기록 표처럼 열 위치가 그대로 있어야 할 때
|
|
1927
|
+
*/
|
|
1928
|
+
layout?: "auto" | "fixed";
|
|
1929
|
+
/**
|
|
1930
|
+
* 표의 최소 폭 (예: "60rem"). 좁은 화면에서 `fixed` 표의 너비 없는 열이 사라질 만큼 눌리지 않게 -
|
|
1931
|
+
* 넘치면 래퍼가 가로로 스크롤한다. `cards` 로 카드가 된 화면에서는 무시한다.
|
|
1932
|
+
*/
|
|
1933
|
+
minWidth?: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* 좁은 화면(compact)에서 행을 카드로 쌓는다 (기본값: false). 칸 머리는 화면 읽기용으로만 남고, 칸마다
|
|
1936
|
+
* 머리 글자(`header` 가 문자열일 때)를 라벨로 붙인다. 칸이 많아 가로로 넘치는 목록용
|
|
1937
|
+
*/
|
|
1938
|
+
cards?: boolean;
|
|
1912
1939
|
/** 스크린 리더용 테이블 레이블 */
|
|
1913
1940
|
ariaLabel?: string;
|
|
1914
1941
|
/** 루트 wrapper에 추가할 className */
|
|
@@ -1956,7 +1983,7 @@ type TableProps<T extends object> = {
|
|
|
1956
1983
|
* @param props 테이블 속성
|
|
1957
1984
|
* @returns 테이블 컴포넌트
|
|
1958
1985
|
*/
|
|
1959
|
-
declare const Table: <T extends object>({ columns, data, keyExtractor, emptyMessage: emptyMessageProp, isLoading, skeletonRows, size, hoverable, stickyHeader, ariaLabel, className, onRowClick, rowClickHint: rowClickHintProp, sort, onSortChange, selectAllAriaLabel: selectAllAriaLabelProp, selectRowAriaLabel: selectRowAriaLabelProp, rowIndexOffset, selectable, rowKey, selectedKeys, onSelectionChange, }: TableProps<T>) => React$1.JSX.Element;
|
|
1986
|
+
declare const Table: <T extends object>({ columns, data, keyExtractor, emptyMessage: emptyMessageProp, isLoading, skeletonRows, size, hoverable, stickyHeader, layout, minWidth, cards, ariaLabel, className, onRowClick, rowClickHint: rowClickHintProp, sort, onSortChange, selectAllAriaLabel: selectAllAriaLabelProp, selectRowAriaLabel: selectRowAriaLabelProp, rowIndexOffset, selectable, rowKey, selectedKeys, onSelectionChange, }: TableProps<T>) => React$1.JSX.Element;
|
|
1960
1987
|
|
|
1961
1988
|
/**
|
|
1962
1989
|
* 목록 화면이 데이터를 받는 모양.
|
|
@@ -2284,19 +2311,33 @@ interface AlertOptions {
|
|
|
2284
2311
|
onConfirm?: () => unknown;
|
|
2285
2312
|
/** 취소 버튼 클릭 시 호출되는 콜백 */
|
|
2286
2313
|
onCancel?: () => void;
|
|
2314
|
+
/**
|
|
2315
|
+
* 확인 버튼 잠금 (기본값: false). 창 안 입력에 따라 바꾸려면 `showAlert` 가 돌려준 핸들의
|
|
2316
|
+
* `update({ confirmDisabled })` 로 - 옵션은 호출 시점에 한 번만 읽힌다. 잠긴 버튼은 포커스를 잃지 않게
|
|
2317
|
+
* `aria-disabled` 로 막고, 클릭 · Enter 로 확인되지 않는다.
|
|
2318
|
+
*/
|
|
2319
|
+
confirmDisabled?: boolean;
|
|
2287
2320
|
/**
|
|
2288
2321
|
* 오버레이 클릭으로 닫기 허용 여부 (기본값: true).
|
|
2289
2322
|
* destructive 확인처럼 실수 닫힘을 막아야 하면 false 로.
|
|
2290
2323
|
*/
|
|
2291
2324
|
closeOnOverlay?: boolean;
|
|
2292
2325
|
}
|
|
2293
|
-
/** `
|
|
2294
|
-
interface
|
|
2326
|
+
/** `showAlert` 가 돌려주는 핸들. 창이 닫혔거나 다른 알림으로 바뀐 뒤의 호출은 무시된다 */
|
|
2327
|
+
interface AlertHandle {
|
|
2328
|
+
/** 열린 알림의 옵션을 바꾼다 - 예: 입력이 비면 `update({ confirmDisabled: true })` */
|
|
2329
|
+
update: (patch: Partial<AlertOptions>) => void;
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* `useConfirm()` 옵션 - 취소 버튼은 항상 있고 결과는 Promise 로 받는다.
|
|
2333
|
+
* `confirmDisabled` 는 없다 - 핸들을 돌려주지 않아 풀 방법이 없다 (필요하면 `showAlert`)
|
|
2334
|
+
*/
|
|
2335
|
+
interface ConfirmOptions extends Omit<AlertOptions, "onConfirm" | "onCancel" | "showCancel" | "confirmDisabled"> {
|
|
2295
2336
|
/** 확인 직후 실행할 작업. Promise 면 끝날 때까지 pending - 성공해야 `true` 로 끝난다 */
|
|
2296
2337
|
onConfirm?: () => unknown;
|
|
2297
2338
|
}
|
|
2298
2339
|
interface AlertContextValue {
|
|
2299
|
-
showAlert: (options: AlertOptions) =>
|
|
2340
|
+
showAlert: (options: AlertOptions) => AlertHandle;
|
|
2300
2341
|
confirm: (options: ConfirmOptions) => Promise<boolean>;
|
|
2301
2342
|
}
|
|
2302
2343
|
/**
|
|
@@ -4219,4 +4260,4 @@ type StackProps<T extends React$1.ElementType = "div"> = PolymorphicProps<T, Sta
|
|
|
4219
4260
|
*/
|
|
4220
4261
|
declare const Stack: <T extends React$1.ElementType = "div">({ direction, gap, align, justify, wrap, as, ref, className, children, style, ...props }: StackProps<T>) => React$1.JSX.Element;
|
|
4221
4262
|
|
|
4222
|
-
export { Accordion, type AccordionItem, type AccordionProps, type AlertActionsAlign, type AlertOptions, AlertProvider, type AlertTone, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeAppearance, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTone, BottomNav, BottomNavItem, type BottomNavItemProps, type BottomNavProps, BottomNavSpacer, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardFooterAlign, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipType, type ClipboardStatus, Combobox, type ComboboxOption, type ComboboxProps, type ComboboxSize, type ConfirmOptions, Container, type ContainerProps, type ContainerSize, CopyButton, type CopyButtonProps, type CropImageSize, type CropOffset, type CropRect, DataView, type DataViewPagination, type DataViewProps, type DataViewQuery, type DataViewSelectionAction, type DataViewToolbar, DateCalendar, type DateCalendarDayInfo, type DateCalendarProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, Divider, type DividerProps, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps, type DropdownSize, type DropdownVariant, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, type ErrorStateVariant, Field, type FieldControl, type FieldProps, FileInput, type FileInputProps, type FileInputVariant, FilterBar, type FilterBarProps, type FilterBarSubmitMode, type FocusTrapOptions, Form, type FormActionsProps, type FormProps, Grid, type GridCols, type GridGap, type GridProps, Hero, type HeroAction, type HeroAlign, type HeroHeight, type HeroOverlay, type HeroProps, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, ImageCropper, type ImageCropperHandle, type ImageCropperProps, type ImeStrategy, InlineAlert, type InlineAlertProps, type InlineAlertTone, LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, type ListboxItem, type LocaleKey, type LocaleMessages, type LocaleName, LocaleProvider, type LocaleProviderProps, type LocaleText, MediaCard, type MediaCardImage, type MediaCardImagePosition, type MediaCardProps, type MediaCardShadow, Menu, type MenuItem, type MenuProps, Modal, type ModalFooterAlign, type ModalProps, NavBar, type NavBarLayout, type NavBarLocaleConfig, type NavBarLocaleOption, type NavBarProps, type NavBarVariant, NavLink, type NavLinkProps, OtpInput, type OtpInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PolymorphicProps, type PolymorphicRef, Popover, type PopoverPlacement, type PopoverProps, Prose, type ProseProps, type ProseSize, Radio, RadioGroup, type RadioGroupContextValue, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RadioProps, type ResolvedTheme, Section, type SectionBg, type SectionProps, type SectionSpacing, SegmentedControl, type SegmentedControlItem, type SegmentedControlProps, type SegmentedControlSize, Sidebar, SidebarItem, type SidebarItemProps, type SidebarMode, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, type StackWrap, Stat, type StatDeltaTone, type StatProps, Stepper, type StepperOrientation, type StepperProps, type StepperStatus, type StepperStep, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableSortDirection, Tabs, type TabsProps, type TabsSize, type TabsVariant, TagInput, type TagInputProps, type TagInputSize, TextField, type TextFieldProps, type TextFieldSize, type TextFieldVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type ThemeMode, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, type ToastAction, type ToastOptions, type ToastPatch, ToastProvider, type ToastProviderProps, type ToastTone, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TopLoading, type TopLoadingProps, type UseClipboardOptions, type UseClipboardResult, type UseListboxPopupArgs, type UseListboxPopupResult, type Weekday, a11y, baseBorderWidth, baseColors, baseTypography, borderWidth, breakpoints, catalogs, cn, colors, controlHeight, copyText, cssVars, elevation, en, iconSize, ko, motion, opacity, radius, skeleton, spacing, typography, useAlert, useClipboard, useConfirm, useFieldControl, useFocusTrap, useListboxPopup, useLocaleName, useLocaleText, useRadioGroupContext, useReducedMotion, useTheme, useToast, zIndex };
|
|
4263
|
+
export { Accordion, type AccordionItem, type AccordionProps, type AlertActionsAlign, type AlertHandle, type AlertOptions, AlertProvider, type AlertTone, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeAppearance, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTone, BottomNav, BottomNavItem, type BottomNavItemProps, type BottomNavProps, BottomNavSpacer, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardFooterAlign, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipType, type ClipboardStatus, Combobox, type ComboboxOption, type ComboboxProps, type ComboboxSize, type ConfirmOptions, Container, type ContainerProps, type ContainerSize, CopyButton, type CopyButtonProps, type CropImageSize, type CropOffset, type CropRect, DataView, type DataViewPagination, type DataViewProps, type DataViewQuery, type DataViewSelectionAction, type DataViewToolbar, DateCalendar, type DateCalendarDayInfo, type DateCalendarProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, Divider, type DividerProps, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps, type DropdownSize, type DropdownVariant, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, type ErrorStateVariant, Field, type FieldControl, type FieldProps, FileInput, type FileInputProps, type FileInputVariant, FilterBar, type FilterBarProps, type FilterBarSubmitMode, type FocusTrapOptions, Form, type FormActionsProps, type FormProps, Grid, type GridCols, type GridGap, type GridProps, Hero, type HeroAction, type HeroAlign, type HeroHeight, type HeroOverlay, type HeroProps, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, ImageCropper, type ImageCropperHandle, type ImageCropperProps, type ImeStrategy, InlineAlert, type InlineAlertProps, type InlineAlertTone, LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, type ListboxItem, type LocaleKey, type LocaleMessages, type LocaleName, LocaleProvider, type LocaleProviderProps, type LocaleText, MediaCard, type MediaCardImage, type MediaCardImagePosition, type MediaCardProps, type MediaCardShadow, Menu, type MenuItem, type MenuProps, Modal, type ModalFooterAlign, type ModalProps, NavBar, type NavBarLayout, type NavBarLocaleConfig, type NavBarLocaleOption, type NavBarProps, type NavBarVariant, NavLink, type NavLinkProps, OtpInput, type OtpInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PolymorphicProps, type PolymorphicRef, Popover, type PopoverPlacement, type PopoverProps, Prose, type ProseProps, type ProseSize, Radio, RadioGroup, type RadioGroupContextValue, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RadioProps, type ResolvedTheme, Section, type SectionBg, type SectionProps, type SectionSpacing, SegmentedControl, type SegmentedControlItem, type SegmentedControlProps, type SegmentedControlSize, Sidebar, SidebarItem, type SidebarItemProps, type SidebarMode, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, type StackWrap, Stat, type StatDeltaTone, type StatProps, Stepper, type StepperOrientation, type StepperProps, type StepperStatus, type StepperStep, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableSortDirection, Tabs, type TabsProps, type TabsSize, type TabsVariant, TagInput, type TagInputProps, type TagInputSize, TextField, type TextFieldProps, type TextFieldSize, type TextFieldVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type ThemeMode, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, type ToastAction, type ToastOptions, type ToastPatch, ToastProvider, type ToastProviderProps, type ToastTone, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TopLoading, type TopLoadingProps, type UseClipboardOptions, type UseClipboardResult, type UseListboxPopupArgs, type UseListboxPopupResult, type Weekday, a11y, baseBorderWidth, baseColors, baseTypography, borderWidth, breakpoints, catalogs, cn, colors, controlHeight, copyText, cssVars, elevation, en, iconSize, ko, motion, opacity, radius, skeleton, spacing, typography, useAlert, useClipboard, useConfirm, useFieldControl, useFocusTrap, useListboxPopup, useLocaleName, useLocaleText, useRadioGroupContext, useReducedMotion, useTheme, useToast, zIndex };
|
|
@@ -30,3 +30,10 @@
|
|
|
30
30
|
@mixin from_medium { @media (min-width: $breakpoint_medium) { @content; } }
|
|
31
31
|
@mixin from_expanded { @media (min-width: $breakpoint_expanded) { @content; } }
|
|
32
32
|
@mixin from_large { @media (min-width: $breakpoint_large) { @content; } }
|
|
33
|
+
|
|
34
|
+
// ── Input capability ─────────────────────────────────────────────────────────
|
|
35
|
+
|
|
36
|
+
// hover 가 가능한 기기에서만 @content 를 건다. 터치 기기는 탭한 뒤에도 :hover 가 남아
|
|
37
|
+
// 탭한 요소에 hover 강조가 붙은 채로 남는다 (#908).
|
|
38
|
+
// 조건은 (hover: hover) 단독 - pointer: fine 까지 걸면 펜·hover 되는 리모컨이 빠진다.
|
|
39
|
+
@mixin hoverable { @media (hover: hover) { @content; } }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "../breakpoints" as breakpoints;
|
|
1
2
|
@use "../colors" as colors;
|
|
2
3
|
@use "../motion" as motion;
|
|
3
4
|
@forward "tokens";
|
|
@@ -59,9 +60,11 @@
|
|
|
59
60
|
@mixin hover_lift($y: -4px, $shadow: 0 12px 24px rgba(0, 0, 0, 0.15)) {
|
|
60
61
|
transition: motion.$transition_lift;
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
@include breakpoints.hoverable {
|
|
64
|
+
&:hover {
|
|
65
|
+
transform: translateY($y);
|
|
66
|
+
box-shadow: $shadow;
|
|
67
|
+
}
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
// WCAG 2.1 SC 2.3.3 - mixin 은 호출 지점을 모르므로 guard 를 body 안에 둔다.
|
|
@@ -75,8 +78,10 @@
|
|
|
75
78
|
@mixin hover_glow($color: rgba(59, 130, 246, 0.4)) {
|
|
76
79
|
transition: box-shadow motion.$duration_slow motion.$easing_enter;
|
|
77
80
|
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
@include breakpoints.hoverable {
|
|
82
|
+
&:hover {
|
|
83
|
+
box-shadow: 0 0 30px $color;
|
|
84
|
+
}
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
// WCAG 2.1 SC 2.3.3 - hover_lift 와 동일하게 mixin body 안에서 guard.
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @license Bigtablet Inc. Open Source License - see LICENSE at the repo root
|
|
6
6
|
* (https://github.com/Bigtablet/.github/blob/main/BIGTABLET_LICENSE.md)
|
|
7
|
-
*/@keyframes skeleton_loading{0%{background-position:100% 0}100%{background-position:0 0}}:root{--bt-elevation-level1: 0 1px 1px -1px rgba(0, 0, 0, 0.20), 0 3px 3px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level2: 0 2px 2px -2px rgba(0, 0, 0, 0.20), 0 6px 6px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level3: 0 3px 3px -3px rgba(0, 0, 0, 0.20), 0 9px 9px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level4: 0 5px 5px -5px rgba(0, 0, 0, 0.20), 0 15px 15px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level5: 0 8px 10px -5px rgba(0, 0, 0, 0.20), 0 20px 20px 0px rgba(0, 0, 0, 0.12);--bt-color-brand-primary: #121212;--bt-color-brand-on-primary: #FFFFFF;--bt-color-brand-primary-container: rgba(0, 0, 0, 0.05);--bt-color-text-heading: #121212;--bt-color-text-body: #666666;--bt-color-text-caption: #6F6F6F;--bt-color-text-brand: #121212;--bt-color-text-inverse: #FFFFFF;--bt-color-text-disabled: rgba(26, 26, 26, 0.38);--bt-color-bg-solid: #FFFFFF;--bt-color-bg-solid-dim: #F4F4F4;--bt-color-bg-additive: rgba(0, 0, 0, 0.05);--bt-color-bg-disabled: rgba(26, 26, 26, 0.12);--bt-color-bg-overlay: rgba(0, 0, 0, 0.50);--bt-color-bg-inverse-surface: #333333;--bt-color-state-hover-on-light: rgba(0, 0, 0, 0.05);--bt-color-state-pressed-on-light: rgba(26, 26, 26, 0.12);--bt-color-state-focus-on-light: rgba(0, 0, 0, 0.08);--bt-color-state-hover-on-dark: rgba(255, 255, 255, 0.05);--bt-color-state-pressed-on-dark: rgba(255, 255, 255, 0.12);--bt-color-state-focus-on-dark: rgba(255, 255, 255, 0.08);--bt-color-border-default: #E5E5E5;--bt-color-border-hover: #B3B3B3;--bt-color-border-subtle: rgba(0, 0, 0, 0.08);--bt-color-border-focus: #121212;--bt-color-border-disabled: #F2F2F2;--bt-color-status-error: #B91C1C;--bt-color-status-success: #047857;--bt-color-status-warning: #B45309;--bt-color-status-info: #1D4ED8;--bt-color-status-error-on-default: #FFFFFF;--bt-color-status-success-on-default: #FFFFFF;--bt-color-status-warning-on-default: #FFFFFF;--bt-color-status-info-on-default: #FFFFFF;--bt-color-status-error-container: #FEE2E2;--bt-color-status-success-container: #DCFCE7;--bt-color-status-warning-container: #FEF3C7;--bt-color-status-info-container: #DBEAFE;--bt-color-status-error-on-container: #B91C1C;--bt-color-status-success-on-container: #047857;--bt-color-status-warning-on-container: #B45309;--bt-color-status-info-on-container: #1D4ED8;--bt-color-status-error-on-surface: #B91C1C;--bt-color-status-success-on-surface: #047857;--bt-color-status-warning-on-surface: #B45309;--bt-color-status-warning-graphic: #D97706;--bt-color-status-info-on-surface: #1D4ED8;--bt-color-accent-subtle: rgba(0, 0, 0, 0.05);--bt-color-accent-muted: rgba(26, 26, 26, 0.12);--bt-color-accent-light: #B3B3B3;--bt-color-accent-default: #121212;--bt-color-accent-strong: #121212;--bt-color-accent-on-surface: #FFFFFF;--bt-color-skeleton-base: #F3F3F3;--bt-color-skeleton-wave: #F0F0F0;--bt-color-skeleton-highlight: #FAFAFA;--bt-spacing-0: 0px;--bt-spacing-1: 1px;--bt-spacing-2: 2px;--bt-spacing-3: 3px;--bt-spacing-4: 4px;--bt-spacing-6: 6px;--bt-spacing-8: 8px;--bt-spacing-10: 10px;--bt-spacing-12: 12px;--bt-spacing-16: 16px;--bt-spacing-20: 20px;--bt-spacing-24: 24px;--bt-spacing-32: 32px;--bt-spacing-40: 40px;--bt-spacing-48: 48px;--bt-spacing-64: 64px;--bt-spacing-96: 96px;--bt-spacing-128: 128px;--bt-radius-none: 0px;--bt-radius-xs: 4px;--bt-radius-sm: 6px;--bt-radius-md: 8px;--bt-radius-lg: 12px;--bt-radius-xl: 16px;--bt-radius-full: 9999px;--bt-font-family: "Pretendard", sans-serif;--bt-z-content: 10;--bt-z-chrome: 100;--bt-z-notification: 200;--bt-z-loading: 500;--bt-z-popup: 1000;--bt-z-app-chrome: 150;--bt-focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #121212;--bt-focus-ring-error: 0 0 0 2px #FFFFFF, 0 0 0 4px #B91C1C;--bt-focus-ring-success: 0 0 0 2px #FFFFFF, 0 0 0 4px #047857;--bt-bottom-nav-inset: 0px;--bt-sidebar-inset: 0px;--bt-bottom-inset-app: 0px}body{--bt-bottom-inset: calc( var(--bt-bottom-nav-inset, 0px) + var(--bt-sidebar-inset, 0px) + var(--bt-bottom-inset-app, 0px) )}html{scroll-padding-top:var(--bt-top-inset, 0px)}@media(forced-colors: active){:focus-visible{outline:2px solid Highlight !important;outline-offset:2px}}:root{--bt-scrollbar-width: 0px}[data-theme=dark]{color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bt-elevation-level1: 0 1px 2px 0px rgba(0, 0, 0, 0.45), 0 3px 6px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level2: 0 2px 4px 0px rgba(0, 0, 0, 0.45), 0 6px 12px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level3: 0 3px 6px 0px rgba(0, 0, 0, 0.50), 0 9px 18px 0px rgba(0, 0, 0, 0.35);--bt-elevation-level4: 0 5px 10px 0px rgba(0, 0, 0, 0.55), 0 15px 30px 0px rgba(0, 0, 0, 0.40);--bt-elevation-level5: 0 8px 16px 0px rgba(0, 0, 0, 0.60), 0 20px 40px 0px rgba(0, 0, 0, 0.45);--bt-color-brand-primary-container: rgba(255, 255, 255, 0.08);--bt-color-text-heading: rgba(255, 255, 255, 0.95);--bt-color-text-body: #B3B3B3;--bt-color-text-caption: #808080;--bt-color-text-inverse: #121212;--bt-color-text-disabled: rgba(255, 255, 255, 0.38);--bt-color-bg-solid: #0A0A0A;--bt-color-bg-solid-dim: #141414;--bt-color-bg-additive: rgba(255, 255, 255, 0.05);--bt-color-bg-disabled: rgba(255, 255, 255, 0.12);--bt-color-bg-overlay: rgba(0, 0, 0, 0.7);--bt-color-bg-inverse-surface: #F4F4F4;--bt-color-state-hover-on-light: rgba(255, 255, 255, 0.08);--bt-color-state-pressed-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-focus-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-hover-on-dark: rgba(0, 0, 0, 0.08);--bt-color-state-pressed-on-dark: rgba(26, 26, 26, 0.12);--bt-color-state-focus-on-dark: rgba(26, 26, 26, 0.12);--bt-color-border-default: #333333;--bt-color-border-hover: #777777;--bt-color-border-subtle: rgba(255, 255, 255, 0.12);--bt-color-border-focus: #FFFFFF;--bt-color-border-disabled: #141414;--bt-color-status-error-container: rgba(127, 29, 29, 0.35);--bt-color-status-success-container: rgba(6, 78, 59, 0.35);--bt-color-status-warning-container: rgba(120, 53, 15, 0.35);--bt-color-status-info-container: rgba(30, 58, 138, 0.35);--bt-color-status-error-on-container: #FCA5A5;--bt-color-status-success-on-container: #86EFAC;--bt-color-status-warning-on-container: #FCD34D;--bt-color-status-info-on-container: #93C5FD;--bt-color-status-error-on-surface: #F87171;--bt-color-status-success-on-surface: #4ADE80;--bt-color-status-warning-on-surface: #FBBF24;--bt-color-status-warning-graphic: #FBBF24;--bt-color-status-info-on-surface: #60A5FA;--bt-color-accent-subtle: rgba(255, 255, 255, 0.08);--bt-color-accent-muted: rgba(255, 255, 255, 0.12);--bt-color-accent-light: #999999;--bt-color-accent-default: #FFFFFF;--bt-color-accent-strong: #FFFFFF;--bt-color-accent-on-surface: #121212;--bt-color-skeleton-base: #333333;--bt-color-skeleton-wave: #333333;--bt-color-skeleton-highlight: #666666;--bt-focus-ring: 0 0 0 2px #0A0A0A, 0 0 0 4px #FFFFFF;--bt-focus-ring-error: 0 0 0 2px #0A0A0A, 0 0 0 4px #F87171;--bt-focus-ring-success: 0 0 0 2px #0A0A0A, 0 0 0 4px #4ADE80}@media(prefers-color-scheme: dark){:root:not([data-theme]){color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bt-elevation-level1: 0 1px 2px 0px rgba(0, 0, 0, 0.45), 0 3px 6px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level2: 0 2px 4px 0px rgba(0, 0, 0, 0.45), 0 6px 12px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level3: 0 3px 6px 0px rgba(0, 0, 0, 0.50), 0 9px 18px 0px rgba(0, 0, 0, 0.35);--bt-elevation-level4: 0 5px 10px 0px rgba(0, 0, 0, 0.55), 0 15px 30px 0px rgba(0, 0, 0, 0.40);--bt-elevation-level5: 0 8px 16px 0px rgba(0, 0, 0, 0.60), 0 20px 40px 0px rgba(0, 0, 0, 0.45);--bt-color-brand-primary-container: rgba(255, 255, 255, 0.08);--bt-color-text-heading: rgba(255, 255, 255, 0.95);--bt-color-text-body: #B3B3B3;--bt-color-text-caption: #808080;--bt-color-text-inverse: #121212;--bt-color-text-disabled: rgba(255, 255, 255, 0.38);--bt-color-bg-solid: #0A0A0A;--bt-color-bg-solid-dim: #141414;--bt-color-bg-additive: rgba(255, 255, 255, 0.05);--bt-color-bg-disabled: rgba(255, 255, 255, 0.12);--bt-color-bg-overlay: rgba(0, 0, 0, 0.7);--bt-color-bg-inverse-surface: #F4F4F4;--bt-color-state-hover-on-light: rgba(255, 255, 255, 0.08);--bt-color-state-pressed-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-focus-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-hover-on-dark: rgba(0, 0, 0, 0.08);--bt-color-state-pressed-on-dark: rgba(26, 26, 26, 0.12);--bt-color-state-focus-on-dark: rgba(26, 26, 26, 0.12);--bt-color-border-default: #333333;--bt-color-border-hover: #777777;--bt-color-border-subtle: rgba(255, 255, 255, 0.12);--bt-color-border-focus: #FFFFFF;--bt-color-border-disabled: #141414;--bt-color-status-error-container: rgba(127, 29, 29, 0.35);--bt-color-status-success-container: rgba(6, 78, 59, 0.35);--bt-color-status-warning-container: rgba(120, 53, 15, 0.35);--bt-color-status-info-container: rgba(30, 58, 138, 0.35);--bt-color-status-error-on-container: #FCA5A5;--bt-color-status-success-on-container: #86EFAC;--bt-color-status-warning-on-container: #FCD34D;--bt-color-status-info-on-container: #93C5FD;--bt-color-status-error-on-surface: #F87171;--bt-color-status-success-on-surface: #4ADE80;--bt-color-status-warning-on-surface: #FBBF24;--bt-color-status-warning-graphic: #FBBF24;--bt-color-status-info-on-surface: #60A5FA;--bt-color-accent-subtle: rgba(255, 255, 255, 0.08);--bt-color-accent-muted: rgba(255, 255, 255, 0.12);--bt-color-accent-light: #999999;--bt-color-accent-default: #FFFFFF;--bt-color-accent-strong: #FFFFFF;--bt-color-accent-on-surface: #121212;--bt-color-skeleton-base: #333333;--bt-color-skeleton-wave: #333333;--bt-color-skeleton-highlight: #666666;--bt-focus-ring: 0 0 0 2px #0A0A0A, 0 0 0 4px #FFFFFF;--bt-focus-ring-error: 0 0 0 2px #0A0A0A, 0 0 0 4px #F87171;--bt-focus-ring-success: 0 0 0 2px #0A0A0A, 0 0 0 4px #4ADE80}}:root{--bt-color-primary: var(--bt-color-brand-primary);--bt-color-on-primary: var(--bt-color-brand-on-primary);--bt-color-accent: var(--bt-color-accent-default);--bt-color-primary-container: var(--bt-color-brand-primary-container);--bt-color-background: var(--bt-color-bg-solid);--bt-color-background-dim: var(--bt-color-bg-solid-dim);--bt-color-background-overlay: var(--bt-color-bg-overlay);--bt-color-border: var(--bt-color-border-default);--bt-color-text-primary: var(--bt-color-text-heading);--bt-color-text-secondary: var(--bt-color-text-body);--bt-color-text-tertiary: var(--bt-color-text-caption);--bt-color-background-secondary: var(--bt-color-background-dim);--bt-color-border-light: var(--bt-color-border-hover);--bt-color-hover: var(--bt-color-state-hover-on-light);--bt-color-hover-on-dark: var(--bt-color-state-hover-on-dark);--bt-color-pressed: var(--bt-color-state-pressed-on-light);--bt-color-primary-hover: #333333;--bt-color-overlay: var(--bt-color-bg-overlay);--bt-color-success: var(--bt-color-status-success);--bt-color-error: var(--bt-color-status-error);--bt-color-error-text: var(--bt-color-status-error-on-surface);--bt-color-success-text: var(--bt-color-status-success-on-surface);--bt-color-warning-text: var(--bt-color-status-warning-on-surface);--bt-color-info-text: var(--bt-color-status-info-on-surface);--bt-color-warning: var(--bt-color-status-warning);--bt-color-info: var(--bt-color-status-info);--bt-spacing-xs: var(--bt-spacing-4);--bt-spacing-sm: var(--bt-spacing-8);--bt-spacing-md: var(--bt-spacing-12);--bt-spacing-lg: var(--bt-spacing-16);--bt-spacing-xl: var(--bt-spacing-20);--bt-spacing-2xl: var(--bt-spacing-24);--bt-spacing-3xl: var(--bt-spacing-32);--bt-font-size-12: 12px;--bt-font-size-14: 14px;--bt-font-size-15: 15px;--bt-font-size-16: 16px;--bt-font-size-18: 18px;--bt-font-size-20: 20px;--bt-font-weight-regular: 400;--bt-font-weight-medium: 500;--bt-font-weight-semibold: 600;--bt-line-height-20: 20px;--bt-line-height-24: 24px;--bt-font-size-sm: var(--bt-font-size-14);--bt-font-size-base: var(--bt-font-size-15);--bt-font-size-md: var(--bt-font-size-16);--bt-font-size-lg: var(--bt-font-size-18);--bt-font-size-xl: var(--bt-font-size-20);--bt-line-height-normal: 1.5;--bt-elevation-1: var(--bt-elevation-level1);--bt-elevation-2: var(--bt-elevation-level2);--bt-elevation-3: var(--bt-elevation-level3);--bt-elevation-4: var(--bt-elevation-level4);--bt-elevation-5: var(--bt-elevation-level5);--bt-transition-fast: 0.1s ease-in-out;--bt-transition-base: 0.2s ease-in-out;--bt-transition-slow: 0.3s ease-in-out;--bt-z-modal: var(--bt-z-chrome);--bt-z-toast: var(--bt-z-notification)}.bt-button{display:inline-flex;align-items:center;justify-content:center;overflow-wrap:anywhere;word-break:keep-all;gap:var(--bt-spacing-sm);border-radius:var(--bt-radius-full);border:none;cursor:pointer;font-family:var(--bt-font-family);font-weight:var(--bt-font-weight-medium);transition:background var(--bt-transition-base),color var(--bt-transition-base),opacity var(--bt-transition-base),box-shadow var(--bt-transition-base),transform var(--bt-transition-base)}.bt-button:disabled{cursor:not-allowed;opacity:.6}.bt-button:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-button--sm{padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-size:var(--bt-font-size-sm)}.bt-button--md{padding:var(--bt-spacing-md) var(--bt-spacing-xl);font-size:var(--bt-font-size-base)}.bt-button--lg{padding:var(--bt-spacing-lg) var(--bt-spacing-2xl);font-size:var(--bt-font-size-md)}.bt-button--xl{padding:var(--bt-spacing-xl) var(--bt-spacing-3xl);font-size:var(--bt-font-size-lg)}.bt-button--filled{background:var(--bt-color-accent);color:var(--bt-color-accent-on-surface)}.bt-button--filled:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-accent) 88%, var(--bt-color-accent-on-surface))}.bt-button--filled:active:not(:disabled){transform:scale(0.98)}.bt-button--tonal{background:var(--bt-color-primary-container);color:var(--bt-color-text-primary)}.bt-button--tonal:hover:not(:disabled){background-image:linear-gradient(var(--bt-color-hover), var(--bt-color-hover))}.bt-button--tonal:active:not(:disabled){background-image:linear-gradient(var(--bt-color-pressed), var(--bt-color-pressed));transform:scale(0.98)}.bt-button--outline{background:rgba(0,0,0,0);border:1px solid var(--bt-color-border);color:var(--bt-color-text-primary)}.bt-button--outline:hover:not(:disabled){background:var(--bt-color-background-secondary)}.bt-button--outline:active:not(:disabled){transform:scale(0.98)}.bt-button--text{background:rgba(0,0,0,0);color:var(--bt-color-text-primary)}.bt-button--text:hover:not(:disabled){background:var(--bt-color-hover)}.bt-button--text:active:not(:disabled){transform:scale(0.96)}.bt-button--danger{background:var(--bt-color-error);color:var(--bt-color-on-primary)}.bt-button--danger:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 88%, #000)}.bt-button--danger:active:not(:disabled){transform:scale(0.98)}.bt-button--radius-none{border-radius:var(--bt-radius-none)}.bt-button--radius-xs{border-radius:var(--bt-radius-xs)}.bt-button--radius-sm{border-radius:var(--bt-radius-sm)}.bt-button--radius-md{border-radius:var(--bt-radius-md)}.bt-button--radius-lg{border-radius:var(--bt-radius-lg)}.bt-button--radius-xl{border-radius:var(--bt-radius-xl)}.bt-button--radius-full{border-radius:var(--bt-radius-full)}.bt-button--full-width{width:100%}.bt-button--danger.bt-button--outline{background:rgba(0,0,0,0);border-color:var(--bt-color-error);color:var(--bt-color-error-text)}.bt-button--danger.bt-button--outline:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 8%, transparent)}.bt-button--danger.bt-button--tonal{background:color-mix(in srgb, var(--bt-color-error) 12%, transparent);color:var(--bt-color-error-text)}.bt-button--danger.bt-button--tonal:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 18%, transparent)}.bt-button--danger.bt-button--text{background:rgba(0,0,0,0);color:var(--bt-color-error-text)}.bt-button--danger.bt-button--text:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 8%, transparent)}.bt-text-field{display:flex;flex-direction:column}.bt-text-field--full-width{width:100%}.bt-text-field__label{margin-bottom:var(--bt-spacing-xs);color:var(--bt-color-text-primary);font-size:var(--bt-font-size-sm);font-weight:var(--bt-font-weight-medium);line-height:var(--bt-line-height-normal)}.bt-text-field__wrap{position:relative;display:inline-flex;width:100%;align-items:center}.bt-text-field__input{width:100%;border-radius:var(--bt-radius-md);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary);background:var(--bt-color-background);transition:border-color var(--bt-transition-base),box-shadow var(--bt-transition-base),background var(--bt-transition-base)}.bt-text-field__input::placeholder{color:var(--bt-color-text-tertiary)}.bt-text-field__input:disabled{cursor:not-allowed;background:var(--bt-color-background-secondary);color:var(--bt-color-text-tertiary);opacity:.7}.bt-text-field__input--outline{border:1px solid var(--bt-color-border)}.bt-text-field__input--outline:hover:not(:disabled){border-color:var(--bt-color-border-light)}.bt-text-field__input--outline:focus-visible{outline:none;border-color:var(--bt-color-accent);box-shadow:var(--bt-focus-ring)}.bt-text-field__input--filled{background:var(--bt-color-background-secondary);border:1px solid rgba(0,0,0,0)}.bt-text-field__input--filled:focus-visible{outline:none;border-color:var(--bt-color-accent);background:var(--bt-color-background);box-shadow:var(--bt-focus-ring)}.bt-text-field__input--sm{padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-size:var(--bt-font-size-sm)}.bt-text-field__input--md{padding:var(--bt-spacing-md) var(--bt-spacing-xl);font-size:var(--bt-font-size-base)}.bt-text-field__input--lg{padding:var(--bt-spacing-lg) var(--bt-spacing-2xl);font-size:var(--bt-font-size-md)}.bt-text-field__input--error{border-color:var(--bt-color-error) !important}.bt-text-field__input--error:focus-visible{box-shadow:var(--bt-focus-ring-error)}.bt-text-field__input--success{border-color:var(--bt-color-success) !important}.bt-text-field__input--success:focus-visible{box-shadow:var(--bt-focus-ring-success)}.bt-text-field__input--identifier{font-feature-settings:"cv05" 1,"cv08" 1;font-variant-numeric:slashed-zero}.bt-text-field__helper{margin-top:var(--bt-spacing-xs);font-size:var(--bt-font-size-sm);color:var(--bt-color-text-secondary)}.bt-text-field__helper--error{color:var(--bt-color-error-text)}.bt-text-field__helper--success{color:var(--bt-color-success-text)}.bt-text-field__icon{position:absolute;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;color:var(--bt-color-text-secondary)}.bt-text-field__icon--left{left:var(--bt-spacing-md)}.bt-text-field__icon--right{right:var(--bt-spacing-md)}.bt-checkbox{display:inline-flex;align-items:center;gap:var(--bt-spacing-sm);cursor:pointer;user-select:none;position:relative}.bt-checkbox__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-checkbox__box{width:1.125rem;height:1.125rem;box-sizing:border-box;border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-sm);background:var(--bt-color-background);transition:background var(--bt-transition-base),border-color var(--bt-transition-base),box-shadow var(--bt-transition-base);display:inline-block;position:relative}.bt-checkbox__label{font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary)}.bt-checkbox--sm .bt-checkbox__box{width:1rem;height:1rem}.bt-checkbox--sm .bt-checkbox__label{font-size:var(--bt-font-size-sm)}.bt-checkbox--lg .bt-checkbox__box{width:1.25rem;height:1.25rem}.bt-checkbox--lg .bt-checkbox__label{font-size:var(--bt-font-size-md)}.bt-checkbox__input:focus-visible+.bt-checkbox__box{box-shadow:var(--bt-focus-ring);border-color:var(--bt-color-accent)}.bt-checkbox__input:disabled+.bt-checkbox__box,.bt-checkbox__input:disabled~.bt-checkbox__label{opacity:.6;cursor:not-allowed}.bt-checkbox__input:checked+.bt-checkbox__box{background:var(--bt-color-accent);border-color:var(--bt-color-accent)}.bt-checkbox__input:checked+.bt-checkbox__box::after{content:"";position:absolute;left:50%;top:50%;width:.28rem;height:.55rem;border:2px solid var(--bt-color-accent-on-surface);border-top:0;border-left:0;transform:translate(-50%, -58%) rotate(45deg)}.bt-radio{position:relative;display:inline-flex;align-items:center;gap:var(--bt-spacing-sm);cursor:pointer;user-select:none}.bt-radio__input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;margin:0}.bt-radio__dot{width:1.125rem;height:1.125rem;box-sizing:border-box;border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-full);background:var(--bt-color-background);transition:background var(--bt-transition-base),border-color var(--bt-transition-base),box-shadow var(--bt-transition-base);position:relative;display:inline-block}.bt-radio__label{font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary)}.bt-radio--sm .bt-radio__dot{width:1rem;height:1rem}.bt-radio--sm .bt-radio__label{font-size:var(--bt-font-size-sm)}.bt-radio--lg .bt-radio__dot{width:1.25rem;height:1.25rem}.bt-radio--lg .bt-radio__label{font-size:var(--bt-font-size-md)}.bt-radio__input:focus-visible+.bt-radio__dot{box-shadow:var(--bt-focus-ring);border-color:var(--bt-color-accent)}.bt-radio__input:checked+.bt-radio__dot{border-color:var(--bt-color-accent);border-width:2px}.bt-radio__input:checked+.bt-radio__dot::after{content:"";position:absolute;left:50%;top:50%;width:60%;height:60%;transform:translate(-50%, -50%);background:var(--bt-color-accent);border-radius:9999px}.bt-radio__input:disabled+.bt-radio__dot,.bt-radio__input:disabled~.bt-radio__label{opacity:.6;cursor:not-allowed}.bt-toggle{position:relative;display:inline-flex;align-items:center;width:40px;height:24px;padding:2px;border-radius:var(--bt-radius-full);background:var(--bt-color-border-light);transition:background var(--bt-transition-base);cursor:pointer;border:none}.bt-toggle:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-toggle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:32px}@media(max-width: 599px){.bt-toggle::after{height:40px}}.bt-toggle__thumb{width:12px;height:12px;background:var(--bt-color-background);border-radius:var(--bt-radius-full);transition:transform var(--bt-transition-base),width var(--bt-transition-base),height var(--bt-transition-base);transform:translateX(0)}.bt-toggle--on{background:var(--bt-color-accent)}.bt-toggle--on .bt-toggle__thumb{width:20px;height:20px;background:var(--bt-color-accent-on-surface);transform:translateX(16px)}.bt-toggle--sm{width:40px;height:24px}.bt-toggle--md{width:48px;height:28px}.bt-toggle--md .bt-toggle__thumb{width:16px;height:16px}.bt-toggle--md.bt-toggle--on .bt-toggle__thumb{width:24px;height:24px;transform:translateX(20px)}.bt-toggle:disabled{cursor:not-allowed;background:#b3b3b3}.bt-toggle:disabled .bt-toggle__thumb{background:var(--bt-color-accent-on-surface)}.bt-dropdown{position:relative;display:inline-flex;flex-direction:column;width:100%;gap:var(--bt-spacing-xs);font-family:var(--bt-font-family)}.bt-dropdown__label{font-size:var(--bt-font-size-sm);font-weight:var(--bt-font-weight-medium);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary)}.bt-dropdown__control{width:100%;display:inline-flex;align-items:center;justify-content:space-between;gap:var(--bt-spacing-sm);cursor:pointer;color:var(--bt-color-text-primary);background:var(--bt-color-background);border-radius:var(--bt-radius-md);transition:border-color var(--bt-transition-base),box-shadow var(--bt-transition-base),background var(--bt-transition-base);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);border:none;text-align:left}.bt-dropdown__control:focus-visible,.bt-dropdown__control.is-open:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-dropdown__control:disabled,.bt-dropdown__control.is-disabled{cursor:not-allowed;opacity:.7;background:var(--bt-color-background-secondary);color:var(--bt-color-text-tertiary)}.bt-dropdown__control--outline{border:1px solid var(--bt-color-border)}.bt-dropdown__control--outline:hover:not(.is-disabled){border-color:var(--bt-color-border-light)}.bt-dropdown__control--outline.is-open{border-color:var(--bt-color-accent);box-shadow:0 0 0 3px var(--bt-color-border-light)}.bt-dropdown__control--filled{background:var(--bt-color-background-secondary);border:1px solid rgba(0,0,0,0)}.bt-dropdown__control--filled.is-open{background:var(--bt-color-background);border-color:var(--bt-color-accent);box-shadow:0 0 0 3px var(--bt-color-border-light)}.bt-dropdown__control--sm{padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-size:var(--bt-font-size-sm)}.bt-dropdown__control--md{padding:var(--bt-spacing-md) var(--bt-spacing-xl);font-size:var(--bt-font-size-base)}.bt-dropdown__control--lg{padding:var(--bt-spacing-lg) var(--bt-spacing-2xl);font-size:var(--bt-font-size-md)}.bt-dropdown__value{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bt-dropdown__placeholder{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--bt-color-text-tertiary)}.bt-dropdown__icon{display:inline-flex;align-items:center;justify-content:center;color:var(--bt-color-text-secondary);transition:transform var(--bt-transition-base)}.bt-dropdown__icon.is-open{transform:rotate(180deg)}.bt-dropdown__list{display:none;position:fixed;z-index:var(--bt-z-popup);box-sizing:border-box;width:max-content;background:var(--bt-color-background);border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-md);box-shadow:var(--bt-elevation-2);max-height:18rem;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--bt-color-border-light) rgba(0,0,0,0);padding:var(--bt-spacing-xs) 0;list-style:none;margin:0}.bt-dropdown__list:has(>.bt-dropdown__options){max-height:none;overflow:hidden;padding:0}.bt-dropdown__search{contain:inline-size;display:flex;align-items:center;gap:var(--bt-spacing-sm);padding:var(--bt-spacing-sm) var(--bt-spacing-md);border-bottom:1px solid var(--bt-color-border)}.bt-dropdown__search-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--bt-color-text-secondary)}.bt-dropdown__search-input{flex:1 1 auto;min-width:0;border:none;outline:none;background:rgba(0,0,0,0);color:var(--bt-color-text-primary);border-radius:var(--bt-radius-sm);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-normal);transition:box-shadow var(--bt-transition-fast)}.bt-dropdown__search-input::placeholder{color:var(--bt-color-text-tertiary)}.bt-dropdown__search-input:focus-visible{box-shadow:var(--bt-focus-ring)}.bt-dropdown__options{max-height:18rem;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--bt-color-border-light) rgba(0,0,0,0);padding:var(--bt-spacing-xs) 0;margin:0;list-style:none}.bt-dropdown__empty{padding:var(--bt-spacing-md) var(--bt-spacing-lg);color:var(--bt-color-text-tertiary);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-normal);text-align:center;list-style:none}.bt-dropdown__option{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:var(--bt-spacing-sm);min-height:40px;padding:var(--bt-spacing-sm) var(--bt-spacing-md);cursor:pointer;color:var(--bt-color-text-primary);background:rgba(0,0,0,0);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-20)}.bt-dropdown__option[hidden]{display:none}.bt-dropdown__option:hover,.bt-dropdown__option.is-active{background:var(--bt-color-background-secondary)}.bt-dropdown__option.is-selected{font-weight:var(--bt-font-weight-medium)}.bt-dropdown__option.is-disabled{cursor:not-allowed;color:var(--bt-color-text-tertiary)}.bt-dropdown__option-content{flex:1 1 auto;min-width:0}.bt-dropdown__option-check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;color:var(--bt-color-accent)}.bt-dropdown__option-check svg{opacity:0;transition:opacity var(--bt-transition-fast)}.bt-dropdown__option.is-selected .bt-dropdown__option-check svg{opacity:1}.bt-modal{position:fixed;top:0;right:0;bottom:0;left:0;padding-right:var(--bt-scrollbar-width, 0px);display:none;place-items:center;background:var(--bt-color-overlay);z-index:var(--bt-z-modal)}.bt-modal.is-open{display:grid;grid-template-columns:minmax(0, 1fr)}.bt-modal__panel{position:relative;background:var(--bt-color-background);border-radius:var(--bt-radius-lg);box-shadow:var(--bt-elevation-3);max-width:calc(100% - 32px);overflow:hidden}.bt-modal__header{padding:var(--bt-spacing-lg);padding-right:calc(var(--bt-spacing-lg) + 32px);border-bottom:1px solid var(--bt-color-border);color:var(--bt-color-text-primary);font-size:var(--bt-font-size-xl);font-weight:var(--bt-font-weight-semibold);line-height:1.3}.bt-modal__close{position:absolute;top:var(--bt-spacing-md);right:var(--bt-spacing-md);width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:none;background:rgba(0,0,0,0);color:var(--bt-color-text-tertiary);border-radius:var(--bt-radius-md);cursor:pointer;transition:background var(--bt-transition-fast),color var(--bt-transition-fast)}.bt-modal__close:hover{background:var(--bt-color-hover);color:var(--bt-color-text-primary)}.bt-modal__close:focus-visible{outline:none;box-shadow:var(--bt-focus-ring)}.bt-modal__body{padding:var(--bt-spacing-lg)}.bt-modal__footer{padding:var(--bt-spacing-lg);border-top:1px solid var(--bt-color-border);display:flex;justify-content:flex-end;gap:var(--bt-spacing-sm)}@keyframes bt-alert-fade-in{from{opacity:0}to{opacity:1}}@keyframes bt-alert-slide-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.bt-alert__overlay{position:fixed;top:0;right:0;bottom:0;left:0;padding-right:var(--bt-scrollbar-width, 0px);background:var(--bt-color-overlay);display:none;align-items:center;justify-content:center;z-index:var(--bt-z-popup);animation:bt-alert-fade-in var(--bt-transition-base)}.bt-alert__overlay.is-open{display:flex}.bt-alert__modal{background:var(--bt-color-background);border-radius:var(--bt-radius-lg);min-width:320px;max-width:480px;box-shadow:var(--bt-elevation-4);animation:bt-alert-slide-up var(--bt-transition-slow);overflow:hidden}.bt-alert__title{font-size:var(--bt-font-size-lg);font-weight:var(--bt-font-weight-semibold);line-height:var(--bt-line-height-normal);color:var(--bt-color-info-text);padding:var(--bt-spacing-md) var(--bt-spacing-xl) var(--bt-spacing-xs)}.bt-alert__message{font-size:var(--bt-font-size-base);color:var(--bt-color-text-secondary);padding:var(--bt-spacing-xl);line-height:1.75}.bt-alert__actions{display:flex;gap:var(--bt-spacing-sm);align-items:center;padding:0 var(--bt-spacing-xl) var(--bt-spacing-xl);justify-content:flex-end}.bt-alert--info .bt-alert__title{color:var(--bt-color-info-text)}.bt-alert--success .bt-alert__title{color:var(--bt-color-success-text)}.bt-alert--warning .bt-alert__title{color:var(--bt-color-warning-text)}.bt-alert--error .bt-alert__title{color:var(--bt-color-error-text)}.bt-card{background:var(--bt-color-background);border-radius:var(--bt-radius-lg);box-shadow:var(--bt-elevation-1);padding:var(--bt-spacing-lg);transition:transform var(--bt-transition-base),box-shadow var(--bt-transition-base)}.bt-card--bordered{border:1px solid var(--bt-color-border)}.bt-card--shadow-none{box-shadow:none}.bt-card--shadow-sm{box-shadow:var(--bt-elevation-1)}.bt-card--shadow-md{box-shadow:var(--bt-elevation-2)}.bt-card--shadow-lg{box-shadow:var(--bt-elevation-3)}.bt-card--p-none{padding:0}.bt-card--p-sm{padding:var(--bt-spacing-sm)}.bt-card--p-md{padding:var(--bt-spacing-lg)}.bt-card--p-lg{padding:var(--bt-spacing-2xl)}.bt-card--accent{background:var(--bt-color-accent);color:var(--bt-color-accent-on-surface)}.bt-card--accent .bt-card__title{color:var(--bt-color-accent-on-surface)}.bt-card--accent .bt-card__footer{border-top-color:var(--bt-color-hover-on-dark)}.bt-card--outline{background:rgba(0,0,0,0);border:1px solid var(--bt-color-border);box-shadow:none}.bt-card--glass{background:rgba(0,0,0,.4);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.08);color:var(--bt-color-on-primary)}.bt-card--glass .bt-card__title{color:var(--bt-color-on-primary)}.bt-card--glass .bt-card__footer{border-top-color:var(--bt-color-hover-on-dark)}[data-theme=dark] .bt-card--glass{background:rgba(255,255,255,.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px rgba(0,0,0,.12)}@media(prefers-color-scheme: dark){:root:not([data-theme]) .bt-card--glass{background:rgba(255,255,255,.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px rgba(0,0,0,.12)}}.bt-card--interactive{cursor:pointer}.bt-card--interactive:hover{transform:translateY(-2px);box-shadow:var(--bt-elevation-2)}.bt-card__title{font-size:var(--bt-font-size-xl);font-weight:var(--bt-font-weight-semibold);line-height:1.3;margin-top:0;margin-bottom:var(--bt-spacing-md);color:var(--bt-color-text-primary)}.bt-card__body{width:100%}.bt-card__footer{display:flex;align-items:center;justify-content:flex-end;gap:var(--bt-spacing-sm);margin-top:var(--bt-spacing-lg);padding-top:var(--bt-spacing-lg);border-top:1px solid var(--bt-color-border)}.bt-card__footer--start{justify-content:flex-start}.bt-card__footer--between{justify-content:space-between}.bt-card__footer--end{justify-content:flex-end}@keyframes bt-spinner-spin{to{transform:rotate(360deg)}}.bt-spinner{display:inline-block;box-sizing:border-box;width:var(--bt-spinner-size, 24px);height:var(--bt-spinner-size, 24px);border-radius:50%;border:2px solid var(--bt-color-border);border-top-color:var(--bt-color-accent);animation:bt-spinner-spin .8s linear infinite}.bt-pagination{display:flex;align-items:center;justify-content:center;gap:var(--bt-spacing-sm);margin-top:var(--bt-spacing-3xl)}.bt-pagination__item,.bt-pagination__page{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:normal;text-decoration:none}.bt-pagination__item:focus-visible,.bt-pagination__page:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-pagination__item{border:1px solid var(--bt-color-border);background:var(--bt-color-background);border-radius:var(--bt-radius-md);padding:6px 10px;min-width:36px;font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);color:var(--bt-color-text-primary);cursor:pointer;transition:background var(--bt-transition-base),border-color var(--bt-transition-base)}.bt-pagination__item:hover:not(:disabled){background:var(--bt-color-background-secondary)}.bt-pagination__item:disabled{opacity:.5;cursor:not-allowed}.bt-pagination__pages{display:flex;align-items:center;gap:6px}.bt-pagination__page{border:0;background:rgba(0,0,0,0);min-width:36px;height:36px;border-radius:var(--bt-radius-md);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);color:var(--bt-color-text-secondary);cursor:pointer;transition:background var(--bt-transition-base),color var(--bt-transition-base)}.bt-pagination__page:hover{background:var(--bt-color-background-secondary);color:var(--bt-color-text-primary)}.bt-pagination__page--active{color:var(--bt-color-text-primary);font-weight:var(--bt-font-weight-semibold)}.bt-pagination__page-input{min-width:36px;height:36px;box-sizing:border-box;padding:0 var(--bt-spacing-6);border:2px solid var(--bt-color-accent);border-radius:var(--bt-radius-md);background:var(--bt-color-background);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);font-weight:var(--bt-font-weight-medium);color:var(--bt-color-text-primary);text-align:center;cursor:text;transition:background var(--bt-transition-fast),box-shadow var(--bt-transition-fast)}.bt-pagination__page-input:hover{background:var(--bt-color-background-secondary)}.bt-pagination__page-input:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-pagination__page-input--invalid,.bt-pagination__page-input--invalid:focus-visible{border-color:var(--bt-color-error);box-shadow:var(--bt-focus-ring-error)}.bt-pagination__ellipsis{min-width:20px;text-align:center;font-size:var(--bt-font-size-sm);color:var(--bt-color-text-tertiary)}.bt-date-picker{display:flex;flex-direction:column;gap:var(--bt-spacing-xs)}.bt-date-picker__label{color:var(--bt-color-text-primary);margin-bottom:var(--bt-spacing-xs);font-weight:var(--bt-font-weight-medium);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-normal)}.bt-date-picker__label-required{margin-left:var(--bt-spacing-xs);color:var(--bt-color-error-text)}.bt-date-picker__fields{display:flex;gap:var(--bt-spacing-sm)}.bt-date-picker__select{min-width:88px;height:44px;padding:0 var(--bt-spacing-md);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);color:var(--bt-color-text-primary);background-color:var(--bt-color-background);border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-sm);cursor:pointer;transition:border-color var(--bt-transition-fast),box-shadow var(--bt-transition-fast),background-color var(--bt-transition-fast);appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--bt-color-text-secondary) 50%),linear-gradient(135deg, var(--bt-color-text-secondary) 50%, transparent 50%);background-position:calc(100% - 16px) calc(50% - 3px),calc(100% - 11px) calc(50% - 3px);background-size:5px 5px;background-repeat:no-repeat}.bt-date-picker__select:hover:not(:disabled){border-color:var(--bt-color-accent);background-color:var(--bt-color-background-secondary)}.bt-date-picker__select:focus-visible{outline:none;border-color:var(--bt-color-accent);box-shadow:var(--bt-focus-ring)}.bt-date-picker__select:disabled{cursor:not-allowed;color:var(--bt-color-text-disabled);background-color:var(--bt-color-background-secondary);border-color:var(--bt-color-border-light)}.bt-date-picker--full-width{width:100%}.bt-date-picker--full-width .bt-date-picker__fields{width:100%}.bt-date-picker--full-width .bt-date-picker__select{flex:1;min-width:0}.bt-file-input{position:relative;display:inline-flex;align-items:center}.bt-file-input:hover .bt-file-input__label{border-color:var(--bt-color-border-light)}.bt-file-input__control{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.bt-file-input__label{border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-md);background:var(--bt-color-background);padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);color:var(--bt-color-text-primary);transition:background var(--bt-transition-base),border-color var(--bt-transition-base),box-shadow var(--bt-transition-base)}.bt-file-input__control:focus-visible+.bt-file-input__label{box-shadow:var(--bt-focus-ring);border-color:var(--bt-color-accent)}.bt-file-input--disabled{cursor:not-allowed}.bt-file-input--disabled .bt-file-input__control{cursor:not-allowed}.bt-file-input--disabled .bt-file-input__label{opacity:.6;cursor:not-allowed}.bt-file-input--disabled:hover .bt-file-input__label{border-color:var(--bt-color-border)}.bt-toast{z-index:var(--bt-z-toast);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);overflow-wrap:anywhere;word-break:keep-all;border-radius:var(--bt-radius-md);box-shadow:var(--bt-elevation-3)}.bt-hidden{display:none !important}.bt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-sr-only-focusable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-sr-only-focusable:focus-visible{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active,textarea:-webkit-autofill,select:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset;box-shadow:0 0 0 1000px var(--bt-color-background) inset;-webkit-text-fill-color:var(--bt-color-text-primary);caret-color:var(--bt-color-text-primary)}.bt-text-field__input--filled:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset;box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset}.bt-text-field__input--filled:-webkit-autofill:focus-visible{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset;box-shadow:0 0 0 1000px var(--bt-color-background) inset}.bt-text-field__input--error:-webkit-autofill:focus-visible{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-error);box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-error)}.bt-text-field__input--success:-webkit-autofill:focus-visible{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-success);box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-success)}input:-webkit-autofill:disabled,textarea:-webkit-autofill:disabled,select:-webkit-autofill:disabled{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset;box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset;-webkit-text-fill-color:var(--bt-color-text-tertiary)}@media(prefers-reduced-motion: reduce){:root{--bt-transition-fast: 0s;--bt-transition-base: 0s;--bt-transition-slow: 0s}.bt-alert__overlay,.bt-alert__modal{animation:none}.bt-card--interactive:hover{transform:none}.bt-spinner{animation-duration:2.4s}}
|
|
7
|
+
*/@keyframes skeleton_loading{0%{background-position:100% 0}100%{background-position:0 0}}:root{--bt-elevation-level1: 0 1px 1px -1px rgba(0, 0, 0, 0.20), 0 3px 3px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level2: 0 2px 2px -2px rgba(0, 0, 0, 0.20), 0 6px 6px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level3: 0 3px 3px -3px rgba(0, 0, 0, 0.20), 0 9px 9px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level4: 0 5px 5px -5px rgba(0, 0, 0, 0.20), 0 15px 15px 0px rgba(0, 0, 0, 0.12);--bt-elevation-level5: 0 8px 10px -5px rgba(0, 0, 0, 0.20), 0 20px 20px 0px rgba(0, 0, 0, 0.12);--bt-color-brand-primary: #121212;--bt-color-brand-on-primary: #FFFFFF;--bt-color-brand-primary-container: rgba(0, 0, 0, 0.05);--bt-color-text-heading: #121212;--bt-color-text-body: #666666;--bt-color-text-caption: #6F6F6F;--bt-color-text-brand: #121212;--bt-color-text-inverse: #FFFFFF;--bt-color-text-disabled: rgba(26, 26, 26, 0.38);--bt-color-bg-solid: #FFFFFF;--bt-color-bg-solid-dim: #F4F4F4;--bt-color-bg-additive: rgba(0, 0, 0, 0.05);--bt-color-bg-disabled: rgba(26, 26, 26, 0.12);--bt-color-bg-overlay: rgba(0, 0, 0, 0.50);--bt-color-bg-inverse-surface: #333333;--bt-color-state-hover-on-light: rgba(0, 0, 0, 0.05);--bt-color-state-pressed-on-light: rgba(26, 26, 26, 0.12);--bt-color-state-focus-on-light: rgba(0, 0, 0, 0.08);--bt-color-state-hover-on-dark: rgba(255, 255, 255, 0.05);--bt-color-state-pressed-on-dark: rgba(255, 255, 255, 0.12);--bt-color-state-focus-on-dark: rgba(255, 255, 255, 0.08);--bt-color-border-default: #E5E5E5;--bt-color-border-hover: #B3B3B3;--bt-color-border-subtle: rgba(0, 0, 0, 0.08);--bt-color-border-focus: #121212;--bt-color-border-disabled: #F2F2F2;--bt-color-status-error: #B91C1C;--bt-color-status-success: #047857;--bt-color-status-warning: #B45309;--bt-color-status-info: #1D4ED8;--bt-color-status-error-on-default: #FFFFFF;--bt-color-status-success-on-default: #FFFFFF;--bt-color-status-warning-on-default: #FFFFFF;--bt-color-status-info-on-default: #FFFFFF;--bt-color-status-error-container: #FEE2E2;--bt-color-status-success-container: #DCFCE7;--bt-color-status-warning-container: #FEF3C7;--bt-color-status-info-container: #DBEAFE;--bt-color-status-error-on-container: #B91C1C;--bt-color-status-success-on-container: #047857;--bt-color-status-warning-on-container: #B45309;--bt-color-status-info-on-container: #1D4ED8;--bt-color-status-error-on-surface: #B91C1C;--bt-color-status-success-on-surface: #047857;--bt-color-status-warning-on-surface: #B45309;--bt-color-status-warning-graphic: #D97706;--bt-color-status-info-on-surface: #1D4ED8;--bt-color-accent-subtle: rgba(0, 0, 0, 0.05);--bt-color-accent-muted: rgba(26, 26, 26, 0.12);--bt-color-accent-light: #B3B3B3;--bt-color-accent-default: #121212;--bt-color-accent-strong: #121212;--bt-color-accent-on-surface: #FFFFFF;--bt-color-skeleton-base: #F3F3F3;--bt-color-skeleton-wave: #F0F0F0;--bt-color-skeleton-highlight: #FAFAFA;--bt-spacing-0: 0px;--bt-spacing-1: 1px;--bt-spacing-2: 2px;--bt-spacing-3: 3px;--bt-spacing-4: 4px;--bt-spacing-6: 6px;--bt-spacing-8: 8px;--bt-spacing-10: 10px;--bt-spacing-12: 12px;--bt-spacing-16: 16px;--bt-spacing-20: 20px;--bt-spacing-24: 24px;--bt-spacing-32: 32px;--bt-spacing-40: 40px;--bt-spacing-48: 48px;--bt-spacing-64: 64px;--bt-spacing-96: 96px;--bt-spacing-128: 128px;--bt-radius-none: 0px;--bt-radius-xs: 4px;--bt-radius-sm: 6px;--bt-radius-md: 8px;--bt-radius-lg: 12px;--bt-radius-xl: 16px;--bt-radius-full: 9999px;--bt-font-family: "Pretendard", sans-serif;--bt-z-content: 10;--bt-z-chrome: 100;--bt-z-notification: 200;--bt-z-loading: 500;--bt-z-popup: 1000;--bt-z-app-chrome: 150;--bt-focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #121212;--bt-focus-ring-error: 0 0 0 2px #FFFFFF, 0 0 0 4px #B91C1C;--bt-focus-ring-success: 0 0 0 2px #FFFFFF, 0 0 0 4px #047857;--bt-bottom-nav-inset: 0px;--bt-sidebar-inset: 0px;--bt-bottom-inset-app: 0px}body{--bt-bottom-inset: calc( var(--bt-bottom-nav-inset, 0px) + var(--bt-sidebar-inset, 0px) + var(--bt-bottom-inset-app, 0px) )}html{scroll-padding-top:var(--bt-top-inset, 0px)}@media(forced-colors: active){:focus-visible{outline:2px solid Highlight !important;outline-offset:2px}}:root{--bt-scrollbar-width: 0px}[data-theme=dark]{color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bt-elevation-level1: 0 1px 2px 0px rgba(0, 0, 0, 0.45), 0 3px 6px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level2: 0 2px 4px 0px rgba(0, 0, 0, 0.45), 0 6px 12px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level3: 0 3px 6px 0px rgba(0, 0, 0, 0.50), 0 9px 18px 0px rgba(0, 0, 0, 0.35);--bt-elevation-level4: 0 5px 10px 0px rgba(0, 0, 0, 0.55), 0 15px 30px 0px rgba(0, 0, 0, 0.40);--bt-elevation-level5: 0 8px 16px 0px rgba(0, 0, 0, 0.60), 0 20px 40px 0px rgba(0, 0, 0, 0.45);--bt-color-brand-primary-container: rgba(255, 255, 255, 0.08);--bt-color-text-heading: rgba(255, 255, 255, 0.95);--bt-color-text-body: #B3B3B3;--bt-color-text-caption: #808080;--bt-color-text-inverse: #121212;--bt-color-text-disabled: rgba(255, 255, 255, 0.38);--bt-color-bg-solid: #0A0A0A;--bt-color-bg-solid-dim: #141414;--bt-color-bg-additive: rgba(255, 255, 255, 0.05);--bt-color-bg-disabled: rgba(255, 255, 255, 0.12);--bt-color-bg-overlay: rgba(0, 0, 0, 0.7);--bt-color-bg-inverse-surface: #F4F4F4;--bt-color-state-hover-on-light: rgba(255, 255, 255, 0.08);--bt-color-state-pressed-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-focus-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-hover-on-dark: rgba(0, 0, 0, 0.08);--bt-color-state-pressed-on-dark: rgba(26, 26, 26, 0.12);--bt-color-state-focus-on-dark: rgba(26, 26, 26, 0.12);--bt-color-border-default: #333333;--bt-color-border-hover: #777777;--bt-color-border-subtle: rgba(255, 255, 255, 0.12);--bt-color-border-focus: #FFFFFF;--bt-color-border-disabled: #141414;--bt-color-status-error-container: rgba(127, 29, 29, 0.35);--bt-color-status-success-container: rgba(6, 78, 59, 0.35);--bt-color-status-warning-container: rgba(120, 53, 15, 0.35);--bt-color-status-info-container: rgba(30, 58, 138, 0.35);--bt-color-status-error-on-container: #FCA5A5;--bt-color-status-success-on-container: #86EFAC;--bt-color-status-warning-on-container: #FCD34D;--bt-color-status-info-on-container: #93C5FD;--bt-color-status-error-on-surface: #F87171;--bt-color-status-success-on-surface: #4ADE80;--bt-color-status-warning-on-surface: #FBBF24;--bt-color-status-warning-graphic: #FBBF24;--bt-color-status-info-on-surface: #60A5FA;--bt-color-accent-subtle: rgba(255, 255, 255, 0.08);--bt-color-accent-muted: rgba(255, 255, 255, 0.12);--bt-color-accent-light: #999999;--bt-color-accent-default: #FFFFFF;--bt-color-accent-strong: #FFFFFF;--bt-color-accent-on-surface: #121212;--bt-color-skeleton-base: #333333;--bt-color-skeleton-wave: #333333;--bt-color-skeleton-highlight: #666666;--bt-focus-ring: 0 0 0 2px #0A0A0A, 0 0 0 4px #FFFFFF;--bt-focus-ring-error: 0 0 0 2px #0A0A0A, 0 0 0 4px #F87171;--bt-focus-ring-success: 0 0 0 2px #0A0A0A, 0 0 0 4px #4ADE80}@media(prefers-color-scheme: dark){:root:not([data-theme]){color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bt-elevation-level1: 0 1px 2px 0px rgba(0, 0, 0, 0.45), 0 3px 6px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level2: 0 2px 4px 0px rgba(0, 0, 0, 0.45), 0 6px 12px 0px rgba(0, 0, 0, 0.30);--bt-elevation-level3: 0 3px 6px 0px rgba(0, 0, 0, 0.50), 0 9px 18px 0px rgba(0, 0, 0, 0.35);--bt-elevation-level4: 0 5px 10px 0px rgba(0, 0, 0, 0.55), 0 15px 30px 0px rgba(0, 0, 0, 0.40);--bt-elevation-level5: 0 8px 16px 0px rgba(0, 0, 0, 0.60), 0 20px 40px 0px rgba(0, 0, 0, 0.45);--bt-color-brand-primary-container: rgba(255, 255, 255, 0.08);--bt-color-text-heading: rgba(255, 255, 255, 0.95);--bt-color-text-body: #B3B3B3;--bt-color-text-caption: #808080;--bt-color-text-inverse: #121212;--bt-color-text-disabled: rgba(255, 255, 255, 0.38);--bt-color-bg-solid: #0A0A0A;--bt-color-bg-solid-dim: #141414;--bt-color-bg-additive: rgba(255, 255, 255, 0.05);--bt-color-bg-disabled: rgba(255, 255, 255, 0.12);--bt-color-bg-overlay: rgba(0, 0, 0, 0.7);--bt-color-bg-inverse-surface: #F4F4F4;--bt-color-state-hover-on-light: rgba(255, 255, 255, 0.08);--bt-color-state-pressed-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-focus-on-light: rgba(255, 255, 255, 0.12);--bt-color-state-hover-on-dark: rgba(0, 0, 0, 0.08);--bt-color-state-pressed-on-dark: rgba(26, 26, 26, 0.12);--bt-color-state-focus-on-dark: rgba(26, 26, 26, 0.12);--bt-color-border-default: #333333;--bt-color-border-hover: #777777;--bt-color-border-subtle: rgba(255, 255, 255, 0.12);--bt-color-border-focus: #FFFFFF;--bt-color-border-disabled: #141414;--bt-color-status-error-container: rgba(127, 29, 29, 0.35);--bt-color-status-success-container: rgba(6, 78, 59, 0.35);--bt-color-status-warning-container: rgba(120, 53, 15, 0.35);--bt-color-status-info-container: rgba(30, 58, 138, 0.35);--bt-color-status-error-on-container: #FCA5A5;--bt-color-status-success-on-container: #86EFAC;--bt-color-status-warning-on-container: #FCD34D;--bt-color-status-info-on-container: #93C5FD;--bt-color-status-error-on-surface: #F87171;--bt-color-status-success-on-surface: #4ADE80;--bt-color-status-warning-on-surface: #FBBF24;--bt-color-status-warning-graphic: #FBBF24;--bt-color-status-info-on-surface: #60A5FA;--bt-color-accent-subtle: rgba(255, 255, 255, 0.08);--bt-color-accent-muted: rgba(255, 255, 255, 0.12);--bt-color-accent-light: #999999;--bt-color-accent-default: #FFFFFF;--bt-color-accent-strong: #FFFFFF;--bt-color-accent-on-surface: #121212;--bt-color-skeleton-base: #333333;--bt-color-skeleton-wave: #333333;--bt-color-skeleton-highlight: #666666;--bt-focus-ring: 0 0 0 2px #0A0A0A, 0 0 0 4px #FFFFFF;--bt-focus-ring-error: 0 0 0 2px #0A0A0A, 0 0 0 4px #F87171;--bt-focus-ring-success: 0 0 0 2px #0A0A0A, 0 0 0 4px #4ADE80}}:root{--bt-color-primary: var(--bt-color-brand-primary);--bt-color-on-primary: var(--bt-color-brand-on-primary);--bt-color-accent: var(--bt-color-accent-default);--bt-color-primary-container: var(--bt-color-brand-primary-container);--bt-color-background: var(--bt-color-bg-solid);--bt-color-background-dim: var(--bt-color-bg-solid-dim);--bt-color-background-overlay: var(--bt-color-bg-overlay);--bt-color-border: var(--bt-color-border-default);--bt-color-text-primary: var(--bt-color-text-heading);--bt-color-text-secondary: var(--bt-color-text-body);--bt-color-text-tertiary: var(--bt-color-text-caption);--bt-color-background-secondary: var(--bt-color-background-dim);--bt-color-border-light: var(--bt-color-border-hover);--bt-color-hover: var(--bt-color-state-hover-on-light);--bt-color-hover-on-dark: var(--bt-color-state-hover-on-dark);--bt-color-pressed: var(--bt-color-state-pressed-on-light);--bt-color-primary-hover: #333333;--bt-color-overlay: var(--bt-color-bg-overlay);--bt-color-success: var(--bt-color-status-success);--bt-color-error: var(--bt-color-status-error);--bt-color-error-text: var(--bt-color-status-error-on-surface);--bt-color-success-text: var(--bt-color-status-success-on-surface);--bt-color-warning-text: var(--bt-color-status-warning-on-surface);--bt-color-info-text: var(--bt-color-status-info-on-surface);--bt-color-warning: var(--bt-color-status-warning);--bt-color-info: var(--bt-color-status-info);--bt-spacing-xs: var(--bt-spacing-4);--bt-spacing-sm: var(--bt-spacing-8);--bt-spacing-md: var(--bt-spacing-12);--bt-spacing-lg: var(--bt-spacing-16);--bt-spacing-xl: var(--bt-spacing-20);--bt-spacing-2xl: var(--bt-spacing-24);--bt-spacing-3xl: var(--bt-spacing-32);--bt-font-size-12: 12px;--bt-font-size-14: 14px;--bt-font-size-15: 15px;--bt-font-size-16: 16px;--bt-font-size-18: 18px;--bt-font-size-20: 20px;--bt-font-weight-regular: 400;--bt-font-weight-medium: 500;--bt-font-weight-semibold: 600;--bt-line-height-20: 20px;--bt-line-height-24: 24px;--bt-font-size-sm: var(--bt-font-size-14);--bt-font-size-base: var(--bt-font-size-15);--bt-font-size-md: var(--bt-font-size-16);--bt-font-size-lg: var(--bt-font-size-18);--bt-font-size-xl: var(--bt-font-size-20);--bt-line-height-normal: 1.5;--bt-elevation-1: var(--bt-elevation-level1);--bt-elevation-2: var(--bt-elevation-level2);--bt-elevation-3: var(--bt-elevation-level3);--bt-elevation-4: var(--bt-elevation-level4);--bt-elevation-5: var(--bt-elevation-level5);--bt-transition-fast: 0.1s ease-in-out;--bt-transition-base: 0.2s ease-in-out;--bt-transition-slow: 0.3s ease-in-out;--bt-z-modal: var(--bt-z-chrome);--bt-z-toast: var(--bt-z-notification)}.bt-button{display:inline-flex;align-items:center;justify-content:center;overflow-wrap:anywhere;word-break:keep-all;gap:var(--bt-spacing-sm);border-radius:var(--bt-radius-full);border:none;cursor:pointer;font-family:var(--bt-font-family);font-weight:var(--bt-font-weight-medium);transition:background var(--bt-transition-base),color var(--bt-transition-base),opacity var(--bt-transition-base),box-shadow var(--bt-transition-base),transform var(--bt-transition-base)}.bt-button:disabled{cursor:not-allowed;opacity:.6}.bt-button:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-button--sm{padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-size:var(--bt-font-size-sm)}.bt-button--md{padding:var(--bt-spacing-md) var(--bt-spacing-xl);font-size:var(--bt-font-size-base)}.bt-button--lg{padding:var(--bt-spacing-lg) var(--bt-spacing-2xl);font-size:var(--bt-font-size-md)}.bt-button--xl{padding:var(--bt-spacing-xl) var(--bt-spacing-3xl);font-size:var(--bt-font-size-lg)}.bt-button--filled{background:var(--bt-color-accent);color:var(--bt-color-accent-on-surface)}.bt-button--filled:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-accent) 88%, var(--bt-color-accent-on-surface))}.bt-button--filled:active:not(:disabled){transform:scale(0.98)}.bt-button--tonal{background:var(--bt-color-primary-container);color:var(--bt-color-text-primary)}.bt-button--tonal:hover:not(:disabled){background-image:linear-gradient(var(--bt-color-hover), var(--bt-color-hover))}.bt-button--tonal:active:not(:disabled){background-image:linear-gradient(var(--bt-color-pressed), var(--bt-color-pressed));transform:scale(0.98)}.bt-button--outline{background:rgba(0,0,0,0);border:1px solid var(--bt-color-border);color:var(--bt-color-text-primary)}.bt-button--outline:hover:not(:disabled){background:var(--bt-color-background-secondary)}.bt-button--outline:active:not(:disabled){transform:scale(0.98)}.bt-button--text{background:rgba(0,0,0,0);color:var(--bt-color-text-primary)}.bt-button--text:hover:not(:disabled){background:var(--bt-color-hover)}.bt-button--text:active:not(:disabled){transform:scale(0.96)}.bt-button--danger{background:var(--bt-color-error);color:var(--bt-color-on-primary)}.bt-button--danger:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 88%, #000)}.bt-button--danger:active:not(:disabled){transform:scale(0.98)}.bt-button--radius-none{border-radius:var(--bt-radius-none)}.bt-button--radius-xs{border-radius:var(--bt-radius-xs)}.bt-button--radius-sm{border-radius:var(--bt-radius-sm)}.bt-button--radius-md{border-radius:var(--bt-radius-md)}.bt-button--radius-lg{border-radius:var(--bt-radius-lg)}.bt-button--radius-xl{border-radius:var(--bt-radius-xl)}.bt-button--radius-full{border-radius:var(--bt-radius-full)}.bt-button--full-width{width:100%}.bt-button--danger.bt-button--outline{background:rgba(0,0,0,0);border-color:var(--bt-color-error);color:var(--bt-color-error-text)}.bt-button--danger.bt-button--outline:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 8%, transparent)}.bt-button--danger.bt-button--tonal{background:color-mix(in srgb, var(--bt-color-error) 12%, transparent);color:var(--bt-color-error-text)}.bt-button--danger.bt-button--tonal:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 18%, transparent)}.bt-button--danger.bt-button--text{background:rgba(0,0,0,0);color:var(--bt-color-error-text)}.bt-button--danger.bt-button--text:hover:not(:disabled){background:color-mix(in srgb, var(--bt-color-error) 8%, transparent)}.bt-text-field{display:flex;flex-direction:column}.bt-text-field--full-width{width:100%}.bt-text-field__label{margin-bottom:var(--bt-spacing-xs);color:var(--bt-color-text-primary);font-size:var(--bt-font-size-sm);font-weight:var(--bt-font-weight-medium);line-height:var(--bt-line-height-normal)}.bt-text-field__wrap{position:relative;display:inline-flex;width:100%;align-items:center}.bt-text-field__input{width:100%;border-radius:var(--bt-radius-md);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary);background:var(--bt-color-background);transition:border-color var(--bt-transition-base),box-shadow var(--bt-transition-base),background var(--bt-transition-base)}.bt-text-field__input::placeholder{color:var(--bt-color-text-tertiary)}.bt-text-field__input:disabled{cursor:not-allowed;background:var(--bt-color-background-secondary);color:var(--bt-color-text-tertiary);opacity:.7}.bt-text-field__input--outline{border:1px solid var(--bt-color-border)}.bt-text-field__input--outline:hover:not(:disabled){border-color:var(--bt-color-border-light)}.bt-text-field__input--outline:focus-visible{outline:none;border-color:var(--bt-color-accent);box-shadow:var(--bt-focus-ring)}.bt-text-field__input--filled{background:var(--bt-color-background-secondary);border:1px solid rgba(0,0,0,0)}.bt-text-field__input--filled:focus-visible{outline:none;border-color:var(--bt-color-accent);background:var(--bt-color-background);box-shadow:var(--bt-focus-ring)}.bt-text-field__input--sm{padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-size:var(--bt-font-size-sm)}.bt-text-field__input--md{padding:var(--bt-spacing-md) var(--bt-spacing-xl);font-size:var(--bt-font-size-base)}.bt-text-field__input--lg{padding:var(--bt-spacing-lg) var(--bt-spacing-2xl);font-size:var(--bt-font-size-md)}.bt-text-field__input--error{border-color:var(--bt-color-error) !important}.bt-text-field__input--error:focus-visible{box-shadow:var(--bt-focus-ring-error)}.bt-text-field__input--success{border-color:var(--bt-color-success) !important}.bt-text-field__input--success:focus-visible{box-shadow:var(--bt-focus-ring-success)}.bt-text-field__input--identifier{font-feature-settings:"cv05" 1,"cv08" 1;font-variant-numeric:slashed-zero}.bt-text-field__helper{margin-top:var(--bt-spacing-xs);font-size:var(--bt-font-size-sm);color:var(--bt-color-text-secondary)}.bt-text-field__helper--error{color:var(--bt-color-error-text)}.bt-text-field__helper--success{color:var(--bt-color-success-text)}.bt-text-field__icon{position:absolute;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;color:var(--bt-color-text-secondary)}.bt-text-field__icon--left{left:var(--bt-spacing-md)}.bt-text-field__icon--right{right:var(--bt-spacing-md)}.bt-checkbox{display:inline-flex;align-items:center;gap:var(--bt-spacing-sm);cursor:pointer;user-select:none;position:relative}.bt-checkbox__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-checkbox__box{width:1.125rem;height:1.125rem;box-sizing:border-box;border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-sm);background:var(--bt-color-background);transition:background var(--bt-transition-base),border-color var(--bt-transition-base),box-shadow var(--bt-transition-base);display:inline-block;position:relative}.bt-checkbox__label{font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary)}.bt-checkbox--sm .bt-checkbox__box{width:1rem;height:1rem}.bt-checkbox--sm .bt-checkbox__label{font-size:var(--bt-font-size-sm)}.bt-checkbox--lg .bt-checkbox__box{width:1.25rem;height:1.25rem}.bt-checkbox--lg .bt-checkbox__label{font-size:var(--bt-font-size-md)}.bt-checkbox__input:focus-visible+.bt-checkbox__box{box-shadow:var(--bt-focus-ring);border-color:var(--bt-color-accent)}.bt-checkbox__input:disabled+.bt-checkbox__box,.bt-checkbox__input:disabled~.bt-checkbox__label{opacity:.6;cursor:not-allowed}.bt-checkbox__input:checked+.bt-checkbox__box{background:var(--bt-color-accent);border-color:var(--bt-color-accent)}.bt-checkbox__input:checked+.bt-checkbox__box::after{content:"";position:absolute;left:50%;top:50%;width:.28rem;height:.55rem;border:2px solid var(--bt-color-accent-on-surface);border-top:0;border-left:0;transform:translate(-50%, -58%) rotate(45deg)}.bt-radio{position:relative;display:inline-flex;align-items:center;gap:var(--bt-spacing-sm);cursor:pointer;user-select:none}.bt-radio__input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;margin:0}.bt-radio__dot{width:1.125rem;height:1.125rem;box-sizing:border-box;border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-full);background:var(--bt-color-background);transition:background var(--bt-transition-base),border-color var(--bt-transition-base),box-shadow var(--bt-transition-base);position:relative;display:inline-block}.bt-radio__label{font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary)}.bt-radio--sm .bt-radio__dot{width:1rem;height:1rem}.bt-radio--sm .bt-radio__label{font-size:var(--bt-font-size-sm)}.bt-radio--lg .bt-radio__dot{width:1.25rem;height:1.25rem}.bt-radio--lg .bt-radio__label{font-size:var(--bt-font-size-md)}.bt-radio__input:focus-visible+.bt-radio__dot{box-shadow:var(--bt-focus-ring);border-color:var(--bt-color-accent)}.bt-radio__input:checked+.bt-radio__dot{border-color:var(--bt-color-accent);border-width:2px}.bt-radio__input:checked+.bt-radio__dot::after{content:"";position:absolute;left:50%;top:50%;width:60%;height:60%;transform:translate(-50%, -50%);background:var(--bt-color-accent);border-radius:9999px}.bt-radio__input:disabled+.bt-radio__dot,.bt-radio__input:disabled~.bt-radio__label{opacity:.6;cursor:not-allowed}.bt-toggle{position:relative;display:inline-flex;align-items:center;width:40px;height:24px;padding:2px;border-radius:var(--bt-radius-full);background:var(--bt-color-border-light);transition:background var(--bt-transition-base);cursor:pointer;border:none}.bt-toggle:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-toggle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:32px}@media(max-width: 599px){.bt-toggle::after{height:40px}}.bt-toggle__thumb{width:12px;height:12px;background:var(--bt-color-background);border-radius:var(--bt-radius-full);transition:transform var(--bt-transition-base),width var(--bt-transition-base),height var(--bt-transition-base);transform:translateX(0)}.bt-toggle--on{background:var(--bt-color-accent)}.bt-toggle--on .bt-toggle__thumb{width:20px;height:20px;background:var(--bt-color-accent-on-surface);transform:translateX(16px)}.bt-toggle--sm{width:40px;height:24px}.bt-toggle--md{width:48px;height:28px}.bt-toggle--md .bt-toggle__thumb{width:16px;height:16px}.bt-toggle--md.bt-toggle--on .bt-toggle__thumb{width:24px;height:24px;transform:translateX(20px)}.bt-toggle:disabled{cursor:not-allowed;background:#b3b3b3}.bt-toggle:disabled .bt-toggle__thumb{background:var(--bt-color-accent-on-surface)}.bt-dropdown{position:relative;display:inline-flex;flex-direction:column;width:100%;gap:var(--bt-spacing-xs);font-family:var(--bt-font-family)}.bt-dropdown__label{font-size:var(--bt-font-size-sm);font-weight:var(--bt-font-weight-medium);line-height:var(--bt-line-height-normal);color:var(--bt-color-text-primary)}.bt-dropdown__control{width:100%;display:inline-flex;align-items:center;justify-content:space-between;gap:var(--bt-spacing-sm);cursor:pointer;color:var(--bt-color-text-primary);background:var(--bt-color-background);border-radius:var(--bt-radius-md);transition:border-color var(--bt-transition-base),box-shadow var(--bt-transition-base),background var(--bt-transition-base);font-size:var(--bt-font-size-base);line-height:var(--bt-line-height-normal);border:none;text-align:left}.bt-dropdown__control:focus-visible,.bt-dropdown__control.is-open:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-dropdown__control:disabled,.bt-dropdown__control.is-disabled{cursor:not-allowed;opacity:.7;background:var(--bt-color-background-secondary);color:var(--bt-color-text-tertiary)}.bt-dropdown__control--outline{border:1px solid var(--bt-color-border)}.bt-dropdown__control--outline:hover:not(.is-disabled){border-color:var(--bt-color-border-light)}.bt-dropdown__control--outline.is-open{border-color:var(--bt-color-accent);box-shadow:0 0 0 3px var(--bt-color-border-light)}.bt-dropdown__control--filled{background:var(--bt-color-background-secondary);border:1px solid rgba(0,0,0,0)}.bt-dropdown__control--filled.is-open{background:var(--bt-color-background);border-color:var(--bt-color-accent);box-shadow:0 0 0 3px var(--bt-color-border-light)}.bt-dropdown__control--sm{padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-size:var(--bt-font-size-sm)}.bt-dropdown__control--md{padding:var(--bt-spacing-md) var(--bt-spacing-xl);font-size:var(--bt-font-size-base)}.bt-dropdown__control--lg{padding:var(--bt-spacing-lg) var(--bt-spacing-2xl);font-size:var(--bt-font-size-md)}.bt-dropdown__value{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bt-dropdown__placeholder{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--bt-color-text-tertiary)}.bt-dropdown__icon{display:inline-flex;align-items:center;justify-content:center;color:var(--bt-color-text-secondary);transition:transform var(--bt-transition-base)}.bt-dropdown__icon.is-open{transform:rotate(180deg)}.bt-dropdown__list{display:none;position:fixed;z-index:var(--bt-z-popup);box-sizing:border-box;width:max-content;background:var(--bt-color-background);border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-md);box-shadow:var(--bt-elevation-2);max-height:18rem;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--bt-color-border-light) rgba(0,0,0,0);padding:var(--bt-spacing-xs) 0;list-style:none;margin:0}.bt-dropdown__list:has(>.bt-dropdown__options){max-height:none;overflow:hidden;padding:0}.bt-dropdown__search{contain:inline-size;display:flex;align-items:center;gap:var(--bt-spacing-sm);padding:var(--bt-spacing-sm) var(--bt-spacing-md);border-bottom:1px solid var(--bt-color-border)}.bt-dropdown__search-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--bt-color-text-secondary)}.bt-dropdown__search-input{flex:1 1 auto;min-width:0;border:none;outline:none;background:rgba(0,0,0,0);color:var(--bt-color-text-primary);border-radius:var(--bt-radius-sm);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-normal);transition:box-shadow var(--bt-transition-fast)}.bt-dropdown__search-input::placeholder{color:var(--bt-color-text-tertiary)}.bt-dropdown__search-input:focus-visible{box-shadow:var(--bt-focus-ring)}.bt-dropdown__options{max-height:18rem;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--bt-color-border-light) rgba(0,0,0,0);padding:var(--bt-spacing-xs) 0;margin:0;list-style:none}.bt-dropdown__empty{padding:var(--bt-spacing-md) var(--bt-spacing-lg);color:var(--bt-color-text-tertiary);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-normal);text-align:center;list-style:none}.bt-dropdown__option{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:var(--bt-spacing-sm);min-height:40px;padding:var(--bt-spacing-sm) var(--bt-spacing-md);cursor:pointer;color:var(--bt-color-text-primary);background:rgba(0,0,0,0);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-20)}.bt-dropdown__option[hidden]{display:none}.bt-dropdown__option:hover,.bt-dropdown__option.is-active{background:var(--bt-color-background-secondary)}.bt-dropdown__option.is-selected{font-weight:var(--bt-font-weight-medium)}.bt-dropdown__option.is-disabled{cursor:not-allowed;color:var(--bt-color-text-tertiary)}.bt-dropdown__option-content{flex:1 1 auto;min-width:0}.bt-dropdown__option-check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;color:var(--bt-color-accent)}.bt-dropdown__option-check svg{opacity:0;transition:opacity var(--bt-transition-fast)}.bt-dropdown__option.is-selected .bt-dropdown__option-check svg{opacity:1}.bt-modal{position:fixed;top:0;right:0;bottom:0;left:0;padding-right:var(--bt-scrollbar-width, 0px);display:none;place-items:center;background:var(--bt-color-overlay);z-index:var(--bt-z-modal);transition:opacity .3s linear(0, 0.069, 0.219, 0.39, 0.551, 0.687, 0.793, 0.871, 0.926, 0.963, 0.985, 0.998, 1)}.bt-modal[data-state=closed]{opacity:0}@starting-style{.bt-modal{opacity:0}}@media(prefers-reduced-motion: reduce){.bt-modal{transition:none}}.bt-modal.is-open{display:grid;grid-template-columns:minmax(0, 1fr)}.bt-modal__panel{position:relative;background:var(--bt-color-background);border-radius:var(--bt-radius-lg);box-shadow:var(--bt-elevation-3);max-width:calc(100% - 32px);overflow:hidden;transition:opacity .3s linear(0, 0.069, 0.219, 0.39, 0.551, 0.687, 0.793, 0.871, 0.926, 0.963, 0.985, 0.998, 1),transform .3s linear(0, 0.069, 0.219, 0.39, 0.551, 0.687, 0.793, 0.871, 0.926, 0.963, 0.985, 0.998, 1)}.bt-modal__panel[data-state=closed]{opacity:0;transform:scale(0.96) translateY(-4px)}@starting-style{.bt-modal__panel{opacity:0;transform:scale(0.96) translateY(-4px)}}@media(prefers-reduced-motion: reduce){.bt-modal__panel{transition:none}}.bt-modal__header{padding:var(--bt-spacing-lg);padding-right:calc(var(--bt-spacing-lg) + 32px);border-bottom:1px solid var(--bt-color-border);color:var(--bt-color-text-primary);font-size:var(--bt-font-size-xl);font-weight:var(--bt-font-weight-semibold);line-height:1.3}.bt-modal__close{position:absolute;top:var(--bt-spacing-md);right:var(--bt-spacing-md);width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:none;background:rgba(0,0,0,0);color:var(--bt-color-text-tertiary);border-radius:var(--bt-radius-md);cursor:pointer;transition:background var(--bt-transition-fast),color var(--bt-transition-fast)}.bt-modal__close:hover{background:var(--bt-color-hover);color:var(--bt-color-text-primary)}.bt-modal__close:focus-visible{outline:none;box-shadow:var(--bt-focus-ring)}.bt-modal__body{padding:var(--bt-spacing-lg)}.bt-modal__footer{padding:var(--bt-spacing-lg);border-top:1px solid var(--bt-color-border);display:flex;justify-content:flex-end;gap:var(--bt-spacing-sm)}@keyframes bt-alert-fade-in{from{opacity:0}to{opacity:1}}@keyframes bt-alert-slide-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes bt-alert-fade-out{to{opacity:0}}@keyframes bt-alert-slide-down{to{opacity:0;transform:translateY(20px)}}.bt-alert__overlay{position:fixed;top:0;right:0;bottom:0;left:0;padding-right:var(--bt-scrollbar-width, 0px);background:var(--bt-color-overlay);display:none;align-items:center;justify-content:center;z-index:var(--bt-z-popup);animation:bt-alert-fade-in var(--bt-transition-base)}.bt-alert__overlay.is-open{display:flex}.bt-alert__overlay.is-closing{animation:bt-alert-fade-out .12s cubic-bezier(0.4, 0, 1, 1) forwards}.bt-alert__overlay.is-closing .bt-alert__modal{animation:bt-alert-slide-down .12s cubic-bezier(0.4, 0, 1, 1) forwards}.bt-alert__modal{background:var(--bt-color-background);border-radius:var(--bt-radius-lg);min-width:320px;max-width:480px;box-shadow:var(--bt-elevation-4);animation:bt-alert-slide-up var(--bt-transition-slow);overflow:hidden}.bt-alert__title{font-size:var(--bt-font-size-lg);font-weight:var(--bt-font-weight-semibold);line-height:var(--bt-line-height-normal);color:var(--bt-color-info-text);padding:var(--bt-spacing-md) var(--bt-spacing-xl) var(--bt-spacing-xs)}.bt-alert__message{font-size:var(--bt-font-size-base);color:var(--bt-color-text-secondary);padding:var(--bt-spacing-xl);line-height:1.75}.bt-alert__actions{display:flex;gap:var(--bt-spacing-sm);align-items:center;padding:0 var(--bt-spacing-xl) var(--bt-spacing-xl);justify-content:flex-end}.bt-alert--info .bt-alert__title{color:var(--bt-color-info-text)}.bt-alert--success .bt-alert__title{color:var(--bt-color-success-text)}.bt-alert--warning .bt-alert__title{color:var(--bt-color-warning-text)}.bt-alert--error .bt-alert__title{color:var(--bt-color-error-text)}.bt-card{background:var(--bt-color-background);border-radius:var(--bt-radius-lg);box-shadow:var(--bt-elevation-1);padding:var(--bt-spacing-lg);transition:transform var(--bt-transition-base),box-shadow var(--bt-transition-base)}.bt-card--bordered{border:1px solid var(--bt-color-border)}.bt-card--shadow-none{box-shadow:none}.bt-card--shadow-sm{box-shadow:var(--bt-elevation-1)}.bt-card--shadow-md{box-shadow:var(--bt-elevation-2)}.bt-card--shadow-lg{box-shadow:var(--bt-elevation-3)}.bt-card--p-none{padding:0}.bt-card--p-sm{padding:var(--bt-spacing-sm)}.bt-card--p-md{padding:var(--bt-spacing-lg)}.bt-card--p-lg{padding:var(--bt-spacing-2xl)}.bt-card--accent{background:var(--bt-color-accent);color:var(--bt-color-accent-on-surface)}.bt-card--accent .bt-card__title{color:var(--bt-color-accent-on-surface)}.bt-card--accent .bt-card__footer{border-top-color:var(--bt-color-hover-on-dark)}.bt-card--outline{background:rgba(0,0,0,0);border:1px solid var(--bt-color-border);box-shadow:none}.bt-card--glass{background:rgba(0,0,0,.4);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.08);color:var(--bt-color-on-primary)}.bt-card--glass .bt-card__title{color:var(--bt-color-on-primary)}.bt-card--glass .bt-card__footer{border-top-color:var(--bt-color-hover-on-dark)}[data-theme=dark] .bt-card--glass{background:rgba(255,255,255,.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px rgba(0,0,0,.12)}@media(prefers-color-scheme: dark){:root:not([data-theme]) .bt-card--glass{background:rgba(255,255,255,.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px rgba(0,0,0,.12)}}.bt-card--interactive{cursor:pointer}.bt-card--interactive:hover{transform:translateY(-2px);box-shadow:var(--bt-elevation-2)}.bt-card__title{font-size:var(--bt-font-size-xl);font-weight:var(--bt-font-weight-semibold);line-height:1.3;margin-top:0;margin-bottom:var(--bt-spacing-md);color:var(--bt-color-text-primary)}.bt-card__body{width:100%}.bt-card__footer{display:flex;align-items:center;justify-content:flex-end;gap:var(--bt-spacing-sm);margin-top:var(--bt-spacing-lg);padding-top:var(--bt-spacing-lg);border-top:1px solid var(--bt-color-border)}.bt-card__footer--start{justify-content:flex-start}.bt-card__footer--between{justify-content:space-between}.bt-card__footer--end{justify-content:flex-end}@keyframes bt-spinner-spin{to{transform:rotate(360deg)}}.bt-spinner{display:inline-block;box-sizing:border-box;width:var(--bt-spinner-size, 24px);height:var(--bt-spinner-size, 24px);border-radius:50%;border:2px solid var(--bt-color-border);border-top-color:var(--bt-color-accent);animation:bt-spinner-spin .8s linear infinite}.bt-pagination{display:flex;align-items:center;justify-content:center;gap:var(--bt-spacing-sm);margin-top:var(--bt-spacing-3xl)}.bt-pagination__item,.bt-pagination__page{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:normal;text-decoration:none}.bt-pagination__item:focus-visible,.bt-pagination__page:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-pagination__item{border:1px solid var(--bt-color-border);background:var(--bt-color-background);border-radius:var(--bt-radius-md);padding:6px 10px;min-width:36px;font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);color:var(--bt-color-text-primary);cursor:pointer;transition:background var(--bt-transition-base),border-color var(--bt-transition-base)}.bt-pagination__item:hover:not(:disabled){background:var(--bt-color-background-secondary)}.bt-pagination__item:disabled{opacity:.5;cursor:not-allowed}.bt-pagination__pages{display:flex;align-items:center;gap:6px}.bt-pagination__page{border:0;background:rgba(0,0,0,0);min-width:36px;height:36px;border-radius:var(--bt-radius-md);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);color:var(--bt-color-text-secondary);cursor:pointer;transition:background var(--bt-transition-base),color var(--bt-transition-base)}.bt-pagination__page:hover{background:var(--bt-color-background-secondary);color:var(--bt-color-text-primary)}.bt-pagination__page--active{color:var(--bt-color-text-primary);font-weight:var(--bt-font-weight-semibold)}.bt-pagination__page-input{min-width:36px;height:36px;box-sizing:border-box;padding:0 var(--bt-spacing-6);border:2px solid var(--bt-color-accent);border-radius:var(--bt-radius-md);background:var(--bt-color-background);font-family:var(--bt-font-family);font-size:var(--bt-font-size-sm);font-weight:var(--bt-font-weight-medium);color:var(--bt-color-text-primary);text-align:center;cursor:text;transition:background var(--bt-transition-fast),box-shadow var(--bt-transition-fast)}.bt-pagination__page-input:hover{background:var(--bt-color-background-secondary)}.bt-pagination__page-input:focus-visible{outline:2px solid rgba(0,0,0,0);box-shadow:var(--bt-focus-ring)}.bt-pagination__page-input--invalid,.bt-pagination__page-input--invalid:focus-visible{border-color:var(--bt-color-error);box-shadow:var(--bt-focus-ring-error)}.bt-pagination__ellipsis{min-width:20px;text-align:center;font-size:var(--bt-font-size-sm);color:var(--bt-color-text-tertiary)}.bt-date-picker{display:flex;flex-direction:column;gap:var(--bt-spacing-xs)}.bt-date-picker__label{color:var(--bt-color-text-primary);margin-bottom:var(--bt-spacing-xs);font-weight:var(--bt-font-weight-medium);font-size:var(--bt-font-size-sm);line-height:var(--bt-line-height-normal)}.bt-date-picker__label-required{margin-left:var(--bt-spacing-xs);color:var(--bt-color-error-text)}.bt-date-picker__fields{display:flex;gap:var(--bt-spacing-sm)}.bt-date-picker__select{min-width:88px;height:44px;padding:0 var(--bt-spacing-md);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);color:var(--bt-color-text-primary);background-color:var(--bt-color-background);border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-sm);cursor:pointer;transition:border-color var(--bt-transition-fast),box-shadow var(--bt-transition-fast),background-color var(--bt-transition-fast);appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--bt-color-text-secondary) 50%),linear-gradient(135deg, var(--bt-color-text-secondary) 50%, transparent 50%);background-position:calc(100% - 16px) calc(50% - 3px),calc(100% - 11px) calc(50% - 3px);background-size:5px 5px;background-repeat:no-repeat}.bt-date-picker__select:hover:not(:disabled){border-color:var(--bt-color-accent);background-color:var(--bt-color-background-secondary)}.bt-date-picker__select:focus-visible{outline:none;border-color:var(--bt-color-accent);box-shadow:var(--bt-focus-ring)}.bt-date-picker__select:disabled{cursor:not-allowed;color:var(--bt-color-text-disabled);background-color:var(--bt-color-background-secondary);border-color:var(--bt-color-border-light)}.bt-date-picker--full-width{width:100%}.bt-date-picker--full-width .bt-date-picker__fields{width:100%}.bt-date-picker--full-width .bt-date-picker__select{flex:1;min-width:0}.bt-file-input{position:relative;display:inline-flex;align-items:center}.bt-file-input:hover .bt-file-input__label{border-color:var(--bt-color-border-light)}.bt-file-input__control{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.bt-file-input__label{border:1px solid var(--bt-color-border);border-radius:var(--bt-radius-md);background:var(--bt-color-background);padding:var(--bt-spacing-sm) var(--bt-spacing-lg);font-family:var(--bt-font-family);font-size:var(--bt-font-size-base);color:var(--bt-color-text-primary);transition:background var(--bt-transition-base),border-color var(--bt-transition-base),box-shadow var(--bt-transition-base)}.bt-file-input__control:focus-visible+.bt-file-input__label{box-shadow:var(--bt-focus-ring);border-color:var(--bt-color-accent)}.bt-file-input--disabled{cursor:not-allowed}.bt-file-input--disabled .bt-file-input__control{cursor:not-allowed}.bt-file-input--disabled .bt-file-input__label{opacity:.6;cursor:not-allowed}.bt-file-input--disabled:hover .bt-file-input__label{border-color:var(--bt-color-border)}@keyframes bt-toast-progress{from{width:100%}to{width:0%}}@keyframes bt-toast-progress-reduced{from{width:0}to{width:0}}.bt-toast-container{position:fixed;top:var(--bt-spacing-16, 16px);right:calc(var(--bt-spacing-16, 16px) + var(--bt-scrollbar-width, 0px));z-index:var(--bt-z-toast);display:flex;flex-direction:column;gap:var(--bt-spacing-8, 8px);pointer-events:none;width:360px;max-width:calc(100vw - var(--bt-spacing-32, 32px))}@media(max-width: 599px){.bt-toast-container{top:auto;bottom:calc(var(--bt-spacing-16, 16px) + var(--bt-bottom-inset, 0px));left:var(--bt-spacing-16, 16px);right:calc(var(--bt-spacing-16, 16px) + var(--bt-scrollbar-width, 0px));width:auto}}.bt-toast{pointer-events:auto;position:relative;overflow:hidden;display:flex;align-items:flex-start;gap:var(--bt-spacing-8, 8px);padding:var(--bt-spacing-12, 12px) var(--bt-spacing-12, 12px) var(--bt-spacing-16, 16px);background:var(--bt-color-bg-solid);border:1px solid var(--bt-color-border-default);border-radius:var(--bt-radius-lg, 12px);box-shadow:var(--bt-elevation-level2);font-family:var(--bt-font-family, "Pretendard", sans-serif);font-size:14px;font-weight:500;color:var(--bt-color-text-heading);line-height:24px;will-change:transform,opacity;transition:opacity .3s linear(0, 0.069, 0.219, 0.39, 0.551, 0.687, 0.793, 0.871, 0.926, 0.963, 0.985, 0.998, 1),transform .3s linear(0, 0.069, 0.219, 0.39, 0.551, 0.687, 0.793, 0.871, 0.926, 0.963, 0.985, 0.998, 1)}.bt-toast[data-state=closed]{opacity:0;transform:translateX(20px)}@starting-style{.bt-toast{opacity:0;transform:translateX(20px)}}@media(prefers-reduced-motion: reduce){.bt-toast{transition:none}}@media(max-width: 599px){.bt-toast{padding:var(--bt-spacing-8, 8px) var(--bt-spacing-12, 12px) var(--bt-spacing-12, 12px);font-size:13px;line-height:20px;border-radius:var(--bt-radius-md, 8px);box-shadow:var(--bt-elevation-level1)}}.bt-toast__live{flex:1;min-width:0;display:flex;align-items:flex-start;gap:var(--bt-spacing-8, 8px)}.bt-toast__icon{flex-shrink:0;margin-top:3px;display:flex}.bt-toast__icon--success{color:var(--bt-color-status-success-on-surface)}.bt-toast__icon--error{color:var(--bt-color-status-error-on-surface)}.bt-toast__icon--warning{color:var(--bt-color-status-warning-graphic)}.bt-toast__icon--info{color:var(--bt-color-status-info-on-surface)}.bt-toast__icon--neutral{color:var(--bt-color-text-body)}@media(max-width: 599px){.bt-toast__icon{margin-top:0}.bt-toast__icon svg{width:16px;height:16px}}.bt-toast__message{flex:1;overflow-wrap:anywhere;word-break:keep-all}.bt-toast__close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:1px;padding:0;border:none;background:none;cursor:pointer;color:var(--bt-color-text-caption);border-radius:var(--bt-radius-sm, 6px);transition:color .1s ease-in-out,background-color .1s ease-in-out}.bt-toast__close:hover{color:var(--bt-color-text-heading);background-color:var(--bt-color-bg-solid-dim)}.bt-toast__close:focus-visible{outline:none;box-shadow:var(--bt-focus-ring)}@media(max-width: 599px){.bt-toast__close{width:18px;height:18px;margin-top:0}}.bt-toast__action{flex-shrink:0;margin-top:-1px;padding:var(--bt-spacing-2, 2px) var(--bt-spacing-8, 8px);border:none;background:none;cursor:pointer;color:var(--bt-color-accent-default);font-family:inherit;font-size:13px;font-weight:600;line-height:20px;border-radius:var(--bt-radius-sm, 6px);transition:color .1s ease-in-out,background-color .1s ease-in-out}.bt-toast__action:hover{color:var(--bt-color-accent-strong);background-color:var(--bt-color-bg-solid-dim)}.bt-toast__action:focus-visible{outline:none;box-shadow:var(--bt-focus-ring)}.bt-toast__progress{position:absolute;bottom:0;left:0;height:3px;border-radius:0 0 0 var(--bt-radius-lg, 12px);animation:bt-toast-progress var(--bt-toast-duration, 3s) linear forwards}.bt-toast__progress--success{background:var(--bt-color-status-success)}.bt-toast__progress--error{background:var(--bt-color-status-error)}.bt-toast__progress--warning{background:var(--bt-color-status-warning-graphic)}.bt-toast__progress--info{background:var(--bt-color-status-info)}.bt-toast__progress--neutral{background:var(--bt-color-text-body)}.bt-toast:hover .bt-toast__progress,.bt-toast:has(:focus-visible) .bt-toast__progress{animation-play-state:paused}@supports not selector(:has(*)){.bt-toast:hover .bt-toast__progress,.bt-toast:focus-within .bt-toast__progress{animation-play-state:paused}}@keyframes bt-inline-alert-enter{from{opacity:0;transform:translateY(calc(-1 * var(--bt-spacing-4, 4px)))}}.bt-inline-alert{display:flex;align-items:flex-start;gap:var(--bt-spacing-12, 12px);padding:var(--bt-spacing-12, 12px) var(--bt-spacing-16, 16px);border:1px solid var(--bt-color-border-subtle);border-radius:var(--bt-radius-md, 8px);font-family:var(--bt-font-family, "Pretendard", sans-serif);color:var(--bt-color-text-body);background:var(--bt-color-status-info-container);animation:bt-inline-alert-enter .2s cubic-bezier(0.16, 1, 0.3, 1)}.bt-inline-alert[hidden]{display:none}.bt-inline-alert__icon{flex-shrink:0;width:18px;height:18px;margin-top:var(--bt-spacing-2, 2px);background-color:currentColor;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>') center/contain no-repeat}.bt-inline-alert__content{display:flex;flex:1;flex-direction:column;gap:var(--bt-spacing-4, 4px);min-width:0}.bt-inline-alert__icon,.bt-inline-alert__title{color:var(--bt-color-status-info-on-container)}.bt-inline-alert__title{font-size:14px;font-weight:500;line-height:20px;letter-spacing:0px;font-weight:600}.bt-inline-alert__message{font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;overflow-wrap:anywhere;word-break:keep-all}.bt-inline-alert__action{display:flex;flex-wrap:wrap;gap:var(--bt-spacing-8, 8px);margin-top:var(--bt-spacing-4, 4px)}.bt-inline-alert--neutral{background:var(--bt-color-bg-solid-dim)}.bt-inline-alert--neutral .bt-inline-alert__icon,.bt-inline-alert--neutral .bt-inline-alert__title{color:var(--bt-color-text-heading)}.bt-inline-alert--info{background:var(--bt-color-status-info-container)}.bt-inline-alert--info .bt-inline-alert__icon,.bt-inline-alert--info .bt-inline-alert__title{color:var(--bt-color-status-info-on-container)}.bt-inline-alert--info .bt-inline-alert__icon{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>')}.bt-inline-alert--success{background:var(--bt-color-status-success-container)}.bt-inline-alert--success .bt-inline-alert__icon,.bt-inline-alert--success .bt-inline-alert__title{color:var(--bt-color-status-success-on-container)}.bt-inline-alert--success .bt-inline-alert__icon{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>')}.bt-inline-alert--warning{background:var(--bt-color-status-warning-container)}.bt-inline-alert--warning .bt-inline-alert__icon,.bt-inline-alert--warning .bt-inline-alert__title{color:var(--bt-color-status-warning-on-container)}.bt-inline-alert--warning .bt-inline-alert__icon{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/></svg>')}.bt-inline-alert--error{background:var(--bt-color-status-error-container)}.bt-inline-alert--error .bt-inline-alert__icon,.bt-inline-alert--error .bt-inline-alert__title{color:var(--bt-color-status-error-on-container)}.bt-inline-alert--error .bt-inline-alert__icon{-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>')}.bt-inline-alert__action :is(.bt-button--outline,.bt-button--tonal):not(:disabled,.bt-button--danger){border-width:1px;border-style:solid;border-color:var(--bt-color-status-info-on-container)}.bt-inline-alert--neutral .bt-inline-alert__action :is(.bt-button--outline,.bt-button--tonal):not(:disabled,.bt-button--danger){border-color:var(--bt-color-text-heading)}.bt-inline-alert--info .bt-inline-alert__action :is(.bt-button--outline,.bt-button--tonal):not(:disabled,.bt-button--danger){border-color:var(--bt-color-status-info-on-container)}.bt-inline-alert--success .bt-inline-alert__action :is(.bt-button--outline,.bt-button--tonal):not(:disabled,.bt-button--danger){border-color:var(--bt-color-status-success-on-container)}.bt-inline-alert--warning .bt-inline-alert__action :is(.bt-button--outline,.bt-button--tonal):not(:disabled,.bt-button--danger){border-color:var(--bt-color-status-warning-on-container)}.bt-inline-alert--error .bt-inline-alert__action :is(.bt-button--outline,.bt-button--tonal):not(:disabled,.bt-button--danger){border-color:var(--bt-color-status-error-on-container)}@media(prefers-reduced-motion: reduce){.bt-inline-alert{animation:none}}.bt-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:3px 10px;border-radius:var(--bt-radius-full, 9999px);font-family:var(--bt-font-family, "Pretendard", sans-serif);font-size:12px;font-weight:600;line-height:1;letter-spacing:.32px;white-space:nowrap;background:var(--bt-color-accent-default);color:var(--bt-color-accent-on-surface)}.bt-badge--soft{background:var(--bt-color-accent-subtle);color:var(--bt-color-accent-default)}.bt-badge--accent{background:var(--bt-color-accent-default);color:var(--bt-color-accent-on-surface)}.bt-badge--accent.bt-badge--soft{background:var(--bt-color-accent-subtle);color:var(--bt-color-accent-default)}.bt-badge--neutral,.bt-badge--neutral.bt-badge--soft{background:var(--bt-color-bg-solid-dim);color:var(--bt-color-text-body)}.bt-badge--info{background:var(--bt-color-status-info);color:var(--bt-color-status-info-on-default)}.bt-badge--info.bt-badge--soft{background:var(--bt-color-status-info-container);color:var(--bt-color-status-info-on-container)}.bt-badge--success{background:var(--bt-color-status-success);color:var(--bt-color-status-success-on-default)}.bt-badge--success.bt-badge--soft{background:var(--bt-color-status-success-container);color:var(--bt-color-status-success-on-container)}.bt-badge--warning{background:var(--bt-color-status-warning);color:var(--bt-color-status-warning-on-default)}.bt-badge--warning.bt-badge--soft{background:var(--bt-color-status-warning-container);color:var(--bt-color-status-warning-on-container)}.bt-badge--error{background:var(--bt-color-status-error);color:var(--bt-color-status-error-on-default)}.bt-badge--error.bt-badge--soft{background:var(--bt-color-status-error-container);color:var(--bt-color-status-error-on-container)}.bt-table-wrap{position:relative;box-sizing:border-box;width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--bt-color-border-hover) rgba(0,0,0,0);border:1px solid var(--bt-color-border-default);border-radius:var(--bt-radius-md, 8px);background:var(--bt-color-bg-solid)}.bt-table-wrap--sticky-header{max-height:100%}.bt-table-wrap--sticky-header .bt-table thead{position:sticky;top:0;z-index:10}.bt-table{width:100%;border-collapse:collapse;font-family:var(--bt-font-family, "Pretendard", sans-serif)}.bt-table thead{background:var(--bt-color-bg-solid-dim);border-bottom:1px solid var(--bt-color-border-default)}.bt-table th{padding:var(--bt-spacing-12, 12px) var(--bt-spacing-16, 16px);text-align:start;color:var(--bt-color-text-heading);white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0px}.bt-table tbody tr{border-bottom:1px solid var(--bt-color-border-default);transition:background-color .1s ease-in-out}.bt-table tbody tr:last-child{border-bottom:none}.bt-table tbody tr:hover{background:var(--bt-color-state-hover-on-light)}.bt-table tbody tr.is-selected{background:var(--bt-color-accent-subtle)}.bt-table tbody tr.is-selected:hover{background:var(--bt-color-accent-muted)}.bt-table td{padding:var(--bt-spacing-12, 12px) var(--bt-spacing-16, 16px);color:var(--bt-color-text-body);vertical-align:middle;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;word-break:keep-all;overflow-wrap:break-word}.bt-table--sm th,.bt-table--sm td{padding:var(--bt-spacing-8, 8px) var(--bt-spacing-12, 12px);font-size:13px;font-weight:400;line-height:18px;letter-spacing:0px}.bt-table--sm th{font-size:13px;font-weight:500;line-height:18px;letter-spacing:0px}.bt-table--lg th,.bt-table--lg td{padding:var(--bt-spacing-16, 16px) var(--bt-spacing-20, 20px)}.bt-table--lg th{font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}.bt-table--lg td{font-size:15px;font-weight:400;line-height:22.5px;letter-spacing:0px}.bt-table--fixed{table-layout:fixed;min-width:var(--bt-table-min-width, 0)}.bt-table--fixed td{overflow-wrap:anywhere}.bt-table__truncate{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bt-table__empty{padding:var(--bt-spacing-40, 40px) var(--bt-spacing-16, 16px);text-align:center;color:var(--bt-color-text-caption);font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media(max-width: 599px){.bt-table--cards{min-width:0}.bt-table--cards thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-table--cards,.bt-table--cards tbody,.bt-table--cards tr,.bt-table--cards td{display:block}.bt-table--cards tbody tr{padding:var(--bt-spacing-12, 12px) var(--bt-spacing-16, 16px)}.bt-table--cards td{width:auto;padding:var(--bt-spacing-2, 2px) 0;text-align:start}.bt-table--cards td[data-label]::before{content:attr(data-label);display:block;color:var(--bt-color-text-caption);font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}.bt-table--cards .bt-table__truncate{white-space:normal;overflow-wrap:anywhere}}@media(prefers-reduced-motion: reduce){.bt-table tbody tr{transition:none}}.bt-hidden{display:none !important}.bt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-sr-only-focusable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.bt-sr-only-focusable:focus-visible{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active,textarea:-webkit-autofill,select:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset;box-shadow:0 0 0 1000px var(--bt-color-background) inset;-webkit-text-fill-color:var(--bt-color-text-primary);caret-color:var(--bt-color-text-primary)}.bt-text-field__input--filled:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset;box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset}.bt-text-field__input--filled:-webkit-autofill:focus-visible{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset;box-shadow:0 0 0 1000px var(--bt-color-background) inset}.bt-text-field__input--error:-webkit-autofill:focus-visible{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-error);box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-error)}.bt-text-field__input--success:-webkit-autofill:focus-visible{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-success);box-shadow:0 0 0 1000px var(--bt-color-background) inset,var(--bt-focus-ring-success)}input:-webkit-autofill:disabled,textarea:-webkit-autofill:disabled,select:-webkit-autofill:disabled{-webkit-box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset;box-shadow:0 0 0 1000px var(--bt-color-background-secondary) inset;-webkit-text-fill-color:var(--bt-color-text-tertiary)}@media(prefers-reduced-motion: reduce){:root{--bt-transition-fast: 0s;--bt-transition-base: 0s;--bt-transition-slow: 0s}.bt-alert__overlay,.bt-alert__modal,.bt-alert__overlay.is-closing,.bt-alert__overlay.is-closing .bt-alert__modal{animation:none}.bt-toast__progress{animation-name:bt-toast-progress-reduced;width:0}.bt-card--interactive:hover{transform:none}.bt-spinner{animation-duration:2.4s}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
(function(){'use strict';/**
|
|
1
|
+
var Bigtablet=(function(exports){'use strict';function N(n="bt"){return `${n}_${Math.random().toString(36).substring(2,9)}`}function T(n){return String(n).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function k(n,i,t,a){return n.addEventListener(i,t,a),()=>n.removeEventListener(i,t,a)}function P(n,i=document){return i.querySelector(n)}function E(n,i=document){return Array.from(i.querySelectorAll(n))}var V=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"]):not(input[type="hidden"])'].join(", ");function oe(){let n=document.createElement("div");n.style.cssText="position:fixed;top:0;left:0;right:0;height:0;visibility:hidden;pointer-events:none",document.documentElement.appendChild(n);let i=n.getBoundingClientRect().width;return n.remove(),i<=0?0:Math.max(0,window.innerWidth-i)}function D(n){if(n!==void 0)return n!=="false"}async function qe(n){let i;if(typeof navigator<"u"&&navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(n);return}catch(t){i=t;}if(!Re(n))throw i??new Error("Copy command was rejected")}function Re(n){let i=document.activeElement,t=document.getSelection(),a=t?Array.from({length:t.rangeCount},(o,v)=>t.getRangeAt(v).cloneRange()):[],l=document.createElement("textarea");l.value=n,l.setAttribute("readonly",""),l.style.cssText="position:fixed;top:0;left:-9999px;opacity:0;font-size:12pt",document.body.appendChild(l);let b=false;try{l.select();try{l.setSelectionRange(0,n.length);}catch{}b=document.execCommand("copy");}catch{b=false;}finally{if(l.remove(),i?.focus?.({preventScroll:true}),t){t.removeAllRanges();for(let o of a)t.addRange(o);}}return b}function ie(n,i={}){let t=typeof n=="string"?P(n):n;if(!t)return null;t._btCopyButton?.destroy();let a=P("[data-copy-label]",t)||t,l={label:t.dataset.label||a.textContent.trim()||"\uBCF5\uC0AC",copiedLabel:t.dataset.copiedLabel||"\uBCF5\uC0AC\uB428",failedLabel:t.dataset.failedLabel||"\uBCF5\uC0AC\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",resetAfter:2e3,onCopy:null,onError:null,...i};t.tagName==="BUTTON"&&!t.hasAttribute("type")&&t.setAttribute("type","button"),t.setAttribute("aria-label",l.label),a.textContent=l.label;let b=document.createElement("span");b.className="bt-sr-only",b.setAttribute("role","status"),t.insertAdjacentElement("afterend",b);let o,v=0;function c(s,p){t.dataset.state=s?"copied":"idle",a.textContent=s?l.copiedLabel:l.label,b.textContent=p;}function d(s,p){try{s?.(p);}catch(y){(globalThis.reportError??console.error)(y);}}async function m(){let s=++v;clearTimeout(o);let p,y;try{let u=l.text??t.dataset.btCopy??"";p=typeof u=="function"?u():String(u),await qe(p);}catch(u){y=u;}if(s!==v)return;let $=y===void 0;c($,$?l.copiedLabel:l.failedLabel),l.resetAfter>0&&(o=setTimeout(()=>c(false,""),l.resetAfter)),$?d(l.onCopy,p):d(l.onError,y);}let C=k(t,"click",()=>{m();}),x={copy:m,destroy:()=>{C(),v++,clearTimeout(o),a.textContent=l.label,delete t.dataset.state,b.remove(),t._btCopyButton===x&&delete t._btCopyButton;}};return t._btCopyButton=x,x}function we(n){return String(n).toLowerCase().replace(/\s+/g,"")}var re=44032,Ve=55203,Ue="\u3131\u3132\u3134\u3137\u3138\u3139\u3141\u3142\u3143\u3145\u3146\u3147\u3148\u3149\u314A\u314B\u314C\u314D\u314E",Je=" \u3131\u3132 \u3134 \u3137\u3139 \u3141\u3142 \u3145\u3146\u3147\u3148\u314A\u314B\u314C\u314D\u314E";function se(n){let i=n.charCodeAt(0);return i>=re&&i<=Ve?i-re:-1}function Fe(n,i,t){if(n===i)return true;let a=se(i);if(a<0)return false;let l=Ue.indexOf(n);if(l>=0)return Math.floor(a/588)===l;let b=se(n);return t&&b>=0&&b%28===0&&a-a%28===b}function Ae(n,i){for(let t=0;t+i.length<=n.length;t++){let a=true;for(let l=0;l<i.length&&a;l++)a=Fe(i.charAt(l),n.charAt(t+l),l===i.length-1);if(a)return true}return false}function Oe(n,i){let t=we(n),a=we(i);if(a===""||Ae(t,a))return true;let l=se(a.charAt(a.length-1)),b=l>=0?Je.charAt(l%28).trim():"";if(!b)return false;let o=String.fromCharCode(re+l-l%28);return Ae(t,a.slice(0,-1)+o+b)}var je='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>',Ge='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>';function le(n,i={}){let t=typeof n=="string"?P(n):n;if(!t)return null;t._btDropdown?.destroy();let a={placeholder:"\uC120\uD0DD\u2026",disabled:false,multiple:false,searchable:false,searchPlaceholder:"\uAC80\uC0C9\u2026",emptyText:"\uACB0\uACFC \uC5C6\uC74C",selectedSummary:e=>`${e}\uAC1C \uC120\uD0DD`,onValueChange:null,...i};if(i.multiple===void 0){let e=D(t.dataset.multiple);e!==void 0&&(a.multiple=e);}if(i.searchable===void 0){let e=D(t.dataset.searchable);e!==void 0&&(a.searchable=e);}if(i.searchPlaceholder===void 0&&t.dataset.searchPlaceholder&&(a.searchPlaceholder=t.dataset.searchPlaceholder),i.emptyText===void 0&&t.dataset.emptyText&&(a.emptyText=t.dataset.emptyText),i.placeholder===void 0&&t.dataset.placeholder)a.placeholder=t.dataset.placeholder;else if(i.placeholder===void 0){let e=t.querySelector(".bt-dropdown__placeholder")?.textContent.trim();e&&(a.placeholder=e);}let l=a.multiple===true,b=a.searchable===true,o={isOpen:false,value:null,values:[],activeIndex:-1,options:[],visible:[],committedQuery:""},v=t.id||N("dropdown"),c=t.querySelector(".bt-dropdown__control"),d=t.querySelector(".bt-dropdown__list");if(!c||!d)return console.warn("Dropdown: Missing required elements (.bt-dropdown__control, .bt-dropdown__list)"),null;let m=d.querySelector(".bt-dropdown__options");if(!m)if(b){let e=d,r=Array.from(e.classList).filter(S=>S.startsWith("bt-dropdown__list")),f=document.createElement("div");f.className=r.join(" "),e.classList.remove(...r),e.classList.add("bt-dropdown__options"),e.style.display="",e.parentNode.insertBefore(f,e),f.appendChild(e),m=e,d=f;}else m=d;(c.disabled||c.classList.contains("is-disabled"))&&(a.disabled=true),c.disabled=a.disabled,c.setAttribute("aria-disabled",a.disabled?"true":"false"),c.classList.toggle("is-disabled",a.disabled);let C=()=>E(".bt-dropdown__option",m).map(e=>({value:e.dataset.value!==void 0?e.dataset.value:e.textContent.trim(),label:e.textContent.trim(),disabled:e.classList.contains("is-disabled")})),x;if(t.dataset.options)try{let e=JSON.parse(t.dataset.options);Array.isArray(e)?x=e:console.warn("Dropdown: data-options is not a JSON array");}catch(e){console.warn("Dropdown: invalid JSON in data-options",e);}x===void 0&&(x=Array.isArray(a.options)?a.options:C()),o.options=x;let s=E(".bt-dropdown__option",m);if(s.length===0&&o.options.length>0){let e=m.tagName==="UL"||m.tagName==="OL"?"li":"div";o.options.forEach(r=>{let f=document.createElement(e);f.className="bt-dropdown__option",r.disabled&&f.classList.add("is-disabled"),f.dataset.value=r.value,f.textContent=r.label,m.appendChild(f);}),s=E(".bt-dropdown__option",m);}if(m.id=m.id||`${v}_listbox`,m.setAttribute("role","listbox"),l&&m.setAttribute("aria-multiselectable","true"),c.setAttribute("aria-haspopup","listbox"),c.setAttribute("aria-expanded","false"),c.setAttribute("aria-controls",m.id),c.setAttribute("role","combobox"),!c.hasAttribute("aria-labelledby")&&!c.hasAttribute("aria-label")){c.id=c.id||`${v}_control`;let e=c.labels?.[0];e&&(e.id=e.id||`${v}_label`);let r=c.querySelector(".bt-dropdown__value, .bt-dropdown__placeholder");r&&(r.id=r.id||`${v}_value`);let f=[e?.id,r?.id].filter(Boolean).join(" ");f&&c.setAttribute("aria-labelledby",f);}s.forEach((e,r)=>{if(e.id=e.id||`${v}_option_${r}`,e.setAttribute("role","option"),e.setAttribute("aria-selected","false"),o.options[r]?.disabled&&e.setAttribute("aria-disabled","true"),l&&!e.querySelector(".bt-dropdown__option-check")){let f=document.createElement("span");f.className="bt-dropdown__option-check",f.setAttribute("aria-hidden","true"),f.innerHTML=Ge,e.insertBefore(f,e.firstChild);}});let p=null,y=null;if(b){let e=d.querySelector(".bt-dropdown__search");if(!e){e=document.createElement("div"),e.className="bt-dropdown__search";let r=document.createElement("span");r.className="bt-dropdown__search-icon",r.setAttribute("aria-hidden","true"),r.innerHTML=je,e.appendChild(r),d.insertBefore(e,d.firstChild);}if(p=e.querySelector(".bt-dropdown__search-input"),p||(p=document.createElement("input"),p.type="text",p.className="bt-dropdown__search-input",p.autocomplete="off",e.appendChild(p)),p.placeholder=a.searchPlaceholder,p.setAttribute("aria-label",a.searchPlaceholder),p.setAttribute("role","combobox"),p.setAttribute("aria-autocomplete","list"),p.setAttribute("aria-expanded","false"),p.setAttribute("aria-controls",m.id),y=m.querySelector(".bt-dropdown__empty"),!y){let r=m.tagName==="UL"||m.tagName==="OL"?"li":"div";y=document.createElement(r),y.className="bt-dropdown__empty",m.appendChild(y);}y.setAttribute("role","presentation"),y.textContent=a.emptyText,y.hidden=true;}let $=()=>b?p:c,u=E('input[type="hidden"]',t),w=a.name||t.dataset.name||u[0]?.name||null;if(u.length===0&&w){let e=document.createElement("input");e.type="hidden",e.name=w,t.appendChild(e),u.push(e);}function h(){if(!w)return;let e=l?o.values.map(r=>r==null?"":String(r)):[o.value==null?"":String(o.value)];for(;u.length>e.length;)u.pop().remove();for(;u.length<e.length;){let r=document.createElement("input");r.type="hidden",r.name=w,t.appendChild(r),u.push(r);}u.forEach((r,f)=>{r.value=e[f],r.disabled=a.disabled;});}function A(e){if(e!=null)return o.options.find(r=>String(r.value)===String(e))}function g(e){return e===void 0?false:l?o.values.some(r=>String(r)===String(e)):o.value!=null&&String(o.value)===String(e)}function L(){return o.values.map(A).filter(Boolean)}function _(){let e=c.querySelector(".bt-dropdown__value, .bt-dropdown__placeholder");if(e){let r=a.placeholder,f=false;if(l)f=o.values.length>0,f&&(r=a.selectedSummary(o.values.length));else {let S=A(o.value);f=!!S,S&&(r=S.label);}e.textContent=r,e.classList.toggle("bt-dropdown__value",f),e.classList.toggle("bt-dropdown__placeholder",!f);}s.forEach((r,f)=>{let S=g(o.options[f]?.value);r.classList.toggle("is-selected",S),r.setAttribute("aria-selected",S?"true":"false");}),h();}function O(e){l?o.values=e==null?[]:Array.isArray(e)?e.slice():[e]:o.value=Array.isArray(e)?e[0]??null:e,_();}function Z(e){O(e),a.onValueChange&&(l?a.onValueChange(o.values.slice(),L()):a.onValueChange(o.value,A(o.value)??null));}function ke(e){let r=g(e.value)?o.values.filter(f=>String(f)!==String(e.value)):[...o.values,e.value];Z(r);}function F(){let e=null,r=null;s.forEach((S,q)=>{let R=q===o.activeIndex;S.classList.toggle("is-active",R),R&&(e=S.id,r=S);}),r?.scrollIntoView?.({block:"nearest"});let f=$();f&&(e?f.setAttribute("aria-activedescendant",e):f.removeAttribute("aria-activedescendant"));}function pe(){return o.visible.find(e=>!o.options[e]?.disabled)??-1}function G(){let e=b?o.committedQuery:"";o.visible=[],s.forEach((r,f)=>{let S=o.options[f]?.label??r.textContent,q=Oe(S,e);r.hidden=!q,q&&o.visible.push(f);}),y&&(y.hidden=o.visible.length>0),o.isOpen?o.visible.includes(o.activeIndex)||(o.activeIndex=pe()):o.activeIndex=-1,F();}let H=null,W=null;function fe(){H||(H={parent:d.parentNode,next:d.nextSibling},document.body.appendChild(d));let e=c.getBoundingClientRect(),r=4,f=8,S=window.innerWidth-f*2;d.style.minWidth=`${Math.min(e.width,S)}px`,d.style.maxWidth=`${S}px`;let q=d.offsetWidth,R=window.innerHeight-f*2;d.style.maxHeight="";let ye=d.offsetHeight,ae=Math.min(ye,R);ye>R&&(d.style.maxHeight=`${R}px`);let _e=window.innerHeight-e.bottom-r-f,Be=e.top-r-f,xe=ae>_e&&Be>_e;d.classList.toggle("bt-dropdown__list--up",xe),d.style.left=`${be(e.left,q,window.innerWidth,f)}px`;let He=xe?e.top-r-ae:e.bottom+r;d.style.top=`${be(He,ae,window.innerHeight,f)}px`;}function be(e,r,f,S){return Math.max(S,Math.min(e,f-S-r))}function $e(){if(W)return;let e=0,r=()=>{e||(e=requestAnimationFrame(()=>{e=0,o.isOpen&&fe();}));};window.addEventListener("scroll",r,true),window.addEventListener("resize",r),W=()=>{e&&cancelAnimationFrame(e),window.removeEventListener("scroll",r,true),window.removeEventListener("resize",r),W=null;};}function me(){W?.(),H&&(H.parent?.insertBefore(d,H.next),H=null,d.style.left="",d.style.top="",d.style.minWidth="",d.style.maxWidth="",d.style.maxHeight="");}function I(){if(a.disabled||c.disabled)return;o.isOpen=true,c.classList.add("is-open"),c.setAttribute("aria-expanded","true"),d.style.display="block",p&&p.setAttribute("aria-expanded","true"),fe(),$e(),o.activeIndex=o.options.findIndex(r=>g(r.value)&&!r.disabled),G(),p&&p.focus();let e=c.querySelector(".bt-dropdown__icon");e&&e.classList.add("is-open");}function M(){o.isOpen=false,c.classList.remove("is-open"),c.setAttribute("aria-expanded","false"),c.removeAttribute("aria-activedescendant"),d.style.display="none",me(),p&&(p.value="",p.setAttribute("aria-expanded","false"),p.removeAttribute("aria-activedescendant")),o.committedQuery="",o.activeIndex=-1,G();let e=c.querySelector(".bt-dropdown__icon");e&&e.classList.remove("is-open");}function ee(){let e=o.isOpen;M(),e&&b&&c.focus();}function ge(){o.isOpen?M():I();}function X(e){let r=o.visible.filter(S=>!o.options[S]?.disabled);if(r.length===0)return;let f=r.indexOf(o.activeIndex);o.activeIndex=f===-1?e===1?r[0]:r[r.length-1]:r[(f+e+r.length)%r.length],F();}function he(e){if(a.disabled)return;let r=o.options[e];!r||r.disabled||(l?ke(r):(Z(r.value),ee()));}function ve(){o.visible.includes(o.activeIndex)&&he(o.activeIndex);}function Te(e){e.preventDefault(),ge();}function Pe(e){if(!a.disabled)switch(e.key){case " ":case "Enter":e.preventDefault(),o.isOpen?ve():I();break;case "ArrowDown":e.preventDefault(),o.isOpen?X(1):I();break;case "ArrowUp":e.preventDefault(),o.isOpen?X(-1):I();break;case "Home":e.preventDefault(),I(),o.activeIndex=pe(),F();break;case "End":e.preventDefault(),I();for(let r=o.visible.length-1;r>=0;r--)if(!o.options[o.visible[r]]?.disabled){o.activeIndex=o.visible[r],F();break}break;case "Escape":if(!o.isOpen)break;e.preventDefault(),M();break;case "Tab":M();break}}function Me(e){if(!(e.isComposing||e.keyCode===229))switch(e.key){case "ArrowDown":e.preventDefault(),X(1);break;case "ArrowUp":e.preventDefault(),X(-1);break;case "Enter":e.preventDefault(),ve();break;case "Escape":e.preventDefault(),ee();break;case "Tab":ee();break}}function Ne(e){o.isOpen&&!t.contains(e.target)&&!d.contains(e.target)&&M();}function Ie(e){return r=>{r.preventDefault(),he(e);}}function De(e){return ()=>{o.options[e]?.disabled||(o.activeIndex=e,F());}}let j=[k(c,"click",Te),k(c,"keydown",Pe),k(document,"mousedown",Ne)];s.forEach((e,r)=>{j.push(k(e,"click",Ie(r))),j.push(k(e,"mouseenter",De(r)));}),p&&(j.push(k(p,"input",e=>{o.committedQuery=e.target.value,G();})),j.push(k(p,"keydown",Me)));let te=u.map(e=>e.value).filter(e=>e!=="");if(d.style.display="none",G(),_(),l){let e=Array.isArray(a.defaultValue)?a.defaultValue:a.defaultValue!=null?[a.defaultValue]:te;e.length>0&&O(e);}else a.defaultValue!=null?O(a.defaultValue):te[0]&&O(te[0]);let ne={getValue:()=>l?o.values.slice():o.value,setValue:Z,open:I,close:M,toggle:ge,setDisabled:e=>{a.disabled=e,c.disabled=e,c.setAttribute("aria-disabled",e?"true":"false"),c.classList.toggle("is-disabled",e),e&&o.isOpen&&M(),h();},destroy:()=>{o.isOpen?M():me(),j.forEach(e=>{e();}),t._btDropdown===ne&&delete t._btDropdown;}};return t._btDropdown=ne,ne}var B=[];function Ee(n){if(n.key!=="Escape"||n.defaultPrevented)return;let i=B[B.length-1];i&&(n.stopImmediatePropagation(),i());}function Ce(){}function K(n){B.length===0&&document.addEventListener("keydown",Ee),B.push(n);let i=false;return ()=>{if(i)return;i=true;let t=B.lastIndexOf(n);t!==-1&&B.splice(t,1),B.length===0&&document.removeEventListener("keydown",Ee);}}function Se(n,i){let t=i.dataset.btOriginalScrollbarWidthVar;t?n.style.setProperty("--bt-scrollbar-width",t):n.style.removeProperty("--bt-scrollbar-width");}function Y(){let n=document.body,i=document.documentElement,t=parseInt(n.dataset.btOpenModals||"0",10);if(t===0){let a=oe();if(n.dataset.btOriginalOverflow=n.style.overflow,n.dataset.btOriginalOverflowX=n.style.overflowX,n.dataset.btOriginalOverflowY=n.style.overflowY,n.dataset.btOriginalHtmlOverflow=i.style.overflow,n.dataset.btOriginalHtmlOverflowX=i.style.overflowX,n.dataset.btOriginalHtmlOverflowY=i.style.overflowY,n.dataset.btOriginalGutter=i.style.scrollbarGutter,n.dataset.btOriginalPaddingRight=n.style.paddingRight,n.dataset.btOriginalScrollbarWidthVar=i.style.getPropertyValue("--bt-scrollbar-width"),a>0&&i.style.setProperty("--bt-scrollbar-width",`${a}px`),n.style.overflow="hidden",i.style.overflow="hidden",a>0){i.style.scrollbarGutter="auto";let l=parseFloat(window.getComputedStyle(n).paddingRight)||0;n.style.paddingRight=`${l+a}px`,oe()>0&&(n.style.paddingRight=n.dataset.btOriginalPaddingRight||"",Se(i,n));}i.setAttribute("data-bt-scroll-locked","");}n.dataset.btOpenModals=String(t+1);}function z(){let n=document.body,i=document.documentElement,t=parseInt(n.dataset.btOpenModals||"1",10)-1;t<=0?(n.style.overflow=n.dataset.btOriginalOverflow||"",n.style.overflowX=n.dataset.btOriginalOverflowX||"",n.style.overflowY=n.dataset.btOriginalOverflowY||"",i.style.overflow=n.dataset.btOriginalHtmlOverflow||"",i.style.overflowX=n.dataset.btOriginalHtmlOverflowX||"",i.style.overflowY=n.dataset.btOriginalHtmlOverflowY||"",n.style.paddingRight=n.dataset.btOriginalPaddingRight||"",i.style.scrollbarGutter=n.dataset.btOriginalGutter||"",i.removeAttribute("data-bt-scroll-locked"),Se(i,n),delete n.dataset.btOpenModals,delete n.dataset.btOriginalOverflow,delete n.dataset.btOriginalOverflowX,delete n.dataset.btOriginalOverflowY,delete n.dataset.btOriginalHtmlOverflow,delete n.dataset.btOriginalHtmlOverflowX,delete n.dataset.btOriginalHtmlOverflowY,delete n.dataset.btOriginalGutter,delete n.dataset.btOriginalPaddingRight,delete n.dataset.btOriginalScrollbarWidthVar):n.dataset.btOpenModals=String(t);}function U(n,i){let t=n.flatMap(a=>a?.getAnimations?.()??[]);t.length===0?i():Promise.allSettled(t.map(a=>a.finished)).then(i);}function ce(n,i={}){let t=typeof n=="string"?P(n):n;if(!t)return null;let a=t._btModal?.isOpen()??t.classList.contains("is-open");t._btModal?.destroy();let l={closeOnOverlay:true,closeOnEscape:true,onOpen:null,onClose:null,onExited:null,...i},b={isOpen:false},o=t.querySelector(".bt-modal__panel"),v=null,c=false,d=null,m=false,C=0,x=true;if(o&&(o.setAttribute("role","dialog"),o.setAttribute("aria-modal","true"),!o.hasAttribute("aria-label")&&!o.hasAttribute("aria-labelledby"))){let g=o.querySelector(".bt-modal__header");g?(g.id=g.id||N("modal_title"),o.setAttribute("aria-labelledby",g.id)):console.warn("Modal: no accessible name - add .bt-modal__header or aria-label on .bt-modal__panel");}function s(){if(!b.isOpen){if(b.isOpen=true,C++,t.removeAttribute("inert"),delete t.dataset.state,o&&delete o.dataset.state,t.classList.add("is-open"),m||(Y(),m=true),d=K(l.closeOnEscape?$:Ce),v=document.activeElement,o){let g=o.querySelector(".bt-modal__body")?.querySelector(V)||o.querySelector(V);g?g.focus():(o.hasAttribute("tabindex")||(o.setAttribute("tabindex","-1"),c=true),o.focus());}l.onOpen&&(x?queueMicrotask(()=>{b.isOpen&&l.onOpen();}):l.onOpen());}}function p(){t.classList.remove("is-open"),delete t.dataset.state,o&&delete o.dataset.state,t.removeAttribute("inert"),m&&(z(),m=false);}function y(g){if(b.isOpen=false,d&&(d(),d=null),c&&o&&(o.removeAttribute("tabindex"),c=false),v&&typeof v.focus=="function"&&v.focus(),v=null,!g){C++,p();return}t.dataset.state="closed",o&&(o.dataset.state="closed"),t.setAttribute("inert","");let L=++C;U([t,o],()=>{L===C&&(p(),l.onExited&&l.onExited());});}function $(){b.isOpen&&(y(true),l.onClose&&l.onClose());}function u(g){l.closeOnOverlay&&g.target===t&&$();}function w(g){if(b.isOpen&&g.key==="Tab"&&o){let L=E(V,o);if(L.length===0){g.preventDefault();return}let _=L[0],O=L[L.length-1];g.shiftKey&&document.activeElement===_?(g.preventDefault(),O.focus()):!g.shiftKey&&document.activeElement===O&&(g.preventDefault(),_.focus());}}let h=[k(t,"click",u),k(document,"keydown",w)];E("[data-modal-close]",t).forEach(g=>{h.push(k(g,"click",$));});let A={isOpen:()=>b.isOpen,open:s,close:$,toggle:()=>b.isOpen?$():s(),destroy:()=>{h.forEach(g=>{g();}),b.isOpen?y(false):m&&(C++,p()),t._btModal===A&&delete t._btModal;}};return t._btModal=A,a&&s(),x=false,A}function de(n,i={}){let t=typeof n=="string"?P(n):n;if(!t)return null;let a={page:1,totalPages:1,sibling:2,onPageChange:null,href:null,prevLabel:"\uC774\uC804 \uD398\uC774\uC9C0",nextLabel:"\uB2E4\uC74C \uD398\uC774\uC9C0",navLabel:"\uD398\uC774\uC9C0 \uC774\uB3D9",showPageJump:false,pageJumpLabel:"\uD604\uC7AC {page}\uCABD - \uC774\uB3D9\uD560 \uCABD \uBC88\uD638 (1\u2013{total})",...i},l=u=>Number.isFinite(u)?Math.max(1,Math.floor(u)):1,b=u=>Math.min(l(u),a.totalPages);if(a.totalPages=l(a.totalPages),a.page=b(a.page),!t.hasAttribute("aria-label")&&!t.hasAttribute("aria-labelledby")&&t.setAttribute("aria-label",a.navLabel),a.href){let u="";try{u=new URL(a.href,document.baseURI).protocol;}catch{}u!=="http:"&&u!=="https:"&&(a.href=null);}let o=u=>a.href.replace(/\{page\}|%7Bpage%7D/gi,String(u));function v(u,w,h,A){return a.href&&!w?`<a href="${T(o(u))}" ${h}>${A}</a>`:`<button type="button" ${w?"disabled":""} ${h}>${A}</button>`}function c(u,w){let h=[];for(let A=u;A<=w;A++)h.push(A);return h}function d(u,w){if(w<=7)return c(1,w);let h=[],A=w,g=a.sibling;if(u<=g+2){for(let L of c(1,g+3))h.push(L);return h.push("ellipsis"),h.push(A),h}if(u>=A-g-1){h.push(1),h.push("ellipsis");for(let L of c(A-g-2,A))h.push(L);return h}h.push(1),h.push("ellipsis");for(let L of c(u-g,u+g))h.push(L);return h.push("ellipsis"),h.push(A),h}function m(){let u=d(a.page,a.totalPages),w=t.contains(document.activeElement)?document.activeElement:null,h=w?.dataset.action,A=v(a.page-1,a.page<=1,`class="bt-pagination__item" data-action="prev" aria-label="${T(a.prevLabel)}"`,"\u2039");if(A+='<div class="bt-pagination__pages">',u.forEach(_=>{if(_==="ellipsis")A+='<span class="bt-pagination__ellipsis" aria-hidden="true">\u2026</span>';else if(_===a.page&&a.showPageJump){let O=String(a.pageJumpLabel).replace("{page}",String(a.page)).replace("{total}",String(a.totalPages));A+=`<input type="text" inputmode="numeric" class="bt-pagination__page-input" data-action="jump-input" aria-current="page" value="${a.page}" size="${String(a.page).length}" aria-label="${T(O)}">`;}else {let O=_===a.page;A+=v(_,false,`class="bt-pagination__page${O?" bt-pagination__page--active":""}" data-page="${T(_)}"${O?' aria-current="page"':""}`,T(_));}}),A+="</div>",A+=v(a.page+1,a.page>=a.totalPages,`class="bt-pagination__item" data-action="next" aria-label="${T(a.nextLabel)}"`,"\u203A"),t.innerHTML=A,w){let _=t.querySelector('[aria-current="page"]'),O=h?t.querySelector(`[data-action="${h}"]`):_;(O&&!O.disabled?O:_)?.focus();}if(a.showPageJump){let _=t.querySelector('[data-action="jump-input"]');_.addEventListener("focus",()=>_.select()),_.addEventListener("input",()=>{_.size=Math.max(1,_.value.length),x(_,false);}),_.addEventListener("keydown",O=>{if(O.key==="Escape"){s(_);return}O.key!=="Enter"||O.isComposing||O.keyCode===229||(O.preventDefault(),p(_));}),_.addEventListener("blur",()=>s(_));}if(a.href)return;E("[data-page]",t).forEach(_=>{_.addEventListener("click",()=>{let O=parseInt(_.dataset.page,10);y(O);});});let g=t.querySelector('[data-action="prev"]'),L=t.querySelector('[data-action="next"]');g&&g.addEventListener("click",()=>y(a.page-1)),L&&L.addEventListener("click",()=>y(a.page+1));}function C(u){let w=String(u).replace(/[\s,]/g,"");return /^\d+$/.test(w)?Math.min(Math.max(1,Number(w)),Math.max(1,a.totalPages)):null}function x(u,w){u.classList.toggle("bt-pagination__page-input--invalid",w),w?u.setAttribute("aria-invalid","true"):u.removeAttribute("aria-invalid");}function s(u){u.value=String(a.page),u.size=u.value.length,x(u,false);}function p(u){let w=C(u.value);if(w===null){x(u,true);return}if(w===a.page){s(u);return}if(a.href){let h=document.createElement("a");h.href=o(w),h.hidden=true,t.appendChild(h),h.click(),h.remove();}else y(w);}function y(u){u<1||u>a.totalPages||u===a.page||(a.page=u,m(),a.onPageChange&&!a.href&&a.onPageChange(u));}function $(u){a.totalPages=l(u),a.page=b(a.page),m();}return m(),{getPage:()=>a.page,setPage:y,setTotalPages:$,render:m}}function ue(n,i={}){let t=typeof n=="string"?P(n):n;if(!t)return null;t._btToggle?.destroy();let a={defaultChecked:false,disabled:false,onCheckedChange:null,...i},l=a.controlled??D(t.dataset.controlled)??false,b=false,o={checked:a.defaultChecked||t.classList.contains("bt-toggle--on")};t.disabled&&(a.disabled=true),t.disabled=a.disabled,t.hasAttribute("role")||t.setAttribute("role","switch"),t.tagName==="BUTTON"&&!t.hasAttribute("type")&&t.setAttribute("type","button");let v=a.name||t.dataset.name||null,c=t.querySelector('input[type="hidden"]')||(v&&t.parentNode?Array.from(t.parentNode.children).find(s=>s.tagName==="INPUT"&&s.type==="hidden"&&s.name===v):null);!c&&v&&(c=document.createElement("input"),c.type="hidden",c.name=v,t.tagName==="BUTTON"&&t.parentNode?t.parentNode.insertBefore(c,t.nextSibling):t.appendChild(c));function d(s){o.checked=s,t.classList.toggle("bt-toggle--on",s),t.setAttribute("aria-checked",s?"true":"false"),c&&(c.value=s?"true":"false"),!l&&a.onCheckedChange&&a.onCheckedChange(s);}function m(){if(a.disabled||t.disabled||b)return;if(!l){d(!o.checked);return}let s=a.onCheckedChange?.(!o.checked);if(s&&typeof s.then=="function"){b=true,t.setAttribute("aria-busy","true");let p=()=>{b=false,t.removeAttribute("aria-busy");};s.then(p,y=>{p(),(globalThis.reportError??console.error)(y);});}}let C=k(t,"click",m);if(c&&!o.checked){let s=String(c.value).trim().toLowerCase();(s==="true"||s==="1"||s==="on"||s==="y"||s==="yes")&&(o.checked=true);}t.classList.toggle("bt-toggle--on",o.checked),t.setAttribute("aria-checked",o.checked?"true":"false"),c&&(c.value=o.checked?"true":"false");let x={isChecked:()=>o.checked,setChecked:d,toggle:m,setDisabled:s=>{a.disabled=s,t.disabled=s;},destroy:()=>{C(),t._btToggle===x&&delete t._btToggle;}};return t._btToggle=x,x}function Q(){E("[data-bt-copy]").forEach(n=>{n._btCopyButton||ie(n);}),E("[data-bt-dropdown]").forEach(n=>{n._btDropdown||(n._btDropdown=le(n));}),E("[data-bt-modal]").forEach(n=>{n._btModal||(n._btModal=ce(n));}),E("[data-bt-modal-open]").forEach(n=>{if(n.dataset.btBound)return;let i=document.getElementById(n.dataset.btModalOpen);i?._btModal&&(n.dataset.btBound="true",n.addEventListener("click",()=>i._btModal.open()));}),E("[data-bt-toggle]").forEach(n=>{n._btToggle||(n._btToggle=ue(n));}),E("[data-bt-pagination]").forEach(n=>{if(!n._btPagination){let i=parseInt(n.dataset.page,10)||1,t=parseInt(n.dataset.totalPages,10)||1,a=n.dataset.href||null,l={};n.dataset.prevLabel&&(l.prevLabel=n.dataset.prevLabel),n.dataset.nextLabel&&(l.nextLabel=n.dataset.nextLabel),n.dataset.navLabel&&(l.navLabel=n.dataset.navLabel),D(n.dataset.pageJump)&&(l.showPageJump=true),n.dataset.pageJumpLabel&&(l.pageJumpLabel=n.dataset.pageJumpLabel),n._btPagination=de(n,{page:i,totalPages:t,href:a,...l});}});}var We="bt-button--filled",Xe="bt-button--outline";function Ke(n={}){let i={title:"",message:"",tone:"info",confirmText:"\uD655\uC778",cancelText:"\uCDE8\uC18C",showCancel:false,destructive:false,actionsAlign:"right",closeOnOverlay:true,onConfirm:null,onCancel:null,...n},t=document.createElement("div");t.className=`bt-alert__overlay bt-alert--${i.tone??"info"} is-open`,t.innerHTML=`
|
|
2
|
+
<div class="bt-alert__modal">
|
|
3
|
+
${i.title?`<div class="bt-alert__title">${T(i.title)}</div>`:""}
|
|
4
|
+
<div class="bt-alert__message">${T(i.message)}</div>
|
|
5
|
+
<div class="bt-alert__actions" style="justify-content: ${i.actionsAlign==="left"?"flex-start":i.actionsAlign==="center"?"center":"flex-end"}">
|
|
6
|
+
${i.showCancel?`<button class="bt-button bt-button--md ${Xe}" data-alert-cancel>${T(i.cancelText)}</button>`:""}
|
|
7
|
+
<button class="bt-button bt-button--md ${We}${i.destructive?" bt-button--danger":""}" data-alert-confirm>${T(i.confirmText)}</button>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
`;let a=t.querySelector(".bt-alert__modal");if(a){a.setAttribute("role","alertdialog"),a.setAttribute("aria-modal","true");let s=t.querySelector(".bt-alert__title"),p=t.querySelector(".bt-alert__message");s&&(s.id=N("alert_title"),a.setAttribute("aria-labelledby",s.id)),p&&(p.id=N("alert_message"),a.setAttribute("aria-describedby",p.id));}let l=document.activeElement,b=l?.closest?.(".bt-alert__overlay")?._btPreviousFocus??l;t._btPreviousFocus=b,document.body.appendChild(t),Y();let o=true,v=K(d);function c(){if(!o)return;o=false,v(),document.removeEventListener("keydown",x);let s=document.activeElement;(!s||s===document.body||t.contains(s))&&b&&typeof b.focus=="function"&&b.focus(),t.classList.add("is-closing"),t.setAttribute("inert",""),U([t,a],()=>{t.remove(),z();});}function d(){o&&(i.onCancel&&i.onCancel(),c());}let m=t.querySelector("[data-alert-confirm]"),C=t.querySelector("[data-alert-cancel]");m&&m.addEventListener("click",()=>{o&&(i.onConfirm&&i.onConfirm(),c());}),C&&C.addEventListener("click",()=>{o&&(i.onCancel&&i.onCancel(),c());}),t.addEventListener("click",s=>{i.closeOnOverlay&&s.target===t&&d();});function x(s){if(s.key==="Tab"&&a){let p=E(V,a);if(p.length===0){s.preventDefault();return}let y=p[0],$=p[p.length-1];s.shiftKey&&document.activeElement===y?(s.preventDefault(),$.focus()):!s.shiftKey&&document.activeElement===$&&(s.preventDefault(),y.focus());}}return document.addEventListener("keydown",x),m&&m.focus(),{close:c}}var Ye=5,J=(n,i)=>`<svg width="${n}" height="${n}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${i}</svg>`,Le={success:J(18,'<circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/>'),error:J(18,'<circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/>'),warning:J(18,'<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/>'),info:J(18,'<circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/>'),neutral:J(18,'<path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/>')},ze=J(14,'<path d="M18 6 6 18"/><path d="m6 6 12 12"/>');function Qe(n,i="neutral",t={}){let{duration:a=3e3,action:l,closeLabel:b="\uB2EB\uAE30",regionLabel:o="\uC54C\uB9BC"}=t,v=Object.keys(Le).includes(i)?i:"neutral",c=document.querySelector(".bt-toast-container");c||(c=document.createElement("div"),c.className="bt-toast-container",c.setAttribute("role","region"),c.setAttribute("aria-live","polite"),c.setAttribute("aria-atomic","false"),c.setAttribute("aria-label",o),document.body.appendChild(c));let d=document.createElement("div");d.className="bt-toast",d.dataset.state="open",d.innerHTML=`<div class="bt-toast__live" role="${v==="error"?"alert":"status"}"><span class="bt-toast__icon bt-toast__icon--${v}" aria-hidden="true">${Le[v]}</span><span class="bt-toast__message"></span></div>`,d.querySelector(".bt-toast__message").textContent=n;let m=false;function C(){if(!m){if(m=true,d.contains(document.activeElement)){let s=E('.bt-toast:not([data-state="closed"]) .bt-toast__close',c),p=s.findIndex(y=>d.contains(y));(s[p+1]||s[p-1])?.focus();}d.dataset.state="closed",d.setAttribute("inert",""),U([d],()=>d.remove());}}if(l){let s=document.createElement("button");s.type="button",s.className="bt-toast__action",s.textContent=l.label,s.addEventListener("click",()=>{if(!m)try{l.onClick?.();}finally{C();}}),d.appendChild(s);}let x=document.createElement("button");if(x.type="button",x.className="bt-toast__close",x.setAttribute("aria-label",b),x.innerHTML=ze,x.addEventListener("click",C),d.appendChild(x),Number.isFinite(a)){let s=document.createElement("div");s.className=`bt-toast__progress bt-toast__progress--${v}`,s.style.setProperty("--bt-toast-duration",`${a}ms`),s.setAttribute("aria-hidden","true"),s.addEventListener("animationend",C),d.appendChild(s);}d._btDismiss=C,c.prepend(d);for(let s of E('.bt-toast:not([data-state="closed"])',c).slice(Ye))s._btDismiss?.();return {dismiss:C}}/**
|
|
2
11
|
* Bigtablet Design System - Vanilla JavaScript
|
|
3
12
|
* For use with plain HTML/CSS/JS, Thymeleaf, JSP, etc.
|
|
4
13
|
*
|
|
5
14
|
* @version 1.0.0
|
|
6
15
|
* @license Bigtablet Inc. Open Source License - see LICENSE at the repo root
|
|
7
16
|
* (https://github.com/Bigtablet/.github/blob/main/BIGTABLET_LICENSE.md)
|
|
8
|
-
*/((T,C)=>{typeof exports=="object"&&typeof module<"u"?module.exports=C():typeof define=="function"&&define.amd?define(C):(T=T||self,T.Bigtablet=C());})(void 0,()=>{function T(t="bt"){return `${t}_${Math.random().toString(36).substring(2,9)}`}function C(t){return String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function P(t,l,a,n){return t.addEventListener(l,a,n),()=>t.removeEventListener(l,a,n)}function B(t,l=document){return l.querySelector(t)}function k(t,l=document){return Array.from(l.querySelectorAll(t))}let J=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"]):not(input[type="hidden"])'].join(", ");function te(){let t=document.createElement("div");t.style.cssText="position:fixed;top:0;left:0;right:0;height:0;visibility:hidden;pointer-events:none",document.documentElement.appendChild(t);let l=t.getBoundingClientRect().width;return t.remove(),l<=0?0:Math.max(0,window.innerWidth-l)}let N=[];function ne(t){if(t.key!=="Escape"||t.defaultPrevented)return;let l=N[N.length-1];l&&(t.stopImmediatePropagation(),l());}function Ae(){}function ae(t){N.length===0&&document.addEventListener("keydown",ne),N.push(t);let l=false;return ()=>{if(l)return;l=true;let a=N.lastIndexOf(t);a!==-1&&N.splice(a,1),N.length===0&&document.removeEventListener("keydown",ne);}}function ie(t,l){let a=l.dataset.btOriginalScrollbarWidthVar;a?t.style.setProperty("--bt-scrollbar-width",a):t.style.removeProperty("--bt-scrollbar-width");}function oe(){let t=document.body,l=document.documentElement,a=parseInt(t.dataset.btOpenModals||"0",10);if(a===0){let n=te();if(t.dataset.btOriginalOverflow=t.style.overflow,t.dataset.btOriginalOverflowX=t.style.overflowX,t.dataset.btOriginalOverflowY=t.style.overflowY,t.dataset.btOriginalHtmlOverflow=l.style.overflow,t.dataset.btOriginalHtmlOverflowX=l.style.overflowX,t.dataset.btOriginalHtmlOverflowY=l.style.overflowY,t.dataset.btOriginalGutter=l.style.scrollbarGutter,t.dataset.btOriginalPaddingRight=t.style.paddingRight,t.dataset.btOriginalScrollbarWidthVar=l.style.getPropertyValue("--bt-scrollbar-width"),n>0&&l.style.setProperty("--bt-scrollbar-width",`${n}px`),t.style.overflow="hidden",l.style.overflow="hidden",n>0){l.style.scrollbarGutter="auto";let r=parseFloat(window.getComputedStyle(t).paddingRight)||0;t.style.paddingRight=`${r+n}px`,te()>0&&(t.style.paddingRight=t.dataset.btOriginalPaddingRight||"",ie(l,t));}l.setAttribute("data-bt-scroll-locked","");}t.dataset.btOpenModals=String(a+1);}function le(){let t=document.body,l=document.documentElement,a=parseInt(t.dataset.btOpenModals||"1",10)-1;a<=0?(t.style.overflow=t.dataset.btOriginalOverflow||"",t.style.overflowX=t.dataset.btOriginalOverflowX||"",t.style.overflowY=t.dataset.btOriginalOverflowY||"",l.style.overflow=t.dataset.btOriginalHtmlOverflow||"",l.style.overflowX=t.dataset.btOriginalHtmlOverflowX||"",l.style.overflowY=t.dataset.btOriginalHtmlOverflowY||"",t.style.paddingRight=t.dataset.btOriginalPaddingRight||"",l.style.scrollbarGutter=t.dataset.btOriginalGutter||"",l.removeAttribute("data-bt-scroll-locked"),ie(l,t),delete t.dataset.btOpenModals,delete t.dataset.btOriginalOverflow,delete t.dataset.btOriginalOverflowX,delete t.dataset.btOriginalOverflowY,delete t.dataset.btOriginalHtmlOverflow,delete t.dataset.btOriginalHtmlOverflowX,delete t.dataset.btOriginalHtmlOverflowY,delete t.dataset.btOriginalGutter,delete t.dataset.btOriginalPaddingRight,delete t.dataset.btOriginalScrollbarWidthVar):t.dataset.btOpenModals=String(a);}function se(t){return String(t).toLowerCase().replace(/\s+/g,"")}let W=44032,xe=55203,Ee="\u3131\u3132\u3134\u3137\u3138\u3139\u3141\u3142\u3143\u3145\u3146\u3147\u3148\u3149\u314A\u314B\u314C\u314D\u314E",Ce=" \u3131\u3132 \u3134 \u3137\u3139 \u3141\u3142 \u3145\u3146\u3147\u3148\u314A\u314B\u314C\u314D\u314E";function j(t){let l=t.charCodeAt(0);return l>=W&&l<=xe?l-W:-1}function ke(t,l,a){if(t===l)return true;let n=j(l);if(n<0)return false;let r=Ee.indexOf(t);if(r>=0)return Math.floor(n/588)===r;let u=j(t);return a&&u>=0&&u%28===0&&n-n%28===u}function re(t,l){for(let a=0;a+l.length<=t.length;a++){let n=true;for(let r=0;r<l.length&&n;r++)n=ke(l.charAt(r),t.charAt(a+r),r===l.length-1);if(n)return true}return false}function Le(t,l){let a=se(t),n=se(l);if(n===""||re(a,n))return true;let r=j(n.charAt(n.length-1)),u=r>=0?Ce.charAt(r%28).trim():"";if(!u)return false;let i=String.fromCharCode(W+r-r%28);return re(a,n.slice(0,-1)+i+u)}function K(t){if(t!==void 0)return t!=="false"}let Se='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>',Pe='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>';function de(t,l={}){let a=typeof t=="string"?B(t):t;if(!a)return null;a._btDropdown?.destroy();let n={placeholder:"\uC120\uD0DD\u2026",disabled:false,multiple:false,searchable:false,searchPlaceholder:"\uAC80\uC0C9\u2026",emptyText:"\uACB0\uACFC \uC5C6\uC74C",selectedSummary:e=>`${e}\uAC1C \uC120\uD0DD`,onValueChange:null,...l};if(l.multiple===void 0){let e=K(a.dataset.multiple);e!==void 0&&(n.multiple=e);}if(l.searchable===void 0){let e=K(a.dataset.searchable);e!==void 0&&(n.searchable=e);}if(l.searchPlaceholder===void 0&&a.dataset.searchPlaceholder&&(n.searchPlaceholder=a.dataset.searchPlaceholder),l.emptyText===void 0&&a.dataset.emptyText&&(n.emptyText=a.dataset.emptyText),l.placeholder===void 0&&a.dataset.placeholder)n.placeholder=a.dataset.placeholder;else if(l.placeholder===void 0){let e=a.querySelector(".bt-dropdown__placeholder")?.textContent.trim();e&&(n.placeholder=e);}let r=n.multiple===true,u=n.searchable===true,i={isOpen:false,value:null,values:[],activeIndex:-1,options:[],visible:[],committedQuery:""},E=a.id||T("dropdown"),d=a.querySelector(".bt-dropdown__control"),p=a.querySelector(".bt-dropdown__list");if(!d||!p)return console.warn("Dropdown: Missing required elements (.bt-dropdown__control, .bt-dropdown__list)"),null;let b=p.querySelector(".bt-dropdown__options");if(!b)if(u){let e=p,o=Array.from(e.classList).filter(A=>A.startsWith("bt-dropdown__list")),c=document.createElement("div");c.className=o.join(" "),e.classList.remove(...o),e.classList.add("bt-dropdown__options"),e.style.display="",e.parentNode.insertBefore(c,e),c.appendChild(e),b=e,p=c;}else b=p;(d.disabled||d.classList.contains("is-disabled"))&&(n.disabled=true),d.disabled=n.disabled,d.setAttribute("aria-disabled",n.disabled?"true":"false"),d.classList.toggle("is-disabled",n.disabled);let h=()=>k(".bt-dropdown__option",b).map(e=>({value:e.dataset.value!==void 0?e.dataset.value:e.textContent.trim(),label:e.textContent.trim(),disabled:e.classList.contains("is-disabled")})),L;if(a.dataset.options)try{let e=JSON.parse(a.dataset.options);Array.isArray(e)?L=e:console.warn("Dropdown: data-options is not a JSON array");}catch(e){console.warn("Dropdown: invalid JSON in data-options",e);}L===void 0&&(L=Array.isArray(n.options)?n.options:h()),i.options=L;let m=k(".bt-dropdown__option",b);if(m.length===0&&i.options.length>0){let e=b.tagName==="UL"||b.tagName==="OL"?"li":"div";i.options.forEach(o=>{let c=document.createElement(e);c.className="bt-dropdown__option",o.disabled&&c.classList.add("is-disabled"),c.dataset.value=o.value,c.textContent=o.label,b.appendChild(c);}),m=k(".bt-dropdown__option",b);}if(b.id=b.id||`${E}_listbox`,b.setAttribute("role","listbox"),r&&b.setAttribute("aria-multiselectable","true"),d.setAttribute("aria-haspopup","listbox"),d.setAttribute("aria-expanded","false"),d.setAttribute("aria-controls",b.id),d.setAttribute("role","combobox"),!d.hasAttribute("aria-labelledby")&&!d.hasAttribute("aria-label")){d.id=d.id||`${E}_control`;let e=d.labels?.[0];e&&(e.id=e.id||`${E}_label`);let o=d.querySelector(".bt-dropdown__value, .bt-dropdown__placeholder");o&&(o.id=o.id||`${E}_value`);let c=[e?.id,o?.id].filter(Boolean).join(" ");c&&d.setAttribute("aria-labelledby",c);}m.forEach((e,o)=>{if(e.id=e.id||`${E}_option_${o}`,e.setAttribute("role","option"),e.setAttribute("aria-selected","false"),i.options[o]?.disabled&&e.setAttribute("aria-disabled","true"),r&&!e.querySelector(".bt-dropdown__option-check")){let c=document.createElement("span");c.className="bt-dropdown__option-check",c.setAttribute("aria-hidden","true"),c.innerHTML=Pe,e.insertBefore(c,e.firstChild);}});let f=null,O=null;if(u){let e=p.querySelector(".bt-dropdown__search");if(!e){e=document.createElement("div"),e.className="bt-dropdown__search";let o=document.createElement("span");o.className="bt-dropdown__search-icon",o.setAttribute("aria-hidden","true"),o.innerHTML=Se,e.appendChild(o),p.insertBefore(e,p.firstChild);}if(f=e.querySelector(".bt-dropdown__search-input"),f||(f=document.createElement("input"),f.type="text",f.className="bt-dropdown__search-input",f.autocomplete="off",e.appendChild(f)),f.placeholder=n.searchPlaceholder,f.setAttribute("aria-label",n.searchPlaceholder),f.setAttribute("role","combobox"),f.setAttribute("aria-autocomplete","list"),f.setAttribute("aria-expanded","false"),f.setAttribute("aria-controls",b.id),O=b.querySelector(".bt-dropdown__empty"),!O){let o=b.tagName==="UL"||b.tagName==="OL"?"li":"div";O=document.createElement(o),O.className="bt-dropdown__empty",b.appendChild(O);}O.setAttribute("role","presentation"),O.textContent=n.emptyText,O.hidden=true;}let y=()=>u?f:d,s=k('input[type="hidden"]',a),v=n.name||a.dataset.name||s[0]?.name||null;if(s.length===0&&v){let e=document.createElement("input");e.type="hidden",e.name=v,a.appendChild(e),s.push(e);}function g(){if(!v)return;let e=r?i.values.map(o=>o==null?"":String(o)):[i.value==null?"":String(i.value)];for(;s.length>e.length;)s.pop().remove();for(;s.length<e.length;){let o=document.createElement("input");o.type="hidden",o.name=v,a.appendChild(o),s.push(o);}s.forEach((o,c)=>{o.value=e[c],o.disabled=n.disabled;});}function _(e){if(e!=null)return i.options.find(o=>String(o.value)===String(e))}function S(e){return e===void 0?false:r?i.values.some(o=>String(o)===String(e)):i.value!=null&&String(i.value)===String(e)}function $(){return i.values.map(_).filter(Boolean)}function w(){let e=d.querySelector(".bt-dropdown__value, .bt-dropdown__placeholder");if(e){let o=n.placeholder,c=false;if(r)c=i.values.length>0,c&&(o=n.selectedSummary(i.values.length));else {let A=_(i.value);c=!!A,A&&(o=A.label);}e.textContent=o,e.classList.toggle("bt-dropdown__value",c),e.classList.toggle("bt-dropdown__placeholder",!c);}m.forEach((o,c)=>{let A=S(i.options[c]?.value);o.classList.toggle("is-selected",A),o.setAttribute("aria-selected",A?"true":"false");}),g();}function x(e){r?i.values=e==null?[]:Array.isArray(e)?e.slice():[e]:i.value=Array.isArray(e)?e[0]??null:e,w();}function Y(e){x(e),n.onValueChange&&(r?n.onValueChange(i.values.slice(),$()):n.onValueChange(i.value,_(i.value)??null));}function Ne(e){let o=S(e.value)?i.values.filter(c=>String(c)!==String(e.value)):[...i.values,e.value];Y(o);}function V(){let e=null,o=null;m.forEach((A,H)=>{let q=H===i.activeIndex;A.classList.toggle("is-active",q),q&&(e=A.id,o=A);}),o?.scrollIntoView?.({block:"nearest"});let c=y();c&&(e?c.setAttribute("aria-activedescendant",e):c.removeAttribute("aria-activedescendant"));}function pe(){return i.visible.find(e=>!i.options[e]?.disabled)??-1}function U(){let e=u?i.committedQuery:"";i.visible=[],m.forEach((o,c)=>{let A=i.options[c]?.label??o.textContent,H=Le(A,e);o.hidden=!H,H&&i.visible.push(c);}),O&&(O.hidden=i.visible.length>0),i.isOpen?i.visible.includes(i.activeIndex)||(i.activeIndex=pe()):i.activeIndex=-1,V();}let M=null,F=null;function be(){M||(M={parent:p.parentNode,next:p.nextSibling},document.body.appendChild(p));let e=d.getBoundingClientRect(),o=4,c=8,A=window.innerWidth-c*2;p.style.minWidth=`${Math.min(e.width,A)}px`,p.style.maxWidth=`${A}px`;let H=p.offsetWidth,q=window.innerHeight-c*2;p.style.maxHeight="";let we=p.offsetHeight,ee=Math.min(we,q);we>q&&(p.style.maxHeight=`${q}px`);let _e=window.innerHeight-e.bottom-o-c,Je=e.top-o-c,Oe=ee>_e&&Je>_e;p.classList.toggle("bt-dropdown__list--up",Oe),p.style.left=`${ge(e.left,H,window.innerWidth,c)}px`;let Ue=Oe?e.top-o-ee:e.bottom+o;p.style.top=`${ge(Ue,ee,window.innerHeight,c)}px`;}function ge(e,o,c,A){return Math.max(A,Math.min(e,c-A-o))}function Ie(){if(F)return;let e=0,o=()=>{e||(e=requestAnimationFrame(()=>{e=0,i.isOpen&&be();}));};window.addEventListener("scroll",o,true),window.addEventListener("resize",o),F=()=>{e&&cancelAnimationFrame(e),window.removeEventListener("scroll",o,true),window.removeEventListener("resize",o),F=null;};}function he(){F?.(),M&&(M.parent?.insertBefore(p,M.next),M=null,p.style.left="",p.style.top="",p.style.minWidth="",p.style.maxWidth="",p.style.maxHeight="");}function I(){if(n.disabled||d.disabled)return;i.isOpen=true,d.classList.add("is-open"),d.setAttribute("aria-expanded","true"),p.style.display="block",f&&f.setAttribute("aria-expanded","true"),be(),Ie(),i.activeIndex=i.options.findIndex(o=>S(o.value)&&!o.disabled),U(),f&&f.focus();let e=d.querySelector(".bt-dropdown__icon");e&&e.classList.add("is-open");}function D(){i.isOpen=false,d.classList.remove("is-open"),d.setAttribute("aria-expanded","false"),d.removeAttribute("aria-activedescendant"),p.style.display="none",he(),f&&(f.value="",f.setAttribute("aria-expanded","false"),f.removeAttribute("aria-activedescendant")),i.committedQuery="",i.activeIndex=-1,U();let e=d.querySelector(".bt-dropdown__icon");e&&e.classList.remove("is-open");}function z(){let e=i.isOpen;D(),e&&u&&d.focus();}function me(){i.isOpen?D():I();}function G(e){let o=i.visible.filter(A=>!i.options[A]?.disabled);if(o.length===0)return;let c=o.indexOf(i.activeIndex);i.activeIndex=c===-1?e===1?o[0]:o[o.length-1]:o[(c+e+o.length)%o.length],V();}function ve(e){if(n.disabled)return;let o=i.options[e];!o||o.disabled||(r?Ne(o):(Y(o.value),z()));}function ye(){i.visible.includes(i.activeIndex)&&ve(i.activeIndex);}function Me(e){e.preventDefault(),me();}function He(e){if(!n.disabled)switch(e.key){case " ":case "Enter":e.preventDefault(),i.isOpen?ye():I();break;case "ArrowDown":e.preventDefault(),i.isOpen?G(1):I();break;case "ArrowUp":e.preventDefault(),i.isOpen?G(-1):I();break;case "Home":e.preventDefault(),I(),i.activeIndex=pe(),V();break;case "End":e.preventDefault(),I();for(let o=i.visible.length-1;o>=0;o--)if(!i.options[i.visible[o]]?.disabled){i.activeIndex=i.visible[o],V();break}break;case "Escape":if(!i.isOpen)break;e.preventDefault(),D();break;case "Tab":D();break}}function qe(e){if(!(e.isComposing||e.keyCode===229))switch(e.key){case "ArrowDown":e.preventDefault(),G(1);break;case "ArrowUp":e.preventDefault(),G(-1);break;case "Enter":e.preventDefault(),ye();break;case "Escape":e.preventDefault(),z();break;case "Tab":z();break}}function Be(e){i.isOpen&&!a.contains(e.target)&&!p.contains(e.target)&&D();}function Ve(e){return o=>{o.preventDefault(),ve(e);}}function Re(e){return ()=>{i.options[e]?.disabled||(i.activeIndex=e,V());}}let R=[P(d,"click",Me),P(d,"keydown",He),P(document,"mousedown",Be)];m.forEach((e,o)=>{R.push(P(e,"click",Ve(o))),R.push(P(e,"mouseenter",Re(o)));}),f&&(R.push(P(f,"input",e=>{i.committedQuery=e.target.value,U();})),R.push(P(f,"keydown",qe)));let Q=s.map(e=>e.value).filter(e=>e!=="");if(p.style.display="none",U(),w(),r){let e=Array.isArray(n.defaultValue)?n.defaultValue:n.defaultValue!=null?[n.defaultValue]:Q;e.length>0&&x(e);}else n.defaultValue!=null?x(n.defaultValue):Q[0]&&x(Q[0]);let Z={getValue:()=>r?i.values.slice():i.value,setValue:Y,open:I,close:D,toggle:me,setDisabled:e=>{n.disabled=e,d.disabled=e,d.setAttribute("aria-disabled",e?"true":"false"),d.classList.toggle("is-disabled",e),e&&i.isOpen&&D(),g();},destroy:()=>{i.isOpen?D():he(),R.forEach(e=>{e();}),a._btDropdown===Z&&delete a._btDropdown;}};return a._btDropdown=Z,Z}function ce(t,l={}){let a=typeof t=="string"?B(t):t;if(!a)return null;a._btModal?.destroy();let n={closeOnOverlay:true,closeOnEscape:true,onOpen:null,onClose:null,...l},r={isOpen:false},u=a.querySelector(".bt-modal__panel"),i=null,E=false,d=null;if(u&&(u.setAttribute("role","dialog"),u.setAttribute("aria-modal","true"),!u.hasAttribute("aria-label")&&!u.hasAttribute("aria-labelledby"))){let y=u.querySelector(".bt-modal__header");y?(y.id=y.id||T("modal_title"),u.setAttribute("aria-labelledby",y.id)):console.warn("Modal: no accessible name - add .bt-modal__header or aria-label on .bt-modal__panel");}function p(){if(!r.isOpen){if(r.isOpen=true,a.classList.add("is-open"),oe(),d=ae(n.closeOnEscape?h:Ae),i=document.activeElement,u){let y=u.querySelector(".bt-modal__body")?.querySelector(J)||u.querySelector(J);y?y.focus():(u.hasAttribute("tabindex")||(u.setAttribute("tabindex","-1"),E=true),u.focus());}n.onOpen&&n.onOpen();}}function b(){r.isOpen=false,a.classList.remove("is-open"),d&&(d(),d=null),le(),E&&u&&(u.removeAttribute("tabindex"),E=false),i&&typeof i.focus=="function"&&i.focus(),i=null;}function h(){r.isOpen&&(b(),n.onClose&&n.onClose());}function L(y){n.closeOnOverlay&&y.target===a&&h();}function m(y){if(r.isOpen&&y.key==="Tab"&&u){let s=k(J,u);if(s.length===0){y.preventDefault();return}let v=s[0],g=s[s.length-1];y.shiftKey&&document.activeElement===v?(y.preventDefault(),g.focus()):!y.shiftKey&&document.activeElement===g&&(y.preventDefault(),v.focus());}}let f=[P(a,"click",L),P(document,"keydown",m)];k("[data-modal-close]",a).forEach(y=>{f.push(P(y,"click",h));});let O={isOpen:()=>r.isOpen,open:p,close:h,toggle:()=>r.isOpen?h():p(),destroy:()=>{f.forEach(y=>{y();}),r.isOpen&&b(),a._btModal===O&&delete a._btModal;}};return a._btModal=O,O}let $e="bt-button--filled",Te="bt-button--outline";function De(t={}){let l={title:"",message:"",tone:"info",confirmText:"\uD655\uC778",cancelText:"\uCDE8\uC18C",showCancel:false,destructive:false,actionsAlign:"right",closeOnOverlay:true,onConfirm:null,onCancel:null,...t},a=document.createElement("div");a.className=`bt-alert__overlay bt-alert--${l.tone??"info"} is-open`,a.innerHTML=`
|
|
9
|
-
<div class="bt-alert__modal">
|
|
10
|
-
${l.title?`<div class="bt-alert__title">${C(l.title)}</div>`:""}
|
|
11
|
-
<div class="bt-alert__message">${C(l.message)}</div>
|
|
12
|
-
<div class="bt-alert__actions" style="justify-content: ${l.actionsAlign==="left"?"flex-start":l.actionsAlign==="center"?"center":"flex-end"}">
|
|
13
|
-
${l.showCancel?`<button class="bt-button bt-button--md ${Te}" data-alert-cancel>${C(l.cancelText)}</button>`:""}
|
|
14
|
-
<button class="bt-button bt-button--md ${$e}${l.destructive?" bt-button--danger":""}" data-alert-confirm>${C(l.confirmText)}</button>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
`;let n=a.querySelector(".bt-alert__modal");if(n){n.setAttribute("role","alertdialog"),n.setAttribute("aria-modal","true");let m=a.querySelector(".bt-alert__title"),f=a.querySelector(".bt-alert__message");m&&(m.id=T("alert_title"),n.setAttribute("aria-labelledby",m.id)),f&&(f.id=T("alert_message"),n.setAttribute("aria-describedby",f.id));}let r=document.activeElement,u=r?.closest?.(".bt-alert__overlay")?._btPreviousFocus??r;a._btPreviousFocus=u,document.body.appendChild(a),oe();let i=true,E=ae(p);function d(){if(!i)return;i=false,E(),document.removeEventListener("keydown",L);let m=document.activeElement,f=!m||m===document.body||a.contains(m);a.remove(),le(),f&&u&&typeof u.focus=="function"&&u.focus();}function p(){i&&(l.onCancel&&l.onCancel(),d());}let b=a.querySelector("[data-alert-confirm]"),h=a.querySelector("[data-alert-cancel]");b&&b.addEventListener("click",()=>{l.onConfirm&&l.onConfirm(),d();}),h&&h.addEventListener("click",()=>{l.onCancel&&l.onCancel(),d();}),a.addEventListener("click",m=>{l.closeOnOverlay&&m.target===a&&p();});function L(m){if(m.key==="Tab"&&n){let f=k(J,n);if(f.length===0){m.preventDefault();return}let O=f[0],y=f[f.length-1];m.shiftKey&&document.activeElement===O?(m.preventDefault(),y.focus()):!m.shiftKey&&document.activeElement===y&&(m.preventDefault(),O.focus());}}return document.addEventListener("keydown",L),b&&b.focus(),{close:d}}function ue(t,l={}){let a=typeof t=="string"?B(t):t;if(!a)return null;a._btToggle?.destroy();let n={defaultChecked:false,disabled:false,onCheckedChange:null,...l},r={checked:n.defaultChecked||a.classList.contains("bt-toggle--on")};a.disabled&&(n.disabled=true),a.disabled=n.disabled,a.hasAttribute("role")||a.setAttribute("role","switch"),a.tagName==="BUTTON"&&!a.hasAttribute("type")&&a.setAttribute("type","button");let u=n.name||a.dataset.name||null,i=a.querySelector('input[type="hidden"]')||(u&&a.parentNode?Array.from(a.parentNode.children).find(h=>h.tagName==="INPUT"&&h.type==="hidden"&&h.name===u):null);!i&&u&&(i=document.createElement("input"),i.type="hidden",i.name=u,a.tagName==="BUTTON"&&a.parentNode?a.parentNode.insertBefore(i,a.nextSibling):a.appendChild(i));function E(h){r.checked=h,a.classList.toggle("bt-toggle--on",h),a.setAttribute("aria-checked",h?"true":"false"),i&&(i.value=h?"true":"false"),n.onCheckedChange&&n.onCheckedChange(h);}function d(){!n.disabled&&!a.disabled&&E(!r.checked);}let p=P(a,"click",d);if(i&&!r.checked){let h=String(i.value).trim().toLowerCase();(h==="true"||h==="1"||h==="on"||h==="y"||h==="yes")&&(r.checked=true);}a.classList.toggle("bt-toggle--on",r.checked),a.setAttribute("aria-checked",r.checked?"true":"false"),i&&(i.value=r.checked?"true":"false");let b={isChecked:()=>r.checked,setChecked:E,toggle:d,setDisabled:h=>{n.disabled=h,a.disabled=h;},destroy:()=>{p(),a._btToggle===b&&delete a._btToggle;}};return a._btToggle=b,b}function fe(t,l={}){let a=typeof t=="string"?B(t):t;if(!a)return null;let n={page:1,totalPages:1,sibling:2,onPageChange:null,href:null,prevLabel:"\uC774\uC804 \uD398\uC774\uC9C0",nextLabel:"\uB2E4\uC74C \uD398\uC774\uC9C0",navLabel:"\uD398\uC774\uC9C0 \uC774\uB3D9",showPageJump:false,pageJumpLabel:"\uD604\uC7AC {page}\uCABD - \uC774\uB3D9\uD560 \uCABD \uBC88\uD638 (1\u2013{total})",...l},r=s=>Number.isFinite(s)?Math.max(1,Math.floor(s)):1,u=s=>Math.min(r(s),n.totalPages);if(n.totalPages=r(n.totalPages),n.page=u(n.page),!a.hasAttribute("aria-label")&&!a.hasAttribute("aria-labelledby")&&a.setAttribute("aria-label",n.navLabel),n.href){let s="";try{s=new URL(n.href,document.baseURI).protocol;}catch{}s!=="http:"&&s!=="https:"&&(n.href=null);}let i=s=>n.href.replace(/\{page\}|%7Bpage%7D/gi,String(s));function E(s,v,g,_){return n.href&&!v?`<a href="${C(i(s))}" ${g}>${_}</a>`:`<button type="button" ${v?"disabled":""} ${g}>${_}</button>`}function d(s,v){let g=[];for(let _=s;_<=v;_++)g.push(_);return g}function p(s,v){if(v<=7)return d(1,v);let g=[],_=v,S=n.sibling;if(s<=S+2){for(let $ of d(1,S+3))g.push($);return g.push("ellipsis"),g.push(_),g}if(s>=_-S-1){g.push(1),g.push("ellipsis");for(let $ of d(_-S-2,_))g.push($);return g}g.push(1),g.push("ellipsis");for(let $ of d(s-S,s+S))g.push($);return g.push("ellipsis"),g.push(_),g}function b(){let s=p(n.page,n.totalPages),v=a.contains(document.activeElement)?document.activeElement:null,g=v?.dataset.action,_=E(n.page-1,n.page<=1,`class="bt-pagination__item" data-action="prev" aria-label="${C(n.prevLabel)}"`,"\u2039");if(_+='<div class="bt-pagination__pages">',s.forEach(w=>{if(w==="ellipsis")_+='<span class="bt-pagination__ellipsis" aria-hidden="true">\u2026</span>';else if(w===n.page&&n.showPageJump){let x=String(n.pageJumpLabel).replace("{page}",String(n.page)).replace("{total}",String(n.totalPages));_+=`<input type="text" inputmode="numeric" class="bt-pagination__page-input" data-action="jump-input" aria-current="page" value="${n.page}" size="${String(n.page).length}" aria-label="${C(x)}">`;}else {let x=w===n.page;_+=E(w,false,`class="bt-pagination__page${x?" bt-pagination__page--active":""}" data-page="${C(w)}"${x?' aria-current="page"':""}`,C(w));}}),_+="</div>",_+=E(n.page+1,n.page>=n.totalPages,`class="bt-pagination__item" data-action="next" aria-label="${C(n.nextLabel)}"`,"\u203A"),a.innerHTML=_,v){let w=a.querySelector('[aria-current="page"]'),x=g?a.querySelector(`[data-action="${g}"]`):w;(x&&!x.disabled?x:w)?.focus();}if(n.showPageJump){let w=a.querySelector('[data-action="jump-input"]');w.addEventListener("focus",()=>w.select()),w.addEventListener("input",()=>{w.size=Math.max(1,w.value.length),L(w,false);}),w.addEventListener("keydown",x=>{if(x.key==="Escape"){m(w);return}x.key!=="Enter"||x.isComposing||x.keyCode===229||(x.preventDefault(),f(w));}),w.addEventListener("blur",()=>m(w));}if(n.href)return;k("[data-page]",a).forEach(w=>{w.addEventListener("click",()=>{let x=parseInt(w.dataset.page,10);O(x);});});let S=a.querySelector('[data-action="prev"]'),$=a.querySelector('[data-action="next"]');S&&S.addEventListener("click",()=>O(n.page-1)),$&&$.addEventListener("click",()=>O(n.page+1));}function h(s){let v=String(s).replace(/[\s,]/g,"");return /^\d+$/.test(v)?Math.min(Math.max(1,Number(v)),Math.max(1,n.totalPages)):null}function L(s,v){s.classList.toggle("bt-pagination__page-input--invalid",v),v?s.setAttribute("aria-invalid","true"):s.removeAttribute("aria-invalid");}function m(s){s.value=String(n.page),s.size=s.value.length,L(s,false);}function f(s){let v=h(s.value);if(v===null){L(s,true);return}if(v===n.page){m(s);return}if(n.href){let g=document.createElement("a");g.href=i(v),g.hidden=true,a.appendChild(g),g.click(),g.remove();}else O(v);}function O(s){s<1||s>n.totalPages||s===n.page||(n.page=s,b(),n.onPageChange&&!n.href&&n.onPageChange(s));}function y(s){n.totalPages=r(s),n.page=u(n.page),b();}return b(),{getPage:()=>n.page,setPage:O,setTotalPages:y,render:b}}function X(){k("[data-bt-dropdown]").forEach(t=>{t._btDropdown||(t._btDropdown=de(t));}),k("[data-bt-modal]").forEach(t=>{t._btModal||(t._btModal=ce(t));}),k("[data-bt-modal-open]").forEach(t=>{if(t.dataset.btBound)return;let l=document.getElementById(t.dataset.btModalOpen);l?._btModal&&(t.dataset.btBound="true",t.addEventListener("click",()=>l._btModal.open()));}),k("[data-bt-toggle]").forEach(t=>{t._btToggle||(t._btToggle=ue(t));}),k("[data-bt-pagination]").forEach(t=>{if(!t._btPagination){let l=parseInt(t.dataset.page,10)||1,a=parseInt(t.dataset.totalPages,10)||1,n=t.dataset.href||null,r={};t.dataset.prevLabel&&(r.prevLabel=t.dataset.prevLabel),t.dataset.nextLabel&&(r.nextLabel=t.dataset.nextLabel),t.dataset.navLabel&&(r.navLabel=t.dataset.navLabel),K(t.dataset.pageJump)&&(r.showPageJump=true),t.dataset.pageJumpLabel&&(r.pageJumpLabel=t.dataset.pageJumpLabel),t._btPagination=fe(t,{page:l,totalPages:a,href:n,...r});}});}return typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",X):X()),{Dropdown:de,Modal:ce,Alert:De,Toggle:ue,Pagination:fe,init:X,generateId:T,$:B,$$:k,on:P,version:"1.0.0"}});})();
|
|
17
|
+
*/var kt="1.0.0";typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Q):Q());exports.$=P;exports.$$=E;exports.Alert=Ke;exports.CopyButton=ie;exports.Dropdown=le;exports.Modal=ce;exports.Pagination=de;exports.Toast=Qe;exports.Toggle=ue;exports.generateId=N;exports.init=Q;exports.on=k;exports.version=kt;return exports;})({});typeof module=="object"&&module.exports?module.exports=Bigtablet:typeof define=="function"&&define.amd&&define(function(){return Bigtablet});
|