@ihabdevteam/core 0.414.0 → 0.415.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/CHANGELOG.md +177 -0
- package/dist/components.cjs.js +20 -20
- package/dist/components.esm.css +2 -2
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +177 -177
- package/dist/ihabdevteam-core.d.ts +33 -3
- package/dist/packages/core/src/components/BarChart.css +16 -8
- package/dist/packages/core/src/components/BarChart.d.ts +1 -1
- package/dist/packages/core/src/components/BarChart.js +52 -15
- package/dist/packages/core/src/components/ChartSection.css +149 -37
- package/dist/packages/core/src/components/ChartSection.d.ts +23 -1
- package/dist/packages/core/src/components/ChartSection.js +48 -7
- package/dist/packages/core/src/components/RingChart.js +2 -2
- package/dist/packages/core/src/components/Word/WordSearchResultBlock.css +9 -0
- package/dist/packages/core/src/components/Word/WordSearchResultBlock.js +6 -1
- package/dist/packages/core/src/components/barChartTypes.d.ts +8 -0
- package/dist/packages/core/src/hooks/useWideCardSpans.d.ts +28 -0
- package/dist/packages/core/src/hooks/useWideCardSpans.js +85 -0
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import './ChartSection.css';
|
|
4
|
-
import { useCallback, useEffect, useId, useRef, useState } from 'react';
|
|
4
|
+
import { useCallback, useEffect, useId, useRef, useState, useLayoutEffect } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import Icon from './Icon';
|
|
7
7
|
import SectionHeadFloat from './SectionHeadFloat';
|
|
@@ -34,6 +34,12 @@ export function ChartLegend({ items, className }) {
|
|
|
34
34
|
* 작은 카드만 CSS 로 크기를 덮어 맞췄는데, 그러면 **마크업에 적힌 단계가 아무 일도 안
|
|
35
35
|
* 한다** — 글자를 고쳐도 화면이 안 바뀐다(사장님이 2026-11-02 에 짚으셨다). 단계를 한
|
|
36
36
|
* 군데서 정하고, 부르는 쪽은 "작은 카드인가" 만 넘긴다.
|
|
37
|
+
*
|
|
38
|
+
* **큰 수의 이름은 이것 하나다**(사장님 지시 2026-11-02 — "하나는 sub-row고 하나는
|
|
39
|
+
* section-content 네 하나로 통일해"). 수 칸만 `__value`·`__value-row` 라는 제 이름을
|
|
40
|
+
* 따로 쓰고 있었다 — 같은 자리의 같은 수인데 규칙을 두 벌씩 써야 했고, 그날도 차트 쪽
|
|
41
|
+
* 한 자리를 빠뜨려 큰 수의 윗여백이 그 카드만 안 들었다. 이제 **그리는 자리 다섯**
|
|
42
|
+
* (수 칸 · 차트 카드 · 막대 합계 셋 · 고리 퍼센트)이 다 이 함수를 부른다.
|
|
37
43
|
* @public
|
|
38
44
|
*/
|
|
39
45
|
export const chartTotalNumClass = (small) => `chart-section__total__num ${small ? 'h1' : 'h0'}`;
|
|
@@ -80,7 +86,7 @@ const CARD_SIZE_CLASS = {
|
|
|
80
86
|
* 공유하도록 두 컴포넌트가 내부적으로 사용한다.
|
|
81
87
|
* @public
|
|
82
88
|
*/
|
|
83
|
-
export default function ChartSection({ type = 'chart', title, titleClassName, titleLevel, icon, disc, headRight, headFloat, headSegment, headMenuItems, collapseBelow = 420, onClick, ariaLabel, tooltip, totalNum, totalUnit, totalLabel, change, changeType, size, bodyAlign = 'bottom', subRow, subRowAlign = 'start', className, inGrid = false, children }) {
|
|
89
|
+
export default function ChartSection({ type = 'chart', title, titleClassName, titleLevel, icon, disc, headRight, headFloat, headSegment, headMenuItems, collapseBelow = 420, onClick, ariaLabel, tooltip, totalNum, totalUnit, totalMuted = false, totalLabel, change, changeType, size, bodyAlign = 'bottom', subRow, legend, subRowAlign = 'start', className, inGrid = false, fitBody = false, children }) {
|
|
84
90
|
const isStat = type === 'stat';
|
|
85
91
|
/** 안 주면 갈래가 정한다 — 수 칸은 `small`, 차트 카드는 `large`(밑바탕) */
|
|
86
92
|
const cardSize = size ?? (isStat ? 'small' : 'large');
|
|
@@ -171,6 +177,31 @@ export default function ChartSection({ type = 'chart', title, titleClassName, ti
|
|
|
171
177
|
const totalRow = (totalNum != null || totalLabel) ? (_jsxs(ChartTotal, { label: totalLabel, children: [totalNum != null && _jsx("span", { className: withLegacy(chartTotalNumClass(isCompact)), children: totalNum }), totalUnit && _jsx("span", { className: withLegacy("chart-section__total__unit body-3"), children: totalUnit })] })) : null;
|
|
172
178
|
/* 머리 오른쪽에는 **고르개와 `headRight` 만** 남는다 — 고르개가 먼저, 상세보기 단추가 오른쪽 끝(사용자 지시 2026-09-17) */
|
|
173
179
|
const headRightNode = (rightNode || headSegment) ? (_jsxs("div", { className: withLegacy("chart-section__head-right"), children: [headSegment && (collapsed ? (_jsx(Button, { htmlType: "button", size: CHART_HEAD_SIZE, type: "dot", icon: "ellipsis", ariaLabel: headSegment.ariaLabel ?? t('common.more', '더보기'), showTooltipInfo: headSegment.ariaLabel ?? t('common.more', '더보기'), "aria-haspopup": "menu", "aria-expanded": !!menuRect, onClick: openMenu })) : (_jsx(SegmentedControl, { size: CHART_HEAD_SIZE, ariaLabel: headSegment.ariaLabel, options: headSegment.options.map(o => ({ key: o.key, label: o.label, disabled: o.disabled })), value: headSegment.value, onChange: headSegment.onChange }))), rightNode] })) : null;
|
|
180
|
+
/* **범례가 큰 수 줄보다 길면 그만큼 줄을 넓힌다**(사장님 지시 2026-11-03 "legend 이 선 위로").
|
|
181
|
+
범례는 서브로우 밖에 띄워 세우므로 줄 키에 안 든다 — 계열이 셋이 되자 55px 이 되어 **첫 눈금선을
|
|
182
|
+
10px 넘었다**(실측 2026-11-03: 범례 바닥 113 · 눈금선 103). 위로 키우면 머리의 고르개와 겹치니,
|
|
183
|
+
**아래가 밀리는 쪽**이 맞다 — 잰 키를 카드에 적어 두면 CSS 가 서브로우의 최소 키로 쓰고,
|
|
184
|
+
판은 `fitHeight` 가 남은 자리를 다시 재어 저절로 줄어든다. */
|
|
185
|
+
const legendRef = useRef(null);
|
|
186
|
+
const [legendHeight, setLegendHeight] = useState(null);
|
|
187
|
+
useLayoutEffect(() => {
|
|
188
|
+
const node = legendRef.current;
|
|
189
|
+
if (!node) {
|
|
190
|
+
setLegendHeight(null);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
const measure = () => {
|
|
194
|
+
const h = node.getBoundingClientRect().height;
|
|
195
|
+
setLegendHeight(prev => (prev != null && Math.abs(prev - h) < 1 ? prev : h));
|
|
196
|
+
};
|
|
197
|
+
measure();
|
|
198
|
+
/* 흉내 판(jsdom)에는 `ResizeObserver` 가 없다 — 없으면 한 번 잰 것으로 둔다 */
|
|
199
|
+
if (typeof ResizeObserver === 'undefined')
|
|
200
|
+
return;
|
|
201
|
+
const observer = new ResizeObserver(measure);
|
|
202
|
+
observer.observe(node);
|
|
203
|
+
return () => observer.disconnect();
|
|
204
|
+
}, [legend]);
|
|
174
205
|
const titleId = useId();
|
|
175
206
|
const TitleTag = resolvedTitleLevel ? `h${resolvedTitleLevel}` : 'div';
|
|
176
207
|
/* ── `stat` 갈래 ──────────────────────────────────────────────
|
|
@@ -192,16 +223,26 @@ export default function ChartSection({ type = 'chart', title, titleClassName, ti
|
|
|
192
223
|
height: tipRect.height,
|
|
193
224
|
}, text: tooltip })) : null;
|
|
194
225
|
if (isStat) {
|
|
195
|
-
return (_jsxs("div", { ref: secRef, className: withLegacy(['chart-section', 'chart-section--stat', typeof cardSize === 'string' && CARD_SIZE_CLASS[cardSize], onClick && 'chart-section--clickable', className].filter(Boolean).join(' ')), style: minHeight === undefined ? undefined : { minHeight }, onClick: onClick ? onCardClick : undefined, onKeyDown: onClick ? onCardKeyDown : undefined, onPointerEnter: tooltip ? showTip : undefined, onPointerLeave: tooltip ? closeTip : undefined,
|
|
226
|
+
return (_jsxs("div", { ref: secRef, className: withLegacy(['chart-section', 'chart-section--stat', inGrid && 'chart-section--grid', bodyAlign === 'center' && 'chart-section--body-center', typeof cardSize === 'string' && CARD_SIZE_CLASS[cardSize], onClick && 'chart-section--clickable', className].filter(Boolean).join(' ')), style: minHeight === undefined ? undefined : { minHeight }, onClick: onClick ? onCardClick : undefined, onKeyDown: onClick ? onCardKeyDown : undefined, onPointerEnter: tooltip ? showTip : undefined, onPointerLeave: tooltip ? closeTip : undefined,
|
|
196
227
|
// hover 전용이면 키보드로는 툴팁 내용을 볼 수 없다
|
|
197
|
-
onFocus: tooltip ? showTip : undefined, onBlur: tooltip ? closeTip : undefined, role: onClick ? 'button' : undefined, tabIndex: onClick ? 0 : undefined, "aria-label": onClick ? (ariaLabel ?? [typeof title === 'string' ? title : undefined, totalNum, changeText].filter(v => v !== undefined && v !== null && v !== '').join(' ')) : undefined, "aria-labelledby": !onClick && title != null ? titleId : undefined, children: [tooltipNode, _jsxs("div", { className: withLegacy("chart-section__head"), children: [_jsx(TitleTag, { id: titleId, className: withLegacy(['chart-section__title', resolvedTitleClass].filter(Boolean).join(' ')), children: title }), icon && (_jsx("span", { className: withLegacy("chart-section__head-icon"), children: _jsx(Icon, { icon: icon, className: withLegacy("chart-section__head-icon-inner") }) }))] }), _jsxs("div", { className: withLegacy(
|
|
228
|
+
onFocus: tooltip ? showTip : undefined, onBlur: tooltip ? closeTip : undefined, role: onClick ? 'button' : undefined, tabIndex: onClick ? 0 : undefined, "aria-label": onClick ? (ariaLabel ?? [typeof title === 'string' ? title : undefined, totalNum, changeText].filter(v => v !== undefined && v !== null && v !== '').join(' ')) : undefined, "aria-labelledby": !onClick && title != null ? titleId : undefined, children: [tooltipNode, _jsxs("div", { className: withLegacy("chart-section__head"), children: [_jsx(TitleTag, { id: titleId, className: withLegacy(['chart-section__title', resolvedTitleClass].filter(Boolean).join(' ')), children: title }), icon && (_jsx("span", { className: withLegacy("chart-section__head-icon"), children: _jsx(Icon, { icon: icon, className: withLegacy("chart-section__head-icon-inner") }) }))] }), _jsxs(_Fragment, { children: [_jsxs("div", { className: withLegacy("chart-section__sub-row"), children: [_jsxs(ChartTotal, { children: [_jsx("span", { className: withLegacy([chartTotalNumClass(true), totalMuted && 'chart-section__total__num--muted'].filter(Boolean).join(' ')), children: totalNum }), totalUnit && _jsx("span", { className: withLegacy("chart-section__total__unit body-3"), children: totalUnit })] }), changeText && (_jsx("div", { className: withLegacy(`chart-section__change chart-section__change--${resolvedChangeType ?? 'neutral'} caption-1`), children: changeText }))] }), children && _jsx("div", { className: withLegacy("chart-section__body"), children: children })] })] }));
|
|
198
229
|
}
|
|
199
|
-
return (_jsxs("section", { ref: secRef, className: withLegacy(['chart-section', inGrid && 'chart-section--grid', typeof cardSize === 'string' && CARD_SIZE_CLASS[cardSize], onClick && 'chart-section--clickable', className].filter(Boolean).join(' ')),
|
|
230
|
+
return (_jsxs("section", { ref: secRef, className: withLegacy(['chart-section', inGrid && 'chart-section--grid', fitBody && 'chart-section--fit', typeof cardSize === 'string' && CARD_SIZE_CLASS[cardSize], onClick && 'chart-section--clickable', className].filter(Boolean).join(' ')),
|
|
231
|
+
/* **속이 제 키에 맞추는 카드는 키를 박는다**(사장님 지시 2026-11-02 "높이 260 으로
|
|
232
|
+
고정시키고 그 안에 그래프가 맞춰지도록 해"). `min-height` 만 두면 속이 한 눈금 자라는
|
|
233
|
+
날 카드가 따라 자라고, 두 줄을 차지하는 카드 곁의 바닥이 어긋난다 — 그날 x축이 두
|
|
234
|
+
줄로 돌아가며 260 이 270 이 됐다. 속은 `BarChart fitHeight` 가 맞춘다.
|
|
235
|
+
**`inGrid` 가 아니라 `fitBody` 를 본다** — 격자에 섰어도 속을 안 맞추는 카드를 박으면
|
|
236
|
+
x축이 카드 밖으로 흐른다(고객 통계 여덟, 같은 날). */
|
|
237
|
+
style: {
|
|
238
|
+
...(minHeight === undefined ? null : (fitBody ? { minHeight, height: minHeight } : { minHeight })),
|
|
239
|
+
...(legendHeight == null ? null : { ['--legend-h']: `${legendHeight}px` }),
|
|
240
|
+
}, onClick: onClick ? onCardClick : undefined, onKeyDown: onClick ? onCardKeyDown : undefined, onPointerEnter: tooltip ? showTip : undefined, onPointerLeave: tooltip ? closeTip : undefined, onFocus: tooltip ? showTip : undefined, onBlur: tooltip ? closeTip : undefined, role: onClick ? 'button' : undefined, tabIndex: onClick ? 0 : undefined, "aria-label": onClick ? (ariaLabel ?? (typeof title === 'string' ? title : undefined)) : undefined, "aria-labelledby": !onClick && title != null ? titleId : undefined, children: [tooltip && tipRect && (_jsx(TooltipInfo, { anchorRect: {
|
|
200
241
|
left: tipRect.left,
|
|
201
242
|
top: tipRect.top + 21,
|
|
202
243
|
right: tipRect.right,
|
|
203
244
|
bottom: tipRect.bottom,
|
|
204
245
|
width: tipRect.width,
|
|
205
246
|
height: tipRect.height,
|
|
206
|
-
}, text: tooltip })), headFloat && _jsx(SectionHeadFloat, { children: headFloat }), _jsxs("div", { className: withLegacy("chart-section__head"), children: [_jsxs("div", { className: withLegacy("chart-section__title-row"), children: [icon && _jsx(Icon, { icon: icon, label: typeof title === 'string' ? title : undefined, className: withLegacy("chart-section__icon") }), _jsx(TitleTag, { id: titleId, className: withLegacy(['chart-section__title', resolvedTitleClass].filter(Boolean).join(' ')), children: title })] }), headRightNode, disc && _jsx("div", { className: withLegacy("chart-section__disc body-3"), children: disc })] }), (totalRow || subRow) && (_jsxs("div", { className: withLegacy(['chart-section__sub-row', subRowAlign !== 'start' && `chart-section__sub-row--${subRowAlign}`].filter(Boolean).join(' ')), children: [totalRow, subRow] })), children, menuRect && (_jsx(Tooltip, { anchorRect: menuRect, onClose: closeMenu, ariaLabel: headSegment?.ariaLabel ?? t('tooltip.menu', '메뉴'), children: _jsx(MenuTooltip, { columns: [{ items: menuItems }], onClose: closeMenu, size: "small" }) }))] }));
|
|
247
|
+
}, text: tooltip })), headFloat && _jsx(SectionHeadFloat, { children: headFloat }), _jsxs("div", { className: withLegacy("chart-section__head"), children: [_jsxs("div", { className: withLegacy("chart-section__title-row"), children: [icon && _jsx(Icon, { icon: icon, label: typeof title === 'string' ? title : undefined, className: withLegacy("chart-section__icon") }), _jsx(TitleTag, { id: titleId, className: withLegacy(['chart-section__title', resolvedTitleClass].filter(Boolean).join(' ')), children: title })] }), headRightNode, disc && _jsx("div", { className: withLegacy("chart-section__disc body-3"), children: disc })] }), (totalRow || subRow) && (_jsxs("div", { className: withLegacy(['chart-section__sub-row', subRowAlign !== 'start' && `chart-section__sub-row--${subRowAlign}`].filter(Boolean).join(' ')), children: [totalRow, subRow] })), legend && _jsx("div", { ref: legendRef, className: withLegacy("chart-section__legend-slot"), children: legend }), children, menuRect && (_jsx(Tooltip, { anchorRect: menuRect, onClose: closeMenu, ariaLabel: headSegment?.ariaLabel ?? t('tooltip.menu', '메뉴'), children: _jsx(MenuTooltip, { columns: [{ items: menuItems }], onClose: closeMenu, size: "small" }) }))] }));
|
|
207
248
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import './RingChart.css';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import Loader from './Loader';
|
|
@@ -71,7 +71,7 @@ export default function RingChart({ titleKey, titleLevel, headRight, icon, showT
|
|
|
71
71
|
const sectionClassName = className || undefined;
|
|
72
72
|
// 수 칸(ChartSection type="stat")과 같은 아이콘 규칙 — headRight 자리에 렌더(둘 중 하나만 사용)
|
|
73
73
|
const iconNode = icon && (_jsx("span", { className: withLegacy("chart-section__head-icon"), children: _jsx(Icon, { icon: icon, className: withLegacy("chart-section__head-icon-inner") }) }));
|
|
74
|
-
return (_jsx(ChartSection, { className: sectionClassName, size: sectionSize, inGrid: inGrid, onClick: onClick, ariaLabel: ariaLabel, tooltip: tooltip, title: t(titleKey), titleLevel: titleLevel, headRight: iconNode || (isSmall ? undefined : headRight),
|
|
74
|
+
return (_jsx(ChartSection, { className: sectionClassName, size: sectionSize, inGrid: inGrid, onClick: onClick, ariaLabel: ariaLabel, tooltip: tooltip, title: t(titleKey), titleLevel: titleLevel, headRight: iconNode || (isSmall ? undefined : headRight), legend: legend && _jsx(ChartLegend, { items: legend }), subRow: showTotal && (_jsxs(ChartTotal, { label: !isSmall && totalLabelKey ? t(totalLabelKey) : undefined, children: [_jsx("span", { className: withLegacy(chartTotalNumClass(isSmall)), children: pct }), _jsx("span", { className: withLegacy("chart-section__total__unit body-3"), children: "%" })] })), children: loading ? (
|
|
75
75
|
/* 링도 같은 병이 있었다 — 기다림 상자 186px, 그려진 링은 지름(medium 120px)이다.
|
|
76
76
|
**그려질 링과 같은 자리·같은 지름**의 뼈대를 세우고 그 안에서 기다린다
|
|
77
77
|
(BarChart 와 같은 결, 사용자 지시 2026-09-17 "뼈대 먼저, 그 안에서 로딩"). */
|
|
@@ -82,6 +82,15 @@
|
|
|
82
82
|
gap: var(--spacing-xs);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
/* **다음 칸까지 쓴 카드는 그 칸을 채운다**(사장님 지시 2026-11-02 — "가로가 길면 다음 칸
|
|
86
|
+
까지 사용하도록 해야지?"). 칸을 넓히는 것은 `useWideCardSpans` 가 재서 하고, 넓은 칸에
|
|
87
|
+
`data-wide` 를 찍는다. 채우지 않으면 단추가 제 글 폭에 머물러 **오른쪽이 빈다**
|
|
88
|
+
(실측 2026-11-02: 칸 408 · 단추 262 · 빈 틈 146). `min-width` 는 인라인으로 200 이
|
|
89
|
+
박혀 있어 `width` 로 덮는다. */
|
|
90
|
+
.word-search-result-block__items > [data-wide] > button {
|
|
91
|
+
width: 100%;
|
|
92
|
+
}
|
|
93
|
+
|
|
85
94
|
/* 묶음 버튼 라벨(단어·발음)은 단어 중간에서 개행되지 않게 — 각 단어는 한 줄 유지. */
|
|
86
95
|
.word-search-result-block__items .button__label-text,
|
|
87
96
|
.word-search-result-block__items .button__sub-label-text {
|
|
@@ -3,6 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import { cx } from '../../utils/cx';
|
|
4
4
|
import { compareKorean } from '../../utils/textSort';
|
|
5
5
|
import { useEscToClose } from '../../hooks/useEscToClose';
|
|
6
|
+
import { useWideCardSpans } from '../../hooks/useWideCardSpans';
|
|
6
7
|
import { useState, useCallback, useMemo, useEffect, useId } from 'react';
|
|
7
8
|
import { useTranslation } from 'react-i18next';
|
|
8
9
|
import './WordSearchResultBlock.css';
|
|
@@ -177,6 +178,10 @@ export default function WordSearchResultBlock({ titleIcon, resultCount, resultUn
|
|
|
177
178
|
const discNode = disc ?? discLabel;
|
|
178
179
|
/* 상자 안에 **머리 한 줄만** 남는가 — 결과도 없고 빈 말도 안 세우는 그 꼴이다 */
|
|
179
180
|
const noResults = groups ? groups.length === 0 : items.length === 0;
|
|
181
|
+
/* **칸보다 넓은 묶음은 다음 칸까지 쓴다**(사장님 지시 2026-11-02 — "가로가 길면 다음 칸
|
|
182
|
+
까지 사용하도록 해야지?"). 재서 `grid-column` 을 적는 일이라 고리가 든다 — 까닭은
|
|
183
|
+
`useWideCardSpans` 에 적었다. 목록·쪽·정렬이 바뀌면 다시 잰다. */
|
|
184
|
+
const cardSpans = useWideCardSpans([groups, pagedItems, sortKey, pageSize, page]);
|
|
180
185
|
const isHeadOnly = noResults && !showEmptyText && !emptyHint;
|
|
181
186
|
return (
|
|
182
187
|
/* 제목·부제·조작부가 **상자 안** 에 선다(사용자 지시 2026-09-29) — 전에는 `Section` 의 머리가
|
|
@@ -187,7 +192,7 @@ export default function WordSearchResultBlock({ titleIcon, resultCount, resultUn
|
|
|
187
192
|
과 아주 같은 h4 로 맞췄는데, 그러니 결과 덩이의 머리가 그 위 판 제목들(`검색 옵션` ·
|
|
188
193
|
`단어 검색 설정`)과 같은 급이 되어 **무엇이 무엇의 머리인지 안 보였다.** 거르개 판은
|
|
189
194
|
결과를 고르는 도구고 이 덩이는 그 결과라, 나란한 것이 아니라 아래 딸린 것이다. */
|
|
190
|
-
_jsxs(Section, { type: sectionType, className: cx('word-search-result-block', className), children: [_jsxs("div", { className: cx('word-search-result-block__inner', isHeadOnly && 'word-search-result-block__inner--head-only'), children: [(titleLabel || toolbar || discNode) && (_jsxs("div", { className: "word-search-result-block__head", children: [_jsxs("div", { className: "word-search-result-block__head-main", children: [titleIcon && _jsx(Icon, { icon: titleIcon, className: "word-search-result-block__head-icon" }), titleLabel && _jsx("span", { className: "word-search-result-block__title h3", children: titleLabel })] }), toolbar && _jsx("div", { className: "word-search-result-block__head-actions", children: toolbar }), discNode && _jsx("div", { className: "word-search-result-block__head-disc body-3", children: discNode })] })), noResults && (showEmptyText || emptyHint) && (_jsxs("div", { className: "word-search-result-block__empty-wrap", children: [showEmptyText && _jsx("p", { className: "word-search-result-block__empty body-3", children: t('wordSearch.emptyResult', '검색 결과가 없습니다.') }), emptyHint && _jsx("p", { className: "word-search-result-block__empty-hint body-3", children: emptyHint })] })), groups ? ((pagedGroups ?? []).map((group) => (
|
|
195
|
+
_jsxs(Section, { type: sectionType, className: cx('word-search-result-block', className), children: [_jsxs("div", { ref: cardSpans, className: cx('word-search-result-block__inner', isHeadOnly && 'word-search-result-block__inner--head-only'), children: [(titleLabel || toolbar || discNode) && (_jsxs("div", { className: "word-search-result-block__head", children: [_jsxs("div", { className: "word-search-result-block__head-main", children: [titleIcon && _jsx(Icon, { icon: titleIcon, className: "word-search-result-block__head-icon" }), titleLabel && _jsx("span", { className: "word-search-result-block__title h3", children: titleLabel })] }), toolbar && _jsx("div", { className: "word-search-result-block__head-actions", children: toolbar }), discNode && _jsx("div", { className: "word-search-result-block__head-disc body-3", children: discNode })] })), noResults && (showEmptyText || emptyHint) && (_jsxs("div", { className: "word-search-result-block__empty-wrap", children: [showEmptyText && _jsx("p", { className: "word-search-result-block__empty body-3", children: t('wordSearch.emptyResult', '검색 결과가 없습니다.') }), emptyHint && _jsx("p", { className: "word-search-result-block__empty-hint body-3", children: emptyHint })] })), groups ? ((pagedGroups ?? []).map((group) => (
|
|
191
196
|
/* **묶음 이름을 머리로 그린다**(말귀 청 (308), 2026-10-19).
|
|
192
197
|
`pagedGroups` 가 `label` 을 들고 왔는데 **그리는 자리에서 안 썼다** — 받은 이름이
|
|
193
198
|
`key` 로만 쓰이고 사라져, 보는 사람은 어느 자리가 갈린 쌍인지 모른 채 한 덩어리로
|
|
@@ -71,6 +71,14 @@ export interface BarChartProps {
|
|
|
71
71
|
* 모든 차트의 막대 셈을 흔들 일이 아니다.
|
|
72
72
|
*/
|
|
73
73
|
canvasHeight?: number;
|
|
74
|
+
/** **카드에 남은 자리에 판을 맞춘다** — 카드 키가 박혀 있는 자리(사장님 지시 2026-11-02
|
|
75
|
+
* "높이 260 으로 고정시키고 그 안에 그래프가 맞춰지도록 해").
|
|
76
|
+
*
|
|
77
|
+
* `canvasHeight` 는 **손으로 맞춘 수**라, 머리·x축이 한 눈금만 달라져도 카드가 그만큼
|
|
78
|
+
* 넘치거나 모자랐다(2026-11-02 에 x축이 두 줄로 돌아가며 260 이 270 이 됐다 — 격자에서
|
|
79
|
+
* 곁 카드의 바닥이 어긋났다). 이것을 켜면 **그린 뒤 남은 키를 재서** 쓰므로 그 손질이
|
|
80
|
+
* 필요 없다. 카드가 제 키를 고정하고 있어야 뜻이 있다(`inGrid` 격자 카드). */
|
|
81
|
+
fitHeight?: boolean;
|
|
74
82
|
/** 섹션 제목 i18n 키 */
|
|
75
83
|
titleKey: string;
|
|
76
84
|
/** 제목을 머리글 몇 급으로 그릴지 — 그대로 `ChartSection` 에 넘긴다(말귀 요청 (60)③, 2026-10-02).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **칸보다 넓은 카드는 다음 칸까지 쓴다**(사장님 지시 2026-11-02 — *"가로가 길면 다음 칸
|
|
3
|
+
* 까지 사용하도록 해야지?"*).
|
|
4
|
+
*
|
|
5
|
+
* 낱말 묶음 격자는 **200px 고정 열**인데(`repeat(auto-fill, 200px)`), 그 안의 단추는
|
|
6
|
+
* 글 길이만큼 넓어진다(`min-width: 200px` 이고 넘침을 안 감춘다). 그래서 긴 묶음이 들면
|
|
7
|
+
* **단추가 제 칸을 넘어 옆 칸 위로 삐져나가고, 옆 카드가 그 위에 그려져 잘린 것처럼 보인다.**
|
|
8
|
+
*
|
|
9
|
+
* **아무 자도 그걸 못 잡는다** — `scrollWidth` 는 격자가 아니라 제 상자를 재니 멀쩡하고
|
|
10
|
+
* (실측 2026-11-02: 단추 `scrollWidth` 260 = `clientWidth` 260, 넘침 0으로 읽힌다),
|
|
11
|
+
* `overflow` 는 `visible` 이라 구르지도 잘리지도 않는다. 눈으로만 잡히던 자리다.
|
|
12
|
+
*
|
|
13
|
+
* 실측(2026-11-02 · 폭 1420 · 50묶음) — 열 200 × 6 · 틈 8. `가운뎃손가락 다리미질하다
|
|
14
|
+
* 콘트라베이스` 한 묶음이 **단추 262px** 라 62px 이 옆 칸을 덮었다. 두 칸이면 408px 이라 든다.
|
|
15
|
+
*
|
|
16
|
+
* ## 왜 CSS 로 못 하나
|
|
17
|
+
*
|
|
18
|
+
* 격자는 **칸 수를 글 길이로 못 정한다.** `max-content` 로 열을 잡으면 **가장 긴 묶음의 폭이
|
|
19
|
+
* 모든 열에 퍼져** 짧은 묶음 사이가 휑해지고(이 파일 CSS 머리말에 그 자취가 있다),
|
|
20
|
+
* `1fr` 로 늘리면 단추가 열을 못 채워 같은 일이 난다. 그래서 **재서 칸 수를 적는다.**
|
|
21
|
+
*
|
|
22
|
+
* 그리기 **직후에** 잰다(`useLayoutEffect`) — 효과가 늦으면 한 틱 동안 덮인 채 보인다.
|
|
23
|
+
* 폭이 바뀌면 열 수가 달라지므로 `ResizeObserver` 로 다시 잰다.
|
|
24
|
+
*
|
|
25
|
+
* @param deps 다시 재야 하는 때(묶음 목록·쪽·정렬이 바뀔 때).
|
|
26
|
+
* @returns 격자들을 **감싸는** 자리에 다는 자리표(격자 자체가 아니다 — 여럿일 수 있다).
|
|
27
|
+
*/
|
|
28
|
+
export declare function useWideCardSpans(deps?: readonly unknown[]): import("react").RefObject<HTMLDivElement | null>;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useCallback, useLayoutEffect, useRef } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* **칸보다 넓은 카드는 다음 칸까지 쓴다**(사장님 지시 2026-11-02 — *"가로가 길면 다음 칸
|
|
5
|
+
* 까지 사용하도록 해야지?"*).
|
|
6
|
+
*
|
|
7
|
+
* 낱말 묶음 격자는 **200px 고정 열**인데(`repeat(auto-fill, 200px)`), 그 안의 단추는
|
|
8
|
+
* 글 길이만큼 넓어진다(`min-width: 200px` 이고 넘침을 안 감춘다). 그래서 긴 묶음이 들면
|
|
9
|
+
* **단추가 제 칸을 넘어 옆 칸 위로 삐져나가고, 옆 카드가 그 위에 그려져 잘린 것처럼 보인다.**
|
|
10
|
+
*
|
|
11
|
+
* **아무 자도 그걸 못 잡는다** — `scrollWidth` 는 격자가 아니라 제 상자를 재니 멀쩡하고
|
|
12
|
+
* (실측 2026-11-02: 단추 `scrollWidth` 260 = `clientWidth` 260, 넘침 0으로 읽힌다),
|
|
13
|
+
* `overflow` 는 `visible` 이라 구르지도 잘리지도 않는다. 눈으로만 잡히던 자리다.
|
|
14
|
+
*
|
|
15
|
+
* 실측(2026-11-02 · 폭 1420 · 50묶음) — 열 200 × 6 · 틈 8. `가운뎃손가락 다리미질하다
|
|
16
|
+
* 콘트라베이스` 한 묶음이 **단추 262px** 라 62px 이 옆 칸을 덮었다. 두 칸이면 408px 이라 든다.
|
|
17
|
+
*
|
|
18
|
+
* ## 왜 CSS 로 못 하나
|
|
19
|
+
*
|
|
20
|
+
* 격자는 **칸 수를 글 길이로 못 정한다.** `max-content` 로 열을 잡으면 **가장 긴 묶음의 폭이
|
|
21
|
+
* 모든 열에 퍼져** 짧은 묶음 사이가 휑해지고(이 파일 CSS 머리말에 그 자취가 있다),
|
|
22
|
+
* `1fr` 로 늘리면 단추가 열을 못 채워 같은 일이 난다. 그래서 **재서 칸 수를 적는다.**
|
|
23
|
+
*
|
|
24
|
+
* 그리기 **직후에** 잰다(`useLayoutEffect`) — 효과가 늦으면 한 틱 동안 덮인 채 보인다.
|
|
25
|
+
* 폭이 바뀌면 열 수가 달라지므로 `ResizeObserver` 로 다시 잰다.
|
|
26
|
+
*
|
|
27
|
+
* @param deps 다시 재야 하는 때(묶음 목록·쪽·정렬이 바뀔 때).
|
|
28
|
+
* @returns 격자들을 **감싸는** 자리에 다는 자리표(격자 자체가 아니다 — 여럿일 수 있다).
|
|
29
|
+
*/
|
|
30
|
+
export function useWideCardSpans(deps = []) {
|
|
31
|
+
const ref = useRef(null);
|
|
32
|
+
/* **격자가 여럿일 수 있다** — 묶어서 보여 줄 때는 묶음마다 제 격자를 세운다. 그래서
|
|
33
|
+
자리표는 **격자가 아니라 그 바깥**에 달고, 안의 격자를 다 찾아 하나씩 잰다(격자에 달면
|
|
34
|
+
마지막 하나만 잡힌다). */
|
|
35
|
+
const measureGrid = useCallback((grid) => {
|
|
36
|
+
const style = getComputedStyle(grid);
|
|
37
|
+
/* 열 하나의 폭과 틈을 **격자에게 묻는다** — 200·8 을 여기 또 적으면 CSS 를 고칠 때
|
|
38
|
+
이 자리만 옛 수로 남는다. */
|
|
39
|
+
const columns = style.gridTemplateColumns.split(' ').filter(Boolean);
|
|
40
|
+
const column = parseFloat(columns[0] ?? '0');
|
|
41
|
+
const gap = parseFloat(style.columnGap || '0') || 0;
|
|
42
|
+
if (!column || columns.length < 2) { // 열이 하나뿐인 좁은 판은 넓힐 데가 없다
|
|
43
|
+
for (const cell of grid.children)
|
|
44
|
+
cell.style.gridColumn = '';
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
for (const node of grid.children) {
|
|
48
|
+
const cell = node;
|
|
49
|
+
/* **단추의 제 폭**을 재려면 먼저 자리표를 걷는다 — 지난번에 넓혀 둔 칸이 그대로면
|
|
50
|
+
단추가 그 폭에 맞춰져 "이제 안 넘친다" 로 읽힌다(고친 뒤 다시 좁아지지 않는다). */
|
|
51
|
+
cell.style.gridColumn = '';
|
|
52
|
+
cell.removeAttribute('data-wide');
|
|
53
|
+
const button = cell.querySelector('button');
|
|
54
|
+
const need = button ? button.getBoundingClientRect().width : 0;
|
|
55
|
+
if (need <= column + 0.5)
|
|
56
|
+
continue;
|
|
57
|
+
const span = Math.min(columns.length, Math.ceil((need + gap) / (column + gap)));
|
|
58
|
+
if (span <= 1)
|
|
59
|
+
continue;
|
|
60
|
+
cell.style.gridColumn = `span ${span}`;
|
|
61
|
+
/* **넓힌 칸은 카드가 채운다** — 칸만 넓히면 단추는 제 글 폭(262)에 머물러 오른쪽에
|
|
62
|
+
146px 이 빈다(실측 2026-11-02). 격자에 구멍이 난 것처럼 보인다. 채우는 일은 CSS 가
|
|
63
|
+
하고(`[data-wide]`), 여기서는 **어느 칸이 넓은지만** 표시한다. */
|
|
64
|
+
cell.setAttribute('data-wide', '');
|
|
65
|
+
}
|
|
66
|
+
}, []);
|
|
67
|
+
const measure = useCallback(() => {
|
|
68
|
+
const root = ref.current;
|
|
69
|
+
if (!root)
|
|
70
|
+
return;
|
|
71
|
+
for (const grid of root.querySelectorAll('.word-search-result-block__items'))
|
|
72
|
+
measureGrid(grid);
|
|
73
|
+
}, [measureGrid]);
|
|
74
|
+
useLayoutEffect(() => {
|
|
75
|
+
measure();
|
|
76
|
+
const root = ref.current;
|
|
77
|
+
if (!root || typeof ResizeObserver === 'undefined')
|
|
78
|
+
return;
|
|
79
|
+
const watch = new ResizeObserver(() => measure());
|
|
80
|
+
watch.observe(root);
|
|
81
|
+
return () => watch.disconnect();
|
|
82
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
83
|
+
}, [measure, ...deps]);
|
|
84
|
+
return ref;
|
|
85
|
+
}
|
package/dist/utils.cjs.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
\uC2E0\uB8B0\uB97C \uC313\uACE0
|
|
23
23
|
\uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},ys={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},ms={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},Cs={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},fs={ariaLabel:"\uC120\uD0DD \uD0ED"},ks={ariaLabel:"\uD0ED"},Ss={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},ws={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},bs={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},_s={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},vs={time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"}},Ts={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},As={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},Es={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},Ms={viewWords:"\uB0B1\uB9D0"},Ns={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},Ds={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},Ls={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},Bs={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},xs={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},Rs={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Ps={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},$s={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},Os={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},js={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},Is={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},Fs={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Hs={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},Gs={common:Hi,calendar:Gi,passCard:Wi,rating:zi,colorPicker:Vi,dropdown:Ki,accordion:qi,header:Yi,nav:Ui,settings:Ji,usage:Qi,account:Zi,training:Xi,customers:es,payment:ts,coupons:os,visits:ns,trainingType:rs,myWordTable:as,keyWords:is,wordTable:ss,wordSearch:ls,wordPrint:us,topic:cs,device:ds,manager:hs,wordPairs:gs,footer:ps,date:ys,wordData:ms,textField:Cs,segmentedControl:fs,tabs:ks,fileUpload:Ss,avatar:ws,myHomework:bs,trainingStatus:_s,store:vs,progress:Ts,trainingMiss:As,table:Es,wordScore:Ms,topBanner:Ns,datePicker:Ds,report:Ls,tooltip:Bs,phonemeProfile:xs,bulkBar:Rs,debug:Ps,badge:$s,loader:Os,soundCompass:js,breadcrumb:Is,board:Fs,promoBannerBg:Hs},Ws={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",collapseFor:"Collapse {{name}}",expandFor:"Expand {{name}}",sortFor:"Sort {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount_one:"{{count}} like",likeCount_other:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount_one:"{{count}} download",downloadCount_other:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",loading:"Loading",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},zs={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonthCompact:"{{full}}",weekLabel:"Week {{ord}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount_one:"{{count}} visit",visitCount_other:"{{count}} visits",statusCount:"{{count}} {{label}}",weekOrdinal:["1","2","3","4","5","6","7"]},Vs={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",expired:"Expired",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},Ks={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},qs={selected:"selected"},Ys={placeholder:"Select"},Us={collapse:"Collapse",expand:"Expand"},Js={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},Qs={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel_one:"{{label}}, {{count}} notification inside",badgeInsideLabel_other:"{{label}}, {{count}} notifications inside"},Zs={cache:{cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"}}}},Xs={couponButton:"Enter Coupon"},el={security:{password:{currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."}}},tl={settings:"Settings",filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions_one:"{{n}} question",countQuestions_other:"{{n}} questions",countSentences_one:"{{n}} sentence",countSentences_other:"{{n}} sentences",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",replaySound:"Replay item {{no}}",replaySoundStop:"Stop item {{no}}",done:"Done",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{synthesizing:"Preparing the sound\u2026",preparing:"Preparing sound\u2026"}},ol={totalCount:" customers",loadError:"Failed to load list",device:{title:"Hearing Devices",addButton:"Add device",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",historyTitle:"Hearing device history"},schedule:{registerTitle:" Register Schedule"},visitHistory:{empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"},consent:{record:"Record consent",kinds:"Kinds given",methodTitle:"How it was given",sourceTitle:"Who gave it",day:"Date given",note:"Note",notePlaceholder:"Referring clinic and the like \u2014 do not write anything sensitive",submit:"Save",allTaken:"All three kinds are already on record. Revoke one first to record it again.",kind:{personal:"General personal data",sensitive:"Sensitive data (hearing, diagnosis)",marketing:"Marketing messages"},method:{paper:"On paper",verbal:"Spoken",electronic:"Electronic"},source:{self:"The customer",guardian:"A guardian",referral:"A referring body"}}},nl={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},rl={input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply"},al={showN:"Show {{n}}"},il={title:"Training by Type",subtitle:"Select the training type you want",listenInNoise:{title:"Sentence Listening in Noise",desc:"Train sentence comprehension in various noise environments."},shortStory:{title:"Short Story Listening",desc:"Listen to short stories and understand the content."},longStory:{title:"Long Story Listening",desc:"Focus on listening to long stories and grasp the content."},orderingSentence:{title:"Sentence Ordering",desc:"Arrange heard sentences in the correct order."},SAME_SOUND_PICK:{label:"Listen & Pick Same Sound",sub:"Pick the word card that matches what you heard."},SAME_OR_DIFF:{label:"Same or Different?",sub:"Decide whether the two sounds are the same or different."},HEAR_AND_PICK_SAME:{label:"Hear & Match Word",sub:"Pick the word card that matches the sound you heard."},HEAR_AND_PICK_INCLUDED:{label:"Find Word Containing Sound",sub:"Pick the word card that contains the syllable you heard."},STARTS_WITH_SAME_SOUND:{label:"Find Word Starting with Same Sound",sub:"Pick a word that starts with the same sound as what you heard."},LISTEN_AND_REMEMBER_ORDER:{label:"Listen & Recall Order",sub:"Select the cards in the order you heard the three words."},MERGE_2_SYLLABLES:{label:"Combine 2 Syllables",sub:"What word do two syllables make?"},MERGE_3_SYLLABLES:{label:"Combine 3 Syllables",sub:"What word do three syllables make?"},MERGE_2_PHONEMES:{label:"Combine 2 Phonemes",sub:"What sound do two phonemes make?"},MERGE_3_PHONEMES:{label:"Combine 3 Phonemes",sub:"What sound do three phonemes make?"},DROP_1_FROM_2SYLL:{label:"Drop 1 Syllable from 2-Syllable",sub:"What sound remains when you remove a syllable from a 2-syllable word?"},DROP_1_FROM_3SYLL:{label:"Drop 1 Syllable from 3-Syllable",sub:"What sound remains when you remove a syllable from a 3-syllable word?"},DROP_PART_FROM_COMPOUND:{label:"Drop Part of Compound Word",sub:"What word remains when you remove part of a compound word?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"Drop Final Consonant",sub:"What sound remains when you remove the final consonant?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"Drop Consonant",sub:"What sound remains when you remove the consonant?"},CHANGE_1_SYLL_IN_2SYLL:{label:"Change 1 Syllable (2-Syllable)",sub:"Change one syllable in a 2-syllable word to make a new word."},CHANGE_1_SYLL_IN_3SYLL:{label:"Change 1 Syllable (3-Syllable)",sub:"Change one syllable in a 3-syllable word to make a new word."},CHANGE_1_PHONEME_IN_1SYLL:{label:"Change 1 Phoneme (1-Syllable)",sub:"Change one phoneme in a 1-syllable word to make a new sound."},CHANGE_1_PHONEME_IN_2SYLL:{label:"Change 1 Phoneme (2-Syllable)",sub:"Change one phoneme in a 2-syllable word to make a new word."}},sl={newBadge:"Newly created",publishedBadge:"Published",sharedBadge:"Shared"},ll={title:"Key Words",empty:"No key words available."},ul={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",caption:"Form",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",copyItem:"Duplicate",copyItemAria:"Duplicate the word in cell {{n}}",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount_one:"{{count}} word",itemCount_other:"{{count}} words",deleteAriaLabel:"Delete {{name}}",viewLabel:"View as",sortLabel:"Sort by",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},publisherFilter:"Show only tables by {{name}}",groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved_one:"Saved {{count}} mark for {{name}}.",saved_other:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage_one:"Builds a new table from the {{count}} cell {{name}} got wrong or partial. Correct ones are left out.",reviewMessage_other:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated_one:"Created \u201C{{name}}\u201D \u2014 {{count}} cell.",reviewCreated_other:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage_one:"You marked {{count}} cell but have not saved. Leaving discards it.",discardMessage_other:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"},thumbMore:"+{{count}}",replaceItem:"Other words",replacePair:"Other pairs",replaceItemAria:"Swap cell {{n}} only",replacePairAria:"Swap pair {{n}} only",thumbMoreAria_one:"1 more cell: {{words}}",thumbMoreAria_other:"{{count}} more cells: {{words}}",pickForm:"Other forms",pickFormAria:"Change the form in cell {{n}}",pickFormBaseAria:"Change the form of the base word"},cl={filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size"},dl={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removePairFor:"Remove the pair {{name}}",removeWord:"Remove word",removeWordFor:"Remove {{name}}"},hl={title:"By Topic",subtitle:"Select a topic to start listening training",noiseTitle:"Sentence Listening in Noise",shortStoryTitle:"Short Story Listening",FOOD:"Food",HLTH:"Health",WETH:"Weather",PRSN:"People",KRCT:"Korean Culture",STRY:"Stories",LOCA:"Locations",SOAR:"Society & Arts",NTSC:"Nature & Science",SPRT:"Sports",sub:{TRKRFD:"Traditional Korean Food",MDKRFD:"Modern Korean Food",WRLDFD:"World Cuisine",MTRFRT:"Ingredients & Fruits",GEFDKL:"Food Facts",HTETHB:"Healthy Eating",DISILL:"Diseases",EXCISE:"Exercise",GEHTKL:"Health Facts",GESSKL:"Seasons",SNWRAN:"Snow & Rain",WTHFCT:"Weather Forecast",GEWTKL:"Weather Facts",JODYPS:"Joseon Dynasty",MDKRPS:"Modern Korea",THKDPS:"Three Kingdoms",WRLART:"World Artists",WRLPSN:"World Figures",KRLANG:"Korean Language",TRPLCT:"Traditional Games",HERITG:"Heritage",EVTFES:"Events & Festivals",GECTKL:"General Knowledge",FRYTAL:"Fairy Tales",AMZING:"Amazing Stories",DAYSTR:"Everyday Stories",KRLDMK:"Korean Landmarks",SELNMK:"Seoul Landmarks",WRDTRB:"World Travel",NAVIGT:"Navigation",KRSOCI:"Korea",ECONEW:"Economy & News",GENART:"Arts",GELFKL:"Life Tips",ANIMAL:"Animals",PLANTS:"Plants",ETHPLT:"Earth",TOLELC:"Tools & Electronics",GESCKL:"Science Facts",INVDSP:"Individual Sports",MARART:"Martial Arts",TEAMSP:"Team Sports",FOOTBL:"Soccer",GESPKL:"Sports Facts"}},gl={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant",other:"Other"}},pl={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"}},yl={phonemeSelect:{vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:["Level 1 \u2014 everyday vocabulary acquired before school age and used for life","Level 2 \u2014 difficulty of grades 1\u20132","Level 3 \u2014 difficulty of grades 3\u20134","Level 4 \u2014 difficulty of grades 5\u20136","No level \u2014 frequent everyday words outside the national standard list, plus coinages and loanwords"],selectLabel:"Select",onlyHasImage:"Only words with images",onlyHighUsage:"High-use words only",onlySameStructure:"Only same phoneme structure"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},ml={lead:`IHAB builds trust
|
|
24
24
|
through sound
|
|
25
|
-
and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",bizNo:"Business no.",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Sicheong-gil, Chuncheon, Gangwon, Korea",bizNoValue:"526-81-02926"},Cl={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},fl={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount_one:"Downloading {{n}} word",downloadingCount_other:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},kl={clearAriaLabel:"Clear input"},Sl={ariaLabel:"Select tab"},wl={ariaLabel:"Tabs"},bl={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},_l={ariaLabel:"User avatar"},vl={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"}},Tl={weekly:{title:"Weekly Training",daily:"Daily Listening"},homework:{title:"Homework Progress",totalRate:"Overall rate",done:"Done"},today:{tooltipTotal:"Total",tooltipDone:"Done"},visit:{title:"Linked Visit Records"},detail:"Details",detailFor:"{{name}} details"},Al={time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"}},El={steps:"Step {{current}} of {{total}}"},Ml={skippedOnly_one:"{{n}} older record was excluded \u2014 it does not say what was answered.",skippedOnly_other:"{{n}} older records were excluded \u2014 they do not say what was answered.",runs_one:"{{count}} run",runs_other:"{{count}} runs"},Nl={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},Dl={viewWords:"Words"},Ll={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},Bl={chooseDate:"Choose a date",selectYear:"Select year",selectMonth:"Select month"},xl={previewRegion:"Report preview \u2014 scrollable sideways"},Rl={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},Pl={place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},$l={clearSelection:"Clear selection"},Ol={showResult:"Show {{type}} result"},jl={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},Il={loading:"Loading"},Fl={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},Hl={ariaLabel:"Breadcrumb"},Gl={empty:"No items yet."},Wl={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},zl={common:Ws,calendar:zs,passCard:Vs,rating:Ks,colorPicker:qs,dropdown:Ys,accordion:Us,header:Js,nav:Qs,settings:Zs,usage:Xs,account:el,training:tl,customers:ol,payment:nl,coupons:rl,visits:al,trainingType:il,myWordTable:sl,keyWords:ll,wordTable:ul,wordSearch:cl,wordPrint:dl,topic:hl,device:gl,manager:pl,wordPairs:yl,footer:ml,date:Cl,wordData:fl,textField:kl,segmentedControl:Sl,tabs:wl,fileUpload:bl,avatar:_l,myHomework:vl,trainingStatus:Tl,store:Al,progress:El,trainingMiss:Ml,table:Nl,wordScore:Dl,topBanner:Ll,datePicker:Bl,report:xl,tooltip:Rl,phonemeProfile:Pl,bulkBar:$l,debug:Ol,badge:jl,loader:Il,soundCompass:Fl,breadcrumb:Hl,board:Gl,promoBannerBg:Wl};const Vl="0.414.0",Kl=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],xt="ko",ql="ihab_display_language";function Xo(){if(typeof window>"u")return xt;try{const e=localStorage.getItem(ql);if(e&&Kl.some(t=>t.code===e))return e}catch{}return xt}function en(e){try{document.documentElement.lang=e}catch{}}Z.on("languageChanged",en),en(Xo()),Z.use(pn.initReactI18next).init({resources:{ko:{translation:Gs},en:{translation:zl}},lng:Xo(),fallbackLng:xt,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Yl=new Map;try{Z.store?.on?.("added",()=>Yl.clear())}catch{}let Qe=null,tn=null,on=null;function Ul(){const e=Ro();if(e&&e.entries.length>0){const t=go();if(Qe&&tn===e&&on===t)return Qe;const o=new Set,n=[];for(const r of e.entries)!r.word||o.has(r.word)||(o.add(r.word),n.push({w:r.word,s:r.syllables,p:t?.[r.word]?[...t[r.word].cho??[],...t[r.word].jung??[],...t[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return Qe=n,tn=e,on=t,Qe}return[]}new Proxy([],{get(e,t){const o=Ul(),n=o[t];return typeof n=="function"?n.bind(o):n}});const Jl={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},Ql={none:0,free:1,personal_standard:2,mgr_free:10,lite_word:11,lite_sentence:11,lite:12,standard:13,pro:14,enterprise:15},Zl=new Set(["mgr_free","lite_word","lite_sentence","lite","standard","pro","enterprise"]);function Xl(e){return Zl.has(e)}const eu={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function tu(e){const t=(e??"").toLowerCase();return t==="speechear_free"||t==="free"?"free":t.startsWith("manager_free")||t.startsWith("mgr_free")?"mgr_free":t.startsWith("manager_enterprise")?"enterprise":t.startsWith("manager_pro")?"pro":t.startsWith("manager_standard")?"standard":t.startsWith("manager_lite_word")?"lite_word":t.startsWith("manager_lite_sentence")?"lite_sentence":t.startsWith("manager_lite")||t.startsWith("mgr_lite")?"lite":t.startsWith("mgr_standard")?"standard":t.startsWith("mgr_pro")?"pro":t.startsWith("content_")||t.startsWith("speechear_")||t.startsWith("light_")||t==="light"?"personal_standard":"none"}const ou=5,nu=5;function ru({rank:e,voteCount:t,quota:o=5}){return e<o&&t>0}const au={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"},nn="chunk-reload-ts",rn=1e4;function an(){try{return Number(sessionStorage.getItem(nn)||0)}catch{return 0}}function sn(e=Date.now()){if(e-an()<=rn)return!1;try{sessionStorage.setItem(nn,String(e))}catch{}return window.location.reload(),!0}function ln(e=Date.now()){const t=an();return t>0&&e-t<=rn}function iu(){if(typeof window>"u")return()=>{};let e=!1;const t=()=>{const r=sn();return r&&(e=!0),r},o=r=>{(t()||e)&&r.preventDefault()},n=r=>{const i=r.target;i instanceof HTMLLinkElement&&i.rel==="stylesheet"&&t()};return window.addEventListener("vite:preloadError",o),window.addEventListener("error",n,!0),()=>{window.removeEventListener("vite:preloadError",o),window.removeEventListener("error",n,!0)}}function su(e){return e==null?!1:lu.test(Lo(e))}const lu=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;/**
|
|
25
|
+
and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",bizNo:"Business no.",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Sicheong-gil, Chuncheon, Gangwon, Korea",bizNoValue:"526-81-02926"},Cl={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},fl={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount_one:"Downloading {{n}} word",downloadingCount_other:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},kl={clearAriaLabel:"Clear input"},Sl={ariaLabel:"Select tab"},wl={ariaLabel:"Tabs"},bl={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},_l={ariaLabel:"User avatar"},vl={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"}},Tl={weekly:{title:"Weekly Training",daily:"Daily Listening"},homework:{title:"Homework Progress",totalRate:"Overall rate",done:"Done"},today:{tooltipTotal:"Total",tooltipDone:"Done"},visit:{title:"Linked Visit Records"},detail:"Details",detailFor:"{{name}} details"},Al={time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"}},El={steps:"Step {{current}} of {{total}}"},Ml={skippedOnly_one:"{{n}} older record was excluded \u2014 it does not say what was answered.",skippedOnly_other:"{{n}} older records were excluded \u2014 they do not say what was answered.",runs_one:"{{count}} run",runs_other:"{{count}} runs"},Nl={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},Dl={viewWords:"Words"},Ll={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},Bl={chooseDate:"Choose a date",selectYear:"Select year",selectMonth:"Select month"},xl={previewRegion:"Report preview \u2014 scrollable sideways"},Rl={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},Pl={place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},$l={clearSelection:"Clear selection"},Ol={showResult:"Show {{type}} result"},jl={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},Il={loading:"Loading"},Fl={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},Hl={ariaLabel:"Breadcrumb"},Gl={empty:"No items yet."},Wl={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},zl={common:Ws,calendar:zs,passCard:Vs,rating:Ks,colorPicker:qs,dropdown:Ys,accordion:Us,header:Js,nav:Qs,settings:Zs,usage:Xs,account:el,training:tl,customers:ol,payment:nl,coupons:rl,visits:al,trainingType:il,myWordTable:sl,keyWords:ll,wordTable:ul,wordSearch:cl,wordPrint:dl,topic:hl,device:gl,manager:pl,wordPairs:yl,footer:ml,date:Cl,wordData:fl,textField:kl,segmentedControl:Sl,tabs:wl,fileUpload:bl,avatar:_l,myHomework:vl,trainingStatus:Tl,store:Al,progress:El,trainingMiss:Ml,table:Nl,wordScore:Dl,topBanner:Ll,datePicker:Bl,report:xl,tooltip:Rl,phonemeProfile:Pl,bulkBar:$l,debug:Ol,badge:jl,loader:Il,soundCompass:Fl,breadcrumb:Hl,board:Gl,promoBannerBg:Wl};const Vl="0.415.0",Kl=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],xt="ko",ql="ihab_display_language";function Xo(){if(typeof window>"u")return xt;try{const e=localStorage.getItem(ql);if(e&&Kl.some(t=>t.code===e))return e}catch{}return xt}function en(e){try{document.documentElement.lang=e}catch{}}Z.on("languageChanged",en),en(Xo()),Z.use(pn.initReactI18next).init({resources:{ko:{translation:Gs},en:{translation:zl}},lng:Xo(),fallbackLng:xt,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Yl=new Map;try{Z.store?.on?.("added",()=>Yl.clear())}catch{}let Qe=null,tn=null,on=null;function Ul(){const e=Ro();if(e&&e.entries.length>0){const t=go();if(Qe&&tn===e&&on===t)return Qe;const o=new Set,n=[];for(const r of e.entries)!r.word||o.has(r.word)||(o.add(r.word),n.push({w:r.word,s:r.syllables,p:t?.[r.word]?[...t[r.word].cho??[],...t[r.word].jung??[],...t[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return Qe=n,tn=e,on=t,Qe}return[]}new Proxy([],{get(e,t){const o=Ul(),n=o[t];return typeof n=="function"?n.bind(o):n}});const Jl={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},Ql={none:0,free:1,personal_standard:2,mgr_free:10,lite_word:11,lite_sentence:11,lite:12,standard:13,pro:14,enterprise:15},Zl=new Set(["mgr_free","lite_word","lite_sentence","lite","standard","pro","enterprise"]);function Xl(e){return Zl.has(e)}const eu={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function tu(e){const t=(e??"").toLowerCase();return t==="speechear_free"||t==="free"?"free":t.startsWith("manager_free")||t.startsWith("mgr_free")?"mgr_free":t.startsWith("manager_enterprise")?"enterprise":t.startsWith("manager_pro")?"pro":t.startsWith("manager_standard")?"standard":t.startsWith("manager_lite_word")?"lite_word":t.startsWith("manager_lite_sentence")?"lite_sentence":t.startsWith("manager_lite")||t.startsWith("mgr_lite")?"lite":t.startsWith("mgr_standard")?"standard":t.startsWith("mgr_pro")?"pro":t.startsWith("content_")||t.startsWith("speechear_")||t.startsWith("light_")||t==="light"?"personal_standard":"none"}const ou=5,nu=5;function ru({rank:e,voteCount:t,quota:o=5}){return e<o&&t>0}const au={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"},nn="chunk-reload-ts",rn=1e4;function an(){try{return Number(sessionStorage.getItem(nn)||0)}catch{return 0}}function sn(e=Date.now()){if(e-an()<=rn)return!1;try{sessionStorage.setItem(nn,String(e))}catch{}return window.location.reload(),!0}function ln(e=Date.now()){const t=an();return t>0&&e-t<=rn}function iu(){if(typeof window>"u")return()=>{};let e=!1;const t=()=>{const r=sn();return r&&(e=!0),r},o=r=>{(t()||e)&&r.preventDefault()},n=r=>{const i=r.target;i instanceof HTMLLinkElement&&i.rel==="stylesheet"&&t()};return window.addEventListener("vite:preloadError",o),window.addEventListener("error",n,!0),()=>{window.removeEventListener("vite:preloadError",o),window.removeEventListener("error",n,!0)}}function su(e){return e==null?!1:lu.test(Lo(e))}const lu=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;/**
|
|
26
26
|
* @license lucide-react v1.38.0 - ISC
|
|
27
27
|
*
|
|
28
28
|
* This source code is licensed under the ISC license.
|