@ihabdevteam/core 0.119.0 → 0.121.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 +45 -0
- package/dist/components.cjs.js +176 -176
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +3 -3
- package/dist/ihabdevteam-core.cjs.js +180 -180
- package/dist/ihabdevteam-core.d.ts +11 -3
- package/dist/packages/core/src/components/Training/AudioPlayerWaveForm.d.ts +1 -1
- package/dist/packages/core/src/components/Training/AudioPlayerWaveForm.js +3 -3
- package/dist/packages/core/src/components/Training/NoisePlayerContext.d.ts +27 -1
- package/dist/packages/core/src/components/Training/NoisePlayerContext.js +48 -1
- package/dist/packages/core/src/components/Training/NoiseSettingsTooltip.js +10 -10
- package/dist/packages/core/src/components/Training/TrainingPagePopup.js +5 -4
- package/dist/packages/core/src/components/Training/TrainingStepAudioPlayer.js +6 -4
- package/dist/packages/core/src/components/Training/useNoiseFade.d.ts +2 -2
- package/dist/packages/core/src/components/Training/useNoiseFade.js +11 -8
- package/dist/packages/core/src/components/Training/useTTSPlayback.d.ts +1 -1
- package/dist/packages/core/src/components/Training/useTTSPlayback.js +2 -2
- package/dist/packages/core/src/i18n/locales/en.json +2 -1
- package/dist/packages/core/src/i18n/locales/ko.json +3 -2
- package/dist/packages/core/src/types/training.d.ts +10 -2
- 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
package/dist/components.cjs.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
"use strict";var t=require("react/jsx-runtime"),i=require("react"),
|
|
1
|
+
"use strict";var t=require("react/jsx-runtime"),i=require("react"),pe=require("react-i18next"),Tt=require("react-dom"),hn=require("i18next"),Zt=typeof document<"u"?document.currentScript:null;function be(...e){return e.filter(Boolean).join(" ")}const zr=new Set,Wr=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function xa(e,...n){!Wr||zr.has(e)||(zr.add(e),console.warn(...n))}/**
|
|
2
2
|
* @license lucide-react v1.38.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const
|
|
6
|
+
*/const qr=(...e)=>e.filter((n,a,r)=>!!n&&n.trim()!==""&&r.indexOf(n)===a).join(" ").trim();/**
|
|
7
7
|
* @license lucide-react v1.38.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const
|
|
11
|
+
*/const Pl=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
12
12
|
* @license lucide-react v1.38.0 - ISC
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const
|
|
16
|
+
*/const Il=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,r)=>r?r.toUpperCase():a.toLowerCase());/**
|
|
17
17
|
* @license lucide-react v1.38.0 - ISC
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
20
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const
|
|
21
|
+
*/const Ur=e=>{const n=Il(e);return n.charAt(0).toUpperCase()+n.slice(1)};/**
|
|
22
22
|
* @license lucide-react v1.38.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
@@ -28,784 +28,784 @@
|
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const
|
|
31
|
+
*/const Fl=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1},Ol=i.createContext({}),Hl=()=>i.useContext(Ol),Vl=i.forwardRef(({color:e,size:n,strokeWidth:a,absoluteStrokeWidth:r,className:o="",children:s,iconNode:l,...c},d)=>{const{size:u=24,strokeWidth:h=2,absoluteStrokeWidth:p=!1,color:C="currentColor",className:g=""}=Hl()??{},f=r??p?Number(a??h)*24/Number(n??u):a??h;return i.createElement("svg",{ref:d,..._a,width:n??u??_a.width,height:n??u??_a.height,stroke:e??C,strokeWidth:f,className:qr("lucide",g,o),...!s&&!Fl(c)&&{"aria-hidden":"true"},...c},[...l.map(([m,v])=>i.createElement(m,v)),...Array.isArray(s)?s:[s]])});/**
|
|
32
32
|
* @license lucide-react v1.38.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
35
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/const G=(e,n)=>{const a=i.forwardRef(({className:r,...o},s)=>i.createElement(
|
|
36
|
+
*/const G=(e,n)=>{const a=i.forwardRef(({className:r,...o},s)=>i.createElement(Vl,{ref:s,iconNode:n,className:qr(`lucide-${Pl(Ur(e))}`,`lucide-${e}`,r),...o}));return a.displayName=Ur(e),a};/**
|
|
37
37
|
* @license lucide-react v1.38.0 - ISC
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const
|
|
41
|
+
*/const zl=[["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",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Gr=G("triangle-alert",zl);/**
|
|
42
42
|
* @license lucide-react v1.38.0 - ISC
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
45
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/const
|
|
46
|
+
*/const Wl=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],ql=G("align-start-vertical",Wl);/**
|
|
47
47
|
* @license lucide-react v1.38.0 - ISC
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the ISC license.
|
|
50
50
|
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
-
*/const
|
|
51
|
+
*/const Ul=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Gl=G("arrow-down",Ul);/**
|
|
52
52
|
* @license lucide-react v1.38.0 - ISC
|
|
53
53
|
*
|
|
54
54
|
* This source code is licensed under the ISC license.
|
|
55
55
|
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/const
|
|
56
|
+
*/const Kl=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Zl=G("arrow-left",Kl);/**
|
|
57
57
|
* @license lucide-react v1.38.0 - ISC
|
|
58
58
|
*
|
|
59
59
|
* This source code is licensed under the ISC license.
|
|
60
60
|
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
-
*/const
|
|
61
|
+
*/const Yl=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xl=G("arrow-right",Yl);/**
|
|
62
62
|
* @license lucide-react v1.38.0 - ISC
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the ISC license.
|
|
65
65
|
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/const
|
|
66
|
+
*/const Jl=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],Ql=G("arrow-right-left",Jl);/**
|
|
67
67
|
* @license lucide-react v1.38.0 - ISC
|
|
68
68
|
*
|
|
69
69
|
* This source code is licensed under the ISC license.
|
|
70
70
|
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
-
*/const
|
|
71
|
+
*/const ec=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],tc=G("audio-lines",ec);/**
|
|
72
72
|
* @license lucide-react v1.38.0 - ISC
|
|
73
73
|
*
|
|
74
74
|
* This source code is licensed under the ISC license.
|
|
75
75
|
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/const
|
|
76
|
+
*/const nc=[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]],ac=G("baby",nc);/**
|
|
77
77
|
* @license lucide-react v1.38.0 - ISC
|
|
78
78
|
*
|
|
79
79
|
* This source code is licensed under the ISC license.
|
|
80
80
|
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/const
|
|
81
|
+
*/const rc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],oc=G("ban",rc);/**
|
|
82
82
|
* @license lucide-react v1.38.0 - ISC
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the ISC license.
|
|
85
85
|
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/const
|
|
86
|
+
*/const sc=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],ic=G("bell",sc);/**
|
|
87
87
|
* @license lucide-react v1.38.0 - ISC
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the ISC license.
|
|
90
90
|
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/const
|
|
91
|
+
*/const lc=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],cc=G("book-marked",lc);/**
|
|
92
92
|
* @license lucide-react v1.38.0 - ISC
|
|
93
93
|
*
|
|
94
94
|
* This source code is licensed under the ISC license.
|
|
95
95
|
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
-
*/const
|
|
96
|
+
*/const uc=[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]],dc=G("book-open",uc);/**
|
|
97
97
|
* @license lucide-react v1.38.0 - ISC
|
|
98
98
|
*
|
|
99
99
|
* This source code is licensed under the ISC license.
|
|
100
100
|
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
-
*/const
|
|
101
|
+
*/const pc=[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]],hc=G("bow-arrow",pc);/**
|
|
102
102
|
* @license lucide-react v1.38.0 - ISC
|
|
103
103
|
*
|
|
104
104
|
* This source code is licensed under the ISC license.
|
|
105
105
|
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/const
|
|
106
|
+
*/const mc=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],Cc=G("braces",mc);/**
|
|
107
107
|
* @license lucide-react v1.38.0 - ISC
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the ISC license.
|
|
110
110
|
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/const
|
|
111
|
+
*/const fc=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],gc=G("bug",fc);/**
|
|
112
112
|
* @license lucide-react v1.38.0 - ISC
|
|
113
113
|
*
|
|
114
114
|
* This source code is licensed under the ISC license.
|
|
115
115
|
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
-
*/const
|
|
116
|
+
*/const bc=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],yc=G("calendar-check",bc);/**
|
|
117
117
|
* @license lucide-react v1.38.0 - ISC
|
|
118
118
|
*
|
|
119
119
|
* This source code is licensed under the ISC license.
|
|
120
120
|
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
-
*/const
|
|
121
|
+
*/const vc=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M8 17h.01",key:"p3bg7i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M16 17h.01",key:"ql8jdd"}]],xc=G("calendar-days",vc);/**
|
|
122
122
|
* @license lucide-react v1.38.0 - ISC
|
|
123
123
|
*
|
|
124
124
|
* This source code is licensed under the ISC license.
|
|
125
125
|
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
-
*/const
|
|
126
|
+
*/const _c=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],wc=G("camera",_c);/**
|
|
127
127
|
* @license lucide-react v1.38.0 - ISC
|
|
128
128
|
*
|
|
129
129
|
* This source code is licensed under the ISC license.
|
|
130
130
|
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
-
*/const
|
|
131
|
+
*/const kc=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Ac=G("chart-column",kc);/**
|
|
132
132
|
* @license lucide-react v1.38.0 - ISC
|
|
133
133
|
*
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/const
|
|
136
|
+
*/const Nc=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Bc=G("chart-line",Nc);/**
|
|
137
137
|
* @license lucide-react v1.38.0 - ISC
|
|
138
138
|
*
|
|
139
139
|
* This source code is licensed under the ISC license.
|
|
140
140
|
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
-
*/const
|
|
141
|
+
*/const Sc=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Dc=G("chart-pie",Sc);/**
|
|
142
142
|
* @license lucide-react v1.38.0 - ISC
|
|
143
143
|
*
|
|
144
144
|
* This source code is licensed under the ISC license.
|
|
145
145
|
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
-
*/const
|
|
146
|
+
*/const jc=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Kr=G("check",jc);/**
|
|
147
147
|
* @license lucide-react v1.38.0 - ISC
|
|
148
148
|
*
|
|
149
149
|
* This source code is licensed under the ISC license.
|
|
150
150
|
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
-
*/const
|
|
151
|
+
*/const Ec=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Zr=G("chevron-left",Ec);/**
|
|
152
152
|
* @license lucide-react v1.38.0 - ISC
|
|
153
153
|
*
|
|
154
154
|
* This source code is licensed under the ISC license.
|
|
155
155
|
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
-
*/const
|
|
156
|
+
*/const Tc=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Yr=G("chevron-right",Tc);/**
|
|
157
157
|
* @license lucide-react v1.38.0 - ISC
|
|
158
158
|
*
|
|
159
159
|
* This source code is licensed under the ISC license.
|
|
160
160
|
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
-
*/const
|
|
161
|
+
*/const Mc=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Lc=G("clipboard-list",Mc);/**
|
|
162
162
|
* @license lucide-react v1.38.0 - ISC
|
|
163
163
|
*
|
|
164
164
|
* This source code is licensed under the ISC license.
|
|
165
165
|
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
-
*/const
|
|
166
|
+
*/const $c=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],Rc=G("combine",$c);/**
|
|
167
167
|
* @license lucide-react v1.38.0 - ISC
|
|
168
168
|
*
|
|
169
169
|
* This source code is licensed under the ISC license.
|
|
170
170
|
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
-
*/const
|
|
171
|
+
*/const Pc=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Ic=G("copy",Pc);/**
|
|
172
172
|
* @license lucide-react v1.38.0 - ISC
|
|
173
173
|
*
|
|
174
174
|
* This source code is licensed under the ISC license.
|
|
175
175
|
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
-
*/const
|
|
176
|
+
*/const Fc=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"m17 7 5 5-5 5",key:"1xlxn0"}],["path",{d:"m7 7-5 5 5 5",key:"19njba"}],["path",{d:"M8 12h.01",key:"czm47f"}]],Oc=G("chevrons-left-right-ellipsis",Fc);/**
|
|
177
177
|
* @license lucide-react v1.38.0 - ISC
|
|
178
178
|
*
|
|
179
179
|
* This source code is licensed under the ISC license.
|
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
-
*/const
|
|
181
|
+
*/const Hc=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Vc=G("credit-card",Hc);/**
|
|
182
182
|
* @license lucide-react v1.38.0 - ISC
|
|
183
183
|
*
|
|
184
184
|
* This source code is licensed under the ISC license.
|
|
185
185
|
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
-
*/const
|
|
186
|
+
*/const zc=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Xr=G("database",zc);/**
|
|
187
187
|
* @license lucide-react v1.38.0 - ISC
|
|
188
188
|
*
|
|
189
189
|
* This source code is licensed under the ISC license.
|
|
190
190
|
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
-
*/const
|
|
191
|
+
*/const Wc=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],qc=G("diff",Wc);/**
|
|
192
192
|
* @license lucide-react v1.38.0 - ISC
|
|
193
193
|
*
|
|
194
194
|
* This source code is licensed under the ISC license.
|
|
195
195
|
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
-
*/const
|
|
196
|
+
*/const Uc=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Jr=G("download",Uc);/**
|
|
197
197
|
* @license lucide-react v1.38.0 - ISC
|
|
198
198
|
*
|
|
199
199
|
* This source code is licensed under the ISC license.
|
|
200
200
|
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
-
*/const
|
|
201
|
+
*/const Gc=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],Kc=G("ear",Gc);/**
|
|
202
202
|
* @license lucide-react v1.38.0 - ISC
|
|
203
203
|
*
|
|
204
204
|
* This source code is licensed under the ISC license.
|
|
205
205
|
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
-
*/const
|
|
206
|
+
*/const Zc=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Yc=G("square-pen",Zc);/**
|
|
207
207
|
* @license lucide-react v1.38.0 - ISC
|
|
208
208
|
*
|
|
209
209
|
* This source code is licensed under the ISC license.
|
|
210
210
|
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
-
*/const
|
|
211
|
+
*/const Xc=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Jc=G("pen",Xc);/**
|
|
212
212
|
* @license lucide-react v1.38.0 - ISC
|
|
213
213
|
*
|
|
214
214
|
* This source code is licensed under the ISC license.
|
|
215
215
|
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
-
*/const
|
|
216
|
+
*/const Qc=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],eu=G("pen-line",Qc);/**
|
|
217
217
|
* @license lucide-react v1.38.0 - ISC
|
|
218
218
|
*
|
|
219
219
|
* This source code is licensed under the ISC license.
|
|
220
220
|
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
-
*/const
|
|
221
|
+
*/const tu=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Qr=G("ellipsis",tu);/**
|
|
222
222
|
* @license lucide-react v1.38.0 - ISC
|
|
223
223
|
*
|
|
224
224
|
* This source code is licensed under the ISC license.
|
|
225
225
|
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
-
*/const
|
|
226
|
+
*/const nu=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],au=G("eraser",nu);/**
|
|
227
227
|
* @license lucide-react v1.38.0 - ISC
|
|
228
228
|
*
|
|
229
229
|
* This source code is licensed under the ISC license.
|
|
230
230
|
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
-
*/const
|
|
231
|
+
*/const ru=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],ou=G("external-link",ru);/**
|
|
232
232
|
* @license lucide-react v1.38.0 - ISC
|
|
233
233
|
*
|
|
234
234
|
* This source code is licensed under the ISC license.
|
|
235
235
|
* See the LICENSE file in the root directory of this source tree.
|
|
236
|
-
*/const
|
|
236
|
+
*/const su=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],iu=G("eye",su);/**
|
|
237
237
|
* @license lucide-react v1.38.0 - ISC
|
|
238
238
|
*
|
|
239
239
|
* This source code is licensed under the ISC license.
|
|
240
240
|
* See the LICENSE file in the root directory of this source tree.
|
|
241
|
-
*/const
|
|
241
|
+
*/const lu=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],cu=G("file-text",lu);/**
|
|
242
242
|
* @license lucide-react v1.38.0 - ISC
|
|
243
243
|
*
|
|
244
244
|
* This source code is licensed under the ISC license.
|
|
245
245
|
* See the LICENSE file in the root directory of this source tree.
|
|
246
|
-
*/const
|
|
246
|
+
*/const uu=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],du=G("square-centerline-dashed-horizontal",uu);/**
|
|
247
247
|
* @license lucide-react v1.38.0 - ISC
|
|
248
248
|
*
|
|
249
249
|
* This source code is licensed under the ISC license.
|
|
250
250
|
* See the LICENSE file in the root directory of this source tree.
|
|
251
|
-
*/const
|
|
251
|
+
*/const pu=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],hu=G("folder-open",pu);/**
|
|
252
252
|
* @license lucide-react v1.38.0 - ISC
|
|
253
253
|
*
|
|
254
254
|
* This source code is licensed under the ISC license.
|
|
255
255
|
* See the LICENSE file in the root directory of this source tree.
|
|
256
|
-
*/const
|
|
256
|
+
*/const mu=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Cu=G("folder-plus",mu);/**
|
|
257
257
|
* @license lucide-react v1.38.0 - ISC
|
|
258
258
|
*
|
|
259
259
|
* This source code is licensed under the ISC license.
|
|
260
260
|
* See the LICENSE file in the root directory of this source tree.
|
|
261
|
-
*/const
|
|
261
|
+
*/const fu=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],gu=G("gamepad",fu);/**
|
|
262
262
|
* @license lucide-react v1.38.0 - ISC
|
|
263
263
|
*
|
|
264
264
|
* This source code is licensed under the ISC license.
|
|
265
265
|
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
-
*/const
|
|
266
|
+
*/const bu=[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]],yu=G("gavel",bu);/**
|
|
267
267
|
* @license lucide-react v1.38.0 - ISC
|
|
268
268
|
*
|
|
269
269
|
* This source code is licensed under the ISC license.
|
|
270
270
|
* See the LICENSE file in the root directory of this source tree.
|
|
271
|
-
*/const
|
|
271
|
+
*/const vu=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],eo=G("git-merge",vu);/**
|
|
272
272
|
* @license lucide-react v1.38.0 - ISC
|
|
273
273
|
*
|
|
274
274
|
* This source code is licensed under the ISC license.
|
|
275
275
|
* See the LICENSE file in the root directory of this source tree.
|
|
276
|
-
*/const
|
|
276
|
+
*/const xu=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],_u=G("globe",xu);/**
|
|
277
277
|
* @license lucide-react v1.38.0 - ISC
|
|
278
278
|
*
|
|
279
279
|
* This source code is licensed under the ISC license.
|
|
280
280
|
* See the LICENSE file in the root directory of this source tree.
|
|
281
|
-
*/const
|
|
281
|
+
*/const wu=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],ku=G("headphones",wu);/**
|
|
282
282
|
* @license lucide-react v1.38.0 - ISC
|
|
283
283
|
*
|
|
284
284
|
* This source code is licensed under the ISC license.
|
|
285
285
|
* See the LICENSE file in the root directory of this source tree.
|
|
286
|
-
*/const
|
|
286
|
+
*/const Au=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Nu=G("heart",Au);/**
|
|
287
287
|
* @license lucide-react v1.38.0 - ISC
|
|
288
288
|
*
|
|
289
289
|
* This source code is licensed under the ISC license.
|
|
290
290
|
* See the LICENSE file in the root directory of this source tree.
|
|
291
|
-
*/const
|
|
291
|
+
*/const Bu=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Su=G("house",Bu);/**
|
|
292
292
|
* @license lucide-react v1.38.0 - ISC
|
|
293
293
|
*
|
|
294
294
|
* This source code is licensed under the ISC license.
|
|
295
295
|
* See the LICENSE file in the root directory of this source tree.
|
|
296
|
-
*/const
|
|
296
|
+
*/const Du=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ju=G("info",Du);/**
|
|
297
297
|
* @license lucide-react v1.38.0 - ISC
|
|
298
298
|
*
|
|
299
299
|
* This source code is licensed under the ISC license.
|
|
300
300
|
* See the LICENSE file in the root directory of this source tree.
|
|
301
|
-
*/const
|
|
301
|
+
*/const Eu=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Tu=G("key-round",Eu);/**
|
|
302
302
|
* @license lucide-react v1.38.0 - ISC
|
|
303
303
|
*
|
|
304
304
|
* This source code is licensed under the ISC license.
|
|
305
305
|
* See the LICENSE file in the root directory of this source tree.
|
|
306
|
-
*/const
|
|
306
|
+
*/const Mu=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],Lu=G("landmark",Mu);/**
|
|
307
307
|
* @license lucide-react v1.38.0 - ISC
|
|
308
308
|
*
|
|
309
309
|
* This source code is licensed under the ISC license.
|
|
310
310
|
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
-
*/const
|
|
311
|
+
*/const $u=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Ru=G("layers",$u);/**
|
|
312
312
|
* @license lucide-react v1.38.0 - ISC
|
|
313
313
|
*
|
|
314
314
|
* This source code is licensed under the ISC license.
|
|
315
315
|
* See the LICENSE file in the root directory of this source tree.
|
|
316
|
-
*/const
|
|
316
|
+
*/const Pu=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],Iu=G("layout-dashboard",Pu);/**
|
|
317
317
|
* @license lucide-react v1.38.0 - ISC
|
|
318
318
|
*
|
|
319
319
|
* This source code is licensed under the ISC license.
|
|
320
320
|
* See the LICENSE file in the root directory of this source tree.
|
|
321
|
-
*/const
|
|
321
|
+
*/const Fu=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],Ou=G("leaf",Fu);/**
|
|
322
322
|
* @license lucide-react v1.38.0 - ISC
|
|
323
323
|
*
|
|
324
324
|
* This source code is licensed under the ISC license.
|
|
325
325
|
* See the LICENSE file in the root directory of this source tree.
|
|
326
|
-
*/const
|
|
326
|
+
*/const Hu=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Vu=G("lightbulb",Hu);/**
|
|
327
327
|
* @license lucide-react v1.38.0 - ISC
|
|
328
328
|
*
|
|
329
329
|
* This source code is licensed under the ISC license.
|
|
330
330
|
* See the LICENSE file in the root directory of this source tree.
|
|
331
|
-
*/const
|
|
331
|
+
*/const zu=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Wu=G("link",zu);/**
|
|
332
332
|
* @license lucide-react v1.38.0 - ISC
|
|
333
333
|
*
|
|
334
334
|
* This source code is licensed under the ISC license.
|
|
335
335
|
* See the LICENSE file in the root directory of this source tree.
|
|
336
|
-
*/const
|
|
336
|
+
*/const qu=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Uu=G("link-2",qu);/**
|
|
337
337
|
* @license lucide-react v1.38.0 - ISC
|
|
338
338
|
*
|
|
339
339
|
* This source code is licensed under the ISC license.
|
|
340
340
|
* See the LICENSE file in the root directory of this source tree.
|
|
341
|
-
*/const
|
|
341
|
+
*/const Gu=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Ku=G("link-2-off",Gu);/**
|
|
342
342
|
* @license lucide-react v1.38.0 - ISC
|
|
343
343
|
*
|
|
344
344
|
* This source code is licensed under the ISC license.
|
|
345
345
|
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
-
*/const
|
|
346
|
+
*/const Zu=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Yu=G("list",Zu);/**
|
|
347
347
|
* @license lucide-react v1.38.0 - ISC
|
|
348
348
|
*
|
|
349
349
|
* This source code is licensed under the ISC license.
|
|
350
350
|
* See the LICENSE file in the root directory of this source tree.
|
|
351
|
-
*/const
|
|
351
|
+
*/const Xu=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],Ju=G("list-checks",Xu);/**
|
|
352
352
|
* @license lucide-react v1.38.0 - ISC
|
|
353
353
|
*
|
|
354
354
|
* This source code is licensed under the ISC license.
|
|
355
355
|
* See the LICENSE file in the root directory of this source tree.
|
|
356
|
-
*/const
|
|
356
|
+
*/const Qu=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],ed=G("list-ordered",Qu);/**
|
|
357
357
|
* @license lucide-react v1.38.0 - ISC
|
|
358
358
|
*
|
|
359
359
|
* This source code is licensed under the ISC license.
|
|
360
360
|
* See the LICENSE file in the root directory of this source tree.
|
|
361
|
-
*/const
|
|
361
|
+
*/const td=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],nd=G("loader",td);/**
|
|
362
362
|
* @license lucide-react v1.38.0 - ISC
|
|
363
363
|
*
|
|
364
364
|
* This source code is licensed under the ISC license.
|
|
365
365
|
* See the LICENSE file in the root directory of this source tree.
|
|
366
|
-
*/const
|
|
366
|
+
*/const ad=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],rd=G("lock",ad);/**
|
|
367
367
|
* @license lucide-react v1.38.0 - ISC
|
|
368
368
|
*
|
|
369
369
|
* This source code is licensed under the ISC license.
|
|
370
370
|
* See the LICENSE file in the root directory of this source tree.
|
|
371
|
-
*/const
|
|
371
|
+
*/const od=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],sd=G("log-out",od);/**
|
|
372
372
|
* @license lucide-react v1.38.0 - ISC
|
|
373
373
|
*
|
|
374
374
|
* This source code is licensed under the ISC license.
|
|
375
375
|
* See the LICENSE file in the root directory of this source tree.
|
|
376
|
-
*/const
|
|
376
|
+
*/const id=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ld=G("mail",id);/**
|
|
377
377
|
* @license lucide-react v1.38.0 - ISC
|
|
378
378
|
*
|
|
379
379
|
* This source code is licensed under the ISC license.
|
|
380
380
|
* See the LICENSE file in the root directory of this source tree.
|
|
381
|
-
*/const
|
|
381
|
+
*/const cd=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],ud=G("map-pin",cd);/**
|
|
382
382
|
* @license lucide-react v1.38.0 - ISC
|
|
383
383
|
*
|
|
384
384
|
* This source code is licensed under the ISC license.
|
|
385
385
|
* See the LICENSE file in the root directory of this source tree.
|
|
386
|
-
*/const
|
|
386
|
+
*/const dd=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],pd=G("message-circle",dd);/**
|
|
387
387
|
* @license lucide-react v1.38.0 - ISC
|
|
388
388
|
*
|
|
389
389
|
* This source code is licensed under the ISC license.
|
|
390
390
|
* See the LICENSE file in the root directory of this source tree.
|
|
391
|
-
*/const
|
|
391
|
+
*/const hd=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],md=G("message-circle-question-mark",hd);/**
|
|
392
392
|
* @license lucide-react v1.38.0 - ISC
|
|
393
393
|
*
|
|
394
394
|
* This source code is licensed under the ISC license.
|
|
395
395
|
* See the LICENSE file in the root directory of this source tree.
|
|
396
|
-
*/const
|
|
396
|
+
*/const Cd=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],fd=G("message-square",Cd);/**
|
|
397
397
|
* @license lucide-react v1.38.0 - ISC
|
|
398
398
|
*
|
|
399
399
|
* This source code is licensed under the ISC license.
|
|
400
400
|
* See the LICENSE file in the root directory of this source tree.
|
|
401
|
-
*/const
|
|
401
|
+
*/const gd=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],bd=G("message-square-text",gd);/**
|
|
402
402
|
* @license lucide-react v1.38.0 - ISC
|
|
403
403
|
*
|
|
404
404
|
* This source code is licensed under the ISC license.
|
|
405
405
|
* See the LICENSE file in the root directory of this source tree.
|
|
406
|
-
*/const
|
|
406
|
+
*/const yd=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],vd=G("circle-minus",yd);/**
|
|
407
407
|
* @license lucide-react v1.38.0 - ISC
|
|
408
408
|
*
|
|
409
409
|
* This source code is licensed under the ISC license.
|
|
410
410
|
* See the LICENSE file in the root directory of this source tree.
|
|
411
|
-
*/const
|
|
411
|
+
*/const xd=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],_d=G("package",xd);/**
|
|
412
412
|
* @license lucide-react v1.38.0 - ISC
|
|
413
413
|
*
|
|
414
414
|
* This source code is licensed under the ISC license.
|
|
415
415
|
* See the LICENSE file in the root directory of this source tree.
|
|
416
|
-
*/const
|
|
416
|
+
*/const wd=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],kd=G("palette",wd);/**
|
|
417
417
|
* @license lucide-react v1.38.0 - ISC
|
|
418
418
|
*
|
|
419
419
|
* This source code is licensed under the ISC license.
|
|
420
420
|
* See the LICENSE file in the root directory of this source tree.
|
|
421
|
-
*/const
|
|
421
|
+
*/const Ad=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],Nd=G("party-popper",Ad);/**
|
|
422
422
|
* @license lucide-react v1.38.0 - ISC
|
|
423
423
|
*
|
|
424
424
|
* This source code is licensed under the ISC license.
|
|
425
425
|
* See the LICENSE file in the root directory of this source tree.
|
|
426
|
-
*/const
|
|
426
|
+
*/const Bd=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Sd=G("pause",Bd);/**
|
|
427
427
|
* @license lucide-react v1.38.0 - ISC
|
|
428
428
|
*
|
|
429
429
|
* This source code is licensed under the ISC license.
|
|
430
430
|
* See the LICENSE file in the root directory of this source tree.
|
|
431
|
-
*/const
|
|
431
|
+
*/const Dd=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],jd=G("pencil",Dd);/**
|
|
432
432
|
* @license lucide-react v1.38.0 - ISC
|
|
433
433
|
*
|
|
434
434
|
* This source code is licensed under the ISC license.
|
|
435
435
|
* See the LICENSE file in the root directory of this source tree.
|
|
436
|
-
*/const
|
|
436
|
+
*/const Ed=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Td=G("phone",Ed);/**
|
|
437
437
|
* @license lucide-react v1.38.0 - ISC
|
|
438
438
|
*
|
|
439
439
|
* This source code is licensed under the ISC license.
|
|
440
440
|
* See the LICENSE file in the root directory of this source tree.
|
|
441
|
-
*/const
|
|
441
|
+
*/const Md=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Ld=G("play",Md);/**
|
|
442
442
|
* @license lucide-react v1.38.0 - ISC
|
|
443
443
|
*
|
|
444
444
|
* This source code is licensed under the ISC license.
|
|
445
445
|
* See the LICENSE file in the root directory of this source tree.
|
|
446
|
-
*/const
|
|
446
|
+
*/const $d=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Rd=G("circle-play",$d);/**
|
|
447
447
|
* @license lucide-react v1.38.0 - ISC
|
|
448
448
|
*
|
|
449
449
|
* This source code is licensed under the ISC license.
|
|
450
450
|
* See the LICENSE file in the root directory of this source tree.
|
|
451
|
-
*/const
|
|
451
|
+
*/const Pd=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Id=G("plus",Pd);/**
|
|
452
452
|
* @license lucide-react v1.38.0 - ISC
|
|
453
453
|
*
|
|
454
454
|
* This source code is licensed under the ISC license.
|
|
455
455
|
* See the LICENSE file in the root directory of this source tree.
|
|
456
|
-
*/const
|
|
456
|
+
*/const Fd=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],Od=G("printer",Fd);/**
|
|
457
457
|
* @license lucide-react v1.38.0 - ISC
|
|
458
458
|
*
|
|
459
459
|
* This source code is licensed under the ISC license.
|
|
460
460
|
* See the LICENSE file in the root directory of this source tree.
|
|
461
|
-
*/const
|
|
461
|
+
*/const Hd=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Vd=G("refresh-cw",Hd);/**
|
|
462
462
|
* @license lucide-react v1.38.0 - ISC
|
|
463
463
|
*
|
|
464
464
|
* This source code is licensed under the ISC license.
|
|
465
465
|
* See the LICENSE file in the root directory of this source tree.
|
|
466
|
-
*/const
|
|
466
|
+
*/const zd=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],Wd=G("repeat",zd);/**
|
|
467
467
|
* @license lucide-react v1.38.0 - ISC
|
|
468
468
|
*
|
|
469
469
|
* This source code is licensed under the ISC license.
|
|
470
470
|
* See the LICENSE file in the root directory of this source tree.
|
|
471
|
-
*/const
|
|
471
|
+
*/const qd=[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]],Ud=G("replace",qd);/**
|
|
472
472
|
* @license lucide-react v1.38.0 - ISC
|
|
473
473
|
*
|
|
474
474
|
* This source code is licensed under the ISC license.
|
|
475
475
|
* See the LICENSE file in the root directory of this source tree.
|
|
476
|
-
*/const
|
|
476
|
+
*/const Gd=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],Kd=G("rocket",Gd);/**
|
|
477
477
|
* @license lucide-react v1.38.0 - ISC
|
|
478
478
|
*
|
|
479
479
|
* This source code is licensed under the ISC license.
|
|
480
480
|
* See the LICENSE file in the root directory of this source tree.
|
|
481
|
-
*/const
|
|
481
|
+
*/const Zd=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Yd=G("rotate-ccw",Zd);/**
|
|
482
482
|
* @license lucide-react v1.38.0 - ISC
|
|
483
483
|
*
|
|
484
484
|
* This source code is licensed under the ISC license.
|
|
485
485
|
* See the LICENSE file in the root directory of this source tree.
|
|
486
|
-
*/const
|
|
486
|
+
*/const Xd=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],Jd=G("rotate-cw",Xd);/**
|
|
487
487
|
* @license lucide-react v1.38.0 - ISC
|
|
488
488
|
*
|
|
489
489
|
* This source code is licensed under the ISC license.
|
|
490
490
|
* See the LICENSE file in the root directory of this source tree.
|
|
491
|
-
*/const
|
|
491
|
+
*/const Qd=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],e1=G("salad",Qd);/**
|
|
492
492
|
* @license lucide-react v1.38.0 - ISC
|
|
493
493
|
*
|
|
494
494
|
* This source code is licensed under the ISC license.
|
|
495
495
|
* See the LICENSE file in the root directory of this source tree.
|
|
496
|
-
*/const
|
|
496
|
+
*/const t1=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],n1=G("scan-search",t1);/**
|
|
497
497
|
* @license lucide-react v1.38.0 - ISC
|
|
498
498
|
*
|
|
499
499
|
* This source code is licensed under the ISC license.
|
|
500
500
|
* See the LICENSE file in the root directory of this source tree.
|
|
501
|
-
*/const
|
|
501
|
+
*/const a1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],to=G("circle-alert",a1);/**
|
|
502
502
|
* @license lucide-react v1.38.0 - ISC
|
|
503
503
|
*
|
|
504
504
|
* This source code is licensed under the ISC license.
|
|
505
505
|
* See the LICENSE file in the root directory of this source tree.
|
|
506
|
-
*/const
|
|
506
|
+
*/const r1=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],no=G("circle-check-big",r1);/**
|
|
507
507
|
* @license lucide-react v1.38.0 - ISC
|
|
508
508
|
*
|
|
509
509
|
* This source code is licensed under the ISC license.
|
|
510
510
|
* See the LICENSE file in the root directory of this source tree.
|
|
511
|
-
*/const
|
|
511
|
+
*/const o1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],s1=G("search",o1);/**
|
|
512
512
|
* @license lucide-react v1.38.0 - ISC
|
|
513
513
|
*
|
|
514
514
|
* This source code is licensed under the ISC license.
|
|
515
515
|
* See the LICENSE file in the root directory of this source tree.
|
|
516
|
-
*/const
|
|
516
|
+
*/const i1=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],l1=G("scissors",i1);/**
|
|
517
517
|
* @license lucide-react v1.38.0 - ISC
|
|
518
518
|
*
|
|
519
519
|
* This source code is licensed under the ISC license.
|
|
520
520
|
* See the LICENSE file in the root directory of this source tree.
|
|
521
|
-
*/const
|
|
521
|
+
*/const c1=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],u1=G("search-x",c1);/**
|
|
522
522
|
* @license lucide-react v1.38.0 - ISC
|
|
523
523
|
*
|
|
524
524
|
* This source code is licensed under the ISC license.
|
|
525
525
|
* See the LICENSE file in the root directory of this source tree.
|
|
526
|
-
*/const
|
|
526
|
+
*/const d1=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],p1=G("send",d1);/**
|
|
527
527
|
* @license lucide-react v1.38.0 - ISC
|
|
528
528
|
*
|
|
529
529
|
* This source code is licensed under the ISC license.
|
|
530
530
|
* See the LICENSE file in the root directory of this source tree.
|
|
531
|
-
*/const
|
|
531
|
+
*/const h1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],m1=G("settings",h1);/**
|
|
532
532
|
* @license lucide-react v1.38.0 - ISC
|
|
533
533
|
*
|
|
534
534
|
* This source code is licensed under the ISC license.
|
|
535
535
|
* See the LICENSE file in the root directory of this source tree.
|
|
536
|
-
*/const
|
|
536
|
+
*/const C1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],f1=G("shield-check",C1);/**
|
|
537
537
|
* @license lucide-react v1.38.0 - ISC
|
|
538
538
|
*
|
|
539
539
|
* This source code is licensed under the ISC license.
|
|
540
540
|
* See the LICENSE file in the root directory of this source tree.
|
|
541
|
-
*/const
|
|
541
|
+
*/const g1=[["path",{d:"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18",key:"uebgi3"}],["path",{d:"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25",key:"1j7c9p"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],b1=G("shopping-cart",g1);/**
|
|
542
542
|
* @license lucide-react v1.38.0 - ISC
|
|
543
543
|
*
|
|
544
544
|
* This source code is licensed under the ISC license.
|
|
545
545
|
* See the LICENSE file in the root directory of this source tree.
|
|
546
|
-
*/const
|
|
546
|
+
*/const y1=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],v1=G("shuffle",y1);/**
|
|
547
547
|
* @license lucide-react v1.38.0 - ISC
|
|
548
548
|
*
|
|
549
549
|
* This source code is licensed under the ISC license.
|
|
550
550
|
* See the LICENSE file in the root directory of this source tree.
|
|
551
|
-
*/const
|
|
551
|
+
*/const x1=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],_1=G("skip-back",x1);/**
|
|
552
552
|
* @license lucide-react v1.38.0 - ISC
|
|
553
553
|
*
|
|
554
554
|
* This source code is licensed under the ISC license.
|
|
555
555
|
* See the LICENSE file in the root directory of this source tree.
|
|
556
|
-
*/const
|
|
556
|
+
*/const w1=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],k1=G("skip-forward",w1);/**
|
|
557
557
|
* @license lucide-react v1.38.0 - ISC
|
|
558
558
|
*
|
|
559
559
|
* This source code is licensed under the ISC license.
|
|
560
560
|
* See the LICENSE file in the root directory of this source tree.
|
|
561
|
-
*/const
|
|
561
|
+
*/const A1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],N1=G("square",A1);/**
|
|
562
562
|
* @license lucide-react v1.38.0 - ISC
|
|
563
563
|
*
|
|
564
564
|
* This source code is licensed under the ISC license.
|
|
565
565
|
* See the LICENSE file in the root directory of this source tree.
|
|
566
|
-
*/const
|
|
566
|
+
*/const B1=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],S1=G("star",B1);/**
|
|
567
567
|
* @license lucide-react v1.38.0 - ISC
|
|
568
568
|
*
|
|
569
569
|
* This source code is licensed under the ISC license.
|
|
570
570
|
* See the LICENSE file in the root directory of this source tree.
|
|
571
|
-
*/const
|
|
571
|
+
*/const D1=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],j1=G("store",D1);/**
|
|
572
572
|
* @license lucide-react v1.38.0 - ISC
|
|
573
573
|
*
|
|
574
574
|
* This source code is licensed under the ISC license.
|
|
575
575
|
* See the LICENSE file in the root directory of this source tree.
|
|
576
|
-
*/const
|
|
576
|
+
*/const E1=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],T1=G("sun-medium",E1);/**
|
|
577
577
|
* @license lucide-react v1.38.0 - ISC
|
|
578
578
|
*
|
|
579
579
|
* This source code is licensed under the ISC license.
|
|
580
580
|
* See the LICENSE file in the root directory of this source tree.
|
|
581
|
-
*/const
|
|
581
|
+
*/const M1=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],L1=G("table",M1);/**
|
|
582
582
|
* @license lucide-react v1.38.0 - ISC
|
|
583
583
|
*
|
|
584
584
|
* This source code is licensed under the ISC license.
|
|
585
585
|
* See the LICENSE file in the root directory of this source tree.
|
|
586
|
-
*/const
|
|
586
|
+
*/const $1=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],R1=G("table-2",$1);/**
|
|
587
587
|
* @license lucide-react v1.38.0 - ISC
|
|
588
588
|
*
|
|
589
589
|
* This source code is licensed under the ISC license.
|
|
590
590
|
* See the LICENSE file in the root directory of this source tree.
|
|
591
|
-
*/const
|
|
591
|
+
*/const P1=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],I1=G("tag",P1);/**
|
|
592
592
|
* @license lucide-react v1.38.0 - ISC
|
|
593
593
|
*
|
|
594
594
|
* This source code is licensed under the ISC license.
|
|
595
595
|
* See the LICENSE file in the root directory of this source tree.
|
|
596
|
-
*/const
|
|
596
|
+
*/const F1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],O1=G("terminal",F1);/**
|
|
597
597
|
* @license lucide-react v1.38.0 - ISC
|
|
598
598
|
*
|
|
599
599
|
* This source code is licensed under the ISC license.
|
|
600
600
|
* See the LICENSE file in the root directory of this source tree.
|
|
601
|
-
*/const
|
|
601
|
+
*/const H1=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]],V1=G("text-cursor-input",H1);/**
|
|
602
602
|
* @license lucide-react v1.38.0 - ISC
|
|
603
603
|
*
|
|
604
604
|
* This source code is licensed under the ISC license.
|
|
605
605
|
* See the LICENSE file in the root directory of this source tree.
|
|
606
|
-
*/const
|
|
606
|
+
*/const z1=[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]],W1=G("text-initial",z1);/**
|
|
607
607
|
* @license lucide-react v1.38.0 - ISC
|
|
608
608
|
*
|
|
609
609
|
* This source code is licensed under the ISC license.
|
|
610
610
|
* See the LICENSE file in the root directory of this source tree.
|
|
611
|
-
*/const
|
|
611
|
+
*/const q1=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],U1=G("ticket",q1);/**
|
|
612
612
|
* @license lucide-react v1.38.0 - ISC
|
|
613
613
|
*
|
|
614
614
|
* This source code is licensed under the ISC license.
|
|
615
615
|
* See the LICENSE file in the root directory of this source tree.
|
|
616
|
-
*/const
|
|
616
|
+
*/const G1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],K1=G("trash-2",G1);/**
|
|
617
617
|
* @license lucide-react v1.38.0 - ISC
|
|
618
618
|
*
|
|
619
619
|
* This source code is licensed under the ISC license.
|
|
620
620
|
* See the LICENSE file in the root directory of this source tree.
|
|
621
|
-
*/const
|
|
621
|
+
*/const Z1=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Y1=G("trash",Z1);/**
|
|
622
622
|
* @license lucide-react v1.38.0 - ISC
|
|
623
623
|
*
|
|
624
624
|
* This source code is licensed under the ISC license.
|
|
625
625
|
* See the LICENSE file in the root directory of this source tree.
|
|
626
|
-
*/const
|
|
626
|
+
*/const X1=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],J1=G("trending-up",X1);/**
|
|
627
627
|
* @license lucide-react v1.38.0 - ISC
|
|
628
628
|
*
|
|
629
629
|
* This source code is licensed under the ISC license.
|
|
630
630
|
* See the LICENSE file in the root directory of this source tree.
|
|
631
|
-
*/const
|
|
631
|
+
*/const Q1=[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]],ep=G("trophy",Q1);/**
|
|
632
632
|
* @license lucide-react v1.38.0 - ISC
|
|
633
633
|
*
|
|
634
634
|
* This source code is licensed under the ISC license.
|
|
635
635
|
* See the LICENSE file in the root directory of this source tree.
|
|
636
|
-
*/const
|
|
636
|
+
*/const tp=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],np=G("unlink",tp);/**
|
|
637
637
|
* @license lucide-react v1.38.0 - ISC
|
|
638
638
|
*
|
|
639
639
|
* This source code is licensed under the ISC license.
|
|
640
640
|
* See the LICENSE file in the root directory of this source tree.
|
|
641
|
-
*/const
|
|
641
|
+
*/const ap=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],rp=G("upload",ap);/**
|
|
642
642
|
* @license lucide-react v1.38.0 - ISC
|
|
643
643
|
*
|
|
644
644
|
* This source code is licensed under the ISC license.
|
|
645
645
|
* See the LICENSE file in the root directory of this source tree.
|
|
646
|
-
*/const
|
|
646
|
+
*/const op=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],wa=G("user",op);/**
|
|
647
647
|
* @license lucide-react v1.38.0 - ISC
|
|
648
648
|
*
|
|
649
649
|
* This source code is licensed under the ISC license.
|
|
650
650
|
* See the LICENSE file in the root directory of this source tree.
|
|
651
|
-
*/const
|
|
651
|
+
*/const sp=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],ip=G("user-plus",sp);/**
|
|
652
652
|
* @license lucide-react v1.38.0 - ISC
|
|
653
653
|
*
|
|
654
654
|
* This source code is licensed under the ISC license.
|
|
655
655
|
* See the LICENSE file in the root directory of this source tree.
|
|
656
|
-
*/const
|
|
656
|
+
*/const lp=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],cp=G("user-round",lp);/**
|
|
657
657
|
* @license lucide-react v1.38.0 - ISC
|
|
658
658
|
*
|
|
659
659
|
* This source code is licensed under the ISC license.
|
|
660
660
|
* See the LICENSE file in the root directory of this source tree.
|
|
661
|
-
*/const
|
|
661
|
+
*/const up=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],dp=G("user-round-check",up);/**
|
|
662
662
|
* @license lucide-react v1.38.0 - ISC
|
|
663
663
|
*
|
|
664
664
|
* This source code is licensed under the ISC license.
|
|
665
665
|
* See the LICENSE file in the root directory of this source tree.
|
|
666
|
-
*/const
|
|
666
|
+
*/const pp=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],hp=G("users",pp);/**
|
|
667
667
|
* @license lucide-react v1.38.0 - ISC
|
|
668
668
|
*
|
|
669
669
|
* This source code is licensed under the ISC license.
|
|
670
670
|
* See the LICENSE file in the root directory of this source tree.
|
|
671
|
-
*/const
|
|
671
|
+
*/const mp=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],Cp=G("users-round",mp);/**
|
|
672
672
|
* @license lucide-react v1.38.0 - ISC
|
|
673
673
|
*
|
|
674
674
|
* This source code is licensed under the ISC license.
|
|
675
675
|
* See the LICENSE file in the root directory of this source tree.
|
|
676
|
-
*/const
|
|
676
|
+
*/const fp=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],ao=G("volume-2",fp);/**
|
|
677
677
|
* @license lucide-react v1.38.0 - ISC
|
|
678
678
|
*
|
|
679
679
|
* This source code is licensed under the ISC license.
|
|
680
680
|
* See the LICENSE file in the root directory of this source tree.
|
|
681
|
-
*/const
|
|
681
|
+
*/const gp=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],bp=G("wrench",gp);/**
|
|
682
682
|
* @license lucide-react v1.38.0 - ISC
|
|
683
683
|
*
|
|
684
684
|
* This source code is licensed under the ISC license.
|
|
685
685
|
* See the LICENSE file in the root directory of this source tree.
|
|
686
|
-
*/const
|
|
686
|
+
*/const yp=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ro=G("x",yp);/**
|
|
687
687
|
* @license lucide-react v1.38.0 - ISC
|
|
688
688
|
*
|
|
689
689
|
* This source code is licensed under the ISC license.
|
|
690
690
|
* See the LICENSE file in the root directory of this source tree.
|
|
691
|
-
*/const
|
|
691
|
+
*/const vp=[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]],xp=G("zap",vp);/**
|
|
692
692
|
* @license lucide-react v1.38.0 - ISC
|
|
693
693
|
*
|
|
694
694
|
* This source code is licensed under the ISC license.
|
|
695
695
|
* See the LICENSE file in the root directory of this source tree.
|
|
696
|
-
*/const
|
|
696
|
+
*/const _p=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],wp=G("anchor",_p);/**
|
|
697
697
|
* @license lucide-react v1.38.0 - ISC
|
|
698
698
|
*
|
|
699
699
|
* This source code is licensed under the ISC license.
|
|
700
700
|
* See the LICENSE file in the root directory of this source tree.
|
|
701
|
-
*/const
|
|
701
|
+
*/const kp=[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Ap=G("armchair",kp);/**
|
|
702
702
|
* @license lucide-react v1.38.0 - ISC
|
|
703
703
|
*
|
|
704
704
|
* This source code is licensed under the ISC license.
|
|
705
705
|
* See the LICENSE file in the root directory of this source tree.
|
|
706
|
-
*/const
|
|
706
|
+
*/const Np=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],Bp=G("arrow-up-a-z",Np);/**
|
|
707
707
|
* @license lucide-react v1.38.0 - ISC
|
|
708
708
|
*
|
|
709
709
|
* This source code is licensed under the ISC license.
|
|
710
710
|
* See the LICENSE file in the root directory of this source tree.
|
|
711
|
-
*/const
|
|
711
|
+
*/const Sp=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],Dp=G("chart-no-axes-column",Sp);/**
|
|
712
712
|
* @license lucide-react v1.38.0 - ISC
|
|
713
713
|
*
|
|
714
714
|
* This source code is licensed under the ISC license.
|
|
715
715
|
* See the LICENSE file in the root directory of this source tree.
|
|
716
|
-
*/const
|
|
716
|
+
*/const jp=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],oo=G("calendar",jp);/**
|
|
717
717
|
* @license lucide-react v1.38.0 - ISC
|
|
718
718
|
*
|
|
719
719
|
* This source code is licensed under the ISC license.
|
|
720
720
|
* See the LICENSE file in the root directory of this source tree.
|
|
721
|
-
*/const
|
|
721
|
+
*/const Ep=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Tp=G("car",Ep);/**
|
|
722
722
|
* @license lucide-react v1.38.0 - ISC
|
|
723
723
|
*
|
|
724
724
|
* This source code is licensed under the ISC license.
|
|
725
725
|
* See the LICENSE file in the root directory of this source tree.
|
|
726
|
-
*/const
|
|
726
|
+
*/const Mp=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],Lp=G("coffee",Mp);/**
|
|
727
727
|
* @license lucide-react v1.38.0 - ISC
|
|
728
728
|
*
|
|
729
729
|
* This source code is licensed under the ISC license.
|
|
730
730
|
* See the LICENSE file in the root directory of this source tree.
|
|
731
|
-
*/const
|
|
731
|
+
*/const $p=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],Rp=G("gamepad-2",$p);/**
|
|
732
732
|
* @license lucide-react v1.38.0 - ISC
|
|
733
733
|
*
|
|
734
734
|
* This source code is licensed under the ISC license.
|
|
735
735
|
* See the LICENSE file in the root directory of this source tree.
|
|
736
|
-
*/const
|
|
736
|
+
*/const Pp=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],Ip=G("inbox",Pp);/**
|
|
737
737
|
* @license lucide-react v1.38.0 - ISC
|
|
738
738
|
*
|
|
739
739
|
* This source code is licensed under the ISC license.
|
|
740
740
|
* See the LICENSE file in the root directory of this source tree.
|
|
741
|
-
*/const
|
|
741
|
+
*/const Fp=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],Op=G("list-tree",Fp);/**
|
|
742
742
|
* @license lucide-react v1.38.0 - ISC
|
|
743
743
|
*
|
|
744
744
|
* This source code is licensed under the ISC license.
|
|
745
745
|
* See the LICENSE file in the root directory of this source tree.
|
|
746
|
-
*/const
|
|
746
|
+
*/const Hp=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],Vp=G("message-square-more",Hp);/**
|
|
747
747
|
* @license lucide-react v1.38.0 - ISC
|
|
748
748
|
*
|
|
749
749
|
* This source code is licensed under the ISC license.
|
|
750
750
|
* See the LICENSE file in the root directory of this source tree.
|
|
751
|
-
*/const
|
|
751
|
+
*/const zp=[["path",{d:"M5 12h14",key:"1ays0h"}]],Wp=G("minus",zp);/**
|
|
752
752
|
* @license lucide-react v1.38.0 - ISC
|
|
753
753
|
*
|
|
754
754
|
* This source code is licensed under the ISC license.
|
|
755
755
|
* See the LICENSE file in the root directory of this source tree.
|
|
756
|
-
*/const
|
|
756
|
+
*/const qp=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Up=G("share-2",qp);/**
|
|
757
757
|
* @license lucide-react v1.38.0 - ISC
|
|
758
758
|
*
|
|
759
759
|
* This source code is licensed under the ISC license.
|
|
760
760
|
* See the LICENSE file in the root directory of this source tree.
|
|
761
|
-
*/const
|
|
761
|
+
*/const Gp=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Kp=G("sparkles",Gp);/**
|
|
762
762
|
* @license lucide-react v1.38.0 - ISC
|
|
763
763
|
*
|
|
764
764
|
* This source code is licensed under the ISC license.
|
|
765
765
|
* See the LICENSE file in the root directory of this source tree.
|
|
766
|
-
*/const
|
|
766
|
+
*/const Zp=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],Yp=G("type",Zp);/**
|
|
767
767
|
* @license lucide-react v1.38.0 - ISC
|
|
768
768
|
*
|
|
769
769
|
* This source code is licensed under the ISC license.
|
|
770
770
|
* See the LICENSE file in the root directory of this source tree.
|
|
771
|
-
*/const
|
|
771
|
+
*/const Xp=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],Jp=G("volume",Xp);/**
|
|
772
772
|
* @license lucide-react v1.38.0 - ISC
|
|
773
773
|
*
|
|
774
774
|
* This source code is licensed under the ISC license.
|
|
775
775
|
* See the LICENSE file in the root directory of this source tree.
|
|
776
|
-
*/const
|
|
776
|
+
*/const Qp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],so=G("chevron-down",Qp);/**
|
|
777
777
|
* @license lucide-react v1.38.0 - ISC
|
|
778
778
|
*
|
|
779
779
|
* This source code is licensed under the ISC license.
|
|
780
780
|
* See the LICENSE file in the root directory of this source tree.
|
|
781
|
-
*/const
|
|
781
|
+
*/const eh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],io=G("chevron-up",eh);/**
|
|
782
782
|
* @license lucide-react v1.38.0 - ISC
|
|
783
783
|
*
|
|
784
784
|
* This source code is licensed under the ISC license.
|
|
785
785
|
* See the LICENSE file in the root directory of this source tree.
|
|
786
|
-
*/const
|
|
786
|
+
*/const th=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],nh=G("circle",th);/**
|
|
787
787
|
* @license lucide-react v1.38.0 - ISC
|
|
788
788
|
*
|
|
789
789
|
* This source code is licensed under the ISC license.
|
|
790
790
|
* See the LICENSE file in the root directory of this source tree.
|
|
791
|
-
*/const
|
|
791
|
+
*/const ah=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],rh=G("triangle",ah);/**
|
|
792
792
|
* @license lucide-react v1.38.0 - ISC
|
|
793
793
|
*
|
|
794
794
|
* This source code is licensed under the ISC license.
|
|
795
795
|
* See the LICENSE file in the root directory of this source tree.
|
|
796
|
-
*/const
|
|
796
|
+
*/const oh=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],sh=G("menu",oh);/**
|
|
797
797
|
* @license lucide-react v1.38.0 - ISC
|
|
798
798
|
*
|
|
799
799
|
* This source code is licensed under the ISC license.
|
|
800
800
|
* See the LICENSE file in the root directory of this source tree.
|
|
801
|
-
*/const
|
|
801
|
+
*/const ih=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],lh=G("moon",ih);/**
|
|
802
802
|
* @license lucide-react v1.38.0 - ISC
|
|
803
803
|
*
|
|
804
804
|
* This source code is licensed under the ISC license.
|
|
805
805
|
* See the LICENSE file in the root directory of this source tree.
|
|
806
|
-
*/const
|
|
807
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mh(e,n){return dh(e)||ph(e,n)||Ch(e,n)||hh()}function Ch(e,n){if(e){if(typeof e=="string")return io(e,n);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?io(e,n):void 0}}const lo=Object.entries,co=Object.setPrototypeOf,fh=Object.isFrozen,gh=Object.getPrototypeOf,bh=Object.getOwnPropertyDescriptor;let ct=Object.freeze,dt=Object.seal,_n=Object.create,uo=typeof Reflect<"u"&&Reflect,ka=uo.apply,Aa=uo.construct;ct||(ct=function(n){return n}),dt||(dt=function(n){return n}),ka||(ka=function(n,a){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];return n.apply(a,o)}),Aa||(Aa=function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return new n(...r)});const hn=it(Array.prototype.forEach),yh=it(Array.prototype.lastIndexOf),po=it(Array.prototype.pop),$n=it(Array.prototype.push),vh=it(Array.prototype.splice),wn=Array.isArray,Rn=it(String.prototype.toLowerCase),Na=it(String.prototype.toString),ho=it(String.prototype.match),Pn=it(String.prototype.replace),mo=it(String.prototype.indexOf),xh=it(String.prototype.trim),_h=it(Number.prototype.toString),wh=it(Boolean.prototype.toString),Co=typeof BigInt>"u"?null:it(BigInt.prototype.toString),fo=typeof Symbol>"u"?null:it(Symbol.prototype.toString),Nt=it(Object.prototype.hasOwnProperty),In=it(Object.prototype.toString),gt=it(RegExp.prototype.test),mn=kh(TypeError);function it(e){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return ka(e,n,r)}}function kh(e){return function(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return Aa(e,a)}}function Ve(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rn;if(co&&co(e,null),!wn(n))return e;let r=n.length;for(;r--;){let o=n[r];if(typeof o=="string"){const s=a(o);s!==o&&(fh(n)||(n[r]=s),o=s)}e[o]=!0}return e}function Ah(e){for(let n=0;n<e.length;n++)Nt(e,n)||(e[n]=null);return e}function St(e){const n=_n(null);for(const r of lo(e)){var a=mh(r,2);const o=a[0],s=a[1];Nt(e,o)&&(wn(s)?n[o]=Ah(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=St(s):n[o]=s)}return n}function Nh(e){switch(typeof e){case"string":return e;case"number":return _h(e);case"boolean":return wh(e);case"bigint":return Co?Co(e):"0";case"symbol":return fo?fo(e):"Symbol()";case"undefined":return In(e);case"function":case"object":{if(e===null)return In(e);const n=e,a=Lt(n,"toString");if(typeof a=="function"){const r=a(n);return typeof r=="string"?r:In(r)}return In(e)}default:return In(e)}}function Lt(e,n){for(;e!==null;){const r=bh(e,n);if(r){if(r.get)return it(r.get);if(typeof r.value=="function")return it(r.value)}e=gh(e)}function a(){return null}return a}function Bh(e){try{return gt(e,""),!0}catch{return!1}}const go=ct(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ba=ct(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Da=ct(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Dh=ct(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Sa=ct(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Sh=ct(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),bo=ct(["#text"]),yo=ct(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),ja=ct(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),vo=ct(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ta=ct(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jh=dt(/{{[\w\W]*|^[\w\W]*}}/g),Eh=dt(/<%[\w\W]*|^[\w\W]*%>/g),Th=dt(/\${[\w\W]*/g),Mh=dt(/^data-[\-\w.\u00B7-\uFFFF]+$/),Lh=dt(/^aria-[\-\w]+$/),xo=dt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$h=dt(/^(?:\w+script|data):/i),Rh=dt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ph=dt(/^html$/i),Ih=dt(/^[a-z][.\w]*(-[.\w]+)+$/i),_o=dt(/<[/\w!]/g),wo=dt(/<[/\w]/g),Fh=dt(/<\/no(script|embed|frames)/i),Oh=dt(/\/>/i),jt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ko=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],Hh=ct(Ve({},ko)),zh=(function(){const e={};return hn(ko,n=>{e[n]=dt(new RegExp("</"+n+"(?=[\\t\\n\\f\\r />])","i"))}),ct(e)})(),Vh=function(){return typeof window>"u"?null:window},Wh=function(n,a){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";a&&a.hasAttribute(o)&&(r=a.getAttribute(o));const s="dompurify"+(r?"#"+r:"");try{return n.createPolicy(s,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},Ao=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},tn=function(n,a,r,o){return Nt(n,a)&&wn(n[a])?Ve(o.base?St(o.base):{},n[a],o.transform):r},Ea=function(n,a,r){const o=Nt(n,a)?n[a]:void 0;return o&&typeof o=="object"?St(o):r()};function No(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vh();const n=de=>No(de);if(n.version="3.4.14",n.removed=[],!e||!e.document||e.document.nodeType!==jt.document||!e.Element)return n.isSupported=!1,n;let a=e.document;const r=a,o=r.currentScript;e.DocumentFragment;const s=e.HTMLTemplateElement,l=e.Node,c=e.Element,d=e.NodeFilter,u=e.NamedNodeMap;u===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const h=e.DOMParser,p=e.trustedTypes,m=c.prototype,g=Lt(m,"cloneNode"),f=Lt(m,"remove"),C=Lt(m,"nextSibling"),b=Lt(m,"childNodes"),y=Lt(m,"parentNode"),w=Lt(m,"shadowRoot"),_=Lt(m,"attributes"),v=l&&l.prototype?Lt(l.prototype,"nodeType"):null,D=l&&l.prototype?Lt(l.prototype,"nodeName"):null,x=l&&l.prototype?Lt(l.prototype,"ownerDocument"):null,A=function(N){return v?v(N):N.nodeType},M=function(N){return D?D(N):N.nodeName};if(typeof s=="function"){const de=a.createElement("template");de.content&&de.content.ownerDocument&&(a=de.content.ownerDocument)}let k,S="",H,R=!1,j=0;const P=function(){if(j>0)throw mn('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},B=function(N){P(),j++;try{return k.createHTML(N)}finally{j--}},O=function(N){P(),j++;try{return k.createScriptURL(N)}finally{j--}},Y=function(){return R||(H=Wh(p,o),R=!0),H},X=a,Q=X.implementation,E=X.createNodeIterator,$=X.createDocumentFragment,L=X.getElementsByTagName,V=r.importNode;let z=Ao();n.isSupported=typeof lo=="function"&&typeof y=="function"&&Q&&Q.createHTMLDocument!==void 0;const J=jh,I=Eh,U=Th,K=Mh,oe=Lh,pe=$h,fe=Rh,ge=Ih;let he=xo,T=null;const q=Ve({},[...go,...Ba,...Da,...Sa,...bo]);let ee=null;const Ce=Ve({},[...yo,...ja,...vo,...ta]);let ie=Object.seal(_n(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ue=null,se=null;const ae=Object.seal(_n(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,Fe=!0,He=!1,$e=!0,Ee=!1,De=!0,ke=!1,Pe=!1,Ye=null,xe=null,Oe=!1,Se=!1,We=!1,Xe=!1,qe=!0,Re=!1;const ot="user-content-";let pt=!0,Ue=!1,at={},Be=null;const Me=Ve({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let et=null;const tt=Ve({},["audio","video","img","source","image","track"]);let Ze=null;const rt=Ve({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ct="http://www.w3.org/1998/Math/MathML",Pt="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let wt=Je,Bt=!1,Et=null;const Qt=Ve({},[Ct,Pt,Je],Na),It=ct(["mi","mo","mn","ms","mtext"]);let Vt=Ve({},It);const en=ct(["annotation-xml"]);let bt=Ve({},en);const un=Ve({},["title","style","font","a","script"]);let yt=null;const Wt=["application/xhtml+xml","text/html"],dn="text/html";let Ge=null,Dt=null;const ft=a.createElement("form"),qt=function(N){return N instanceof RegExp||N instanceof Function},Ft=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Dt&&Dt===N)return;(!N||typeof N!="object")&&(N={}),N=St(N),yt=Wt.indexOf(N.PARSER_MEDIA_TYPE)===-1?dn:N.PARSER_MEDIA_TYPE,Ge=yt==="application/xhtml+xml"?Na:Rn,T=tn(N,"ALLOWED_TAGS",q,{transform:Ge}),ee=tn(N,"ALLOWED_ATTR",Ce,{transform:Ge}),Et=tn(N,"ALLOWED_NAMESPACES",Qt,{transform:Na}),Ze=tn(N,"ADD_URI_SAFE_ATTR",rt,{transform:Ge,base:rt}),et=tn(N,"ADD_DATA_URI_TAGS",tt,{transform:Ge,base:tt}),Be=tn(N,"FORBID_CONTENTS",Me,{transform:Ge}),ue=tn(N,"FORBID_TAGS",St({}),{transform:Ge}),se=tn(N,"FORBID_ATTR",St({}),{transform:Ge}),at=Nt(N,"USE_PROFILES")?N.USE_PROFILES&&typeof N.USE_PROFILES=="object"?St(N.USE_PROFILES):N.USE_PROFILES:!1,je=N.ALLOW_ARIA_ATTR!==!1,Fe=N.ALLOW_DATA_ATTR!==!1,He=N.ALLOW_UNKNOWN_PROTOCOLS||!1,$e=N.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ee=N.SAFE_FOR_TEMPLATES||!1,De=N.SAFE_FOR_XML!==!1,ke=N.WHOLE_DOCUMENT||!1,Se=N.RETURN_DOM||!1,We=N.RETURN_DOM_FRAGMENT||!1,Xe=N.RETURN_TRUSTED_TYPE||!1,Oe=N.FORCE_BODY||!1,qe=N.SANITIZE_DOM!==!1,Re=N.SANITIZE_NAMED_PROPS||!1,pt=N.KEEP_CONTENT!==!1,Ue=N.IN_PLACE||!1,he=Bh(N.ALLOWED_URI_REGEXP)?N.ALLOWED_URI_REGEXP:xo,wt=typeof N.NAMESPACE=="string"?N.NAMESPACE:Je,Vt=Ea(N,"MATHML_TEXT_INTEGRATION_POINTS",()=>Ve({},It)),bt=Ea(N,"HTML_INTEGRATION_POINTS",()=>Ve({},en));const W=Ea(N,"CUSTOM_ELEMENT_HANDLING",()=>_n(null));if(ie=_n(null),Nt(W,"tagNameCheck")&&qt(W.tagNameCheck)&&(ie.tagNameCheck=W.tagNameCheck),Nt(W,"attributeNameCheck")&&qt(W.attributeNameCheck)&&(ie.attributeNameCheck=W.attributeNameCheck),Nt(W,"allowCustomizedBuiltInElements")&&typeof W.allowCustomizedBuiltInElements=="boolean"&&(ie.allowCustomizedBuiltInElements=W.allowCustomizedBuiltInElements),dt(ie),Ee&&(Fe=!1),We&&(Se=!0),at&&(T=Ve({},bo),ee=_n(null),at.html===!0&&(Ve(T,go),Ve(ee,yo)),at.svg===!0&&(Ve(T,Ba),Ve(ee,ja),Ve(ee,ta)),at.svgFilters===!0&&(Ve(T,Da),Ve(ee,ja),Ve(ee,ta)),at.mathMl===!0&&(Ve(T,Sa),Ve(ee,vo),Ve(ee,ta))),ae.tagCheck=null,ae.attributeCheck=null,Nt(N,"ADD_TAGS")&&(typeof N.ADD_TAGS=="function"?ae.tagCheck=N.ADD_TAGS:wn(N.ADD_TAGS)&&(T===q&&(T=St(T)),Ve(T,N.ADD_TAGS,Ge))),Nt(N,"ADD_ATTR")&&(typeof N.ADD_ATTR=="function"?ae.attributeCheck=N.ADD_ATTR:wn(N.ADD_ATTR)&&(ee===Ce&&(ee=St(ee)),Ve(ee,N.ADD_ATTR,Ge))),Nt(N,"ADD_FORBID_CONTENTS")&&wn(N.ADD_FORBID_CONTENTS)&&(Be===Me&&(Be=St(Be)),Ve(Be,N.ADD_FORBID_CONTENTS,Ge)),pt&&(T["#text"]=!0),ke&&Ve(T,["html","head","body"]),T.table&&(Ve(T,["tbody"]),delete ue.tbody),N.TRUSTED_TYPES_POLICY){if(typeof N.TRUSTED_TYPES_POLICY.createHTML!="function")throw mn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof N.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw mn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const ne=k;k=N.TRUSTED_TYPES_POLICY;try{S=B("")}catch(_e){throw k=ne,_e}}else N.TRUSTED_TYPES_POLICY===null?(k=void 0,S=""):(k===void 0&&(k=Y()),k&&typeof S=="string"&&(S=B("")));ct&&ct(N),Dt=N},Ot=Ve({},[...Ba,...Da,...Dh]),Ht=Ve({},[...Sa,...Sh]),re=function(N,W,ne){return W.namespaceURI===Je?N==="svg":W.namespaceURI===Ct?N==="svg"&&(ne==="annotation-xml"||Vt[ne]):!!Ot[N]},F=function(N,W,ne){return W.namespaceURI===Je?N==="math":W.namespaceURI===Pt?N==="math"&&bt[ne]:!!Ht[N]},Z=function(N,W,ne){return W.namespaceURI===Pt&&!bt[ne]||W.namespaceURI===Ct&&!Vt[ne]?!1:!Ht[N]&&(un[N]||!Ot[N])},le=function(N){let W=y(N);(!W||!W.tagName)&&(W={namespaceURI:wt,tagName:"template"});const ne=Rn(N.tagName),_e=Rn(W.tagName);return Et[N.namespaceURI]?N.namespaceURI===Pt?re(ne,W,_e):N.namespaceURI===Ct?F(ne,W,_e):N.namespaceURI===Je?Z(ne,W,_e):!!(yt==="application/xhtml+xml"&&Et[N.namespaceURI]):!1},be=function(N){$n(n.removed,{element:N});try{y(N).removeChild(N)}catch{if(f(N),!y(N))throw mn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ve=function(N,W,ne){try{N.removeAttributeNode(W)}catch{try{N.removeAttribute(ne)}catch{}}},Ne=function(N){ce(N);const W=b(N);if(W){const _e=[];hn(W,Ae=>{$n(_e,Ae)}),hn(_e,Ae=>{try{f(Ae)}catch{}})}const ne=_(N);if(ne)for(let _e=ne.length-1;_e>=0;--_e){const Ae=ne[_e],Te=Ae&&Ae.name;typeof Te=="string"&&ve(N,Ae,Te)}},Le=function(N,W,ne){if(!ne)try{ne=W.getAttributeNode(N)}catch{ne=null}$n(n.removed,{attribute:ne||null,from:W});try{ne?W.removeAttributeNode(ne):W.removeAttribute(N)}catch{try{W.removeAttribute(N)}catch{}}if(N==="is")if(Se||We)try{be(W)}catch{}else try{W.setAttribute(N,"")}catch{}},st=function(N){const W=_(N);if(W)for(let ne=W.length-1;ne>=0;--ne){const _e=W[ne],Ae=_e&&_e.name;typeof Ae!="string"||ee[Ge(Ae)]||ve(N,_e,Ae)}},ce=function(N){const W=[N];for(;W.length>0;){const ne=W.pop();A(ne)===jt.element&&st(ne);const Ae=b(ne);if(Ae)for(let Te=Ae.length-1;Te>=0;--Te)W.push(Ae[Te])}},we=function(N,W){return De?N==="patchsrc"?!0:N==="for"&&W!=="label"&&W!=="output":!1},ze=function(N){if(!De)return;const W=[N];for(;W.length>0;){const ne=W.pop(),_e=A(ne);if(_e===jt.processingInstruction||_e===jt.comment&>(wo,ne.data)){try{f(ne)}catch{}continue}if(_e===jt.element){const Te=ne,Ke=Ge(M(ne));try{Te.hasAttribute&&Te.hasAttribute("patchsrc")&&Te.removeAttribute("patchsrc"),Te.hasAttribute&&Te.hasAttribute("for")&&we("for",Ke)&&Te.removeAttribute("for")}catch{}}const Ae=b(ne);if(Ae)for(let Te=Ae.length-1;Te>=0;--Te)W.push(Ae[Te])}},lt=function(N){let W=null,ne=null;if(Oe)N="<remove></remove>"+N;else{const Te=ho(N,/^[\r\n\t ]+/);ne=Te&&Te[0]}yt==="application/xhtml+xml"&&wt===Je&&(N='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+N+"</body></html>");const _e=k?B(N):N;if(wt===Je)try{W=new h().parseFromString(_e,yt)}catch{}if(!W||!W.documentElement){W=Q.createDocument(wt,"template",null);try{W.documentElement.innerHTML=Bt?S:_e}catch{}}const Ae=W.body||W.documentElement;return N&&ne&&Ae.insertBefore(a.createTextNode(ne),Ae.childNodes[0]||null),wt===Je?L.call(W,ke?"html":"body")[0]:ke?W.documentElement:Ae},ht=function(N){const W=x?x(N):N.ownerDocument;return E.call(W||N,N,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Mt=function(N){return N=Pn(N,J," "),N=Pn(N,I," "),N=Pn(N,U," "),N},Mn=function(N){var W;N.normalize();const ne=x?x(N):N.ownerDocument,_e=E.call(ne||N,N,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null);let Ae=_e.nextNode();for(;Ae;)Ae.data=Mt(Ae.data),Ae=_e.nextNode();const Te=(W=N.querySelectorAll)===null||W===void 0?void 0:W.call(N,"template");Te&&hn(Te,Ke=>{xn(Ke.content)&&Mn(Ke.content)})},Jn=function(N){const W=D?D(N):null;return typeof W!="string"||Ge(W)!=="form"?!1:typeof N.nodeName!="string"||typeof N.textContent!="string"||typeof N.removeChild!="function"||N.attributes!==_(N)||typeof N.removeAttribute!="function"||typeof N.setAttribute!="function"||typeof N.namespaceURI!="string"||typeof N.insertBefore!="function"||typeof N.hasChildNodes!="function"||N.nodeType!==v(N)||N.childNodes!==b(N)},xn=function(N){if(!v||typeof N!="object"||N===null)return!1;try{return v(N)===jt.documentFragment}catch{return!1}},Ln=function(N){if(!v||typeof N!="object"||N===null)return!1;try{return typeof v(N)=="number"}catch{return!1}};function zt(de,N,W){de.length!==0&&hn(de,ne=>{ne.call(n,N,W,Dt)})}const Bl=function(N,W){return!!(De&&N.hasChildNodes()&&!Ln(N.firstElementChild)&>(_o,N.textContent)&>(_o,N.innerHTML)||De&&N.namespaceURI===Je&&Hh[W]&&(Ln(N.firstElementChild)||typeof N.textContent=="string"&>(zh[W],N.textContent))||N.nodeType===jt.processingInstruction||De&&N.nodeType===jt.comment&>(wo,N.data))},Qn=function(N,W){if(N instanceof RegExp)return gt(N,W);if(N instanceof Function){for(var ne=arguments.length,_e=new Array(ne>2?ne-2:0),Ae=2;Ae<ne;Ae++)_e[Ae-2]=arguments[Ae];return!!N(W,..._e)}return!1},Dl=function(N,W,ne){if(!ue[W]&&Pr(W)&&Qn(ie.tagNameCheck,W))return!1;if(pt&&!Be[W]){const _e=y(N),Ae=b(N);if(Ae&&_e){const Te=Ae.length;for(let Ke=Te-1;Ke>=0;--Ke){const Qe=N===ne?g(Ae[Ke],!0):Ae[Ke];_e.insertBefore(Qe,C(N))}}}return be(N),!0},Mr=function(N,W,ne,_e){return N.length===0?W:W===ne||W===_e?St(W):W},Lr=function(N,W){return N===W||y(N)!==null?!1:(Ue&&ce(N),!0)},$r=function(N,W){if(zt(z.beforeSanitizeElements,N,null),Lr(N,W))return!0;if(Jn(N))return be(N),!0;const ne=Ge(M(N));if(T=Mr(z.uponSanitizeElement,T,q,Ye),zt(z.uponSanitizeElement,N,{tagName:ne,allowedTags:T}),Lr(N,W))return!0;if(Bl(N,ne))return be(N),!0;if(ue[ne]||!(ae.tagCheck instanceof Function&&ae.tagCheck(ne))&&!T[ne]){const Ae=Dl(N,ne,W);return Ae===!1&&zt(z.afterSanitizeElements,N,null),Ae}if(A(N)===jt.element&&!le(N)||(ne==="noscript"||ne==="noembed"||ne==="noframes")&>(Fh,N.innerHTML))return be(N),!0;if(Ee&&N.nodeType===jt.text){const Ae=Mt(N.textContent);N.textContent!==Ae&&($n(n.removed,{element:N.cloneNode()}),N.textContent=Ae)}return zt(z.afterSanitizeElements,N,null),!1},Rr=function(N,W,ne){if(se[W]||we(W,N)||qe&&(W==="id"||W==="name")&&(ne in a||ne in ft))return!1;const _e=ee[W]||ae.attributeCheck instanceof Function&&ae.attributeCheck(W,N);return Fe&>(K,W)||je&>(oe,W)?!0:_e?Ze[W]||gt(he,Pn(ne,fe,""))||(W==="src"||W==="xlink:href"||W==="href")&&N!=="script"&&mo(ne,"data:")===0&&et[N]||He&&!gt(pe,Pn(ne,fe,""))?!0:!ne:Pr(N)&&Qn(ie.tagNameCheck,N)&&Qn(ie.attributeNameCheck,W,N)||W==="is"&&ie.allowCustomizedBuiltInElements&&Qn(ie.tagNameCheck,ne)},Sl=Ve({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Pr=function(N){return!Sl[Rn(N)]&>(ge,N)},jl=function(N,W,ne,_e){if(k&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!ne)switch(p.getAttributeType(N,W)){case"TrustedHTML":return B(_e);case"TrustedScriptURL":return O(_e)}return _e},El=function(N,W,ne,_e){try{ne?N.setAttributeNS(ne,W,_e):N.setAttribute(W,_e),Jn(N)?be(N):po(n.removed)}catch{Le(W,N)}},Ir=function(N){zt(z.beforeSanitizeAttributes,N,null);const W=N.attributes;if(!W||Jn(N))return;ee=Mr(z.uponSanitizeAttribute,ee,Ce,xe);const ne={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ee,forceKeepAttr:void 0};let _e=W.length;const Ae=Ge(N.nodeName);for(;_e--;){const Te=W[_e],Ke=Te.name,Qe=Te.namespaceURI,kt=Te.value,At=Ge(Ke),va=kt;let vt=Ke==="value"?va:xh(va);if(ne.attrName=At,ne.attrValue=vt,ne.keepAttr=!0,ne.forceKeepAttr=void 0,zt(z.uponSanitizeAttribute,N,ne),vt=ne.attrValue,Re&&(At==="id"||At==="name")&&mo(vt,ot)!==0&&(Le(Ke,N,Te),vt=ot+vt),De&>(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,vt)){Le(Ke,N,Te);continue}if(At==="attributename"&&ho(vt,"href")){Le(Ke,N,Te);continue}if(!ne.forceKeepAttr){if(!ne.keepAttr){Le(Ke,N,Te);continue}if(!$e&>(Oh,vt)){Le(Ke,N,Te);continue}if(Ee&&(vt=Mt(vt)),!Rr(Ae,At,vt)){Le(Ke,N,Te);continue}vt=jl(Ae,At,Qe,vt),vt!==va&&El(N,Ke,Qe,vt)}}zt(z.afterSanitizeAttributes,N,null)},ea=function(N){let W=null;const ne=ht(N);for(zt(z.beforeSanitizeShadowDOM,N,null);W=ne.nextNode();)if(zt(z.uponSanitizeShadowNode,W,null),$r(W,N),Ir(W),xn(W.content)&&ea(W.content),A(W)===jt.element){const _e=w(W);xn(_e)&&(ya(_e),ea(_e))}zt(z.afterSanitizeShadowDOM,N,null)},ya=function(N){const W=[{node:N,shadow:null}];for(;W.length>0;){const ne=W.pop();if(ne.shadow){ea(ne.shadow);continue}const _e=ne.node,Te=A(_e)===jt.element,Ke=b(_e);if(Ke)for(let Qe=Ke.length-1;Qe>=0;--Qe)W.push({node:Ke[Qe],shadow:null});if(Te){const Qe=D?D(_e):null;if(typeof Qe=="string"&&Ge(Qe)==="template"){const kt=_e.content;xn(kt)&&W.push({node:kt,shadow:null})}}if(Te){const Qe=w(_e);xn(Qe)&&W.push({node:null,shadow:Qe},{node:Qe,shadow:null})}}};return n.sanitize=function(de){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=null,ne=null,_e=null,Ae=null;if(Bt=!de,Bt&&(de="<!-->"),typeof de!="string"&&!Ln(de)&&(de=Nh(de),typeof de!="string"))throw mn("dirty is not a string, aborting");if(!n.isSupported)return de;Pe?(T=Ye,ee=xe):Ft(N),(z.uponSanitizeElement.length>0||z.uponSanitizeAttribute.length>0)&&(T=St(T)),z.uponSanitizeAttribute.length>0&&(ee=St(ee)),n.removed=[];const Te=Ue&&typeof de!="string"&&Ln(de);if(Te){ze(de);const kt=M(de);if(typeof kt=="string"){const At=Ge(kt);if(!T[At]||ue[At])throw Ne(de),mn("root node is forbidden and cannot be sanitized in-place")}if(Jn(de))throw Ne(de),mn("root node is clobbered and cannot be sanitized in-place");try{ya(de)}catch(At){throw Ne(de),At}}else if(Ln(de))W=lt("<!---->"),ne=W.ownerDocument.importNode(de,!0),ne.nodeType===jt.element&&ne.nodeName==="BODY"||ne.nodeName==="HTML"?W=ne:W.appendChild(ne),ya(ne);else{if(!Se&&!Ee&&!ke&&de.indexOf("<")===-1)return k&&Xe?B(de):de;if(W=lt(de),!W)return Se?null:Xe?S:""}W&&Oe&&be(W.firstChild);const Ke=Te?de:W;try{const kt=ht(Ke);for(;_e=kt.nextNode();)$r(_e,Ke),Ir(_e),xn(_e.content)&&ea(_e.content)}catch(kt){throw Te&&(Ne(de),hn(n.removed,At=>{At.element&&ce(At.element)})),kt}if(Te)return hn(n.removed,kt=>{kt.element&&ce(kt.element)}),Ee&&Mn(de),de;if(Se){if(Ee&&Mn(W),We)for(Ae=$.call(W.ownerDocument);W.firstChild;)Ae.appendChild(W.firstChild);else Ae=W;return(ee.shadowroot||ee.shadowrootmode)&&(Ae=V.call(r,Ae,!0)),Ae}let Qe=ke?W.outerHTML:W.innerHTML;return ke&&T["!doctype"]&&W.ownerDocument&&W.ownerDocument.doctype&&W.ownerDocument.doctype.name&>(Ph,W.ownerDocument.doctype.name)&&(Qe="<!DOCTYPE "+W.ownerDocument.doctype.name+`>
|
|
808
|
-
`+Qe),
|
|
806
|
+
*/const ch=[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]],uh=G("thumbs-up",ch),lo={"alert-triangle":Gr,"align-start-vertical":ql,anchor:wp,armchair:Ap,"arrow-down":Gl,"arrow-left":Zl,"arrow-right":Xl,"arrow-right-left":Ql,"arrow-up-a-z":Bp,"audio-lines":tc,baby:ac,ban:oc,"bar-chart-2":Dp,bell:ic,"book-marked":cc,"book-open":dc,"bow-arrow":hc,braces:Cc,bug:gc,calendar:oo,"calendar-check":yc,"calendar-days":xc,camera:wc,car:Tp,"chart-column":Ac,"chart-line":Bc,"chart-pie":Dc,check:Kr,"chevron-down":so,"chevron-left":Zr,"chevron-right":Yr,"chevron-up":io,circle:nh,"clipboard-list":Lc,coffee:Lp,combine:Rc,copy:Ic,"chevrons-left-right-ellipsis":Oc,"credit-card":Vc,database:Xr,diff:qc,download:Jr,ear:Kc,edit:Yc,"edit-2":Jc,"edit-3":eu,ellipsis:Qr,eraser:au,"external-link":ou,eye:iu,"file-text":cu,"flip-horizontal":du,"folder-open":hu,"folder-plus":Cu,gamepad:gu,"gamepad-2":Rp,gavel:yu,"git-merge":eo,globe:_u,headphones:ku,heart:Nu,home:Su,inbox:Ip,info:ju,"key-round":Tu,landmark:Lu,layers:Ru,"layout-dashboard":Iu,leaf:Ou,lightbulb:Vu,link:Wu,"link-2":Uu,"link-2-off":Ku,list:Yu,"list-checks":Ju,"list-ordered":ed,"list-tree":Op,loader:nd,lock:rd,"log-out":sd,mail:ld,"map-pin":ud,menu:sh,"message-circle":pd,"message-circle-question-mark":md,"message-square":fd,"message-square-more":Vp,"message-square-text":bd,minus:Wp,"minus-circle":vd,moon:lh,"more-horizontal":Qr,package:_d,palette:kd,"party-popper":Nd,pause:Sd,pencil:jd,phone:Td,play:Ld,"play-circle":Rd,plus:Id,printer:Od,"refresh-cw":Vd,repeat:Wd,replace:Ud,rocket:Kd,"rotate-ccw":Yd,"rotate-cw":Jd,salad:e1,"scan-search":n1,search:s1,"circle-alert":to,"alert-circle":to,"check-circle":no,scissors:l1,"search-x":u1,send:p1,settings:m1,"share-2":Up,"shield-check":f1,"shopping-cart":b1,shuffle:v1,"skip-back":_1,"skip-forward":k1,sparkles:Kp,square:N1,star:S1,store:j1,"sun-medium":T1,table:L1,"table-2":R1,tag:I1,terminal:O1,"text-cursor-input":V1,"text-initial":W1,"thumbs-up":uh,ticket:U1,trash:Y1,triangle:rh,"trash-2":K1,"trending-up":J1,"triangle-alert":Gr,trophy:ep,type:Yp,unlink:np,upload:rp,user:wa,"user-plus":ip,"user-round":cp,"user-round-check":dp,users:hp,"users-round":Cp,volume:Jp,"volume-2":ao,wrench:bp,x:ro,zap:xp};function dh(e){return lo[e]??null}const co=new Set;function ph(e){return Wr&&!(e in lo)&&!co.has(e)&&(co.add(e),console.warn(`[ihabdevteam-core] lucide \uC544\uC774\uCF58 '${e}' \uC774 \uC815\uC801 \uBAA9\uB85D\uC5D0 \uC5C6\uC5B4 \uB80C\uB354\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. utils/lucideIconSet.ts \uC758 STATIC_LUCIDE_ICONS \uC5D0 \uCD94\uAC00\uD558\uC138\uC694.`)),Promise.resolve(null)}const hh=e=>e.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Za-z])([0-9])/g,"$1-$2").replace(/[_ ]+/g,"-").toLowerCase();function mh(e){const n=e.toLowerCase();if(n.startsWith("http://")||n.startsWith("https://")||n.startsWith("data:")||e.includes("/assets/"))return null;const a=(e.split("/").pop()||"").replace(/\.svg$/,"");return a?hh(a):null}const uo=new Map;function Ch(e){const n=typeof e=="string"?mh(e):null,a=n?dh(n)??uo.get(n)??null:null,[r,o]=i.useState(null);return i.useEffect(()=>{if(!n||a)return;let s=!1;return ph(n).then(l=>{uo.set(n,l),s||o(l)}),()=>{s=!0}},[n,a]),a??r}/*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */function po(e,n){(n==null||n>e.length)&&(n=e.length);for(var a=0,r=Array(n);a<n;a++)r[a]=e[a];return r}function fh(e){if(Array.isArray(e))return e}function gh(e,n){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var r,o,s,l,c=[],d=!0,u=!1;try{if(s=(a=a.call(e)).next,n!==0)for(;!(d=(r=s.call(a)).done)&&(c.push(r.value),c.length!==n);d=!0);}catch(h){u=!0,o=h}finally{try{if(!d&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(u)throw o}}return c}}function bh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
807
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yh(e,n){return fh(e)||gh(e,n)||vh(e,n)||bh()}function vh(e,n){if(e){if(typeof e=="string")return po(e,n);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?po(e,n):void 0}}const ho=Object.entries,mo=Object.setPrototypeOf,xh=Object.isFrozen,_h=Object.getPrototypeOf,wh=Object.getOwnPropertyDescriptor;let lt=Object.freeze,dt=Object.seal,kn=Object.create,Co=typeof Reflect<"u"&&Reflect,ka=Co.apply,Aa=Co.construct;lt||(lt=function(n){return n}),dt||(dt=function(n){return n}),ka||(ka=function(n,a){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];return n.apply(a,o)}),Aa||(Aa=function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return new n(...r)});const mn=ot(Array.prototype.forEach),kh=ot(Array.prototype.lastIndexOf),fo=ot(Array.prototype.pop),Rn=ot(Array.prototype.push),Ah=ot(Array.prototype.splice),An=Array.isArray,Pn=ot(String.prototype.toLowerCase),Na=ot(String.prototype.toString),go=ot(String.prototype.match),In=ot(String.prototype.replace),bo=ot(String.prototype.indexOf),Nh=ot(String.prototype.trim),Bh=ot(Number.prototype.toString),Sh=ot(Boolean.prototype.toString),yo=typeof BigInt>"u"?null:ot(BigInt.prototype.toString),vo=typeof Symbol>"u"?null:ot(Symbol.prototype.toString),At=ot(Object.prototype.hasOwnProperty),Fn=ot(Object.prototype.toString),ft=ot(RegExp.prototype.test),Cn=Dh(TypeError);function ot(e){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return ka(e,n,r)}}function Dh(e){return function(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return Aa(e,a)}}function Ve(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pn;if(mo&&mo(e,null),!An(n))return e;let r=n.length;for(;r--;){let o=n[r];if(typeof o=="string"){const s=a(o);s!==o&&(xh(n)||(n[r]=s),o=s)}e[o]=!0}return e}function jh(e){for(let n=0;n<e.length;n++)At(e,n)||(e[n]=null);return e}function Bt(e){const n=kn(null);for(const r of ho(e)){var a=yh(r,2);const o=a[0],s=a[1];At(e,o)&&(An(s)?n[o]=jh(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=Bt(s):n[o]=s)}return n}function Eh(e){switch(typeof e){case"string":return e;case"number":return Bh(e);case"boolean":return Sh(e);case"bigint":return yo?yo(e):"0";case"symbol":return vo?vo(e):"Symbol()";case"undefined":return Fn(e);case"function":case"object":{if(e===null)return Fn(e);const n=e,a=Rt(n,"toString");if(typeof a=="function"){const r=a(n);return typeof r=="string"?r:Fn(r)}return Fn(e)}default:return Fn(e)}}function Rt(e,n){for(;e!==null;){const r=wh(e,n);if(r){if(r.get)return ot(r.get);if(typeof r.value=="function")return ot(r.value)}e=_h(e)}function a(){return null}return a}function Th(e){try{return ft(e,""),!0}catch{return!1}}const xo=lt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ba=lt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Sa=lt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Mh=lt(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Da=lt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Lh=lt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),_o=lt(["#text"]),wo=lt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),ja=lt(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ko=lt(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ta=lt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$h=dt(/{{[\w\W]*|^[\w\W]*}}/g),Rh=dt(/<%[\w\W]*|^[\w\W]*%>/g),Ph=dt(/\${[\w\W]*/g),Ih=dt(/^data-[\-\w.\u00B7-\uFFFF]+$/),Fh=dt(/^aria-[\-\w]+$/),Ao=dt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Oh=dt(/^(?:\w+script|data):/i),Hh=dt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Vh=dt(/^html$/i),zh=dt(/^[a-z][.\w]*(-[.\w]+)+$/i),No=dt(/<[/\w!]/g),Bo=dt(/<[/\w]/g),Wh=dt(/<\/no(script|embed|frames)/i),qh=dt(/\/>/i),St={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},So=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],Uh=lt(Ve({},So)),Gh=(function(){const e={};return mn(So,n=>{e[n]=dt(new RegExp("</"+n+"(?=[\\t\\n\\f\\r />])","i"))}),lt(e)})(),Kh=function(){return typeof window>"u"?null:window},Zh=function(n,a){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";a&&a.hasAttribute(o)&&(r=a.getAttribute(o));const s="dompurify"+(r?"#"+r:"");try{return n.createPolicy(s,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},Do=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},rn=function(n,a,r,o){return At(n,a)&&An(n[a])?Ve(o.base?Bt(o.base):{},n[a],o.transform):r},Ea=function(n,a,r){const o=At(n,a)?n[a]:void 0;return o&&typeof o=="object"?Bt(o):r()};function jo(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kh();const n=ue=>jo(ue);if(n.version="3.4.14",n.removed=[],!e||!e.document||e.document.nodeType!==St.document||!e.Element)return n.isSupported=!1,n;let a=e.document;const r=a,o=r.currentScript;e.DocumentFragment;const s=e.HTMLTemplateElement,l=e.Node,c=e.Element,d=e.NodeFilter,u=e.NamedNodeMap;u===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const h=e.DOMParser,p=e.trustedTypes,C=c.prototype,g=Rt(C,"cloneNode"),f=Rt(C,"remove"),m=Rt(C,"nextSibling"),v=Rt(C,"childNodes"),b=Rt(C,"parentNode"),w=Rt(C,"shadowRoot"),_=Rt(C,"attributes"),y=l&&l.prototype?Rt(l.prototype,"nodeType"):null,S=l&&l.prototype?Rt(l.prototype,"nodeName"):null,x=l&&l.prototype?Rt(l.prototype,"ownerDocument"):null,A=function(N){return y?y(N):N.nodeType},M=function(N){return S?S(N):N.nodeName};if(typeof s=="function"){const ue=a.createElement("template");ue.content&&ue.content.ownerDocument&&(a=ue.content.ownerDocument)}let k,D="",H,R=!1,j=0;const P=function(){if(j>0)throw Cn('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},B=function(N){P(),j++;try{return k.createHTML(N)}finally{j--}},O=function(N){P(),j++;try{return k.createScriptURL(N)}finally{j--}},Z=function(){return R||(H=Zh(p,o),R=!0),H},Y=a,J=Y.implementation,E=Y.createNodeIterator,$=Y.createDocumentFragment,L=Y.getElementsByTagName,z=r.importNode;let V=Do();n.isSupported=typeof ho=="function"&&typeof b=="function"&&J&&J.createHTMLDocument!==void 0;const X=$h,I=Rh,U=Ph,K=Ih,re=Fh,de=Oh,fe=Hh,ge=zh;let he=Ao,T=null;const q=Ve({},[...xo,...Ba,...Sa,...Da,..._o]);let ee=null;const we=Ve({},[...wo,...ja,...ko,...ta]);let ie=Object.seal(kn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),le=null,se=null;const oe=Object.seal(kn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Se=!0,Ie=!0,He=!1,$e=!0,Me=!1,De=!0,Ne=!1,Oe=!1,Ge=null,ye=null,Fe=!1,Le=!1,We=!1,Ze=!1,Ye=!0,Re=!1;const pt="user-content-";let tt=!0,Ue=!1,nt={},Ee=null;const je=Ve({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let at=null;const ht=Ve({},["audio","video","img","source","image","track"]);let ze=null;const rt=Ve({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),mt="http://www.w3.org/1998/Math/MathML",Mt="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let xt=Je,Dt=!1,Ft=null;const Ot=Ve({},[mt,Mt,Je],Na),Ut=lt(["mi","mo","mn","ms","mtext"]);let Lt=Ve({},Ut);const nn=lt(["annotation-xml"]);let _t=Ve({},nn);const an=Ve({},["title","style","font","a","script"]);let Nt=null;const Gt=["application/xhtml+xml","text/html"],Kt="text/html";let Ke=null,jt=null;const gt=a.createElement("form"),$t=function(N){return N instanceof RegExp||N instanceof Function},Ht=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(jt&&jt===N)return;(!N||typeof N!="object")&&(N={}),N=Bt(N),Nt=Gt.indexOf(N.PARSER_MEDIA_TYPE)===-1?Kt:N.PARSER_MEDIA_TYPE,Ke=Nt==="application/xhtml+xml"?Na:Pn,T=rn(N,"ALLOWED_TAGS",q,{transform:Ke}),ee=rn(N,"ALLOWED_ATTR",we,{transform:Ke}),Ft=rn(N,"ALLOWED_NAMESPACES",Ot,{transform:Na}),ze=rn(N,"ADD_URI_SAFE_ATTR",rt,{transform:Ke,base:rt}),at=rn(N,"ADD_DATA_URI_TAGS",ht,{transform:Ke,base:ht}),Ee=rn(N,"FORBID_CONTENTS",je,{transform:Ke}),le=rn(N,"FORBID_TAGS",Bt({}),{transform:Ke}),se=rn(N,"FORBID_ATTR",Bt({}),{transform:Ke}),nt=At(N,"USE_PROFILES")?N.USE_PROFILES&&typeof N.USE_PROFILES=="object"?Bt(N.USE_PROFILES):N.USE_PROFILES:!1,Se=N.ALLOW_ARIA_ATTR!==!1,Ie=N.ALLOW_DATA_ATTR!==!1,He=N.ALLOW_UNKNOWN_PROTOCOLS||!1,$e=N.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=N.SAFE_FOR_TEMPLATES||!1,De=N.SAFE_FOR_XML!==!1,Ne=N.WHOLE_DOCUMENT||!1,Le=N.RETURN_DOM||!1,We=N.RETURN_DOM_FRAGMENT||!1,Ze=N.RETURN_TRUSTED_TYPE||!1,Fe=N.FORCE_BODY||!1,Ye=N.SANITIZE_DOM!==!1,Re=N.SANITIZE_NAMED_PROPS||!1,tt=N.KEEP_CONTENT!==!1,Ue=N.IN_PLACE||!1,he=Th(N.ALLOWED_URI_REGEXP)?N.ALLOWED_URI_REGEXP:Ao,xt=typeof N.NAMESPACE=="string"?N.NAMESPACE:Je,Lt=Ea(N,"MATHML_TEXT_INTEGRATION_POINTS",()=>Ve({},Ut)),_t=Ea(N,"HTML_INTEGRATION_POINTS",()=>Ve({},nn));const W=Ea(N,"CUSTOM_ELEMENT_HANDLING",()=>kn(null));if(ie=kn(null),At(W,"tagNameCheck")&&$t(W.tagNameCheck)&&(ie.tagNameCheck=W.tagNameCheck),At(W,"attributeNameCheck")&&$t(W.attributeNameCheck)&&(ie.attributeNameCheck=W.attributeNameCheck),At(W,"allowCustomizedBuiltInElements")&&typeof W.allowCustomizedBuiltInElements=="boolean"&&(ie.allowCustomizedBuiltInElements=W.allowCustomizedBuiltInElements),dt(ie),Me&&(Ie=!1),We&&(Le=!0),nt&&(T=Ve({},_o),ee=kn(null),nt.html===!0&&(Ve(T,xo),Ve(ee,wo)),nt.svg===!0&&(Ve(T,Ba),Ve(ee,ja),Ve(ee,ta)),nt.svgFilters===!0&&(Ve(T,Sa),Ve(ee,ja),Ve(ee,ta)),nt.mathMl===!0&&(Ve(T,Da),Ve(ee,ko),Ve(ee,ta))),oe.tagCheck=null,oe.attributeCheck=null,At(N,"ADD_TAGS")&&(typeof N.ADD_TAGS=="function"?oe.tagCheck=N.ADD_TAGS:An(N.ADD_TAGS)&&(T===q&&(T=Bt(T)),Ve(T,N.ADD_TAGS,Ke))),At(N,"ADD_ATTR")&&(typeof N.ADD_ATTR=="function"?oe.attributeCheck=N.ADD_ATTR:An(N.ADD_ATTR)&&(ee===we&&(ee=Bt(ee)),Ve(ee,N.ADD_ATTR,Ke))),At(N,"ADD_FORBID_CONTENTS")&&An(N.ADD_FORBID_CONTENTS)&&(Ee===je&&(Ee=Bt(Ee)),Ve(Ee,N.ADD_FORBID_CONTENTS,Ke)),tt&&(T["#text"]=!0),Ne&&Ve(T,["html","head","body"]),T.table&&(Ve(T,["tbody"]),delete le.tbody),N.TRUSTED_TYPES_POLICY){if(typeof N.TRUSTED_TYPES_POLICY.createHTML!="function")throw Cn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof N.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Cn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const ne=k;k=N.TRUSTED_TYPES_POLICY;try{D=B("")}catch(_e){throw k=ne,_e}}else N.TRUSTED_TYPES_POLICY===null?(k=void 0,D=""):(k===void 0&&(k=Z()),k&&typeof D=="string"&&(D=B("")));lt&<(N),jt=N},Vt=Ve({},[...Ba,...Sa,...Mh]),zt=Ve({},[...Da,...Lh]),ae=function(N,W,ne){return W.namespaceURI===Je?N==="svg":W.namespaceURI===mt?N==="svg"&&(ne==="annotation-xml"||Lt[ne]):!!Vt[N]},me=function(N,W,ne){return W.namespaceURI===Je?N==="math":W.namespaceURI===Mt?N==="math"&&_t[ne]:!!zt[N]},F=function(N,W,ne){return W.namespaceURI===Mt&&!_t[ne]||W.namespaceURI===mt&&!Lt[ne]?!1:!zt[N]&&(an[N]||!Vt[N])},Q=function(N){let W=b(N);(!W||!W.tagName)&&(W={namespaceURI:xt,tagName:"template"});const ne=Pn(N.tagName),_e=Pn(W.tagName);return Ft[N.namespaceURI]?N.namespaceURI===Mt?ae(ne,W,_e):N.namespaceURI===mt?me(ne,W,_e):N.namespaceURI===Je?F(ne,W,_e):!!(Nt==="application/xhtml+xml"&&Ft[N.namespaceURI]):!1},Ce=function(N){Rn(n.removed,{element:N});try{b(N).removeChild(N)}catch{if(f(N),!b(N))throw Cn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ve=function(N,W,ne){try{N.removeAttributeNode(W)}catch{try{N.removeAttribute(ne)}catch{}}},ke=function(N){ce(N);const W=v(N);if(W){const _e=[];mn(W,Be=>{Rn(_e,Be)}),mn(_e,Be=>{try{f(Be)}catch{}})}const ne=_(N);if(ne)for(let _e=ne.length-1;_e>=0;--_e){const Be=ne[_e],Te=Be&&Be.name;typeof Te=="string"&&ve(N,Be,Te)}},Ae=function(N,W,ne){if(!ne)try{ne=W.getAttributeNode(N)}catch{ne=null}Rn(n.removed,{attribute:ne||null,from:W});try{ne?W.removeAttributeNode(ne):W.removeAttribute(N)}catch{try{W.removeAttribute(N)}catch{}}if(N==="is")if(Le||We)try{Ce(W)}catch{}else try{W.setAttribute(N,"")}catch{}},st=function(N){const W=_(N);if(W)for(let ne=W.length-1;ne>=0;--ne){const _e=W[ne],Be=_e&&_e.name;typeof Be!="string"||ee[Ke(Be)]||ve(N,_e,Be)}},ce=function(N){const W=[N];for(;W.length>0;){const ne=W.pop();A(ne)===St.element&&st(ne);const Be=v(ne);if(Be)for(let Te=Be.length-1;Te>=0;--Te)W.push(Be[Te])}},xe=function(N,W){return De?N==="patchsrc"?!0:N==="for"&&W!=="label"&&W!=="output":!1},qe=function(N){if(!De)return;const W=[N];for(;W.length>0;){const ne=W.pop(),_e=A(ne);if(_e===St.processingInstruction||_e===St.comment&&ft(Bo,ne.data)){try{f(ne)}catch{}continue}if(_e===St.element){const Te=ne,Xe=Ke(M(ne));try{Te.hasAttribute&&Te.hasAttribute("patchsrc")&&Te.removeAttribute("patchsrc"),Te.hasAttribute&&Te.hasAttribute("for")&&xe("for",Xe)&&Te.removeAttribute("for")}catch{}}const Be=v(ne);if(Be)for(let Te=Be.length-1;Te>=0;--Te)W.push(Be[Te])}},it=function(N){let W=null,ne=null;if(Fe)N="<remove></remove>"+N;else{const Te=go(N,/^[\r\n\t ]+/);ne=Te&&Te[0]}Nt==="application/xhtml+xml"&&xt===Je&&(N='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+N+"</body></html>");const _e=k?B(N):N;if(xt===Je)try{W=new h().parseFromString(_e,Nt)}catch{}if(!W||!W.documentElement){W=J.createDocument(xt,"template",null);try{W.documentElement.innerHTML=Dt?D:_e}catch{}}const Be=W.body||W.documentElement;return N&&ne&&Be.insertBefore(a.createTextNode(ne),Be.childNodes[0]||null),xt===Je?L.call(W,Ne?"html":"body")[0]:Ne?W.documentElement:Be},ut=function(N){const W=x?x(N):N.ownerDocument;return E.call(W||N,N,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Et=function(N){return N=In(N,X," "),N=In(N,I," "),N=In(N,U," "),N},Wt=function(N){var W;N.normalize();const ne=x?x(N):N.ownerDocument,_e=E.call(ne||N,N,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null);let Be=_e.nextNode();for(;Be;)Be.data=Et(Be.data),Be=_e.nextNode();const Te=(W=N.querySelectorAll)===null||W===void 0?void 0:W.call(N,"template");Te&&mn(Te,Xe=>{wn(Xe.content)&&Wt(Xe.content)})},_n=function(N){const W=S?S(N):null;return typeof W!="string"||Ke(W)!=="form"?!1:typeof N.nodeName!="string"||typeof N.textContent!="string"||typeof N.removeChild!="function"||N.attributes!==_(N)||typeof N.removeAttribute!="function"||typeof N.setAttribute!="function"||typeof N.namespaceURI!="string"||typeof N.insertBefore!="function"||typeof N.hasChildNodes!="function"||N.nodeType!==y(N)||N.childNodes!==v(N)},wn=function(N){if(!y||typeof N!="object"||N===null)return!1;try{return y(N)===St.documentFragment}catch{return!1}},$n=function(N){if(!y||typeof N!="object"||N===null)return!1;try{return typeof y(N)=="number"}catch{return!1}};function qt(ue,N,W){ue.length!==0&&mn(ue,ne=>{ne.call(n,N,W,jt)})}const Tl=function(N,W){return!!(De&&N.hasChildNodes()&&!$n(N.firstElementChild)&&ft(No,N.textContent)&&ft(No,N.innerHTML)||De&&N.namespaceURI===Je&&Uh[W]&&($n(N.firstElementChild)||typeof N.textContent=="string"&&ft(Gh[W],N.textContent))||N.nodeType===St.processingInstruction||De&&N.nodeType===St.comment&&ft(Bo,N.data))},Qn=function(N,W){if(N instanceof RegExp)return ft(N,W);if(N instanceof Function){for(var ne=arguments.length,_e=new Array(ne>2?ne-2:0),Be=2;Be<ne;Be++)_e[Be-2]=arguments[Be];return!!N(W,..._e)}return!1},Ml=function(N,W,ne){if(!le[W]&&Hr(W)&&Qn(ie.tagNameCheck,W))return!1;if(tt&&!Ee[W]){const _e=b(N),Be=v(N);if(Be&&_e){const Te=Be.length;for(let Xe=Te-1;Xe>=0;--Xe){const Qe=N===ne?g(Be[Xe],!0):Be[Xe];_e.insertBefore(Qe,m(N))}}}return Ce(N),!0},Pr=function(N,W,ne,_e){return N.length===0?W:W===ne||W===_e?Bt(W):W},Ir=function(N,W){return N===W||b(N)!==null?!1:(Ue&&ce(N),!0)},Fr=function(N,W){if(qt(V.beforeSanitizeElements,N,null),Ir(N,W))return!0;if(_n(N))return Ce(N),!0;const ne=Ke(M(N));if(T=Pr(V.uponSanitizeElement,T,q,Ge),qt(V.uponSanitizeElement,N,{tagName:ne,allowedTags:T}),Ir(N,W))return!0;if(Tl(N,ne))return Ce(N),!0;if(le[ne]||!(oe.tagCheck instanceof Function&&oe.tagCheck(ne))&&!T[ne]){const Be=Ml(N,ne,W);return Be===!1&&qt(V.afterSanitizeElements,N,null),Be}if(A(N)===St.element&&!Q(N)||(ne==="noscript"||ne==="noembed"||ne==="noframes")&&ft(Wh,N.innerHTML))return Ce(N),!0;if(Me&&N.nodeType===St.text){const Be=Et(N.textContent);N.textContent!==Be&&(Rn(n.removed,{element:N.cloneNode()}),N.textContent=Be)}return qt(V.afterSanitizeElements,N,null),!1},Or=function(N,W,ne){if(se[W]||xe(W,N)||Ye&&(W==="id"||W==="name")&&(ne in a||ne in gt))return!1;const _e=ee[W]||oe.attributeCheck instanceof Function&&oe.attributeCheck(W,N);return Ie&&ft(K,W)||Se&&ft(re,W)?!0:_e?ze[W]||ft(he,In(ne,fe,""))||(W==="src"||W==="xlink:href"||W==="href")&&N!=="script"&&bo(ne,"data:")===0&&at[N]||He&&!ft(de,In(ne,fe,""))?!0:!ne:Hr(N)&&Qn(ie.tagNameCheck,N)&&Qn(ie.attributeNameCheck,W,N)||W==="is"&&ie.allowCustomizedBuiltInElements&&Qn(ie.tagNameCheck,ne)},Ll=Ve({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Hr=function(N){return!Ll[Pn(N)]&&ft(ge,N)},$l=function(N,W,ne,_e){if(k&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!ne)switch(p.getAttributeType(N,W)){case"TrustedHTML":return B(_e);case"TrustedScriptURL":return O(_e)}return _e},Rl=function(N,W,ne,_e){try{ne?N.setAttributeNS(ne,W,_e):N.setAttribute(W,_e),_n(N)?Ce(N):fo(n.removed)}catch{Ae(W,N)}},Vr=function(N){qt(V.beforeSanitizeAttributes,N,null);const W=N.attributes;if(!W||_n(N))return;ee=Pr(V.uponSanitizeAttribute,ee,we,ye);const ne={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ee,forceKeepAttr:void 0};let _e=W.length;const Be=Ke(N.nodeName);for(;_e--;){const Te=W[_e],Xe=Te.name,Qe=Te.namespaceURI,wt=Te.value,kt=Ke(Xe),va=wt;let bt=Xe==="value"?va:Nh(va);if(ne.attrName=kt,ne.attrValue=bt,ne.keepAttr=!0,ne.forceKeepAttr=void 0,qt(V.uponSanitizeAttribute,N,ne),bt=ne.attrValue,Re&&(kt==="id"||kt==="name")&&bo(bt,pt)!==0&&(Ae(Xe,N,Te),bt=pt+bt),De&&ft(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,bt)){Ae(Xe,N,Te);continue}if(kt==="attributename"&&go(bt,"href")){Ae(Xe,N,Te);continue}if(!ne.forceKeepAttr){if(!ne.keepAttr){Ae(Xe,N,Te);continue}if(!$e&&ft(qh,bt)){Ae(Xe,N,Te);continue}if(Me&&(bt=Et(bt)),!Or(Be,kt,bt)){Ae(Xe,N,Te);continue}bt=$l(Be,kt,Qe,bt),bt!==va&&Rl(N,Xe,Qe,bt)}}qt(V.afterSanitizeAttributes,N,null)},ea=function(N){let W=null;const ne=ut(N);for(qt(V.beforeSanitizeShadowDOM,N,null);W=ne.nextNode();)if(qt(V.uponSanitizeShadowNode,W,null),Fr(W,N),Vr(W),wn(W.content)&&ea(W.content),A(W)===St.element){const _e=w(W);wn(_e)&&(ya(_e),ea(_e))}qt(V.afterSanitizeShadowDOM,N,null)},ya=function(N){const W=[{node:N,shadow:null}];for(;W.length>0;){const ne=W.pop();if(ne.shadow){ea(ne.shadow);continue}const _e=ne.node,Te=A(_e)===St.element,Xe=v(_e);if(Xe)for(let Qe=Xe.length-1;Qe>=0;--Qe)W.push({node:Xe[Qe],shadow:null});if(Te){const Qe=S?S(_e):null;if(typeof Qe=="string"&&Ke(Qe)==="template"){const wt=_e.content;wn(wt)&&W.push({node:wt,shadow:null})}}if(Te){const Qe=w(_e);wn(Qe)&&W.push({node:null,shadow:Qe},{node:Qe,shadow:null})}}};return n.sanitize=function(ue){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=null,ne=null,_e=null,Be=null;if(Dt=!ue,Dt&&(ue="<!-->"),typeof ue!="string"&&!$n(ue)&&(ue=Eh(ue),typeof ue!="string"))throw Cn("dirty is not a string, aborting");if(!n.isSupported)return ue;Oe?(T=Ge,ee=ye):Ht(N),(V.uponSanitizeElement.length>0||V.uponSanitizeAttribute.length>0)&&(T=Bt(T)),V.uponSanitizeAttribute.length>0&&(ee=Bt(ee)),n.removed=[];const Te=Ue&&typeof ue!="string"&&$n(ue);if(Te){qe(ue);const wt=M(ue);if(typeof wt=="string"){const kt=Ke(wt);if(!T[kt]||le[kt])throw ke(ue),Cn("root node is forbidden and cannot be sanitized in-place")}if(_n(ue))throw ke(ue),Cn("root node is clobbered and cannot be sanitized in-place");try{ya(ue)}catch(kt){throw ke(ue),kt}}else if($n(ue))W=it("<!---->"),ne=W.ownerDocument.importNode(ue,!0),ne.nodeType===St.element&&ne.nodeName==="BODY"||ne.nodeName==="HTML"?W=ne:W.appendChild(ne),ya(ne);else{if(!Le&&!Me&&!Ne&&ue.indexOf("<")===-1)return k&&Ze?B(ue):ue;if(W=it(ue),!W)return Le?null:Ze?D:""}W&&Fe&&Ce(W.firstChild);const Xe=Te?ue:W;try{const wt=ut(Xe);for(;_e=wt.nextNode();)Fr(_e,Xe),Vr(_e),wn(_e.content)&&ea(_e.content)}catch(wt){throw Te&&(ke(ue),mn(n.removed,kt=>{kt.element&&ce(kt.element)})),wt}if(Te)return mn(n.removed,wt=>{wt.element&&ce(wt.element)}),Me&&Wt(ue),ue;if(Le){if(Me&&Wt(W),We)for(Be=$.call(W.ownerDocument);W.firstChild;)Be.appendChild(W.firstChild);else Be=W;return(ee.shadowroot||ee.shadowrootmode)&&(Be=z.call(r,Be,!0)),Be}let Qe=Ne?W.outerHTML:W.innerHTML;return Ne&&T["!doctype"]&&W.ownerDocument&&W.ownerDocument.doctype&&W.ownerDocument.doctype.name&&ft(Vh,W.ownerDocument.doctype.name)&&(Qe="<!DOCTYPE "+W.ownerDocument.doctype.name+`>
|
|
808
|
+
`+Qe),Me&&(Qe=Et(Qe)),k&&Ze?B(Qe):Qe},n.setConfig=function(){let ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ht(ue),Oe=!0,Ge=T,ye=ee},n.clearConfig=function(){jt=null,Oe=!1,Ge=null,ye=null,k=H,D=""},n.isValidAttribute=function(ue,N,W){jt||Ht({});const ne=Ke(ue),_e=Ke(N);return Or(ne,_e,W)},n.addHook=function(ue,N){typeof N=="function"&&At(V,ue)&&Rn(V[ue],N)},n.removeHook=function(ue,N){if(At(V,ue)){if(N!==void 0){const W=kh(V[ue],N);return W===-1?void 0:Ah(V[ue],W,1)[0]}return fo(V[ue])}},n.removeHooks=function(ue){At(V,ue)&&(V[ue]=[])},n.removeAllHooks=function(){V=Do()},n}var Yh=jo();const Xh=/^(?:[a-z]+:)?\/\//i;let Jh="";function Qh(){return Jh}function Ta(e){const n=String(e||"").trim();if(!n)return"";if(Xh.test(n)||n.startsWith("data:")||n.startsWith("blob:"))return n;const a=n.startsWith("/")?n:`/${n}`,r=Qh();return r?`${r}${a}`:a}const Eo="__ihab_core_storage_resolvers__";function na(){return globalThis[Eo]??null}function em(e){globalThis[Eo]=e}let To=class extends Error{constructor(n){super(`
|
|
809
809
|
[ihabdevteam-core] ${n}() \uD638\uCD9C \uC2E4\uD328 \u2014 configureStorage()\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.
|
|
810
810
|
|
|
811
811
|
\uC571 \uCD08\uAE30\uD654 \uC2DC\uC810(main.tsx \uB4F1)\uC5D0 \uC544\uB798\uC640 \uAC19\uC774 \uD55C \uBC88 \uD638\uCD9C\uD558\uC138\uC694:
|
|
@@ -824,24 +824,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
824
824
|
\uC124\uCE58 \uBA85\uB839\uC5B4 (\uC2A4\uD1A0\uB9AC\uC9C0 SDK \uBBF8\uC124\uCE58 \uC2DC):
|
|
825
825
|
npm install @supabase/supabase-js
|
|
826
826
|
pnpm add @supabase/supabase-js
|
|
827
|
-
`),this.name="StorageNotConfiguredError"}};function Yh(e){Zh(e)}function So(e,n){if(!e)return null;const a=na();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function jo(e){if(!e)return null;const n=na();if(!n)throw new Do("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Eo(e){const n=na();if(!n)throw new Do("downloadSound");return n.download(e)}function Xh(){return na()?.noiseBaseUrl??"/sounds/noise"}const To="__ihab_core_tts_config__";function Ma(){return globalThis[To]?.urlResolver??null}function Jh(){return globalThis[To]?.fallbackUrlResolver??null}const Qh="__ihab_core_pronunciation_resolver__";function em(){return globalThis[Qh]??null}let Fn=null;const Mo=new WeakMap;function tm(){if(Fn)return Fn;try{const e=window.AudioContext||window.webkitAudioContext;return e?(Fn=new e,Fn):null}catch{return null}}function La(){try{Fn?.resume()}catch{}}function $a(e){if(!e)return null;const n=Mo.get(e);if(n)return n;const a=tm();if(!a)return null;try{const r=a.createMediaElementSource(e),o=a.createAnalyser();return o.fftSize=1024,o.smoothingTimeConstant=.6,r.connect(o),r.connect(a.destination),Mo.set(e,o),o}catch{return null}}function nm(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const o=n[r];a+=o*o}return Math.sqrt(a/n.length)}const am="__ihab_core_image_config__";function kn(){return globalThis[am]??null}const Lo="word_image_existence_map_v1";let Cn=null;const aa=new Map;function rm(){if(Cn)return Cn;try{const e=typeof localStorage<"u"?localStorage.getItem(Lo):null;Cn=e?JSON.parse(e):{}}catch{Cn={}}return Cn}let Ra=null;function om(){Ra||(Ra=setTimeout(()=>{Ra=null;try{typeof localStorage<"u"&&Cn&&localStorage.setItem(Lo,JSON.stringify(Cn))}catch{}},200))}function sm(e,n){return`${e}_${n??1}`}async function $o(e,n){const a=rm(),r=sm(e,n);if(r in a)return a[r];if(aa.has(r))return aa.get(r);const o=kn();if(!o)return!1;const s=o(e,n);if(!s)return!1;const l=fetch(s,{method:"HEAD",signal:AbortSignal.timeout(8e3)}).then(c=>c.ok).catch(()=>!1).then(c=>(a[r]=c,om(),aa.delete(r),c));return aa.set(r,l),l}const Ro=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Po=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],im=["","\u3131","\u3132","\u3133","\u3134","\u3135","\u3136","\u3137","\u3139","\u313A","\u313B","\u313C","\u313D","\u313E","\u313F","\u3140","\u3141","\u3142","\u3144","\u3145","\u3146","\u3147","\u3148","\u314A","\u314B","\u314C","\u314D","\u314E"];function On(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function lm(e){const n=On(e[0]||"");return n?Ro[n.cho]:""}function cm(e,n){if(!n)return!0;const a=[...n],r=c=>Ro.includes(c),o=c=>Po.includes(c),s=a.map(c=>r(c)?"cho":o(c)?"jung":On(c)?"syl":"other");if(s.includes("other"))return e.includes(n);const l=[...e];for(let c=0;c+a.length<=l.length;c++){let d=!0;for(let u=0;u<a.length;u++){const h=l[c+u],p=s[u];if(p==="cho"){if(lm(h)!==a[u]){d=!1;break}}else if(p==="jung"){const m=On(h);if(!m||Po[m.jung]!==a[u]){d=!1;break}}else{const m=On(a[u]);if(m&&m.jong===0){const g=On(h);if(!g||g.cho!==m.cho||g.jung!==m.jung){d=!1;break}}else if(h!==a[u]){d=!1;break}}}if(d)return!0}return!1}const um={3:["\u3131","\u3145"],5:["\u3134","\u3148"],6:["\u3134","\u314E"],9:["\u3139","\u3131"],10:["\u3139","\u3141"],11:["\u3139","\u3142"],12:["\u3139","\u3145"],13:["\u3139","\u314C"],14:["\u3139","\u314D"],15:["\u3139","\u314E"],18:["\u3142","\u3145"]};Object.fromEntries(Object.entries(um).map(([e,n])=>[n.join(""),im[Number(e)]]));const dm="word_pair_index_v2",pm="word_pair_index_sig_v2";let ra=null;function hm(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(dm),n=localStorage.getItem(pm);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function mm(){if(ra)return ra;const e=hm();return e?(ra=e.index,e.sig,ra):null}const Cm={\u314F:{nucleus:"\u314F"},\u3151:{glide:"j",nucleus:"\u314F"},\u3153:{nucleus:"\u3153"},\u3155:{glide:"j",nucleus:"\u3153"},\u3157:{nucleus:"\u3157"},\u315B:{glide:"j",nucleus:"\u3157"},\u315C:{nucleus:"\u315C"},\u3160:{glide:"j",nucleus:"\u315C"},\u3161:{nucleus:"\u3161"},\u3163:{nucleus:"\u3163"},\u3150:{nucleus:"\u3154/\u3150"},\u3152:{glide:"j",nucleus:"\u3154/\u3150"},\u3154:{nucleus:"\u3154/\u3150"},\u3156:{glide:"j",nucleus:"\u3154/\u3150"},\u3158:{glide:"w",nucleus:"\u314F"},\u3159:{glide:"w",nucleus:"\u3154/\u3150"},\u315A:{glide:"w",nucleus:"\u3154/\u3150"},\u315D:{glide:"w",nucleus:"\u3153"},\u315E:{glide:"w",nucleus:"\u3154/\u3150"},\u315F:{glide:"w",nucleus:"\u3163"},\u3162:{glide:"\u0270",nucleus:"\u3163"}},Pa=/[ㄱ-ㅎ]/,fm=/[ㅏ-ㅣ]/;function Io(e){for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Pa.test(a)||fm.test(a))return a}return null}function gm(e){const n=Io(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Pa.test(n)?"\uC774":"\uAC00"}function bm(e){return`${e}${gm(e)}`}function ym(e){const n=Io(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Pa.test(n)?"\uC744":"\uB97C"}function vm(e){return`${e}${ym(e)}`}function xm(e,n,a){const r=e.slice(),[o]=r.splice(n,1);return r.splice(a,0,o),r}function Hn(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const o=Math.floor(n()*(r+1));[a[r],a[o]]=[a[o],a[r]]}return a}function Fo(e,n="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958"){if(e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const _m="__ihab_core_word_pool__";function wm(){return globalThis[_m]??null}const Oo=globalThis;function Ho(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function km(e){Ho("time",()=>Oo.__ihabTrainingTimeLogger?.(e))}function Am(e){Ho("completion",()=>Oo.__ihabTrainingCompletionLogger?.(e))}function $t(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function Nm(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function Bm(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:$t(r.contextCode)??$t(r.itemId)??$t(r.itemCode)??$t(r.id),question:$t(r.question)??$t(r.sentence)??$t(r.word)??$t(r.targetSyllable),answer:$t(r.answer),selected:$t(r.selectedText)??$t(r.selected),correct:Nm(r)}}):[]}const Ia=globalThis;async function Dm(){try{return await Ia.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function Sm(e){const n=a=>{};try{const a=Ia.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function Fa(e){try{Ia.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function jm(e){if(typeof document<"u")try{const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.pointerEvents="none",document.body.appendChild(n),n.focus(),n.select(),n.setSelectionRange(0,e.length);const a=document.execCommand("copy");if(document.body.removeChild(n),a)return!0}catch{}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}function Em(){return Oa(new Date)}function Oa(e){if(e==null||e==="")return"";const n=e instanceof Date?e:new Date(e);return isNaN(n.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n)}function zo(e,n){if(!e)return"";const a=new Date(e).getTime();if(Number.isNaN(a))return"";const r=Math.max(0,Math.floor((Date.now()-a)/1e3)),o=Math.floor(r/60),s=Math.floor(o/60),l=Math.floor(s/24),c=Math.floor(l/7),d=Math.floor(l/30),u=Math.floor(l/365);return o<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):o<60?n("store.time.minutesAgo",{n:o}):s<24?n("store.time.hoursAgo",{n:s}):l<7?n("store.time.daysAgo",{n:l}):c<5?n("store.time.weeksAgo",{n:c}):l<365?n("store.time.monthsAgo",{n:Math.min(d,11)}):n("store.time.yearsAgo",{n:u})}function Vo(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:o=!1,fallback:s="\u2014"}=n;if(!e)return s;const l=Oa(e instanceof Date?e:String(e));if(!l)return s;const[c,d,u]=l.split("-"),h=r?d:String(Number(d)),p=r?u:String(Number(u));return`${c}${a}${h}${a}${p}${o?".":""}`}function zn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function Wo(e,n){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),o=Number(a[2]),s=a[1].padStart(2,"0");return o===0?n("date.timeH",{h:r,hh:s,mm:a[2]}):n("date.timeHM",{h:r,hh:s,m:o,mm:a[2]})}function Ha(e){return(e??0).toLocaleString("ko-KR")}const Tm=[{key:"FOOD",label:"\uC74C\uC2DD",icon:"salad",color:"#FF8A65",subs:[{key:"TRKRFD",label:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD"},{key:"MDKRFD",label:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD"},{key:"WRLDFD",label:"\uC138\uACC4\uC758 \uC74C\uC2DD"},{key:"MTRFRT",label:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C"},{key:"GEFDKL",label:"\uC74C\uC2DD \uC0C1\uC2DD"}]},{key:"HLTH",label:"\uAC74\uAC15",icon:"heart",color:"#66BB6A",subs:[{key:"HTETHB",label:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00"},{key:"DISILL",label:"\uBCD1\uACFC \uC9C8\uD658"},{key:"EXCISE",label:"\uC6B4\uB3D9"},{key:"GEHTKL",label:"\uAC74\uAC15\uC0C1\uC2DD"}]},{key:"WETH",label:"\uB0A0\uC528",icon:"sun-medium",color:"#42A5F5",subs:[{key:"GESSKL",label:"\uACC4\uC808\uC0C1\uC2DD"},{key:"SNWRAN",label:"\uB208\uACFC \uBE44"},{key:"WTHFCT",label:"\uC77C\uAE30\uC608\uBCF4"},{key:"GEWTKL",label:"\uB0A0\uC528\uC0C1\uC2DD"}]},{key:"PRSN",label:"\uC778\uBB3C",icon:"user-round",color:"#AB47BC",subs:[{key:"JODYPS",label:"\uC870\uC120\uC2DC\uB300"},{key:"MDKRPS",label:"\uD55C\uAD6D \uADFC\uD604\uB300"},{key:"THKDPS",label:"\uC0BC\uAD6D\uC2DC\uB300"},{key:"WRLART",label:"\uC138\uACC4\uC758 \uC608\uC220\uAC00"},{key:"WRLPSN",label:"\uC138\uACC4\uC758 \uC778\uBB3C"}]},{key:"KRCT",label:"\uD55C\uAD6D\uBB38\uD654",icon:"bow-arrow",color:"#EC407A",subs:[{key:"KRLANG",label:"\uC6B0\uB9AC\uB9D0"},{key:"TRPLCT",label:"\uC804\uD1B5\uB180\uC774"},{key:"HERITG",label:"\uBB38\uD654\uC7AC"},{key:"EVTFES",label:"\uD589\uC0AC\uC640 \uCD95\uC81C"},{key:"GECTKL",label:"\uC0C1\uC2DD"}]},{key:"STRY",label:"\uC774\uC57C\uAE30",icon:"message-circle",color:"#8D6E63",subs:[{key:"FRYTAL",label:"\uB3D9\uD654"},{key:"AMZING",label:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30"},{key:"DAYSTR",label:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30"}]},{key:"LOCA",label:"\uC9C0\uC5ED",icon:"map-pin",color:"#26A69A",subs:[{key:"KRLDMK",label:"\uD55C\uAD6D\uC758 \uBA85\uC18C"},{key:"SELNMK",label:"\uC11C\uC6B8\uC758 \uBA85\uC18C"},{key:"WRDTRB",label:"\uC138\uACC4\uC5EC\uD589"},{key:"NAVIGT",label:"\uAE38 \uCC3E\uAE30"}]},{key:"SOAR",label:"\uC0AC\uD68C\uC640 \uC608\uC220",icon:"landmark",color:"#5C6BC0",subs:[{key:"KRSOCI",label:"\uD55C\uAD6D"},{key:"ECONEW",label:"\uACBD\uC81C\uC640 \uB274\uC2A4"},{key:"GENART",label:"\uC608\uC220"},{key:"GELFKL",label:"\uC0DD\uD65C \uC0C1\uC2DD"}]},{key:"NTSC",label:"\uC790\uC5F0\uACFC \uACFC\uD559",icon:"leaf",color:"#9CCC65",subs:[{key:"ANIMAL",label:"\uB3D9\uBB3C"},{key:"PLANTS",label:"\uC2DD\uBB3C"},{key:"ETHPLT",label:"\uC9C0\uAD6C"},{key:"TOLELC",label:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488"},{key:"GESCKL",label:"\uACFC\uD559\uC0C1\uC2DD"}]},{key:"SPRT",label:"\uC2A4\uD3EC\uCE20",icon:"trophy",color:"#FFCA28",subs:[{key:"INVDSP",label:"\uAC1C\uC778\uACBD\uAE30"},{key:"MARART",label:"\uACA9\uD22C\uAE30"},{key:"TEAMSP",label:"\uB2E8\uCCB4\uACBD\uAE30"},{key:"FOOTBL",label:"\uCD95\uAD6C"},{key:"GESPKL",label:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}]}],Mm=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828"},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30 + 4\uBB38\uC81C"},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30 \uC2EC\uD654 \uD6C8\uB828"},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC21C\uC11C \uBC30\uC5F4 \uD6C8\uB828"}];function qo(){return Tm}function Lm(){return Mm}const $m=[],Rm=[],Pm=[],Im=[];function Fm(){return{LISTEN_IN_NOISE:$m,SHORT_STORY:Rm,LONG_STORY:Pm,ORDERING_SENTENCE:Im}}const Om=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uB2E4\uC218\uC758 \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC5EC\uB7EC\uAC1C\uC758 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uADF8 \uC21C\uC11C\uC5D0 \uB9DE\uAC8C \uBC30\uC5F4\uD569\uB2C8\uB2E4."}];let oa=null,Uo=null,Go=null;function Hm(){const e=wm();if(e&&e.entries.length>0){const n=mm();if(oa&&Uo===e&&Go===n)return oa;const a=new Set,r=[];for(const o of e.entries)!o.word||a.has(o.word)||(a.add(o.word),r.push({w:o.word,s:o.syllables,p:n?.[o.word]?[...n[o.word].cho??[],...n[o.word].jung??[],...n[o.word].jong??[]]:[],pron:o.pronunciation||o.word,grade:o.grade}));return oa=r,Uo=e,Go=n,oa}return[]}new Proxy([],{get(e,n){const a=Hm(),r=a[n];return typeof r=="function"?r.bind(a):r}});const zm="0.119.0";function Vm(e){return typeof window>"u"?"":qh.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function Wm(e){const[n,a]=i.useState(null),[r,o]=i.useState(null),[s,l]=i.useState(null),[c,d]=i.useState(null);return i.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),o(null),l(null);return}const u=e.split("/").pop();let h=e;u&&(e.startsWith("/")?h=Ta(e):/^(Logo|Symbol)/i.test(u)?h=Ta(`logo/${u}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),h=e)),a(h)},[e]),i.useEffect(()=>{if(!n)return;let u=!1;async function h(){try{let p=await fetch(n);p.ok||(p=await fetch(n));const m=p.headers.get("content-type")||"";if(u)return;if(m.includes("svg")){o("mask");return}if(m.startsWith("image/")){o("img");return}const g=await fetch(n);if(!g.ok)throw new Error("not ok");const f=await g.text();if(u)return;if(/^\s*<svg[\s>]/i.test(f)){const C=Vm(f);if(!C){o("none");return}l(C),o("inline");return}o("none")}catch{u||o("none")}}return h(),()=>{u=!0}},[n]),i.useEffect(()=>{let u=!1,h=null;return r==="mask"&&n&&fetch(n).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{u||(h=URL.createObjectURL(p),d(h))}).catch(()=>{u||o("img")}),()=>{u=!0,h&&URL.revokeObjectURL(h),d(null)}},[r,n]),{iconToUse:n,mode:r,svgText:s,blobUrl:c}}function Ie(e){const{icon:n,label:a,className:r,imgClassName:o,maskClassName:s,svgClassName:l,wrapperStyle:c,size:d}=e||{},u=r??"iconRenderer-icon",h=o??"iconRenderer-icon-image",p=s??"iconRenderer-icon-mask",m=l??"iconRenderer-icon-svg",g=typeof n=="string"?n:null,f=uh(g),{iconToUse:C,mode:b,svgText:y,blobUrl:w}=Wm(g),_=(A,M={})=>t.jsx("span",{className:u,style:c,...M,children:A}),v=(A,M={})=>t.jsx("img",{src:A,alt:typeof a=="string"?a:a?String(a):"",className:h,...M});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(f)try{return _(i.createElement(f,{className:m,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(C&&C.endsWith(".svg")){if(b==="mask"){const A={"--icon-url":w?`url(${w})`:`url(${C})`};return _(t.jsx("span",{className:p,style:A}),{"aria-hidden":"true"})}return b==="img"?_(v(C,{onError:A=>{A.currentTarget.onerror=null,A.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):b==="inline"?_(t.jsx("span",{className:m,dangerouslySetInnerHTML:y?{__html:y}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return v(Ta(n),{style:c,onError:A=>{A.currentTarget.onerror=null,A.currentTarget.style.display="none"}});const D=typeof d=="number"?d:20,x=`<svg width="${D}" height="${D}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return _(t.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:x}}),{"aria-hidden":"true"})}function qm({icon:e,emoji:n,title:a,message:r,hint:o,action:s,compact:l,className:c}){return t.jsxs("div",{className:ye("empty-state",l&&"empty-state--compact",c),children:[n&&t.jsx("span",{className:"empty-state__emoji",children:n}),e&&t.jsx(Ie,{icon:e,className:"empty-state__icon"}),a&&t.jsx("p",{className:"empty-state__title body-2",children:a}),r&&t.jsx("p",{className:"empty-state__message body-3",children:r}),o&&t.jsx("p",{className:"empty-state__hint caption-1",children:o}),s&&t.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:s.onClick,children:[s.icon&&t.jsx(Ie,{icon:s.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s.label})]})]})}function Um({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:o,className:s}){const{t:l}=me.useTranslation();return t.jsxs("div",{className:ye("empty-state","error-state",s),role:"alert",children:[t.jsx(Ie,{icon:a,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"empty-state__hint caption-1",children:n}),r&&t.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:r,children:[t.jsx(Ie,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:o??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function Gm({icon:e,title:n,description:a,cta:r,tone:o="main",disabled:s=!1,onClick:l,className:c=""}){const d=()=>{s||l?.()};return t.jsx("section",{role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,"aria-label":n,onClick:d,onKeyDown:u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),d())},className:ye("action-card",`action-card--${o}`,s&&"action-card--disabled",c),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ie,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{className:"action-card__title",children:n}),t.jsx("p",{className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ie,{icon:"arrow-right",size:18})})]})]})})}function Km({as:e="div",className:n="",children:a,storage:r,...o}){r&&Yh({resolveUrl:r.resolveUrl,download:r.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:r.exists,resolvePath:r.resolvePath,noiseBaseUrl:r.noiseBaseUrl});const s=ye("ihabdevteam-core-scope",n);return t.jsx(e,{className:s,...o,children:a})}function Zm({title:e="",lines:n=[],notices:a=null,children:r,variant:o="default",dismissible:s=!1,className:l=""}){const{t:c}=me.useTranslation(),[d,u]=i.useState(!1),h=i.useCallback(()=>u(!0),[]);if(d)return null;const p=`notice-box notice-box--${o} body-2 ${l}`.trim();if(a&&Array.isArray(a)&&a.length)return t.jsx("div",{className:p,role:"note",children:a.map((g,f)=>t.jsxs("div",{className:"notice-box__inner",children:[g.title?t.jsx("span",{className:"notice-box__title body-3",children:g.title}):null,t.jsx("div",{className:"notice-box__body",children:g.lines&&g.lines.length?t.jsx("div",{children:g.lines.map((C,b)=>t.jsx("span",{className:"notice-box__line body-3",children:C},b))}):g.children??null})]},f))});const m=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((g,f)=>t.jsx("li",{className:"notice-box__line",children:g},f))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{className:p,role:"note",children:[m,s&&t.jsx("button",{className:"notice-box__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}function za(e,n=!0){i.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=o=>{if(o.key!=="Tab")return;const s=Array.from(a.querySelectorAll(Vn)).filter(d=>!d.closest('[aria-hidden="true"]'));if(!s.length){o.preventDefault();return}const l=s[0],c=s[s.length-1];o.shiftKey&&document.activeElement===l?(o.preventDefault(),c.focus()):!o.shiftKey&&document.activeElement===c&&(o.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const Vn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function nn(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:o=20,onClose:s,closeOnOutsideClick:l=!0,className:c="",role:d="dialog",ariaLabel:u="",children:h,backdrop:p=!1,isMobilePopup:m=!1,useBorder:g=!0,header:f}=e||{},C=i.useRef(null),[b,y]=i.useState({position:"fixed",left:0,top:-9999}),[w,_]=i.useState(!1),[v,D]=i.useState("bottom"),[x,A]=i.useState(!1),[M,k]=i.useState(!1),S=!n&&!a,H=i.useCallback((B=!1)=>{if(M&&m)return;const O=a?a.getBoundingClientRect():n;if(!O||!C.current)return;const Y=C.current,{offsetWidth:X,offsetHeight:Q}=Y,E=window.innerWidth,$=window.innerHeight,L=E-O.right,V=O.left,z=O.top,J=$-O.bottom;let I=0,U=0,K="top";if(z>=Q+r)K="top",U=O.top-r-Q,I=O.left+O.width/2-X/2;else if(J>=Q+r)K="bottom",U=O.bottom+r,I=O.left+O.width/2-X/2;else if(L>=X+r)K="right",I=O.right+r,U=O.top+O.height/2-Q/2;else if(V>=X+r)K="left",I=O.left-r-X,U=O.top+O.height/2-Q/2;else{const ge=Math.max(z,J,L,V);ge===z?(K="top",U=O.top-r-Q,I=O.left+O.width/2-X/2):ge===J?(K="bottom",U=O.bottom+r,I=O.left+O.width/2-X/2):ge===L?(K="right",I=O.right+r,U=O.top+O.height/2-Q/2):(K="left",I=O.left-r-X,U=O.top+O.height/2-Q/2)}const oe=Number(o)||8;I=Math.min(Math.max(I,oe),E-X-oe),U=Math.min(Math.max(U,oe),$-Q-oe);const pe=Math.round(I),fe=Math.round(U);B&&C.current?(C.current.style.left=`${pe}px`,C.current.style.top=`${fe}px`,C.current.dataset.placement=K):(D(K||v),y({position:"fixed",left:pe,top:fe}),A(!0))},[M,m,a,n,r,o,v]);i.useLayoutEffect(()=>{if(S)return;if(M&&m){y({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),A(!0);return}H();const B=requestAnimationFrame(()=>H());return()=>cancelAnimationFrame(B)},[n,a,r,h,o,S,M,m,H]),i.useEffect(()=>{if(S||M&&m||!C.current||typeof ResizeObserver>"u")return;const B=new ResizeObserver(()=>{n&&H()});return B.observe(C.current),()=>B.disconnect()},[n,h,o,S,M,m,H]),i.useEffect(()=>{if(S||M&&m)return;const B=()=>H(!0);return window.addEventListener("resize",B),document.addEventListener("scroll",B,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",B),document.removeEventListener("scroll",B,{capture:!0})}},[n,r,h,o,S,M,m,H]),i.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const B=window.matchMedia("(max-width: 768px)"),O=()=>k(!!B.matches);O();try{B.addEventListener?B.addEventListener("change",O):B.addListener(O)}catch{try{B.addListener(O)}catch{}}return()=>{try{B.removeEventListener?B.removeEventListener("change",O):B.removeListener(O)}catch{}}},[]);const R=i.useRef(!1),j=i.useCallback((B=!1)=>{if(!(w||R.current)){if(R.current=!0,B){_(!0);try{s&&s()}catch{}return}_(!0),setTimeout(()=>{s&&s()},200)}},[w,s,_]);i.useEffect(()=>{const B=X=>{const Q=C.current;if(!Q)return;const E=X.target;if(E&&!Q.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&j(!0)}},O=X=>{const Q=C.current;if(!Q)return;const E=X.target;if(E&&!Q.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&j(!0)}},Y=X=>{if(X.key==="Escape"){X.stopPropagation(),j();return}if(X.key==="Tab"){const Q=C.current;if(!Q)return;const E=Q.querySelectorAll(Vn);if(!E||E.length===0)return;const $=E[0],L=E[E.length-1],V=document.activeElement;X.shiftKey?V===$&&(X.preventDefault(),L.focus()):V===L&&(X.preventDefault(),$.focus())}};return document.addEventListener("pointerdown",B,!0),document.addEventListener("click",O,!0),document.addEventListener("keydown",Y),()=>{document.removeEventListener("pointerdown",B,!0),document.removeEventListener("click",O,!0),document.removeEventListener("keydown",Y)}},[s,l,j]),i.useEffect(()=>{const B=()=>{j(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",B),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",B)}},[j]);const P=t.jsxs("div",{ref:C,className:`tooltip-content ${S?"tooltip-content--inline":""} ${g?"tooltip-content--bordered":""} ${w?"is-closing":""} ${c} ${M&&m?"is-mobile":""}`,role:d,"aria-label":u||void 0,style:S?{}:{...b,visibility:x?"visible":"hidden"},tabIndex:-1,"data-placement":v,"data-left":S?"":b.left,"data-top":S?"":b.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[f!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:f}),h]});if(S||typeof document>"u")return P;if(p||M&&m){const B=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&j(!0)}}),P]});return Tt.createPortal(B,document.body)}return Tt.createPortal(P,document.body)}function an(e){const{anchorRect:n,text:a,offset:r=8,onClose:o,className:s="",ariaLabel:l}=e||{};return a?t.jsx(nn,{anchorRect:n,offset:r,onClose:o,closeOnOutsideClick:!1,className:`tooltip-info ${s}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function fn(e){const{t:n}=me.useTranslation(),{anchorRect:a,title:r,items:o,activeIndex:s=-1,showIndex:l=!0,onClose:c,offset:d=12,closeOnOutsideClick:u=!0}=e||{},h=(Array.isArray(o)?o:o?[o]:[]).map(p=>typeof p=="string"?{text:p}:p);return!h.length&&!r?null:t.jsx(nn,{anchorRect:a,offset:d,onClose:c,closeOnOutsideClick:u,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:h.map((p,m)=>t.jsxs("li",{className:`tooltip-description__item body-3${m===s?" tooltip-description__item--active":""}`,children:[l&&h.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[m+1,"."]}),p.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:p.color},"aria-hidden":"true"}),t.jsx("span",{children:p.text})]},m))})]})})}function te(e){const{size:n=48,type:a,htmlType:r,href:o,target:s,rel:l,icon:c,rightIcon:d,label:u,count:h,subLabel:p,children:m,ariaLabel:g,variant:f="default",align:C="center",selected:b,toggleable:y=!1,disabled:w=!1,useLabel:_=!0,useBorder:v=!0,useBG:D=!0,useDisabledCovered:x=!1,useDisabledInvisible:A=!1,width:M,minWidth:k,onClick:S,onDisabledClick:H,showTooltipInfo:R=!1,tooltipInfoText:j=null,tooltipDescription:P=null,iconSize:B="medium",iconColor:O,shape:Y="rounded",color:X,className:Q,...E}=e,$=typeof n=="string"&&isNaN(Number(n))?n.toLowerCase():String(Number(n)||48),L=$.match(/^\d+$/)?`button${$}`:`button-${$}`,V=Number(n),z=!isNaN(V)&&V<40?"button-2":"button-1",J=u??m,I=w||!!E.disabled,U=I?x?"disabled-covered":A?"disabled-invisibled":"disabled":f,K=U?`button--variant-${U}`:"",oe=C?`button--align-${C}`:"",pe=Y?`button--shape-${Y}`:"",fe=typeof O=="string"&&O.startsWith("--")?`var(${O})`:O,ge={...M?{width:typeof M=="number"?`${M}px`:M}:{},...k?{minWidth:typeof k=="number"?`${k}px`:k}:{},...v?{}:{"--button-border":I?"0":"1px solid transparent"},...fe?{"--button-icon-color":fe}:{},...X?{"--color-main":X}:{}},he=_===!1?"":J,T=Array.isArray(he)?he.length>0:!!he,q=!!d,ee=a??(T||c||q?"bar":"dot"),Ce=`${L}--${ee}`,ie=i.useRef(null),ue=i.useRef(I),[se,ae]=i.useState(!!b),[je,Fe]=i.useState(!1),[He,$e]=i.useState(null),Ee=i.useCallback(()=>Fe(!1),[]);i.useEffect(()=>{typeof b=="boolean"&&ae(b)},[b]),i.useEffect(()=>{if(ue.current&&!I&&ie.current){const Me=ie.current;Me.blur(),Me.style.pointerEvents="none";const et=requestAnimationFrame(()=>{requestAnimationFrame(()=>{ie.current&&(ie.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(et)}ue.current=I},[I]);const De=typeof b=="boolean"?!!b:se,ke=y||typeof b=="boolean"?De?"true":"false":void 0,Pe=ye("button",L,Ce,K,oe,pe,De?"is-selected":null,D?null:"button--no-bg",Q),Ye=`button__icon button__icon--${B}`,xe=Array.isArray(p)?p:p!==void 0?[p]:[],Oe=()=>{if(Array.isArray(he))return he.map((et,tt)=>{const Ze=xe[tt];return t.jsxs("span",{className:`button__label-text${Ze!==void 0?" button__label-text--has-sub":""}`,children:[et,Ze!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Ze})]},tt)});const Me=p!==void 0;return t.jsxs("span",{className:`button__label-text${Me?" button__label-text--has-sub":""}`,children:[he,h!=null&&t.jsx("span",{className:"button__count",children:h}),Me&&t.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},Se=Me=>{I||(typeof E.onMouseLeave=="function"&&E.onMouseLeave(Me),typeof b!="boolean"&&ae(!1),Me.currentTarget.blur())},We=Me=>{if(I){H?.(Me);return}typeof b!="boolean"&&y&&ae(et=>!et),S?.(Me)},Xe=i.useCallback(()=>{(R||P)&&(Fe(!0),$e(ie.current?.getBoundingClientRect()??null))},[R,P]),qe=i.useCallback(()=>{(R||P)&&(Fe(!1),$e(null))},[R,P]),Re={...E};delete Re.disabled,delete Re.className,delete Re.faded,delete Re.useFaded,delete Re.loading,delete Re.onMouseLeave,delete Re.onPointerEnter,delete Re.onPointerLeave,delete Re.onFocus,delete Re.onBlur,I&&(Object.keys(Re).forEach(Me=>{/^on[A-Z]/.test(Me)&&typeof Re[Me]=="function"&&delete Re[Me]}),Re["aria-disabled"]="true");const ot=(typeof R=="string"?R:null)??(typeof j=="string"?j:null)??(typeof g=="string"?g:null)??(typeof J=="string"?J:null)??void 0,pt=typeof g=="string"?g:typeof J=="string"?J:ot,Ue=(Me,et)=>t.jsx(Ie,{icon:Me,label:et??pt,className:Ye,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),at=()=>ee==="dot"?t.jsxs(t.Fragment,{children:[Ue(c),T&&t.jsx("span",{className:`button__label ${z}`,children:Oe()})]}):C==="center"&&c?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Ue(c)}),T&&t.jsx("span",{className:`button__label ${z}`,children:Oe()})]}),q&&t.jsx("span",{className:"button__right",children:Ue(d)})]}):t.jsxs(t.Fragment,{children:[c&&t.jsx("span",{className:"button__left",children:Ue(c,g??J)}),T&&t.jsx("span",{className:`button__label ${z}`,children:Oe()}),q&&t.jsx("span",{className:"button__right",children:Ue(d)})]}),Be=!!o&&!I;return t.jsxs(t.Fragment,{children:[t.jsx(Be?"a":"button",{...Re,ref:ie,...Be?{href:o,target:s,rel:l??(s==="_blank"?"noreferrer":void 0)}:{type:r,disabled:I&&!H},className:Pe,"aria-pressed":ke,"aria-label":pt,"aria-disabled":Be&&I?!0:void 0,style:ge,onClick:We,onMouseLeave:Se,onPointerEnter:Me=>{Xe(),!I&&typeof E.onPointerEnter=="function"&&E.onPointerEnter(Me)},onPointerLeave:Me=>{qe(),!I&&typeof E.onPointerLeave=="function"&&E.onPointerLeave(Me)},onFocus:Me=>{Xe(),!I&&typeof E.onFocus=="function"&&E.onFocus(Me)},onBlur:Me=>{Se(Me),qe(),!I&&typeof E.onBlur=="function"&&E.onBlur(Me)},children:at()}),je&&P?t.jsx(fn,{anchorRect:He,title:P.title,items:P.items,onClose:Ee}):je&&ot?t.jsx(an,{anchorRect:He,text:ot,onClose:Ee}):null]})}function nt(e,n,a){const r=i.useRef(null);return i.useLayoutEffect(()=>{const o=r.current?.parentElement??null;return n(o,e),()=>a(o)},[e,n,a]),r}const Wn={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},Va=new WeakMap;function Ko(e){if(e)return Va.get(e)}function xt(e,n){e&&(e.style.setProperty(Wn.title,n.title),e.style.setProperty(Wn.description,n.description),Va.set(e,n))}function _t(e){e&&(e.style.removeProperty(Wn.title),e.style.removeProperty(Wn.description),Va.delete(e))}const Zo={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function Yo(){const e=nt(Zo,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const Xo={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function Jo(){const e=nt(Xo,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const Qo={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function es(){const e=nt(Qo,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const ts={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function ns(){const e=nt(ts,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const as={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function rs(){const e=nt(as,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const os={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function ss(){const e=nt(os,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const is={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function ls(){const e=nt(is,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const cs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function us(){const e=nt(cs,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const ds={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function ps(){const e=nt(ds,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const hs={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function ms(){const e=nt(hs,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const Cs={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function fs(){const e=nt(Cs,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:t.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const gs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function bs(){const e=nt(gs,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const ys={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function vs(){const e=nt(ys,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const xs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function _s(){const e=nt(xs,xt,_t);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const Ym=[{key:"main",label:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"soft",label:"\uC18C\uD504\uD2B8",textTone:"dark"},{key:"sub",label:"\uC11C\uBE0C \uCEEC\uB7EC",textTone:"light"},{key:"deep",label:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"softSub",label:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",textTone:"dark"},{key:"warm",label:"\uC6DC(\uAC15\uC870)",textTone:"dark"},{key:"dark",label:"\uB2E4\uD06C",textTone:"light"},{key:"radial",label:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"diagonal",label:"\uB300\uAC01\uC120 \uD328\uD134",textTone:"dark"},{key:"dots",label:"\uB3C4\uD2B8 \uD328\uD134",textTone:"dark"},{key:"outline",label:"\uC544\uC6C3\uB77C\uC778",textTone:"dark"},{key:"success",label:"\uC131\uACF5/\uC644\uB8CC",textTone:"light"},{key:"naver",label:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",textTone:"light"},{key:"instagram",label:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4",textTone:"light"}],ws={main:Yo,soft:Jo,sub:es,deep:ns,softSub:rs,warm:ss,dark:ls,radial:us,diagonal:ps,dots:ms,outline:fs,success:bs,naver:vs,instagram:_s};function ks({storageKey:e="fontScale",baseFont:n=20,minScale:a=.8,maxScale:r=1.4,step:o=.1,lineHeightRatio:s=1.4}={}){const l=b=>Math.max(a,Math.min(r,Number(b))),[c,d]=i.useState(()=>{try{const b=localStorage.getItem(e),y=b?Number(b):1;return Number.isFinite(y)?y:1}catch{return 1}});i.useEffect(()=>{try{localStorage.setItem(e,String(c))}catch{}},[e,c]);const u=b=>{d(typeof b=="function"?y=>l(b(y)):l(b))},h=()=>u(b=>+(b+o).toFixed(6)),p=()=>u(b=>+(b-o).toFixed(6)),m=c<r-Number.EPSILON,g=c>a+Number.EPSILON,f=Math.round(n*c),C=Math.round(f*s);return{scale:c,setScale:u,increase:h,decrease:p,canIncrease:m,canDecrease:g,fontSize:f,lineHeight:C}}const As=i.createContext(null);function Xm(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Gt(e){const n=i.useContext(As),a=s=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(s).matches,[r,o]=i.useState(a(e));return i.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const s=window.matchMedia(e),l=d=>o(d.matches),c=s;return c.addEventListener?c.addEventListener("change",l):c.addListener&&c.addListener(l),o(s.matches),()=>{c.removeEventListener?c.removeEventListener("change",l):c.removeListener&&c.removeListener(l)}},[e]),n&&typeof n.mobile=="boolean"&&Xm(e)?n.mobile:r}function Wa(e){const n=i.useRef(e);return i.useEffect(()=>{n.current=e}),n}function Ns(e,n){const a=Wa(n);i.useEffect(()=>{const r=()=>a.current();try{window.addEventListener(e,r)}catch{}return()=>{try{window.removeEventListener(e,r)}catch{}}},[e,a])}const qa=" \xB7 ",Bs=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(qa)?e.split(qa).pop()??e:e})(),Jm=i.createContext(!1);function Qm(e){const n=i.useContext(Jm);i.useEffect(()=>{if(n||typeof e!="string"||!e)return;const a=document.title;return document.title=Bs?`${e}${qa}${Bs}`:e,()=>{document.title=a}},[e,n])}const Ds=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function e0(e,n,a){const{t:r}=me.useTranslation(),[o,s]=i.useState(()=>{const f=a?.initialPageSize;return f&&Ds.some(C=>C.value===f)?f:"25"}),[l,c]=i.useState(1),[d,u]=i.useState(n);d!==n&&(u(n),l!==1&&c(1));const h=i.useMemo(()=>Ds.map(f=>({...f,label:r("visits.showN",{n:f.value})})),[r]),p=i.useCallback(f=>{s(f),c(1)},[]),m=Math.max(1,Math.ceil(e.length/Number(o))),g=Math.min(l,m);return{pageRows:i.useMemo(()=>e.slice((g-1)*Number(o),g*Number(o)),[e,g,o]),pageSizeProps:{options:h,value:o,onChange:p},paginationProps:{page:g,total:m,onChange:c},setPage:c}}function t0(){const[e,n]=i.useState(null),a=i.useCallback(o=>{n(s=>s?.key===o?{key:o,asc:!s.asc}:{key:o,asc:!0})},[]),r=i.useCallback((o,s)=>({label:o,sortDir:e?.key===s?e.asc?"asc":"desc":null,onClick:()=>a(s)}),[e,a]);return{\uC815\uB82C:e,\uCE78:r}}const rn="\uC804\uCCB4";Object.fromEntries(Object.entries(Cm).map(([e,{nucleus:n}])=>[e,n]));const n0={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},a0={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},r0={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function o0(e,n){if("place"in n)return n0[n.place](e);const a=a0[n.vowel](e);return n.glide?`${a} \xB7 ${r0[n.glide](e)}`:a}const s0=(e,{defaultValue:n})=>n,Ss=(e,n)=>({jamos:e,phonetic:n,tooltip:o0(s0,n)}),Kt=(e,n)=>n.map(a=>Ss([a],{place:e})),mt=(e,n,a)=>Ss([...e],a?{vowel:n,glide:a}:{vowel:n}),Ua={cho:[Kt("labial",["\u3142","\u3143","\u314D","\u3141"]),Kt("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Kt("alveolar",["\u3145","\u3146"]),Kt("palatal",["\u3148","\u3149","\u314A"]),Kt("velar",["\u3131","\u3132","\u314B"]),Kt("glottal",["\u314E"])],jung:[[mt("\u3163","frontHigh"),mt("\u315F","frontHigh","w"),mt("\u3162","frontHigh","velar")],[mt("\u3161","backHighUnrounded")],[mt("\u315C","backHighRounded"),mt("\u3160","backHighRounded","j")],[mt("\u3154\u3150","frontMid"),mt("\u3156\u3152","frontMid","j"),mt("\u3159\u315A\u315E","frontMid","w")],[mt("\u3153","backMidUnrounded"),mt("\u3155","backMidUnrounded","j"),mt("\u315D","backMidUnrounded","w")],[mt("\u3157","backMidRounded"),mt("\u315B","backMidRounded","j")],[mt("\u314F","low"),mt("\u3151","low","j"),mt("\u3158","low","w")]],jong:[Kt("labial",["\u3142","\u3141"]),Kt("alveolar",["\u3137","\u3134","\u3139"]),Kt("velar",["\u3131","\u3147"])]},i0=e=>e===l0?[]:Array.from(e),l0="__NO_CODA__",Ga=e=>e.map(n=>n.map(({jamos:a,phonetic:r,tooltip:o})=>({v:a.join(""),phonetic:r,tooltip:o}))),js={cho:Ga(Ua.cho),jung:Ga(Ua.jung),jong:Ga(Ua.jong)};js.jung.flat().forEach(({v:e})=>{for(const n of i0(e));}),new Set(js.cho.flat().map(e=>e.v));const An=[];let sa=!1;function Es(e){if(e.key!=="Escape"||e.defaultPrevented)return;const n=An[An.length-1];n&&(e.stopPropagation(),n())}function Ka(e){return An.push(e),!sa&&typeof document<"u"&&(document.addEventListener("keydown",Es),sa=!0),()=>{const n=An.lastIndexOf(e);n>=0&&An.splice(n,1),An.length===0&&sa&&typeof document<"u"&&(document.removeEventListener("keydown",Es),sa=!1)}}function c0(e,n=!0){const a=Wa(e);i.useEffect(()=>{if(n)return Ka(()=>{a.current?.()})},[n,a])}function ia(){const[e,n]=i.useState(null),a=i.useCallback(s=>n(s.getBoundingClientRect()),[]),r=i.useCallback(()=>n(null),[]),o=i.useCallback(s=>{const l=s.getBoundingClientRect();n(c=>c?null:l)},[]);return{anchorRect:e,isOpen:e!=null,openAt:a,close:r,toggleAt:o}}function Ts(e="warning"){const[n,a]=i.useState(""),[r,o]=i.useState(e),[s,l]=i.useState(0),c=i.useCallback((p,m)=>{o(m),a(p),l(g=>g+1)},[]),d=i.useCallback(p=>c(p,"warning"),[c]),u=i.useCallback(p=>c(p,"normal"),[c]),h=i.useCallback(()=>a(""),[]);return{toastMessage:n,toastType:r,toastKey:s,showToast:c,showWarning:d,showNormal:u,clearToast:h}}function qn({computeStyle:e,onScroll:n="close",onResize:a="close",ignoreOutsideClickSelector:r}){const[o,s]=i.useState(!1),[l,c]=i.useState({}),d=i.useRef(null),u=i.useRef(null),h=i.useCallback(()=>{d.current&&c(e(d.current.getBoundingClientRect()))},[e]);i.useEffect(()=>{if(!o)return;h();const g=y=>{const w=y.target;r&&w.closest?.(r)||d.current?.contains(w)||u.current?.contains(w)||s(!1)};document.addEventListener("mousedown",g);const f=y=>{u.current?.contains(y.target)||(n==="reposition"?h():n==="close"&&s(!1))};n!=="ignore"&&window.addEventListener("scroll",f,!0);const C=()=>{a==="reposition"?h():a==="close"&&s(!1)};a!=="ignore"&&window.addEventListener("resize",C);const b=y=>{y.key==="Escape"&&s(!1)};return document.addEventListener("keydown",b),()=>{document.removeEventListener("mousedown",g),n!=="ignore"&&window.removeEventListener("scroll",f,!0),a!=="ignore"&&window.removeEventListener("resize",C),document.removeEventListener("keydown",b)}},[o,h,n,a,r]);const p=i.useCallback(()=>s(g=>!g),[]),m=i.useCallback(()=>s(!1),[]);return{open:o,setOpen:s,toggle:p,close:m,style:l,triggerRef:d,menuRef:u}}function u0(e,{mode:n="playback",autoStart:a=!1,onPlaySpeaker:r,onComplete:o,playMs:s=1100,feedbackMs:l=1500}={}){const[c,d]=i.useState([]),[u,h]=i.useState(0),[p,m]=i.useState("idle"),[g,f]=i.useState(null),[C,b]=i.useState([]),[y,w]=i.useState(null),[_,v]=i.useState(0),D=i.useRef(0),x=i.useCallback(E=>{D.current=typeof E=="function"?E(D.current):E,v(D.current)},[]),A=i.useRef(r),M=i.useRef(o);i.useEffect(()=>{A.current=r,M.current=o},[r,o]);const k=i.useRef([]),S=()=>{k.current.forEach(clearTimeout),k.current=[]},H=(E,$)=>{k.current.push(setTimeout($,E))};i.useEffect(()=>()=>S(),[]);const R=c[u]?.id??null,j=i.useCallback(()=>{S(),m("playing"),b([]),w(null),x(0);let E=0;e.forEach(($,L)=>{H(E,()=>{h(L),f($.id),A.current?.($)}),H(E+1e3,()=>{f(null),b(V=>[...V,$.id])}),E+=1300}),H(E,()=>{m("done"),M.current?.({score:0,total:e.length})})},[e,x]),P=i.useCallback((E,$)=>{if($>=E.length){m("done"),M.current?.({score:D.current,total:E.length});return}h($),w(null),m("playing"),f(E[$].id),A.current?.(E[$]),H(s,()=>{f(null),m("waiting")})},[s]),B=i.useCallback(()=>{S();const E=Hn(e);d(E),x(0),b([]),P(E,0)},[e,P,x]),O=i.useCallback(()=>{n==="playback"?(d(e),j()):B()},[n,e,j,B]),Y=i.useCallback(()=>{S(),m("idle"),f(null),b([]),w(null),h(0),x(0),d([])},[x]);i.useEffect(()=>{a?O():Y()},[n,e.length,a]);const X=i.useCallback(E=>{p!=="waiting"||n==="playback"||(w(E),E===c[u]?.id&&x($=>$+1),n==="exam"?(m("playing"),H(400,()=>P(c,u+1))):(m("feedback"),H(l,()=>P(c,u+1))))},[p,n,c,u,P,l,x]),Q=n==="playback"?e.length:c.length;return{bind:{activeSpeakerId:g,playedIds:C,selectedId:y,answerId:R,showFeedback:p==="feedback",clickable:p==="waiting",onSelectSpeaker:X},index:u,total:Q,score:_,phase:p,done:p==="done",start:O,reset:Y}}function d0({title:e,description:n,actionLabel:a,onAction:r,bg:o,color:s,size:l="medium",actionVariant:c,titleColor:d,descriptionColor:u,className:h=""}){const p=o??s??"main",m=i.useRef(null),[g,f]=i.useState("main"),C=Gt("(max-width: 767px)");i.useLayoutEffect(()=>{const w=m.current;w&&(d!==void 0&&w.style.setProperty("--promo-banner-bg-title",d),u!==void 0&&w.style.setProperty("--promo-banner-bg-description",u))},[d,u]),i.useLayoutEffect(()=>{const w=m.current;if(!w)return;const _=Ko(w);f(_?.actionVariant??"main")},[p]);const b=ye("promo-banner",`promo-banner--${l}`,h),y=ws[p];return t.jsxs("div",{ref:m,className:b,role:"note",children:[t.jsx(y,{}),t.jsxs("div",{className:"promo-banner__text",children:[t.jsx("span",{className:`promo-banner__title ${l==="small"?"body-2":"h2"}`,children:e}),n&&t.jsx("span",{className:"promo-banner__description body-3",children:n})]}),a&&r&&t.jsx(te,{size:40,variant:c??g,shape:"pill",useBorder:!0,onClick:r,ariaLabel:a,...C?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}function p0({children:e,interval:n=5e3,dotTone:a,className:r="","aria-label":o}){const{t:s}=me.useTranslation(),l=o??s("topBanner.ariaLabel","\uBC30\uB108"),c=i.Children.toArray(e),d=c.length,[u,h]=i.useState(0),[p,m]=i.useState(!1),g=d>0?u%d:0;return i.useEffect(()=>{if(d<2||n<=0||p)return;const f=window.setInterval(()=>h(C=>(C+1)%d),n);return()=>window.clearInterval(f)},[d,n,p]),d===0?null:t.jsxs("section",{className:ye("top-banner",r),"aria-label":l,"aria-roledescription":"carousel",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>m(!0),onBlur:()=>m(!1),children:[t.jsx("div",{className:"top-banner__viewport",children:t.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${g*100}%)`},children:c.map((f,C)=>t.jsx("div",{className:"top-banner__slide","aria-hidden":C!==g,...C!==g?{inert:!0}:{},children:f},C))})}),d>1&&t.jsx("div",{className:`top-banner__dots${(a?.[g]??"light")==="dark"?" top-banner__dots--dark":""}`,children:c.map((f,C)=>t.jsx("button",{type:"button",className:`top-banner__dot${C===g?" top-banner__dot--active":""}`,"aria-label":s("topBanner.dotAriaLabel",{count:d,index:C+1,defaultValue:`${d}\uAC1C \uC911 ${C+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":C===g,onClick:()=>h(C)},C))})]})}function h0({title:e,body:n,open:a=!1,onToggle:r,avatar:o,titleClassName:s="body-2",bodyClassName:l="body-2",className:c=""}){const{t:d}=me.useTranslation();return t.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${c}`.trim(),children:[t.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:r,onKeyDown:u=>{if(u.key==="Enter"||u.key===" ")u.preventDefault(),r?.();else if(u.key==="ArrowDown"||u.key==="ArrowUp"){u.preventDefault();const h=u.currentTarget.closest('[role="list"]');if(!h)return;const p=Array.from(h.querySelectorAll("[data-accordion-header]")),m=p.indexOf(u.currentTarget);(u.key==="ArrowDown"?p[m+1]:p[m-1])?.focus()}},children:[o&&t.jsx("div",{className:"accordion-item__avatar",children:o}),t.jsx("div",{className:`accordion-item__title ${s}`,children:e}),t.jsx("div",{className:"accordion-item__chevron",children:t.jsx(Ie,{icon:a?"chevron-up":"chevron-down",label:a?d("accordion.collapse","\uC811\uAE30"):d("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),a&&t.jsx("div",{className:`accordion-item__body ${l}`,children:typeof n=="string"?t.jsx("p",{children:n}):n})]})}function m0({items:e=[],defaultOpenIndex:n=0,size:a=72,className:r="",bodyClassName:o}){const[s,l]=i.useState(n);return t.jsx("div",{className:`accordion-group accordion-group--s${a} ${r}`.trim(),role:"list",children:e.map((c,d)=>t.jsx(h0,{title:c.title,body:c.body,avatar:c.avatar,open:d===s,onToggle:()=>l(d===s?-1:d),bodyClassName:o},d))})}function C0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("polyline",{points:"2,6 5,9 10,3"})})}function f0(){return t.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[t.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),t.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function g0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:t.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function ut(e){const{type:n="bar",size:a,className:r="","aria-label":o}=e;if(n==="dot"){const{icon:_,number:v,position:D="top-right",onClick:x,animate:A=!1}=e,M=v!==void 0?"number":_??"check",k=typeof a=="number"?a:32,S=ye("circle-badge",`circle-badge--${M}`,`circle-badge--${D}`,`circle-badge--${k}`,A?"circle-badge--animate":"",x?"circle-badge--clickable":"",r),H=v!==void 0?`${v}\uBC88\uC9F8 \uC120\uD0DD`:{check:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",minus:"\uC81C\uC678"}[_??"check"];return t.jsxs("span",{className:S,onClick:x,onKeyDown:x?R=>{R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),R.currentTarget.click())}:void 0,"aria-label":o??H,role:x?"button":void 0,tabIndex:x?0:void 0,children:[v!==void 0&&v,v===void 0&&_==="check"&&t.jsx(C0,{}),v===void 0&&_==="remove"&&t.jsx(f0,{}),v===void 0&&_==="minus"&&t.jsx(g0,{})]})}const{label:s,children:l,variant:c="default",fill:d="filled",minWidth:u,iconLeft:h,iconRight:p,color:m}=e,g=typeof a=="number"?"medium":a??"medium",f={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",C={small:12,medium:14,large:16}[g]??14,b=ye("badge",`badge--${c}`,`badge--${g}`,d!=="filled"?`badge--${d}`:"",f,r),y=m?.startsWith("--")?`var(${m})`:m,w=u!==void 0||y?{...u!==void 0?{minWidth:typeof u=="number"?`${u}px`:u}:{},...y?{"--badge-color":y}:{}}:void 0;return t.jsxs("span",{className:b,style:w,children:[h&&t.jsx(Ie,{icon:h,size:C,className:"badge__icon"}),s??l,p&&t.jsx(Ie,{icon:p,size:C,className:"badge__icon"})]})}function la({columns:e=[],onClose:n,className:a="",size:r="medium"}){const{t:o}=me.useTranslation(),s=r==="small"?40:48,[l,c]=i.useState([{title:null,columns:e}]),d=l[l.length-1];i.useEffect(()=>{c(f=>{try{if(!Array.isArray(f)||f.length===0)return[{title:null,columns:e}];const C=f.slice(),b=C[0]&&typeof C[0].title<"u"?C[0].title:null;return C[0]={title:b,columns:e},C}catch{return[{title:null,columns:e}]}})},[e]);const u=i.useCallback(()=>c(f=>f.length>1?f.slice(0,f.length-1):f),[]),h=i.useRef(null),p=i.useRef(null),m=l.length;i.useEffect(()=>{p.current||(p.current=document.activeElement);let f=0,C=0;const b=()=>{const y=h.current?.querySelector("button:not([disabled])");if(y&&y.offsetParent){y.focus({preventScroll:!0});return}C++<20&&(f=requestAnimationFrame(b))};return f=requestAnimationFrame(b),()=>cancelAnimationFrame(f)},[m]),i.useEffect(()=>()=>{p.current?.focus?.({preventScroll:!0})},[]);const g=i.useCallback(f=>{if(f){if(Array.isArray(f.children)&&f.children.length){c(C=>[...C,{title:f.label||null,columns:[{title:null,items:f.children||[]}]}]);return}try{typeof f.onClick=="function"&&f.onClick()}catch{}try{f&&f.closeOnSelect&&typeof n=="function"&&n()}catch{}}},[n]);return t.jsxs("div",{className:`tooltip-menu tooltip-menu--${r} ${a}`,children:[(l.length>1||d.title)&&t.jsxs("div",{className:"tooltip-menu__header",children:[l.length>1?t.jsx(te,{size:s,type:"dot",icon:"chevron-left",ariaLabel:o("common.back","\uB4A4\uB85C"),onClick:u,variant:"transparent-gray",useBorder:!1}):null,t.jsx("div",{className:"tooltip-menu__title button-1",children:d.title})]}),t.jsx("div",{className:"tooltip-menu__columns",ref:h,children:d.columns&&d.columns.map((f,C)=>t.jsxs("div",{className:"tooltip-menu__column",children:[f.title?t.jsx("div",{className:"tooltip-menu__column-title body-3",children:f.title}):null,t.jsx("div",{className:"tooltip-menu__items",children:(f.items||[]).map((b,y)=>t.jsx(te,{className:"tooltip-menu__item",size:s,type:b.label?"bar":"dot",icon:b.selected?"check":b.icon||"none",rightIcon:Array.isArray(b.children)&&b.children.length?"chevron-right":b.badgeCount?t.jsx(ut,{type:"dot",position:"inline",number:Math.min(b.badgeCount,99),size:24,"aria-label":`${b.badgeCount}`}):void 0,label:b.label,ariaLabel:b.label,onClick:()=>g(b),selected:b.selected,disabled:b.disabled,showTooltipInfo:b.tooltip||!1,useBorder:!1,align:"left"},y))})]},C))})]})}const b0=52,Ms=10;function Ls({items:e=[],activeKey:n,onChange:a,appMode:r,onAppModeChange:o,moreItems:s=[]}){const{t:l}=me.useTranslation(),c=r==="manager"?"malgwi":"manager",d=r==="manager"?"arrow-left":"arrow-right",u=r==="manager"?l("nav.modeLabelMalgwi","\uB9D0\uADC0"):l("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),h=i.useRef(null),[p,m]=i.useState(0),g=e.length;i.useEffect(()=>{const B=h.current;if(!B||(m(B.clientWidth),typeof ResizeObserver>"u"))return;const O=new ResizeObserver(Y=>m(Y[0].contentRect.width));return O.observe(B),()=>O.disconnect()},[]);const f=p>0?Math.floor((p+Ms)/(b0+Ms)):g,C=p>0&&f<g,b=C?f:g,y=e.slice(0,b),w=e.slice(b),_=C||s.length>0,v=i.useCallback(B=>({position:"fixed",bottom:window.innerHeight-B.top+8,right:window.innerWidth-B.right,zIndex:1e4}),[]),D=i.useId(),{open:x,toggle:A,close:M,style:k,triggerRef:S,menuRef:H}=qn({computeStyle:v,onScroll:"ignore",onResize:"ignore"}),R=i.useCallback(()=>o?.(c),[o,c]),j=i.useMemo(()=>w.find(B=>B.key===n)??s.find(B=>B.selected||B.key&&B.key===n),[w,n,s]),P=i.useMemo(()=>[{items:[...w.map(B=>({label:B.label,icon:B.icon,selected:B.key===n,closeOnSelect:!0,onClick:()=>{B.key&&a&&a(B.key),M()}})),...s.map(B=>({label:B.label,icon:B.icon,badgeCount:B.badgeCount,selected:B.selected??(!!B.key&&B.key===n),closeOnSelect:!0,onClick:()=>{B.onClick?.(),M()}}))]}],[w,s,n,a,M]);return t.jsxs("nav",{className:"bottom-nav","aria-label":l("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[o&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__left",children:t.jsx(te,{size:52,type:"dot",icon:d,ariaLabel:u,className:"bottom-nav-item",onClick:R})}),t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),t.jsx("div",{className:"bottom-nav__items",ref:h,children:y.map(B=>t.jsx(te,{size:52,type:"dot",icon:B.icon,ariaLabel:B.label,selected:B.key===n,disabled:B.state==="disabled",className:"bottom-nav-item",onClick:()=>B.key&&a?.(B.key)},B.key))}),_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),t.jsx("div",{className:"bottom-nav__right",children:t.jsxs("div",{ref:S,children:[t.jsx(te,{size:52,type:"dot",icon:j?.icon??"ellipsis",ariaLabel:j?.label??l("nav.more","\uB354\uBCF4\uAE30"),selected:!!j,className:"bottom-nav-item",onClick:A,"aria-expanded":x,"aria-controls":x?D:void 0}),x&&Tt.createPortal(t.jsx("div",{id:D,role:"group","aria-label":l("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:"tooltip-content",style:k,ref:H,children:t.jsx(la,{columns:P,onClose:M})}),document.body)]})})]})]})}function y0(e){const{t:n}=me.useTranslation(),{activeKey:a,unreadCount:r,onDebug:o,onNotification:s,onSetting:l,onHelp:c,onAccount:d}=e||{},u="default";return t.jsxs("div",{className:"side-nav__footer",children:[o&&t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"terminal",ariaLabel:n("nav.debug","\uB514\uBC84\uADF8"),onClick:o,selected:a==="debug"}),t.jsxs("span",{className:"side-nav__notification-wrap",children:[t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"bell",ariaLabel:n("nav.notifications","\uC54C\uB9BC"),onClick:s,selected:a==="notifications"}),!!r&&t.jsx(ut,{type:"dot",number:Math.min(r,99),size:24})]}),t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"settings",ariaLabel:n("nav.settings","\uC124\uC815"),onClick:l,selected:a==="settings"}),t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"message-circle-question-mark",ariaLabel:n("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:c,selected:a==="help"}),t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"user-round",ariaLabel:n("nav.account","\uACC4\uC815"),onClick:d,selected:a==="account"})]})}function $s(e){const{item:n,itemKey:a,label:r,icon:o,active:s,onClick:l,style:c,state:d,labelStyle:u}=e||{},h=n?.key??a??"",p=n?.label??r??"",m=n?.icon??o??"",g=n?.badge??0,f=t.jsx("span",{className:"side-nav__icon-wrap",children:t.jsx(Ie,{icon:m,label:typeof p=="string"?p:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),C=d==="disabled",b=`side-nav__item ${s?"active":""} ${d||""} ${C?"disabled":""} ${n?.child?"side-nav__item--child":""}`,y=i.useCallback(w=>{if(!C){try{w.currentTarget.blur()}catch{}l?.(h,w.currentTarget)}},[C,h,l]);return t.jsxs("button",{className:b,onClick:y,"aria-label":typeof p=="string"?p:void 0,style:c,"aria-disabled":C,children:[f,t.jsx("span",{className:"side-nav__label button-1 f",style:u,children:p}),g>0&&t.jsx(ut,{type:"dot",position:"inline",number:Math.min(g,99),size:24,"aria-label":`${g}`}),d==="loading"&&t.jsx("span",{className:"side-nav__spinner","aria-label":"loading"})]})}function Rs(e){const{t:n}=me.useTranslation(),{items:a=[],activeKey:r,onChange:o,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h,appMode:p,onAppModeChange:m}=e||{},g=i.useCallback(()=>m?.(p==="malgwi"?"manager":"malgwi"),[m,p]);return t.jsxs("nav",{"aria-label":n("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[t.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(f=>!f.section&&(f.key||f.label)).map((f,C)=>t.jsxs(i.Fragment,{children:[f.divider&&t.jsx("div",{className:"side-nav__separator"}),t.jsx($s,{item:f,active:f.key===r,state:f.disabled?"disabled":void 0,onClick:(b,y)=>{if(f.disabled)return;if(f.href){window.open(f.href,"_blank","noopener,noreferrer");try{y?.blur()}catch{}return}o?.(f.key);try{const _=document.querySelector(".content-area");_?_.scrollTop=0:window.scrollTo({top:0})}catch{}try{y?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const w=document.querySelector(".header");if(w&&!(typeof w.matches=="function"&&w.matches(":hover"))){w.classList.add("header--force-collapsed");const _=()=>{w.classList.remove("header--force-collapsed"),w.removeEventListener("mouseenter",_)};w.addEventListener("mouseenter",_)}}})]},f.key??`side-nav__item-${C}`)),m&&t.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),m&&t.jsx($s,{item:{key:"__mode-switch__",label:p==="malgwi"?n("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"):n("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"),icon:p==="malgwi"?"arrow-right":"arrow-left"},onClick:g})]}),t.jsx(y0,{activeKey:r,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h})]})}var Za='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2080_3066)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="black"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="black"/>%0A<path d="M46.4288 17.8571H25.0002C15.138 17.8571 7.14307 25.852 7.14307 35.7143V57.1428C7.14307 67.0051 15.138 75 25.0002 75H46.4288C56.291 75 64.2859 67.0051 64.2859 57.1428V35.7143C64.2859 25.852 56.291 17.8571 46.4288 17.8571Z" fill="%234DCDC0"/>%0A<path d="M34.8607 50.7393C25.8285 60.6821 10.6142 61.6678 0.385667 53.1643C-0.0821902 52.775 -0.13219 52.0678 0.278524 51.6178L16.3535 33.925L34.8607 50.7393Z" fill="%234DCDC0"/>%0A<path d="M53.5714 25H32.1428C22.2821 25 14.2856 32.9964 14.2856 42.8571V64.2857C14.2856 74.1464 22.2821 82.1429 32.1428 82.1429H48.2535C49.2178 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7214 51.8928 85.6321C62.8392 84.675 71.4285 75.4821 71.4285 64.2857V42.8571C71.4285 32.9964 63.4321 25 53.5714 25Z" fill="%234DCDC0"/>%0A<path d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23499CDF"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="white"/>%0A<path d="M36.0715 57.1429C35.0287 57.1429 33.9822 56.875 33.0358 56.3286C32.1822 55.8357 31.8894 54.7429 32.3858 53.8893C32.8787 53.0357 33.9715 52.7429 34.8251 53.2393C35.8037 53.8036 37.043 53.6429 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3536 40.4322 35.9107 37.5072 35.7286C36.5215 35.6679 35.5715 35.8464 34.693 36.2679C33.8037 36.6929 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0429C34.5751 32.3714 36.1537 32.0679 37.7322 32.1643C42.4894 32.4607 46.3072 36.4286 46.4251 41.1964C46.4822 43.5286 45.6715 45.7786 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9357C41.8965 53.2464 41.3037 54.4357 40.368 55.375C39.2001 56.5429 37.6465 57.15 36.0751 57.15L36.0715 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2080_3066">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Ya='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7374)">%0A<path d="M237.151 26.0393V72.7214H216.65V26.0393H237.151ZM234.408 70.0464V28.7179H219.254V70.0464H234.408ZM261.495 76.3607H258.819V48.9679H247.575V75.4679H244.899V23.9821H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3607Z" fill="black"/>%0A<path d="M299.722 69.2571C302.076 68.775 304.031 68.1464 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.789 72.0357C297.435 72.4929 295.045 72.7214 292.623 72.7214H272.257V25.6964H275V69.975H292.623C294.998 69.975 297.364 69.7357 299.722 69.2536V69.2571ZM311.69 76.4321V23.6393H314.433V76.3643L311.69 76.4321Z" fill="black"/>%0A<path d="M340.556 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.329 62.2643 333.632 65.925C330.935 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.33 63.1107C334.617 59.3572 336.354 54.5179 337.542 48.5893C338.73 42.6643 339.369 36.0393 339.461 28.7143H324.992V26.0357H356.602V28.7143H342.201C342.155 35.9 341.605 42.3072 340.556 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="black"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="black"/>%0A<path d="M181.886 47.8714V57.275C179.097 58.5571 174.73 59.1964 168.791 59.1964H168.174V76.3607H158.299V59.1964H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8714H181.886ZM148.971 34.2786V24.875H177.634V47.05H167.76V34.2821H148.971V34.2786ZM194.64 76.3607H184.765V23.6393H194.64V76.3643V76.3607Z" fill="black"/>%0A<path d="M48.1549 17.8571H26.7511C16.9002 17.8571 8.91455 25.852 8.91455 35.7143V57.1428C8.91455 67.0051 16.9002 75 26.7511 75H48.1549C58.0058 75 65.9915 67.0051 65.9915 57.1428V35.7143C65.9915 25.852 58.0058 17.8571 48.1549 17.8571Z" fill="%234DCDC0"/>%0A<path d="M36.6007 50.7393C27.579 60.6821 12.3823 61.6678 2.1655 53.1643C1.69818 52.775 1.64824 52.0678 2.05848 51.6178L18.1149 33.925L36.6007 50.7393Z" fill="%234DCDC0"/>%0A<path d="M55.2897 25H33.8859C24.0365 25 16.0493 32.9964 16.0493 42.8571V64.2857C16.0493 74.1464 24.0365 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7214 53.6131 85.6321C64.5469 84.675 73.1262 75.4821 73.1262 64.2857V42.8571C73.1262 32.9964 65.139 25 55.2897 25Z" fill="%234DCDC0"/>%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23499CDF"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="white"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7374">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',v0='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65214)">%0A<path d="M57.1427 17.8571H35.7141C25.8518 17.8571 17.8569 25.852 17.8569 35.7143V57.1428C17.8569 67.0051 25.8518 75 35.7141 75H57.1427C67.0049 75 74.9998 67.0051 74.9998 57.1428V35.7143C74.9998 25.852 67.0049 17.8571 57.1427 17.8571Z" fill="%234DCDC0"/>%0A<path d="M45.575 50.7393C36.5429 60.6821 21.3286 61.6678 11.1 53.1643C10.6322 52.775 10.5822 52.0678 10.9929 51.6178L27.0679 33.925L45.575 50.7393Z" fill="%234DCDC0"/>%0A<path d="M64.2857 25H42.8571C32.9964 25 25 32.9964 25 42.8571V64.2857C25 74.1464 32.9964 82.1429 42.8571 82.1429H58.9679C59.9321 82.1429 60.7143 82.925 60.7143 83.8893C60.7143 84.9107 61.5893 85.7214 62.6071 85.6321C73.5536 84.675 82.1429 75.4821 82.1429 64.2857V42.8571C82.1429 32.9964 74.1464 25 64.2857 25Z" fill="%234DCDC0"/>%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23499CDF"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="white"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2359 35.6679 46.2859 35.8464 45.4073 36.2679C44.5145 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2002 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2175_65214">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';function Ps({appMode:e}){const{t:n}=me.useTranslation(),a=e==="manager",r=a?Ya:Za,o=v0,s=Gt("(min-width: 768px) and (max-width: 1023px)");return t.jsx("div",{className:"brand-identity__root","aria-label":n("header.biArea","BI \uC601\uC5ED"),children:s?t.jsx("img",{src:o,alt:n("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image"}):t.jsx("img",{src:r,alt:a?n("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):n("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image"})})}function Is({activeKey:e,onChange:n,items:a,malgwiItems:r,managerItems:o,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h,appMode:p,onAppModeChange:m}){const{t:g}=me.useTranslation(),f=Gt("(max-width: 767px)"),C=i.useMemo(()=>{const k=[];return l&&k.push({key:"debug",icon:"terminal",label:g("nav.debug","\uB514\uBC84\uADF8"),onClick:l}),c&&k.push({key:"notifications",icon:"bell",label:g("nav.notifications","\uC54C\uB9BC"),badgeCount:s,onClick:c}),u&&k.push({key:"settings",icon:"settings",label:g("nav.settings","\uC124\uC815"),onClick:u}),h&&k.push({key:"help",icon:"message-circle-question-mark",label:g("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),d&&k.push({key:"account",icon:"user-round",label:g("nav.account","\uACC4\uC815"),onClick:d}),k},[g,l,c,u,h,d,s]),b=i.useCallback(k=>({position:"fixed",top:k.bottom+8,right:Math.max(8,window.innerWidth-k.right),zIndex:1e4}),[]),y=i.useId(),{open:w,toggle:_,close:v,style:D,triggerRef:x,menuRef:A}=qn({computeStyle:b,onScroll:"ignore",onResize:"ignore"}),M=i.useMemo(()=>[{items:C.map(k=>({label:k.label,icon:k.icon,badgeCount:k.badgeCount,selected:k.selected??(!!k.key&&k.key===e),closeOnSelect:!0,onClick:()=>{k.onClick?.(),v()}}))}],[C,e,v]);return t.jsxs("aside",{className:`header${p==="manager"?" header--manager":""}`,children:[t.jsxs("div",{className:"header__bi",children:[t.jsx(Ps,{appMode:p}),t.jsxs("div",{className:"header__menu-button",ref:x,children:[t.jsx(te,{size:48,type:"dot",shape:"pill",variant:"default",icon:"menu",ariaLabel:g("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:_,"aria-expanded":w,"aria-controls":w?y:void 0}),w&&Tt.createPortal(t.jsx("div",{id:y,role:"group","aria-label":g("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:"tooltip-content",style:D,ref:A,children:t.jsx(la,{columns:M,onClose:v})}),document.body)]})]}),t.jsx(Rs,{items:a,activeKey:e??void 0,onChange:n,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h,appMode:p,onAppModeChange:m}),f&&t.jsx(Ls,{items:a,activeKey:e??void 0,onChange:n,appMode:p,onAppModeChange:m})]})}const x0=Is;var _0={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}}},w0={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704"},k0={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},A0={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},N0={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},B0={selected:"\uC120\uD0DD\uB428"},D0={placeholder:"\uC120\uD0DD"},S0={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},j0={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"},E0={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274"},T0={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},M0={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},L0={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638"},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},$0={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},R0={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",diffPhonemeCount:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218",n:"{{n}}\uAC1C"},filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB4F1\uAE09",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",comingSoon:"\uC900\uBE44 \uC911",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseLevelTitle:"\uC18C\uC74C \uD06C\uAE30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC7AC\uC0DD \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30"},P0={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},I0={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"}},F0={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},O0={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},H0={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},z0={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},V0={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},W0={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},q0={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C"},U0={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},G0={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"\uC0AD\uC81C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78\uC744 \uB20C\uB7EC \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB9E4\uAE30\uC138\uC694.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"}},K0={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},Z0={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},Y0={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},X0={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},J0={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Q0={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},e2={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C"},t2={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",daily:"\uC77C\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},n2={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},a2={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},r2={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
827
|
+
`),this.name="StorageNotConfiguredError"}};function tm(e){em(e)}function Mo(e,n){if(!e)return null;const a=na();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Lo(e){if(!e)return null;const n=na();if(!n)throw new To("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function $o(e){const n=na();if(!n)throw new To("downloadSound");return n.download(e)}function nm(){return na()?.noiseBaseUrl??"/sounds/noise"}const Ro="__ihab_core_tts_config__";function Ma(){return globalThis[Ro]?.urlResolver??null}function am(){return globalThis[Ro]?.fallbackUrlResolver??null}const rm="__ihab_core_pronunciation_resolver__";function om(){return globalThis[rm]??null}let On=null;const Po=new WeakMap;function sm(){if(On)return On;try{const e=window.AudioContext||window.webkitAudioContext;return e?(On=new e,On):null}catch{return null}}function La(){try{On?.resume()}catch{}}function $a(e){if(!e)return null;const n=Po.get(e);if(n)return n;const a=sm();if(!a)return null;try{const r=a.createMediaElementSource(e),o=a.createAnalyser();return o.fftSize=1024,o.smoothingTimeConstant=.6,r.connect(o),r.connect(a.destination),Po.set(e,o),o}catch{return null}}function im(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const o=n[r];a+=o*o}return Math.sqrt(a/n.length)}const lm="__ihab_core_image_config__";function Nn(){return globalThis[lm]??null}const Io="word_image_existence_map_v1";let fn=null;const aa=new Map;function cm(){if(fn)return fn;try{const e=typeof localStorage<"u"?localStorage.getItem(Io):null;fn=e?JSON.parse(e):{}}catch{fn={}}return fn}let Ra=null;function um(){Ra||(Ra=setTimeout(()=>{Ra=null;try{typeof localStorage<"u"&&fn&&localStorage.setItem(Io,JSON.stringify(fn))}catch{}},200))}function dm(e,n){return`${e}_${n??1}`}async function Fo(e,n){const a=cm(),r=dm(e,n);if(r in a)return a[r];if(aa.has(r))return aa.get(r);const o=Nn();if(!o)return!1;const s=o(e,n);if(!s)return!1;const l=fetch(s,{method:"HEAD",signal:AbortSignal.timeout(8e3)}).then(c=>c.ok).catch(()=>!1).then(c=>(a[r]=c,um(),aa.delete(r),c));return aa.set(r,l),l}const Oo=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Ho=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],pm=["","\u3131","\u3132","\u3133","\u3134","\u3135","\u3136","\u3137","\u3139","\u313A","\u313B","\u313C","\u313D","\u313E","\u313F","\u3140","\u3141","\u3142","\u3144","\u3145","\u3146","\u3147","\u3148","\u314A","\u314B","\u314C","\u314D","\u314E"];function Hn(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function hm(e){const n=Hn(e[0]||"");return n?Oo[n.cho]:""}function mm(e,n){if(!n)return!0;const a=[...n],r=c=>Oo.includes(c),o=c=>Ho.includes(c),s=a.map(c=>r(c)?"cho":o(c)?"jung":Hn(c)?"syl":"other");if(s.includes("other"))return e.includes(n);const l=[...e];for(let c=0;c+a.length<=l.length;c++){let d=!0;for(let u=0;u<a.length;u++){const h=l[c+u],p=s[u];if(p==="cho"){if(hm(h)!==a[u]){d=!1;break}}else if(p==="jung"){const C=Hn(h);if(!C||Ho[C.jung]!==a[u]){d=!1;break}}else{const C=Hn(a[u]);if(C&&C.jong===0){const g=Hn(h);if(!g||g.cho!==C.cho||g.jung!==C.jung){d=!1;break}}else if(h!==a[u]){d=!1;break}}}if(d)return!0}return!1}const Cm={3:["\u3131","\u3145"],5:["\u3134","\u3148"],6:["\u3134","\u314E"],9:["\u3139","\u3131"],10:["\u3139","\u3141"],11:["\u3139","\u3142"],12:["\u3139","\u3145"],13:["\u3139","\u314C"],14:["\u3139","\u314D"],15:["\u3139","\u314E"],18:["\u3142","\u3145"]};Object.fromEntries(Object.entries(Cm).map(([e,n])=>[n.join(""),pm[Number(e)]]));const fm="word_pair_index_v2",gm="word_pair_index_sig_v2";let ra=null;function bm(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(fm),n=localStorage.getItem(gm);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function ym(){if(ra)return ra;const e=bm();return e?(ra=e.index,e.sig,ra):null}const vm={\u314F:{nucleus:"\u314F"},\u3151:{glide:"j",nucleus:"\u314F"},\u3153:{nucleus:"\u3153"},\u3155:{glide:"j",nucleus:"\u3153"},\u3157:{nucleus:"\u3157"},\u315B:{glide:"j",nucleus:"\u3157"},\u315C:{nucleus:"\u315C"},\u3160:{glide:"j",nucleus:"\u315C"},\u3161:{nucleus:"\u3161"},\u3163:{nucleus:"\u3163"},\u3150:{nucleus:"\u3154/\u3150"},\u3152:{glide:"j",nucleus:"\u3154/\u3150"},\u3154:{nucleus:"\u3154/\u3150"},\u3156:{glide:"j",nucleus:"\u3154/\u3150"},\u3158:{glide:"w",nucleus:"\u314F"},\u3159:{glide:"w",nucleus:"\u3154/\u3150"},\u315A:{glide:"w",nucleus:"\u3154/\u3150"},\u315D:{glide:"w",nucleus:"\u3153"},\u315E:{glide:"w",nucleus:"\u3154/\u3150"},\u315F:{glide:"w",nucleus:"\u3163"},\u3162:{glide:"\u0270",nucleus:"\u3163"}},Pa=/[ㄱ-ㅎ]/,xm=/[ㅏ-ㅣ]/;function Vo(e){for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Pa.test(a)||xm.test(a))return a}return null}function _m(e){const n=Vo(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Pa.test(n)?"\uC774":"\uAC00"}function wm(e){return`${e}${_m(e)}`}function km(e){const n=Vo(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Pa.test(n)?"\uC744":"\uB97C"}function Am(e){return`${e}${km(e)}`}function Nm(e,n,a){const r=e.slice(),[o]=r.splice(n,1);return r.splice(a,0,o),r}function Vn(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const o=Math.floor(n()*(r+1));[a[r],a[o]]=[a[o],a[r]]}return a}function zo(e,n="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958"){if(e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const Bm="__ihab_core_word_pool__";function Sm(){return globalThis[Bm]??null}const Wo=globalThis;function qo(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function Dm(e){qo("time",()=>Wo.__ihabTrainingTimeLogger?.(e))}function jm(e){qo("completion",()=>Wo.__ihabTrainingCompletionLogger?.(e))}function Pt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function Em(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function Tm(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:Pt(r.contextCode)??Pt(r.itemId)??Pt(r.itemCode)??Pt(r.id),question:Pt(r.question)??Pt(r.sentence)??Pt(r.word)??Pt(r.targetSyllable),answer:Pt(r.answer),selected:Pt(r.selectedText)??Pt(r.selected),correct:Em(r)}}):[]}const Ia=globalThis;async function Mm(){try{return await Ia.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function Lm(e){const n=a=>{};try{const a=Ia.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function Fa(e){try{Ia.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function $m(e){if(typeof document<"u")try{const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.pointerEvents="none",document.body.appendChild(n),n.focus(),n.select(),n.setSelectionRange(0,e.length);const a=document.execCommand("copy");if(document.body.removeChild(n),a)return!0}catch{}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}function Rm(){return Oa(new Date)}function Oa(e){if(e==null||e==="")return"";const n=e instanceof Date?e:new Date(e);return isNaN(n.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n)}function Uo(e,n){if(!e)return"";const a=new Date(e).getTime();if(Number.isNaN(a))return"";const r=Math.max(0,Math.floor((Date.now()-a)/1e3)),o=Math.floor(r/60),s=Math.floor(o/60),l=Math.floor(s/24),c=Math.floor(l/7),d=Math.floor(l/30),u=Math.floor(l/365);return o<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):o<60?n("store.time.minutesAgo",{n:o}):s<24?n("store.time.hoursAgo",{n:s}):l<7?n("store.time.daysAgo",{n:l}):c<5?n("store.time.weeksAgo",{n:c}):l<365?n("store.time.monthsAgo",{n:Math.min(d,11)}):n("store.time.yearsAgo",{n:u})}function Go(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:o=!1,fallback:s="\u2014"}=n;if(!e)return s;const l=Oa(e instanceof Date?e:String(e));if(!l)return s;const[c,d,u]=l.split("-"),h=r?d:String(Number(d)),p=r?u:String(Number(u));return`${c}${a}${h}${a}${p}${o?".":""}`}function zn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function Ko(e,n){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),o=Number(a[2]),s=a[1].padStart(2,"0");return o===0?n("date.timeH",{h:r,hh:s,mm:a[2]}):n("date.timeHM",{h:r,hh:s,m:o,mm:a[2]})}function Ha(e){return(e??0).toLocaleString("ko-KR")}const Pm=[{key:"FOOD",label:"\uC74C\uC2DD",icon:"salad",color:"#FF8A65",subs:[{key:"TRKRFD",label:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD"},{key:"MDKRFD",label:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD"},{key:"WRLDFD",label:"\uC138\uACC4\uC758 \uC74C\uC2DD"},{key:"MTRFRT",label:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C"},{key:"GEFDKL",label:"\uC74C\uC2DD \uC0C1\uC2DD"}]},{key:"HLTH",label:"\uAC74\uAC15",icon:"heart",color:"#66BB6A",subs:[{key:"HTETHB",label:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00"},{key:"DISILL",label:"\uBCD1\uACFC \uC9C8\uD658"},{key:"EXCISE",label:"\uC6B4\uB3D9"},{key:"GEHTKL",label:"\uAC74\uAC15\uC0C1\uC2DD"}]},{key:"WETH",label:"\uB0A0\uC528",icon:"sun-medium",color:"#42A5F5",subs:[{key:"GESSKL",label:"\uACC4\uC808\uC0C1\uC2DD"},{key:"SNWRAN",label:"\uB208\uACFC \uBE44"},{key:"WTHFCT",label:"\uC77C\uAE30\uC608\uBCF4"},{key:"GEWTKL",label:"\uB0A0\uC528\uC0C1\uC2DD"}]},{key:"PRSN",label:"\uC778\uBB3C",icon:"user-round",color:"#AB47BC",subs:[{key:"JODYPS",label:"\uC870\uC120\uC2DC\uB300"},{key:"MDKRPS",label:"\uD55C\uAD6D \uADFC\uD604\uB300"},{key:"THKDPS",label:"\uC0BC\uAD6D\uC2DC\uB300"},{key:"WRLART",label:"\uC138\uACC4\uC758 \uC608\uC220\uAC00"},{key:"WRLPSN",label:"\uC138\uACC4\uC758 \uC778\uBB3C"}]},{key:"KRCT",label:"\uD55C\uAD6D\uBB38\uD654",icon:"bow-arrow",color:"#EC407A",subs:[{key:"KRLANG",label:"\uC6B0\uB9AC\uB9D0"},{key:"TRPLCT",label:"\uC804\uD1B5\uB180\uC774"},{key:"HERITG",label:"\uBB38\uD654\uC7AC"},{key:"EVTFES",label:"\uD589\uC0AC\uC640 \uCD95\uC81C"},{key:"GECTKL",label:"\uC0C1\uC2DD"}]},{key:"STRY",label:"\uC774\uC57C\uAE30",icon:"message-circle",color:"#8D6E63",subs:[{key:"FRYTAL",label:"\uB3D9\uD654"},{key:"AMZING",label:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30"},{key:"DAYSTR",label:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30"}]},{key:"LOCA",label:"\uC9C0\uC5ED",icon:"map-pin",color:"#26A69A",subs:[{key:"KRLDMK",label:"\uD55C\uAD6D\uC758 \uBA85\uC18C"},{key:"SELNMK",label:"\uC11C\uC6B8\uC758 \uBA85\uC18C"},{key:"WRDTRB",label:"\uC138\uACC4\uC5EC\uD589"},{key:"NAVIGT",label:"\uAE38 \uCC3E\uAE30"}]},{key:"SOAR",label:"\uC0AC\uD68C\uC640 \uC608\uC220",icon:"landmark",color:"#5C6BC0",subs:[{key:"KRSOCI",label:"\uD55C\uAD6D"},{key:"ECONEW",label:"\uACBD\uC81C\uC640 \uB274\uC2A4"},{key:"GENART",label:"\uC608\uC220"},{key:"GELFKL",label:"\uC0DD\uD65C \uC0C1\uC2DD"}]},{key:"NTSC",label:"\uC790\uC5F0\uACFC \uACFC\uD559",icon:"leaf",color:"#9CCC65",subs:[{key:"ANIMAL",label:"\uB3D9\uBB3C"},{key:"PLANTS",label:"\uC2DD\uBB3C"},{key:"ETHPLT",label:"\uC9C0\uAD6C"},{key:"TOLELC",label:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488"},{key:"GESCKL",label:"\uACFC\uD559\uC0C1\uC2DD"}]},{key:"SPRT",label:"\uC2A4\uD3EC\uCE20",icon:"trophy",color:"#FFCA28",subs:[{key:"INVDSP",label:"\uAC1C\uC778\uACBD\uAE30"},{key:"MARART",label:"\uACA9\uD22C\uAE30"},{key:"TEAMSP",label:"\uB2E8\uCCB4\uACBD\uAE30"},{key:"FOOTBL",label:"\uCD95\uAD6C"},{key:"GESPKL",label:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}]}],Im=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828"},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30 + 4\uBB38\uC81C"},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30 \uC2EC\uD654 \uD6C8\uB828"},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC21C\uC11C \uBC30\uC5F4 \uD6C8\uB828"}];function Zo(){return Pm}function Fm(){return Im}const Om=[],Hm=[],Vm=[],zm=[];function Wm(){return{LISTEN_IN_NOISE:Om,SHORT_STORY:Hm,LONG_STORY:Vm,ORDERING_SENTENCE:zm}}const qm=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uB2E4\uC218\uC758 \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC5EC\uB7EC\uAC1C\uC758 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uADF8 \uC21C\uC11C\uC5D0 \uB9DE\uAC8C \uBC30\uC5F4\uD569\uB2C8\uB2E4."}];let oa=null,Yo=null,Xo=null;function Um(){const e=Sm();if(e&&e.entries.length>0){const n=ym();if(oa&&Yo===e&&Xo===n)return oa;const a=new Set,r=[];for(const o of e.entries)!o.word||a.has(o.word)||(a.add(o.word),r.push({w:o.word,s:o.syllables,p:n?.[o.word]?[...n[o.word].cho??[],...n[o.word].jung??[],...n[o.word].jong??[]]:[],pron:o.pronunciation||o.word,grade:o.grade}));return oa=r,Yo=e,Xo=n,oa}return[]}new Proxy([],{get(e,n){const a=Um(),r=a[n];return typeof r=="function"?r.bind(a):r}});const Gm="0.121.0";function Km(e){return typeof window>"u"?"":Yh.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function Zm(e){const[n,a]=i.useState(null),[r,o]=i.useState(null),[s,l]=i.useState(null),[c,d]=i.useState(null);return i.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),o(null),l(null);return}const u=e.split("/").pop();let h=e;u&&(e.startsWith("/")?h=Ta(e):/^(Logo|Symbol)/i.test(u)?h=Ta(`logo/${u}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),h=e)),a(h)},[e]),i.useEffect(()=>{if(!n)return;let u=!1;async function h(){try{let p=await fetch(n);p.ok||(p=await fetch(n));const C=p.headers.get("content-type")||"";if(u)return;if(C.includes("svg")){o("mask");return}if(C.startsWith("image/")){o("img");return}const g=await fetch(n);if(!g.ok)throw new Error("not ok");const f=await g.text();if(u)return;if(/^\s*<svg[\s>]/i.test(f)){const m=Km(f);if(!m){o("none");return}l(m),o("inline");return}o("none")}catch{u||o("none")}}return h(),()=>{u=!0}},[n]),i.useEffect(()=>{let u=!1,h=null;return r==="mask"&&n&&fetch(n).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{u||(h=URL.createObjectURL(p),d(h))}).catch(()=>{u||o("img")}),()=>{u=!0,h&&URL.revokeObjectURL(h),d(null)}},[r,n]),{iconToUse:n,mode:r,svgText:s,blobUrl:c}}function Pe(e){const{icon:n,label:a,className:r,imgClassName:o,maskClassName:s,svgClassName:l,wrapperStyle:c,size:d}=e||{},u=r??"iconRenderer-icon",h=o??"iconRenderer-icon-image",p=s??"iconRenderer-icon-mask",C=l??"iconRenderer-icon-svg",g=typeof n=="string"?n:null,f=Ch(g),{iconToUse:m,mode:v,svgText:b,blobUrl:w}=Zm(g),_=(A,M={})=>t.jsx("span",{className:u,style:c,...M,children:A}),y=(A,M={})=>t.jsx("img",{src:A,alt:typeof a=="string"?a:a?String(a):"",className:h,...M});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.jsx("span",{className:C,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(f)try{return _(i.createElement(f,{className:C,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(m&&m.endsWith(".svg")){if(v==="mask"){const A={"--icon-url":w?`url(${w})`:`url(${m})`};return _(t.jsx("span",{className:p,style:A}),{"aria-hidden":"true"})}return v==="img"?_(y(m,{onError:A=>{A.currentTarget.onerror=null,A.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):v==="inline"?_(t.jsx("span",{className:C,dangerouslySetInnerHTML:b?{__html:b}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return y(Ta(n),{style:c,onError:A=>{A.currentTarget.onerror=null,A.currentTarget.style.display="none"}});const S=typeof d=="number"?d:20,x=`<svg width="${S}" height="${S}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return _(t.jsx("span",{className:C,dangerouslySetInnerHTML:{__html:x}}),{"aria-hidden":"true"})}function Ym({icon:e,emoji:n,title:a,message:r,hint:o,action:s,compact:l,className:c}){return t.jsxs("div",{className:be("empty-state",l&&"empty-state--compact",c),children:[n&&t.jsx("span",{className:"empty-state__emoji",children:n}),e&&t.jsx(Pe,{icon:e,className:"empty-state__icon"}),a&&t.jsx("p",{className:"empty-state__title body-2",children:a}),r&&t.jsx("p",{className:"empty-state__message body-3",children:r}),o&&t.jsx("p",{className:"empty-state__hint caption-1",children:o}),s&&t.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:s.onClick,children:[s.icon&&t.jsx(Pe,{icon:s.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s.label})]})]})}function Xm({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:o,className:s}){const{t:l}=pe.useTranslation();return t.jsxs("div",{className:be("empty-state","error-state",s),role:"alert",children:[t.jsx(Pe,{icon:a,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"empty-state__hint caption-1",children:n}),r&&t.jsxs("button",{className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:r,children:[t.jsx(Pe,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:o??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function Jm({icon:e,title:n,description:a,cta:r,tone:o="main",disabled:s=!1,onClick:l,className:c=""}){const d=()=>{s||l?.()};return t.jsx("section",{role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,"aria-label":n,onClick:d,onKeyDown:u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),d())},className:be("action-card",`action-card--${o}`,s&&"action-card--disabled",c),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Pe,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{className:"action-card__title",children:n}),t.jsx("p",{className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Pe,{icon:"arrow-right",size:18})})]})]})})}function Qm({as:e="div",className:n="",children:a,storage:r,...o}){r&&tm({resolveUrl:r.resolveUrl,download:r.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:r.exists,resolvePath:r.resolvePath,noiseBaseUrl:r.noiseBaseUrl});const s=be("ihabdevteam-core-scope",n);return t.jsx(e,{className:s,...o,children:a})}function e0({title:e="",lines:n=[],notices:a=null,children:r,variant:o="default",dismissible:s=!1,className:l=""}){const{t:c}=pe.useTranslation(),[d,u]=i.useState(!1),h=i.useCallback(()=>u(!0),[]);if(d)return null;const p=`notice-box notice-box--${o} body-2 ${l}`.trim();if(a&&Array.isArray(a)&&a.length)return t.jsx("div",{className:p,role:"note",children:a.map((g,f)=>t.jsxs("div",{className:"notice-box__inner",children:[g.title?t.jsx("span",{className:"notice-box__title body-3",children:g.title}):null,t.jsx("div",{className:"notice-box__body",children:g.lines&&g.lines.length?t.jsx("div",{children:g.lines.map((m,v)=>t.jsx("span",{className:"notice-box__line body-3",children:m},v))}):g.children??null})]},f))});const C=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((g,f)=>t.jsx("li",{className:"notice-box__line",children:g},f))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{className:p,role:"note",children:[C,s&&t.jsx("button",{className:"notice-box__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}function Va(e,n=!0){i.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=o=>{if(o.key!=="Tab")return;const s=Array.from(a.querySelectorAll(Wn)).filter(d=>!d.closest('[aria-hidden="true"]'));if(!s.length){o.preventDefault();return}const l=s[0],c=s[s.length-1];o.shiftKey&&document.activeElement===l?(o.preventDefault(),c.focus()):!o.shiftKey&&document.activeElement===c&&(o.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const Wn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function on(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:o=20,onClose:s,closeOnOutsideClick:l=!0,className:c="",role:d="dialog",ariaLabel:u="",children:h,backdrop:p=!1,isMobilePopup:C=!1,useBorder:g=!0,header:f}=e||{},m=i.useRef(null),[v,b]=i.useState({position:"fixed",left:0,top:-9999}),[w,_]=i.useState(!1),[y,S]=i.useState("bottom"),[x,A]=i.useState(!1),[M,k]=i.useState(!1),D=!n&&!a,H=i.useCallback((B=!1)=>{if(M&&C)return;const O=a?a.getBoundingClientRect():n;if(!O||!m.current)return;const Z=m.current,{offsetWidth:Y,offsetHeight:J}=Z,E=window.innerWidth,$=window.innerHeight,L=E-O.right,z=O.left,V=O.top,X=$-O.bottom;let I=0,U=0,K="top";if(V>=J+r)K="top",U=O.top-r-J,I=O.left+O.width/2-Y/2;else if(X>=J+r)K="bottom",U=O.bottom+r,I=O.left+O.width/2-Y/2;else if(L>=Y+r)K="right",I=O.right+r,U=O.top+O.height/2-J/2;else if(z>=Y+r)K="left",I=O.left-r-Y,U=O.top+O.height/2-J/2;else{const ge=Math.max(V,X,L,z);ge===V?(K="top",U=O.top-r-J,I=O.left+O.width/2-Y/2):ge===X?(K="bottom",U=O.bottom+r,I=O.left+O.width/2-Y/2):ge===L?(K="right",I=O.right+r,U=O.top+O.height/2-J/2):(K="left",I=O.left-r-Y,U=O.top+O.height/2-J/2)}const re=Number(o)||8;I=Math.min(Math.max(I,re),E-Y-re),U=Math.min(Math.max(U,re),$-J-re);const de=Math.round(I),fe=Math.round(U);B&&m.current?(m.current.style.left=`${de}px`,m.current.style.top=`${fe}px`,m.current.dataset.placement=K):(S(K||y),b({position:"fixed",left:de,top:fe}),A(!0))},[M,C,a,n,r,o,y]);i.useLayoutEffect(()=>{if(D)return;if(M&&C){b({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),A(!0);return}H();const B=requestAnimationFrame(()=>H());return()=>cancelAnimationFrame(B)},[n,a,r,h,o,D,M,C,H]),i.useEffect(()=>{if(D||M&&C||!m.current||typeof ResizeObserver>"u")return;const B=new ResizeObserver(()=>{n&&H()});return B.observe(m.current),()=>B.disconnect()},[n,h,o,D,M,C,H]),i.useEffect(()=>{if(D||M&&C)return;const B=()=>H(!0);return window.addEventListener("resize",B),document.addEventListener("scroll",B,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",B),document.removeEventListener("scroll",B,{capture:!0})}},[n,r,h,o,D,M,C,H]),i.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const B=window.matchMedia("(max-width: 768px)"),O=()=>k(!!B.matches);O();try{B.addEventListener?B.addEventListener("change",O):B.addListener(O)}catch{try{B.addListener(O)}catch{}}return()=>{try{B.removeEventListener?B.removeEventListener("change",O):B.removeListener(O)}catch{}}},[]);const R=i.useRef(!1),j=i.useCallback((B=!1)=>{if(!(w||R.current)){if(R.current=!0,B){_(!0);try{s&&s()}catch{}return}_(!0),setTimeout(()=>{s&&s()},200)}},[w,s,_]);i.useEffect(()=>{const B=Y=>{const J=m.current;if(!J)return;const E=Y.target;if(E&&!J.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&j(!0)}},O=Y=>{const J=m.current;if(!J)return;const E=Y.target;if(E&&!J.contains(E)){try{if(E.closest&&E.closest("[data-tooltip-ignore]"))return}catch{}l&&j(!0)}},Z=Y=>{if(Y.key==="Escape"){Y.stopPropagation(),j();return}if(Y.key==="Tab"){const J=m.current;if(!J)return;const E=J.querySelectorAll(Wn);if(!E||E.length===0)return;const $=E[0],L=E[E.length-1],z=document.activeElement;Y.shiftKey?z===$&&(Y.preventDefault(),L.focus()):z===L&&(Y.preventDefault(),$.focus())}};return document.addEventListener("pointerdown",B,!0),document.addEventListener("click",O,!0),document.addEventListener("keydown",Z),()=>{document.removeEventListener("pointerdown",B,!0),document.removeEventListener("click",O,!0),document.removeEventListener("keydown",Z)}},[s,l,j]),i.useEffect(()=>{const B=()=>{j(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",B),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",B)}},[j]);const P=t.jsxs("div",{ref:m,className:`tooltip-content ${D?"tooltip-content--inline":""} ${g?"tooltip-content--bordered":""} ${w?"is-closing":""} ${c} ${M&&C?"is-mobile":""}`,role:d,"aria-label":u||void 0,style:D?{}:{...v,visibility:x?"visible":"hidden"},tabIndex:-1,"data-placement":y,"data-left":D?"":v.left,"data-top":D?"":v.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[f!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:f}),h]});if(D||typeof document>"u")return P;if(p||M&&C){const B=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&j(!0)}}),P]});return Tt.createPortal(B,document.body)}return Tt.createPortal(P,document.body)}function sn(e){const{anchorRect:n,text:a,offset:r=8,onClose:o,className:s="",ariaLabel:l}=e||{};return a?t.jsx(on,{anchorRect:n,offset:r,onClose:o,closeOnOutsideClick:!1,className:`tooltip-info ${s}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function gn(e){const{t:n}=pe.useTranslation(),{anchorRect:a,title:r,items:o,activeIndex:s=-1,showIndex:l=!0,onClose:c,offset:d=12,closeOnOutsideClick:u=!0}=e||{},h=(Array.isArray(o)?o:o?[o]:[]).map(p=>typeof p=="string"?{text:p}:p);return!h.length&&!r?null:t.jsx(on,{anchorRect:a,offset:d,onClose:c,closeOnOutsideClick:u,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:h.map((p,C)=>t.jsxs("li",{className:`tooltip-description__item body-3${C===s?" tooltip-description__item--active":""}`,children:[l&&h.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[C+1,"."]}),p.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:p.color},"aria-hidden":"true"}),t.jsx("span",{children:p.text})]},C))})]})})}function te(e){const{size:n=48,type:a,htmlType:r,href:o,target:s,rel:l,icon:c,rightIcon:d,label:u,count:h,subLabel:p,children:C,ariaLabel:g,variant:f="default",align:m="center",selected:v,toggleable:b=!1,disabled:w=!1,useLabel:_=!0,useBorder:y=!0,useBG:S=!0,useDisabledCovered:x=!1,useDisabledInvisible:A=!1,width:M,minWidth:k,onClick:D,onDisabledClick:H,showTooltipInfo:R=!1,tooltipInfoText:j=null,tooltipDescription:P=null,iconSize:B="medium",iconColor:O,shape:Z="rounded",color:Y,className:J,...E}=e,$=typeof n=="string"&&isNaN(Number(n))?n.toLowerCase():String(Number(n)||48),L=$.match(/^\d+$/)?`button${$}`:`button-${$}`,z=Number(n),V=!isNaN(z)&&z<40?"button-2":"button-1",X=u??C,I=w||!!E.disabled,U=I?x?"disabled-covered":A?"disabled-invisibled":"disabled":f,K=U?`button--variant-${U}`:"",re=m?`button--align-${m}`:"",de=Z?`button--shape-${Z}`:"",fe=typeof O=="string"&&O.startsWith("--")?`var(${O})`:O,ge={...M?{width:typeof M=="number"?`${M}px`:M}:{},...k?{minWidth:typeof k=="number"?`${k}px`:k}:{},...y?{}:{"--button-border":I?"0":"1px solid transparent"},...fe?{"--button-icon-color":fe}:{},...Y?{"--color-main":Y}:{}},he=_===!1?"":X,T=Array.isArray(he)?he.length>0:!!he,q=!!d,ee=a??(T||c||q?"bar":"dot"),we=`${L}--${ee}`,ie=i.useRef(null),le=i.useRef(I),[se,oe]=i.useState(!!v),[Se,Ie]=i.useState(!1),[He,$e]=i.useState(null),Me=i.useCallback(()=>Ie(!1),[]);i.useEffect(()=>{typeof v=="boolean"&&oe(v)},[v]),i.useEffect(()=>{if(le.current&&!I&&ie.current){const je=ie.current;je.blur(),je.style.pointerEvents="none";const at=requestAnimationFrame(()=>{requestAnimationFrame(()=>{ie.current&&(ie.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(at)}le.current=I},[I]);const De=typeof v=="boolean"?!!v:se,Ne=b||typeof v=="boolean"?De?"true":"false":void 0,Oe=be("button",L,we,K,re,de,De?"is-selected":null,S?null:"button--no-bg",J),Ge=`button__icon button__icon--${B}`,ye=Array.isArray(p)?p:p!==void 0?[p]:[],Fe=()=>{if(Array.isArray(he))return he.map((at,ht)=>{const ze=ye[ht];return t.jsxs("span",{className:`button__label-text${ze!==void 0?" button__label-text--has-sub":""}`,children:[at,ze!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:ze})]},ht)});const je=p!==void 0;return t.jsxs("span",{className:`button__label-text${je?" button__label-text--has-sub":""}`,children:[he,h!=null&&t.jsx("span",{className:"button__count",children:h}),je&&t.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},Le=je=>{I||(typeof E.onMouseLeave=="function"&&E.onMouseLeave(je),typeof v!="boolean"&&oe(!1),je.currentTarget.blur())},We=je=>{if(I){H?.(je);return}typeof v!="boolean"&&b&&oe(at=>!at),D?.(je)},Ze=i.useCallback(()=>{(R||P)&&(Ie(!0),$e(ie.current?.getBoundingClientRect()??null))},[R,P]),Ye=i.useCallback(()=>{(R||P)&&(Ie(!1),$e(null))},[R,P]),Re={...E};delete Re.disabled,delete Re.className,delete Re.faded,delete Re.useFaded,delete Re.loading,delete Re.onMouseLeave,delete Re.onPointerEnter,delete Re.onPointerLeave,delete Re.onFocus,delete Re.onBlur,I&&(Object.keys(Re).forEach(je=>{/^on[A-Z]/.test(je)&&typeof Re[je]=="function"&&delete Re[je]}),Re["aria-disabled"]="true");const pt=(typeof R=="string"?R:null)??(typeof j=="string"?j:null)??(typeof g=="string"?g:null)??(typeof X=="string"?X:null)??void 0,tt=typeof g=="string"?g:typeof X=="string"?X:pt,Ue=(je,at)=>t.jsx(Pe,{icon:je,label:at??tt,className:Ge,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),nt=()=>ee==="dot"?t.jsxs(t.Fragment,{children:[Ue(c),T&&t.jsx("span",{className:`button__label ${V}`,children:Fe()})]}):m==="center"&&c?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:Ue(c)}),T&&t.jsx("span",{className:`button__label ${V}`,children:Fe()})]}),q&&t.jsx("span",{className:"button__right",children:Ue(d)})]}):t.jsxs(t.Fragment,{children:[c&&t.jsx("span",{className:"button__left",children:Ue(c,g??X)}),T&&t.jsx("span",{className:`button__label ${V}`,children:Fe()}),q&&t.jsx("span",{className:"button__right",children:Ue(d)})]}),Ee=!!o&&!I;return t.jsxs(t.Fragment,{children:[t.jsx(Ee?"a":"button",{...Re,ref:ie,...Ee?{href:o,target:s,rel:l??(s==="_blank"?"noreferrer":void 0)}:{type:r,disabled:I&&!H},className:Oe,"aria-pressed":Ne,"aria-label":tt,"aria-disabled":Ee&&I?!0:void 0,style:ge,onClick:We,onMouseLeave:Le,onPointerEnter:je=>{Ze(),!I&&typeof E.onPointerEnter=="function"&&E.onPointerEnter(je)},onPointerLeave:je=>{Ye(),!I&&typeof E.onPointerLeave=="function"&&E.onPointerLeave(je)},onFocus:je=>{Ze(),!I&&typeof E.onFocus=="function"&&E.onFocus(je)},onBlur:je=>{Le(je),Ye(),!I&&typeof E.onBlur=="function"&&E.onBlur(je)},children:nt()}),Se&&P?t.jsx(gn,{anchorRect:He,title:P.title,items:P.items,onClose:Me}):Se&&pt?t.jsx(sn,{anchorRect:He,text:pt,onClose:Me}):null]})}function et(e,n,a){const r=i.useRef(null);return i.useLayoutEffect(()=>{const o=r.current?.parentElement??null;return n(o,e),()=>a(o)},[e,n,a]),r}const qn={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},za=new WeakMap;function Jo(e){if(e)return za.get(e)}function yt(e,n){e&&(e.style.setProperty(qn.title,n.title),e.style.setProperty(qn.description,n.description),za.set(e,n))}function vt(e){e&&(e.style.removeProperty(qn.title),e.style.removeProperty(qn.description),za.delete(e))}const Qo={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function es(){const e=et(Qo,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const ts={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function ns(){const e=et(ts,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const as={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function rs(){const e=et(as,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const os={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function ss(){const e=et(os,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const is={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function ls(){const e=et(is,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const cs={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function us(){const e=et(cs,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const ds={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function ps(){const e=et(ds,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const hs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function ms(){const e=et(hs,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const Cs={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function fs(){const e=et(Cs,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const gs={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function bs(){const e=et(gs,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const ys={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function vs(){const e=et(ys,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:t.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const xs={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function _s(){const e=et(xs,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const ws={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function ks(){const e=et(ws,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const As={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function Ns(){const e=et(As,yt,vt);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const t0=[{key:"main",label:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"soft",label:"\uC18C\uD504\uD2B8",textTone:"dark"},{key:"sub",label:"\uC11C\uBE0C \uCEEC\uB7EC",textTone:"light"},{key:"deep",label:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"softSub",label:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",textTone:"dark"},{key:"warm",label:"\uC6DC(\uAC15\uC870)",textTone:"dark"},{key:"dark",label:"\uB2E4\uD06C",textTone:"light"},{key:"radial",label:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",textTone:"light"},{key:"diagonal",label:"\uB300\uAC01\uC120 \uD328\uD134",textTone:"dark"},{key:"dots",label:"\uB3C4\uD2B8 \uD328\uD134",textTone:"dark"},{key:"outline",label:"\uC544\uC6C3\uB77C\uC778",textTone:"dark"},{key:"success",label:"\uC131\uACF5/\uC644\uB8CC",textTone:"light"},{key:"naver",label:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",textTone:"light"},{key:"instagram",label:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4",textTone:"light"}],Bs={main:es,soft:ns,sub:rs,deep:ss,softSub:ls,warm:us,dark:ps,radial:ms,diagonal:fs,dots:bs,outline:vs,success:_s,naver:ks,instagram:Ns};function Ss({storageKey:e="fontScale",baseFont:n=20,minScale:a=.8,maxScale:r=1.4,step:o=.1,lineHeightRatio:s=1.4}={}){const l=v=>Math.max(a,Math.min(r,Number(v))),[c,d]=i.useState(()=>{try{const v=localStorage.getItem(e),b=v?Number(v):1;return Number.isFinite(b)?b:1}catch{return 1}});i.useEffect(()=>{try{localStorage.setItem(e,String(c))}catch{}},[e,c]);const u=v=>{d(typeof v=="function"?b=>l(v(b)):l(v))},h=()=>u(v=>+(v+o).toFixed(6)),p=()=>u(v=>+(v-o).toFixed(6)),C=c<r-Number.EPSILON,g=c>a+Number.EPSILON,f=Math.round(n*c),m=Math.round(f*s);return{scale:c,setScale:u,increase:h,decrease:p,canIncrease:C,canDecrease:g,fontSize:f,lineHeight:m}}const Ds=i.createContext(null);function n0(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Yt(e){const n=i.useContext(Ds),a=s=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(s).matches,[r,o]=i.useState(a(e));return i.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const s=window.matchMedia(e),l=d=>o(d.matches),c=s;return c.addEventListener?c.addEventListener("change",l):c.addListener&&c.addListener(l),o(s.matches),()=>{c.removeEventListener?c.removeEventListener("change",l):c.removeListener&&c.removeListener(l)}},[e]),n&&typeof n.mobile=="boolean"&&n0(e)?n.mobile:r}function Wa(e){const n=i.useRef(e);return i.useEffect(()=>{n.current=e}),n}function js(e,n){const a=Wa(n);i.useEffect(()=>{const r=()=>a.current();try{window.addEventListener(e,r)}catch{}return()=>{try{window.removeEventListener(e,r)}catch{}}},[e,a])}const qa=" \xB7 ",Es=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(qa)?e.split(qa).pop()??e:e})(),a0=i.createContext(!1);function r0(e){const n=i.useContext(a0);i.useEffect(()=>{if(n||typeof e!="string"||!e)return;const a=document.title;return document.title=Es?`${e}${qa}${Es}`:e,()=>{document.title=a}},[e,n])}const Ts=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function o0(e,n,a){const{t:r}=pe.useTranslation(),[o,s]=i.useState(()=>{const f=a?.initialPageSize;return f&&Ts.some(m=>m.value===f)?f:"25"}),[l,c]=i.useState(1),[d,u]=i.useState(n);d!==n&&(u(n),l!==1&&c(1));const h=i.useMemo(()=>Ts.map(f=>({...f,label:r("visits.showN",{n:f.value})})),[r]),p=i.useCallback(f=>{s(f),c(1)},[]),C=Math.max(1,Math.ceil(e.length/Number(o))),g=Math.min(l,C);return{pageRows:i.useMemo(()=>e.slice((g-1)*Number(o),g*Number(o)),[e,g,o]),pageSizeProps:{options:h,value:o,onChange:p},paginationProps:{page:g,total:C,onChange:c},setPage:c}}function s0(){const[e,n]=i.useState(null),a=i.useCallback(o=>{n(s=>s?.key===o?{key:o,asc:!s.asc}:{key:o,asc:!0})},[]),r=i.useCallback((o,s)=>({label:o,sortDir:e?.key===s?e.asc?"asc":"desc":null,onClick:()=>a(s)}),[e,a]);return{\uC815\uB82C:e,\uCE78:r}}const ln="\uC804\uCCB4";Object.fromEntries(Object.entries(vm).map(([e,{nucleus:n}])=>[e,n]));const i0={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},l0={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},c0={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function u0(e,n){if("place"in n)return i0[n.place](e);const a=l0[n.vowel](e);return n.glide?`${a} \xB7 ${c0[n.glide](e)}`:a}const d0=(e,{defaultValue:n})=>n,Ms=(e,n)=>({jamos:e,phonetic:n,tooltip:u0(d0,n)}),Xt=(e,n)=>n.map(a=>Ms([a],{place:e})),Ct=(e,n,a)=>Ms([...e],a?{vowel:n,glide:a}:{vowel:n}),Ua={cho:[Xt("labial",["\u3142","\u3143","\u314D","\u3141"]),Xt("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Xt("alveolar",["\u3145","\u3146"]),Xt("palatal",["\u3148","\u3149","\u314A"]),Xt("velar",["\u3131","\u3132","\u314B"]),Xt("glottal",["\u314E"])],jung:[[Ct("\u3163","frontHigh"),Ct("\u315F","frontHigh","w"),Ct("\u3162","frontHigh","velar")],[Ct("\u3161","backHighUnrounded")],[Ct("\u315C","backHighRounded"),Ct("\u3160","backHighRounded","j")],[Ct("\u3154\u3150","frontMid"),Ct("\u3156\u3152","frontMid","j"),Ct("\u3159\u315A\u315E","frontMid","w")],[Ct("\u3153","backMidUnrounded"),Ct("\u3155","backMidUnrounded","j"),Ct("\u315D","backMidUnrounded","w")],[Ct("\u3157","backMidRounded"),Ct("\u315B","backMidRounded","j")],[Ct("\u314F","low"),Ct("\u3151","low","j"),Ct("\u3158","low","w")]],jong:[Xt("labial",["\u3142","\u3141"]),Xt("alveolar",["\u3137","\u3134","\u3139"]),Xt("velar",["\u3131","\u3147"])]},p0=e=>e===h0?[]:Array.from(e),h0="__NO_CODA__",Ga=e=>e.map(n=>n.map(({jamos:a,phonetic:r,tooltip:o})=>({v:a.join(""),phonetic:r,tooltip:o}))),Ls={cho:Ga(Ua.cho),jung:Ga(Ua.jung),jong:Ga(Ua.jong)};Ls.jung.flat().forEach(({v:e})=>{for(const n of p0(e));}),new Set(Ls.cho.flat().map(e=>e.v));const Bn=[];let sa=!1;function $s(e){if(e.key!=="Escape"||e.defaultPrevented)return;const n=Bn[Bn.length-1];n&&(e.stopPropagation(),n())}function Ka(e){return Bn.push(e),!sa&&typeof document<"u"&&(document.addEventListener("keydown",$s),sa=!0),()=>{const n=Bn.lastIndexOf(e);n>=0&&Bn.splice(n,1),Bn.length===0&&sa&&typeof document<"u"&&(document.removeEventListener("keydown",$s),sa=!1)}}function m0(e,n=!0){const a=Wa(e);i.useEffect(()=>{if(n)return Ka(()=>{a.current?.()})},[n,a])}function ia(){const[e,n]=i.useState(null),a=i.useCallback(s=>n(s.getBoundingClientRect()),[]),r=i.useCallback(()=>n(null),[]),o=i.useCallback(s=>{const l=s.getBoundingClientRect();n(c=>c?null:l)},[]);return{anchorRect:e,isOpen:e!=null,openAt:a,close:r,toggleAt:o}}function Rs(e="warning"){const[n,a]=i.useState(""),[r,o]=i.useState(e),[s,l]=i.useState(0),c=i.useCallback((p,C)=>{o(C),a(p),l(g=>g+1)},[]),d=i.useCallback(p=>c(p,"warning"),[c]),u=i.useCallback(p=>c(p,"normal"),[c]),h=i.useCallback(()=>a(""),[]);return{toastMessage:n,toastType:r,toastKey:s,showToast:c,showWarning:d,showNormal:u,clearToast:h}}function Un({computeStyle:e,onScroll:n="close",onResize:a="close",ignoreOutsideClickSelector:r}){const[o,s]=i.useState(!1),[l,c]=i.useState({}),d=i.useRef(null),u=i.useRef(null),h=i.useCallback(()=>{d.current&&c(e(d.current.getBoundingClientRect()))},[e]);i.useEffect(()=>{if(!o)return;h();const g=b=>{const w=b.target;r&&w.closest?.(r)||d.current?.contains(w)||u.current?.contains(w)||s(!1)};document.addEventListener("mousedown",g);const f=b=>{u.current?.contains(b.target)||(n==="reposition"?h():n==="close"&&s(!1))};n!=="ignore"&&window.addEventListener("scroll",f,!0);const m=()=>{a==="reposition"?h():a==="close"&&s(!1)};a!=="ignore"&&window.addEventListener("resize",m);const v=b=>{b.key==="Escape"&&s(!1)};return document.addEventListener("keydown",v),()=>{document.removeEventListener("mousedown",g),n!=="ignore"&&window.removeEventListener("scroll",f,!0),a!=="ignore"&&window.removeEventListener("resize",m),document.removeEventListener("keydown",v)}},[o,h,n,a,r]);const p=i.useCallback(()=>s(g=>!g),[]),C=i.useCallback(()=>s(!1),[]);return{open:o,setOpen:s,toggle:p,close:C,style:l,triggerRef:d,menuRef:u}}function C0(e,{mode:n="playback",autoStart:a=!1,onPlaySpeaker:r,onComplete:o,playMs:s=1100,feedbackMs:l=1500}={}){const[c,d]=i.useState([]),[u,h]=i.useState(0),[p,C]=i.useState("idle"),[g,f]=i.useState(null),[m,v]=i.useState([]),[b,w]=i.useState(null),[_,y]=i.useState(0),S=i.useRef(0),x=i.useCallback(E=>{S.current=typeof E=="function"?E(S.current):E,y(S.current)},[]),A=i.useRef(r),M=i.useRef(o);i.useEffect(()=>{A.current=r,M.current=o},[r,o]);const k=i.useRef([]),D=()=>{k.current.forEach(clearTimeout),k.current=[]},H=(E,$)=>{k.current.push(setTimeout($,E))};i.useEffect(()=>()=>D(),[]);const R=c[u]?.id??null,j=i.useCallback(()=>{D(),C("playing"),v([]),w(null),x(0);let E=0;e.forEach(($,L)=>{H(E,()=>{h(L),f($.id),A.current?.($)}),H(E+1e3,()=>{f(null),v(z=>[...z,$.id])}),E+=1300}),H(E,()=>{C("done"),M.current?.({score:0,total:e.length})})},[e,x]),P=i.useCallback((E,$)=>{if($>=E.length){C("done"),M.current?.({score:S.current,total:E.length});return}h($),w(null),C("playing"),f(E[$].id),A.current?.(E[$]),H(s,()=>{f(null),C("waiting")})},[s]),B=i.useCallback(()=>{D();const E=Vn(e);d(E),x(0),v([]),P(E,0)},[e,P,x]),O=i.useCallback(()=>{n==="playback"?(d(e),j()):B()},[n,e,j,B]),Z=i.useCallback(()=>{D(),C("idle"),f(null),v([]),w(null),h(0),x(0),d([])},[x]);i.useEffect(()=>{a?O():Z()},[n,e.length,a]);const Y=i.useCallback(E=>{p!=="waiting"||n==="playback"||(w(E),E===c[u]?.id&&x($=>$+1),n==="exam"?(C("playing"),H(400,()=>P(c,u+1))):(C("feedback"),H(l,()=>P(c,u+1))))},[p,n,c,u,P,l,x]),J=n==="playback"?e.length:c.length;return{bind:{activeSpeakerId:g,playedIds:m,selectedId:b,answerId:R,showFeedback:p==="feedback",clickable:p==="waiting",onSelectSpeaker:Y},index:u,total:J,score:_,phase:p,done:p==="done",start:O,reset:Z}}function f0({title:e,description:n,actionLabel:a,onAction:r,bg:o,color:s,size:l="medium",actionVariant:c,titleColor:d,descriptionColor:u,className:h=""}){const p=o??s??"main",C=i.useRef(null),[g,f]=i.useState("main"),m=Yt("(max-width: 767px)");i.useLayoutEffect(()=>{const w=C.current;w&&(d!==void 0&&w.style.setProperty("--promo-banner-bg-title",d),u!==void 0&&w.style.setProperty("--promo-banner-bg-description",u))},[d,u]),i.useLayoutEffect(()=>{const w=C.current;if(!w)return;const _=Jo(w);f(_?.actionVariant??"main")},[p]);const v=be("promo-banner",`promo-banner--${l}`,h),b=Bs[p];return t.jsxs("div",{ref:C,className:v,role:"note",children:[t.jsx(b,{}),t.jsxs("div",{className:"promo-banner__text",children:[t.jsx("span",{className:`promo-banner__title ${l==="small"?"body-2":"h2"}`,children:e}),n&&t.jsx("span",{className:"promo-banner__description body-3",children:n})]}),a&&r&&t.jsx(te,{size:40,variant:c??g,shape:"pill",useBorder:!0,onClick:r,ariaLabel:a,...m?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}function g0({children:e,interval:n=5e3,dotTone:a,className:r="","aria-label":o}){const{t:s}=pe.useTranslation(),l=o??s("topBanner.ariaLabel","\uBC30\uB108"),c=i.Children.toArray(e),d=c.length,[u,h]=i.useState(0),[p,C]=i.useState(!1),g=d>0?u%d:0;return i.useEffect(()=>{if(d<2||n<=0||p)return;const f=window.setInterval(()=>h(m=>(m+1)%d),n);return()=>window.clearInterval(f)},[d,n,p]),d===0?null:t.jsxs("section",{className:be("top-banner",r),"aria-label":l,"aria-roledescription":"carousel",onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),onFocus:()=>C(!0),onBlur:()=>C(!1),children:[t.jsx("div",{className:"top-banner__viewport",children:t.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${g*100}%)`},children:c.map((f,m)=>t.jsx("div",{className:"top-banner__slide","aria-hidden":m!==g,...m!==g?{inert:!0}:{},children:f},m))})}),d>1&&t.jsx("div",{className:`top-banner__dots${(a?.[g]??"light")==="dark"?" top-banner__dots--dark":""}`,children:c.map((f,m)=>t.jsx("button",{type:"button",className:`top-banner__dot${m===g?" top-banner__dot--active":""}`,"aria-label":s("topBanner.dotAriaLabel",{count:d,index:m+1,defaultValue:`${d}\uAC1C \uC911 ${m+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":m===g,onClick:()=>h(m)},m))})]})}function b0({title:e,body:n,open:a=!1,onToggle:r,avatar:o,titleClassName:s="body-2",bodyClassName:l="body-2",className:c=""}){const{t:d}=pe.useTranslation();return t.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${c}`.trim(),children:[t.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:r,onKeyDown:u=>{if(u.key==="Enter"||u.key===" ")u.preventDefault(),r?.();else if(u.key==="ArrowDown"||u.key==="ArrowUp"){u.preventDefault();const h=u.currentTarget.closest('[role="list"]');if(!h)return;const p=Array.from(h.querySelectorAll("[data-accordion-header]")),C=p.indexOf(u.currentTarget);(u.key==="ArrowDown"?p[C+1]:p[C-1])?.focus()}},children:[o&&t.jsx("div",{className:"accordion-item__avatar",children:o}),t.jsx("div",{className:`accordion-item__title ${s}`,children:e}),t.jsx("div",{className:"accordion-item__chevron",children:t.jsx(Pe,{icon:a?"chevron-up":"chevron-down",label:a?d("accordion.collapse","\uC811\uAE30"):d("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),a&&t.jsx("div",{className:`accordion-item__body ${l}`,children:typeof n=="string"?t.jsx("p",{children:n}):n})]})}function y0({items:e=[],defaultOpenIndex:n=0,size:a=72,className:r="",bodyClassName:o}){const[s,l]=i.useState(n);return t.jsx("div",{className:`accordion-group accordion-group--s${a} ${r}`.trim(),role:"list",children:e.map((c,d)=>t.jsx(b0,{title:c.title,body:c.body,avatar:c.avatar,open:d===s,onToggle:()=>l(d===s?-1:d),bodyClassName:o},d))})}function v0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("polyline",{points:"2,6 5,9 10,3"})})}function x0(){return t.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[t.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),t.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function _0(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:t.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function ct(e){const{type:n="bar",size:a,className:r="","aria-label":o}=e;if(n==="dot"){const{icon:_,number:y,position:S="top-right",onClick:x,animate:A=!1}=e,M=y!==void 0?"number":_??"check",k=typeof a=="number"?a:32,D=be("circle-badge",`circle-badge--${M}`,`circle-badge--${S}`,`circle-badge--${k}`,A?"circle-badge--animate":"",x?"circle-badge--clickable":"",r),H=y!==void 0?`${y}\uBC88\uC9F8 \uC120\uD0DD`:{check:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",minus:"\uC81C\uC678"}[_??"check"];return t.jsxs("span",{className:D,onClick:x,onKeyDown:x?R=>{R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),R.currentTarget.click())}:void 0,"aria-label":o??H,role:x?"button":void 0,tabIndex:x?0:void 0,children:[y!==void 0&&y,y===void 0&&_==="check"&&t.jsx(v0,{}),y===void 0&&_==="remove"&&t.jsx(x0,{}),y===void 0&&_==="minus"&&t.jsx(_0,{})]})}const{label:s,children:l,variant:c="default",fill:d="filled",minWidth:u,iconLeft:h,iconRight:p,color:C}=e,g=typeof a=="number"?"medium":a??"medium",f={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",m={small:12,medium:14,large:16}[g]??14,v=be("badge",`badge--${c}`,`badge--${g}`,d!=="filled"?`badge--${d}`:"",f,r),b=C?.startsWith("--")?`var(${C})`:C,w=u!==void 0||b?{...u!==void 0?{minWidth:typeof u=="number"?`${u}px`:u}:{},...b?{"--badge-color":b}:{}}:void 0;return t.jsxs("span",{className:v,style:w,children:[h&&t.jsx(Pe,{icon:h,size:m,className:"badge__icon"}),s??l,p&&t.jsx(Pe,{icon:p,size:m,className:"badge__icon"})]})}function la({columns:e=[],onClose:n,className:a="",size:r="medium"}){const{t:o}=pe.useTranslation(),s=r==="small"?40:48,[l,c]=i.useState([{title:null,columns:e}]),d=l[l.length-1];i.useEffect(()=>{c(f=>{try{if(!Array.isArray(f)||f.length===0)return[{title:null,columns:e}];const m=f.slice(),v=m[0]&&typeof m[0].title<"u"?m[0].title:null;return m[0]={title:v,columns:e},m}catch{return[{title:null,columns:e}]}})},[e]);const u=i.useCallback(()=>c(f=>f.length>1?f.slice(0,f.length-1):f),[]),h=i.useRef(null),p=i.useRef(null),C=l.length;i.useEffect(()=>{p.current||(p.current=document.activeElement);let f=0,m=0;const v=()=>{const b=h.current?.querySelector("button:not([disabled])");if(b&&b.offsetParent){b.focus({preventScroll:!0});return}m++<20&&(f=requestAnimationFrame(v))};return f=requestAnimationFrame(v),()=>cancelAnimationFrame(f)},[C]),i.useEffect(()=>()=>{p.current?.focus?.({preventScroll:!0})},[]);const g=i.useCallback(f=>{if(f){if(Array.isArray(f.children)&&f.children.length){c(m=>[...m,{title:f.label||null,columns:[{title:null,items:f.children||[]}]}]);return}try{typeof f.onClick=="function"&&f.onClick()}catch{}try{f&&f.closeOnSelect&&typeof n=="function"&&n()}catch{}}},[n]);return t.jsxs("div",{className:`tooltip-menu tooltip-menu--${r} ${a}`,children:[(l.length>1||d.title)&&t.jsxs("div",{className:"tooltip-menu__header",children:[l.length>1?t.jsx(te,{size:s,type:"dot",icon:"chevron-left",ariaLabel:o("common.back","\uB4A4\uB85C"),onClick:u,variant:"transparent-gray",useBorder:!1}):null,t.jsx("div",{className:"tooltip-menu__title button-1",children:d.title})]}),t.jsx("div",{className:"tooltip-menu__columns",ref:h,children:d.columns&&d.columns.map((f,m)=>t.jsxs("div",{className:"tooltip-menu__column",children:[f.title?t.jsx("div",{className:"tooltip-menu__column-title body-3",children:f.title}):null,t.jsx("div",{className:"tooltip-menu__items",children:(f.items||[]).map((v,b)=>t.jsx(te,{className:"tooltip-menu__item",size:s,type:v.label?"bar":"dot",icon:v.selected?"check":v.icon||"none",rightIcon:Array.isArray(v.children)&&v.children.length?"chevron-right":v.badgeCount?t.jsx(ct,{type:"dot",position:"inline",number:Math.min(v.badgeCount,99),size:24,"aria-label":`${v.badgeCount}`}):void 0,label:v.label,ariaLabel:v.label,onClick:()=>g(v),selected:v.selected,disabled:v.disabled,showTooltipInfo:v.tooltip||!1,useBorder:!1,align:"left"},b))})]},m))})]})}const w0=52,Ps=10;function Is({items:e=[],activeKey:n,onChange:a,appMode:r,onAppModeChange:o,moreItems:s=[]}){const{t:l}=pe.useTranslation(),c=r==="manager"?"malgwi":"manager",d=r==="manager"?"arrow-left":"arrow-right",u=r==="manager"?l("nav.modeLabelMalgwi","\uB9D0\uADC0"):l("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),h=i.useRef(null),[p,C]=i.useState(0),g=e.length;i.useEffect(()=>{const B=h.current;if(!B||(C(B.clientWidth),typeof ResizeObserver>"u"))return;const O=new ResizeObserver(Z=>C(Z[0].contentRect.width));return O.observe(B),()=>O.disconnect()},[]);const f=p>0?Math.floor((p+Ps)/(w0+Ps)):g,m=p>0&&f<g,v=m?f:g,b=e.slice(0,v),w=e.slice(v),_=m||s.length>0,y=i.useCallback(B=>({position:"fixed",bottom:window.innerHeight-B.top+8,right:window.innerWidth-B.right,zIndex:1e4}),[]),S=i.useId(),{open:x,toggle:A,close:M,style:k,triggerRef:D,menuRef:H}=Un({computeStyle:y,onScroll:"ignore",onResize:"ignore"}),R=i.useCallback(()=>o?.(c),[o,c]),j=i.useMemo(()=>w.find(B=>B.key===n)??s.find(B=>B.selected||B.key&&B.key===n),[w,n,s]),P=i.useMemo(()=>[{items:[...w.map(B=>({label:B.label,icon:B.icon,selected:B.key===n,closeOnSelect:!0,onClick:()=>{B.key&&a&&a(B.key),M()}})),...s.map(B=>({label:B.label,icon:B.icon,badgeCount:B.badgeCount,selected:B.selected??(!!B.key&&B.key===n),closeOnSelect:!0,onClick:()=>{B.onClick?.(),M()}}))]}],[w,s,n,a,M]);return t.jsxs("nav",{className:"bottom-nav","aria-label":l("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[o&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__left",children:t.jsx(te,{size:52,type:"dot",icon:d,ariaLabel:u,className:"bottom-nav-item",onClick:R})}),t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),t.jsx("div",{className:"bottom-nav__items",ref:h,children:b.map(B=>t.jsx(te,{size:52,type:"dot",icon:B.icon,ariaLabel:B.label,selected:B.key===n,disabled:B.state==="disabled",className:"bottom-nav-item",onClick:()=>B.key&&a?.(B.key)},B.key))}),_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),t.jsx("div",{className:"bottom-nav__right",children:t.jsxs("div",{ref:D,children:[t.jsx(te,{size:52,type:"dot",icon:j?.icon??"ellipsis",ariaLabel:j?.label??l("nav.more","\uB354\uBCF4\uAE30"),selected:!!j,className:"bottom-nav-item",onClick:A,"aria-expanded":x,"aria-controls":x?S:void 0}),x&&Tt.createPortal(t.jsx("div",{id:S,role:"group","aria-label":l("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:"tooltip-content",style:k,ref:H,children:t.jsx(la,{columns:P,onClose:M})}),document.body)]})})]})]})}function k0(e){const{t:n}=pe.useTranslation(),{activeKey:a,unreadCount:r,onDebug:o,onNotification:s,onSetting:l,onHelp:c,onAccount:d}=e||{},u="default";return t.jsxs("div",{className:"side-nav__footer",children:[o&&t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"terminal",ariaLabel:n("nav.debug","\uB514\uBC84\uADF8"),onClick:o,selected:a==="debug"}),t.jsxs("span",{className:"side-nav__notification-wrap",children:[t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"bell",ariaLabel:n("nav.notifications","\uC54C\uB9BC"),onClick:s,selected:a==="notifications"}),!!r&&t.jsx(ct,{type:"dot",number:Math.min(r,99),size:24})]}),t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"settings",ariaLabel:n("nav.settings","\uC124\uC815"),onClick:l,selected:a==="settings"}),t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"message-circle-question-mark",ariaLabel:n("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:c,selected:a==="help"}),t.jsx(te,{size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:u,icon:"user-round",ariaLabel:n("nav.account","\uACC4\uC815"),onClick:d,selected:a==="account"})]})}function Fs(e){const{item:n,itemKey:a,label:r,icon:o,active:s,onClick:l,style:c,state:d,labelStyle:u}=e||{},h=n?.key??a??"",p=n?.label??r??"",C=n?.icon??o??"",g=n?.badge??0,f=t.jsx("span",{className:"side-nav__icon-wrap",children:t.jsx(Pe,{icon:C,label:typeof p=="string"?p:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),m=d==="disabled",v=`side-nav__item ${s?"active":""} ${d||""} ${m?"disabled":""} ${n?.child?"side-nav__item--child":""}`,b=i.useCallback(w=>{if(!m){try{w.currentTarget.blur()}catch{}l?.(h,w.currentTarget)}},[m,h,l]);return t.jsxs("button",{className:v,onClick:b,"aria-label":typeof p=="string"?p:void 0,style:c,"aria-disabled":m,children:[f,t.jsx("span",{className:"side-nav__label button-1 f",style:u,children:p}),g>0&&t.jsx(ct,{type:"dot",position:"inline",number:Math.min(g,99),size:24,"aria-label":`${g}`}),d==="loading"&&t.jsx("span",{className:"side-nav__spinner","aria-label":"loading"})]})}function Os(e){const{t:n}=pe.useTranslation(),{items:a=[],activeKey:r,onChange:o,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h,appMode:p,onAppModeChange:C}=e||{},g=i.useCallback(()=>C?.(p==="malgwi"?"manager":"malgwi"),[C,p]);return t.jsxs("nav",{"aria-label":n("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[t.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(f=>!f.section&&(f.key||f.label)).map((f,m)=>t.jsxs(i.Fragment,{children:[f.divider&&t.jsx("div",{className:"side-nav__separator"}),t.jsx(Fs,{item:f,active:f.key===r,state:f.disabled?"disabled":void 0,onClick:(v,b)=>{if(f.disabled)return;if(f.href){window.open(f.href,"_blank","noopener,noreferrer");try{b?.blur()}catch{}return}o?.(f.key);try{const _=document.querySelector(".content-area");_?_.scrollTop=0:window.scrollTo({top:0})}catch{}try{b?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const w=document.querySelector(".header");if(w&&!(typeof w.matches=="function"&&w.matches(":hover"))){w.classList.add("header--force-collapsed");const _=()=>{w.classList.remove("header--force-collapsed"),w.removeEventListener("mouseenter",_)};w.addEventListener("mouseenter",_)}}})]},f.key??`side-nav__item-${m}`)),C&&t.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),C&&t.jsx(Fs,{item:{key:"__mode-switch__",label:p==="malgwi"?n("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"):n("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"),icon:p==="malgwi"?"arrow-right":"arrow-left"},onClick:g})]}),t.jsx(k0,{activeKey:r,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h})]})}var Za='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2080_3066)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="black"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="black"/>%0A<path d="M46.4288 17.8571H25.0002C15.138 17.8571 7.14307 25.852 7.14307 35.7143V57.1428C7.14307 67.0051 15.138 75 25.0002 75H46.4288C56.291 75 64.2859 67.0051 64.2859 57.1428V35.7143C64.2859 25.852 56.291 17.8571 46.4288 17.8571Z" fill="%234DCDC0"/>%0A<path d="M34.8607 50.7393C25.8285 60.6821 10.6142 61.6678 0.385667 53.1643C-0.0821902 52.775 -0.13219 52.0678 0.278524 51.6178L16.3535 33.925L34.8607 50.7393Z" fill="%234DCDC0"/>%0A<path d="M53.5714 25H32.1428C22.2821 25 14.2856 32.9964 14.2856 42.8571V64.2857C14.2856 74.1464 22.2821 82.1429 32.1428 82.1429H48.2535C49.2178 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7214 51.8928 85.6321C62.8392 84.675 71.4285 75.4821 71.4285 64.2857V42.8571C71.4285 32.9964 63.4321 25 53.5714 25Z" fill="%234DCDC0"/>%0A<path d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23499CDF"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="white"/>%0A<path d="M36.0715 57.1429C35.0287 57.1429 33.9822 56.875 33.0358 56.3286C32.1822 55.8357 31.8894 54.7429 32.3858 53.8893C32.8787 53.0357 33.9715 52.7429 34.8251 53.2393C35.8037 53.8036 37.043 53.6429 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3536 40.4322 35.9107 37.5072 35.7286C36.5215 35.6679 35.5715 35.8464 34.693 36.2679C33.8037 36.6929 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0429C34.5751 32.3714 36.1537 32.0679 37.7322 32.1643C42.4894 32.4607 46.3072 36.4286 46.4251 41.1964C46.4822 43.5286 45.6715 45.7786 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9357C41.8965 53.2464 41.3037 54.4357 40.368 55.375C39.2001 56.5429 37.6465 57.15 36.0751 57.15L36.0715 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2080_3066">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Ya='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7374)">%0A<path d="M237.151 26.0393V72.7214H216.65V26.0393H237.151ZM234.408 70.0464V28.7179H219.254V70.0464H234.408ZM261.495 76.3607H258.819V48.9679H247.575V75.4679H244.899V23.9821H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3607Z" fill="black"/>%0A<path d="M299.722 69.2571C302.076 68.775 304.031 68.1464 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.789 72.0357C297.435 72.4929 295.045 72.7214 292.623 72.7214H272.257V25.6964H275V69.975H292.623C294.998 69.975 297.364 69.7357 299.722 69.2536V69.2571ZM311.69 76.4321V23.6393H314.433V76.3643L311.69 76.4321Z" fill="black"/>%0A<path d="M340.556 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.329 62.2643 333.632 65.925C330.935 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.33 63.1107C334.617 59.3572 336.354 54.5179 337.542 48.5893C338.73 42.6643 339.369 36.0393 339.461 28.7143H324.992V26.0357H356.602V28.7143H342.201C342.155 35.9 341.605 42.3072 340.556 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="black"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="black"/>%0A<path d="M181.886 47.8714V57.275C179.097 58.5571 174.73 59.1964 168.791 59.1964H168.174V76.3607H158.299V59.1964H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8714H181.886ZM148.971 34.2786V24.875H177.634V47.05H167.76V34.2821H148.971V34.2786ZM194.64 76.3607H184.765V23.6393H194.64V76.3643V76.3607Z" fill="black"/>%0A<path d="M48.1549 17.8571H26.7511C16.9002 17.8571 8.91455 25.852 8.91455 35.7143V57.1428C8.91455 67.0051 16.9002 75 26.7511 75H48.1549C58.0058 75 65.9915 67.0051 65.9915 57.1428V35.7143C65.9915 25.852 58.0058 17.8571 48.1549 17.8571Z" fill="%234DCDC0"/>%0A<path d="M36.6007 50.7393C27.579 60.6821 12.3823 61.6678 2.1655 53.1643C1.69818 52.775 1.64824 52.0678 2.05848 51.6178L18.1149 33.925L36.6007 50.7393Z" fill="%234DCDC0"/>%0A<path d="M55.2897 25H33.8859C24.0365 25 16.0493 32.9964 16.0493 42.8571V64.2857C16.0493 74.1464 24.0365 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7214 53.6131 85.6321C64.5469 84.675 73.1262 75.4821 73.1262 64.2857V42.8571C73.1262 32.9964 65.139 25 55.2897 25Z" fill="%234DCDC0"/>%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23499CDF"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="white"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7374">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',A0='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65214)">%0A<path d="M57.1427 17.8571H35.7141C25.8518 17.8571 17.8569 25.852 17.8569 35.7143V57.1428C17.8569 67.0051 25.8518 75 35.7141 75H57.1427C67.0049 75 74.9998 67.0051 74.9998 57.1428V35.7143C74.9998 25.852 67.0049 17.8571 57.1427 17.8571Z" fill="%234DCDC0"/>%0A<path d="M45.575 50.7393C36.5429 60.6821 21.3286 61.6678 11.1 53.1643C10.6322 52.775 10.5822 52.0678 10.9929 51.6178L27.0679 33.925L45.575 50.7393Z" fill="%234DCDC0"/>%0A<path d="M64.2857 25H42.8571C32.9964 25 25 32.9964 25 42.8571V64.2857C25 74.1464 32.9964 82.1429 42.8571 82.1429H58.9679C59.9321 82.1429 60.7143 82.925 60.7143 83.8893C60.7143 84.9107 61.5893 85.7214 62.6071 85.6321C73.5536 84.675 82.1429 75.4821 82.1429 64.2857V42.8571C82.1429 32.9964 74.1464 25 64.2857 25Z" fill="%234DCDC0"/>%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23499CDF"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="white"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2359 35.6679 46.2859 35.8464 45.4073 36.2679C44.5145 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2002 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2175_65214">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';function Hs({appMode:e}){const{t:n}=pe.useTranslation(),a=e==="manager",r=a?Ya:Za,o=A0,s=Yt("(min-width: 768px) and (max-width: 1023px)");return t.jsx("div",{className:"brand-identity__root","aria-label":n("header.biArea","BI \uC601\uC5ED"),children:s?t.jsx("img",{src:o,alt:n("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image"}):t.jsx("img",{src:r,alt:a?n("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):n("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image"})})}function Vs({activeKey:e,onChange:n,items:a,malgwiItems:r,managerItems:o,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h,appMode:p,onAppModeChange:C}){const{t:g}=pe.useTranslation(),f=Yt("(max-width: 767px)"),m=i.useMemo(()=>{const k=[];return l&&k.push({key:"debug",icon:"terminal",label:g("nav.debug","\uB514\uBC84\uADF8"),onClick:l}),c&&k.push({key:"notifications",icon:"bell",label:g("nav.notifications","\uC54C\uB9BC"),badgeCount:s,onClick:c}),u&&k.push({key:"settings",icon:"settings",label:g("nav.settings","\uC124\uC815"),onClick:u}),h&&k.push({key:"help",icon:"message-circle-question-mark",label:g("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),d&&k.push({key:"account",icon:"user-round",label:g("nav.account","\uACC4\uC815"),onClick:d}),k},[g,l,c,u,h,d,s]),v=i.useCallback(k=>({position:"fixed",top:k.bottom+8,right:Math.max(8,window.innerWidth-k.right),zIndex:1e4}),[]),b=i.useId(),{open:w,toggle:_,close:y,style:S,triggerRef:x,menuRef:A}=Un({computeStyle:v,onScroll:"ignore",onResize:"ignore"}),M=i.useMemo(()=>[{items:m.map(k=>({label:k.label,icon:k.icon,badgeCount:k.badgeCount,selected:k.selected??(!!k.key&&k.key===e),closeOnSelect:!0,onClick:()=>{k.onClick?.(),y()}}))}],[m,e,y]);return t.jsxs("aside",{className:`header${p==="manager"?" header--manager":""}`,children:[t.jsxs("div",{className:"header__bi",children:[t.jsx(Hs,{appMode:p}),t.jsxs("div",{className:"header__menu-button",ref:x,children:[t.jsx(te,{size:48,type:"dot",shape:"pill",variant:"default",icon:"menu",ariaLabel:g("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:_,"aria-expanded":w,"aria-controls":w?b:void 0}),w&&Tt.createPortal(t.jsx("div",{id:b,role:"group","aria-label":g("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:"tooltip-content",style:S,ref:A,children:t.jsx(la,{columns:M,onClose:y})}),document.body)]})]}),t.jsx(Os,{items:a,activeKey:e??void 0,onChange:n,unreadCount:s,onDebug:l,onNotification:c,onAccount:d,onSetting:u,onHelp:h,appMode:p,onAppModeChange:C}),f&&t.jsx(Is,{items:a,activeKey:e??void 0,onChange:n,appMode:p,onAppModeChange:C})]})}const N0=Vs;var B0={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}}},S0={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704"},D0={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},j0={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},E0={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},T0={selected:"\uC120\uD0DD\uB428"},M0={placeholder:"\uC120\uD0DD"},L0={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},$0={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"},R0={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274"},P0={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},I0={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},F0={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638"},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},O0={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},H0={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",diffPhonemeCount:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218",n:"{{n}}\uAC1C"},filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB4F1\uAE09",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",comingSoon:"\uC900\uBE44 \uC911",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30"},V0={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},z0={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"}},W0={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},q0={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},U0={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},G0={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},K0={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},Z0={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Y0={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C"},X0={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},J0={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"\uC0AD\uC81C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78\uC744 \uB20C\uB7EC \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB9E4\uAE30\uC138\uC694.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"}},Q0={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},e2={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},t2={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},n2={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},a2={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},r2={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},o2={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C"},s2={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",daily:"\uC77C\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},i2={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},l2={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},c2={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
828
828
|
\uC2E0\uB8B0\uB97C \uC313\uACE0
|
|
829
|
-
\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",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",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"},o2={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},s2={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},i2={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},l2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},c2={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"},u2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},d2={ariaLabel:"\uC120\uD0DD \uD0ED"},p2={ariaLabel:"\uD0ED"},h2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},m2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},C2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},f2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},g2={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",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"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},b2={manage:{unit:"\uAC74"}},y2={cancelLabel:"\uCDE8\uC18C"},v2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},x2={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",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.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},_2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},w2={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},k2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},A2={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},N2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},B2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},D2={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},S2={common:_0,calendar:w0,passCard:k0,searchField:A0,rating:N0,colorPicker:B0,dropdown:D0,accordion:S0,header:j0,nav:E0,settings:T0,usage:M0,account:L0,help:$0,training:R0,trainingSettings:P0,customers:I0,payment:F0,coupons:O0,visits:H0,company:z0,trainingType:V0,myWordTraining:W0,myWordTable:q0,keyWords:U0,wordTable:G0,wordSearch:K0,wordPrint:Z0,topic:Y0,accessLinkManager:X0,login:J0,trainingPlanRun:Q0,device:e2,manager:t2,wordPairs:n2,game:a2,footer:r2,landing:o2,date:s2,trainingSetPage:i2,wordTrainingPreview:l2,wordData:c2,textField:u2,segmentedControl:d2,tabs:p2,fileUpload:h2,avatar:m2,myHomework:C2,trainingStatus:f2,store:g2,homework:b2,inquiry:y2,progress:v2,trainingMiss:x2,table:_2,wordScore:w2,topBanner:k2,datePicker:A2,report:N2,tooltip:B2,phonemeProfile:D2},j2={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",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",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No 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"}}},E2={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",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"},T2={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",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},M2={clearAriaLabel:"Clear search"},L2={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},$2={selected:"selected"},R2={placeholder:"Select"},P2={collapse:"Collapse",expand:"Expand"},I2={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu"},F2={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",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"},O2={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",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"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},H2={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},z2={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password"},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},V2={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},W2={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",diffPhonemeCount:"Total differing phonemes",n:"{{n}}"},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:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",nextQuestion:"Next",noiseLevelTitle:"Noise Level",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",stop:"Stop",preview:"Preview",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.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",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",done:"Done",viewResult:"View Results"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen"},q2={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},U2={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"}},G2={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},K2={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},Z2={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},Y2={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},X2={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."}},J2={comingSoon:"Word training is coming soon."},Q2={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"}},eC={title:"Key Words",empty:"No key words available."},tC={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",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",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",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)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} 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 a cell to mark \u25CB \xB7 \u25B3 \xB7 \u2715.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"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:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"}},nC={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",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",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"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},aC={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},rC={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"}},oC={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},sC={passwordPlaceholder:"Enter password"},iC={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove"},lC={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},cC={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",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}}",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:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},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."]},uC={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},dC={lead:`IHAB builds trust
|
|
829
|
+
\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",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",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"},u2={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},d2={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},p2={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},h2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},m2={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"},C2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},f2={ariaLabel:"\uC120\uD0DD \uD0ED"},g2={ariaLabel:"\uD0ED"},b2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},y2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},v2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},x2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},_2={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",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"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},w2={manage:{unit:"\uAC74"}},k2={cancelLabel:"\uCDE8\uC18C"},A2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},N2={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",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.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},B2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},S2={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},D2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},j2={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},E2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},T2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},M2={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},L2={common:B0,calendar:S0,passCard:D0,searchField:j0,rating:E0,colorPicker:T0,dropdown:M0,accordion:L0,header:$0,nav:R0,settings:P0,usage:I0,account:F0,help:O0,training:H0,trainingSettings:V0,customers:z0,payment:W0,coupons:q0,visits:U0,company:G0,trainingType:K0,myWordTraining:Z0,myWordTable:Y0,keyWords:X0,wordTable:J0,wordSearch:Q0,wordPrint:e2,topic:t2,accessLinkManager:n2,login:a2,trainingPlanRun:r2,device:o2,manager:s2,wordPairs:i2,game:l2,footer:c2,landing:u2,date:d2,trainingSetPage:p2,wordTrainingPreview:h2,wordData:m2,textField:C2,segmentedControl:f2,tabs:g2,fileUpload:b2,avatar:y2,myHomework:v2,trainingStatus:x2,store:_2,homework:w2,inquiry:k2,progress:A2,trainingMiss:N2,table:B2,wordScore:S2,topBanner:D2,datePicker:j2,report:E2,tooltip:T2,phonemeProfile:M2},$2={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",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",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No 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"}}},R2={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",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"},P2={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",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},I2={clearAriaLabel:"Clear search"},F2={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},O2={selected:"selected"},H2={placeholder:"Select"},V2={collapse:"Collapse",expand:"Expand"},z2={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu"},W2={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",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"},q2={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",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"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},U2={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},G2={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password"},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},K2={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},Z2={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",diffPhonemeCount:"Total differing phonemes",n:"{{n}}"},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:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",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",stop:"Stop",preview:"Preview",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.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",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",done:"Done",viewResult:"View Results"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen"},Y2={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},X2={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"}},J2={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Q2={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},eC={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},tC={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},nC={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."}},aC={comingSoon:"Word training is coming soon."},rC={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"}},oC={title:"Key Words",empty:"No key words available."},sC={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",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",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",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)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} 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 a cell to mark \u25CB \xB7 \u25B3 \xB7 \u2715.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"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:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"}},iC={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",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",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"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},lC={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},cC={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"}},uC={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},dC={passwordPlaceholder:"Enter password"},pC={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove"},hC={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},mC={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",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}}",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:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},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."]},CC={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},fC={lead:`IHAB builds trust
|
|
830
830
|
through sound
|
|
831
|
-
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",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},pC={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},hC={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},mC={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},CC={answer:"Answer",distractor:"Distractor"},fC={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},gC={clearAriaLabel:"Clear input"},bC={ariaLabel:"Select tab"},yC={ariaLabel:"Tabs"},vC={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},xC={ariaLabel:"User avatar"},_C={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},wC={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},kC={import:"Add to my trainings",publisher:"Publisher",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"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},AC={manage:{unit:"item(s)"}},NC={cancelLabel:"Cancel"},BC={subtitle:"Select a topic to start listening practice."},DC={steps:"Step {{current}} of {{total}}"},SC={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},jC={resetColumns:"Reset column widths"},EC={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},TC={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},MC={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},LC={previewRegion:"Report preview \u2014 scrollable sideways"},$C={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},RC={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},PC={common:j2,calendar:E2,passCard:T2,searchField:M2,rating:L2,colorPicker:$2,dropdown:R2,accordion:P2,header:I2,nav:F2,settings:O2,usage:H2,account:z2,help:V2,training:W2,trainingSettings:q2,customers:U2,payment:G2,coupons:K2,visits:Z2,company:Y2,trainingType:X2,myWordTraining:J2,myWordTable:Q2,keyWords:eC,wordTable:tC,wordSearch:nC,wordPrint:aC,topic:rC,accessLinkManager:oC,login:sC,device:iC,manager:lC,wordPairs:cC,game:uC,footer:dC,landing:pC,date:hC,trainingSetPage:mC,wordTrainingPreview:CC,wordData:fC,textField:gC,segmentedControl:bC,tabs:yC,fileUpload:vC,avatar:xC,myHomework:_C,trainingStatus:wC,store:kC,homework:AC,inquiry:NC,trainingPlanRun:BC,progress:DC,trainingMiss:SC,table:jC,wordScore:EC,topBanner:TC,datePicker:MC,report:LC,tooltip:$C,phonemeProfile:RC};const IC=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Fs="ko",FC="ihab_display_language";function Os(){try{const e=localStorage.getItem(FC);if(e&&IC.some(n=>n.code===e))return e}catch{}return Fs}function Hs(e){try{document.documentElement.lang=e}catch{}}pn.on("languageChanged",Hs),Hs(Os()),pn.use(me.initReactI18next).init({resources:{ko:{translation:S2},en:{translation:PC}},lng:Os(),fallbackLng:Fs,interpolation:{escapeValue:!1},react:{useSuspense:!1}});function zs(e){if(!(e==null||e===""))return zn(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}function OC(e){const n=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(n)?"manager":"speechear"}function HC(e){if(e.durationDays&&e.durationDays>0){const o=e.durationDays;return o%365===0?`${o/365}\uB144`:`${o}\uC77C`}const n=(e.code??"").match(/(\d+)(d|y)\b/i);if(n)return n[2].toLowerCase()==="y"?`${n[1]}\uB144`:`${n[1]}\uC77C`;const a=e.name??"",r=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);return r?r[1].replace(/\s+/g,""):a||"\uC774\uC6A9\uAD8C"}function zC(e){const n=(e??"").match(/(\d+)(d|y)\b/i);if(!n)return null;const a=Number(n[1]);return n[2].toLowerCase()==="y"?a*365:a}function Vs(e){return{type:e.type??OC(e),plan:HC(e),label:e.label,price:zs(e.price),originalPrice:zs(e.originalPrice),discountLabel:e.discountLabel}}var VC='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7326)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23FAFAFA"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23FAFAFA"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23FAFAFA"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23FAFAFA"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7326">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',WC='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 200 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="200" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M96.43,48.35v-24.1h30.62v24.1h-30.62ZM142.98,69.15v7.21h-44.76v-15.72h34.46v-2.13h-34.6v-7.21h44.35v15.72h-34.33v2.13h34.88,0ZM106.25,32.56v7.41h11.05v-7.41h-11.05ZM148.33,40.39h-5.9v9.06h-9.89v-25.81h9.89v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M185.54,47.87v9.4c-2.79,1.28-7.16,1.92-13.11,1.92h-.62v17.16h-9.89v-17.16h-12.22v-9.4h22.86c5.86,0,10.18-.64,12.98-1.92h0ZM152.59,34.28v-9.4h28.7v22.17h-9.89v-12.77h-18.81ZM198.31,76.36h-9.89V23.64h9.89v52.73h0Z"/>%0A <path class="st1" d="M46.43,17.86h-21.43c-9.86,0-17.86,7.99-17.86,17.86v21.43c0,9.86,7.99,17.86,17.86,17.86h21.43c9.86,0,17.86-7.99,17.86-17.86v-21.43c0-9.86-7.99-17.86-17.86-17.86Z"/>%0A <path class="st1" d="M34.86,50.74c-9.03,9.94-24.25,10.93-34.48,2.42-.47-.39-.52-1.1-.11-1.55l16.07-17.69,18.51,16.81Z"/>%0A <path class="st1" d="M53.57,25h-21.43c-9.86,0-17.86,8-17.86,17.86v21.43c0,9.86,8,17.86,17.86,17.86h16.11c.96,0,1.75.78,1.75,1.75,0,1.02.88,1.83,1.89,1.74,10.95-.96,19.54-10.15,19.54-21.35v-21.43c0-9.86-8-17.86-17.86-17.86Z"/>%0A <path class="st2" d="M25,25c-5.92,0-10.71,4.8-10.71,10.71v28.57c0,3.09.79,6,2.17,8.54,2.54,1.39,5.45,2.17,8.54,2.17h28.57c5.92,0,10.71-4.8,10.71-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.54-1.39-5.45-2.17-8.54-2.17h-28.57Z"/>%0A <path class="st3" d="M25.36,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M36.07,57.14c-1.04,0-2.09-.27-3.04-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.59-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.33-4.44,2.91-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.35-5.56-.99-.06-1.94.12-2.81.54-.89.43-1.96.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.76.3,8.58,4.26,8.69,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',qC='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7325)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23111111"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23111111"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23111111"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23111111"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23111111"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7325">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',UC='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7395)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23FAFAFA"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23FAFAFA"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23FAFAFA"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23FAFAFA"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23FAFAFA"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7395">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',GC='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 371 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="371" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M237.15,26.04v46.68h-20.5V26.04h20.5ZM234.41,70.05V28.72h-15.15v41.33h15.15ZM261.49,76.36h-2.68v-27.39h-11.24v26.5h-2.68V23.98h2.68v22.31h11.24v-22.65h2.68v52.73h0Z"/>%0A <path class="st3" d="M299.72,69.26c2.35-.48,4.31-1.11,5.86-1.89v2.75c-1.51.82-3.44,1.46-5.79,1.92-2.35.46-4.74.69-7.17.69h-20.37V25.7h2.74v44.28h17.62c2.38,0,4.74-.24,7.1-.72h0ZM311.69,76.43V23.64h2.74v52.73l-2.74.07Z"/>%0A <path class="st3" d="M340.56,47.94l17.62,22.52-2.13,1.65-16.18-20.94c-1.46,6.18-3.54,11.1-6.24,14.76-2.7,3.66-5.9,5.93-9.6,6.8v-2.75c3.25-.82,6.01-3.11,8.3-6.86,2.29-3.75,4.02-8.59,5.21-14.52,1.19-5.92,1.83-12.55,1.92-19.87h-14.47v-2.68h31.61v2.68h-14.4c-.05,7.19-.6,13.59-1.64,19.22h0ZM369.22,76.36h-2.74v-28.9h-14.06v-2.68h14.06v-21.14h2.74v52.73Z"/>%0A <path class="st3" d="M92.88,48.35v-24.1h30.58v24.1h-30.58ZM139.37,69.15v7.21h-44.71v-15.72h34.42v-2.13h-34.56v-7.21h44.3v15.72h-34.28v2.13h34.83,0ZM102.68,32.56v7.41h11.04v-7.41h-11.04ZM144.72,40.39h-5.9v9.06h-9.88v-25.81h9.88v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M181.89,47.87v9.4c-2.79,1.28-7.16,1.92-13.1,1.92h-.62v17.16h-9.88v-17.16h-12.2v-9.4h22.83c5.85,0,10.17-.64,12.96-1.92h0ZM148.97,34.28v-9.4h28.66v22.17h-9.87v-12.77h-18.79ZM194.64,76.36h-9.88V23.64h9.88v52.73h0Z"/>%0A <path class="st1" d="M48.15,17.86h-21.4c-9.85,0-17.84,7.99-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h21.4c9.85,0,17.84-7.99,17.84-17.86v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st1" d="M36.6,50.74c-9.02,9.94-24.22,10.93-34.44,2.42-.47-.39-.52-1.1-.11-1.55l16.06-17.69,18.49,16.81Z"/>%0A <path class="st1" d="M55.29,25h-21.4c-9.85,0-17.84,8-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h16.09c.96,0,1.74.78,1.74,1.75,0,1.02.87,1.83,1.89,1.74,10.93-.96,19.51-10.15,19.51-21.35v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st2" d="M26.75,25c-5.91,0-10.7,4.8-10.7,10.71v28.57c0,3.09.79,6,2.17,8.54,2.53,1.39,5.44,2.17,8.53,2.17h28.54c5.91,0,10.7-4.8,10.7-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.53-1.39-5.44-2.17-8.53-2.17h-28.54Z"/>%0A <path class="st3" d="M27.11,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M37.81,57.14c-1.04,0-2.09-.27-3.03-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.58-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.32-4.44,2.9-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.34-5.56-.99-.06-1.93.12-2.81.54-.89.43-1.95.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.75.3,8.57,4.26,8.68,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',KC='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7394)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23111111"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23111111"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23111111"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23111111"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23111111"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23111111"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23111111"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7394">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Ws='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7305)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7179 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7179 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7305">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const gn={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Xa=new WeakMap;function ZC(e){if(e)return Xa.get(e)}function Zt(e,n){e&&(e.style.setProperty(gn.text,n.text),e.style.setProperty(gn.sub,n.sub),n.copyrightColor&&e.style.setProperty(gn.copyright,n.copyrightColor),Xa.set(e,n))}function Yt(e){e&&(e.style.removeProperty(gn.text),e.style.removeProperty(gn.sub),e.style.removeProperty(gn.copyright),Xa.delete(e))}const qs={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Us(e={}){const n=nt(qs,Zt,Yt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-two-circle__c1"}),t.jsx("div",{className:"pass-card-bg-two-circle__c3"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${Ws}")`}})]})}const Gs="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464Z";var Un='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65181)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="url(%23paint0_linear_2175_65181)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2175_65181" x1="29.6392" y1="29.6393" x2="75.2535" y2="75.2536" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2175_65181">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const YC={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},XC=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function Ks(e={}){const n=nt(YC,Zt,Yt),a="var(--color-main)",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[t.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:XC.map(({scale:s,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${s}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:Gs,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${Un}")`}})]})}const JC={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},QC=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function ef(e={}){const n=nt(JC,Zt,Yt),a="#ffffff",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[t.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:QC.map(({scale:s,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${s}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:Gs,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${Ws}")`}})]})}const tf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function nf(e={}){const n=nt(tf,Zt,Yt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${Un}")`}})]})}const af={Logo_speechear_kr:{"":Za,_white:VC,_textWhite:WC,_black:qC},Logo_speechearManager_kr:{"":Ya,_white:UC,_textWhite:GC,_black:KC}};function rf(e,n){if(e)return af[e]?.[n??""]??void 0}const of={speechear:Za,manager:Ya},sf={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},Zs=10;function lf(e,n){if(e<=0)return n("passCard.remainingSecond",{n:0});const a=Math.floor(e/86400);if(a>0)return n("passCard.remainingDay",{n:a});const r=Math.floor(e/3600);if(r>0)return n("passCard.remainingHour",{n:r});const o=Math.floor(e/60);return o>0?n("passCard.remainingMinute",{n:o}):n("passCard.remainingSecond",{n:Math.floor(e)})}function cf(e,n,a){if(e==="manager"){const r=/년/.test(n)||/yr|year/i.test(n)||/1년|365/.test(n),o=a==="\uC624\uD508\uD2B9\uAC00"||a===pn.t("passCard.specialLabel");return r?t.jsx(nf,{}):o?t.jsx(ef,{}):t.jsx(Ks,{})}return t.jsx(Us,{})}function Ys({product:e,showPrice:n=!1,plan:a,type:r,endDate:o,remainingSeconds:s,state:l="active",bg:c,bgOnly:d=!1,textColor:u,subColor:h,copyrightColor:p,logoSrc:m,label:g,price:f,originalPrice:C,discountLabel:b,onUse:y,onRefund:w,onDelete:_}){const{t:v}=me.useTranslation(),D=e?Vs(e):void 0,x=r??D?.type??"speechear",A=a??D?.plan??"\uC774\uC6A9\uAD8C",M=g??D?.label,k=f??(n?D?.price:void 0),S=C??(n?D?.originalPrice:void 0),H=b??D?.discountLabel,R=i.useMemo(()=>{if(k)return null;const T=e?.durationDays??zC(e?.code);if(!T||T<=0)return null;const q=T*86400;let ee;if(s!=null)ee=s;else if((l==="active"||l==="expired")&&o){const ie=new Date(o).getTime();if(Number.isNaN(ie))return null;const ue=new Date;ue.setHours(0,0,0,0);const se=new Date(ie);se.setHours(0,0,0,0);const ae=Math.round((se.getTime()-ue.getTime())/864e5);ee=Math.max(0,ae)*86400}else l==="expired"?ee=0:ee=q;const Ce=Math.max(0,Math.min(100,Math.floor(Math.min(ee,q)/q*100)));return l==="pending"&&Ce>=100?null:{percent:Ce,remainingLabel:lf(ee,v)}},[k,l,o,s,e?.durationDays,e?.code,v]),j=i.useRef(null),[P,B]=i.useState({}),[O,Y]=i.useState(null),X=!!(y||w||_),Q=i.useRef(!1),E=i.useRef(void 0),[$,L]=i.useState(m);i.useLayoutEffect(()=>{L(m)},[m]),i.useLayoutEffect(()=>{const T=j.current;T&&(u!==void 0&&T.style.setProperty("--pass-card-text",u),h!==void 0&&T.style.setProperty("--pass-card-sub",h),p!==void 0&&T.style.setProperty("--pass-card-copyright",p))},[u,h,p]),i.useLayoutEffect(()=>{const T=j.current;if(!T)return;const q=ZC(T);if(!m){const ee=sf[x],Ce=l==="expired"?"_black":q?.logoColor??"",ie=rf(ee,Ce);L(ie)}},[c,m,x,l]);const V=T=>{const q=j.current;if(!q)return null;const{left:ee,top:Ce,width:ie,height:ue}=q.getBoundingClientRect(),se=(T.clientX-ee)/ie-.5;return{rotateX:-((T.clientY-Ce)/ue-.5)*Zs,rotateY:se*Zs}},z=(T,q)=>{const ee=q*-.7,Ce=T*.7+10,ie=20+(Math.abs(T)+Math.abs(q))*.4;return`${ee}px ${Ce}px ${ie}px rgba(0, 0, 0, 0.18)`},J=i.useCallback(T=>{Q.current=!0,clearTimeout(E.current),E.current=setTimeout(()=>{Q.current=!1},200);const q=V(T);q&&B({transform:`perspective(800px) rotateX(${q.rotateX}deg) rotateY(${q.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:z(q.rotateX,q.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),I=i.useCallback(T=>{const q=V(T);if(!q)return;const ee=Q.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";B({transform:`perspective(800px) rotateX(${q.rotateX}deg) rotateY(${q.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:z(q.rotateX,q.rotateY),transition:ee})},[]),U=i.useCallback(()=>{clearTimeout(E.current),Q.current=!1,B({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),K=i.useCallback(()=>Y(null),[]),oe=i.useMemo(()=>{const T=A.replace("\uC774\uC6A9\uAD8C","").trim(),q=T.match(/^(.*?)(일|년)$/);return q?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"h0 pass-card__plan-number",children:q[1]}),t.jsx("span",{className:"h5b pass-card__plan-unit",children:q[2]==="\uB144"?v("passCard.unitYear","\uB144"):v("passCard.unitDay","\uC77C")})]}):t.jsx("span",{className:"h0",children:T})},[A,v]),pe=i.useMemo(()=>{const T=zn(k);if(!T)return null;const q=T.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!q)return t.jsx("span",{className:"h1",children:T});const[,ee,Ce,ie]=q;return t.jsxs(t.Fragment,{children:[ee&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:ee}),t.jsx("span",{className:"h1 pass-card__price-amount",children:Ce}),ie.trim()&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:ie.trim()})]})},[k]),fe=i.useCallback(()=>{X&&Y(T=>{if(T)return null;const q=j.current?.getBoundingClientRect();if(!q)return null;const ee=50;return{left:q.left,right:q.right,width:q.width,height:q.height,x:q.x,y:q.y+ee,top:q.top+ee,bottom:q.bottom+ee}})},[X]),ge=i.useCallback(T=>{X&&(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),fe())},[X,fe]),he=[{items:[...y?[{label:v("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{y(),Y(null)},closeOnSelect:!0}]:[],...w?[{label:v("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{w(),Y(null)},closeOnSelect:!0}]:[],..._?[{label:v("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{_(),Y(null)},closeOnSelect:!0}]:[]]}];return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card-frame",children:t.jsxs("div",{ref:j,className:`pass-card pass-card--${l}${X?" pass-card--clickable":""}`,style:P,onMouseEnter:J,onMouseMove:I,onMouseLeave:U,onClick:fe,onKeyDown:X?ge:void 0,role:X?"button":void 0,tabIndex:X?0:void 0,children:[c??cf(x,A,M),!d&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card__top",children:t.jsxs("div",{className:"pass-card__top-left",children:[t.jsx("img",{src:$??of[x],className:"pass-card__logo",alt:x==="manager"?v("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):v("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),t.jsxs("div",{className:"pass-card__plan",children:[t.jsx("div",{children:oe}),t.jsx("span",{className:"h5b pass-card__plan-suffix",children:M?v("passCard.labeledPlan",{label:M}):v("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),k?t.jsxs("div",{className:"pass-card__price-area",children:[H&&t.jsx("span",{className:"pass-card__discount body-3",children:H}),t.jsxs("div",{className:"pass-card__price",children:[S&&t.jsx("span",{className:"pass-card__price-original body-3",children:zn(S)}),pe]})]}):R?t.jsxs("div",{className:"pass-card__usage",children:[t.jsx("span",{className:"h5b pass-card__usage-remaining",children:R.remainingLabel}),t.jsxs("span",{className:"pass-card__usage-percent",children:[t.jsx("span",{className:"h1 pass-card__usage-value",children:R.percent}),t.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):t.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),O&&t.jsx(nn,{anchorRect:O,onClose:K,ariaLabel:v("tooltip.menu","\uBA54\uB274"),children:t.jsx(la,{columns:he,onClose:K,size:"small"})})]})}const uf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function df(e={}){const n=`passcard-sound-line-grad-${i.useId()}`,a=nt(uf,Zt,Yt);return t.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[t.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"1",y2:"0",children:[t.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),t.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),t.jsx("g",{transform:"translate(25, 45)",children:t.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${n})`,strokeWidth:"50",strokeLinecap:"round"})})]}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${Un}")`}})]})}const pf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function hf(e={}){const n=nt(pf,Zt,Yt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${Un}")`}})]})}function mf(e,n){if(e){if(n==="manager_pro")return t.jsx(hf,{});if(n==="manager_standard")return t.jsx(df,{});if(n==="manager_lite")return t.jsx(Ks,{})}}function Cf(e){const n=zn(e);if(!n)return null;const a=n.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return n;const[,r,o,s]=a;return t.jsxs(t.Fragment,{children:[r&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:r}),o,s.trim()&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:s.trim()})]})}function ff(e){const{t:n}=me.useTranslation(),a=n("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),r=n("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:o,onSelect:s,period:l="monthly",ownedCodes:c}=e||{},d=_=>!!_&&!!c?.includes(_),u=(o.tiers||[]).some(_=>/오픈\s*특가/.test(_.label??"")&&d(_.code)),h=_=>{const v=_.prices?_.prices[l]:_.price;return v?(o.tiers||[]).some(D=>!!D.badge&&D.originals?.[l]===v):!1},p=o.colorToken?`var(--color-${o.colorToken})`:"var(--color-gray)",m=n("payment.plan.freePrice","\uBB34\uB8CC"),g=n("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),f=_=>_.prices?_.prices[l]:_.price,C=(o.tiers||[]).length>0&&(o.tiers||[]).every(_=>{const v=f(_);return v==="\uBB34\uB8CC"||v===m||v==="0\uC6D0"}),b=(o.tiers||[]).length>0&&(o.tiers||[]).every(_=>{const v=f(_);return v==="\uBB38\uC758"||v===g}),y=o.group==="org",w=y?"manager":"speechear";return t.jsxs("div",{className:"payment-plan__card",style:{borderColor:p,"--plan-color":p},children:[o.cardBadge&&t.jsx("div",{className:"payment-plan__card-badge",children:t.jsx(ut,{label:o.cardBadge,variant:"main",size:"medium",fill:"soft"})}),t.jsxs("div",{className:"payment-plan__title",children:[t.jsx("p",{className:"payment-plan__quote body-3b",style:{color:p},children:o.quote||"\xA0"}),t.jsx("h3",{className:"payment-plan__title-heading h1",children:o.tier??o.title}),t.jsx("p",{className:"payment-plan__subtitle body-3",children:o.subtitle})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.recommendedFor||[]).map((_,v)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ie,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:p}}),_]},v))})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.features||[]).map((_,v)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ie,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:p}}),_]},v))})]}),t.jsx("div",{className:"payment-plan__card-pricing",children:C?null:b?t.jsx(te,{className:"payment-plan__contact-button",label:n("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>o.tiers?.[0]&&s?.({...o.tiers[0],productId:o.id,productTitle:o.title})}):t.jsx(t.Fragment,{children:t.jsx("div",{className:"payment-plan__pricing-list",children:(o.tiers||[]).map(_=>{const v=_.label||a,D=/오픈\s*특가/.test(v),x=D||_.openPromo===!0,A=v.replace(/^오픈\s*특가\s*/,"")||a,M=_.prices?_.prices[l]:_.price,k=_.badge?x?`${r}
|
|
832
|
-
${_.badge}`:_.badge:void 0;if(D&&d(_.code))return null;if(!_.badge&&!u)return h(_)?null:t.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${_.highlight?" payment-plan__pricing-row--highlight":""}`,children:[t.jsx("div",{className:"payment-plan__pricing-row-title",children:t.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:_.label})}),t.jsx("div",{className:"payment-plan__pricing-row-price",children:t.jsx("span",{className:"payment-plan__pricing-current h1",children:Cf(M)})})]},_.id);const S=o.tier??(y?o.title:void 0),H=t.jsx(Ys,{showPrice:!0,product:{type:w,code:_.code,name:A,label:S,price:M,originalPrice:_.originals?.[l]??void 0,discountLabel:k},bg:mf(y,o.id)}),R=()=>s?.({..._,productId:o.id,productTitle:o.title,preview:H});return t.jsx("div",{className:"payment-plan__pricing-card",onClick:R,onKeyDown:s?j=>{j.target===j.currentTarget&&(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),R())}:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,children:H},_.id)})})})})]})}function gf({variant:e="default"}){return t.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var Ja='data:image/svg+xml,<svg width="264" height="100" viewBox="0 0 264 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2079_3030)">%0A<path d="M60.9019 24.7464C54.4446 18.2821 45.5257 14.2857 35.6757 14.2857C25.8256 14.2857 23.2106 24.5964 16.7569 31.0607C10.2996 37.5214 0 40.1857 0 50C0 59.8143 3.99211 68.7893 10.4494 75.2536C16.9067 81.7178 25.8256 85.7143 35.6757 85.7143C45.5257 85.7143 54.4446 81.7178 60.9019 75.2536C67.3592 68.7893 71.3513 59.8607 71.3513 50C71.3513 40.1393 67.3592 31.2107 60.9019 24.7464ZM48.2906 62.6286C45.0619 65.8607 40.6025 67.8571 35.6757 67.8571C30.7489 67.8571 26.2894 65.8571 23.0608 62.6286C19.8321 59.3964 17.8378 54.9321 17.8378 50C17.8378 45.0678 19.8357 40.6036 23.0608 37.3714C26.2894 34.1393 30.7489 32.1428 35.6757 32.1428C40.6025 32.1428 45.0619 34.1428 48.2906 37.3714C51.5192 40.6036 53.5135 45.0678 53.5135 50C53.5135 54.9321 51.5157 59.3964 48.2906 62.6286Z" fill="url(%23paint0_linear_2079_3030)"/>%0A<path d="M106.735 74.8322H93.6274V24.8322H106.735V74.8322Z" fill="%23111111"/>%0A<path d="M113.495 24.8322H126.602V44.5143H145.022V24.8322H158.197V74.8322H145.022V55.15H126.602V74.8322H113.495V24.8322Z" fill="%23111111"/>%0A<path d="M163.027 74.8322L179.652 24.8322H197.519L214.076 74.8322H199.934L196.969 65.025H180.205L177.241 74.8322H163.031H163.027ZM193.933 55.0786L188.76 38.2964H188.346L183.241 55.0786H193.933Z" fill="%23111111"/>%0A<path d="M218.906 24.8322H240.29C251.674 24.8322 257.675 29.7357 257.675 37.4C257.675 42.925 253.743 47.1393 248.085 48.3107V48.7929C254.364 49 259.605 53.6286 259.605 60.7393C259.605 68.8893 252.983 74.8286 242.081 74.8286H218.902V24.8322H218.906ZM244.157 40.1643C244.157 36.9857 241.674 35.1929 238.085 35.1929H232.013V45.1393H237.878C241.535 45.1393 244.157 43.3429 244.157 40.1679V40.1643ZM245.741 59.0857C245.741 55.425 243.119 53.3536 238.913 53.3536H232.013V64.2643H238.706C243.397 64.2643 245.741 62.4679 245.741 59.0857Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2079_3030" x1="15.337" y1="29.6393" x2="60.9512" y2="75.2042" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2079_3030">%0A<rect width="264" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Xs={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function bf(){const e=nt(Xs,Zt,Yt);return t.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${Ja}")`}})})}const Js={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function yf(e={}){const n=nt(Js,Zt,Yt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),t.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${Un}")`}})]})}function Qs({keys:e,anchor:n="top-right",scale:a,className:r=""}){const o=Array.isArray(e)?e:[e];return t.jsx("span",{className:ye("shortcut-badge",`shortcut-badge--${n}`,r),style:a===void 0?void 0:{"--shortcut-badge-scale":String(a)},children:o.map((s,l)=>t.jsxs("span",{className:"shortcut-badge__group",children:[l>0&&t.jsx("span",{className:"shortcut-badge__plus",children:"+"}),t.jsx("kbd",{className:"shortcut-badge__key",children:s})]},`${s}-${l}`))})}const Gn=(e,n,a)=>e+(n-e)*a;function vf({speakers:e,size:n=300,viewT:a=0,activeSpeakerId:r=null,playedIds:o,selectedId:s=null,answerId:l=null,showFeedback:c=!1,pulseSelected:d=!1,pulseSelectedDuration:u,pulseScale:h,clickable:p=!1,onSelectSpeaker:m,buttonSize:g=40,showIcon:f=!0,onCenterClick:C,centerLabel:b,centerDisabled:y=!1,centerAttention:w=!1,shortcutAnchor:_="top-right",shortcutScale:v,scaleShortcut:D=!1}){const x=Math.max(0,Math.min(1,a)),A=n/2,M=110/300,k=.18,S=T=>n*(M+(T-1)*k),H=T=>{const q=S(T.row??1),ee=T.angleDeg*Math.PI/180;return{x:A+q*Math.cos(ee),y:A+q*Math.sin(ee)}},R=Math.max(...e.map(T=>T.row??1),1),j=n*.08,P=n*.1,B=n*.24,O=n-2*j,Y=n-P-B,X=n-B/2,Q=i.useMemo(()=>[...new Set(e.map(T=>T.deg))].sort((T,q)=>T-q),[e]),E=Q.length,$=Math.max(68,E>1?O/(E-1):0),L=i.useMemo(()=>new Map(Q.map((T,q)=>[T,q])),[Q]),V=T=>{const q=L.get(T.deg)??0,ee=A+(q-(E-1)/2)*$,Ce=R>1?Math.min(68,Y/(R-1)):0,ie=Ce*(R-1),ue=P+(Y-ie)/2,se=R===1?P+Y*.4:ue+(R-(T.row??1))*Ce;return{x:ee,y:se}},z=T=>{const q=H(T),ee=V(T);return{x:Gn(q.x,ee.x,x),y:Gn(q.y,ee.y,x)}},J={x:A,y:Gn(A,X,x)},I=Math.round(g*1.2),U=Math.round(Math.max(16,Math.min(80,g*.7))),K=[],oe=new Map;for(const T of e){const q=T.row??1;oe.has(q)||oe.set(q,[]),oe.get(q).push(T)}for(const[T,q]of oe.entries()){if(q.length<2)continue;const ee=[...q].sort((ke,Pe)=>ke.deg-Pe.deg),Ce=ee.map(ke=>z(ke)),ie=ee.map(ke=>ke.deg),ue=ie[ie.length-1]-ie[0],se=ue/(ie.length-1),ae=360-ue,je=ee.length>=3&&se>0&&ae<=se*1.5,Fe=Math.round(S(T)*1e3)/1e3,He=(ke,Pe,Ye,xe)=>{const Oe=(Pe.angleDeg-ke.angleDeg+540)%360-180;if(Oe===0)return`L ${xe.x} ${xe.y}`;if(x===0)return`A ${Fe} ${Fe} 0 0 ${Oe>0?1:0} ${xe.x} ${xe.y}`;const Se=(ke.angleDeg+Oe/2)*Math.PI/180,We={x:A+Fe*Math.cos(Se),y:A+Fe*Math.sin(Se)},Xe={x:(Ye.x+xe.x)/2,y:(Ye.y+xe.y)/2},qe={x:Gn(We.x,Xe.x,x),y:Gn(We.y,Xe.y,x)},Re={x:2*qe.x-Xe.x,y:2*qe.y-Xe.y};return`Q ${Re.x} ${Re.y} ${xe.x} ${xe.y}`},$e=je?[...ee,ee[0]]:ee,Ee=je?[...Ce,Ce[0]]:Ce;let De=`M ${Ee[0].x} ${Ee[0].y}`;for(let ke=1;ke<Ee.length;ke++)De+=" "+He($e[ke-1],$e[ke],Ee[ke-1],Ee[ke]);K.push({key:`arc-${T}`,d:De})}const pe=i.useMemo(()=>new Set(o??[]),[o]),fe=T=>{if(r===T.id)return"active";if(c){if(T.id===l)return"correct";if(T.id===s&&s!==l)return"wrong"}return pe.has(T.id)?"played":"idle"},ge=T=>r===T.id?"loop":c?T.id===l?"loop":null:d&&T.id===s?"once":null,he=(T,q)=>{switch(T){case"played":case"correct":return t.jsx(Wr,{size:q});case"wrong":return t.jsx(eo,{size:q});default:return t.jsx(Qr,{size:q})}};return t.jsx("div",{className:"sound-compass",children:t.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:n,height:n},children:[t.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,className:"sound-compass__svg",children:[x===0&&e.map(T=>{const{x:q,y:ee}=z(T);return t.jsx("line",{x1:J.x,y1:J.y,x2:q,y2:ee,stroke:"#dde3ec",strokeWidth:"1"},T.id)}),K.map(T=>t.jsx("path",{d:T.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},T.key))]}),w&&!y&&t.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:I,height:I,left:J.x-I/2,top:J.y-I/2}}),C?t.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${y?" sound-compass__center--disabled":""}`,style:{width:I,height:I,left:J.x,top:J.y},"aria-label":b,"aria-disabled":y||void 0,tabIndex:y?-1:0,onClick:y?void 0:C,children:t.jsx(wa,{size:U,color:"currentColor",strokeWidth:1.5})}):t.jsx("div",{className:"sound-compass__center",style:{width:I,height:I,left:J.x,top:J.y},children:t.jsx(wa,{size:U,color:"currentColor",strokeWidth:1.5})}),e.map((T,q)=>{const{x:ee,y:Ce}=z(T),ie=fe(T),ue=ge(T),se={...v!==void 0||D?{"--shortcut-badge-scale":String(v??Math.max(.75,Math.min(3,g/56)))}:null,pointerEvents:p?"auto":"none",cursor:p?"pointer":"default",zIndex:ie!=="idle"?10:1},ae=g,je=Math.round(Math.max(10,Math.min(56,ae*.38))),Fe=Math.round(Math.max(7,Math.min(18,ae*.2))),He=Math.round(Math.max(10,Math.min(56,ae*.4))),$e=f==="answered"&&(ie==="played"||ie==="correct"||ie==="wrong"),Ee=f===!0||$e,De=!$e;return t.jsxs("div",{className:"sound-compass__speaker-pos",style:{...se,left:ee-ae/2,top:Ce-ae/2},children:[ue&&t.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${ie}`+(ue==="once"?" sound-compass__pulse--once":""),style:{width:ae,height:ae,...ue==="once"&&u!==void 0?{"--sc-pulse-duration-once":`${u}ms`}:null,...h!==void 0?{"--sc-pulse-scale":String(h)}:null}}),t.jsxs("button",{type:"button",tabIndex:p?0:-1,"aria-disabled":p?void 0:!0,onClick:p?()=>m?.(T.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${ie}`,style:{width:ae,height:ae},"aria-label":T.label,children:[Ee&&he(ie,je),De&&t.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:f===!0?Fe:He},children:q+1})]}),T.shortcut&&t.jsx(Qs,{keys:T.shortcut,anchor:_,className:"sound-compass__speaker-shortcut"})]},T.id)})]})})}function xf({children:e,position:n="top-left",size:a=24,className:r=""}){return t.jsx("span",{className:ye("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${n}`,r),children:e})}function _f({orientation:e="horizontal",label:n,className:a=""}){const r=ye("divider",`divider--${e}`,n&&e==="horizontal"?"divider--labeled":"",a);return e==="vertical"?t.jsx("div",{className:r,role:"separator","aria-orientation":"vertical"}):n?t.jsxs("div",{className:r,role:"separator","aria-orientation":"horizontal",children:[t.jsx("span",{className:"divider__line"}),t.jsx("span",{className:"divider__label caption-1",children:n}),t.jsx("span",{className:"divider__line"})]}):t.jsx("div",{className:r,role:"separator","aria-orientation":"horizontal"})}function ei({checked:e,onChange:n,name:a,value:r,disabled:o=!1,label:s,className:l=""}){const c=i.useId();return t.jsxs("label",{className:`radio${o?" radio--disabled":""} ${l}`.trim(),htmlFor:c,children:[t.jsx("input",{id:c,type:"radio",name:a,value:r,checked:e,disabled:o,onChange:d=>n?.(d.target.checked)}),t.jsx("span",{className:"radio__dot"}),s&&t.jsx("span",{className:"radio__label body-2",children:s})]})}function wf({options:e,value:n,onChange:a,name:r,disabled:o=!1,direction:s="vertical",className:l=""}){const c=i.useId(),d=r??`radio-group-${c}`;return t.jsx("div",{className:`radio-group radio-group--${s} ${l}`.trim(),role:"radiogroup",children:e.map(u=>t.jsx(ei,{name:d,value:u.value,checked:n===u.value,disabled:o||u.disabled,label:u.label,onChange:h=>{h&&a?.(u.value)}},u.value))})}const kf={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function Af({tone:e="info",title:n,message:a,children:r,dismissible:o=!1,onDismiss:s,className:l=""}){const{t:c}=me.useTranslation(),[d,u]=i.useState(!1),h=i.useCallback(()=>{u(!0),s?.()},[s]);if(d)return null;const p=ye("alert",`alert--${e}`,l),m=!!n,g=!!(a||r);return t.jsxs("div",{className:p,role:"alert",children:[t.jsxs("div",{className:"alert__body",children:[t.jsxs("div",{className:"alert__header",children:[t.jsx(Ie,{icon:kf[e],size:20,className:"alert__icon"}),m&&t.jsx("span",{className:"alert__title body-2",children:n}),!m&&g&&t.jsx("div",{className:"alert__message body-3",children:a??r})]}),m&&g&&t.jsx("div",{className:"alert__message alert__message--indented body-3",children:a??r})]}),o&&t.jsx("button",{type:"button",className:"alert__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}const Nf={ready:"search",guide:"info",error:"circle-alert"};function Bf(e,n){const a=n.filter(Boolean);if(a.length===0)return e;const r=[];let o=0,s=0;for(const l of a){const c=e.indexOf(l,o);c<0||(c>o&&r.push(e.slice(o,c)),r.push(t.jsx("strong",{className:"search-summary__em body-2",children:l},s++)),o=c+l.length)}return o<e.length&&r.push(e.slice(o)),r}function Df({status:e="guide",label:n,children:a,emphasis:r,icon:o,className:s=""}){const l=o===!1?null:o??Nf[e],c=ye("search-summary",`search-summary--${e}`,s),d=n??a,u=typeof d=="string"&&r&&r.length>0?Bf(d,r):d;return t.jsxs("div",{className:c,role:"status","aria-live":"polite",children:[l!=null&&t.jsx(Ie,{icon:l,size:18,className:"search-summary__icon"}),t.jsx("span",{className:"search-summary__text body-2",children:u})]})}function Kn({title:e,items:n}){const{t:a}=me.useTranslation(),{anchorRect:r,openAt:o,close:s}=ia();return t.jsxs(t.Fragment,{children:[t.jsx(te,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!r,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:l=>o(l.currentTarget),onPointerLeave:s,onFocus:l=>o(l.currentTarget),onBlur:s}),r&&t.jsx(fn,{title:e,items:n,showIndex:n.length>1,anchorRect:r,onClose:s})]})}function Sf({items:e=[],value:n,onChange:a,className:r="",size:o=40}){const s=i.useId(),{t:l}=me.useTranslation(),c=i.useRef(null),d=n??e[0]?.key,u=()=>Array.from(c.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),h=(g,f=u())=>{if(f.length===0)return;const C=(g%f.length+f.length)%f.length;f[C]?.focus(),f[C]?.click()},p=g=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(g.key))return;g.preventDefault();const f=u(),C=f.indexOf(g.currentTarget);g.key==="ArrowRight"||g.key==="ArrowDown"?h(C+1,f):g.key==="ArrowLeft"||g.key==="ArrowUp"?h(C-1,f):g.key==="Home"?h(0,f):h(f.length-1,f)},m=e.find(g=>g.key===d);return t.jsxs("div",{className:`tabs ${r}`.trim(),children:[t.jsx("div",{ref:c,className:`tabs__list tabs__list--${o}`,role:"tablist","aria-label":l("tabs.ariaLabel","\uD0ED"),children:e.map(g=>t.jsx("button",{id:`tabs__tab-${s}-${g.key}`,type:"button",role:"tab","aria-selected":g.key===d,"aria-controls":`tabs__panel-${s}-${g.key}`,disabled:g.disabled,tabIndex:g.key===d?0:-1,className:`tabs__tab body-2${g.key===d?" tabs__tab--active":""}`,onClick:()=>a?.(g.key),onKeyDown:p,children:g.label},g.key))}),m&&t.jsx("div",{id:`tabs__panel-${s}-${m.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${s}-${m.key}`,tabIndex:0,className:"tabs__panel",children:m.panel},m.key)]})}const jf={xs:12,sm:16,md:20,lg:28,xl:36};function Ef(e){const n=e.trim().split(/\s+/).filter(Boolean);return n.length===0?"":n.length===1?[...n[0]].slice(0,2).join("").toUpperCase():([...n[0]][0]+[...n[n.length-1]][0]).toUpperCase()}function Tf({src:e,name:n,size:a="md",shape:r="circle",className:o=""}){const{t:s}=me.useTranslation(),[l,c]=i.useState(!1),d=n?Ef(n):"",u=!!e&&!l,h=!u&&!!d,p=n||s("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return t.jsxs("span",{className:`avatar avatar--${a} avatar--${r} ${o}`.trim(),role:"img","aria-label":p,children:[u&&t.jsx("img",{className:"avatar__image",src:e,alt:p,onError:()=>c(!0)}),!u&&h&&t.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:d}),!u&&!h&&t.jsx(Ie,{icon:"user-round",size:jf[a],className:"avatar__icon"})]})}function Mf(e,n){if(!n)return!0;const a=n.split(",").map(s=>s.trim()).filter(Boolean);if(a.length===0)return!0;const r=e.name.toLowerCase(),o=e.type.toLowerCase();return a.some(s=>{const l=s.toLowerCase();return l.startsWith(".")?r.endsWith(l):l.endsWith("/*")?o.startsWith(l.slice(0,-1)):o===l})}function Lf({onFilesSelected:e,accept:n,multiple:a=!1,disabled:r=!1,showFileList:o=!0,files:s,onRemove:l,className:c=""}){const{t:d}=me.useTranslation(),u=i.useRef(null),[h,p]=i.useState(!1),[m,g]=i.useState([]),f=s??m,C=x=>{if(!x||x.length===0)return;const A=Array.from(x).filter(k=>Mf(k,n));if(A.length===0)return;const M=a?A:A.slice(0,1);if(s===void 0){const k=a?[...f,...M]:M;g(k),e?.(k)}else e?.(M)},b=x=>{x.preventDefault(),!r&&p(!0)},y=x=>{x.preventDefault(),p(!1)},w=x=>{x.preventDefault(),p(!1),!r&&C(x.dataTransfer.files)},_=x=>{C(x.target.files),x.target.value=""},v=()=>{r||u.current?.click()},D=x=>{if(l){l(x);return}if(s===void 0){const A=f.filter((M,k)=>k!==x);g(A),e?.(A)}};return t.jsxs("div",{className:`file-upload ${c}`.trim(),children:[t.jsxs("div",{className:ye("file-upload__dropzone",h&&"file-upload__dropzone--dragging",r&&"file-upload__dropzone--disabled"),role:"button",tabIndex:r?-1:0,"aria-disabled":r,onClick:v,onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),v())},onDragOver:b,onDragLeave:y,onDrop:w,children:[t.jsx(Ie,{icon:"upload",size:24,className:"file-upload__icon"}),t.jsx("span",{className:"file-upload__prompt body-2",children:d("fileUpload.dragPrompt","\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC")}),t.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:r,onClick:x=>{x.stopPropagation(),v()},children:d("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),t.jsx("input",{ref:u,type:"file",className:"file-upload__input",accept:n,multiple:a,disabled:r,onChange:_,tabIndex:-1})]}),o&&f.length>0&&t.jsx("ul",{className:"file-upload__list",children:f.map((x,A)=>t.jsxs("li",{className:"file-upload__list-item body-3",children:[t.jsx("span",{className:"file-upload__file-name body-3",children:x.name}),t.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":d("fileUpload.removeAriaLabel",{name:x.name}),onClick:()=>D(A),children:t.jsx(Ie,{icon:"x",size:14})})]},`${x.name}-${A}`))})]})}function $f({items:e,className:n=""}){return t.jsx("nav",{className:`breadcrumb ${n}`.trim(),"aria-label":"breadcrumb",children:t.jsx("ol",{className:"breadcrumb__list",children:e.map((a,r)=>{const o=r===e.length-1;return t.jsxs("li",{className:"breadcrumb__item",children:[o?t.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:a.label}):t.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:a.onClick,children:a.label}),!o&&t.jsx(Ie,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},r)})})})}const Rf={small:14,medium:20,large:28};function Pf({value:e,onChange:n,max:a=5,readOnly:r=!1,size:o="medium",ariaLabel:s,className:l=""}){const{t:c}=me.useTranslation(),d=r||!n,[u,h]=i.useState(null),p=u??e,m=Rf[o],g=v=>{d||n?.(v)},f=v=>{d||h(v)},C=i.useRef(null),b=v=>{const D=Math.min(a,Math.max(1,v));n?.(D),Array.from(C.current?.querySelectorAll("[data-star]")??[]).find(x=>x.dataset.star===String(D))?.focus()},y=v=>{if(!d){switch(v.key){case"ArrowRight":case"ArrowUp":b((e||0)+1);break;case"ArrowLeft":case"ArrowDown":b((e||1)-1);break;case"Home":b(1);break;case"End":b(a);break;default:return}v.preventDefault()}},w=e>=1&&e<=a?Math.round(e):1,_=()=>{d||h(null)};return t.jsx("div",{className:`rating rating--${o}${d?" rating--readOnly":""} ${l}`.trim(),ref:C,onKeyDown:y,role:d?"img":"radiogroup","aria-label":d?c("rating.valueLabel",{value:e,max:a}):s??c("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:_,children:Array.from({length:a},(v,D)=>{const x=D+1,A=Math.max(0,Math.min(1,p-D)),M=A>0&&A<1,k=t.jsxs("span",{className:"rating__star-wrap",children:[t.jsx(Ie,{icon:"star",size:m,className:"rating__star rating__star--empty"}),A>0&&t.jsx("span",{className:`rating__star-fill${M?" rating__star-fill--half":""}`,children:t.jsx(Ie,{icon:"star",size:m,className:"rating__star rating__star--filled"})})]});return d?t.jsx("span",{className:"rating__item","aria-hidden":"true",children:k},x):t.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":e===x,"aria-label":c("rating.starLabel",{n:x}),"data-star":x,tabIndex:x===w?0:-1,onClick:()=>g(x),onMouseEnter:()=>f(x),children:k},x)})})}const If=20,Ff=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function Of({value:e,onChange:n,palette:a=Ff,size:r=40,className:o=""}){const{t:s}=me.useTranslation();return t.jsx("div",{className:`color-picker ${o}`.trim(),role:"group",children:a.map(l=>{const c=e?.toLowerCase()===l.toLowerCase();return t.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${r}`,style:{backgroundColor:l},onClick:()=>n(l),"aria-pressed":c,"aria-label":c?`${l} ${s("colorPicker.selected","\uC120\uD0DD\uB428")}`:l,children:c&&t.jsx(Ie,{icon:"check",size:If,className:"color-picker__check"})},l)})})}function Hf({icon:e,count:n,title:a,className:r="",onClick:o,onMouseEnter:s,onMouseLeave:l}){const c=ye("count-tile",o&&"count-tile--clickable",r);return t.jsxs("div",{className:c,onClick:o,onKeyDown:o?d=>{d.key!=="Enter"&&d.key!==" "||(d.preventDefault(),d.currentTarget.click())}:void 0,onMouseEnter:s,onMouseLeave:l,role:o?"button":"img",tabIndex:o?0:void 0,"aria-label":a?`${a} ${n}`:String(n),children:[t.jsx(Ie,{icon:e,size:20,className:"count-tile__icon"}),t.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:n})]})}function zf(){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Vf({open:e,onClose:n,ariaLabel:a,title:r,children:o,size:s="md",closeOnBackdrop:l=!0,closeOnEscape:c=!0,showClose:d=!0,className:u,contentClassName:h}){const{t:p}=me.useTranslation(),m=i.useId(),g=i.useRef(null),f=i.useCallback(()=>n(),[n]);return i.useEffect(()=>{if(!e)return;const C=document.activeElement,{overflow:b}=document.body.style;return document.body.style.overflow="hidden",g.current?.focus(),()=>{document.body.style.overflow=b,C?.focus?.()}},[e]),i.useEffect(()=>{if(!(!e||!c))return Ka(f)},[e,c,f]),za(g,e),!e||typeof document>"u"?null:Tt.createPortal(t.jsx("div",{className:ye("dialog",u),onClick:l?f:void 0,children:t.jsxs("div",{ref:g,role:"dialog","aria-modal":"true","aria-label":r?void 0:a,"aria-labelledby":r?m:void 0,tabIndex:-1,className:ye("dialog__surface",`dialog__surface--${s}`,h),onClick:C=>C.stopPropagation(),children:[r?t.jsx("div",{className:"dialog__header",children:t.jsx("h2",{id:m,className:"dialog__title h4b",children:r})}):null,d?t.jsx("button",{type:"button",className:"dialog__close","aria-label":p("common.close","\uB2EB\uAE30"),onClick:f,children:t.jsx(zf,{})}):null,t.jsx("div",{className:"dialog__body",children:o})]})}),document.body)}function Wf({columns:e,rows:n,rowKey:a,title:r,toolbar:o,empty:s="\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",loading:l,caption:c,className:d=""}){const u=!l&&n.length===0;return t.jsxs("div",{className:ye("board",d),children:[r||o?t.jsxs("div",{className:"board__head",children:[r?t.jsx("h2",{className:"board__title",children:r}):t.jsx("span",{}),o?t.jsx("div",{className:"board__toolbar",children:o}):null]}):null,t.jsxs("table",{className:"board__table",children:[c?t.jsx("caption",{className:"board__caption",children:c}):null,t.jsx("thead",{children:t.jsx("tr",{children:e.map(h=>t.jsx("th",{scope:"col",className:ye("board__th",`board__cell--${h.headerAlign??h.align??"left"}`),style:h.width?{width:h.width}:void 0,children:h.header},h.key))})}),t.jsx("tbody",{children:l?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:l})}):u?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:s})}):n.map((h,p)=>t.jsx("tr",{className:"board__row",children:e.map(m=>t.jsx("td",{className:ye("board__td",`board__cell--${m.align??"left"}`),children:m.render(h,p)},m.key))},a(h,p)))})]})]})}function qf({name:e,role:n,photo:a,media:r,credentials:o,size:s=190,className:l=""}){return t.jsxs("div",{className:ye("person-card",l),children:[t.jsx("div",{className:"person-card__photo",style:{width:s,height:s},children:r??(a?t.jsx("img",{src:a,alt:n?`${e} ${n}`:e}):null)}),t.jsx("h3",{className:"person-card__name",children:e}),n?t.jsx("p",{className:"person-card__role",children:n}):null,o?.length?t.jsx("ul",{className:"person-card__credentials",children:o.map(c=>t.jsx("li",{children:c},c))}):null]})}function Uf({groups:e,className:n=""}){return t.jsx("div",{className:ye("timeline",n),children:e.map(a=>t.jsxs("section",{className:"timeline__group",children:[t.jsx("h3",{className:"timeline__title",children:a.title}),t.jsx("ul",{className:"timeline__rows",children:a.entries.map((r,o)=>t.jsxs("li",{className:"timeline__row",children:[r.label?t.jsx("span",{className:"timeline__label",children:r.label}):null,t.jsx("div",{className:"timeline__items",children:r.items.map((s,l)=>t.jsx("p",{children:s},l))})]},`${r.label??""}-${o}`))})]},a.title))})}function Gf({title:e,kind:n,body:a,badge:r,badgeSrc:o,footer:s,width:l,className:c=""}){const d=r??(o?t.jsx("img",{src:o,alt:""}):null);return t.jsxs("div",{className:ye("publication-card",c),style:l?{width:l,flexShrink:0}:void 0,children:[d?t.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:d}):null,t.jsx("h3",{className:"publication-card__title",children:e}),n?t.jsx("p",{className:"publication-card__kind",children:n}):null,t.jsx("p",{className:"publication-card__body",children:a}),s?t.jsx("div",{className:"publication-card__footer",children:s}):null]})}function Kf({logo:e,alt:n,onDone:a,durationMs:r=3e3}){const o=Wa(a);return i.useEffect(()=>{if(!o.current)return;const s=setTimeout(()=>o.current?.(),r);return()=>clearTimeout(s)},[r,o]),t.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${r}ms`},"aria-hidden":"true",children:t.jsx("img",{src:e,alt:n,className:"splash-logo__image"})})}function Zf({eyebrow:e,eyebrowIndex:n,title:a,description:r,level:o=2,tone:s="dark",className:l=""}){const c=o===1?"h1":"h2";return t.jsxs("div",{className:ye("section-header",`section-header--${s}`,l),children:[e?t.jsxs("p",{className:"section-header__eyebrow",children:[n?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"section-header__index",children:n}),t.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?t.jsx(c,{className:"section-header__title",children:a}):null,r?t.jsx("div",{className:"section-header__description",children:r}):null]})}function Yf({items:e,className:n=""}){return t.jsx("ul",{className:ye("company-meta",n),children:e.map((a,r)=>t.jsxs("li",{className:"company-meta__item",children:[r>0?t.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function ti({value:e,onChange:n,suggestions:a,openOnFocus:r=!1}){const o=i.useId(),[s,l]=i.useState(!1),[c,d]=i.useState(-1),u=i.useRef(null),h=i.useMemo(()=>{if(!a.length)return[];const C=e??"";return C?a.filter(b=>b.toLowerCase().includes(C.toLowerCase())):r?a:[]},[a,e,r]);i.useEffect(()=>{s||d(-1)},[s]),i.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const p=i.useCallback(C=>{n?.(C),l(!1)},[n]),m=i.useCallback(()=>l(!0),[]),g=i.useCallback(()=>{u.current=setTimeout(()=>l(!1),120)},[]),f=i.useCallback(C=>{C.key==="ArrowDown"?(C.preventDefault(),l(!0),d(b=>Math.min(h.length-1,b+1))):C.key==="ArrowUp"?(C.preventDefault(),d(b=>Math.max(-1,b-1))):C.key==="Enter"?c>=0&&!C.nativeEvent.isComposing&&p(h[c]):C.key==="Escape"&&s&&(C.preventDefault(),l(!1))},[h,c,s,p]);return{listId:o,open:s,activeIdx:c,filtered:h,handleFocus:m,handleBlur:g,handleKeyDown:f,handleSelect:p}}function bn(e){const{value:n,defaultValue:a,name:r,inputRef:o,onChange:s,label:l,ariaLabel:c,required:d,placeholder:u,type:h="text",disabled:p=!1,readOnly:m=!1,error:g,helperText:f,maxLength:C,size:b=48,variant:y="input",fullWidth:w=!1,newline:_=!1,multiline:v=!1,rows:D=3,leftIcon:x,rightIcon:A,clearable:M=!1,list:k,showCount:S=!0,className:H="",onFocus:R,onBlur:j,onKeyDown:P,onEnter:B,inputMode:O,autoComplete:Y,autoFocus:X,suggestions:Q,openOnFocus:E=!1}=e,{t:$}=me.useTranslation(),L=i.useId();!l&&!c&&xa(`TextField:unnamed:${L}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const V=`tf-${L}`,z=`tf-helper-${L}`,J=i.useRef(null),I=ti({value:n??"",onChange:s,suggestions:Q??[],openOnFocus:E}),U=!!Q&&I.open&&I.filtered.length>0,K=i.useCallback(se=>{J.current=se,typeof o=="function"?o(se):o&&(o.current=se)},[o]),oe=n!==void 0,pe=oe&&h==="password",fe=(n??"").length;i.useEffect(()=>{const se=J.current;if(!pe||!se)return;const ae=n??"";se.value!==ae&&(se.value=ae)},[pe,n]),i.useEffect(()=>{if(!_||!J.current)return;const se=J.current;se.style.height="",se.scrollHeight>se.clientHeight&&(se.style.height=`${se.scrollHeight}px`)},[n,_]);const ge=C!=null&&fe>C,he=b===32?16:20,T=ye("text-field",`text-field--s${b}`,y==="display"?"text-field--display":"",w?"text-field--full-width":"",p?"text-field--disabled":"",m?"text-field--readonly":"",g?"text-field--error":"",x?"text-field--has-left-icon":"",A||M?"text-field--has-right-icon":"",H),q={id:V,...pe?{}:oe?{value:n}:{defaultValue:a},ref:K,placeholder:u,name:r,disabled:p,readOnly:m,autoFocus:X,tabIndex:m?-1:void 0,maxLength:C,list:k,inputMode:O,autoComplete:Y,"aria-label":!l&&c?c:void 0,"aria-required":d,"aria-invalid":!!g,"aria-describedby":f||g?z:void 0,role:Q?"combobox":void 0,"aria-autocomplete":Q?"list":void 0,"aria-haspopup":Q?"listbox":void 0,"aria-expanded":Q?I.open:void 0,"aria-controls":U?I.listId:void 0,"aria-activedescendant":U&&I.activeIdx>=0?`${I.listId}-option-${I.activeIdx}`:void 0,onChange:se=>s?.(se.target.value),onFocus:(se=>{R?.(se),Q&&I.handleFocus()}),onBlur:(se=>{j?.(se),Q&&I.handleBlur()}),onKeyDown:(se=>{B&&se.key==="Enter"&&!se.nativeEvent.isComposing&&(se.preventDefault(),B()),P?.(se),Q&&I.handleKeyDown(se)})},ee=M&&!p&&!m&&fe>0,Ce=()=>_?t.jsx("textarea",{...q,className:"text-field__input text-field__input--auto body-2",rows:1}):v?t.jsx("textarea",{...q,className:"text-field__input text-field__input--textarea body-2",rows:D}):t.jsx("input",{...q,type:h,className:"text-field__input body-2"}),ie=y==="display"&&!_&&!v&&!!u,ue=()=>t.jsxs(t.Fragment,{children:[Ce(),ie&&t.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:u})]});return t.jsxs("div",{className:T,children:[l&&t.jsxs("label",{htmlFor:V,className:"text-field__label caption-1",children:[l,d&&t.jsx("span",{className:"text-field__required",children:"*"})]}),t.jsxs("div",{className:"text-field__wrap",children:[x&&t.jsx("span",{className:"text-field__icon text-field__icon--left",children:t.jsx(Ie,{icon:x,label:"",className:"",svgClassName:"text-field__icon-svg",size:he})}),ue(),C!=null&&S&&t.jsxs("span",{className:`text-field__count caption-2${ge?" text-field__count--over":""}`,children:[fe,"/",C]}),ee&&t.jsx(te,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:$("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:se=>{se.preventDefault()},onClick:()=>s?.(""),tabIndex:-1}),A&&!ee&&t.jsx("span",{className:"text-field__icon text-field__icon--right",children:t.jsx(Ie,{icon:A,label:"",className:"",svgClassName:"text-field__icon-svg",size:he})})]}),Q&&I.open&&I.filtered.length>0&&t.jsx("ul",{id:I.listId,className:"text-field__suggestions",role:"listbox",children:I.filtered.map((se,ae)=>t.jsx("li",{id:`${I.listId}-option-${ae}`,role:"option","aria-selected":ae===I.activeIdx,className:`text-field__suggestion body-2${ae===I.activeIdx?" is-active":""}`,onMouseDown:je=>je.preventDefault(),onClick:()=>{I.handleSelect(se),J.current?.focus()},children:se},`${se}-${ae}`))}),(f||g)&&t.jsx("div",{className:"text-field__footer",children:t.jsx("span",{id:z,className:"text-field__helper caption-1",role:g?"alert":void 0,children:g||f})})]})}function Rt({options:e,value:n,onChange:a,placeholder:r,disabled:o=!1,block:s=!1,size:l=48,error:c=!1,className:d="",ariaLabel:u}){const{t:h}=me.useTranslation(),p=r??h("dropdown.placeholder","\uC120\uD0DD"),m=i.useId(),g=i.useRef(null),f=i.useCallback(j=>{const P=window.innerHeight-j.bottom<260&&j.top>260;return{position:"fixed",left:j.left,minWidth:j.width,...P?{bottom:window.innerHeight-j.top+6}:{top:j.bottom+6},zIndex:9999}},[]),{open:C,setOpen:b,toggle:y,style:w,triggerRef:_,menuRef:v}=qn({computeStyle:f}),[D,x]=i.useState(-1),A=i.useCallback(()=>x(-1),[]),M=e.find(j=>j.value===n);i.useEffect(()=>{if(C){const j=e.findIndex(P=>P.value===n);x(j>=0?j:0),requestAnimationFrame(()=>{const P=v.current;if(!P)return;const B=P.querySelectorAll(".dropdown__option")[j];B&&(P.scrollTop=Math.max(0,B.offsetTop-P.clientHeight/2+B.clientHeight/2))})}},[C,e,n,v]);const k=i.useCallback(()=>{o||y()},[o,y]),S=i.useCallback(j=>{j.disabled||(a?.(j.value),b(!1))},[a,b]),H=i.useCallback(j=>{if(!o){if(!C){(j.key==="Enter"||j.key===" "||j.key==="ArrowDown")&&(j.preventDefault(),b(!0));return}if(j.key==="Escape"){j.preventDefault(),b(!1);return}j.key==="ArrowDown"?(j.preventDefault(),x(P=>{let B=P+1;for(;B<e.length&&e[B].disabled;)B++;return B<e.length?B:P})):j.key==="ArrowUp"?(j.preventDefault(),x(P=>{let B=P-1;for(;B>=0&&e[B].disabled;)B--;return B>=0?B:P})):j.key==="Enter"&&D>=0&&(j.preventDefault(),S(e[D]))}},[o,C,e,D,S,b]),R=C?t.jsx("div",{ref:v,id:m,className:"dropdown__menu",role:"listbox",style:w,onMouseLeave:A,children:e.map((j,P)=>t.jsxs("button",{id:`${m}-option-${P}`,type:"button",role:"option","aria-selected":j.value===n,className:ye("dropdown__option body-2",j.value===n?"dropdown__option--active":"",P===D?"dropdown__option--active":"",j.disabled?"dropdown__option--disabled":""),onMouseDown:B=>B.preventDefault(),onClick:()=>S(j),onMouseEnter:()=>x(P),disabled:j.disabled,children:[t.jsx("span",{className:"dropdown__option-check",children:j.value===n&&t.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),j.label]},j.value))}):null;return t.jsxs("div",{ref:g,className:ye("dropdown",`dropdown--s${l}`,C?"dropdown--open":"",s?"dropdown--block":"",c?"dropdown--error":"",d),onKeyDown:H,children:[t.jsxs("button",{ref:_,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":C,"aria-controls":C?m:void 0,"aria-activedescendant":C&&D>=0?`${m}-option-${D}`:void 0,"aria-label":u,"aria-invalid":c||void 0,disabled:o,onClick:k,children:[t.jsx("span",{className:`dropdown__trigger-label body-2${M?"":" dropdown__trigger-label--placeholder"}`,children:M?M.label:p}),t.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&Tt.createPortal(R,g.current?.closest(".ihabdevteam-core-scope")??document.body)]})}function ca({page:e,totalPages:n,onChange:a,prevLabel:r,nextLabel:o,className:s=""}){const{t:l}=me.useTranslation(),c=r??l("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),d=o??l("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),u=()=>a(Math.max(1,e-1)),h=()=>a(Math.min(n,e+1));return t.jsxs("div",{className:ye("pagination",s),children:[t.jsx(te,{size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:c,disabled:e<=1,onClick:u}),t.jsxs("span",{className:"pagination__info body-3",children:[e," / ",n]}),t.jsx(te,{size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:d,disabled:e>=n,onClick:h})]})}function yn(e){const{t:n}=me.useTranslation(),{options:a=[],value:r=a[0]?.key,onChange:o=b=>{},className:s="",size:l=48,shape:c="pill",useBG:d=!0,fullWidth:u=!1,ariaLabel:h}=e||{},p=i.useRef(null),m=a.filter(b=>!b.disabled),g=b=>{if(!m.length)return;const y=Math.max(0,m.findIndex(_=>_.key===r)),w=b==="first"?m[0]:b==="last"?m[m.length-1]:m[(y+b+m.length)%m.length];w&&(o(w.key),Array.from(p.current?.querySelectorAll("[data-segkey]")??[]).find(_=>_.dataset.segkey===w.key)?.focus())},f=b=>{switch(b.key){case"ArrowRight":case"ArrowDown":g(1);break;case"ArrowLeft":case"ArrowUp":g(-1);break;case"Home":g("first");break;case"End":g("last");break;default:return}b.preventDefault()},C=m.some(b=>b.key===r)?r:m[0]?.key;return t.jsx("div",{ref:p,onKeyDown:f,className:ye("segmented-control",`segmented-control--${c}`,`segmented-control--${l}`,u&&"segmented-control--full",!d&&"segmented-control--no-bg",s),role:"radiogroup","aria-label":h??n("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(b=>t.jsx(te,{role:"radio","aria-checked":b.key===r,"data-segkey":b.key,tabIndex:b.key===C?0:-1,label:b.label,count:b.count,disabled:b.disabled,className:b.key===r?"is-selected":"",onClick:()=>{b.disabled||o(b.key)},size:l,shape:c,useBorder:!1,useBG:!1},b.key))})}function Qa({count:e,search:n,segment:a,filters:r,pageSize:o,pagination:s,actions:l,className:c}){const{t:d}=me.useTranslation(),u=e!=null&&t.jsxs("p",{className:"toolbar__count body-1",children:[e.prefix??d("common.totalPrefix","\uCD1D "),t.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),h=!!(n||r?.length||o||s||l);return t.jsxs("div",{className:ye("toolbar",c),children:[t.jsxs("div",{className:"toolbar__row",children:[u,a&&(Array.isArray(a)?a:[a]).map((p,m)=>t.jsx(yn,{size:40,...p},p.ariaLabel??m))]}),h&&t.jsx("div",{className:"toolbar__row",children:t.jsxs("div",{className:"toolbar__row-end",children:[n&&t.jsx(bn,{className:"toolbar__search",size:40,value:n.value,onChange:n.onChange,placeholder:n.placeholder??d("common.search","\uAC80\uC0C9"),ariaLabel:n.placeholder??d("common.search","\uAC80\uC0C9"),clearable:!0}),r?.map((p,m)=>t.jsx(Rt,{size:40,options:p.options,value:p.value,onChange:p.onChange,ariaLabel:p.ariaLabel},m)),o&&t.jsx(Rt,{size:40,options:o.options,value:o.value,onChange:o.onChange,ariaLabel:o.ariaLabel??d("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),s&&t.jsx(ca,{page:s.page,totalPages:s.total,onChange:s.onChange,prevLabel:s.prevLabel,nextLabel:s.nextLabel}),l]})})]})}function ni(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(ni).join(""):""}function Xf(e){let n=e.replace(/\r\n/g,`
|
|
831
|
+
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",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},gC={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},bC={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},yC={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},vC={answer:"Answer",distractor:"Distractor"},xC={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},_C={clearAriaLabel:"Clear input"},wC={ariaLabel:"Select tab"},kC={ariaLabel:"Tabs"},AC={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},NC={ariaLabel:"User avatar"},BC={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},SC={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},DC={import:"Add to my trainings",publisher:"Publisher",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"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},jC={manage:{unit:"item(s)"}},EC={cancelLabel:"Cancel"},TC={subtitle:"Select a topic to start listening practice."},MC={steps:"Step {{current}} of {{total}}"},LC={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},$C={resetColumns:"Reset column widths"},RC={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},PC={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},IC={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},FC={previewRegion:"Report preview \u2014 scrollable sideways"},OC={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},HC={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},VC={common:$2,calendar:R2,passCard:P2,searchField:I2,rating:F2,colorPicker:O2,dropdown:H2,accordion:V2,header:z2,nav:W2,settings:q2,usage:U2,account:G2,help:K2,training:Z2,trainingSettings:Y2,customers:X2,payment:J2,coupons:Q2,visits:eC,company:tC,trainingType:nC,myWordTraining:aC,myWordTable:rC,keyWords:oC,wordTable:sC,wordSearch:iC,wordPrint:lC,topic:cC,accessLinkManager:uC,login:dC,device:pC,manager:hC,wordPairs:mC,game:CC,footer:fC,landing:gC,date:bC,trainingSetPage:yC,wordTrainingPreview:vC,wordData:xC,textField:_C,segmentedControl:wC,tabs:kC,fileUpload:AC,avatar:NC,myHomework:BC,trainingStatus:SC,store:DC,homework:jC,inquiry:EC,trainingPlanRun:TC,progress:MC,trainingMiss:LC,table:$C,wordScore:RC,topBanner:PC,datePicker:IC,report:FC,tooltip:OC,phonemeProfile:HC};const zC=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],zs="ko",WC="ihab_display_language";function Ws(){try{const e=localStorage.getItem(WC);if(e&&zC.some(n=>n.code===e))return e}catch{}return zs}function qs(e){try{document.documentElement.lang=e}catch{}}hn.on("languageChanged",qs),qs(Ws()),hn.use(pe.initReactI18next).init({resources:{ko:{translation:L2},en:{translation:VC}},lng:Ws(),fallbackLng:zs,interpolation:{escapeValue:!1},react:{useSuspense:!1}});function Us(e){if(!(e==null||e===""))return zn(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}function qC(e){const n=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(n)?"manager":"speechear"}function UC(e){if(e.durationDays&&e.durationDays>0){const o=e.durationDays;return o%365===0?`${o/365}\uB144`:`${o}\uC77C`}const n=(e.code??"").match(/(\d+)(d|y)\b/i);if(n)return n[2].toLowerCase()==="y"?`${n[1]}\uB144`:`${n[1]}\uC77C`;const a=e.name??"",r=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);return r?r[1].replace(/\s+/g,""):a||"\uC774\uC6A9\uAD8C"}function GC(e){const n=(e??"").match(/(\d+)(d|y)\b/i);if(!n)return null;const a=Number(n[1]);return n[2].toLowerCase()==="y"?a*365:a}function Gs(e){return{type:e.type??qC(e),plan:UC(e),label:e.label,price:Us(e.price),originalPrice:Us(e.originalPrice),discountLabel:e.discountLabel}}var KC='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7326)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23FAFAFA"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23FAFAFA"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23FAFAFA"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23FAFAFA"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7326">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',ZC='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 200 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="200" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M96.43,48.35v-24.1h30.62v24.1h-30.62ZM142.98,69.15v7.21h-44.76v-15.72h34.46v-2.13h-34.6v-7.21h44.35v15.72h-34.33v2.13h34.88,0ZM106.25,32.56v7.41h11.05v-7.41h-11.05ZM148.33,40.39h-5.9v9.06h-9.89v-25.81h9.89v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M185.54,47.87v9.4c-2.79,1.28-7.16,1.92-13.11,1.92h-.62v17.16h-9.89v-17.16h-12.22v-9.4h22.86c5.86,0,10.18-.64,12.98-1.92h0ZM152.59,34.28v-9.4h28.7v22.17h-9.89v-12.77h-18.81ZM198.31,76.36h-9.89V23.64h9.89v52.73h0Z"/>%0A <path class="st1" d="M46.43,17.86h-21.43c-9.86,0-17.86,7.99-17.86,17.86v21.43c0,9.86,7.99,17.86,17.86,17.86h21.43c9.86,0,17.86-7.99,17.86-17.86v-21.43c0-9.86-7.99-17.86-17.86-17.86Z"/>%0A <path class="st1" d="M34.86,50.74c-9.03,9.94-24.25,10.93-34.48,2.42-.47-.39-.52-1.1-.11-1.55l16.07-17.69,18.51,16.81Z"/>%0A <path class="st1" d="M53.57,25h-21.43c-9.86,0-17.86,8-17.86,17.86v21.43c0,9.86,8,17.86,17.86,17.86h16.11c.96,0,1.75.78,1.75,1.75,0,1.02.88,1.83,1.89,1.74,10.95-.96,19.54-10.15,19.54-21.35v-21.43c0-9.86-8-17.86-17.86-17.86Z"/>%0A <path class="st2" d="M25,25c-5.92,0-10.71,4.8-10.71,10.71v28.57c0,3.09.79,6,2.17,8.54,2.54,1.39,5.45,2.17,8.54,2.17h28.57c5.92,0,10.71-4.8,10.71-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.54-1.39-5.45-2.17-8.54-2.17h-28.57Z"/>%0A <path class="st3" d="M25.36,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M36.07,57.14c-1.04,0-2.09-.27-3.04-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.59-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.33-4.44,2.91-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.35-5.56-.99-.06-1.94.12-2.81.54-.89.43-1.96.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.76.3,8.58,4.26,8.69,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',YC='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7325)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23111111"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23111111"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23111111"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23111111"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23111111"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7325">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',XC='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7395)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23FAFAFA"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23FAFAFA"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23FAFAFA"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23FAFAFA"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23FAFAFA"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7395">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',JC='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 371 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="371" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M237.15,26.04v46.68h-20.5V26.04h20.5ZM234.41,70.05V28.72h-15.15v41.33h15.15ZM261.49,76.36h-2.68v-27.39h-11.24v26.5h-2.68V23.98h2.68v22.31h11.24v-22.65h2.68v52.73h0Z"/>%0A <path class="st3" d="M299.72,69.26c2.35-.48,4.31-1.11,5.86-1.89v2.75c-1.51.82-3.44,1.46-5.79,1.92-2.35.46-4.74.69-7.17.69h-20.37V25.7h2.74v44.28h17.62c2.38,0,4.74-.24,7.1-.72h0ZM311.69,76.43V23.64h2.74v52.73l-2.74.07Z"/>%0A <path class="st3" d="M340.56,47.94l17.62,22.52-2.13,1.65-16.18-20.94c-1.46,6.18-3.54,11.1-6.24,14.76-2.7,3.66-5.9,5.93-9.6,6.8v-2.75c3.25-.82,6.01-3.11,8.3-6.86,2.29-3.75,4.02-8.59,5.21-14.52,1.19-5.92,1.83-12.55,1.92-19.87h-14.47v-2.68h31.61v2.68h-14.4c-.05,7.19-.6,13.59-1.64,19.22h0ZM369.22,76.36h-2.74v-28.9h-14.06v-2.68h14.06v-21.14h2.74v52.73Z"/>%0A <path class="st3" d="M92.88,48.35v-24.1h30.58v24.1h-30.58ZM139.37,69.15v7.21h-44.71v-15.72h34.42v-2.13h-34.56v-7.21h44.3v15.72h-34.28v2.13h34.83,0ZM102.68,32.56v7.41h11.04v-7.41h-11.04ZM144.72,40.39h-5.9v9.06h-9.88v-25.81h9.88v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M181.89,47.87v9.4c-2.79,1.28-7.16,1.92-13.1,1.92h-.62v17.16h-9.88v-17.16h-12.2v-9.4h22.83c5.85,0,10.17-.64,12.96-1.92h0ZM148.97,34.28v-9.4h28.66v22.17h-9.87v-12.77h-18.79ZM194.64,76.36h-9.88V23.64h9.88v52.73h0Z"/>%0A <path class="st1" d="M48.15,17.86h-21.4c-9.85,0-17.84,7.99-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h21.4c9.85,0,17.84-7.99,17.84-17.86v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st1" d="M36.6,50.74c-9.02,9.94-24.22,10.93-34.44,2.42-.47-.39-.52-1.1-.11-1.55l16.06-17.69,18.49,16.81Z"/>%0A <path class="st1" d="M55.29,25h-21.4c-9.85,0-17.84,8-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h16.09c.96,0,1.74.78,1.74,1.75,0,1.02.87,1.83,1.89,1.74,10.93-.96,19.51-10.15,19.51-21.35v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st2" d="M26.75,25c-5.91,0-10.7,4.8-10.7,10.71v28.57c0,3.09.79,6,2.17,8.54,2.53,1.39,5.44,2.17,8.53,2.17h28.54c5.91,0,10.7-4.8,10.7-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.53-1.39-5.44-2.17-8.53-2.17h-28.54Z"/>%0A <path class="st3" d="M27.11,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M37.81,57.14c-1.04,0-2.09-.27-3.03-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.58-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.32-4.44,2.9-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.34-5.56-.99-.06-1.93.12-2.81.54-.89.43-1.95.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.75.3,8.57,4.26,8.68,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',QC='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7394)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23111111"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23111111"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23111111"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23111111"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23111111"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23111111"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23111111"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7394">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Ks='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7305)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7179 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7179 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7305">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const bn={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Xa=new WeakMap;function ef(e){if(e)return Xa.get(e)}function Jt(e,n){e&&(e.style.setProperty(bn.text,n.text),e.style.setProperty(bn.sub,n.sub),n.copyrightColor&&e.style.setProperty(bn.copyright,n.copyrightColor),Xa.set(e,n))}function Qt(e){e&&(e.style.removeProperty(bn.text),e.style.removeProperty(bn.sub),e.style.removeProperty(bn.copyright),Xa.delete(e))}const Zs={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Ys(e={}){const n=et(Zs,Jt,Qt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-two-circle__c1"}),t.jsx("div",{className:"pass-card-bg-two-circle__c3"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${Ks}")`}})]})}const Xs="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464Z";var Gn='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65181)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="url(%23paint0_linear_2175_65181)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2175_65181" x1="29.6392" y1="29.6393" x2="75.2535" y2="75.2536" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2175_65181">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const tf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},nf=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function Js(e={}){const n=et(tf,Jt,Qt),a="var(--color-main)",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[t.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:nf.map(({scale:s,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${s}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:Xs,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${Gn}")`}})]})}const af={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},rf=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function of(e={}){const n=et(af,Jt,Qt),a="#ffffff",r=270,o=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[t.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:rf.map(({scale:s,opacity:l},c)=>t.jsx("g",{transform:`translate(${r} ${o}) scale(${s}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:Xs,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${Ks}")`}})]})}const sf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function lf(e={}){const n=et(sf,Jt,Qt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${Gn}")`}})]})}const cf={Logo_speechear_kr:{"":Za,_white:KC,_textWhite:ZC,_black:YC},Logo_speechearManager_kr:{"":Ya,_white:XC,_textWhite:JC,_black:QC}};function uf(e,n){if(e)return cf[e]?.[n??""]??void 0}const df={speechear:Za,manager:Ya},pf={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},Qs=10;function hf(e,n){if(e<=0)return n("passCard.remainingSecond",{n:0});const a=Math.floor(e/86400);if(a>0)return n("passCard.remainingDay",{n:a});const r=Math.floor(e/3600);if(r>0)return n("passCard.remainingHour",{n:r});const o=Math.floor(e/60);return o>0?n("passCard.remainingMinute",{n:o}):n("passCard.remainingSecond",{n:Math.floor(e)})}function mf(e,n,a){if(e==="manager"){const r=/년/.test(n)||/yr|year/i.test(n)||/1년|365/.test(n),o=a==="\uC624\uD508\uD2B9\uAC00"||a===hn.t("passCard.specialLabel");return r?t.jsx(lf,{}):o?t.jsx(of,{}):t.jsx(Js,{})}return t.jsx(Ys,{})}function ei({product:e,showPrice:n=!1,plan:a,type:r,endDate:o,remainingSeconds:s,state:l="active",bg:c,bgOnly:d=!1,textColor:u,subColor:h,copyrightColor:p,logoSrc:C,label:g,price:f,originalPrice:m,discountLabel:v,onUse:b,onRefund:w,onDelete:_}){const{t:y}=pe.useTranslation(),S=e?Gs(e):void 0,x=r??S?.type??"speechear",A=a??S?.plan??"\uC774\uC6A9\uAD8C",M=g??S?.label,k=f??(n?S?.price:void 0),D=m??(n?S?.originalPrice:void 0),H=v??S?.discountLabel,R=i.useMemo(()=>{if(k)return null;const T=e?.durationDays??GC(e?.code);if(!T||T<=0)return null;const q=T*86400;let ee;if(s!=null)ee=s;else if((l==="active"||l==="expired")&&o){const ie=new Date(o).getTime();if(Number.isNaN(ie))return null;const le=new Date;le.setHours(0,0,0,0);const se=new Date(ie);se.setHours(0,0,0,0);const oe=Math.round((se.getTime()-le.getTime())/864e5);ee=Math.max(0,oe)*86400}else l==="expired"?ee=0:ee=q;const we=Math.max(0,Math.min(100,Math.floor(Math.min(ee,q)/q*100)));return l==="pending"&&we>=100?null:{percent:we,remainingLabel:hf(ee,y)}},[k,l,o,s,e?.durationDays,e?.code,y]),j=i.useRef(null),[P,B]=i.useState({}),[O,Z]=i.useState(null),Y=!!(b||w||_),J=i.useRef(!1),E=i.useRef(void 0),[$,L]=i.useState(C);i.useLayoutEffect(()=>{L(C)},[C]),i.useLayoutEffect(()=>{const T=j.current;T&&(u!==void 0&&T.style.setProperty("--pass-card-text",u),h!==void 0&&T.style.setProperty("--pass-card-sub",h),p!==void 0&&T.style.setProperty("--pass-card-copyright",p))},[u,h,p]),i.useLayoutEffect(()=>{const T=j.current;if(!T)return;const q=ef(T);if(!C){const ee=pf[x],we=l==="expired"?"_black":q?.logoColor??"",ie=uf(ee,we);L(ie)}},[c,C,x,l]);const z=T=>{const q=j.current;if(!q)return null;const{left:ee,top:we,width:ie,height:le}=q.getBoundingClientRect(),se=(T.clientX-ee)/ie-.5;return{rotateX:-((T.clientY-we)/le-.5)*Qs,rotateY:se*Qs}},V=(T,q)=>{const ee=q*-.7,we=T*.7+10,ie=20+(Math.abs(T)+Math.abs(q))*.4;return`${ee}px ${we}px ${ie}px rgba(0, 0, 0, 0.18)`},X=i.useCallback(T=>{J.current=!0,clearTimeout(E.current),E.current=setTimeout(()=>{J.current=!1},200);const q=z(T);q&&B({transform:`perspective(800px) rotateX(${q.rotateX}deg) rotateY(${q.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:V(q.rotateX,q.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),I=i.useCallback(T=>{const q=z(T);if(!q)return;const ee=J.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";B({transform:`perspective(800px) rotateX(${q.rotateX}deg) rotateY(${q.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:V(q.rotateX,q.rotateY),transition:ee})},[]),U=i.useCallback(()=>{clearTimeout(E.current),J.current=!1,B({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),K=i.useCallback(()=>Z(null),[]),re=i.useMemo(()=>{const T=A.replace("\uC774\uC6A9\uAD8C","").trim(),q=T.match(/^(.*?)(일|년)$/);return q?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"h0 pass-card__plan-number",children:q[1]}),t.jsx("span",{className:"h5b pass-card__plan-unit",children:q[2]==="\uB144"?y("passCard.unitYear","\uB144"):y("passCard.unitDay","\uC77C")})]}):t.jsx("span",{className:"h0",children:T})},[A,y]),de=i.useMemo(()=>{const T=zn(k);if(!T)return null;const q=T.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!q)return t.jsx("span",{className:"h1",children:T});const[,ee,we,ie]=q;return t.jsxs(t.Fragment,{children:[ee&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:ee}),t.jsx("span",{className:"h1 pass-card__price-amount",children:we}),ie.trim()&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:ie.trim()})]})},[k]),fe=i.useCallback(()=>{Y&&Z(T=>{if(T)return null;const q=j.current?.getBoundingClientRect();if(!q)return null;const ee=50;return{left:q.left,right:q.right,width:q.width,height:q.height,x:q.x,y:q.y+ee,top:q.top+ee,bottom:q.bottom+ee}})},[Y]),ge=i.useCallback(T=>{Y&&(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),fe())},[Y,fe]),he=[{items:[...b?[{label:y("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{b(),Z(null)},closeOnSelect:!0}]:[],...w?[{label:y("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{w(),Z(null)},closeOnSelect:!0}]:[],..._?[{label:y("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{_(),Z(null)},closeOnSelect:!0}]:[]]}];return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card-frame",children:t.jsxs("div",{ref:j,className:`pass-card pass-card--${l}${Y?" pass-card--clickable":""}`,style:P,onMouseEnter:X,onMouseMove:I,onMouseLeave:U,onClick:fe,onKeyDown:Y?ge:void 0,role:Y?"button":void 0,tabIndex:Y?0:void 0,children:[c??mf(x,A,M),!d&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card__top",children:t.jsxs("div",{className:"pass-card__top-left",children:[t.jsx("img",{src:$??df[x],className:"pass-card__logo",alt:x==="manager"?y("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):y("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),t.jsxs("div",{className:"pass-card__plan",children:[t.jsx("div",{children:re}),t.jsx("span",{className:"h5b pass-card__plan-suffix",children:M?y("passCard.labeledPlan",{label:M}):y("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),k?t.jsxs("div",{className:"pass-card__price-area",children:[H&&t.jsx("span",{className:"pass-card__discount body-3",children:H}),t.jsxs("div",{className:"pass-card__price",children:[D&&t.jsx("span",{className:"pass-card__price-original body-3",children:zn(D)}),de]})]}):R?t.jsxs("div",{className:"pass-card__usage",children:[t.jsx("span",{className:"h5b pass-card__usage-remaining",children:R.remainingLabel}),t.jsxs("span",{className:"pass-card__usage-percent",children:[t.jsx("span",{className:"h1 pass-card__usage-value",children:R.percent}),t.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):t.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),O&&t.jsx(on,{anchorRect:O,onClose:K,ariaLabel:y("tooltip.menu","\uBA54\uB274"),children:t.jsx(la,{columns:he,onClose:K,size:"small"})})]})}const Cf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function ff(e={}){const n=`passcard-sound-line-grad-${i.useId()}`,a=et(Cf,Jt,Qt);return t.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[t.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"1",y2:"0",children:[t.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),t.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),t.jsx("g",{transform:"translate(25, 45)",children:t.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${n})`,strokeWidth:"50",strokeLinecap:"round"})})]}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${Gn}")`}})]})}const gf={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function bf(e={}){const n=et(gf,Jt,Qt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${Gn}")`}})]})}function yf(e,n){if(e){if(n==="manager_pro")return t.jsx(bf,{});if(n==="manager_standard")return t.jsx(ff,{});if(n==="manager_lite")return t.jsx(Js,{})}}function vf(e){const n=zn(e);if(!n)return null;const a=n.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return n;const[,r,o,s]=a;return t.jsxs(t.Fragment,{children:[r&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:r}),o,s.trim()&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:s.trim()})]})}function xf(e){const{t:n}=pe.useTranslation(),a=n("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),r=n("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:o,onSelect:s,period:l="monthly",ownedCodes:c}=e||{},d=_=>!!_&&!!c?.includes(_),u=(o.tiers||[]).some(_=>/오픈\s*특가/.test(_.label??"")&&d(_.code)),h=_=>{const y=_.prices?_.prices[l]:_.price;return y?(o.tiers||[]).some(S=>!!S.badge&&S.originals?.[l]===y):!1},p=o.colorToken?`var(--color-${o.colorToken})`:"var(--color-gray)",C=n("payment.plan.freePrice","\uBB34\uB8CC"),g=n("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),f=_=>_.prices?_.prices[l]:_.price,m=(o.tiers||[]).length>0&&(o.tiers||[]).every(_=>{const y=f(_);return y==="\uBB34\uB8CC"||y===C||y==="0\uC6D0"}),v=(o.tiers||[]).length>0&&(o.tiers||[]).every(_=>{const y=f(_);return y==="\uBB38\uC758"||y===g}),b=o.group==="org",w=b?"manager":"speechear";return t.jsxs("div",{className:"payment-plan__card",style:{borderColor:p,"--plan-color":p},children:[o.cardBadge&&t.jsx("div",{className:"payment-plan__card-badge",children:t.jsx(ct,{label:o.cardBadge,variant:"main",size:"medium",fill:"soft"})}),t.jsxs("div",{className:"payment-plan__title",children:[t.jsx("p",{className:"payment-plan__quote body-3b",style:{color:p},children:o.quote||"\xA0"}),t.jsx("h3",{className:"payment-plan__title-heading h1",children:o.tier??o.title}),t.jsx("p",{className:"payment-plan__subtitle body-3",children:o.subtitle})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.recommendedFor||[]).map((_,y)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Pe,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:p}}),_]},y))})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(o.features||[]).map((_,y)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Pe,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:p}}),_]},y))})]}),t.jsx("div",{className:"payment-plan__card-pricing",children:m?null:v?t.jsx(te,{className:"payment-plan__contact-button",label:n("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>o.tiers?.[0]&&s?.({...o.tiers[0],productId:o.id,productTitle:o.title})}):t.jsx(t.Fragment,{children:t.jsx("div",{className:"payment-plan__pricing-list",children:(o.tiers||[]).map(_=>{const y=_.label||a,S=/오픈\s*특가/.test(y),x=S||_.openPromo===!0,A=y.replace(/^오픈\s*특가\s*/,"")||a,M=_.prices?_.prices[l]:_.price,k=_.badge?x?`${r}
|
|
832
|
+
${_.badge}`:_.badge:void 0;if(S&&d(_.code))return null;if(!_.badge&&!u)return h(_)?null:t.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${_.highlight?" payment-plan__pricing-row--highlight":""}`,children:[t.jsx("div",{className:"payment-plan__pricing-row-title",children:t.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:_.label})}),t.jsx("div",{className:"payment-plan__pricing-row-price",children:t.jsx("span",{className:"payment-plan__pricing-current h1",children:vf(M)})})]},_.id);const D=o.tier??(b?o.title:void 0),H=t.jsx(ei,{showPrice:!0,product:{type:w,code:_.code,name:A,label:D,price:M,originalPrice:_.originals?.[l]??void 0,discountLabel:k},bg:yf(b,o.id)}),R=()=>s?.({..._,productId:o.id,productTitle:o.title,preview:H});return t.jsx("div",{className:"payment-plan__pricing-card",onClick:R,onKeyDown:s?j=>{j.target===j.currentTarget&&(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),R())}:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,children:H},_.id)})})})})]})}function _f({variant:e="default"}){return t.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var Ja='data:image/svg+xml,<svg width="264" height="100" viewBox="0 0 264 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2079_3030)">%0A<path d="M60.9019 24.7464C54.4446 18.2821 45.5257 14.2857 35.6757 14.2857C25.8256 14.2857 23.2106 24.5964 16.7569 31.0607C10.2996 37.5214 0 40.1857 0 50C0 59.8143 3.99211 68.7893 10.4494 75.2536C16.9067 81.7178 25.8256 85.7143 35.6757 85.7143C45.5257 85.7143 54.4446 81.7178 60.9019 75.2536C67.3592 68.7893 71.3513 59.8607 71.3513 50C71.3513 40.1393 67.3592 31.2107 60.9019 24.7464ZM48.2906 62.6286C45.0619 65.8607 40.6025 67.8571 35.6757 67.8571C30.7489 67.8571 26.2894 65.8571 23.0608 62.6286C19.8321 59.3964 17.8378 54.9321 17.8378 50C17.8378 45.0678 19.8357 40.6036 23.0608 37.3714C26.2894 34.1393 30.7489 32.1428 35.6757 32.1428C40.6025 32.1428 45.0619 34.1428 48.2906 37.3714C51.5192 40.6036 53.5135 45.0678 53.5135 50C53.5135 54.9321 51.5157 59.3964 48.2906 62.6286Z" fill="url(%23paint0_linear_2079_3030)"/>%0A<path d="M106.735 74.8322H93.6274V24.8322H106.735V74.8322Z" fill="%23111111"/>%0A<path d="M113.495 24.8322H126.602V44.5143H145.022V24.8322H158.197V74.8322H145.022V55.15H126.602V74.8322H113.495V24.8322Z" fill="%23111111"/>%0A<path d="M163.027 74.8322L179.652 24.8322H197.519L214.076 74.8322H199.934L196.969 65.025H180.205L177.241 74.8322H163.031H163.027ZM193.933 55.0786L188.76 38.2964H188.346L183.241 55.0786H193.933Z" fill="%23111111"/>%0A<path d="M218.906 24.8322H240.29C251.674 24.8322 257.675 29.7357 257.675 37.4C257.675 42.925 253.743 47.1393 248.085 48.3107V48.7929C254.364 49 259.605 53.6286 259.605 60.7393C259.605 68.8893 252.983 74.8286 242.081 74.8286H218.902V24.8322H218.906ZM244.157 40.1643C244.157 36.9857 241.674 35.1929 238.085 35.1929H232.013V45.1393H237.878C241.535 45.1393 244.157 43.3429 244.157 40.1679V40.1643ZM245.741 59.0857C245.741 55.425 243.119 53.3536 238.913 53.3536H232.013V64.2643H238.706C243.397 64.2643 245.741 62.4679 245.741 59.0857Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2079_3030" x1="15.337" y1="29.6393" x2="60.9512" y2="75.2042" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2079_3030">%0A<rect width="264" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const ti={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function wf(){const e=et(ti,Jt,Qt);return t.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${Ja}")`}})})}const ni={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function kf(e={}){const n=et(ni,Jt,Qt);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),t.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${Gn}")`}})]})}function ai({keys:e,anchor:n="top-right",scale:a,className:r=""}){const o=Array.isArray(e)?e:[e];return t.jsx("span",{className:be("shortcut-badge",`shortcut-badge--${n}`,r),style:a===void 0?void 0:{"--shortcut-badge-scale":String(a)},children:o.map((s,l)=>t.jsxs("span",{className:"shortcut-badge__group",children:[l>0&&t.jsx("span",{className:"shortcut-badge__plus",children:"+"}),t.jsx("kbd",{className:"shortcut-badge__key",children:s})]},`${s}-${l}`))})}const Kn=(e,n,a)=>e+(n-e)*a;function Af({speakers:e,size:n=300,viewT:a=0,activeSpeakerId:r=null,playedIds:o,selectedId:s=null,answerId:l=null,showFeedback:c=!1,pulseSelected:d=!1,pulseSelectedDuration:u,pulseScale:h,clickable:p=!1,onSelectSpeaker:C,buttonSize:g=40,showIcon:f=!0,onCenterClick:m,centerLabel:v,centerDisabled:b=!1,centerAttention:w=!1,shortcutAnchor:_="top-right",shortcutScale:y,scaleShortcut:S=!1}){const x=Math.max(0,Math.min(1,a)),A=n/2,M=110/300,k=.18,D=T=>n*(M+(T-1)*k),H=T=>{const q=D(T.row??1),ee=T.angleDeg*Math.PI/180;return{x:A+q*Math.cos(ee),y:A+q*Math.sin(ee)}},R=Math.max(...e.map(T=>T.row??1),1),j=n*.08,P=n*.1,B=n*.24,O=n-2*j,Z=n-P-B,Y=n-B/2,J=i.useMemo(()=>[...new Set(e.map(T=>T.deg))].sort((T,q)=>T-q),[e]),E=J.length,$=Math.max(68,E>1?O/(E-1):0),L=i.useMemo(()=>new Map(J.map((T,q)=>[T,q])),[J]),z=T=>{const q=L.get(T.deg)??0,ee=A+(q-(E-1)/2)*$,we=R>1?Math.min(68,Z/(R-1)):0,ie=we*(R-1),le=P+(Z-ie)/2,se=R===1?P+Z*.4:le+(R-(T.row??1))*we;return{x:ee,y:se}},V=T=>{const q=H(T),ee=z(T);return{x:Kn(q.x,ee.x,x),y:Kn(q.y,ee.y,x)}},X={x:A,y:Kn(A,Y,x)},I=Math.round(g*1.2),U=Math.round(Math.max(16,Math.min(80,g*.7))),K=[],re=new Map;for(const T of e){const q=T.row??1;re.has(q)||re.set(q,[]),re.get(q).push(T)}for(const[T,q]of re.entries()){if(q.length<2)continue;const ee=[...q].sort((Ne,Oe)=>Ne.deg-Oe.deg),we=ee.map(Ne=>V(Ne)),ie=ee.map(Ne=>Ne.deg),le=ie[ie.length-1]-ie[0],se=le/(ie.length-1),oe=360-le,Se=ee.length>=3&&se>0&&oe<=se*1.5,Ie=Math.round(D(T)*1e3)/1e3,He=(Ne,Oe,Ge,ye)=>{const Fe=(Oe.angleDeg-Ne.angleDeg+540)%360-180;if(Fe===0)return`L ${ye.x} ${ye.y}`;if(x===0)return`A ${Ie} ${Ie} 0 0 ${Fe>0?1:0} ${ye.x} ${ye.y}`;const Le=(Ne.angleDeg+Fe/2)*Math.PI/180,We={x:A+Ie*Math.cos(Le),y:A+Ie*Math.sin(Le)},Ze={x:(Ge.x+ye.x)/2,y:(Ge.y+ye.y)/2},Ye={x:Kn(We.x,Ze.x,x),y:Kn(We.y,Ze.y,x)},Re={x:2*Ye.x-Ze.x,y:2*Ye.y-Ze.y};return`Q ${Re.x} ${Re.y} ${ye.x} ${ye.y}`},$e=Se?[...ee,ee[0]]:ee,Me=Se?[...we,we[0]]:we;let De=`M ${Me[0].x} ${Me[0].y}`;for(let Ne=1;Ne<Me.length;Ne++)De+=" "+He($e[Ne-1],$e[Ne],Me[Ne-1],Me[Ne]);K.push({key:`arc-${T}`,d:De})}const de=i.useMemo(()=>new Set(o??[]),[o]),fe=T=>{if(r===T.id)return"active";if(c){if(T.id===l)return"correct";if(T.id===s&&s!==l)return"wrong"}return de.has(T.id)?"played":"idle"},ge=T=>r===T.id?"loop":c?T.id===l?"loop":null:d&&T.id===s?"once":null,he=(T,q)=>{switch(T){case"played":case"correct":return t.jsx(Kr,{size:q});case"wrong":return t.jsx(ro,{size:q});default:return t.jsx(ao,{size:q})}};return t.jsx("div",{className:"sound-compass",children:t.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:n,height:n},children:[t.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,className:"sound-compass__svg",children:[x===0&&e.map(T=>{const{x:q,y:ee}=V(T);return t.jsx("line",{x1:X.x,y1:X.y,x2:q,y2:ee,stroke:"#dde3ec",strokeWidth:"1"},T.id)}),K.map(T=>t.jsx("path",{d:T.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},T.key))]}),w&&!b&&t.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:I,height:I,left:X.x-I/2,top:X.y-I/2}}),m?t.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${b?" sound-compass__center--disabled":""}`,style:{width:I,height:I,left:X.x,top:X.y},"aria-label":v,"aria-disabled":b||void 0,tabIndex:b?-1:0,onClick:b?void 0:m,children:t.jsx(wa,{size:U,color:"currentColor",strokeWidth:1.5})}):t.jsx("div",{className:"sound-compass__center",style:{width:I,height:I,left:X.x,top:X.y},children:t.jsx(wa,{size:U,color:"currentColor",strokeWidth:1.5})}),e.map((T,q)=>{const{x:ee,y:we}=V(T),ie=fe(T),le=ge(T),se={...y!==void 0||S?{"--shortcut-badge-scale":String(y??Math.max(.75,Math.min(3,g/56)))}:null,pointerEvents:p?"auto":"none",cursor:p?"pointer":"default",zIndex:ie!=="idle"?10:1},oe=g,Se=Math.round(Math.max(10,Math.min(56,oe*.38))),Ie=Math.round(Math.max(7,Math.min(18,oe*.2))),He=Math.round(Math.max(10,Math.min(56,oe*.4))),$e=f==="answered"&&(ie==="played"||ie==="correct"||ie==="wrong"),Me=f===!0||$e,De=!$e;return t.jsxs("div",{className:"sound-compass__speaker-pos",style:{...se,left:ee-oe/2,top:we-oe/2},children:[le&&t.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${ie}`+(le==="once"?" sound-compass__pulse--once":""),style:{width:oe,height:oe,...le==="once"&&u!==void 0?{"--sc-pulse-duration-once":`${u}ms`}:null,...h!==void 0?{"--sc-pulse-scale":String(h)}:null}}),t.jsxs("button",{type:"button",tabIndex:p?0:-1,"aria-disabled":p?void 0:!0,onClick:p?()=>C?.(T.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${ie}`,style:{width:oe,height:oe},"aria-label":T.label,children:[Me&&he(ie,Se),De&&t.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:f===!0?Ie:He},children:q+1})]}),T.shortcut&&t.jsx(ai,{keys:T.shortcut,anchor:_,className:"sound-compass__speaker-shortcut"})]},T.id)})]})})}function Nf({children:e,position:n="top-left",size:a=24,className:r=""}){return t.jsx("span",{className:be("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${n}`,r),children:e})}function Bf({orientation:e="horizontal",label:n,className:a=""}){const r=be("divider",`divider--${e}`,n&&e==="horizontal"?"divider--labeled":"",a);return e==="vertical"?t.jsx("div",{className:r,role:"separator","aria-orientation":"vertical"}):n?t.jsxs("div",{className:r,role:"separator","aria-orientation":"horizontal",children:[t.jsx("span",{className:"divider__line"}),t.jsx("span",{className:"divider__label caption-1",children:n}),t.jsx("span",{className:"divider__line"})]}):t.jsx("div",{className:r,role:"separator","aria-orientation":"horizontal"})}function ri({checked:e,onChange:n,name:a,value:r,disabled:o=!1,label:s,className:l=""}){const c=i.useId();return t.jsxs("label",{className:`radio${o?" radio--disabled":""} ${l}`.trim(),htmlFor:c,children:[t.jsx("input",{id:c,type:"radio",name:a,value:r,checked:e,disabled:o,onChange:d=>n?.(d.target.checked)}),t.jsx("span",{className:"radio__dot"}),s&&t.jsx("span",{className:"radio__label body-2",children:s})]})}function Sf({options:e,value:n,onChange:a,name:r,disabled:o=!1,direction:s="vertical",className:l=""}){const c=i.useId(),d=r??`radio-group-${c}`;return t.jsx("div",{className:`radio-group radio-group--${s} ${l}`.trim(),role:"radiogroup",children:e.map(u=>t.jsx(ri,{name:d,value:u.value,checked:n===u.value,disabled:o||u.disabled,label:u.label,onChange:h=>{h&&a?.(u.value)}},u.value))})}const Df={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function jf({tone:e="info",title:n,message:a,children:r,dismissible:o=!1,onDismiss:s,className:l=""}){const{t:c}=pe.useTranslation(),[d,u]=i.useState(!1),h=i.useCallback(()=>{u(!0),s?.()},[s]);if(d)return null;const p=be("alert",`alert--${e}`,l),C=!!n,g=!!(a||r);return t.jsxs("div",{className:p,role:"alert",children:[t.jsxs("div",{className:"alert__body",children:[t.jsxs("div",{className:"alert__header",children:[t.jsx(Pe,{icon:Df[e],size:20,className:"alert__icon"}),C&&t.jsx("span",{className:"alert__title body-2",children:n}),!C&&g&&t.jsx("div",{className:"alert__message body-3",children:a??r})]}),C&&g&&t.jsx("div",{className:"alert__message alert__message--indented body-3",children:a??r})]}),o&&t.jsx("button",{type:"button",className:"alert__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}const Ef={ready:"search",guide:"info",error:"circle-alert"};function Tf(e,n){const a=n.filter(Boolean);if(a.length===0)return e;const r=[];let o=0,s=0;for(const l of a){const c=e.indexOf(l,o);c<0||(c>o&&r.push(e.slice(o,c)),r.push(t.jsx("strong",{className:"search-summary__em body-2",children:l},s++)),o=c+l.length)}return o<e.length&&r.push(e.slice(o)),r}function Mf({status:e="guide",label:n,children:a,emphasis:r,icon:o,className:s=""}){const l=o===!1?null:o??Ef[e],c=be("search-summary",`search-summary--${e}`,s),d=n??a,u=typeof d=="string"&&r&&r.length>0?Tf(d,r):d;return t.jsxs("div",{className:c,role:"status","aria-live":"polite",children:[l!=null&&t.jsx(Pe,{icon:l,size:18,className:"search-summary__icon"}),t.jsx("span",{className:"search-summary__text body-2",children:u})]})}function Zn({title:e,items:n}){const{t:a}=pe.useTranslation(),{anchorRect:r,openAt:o,close:s}=ia();return t.jsxs(t.Fragment,{children:[t.jsx(te,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!r,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:l=>o(l.currentTarget),onPointerLeave:s,onFocus:l=>o(l.currentTarget),onBlur:s}),r&&t.jsx(gn,{title:e,items:n,showIndex:n.length>1,anchorRect:r,onClose:s})]})}function Lf({items:e=[],value:n,onChange:a,className:r="",size:o=40}){const s=i.useId(),{t:l}=pe.useTranslation(),c=i.useRef(null),d=n??e[0]?.key,u=()=>Array.from(c.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),h=(g,f=u())=>{if(f.length===0)return;const m=(g%f.length+f.length)%f.length;f[m]?.focus(),f[m]?.click()},p=g=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(g.key))return;g.preventDefault();const f=u(),m=f.indexOf(g.currentTarget);g.key==="ArrowRight"||g.key==="ArrowDown"?h(m+1,f):g.key==="ArrowLeft"||g.key==="ArrowUp"?h(m-1,f):g.key==="Home"?h(0,f):h(f.length-1,f)},C=e.find(g=>g.key===d);return t.jsxs("div",{className:`tabs ${r}`.trim(),children:[t.jsx("div",{ref:c,className:`tabs__list tabs__list--${o}`,role:"tablist","aria-label":l("tabs.ariaLabel","\uD0ED"),children:e.map(g=>t.jsx("button",{id:`tabs__tab-${s}-${g.key}`,type:"button",role:"tab","aria-selected":g.key===d,"aria-controls":`tabs__panel-${s}-${g.key}`,disabled:g.disabled,tabIndex:g.key===d?0:-1,className:`tabs__tab body-2${g.key===d?" tabs__tab--active":""}`,onClick:()=>a?.(g.key),onKeyDown:p,children:g.label},g.key))}),C&&t.jsx("div",{id:`tabs__panel-${s}-${C.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${s}-${C.key}`,tabIndex:0,className:"tabs__panel",children:C.panel},C.key)]})}const $f={xs:12,sm:16,md:20,lg:28,xl:36};function Rf(e){const n=e.trim().split(/\s+/).filter(Boolean);return n.length===0?"":n.length===1?[...n[0]].slice(0,2).join("").toUpperCase():([...n[0]][0]+[...n[n.length-1]][0]).toUpperCase()}function Pf({src:e,name:n,size:a="md",shape:r="circle",className:o=""}){const{t:s}=pe.useTranslation(),[l,c]=i.useState(!1),d=n?Rf(n):"",u=!!e&&!l,h=!u&&!!d,p=n||s("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return t.jsxs("span",{className:`avatar avatar--${a} avatar--${r} ${o}`.trim(),role:"img","aria-label":p,children:[u&&t.jsx("img",{className:"avatar__image",src:e,alt:p,onError:()=>c(!0)}),!u&&h&&t.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:d}),!u&&!h&&t.jsx(Pe,{icon:"user-round",size:$f[a],className:"avatar__icon"})]})}function If(e,n){if(!n)return!0;const a=n.split(",").map(s=>s.trim()).filter(Boolean);if(a.length===0)return!0;const r=e.name.toLowerCase(),o=e.type.toLowerCase();return a.some(s=>{const l=s.toLowerCase();return l.startsWith(".")?r.endsWith(l):l.endsWith("/*")?o.startsWith(l.slice(0,-1)):o===l})}function Ff({onFilesSelected:e,accept:n,multiple:a=!1,disabled:r=!1,showFileList:o=!0,files:s,onRemove:l,className:c=""}){const{t:d}=pe.useTranslation(),u=i.useRef(null),[h,p]=i.useState(!1),[C,g]=i.useState([]),f=s??C,m=x=>{if(!x||x.length===0)return;const A=Array.from(x).filter(k=>If(k,n));if(A.length===0)return;const M=a?A:A.slice(0,1);if(s===void 0){const k=a?[...f,...M]:M;g(k),e?.(k)}else e?.(M)},v=x=>{x.preventDefault(),!r&&p(!0)},b=x=>{x.preventDefault(),p(!1)},w=x=>{x.preventDefault(),p(!1),!r&&m(x.dataTransfer.files)},_=x=>{m(x.target.files),x.target.value=""},y=()=>{r||u.current?.click()},S=x=>{if(l){l(x);return}if(s===void 0){const A=f.filter((M,k)=>k!==x);g(A),e?.(A)}};return t.jsxs("div",{className:`file-upload ${c}`.trim(),children:[t.jsxs("div",{className:be("file-upload__dropzone",h&&"file-upload__dropzone--dragging",r&&"file-upload__dropzone--disabled"),role:"button",tabIndex:r?-1:0,"aria-disabled":r,onClick:y,onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),y())},onDragOver:v,onDragLeave:b,onDrop:w,children:[t.jsx(Pe,{icon:"upload",size:24,className:"file-upload__icon"}),t.jsx("span",{className:"file-upload__prompt body-2",children:d("fileUpload.dragPrompt","\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC")}),t.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:r,onClick:x=>{x.stopPropagation(),y()},children:d("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),t.jsx("input",{ref:u,type:"file",className:"file-upload__input",accept:n,multiple:a,disabled:r,onChange:_,tabIndex:-1})]}),o&&f.length>0&&t.jsx("ul",{className:"file-upload__list",children:f.map((x,A)=>t.jsxs("li",{className:"file-upload__list-item body-3",children:[t.jsx("span",{className:"file-upload__file-name body-3",children:x.name}),t.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":d("fileUpload.removeAriaLabel",{name:x.name}),onClick:()=>S(A),children:t.jsx(Pe,{icon:"x",size:14})})]},`${x.name}-${A}`))})]})}function Of({items:e,className:n=""}){return t.jsx("nav",{className:`breadcrumb ${n}`.trim(),"aria-label":"breadcrumb",children:t.jsx("ol",{className:"breadcrumb__list",children:e.map((a,r)=>{const o=r===e.length-1;return t.jsxs("li",{className:"breadcrumb__item",children:[o?t.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:a.label}):t.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:a.onClick,children:a.label}),!o&&t.jsx(Pe,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},r)})})})}const Hf={small:14,medium:20,large:28};function Vf({value:e,onChange:n,max:a=5,readOnly:r=!1,size:o="medium",ariaLabel:s,className:l=""}){const{t:c}=pe.useTranslation(),d=r||!n,[u,h]=i.useState(null),p=u??e,C=Hf[o],g=y=>{d||n?.(y)},f=y=>{d||h(y)},m=i.useRef(null),v=y=>{const S=Math.min(a,Math.max(1,y));n?.(S),Array.from(m.current?.querySelectorAll("[data-star]")??[]).find(x=>x.dataset.star===String(S))?.focus()},b=y=>{if(!d){switch(y.key){case"ArrowRight":case"ArrowUp":v((e||0)+1);break;case"ArrowLeft":case"ArrowDown":v((e||1)-1);break;case"Home":v(1);break;case"End":v(a);break;default:return}y.preventDefault()}},w=e>=1&&e<=a?Math.round(e):1,_=()=>{d||h(null)};return t.jsx("div",{className:`rating rating--${o}${d?" rating--readOnly":""} ${l}`.trim(),ref:m,onKeyDown:b,role:d?"img":"radiogroup","aria-label":d?c("rating.valueLabel",{value:e,max:a}):s??c("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:_,children:Array.from({length:a},(y,S)=>{const x=S+1,A=Math.max(0,Math.min(1,p-S)),M=A>0&&A<1,k=t.jsxs("span",{className:"rating__star-wrap",children:[t.jsx(Pe,{icon:"star",size:C,className:"rating__star rating__star--empty"}),A>0&&t.jsx("span",{className:`rating__star-fill${M?" rating__star-fill--half":""}`,children:t.jsx(Pe,{icon:"star",size:C,className:"rating__star rating__star--filled"})})]});return d?t.jsx("span",{className:"rating__item","aria-hidden":"true",children:k},x):t.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":e===x,"aria-label":c("rating.starLabel",{n:x}),"data-star":x,tabIndex:x===w?0:-1,onClick:()=>g(x),onMouseEnter:()=>f(x),children:k},x)})})}const zf=20,Wf=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function qf({value:e,onChange:n,palette:a=Wf,size:r=40,className:o=""}){const{t:s}=pe.useTranslation();return t.jsx("div",{className:`color-picker ${o}`.trim(),role:"group",children:a.map(l=>{const c=e?.toLowerCase()===l.toLowerCase();return t.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${r}`,style:{backgroundColor:l},onClick:()=>n(l),"aria-pressed":c,"aria-label":c?`${l} ${s("colorPicker.selected","\uC120\uD0DD\uB428")}`:l,children:c&&t.jsx(Pe,{icon:"check",size:zf,className:"color-picker__check"})},l)})})}function Uf({icon:e,count:n,title:a,className:r="",onClick:o,onMouseEnter:s,onMouseLeave:l}){const c=be("count-tile",o&&"count-tile--clickable",r);return t.jsxs("div",{className:c,onClick:o,onKeyDown:o?d=>{d.key!=="Enter"&&d.key!==" "||(d.preventDefault(),d.currentTarget.click())}:void 0,onMouseEnter:s,onMouseLeave:l,role:o?"button":"img",tabIndex:o?0:void 0,"aria-label":a?`${a} ${n}`:String(n),children:[t.jsx(Pe,{icon:e,size:20,className:"count-tile__icon"}),t.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:n})]})}function Gf(){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Kf({open:e,onClose:n,ariaLabel:a,title:r,children:o,size:s="md",closeOnBackdrop:l=!0,closeOnEscape:c=!0,showClose:d=!0,className:u,contentClassName:h}){const{t:p}=pe.useTranslation(),C=i.useId(),g=i.useRef(null),f=i.useCallback(()=>n(),[n]);return i.useEffect(()=>{if(!e)return;const m=document.activeElement,{overflow:v}=document.body.style;return document.body.style.overflow="hidden",g.current?.focus(),()=>{document.body.style.overflow=v,m?.focus?.()}},[e]),i.useEffect(()=>{if(!(!e||!c))return Ka(f)},[e,c,f]),Va(g,e),!e||typeof document>"u"?null:Tt.createPortal(t.jsx("div",{className:be("dialog",u),onClick:l?f:void 0,children:t.jsxs("div",{ref:g,role:"dialog","aria-modal":"true","aria-label":r?void 0:a,"aria-labelledby":r?C:void 0,tabIndex:-1,className:be("dialog__surface",`dialog__surface--${s}`,h),onClick:m=>m.stopPropagation(),children:[r?t.jsx("div",{className:"dialog__header",children:t.jsx("h2",{id:C,className:"dialog__title h4b",children:r})}):null,d?t.jsx("button",{type:"button",className:"dialog__close","aria-label":p("common.close","\uB2EB\uAE30"),onClick:f,children:t.jsx(Gf,{})}):null,t.jsx("div",{className:"dialog__body",children:o})]})}),document.body)}function Zf({columns:e,rows:n,rowKey:a,title:r,toolbar:o,empty:s="\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",loading:l,caption:c,className:d=""}){const u=!l&&n.length===0;return t.jsxs("div",{className:be("board",d),children:[r||o?t.jsxs("div",{className:"board__head",children:[r?t.jsx("h2",{className:"board__title",children:r}):t.jsx("span",{}),o?t.jsx("div",{className:"board__toolbar",children:o}):null]}):null,t.jsxs("table",{className:"board__table",children:[c?t.jsx("caption",{className:"board__caption",children:c}):null,t.jsx("thead",{children:t.jsx("tr",{children:e.map(h=>t.jsx("th",{scope:"col",className:be("board__th",`board__cell--${h.headerAlign??h.align??"left"}`),style:h.width?{width:h.width}:void 0,children:h.header},h.key))})}),t.jsx("tbody",{children:l?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:l})}):u?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:s})}):n.map((h,p)=>t.jsx("tr",{className:"board__row",children:e.map(C=>t.jsx("td",{className:be("board__td",`board__cell--${C.align??"left"}`),children:C.render(h,p)},C.key))},a(h,p)))})]})]})}function Yf({name:e,role:n,photo:a,media:r,credentials:o,size:s=190,className:l=""}){return t.jsxs("div",{className:be("person-card",l),children:[t.jsx("div",{className:"person-card__photo",style:{width:s,height:s},children:r??(a?t.jsx("img",{src:a,alt:n?`${e} ${n}`:e}):null)}),t.jsx("h3",{className:"person-card__name",children:e}),n?t.jsx("p",{className:"person-card__role",children:n}):null,o?.length?t.jsx("ul",{className:"person-card__credentials",children:o.map(c=>t.jsx("li",{children:c},c))}):null]})}function Xf({groups:e,className:n=""}){return t.jsx("div",{className:be("timeline",n),children:e.map(a=>t.jsxs("section",{className:"timeline__group",children:[t.jsx("h3",{className:"timeline__title",children:a.title}),t.jsx("ul",{className:"timeline__rows",children:a.entries.map((r,o)=>t.jsxs("li",{className:"timeline__row",children:[r.label?t.jsx("span",{className:"timeline__label",children:r.label}):null,t.jsx("div",{className:"timeline__items",children:r.items.map((s,l)=>t.jsx("p",{children:s},l))})]},`${r.label??""}-${o}`))})]},a.title))})}function Jf({title:e,kind:n,body:a,badge:r,badgeSrc:o,footer:s,width:l,className:c=""}){const d=r??(o?t.jsx("img",{src:o,alt:""}):null);return t.jsxs("div",{className:be("publication-card",c),style:l?{width:l,flexShrink:0}:void 0,children:[d?t.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:d}):null,t.jsx("h3",{className:"publication-card__title",children:e}),n?t.jsx("p",{className:"publication-card__kind",children:n}):null,t.jsx("p",{className:"publication-card__body",children:a}),s?t.jsx("div",{className:"publication-card__footer",children:s}):null]})}function Qf({logo:e,alt:n,onDone:a,durationMs:r=3e3}){const o=Wa(a);return i.useEffect(()=>{if(!o.current)return;const s=setTimeout(()=>o.current?.(),r);return()=>clearTimeout(s)},[r,o]),t.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${r}ms`},"aria-hidden":"true",children:t.jsx("img",{src:e,alt:n,className:"splash-logo__image"})})}function eg({eyebrow:e,eyebrowIndex:n,title:a,description:r,level:o=2,tone:s="dark",className:l=""}){const c=o===1?"h1":"h2";return t.jsxs("div",{className:be("section-header",`section-header--${s}`,l),children:[e?t.jsxs("p",{className:"section-header__eyebrow",children:[n?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"section-header__index",children:n}),t.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?t.jsx(c,{className:"section-header__title",children:a}):null,r?t.jsx("div",{className:"section-header__description",children:r}):null]})}function tg({items:e,className:n=""}){return t.jsx("ul",{className:be("company-meta",n),children:e.map((a,r)=>t.jsxs("li",{className:"company-meta__item",children:[r>0?t.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function oi({value:e,onChange:n,suggestions:a,openOnFocus:r=!1}){const o=i.useId(),[s,l]=i.useState(!1),[c,d]=i.useState(-1),u=i.useRef(null),h=i.useMemo(()=>{if(!a.length)return[];const m=e??"";return m?a.filter(v=>v.toLowerCase().includes(m.toLowerCase())):r?a:[]},[a,e,r]);i.useEffect(()=>{s||d(-1)},[s]),i.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const p=i.useCallback(m=>{n?.(m),l(!1)},[n]),C=i.useCallback(()=>l(!0),[]),g=i.useCallback(()=>{u.current=setTimeout(()=>l(!1),120)},[]),f=i.useCallback(m=>{m.key==="ArrowDown"?(m.preventDefault(),l(!0),d(v=>Math.min(h.length-1,v+1))):m.key==="ArrowUp"?(m.preventDefault(),d(v=>Math.max(-1,v-1))):m.key==="Enter"?c>=0&&!m.nativeEvent.isComposing&&p(h[c]):m.key==="Escape"&&s&&(m.preventDefault(),l(!1))},[h,c,s,p]);return{listId:o,open:s,activeIdx:c,filtered:h,handleFocus:C,handleBlur:g,handleKeyDown:f,handleSelect:p}}function yn(e){const{value:n,defaultValue:a,name:r,inputRef:o,onChange:s,label:l,ariaLabel:c,required:d,placeholder:u,type:h="text",disabled:p=!1,readOnly:C=!1,error:g,helperText:f,maxLength:m,size:v=48,variant:b="input",fullWidth:w=!1,newline:_=!1,multiline:y=!1,rows:S=3,leftIcon:x,rightIcon:A,clearable:M=!1,list:k,showCount:D=!0,className:H="",onFocus:R,onBlur:j,onKeyDown:P,onEnter:B,inputMode:O,autoComplete:Z,autoFocus:Y,suggestions:J,openOnFocus:E=!1}=e,{t:$}=pe.useTranslation(),L=i.useId();!l&&!c&&xa(`TextField:unnamed:${L}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const z=`tf-${L}`,V=`tf-helper-${L}`,X=i.useRef(null),I=oi({value:n??"",onChange:s,suggestions:J??[],openOnFocus:E}),U=!!J&&I.open&&I.filtered.length>0,K=i.useCallback(se=>{X.current=se,typeof o=="function"?o(se):o&&(o.current=se)},[o]),re=n!==void 0,de=re&&h==="password",fe=(n??"").length;i.useEffect(()=>{const se=X.current;if(!de||!se)return;const oe=n??"";se.value!==oe&&(se.value=oe)},[de,n]),i.useEffect(()=>{if(!_||!X.current)return;const se=X.current;se.style.height="",se.scrollHeight>se.clientHeight&&(se.style.height=`${se.scrollHeight}px`)},[n,_]);const ge=m!=null&&fe>m,he=v===32?16:20,T=be("text-field",`text-field--s${v}`,b==="display"?"text-field--display":"",w?"text-field--full-width":"",p?"text-field--disabled":"",C?"text-field--readonly":"",g?"text-field--error":"",x?"text-field--has-left-icon":"",A||M?"text-field--has-right-icon":"",H),q={id:z,...de?{}:re?{value:n}:{defaultValue:a},ref:K,placeholder:u,name:r,disabled:p,readOnly:C,autoFocus:Y,tabIndex:C?-1:void 0,maxLength:m,list:k,inputMode:O,autoComplete:Z,"aria-label":!l&&c?c:void 0,"aria-required":d,"aria-invalid":!!g,"aria-describedby":f||g?V:void 0,role:J?"combobox":void 0,"aria-autocomplete":J?"list":void 0,"aria-haspopup":J?"listbox":void 0,"aria-expanded":J?I.open:void 0,"aria-controls":U?I.listId:void 0,"aria-activedescendant":U&&I.activeIdx>=0?`${I.listId}-option-${I.activeIdx}`:void 0,onChange:se=>s?.(se.target.value),onFocus:(se=>{R?.(se),J&&I.handleFocus()}),onBlur:(se=>{j?.(se),J&&I.handleBlur()}),onKeyDown:(se=>{B&&se.key==="Enter"&&!se.nativeEvent.isComposing&&(se.preventDefault(),B()),P?.(se),J&&I.handleKeyDown(se)})},ee=M&&!p&&!C&&fe>0,we=()=>_?t.jsx("textarea",{...q,className:"text-field__input text-field__input--auto body-2",rows:1}):y?t.jsx("textarea",{...q,className:"text-field__input text-field__input--textarea body-2",rows:S}):t.jsx("input",{...q,type:h,className:"text-field__input body-2"}),ie=b==="display"&&!_&&!y&&!!u,le=()=>t.jsxs(t.Fragment,{children:[we(),ie&&t.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:u})]});return t.jsxs("div",{className:T,children:[l&&t.jsxs("label",{htmlFor:z,className:"text-field__label caption-1",children:[l,d&&t.jsx("span",{className:"text-field__required",children:"*"})]}),t.jsxs("div",{className:"text-field__wrap",children:[x&&t.jsx("span",{className:"text-field__icon text-field__icon--left",children:t.jsx(Pe,{icon:x,label:"",className:"",svgClassName:"text-field__icon-svg",size:he})}),le(),m!=null&&D&&t.jsxs("span",{className:`text-field__count caption-2${ge?" text-field__count--over":""}`,children:[fe,"/",m]}),ee&&t.jsx(te,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:$("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:se=>{se.preventDefault()},onClick:()=>s?.(""),tabIndex:-1}),A&&!ee&&t.jsx("span",{className:"text-field__icon text-field__icon--right",children:t.jsx(Pe,{icon:A,label:"",className:"",svgClassName:"text-field__icon-svg",size:he})})]}),J&&I.open&&I.filtered.length>0&&t.jsx("ul",{id:I.listId,className:"text-field__suggestions",role:"listbox",children:I.filtered.map((se,oe)=>t.jsx("li",{id:`${I.listId}-option-${oe}`,role:"option","aria-selected":oe===I.activeIdx,className:`text-field__suggestion body-2${oe===I.activeIdx?" is-active":""}`,onMouseDown:Se=>Se.preventDefault(),onClick:()=>{I.handleSelect(se),X.current?.focus()},children:se},`${se}-${oe}`))}),(f||g)&&t.jsx("div",{className:"text-field__footer",children:t.jsx("span",{id:V,className:"text-field__helper caption-1",role:g?"alert":void 0,children:g||f})})]})}function It({options:e,value:n,onChange:a,placeholder:r,disabled:o=!1,block:s=!1,size:l=48,error:c=!1,className:d="",ariaLabel:u}){const{t:h}=pe.useTranslation(),p=r??h("dropdown.placeholder","\uC120\uD0DD"),C=i.useId(),g=i.useRef(null),f=i.useCallback(j=>{const P=window.innerHeight-j.bottom<260&&j.top>260;return{position:"fixed",left:j.left,minWidth:j.width,...P?{bottom:window.innerHeight-j.top+6}:{top:j.bottom+6},zIndex:9999}},[]),{open:m,setOpen:v,toggle:b,style:w,triggerRef:_,menuRef:y}=Un({computeStyle:f}),[S,x]=i.useState(-1),A=i.useCallback(()=>x(-1),[]),M=e.find(j=>j.value===n);i.useEffect(()=>{if(m){const j=e.findIndex(P=>P.value===n);x(j>=0?j:0),requestAnimationFrame(()=>{const P=y.current;if(!P)return;const B=P.querySelectorAll(".dropdown__option")[j];B&&(P.scrollTop=Math.max(0,B.offsetTop-P.clientHeight/2+B.clientHeight/2))})}},[m,e,n,y]);const k=i.useCallback(()=>{o||b()},[o,b]),D=i.useCallback(j=>{j.disabled||(a?.(j.value),v(!1))},[a,v]),H=i.useCallback(j=>{if(!o){if(!m){(j.key==="Enter"||j.key===" "||j.key==="ArrowDown")&&(j.preventDefault(),v(!0));return}if(j.key==="Escape"){j.preventDefault(),v(!1);return}j.key==="ArrowDown"?(j.preventDefault(),x(P=>{let B=P+1;for(;B<e.length&&e[B].disabled;)B++;return B<e.length?B:P})):j.key==="ArrowUp"?(j.preventDefault(),x(P=>{let B=P-1;for(;B>=0&&e[B].disabled;)B--;return B>=0?B:P})):j.key==="Enter"&&S>=0&&(j.preventDefault(),D(e[S]))}},[o,m,e,S,D,v]),R=m?t.jsx("div",{ref:y,id:C,className:"dropdown__menu",role:"listbox",style:w,onMouseLeave:A,children:e.map((j,P)=>t.jsxs("button",{id:`${C}-option-${P}`,type:"button",role:"option","aria-selected":j.value===n,className:be("dropdown__option body-2",j.value===n?"dropdown__option--active":"",P===S?"dropdown__option--active":"",j.disabled?"dropdown__option--disabled":""),onMouseDown:B=>B.preventDefault(),onClick:()=>D(j),onMouseEnter:()=>x(P),disabled:j.disabled,children:[t.jsx("span",{className:"dropdown__option-check",children:j.value===n&&t.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),j.label]},j.value))}):null;return t.jsxs("div",{ref:g,className:be("dropdown",`dropdown--s${l}`,m?"dropdown--open":"",s?"dropdown--block":"",c?"dropdown--error":"",d),onKeyDown:H,children:[t.jsxs("button",{ref:_,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":m,"aria-controls":m?C:void 0,"aria-activedescendant":m&&S>=0?`${C}-option-${S}`:void 0,"aria-label":u,"aria-invalid":c||void 0,disabled:o,onClick:k,children:[t.jsx("span",{className:`dropdown__trigger-label body-2${M?"":" dropdown__trigger-label--placeholder"}`,children:M?M.label:p}),t.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&Tt.createPortal(R,g.current?.closest(".ihabdevteam-core-scope")??document.body)]})}function ca({page:e,totalPages:n,onChange:a,prevLabel:r,nextLabel:o,className:s=""}){const{t:l}=pe.useTranslation(),c=r??l("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),d=o??l("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),u=()=>a(Math.max(1,e-1)),h=()=>a(Math.min(n,e+1));return t.jsxs("div",{className:be("pagination",s),children:[t.jsx(te,{size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:c,disabled:e<=1,onClick:u}),t.jsxs("span",{className:"pagination__info body-3",children:[e," / ",n]}),t.jsx(te,{size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:d,disabled:e>=n,onClick:h})]})}function vn(e){const{t:n}=pe.useTranslation(),{options:a=[],value:r=a[0]?.key,onChange:o=v=>{},className:s="",size:l=48,shape:c="pill",useBG:d=!0,fullWidth:u=!1,ariaLabel:h}=e||{},p=i.useRef(null),C=a.filter(v=>!v.disabled),g=v=>{if(!C.length)return;const b=Math.max(0,C.findIndex(_=>_.key===r)),w=v==="first"?C[0]:v==="last"?C[C.length-1]:C[(b+v+C.length)%C.length];w&&(o(w.key),Array.from(p.current?.querySelectorAll("[data-segkey]")??[]).find(_=>_.dataset.segkey===w.key)?.focus())},f=v=>{switch(v.key){case"ArrowRight":case"ArrowDown":g(1);break;case"ArrowLeft":case"ArrowUp":g(-1);break;case"Home":g("first");break;case"End":g("last");break;default:return}v.preventDefault()},m=C.some(v=>v.key===r)?r:C[0]?.key;return t.jsx("div",{ref:p,onKeyDown:f,className:be("segmented-control",`segmented-control--${c}`,`segmented-control--${l}`,u&&"segmented-control--full",!d&&"segmented-control--no-bg",s),role:"radiogroup","aria-label":h??n("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(v=>t.jsx(te,{role:"radio","aria-checked":v.key===r,"data-segkey":v.key,tabIndex:v.key===m?0:-1,label:v.label,count:v.count,disabled:v.disabled,className:v.key===r?"is-selected":"",onClick:()=>{v.disabled||o(v.key)},size:l,shape:c,useBorder:!1,useBG:!1},v.key))})}function Qa({count:e,search:n,segment:a,filters:r,pageSize:o,pagination:s,actions:l,className:c}){const{t:d}=pe.useTranslation(),u=e!=null&&t.jsxs("p",{className:"toolbar__count body-1",children:[e.prefix??d("common.totalPrefix","\uCD1D "),t.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),h=!!(n||r?.length||o||s||l);return t.jsxs("div",{className:be("toolbar",c),children:[t.jsxs("div",{className:"toolbar__row",children:[u,a&&(Array.isArray(a)?a:[a]).map((p,C)=>t.jsx(vn,{size:40,...p},p.ariaLabel??C))]}),h&&t.jsx("div",{className:"toolbar__row",children:t.jsxs("div",{className:"toolbar__row-end",children:[n&&t.jsx(yn,{className:"toolbar__search",size:40,value:n.value,onChange:n.onChange,placeholder:n.placeholder??d("common.search","\uAC80\uC0C9"),ariaLabel:n.placeholder??d("common.search","\uAC80\uC0C9"),clearable:!0}),r?.map((p,C)=>t.jsx(It,{size:40,options:p.options,value:p.value,onChange:p.onChange,ariaLabel:p.ariaLabel},C)),o&&t.jsx(It,{size:40,options:o.options,value:o.value,onChange:o.onChange,ariaLabel:o.ariaLabel??d("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),s&&t.jsx(ca,{page:s.page,totalPages:s.total,onChange:s.onChange,prevLabel:s.prevLabel,nextLabel:s.nextLabel}),l]})})]})}function si(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(si).join(""):""}function ng(e){let n=e.replace(/\r\n/g,`
|
|
833
833
|
`).replace(/\r/g,`
|
|
834
834
|
`);n=n.replace(/^\n+/,"").replace(/\n+$/,"");const a=n.split(`
|
|
835
835
|
`).map(s=>s.replace(/\t/g," ")),r=a.filter(s=>s.trim().length>0),o=r.length>0?Math.min(...r.map(s=>s.match(/^ */)?.[0].length??0)):0;return a.map(s=>s.slice(o)).join(`
|
|
836
|
-
`)}const
|
|
837
|
-
`),
|
|
838
|
-
`),C=f===-1?a:a.slice(0,f);s("comment",C),a=a.slice(C.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){s("comment",c[0]),a=a.slice(c[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){s("string",d[0]),a=a.slice(d[0].length);continue}const u=a.match(/^\d+(?:\.\d+)?/);if(u){s("number",u[0]),a=a.slice(u[0].length);continue}const h=a.match(Qf);if(h){s("keyword",h[0]),a=a.slice(h[0].length);continue}const p=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(p){const f=p[0];s(o&&Jf.has(f)?"command":"identifier",f),a=a.slice(f.length);continue}const m=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(m){s("operator",m[0]),a=a.slice(m[0].length);continue}const g=a.match(/^[()[\]{};.,]/);if(g){s("punctuation",g[0]),a=a.slice(1);continue}s("other",a[0]),a=a.slice(1)}return r}function tg({children:e,language:n="bash",title:a="",showCopy:r=!0,size:o="default",className:s=""}){const{t:l}=me.useTranslation(),[c,d]=i.useState(!1),u=Xf(ni(e)),h=i.useRef(null);i.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const p=async()=>{try{if(!await jm(u))return;d(!0),h.current&&clearTimeout(h.current),h.current=setTimeout(()=>d(!1),2e3)}catch{}},m=eg(u,n),g=o==="small"?"caption-1":"body-3";return t.jsxs("div",{className:ye("code-box",o==="small"?"code-box--small":"",s),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(te,{className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:p,ariaLabel:c?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:m.map((f,C)=>t.jsx("span",{className:`code-token ${f.type} ${g}`,children:f.content},C))})})]})}function Zn(e){const{variant:n="spinner",size:a=24,progress:r=null,label:o}=e||{};if(n==="bar"){const l=Math.max(0,Math.min(100,Number(r)||0));return t.jsx("div",{className:"loader-bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l,"aria-label":o||"Loading",children:t.jsx("div",{className:"loader-bar__inner",style:{width:`${l}%`}})})}const s=typeof a=="number"?`${a}px`:a;return t.jsx("div",{className:"loader-spinner",style:{width:s,height:s},role:"status","aria-label":o||"Loading",children:t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:a,height:a,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})})}function ai({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:o,labelPosition:s="right",className:l="",id:c}){const d=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[s==="left"&&d,t.jsx("input",{id:c,type:"checkbox",checked:e,disabled:a,onChange:u=>n?.(u.target.checked),"aria-label":!r&&o?o:void 0}),t.jsx("span",{className:"toggle__slider"}),s==="right"&&d]})}function ri({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:o,size:s="medium",className:l,title:c,ariaLabel:d}){const u=i.useRef(null),h=i.useId();return i.useEffect(()=>{u.current&&(u.current.indeterminate=!!r)},[r]),t.jsxs("label",{className:ye("checkbox",s==="small"&&"checkbox--small",s==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:h,title:c,children:[t.jsx("input",{ref:u,id:h,type:"checkbox",className:"checkbox__input",checked:e,onChange:p=>n?.(p.target.checked),disabled:a,"aria-label":!o&&d?d:void 0}),t.jsx("span",{className:"checkbox__box"}),o&&t.jsx("span",{className:"checkbox__label body-3",children:o})]})}function ng({count:e,actions:n,onClear:a,clearLabel:r="\uC120\uD0DD \uD574\uC81C",visible:o,content:s,max:l}){const{t:c}=me.useTranslation(),d=o!==void 0?o:e>0,u=i.useRef(null),[h,p]=i.useState(!1);return i.useEffect(()=>{const m=u.current;if(!m)return;const g=()=>{const C=m.firstElementChild??m,b=Array.from(C.children);if(b.length<2){p(!1);return}const y=b[0].offsetTop;p(b.some(w=>w.offsetTop!==y))};if(g(),typeof ResizeObserver>"u")return;const f=new ResizeObserver(g);return f.observe(m),()=>f.disconnect()},[s,e]),t.jsxs("div",{className:`bulk-bar ${d?"bulk-bar--visible":""}`,children:[t.jsx("span",{ref:u,className:"bulk-bar__count body-2",children:s??t.jsx("b",{children:c("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(ut,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`}),t.jsxs("div",{className:`bulk-bar__actions${h?" bulk-bar__actions--stacked":""}`,children:[t.jsx(te,{size:40,label:r,onClick:a}),n.map((m,g)=>t.jsx(te,{size:40,variant:m.variant??"default",icon:m.icon,label:m.label,onClick:m.onClick},g))]})]})}function oi(e){const n=()=>{if(e){const[p,m]=e.split("-");return{y:+p,m:+m-1}}const h=new Date;return{y:h.getFullYear(),m:h.getMonth()}},[a,r]=i.useState(()=>n().y),[o,s]=i.useState(()=>n().m),l=i.useRef(e);i.useEffect(()=>{if(e===l.current)return;l.current=e;const h=n();r(h.y),s(h.m)},[e]);const c=i.useCallback(()=>{o===0?(r(h=>h-1),s(11)):s(h=>h-1)},[o]),d=i.useCallback(()=>{o===11?(r(h=>h+1),s(0)):s(h=>h+1)},[o]),u=i.useCallback((h,p)=>{r(h),s(p)},[]);return{viewY:a,viewM:o,prevMonth:c,nextMonth:d,setViewYM:u}}function si(e,n){return new Date(e,n+1,0).getDate()}function ag(e,n){return new Date(e,n,1).getDay()}function Nn(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function rg(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function og(e,n,a){const r=n?+n.split("-")[0]:e-10,o=a?+a.split("-")[0]:e+10,s=[];for(let l=r;l<=o;l++)for(let c=0;c<12;c++){const d=`${l}-${String(c+1).padStart(2,"0")}`;n&&d<n.slice(0,7)||a&&d>a.slice(0,7)||s.push({value:d,label:`${l}\uB144 ${c+1}\uC6D4`})}return s}function sg({value:e,onChange:n,size:a=48,min:r,max:o,disabled:s,placeholder:l="\uB0A0\uC9DC \uC120\uD0DD",className:c}){const{t:d}=me.useTranslation(),u=i.useMemo(()=>d("calendar.dow",{returnObjects:!0}),[d]),h=new Date,{viewY:p,viewM:m,prevMonth:g,nextMonth:f,setViewYM:C}=oi(e),b=i.useCallback(E=>{const $=window.innerHeight-E.bottom,L=300,V=$<L&&E.top>L;return{position:"fixed",left:E.left,width:E.width,minWidth:260,...V?{bottom:window.innerHeight-E.top+6}:{top:E.bottom+6},zIndex:9999}},[]),{open:y,setOpen:w,toggle:_,style:v,triggerRef:D,menuRef:x}=qn({computeStyle:b,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});i.useEffect(()=>{if(!y)return;const E=x.current;return(E?.querySelector(".date-picker__day--selected")??E?.querySelector(".date-picker__day--today")??E?.querySelector(Vn)??E)?.focus?.(),()=>{const $=document.activeElement;(!$||$===document.body)&&D.current?.focus?.()}},[y,x,D]);const[A,M]=i.useState(1),k=i.useRef(null),S=i.useRef(null);i.useEffect(()=>{if(!y)return;const E=Nn(h.getFullYear(),h.getMonth(),h.getDate()),$=e&&e.slice(0,7)===`${p}-${String(m+1).padStart(2,"0")}`?+e.slice(8):E.slice(0,7)===`${p}-${String(m+1).padStart(2,"0")}`?+E.slice(8):1;M($)},[y]),i.useEffect(()=>{if(S.current==null)return;const E=S.current;S.current=null,k.current?.querySelector(`[data-day="${E}"]`)?.focus()}),i.useEffect(()=>{M(E=>Math.min(E,si(p,m)))},[p,m]);const H=i.useCallback(E=>{let $=Nn(E.getFullYear(),E.getMonth(),E.getDate());r&&$<r&&($=r),o&&$>o&&($=o);const[L,V,z]=$.split("-").map(Number);(L!==p||V-1!==m)&&C(L,V-1),M(z),S.current=z},[r,o,p,m,C]),R=i.useCallback(E=>{const $=new Date(p,m,A),L=z=>{$.setDate($.getDate()+z),H($)},V=z=>{$.setMonth($.getMonth()+z),H($)};switch(E.key){case"ArrowLeft":L(-1);break;case"ArrowRight":L(1);break;case"ArrowUp":L(-7);break;case"ArrowDown":L(7);break;case"Home":L(-$.getDay());break;case"End":L(6-$.getDay());break;case"PageUp":E.shiftKey?V(-12):V(-1);break;case"PageDown":E.shiftKey?V(12):V(1);break;default:return}E.preventDefault()},[p,m,A,H]),j=i.useCallback(E=>{n(Nn(p,m,E)),w(!1)},[p,m,n,w]),P=E=>{const $=Nn(p,m,E);return!!(r&&$<r||o&&$>o)},B=[];for(let E=0;E<ag(p,m);E++)B.push(null);for(let E=1;E<=si(p,m);E++)B.push(E);const O=a===64?20:a===40?16:18,Y=og(p,r,o),X=`${p}-${String(m+1).padStart(2,"0")}`,Q=y?Tt.createPortal(t.jsxs("div",{ref:x,className:"date-picker__dropdown",style:v,role:"dialog","aria-label":d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:g,"aria-label":d("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(qr,{size:16,strokeWidth:2})}),t.jsx(Rt,{className:"date-picker__nav-dropdown",ariaLabel:d("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:Y,value:X,onChange:E=>{const[$,L]=E.split("-");C(+$,+L-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:f,"aria-label":d("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ur,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:k,onKeyDown:R,children:[u.map(E=>t.jsx("div",{className:"date-picker__dow caption-1",children:E},E)),B.map((E,$)=>{if(E===null)return t.jsx("div",{},`e${$}`);const L=Nn(p,m,E),V=L===e,z=L===Nn(h.getFullYear(),h.getMonth(),h.getDate()),J=P(E),I=$%7;return t.jsx("button",{type:"button",disabled:J,"data-day":E,tabIndex:E===A?0:-1,"aria-current":z?"date":void 0,onClick:()=>!J&&j(E),className:ye("date-picker__day caption-1",V&&"date-picker__day--selected",z&&!V&&"date-picker__day--today",J&&"date-picker__day--disabled",I===0&&"date-picker__day--sun",I===6&&"date-picker__day--sat"),children:E},E)})]})]}),document.body):null;return t.jsxs("div",{className:ye("date-picker",`date-picker--s${a}`,y&&"date-picker--open",c),children:[t.jsxs("button",{ref:D,type:"button",className:"date-picker__trigger body-2",onClick:()=>!s&&_(),disabled:s,"aria-haspopup":"true","aria-expanded":y,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?rg(e):l}),t.jsx(to,{size:O,className:"date-picker__icon",strokeWidth:1.5})]}),Q]})}function er({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function ua({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function tr({title:e,titleClassName:n="h3",headRight:a,subRow:r,className:o,children:s}){return t.jsxs("section",{className:o?`manager-section ${o}`:"manager-section",children:[t.jsxs("div",{className:"manager-section__head",children:[t.jsx("div",{className:n,children:e}),a]}),r&&t.jsx("div",{className:"barchart-sub-row",children:r}),s]})}function on(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function ig(){const e=new Date;let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<on(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const o=Math.floor((r-on(n,a))/7),s=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:s,value:`${s}#${o}`}}function lg(e){const n=new Date,a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(d,u)=>`${d}\uB144 ${u+1}\uC6D4`,o=new Map;o.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const u=r(d.date.getFullYear(),d.date.getMonth());o.has(u)||o.set(u,[]),o.get(u).push(d)}const s=new Map;for(const[d,u]of o){const h=d.match(/^(\d+)년 (\d+)월$/);if(!h)continue;const p=Number(h[1]),m=Number(h[2])-1,g=new Date(p,m+1,0).getDate(),f=u.reduce((w,_)=>Math.max(w,_.parts?.length??0),0),C=new Array(g+1).fill(0),b=new Array(g+1).fill(0),y=Array.from({length:g+1},()=>new Array(f).fill(0));for(const w of u){const _=w.date.getDate();if(C[_]+=w.a,b[_]+=w.b,w.parts)for(let v=0;v<f;v++)y[_][v]+=w.parts[v]??0}s.set(d,{year:p,month:m,daysInMonth:g,partsLen:f,dayA:C,dayB:b,dayParts:y})}const l=(d,u,h)=>new Date(d,u,h).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),c={};for(const[d,u]of s){const{year:h,month:p,daysInMonth:m,dayA:g,dayB:f,dayParts:C}=u,b=h===n.getFullYear()&&p===n.getMonth(),y=n.getDate(),w=s.get(r(p===11?h+1:h,(p+1)%12)),_=u.partsLen,v=[];for(let x=1;x<=m;x++){const A=b&&x>y;v.push({label:String(x),a:A&&g[x]===0&&f[x]===0?-1:g[x],b:f[x],..._?{parts:C[x]}:{}})}const D=[];for(let x=on(h,p);x<=m;x+=7){const A=Math.max(0,x+6-m),M=A&&w?Math.max(_,w.partsLen):_;let k=0,S=0;const H=new Array(M).fill(0);for(let j=x;j<=Math.min(x+6,m);j++){k+=g[j],S+=f[j];for(let P=0;P<_;P++)H[P]+=C[j][P]}if(A&&w)for(let j=1;j<=A&&!l(w.year,w.month,j);j++){k+=w.dayA[j],S+=w.dayB[j];for(let P=0;P<w.partsLen;P++)H[P]+=w.dayParts[j][P]}const R=A?`${(p+1)%12+1}/${A}`:`${x+6}`;D.push({label:`${D.length+1}\uC8FC`,sublabel:`[${x}\uC77C~${R}\uC77C]`,a:k,b:S,...M?{parts:H}:{}})}c[d]={weekly:D,daily:v}}return c}function cg(){const e=new Date,n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let o=2024;o<=n;o++){const s=o===n?a:12;for(let l=1;l<=s;l++){const c=`${o}\uB144 ${l}\uC6D4`;r.push({value:c,label:c,year:o,month:l})}}return r.reverse()}const ug=cg(),ii=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function li(e){const{t:n,i18n:a}=me.useTranslation(),[r,o]=i.useState("week"),s=i.useMemo(()=>ug.filter(k=>k.value in e),[e]),l=i.useMemo(()=>{const k=[];for(const S of s){const H=new Date(S.year,S.month,0).getDate(),R=on(S.year,S.month-1),j=Math.ceil((H-R+1)/7);for(let P=j-1;P>=0;P--)k.push({value:`${S.value}#${P}`,monthKey:S.value,year:S.year,month:S.month,week:P})}return k},[s]),c=i.useCallback(k=>{const S=n("calendar.yearMonth",{year:k.year,month:k.month});return a.language?.startsWith("ko")?`${S} ${ii[k.week]??`${k.week+1}`}\uC8FC`:`${S} Week ${k.week+1}`},[n,a.language]),d=i.useMemo(()=>s.map(k=>({value:k.value,label:n("calendar.yearMonth",{year:k.year,month:k.month})})),[n,s]),u=i.useMemo(()=>l.map(k=>({value:k.value,label:c(k)})),[l,c]),h=i.useMemo(()=>ig(),[]),p=i.useMemo(()=>s.find(k=>k.value===h.monthKey)?.value??s[0]?.value??"",[s,h]),m=i.useMemo(()=>l.find(k=>k.value===h.value)?.value??l[0]?.value??"",[l,h]),[g,f]=i.useState(""),[C,b]=i.useState("");i.useEffect(()=>{s.find(k=>k.value===g)||f(p)},[s,g,p]),i.useEffect(()=>{l.find(k=>k.value===C)||b(m)},[l,C,m]);const y=r==="month"?d:u,w=r==="month"?g:C,_=r==="month"?f:b,v=i.useMemo(()=>{const k=n("calendar.dow",{returnObjects:!0});return Array.isArray(k)?k:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),D=y.findIndex(k=>k.value===w),x=i.useCallback(()=>{const k=y.findIndex(S=>S.value===w);k<y.length-1&&_(y[k+1].value)},[y,w,_]),A=i.useCallback(()=>{const k=y.findIndex(S=>S.value===w);k>0&&_(y[k-1].value)},[y,w,_]),M=i.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:o,range:w,setRange:_,activeOptions:y,activeIdx:D,handlePrev:x,handleNext:A,periodOptions:M,monthRange:g,weekRange:C,weekRanges:l,DOW:v}}function dg({data:e,colorA:n,colorB:a,labelA:r,labelB:o,barWidth:s=10,height:l=140,maxOverride:c,tightMax:d,seriesColors:u,seriesLabels:h,rateLabels:p}){const m=!a,g=!!(u&&u.length>0),f=i.useMemo(()=>g?Math.max(0,...e.filter(A=>A.a!==-1).map(A=>(A.parts??[]).reduce((M,k)=>M+Math.max(0,k),0))):Math.max(0,...e.filter(A=>A.a!==-1).flatMap(A=>m?[A.a]:[A.a,A.b])),[e,m,g]),C=i.useMemo(()=>c??(d?f>0?f:10:Math.ceil(f/10)*10||10),[f,c,d]),b=l,y=g||m?1:2,w={"--bar-width":`${i.useMemo(()=>{const A=Math.max(1,e.length);return Math.max(8,Math.min(s,Math.round(120/(A*y)+6)))},[e.length,y,s])}px`},_=i.useMemo(()=>{const A=Math.round(C/2);return A!==C?[C,A,0]:[C,0]},[C]),[v,D]=i.useState(null),x=i.useCallback(()=>D(null),[]);return t.jsxs("div",{className:"manager-bar-chart-wrap",children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:b},children:[_.slice(0,-1).map((A,M)=>t.jsx("div",{className:"manager-bar-chart-gridline",style:{top:M*(b/(_.length-1))},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:A})},M)),e.map((A,M)=>{const k=A.a===-1,S=k?0:A.a/C*b,H=k?0:A.b/C*b,R=A.parts??[];return t.jsx("div",{className:"manager-bar-chart-col",style:{cursor:k?"default":"pointer"},onMouseEnter:k?void 0:j=>{const P=j.currentTarget.getBoundingClientRect(),B=[A.label,A.sublabel].filter(Boolean).join(" ");let O;if(g){const Y=(h??[]).map((Q,E)=>({text:`${Q}: ${R[E]??0}`,color:(u??[])[E]})),X=Y.filter((Q,E)=>(R[E]??0)>0);O=X.length?X:Y}else p&&!m?O=[{text:`${r} ${A.a}%`,color:n},{text:`${o} ${A.b}%`,color:a}]:p&&A.rawB!==void 0?O=[{text:`${p.total} ${A.rawB}`},{text:`${p.done} ${A.rawA??0}`,color:n}]:m?O=[{text:`${r}: ${A.a}`,color:n}]:O=[{text:`${r}: ${A.a}`,color:n},{text:`${o}: ${A.b}`,color:a}];D({rect:{left:P.left,top:P.top,right:P.right,bottom:P.bottom,width:P.width,height:P.height},title:B,items:O})},onMouseLeave:x,children:!k&&(g?t.jsx("div",{className:"manager-bar-chart-stack",style:w,children:(()=>{const j=R.reduce((P,B,O)=>B>0?O:P,-1);return R.map((P,B)=>P>0?t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:P/C*b,background:(u??[])[B],borderRadius:B===j?"6px 6px 0 0":void 0}},B):null)})()}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...w,height:S,background:n}}),!m&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...w,height:H,background:a}})]}))},M)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((A,M)=>{const k=A.a===-1;return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${k?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[A.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),A.label]}),A.sublabel&&t.jsx("span",{className:"caption-1",children:A.sublabel})]},M)})})]})})}),v&&t.jsx(fn,{anchorRect:v.rect,title:v.title,items:v.items,showIndex:!1,closeOnOutsideClick:!1})]})}function ci({control:e}){const{t:n}=me.useTranslation(),{activeOptions:a,activeIdx:r,range:o,setRange:s,handlePrev:l,handleNext:c,periodOptions:d,period:u,setPeriod:h}=e,p=u==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),m=u==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(te,{size:32,type:"dot",icon:"chevron-left",ariaLabel:p,showTooltipInfo:p,disabled:r===a.length-1,onClick:l}),t.jsx(Rt,{value:o,onChange:s,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(te,{size:32,type:"dot",icon:"chevron-right",ariaLabel:m,showTooltipInfo:m,disabled:r<=0,onClick:c}),t.jsx(yn,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:u,onChange:g=>h(g),size:32})]})}function ui(e,n,a){const r=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(o,s)=>{const l=new Date(n);l.setDate(n.getDate()+s);const c=(e[`${l.getFullYear()}\uB144 ${l.getMonth()+1}\uC6D4`]?.daily??[])[l.getDate()-1],d=c?.a===-1||l>r;return{dt:l,entry:c,isFuture:d}})}function pg(e,n,a,r){const{period:o,monthRange:s,weekRange:l,weekRanges:c,DOW:d}=n,u=r?.startsWith("ko"),h=new Date,p=h.getFullYear(),m=h.getMonth()+1,g=h.getDate();if(o==="month"){const b=e[s]??{weekly:[],daily:[]},y=s.match(/^(\d+)년 (\d+)월$/),w=y?Number(y[1]):null,_=y?Number(y[2]):null,v=w&&_?on(w,_-1):1;return b.weekly.map((D,x)=>{const A=x+1;let M=D.label,k=!1,S=!1;if(w&&_){const H=v+x*7,R=new Date(w,_-1,H+6),j=R.getMonth()+1,P=R.getDate(),B=j===_?`${P}`:`${j}/${P}`;M=a("manager.chart.weekRange",{start:H,end:B});const O=new Date(p,m-1,g).getTime();k=O>=new Date(w,_-1,H).getTime()&&O<=R.getTime(),S=w>p||w===p&&(_>m||_===m&&H>g)}return{...D,label:M,sublabel:u?`${ii[A-1]??A}\uC8FC`:`Week ${A}`,isToday:k,a:S?-1:D.a,b:S?0:D.b}})}const f=c.find(b=>b.value===l);if(!f)return[];const C=new Date(f.year,f.month-1,on(f.year,f.month-1)+f.week*7);return ui(e,C,h).map(({dt:b,entry:y,isFuture:w})=>{const _=b.getMonth()+1,v=b.getDate(),D=b.getFullYear();return{label:_===f.month&&D===f.year?`${v}`:`${_}/${v}`,sublabel:d[b.getDay()]??"",a:w?-1:y&&y.a>0?y.a:0,b:w?0:y&&y.b>0?y.b:0,isToday:D===p&&_===m&&v===g,...y?.parts?{parts:w?y.parts.map(()=>0):y.parts}:{}}})}const hg={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function mg({size:e="medium",barWidth:n,titleKey:a,data:r,colorA:o,colorB:s,labelAKey:l,labelBKey:c,showTotal:d=!1,totalUnitKey:u,totalLabelKey:h,control:p,hideControls:m=!1,rate:g=!1,tightMax:f=!1,avgMode:C=!1,totalFormat:b,series:y,loading:w=!1,onDetail:_}){const{t:v,i18n:D}=me.useTranslation(),x=hg[e],A=li(r),M=p??A,k=i.useMemo(()=>pg(r,M,v,D.language),[r,M,v,D.language]),S=i.useMemo(()=>{if(!g)return k;const P=M.period==="month"?M.monthRange.match(/^(\d+)년 (\d+)월$/):null,B=new Date;return k.map((O,Y)=>{let X=O.a===-1?-1:O.b>0?Math.round(O.a/O.b*100):0;if(P&&O.a!==-1){const Q=Number(P[1]),E=Number(P[2])-1,$=ui(r,new Date(Q,E,on(Q,E)+Y*7),B).filter(L=>!L.isFuture);X=$.length?Math.round($.reduce((L,{entry:V})=>L+(V&&V.b>0?V.a/V.b*100:0),0)/$.length):0}return{...O,a:X,b:O.a===-1?0:c&&O.parts&&O.parts[1]>0?Math.round(O.parts[0]/O.parts[1]*100):0,rawA:O.a===-1?-1:O.a,rawB:O.b}})},[k,g,c,M.period,M.monthRange,r]),H=i.useMemo(()=>{if(g||C){const P=(M.period==="week"?k:r[M.monthRange]?.daily??[]).filter(O=>O.a!==-1);if(P.length===0)return 0;const B=g?P.reduce((O,Y)=>O+(Y.b>0?Y.a/Y.b*100:0),0):P.reduce((O,Y)=>O+(Y.a>0?Y.a:0),0);return Math.round(B/P.length)}return S.reduce((P,B)=>P+(B.a>0?B.a:0)+(c&&B.b>0?B.b:0),0)},[S,k,g,C,c,M.period,M.monthRange,r]),R=y&&y.length>0?y.map(P=>({color:P.color,label:P.label})):[{color:o,label:v(l)},...c?[{color:s,label:v(c)}]:[]],j=e==="small";return t.jsx(tr,{className:j?"manager-section--compact":e==="large"?"manager-section--full":void 0,title:v(a),titleClassName:j?"h5 chart-section-title--small":void 0,headRight:j?void 0:t.jsxs(t.Fragment,{children:[!m&&t.jsx(ci,{control:M}),_&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(te,{size:32,type:"dot",icon:"list",ariaLabel:v("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:_})})]}),subRow:t.jsxs(t.Fragment,{children:[d?g||C||h&&b?t.jsx(ua,{label:j?void 0:`${v(M.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${v(h??l)}`,children:b?(b(H).match(/(\d+|[^\d]+)/g)??[]).map((P,B)=>/\d/.test(P)?t.jsx("span",{className:"barchart-total__num h0",children:P},B):t.jsx("span",{className:"barchart-total__unit h5",children:P},B)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:H}),u&&t.jsx("span",{className:"barchart-total__unit h5",children:v(u)})]})}):t.jsxs(ua,{children:[t.jsx("span",{className:"barchart-total__num h0",children:H}),t.jsx("span",{className:"barchart-total__unit h5",children:v(l)}),u&&t.jsx("span",{className:"barchart-total__unit h5",children:v(u)})]}):t.jsx("span",{}),t.jsx(er,{items:R,className:"caption-1"})]}),children:w?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(Zn,{size:32})}):t.jsx(dg,{data:S,colorA:o,colorB:c?s:void 0,labelA:v(l),labelB:c?v(c):void 0,barWidth:n??x.barWidth,height:x.height,maxOverride:g?100:void 0,tightMax:f,seriesColors:y?.map(P=>P.color),seriesLabels:y?.map(P=>P.label),rateLabels:g?{total:v("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:v("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0})})}function Cg(e){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),l=new Date,c=s?Number(s[1]):l.getFullYear(),d=s?Number(s[2]):l.getMonth()+1;return{from:new Date(c,d-1,1,0,0,0),to:new Date(c,d,0,23,59,59)}}const n=e.weekRanges.find(s=>s.value===e.weekRange);if(!n){const s=new Date;return{from:s,to:s}}const a=on(n.year,n.month-1),r=new Date(n.year,n.month-1,a+n.week*7,0,0,0),o=new Date(r);return o.setDate(r.getDate()+6),o.setHours(23,59,59),{from:r,to:o}}const di={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function pi({done:e,total:n,segments:a,color:r="var(--color-main)",size:o="medium",strokeWidth:s,label:l="%",hideCenter:c=!1,hideLabel:d=!1}){const u=typeof o=="number"?o:di[o].diameter,h=s??(typeof o=="number"?12:di[o].strokeWidth),p=u/2,m=(u-h)/2,g=2*Math.PI*m;if(a&&a.length>0){const y=a.reduce((w,_)=>{const v=w.length>0?w[w.length-1].acc:0,D=Math.max(0,Math.min(_.ratio,1-v));return w.push({color:_.color,rotate:-90+v*360,dash:g*D,acc:v+D}),w},[]);return t.jsx("div",{className:"ring-chart",style:{width:u,height:u},children:t.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:h}),y.map((w,_)=>w.dash>0&&t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:w.color,strokeWidth:h,strokeDasharray:`${w.dash} ${g}`,strokeLinecap:"round",transform:`rotate(${w.rotate} ${p} ${p})`},_))]})})}const f=(n??0)>0?Math.min((e??0)/n,1):0,C=g*f,b=g-C;return t.jsxs("div",{className:"ring-chart",style:{width:u,height:u},children:[t.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:h}),f>0&&t.jsx("circle",{cx:p,cy:p,r:m,fill:"none",stroke:r,strokeWidth:h,strokeDasharray:`${C} ${b}`,strokeLinecap:f<.02||f>.98?"butt":"round",transform:`rotate(-90 ${p} ${p})`})]}),!c&&t.jsxs("div",{className:`ring-chart__center${d?"":` ${u<=96?"ring-chart__center--small":o==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${u<=96?"h2":"h1"}`,children:Math.round(f*100)}),!d&&t.jsx("span",{className:`ring-chart__label ${u<=96?"caption-2":"caption-1"}${u<=96||o==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function fg({titleKey:e,headRight:n,icon:a,showTotal:r,totalLabelKey:o,legend:s,loading:l,className:c,...d}){const{t:u}=me.useTranslation();if(!e)return t.jsx(pi,{...d});const h=(d.total??0)>0?Math.round(Math.min((d.done??0)/d.total,1)*100):0,p=d.size==="small",m=d.size==="large",g=[c,p?"manager-section--compact":m?"manager-section--full":""].filter(Boolean).join(" ")||void 0,f=a&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ie,{icon:a,className:"chart-section-icon-inner"})});return t.jsx(tr,{className:g,title:u(e),titleClassName:p?"h5 chart-section-title--small":void 0,headRight:f||(p?void 0:n),subRow:(r||s)&&t.jsxs(t.Fragment,{children:[r?t.jsxs(ua,{label:!p&&o?u(o):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:h}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),s&&t.jsx(er,{items:s})]}),children:l?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(Zn,{size:32})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(pi,{...d,hideCenter:p||d.hideCenter})})})}function gg({label:e,value:n,change:a,changeType:r,icon:o,tooltip:s,onClick:l}){const c=i.useRef(null),{anchorRect:d,openAt:u,close:h}=ia(),p=i.useCallback(()=>{s&&c.current&&u(c.current)},[s,u]),m=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),g=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=i.useCallback(C=>{l&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),l())},[l]);return t.jsxs("div",{ref:c,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?f:void 0,onPointerEnter:p,onPointerLeave:h,onFocus:p,onBlur:h,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?`${e} ${n}`:void 0,children:[s&&d&&t.jsx(an,{anchorRect:{left:d.left,top:d.top+21,right:d.right,bottom:d.bottom,width:d.width,height:d.height},text:s}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),o&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ie,{icon:o,className:"manager-stat-card__icon-inner"})})]}),t.jsx("div",{className:"manager-stat-card__content",children:t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),g&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${m??"neutral"} caption-1`,children:g})]})})]})}function hi({value:e,onChange:n,min:a=0,max:r=100,step:o=1,orientation:s="horizontal",size:l=24,disabled:c=!1,ariaLabel:d,length:u,className:h,label:p,formatValue:m,labelPos:g,labelAlign:f="right",showMinMax:C=!1,minLabel:b,maxLabel:y,showBgTick:w=!1,showFillTick:_=!1,tickStep:v,tickShape:D="dot"}){n&&!d&&xa("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),A=r>a?(x-a)/(r-a):0,M=s==="vertical",k=!n,S=V=>n?.(Number(V.target.value)),H=typeof u=="number"?`${u}px`:u,R={"--slider-ratio":String(A),"--slider-thumb":`${l}px`,...H?M?{height:H}:{width:H}:{}},j=v??o,P=(w||_)&&j>0&&r>a?Math.floor((r-a)/j+1e-6):0;if(P>0&&P<=100){const V=D!=="dash",z=oe=>V?`radial-gradient(circle, ${oe} 0.5px, transparent 1px)`:M?`linear-gradient(to bottom, transparent calc(50% - 2px), ${oe} calc(50% - 2px), ${oe} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${oe} calc(50% - 2px), ${oe} calc(50% + 2px), transparent calc(50% + 2px))`,J=V?"2px":"4px",I=[],U=[],K=[];for(let oe=0;oe<=P;oe++){const pe=oe*j/(r-a);if(pe>1+1e-6)break;const fe=`${((M?1-pe:pe)*100).toFixed(4)}%`,ge=pe<=A+1e-6;if(ge?!_:!w)continue;const he=ge?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(z(he)),U.push(M?`${J} var(--slider-thumb)`:`var(--slider-thumb) ${J}`),K.push(M?`center ${fe}`:`${fe} center`)}I.push(M?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),U.push("100% 100%"),K.push("0 0"),R.backgroundImage=I.join(", "),R.backgroundSize=U.join(", "),R.backgroundPosition=K.join(", "),R.backgroundRepeat="no-repeat"}const B=t.jsx("input",{type:"range",className:ye("slider",`slider--${s}`,k&&"slider--static",!p&&!C&&h),min:a,max:r,step:o,value:x,disabled:c,readOnly:k,tabIndex:k?-1:void 0,"aria-label":d,"aria-orientation":s,onChange:S,style:R});if(!p&&!C)return B;const O=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:b??a}),Y=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:y??r}),X=C?t.jsxs("div",{className:ye("slider-track-group",`slider-track-group--${s}`,!p&&h),children:[M?Y:O,B,M?O:Y]}):B;if(!p)return X;const Q=g??(M?"bottom":"right"),E=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,$=m?m(x):p==="percent"?E:p==="count"?`${x} / ${r}`:String(x),L=t.jsx("span",{className:"slider-wrap__value body-3b",children:$});return t.jsxs("div",{className:ye("slider-wrap",`slider-wrap--${s}`,`slider-wrap--label-${Q}`,`slider-wrap--align-${f}`,h),children:[X,L]})}const bg=.86,yg=250,nr=(e,n,a,r)=>{const o=Math.round(Math.min(r,Math.max(a,e-n)));return`${o<0?"-":"+"}${Math.abs(o)} dB`};function ar({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:o,labelPos:s,labelAlign:l="right",floorDb:c=-60,refDb:d=-35,displayMin:u=-5,displayMax:h=25,className:p,ariaLabel:m}){const g=i.useRef(null),f=i.useRef(null),C=i.useRef(null);i.useEffect(()=>{const _=e??$a(n),v=g.current;if(!_||!v){v?.style.setProperty("--meter-level","0"),f.current&&(f.current.textContent=nr(c,d,u,h));return}La();const D=new Float32Array(_.fftSize);let x=0,A=0,M=0,k=0,S=null;const H=R=>{const j=nm(_,D);x=j>x?j:x*bg;const P=x>1e-5?20*Math.log10(x):-1/0,B=Math.max(c,P),O=B-d,Y=Math.min(1,Math.max(0,(O-u)/(h-u)));if(v.style.setProperty("--meter-level",Y.toFixed(3)),f.current&&(A+=B,M+=1,R-k>=yg)){const X=A/M;S=S==null?X:S*.6+X*.4,f.current.textContent=nr(S,d,u,h),A=0,M=0,k=R}C.current=requestAnimationFrame(H)};return C.current=requestAnimationFrame(H),()=>{C.current!=null&&cancelAnimationFrame(C.current),C.current=null}},[e,n,c,d,u,h]);const b=typeof r=="number"?`${r}px`:r,y=t.jsx("div",{className:"audio-meter__track",style:b?a==="vertical"?{height:b}:{width:b}:{},children:t.jsx("div",{ref:g,className:"audio-meter__fill"})}),w=s??(a==="vertical"?"bottom":"right");return t.jsxs("div",{className:ye("audio-meter",`audio-meter--${a}`,o&&`audio-meter--label-${w}`,o&&`audio-meter--align-${l}`,p),role:"meter","aria-label":m,children:[y,o&&t.jsx("span",{ref:f,className:"audio-meter__value caption-2",children:nr(c,d,u,h)})]})}const mi=500;function Ci({message:e,position:n,duration:a,onClose:r}){const[o,s]=i.useState(!1),[l,c]=i.useState(!1),d=i.useRef(l),u=i.useRef(o);i.useEffect(()=>{d.current=l},[l]),i.useEffect(()=>{u.current=o},[o]);const h=i.useRef(null),p=i.useRef(""),m=i.useRef(r);i.useEffect(()=>{m.current=r});const g=a,f=i.useRef(null),C=i.useRef(0),b=i.useRef(0),y=i.useRef(!1),w=i.useRef(null),_=i.useRef(null),v=i.useRef(null),D=i.useRef(null),x=i.useRef(()=>{});x.current=k=>{k<0||(C.current=Date.now(),b.current=k,f.current=setTimeout(()=>{f.current=null,s(!1),w.current=setTimeout(()=>{c(!1);try{m.current()}catch{}},mi)},k))};const A=i.useCallback(()=>{y.current||!f.current||(y.current=!0,clearTimeout(f.current),f.current=null,b.current=Math.max(0,b.current-(Date.now()-C.current)))},[]),M=i.useCallback(()=>{y.current&&(y.current=!1,x.current(b.current))},[]);return i.useEffect(()=>{if(e!==p.current&&(f.current&&(clearTimeout(f.current),f.current=null),w.current&&(clearTimeout(w.current),w.current=null)),e){if(u.current)return g>0&&!f.current&&(y.current=!1,x.current(g)),p.current=e,()=>{};const k=()=>{const S=h.current;if(S)try{S.classList.remove("is-visible"),S.style.transition="none",n==="top"?S.style.transform="translateX(-50%) translateY(-16px)":S.style.transform="translateX(-50%) translateY(16px)",S.style.opacity="0",S.offsetWidth,S.style.transition="",S.classList.add("is-visible"),D.current&&clearTimeout(D.current),D.current=setTimeout(()=>{D.current=null;try{S.style.opacity="",S.style.transform="",S.style.transition=""}catch{}},60)}catch{}};d.current?(k(),s(!0)):(c(!0),_.current=requestAnimationFrame(()=>{v.current=requestAnimationFrame(()=>{k(),s(!0)})})),g>0&&(y.current=!1,x.current(g))}else s(!1),w.current=setTimeout(()=>c(!1),mi);return p.current=e,()=>{f.current&&clearTimeout(f.current),w.current&&clearTimeout(w.current),_.current&&cancelAnimationFrame(_.current),v.current&&cancelAnimationFrame(v.current),D.current&&clearTimeout(D.current),f.current=null,w.current=null,_.current=null,v.current=null,D.current=null}},[e,g,n]),{mounted:l,showing:o,popupRef:h,pause:A,resume:M}}function Bn({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:o=2e3}){const{mounted:s,showing:l,popupRef:c,pause:d,resume:u}=Ci({message:e,position:n,duration:o,onClose:r});if(!s)return null;const h=a==="notice"||a==="warning"?a:"normal",p=t.jsx("div",{ref:c,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onMouseEnter:d,onMouseLeave:u,onFocusCapture:d,onBlurCapture:u,children:t.jsx("div",{className:`toast__inner toast__inner--${h} body-2`,children:e})});return typeof document<"u"?Tt.createPortal(p,document.body):p}const vg=24;function xg({value:e,max:n=100,size:a=8,color:r,trackColor:o,label:s,formatValue:l,labelPos:c,labelAlign:d="right",ariaLabel:u,className:h}){const p=Number.isFinite(n)&&n>0?n:1,m=Math.max(0,Math.min(Number.isFinite(e)?e:0,p)),g=m/p*100,f=c??(a>=vg?"inside":"bottom"),C=f==="center"?"inside":f,b=C==="inside"&&(d==="left"?g>=15:d==="center"?g>=50:g>=85),y={};return r&&(y["--progress-bar-fill"]=r),o&&(y["--progress-bar-track"]=o),t.jsxs("div",{className:ye("progress-bar",`progress-bar--${a}`,`progress-bar--label-${C}`,s&&`progress-bar--align-${d}`,s&&b&&"progress-bar--label-on-fill",h),style:y,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":m,"aria-valuemin":0,"aria-valuemax":p,"aria-label":u,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${g}%`}})}),s&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(m):s==="percent"?`${Math.round(g)}%`:s==="raw"?String(m):`${m} / ${p}`})]})}const _g="rgba(255, 255, 255, 0.16)";function fi({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:o,variant:s="numbered",announce:l=!1,ariaLabel:c}){const{t:d}=me.useTranslation(),u=Gt("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const h=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,p=c??d("progress.steps",{current:h+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),m={};return a&&(m["--pi-inactive-bg"]=a),r&&(m["--pi-inactive-color"]=r),o&&(a||(m["--pi-inactive-bg"]=_g),r||(m["--pi-inactive-color"]="var(--color-white)")),s==="dot"?t.jsx("div",{className:"progress-indicator progress-indicator--dot",style:m,role:l?"status":"img","aria-label":p,children:Array.from({length:e}).map((g,f)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<h?" done":f===h?" active":""}`},f))}):u?t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:m,role:"list","aria-label":p,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[h+1," / ",e]})}):t.jsx("div",{className:"progress-indicator",style:m,role:"list","aria-label":p,children:Array.from({length:e}).map((g,f)=>t.jsx("span",{role:"listitem","aria-current":f===h?"step":void 0,className:`progress-indicator-dot ${f<h?" done":f===h?" active":""} body-3`,children:f+1},f))})}function wg(e){if(!e)return[];const n=[];let a=0,r="";for(const o of e.trim()){if(o==="("?a++:o===")"&&a--,/\s/.test(o)&&a===0){r&&(n.push(r),r="");continue}r+=o}return r&&n.push(r),n}function kg({children:e,className:n,style:a}){return t.jsx("div",{className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function rr({variant:e="default",children:n,className:a,draggable:r,onClick:o,onMouseEnter:s,onMouseLeave:l,onDragStart:c,onDragEnd:d,expandedContent:u}){const h=i.useCallback(p=>{o&&p.target===p.currentTarget&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},[o]);return e==="loading"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--loading",children:t.jsx(Zn,{size:28})})}):e==="empty"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--empty body-3",children:n})}):t.jsxs("div",{className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:o,onKeyDown:o?h:void 0,onMouseEnter:s,onMouseLeave:l,onDragStart:c,onDragEnd:d,role:o?"button":void 0,tabIndex:o?0:void 0,children:n}),u&&t.jsx("div",{className:"table-row-expand",children:u})]})}function Ag({dir:e}){return t.jsx(e==="asc"?ao:no,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function Ng({children:e,onClick:n,className:a,sortDir:r,onResizeStart:o}){const s=i.useCallback(l=>{n&&l.target===l.currentTarget&&(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),n())},[n]);return t.jsxs("div",{onClick:n,onKeyDown:n?s:void 0,role:n?"button":void 0,tabIndex:n?0:void 0,"aria-sort":r?r==="asc"?"ascending":"descending":void 0,className:ye("table-field body-3",a,r?"table-field--sorted":"",o?"table-field--resizable":""),children:[e,r&&t.jsx(Ag,{dir:r}),o&&t.jsx("span",{className:"table-field__resizer",onPointerDown:o,onClick:l=>l.stopPropagation(),"aria-hidden":"true"})]})}function or({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:o,onRowMouseEnter:s,onRowMouseLeave:l,onRowDragStart:c,onRowDragEnd:d,draggingId:u,gridTemplateColumns:h,resizable:p=!1,resizeMode:m="grow",resizeStorageKey:g,size:f="small",title:C,icon:b,count:y,collapsed:w=!1,onToggleCollapse:_,headerActions:v,empty:D,loading:x,dragOver:A=!1,onDragOver:M,onDragLeave:k,onDrop:S,renderExpandedRow:H,expandedId:R}){const{t:j}=me.useTranslation(),P=48,B=g?`table-cols:${g}`:null,O=i.useRef(null),Y=i.useRef(()=>!1),X=i.useRef([]),Q=i.useRef(null),[E,$]=i.useState(()=>{if(!B||typeof window>"u")return null;try{const T=JSON.parse(window.localStorage.getItem(B)??"null");return Array.isArray(T)&&T.every(q=>typeof q=="number")?T:null}catch{return null}}),L=i.useRef(E);i.useEffect(()=>{L.current=E},[E]);const V=i.useCallback(T=>{const q=Q.current;q&&$(ee=>{if(!ee)return ee;const Ce=[...ee];if(q.next!=null&&q.startWNext!=null){const ie=T.clientX-q.startX,ue=Math.max(P-q.startW,Math.min(q.startWNext-P,ie));Ce[q.index]=q.startW+ue,Ce[q.next]=q.startWNext-ue}else Ce[q.index]=Math.max(P,q.startW+(T.clientX-q.startX));return Ce})},[]),z=i.useCallback(()=>{if(Q.current=null,window.removeEventListener("pointermove",V),window.removeEventListener("pointerup",z),document.body.style.cursor="",document.body.style.userSelect="",B&&L.current)try{window.localStorage.setItem(B,JSON.stringify(L.current))}catch{}},[V,B]),J=i.useCallback((T,q)=>{q.preventDefault(),q.stopPropagation();const ee=O.current;if(!ee)return;const Ce=Array.from(ee.children).map(ue=>ue.getBoundingClientRect().width),ie=m==="fit"?e.findIndex((ue,se)=>se>T&&ue.resizable!==!1):-1;Q.current=ie>=0?{index:T,startX:q.clientX,startW:Ce[T],next:ie,startWNext:Ce[ie]}:{index:T,startX:q.clientX,startW:Ce[T]},$(Ce),window.addEventListener("pointermove",V),window.addEventListener("pointerup",z),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[V,z,m,e]),I=i.useCallback(()=>{const T=O.current,q=T?.closest(".table-wrap");if(!T||!q)return;const ee=q.style.getPropertyValue("--table-grid-cols");q.style.setProperty("--table-grid-cols",e.map(($e,Ee)=>Y.current(Ee)?X.current[Ee]:"max-content").join(" "));const Ce=Array.from(q.querySelectorAll(".table-row")).filter($e=>!$e.classList.contains("table-row--loading")&&!$e.classList.contains("table-row--empty")),ie=e.map(($e,Ee)=>{let De=T.children[Ee]?.getBoundingClientRect().width??0;for(const ke of Ce){const Pe=ke.children[Ee];Pe&&(De=Math.max(De,Pe.getBoundingClientRect().width))}return Math.max(P,Math.ceil(De))}),ue=window.getComputedStyle(T),se=T.clientWidth-(parseFloat(ue.paddingLeft)||0)-(parseFloat(ue.paddingRight)||0);ee?q.style.setProperty("--table-grid-cols",ee):q.style.removeProperty("--table-grid-cols");let ae=ie;const je=ie.reduce(($e,Ee,De)=>$e+(Y.current(De)?Ee:0),0),Fe=ie.reduce(($e,Ee,De)=>$e+(Y.current(De)?0:Ee),0),He=se-je;if(se>0&&Fe>0&&He>0){const $e=He/Fe;ae=ie.map((De,ke)=>Y.current(ke)?De:Math.max(P,Math.round(De*$e)));const Ee=Math.round(He-ae.reduce((De,ke,Pe)=>De+(Y.current(Pe)?0:ke),0));if(Ee!==0){let De=-1;ae.forEach((ke,Pe)=>{!Y.current(Pe)&&(De<0||ke>ae[De])&&(De=Pe)}),De>=0&&(ae[De]=Math.max(P,ae[De]+Ee))}}if($(ae),B)try{window.localStorage.setItem(B,JSON.stringify(ae))}catch{}},[e,m,B]);i.useEffect(()=>()=>{Q.current&&(window.removeEventListener("pointermove",V),window.removeEventListener("pointerup",z),document.body.style.cursor="",document.body.style.userSelect="")},[V,z]);const U=wg(h),K=U.filter(T=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(T));K.length>0&&xa(`table-content-track:${h}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${K.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${h})`);const oe=T=>/^\d+(\.\d+)?px$/.test(U[T]??"");Y.current=oe,X.current=U;const pe=T=>m==="fit"&&!oe(T)?"fr":"px",fe=E&&E.length===e.length&&(m==="fit"||a.length>0)?e.map((T,q)=>T.resizable===!1&&U[q]?U[q]:`${E[q]}${pe(q)}`).join(" "):h,ge=fe?{"--table-grid-cols":fe}:void 0,he=C!==void 0;return t.jsx("div",{className:`table-wrap table-wrap--${f}${p?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${w?" table-wrap--collapsed":""}`,style:ge,onDragOver:M,onDragLeave:k,onDrop:S,children:t.jsxs("div",{className:"table body-2",children:[he&&t.jsxs("div",{className:"table-header",onClick:_,role:_?"button":void 0,tabIndex:_?0:void 0,"aria-expanded":_?!w:void 0,onKeyDown:_?T=>{(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),_())}:void 0,children:[_&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:w?"chevron-right":"chevron-down",ariaLabel:w?j("common.expand","\uD3BC\uCE58\uAE30"):j("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),b&&t.jsx(Ie,{icon:b,label:typeof C=="string"?C:void 0,className:"table-header__icon"}),t.jsx("span",{className:"table-header__title h5b",children:C}),y!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:y}),v&&t.jsx("span",{className:"table-header__actions",onClick:T=>T.stopPropagation(),children:v})]}),!w&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{className:"table-fields table-fields--groups",children:n.map((T,q)=>t.jsx("div",{className:ye("table-field body-3",T.className),style:{gridColumn:`span ${T.span}`},children:T.label},q))}),t.jsxs("div",{className:ye("table-fields-strip",p&&"table-fields-strip--resizable"),children:[t.jsx("div",{className:"table-fields",ref:O,children:e.map((T,q)=>t.jsx(Ng,{onClick:T.onClick,className:T.className,sortDir:T.sortDir,onResizeStart:p&&q<e.length-1&&T.resizable!==!1&&(m!=="fit"||e.some((ee,Ce)=>Ce>q&&ee.resizable!==!1))?ee=>J(q,ee):void 0,children:T.label},q))}),p&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:I})]}),t.jsx("div",{className:"table-body",children:x?t.jsx(rr,{variant:"loading"}):a.length===0&&D?t.jsx(rr,{variant:"empty",children:D}):a.map((T,q)=>{const ee=u!=null&&T.id===u,Ce=R!=null&&(R instanceof Set?R.has(T.id):T.id===R);return t.jsx(rr,{className:`${o?" table-row--clickable":""}${c?" table-row--draggable":""}${ee?" table-row--dragging":""}`.trim(),draggable:!!c,onClick:o?()=>o(T):void 0,onMouseEnter:s?ie=>s(T,ie):void 0,onMouseLeave:l?ie=>l(T,ie):void 0,onDragStart:c?ie=>c(T,ie):void 0,onDragEnd:d?ie=>d(T,ie):void 0,expandedContent:Ce&&H?H(T):void 0,children:r(T).map((ie,ue)=>t.jsx(kg,{className:ie.className,style:ie.style,children:ie.content},ue))},String(T.id??q))})})]})]})})}function gi(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}function bi(e,n){return n!=="wornAt"?String(e[n]??""):e.wornYear?`${e.wornYear}-${e.wornMonth.padStart(2,"0")}-${e.wornDay.padStart(2,"0")}`:""}function Bg({rows:e,onSelect:n,onDelete:a,onWear:r,onRelease:o,onAdd:s}){const{t:l}=me.useTranslation(),c=f=>f==="\uC88C"?l("device.direction.left","\uC88C"):l("device.direction.right","\uC6B0"),{\uC815\uB82C:d,\uCE78:u}=t0(),h=i.useMemo(()=>{if(!d)return e;const{key:f,asc:C}=d;return[...e].sort((b,y)=>{const w=f==="worn"?Number(y.worn)-Number(b.worn):bi(b,f).localeCompare(bi(y,f),"ko");return C?w:-w})},[e,d]),{pageRows:p,pageSizeProps:m,paginationProps:g}=e0(h,d);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(Qa,{count:{value:e.length,unit:l("customers.device.unit","\uAC1C")},pageSize:m,pagination:g,actions:s&&t.jsx(te,{size:40,type:"bar",variant:"main",icon:"plus",label:l("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:s})}),t.jsx(or,{resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...u(l("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},u(l("device.direction.label","\uBC29\uD5A5"),"side"),u(l("device.deviceType","\uC885\uB958"),"device"),u(l("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),u(l("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),u(l("device.productName","\uC81C\uD488\uBA85"),"productName"),u(l("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...a?[{label:"",resizable:!1}]:[]],items:p.map((f,C)=>({id:f.id??`${f.side}-${C}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${a?" 80px":""}`,renderRow:({row:f})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:C=>C.stopPropagation(),children:t.jsx(ri,{checked:f.worn,disabled:!r||!o,ariaLabel:f.worn?l("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):l("customers.device.wear","\uCC29\uC6A9"),onChange:C=>{C?r?.(f):o?.(f)}})})},{content:t.jsx("span",{children:c(f.side)})},{content:f.device?t.jsx(ut,{size:"small",variant:gi(f.device),fill:"soft",label:f.device}):t.jsx("span",{})},{content:t.jsx("span",{children:f.brand})},{content:t.jsx("span",{children:f.fitType||"-"})},{content:t.jsx("span",{children:f.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:f.wornYear?`${f.wornYear}.${f.wornMonth}.${f.wornDay}`:"-"})},...a?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(te,{size:28,type:"bar",variant:"transparent-gray",label:l("common.delete","\uC0AD\uC81C"),onClick:C=>{C?.stopPropagation(),a(f)}})})}]:[]],onRowClick:({row:f})=>n(f),empty:l("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function yi(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a))}}:{}}function Dg(e,n){return new Date(e,n+1,0).getDate()}function Sg(e,n){return new Date(e,n,1).getDay()}function jg({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r}){const{t:o}=me.useTranslation(),s=i.useMemo(()=>o("calendar.dow",{returnObjects:!0}),[o]),[l,c]=i.useState(new Date().getFullYear()),[d,u]=i.useState(new Date().getMonth()),[h,p]=i.useState(null),m=i.useRef(null),g=new Date,f=i.useMemo(()=>{const v={};return e.forEach(D=>{v[D.date]||(v[D.date]=[]),v[D.date].push(D)}),v},[e]),C=i.useMemo(()=>{const v=Dg(l,d),D=Sg(l,d),x=[];for(let A=0;A<D;A++)x.push(null);for(let A=1;A<=v;A++)x.push(A);for(;x.length<35;)x.push(null);return x},[l,d]),b=i.useCallback(()=>{d===0?(c(v=>v-1),u(11)):u(v=>v-1)},[d]),y=i.useCallback(()=>{d===11?(c(v=>v+1),u(0)):u(v=>v+1)},[d]),w=v=>`${l}-${String(d+1).padStart(2,"0")}-${String(v).padStart(2,"0")}`,_=v=>g.getFullYear()===l&&g.getMonth()===d&&g.getDate()===v;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{className:"calendar-nav__button",onClick:b,"aria-label":o("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ie,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5",children:o("calendar.yearMonth",{year:l,month:d+1})}),t.jsx("button",{className:"calendar-nav__button",onClick:y,"aria-label":o("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ie,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[s.map(v=>t.jsx("div",{className:"calendar-day-header body-3",children:v},v)),C.map((v,D)=>{if(v===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${D}`);const x=v,A=w(x),M=f[A]??[],k=h===A;return t.jsxs("div",{className:`calendar-cell${_(x)?" today":""}${k?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?o("calendar.addOnDate",{date:A}):void 0,onClick:r?()=>r(A):void 0,onKeyDown:r?S=>{S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),r(A))}:void 0,onDragOver:a?S=>{S.preventDefault(),p(A)}:void 0,onDragLeave:a?S=>{S.currentTarget.contains(S.relatedTarget)||p(null)}:void 0,onDrop:a?S=>{S.preventDefault(),m.current!=null&&(a(m.current,A),m.current=null),p(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:x}),t.jsx("div",{className:"calendar-cell__badges",children:M.map((S,H)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${S.status==="noVisit"?" calendar-visit-badge--no-visit":S.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?R=>{m.current=S.id,R.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{m.current=null,p(null)}:void 0,onClick:n?R=>{R.stopPropagation(),n(S)}:void 0,...yi(n?()=>n(S):void 0),"aria-label":[S.time?Wo(S.time,o):null,S.customer,o(S.status==="noVisit"?"calendar.legend.noVisit":S.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[S.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:Wo(S.time,o)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:S.customer}),S.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},S.id??H))})]},x)})]})]})}const Eg={page:"h3",pagePopup:"h4",popup:"h5"};function Dn({type:e="page",title:n,icon:a,action:r,disc:o,children:s,className:l,style:c}){const d=Eg[e],u=n||o;return t.jsxs("div",{className:ye("section",`section--${e}`,l),style:c,children:[u&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[a&&t.jsx(Ie,{icon:a,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx("div",{className:`section__title ${d}`,children:n}),o&&t.jsx("div",{className:"section__disc body-3",children:o})]})]}),r&&t.jsx("div",{className:"section__action",children:r})]}),s]})}function vi({icon:e,label:n,tooltip:a,wrapperStyle:r,color:o,bgColor:s,useHover:l=!0,iconSize:c="medium"}){const d=c==="small",u=ye("category-icon",d?"category-icon--small":""),h=d?16:20,p=i.useRef(null),[m,g]=i.useState(!1),f=i.useMemo(()=>{const x=r&&typeof r=="object"?{...r}:{};return!o&&!s?x:{...x,...o?{color:o,"--t-item-fg":o}:{},...s?{"--t-item-bg":s}:{}}},[r,o,s]),C=a||n,[b,y]=i.useState(null);i.useLayoutEffect(()=>{m&&y(p.current?.getBoundingClientRect()??null)},[m]),i.useEffect(()=>{if(!l&&m)try{g(!1)}catch{}},[l,m]),i.useEffect(()=>{if(!m)return;const x=A=>{const M=p.current;if(!M)return;const k=A.target;k&&!M.contains(k)&&g(!1)};return document.addEventListener("pointerdown",x,!0),()=>document.removeEventListener("pointerdown",x,!0)},[m]);const w=i.useCallback(()=>{l&&g(!0)},[l]),_=i.useCallback(()=>{l&&g(!1)},[l]),v=i.useCallback(()=>g(!1),[]),D=i.useCallback(x=>{if(x.key==="Escape"){g(!1);return}(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),g(A=>!A))},[]);return t.jsxs("span",{ref:p,className:"category-icon__wrap",onPointerEnter:w,onPointerLeave:_,onFocus:w,onBlur:_,onKeyDown:D,role:"button",tabIndex:0,"aria-label":typeof C=="string"?C:void 0,"aria-haspopup":!!C,"aria-expanded":m,"data-tooltip-ignore":!0,children:[t.jsx(Ie,{icon:e,label:n,className:u,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:f,size:h}),m&&C&&t.jsx(an,{anchorRect:b,text:typeof C=="string"?C:void 0,offset:8,onClose:v,className:"category-icon__tooltip",ariaLabel:typeof C=="string"?C:void 0})]})}function Tg(e,n){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(n==="LISTEN_IN_NOISE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}if(n==="SHORT_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"SHORT_S"}}if(n==="LONG_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LONG"}}if(n==="ORDERING_SENTENCE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}const o=a.sentences||a.items||[],s=r(Array.isArray(o)?o:[]);return s.length===0&&(a.contextCode||a.context_code)&&s.push(String(a.contextCode||a.context_code)),{previewCodes:s,previewBucket:null}}function Mg(e,n){const[a,r]=i.useState(!1),[o,s]=i.useState(-1),[l,c]=i.useState([]),d=i.useRef(null),u=i.useRef(!1),h=i.useRef(null),[p,m]=i.useState(!1),g=i.useRef([]),{previewCodes:f,previewBucket:C}=Tg(e,n);i.useEffect(()=>{if(!f.length)return;let y=!1;return(async()=>{const w=[],_=[];for(const v of f)try{const D=So(v,C);if(!D){w.push("");continue}let x=null;try{x=await jo(D)}catch{}if(!x)try{const A=await Eo(D);A&&(x=URL.createObjectURL(A),_.push(x))}catch{}w.push(x??"")}catch{w.push("")}y?_.forEach(v=>{try{URL.revokeObjectURL(v)}catch{}}):(g.current.forEach(v=>{try{URL.revokeObjectURL(v)}catch{}}),g.current=_,c(w))})(),()=>{y=!0}},[f.join(","),C]),i.useEffect(()=>()=>{g.current.forEach(y=>{try{URL.revokeObjectURL(y)}catch{}}),g.current=[]},[]);const b=i.useCallback(async y=>{if(y.stopPropagation(),y.preventDefault(),u.current){u.current=!1;try{d.current?.pause()}catch{}r(!1),s(-1);return}if(l.filter(Boolean).length){u.current=!0,r(!0);for(let w=0;w<l.length&&u.current;w++){const _=l[w];if(_){s(w);try{await new Promise((v,D)=>{const x=new Audio(_);d.current=x,x.onended=()=>v(),x.onerror=()=>D(),x.play().catch(D)})}catch{break}}}u.current=!1,r(!1),s(-1)}},[l]);return i.useEffect(()=>()=>{u.current=!1;try{d.current?.pause()}catch{}d.current=null},[]),{playing:a,playingIndex:o,previewUrls:l,previewHover:p,setPreviewHover:m,previewBtnRef:h,handlePreview:b}}const Lg=e=>{if(!e)return[];const n=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(n)return[String(n)];const a=e.sentences||e.items||e.questions||[];return Array.isArray(a)&&a.length>0?a.map(r=>{if(typeof r=="string")return r;if(r&&typeof r=="object"){const o=r;return o.sentence||o.text||o.context||o.question||o.title||""}return""}).filter(r=>typeof r=="string"&&r.trim().length>0).map(r=>r.trim()):[]};function sr(e){const{index:n,type:a,trainingData:r,ariaLabel:o,depth:s,renderPopup:l,completed:c,completedIds:d,selectedIds:u,tooltipText:h,useDescriptionTooltip:p=!1,onRemove:m,hideCheckBadge:g=!1,showTypeLabel:f=!1,onComplete:C,onSelect:b,onMore:y,countLabelOverride:w,size:_="square"}=e||{},{t:v}=me.useTranslation(),[D,x]=i.useState(!1),A=i.useRef(null),[M,k]=i.useState(!1);i.useEffect(()=>{A.current?.matches(":hover")&&k(!0)},[]);const{playing:S,playingIndex:H,previewUrls:R,previewHover:j,setPreviewHover:P,previewBtnRef:B,handlePreview:O}=Mg(r,a?.key),Y=i.useCallback(()=>{b?b():x(!0)},[b]),X=i.useCallback(()=>x(!1),[]),Q=i.useCallback(()=>k(!0),[]),E=i.useCallback(()=>k(!1),[]),$=i.useCallback(()=>P(!0),[P]),L=i.useCallback(()=>P(!1),[P]),[V,z]=i.useState(null);i.useLayoutEffect(()=>{j&&z(B.current?.getBoundingClientRect()??null)},[j,B]);const[J,I]=i.useState(null);i.useLayoutEffect(()=>{M&&!D&&p&&I(A.current?.getBoundingClientRect()??null)},[M,D,p]);const U=i.useCallback(xe=>{(xe.key==="Enter"||xe.key===" ")&&(xe.preventDefault(),Y())},[Y]),K=r||null,oe=i.useMemo(()=>{if(!p)return null;const xe=h?(Array.isArray(h)?h:[h]).filter(Boolean):null,Oe=xe&&xe.length>0?xe:Lg(K);return Oe&&Oe.length>0?Oe:null},[p,h,K]),pe=i.useCallback(xe=>{xe.stopPropagation(),m?.()},[m]),fe=i.useCallback(xe=>xe.stopPropagation(),[]),ge=i.useCallback(xe=>{typeof C=="function"&&C(xe)},[C]),he=c||(d&&r?.id!=null?d.has(String(r.id)):!1),T=!he&&(u!=null&&r?.id!=null?u.has(String(r.id)):!1);Ns("speechear.popup.close",X);const q=qo(),ee=`${a?.label||""} ${n+1}`,Ce=K?.title||K?.name||ee;let ie=a?.icon,ue,se="",ae="";try{const xe=K?.category_0||K?.category_main_code||K?.category_main,Oe=K?.category_1||K?.category_sub_code||K?.category_sub,Se=q.find(We=>We.key===xe);Se?.icon&&(ie=Se.icon),!ue&&Se?.color&&(ue={"--t-item-fg":Se.color}),!ue&&K?.iconColor&&(ue={"--t-item-fg":K.iconColor}),se=Se?.label||"";try{ae=Se?.subs?.find(We=>We.key===Oe)?.label||""}catch{}}catch{}const je=ae?`${se} / ${ae}`:se||a?.label||Ce,Fe=xe=>v("training.countQuestions",{n:xe}),He=xe=>v("training.countSentences",{n:xe});let $e="";try{if(K)if(a?.key==="LISTEN_IN_NOISE"){let xe=0;Array.isArray(K.items)&&K.items.length>0?xe=K.items.length:Array.isArray(K.sentences)&&K.sentences.length>0?xe=K.sentences.length:K.sentences&&(xe=1),$e=He(xe)}else if(a?.key==="SHORT_STORY"){let xe=1;Array.isArray(r?.items)?xe=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?xe=r.raw.items.length:Array.isArray(K?.questions)?xe=K.questions.length:Array.isArray(K?.sentences)&&(xe=K.sentences.length),$e=Fe(xe)}else if(a?.key==="LONG_STORY"){let xe=1;if(Array.isArray(K.items)&&K.items.length>0){const Oe=K.items.reduce((Se,We)=>{const Xe=We.questionItems;return Array.isArray(Xe)?Se+Xe.length:Array.isArray(We.questions)?Se+We.questions.length:Se},0);xe=Oe>0?Oe:K.items.length}else Array.isArray(K.questions)&&K.questions.length>0?xe=K.questions.length:Array.isArray(K.sentences)&&K.sentences.length>0&&(xe=K.sentences.length);$e=Fe(xe)}else if(a?.key==="ORDERING_SENTENCE"){let xe=1;Array.isArray(K.items)&&K.items.length>0?xe=K.items.length:Array.isArray(K.sentences)&&K.sentences.length>0&&(xe=K.sentences.length),$e=He(xe)}else Array.isArray(K.items)&&($e=K.items.length>0?Fe(K.items.length):"")}catch{}const Ee=_==="list",De=_==="compact",ke=_==="small",Pe=ke&&a?.key?Lm().find(xe=>xe.key===a.key)?.label??"":"",Ye=!!f&&!!a?.label&&a.label!==String(Ce)||ke&&!!Pe&&Pe!==String(Ce);return t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:A,className:`training-block-button${Ee?" training-block-button--list":""}${De?" training-block-button--compact":""}${ke?" training-block-button--small":""}${he?" training-block-button--completed":""}${T?" training-block-button--selected":""}${Ye&&!ke?" training-block-button--withType":""}${ke&&!Ye?" training-block-button--no-type-label":""}`,onClick:Y,onPointerEnter:Q,onPointerLeave:E,role:"button",tabIndex:0,onKeyDown:U,"aria-label":typeof o=="string"?o:typeof Ce=="string"?Ce:void 0,children:[t.jsxs("div",{className:"training-block-button__left",children:[f&&a?.label&&a.label!==String(Ce)&&t.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),ke&&Pe&&Pe!==String(Ce)&&t.jsx("span",{className:"training-block-button__type-label caption-2",children:Pe}),t.jsx(vi,{icon:ie,label:Ce,tooltip:je,wrapperStyle:ue,iconSize:ke||De?"small":"medium"}),!g&&(he||T)&&!(m&&M)&&t.jsx(ut,{type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":he?v("training.completed","\uD6C8\uB828 \uC644\uB8CC"):v("training.selected","\uC120\uD0DD\uB428")}),m&&M&&t.jsx(ut,{type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":v("common.remove","\uC81C\uAC70"),onClick:pe}),t.jsx("div",{className:`training-block-button__title ${De?"body-3":ke?"body-3b":"h3"}`,children:String(Ce)}),t.jsxs("div",{className:"training-block-button__description",children:[(()=>{const xe=w!==void 0?w:$e;return xe?t.jsx("div",{className:`training-block-button__count ${ke?"caption-2":"caption-1"}`,children:xe}):null})(),t.jsx("div",{className:"training-block-button__chevron",children:t.jsx(Ie,{icon:"chevron-right",label:v("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:ke?12:20})})]}),(Ee||ke)&&R.length>0&&t.jsx("div",{ref:B,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:fe,onPointerEnter:$,onPointerLeave:L,children:t.jsx(te,{size:ke?28:32,type:"dot",icon:S?"pause":"play",variant:ke?"transparent-lightGray":"default",useBorder:!1,selected:S,ariaLabel:S?v("training.stop","\uC815\uC9C0"):v("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:O})})]}),y&&t.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:xe=>{xe.stopPropagation(),y(xe)},children:t.jsx(te,{size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:v("common.more","\uB354\uBCF4\uAE30")})})]}),j&&t.jsx(an,{anchorRect:V,text:S?v("training.stop","\uC815\uC9C0"):v("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:L}),M&&!D&&p&&(oe?t.jsx(fn,{anchorRect:J,items:oe,activeIndex:H,onClose:E}):K?.subTitle?t.jsx(an,{anchorRect:J,text:K.subTitle,offset:8,onClose:E}):null),D&&l&&l({trainingData:K,typeKey:a?.key??"",onClose:X,onComplete:ge,popupTitle:String(Ce),popupSubTitle:a?.subTitle,depth:s!=null?String(s):void 0,popupIcon:ie,popupIconTooltip:String(je),popupWrapperStyle:ue})]})}const da=20;function $g(e){const{t:n}=me.useTranslation(),{type:a,trainingDatas:r,depth:o,renderPopup:s,completedIds:l,selectedIds:c,onItemComplete:d,size:u,useDescriptionTooltip:h,onRemove:p,onMore:m,sectionType:g="page"}=e||{},[,f]=i.useState(0),C=typeof r<"u"?Array.isArray(r)?r:[]:[],b=C.length,[y,w]=i.useState(Math.min(b,da)),_=i.useMemo(()=>Array.isArray(o)?[...o,a?.label].filter(Boolean).join(" \xB7 "):[o||"",a?.label].filter(Boolean).join(" \xB7 "),[o,a?.label]);i.useEffect(()=>{w(Math.min(b,da))},[b]),Ns("speechear.data.updated",()=>f(D=>D+1));function v(){w(D=>Math.min(b,D+da))}return t.jsxs(Dn,{type:g,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",children:(C||[]).slice(0,y).map((D,x)=>{const A=D;return t.jsx(sr,{index:x,type:a,trainingData:A,depth:_,renderPopup:s,completedIds:l,selectedIds:c,size:u,useDescriptionTooltip:h,onRemove:typeof p=="function"&&c!=null&&A?.id!=null&&c.has(String(A.id))?()=>p(A):void 0,onComplete:typeof d=="function"&&A?.id!=null?()=>d(String(A.id)):void 0,onMore:typeof m=="function"?M=>m(A,M):void 0},A?.id!=null?`${a?.key||"t"}-${String(A.id)}`:`${a?.key||"t"}-${x}`)})}),b>da&&y<b&&t.jsx("div",{className:"training-block__more",children:t.jsx(te,{size:48,type:"bar",icon:"plus",onClick:v,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function ir(e){const n=i.useRef(null),[a,r]=i.useState(!!e),[o,s]=i.useState(!1);i.useEffect(()=>{s(!1);const d=n.current;r(!!e&&!(d?.complete&&d.naturalWidth>0))},[e]);const l=i.useCallback(()=>r(!1),[]),c=i.useCallback(()=>{r(!1),s(!0)},[]);return{imgRef:n,loading:a,failed:o,hasImage:!!e&&!o,onLoad:l,onError:c}}let Sn=null;function Rg(e){if(Sn&&Sn!==e)try{Sn()}catch{}return Sn=e,()=>{Sn===e&&(Sn=null)}}var Pg='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2256_7437)">%0A<g opacity="0.1">%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23111111"/>%0A</g>%0A<path d="M57.1426 17.8571H35.7141C25.8533 17.8571 17.8569 25.8536 17.8569 35.7143V44.0643L10.9926 51.6179C10.5819 52.0679 10.6283 52.775 11.0998 53.1643C13.1783 54.8929 15.4641 56.2214 17.8569 57.1679C17.8676 63.925 21.6283 69.8 27.1712 72.825C25.7855 70.2893 24.9998 67.3786 24.9998 64.2821V35.7107C24.9998 29.7929 29.7962 24.9964 35.7141 24.9964H64.2855C67.3783 24.9964 70.2891 25.7857 72.8283 27.1679C69.7998 21.6179 63.9105 17.8536 57.1426 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M72.8285 27.1714C74.2142 29.7072 75 32.6179 75 35.7143V64.2857C75 70.2036 70.2035 75 64.2857 75H35.7142C32.6214 75 29.7107 74.2107 27.1714 72.8286C30.2 78.3786 36.0892 82.1429 42.8571 82.1429H58.9678C59.9321 82.1429 60.7142 82.925 60.7142 83.8893C60.7142 84.9107 61.5892 85.7215 62.6071 85.6322C73.5535 84.675 82.1428 75.4822 82.1428 64.2857V42.8572C82.1428 36.0893 78.3785 30.2 72.8285 27.1714Z" fill="%23111111"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="%23111111"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2323 35.6679 46.2859 35.8464 45.4073 36.2679C44.518 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2037 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2256_7437">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Ig=Pg,lr=i.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:o=!1,onSelect:s,flipDelay:l=0,hideLabel:c=!1,hideAudio:d=!1,orderRank:u=null},h){const{t:p}=me.useTranslation(),m=e.word||e.title||"",g=n||!m,f=e.audio??e.sound??e.audioKey,C=e.subLabel||e.pronunciation||"",b=e.colloquialLabel||"",[y,w]=i.useState({label:m,subLabel:C,colloquialLabel:b,homonum:e.homonum});m&&y.label!==m&&w({label:m,subLabel:C,colloquialLabel:b,homonum:e.homonum});const _=i.useRef(null),v=Gt("(max-width: 767px)"),[D,x]=i.useState(!1),[A,M]=i.useState(""),k=kn()?.(y.label,y.homonum)??e.image??"",{imgRef:S,loading:H,hasImage:R,onLoad:j,onError:P}=ir(k);i.useEffect(()=>{let $=!1;return(async()=>{if(f){if(typeof f=="string"){if(f.startsWith("http")||f.includes("/")){M(f);return}}else if(typeof f=="object"&&!Array.isArray(f)){const V=f.src;if(V){M(V);return}}}const L=Ma();if(L&&m)try{const V=await Promise.resolve(L(m));!$&&V&&M(V)}catch{}})(),()=>{$=!0}},[f,m]),i.useEffect(()=>()=>{try{_.current?.pause()}catch{}_.current=null},[]);const B=i.useCallback(()=>new Promise($=>{if(typeof window<"u"&&window.speechSynthesis&&m){x(!0),window.speechSynthesis.cancel();const L=new SpeechSynthesisUtterance(m);L.lang="ko-KR",L.onend=()=>{x(!1);try{a?.()}catch{}$()},L.onerror=()=>{x(!1),$()},window.speechSynthesis.speak(L)}else $()}),[m,a]),O=i.useCallback($=>new Promise(L=>{let V=!1;const z=()=>{V||(V=!0,x(!1),L(!1))};try{const J=new Audio($);_.current=J,J.onended=()=>{if(!V){V=!0,x(!1);try{a?.()}catch{}L(!0)}},J.onerror=z,J.play().catch(z)}catch{z()}}),[a]),Y=i.useCallback(async()=>{if(n)return;const $=Rg(()=>{try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)});try{window.speechSynthesis?.cancel()}catch{}try{if(A&&(x(!0),await O(A)))return;const L=Jh();if(L&&m)try{const V=await Promise.resolve(L(m));if(V&&(x(!0),await O(V)))return}catch{}await B()}finally{$()}},[n,A,m,O,B]);i.useImperativeHandle(h,()=>({play:()=>Y()}),[Y]);const X=$=>$.stopPropagation(),Q=i.useCallback($=>{if($.stopPropagation(),!n){if(D){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}Y()}},[n,D,Y]),E=ye("training-word-card",n?"training-word-card--disabled":"",g?"training-word-card--flipped":"",r?"training-word-card--selectable":"",o?"training-word-card--selected":"");return t.jsx("div",{className:E,onClick:r&&!n?s:void 0,role:r?"button":void 0,"aria-pressed":r?o:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?$=>{($.key==="Enter"||$.key===" "||$.key==="Spacebar")&&($.preventDefault(),s?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:g?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[o&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:X,children:t.jsx(ut,{type:"dot",size:40,position:"inline",animate:!0,icon:u!=null?void 0:"check",number:u??void 0,"aria-label":u!=null?p("training.nthSelected",{n:u}):p("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:R?t.jsxs(t.Fragment,{children:[H&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:S,className:"training-word-card__image",src:k,alt:y.label||p("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:H?0:1},onLoad:j,onError:P})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!c&&t.jsxs("div",{className:"training-word-card__body",children:[t.jsx("div",{className:"training-word-card__word",children:y.label}),y.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",y.subLabel,"]"]}),y.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",y.colloquialLabel,"]"]})]}),!d&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?X:void 0,children:t.jsx(te,{size:v?40:48,type:v?"dot":"bar",icon:D?"pause":"play",label:v?void 0:p("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:D,onClick:Q,disabled:n,ariaLabel:p("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:Ig,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})});let Yn=0,xi="",_i="",Xn=0;function Fg(){return wi(!1)}function Og(){return wi(!0)}function wi(e){const n=typeof document<"u";Yn===0&&n&&(xi=document.body.style.overflow,document.body.style.overflow="hidden"),e&&n&&(Xn===0&&(_i=document.body.style.paddingRight),Xn++,document.body.style.paddingRight="0px"),Yn++;let a=!1;return()=>{a||(a=!0,Yn=Math.max(0,Yn-1),e&&n&&(Xn=Math.max(0,Xn-1),Xn===0&&(document.body.style.paddingRight=_i)),Yn===0&&n&&(document.body.style.overflow=xi))}}const Hg=260;function sn(e){const{t:n}=me.useTranslation(),{title:a,subtitle:r,headerActions:o,children:s,buttons:l,footer:c,footerClassName:d="",onClose:u,closeDisabled:h=!1,beforeClose:p,className:m="",ariaLabel:g,useTitle:f=!0,inline:C=!1,size:b,resetScrollKey:y}=e||{},[w,_]=i.useState(!1),v=i.useRef(!1),D=i.useRef(null),x=i.useId(),A=i.useRef(null);i.useEffect(()=>{},[C,a,g,m]),i.useEffect(()=>{y!==void 0&&A.current&&(A.current.scrollTop=0)},[y]);const[M,k]=i.useState(!1);i.useEffect(()=>{const B=A.current;if(!B)return;const O=()=>k(B.scrollHeight>B.clientHeight+1);if(O(),typeof ResizeObserver>"u")return;const Y=new ResizeObserver(O);Y.observe(B);const X=B.firstElementChild;return X&&Y.observe(X),()=>Y.disconnect()},[s,y]),i.useEffect(()=>{if(!C)return Fg()},[C]),i.useEffect(()=>{if(C)return;const B=document.activeElement,O=D.current;return O&&!O.contains(document.activeElement)&&(O.querySelector(Vn)??O).focus(),()=>{B?.focus?.()}},[C]),za(D,!C);const S=i.useCallback(B=>{v.current||(v.current=!0,_(!0),setTimeout(()=>{try{B&&B()}catch{}},Hg))},[]),H=i.useCallback(()=>{h||p&&p()===!1||S(u)},[S,u,h,p]),R=i.useRef(H);i.useEffect(()=>{R.current=H});const j=!C&&!!u;i.useEffect(()=>{if(j)return Ka(()=>R.current())},[j]);const P=t.jsx("div",{className:`popup ${C?"popup--inline":""} ${w?"popup--closing":""} ${m}`,children:t.jsxs("div",{ref:D,className:`popup-panel${b?` popup-panel--${b}`:""}`,tabIndex:-1,role:C?void 0:"dialog","aria-modal":C?void 0:!0,"aria-labelledby":!C&&a?x:void 0,"aria-label":!C&&!a&&g?g:void 0,children:[!f&&(o||u)?t.jsxs("div",{className:"popup-close-float",children:[o,u&&t.jsx(te,{size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:H,disabled:h,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||o||u?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[t.jsx("span",{id:x,className:"popup-title popup-title--left h2",children:a}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),t.jsxs("div",{className:"popup-header-actions",children:[o,u&&t.jsx(te,{size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:H,disabled:h,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:A,tabIndex:M?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof s=="function"?s({animateThen:S,closeWithAnimation:H}):s})}),l?.length?t.jsx("div",{className:"popup-footer popup-footer--buttons",children:l.map((B,O)=>t.jsx(te,{size:48,variant:B.variant??"default",label:B.label,disabled:B.disabled,onClick:()=>B.onClick?.({animateThen:S,closeWithAnimation:H})},O))}):c?t.jsx("div",{className:`popup-footer${d?` ${d}`:""}`,children:typeof c=="function"?c({animateThen:S,closeWithAnimation:H}):c}):null]})});return C||typeof document>"u"?P:Tt.createPortal(P,document.body)}function pa(e){return String(e)}const ki=["o","triangle","x"];function Ai(e,n){return e===n?null:n}const Ni={o:"circle",triangle:"triangle",x:"x"},Bi={o:"main",triangle:"warn",x:"danger"};function zg(e){let n=0,a=0,r=0;for(const s of Object.values(e))s==="o"?n++:s==="triangle"?a++:s==="x"&&r++;const o=n+a+r;return{marked:o,o:n,triangle:a,x:r,rate:o===0?null:(n+a*.5)/o}}function cr(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function Di(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function Vg(e,n){return!n&&e>0}const jn={landscape:{width:1123,height:794,printSize:"A4 landscape",printW:"297mm",printH:"210mm"},portrait:{width:794,height:1123,printSize:"A4 portrait",printW:"210mm",printH:"297mm"}};function Wg(e="landscape"){const{printSize:n,printW:a,printH:r}=jn[e],o=document.createElement("style");o.textContent=`@page { size: ${n}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(o);const s=()=>{document.head.removeChild(o),window.removeEventListener("afterprint",s)};window.addEventListener("afterprint",s),window.print()}function Si(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let o=0;o<e.length;o+=a)r.push(e.slice(o,o+a));return r}const qg={landscape:{1:{cols:1,rows:1},2:{cols:2,rows:1},3:{cols:3,rows:1},4:{cols:2,rows:2},5:{cols:3,rows:2},6:{cols:3,rows:2},7:{cols:4,rows:2},8:{cols:4,rows:2},9:{cols:5,rows:2},10:{cols:5,rows:2},11:{cols:4,rows:3},12:{cols:4,rows:3}},portrait:{1:{cols:1,rows:1},2:{cols:1,rows:2},3:{cols:1,rows:3},4:{cols:1,rows:4},5:{cols:1,rows:5},6:{cols:2,rows:3},7:{cols:2,rows:4},8:{cols:2,rows:4},9:{cols:2,rows:5},10:{cols:2,rows:5},11:{cols:3,rows:4},12:{cols:3,rows:4}}};function Ug(e,n){const a=qg[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),o=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let s,l;return e==="landscape"?(l=o,s=Math.ceil(r/l)):(s=o,l=Math.ceil(r/s)),(e==="landscape"?s<l:l<s)&&([s,l]=[l,s]),{cols:s,rows:l}}const Gg={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},ji={\uBA85:"\uBA85\uC0AC",\uB3D9:"\uB3D9\uC0AC",\uD615:"\uD615\uC6A9\uC0AC",\uBD80:"\uBD80\uC0AC",\uC218:"\uC218\uC0AC",\uAD00:"\uAD00\uD615\uC0AC",\uAC10:"\uAC10\uD0C4\uC0AC",\uC870:"\uC870\uC0AC",\uC811:"\uC811\uC0AC",\uC758:"\uC758\uC874\uBA85\uC0AC",\uB300:"\uB300\uBA85\uC0AC",\uBCF4\uB3D9:"\uBCF4\uC870\uB3D9\uC0AC",\uBCF4\uD615:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},Ei={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function ur(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function Ti(e,n,a,r){if(r!=="\uC810\uC120")return{};const o=e%n,s=Math.floor(e/n),l=o<n-1,c=s<a-1;if(!l&&!c)return{};const d="#ddd",u=g=>`repeating-linear-gradient(to ${g}, ${d} 0, ${d} 5px, transparent 5px, transparent 10px)`,h=[],p=[],m=[];return l&&(h.push(u("bottom")),p.push("1px 100%"),m.push("right center")),c&&(h.push(u("right")),p.push("100% 1px"),m.push("center bottom")),{backgroundImage:h.join(", "),backgroundSize:p.join(", "),backgroundPosition:m.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const Kg=280,Zg=240,Yg=280,Xg=400,Jg=120,Qg=280;function Mi(e,n){const a=i.useRef(null),[r,o]=i.useState(1),[s,l]=i.useState(0),c=i.useCallback((d,u)=>{const h=d/e,p=n?u/n:1/0,m=Math.min(1,h,p);o(m),l(Math.max(0,(d-e*m)/2))},[e,n]);return i.useEffect(()=>{const d=a.current;if(!d)return;const u=n?d.parentElement??d:d;if(c(u.clientWidth,u.clientHeight),typeof ResizeObserver>"u")return;const h=new ResizeObserver(([p])=>c(p.contentRect.width,p.contentRect.height));return h.observe(u),()=>h.disconnect()},[c,n]),{scalerRef:a,scale:r,offset:s}}let Xt=null;function Li({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:o=!0,showImage:s=!0,showPronunciation:l=!0,showColloquial:c=!0,buttonSize:d=40,wordInfo:u}){const{t:h}=me.useTranslation(),p=i.useRef(null),m=i.useRef(null),g=i.useRef(null),[f,C]=i.useState(1),[b,y]=i.useState(!1),[w,_]=i.useState(""),[v,D]=i.useState(null),x=n&&n.length>0?n:em()?.(e,r)??"",A=kn()?.(e,r)??"",{imgRef:M,loading:k,failed:S,onLoad:H,onError:R}=ir(A),j=i.useCallback(()=>D(m.current?.getBoundingClientRect()??null),[]),P=i.useCallback(()=>D(null),[]),B=i.useMemo(()=>{if(!u)return null;const E=[];return u.grade&&E.push(`\uB09C\uC774\uB3C4: ${u.grade}\uB4F1\uAE09`),u.syllables&&E.push(`\uC74C\uC808 \uC218: ${u.syllables}\uC74C\uC808`),u.pos&&E.push(`\uD488\uC0AC: ${ur(u.pos,ji)}`),u.wordType&&E.push(`\uC720\uD615: ${ur(u.wordType,Ei)}`),E.length?E:null},[u]);i.useEffect(()=>{const E=Ma(),$=x||e;if(!E||!$)return;let L=!1;return Promise.resolve(E($)).then(V=>{!L&&V&&_(V)}),()=>{L=!0}},[x,e]),i.useEffect(()=>()=>{g.current?.pause(),Xt?.audio===g.current&&(Xt=null)},[]);const O=i.useCallback(async E=>{if(E.stopPropagation(),b){g.current?.pause(),y(!1),Xt=null;return}if(w){Xt?.stop(),y(!0);try{const $=new Audio(w);g.current=$;const L=()=>{y(!1),Xt?.audio===$&&(Xt=null)};Xt={audio:$,stop:()=>{$.pause(),L()}},$.onended=L,$.onerror=L,await $.play()}catch{y(!1),Xt?.audio===g.current&&(Xt=null)}}},[b,w]),Y=s&&!!A&&!S,X=Y&&o?Kg:Y?Yg:Zg,Q=Y&&o?Xg:Y?Qg:Jg;return i.useEffect(()=>{const E=p.current;if(!E||typeof ResizeObserver>"u")return;const $=new ResizeObserver(([L])=>{const{width:V,height:z}=L.contentRect;C(Math.min(V/X,z/Q))});return $.observe(E),()=>$.disconnect()},[X,Q]),t.jsxs("div",{ref:p,className:"word-table-cell",children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${f})`},children:[Y&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[k&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:M,className:"word-table-cell__image",src:A,alt:e,draggable:!1,style:{opacity:k?0:1},onLoad:H,onError:R})]}),o&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),c&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":w,children:[t.jsx("span",{"data-play-state":"play",style:{display:b?"none":void 0},children:t.jsx(te,{size:d,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:h("common.play","\uC7AC\uC0DD"),onClick:O})}),t.jsx("span",{"data-play-state":"pause",style:{display:b?void 0:"none"},children:t.jsx(te,{size:d,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:h("common.pause","\uBA48\uCDA4"),onClick:O})})]}),u&&t.jsxs("div",{ref:m,className:"word-table-cell__info-button",onPointerEnter:j,onPointerLeave:P,onFocus:j,onBlur:P,children:[t.jsx(te,{size:d,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:h("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:E=>E.stopPropagation()}),v&&B&&t.jsx(fn,{anchorRect:v,items:B,showIndex:!1})]})]})}function En({title:e,titleIcon:n,disc:a,className:r,orientation:o="landscape",contentTypes:s=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:c=!0,showDivLine:d=!0,items:u,editCells:h,count:p,activeCell:m=null,onActivateCell:g,onRemoveCell:f,onRemoveItem:C,onReorder:b,showFillerAdd:y=!1,contentRef:w,buttonSize:_=40,pageNumber:v,pageNumberPosition:D="right",fitHeight:x=!1,scoring:A=!1,marks:M,onMarkClick:k,scoreIndexOffset:S=0}){const H=i.useCallback((ge,he)=>{k?.(S+ge,he)},[k,S]),R=(ge,he)=>{const T=M?.[pa(S+ge)]??null;return t.jsx("div",{className:ye("word-table-cell__score",T?"word-table-cell__score--marked":""),children:ki.map(q=>t.jsx("span",{className:ye("word-table-cell__score-slot",T===q?"word-table-cell__score-slot--on":""),children:t.jsx(te,{size:_,type:"dot",icon:Ni[q],variant:T===q?Bi[q]:"default",selected:T===q,useBorder:!1,showTooltipInfo:!1,ariaLabel:j(`wordTable.scoring.${q}`,{word:he,defaultValue:`${he} ${q}`}),onClick:ee=>{ee.stopPropagation(),H(ge,q)}})},q))})},{t:j}=me.useTranslation(),P=h!==void 0,B=i.useRef(null),[O,Y]=i.useState(null),{width:X,height:Q}=jn[o],{scalerRef:E,scale:$,offset:L}=Mi(X,x?Q:void 0),V=P?h?.length??0:u?.length??0,z=Math.max(p??V,1),{cols:J,rows:I}=Ug(o,z),U={word:s.length===0||s.includes("\uB2E8\uC5B4"),image:s.length===0||s.includes("\uC774\uBBF8\uC9C0"),pron:s.length===0||s.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:s.length===0||s.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},K=P?(h??[]).some(ge=>ge!==null&&ge.length>1):(u??[]).some(ge=>ge.words.length>1),oe=ye("word-table-block__content",Gg[l],c&&"word-table-block__content--outline",d&&K&&"word-table-block__content--div-line"),pe={transform:`scale(${1/$})`,transformOrigin:"center center"},fe=t.jsx("div",{ref:E,className:"word-table__scaler",style:{height:Q*$},children:t.jsx("div",{className:ye("word-table",r),style:{width:X,height:Q,transform:`scale(${$})`,transformOrigin:"top left",marginLeft:L},children:t.jsxs("div",{ref:w,className:oe,style:{gridTemplateColumns:`repeat(${J}, 1fr)`,gridTemplateRows:`repeat(${I}, 1fr)`},children:[P?t.jsx(t.Fragment,{children:(h??[]).map((ge,he)=>t.jsx("div",{className:ye("word-table-block__edit-cell",ge?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",m===he?"word-table-block__edit-cell--active":""),style:Ti(he,J,I,l),children:ge?t.jsxs(t.Fragment,{children:[ge.map((T,q)=>t.jsxs(i.Fragment,{children:[q>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(Li,{label:T.word,subLabel:T.pronunciation,homonum:T.homonum,showWord:U.word,showImage:U.image,showPronunciation:U.pron,showColloquial:U.colloq,buttonSize:_})]},q)),A&&R(he,ge.map(T=>T.word).join(" / ")),f&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(te,{size:_,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ge.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ge.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>f(he)})})]}):g&&t.jsx("div",{style:pe,children:t.jsx(te,{size:"48",type:"bar",icon:"plus",label:j("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g(he)})})},he))}):t.jsxs(t.Fragment,{children:[(u??[]).map((ge,he)=>t.jsxs("div",{className:`word-table-block__card${b?" word-table-block__card--draggable":""}${O===he?" word-table-block__card--drag-over":""}`,style:Ti(he,J,I,l),draggable:!!b,onDragStart:b?()=>{B.current=he}:void 0,onDragOver:b?T=>{T.preventDefault(),Y(he)}:void 0,onDragLeave:b?()=>Y(null):void 0,onDrop:b?T=>{T.preventDefault(),B.current!==null&&B.current!==he&&b(B.current,he),B.current=null,Y(null)}:void 0,onDragEnd:b?()=>{B.current=null,Y(null)}:void 0,children:[ge.words.map((T,q)=>t.jsxs(i.Fragment,{children:[q>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(Li,{label:T.label,subLabel:T.subLabel,colloquialLabel:T.colloquialLabel,homonum:T.homonum,showWord:U.word,showImage:U.image,showPronunciation:U.pron,showColloquial:U.colloq,buttonSize:_,wordInfo:T.grade||T.syllables!=null||T.pos||T.wordType?{grade:T.grade,syllables:T.syllables,pos:T.pos,wordType:T.wordType}:void 0})]},q)),A&&R(he,ge.words.map(T=>T.label).join(" / ")),C&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(te,{size:_,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ge.words.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ge.words.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>C(ge.id)})})]},ge.id)),Array.from({length:Math.max(0,J*I-(u?.length??0))}).map((ge,he)=>{const T=(u?.length??0)+he<z;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:y&&g&&T&&t.jsx("div",{style:pe,children:t.jsx(te,{size:_,type:"bar",icon:"plus",label:j("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g((u?.length??0)+he)})})},`filler-${he}`)})]}),v&&D!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${D}`,children:j("wordTable.filter.pageIndicator",{current:v.current,total:v.total})})]})})});return e!=null||n||a?t.jsx(Dn,{type:"page",icon:n,title:e,disc:a,className:ye("word-table-block",r),children:fe}):fe}function Jt({title:e,headerAction:n,collapsible:a=!1,defaultCollapsed:r=!1,collapsed:o,onCollapsedChange:s,footer:l,sections:c,selected:d={},onSelect:u,align:h,sectionAlign:p,className:m}){const g=(h??(p==="vertical"?"newline":"inline"))==="inline",{t:f}=me.useTranslation(),[C,b]=i.useState(r),y=o??C,w=()=>{const v=!y;b(v),s?.(v)},_=e||n||a;return t.jsxs("div",{className:ye("filter-panel",a?"filter-panel--collapsible":"",y?"filter-panel--collapsed":"",m),children:[_&&t.jsxs("div",{className:"filter-panel__header",children:[t.jsxs("div",{className:"filter-panel__title-row",children:[a&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:y?"chevron-down":"chevron-up",ariaLabel:y?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),"aria-expanded":!y,onClick:w}),e&&t.jsx("span",{className:"filter-panel__title h4",children:e})]}),t.jsx("div",{className:"filter-panel__header-actions",children:!y&&n})]}),!y&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:ye("filter-panel__sections",g?"filter-panel__sections--row":""),children:c.map(v=>{const D=d[v.label],x=D===void 0||(Array.isArray(D)?D.length===0:!1),A=(v.items??[]).filter(k=>k!=null),M=k=>{const S=typeof k=="string"?k:k.value,H=typeof k!="string"&&!!k.disabled,R=typeof k!="string"?k.labels:void 0,j=typeof k!="string"?k.displayLabel:void 0,P=typeof k!="string"?k.tooltip:void 0,B=typeof k!="string"?k.descriptionTooltip:void 0,O=typeof k!="string"?k.shape:void 0,Y=Array.isArray(D)?D.includes(S):D===S;return t.jsx(te,{size:"keyboard",label:R??j??S,type:v.itemType??(R?"bar":S.length===1?"dot":void 0),selected:Y,disabled:H,shape:O,showTooltipInfo:!!P,tooltipInfoText:P,tooltipDescription:B,onClick:()=>u?.(S,v.label)},S)};return t.jsxs(i.Fragment,{children:[v.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:v.groupLabel}),v.groupAction]}),t.jsxs("div",{className:ye("filter-panel__section",v.layout==="row"?"filter-panel__section--row":"",v.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:v.displayLabel??v.label}),v.labelAction??(v.labelInfo?t.jsx(Kn,{...v.labelInfo}):null)]}),v.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:v.content}):v.type==="input"?t.jsx(bn,{className:"filter-panel__textfield",placeholder:v.placeholder,ariaLabel:v.displayLabel??v.label,value:d[v.label]??"",onChange:k=>u?.(k,v.label),error:v.error}):!v.multiple&&v.display==="segmented"?t.jsx(yn,{ariaLabel:v.displayLabel??v.label,options:[...v.allOption?[{key:rn,label:v.allLabel??f("common.all","\uC804\uCCB4")}]:[],...A.map(k=>{const S=typeof k=="string"?k:k.value,H=typeof k!="string"?k.displayLabel:void 0,R=typeof k!="string"?k.disabled:void 0;return{key:S,label:H??S,disabled:R}})],value:x&&v.allOption?rn:d[v.label],onChange:k=>u?.(k,v.label),size:32}):!v.multiple&&v.display==="dropdown"?t.jsx(Rt,{className:"filter-panel__dropdown",size:40,options:[...v.allOption?[{value:rn,label:v.allLabel??f("common.all","\uC804\uCCB4")}]:[],...A.map(k=>{const S=typeof k=="string"?k:k.value,H=typeof k!="string"?k.displayLabel:void 0,R=typeof k!="string"?k.disabled:void 0;return{value:S,label:H??S,disabled:R}})],value:x&&v.allOption?rn:d[v.label],onChange:k=>u?.(k,v.label)}):t.jsxs("div",{className:v.groups?"filter-panel__item-groups":"filter-panel__items",children:[v.allOption&&!v.groups&&t.jsx(te,{size:"keyboard",label:v.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:v.allOptionDisabled,onClick:()=>u?.(rn,v.label)}),v.groups?v.groups.map((k,S)=>t.jsxs("div",{className:"filter-panel__item-group",children:[S===0&&v.allOption&&t.jsx(te,{size:"keyboard",label:v.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:v.allOptionDisabled,onClick:()=>u?.(rn,v.label)}),k.filter(H=>H!=null).map(M)]},S)):A.map(M)]})]})]},v.label)})}),l!=null&&l!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:l})]})]})}const e4=[1,2,3,4,5,6,7,8,9,10,11,12],t4=[8,4,2,1];function $i(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function Ri(e){return{label:e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5"),items:[{value:"\uAC00\uB85C",displayLabel:e("wordTable.filter.landscape","\uAC00\uB85C")},{value:"\uC138\uB85C",displayLabel:e("wordTable.filter.portrait","\uC138\uB85C")}],display:"segmented"}}function Pi(e){return{label:e("wordTable.filter.border","\uC678\uACFD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Ii(e){return{label:e("wordTable.filter.cutLine","\uC808\uCDE8\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uC810\uC120",displayLabel:e("wordTable.filter.dotted","\uC810\uC120")},{value:"\uCF54\uB108",displayLabel:e("wordTable.filter.corner","\uCF54\uB108")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Fi(e){return{label:e("wordPrint.divLine","\uB300\uB9BD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Oi(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...t4.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Hi(e){return{label:e("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638"),items:[{value:"\uC67C\uCABD",displayLabel:e("wordTable.filter.pageNumberLeft","\uC67C\uCABD")},{value:"\uC911\uC559",displayLabel:e("wordTable.filter.pageNumberCenter","\uC911\uC559")},{value:"\uC624\uB978\uCABD",displayLabel:e("wordTable.filter.pageNumberRight","\uC624\uB978\uCABD")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}const zi={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Vi(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Wi(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}}function qi(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===rn?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(o=>o.includes(n)?o.filter(s=>s!==n):[...o,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):!1}function n4(e){return"sections"in e}function dr(e){const{t:n}=me.useTranslation(),{title:a,className:r}=e;if(n4(e))return t.jsx(Jt,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,align:"inline"});const{hasImage:o,hasColloquial:s,contentTypes:l,orientation:c,showOutline:d,cutLine:u,showDivLine:h,setters:p,showCutLine:m=!1,showDivLine2:g=!1,middleSections:f=[],extraSelected:C={},onExtraSelect:b}=e,y=[$i(n,{hasImage:o,hasColloquial:s}),Ri(n),...f,Pi(n),...m?[Ii(n)]:[],...g?[Fi(n)]:[]],w={...Wi(n,{contentTypes:l,orientation:c,showOutline:d,cutLine:u,showDivLine:h}),...C},_=(v,D)=>{qi(n,v,D,p)||b?.(v,D)};return t.jsx(Jt,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:y,selected:w,onSelect:_,sectionAlign:"horizontal"})}function Ui(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function pr(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}function a4(e,n,a,r="",o=""){if(e.length===0)return;const s=r?pr(r):"";if(s){const d=document.title;document.title=s;const u=()=>{document.title=d,window.removeEventListener("afterprint",u)};window.addEventListener("afterprint",u)}const l=document.createElement("iframe");l.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(l);const c=l.contentDocument;if(!c){l.remove();return}c.open(),c.write(hr(e,n,a,!0,s,o)),c.close(),l.contentWindow?.addEventListener("afterprint",()=>setTimeout(()=>l.remove(),0))}function hr(e,n,a,r=!1,o="",s=""){o=o?pr(o):"";const l=Array.from(document.styleSheets).flatMap(h=>{try{return Array.from(h.cssRules).map(p=>p.cssText)}catch{return[]}}).join(`
|
|
839
|
-
`),c=document.documentElement.getAttribute("data-theme")||"light",d=s?`<div class="paper-head">${
|
|
836
|
+
`)}const ag=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),rg=/^(?:const|let|var|function|return|if|else|for|while|switch|case|break|import|from|export|class|new|try|catch|finally|throw|await|async|null|true|false|this|typeof|instanceof)\b/;function og(e,n){let a=e;const r=[],o=/sh|bash/.test(n.toLowerCase()),s=(l,c)=>r.push({type:l,content:c});for(;a.length>0;){const l=a.match(/^\s+/);if(l){s("whitespace",l[0]),a=a.slice(l[0].length);continue}if(!o&&a.startsWith("//")){const f=a.indexOf(`
|
|
837
|
+
`),m=f===-1?a:a.slice(0,f);s("comment",m),a=a.slice(m.length);continue}if(o&&a.startsWith("#")){const f=a.indexOf(`
|
|
838
|
+
`),m=f===-1?a:a.slice(0,f);s("comment",m),a=a.slice(m.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){s("comment",c[0]),a=a.slice(c[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){s("string",d[0]),a=a.slice(d[0].length);continue}const u=a.match(/^\d+(?:\.\d+)?/);if(u){s("number",u[0]),a=a.slice(u[0].length);continue}const h=a.match(rg);if(h){s("keyword",h[0]),a=a.slice(h[0].length);continue}const p=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(p){const f=p[0];s(o&&ag.has(f)?"command":"identifier",f),a=a.slice(f.length);continue}const C=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(C){s("operator",C[0]),a=a.slice(C[0].length);continue}const g=a.match(/^[()[\]{};.,]/);if(g){s("punctuation",g[0]),a=a.slice(1);continue}s("other",a[0]),a=a.slice(1)}return r}function sg({children:e,language:n="bash",title:a="",showCopy:r=!0,size:o="default",className:s=""}){const{t:l}=pe.useTranslation(),[c,d]=i.useState(!1),u=ng(si(e)),h=i.useRef(null);i.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const p=async()=>{try{if(!await $m(u))return;d(!0),h.current&&clearTimeout(h.current),h.current=setTimeout(()=>d(!1),2e3)}catch{}},C=og(u,n),g=o==="small"?"caption-1":"body-3";return t.jsxs("div",{className:be("code-box",o==="small"?"code-box--small":"",s),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(te,{className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:p,ariaLabel:c?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:C.map((f,m)=>t.jsx("span",{className:`code-token ${f.type} ${g}`,children:f.content},m))})})]})}function Yn(e){const{variant:n="spinner",size:a=24,progress:r=null,label:o}=e||{};if(n==="bar"){const l=Math.max(0,Math.min(100,Number(r)||0));return t.jsx("div",{className:"loader-bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l,"aria-label":o||"Loading",children:t.jsx("div",{className:"loader-bar__inner",style:{width:`${l}%`}})})}const s=typeof a=="number"?`${a}px`:a;return t.jsx("div",{className:"loader-spinner",style:{width:s,height:s},role:"status","aria-label":o||"Loading",children:t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:a,height:a,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})})}function ii({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:o,labelPosition:s="right",className:l="",id:c}){const d=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[s==="left"&&d,t.jsx("input",{id:c,type:"checkbox",checked:e,disabled:a,onChange:u=>n?.(u.target.checked),"aria-label":!r&&o?o:void 0}),t.jsx("span",{className:"toggle__slider"}),s==="right"&&d]})}function li({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:o,size:s="medium",className:l,title:c,ariaLabel:d}){const u=i.useRef(null),h=i.useId();return i.useEffect(()=>{u.current&&(u.current.indeterminate=!!r)},[r]),t.jsxs("label",{className:be("checkbox",s==="small"&&"checkbox--small",s==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:h,title:c,children:[t.jsx("input",{ref:u,id:h,type:"checkbox",className:"checkbox__input",checked:e,onChange:p=>n?.(p.target.checked),disabled:a,"aria-label":!o&&d?d:void 0}),t.jsx("span",{className:"checkbox__box"}),o&&t.jsx("span",{className:"checkbox__label body-3",children:o})]})}function ig({count:e,actions:n,onClear:a,clearLabel:r="\uC120\uD0DD \uD574\uC81C",visible:o,content:s,max:l}){const{t:c}=pe.useTranslation(),d=o!==void 0?o:e>0,u=i.useRef(null),[h,p]=i.useState(!1);return i.useEffect(()=>{const C=u.current;if(!C)return;const g=()=>{const m=C.firstElementChild??C,v=Array.from(m.children);if(v.length<2){p(!1);return}const b=v[0].offsetTop;p(v.some(w=>w.offsetTop!==b))};if(g(),typeof ResizeObserver>"u")return;const f=new ResizeObserver(g);return f.observe(C),()=>f.disconnect()},[s,e]),t.jsxs("div",{className:`bulk-bar ${d?"bulk-bar--visible":""}`,children:[t.jsx("span",{ref:u,className:"bulk-bar__count body-2",children:s??t.jsx("b",{children:c("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(ct,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`}),t.jsxs("div",{className:`bulk-bar__actions${h?" bulk-bar__actions--stacked":""}`,children:[t.jsx(te,{size:40,label:r,onClick:a}),n.map((C,g)=>t.jsx(te,{size:40,variant:C.variant??"default",icon:C.icon,label:C.label,onClick:C.onClick},g))]})]})}function ci(e){const n=()=>{if(e){const[p,C]=e.split("-");return{y:+p,m:+C-1}}const h=new Date;return{y:h.getFullYear(),m:h.getMonth()}},[a,r]=i.useState(()=>n().y),[o,s]=i.useState(()=>n().m),l=i.useRef(e);i.useEffect(()=>{if(e===l.current)return;l.current=e;const h=n();r(h.y),s(h.m)},[e]);const c=i.useCallback(()=>{o===0?(r(h=>h-1),s(11)):s(h=>h-1)},[o]),d=i.useCallback(()=>{o===11?(r(h=>h+1),s(0)):s(h=>h+1)},[o]),u=i.useCallback((h,p)=>{r(h),s(p)},[]);return{viewY:a,viewM:o,prevMonth:c,nextMonth:d,setViewYM:u}}function ui(e,n){return new Date(e,n+1,0).getDate()}function lg(e,n){return new Date(e,n,1).getDay()}function Sn(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function cg(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function ug(e,n,a){const r=n?+n.split("-")[0]:e-10,o=a?+a.split("-")[0]:e+10,s=[];for(let l=r;l<=o;l++)for(let c=0;c<12;c++){const d=`${l}-${String(c+1).padStart(2,"0")}`;n&&d<n.slice(0,7)||a&&d>a.slice(0,7)||s.push({value:d,label:`${l}\uB144 ${c+1}\uC6D4`})}return s}function dg({value:e,onChange:n,size:a=48,min:r,max:o,disabled:s,placeholder:l="\uB0A0\uC9DC \uC120\uD0DD",className:c}){const{t:d}=pe.useTranslation(),u=i.useMemo(()=>d("calendar.dow",{returnObjects:!0}),[d]),h=new Date,{viewY:p,viewM:C,prevMonth:g,nextMonth:f,setViewYM:m}=ci(e),v=i.useCallback(E=>{const $=window.innerHeight-E.bottom,L=300,z=$<L&&E.top>L;return{position:"fixed",left:E.left,width:E.width,minWidth:260,...z?{bottom:window.innerHeight-E.top+6}:{top:E.bottom+6},zIndex:9999}},[]),{open:b,setOpen:w,toggle:_,style:y,triggerRef:S,menuRef:x}=Un({computeStyle:v,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});i.useEffect(()=>{if(!b)return;const E=x.current;return(E?.querySelector(".date-picker__day--selected")??E?.querySelector(".date-picker__day--today")??E?.querySelector(Wn)??E)?.focus?.(),()=>{const $=document.activeElement;(!$||$===document.body)&&S.current?.focus?.()}},[b,x,S]);const[A,M]=i.useState(1),k=i.useRef(null),D=i.useRef(null);i.useEffect(()=>{if(!b)return;const E=Sn(h.getFullYear(),h.getMonth(),h.getDate()),$=e&&e.slice(0,7)===`${p}-${String(C+1).padStart(2,"0")}`?+e.slice(8):E.slice(0,7)===`${p}-${String(C+1).padStart(2,"0")}`?+E.slice(8):1;M($)},[b]),i.useEffect(()=>{if(D.current==null)return;const E=D.current;D.current=null,k.current?.querySelector(`[data-day="${E}"]`)?.focus()}),i.useEffect(()=>{M(E=>Math.min(E,ui(p,C)))},[p,C]);const H=i.useCallback(E=>{let $=Sn(E.getFullYear(),E.getMonth(),E.getDate());r&&$<r&&($=r),o&&$>o&&($=o);const[L,z,V]=$.split("-").map(Number);(L!==p||z-1!==C)&&m(L,z-1),M(V),D.current=V},[r,o,p,C,m]),R=i.useCallback(E=>{const $=new Date(p,C,A),L=V=>{$.setDate($.getDate()+V),H($)},z=V=>{$.setMonth($.getMonth()+V),H($)};switch(E.key){case"ArrowLeft":L(-1);break;case"ArrowRight":L(1);break;case"ArrowUp":L(-7);break;case"ArrowDown":L(7);break;case"Home":L(-$.getDay());break;case"End":L(6-$.getDay());break;case"PageUp":E.shiftKey?z(-12):z(-1);break;case"PageDown":E.shiftKey?z(12):z(1);break;default:return}E.preventDefault()},[p,C,A,H]),j=i.useCallback(E=>{n(Sn(p,C,E)),w(!1)},[p,C,n,w]),P=E=>{const $=Sn(p,C,E);return!!(r&&$<r||o&&$>o)},B=[];for(let E=0;E<lg(p,C);E++)B.push(null);for(let E=1;E<=ui(p,C);E++)B.push(E);const O=a===64?20:a===40?16:18,Z=ug(p,r,o),Y=`${p}-${String(C+1).padStart(2,"0")}`,J=b?Tt.createPortal(t.jsxs("div",{ref:x,className:"date-picker__dropdown",style:y,role:"dialog","aria-label":d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:g,"aria-label":d("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Zr,{size:16,strokeWidth:2})}),t.jsx(It,{className:"date-picker__nav-dropdown",ariaLabel:d("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:Z,value:Y,onChange:E=>{const[$,L]=E.split("-");m(+$,+L-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:f,"aria-label":d("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Yr,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:k,onKeyDown:R,children:[u.map(E=>t.jsx("div",{className:"date-picker__dow caption-1",children:E},E)),B.map((E,$)=>{if(E===null)return t.jsx("div",{},`e${$}`);const L=Sn(p,C,E),z=L===e,V=L===Sn(h.getFullYear(),h.getMonth(),h.getDate()),X=P(E),I=$%7;return t.jsx("button",{type:"button",disabled:X,"data-day":E,tabIndex:E===A?0:-1,"aria-current":V?"date":void 0,onClick:()=>!X&&j(E),className:be("date-picker__day caption-1",z&&"date-picker__day--selected",V&&!z&&"date-picker__day--today",X&&"date-picker__day--disabled",I===0&&"date-picker__day--sun",I===6&&"date-picker__day--sat"),children:E},E)})]})]}),document.body):null;return t.jsxs("div",{className:be("date-picker",`date-picker--s${a}`,b&&"date-picker--open",c),children:[t.jsxs("button",{ref:S,type:"button",className:"date-picker__trigger body-2",onClick:()=>!s&&_(),disabled:s,"aria-haspopup":"true","aria-expanded":b,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?cg(e):l}),t.jsx(oo,{size:O,className:"date-picker__icon",strokeWidth:1.5})]}),J]})}function er({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function ua({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function tr({title:e,titleClassName:n="h3",headRight:a,subRow:r,className:o,children:s}){return t.jsxs("section",{className:o?`manager-section ${o}`:"manager-section",children:[t.jsxs("div",{className:"manager-section__head",children:[t.jsx("div",{className:n,children:e}),a]}),r&&t.jsx("div",{className:"barchart-sub-row",children:r}),s]})}function cn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function pg(){const e=new Date;let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<cn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const o=Math.floor((r-cn(n,a))/7),s=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:s,value:`${s}#${o}`}}function hg(e){const n=new Date,a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(d,u)=>`${d}\uB144 ${u+1}\uC6D4`,o=new Map;o.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const u=r(d.date.getFullYear(),d.date.getMonth());o.has(u)||o.set(u,[]),o.get(u).push(d)}const s=new Map;for(const[d,u]of o){const h=d.match(/^(\d+)년 (\d+)월$/);if(!h)continue;const p=Number(h[1]),C=Number(h[2])-1,g=new Date(p,C+1,0).getDate(),f=u.reduce((w,_)=>Math.max(w,_.parts?.length??0),0),m=new Array(g+1).fill(0),v=new Array(g+1).fill(0),b=Array.from({length:g+1},()=>new Array(f).fill(0));for(const w of u){const _=w.date.getDate();if(m[_]+=w.a,v[_]+=w.b,w.parts)for(let y=0;y<f;y++)b[_][y]+=w.parts[y]??0}s.set(d,{year:p,month:C,daysInMonth:g,partsLen:f,dayA:m,dayB:v,dayParts:b})}const l=(d,u,h)=>new Date(d,u,h).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),c={};for(const[d,u]of s){const{year:h,month:p,daysInMonth:C,dayA:g,dayB:f,dayParts:m}=u,v=h===n.getFullYear()&&p===n.getMonth(),b=n.getDate(),w=s.get(r(p===11?h+1:h,(p+1)%12)),_=u.partsLen,y=[];for(let x=1;x<=C;x++){const A=v&&x>b;y.push({label:String(x),a:A&&g[x]===0&&f[x]===0?-1:g[x],b:f[x],..._?{parts:m[x]}:{}})}const S=[];for(let x=cn(h,p);x<=C;x+=7){const A=Math.max(0,x+6-C),M=A&&w?Math.max(_,w.partsLen):_;let k=0,D=0;const H=new Array(M).fill(0);for(let j=x;j<=Math.min(x+6,C);j++){k+=g[j],D+=f[j];for(let P=0;P<_;P++)H[P]+=m[j][P]}if(A&&w)for(let j=1;j<=A&&!l(w.year,w.month,j);j++){k+=w.dayA[j],D+=w.dayB[j];for(let P=0;P<w.partsLen;P++)H[P]+=w.dayParts[j][P]}const R=A?`${(p+1)%12+1}/${A}`:`${x+6}`;S.push({label:`${S.length+1}\uC8FC`,sublabel:`[${x}\uC77C~${R}\uC77C]`,a:k,b:D,...M?{parts:H}:{}})}c[d]={weekly:S,daily:y}}return c}function mg(){const e=new Date,n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let o=2024;o<=n;o++){const s=o===n?a:12;for(let l=1;l<=s;l++){const c=`${o}\uB144 ${l}\uC6D4`;r.push({value:c,label:c,year:o,month:l})}}return r.reverse()}const Cg=mg(),di=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function pi(e){const{t:n,i18n:a}=pe.useTranslation(),[r,o]=i.useState("week"),s=i.useMemo(()=>Cg.filter(k=>k.value in e),[e]),l=i.useMemo(()=>{const k=[];for(const D of s){const H=new Date(D.year,D.month,0).getDate(),R=cn(D.year,D.month-1),j=Math.ceil((H-R+1)/7);for(let P=j-1;P>=0;P--)k.push({value:`${D.value}#${P}`,monthKey:D.value,year:D.year,month:D.month,week:P})}return k},[s]),c=i.useCallback(k=>{const D=n("calendar.yearMonth",{year:k.year,month:k.month});return a.language?.startsWith("ko")?`${D} ${di[k.week]??`${k.week+1}`}\uC8FC`:`${D} Week ${k.week+1}`},[n,a.language]),d=i.useMemo(()=>s.map(k=>({value:k.value,label:n("calendar.yearMonth",{year:k.year,month:k.month})})),[n,s]),u=i.useMemo(()=>l.map(k=>({value:k.value,label:c(k)})),[l,c]),h=i.useMemo(()=>pg(),[]),p=i.useMemo(()=>s.find(k=>k.value===h.monthKey)?.value??s[0]?.value??"",[s,h]),C=i.useMemo(()=>l.find(k=>k.value===h.value)?.value??l[0]?.value??"",[l,h]),[g,f]=i.useState(""),[m,v]=i.useState("");i.useEffect(()=>{s.find(k=>k.value===g)||f(p)},[s,g,p]),i.useEffect(()=>{l.find(k=>k.value===m)||v(C)},[l,m,C]);const b=r==="month"?d:u,w=r==="month"?g:m,_=r==="month"?f:v,y=i.useMemo(()=>{const k=n("calendar.dow",{returnObjects:!0});return Array.isArray(k)?k:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),S=b.findIndex(k=>k.value===w),x=i.useCallback(()=>{const k=b.findIndex(D=>D.value===w);k<b.length-1&&_(b[k+1].value)},[b,w,_]),A=i.useCallback(()=>{const k=b.findIndex(D=>D.value===w);k>0&&_(b[k-1].value)},[b,w,_]),M=i.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:o,range:w,setRange:_,activeOptions:b,activeIdx:S,handlePrev:x,handleNext:A,periodOptions:M,monthRange:g,weekRange:m,weekRanges:l,DOW:y}}function fg({data:e,colorA:n,colorB:a,labelA:r,labelB:o,barWidth:s=10,height:l=140,maxOverride:c,tightMax:d,seriesColors:u,seriesLabels:h,rateLabels:p}){const C=!a,g=!!(u&&u.length>0),f=i.useMemo(()=>g?Math.max(0,...e.filter(A=>A.a!==-1).map(A=>(A.parts??[]).reduce((M,k)=>M+Math.max(0,k),0))):Math.max(0,...e.filter(A=>A.a!==-1).flatMap(A=>C?[A.a]:[A.a,A.b])),[e,C,g]),m=i.useMemo(()=>c??(d?f>0?f:10:Math.ceil(f/10)*10||10),[f,c,d]),v=l,b=g||C?1:2,w={"--bar-width":`${i.useMemo(()=>{const A=Math.max(1,e.length);return Math.max(8,Math.min(s,Math.round(120/(A*b)+6)))},[e.length,b,s])}px`},_=i.useMemo(()=>{const A=Math.round(m/2);return A!==m?[m,A,0]:[m,0]},[m]),[y,S]=i.useState(null),x=i.useCallback(()=>S(null),[]);return t.jsxs("div",{className:"manager-bar-chart-wrap",children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:v},children:[_.slice(0,-1).map((A,M)=>t.jsx("div",{className:"manager-bar-chart-gridline",style:{top:M*(v/(_.length-1))},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:A})},M)),e.map((A,M)=>{const k=A.a===-1,D=k?0:A.a/m*v,H=k?0:A.b/m*v,R=A.parts??[];return t.jsx("div",{className:"manager-bar-chart-col",style:{cursor:k?"default":"pointer"},onMouseEnter:k?void 0:j=>{const P=j.currentTarget.getBoundingClientRect(),B=[A.label,A.sublabel].filter(Boolean).join(" ");let O;if(g){const Z=(h??[]).map((J,E)=>({text:`${J}: ${R[E]??0}`,color:(u??[])[E]})),Y=Z.filter((J,E)=>(R[E]??0)>0);O=Y.length?Y:Z}else p&&!C?O=[{text:`${r} ${A.a}%`,color:n},{text:`${o} ${A.b}%`,color:a}]:p&&A.rawB!==void 0?O=[{text:`${p.total} ${A.rawB}`},{text:`${p.done} ${A.rawA??0}`,color:n}]:C?O=[{text:`${r}: ${A.a}`,color:n}]:O=[{text:`${r}: ${A.a}`,color:n},{text:`${o}: ${A.b}`,color:a}];S({rect:{left:P.left,top:P.top,right:P.right,bottom:P.bottom,width:P.width,height:P.height},title:B,items:O})},onMouseLeave:x,children:!k&&(g?t.jsx("div",{className:"manager-bar-chart-stack",style:w,children:(()=>{const j=R.reduce((P,B,O)=>B>0?O:P,-1);return R.map((P,B)=>P>0?t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:P/m*v,background:(u??[])[B],borderRadius:B===j?"6px 6px 0 0":void 0}},B):null)})()}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...w,height:D,background:n}}),!C&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...w,height:H,background:a}})]}))},M)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((A,M)=>{const k=A.a===-1;return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${k?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[A.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),A.label]}),A.sublabel&&t.jsx("span",{className:"caption-1",children:A.sublabel})]},M)})})]})})}),y&&t.jsx(gn,{anchorRect:y.rect,title:y.title,items:y.items,showIndex:!1,closeOnOutsideClick:!1})]})}function hi({control:e}){const{t:n}=pe.useTranslation(),{activeOptions:a,activeIdx:r,range:o,setRange:s,handlePrev:l,handleNext:c,periodOptions:d,period:u,setPeriod:h}=e,p=u==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),C=u==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(te,{size:32,type:"dot",icon:"chevron-left",ariaLabel:p,showTooltipInfo:p,disabled:r===a.length-1,onClick:l}),t.jsx(It,{value:o,onChange:s,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(te,{size:32,type:"dot",icon:"chevron-right",ariaLabel:C,showTooltipInfo:C,disabled:r<=0,onClick:c}),t.jsx(vn,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:u,onChange:g=>h(g),size:32})]})}function mi(e,n,a){const r=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(o,s)=>{const l=new Date(n);l.setDate(n.getDate()+s);const c=(e[`${l.getFullYear()}\uB144 ${l.getMonth()+1}\uC6D4`]?.daily??[])[l.getDate()-1],d=c?.a===-1||l>r;return{dt:l,entry:c,isFuture:d}})}function gg(e,n,a,r){const{period:o,monthRange:s,weekRange:l,weekRanges:c,DOW:d}=n,u=r?.startsWith("ko"),h=new Date,p=h.getFullYear(),C=h.getMonth()+1,g=h.getDate();if(o==="month"){const v=e[s]??{weekly:[],daily:[]},b=s.match(/^(\d+)년 (\d+)월$/),w=b?Number(b[1]):null,_=b?Number(b[2]):null,y=w&&_?cn(w,_-1):1;return v.weekly.map((S,x)=>{const A=x+1;let M=S.label,k=!1,D=!1;if(w&&_){const H=y+x*7,R=new Date(w,_-1,H+6),j=R.getMonth()+1,P=R.getDate(),B=j===_?`${P}`:`${j}/${P}`;M=a("manager.chart.weekRange",{start:H,end:B});const O=new Date(p,C-1,g).getTime();k=O>=new Date(w,_-1,H).getTime()&&O<=R.getTime(),D=w>p||w===p&&(_>C||_===C&&H>g)}return{...S,label:M,sublabel:u?`${di[A-1]??A}\uC8FC`:`Week ${A}`,isToday:k,a:D?-1:S.a,b:D?0:S.b}})}const f=c.find(v=>v.value===l);if(!f)return[];const m=new Date(f.year,f.month-1,cn(f.year,f.month-1)+f.week*7);return mi(e,m,h).map(({dt:v,entry:b,isFuture:w})=>{const _=v.getMonth()+1,y=v.getDate(),S=v.getFullYear();return{label:_===f.month&&S===f.year?`${y}`:`${_}/${y}`,sublabel:d[v.getDay()]??"",a:w?-1:b&&b.a>0?b.a:0,b:w?0:b&&b.b>0?b.b:0,isToday:S===p&&_===C&&y===g,...b?.parts?{parts:w?b.parts.map(()=>0):b.parts}:{}}})}const bg={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function yg({size:e="medium",barWidth:n,titleKey:a,data:r,colorA:o,colorB:s,labelAKey:l,labelBKey:c,showTotal:d=!1,totalUnitKey:u,totalLabelKey:h,control:p,hideControls:C=!1,rate:g=!1,tightMax:f=!1,avgMode:m=!1,totalFormat:v,series:b,loading:w=!1,onDetail:_}){const{t:y,i18n:S}=pe.useTranslation(),x=bg[e],A=pi(r),M=p??A,k=i.useMemo(()=>gg(r,M,y,S.language),[r,M,y,S.language]),D=i.useMemo(()=>{if(!g)return k;const P=M.period==="month"?M.monthRange.match(/^(\d+)년 (\d+)월$/):null,B=new Date;return k.map((O,Z)=>{let Y=O.a===-1?-1:O.b>0?Math.round(O.a/O.b*100):0;if(P&&O.a!==-1){const J=Number(P[1]),E=Number(P[2])-1,$=mi(r,new Date(J,E,cn(J,E)+Z*7),B).filter(L=>!L.isFuture);Y=$.length?Math.round($.reduce((L,{entry:z})=>L+(z&&z.b>0?z.a/z.b*100:0),0)/$.length):0}return{...O,a:Y,b:O.a===-1?0:c&&O.parts&&O.parts[1]>0?Math.round(O.parts[0]/O.parts[1]*100):0,rawA:O.a===-1?-1:O.a,rawB:O.b}})},[k,g,c,M.period,M.monthRange,r]),H=i.useMemo(()=>{if(g||m){const P=(M.period==="week"?k:r[M.monthRange]?.daily??[]).filter(O=>O.a!==-1);if(P.length===0)return 0;const B=g?P.reduce((O,Z)=>O+(Z.b>0?Z.a/Z.b*100:0),0):P.reduce((O,Z)=>O+(Z.a>0?Z.a:0),0);return Math.round(B/P.length)}return D.reduce((P,B)=>P+(B.a>0?B.a:0)+(c&&B.b>0?B.b:0),0)},[D,k,g,m,c,M.period,M.monthRange,r]),R=b&&b.length>0?b.map(P=>({color:P.color,label:P.label})):[{color:o,label:y(l)},...c?[{color:s,label:y(c)}]:[]],j=e==="small";return t.jsx(tr,{className:j?"manager-section--compact":e==="large"?"manager-section--full":void 0,title:y(a),titleClassName:j?"h5 chart-section-title--small":void 0,headRight:j?void 0:t.jsxs(t.Fragment,{children:[!C&&t.jsx(hi,{control:M}),_&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(te,{size:32,type:"dot",icon:"list",ariaLabel:y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:_})})]}),subRow:t.jsxs(t.Fragment,{children:[d?g||m||h&&v?t.jsx(ua,{label:j?void 0:`${y(M.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${y(h??l)}`,children:v?(v(H).match(/(\d+|[^\d]+)/g)??[]).map((P,B)=>/\d/.test(P)?t.jsx("span",{className:"barchart-total__num h0",children:P},B):t.jsx("span",{className:"barchart-total__unit h5",children:P},B)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:H}),u&&t.jsx("span",{className:"barchart-total__unit h5",children:y(u)})]})}):t.jsxs(ua,{children:[t.jsx("span",{className:"barchart-total__num h0",children:H}),t.jsx("span",{className:"barchart-total__unit h5",children:y(l)}),u&&t.jsx("span",{className:"barchart-total__unit h5",children:y(u)})]}):t.jsx("span",{}),t.jsx(er,{items:R,className:"caption-1"})]}),children:w?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(Yn,{size:32})}):t.jsx(fg,{data:D,colorA:o,colorB:c?s:void 0,labelA:y(l),labelB:c?y(c):void 0,barWidth:n??x.barWidth,height:x.height,maxOverride:g?100:void 0,tightMax:f,seriesColors:b?.map(P=>P.color),seriesLabels:b?.map(P=>P.label),rateLabels:g?{total:y("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:y("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0})})}function vg(e){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),l=new Date,c=s?Number(s[1]):l.getFullYear(),d=s?Number(s[2]):l.getMonth()+1;return{from:new Date(c,d-1,1,0,0,0),to:new Date(c,d,0,23,59,59)}}const n=e.weekRanges.find(s=>s.value===e.weekRange);if(!n){const s=new Date;return{from:s,to:s}}const a=cn(n.year,n.month-1),r=new Date(n.year,n.month-1,a+n.week*7,0,0,0),o=new Date(r);return o.setDate(r.getDate()+6),o.setHours(23,59,59),{from:r,to:o}}const Ci={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function fi({done:e,total:n,segments:a,color:r="var(--color-main)",size:o="medium",strokeWidth:s,label:l="%",hideCenter:c=!1,hideLabel:d=!1}){const u=typeof o=="number"?o:Ci[o].diameter,h=s??(typeof o=="number"?12:Ci[o].strokeWidth),p=u/2,C=(u-h)/2,g=2*Math.PI*C;if(a&&a.length>0){const b=a.reduce((w,_)=>{const y=w.length>0?w[w.length-1].acc:0,S=Math.max(0,Math.min(_.ratio,1-y));return w.push({color:_.color,rotate:-90+y*360,dash:g*S,acc:y+S}),w},[]);return t.jsx("div",{className:"ring-chart",style:{width:u,height:u},children:t.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:p,cy:p,r:C,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:h}),b.map((w,_)=>w.dash>0&&t.jsx("circle",{cx:p,cy:p,r:C,fill:"none",stroke:w.color,strokeWidth:h,strokeDasharray:`${w.dash} ${g}`,strokeLinecap:"round",transform:`rotate(${w.rotate} ${p} ${p})`},_))]})})}const f=(n??0)>0?Math.min((e??0)/n,1):0,m=g*f,v=g-m;return t.jsxs("div",{className:"ring-chart",style:{width:u,height:u},children:[t.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:p,cy:p,r:C,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:h}),f>0&&t.jsx("circle",{cx:p,cy:p,r:C,fill:"none",stroke:r,strokeWidth:h,strokeDasharray:`${m} ${v}`,strokeLinecap:f<.02||f>.98?"butt":"round",transform:`rotate(-90 ${p} ${p})`})]}),!c&&t.jsxs("div",{className:`ring-chart__center${d?"":` ${u<=96?"ring-chart__center--small":o==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${u<=96?"h2":"h1"}`,children:Math.round(f*100)}),!d&&t.jsx("span",{className:`ring-chart__label ${u<=96?"caption-2":"caption-1"}${u<=96||o==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function xg({titleKey:e,headRight:n,icon:a,showTotal:r,totalLabelKey:o,legend:s,loading:l,className:c,...d}){const{t:u}=pe.useTranslation();if(!e)return t.jsx(fi,{...d});const h=(d.total??0)>0?Math.round(Math.min((d.done??0)/d.total,1)*100):0,p=d.size==="small",C=d.size==="large",g=[c,p?"manager-section--compact":C?"manager-section--full":""].filter(Boolean).join(" ")||void 0,f=a&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Pe,{icon:a,className:"chart-section-icon-inner"})});return t.jsx(tr,{className:g,title:u(e),titleClassName:p?"h5 chart-section-title--small":void 0,headRight:f||(p?void 0:n),subRow:(r||s)&&t.jsxs(t.Fragment,{children:[r?t.jsxs(ua,{label:!p&&o?u(o):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:h}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),s&&t.jsx(er,{items:s})]}),children:l?t.jsx("div",{className:"manager-bar-chart-loading",children:t.jsx(Yn,{size:32})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(fi,{...d,hideCenter:p||d.hideCenter})})})}function _g({label:e,value:n,change:a,changeType:r,icon:o,tooltip:s,onClick:l}){const c=i.useRef(null),{anchorRect:d,openAt:u,close:h}=ia(),p=i.useCallback(()=>{s&&c.current&&u(c.current)},[s,u]),C=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),g=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=i.useCallback(m=>{l&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),l())},[l]);return t.jsxs("div",{ref:c,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?f:void 0,onPointerEnter:p,onPointerLeave:h,onFocus:p,onBlur:h,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?`${e} ${n}`:void 0,children:[s&&d&&t.jsx(sn,{anchorRect:{left:d.left,top:d.top+21,right:d.right,bottom:d.bottom,width:d.width,height:d.height},text:s}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),o&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Pe,{icon:o,className:"manager-stat-card__icon-inner"})})]}),t.jsx("div",{className:"manager-stat-card__content",children:t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),g&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${C??"neutral"} caption-1`,children:g})]})})]})}function gi({value:e,onChange:n,min:a=0,max:r=100,step:o=1,orientation:s="horizontal",size:l=24,disabled:c=!1,ariaLabel:d,length:u,className:h,label:p,formatValue:C,labelPos:g,labelAlign:f="right",showMinMax:m=!1,minLabel:v,maxLabel:b,showBgTick:w=!1,showFillTick:_=!1,tickStep:y,tickShape:S="dot"}){n&&!d&&xa("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),A=r>a?(x-a)/(r-a):0,M=s==="vertical",k=!n,D=z=>n?.(Number(z.target.value)),H=typeof u=="number"?`${u}px`:u,R={"--slider-ratio":String(A),"--slider-thumb":`${l}px`,...H?M?{height:H}:{width:H}:{}},j=y??o,P=(w||_)&&j>0&&r>a?Math.floor((r-a)/j+1e-6):0;if(P>0&&P<=100){const z=S!=="dash",V=re=>z?`radial-gradient(circle, ${re} 0.5px, transparent 1px)`:M?`linear-gradient(to bottom, transparent calc(50% - 2px), ${re} calc(50% - 2px), ${re} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${re} calc(50% - 2px), ${re} calc(50% + 2px), transparent calc(50% + 2px))`,X=z?"2px":"4px",I=[],U=[],K=[];for(let re=0;re<=P;re++){const de=re*j/(r-a);if(de>1+1e-6)break;const fe=`${((M?1-de:de)*100).toFixed(4)}%`,ge=de<=A+1e-6;if(ge?!_:!w)continue;const he=ge?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";I.push(V(he)),U.push(M?`${X} var(--slider-thumb)`:`var(--slider-thumb) ${X}`),K.push(M?`center ${fe}`:`${fe} center`)}I.push(M?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),U.push("100% 100%"),K.push("0 0"),R.backgroundImage=I.join(", "),R.backgroundSize=U.join(", "),R.backgroundPosition=K.join(", "),R.backgroundRepeat="no-repeat"}const B=t.jsx("input",{type:"range",className:be("slider",`slider--${s}`,k&&"slider--static",!p&&!m&&h),min:a,max:r,step:o,value:x,disabled:c,readOnly:k,tabIndex:k?-1:void 0,"aria-label":d,"aria-orientation":s,onChange:D,style:R});if(!p&&!m)return B;const O=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:v??a}),Z=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:b??r}),Y=m?t.jsxs("div",{className:be("slider-track-group",`slider-track-group--${s}`,!p&&h),children:[M?Z:O,B,M?O:Z]}):B;if(!p)return Y;const J=g??(M?"bottom":"right"),E=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,$=C?C(x):p==="percent"?E:p==="count"?`${x} / ${r}`:String(x),L=t.jsx("span",{className:"slider-wrap__value body-3b",children:$});return t.jsxs("div",{className:be("slider-wrap",`slider-wrap--${s}`,`slider-wrap--label-${J}`,`slider-wrap--align-${f}`,h),children:[Y,L]})}const wg=.86,kg=250,nr=(e,n,a,r)=>{const o=Math.round(Math.min(r,Math.max(a,e-n)));return`${o<0?"-":"+"}${Math.abs(o)} dB`};function ar({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:o,labelPos:s,labelAlign:l="right",floorDb:c=-60,refDb:d=-35,displayMin:u=-5,displayMax:h=25,className:p,ariaLabel:C}){const g=i.useRef(null),f=i.useRef(null),m=i.useRef(null);i.useEffect(()=>{const _=e??$a(n),y=g.current;if(!_||!y){y?.style.setProperty("--meter-level","0"),f.current&&(f.current.textContent=nr(c,d,u,h));return}La();const S=new Float32Array(_.fftSize);let x=0,A=0,M=0,k=0,D=null;const H=R=>{const j=im(_,S);x=j>x?j:x*wg;const P=x>1e-5?20*Math.log10(x):-1/0,B=Math.max(c,P),O=B-d,Z=Math.min(1,Math.max(0,(O-u)/(h-u)));if(y.style.setProperty("--meter-level",Z.toFixed(3)),f.current&&(A+=B,M+=1,R-k>=kg)){const Y=A/M;D=D==null?Y:D*.6+Y*.4,f.current.textContent=nr(D,d,u,h),A=0,M=0,k=R}m.current=requestAnimationFrame(H)};return m.current=requestAnimationFrame(H),()=>{m.current!=null&&cancelAnimationFrame(m.current),m.current=null}},[e,n,c,d,u,h]);const v=typeof r=="number"?`${r}px`:r,b=t.jsx("div",{className:"audio-meter__track",style:v?a==="vertical"?{height:v}:{width:v}:{},children:t.jsx("div",{ref:g,className:"audio-meter__fill"})}),w=s??(a==="vertical"?"bottom":"right");return t.jsxs("div",{className:be("audio-meter",`audio-meter--${a}`,o&&`audio-meter--label-${w}`,o&&`audio-meter--align-${l}`,p),role:"meter","aria-label":C,children:[b,o&&t.jsx("span",{ref:f,className:"audio-meter__value caption-2",children:nr(c,d,u,h)})]})}const bi=500;function yi({message:e,position:n,duration:a,onClose:r}){const[o,s]=i.useState(!1),[l,c]=i.useState(!1),d=i.useRef(l),u=i.useRef(o);i.useEffect(()=>{d.current=l},[l]),i.useEffect(()=>{u.current=o},[o]);const h=i.useRef(null),p=i.useRef(""),C=i.useRef(r);i.useEffect(()=>{C.current=r});const g=a,f=i.useRef(null),m=i.useRef(0),v=i.useRef(0),b=i.useRef(!1),w=i.useRef(null),_=i.useRef(null),y=i.useRef(null),S=i.useRef(null),x=i.useRef(()=>{});x.current=k=>{k<0||(m.current=Date.now(),v.current=k,f.current=setTimeout(()=>{f.current=null,s(!1),w.current=setTimeout(()=>{c(!1);try{C.current()}catch{}},bi)},k))};const A=i.useCallback(()=>{b.current||!f.current||(b.current=!0,clearTimeout(f.current),f.current=null,v.current=Math.max(0,v.current-(Date.now()-m.current)))},[]),M=i.useCallback(()=>{b.current&&(b.current=!1,x.current(v.current))},[]);return i.useEffect(()=>{if(e!==p.current&&(f.current&&(clearTimeout(f.current),f.current=null),w.current&&(clearTimeout(w.current),w.current=null)),e){if(u.current)return g>0&&!f.current&&(b.current=!1,x.current(g)),p.current=e,()=>{};const k=()=>{const D=h.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",n==="top"?D.style.transform="translateX(-50%) translateY(-16px)":D.style.transform="translateX(-50%) translateY(16px)",D.style.opacity="0",D.offsetWidth,D.style.transition="",D.classList.add("is-visible"),S.current&&clearTimeout(S.current),S.current=setTimeout(()=>{S.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};d.current?(k(),s(!0)):(c(!0),_.current=requestAnimationFrame(()=>{y.current=requestAnimationFrame(()=>{k(),s(!0)})})),g>0&&(b.current=!1,x.current(g))}else s(!1),w.current=setTimeout(()=>c(!1),bi);return p.current=e,()=>{f.current&&clearTimeout(f.current),w.current&&clearTimeout(w.current),_.current&&cancelAnimationFrame(_.current),y.current&&cancelAnimationFrame(y.current),S.current&&clearTimeout(S.current),f.current=null,w.current=null,_.current=null,y.current=null,S.current=null}},[e,g,n]),{mounted:l,showing:o,popupRef:h,pause:A,resume:M}}function Dn({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:o=2e3}){const{mounted:s,showing:l,popupRef:c,pause:d,resume:u}=yi({message:e,position:n,duration:o,onClose:r});if(!s)return null;const h=a==="notice"||a==="warning"?a:"normal",p=t.jsx("div",{ref:c,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onMouseEnter:d,onMouseLeave:u,onFocusCapture:d,onBlurCapture:u,children:t.jsx("div",{className:`toast__inner toast__inner--${h} body-2`,children:e})});return typeof document<"u"?Tt.createPortal(p,document.body):p}const Ag=24;function Ng({value:e,max:n=100,size:a=8,color:r,trackColor:o,label:s,formatValue:l,labelPos:c,labelAlign:d="right",ariaLabel:u,className:h}){const p=Number.isFinite(n)&&n>0?n:1,C=Math.max(0,Math.min(Number.isFinite(e)?e:0,p)),g=C/p*100,f=c??(a>=Ag?"inside":"bottom"),m=f==="center"?"inside":f,v=m==="inside"&&(d==="left"?g>=15:d==="center"?g>=50:g>=85),b={};return r&&(b["--progress-bar-fill"]=r),o&&(b["--progress-bar-track"]=o),t.jsxs("div",{className:be("progress-bar",`progress-bar--${a}`,`progress-bar--label-${m}`,s&&`progress-bar--align-${d}`,s&&v&&"progress-bar--label-on-fill",h),style:b,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":p,"aria-label":u,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${g}%`}})}),s&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(C):s==="percent"?`${Math.round(g)}%`:s==="raw"?String(C):`${C} / ${p}`})]})}const Bg="rgba(255, 255, 255, 0.16)";function vi({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:o,variant:s="numbered",announce:l=!1,ariaLabel:c}){const{t:d}=pe.useTranslation(),u=Yt("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const h=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,p=c??d("progress.steps",{current:h+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),C={};return a&&(C["--pi-inactive-bg"]=a),r&&(C["--pi-inactive-color"]=r),o&&(a||(C["--pi-inactive-bg"]=Bg),r||(C["--pi-inactive-color"]="var(--color-white)")),s==="dot"?t.jsx("div",{className:"progress-indicator progress-indicator--dot",style:C,role:l?"status":"img","aria-label":p,children:Array.from({length:e}).map((g,f)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<h?" done":f===h?" active":""}`},f))}):u?t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:C,role:"list","aria-label":p,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[h+1," / ",e]})}):t.jsx("div",{className:"progress-indicator",style:C,role:"list","aria-label":p,children:Array.from({length:e}).map((g,f)=>t.jsx("span",{role:"listitem","aria-current":f===h?"step":void 0,className:`progress-indicator-dot ${f<h?" done":f===h?" active":""} body-3`,children:f+1},f))})}function Sg(e){if(!e)return[];const n=[];let a=0,r="";for(const o of e.trim()){if(o==="("?a++:o===")"&&a--,/\s/.test(o)&&a===0){r&&(n.push(r),r="");continue}r+=o}return r&&n.push(r),n}function Dg({children:e,className:n,style:a}){return t.jsx("div",{className:n?`table-cell ${n}`:"table-cell",style:a,children:e})}function rr({variant:e="default",children:n,className:a,draggable:r,onClick:o,onMouseEnter:s,onMouseLeave:l,onDragStart:c,onDragEnd:d,expandedContent:u}){const h=i.useCallback(p=>{o&&p.target===p.currentTarget&&(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},[o]);return e==="loading"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--loading",children:t.jsx(Yn,{size:28})})}):e==="empty"?t.jsx("div",{className:"table-row-wrap",children:t.jsx("div",{className:"table-row table-row--empty body-3",children:n})}):t.jsxs("div",{className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:o,onKeyDown:o?h:void 0,onMouseEnter:s,onMouseLeave:l,onDragStart:c,onDragEnd:d,role:o?"button":void 0,tabIndex:o?0:void 0,children:n}),u&&t.jsx("div",{className:"table-row-expand",children:u})]})}function jg({dir:e}){return t.jsx(e==="asc"?io:so,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function Eg({children:e,onClick:n,className:a,sortDir:r,onResizeStart:o}){const s=i.useCallback(l=>{n&&l.target===l.currentTarget&&(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),n())},[n]);return t.jsxs("div",{onClick:n,onKeyDown:n?s:void 0,role:n?"button":void 0,tabIndex:n?0:void 0,"aria-sort":r?r==="asc"?"ascending":"descending":void 0,className:be("table-field body-3",a,r?"table-field--sorted":"",o?"table-field--resizable":""),children:[e,r&&t.jsx(jg,{dir:r}),o&&t.jsx("span",{className:"table-field__resizer",onPointerDown:o,onClick:l=>l.stopPropagation(),"aria-hidden":"true"})]})}function or({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:o,onRowMouseEnter:s,onRowMouseLeave:l,onRowDragStart:c,onRowDragEnd:d,draggingId:u,gridTemplateColumns:h,resizable:p=!1,resizeMode:C="grow",resizeStorageKey:g,size:f="small",title:m,icon:v,count:b,collapsed:w=!1,onToggleCollapse:_,headerActions:y,empty:S,loading:x,dragOver:A=!1,onDragOver:M,onDragLeave:k,onDrop:D,renderExpandedRow:H,expandedId:R}){const{t:j}=pe.useTranslation(),P=48,B=g?`table-cols:${g}`:null,O=i.useRef(null),Z=i.useRef(()=>!1),Y=i.useRef([]),J=i.useRef(null),[E,$]=i.useState(()=>{if(!B||typeof window>"u")return null;try{const T=JSON.parse(window.localStorage.getItem(B)??"null");return Array.isArray(T)&&T.every(q=>typeof q=="number")?T:null}catch{return null}}),L=i.useRef(E);i.useEffect(()=>{L.current=E},[E]);const z=i.useCallback(T=>{const q=J.current;q&&$(ee=>{if(!ee)return ee;const we=[...ee];if(q.next!=null&&q.startWNext!=null){const ie=T.clientX-q.startX,le=Math.max(P-q.startW,Math.min(q.startWNext-P,ie));we[q.index]=q.startW+le,we[q.next]=q.startWNext-le}else we[q.index]=Math.max(P,q.startW+(T.clientX-q.startX));return we})},[]),V=i.useCallback(()=>{if(J.current=null,window.removeEventListener("pointermove",z),window.removeEventListener("pointerup",V),document.body.style.cursor="",document.body.style.userSelect="",B&&L.current)try{window.localStorage.setItem(B,JSON.stringify(L.current))}catch{}},[z,B]),X=i.useCallback((T,q)=>{q.preventDefault(),q.stopPropagation();const ee=O.current;if(!ee)return;const we=Array.from(ee.children).map(le=>le.getBoundingClientRect().width),ie=C==="fit"?e.findIndex((le,se)=>se>T&&le.resizable!==!1):-1;J.current=ie>=0?{index:T,startX:q.clientX,startW:we[T],next:ie,startWNext:we[ie]}:{index:T,startX:q.clientX,startW:we[T]},$(we),window.addEventListener("pointermove",z),window.addEventListener("pointerup",V),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[z,V,C,e]),I=i.useCallback(()=>{const T=O.current,q=T?.closest(".table-wrap");if(!T||!q)return;const ee=q.style.getPropertyValue("--table-grid-cols");q.style.setProperty("--table-grid-cols",e.map(($e,Me)=>Z.current(Me)?Y.current[Me]:"max-content").join(" "));const we=Array.from(q.querySelectorAll(".table-row")).filter($e=>!$e.classList.contains("table-row--loading")&&!$e.classList.contains("table-row--empty")),ie=e.map(($e,Me)=>{let De=T.children[Me]?.getBoundingClientRect().width??0;for(const Ne of we){const Oe=Ne.children[Me];Oe&&(De=Math.max(De,Oe.getBoundingClientRect().width))}return Math.max(P,Math.ceil(De))}),le=window.getComputedStyle(T),se=T.clientWidth-(parseFloat(le.paddingLeft)||0)-(parseFloat(le.paddingRight)||0);ee?q.style.setProperty("--table-grid-cols",ee):q.style.removeProperty("--table-grid-cols");let oe=ie;const Se=ie.reduce(($e,Me,De)=>$e+(Z.current(De)?Me:0),0),Ie=ie.reduce(($e,Me,De)=>$e+(Z.current(De)?0:Me),0),He=se-Se;if(se>0&&Ie>0&&He>0){const $e=He/Ie;oe=ie.map((De,Ne)=>Z.current(Ne)?De:Math.max(P,Math.round(De*$e)));const Me=Math.round(He-oe.reduce((De,Ne,Oe)=>De+(Z.current(Oe)?0:Ne),0));if(Me!==0){let De=-1;oe.forEach((Ne,Oe)=>{!Z.current(Oe)&&(De<0||Ne>oe[De])&&(De=Oe)}),De>=0&&(oe[De]=Math.max(P,oe[De]+Me))}}if($(oe),B)try{window.localStorage.setItem(B,JSON.stringify(oe))}catch{}},[e,C,B]);i.useEffect(()=>()=>{J.current&&(window.removeEventListener("pointermove",z),window.removeEventListener("pointerup",V),document.body.style.cursor="",document.body.style.userSelect="")},[z,V]);const U=Sg(h),K=U.filter(T=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(T));K.length>0&&xa(`table-content-track:${h}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${K.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${h})`);const re=T=>/^\d+(\.\d+)?px$/.test(U[T]??"");Z.current=re,Y.current=U;const de=T=>C==="fit"&&!re(T)?"fr":"px",fe=E&&E.length===e.length&&(C==="fit"||a.length>0)?e.map((T,q)=>T.resizable===!1&&U[q]?U[q]:`${E[q]}${de(q)}`).join(" "):h,ge=fe?{"--table-grid-cols":fe}:void 0,he=m!==void 0;return t.jsx("div",{className:`table-wrap table-wrap--${f}${p?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${w?" table-wrap--collapsed":""}`,style:ge,onDragOver:M,onDragLeave:k,onDrop:D,children:t.jsxs("div",{className:"table body-2",children:[he&&t.jsxs("div",{className:"table-header",onClick:_,role:_?"button":void 0,tabIndex:_?0:void 0,"aria-expanded":_?!w:void 0,onKeyDown:_?T=>{(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),_())}:void 0,children:[_&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:w?"chevron-right":"chevron-down",ariaLabel:w?j("common.expand","\uD3BC\uCE58\uAE30"):j("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),v&&t.jsx(Pe,{icon:v,label:typeof m=="string"?m:void 0,className:"table-header__icon"}),t.jsx("span",{className:"table-header__title h5b",children:m}),b!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:b}),y&&t.jsx("span",{className:"table-header__actions",onClick:T=>T.stopPropagation(),children:y})]}),!w&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{className:"table-fields table-fields--groups",children:n.map((T,q)=>t.jsx("div",{className:be("table-field body-3",T.className),style:{gridColumn:`span ${T.span}`},children:T.label},q))}),t.jsxs("div",{className:be("table-fields-strip",p&&"table-fields-strip--resizable"),children:[t.jsx("div",{className:"table-fields",ref:O,children:e.map((T,q)=>t.jsx(Eg,{onClick:T.onClick,className:T.className,sortDir:T.sortDir,onResizeStart:p&&q<e.length-1&&T.resizable!==!1&&(C!=="fit"||e.some((ee,we)=>we>q&&ee.resizable!==!1))?ee=>X(q,ee):void 0,children:T.label},q))}),p&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:j("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:I})]}),t.jsx("div",{className:"table-body",children:x?t.jsx(rr,{variant:"loading"}):a.length===0&&S?t.jsx(rr,{variant:"empty",children:S}):a.map((T,q)=>{const ee=u!=null&&T.id===u,we=R!=null&&(R instanceof Set?R.has(T.id):T.id===R);return t.jsx(rr,{className:`${o?" table-row--clickable":""}${c?" table-row--draggable":""}${ee?" table-row--dragging":""}`.trim(),draggable:!!c,onClick:o?()=>o(T):void 0,onMouseEnter:s?ie=>s(T,ie):void 0,onMouseLeave:l?ie=>l(T,ie):void 0,onDragStart:c?ie=>c(T,ie):void 0,onDragEnd:d?ie=>d(T,ie):void 0,expandedContent:we&&H?H(T):void 0,children:r(T).map((ie,le)=>t.jsx(Dg,{className:ie.className,style:ie.style,children:ie.content},le))},String(T.id??q))})})]})]})})}function xi(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}function _i(e,n){return n!=="wornAt"?String(e[n]??""):e.wornYear?`${e.wornYear}-${e.wornMonth.padStart(2,"0")}-${e.wornDay.padStart(2,"0")}`:""}function Tg({rows:e,onSelect:n,onDelete:a,onWear:r,onRelease:o,onAdd:s}){const{t:l}=pe.useTranslation(),c=f=>f==="\uC88C"?l("device.direction.left","\uC88C"):l("device.direction.right","\uC6B0"),{\uC815\uB82C:d,\uCE78:u}=s0(),h=i.useMemo(()=>{if(!d)return e;const{key:f,asc:m}=d;return[...e].sort((v,b)=>{const w=f==="worn"?Number(b.worn)-Number(v.worn):_i(v,f).localeCompare(_i(b,f),"ko");return m?w:-w})},[e,d]),{pageRows:p,pageSizeProps:C,paginationProps:g}=o0(h,d);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(Qa,{count:{value:e.length,unit:l("customers.device.unit","\uAC1C")},pageSize:C,pagination:g,actions:s&&t.jsx(te,{size:40,type:"bar",variant:"main",icon:"plus",label:l("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:s})}),t.jsx(or,{resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...u(l("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},u(l("device.direction.label","\uBC29\uD5A5"),"side"),u(l("device.deviceType","\uC885\uB958"),"device"),u(l("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),u(l("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),u(l("device.productName","\uC81C\uD488\uBA85"),"productName"),u(l("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...a?[{label:"",resizable:!1}]:[]],items:p.map((f,m)=>({id:f.id??`${f.side}-${m}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${a?" 80px":""}`,renderRow:({row:f})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:m=>m.stopPropagation(),children:t.jsx(li,{checked:f.worn,disabled:!r||!o,ariaLabel:f.worn?l("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):l("customers.device.wear","\uCC29\uC6A9"),onChange:m=>{m?r?.(f):o?.(f)}})})},{content:t.jsx("span",{children:c(f.side)})},{content:f.device?t.jsx(ct,{size:"small",variant:xi(f.device),fill:"soft",label:f.device}):t.jsx("span",{})},{content:t.jsx("span",{children:f.brand})},{content:t.jsx("span",{children:f.fitType||"-"})},{content:t.jsx("span",{children:f.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:f.wornYear?`${f.wornYear}.${f.wornMonth}.${f.wornDay}`:"-"})},...a?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(te,{size:28,type:"bar",variant:"transparent-gray",label:l("common.delete","\uC0AD\uC81C"),onClick:m=>{m?.stopPropagation(),a(f)}})})}]:[]],onRowClick:({row:f})=>n(f),empty:l("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function wi(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a))}}:{}}function Mg(e,n){return new Date(e,n+1,0).getDate()}function Lg(e,n){return new Date(e,n,1).getDay()}function $g({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r}){const{t:o}=pe.useTranslation(),s=i.useMemo(()=>o("calendar.dow",{returnObjects:!0}),[o]),[l,c]=i.useState(new Date().getFullYear()),[d,u]=i.useState(new Date().getMonth()),[h,p]=i.useState(null),C=i.useRef(null),g=new Date,f=i.useMemo(()=>{const y={};return e.forEach(S=>{y[S.date]||(y[S.date]=[]),y[S.date].push(S)}),y},[e]),m=i.useMemo(()=>{const y=Mg(l,d),S=Lg(l,d),x=[];for(let A=0;A<S;A++)x.push(null);for(let A=1;A<=y;A++)x.push(A);for(;x.length<35;)x.push(null);return x},[l,d]),v=i.useCallback(()=>{d===0?(c(y=>y-1),u(11)):u(y=>y-1)},[d]),b=i.useCallback(()=>{d===11?(c(y=>y+1),u(0)):u(y=>y+1)},[d]),w=y=>`${l}-${String(d+1).padStart(2,"0")}-${String(y).padStart(2,"0")}`,_=y=>g.getFullYear()===l&&g.getMonth()===d&&g.getDate()===y;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{className:"calendar-nav__button",onClick:v,"aria-label":o("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Pe,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5",children:o("calendar.yearMonth",{year:l,month:d+1})}),t.jsx("button",{className:"calendar-nav__button",onClick:b,"aria-label":o("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Pe,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[s.map(y=>t.jsx("div",{className:"calendar-day-header body-3",children:y},y)),m.map((y,S)=>{if(y===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${S}`);const x=y,A=w(x),M=f[A]??[],k=h===A;return t.jsxs("div",{className:`calendar-cell${_(x)?" today":""}${k?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?o("calendar.addOnDate",{date:A}):void 0,onClick:r?()=>r(A):void 0,onKeyDown:r?D=>{D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),r(A))}:void 0,onDragOver:a?D=>{D.preventDefault(),p(A)}:void 0,onDragLeave:a?D=>{D.currentTarget.contains(D.relatedTarget)||p(null)}:void 0,onDrop:a?D=>{D.preventDefault(),C.current!=null&&(a(C.current,A),C.current=null),p(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:x}),t.jsx("div",{className:"calendar-cell__badges",children:M.map((D,H)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${D.status==="noVisit"?" calendar-visit-badge--no-visit":D.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?R=>{C.current=D.id,R.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{C.current=null,p(null)}:void 0,onClick:n?R=>{R.stopPropagation(),n(D)}:void 0,...wi(n?()=>n(D):void 0),"aria-label":[D.time?Ko(D.time,o):null,D.customer,o(D.status==="noVisit"?"calendar.legend.noVisit":D.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[D.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:Ko(D.time,o)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:D.customer}),D.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:o("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},D.id??H))})]},x)})]})]})}const Rg={page:"h3",pagePopup:"h4",popup:"h5"};function jn({type:e="page",title:n,icon:a,action:r,disc:o,children:s,className:l,style:c}){const d=Rg[e],u=n||o;return t.jsxs("div",{className:be("section",`section--${e}`,l),style:c,children:[u&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[a&&t.jsx(Pe,{icon:a,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx("div",{className:`section__title ${d}`,children:n}),o&&t.jsx("div",{className:"section__disc body-3",children:o})]})]}),r&&t.jsx("div",{className:"section__action",children:r})]}),s]})}function ki({icon:e,label:n,tooltip:a,wrapperStyle:r,color:o,bgColor:s,useHover:l=!0,iconSize:c="medium"}){const d=c==="small",u=be("category-icon",d?"category-icon--small":""),h=d?16:20,p=i.useRef(null),[C,g]=i.useState(!1),f=i.useMemo(()=>{const x=r&&typeof r=="object"?{...r}:{};return!o&&!s?x:{...x,...o?{color:o,"--t-item-fg":o}:{},...s?{"--t-item-bg":s}:{}}},[r,o,s]),m=a||n,[v,b]=i.useState(null);i.useLayoutEffect(()=>{C&&b(p.current?.getBoundingClientRect()??null)},[C]),i.useEffect(()=>{if(!l&&C)try{g(!1)}catch{}},[l,C]),i.useEffect(()=>{if(!C)return;const x=A=>{const M=p.current;if(!M)return;const k=A.target;k&&!M.contains(k)&&g(!1)};return document.addEventListener("pointerdown",x,!0),()=>document.removeEventListener("pointerdown",x,!0)},[C]);const w=i.useCallback(()=>{l&&g(!0)},[l]),_=i.useCallback(()=>{l&&g(!1)},[l]),y=i.useCallback(()=>g(!1),[]),S=i.useCallback(x=>{if(x.key==="Escape"){g(!1);return}(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),g(A=>!A))},[]);return t.jsxs("span",{ref:p,className:"category-icon__wrap",onPointerEnter:w,onPointerLeave:_,onFocus:w,onBlur:_,onKeyDown:S,role:"button",tabIndex:0,"aria-label":typeof m=="string"?m:void 0,"aria-haspopup":!!m,"aria-expanded":C,"data-tooltip-ignore":!0,children:[t.jsx(Pe,{icon:e,label:n,className:u,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:f,size:h}),C&&m&&t.jsx(sn,{anchorRect:v,text:typeof m=="string"?m:void 0,offset:8,onClose:y,className:"category-icon__tooltip",ariaLabel:typeof m=="string"?m:void 0})]})}function Pg(e,n){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(n==="LISTEN_IN_NOISE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}if(n==="SHORT_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"SHORT_S"}}if(n==="LONG_STORY"){const l=a.items||a.sentences||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LONG"}}if(n==="ORDERING_SENTENCE"){const l=a.sentences||a.items||[],c=Array.isArray(l)&&l.length>0?r(l):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}const o=a.sentences||a.items||[],s=r(Array.isArray(o)?o:[]);return s.length===0&&(a.contextCode||a.context_code)&&s.push(String(a.contextCode||a.context_code)),{previewCodes:s,previewBucket:null}}function Ig(e,n){const[a,r]=i.useState(!1),[o,s]=i.useState(-1),[l,c]=i.useState([]),d=i.useRef(null),u=i.useRef(!1),h=i.useRef(null),[p,C]=i.useState(!1),g=i.useRef([]),{previewCodes:f,previewBucket:m}=Pg(e,n);i.useEffect(()=>{if(!f.length)return;let b=!1;return(async()=>{const w=[],_=[];for(const y of f)try{const S=Mo(y,m);if(!S){w.push("");continue}let x=null;try{x=await Lo(S)}catch{}if(!x)try{const A=await $o(S);A&&(x=URL.createObjectURL(A),_.push(x))}catch{}w.push(x??"")}catch{w.push("")}b?_.forEach(y=>{try{URL.revokeObjectURL(y)}catch{}}):(g.current.forEach(y=>{try{URL.revokeObjectURL(y)}catch{}}),g.current=_,c(w))})(),()=>{b=!0}},[f.join(","),m]),i.useEffect(()=>()=>{g.current.forEach(b=>{try{URL.revokeObjectURL(b)}catch{}}),g.current=[]},[]);const v=i.useCallback(async b=>{if(b.stopPropagation(),b.preventDefault(),u.current){u.current=!1;try{d.current?.pause()}catch{}r(!1),s(-1);return}if(l.filter(Boolean).length){u.current=!0,r(!0);for(let w=0;w<l.length&&u.current;w++){const _=l[w];if(_){s(w);try{await new Promise((y,S)=>{const x=new Audio(_);d.current=x,x.onended=()=>y(),x.onerror=()=>S(),x.play().catch(S)})}catch{break}}}u.current=!1,r(!1),s(-1)}},[l]);return i.useEffect(()=>()=>{u.current=!1;try{d.current?.pause()}catch{}d.current=null},[]),{playing:a,playingIndex:o,previewUrls:l,previewHover:p,setPreviewHover:C,previewBtnRef:h,handlePreview:v}}const Fg=e=>{if(!e)return[];const n=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(n)return[String(n)];const a=e.sentences||e.items||e.questions||[];return Array.isArray(a)&&a.length>0?a.map(r=>{if(typeof r=="string")return r;if(r&&typeof r=="object"){const o=r;return o.sentence||o.text||o.context||o.question||o.title||""}return""}).filter(r=>typeof r=="string"&&r.trim().length>0).map(r=>r.trim()):[]};function sr(e){const{index:n,type:a,trainingData:r,ariaLabel:o,depth:s,renderPopup:l,completed:c,completedIds:d,selectedIds:u,tooltipText:h,useDescriptionTooltip:p=!1,onRemove:C,hideCheckBadge:g=!1,showTypeLabel:f=!1,onComplete:m,onSelect:v,onMore:b,countLabelOverride:w,size:_="square"}=e||{},{t:y}=pe.useTranslation(),[S,x]=i.useState(!1),A=i.useRef(null),[M,k]=i.useState(!1);i.useEffect(()=>{A.current?.matches(":hover")&&k(!0)},[]);const{playing:D,playingIndex:H,previewUrls:R,previewHover:j,setPreviewHover:P,previewBtnRef:B,handlePreview:O}=Ig(r,a?.key),Z=i.useCallback(()=>{v?v():x(!0)},[v]),Y=i.useCallback(()=>x(!1),[]),J=i.useCallback(()=>k(!0),[]),E=i.useCallback(()=>k(!1),[]),$=i.useCallback(()=>P(!0),[P]),L=i.useCallback(()=>P(!1),[P]),[z,V]=i.useState(null);i.useLayoutEffect(()=>{j&&V(B.current?.getBoundingClientRect()??null)},[j,B]);const[X,I]=i.useState(null);i.useLayoutEffect(()=>{M&&!S&&p&&I(A.current?.getBoundingClientRect()??null)},[M,S,p]);const U=i.useCallback(ye=>{(ye.key==="Enter"||ye.key===" ")&&(ye.preventDefault(),Z())},[Z]),K=r||null,re=i.useMemo(()=>{if(!p)return null;const ye=h?(Array.isArray(h)?h:[h]).filter(Boolean):null,Fe=ye&&ye.length>0?ye:Fg(K);return Fe&&Fe.length>0?Fe:null},[p,h,K]),de=i.useCallback(ye=>{ye.stopPropagation(),C?.()},[C]),fe=i.useCallback(ye=>ye.stopPropagation(),[]),ge=i.useCallback(ye=>{typeof m=="function"&&m(ye)},[m]),he=c||(d&&r?.id!=null?d.has(String(r.id)):!1),T=!he&&(u!=null&&r?.id!=null?u.has(String(r.id)):!1);js("speechear.popup.close",Y);const q=Zo(),ee=`${a?.label||""} ${n+1}`,we=K?.title||K?.name||ee;let ie=a?.icon,le,se="",oe="";try{const ye=K?.category_0||K?.category_main_code||K?.category_main,Fe=K?.category_1||K?.category_sub_code||K?.category_sub,Le=q.find(We=>We.key===ye);Le?.icon&&(ie=Le.icon),!le&&Le?.color&&(le={"--t-item-fg":Le.color}),!le&&K?.iconColor&&(le={"--t-item-fg":K.iconColor}),se=Le?.label||"";try{oe=Le?.subs?.find(We=>We.key===Fe)?.label||""}catch{}}catch{}const Se=oe?`${se} / ${oe}`:se||a?.label||we,Ie=ye=>y("training.countQuestions",{n:ye}),He=ye=>y("training.countSentences",{n:ye});let $e="";try{if(K)if(a?.key==="LISTEN_IN_NOISE"){let ye=0;Array.isArray(K.items)&&K.items.length>0?ye=K.items.length:Array.isArray(K.sentences)&&K.sentences.length>0?ye=K.sentences.length:K.sentences&&(ye=1),$e=He(ye)}else if(a?.key==="SHORT_STORY"){let ye=1;Array.isArray(r?.items)?ye=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?ye=r.raw.items.length:Array.isArray(K?.questions)?ye=K.questions.length:Array.isArray(K?.sentences)&&(ye=K.sentences.length),$e=Ie(ye)}else if(a?.key==="LONG_STORY"){let ye=1;if(Array.isArray(K.items)&&K.items.length>0){const Fe=K.items.reduce((Le,We)=>{const Ze=We.questionItems;return Array.isArray(Ze)?Le+Ze.length:Array.isArray(We.questions)?Le+We.questions.length:Le},0);ye=Fe>0?Fe:K.items.length}else Array.isArray(K.questions)&&K.questions.length>0?ye=K.questions.length:Array.isArray(K.sentences)&&K.sentences.length>0&&(ye=K.sentences.length);$e=Ie(ye)}else if(a?.key==="ORDERING_SENTENCE"){let ye=1;Array.isArray(K.items)&&K.items.length>0?ye=K.items.length:Array.isArray(K.sentences)&&K.sentences.length>0&&(ye=K.sentences.length),$e=He(ye)}else Array.isArray(K.items)&&($e=K.items.length>0?Ie(K.items.length):"")}catch{}const Me=_==="list",De=_==="compact",Ne=_==="small",Oe=Ne&&a?.key?Fm().find(ye=>ye.key===a.key)?.label??"":"",Ge=!!f&&!!a?.label&&a.label!==String(we)||Ne&&!!Oe&&Oe!==String(we);return t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:A,className:`training-block-button${Me?" training-block-button--list":""}${De?" training-block-button--compact":""}${Ne?" training-block-button--small":""}${he?" training-block-button--completed":""}${T?" training-block-button--selected":""}${Ge&&!Ne?" training-block-button--withType":""}${Ne&&!Ge?" training-block-button--no-type-label":""}`,onClick:Z,onPointerEnter:J,onPointerLeave:E,role:"button",tabIndex:0,onKeyDown:U,"aria-label":typeof o=="string"?o:typeof we=="string"?we:void 0,children:[t.jsxs("div",{className:"training-block-button__left",children:[f&&a?.label&&a.label!==String(we)&&t.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),Ne&&Oe&&Oe!==String(we)&&t.jsx("span",{className:"training-block-button__type-label caption-2",children:Oe}),t.jsx(ki,{icon:ie,label:we,tooltip:Se,wrapperStyle:le,iconSize:Ne||De?"small":"medium"}),!g&&(he||T)&&!(C&&M)&&t.jsx(ct,{type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":he?y("training.completed","\uD6C8\uB828 \uC644\uB8CC"):y("training.selected","\uC120\uD0DD\uB428")}),C&&M&&t.jsx(ct,{type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":y("common.remove","\uC81C\uAC70"),onClick:de}),t.jsx("div",{className:`training-block-button__title ${De?"body-3":Ne?"body-3b":"h3"}`,children:String(we)}),t.jsxs("div",{className:"training-block-button__description",children:[(()=>{const ye=w!==void 0?w:$e;return ye?t.jsx("div",{className:`training-block-button__count ${Ne?"caption-2":"caption-1"}`,children:ye}):null})(),t.jsx("div",{className:"training-block-button__chevron",children:t.jsx(Pe,{icon:"chevron-right",label:y("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:Ne?12:20})})]}),(Me||Ne)&&R.length>0&&t.jsx("div",{ref:B,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:fe,onPointerEnter:$,onPointerLeave:L,children:t.jsx(te,{size:Ne?28:32,type:"dot",icon:D?"pause":"play",variant:Ne?"transparent-lightGray":"default",useBorder:!1,selected:D,ariaLabel:D?y("training.stop","\uC815\uC9C0"):y("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:O})})]}),b&&t.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:ye=>{ye.stopPropagation(),b(ye)},children:t.jsx(te,{size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:y("common.more","\uB354\uBCF4\uAE30")})})]}),j&&t.jsx(sn,{anchorRect:z,text:D?y("training.stop","\uC815\uC9C0"):y("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:L}),M&&!S&&p&&(re?t.jsx(gn,{anchorRect:X,items:re,activeIndex:H,onClose:E}):K?.subTitle?t.jsx(sn,{anchorRect:X,text:K.subTitle,offset:8,onClose:E}):null),S&&l&&l({trainingData:K,typeKey:a?.key??"",onClose:Y,onComplete:ge,popupTitle:String(we),popupSubTitle:a?.subTitle,depth:s!=null?String(s):void 0,popupIcon:ie,popupIconTooltip:String(Se),popupWrapperStyle:le})]})}const da=20;function Og(e){const{t:n}=pe.useTranslation(),{type:a,trainingDatas:r,depth:o,renderPopup:s,completedIds:l,selectedIds:c,onItemComplete:d,size:u,useDescriptionTooltip:h,onRemove:p,onMore:C,sectionType:g="page"}=e||{},[,f]=i.useState(0),m=typeof r<"u"?Array.isArray(r)?r:[]:[],v=m.length,[b,w]=i.useState(Math.min(v,da)),_=i.useMemo(()=>Array.isArray(o)?[...o,a?.label].filter(Boolean).join(" \xB7 "):[o||"",a?.label].filter(Boolean).join(" \xB7 "),[o,a?.label]);i.useEffect(()=>{w(Math.min(v,da))},[v]),js("speechear.data.updated",()=>f(S=>S+1));function y(){w(S=>Math.min(v,S+da))}return t.jsxs(jn,{type:g,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",children:(m||[]).slice(0,b).map((S,x)=>{const A=S;return t.jsx(sr,{index:x,type:a,trainingData:A,depth:_,renderPopup:s,completedIds:l,selectedIds:c,size:u,useDescriptionTooltip:h,onRemove:typeof p=="function"&&c!=null&&A?.id!=null&&c.has(String(A.id))?()=>p(A):void 0,onComplete:typeof d=="function"&&A?.id!=null?()=>d(String(A.id)):void 0,onMore:typeof C=="function"?M=>C(A,M):void 0},A?.id!=null?`${a?.key||"t"}-${String(A.id)}`:`${a?.key||"t"}-${x}`)})}),v>da&&b<v&&t.jsx("div",{className:"training-block__more",children:t.jsx(te,{size:48,type:"bar",icon:"plus",onClick:y,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function ir(e){const n=i.useRef(null),[a,r]=i.useState(!!e),[o,s]=i.useState(!1);i.useEffect(()=>{s(!1);const d=n.current;r(!!e&&!(d?.complete&&d.naturalWidth>0))},[e]);const l=i.useCallback(()=>r(!1),[]),c=i.useCallback(()=>{r(!1),s(!0)},[]);return{imgRef:n,loading:a,failed:o,hasImage:!!e&&!o,onLoad:l,onError:c}}let En=null;function Hg(e){if(En&&En!==e)try{En()}catch{}return En=e,()=>{En===e&&(En=null)}}var Vg='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2256_7437)">%0A<g opacity="0.1">%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23111111"/>%0A</g>%0A<path d="M57.1426 17.8571H35.7141C25.8533 17.8571 17.8569 25.8536 17.8569 35.7143V44.0643L10.9926 51.6179C10.5819 52.0679 10.6283 52.775 11.0998 53.1643C13.1783 54.8929 15.4641 56.2214 17.8569 57.1679C17.8676 63.925 21.6283 69.8 27.1712 72.825C25.7855 70.2893 24.9998 67.3786 24.9998 64.2821V35.7107C24.9998 29.7929 29.7962 24.9964 35.7141 24.9964H64.2855C67.3783 24.9964 70.2891 25.7857 72.8283 27.1679C69.7998 21.6179 63.9105 17.8536 57.1426 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M72.8285 27.1714C74.2142 29.7072 75 32.6179 75 35.7143V64.2857C75 70.2036 70.2035 75 64.2857 75H35.7142C32.6214 75 29.7107 74.2107 27.1714 72.8286C30.2 78.3786 36.0892 82.1429 42.8571 82.1429H58.9678C59.9321 82.1429 60.7142 82.925 60.7142 83.8893C60.7142 84.9107 61.5892 85.7215 62.6071 85.6322C73.5535 84.675 82.1428 75.4822 82.1428 64.2857V42.8572C82.1428 36.0893 78.3785 30.2 72.8285 27.1714Z" fill="%23111111"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="%23111111"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2323 35.6679 46.2859 35.8464 45.4073 36.2679C44.518 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2037 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2256_7437">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const zg=Vg,lr=i.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:o=!1,onSelect:s,flipDelay:l=0,hideLabel:c=!1,hideAudio:d=!1,orderRank:u=null},h){const{t:p}=pe.useTranslation(),C=e.word||e.title||"",g=n||!C,f=e.audio??e.sound??e.audioKey,m=e.subLabel||e.pronunciation||"",v=e.colloquialLabel||"",[b,w]=i.useState({label:C,subLabel:m,colloquialLabel:v,homonum:e.homonum});C&&b.label!==C&&w({label:C,subLabel:m,colloquialLabel:v,homonum:e.homonum});const _=i.useRef(null),y=Yt("(max-width: 767px)"),[S,x]=i.useState(!1),[A,M]=i.useState(""),k=Nn()?.(b.label,b.homonum)??e.image??"",{imgRef:D,loading:H,hasImage:R,onLoad:j,onError:P}=ir(k);i.useEffect(()=>{let $=!1;return(async()=>{if(f){if(typeof f=="string"){if(f.startsWith("http")||f.includes("/")){M(f);return}}else if(typeof f=="object"&&!Array.isArray(f)){const z=f.src;if(z){M(z);return}}}const L=Ma();if(L&&C)try{const z=await Promise.resolve(L(C));!$&&z&&M(z)}catch{}})(),()=>{$=!0}},[f,C]),i.useEffect(()=>()=>{try{_.current?.pause()}catch{}_.current=null},[]);const B=i.useCallback(()=>new Promise($=>{if(typeof window<"u"&&window.speechSynthesis&&C){x(!0),window.speechSynthesis.cancel();const L=new SpeechSynthesisUtterance(C);L.lang="ko-KR",L.onend=()=>{x(!1);try{a?.()}catch{}$()},L.onerror=()=>{x(!1),$()},window.speechSynthesis.speak(L)}else $()}),[C,a]),O=i.useCallback($=>new Promise(L=>{let z=!1;const V=()=>{z||(z=!0,x(!1),L(!1))};try{const X=new Audio($);_.current=X,X.onended=()=>{if(!z){z=!0,x(!1);try{a?.()}catch{}L(!0)}},X.onerror=V,X.play().catch(V)}catch{V()}}),[a]),Z=i.useCallback(async()=>{if(n)return;const $=Hg(()=>{try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)});try{window.speechSynthesis?.cancel()}catch{}try{if(A&&(x(!0),await O(A)))return;const L=am();if(L&&C)try{const z=await Promise.resolve(L(C));if(z&&(x(!0),await O(z)))return}catch{}await B()}finally{$()}},[n,A,C,O,B]);i.useImperativeHandle(h,()=>({play:()=>Z()}),[Z]);const Y=$=>$.stopPropagation(),J=i.useCallback($=>{if($.stopPropagation(),!n){if(S){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}Z()}},[n,S,Z]),E=be("training-word-card",n?"training-word-card--disabled":"",g?"training-word-card--flipped":"",r?"training-word-card--selectable":"",o?"training-word-card--selected":"");return t.jsx("div",{className:E,onClick:r&&!n?s:void 0,role:r?"button":void 0,"aria-pressed":r?o:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?$=>{($.key==="Enter"||$.key===" "||$.key==="Spacebar")&&($.preventDefault(),s?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:g?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[o&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:Y,children:t.jsx(ct,{type:"dot",size:40,position:"inline",animate:!0,icon:u!=null?void 0:"check",number:u??void 0,"aria-label":u!=null?p("training.nthSelected",{n:u}):p("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:R?t.jsxs(t.Fragment,{children:[H&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:D,className:"training-word-card__image",src:k,alt:b.label||p("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:H?0:1},onLoad:j,onError:P})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!c&&t.jsxs("div",{className:"training-word-card__body",children:[t.jsx("div",{className:"training-word-card__word",children:b.label}),b.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",b.subLabel,"]"]}),b.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",b.colloquialLabel,"]"]})]}),!d&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?Y:void 0,children:t.jsx(te,{size:y?40:48,type:y?"dot":"bar",icon:S?"pause":"play",label:y?void 0:p("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:S,onClick:J,disabled:n,ariaLabel:p("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:zg,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})});let Xn=0,Ai="",Ni="",Jn=0;function Wg(){return Bi(!1)}function qg(){return Bi(!0)}function Bi(e){const n=typeof document<"u";Xn===0&&n&&(Ai=document.body.style.overflow,document.body.style.overflow="hidden"),e&&n&&(Jn===0&&(Ni=document.body.style.paddingRight),Jn++,document.body.style.paddingRight="0px"),Xn++;let a=!1;return()=>{a||(a=!0,Xn=Math.max(0,Xn-1),e&&n&&(Jn=Math.max(0,Jn-1),Jn===0&&(document.body.style.paddingRight=Ni)),Xn===0&&n&&(document.body.style.overflow=Ai))}}const Ug=260;function un(e){const{t:n}=pe.useTranslation(),{title:a,subtitle:r,headerActions:o,children:s,buttons:l,footer:c,footerClassName:d="",onClose:u,closeDisabled:h=!1,beforeClose:p,className:C="",ariaLabel:g,useTitle:f=!0,inline:m=!1,size:v,resetScrollKey:b}=e||{},[w,_]=i.useState(!1),y=i.useRef(!1),S=i.useRef(null),x=i.useId(),A=i.useRef(null);i.useEffect(()=>{},[m,a,g,C]),i.useEffect(()=>{b!==void 0&&A.current&&(A.current.scrollTop=0)},[b]);const[M,k]=i.useState(!1);i.useEffect(()=>{const B=A.current;if(!B)return;const O=()=>k(B.scrollHeight>B.clientHeight+1);if(O(),typeof ResizeObserver>"u")return;const Z=new ResizeObserver(O);Z.observe(B);const Y=B.firstElementChild;return Y&&Z.observe(Y),()=>Z.disconnect()},[s,b]),i.useEffect(()=>{if(!m)return Wg()},[m]),i.useEffect(()=>{if(m)return;const B=document.activeElement,O=S.current;return O&&!O.contains(document.activeElement)&&(O.querySelector(Wn)??O).focus(),()=>{B?.focus?.()}},[m]),Va(S,!m);const D=i.useCallback(B=>{y.current||(y.current=!0,_(!0),setTimeout(()=>{try{B&&B()}catch{}},Ug))},[]),H=i.useCallback(()=>{h||p&&p()===!1||D(u)},[D,u,h,p]),R=i.useRef(H);i.useEffect(()=>{R.current=H});const j=!m&&!!u;i.useEffect(()=>{if(j)return Ka(()=>R.current())},[j]);const P=t.jsx("div",{className:`popup ${m?"popup--inline":""} ${w?"popup--closing":""} ${C}`,children:t.jsxs("div",{ref:S,className:`popup-panel${v?` popup-panel--${v}`:""}`,tabIndex:-1,role:m?void 0:"dialog","aria-modal":m?void 0:!0,"aria-labelledby":!m&&a?x:void 0,"aria-label":!m&&!a&&g?g:void 0,children:[!f&&(o||u)?t.jsxs("div",{className:"popup-close-float",children:[o,u&&t.jsx(te,{size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:H,disabled:h,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||o||u?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[t.jsx("span",{id:x,className:"popup-title popup-title--left h2",children:a}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),t.jsxs("div",{className:"popup-header-actions",children:[o,u&&t.jsx(te,{size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:H,disabled:h,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:A,tabIndex:M?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof s=="function"?s({animateThen:D,closeWithAnimation:H}):s})}),l?.length?t.jsx("div",{className:"popup-footer popup-footer--buttons",children:l.map((B,O)=>t.jsx(te,{size:48,variant:B.variant??"default",label:B.label,disabled:B.disabled,onClick:()=>B.onClick?.({animateThen:D,closeWithAnimation:H})},O))}):c?t.jsx("div",{className:`popup-footer${d?` ${d}`:""}`,children:typeof c=="function"?c({animateThen:D,closeWithAnimation:H}):c}):null]})});return m||typeof document>"u"?P:Tt.createPortal(P,document.body)}function pa(e){return String(e)}const Si=["o","triangle","x"];function Di(e,n){return e===n?null:n}const ji={o:"circle",triangle:"triangle",x:"x"},Ei={o:"main",triangle:"warn",x:"danger"};function Gg(e){let n=0,a=0,r=0;for(const s of Object.values(e))s==="o"?n++:s==="triangle"?a++:s==="x"&&r++;const o=n+a+r;return{marked:o,o:n,triangle:a,x:r,rate:o===0?null:(n+a*.5)/o}}function cr(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function Ti(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function Kg(e,n){return!n&&e>0}const Tn={landscape:{width:1123,height:794,printSize:"A4 landscape",printW:"297mm",printH:"210mm"},portrait:{width:794,height:1123,printSize:"A4 portrait",printW:"210mm",printH:"297mm"}};function Zg(e="landscape"){const{printSize:n,printW:a,printH:r}=Tn[e],o=document.createElement("style");o.textContent=`@page { size: ${n}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(o);const s=()=>{document.head.removeChild(o),window.removeEventListener("afterprint",s)};window.addEventListener("afterprint",s),window.print()}function Mi(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let o=0;o<e.length;o+=a)r.push(e.slice(o,o+a));return r}const Yg={landscape:{1:{cols:1,rows:1},2:{cols:2,rows:1},3:{cols:3,rows:1},4:{cols:2,rows:2},5:{cols:3,rows:2},6:{cols:3,rows:2},7:{cols:4,rows:2},8:{cols:4,rows:2},9:{cols:5,rows:2},10:{cols:5,rows:2},11:{cols:4,rows:3},12:{cols:4,rows:3}},portrait:{1:{cols:1,rows:1},2:{cols:1,rows:2},3:{cols:1,rows:3},4:{cols:1,rows:4},5:{cols:1,rows:5},6:{cols:2,rows:3},7:{cols:2,rows:4},8:{cols:2,rows:4},9:{cols:2,rows:5},10:{cols:2,rows:5},11:{cols:3,rows:4},12:{cols:3,rows:4}}};function Xg(e,n){const a=Yg[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),o=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let s,l;return e==="landscape"?(l=o,s=Math.ceil(r/l)):(s=o,l=Math.ceil(r/s)),(e==="landscape"?s<l:l<s)&&([s,l]=[l,s]),{cols:s,rows:l}}const Jg={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},Li={\uBA85:"\uBA85\uC0AC",\uB3D9:"\uB3D9\uC0AC",\uD615:"\uD615\uC6A9\uC0AC",\uBD80:"\uBD80\uC0AC",\uC218:"\uC218\uC0AC",\uAD00:"\uAD00\uD615\uC0AC",\uAC10:"\uAC10\uD0C4\uC0AC",\uC870:"\uC870\uC0AC",\uC811:"\uC811\uC0AC",\uC758:"\uC758\uC874\uBA85\uC0AC",\uB300:"\uB300\uBA85\uC0AC",\uBCF4\uB3D9:"\uBCF4\uC870\uB3D9\uC0AC",\uBCF4\uD615:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},$i={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function ur(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function Ri(e,n,a,r){if(r!=="\uC810\uC120")return{};const o=e%n,s=Math.floor(e/n),l=o<n-1,c=s<a-1;if(!l&&!c)return{};const d="#ddd",u=g=>`repeating-linear-gradient(to ${g}, ${d} 0, ${d} 5px, transparent 5px, transparent 10px)`,h=[],p=[],C=[];return l&&(h.push(u("bottom")),p.push("1px 100%"),C.push("right center")),c&&(h.push(u("right")),p.push("100% 1px"),C.push("center bottom")),{backgroundImage:h.join(", "),backgroundSize:p.join(", "),backgroundPosition:C.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const Qg=280,e4=240,t4=280,n4=400,a4=120,r4=280;function Pi(e,n){const a=i.useRef(null),[r,o]=i.useState(1),[s,l]=i.useState(0),c=i.useCallback((d,u)=>{const h=d/e,p=n?u/n:1/0,C=Math.min(1,h,p);o(C),l(Math.max(0,(d-e*C)/2))},[e,n]);return i.useEffect(()=>{const d=a.current;if(!d)return;const u=n?d.parentElement??d:d;if(c(u.clientWidth,u.clientHeight),typeof ResizeObserver>"u")return;const h=new ResizeObserver(([p])=>c(p.contentRect.width,p.contentRect.height));return h.observe(u),()=>h.disconnect()},[c,n]),{scalerRef:a,scale:r,offset:s}}let en=null;function Ii({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:o=!0,showImage:s=!0,showPronunciation:l=!0,showColloquial:c=!0,buttonSize:d=40,wordInfo:u}){const{t:h}=pe.useTranslation(),p=i.useRef(null),C=i.useRef(null),g=i.useRef(null),[f,m]=i.useState(1),[v,b]=i.useState(!1),[w,_]=i.useState(""),[y,S]=i.useState(null),x=n&&n.length>0?n:om()?.(e,r)??"",A=Nn()?.(e,r)??"",{imgRef:M,loading:k,failed:D,onLoad:H,onError:R}=ir(A),j=i.useCallback(()=>S(C.current?.getBoundingClientRect()??null),[]),P=i.useCallback(()=>S(null),[]),B=i.useMemo(()=>{if(!u)return null;const E=[];return u.grade&&E.push(`\uB09C\uC774\uB3C4: ${u.grade}\uB4F1\uAE09`),u.syllables&&E.push(`\uC74C\uC808 \uC218: ${u.syllables}\uC74C\uC808`),u.pos&&E.push(`\uD488\uC0AC: ${ur(u.pos,Li)}`),u.wordType&&E.push(`\uC720\uD615: ${ur(u.wordType,$i)}`),E.length?E:null},[u]);i.useEffect(()=>{const E=Ma(),$=x||e;if(!E||!$)return;let L=!1;return Promise.resolve(E($)).then(z=>{!L&&z&&_(z)}),()=>{L=!0}},[x,e]),i.useEffect(()=>()=>{g.current?.pause(),en?.audio===g.current&&(en=null)},[]);const O=i.useCallback(async E=>{if(E.stopPropagation(),v){g.current?.pause(),b(!1),en=null;return}if(w){en?.stop(),b(!0);try{const $=new Audio(w);g.current=$;const L=()=>{b(!1),en?.audio===$&&(en=null)};en={audio:$,stop:()=>{$.pause(),L()}},$.onended=L,$.onerror=L,await $.play()}catch{b(!1),en?.audio===g.current&&(en=null)}}},[v,w]),Z=s&&!!A&&!D,Y=Z&&o?Qg:Z?t4:e4,J=Z&&o?n4:Z?r4:a4;return i.useEffect(()=>{const E=p.current;if(!E||typeof ResizeObserver>"u")return;const $=new ResizeObserver(([L])=>{const{width:z,height:V}=L.contentRect;m(Math.min(z/Y,V/J))});return $.observe(E),()=>$.disconnect()},[Y,J]),t.jsxs("div",{ref:p,className:"word-table-cell",children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${f})`},children:[Z&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[k&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:M,className:"word-table-cell__image",src:A,alt:e,draggable:!1,style:{opacity:k?0:1},onLoad:H,onError:R})]}),o&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),c&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":w,children:[t.jsx("span",{"data-play-state":"play",style:{display:v?"none":void 0},children:t.jsx(te,{size:d,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:h("common.play","\uC7AC\uC0DD"),onClick:O})}),t.jsx("span",{"data-play-state":"pause",style:{display:v?void 0:"none"},children:t.jsx(te,{size:d,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:h("common.pause","\uBA48\uCDA4"),onClick:O})})]}),u&&t.jsxs("div",{ref:C,className:"word-table-cell__info-button",onPointerEnter:j,onPointerLeave:P,onFocus:j,onBlur:P,children:[t.jsx(te,{size:d,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:h("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:E=>E.stopPropagation()}),y&&B&&t.jsx(gn,{anchorRect:y,items:B,showIndex:!1})]})]})}function Mn({title:e,titleIcon:n,disc:a,className:r,orientation:o="landscape",contentTypes:s=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:c=!0,showDivLine:d=!0,items:u,editCells:h,count:p,activeCell:C=null,onActivateCell:g,onRemoveCell:f,onRemoveItem:m,onReorder:v,showFillerAdd:b=!1,contentRef:w,buttonSize:_=40,pageNumber:y,pageNumberPosition:S="right",fitHeight:x=!1,scoring:A=!1,marks:M,onMarkClick:k,scoreIndexOffset:D=0}){const H=i.useCallback((ge,he)=>{k?.(D+ge,he)},[k,D]),R=(ge,he)=>{const T=M?.[pa(D+ge)]??null;return t.jsx("div",{className:be("word-table-cell__score",T?"word-table-cell__score--marked":""),children:Si.map(q=>t.jsx("span",{className:be("word-table-cell__score-slot",T===q?"word-table-cell__score-slot--on":""),children:t.jsx(te,{size:_,type:"dot",icon:ji[q],variant:T===q?Ei[q]:"default",selected:T===q,useBorder:!1,showTooltipInfo:!1,ariaLabel:j(`wordTable.scoring.${q}`,{word:he,defaultValue:`${he} ${q}`}),onClick:ee=>{ee.stopPropagation(),H(ge,q)}})},q))})},{t:j}=pe.useTranslation(),P=h!==void 0,B=i.useRef(null),[O,Z]=i.useState(null),{width:Y,height:J}=Tn[o],{scalerRef:E,scale:$,offset:L}=Pi(Y,x?J:void 0),z=P?h?.length??0:u?.length??0,V=Math.max(p??z,1),{cols:X,rows:I}=Xg(o,V),U={word:s.length===0||s.includes("\uB2E8\uC5B4"),image:s.length===0||s.includes("\uC774\uBBF8\uC9C0"),pron:s.length===0||s.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:s.length===0||s.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},K=P?(h??[]).some(ge=>ge!==null&&ge.length>1):(u??[]).some(ge=>ge.words.length>1),re=be("word-table-block__content",Jg[l],c&&"word-table-block__content--outline",d&&K&&"word-table-block__content--div-line"),de={transform:`scale(${1/$})`,transformOrigin:"center center"},fe=t.jsx("div",{ref:E,className:"word-table__scaler",style:{height:J*$},children:t.jsx("div",{className:be("word-table",r),style:{width:Y,height:J,transform:`scale(${$})`,transformOrigin:"top left",marginLeft:L},children:t.jsxs("div",{ref:w,className:re,style:{gridTemplateColumns:`repeat(${X}, 1fr)`,gridTemplateRows:`repeat(${I}, 1fr)`},children:[P?t.jsx(t.Fragment,{children:(h??[]).map((ge,he)=>t.jsx("div",{className:be("word-table-block__edit-cell",ge?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",C===he?"word-table-block__edit-cell--active":""),style:Ri(he,X,I,l),children:ge?t.jsxs(t.Fragment,{children:[ge.map((T,q)=>t.jsxs(i.Fragment,{children:[q>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(Ii,{label:T.word,subLabel:T.pronunciation,homonum:T.homonum,showWord:U.word,showImage:U.image,showPronunciation:U.pron,showColloquial:U.colloq,buttonSize:_})]},q)),A&&R(he,ge.map(T=>T.word).join(" / ")),f&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(te,{size:_,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ge.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ge.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>f(he)})})]}):g&&t.jsx("div",{style:de,children:t.jsx(te,{size:"48",type:"bar",icon:"plus",label:j("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g(he)})})},he))}):t.jsxs(t.Fragment,{children:[(u??[]).map((ge,he)=>t.jsxs("div",{className:`word-table-block__card${v?" word-table-block__card--draggable":""}${O===he?" word-table-block__card--drag-over":""}`,style:Ri(he,X,I,l),draggable:!!v,onDragStart:v?()=>{B.current=he}:void 0,onDragOver:v?T=>{T.preventDefault(),Z(he)}:void 0,onDragLeave:v?()=>Z(null):void 0,onDrop:v?T=>{T.preventDefault(),B.current!==null&&B.current!==he&&v(B.current,he),B.current=null,Z(null)}:void 0,onDragEnd:v?()=>{B.current=null,Z(null)}:void 0,children:[ge.words.map((T,q)=>t.jsxs(i.Fragment,{children:[q>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(Ii,{label:T.label,subLabel:T.subLabel,colloquialLabel:T.colloquialLabel,homonum:T.homonum,showWord:U.word,showImage:U.image,showPronunciation:U.pron,showColloquial:U.colloq,buttonSize:_,wordInfo:T.grade||T.syllables!=null||T.pos||T.wordType?{grade:T.grade,syllables:T.syllables,pos:T.pos,wordType:T.wordType}:void 0})]},q)),A&&R(he,ge.words.map(T=>T.label).join(" / ")),m&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(te,{size:_,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ge.words.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ge.words.length>1?j("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):j("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>m(ge.id)})})]},ge.id)),Array.from({length:Math.max(0,X*I-(u?.length??0))}).map((ge,he)=>{const T=(u?.length??0)+he<V;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:b&&g&&T&&t.jsx("div",{style:de,children:t.jsx(te,{size:_,type:"bar",icon:"plus",label:j("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>g((u?.length??0)+he)})})},`filler-${he}`)})]}),y&&S!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${S}`,children:j("wordTable.filter.pageIndicator",{current:y.current,total:y.total})})]})})});return e!=null||n||a?t.jsx(jn,{type:"page",icon:n,title:e,disc:a,className:be("word-table-block",r),children:fe}):fe}function tn({title:e,headerAction:n,collapsible:a=!1,defaultCollapsed:r=!1,collapsed:o,onCollapsedChange:s,footer:l,sections:c,selected:d={},onSelect:u,align:h,sectionAlign:p,className:C}){const g=(h??(p==="vertical"?"newline":"inline"))==="inline",{t:f}=pe.useTranslation(),[m,v]=i.useState(r),b=o??m,w=()=>{const y=!b;v(y),s?.(y)},_=e||n||a;return t.jsxs("div",{className:be("filter-panel",a?"filter-panel--collapsible":"",b?"filter-panel--collapsed":"",C),children:[_&&t.jsxs("div",{className:"filter-panel__header",children:[t.jsxs("div",{className:"filter-panel__title-row",children:[a&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:b?"chevron-down":"chevron-up",ariaLabel:b?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),"aria-expanded":!b,onClick:w}),e&&t.jsx("span",{className:"filter-panel__title h4",children:e})]}),t.jsx("div",{className:"filter-panel__header-actions",children:!b&&n})]}),!b&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:be("filter-panel__sections",g?"filter-panel__sections--row":""),children:c.map(y=>{const S=d[y.label],x=S===void 0||(Array.isArray(S)?S.length===0:!1),A=(y.items??[]).filter(k=>k!=null),M=k=>{const D=typeof k=="string"?k:k.value,H=typeof k!="string"&&!!k.disabled,R=typeof k!="string"?k.labels:void 0,j=typeof k!="string"?k.displayLabel:void 0,P=typeof k!="string"?k.tooltip:void 0,B=typeof k!="string"?k.descriptionTooltip:void 0,O=typeof k!="string"?k.shape:void 0,Z=Array.isArray(S)?S.includes(D):S===D;return t.jsx(te,{size:"keyboard",label:R??j??D,type:y.itemType??(R?"bar":D.length===1?"dot":void 0),selected:Z,disabled:H,shape:O,showTooltipInfo:!!P,tooltipInfoText:P,tooltipDescription:B,onClick:()=>u?.(D,y.label)},D)};return t.jsxs(i.Fragment,{children:[y.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:y.groupLabel}),y.groupAction]}),t.jsxs("div",{className:be("filter-panel__section",y.layout==="row"?"filter-panel__section--row":"",y.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:y.displayLabel??y.label}),y.labelAction??(y.labelInfo?t.jsx(Zn,{...y.labelInfo}):null)]}),y.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:y.content}):y.type==="input"?t.jsx(yn,{className:"filter-panel__textfield",placeholder:y.placeholder,ariaLabel:y.displayLabel??y.label,value:d[y.label]??"",onChange:k=>u?.(k,y.label),error:y.error}):!y.multiple&&y.display==="segmented"?t.jsx(vn,{ariaLabel:y.displayLabel??y.label,options:[...y.allOption?[{key:ln,label:y.allLabel??f("common.all","\uC804\uCCB4")}]:[],...A.map(k=>{const D=typeof k=="string"?k:k.value,H=typeof k!="string"?k.displayLabel:void 0,R=typeof k!="string"?k.disabled:void 0;return{key:D,label:H??D,disabled:R}})],value:x&&y.allOption?ln:d[y.label],onChange:k=>u?.(k,y.label),size:32}):!y.multiple&&y.display==="dropdown"?t.jsx(It,{className:"filter-panel__dropdown",size:40,options:[...y.allOption?[{value:ln,label:y.allLabel??f("common.all","\uC804\uCCB4")}]:[],...A.map(k=>{const D=typeof k=="string"?k:k.value,H=typeof k!="string"?k.displayLabel:void 0,R=typeof k!="string"?k.disabled:void 0;return{value:D,label:H??D,disabled:R}})],value:x&&y.allOption?ln:d[y.label],onChange:k=>u?.(k,y.label)}):t.jsxs("div",{className:y.groups?"filter-panel__item-groups":"filter-panel__items",children:[y.allOption&&!y.groups&&t.jsx(te,{size:"keyboard",label:y.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:y.allOptionDisabled,onClick:()=>u?.(ln,y.label)}),y.groups?y.groups.map((k,D)=>t.jsxs("div",{className:"filter-panel__item-group",children:[D===0&&y.allOption&&t.jsx(te,{size:"keyboard",label:y.allLabel??f("common.all","\uC804\uCCB4"),selected:x,disabled:y.allOptionDisabled,onClick:()=>u?.(ln,y.label)}),k.filter(H=>H!=null).map(M)]},D)):A.map(M)]})]})]},y.label)})}),l!=null&&l!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:l})]})]})}const o4=[1,2,3,4,5,6,7,8,9,10,11,12],s4=[8,4,2,1];function Fi(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function Oi(e){return{label:e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5"),items:[{value:"\uAC00\uB85C",displayLabel:e("wordTable.filter.landscape","\uAC00\uB85C")},{value:"\uC138\uB85C",displayLabel:e("wordTable.filter.portrait","\uC138\uB85C")}],display:"segmented"}}function Hi(e){return{label:e("wordTable.filter.border","\uC678\uACFD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Vi(e){return{label:e("wordTable.filter.cutLine","\uC808\uCDE8\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uC810\uC120",displayLabel:e("wordTable.filter.dotted","\uC810\uC120")},{value:"\uCF54\uB108",displayLabel:e("wordTable.filter.corner","\uCF54\uB108")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function zi(e){return{label:e("wordPrint.divLine","\uB300\uB9BD\uC120"),items:[{value:"\uD45C\uC2DC",displayLabel:e("wordTable.filter.show","\uD45C\uC2DC")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}function Wi(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...s4.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function qi(e){return{label:e("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638"),items:[{value:"\uC67C\uCABD",displayLabel:e("wordTable.filter.pageNumberLeft","\uC67C\uCABD")},{value:"\uC911\uC559",displayLabel:e("wordTable.filter.pageNumberCenter","\uC911\uC559")},{value:"\uC624\uB978\uCABD",displayLabel:e("wordTable.filter.pageNumberRight","\uC624\uB978\uCABD")},{value:"\uBBF8\uD45C\uC2DC",displayLabel:e("wordTable.filter.hide","\uBBF8\uD45C\uC2DC")}],display:"segmented"}}const Ui={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Gi(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Ki(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}}function Zi(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===ln?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(o=>o.includes(n)?o.filter(s=>s!==n):[...o,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):!1}function i4(e){return"sections"in e}function dr(e){const{t:n}=pe.useTranslation(),{title:a,className:r}=e;if(i4(e))return t.jsx(tn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,align:"inline"});const{hasImage:o,hasColloquial:s,contentTypes:l,orientation:c,showOutline:d,cutLine:u,showDivLine:h,setters:p,showCutLine:C=!1,showDivLine2:g=!1,middleSections:f=[],extraSelected:m={},onExtraSelect:v}=e,b=[Fi(n,{hasImage:o,hasColloquial:s}),Oi(n),...f,Hi(n),...C?[Vi(n)]:[],...g?[zi(n)]:[]],w={...Ki(n,{contentTypes:l,orientation:c,showOutline:d,cutLine:u,showDivLine:h}),...m},_=(y,S)=>{Zi(n,y,S,p)||v?.(y,S)};return t.jsx(tn,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:b,selected:w,onSelect:_,sectionAlign:"horizontal"})}function Yi(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function pr(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}function l4(e,n,a,r="",o=""){if(e.length===0)return;const s=r?pr(r):"";if(s){const d=document.title;document.title=s;const u=()=>{document.title=d,window.removeEventListener("afterprint",u)};window.addEventListener("afterprint",u)}const l=document.createElement("iframe");l.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(l);const c=l.contentDocument;if(!c){l.remove();return}c.open(),c.write(hr(e,n,a,!0,s,o)),c.close(),l.contentWindow?.addEventListener("afterprint",()=>setTimeout(()=>l.remove(),0))}function hr(e,n,a,r=!1,o="",s=""){o=o?pr(o):"";const l=Array.from(document.styleSheets).flatMap(h=>{try{return Array.from(h.cssRules).map(p=>p.cssText)}catch{return[]}}).join(`
|
|
839
|
+
`),c=document.documentElement.getAttribute("data-theme")||"light",d=s?`<div class="paper-head">${Yi(s)}</div>`:"",u=e.map(h=>{const p=h.cloneNode(!0);return p.querySelectorAll('[data-play-state="play"]').forEach(C=>C.style.display=""),p.querySelectorAll('[data-play-state="pause"]').forEach(C=>C.style.display="none"),p.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(C=>C.remove()),`<div class="paper-wrap">${d}${p.outerHTML}</div>`}).join(`
|
|
840
840
|
`);return`<!DOCTYPE html>
|
|
841
841
|
<html data-theme="${c}">
|
|
842
842
|
<head>
|
|
843
843
|
<meta charset="utf-8">
|
|
844
|
-
${o?`<title>${
|
|
844
|
+
${o?`<title>${Yi(o)}</title>`:""}
|
|
845
845
|
<style>${l}</style>
|
|
846
846
|
<style>
|
|
847
847
|
* { box-sizing: border-box; }
|
|
@@ -962,17 +962,17 @@ ${_.badge}`:_.badge:void 0;if(D&&d(_.code))return null;if(!_.badge&&!u)return h(
|
|
|
962
962
|
`:""}
|
|
963
963
|
<\/script>
|
|
964
964
|
</body>
|
|
965
|
-
</html>`}function mr({getElements:e,paperW:n,paperH:a,fileName:r="",onPopupBlocked:o,header:s=""}){const l=i.useCallback(()=>{a4(e(),n,a,r,s)},[e,n,a,r,s]),c=i.useCallback(()=>{const u=e();if(u.length===0)return;const h=window.open("","_blank");if(!h){o?.();return}h.document.write(hr(u,n,a,!1,r,s)),h.document.close()},[e,n,a,r,o,s]),d=i.useCallback(()=>{const u=e();if(u.length===0)return;const h=hr(u,n,a,!1,r,s),p=new Blob([h],{type:"text/html;charset=utf-8"}),m=URL.createObjectURL(p),g=r&&pr(r),f=Object.assign(document.createElement("a"),{href:m,download:`${g}.html`});document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(m)},[e,n,a,r,s]);return{print:l,openNewWindow:c,downloadHtml:d}}function Gi(e){const{t:n}=me.useTranslation(),[a,r]=i.useState("landscape"),[o,s]=i.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[l,c]=i.useState("\uD45C\uC2DC"),[d,u]=i.useState(!0),[h,p]=i.useState(!0),[m,g]=i.useState(8),[f,C]=i.useState("right"),b=e.length,y=e.some(R=>R.words.length>1),w=e.some(R=>R.words.some(j=>!!j.colloquialLabel)),_=Math.min(m,Math.max(b,1)),v=i.useMemo(()=>Si(e,_),[e,_]),D=v.length>1,x=_,[A,M]=i.useState(!1);i.useEffect(()=>{let R=!1;if(!kn()){M(!1);return}return Promise.all(e.flatMap(j=>j.words.map(P=>$o(P.label,P.homonum)))).then(j=>{R||M(j.some(Boolean))}),()=>{R=!0}},[e]);const k=i.useMemo(()=>[$i(n,{hasImage:A,hasColloquial:w}),Ri(n),...b>0?[Oi(n,{hasPairs:y,itemCount:b})]:[],...D?[Hi(n)]:[],Pi(n),...x>1?[Ii(n)]:[],...y?[Fi(n)]:[]],[n,A,w,b,y,D,x]),S={...Wi(n,{contentTypes:o,orientation:a,showOutline:d,cutLine:l,showDivLine:h}),...b>0?{[n(y?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${_}\uAC1C`}:{},...D?{[n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:zi[f]}:{}},H=i.useCallback((R,j)=>{qi(n,R,j,{setContentTypes:s,setOrientation:r,setShowOutline:u,setCutLine:c,setShowDivLine:p})||(j===n("wordTable.filter.itemsPerPagePair","\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218")||j===n("wordTable.filter.itemsPerPageWord","\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218")?g(parseInt(R)):j===n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&C(Vi(R)))},[n]);return{settings:{orientation:a,contentTypes:o,cutLine:l,showOutline:d,showDivLine:h,count:x},filterSections:k,filterSelected:S,handleSelect:H,pages:v,isPaginated:D,pageNumberPosition:f}}function r4({items:e,words:n,title:a,subtitle:r,emptyText:o,buttons:s,renderButtons:l,renderFooter:c,footerClassName:d,printFileName:u,showSettings:h,autoPrint:p,className:m,onClose:g,scoring:f=!1,onScoreChange:C,printHeader:b,beforeClose:y}){const{t:w}=me.useTranslation(),_=i.useMemo(()=>Array.isArray(e)?e:(Array.isArray(n)?n:[]).filter(oe=>typeof oe=="string"&&oe.length>0).map((oe,pe)=>({id:`${oe}-${pe}`,words:[{label:oe}]})),[e,n]),{settings:v,filterSections:D,filterSelected:x,handleSelect:A,pages:M,isPaginated:k,pageNumberPosition:S}=Gi(_),H=i.useMemo(()=>Di(M.map(oe=>oe.length)),[M]),[R,j]=i.useState({}),P=i.useCallback((oe,pe)=>{j(fe=>({...fe,[pa(oe)]:Ai(fe[pa(oe)]??null,pe)}))},[]),B=i.useRef(C);i.useEffect(()=>{B.current=C}),i.useEffect(()=>{B.current?.(cr(R))},[R]);const O=i.useMemo(()=>cr(R),[R]),Y=i.useRef(null),{toastMessage:X,toastKey:Q,showWarning:E,clearToast:$}=Ts("warning"),L=i.useRef([]),V=i.useCallback(()=>k?L.current.filter(oe=>oe!==null):Y.current?[Y.current]:[],[k]),{print:z,openNewWindow:J}=mr({getElements:V,paperW:jn[v.orientation].width,paperH:jn[v.orientation].height,fileName:u??"",header:b??"",onPopupBlocked:()=>E(w("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}),I=i.useMemo(()=>c?void 0:l?l({print:z,openNewWindow:J}):u?[{label:w("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),variant:"default",onClick:()=>J()},{label:w("wordTable.print","\uC778\uC1C4\uD558\uAE30"),variant:"default",onClick:()=>z()},...s??[]]:s,[c,l,u,s,w,z,J]),U=i.useMemo(()=>c?c({print:z,openNewWindow:J}):void 0,[c,z,J]),K=i.useRef(!1);return i.useEffect(()=>{if(!p||K.current)return;K.current=!0;const oe=window.setTimeout(()=>z(),100);return()=>window.clearTimeout(oe)},[p,z]),t.jsxs(sn,{title:a??w("keyWords.title","\uC8FC\uC694 \uB2E8\uC5B4"),subtitle:r,size:"large",className:ye("word-table-popup",m),buttons:I,footer:U,footerClassName:d,beforeClose:y,onClose:g,children:[_.length>0?t.jsxs("div",{className:"word-table-popup__body",children:[h&&t.jsx(dr,{sections:D,selected:x,onSelect:A}),k?t.jsx("div",{className:"word-table-popup__pages",children:M.map((oe,pe)=>t.jsx(En,{items:oe,orientation:v.orientation,contentTypes:v.contentTypes,cutLine:v.cutLine,showOutline:v.showOutline,showDivLine:v.showDivLine,count:v.count,contentRef:fe=>{L.current[pe]=fe},pageNumber:{current:pe+1,total:M.length},pageNumberPosition:S,scoring:f,scoreIndexOffset:H[pe],marks:O,onMarkClick:P},pe))}):t.jsx("div",{className:"word-table-popup__table",children:t.jsx(En,{items:_,orientation:v.orientation,contentTypes:v.contentTypes,cutLine:v.cutLine,showOutline:v.showOutline,showDivLine:v.showDivLine,count:v.count,contentRef:Y,fitHeight:!0,scoring:f,marks:O,onMarkClick:P})})]}):t.jsx("p",{className:"word-table-popup__empty body-3",children:o??w("keyWords.empty","\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),t.jsx(Bn,{message:X,position:"top",onClose:$},Q)]})}const o4=new Set(["x","triangle"]);function s4(e,n){const a=[];for(let r=0;r<e.length;r++){const o=n[String(r)];o&&o4.has(o)&&a.push(e[r])}return a}function i4(e,n){const[,a,r]=Oa(n).split("-"),o=`${a}.${r}`,s=/\s*(?:(\d+)차\s*)?복습\s*\d{2}\.\d{2}$/;let l=e.trim(),c=1;for(;;){const u=s.exec(l);if(!u)break;c=Math.max(c,(u[1]?Number(u[1]):1)+1),l=l.slice(0,u.index).trim()}const d=c>=2?`${c}\uCC28 `:"";return`${l||"\uB2E8\uC5B4\uD45C"} ${d}\uBCF5\uC2B5 ${o}`}function l4(e,n){const a={};for(const[r,o]of Object.entries(n)){if(o!=="o"&&o!=="triangle"&&o!=="x")continue;const s=Number(r),l=e[s];l&&(a[r]=l)}return a}function c4(e){return e.map(n=>n.label).join(" / ")}function u4(e,n,a){const r=Vo(a);return[e.trim(),r,n.trim()].filter(Boolean).join(" \xB7 ")}const d4=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function ha(e,n){return d4().compare(e,n)}function p4(e,n){return typeof e=="number"&&typeof n=="number"?e-n:ha(e==null?"":String(e),n==null?"":String(n))}function Ki(e,n,a){return a===0?0:(e+n*.5)/a}function h4(e){const n=new Map,a=[...e].sort((o,s)=>o.scoredAt.localeCompare(s.scoredAt));for(const o of a)for(const[s,l]of Object.entries(o.marks)){const c=o.labels?.[s];if(!c)continue;const d=n.get(c)??{o:0,triangle:0,x:0,latest:l,latestAt:o.scoredAt};if(l==="o")d.o++;else if(l==="triangle")d.triangle++;else if(l==="x")d.x++;else continue;d.latest=l,d.latestAt=o.scoredAt,n.set(c,d)}const r=[];for(const[o,s]of n){const l=s.o+s.triangle+s.x;r.push({label:o,tried:l,o:s.o,triangle:s.triangle,x:s.x,rate:Ki(s.o,s.triangle,l),latest:s.latest,latestAt:s.latestAt})}return r.sort((o,s)=>o.rate-s.rate||s.tried-o.tried||ha(o.label,s.label)),r}function m4(e){const n=new Map;for(const r of e){const o=r.tableId??`name:${r.tableName}`,s=n.get(o)??{tableName:r.tableName,tableId:r.tableId,rows:[]};s.rows.push(r),n.set(o,s)}const a=[];for(const r of n.values()){const o=[...r.rows].sort((l,c)=>l.scoredAt.localeCompare(c.scoredAt)),s=o.map(l=>{const c=Object.values(l.marks),d=c.filter(h=>h==="o").length,u=c.filter(h=>h==="triangle").length;return Ki(d,u,c.filter(h=>h==="o"||h==="triangle"||h==="x").length)});a.push({tableName:r.tableName,tableId:r.tableId,rates:s,times:o.map(l=>l.scoredAt),delta:s.length>=2?s[s.length-1]-s[0]:null})}return a.sort((r,o)=>(o.times[o.times.length-1]??"").localeCompare(r.times[r.times.length-1]??"")),a}function C4(e,n=8){return e.filter(a=>a.latest!=="o").slice(0,n)}function f4(e){const n=new Map;let a=0,r=0;const o=[...e].sort((l,c)=>l.answeredAt.localeCompare(c.answeredAt));for(const l of o){if(l.isCorrect==null)continue;const c=l.itemTitle?.trim();if(!c){r++;continue}a++;const d=l.itemId?.trim()||c,u=`${l.trainingType}|${d}`,h=n.get(u)??{trainingType:l.trainingType,itemId:d,title:c,tried:0,wrong:0,latestCorrect:l.isCorrect,latestAt:l.answeredAt,lastSelected:l.selected,setIds:[]};h.tried++,l.isCorrect||h.wrong++,h.title=c,h.latestCorrect=l.isCorrect,h.latestAt=l.answeredAt,h.lastSelected=l.selected,l.setId&&!h.setIds.includes(l.setId)&&h.setIds.unshift(l.setId),n.set(u,h)}const s=[...n.entries()].map(([l,c])=>({key:l,trainingType:c.trainingType,itemId:c.itemId,title:c.title,tried:c.tried,wrong:c.wrong,rate:c.tried===0?0:(c.tried-c.wrong)/c.tried,latestCorrect:c.latestCorrect,latestAt:c.latestAt,lastSelected:c.lastSelected,setIds:c.setIds}));return s.sort((l,c)=>l.rate-c.rate||c.tried-l.tried||ha(l.title,c.title)),{items:s,counted:a,skippedNoTitle:r}}function g4(e,n=8){return e.filter(a=>!a.latestCorrect).slice(0,n)}function b4(e){const n=new Map;for(const r of e){const o=n.get(r.trainingType)??[];o.push(r),n.set(r.trainingType,o)}const a=[...n.entries()].map(([r,o])=>({trainingType:r,items:o,pending:o.filter(s=>!s.latestCorrect).length}));return a.sort((r,o)=>o.pending-r.pending||r.trainingType.localeCompare(o.trainingType)),a}const Cr=["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"];function y4(e){const n=new Map;let a=0;for(const s of e){if(s.latestCorrect)continue;const l=s.setIds[0];if(!l){a++;continue}const c=`${s.trainingType}|${l}`,d=n.get(c)??{setId:l,trainingType:s.trainingType,pending:0};d.pending++,n.set(c,d)}const r=(s,l)=>l.pending-s.pending||s.trainingType.localeCompare(l.trainingType)||s.setId.localeCompare(l.setId),o=[...n.values()];return{sentence:o.filter(s=>Cr.includes(s.trainingType)).sort(r),word:o.filter(s=>!Cr.includes(s.trainingType)).sort(r),noSet:a}}function v4(e,n,a=5){const r=new Set(n);if(r.size===0)return[];const o=[];for(const s of e){const l=new Set,c=[];for(const d of s.cellLabels)r.has(d)&&!l.has(d)&&(l.add(d),c.push(d));c.length!==0&&o.push({id:s.id,name:s.name,kind:s.kind,covered:c,totalCells:s.cellLabels.length})}return o.sort((s,l)=>l.covered.length-s.covered.length||s.totalCells-l.totalCells||ha(s.name,l.name)),o.slice(0,Math.max(0,a))}function x4(e,n){const a=new Set(e.flatMap(r=>r.covered));return n.filter(r=>!a.has(r))}function _4(e,n){const a=new Map;for(const o of e)for(const s of o.cells){const l=o.labelOf(s);a.has(l)||a.set(l,s)}const r=[];for(const o of n){const s=a.get(o);s!==void 0&&r.push(s)}return r}function w4(e){if(!e||e<=0)return"-";const n=Math.floor(e/60),a=e%60;return n>0?`${n}\uBD84${a>0?` ${a}\uCD08`:""}`:`${a}\uCD08`}function k4(e,n){const a=[],r=new Set;for(const o of e){const s=n(o);r.has(s)||(r.add(s),a.push({key:s,value:o,pinned:!1}))}return a}function A4(e,n){return e.map(a=>a.key===n?{...a,pinned:!a.pinned}:a)}function N4(e,n){return e.filter(a=>a.key!==n)}function B4(e,n,a){const r=e.filter(u=>u.pinned),o=new Set(r.map(u=>u.key)),s=e.length-r.length,l=[],c=new Set(o);for(const u of n){if(l.length>=s)break;const h=a(u);c.has(h)||(c.add(h),l.push({key:h,value:u,pinned:!1}))}const d=[...l];return e.map(u=>u.pinned?u:d.shift()).filter(u=>u!==void 0)}function D4(e){return e.map(n=>n.value)}function S4(e){const{category:n={},isSelected:a=!1,onClick:r}=e||{},o=n?.key?` icon-grid-menu__button--${n.key}`:"",s=i.useId();return t.jsxs("div",{className:`icon-grid-menu__button-wrapper${o}`,children:[t.jsx("button",{className:`icon-grid-menu__button${a?" icon-grid-menu__button--selected":""}`,"data-key":n?.key,onClick:a?void 0:r,"aria-pressed":a,"aria-labelledby":s,disabled:a,children:t.jsx(Ie,{icon:n.icon,label:n.label,className:"icon-grid-menu__button-icon",imgClassName:"icon-grid-menu__button-icon-image",maskClassName:"icon-grid-menu__button-icon-mask",svgClassName:"icon-grid-menu__button-icon-svg"})}),t.jsx("span",{id:s,className:"icon-grid-menu__button-label button-1",children:n.label})]})}function j4(e){const{categories:n=[],selected:a,onSelect:r,size:o="medium"}=e||{},s=a??(n&&n[0]?.key)??null,[l,c]=i.useState(s??null);i.useEffect(()=>{a!=null&&c(a)},[a]);const d=i.useRef(r),u=i.useRef(l),h=i.useRef(a!==void 0);i.useEffect(()=>{!h.current&&u.current&&typeof d.current=="function"&&d.current(u.current)},[]);const p=i.useCallback(m=>{const g=l===m?null:m;c(g),r?.(g)},[l,r]);return t.jsx("div",{className:`icon-grid-menu icon-grid-menu--${o}`,children:(n||[]).map(m=>t.jsx(S4,{category:m,isSelected:l===m.key,onClick:()=>p(m.key)},m.key))})}function E4({subs:e=[],selected:n,onSelect:a,size:r="medium"}){const o=r==="small"?32:40;return t.jsx("div",{className:`choice-chips choice-chips--${r}`,children:t.jsx("div",{className:"choice-chips__list",children:e.map(s=>t.jsx(te,{size:o,type:"bar",label:s.label,selected:n===s.key,className:"choice-chips__button",onClick:()=>a?.(s.key)},s.key))})})}function T4({onTermsClick:e,onPrivacyClick:n,contact:a}={}){const r=a?.email??"support@ihab.co.kr",o=a?.tel??"031-380-3724",{t:s}=me.useTranslation();return t.jsx("footer",{className:"site-footer",children:t.jsxs("div",{className:"safearea",children:[t.jsxs("div",{className:"site-footer__top",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("div",{className:"site-footer__lead h3",children:s("footer.lead",`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
965
|
+
</html>`}function mr({getElements:e,paperW:n,paperH:a,fileName:r="",onPopupBlocked:o,header:s=""}){const l=i.useCallback(()=>{l4(e(),n,a,r,s)},[e,n,a,r,s]),c=i.useCallback(()=>{const u=e();if(u.length===0)return;const h=window.open("","_blank");if(!h){o?.();return}h.document.write(hr(u,n,a,!1,r,s)),h.document.close()},[e,n,a,r,o,s]),d=i.useCallback(()=>{const u=e();if(u.length===0)return;const h=hr(u,n,a,!1,r,s),p=new Blob([h],{type:"text/html;charset=utf-8"}),C=URL.createObjectURL(p),g=r&&pr(r),f=Object.assign(document.createElement("a"),{href:C,download:`${g}.html`});document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(C)},[e,n,a,r,s]);return{print:l,openNewWindow:c,downloadHtml:d}}function Xi(e){const{t:n}=pe.useTranslation(),[a,r]=i.useState("landscape"),[o,s]=i.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[l,c]=i.useState("\uD45C\uC2DC"),[d,u]=i.useState(!0),[h,p]=i.useState(!0),[C,g]=i.useState(8),[f,m]=i.useState("right"),v=e.length,b=e.some(R=>R.words.length>1),w=e.some(R=>R.words.some(j=>!!j.colloquialLabel)),_=Math.min(C,Math.max(v,1)),y=i.useMemo(()=>Mi(e,_),[e,_]),S=y.length>1,x=_,[A,M]=i.useState(!1);i.useEffect(()=>{let R=!1;if(!Nn()){M(!1);return}return Promise.all(e.flatMap(j=>j.words.map(P=>Fo(P.label,P.homonum)))).then(j=>{R||M(j.some(Boolean))}),()=>{R=!0}},[e]);const k=i.useMemo(()=>[Fi(n,{hasImage:A,hasColloquial:w}),Oi(n),...v>0?[Wi(n,{hasPairs:b,itemCount:v})]:[],...S?[qi(n)]:[],Hi(n),...x>1?[Vi(n)]:[],...b?[zi(n)]:[]],[n,A,w,v,b,S,x]),D={...Ki(n,{contentTypes:o,orientation:a,showOutline:d,cutLine:l,showDivLine:h}),...v>0?{[n(b?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${_}\uAC1C`}:{},...S?{[n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:Ui[f]}:{}},H=i.useCallback((R,j)=>{Zi(n,R,j,{setContentTypes:s,setOrientation:r,setShowOutline:u,setCutLine:c,setShowDivLine:p})||(j===n("wordTable.filter.itemsPerPagePair","\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218")||j===n("wordTable.filter.itemsPerPageWord","\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218")?g(parseInt(R)):j===n("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&m(Gi(R)))},[n]);return{settings:{orientation:a,contentTypes:o,cutLine:l,showOutline:d,showDivLine:h,count:x},filterSections:k,filterSelected:D,handleSelect:H,pages:y,isPaginated:S,pageNumberPosition:f}}function c4({items:e,words:n,title:a,subtitle:r,emptyText:o,buttons:s,renderButtons:l,renderFooter:c,footerClassName:d,printFileName:u,showSettings:h,autoPrint:p,className:C,onClose:g,scoring:f=!1,onScoreChange:m,printHeader:v,beforeClose:b}){const{t:w}=pe.useTranslation(),_=i.useMemo(()=>Array.isArray(e)?e:(Array.isArray(n)?n:[]).filter(re=>typeof re=="string"&&re.length>0).map((re,de)=>({id:`${re}-${de}`,words:[{label:re}]})),[e,n]),{settings:y,filterSections:S,filterSelected:x,handleSelect:A,pages:M,isPaginated:k,pageNumberPosition:D}=Xi(_),H=i.useMemo(()=>Ti(M.map(re=>re.length)),[M]),[R,j]=i.useState({}),P=i.useCallback((re,de)=>{j(fe=>({...fe,[pa(re)]:Di(fe[pa(re)]??null,de)}))},[]),B=i.useRef(m);i.useEffect(()=>{B.current=m}),i.useEffect(()=>{B.current?.(cr(R))},[R]);const O=i.useMemo(()=>cr(R),[R]),Z=i.useRef(null),{toastMessage:Y,toastKey:J,showWarning:E,clearToast:$}=Rs("warning"),L=i.useRef([]),z=i.useCallback(()=>k?L.current.filter(re=>re!==null):Z.current?[Z.current]:[],[k]),{print:V,openNewWindow:X}=mr({getElements:z,paperW:Tn[y.orientation].width,paperH:Tn[y.orientation].height,fileName:u??"",header:v??"",onPopupBlocked:()=>E(w("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}),I=i.useMemo(()=>c?void 0:l?l({print:V,openNewWindow:X}):u?[{label:w("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),variant:"default",onClick:()=>X()},{label:w("wordTable.print","\uC778\uC1C4\uD558\uAE30"),variant:"default",onClick:()=>V()},...s??[]]:s,[c,l,u,s,w,V,X]),U=i.useMemo(()=>c?c({print:V,openNewWindow:X}):void 0,[c,V,X]),K=i.useRef(!1);return i.useEffect(()=>{if(!p||K.current)return;K.current=!0;const re=window.setTimeout(()=>V(),100);return()=>window.clearTimeout(re)},[p,V]),t.jsxs(un,{title:a??w("keyWords.title","\uC8FC\uC694 \uB2E8\uC5B4"),subtitle:r,size:"large",className:be("word-table-popup",C),buttons:I,footer:U,footerClassName:d,beforeClose:b,onClose:g,children:[_.length>0?t.jsxs("div",{className:"word-table-popup__body",children:[h&&t.jsx(dr,{sections:S,selected:x,onSelect:A}),k?t.jsx("div",{className:"word-table-popup__pages",children:M.map((re,de)=>t.jsx(Mn,{items:re,orientation:y.orientation,contentTypes:y.contentTypes,cutLine:y.cutLine,showOutline:y.showOutline,showDivLine:y.showDivLine,count:y.count,contentRef:fe=>{L.current[de]=fe},pageNumber:{current:de+1,total:M.length},pageNumberPosition:D,scoring:f,scoreIndexOffset:H[de],marks:O,onMarkClick:P},de))}):t.jsx("div",{className:"word-table-popup__table",children:t.jsx(Mn,{items:_,orientation:y.orientation,contentTypes:y.contentTypes,cutLine:y.cutLine,showOutline:y.showOutline,showDivLine:y.showDivLine,count:y.count,contentRef:Z,fitHeight:!0,scoring:f,marks:O,onMarkClick:P})})]}):t.jsx("p",{className:"word-table-popup__empty body-3",children:o??w("keyWords.empty","\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),t.jsx(Dn,{message:Y,position:"top",onClose:$},J)]})}const u4=new Set(["x","triangle"]);function d4(e,n){const a=[];for(let r=0;r<e.length;r++){const o=n[String(r)];o&&u4.has(o)&&a.push(e[r])}return a}function p4(e,n){const[,a,r]=Oa(n).split("-"),o=`${a}.${r}`,s=/\s*(?:(\d+)차\s*)?복습\s*\d{2}\.\d{2}$/;let l=e.trim(),c=1;for(;;){const u=s.exec(l);if(!u)break;c=Math.max(c,(u[1]?Number(u[1]):1)+1),l=l.slice(0,u.index).trim()}const d=c>=2?`${c}\uCC28 `:"";return`${l||"\uB2E8\uC5B4\uD45C"} ${d}\uBCF5\uC2B5 ${o}`}function h4(e,n){const a={};for(const[r,o]of Object.entries(n)){if(o!=="o"&&o!=="triangle"&&o!=="x")continue;const s=Number(r),l=e[s];l&&(a[r]=l)}return a}function m4(e){return e.map(n=>n.label).join(" / ")}function C4(e,n,a){const r=Go(a);return[e.trim(),r,n.trim()].filter(Boolean).join(" \xB7 ")}const f4=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function ha(e,n){return f4().compare(e,n)}function g4(e,n){return typeof e=="number"&&typeof n=="number"?e-n:ha(e==null?"":String(e),n==null?"":String(n))}function Ji(e,n,a){return a===0?0:(e+n*.5)/a}function b4(e){const n=new Map,a=[...e].sort((o,s)=>o.scoredAt.localeCompare(s.scoredAt));for(const o of a)for(const[s,l]of Object.entries(o.marks)){const c=o.labels?.[s];if(!c)continue;const d=n.get(c)??{o:0,triangle:0,x:0,latest:l,latestAt:o.scoredAt};if(l==="o")d.o++;else if(l==="triangle")d.triangle++;else if(l==="x")d.x++;else continue;d.latest=l,d.latestAt=o.scoredAt,n.set(c,d)}const r=[];for(const[o,s]of n){const l=s.o+s.triangle+s.x;r.push({label:o,tried:l,o:s.o,triangle:s.triangle,x:s.x,rate:Ji(s.o,s.triangle,l),latest:s.latest,latestAt:s.latestAt})}return r.sort((o,s)=>o.rate-s.rate||s.tried-o.tried||ha(o.label,s.label)),r}function y4(e){const n=new Map;for(const r of e){const o=r.tableId??`name:${r.tableName}`,s=n.get(o)??{tableName:r.tableName,tableId:r.tableId,rows:[]};s.rows.push(r),n.set(o,s)}const a=[];for(const r of n.values()){const o=[...r.rows].sort((l,c)=>l.scoredAt.localeCompare(c.scoredAt)),s=o.map(l=>{const c=Object.values(l.marks),d=c.filter(h=>h==="o").length,u=c.filter(h=>h==="triangle").length;return Ji(d,u,c.filter(h=>h==="o"||h==="triangle"||h==="x").length)});a.push({tableName:r.tableName,tableId:r.tableId,rates:s,times:o.map(l=>l.scoredAt),delta:s.length>=2?s[s.length-1]-s[0]:null})}return a.sort((r,o)=>(o.times[o.times.length-1]??"").localeCompare(r.times[r.times.length-1]??"")),a}function v4(e,n=8){return e.filter(a=>a.latest!=="o").slice(0,n)}function x4(e){const n=new Map;let a=0,r=0;const o=[...e].sort((l,c)=>l.answeredAt.localeCompare(c.answeredAt));for(const l of o){if(l.isCorrect==null)continue;const c=l.itemTitle?.trim();if(!c){r++;continue}a++;const d=l.itemId?.trim()||c,u=`${l.trainingType}|${d}`,h=n.get(u)??{trainingType:l.trainingType,itemId:d,title:c,tried:0,wrong:0,latestCorrect:l.isCorrect,latestAt:l.answeredAt,lastSelected:l.selected,setIds:[]};h.tried++,l.isCorrect||h.wrong++,h.title=c,h.latestCorrect=l.isCorrect,h.latestAt=l.answeredAt,h.lastSelected=l.selected,l.setId&&!h.setIds.includes(l.setId)&&h.setIds.unshift(l.setId),n.set(u,h)}const s=[...n.entries()].map(([l,c])=>({key:l,trainingType:c.trainingType,itemId:c.itemId,title:c.title,tried:c.tried,wrong:c.wrong,rate:c.tried===0?0:(c.tried-c.wrong)/c.tried,latestCorrect:c.latestCorrect,latestAt:c.latestAt,lastSelected:c.lastSelected,setIds:c.setIds}));return s.sort((l,c)=>l.rate-c.rate||c.tried-l.tried||ha(l.title,c.title)),{items:s,counted:a,skippedNoTitle:r}}function _4(e,n=8){return e.filter(a=>!a.latestCorrect).slice(0,n)}function w4(e){const n=new Map;for(const r of e){const o=n.get(r.trainingType)??[];o.push(r),n.set(r.trainingType,o)}const a=[...n.entries()].map(([r,o])=>({trainingType:r,items:o,pending:o.filter(s=>!s.latestCorrect).length}));return a.sort((r,o)=>o.pending-r.pending||r.trainingType.localeCompare(o.trainingType)),a}const Cr=["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"];function k4(e){const n=new Map;let a=0;for(const s of e){if(s.latestCorrect)continue;const l=s.setIds[0];if(!l){a++;continue}const c=`${s.trainingType}|${l}`,d=n.get(c)??{setId:l,trainingType:s.trainingType,pending:0};d.pending++,n.set(c,d)}const r=(s,l)=>l.pending-s.pending||s.trainingType.localeCompare(l.trainingType)||s.setId.localeCompare(l.setId),o=[...n.values()];return{sentence:o.filter(s=>Cr.includes(s.trainingType)).sort(r),word:o.filter(s=>!Cr.includes(s.trainingType)).sort(r),noSet:a}}function A4(e,n,a=5){const r=new Set(n);if(r.size===0)return[];const o=[];for(const s of e){const l=new Set,c=[];for(const d of s.cellLabels)r.has(d)&&!l.has(d)&&(l.add(d),c.push(d));c.length!==0&&o.push({id:s.id,name:s.name,kind:s.kind,covered:c,totalCells:s.cellLabels.length})}return o.sort((s,l)=>l.covered.length-s.covered.length||s.totalCells-l.totalCells||ha(s.name,l.name)),o.slice(0,Math.max(0,a))}function N4(e,n){const a=new Set(e.flatMap(r=>r.covered));return n.filter(r=>!a.has(r))}function B4(e,n){const a=new Map;for(const o of e)for(const s of o.cells){const l=o.labelOf(s);a.has(l)||a.set(l,s)}const r=[];for(const o of n){const s=a.get(o);s!==void 0&&r.push(s)}return r}function S4(e){if(!e||e<=0)return"-";const n=Math.floor(e/60),a=e%60;return n>0?`${n}\uBD84${a>0?` ${a}\uCD08`:""}`:`${a}\uCD08`}function D4(e,n){const a=[],r=new Set;for(const o of e){const s=n(o);r.has(s)||(r.add(s),a.push({key:s,value:o,pinned:!1}))}return a}function j4(e,n){return e.map(a=>a.key===n?{...a,pinned:!a.pinned}:a)}function E4(e,n){return e.filter(a=>a.key!==n)}function T4(e,n,a){const r=e.filter(u=>u.pinned),o=new Set(r.map(u=>u.key)),s=e.length-r.length,l=[],c=new Set(o);for(const u of n){if(l.length>=s)break;const h=a(u);c.has(h)||(c.add(h),l.push({key:h,value:u,pinned:!1}))}const d=[...l];return e.map(u=>u.pinned?u:d.shift()).filter(u=>u!==void 0)}function M4(e){return e.map(n=>n.value)}function L4(e){const{category:n={},isSelected:a=!1,onClick:r}=e||{},o=n?.key?` icon-grid-menu__button--${n.key}`:"",s=i.useId();return t.jsxs("div",{className:`icon-grid-menu__button-wrapper${o}`,children:[t.jsx("button",{className:`icon-grid-menu__button${a?" icon-grid-menu__button--selected":""}`,"data-key":n?.key,onClick:a?void 0:r,"aria-pressed":a,"aria-labelledby":s,disabled:a,children:t.jsx(Pe,{icon:n.icon,label:n.label,className:"icon-grid-menu__button-icon",imgClassName:"icon-grid-menu__button-icon-image",maskClassName:"icon-grid-menu__button-icon-mask",svgClassName:"icon-grid-menu__button-icon-svg"})}),t.jsx("span",{id:s,className:"icon-grid-menu__button-label button-1",children:n.label})]})}function $4(e){const{categories:n=[],selected:a,onSelect:r,size:o="medium"}=e||{},s=a??(n&&n[0]?.key)??null,[l,c]=i.useState(s??null);i.useEffect(()=>{a!=null&&c(a)},[a]);const d=i.useRef(r),u=i.useRef(l),h=i.useRef(a!==void 0);i.useEffect(()=>{!h.current&&u.current&&typeof d.current=="function"&&d.current(u.current)},[]);const p=i.useCallback(C=>{const g=l===C?null:C;c(g),r?.(g)},[l,r]);return t.jsx("div",{className:`icon-grid-menu icon-grid-menu--${o}`,children:(n||[]).map(C=>t.jsx(L4,{category:C,isSelected:l===C.key,onClick:()=>p(C.key)},C.key))})}function R4({subs:e=[],selected:n,onSelect:a,size:r="medium"}){const o=r==="small"?32:40;return t.jsx("div",{className:`choice-chips choice-chips--${r}`,children:t.jsx("div",{className:"choice-chips__list",children:e.map(s=>t.jsx(te,{size:o,type:"bar",label:s.label,selected:n===s.key,className:"choice-chips__button",onClick:()=>a?.(s.key)},s.key))})})}function P4({onTermsClick:e,onPrivacyClick:n,contact:a}={}){const r=a?.email??"support@ihab.co.kr",o=a?.tel??"031-380-3724",{t:s}=pe.useTranslation();return t.jsx("footer",{className:"site-footer",children:t.jsxs("div",{className:"safearea",children:[t.jsxs("div",{className:"site-footer__top",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("div",{className:"site-footer__lead h3",children:s("footer.lead",`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
966
966
|
\uC2E0\uB8B0\uB97C \uC313\uACE0
|
|
967
967
|
\uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`).split(`
|
|
968
|
-
`).map((l,c,d)=>t.jsxs(i.Fragment,{children:[l,c<d.length-1&&t.jsx("br",{})]},c))})}),t.jsxs("div",{className:"site-footer__links",children:[t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.site.title","\uC0AC\uC774\uD2B8")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:"IHAB"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://speechear.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.malgwi","\uB9D0\uADC0")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/sound-localization",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.soundDirection","\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/vr-sound-localization",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.vrSoundDirection","VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/hearing-test-pro",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.hearingTest","\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C")})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.sns.title","SNS")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://blog.naver.com/ihab_official",target:"_blank",rel:"noopener noreferrer",children:s("footer.sns.naverBlog","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.instagram.com/ihab.official.yt/",target:"_blank",rel:"noopener noreferrer",children:"Instagram"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.youtube.com/@%EC%95%84%EC%9D%B4%ED%95%B4%EB%B8%8C-%EA%B3%B5%EC%8B%9D%EC%B1%84%EB%84%90",target:"_blank",rel:"noopener noreferrer",children:"Youtube"})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.policy.title","\uC815\uCC45")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{e&&(l.preventDefault(),e())},children:s("footer.policy.terms","\uC774\uC6A9\uC57D\uAD00")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{n&&(l.preventDefault(),n())},children:s("footer.policy.privacy","\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68")})})]})]})]})]}),t.jsx("hr",{className:"site-footer__rule"}),t.jsxs("div",{className:"site-footer__bottom",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("img",{src:Ja,alt:"IHAB",className:"site-footer__logo"})}),t.jsxs("div",{className:"site-footer__meta",children:[t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.ceo","\uB300\uD45C")}),t.jsx("span",{className:"footer-meta caption-1",children:s("footer.ceoName","\uD55C\uC9C0\uD61C")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.address","\uC8FC\uC18C")}),t.jsx("span",{className:"footer-meta caption-1",children:s("footer.addressValue","\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.support","\uACE0\uAC1D\uC13C\uD130")}),t.jsxs("span",{className:"footer-meta caption-1",children:[r," \xA0 ",o]})]})]})]}),t.jsx("div",{className:"site-footer__copyright footer-copyright caption-1",children:"\xA9 IHAB, Inc. All rights reserved."})]})})}function M4({logo:e,logoAlt:n="",logoHref:a,links:r=[],actions:o,className:s,containerClassName:l,renderLink:c,menuLabel:d={open:"\uBA54\uB274 \uC5F4\uAE30",close:"\uBA54\uB274 \uB2EB\uAE30"}}){const[u,h]=i.useState(!1),p=l?`${l} landing-header__inner`:"landing-header__inner",m=(g,f)=>c?c(g,{onClick:f}):t.jsx("a",{href:g.href,onClick:f,"aria-current":g.current?"page":void 0,children:g.label});return t.jsxs("header",{className:s?`landing-header ${s}`:"landing-header",children:[t.jsxs("div",{className:p,children:[e!=null&&(()=>{const g=typeof e=="string"?t.jsx("img",{src:e,alt:n,className:"landing-header__logo"}):e;return a?t.jsx("a",{href:a,className:"landing-header__brand",children:g}):t.jsx("div",{className:"landing-header__brand",children:g})})(),r.length>0&&t.jsx("nav",{className:"landing-header__links",children:r.map(g=>t.jsx("span",{children:m(g)},g.href))}),t.jsxs("div",{className:"landing-header__actions",children:[o,r.length>0&&t.jsx("button",{type:"button",onClick:()=>h(g=>!g),"aria-expanded":u,"aria-controls":"landing-header-drawer","aria-label":u?d.close:d.open,className:u?"landing-header__toggle landing-header__toggle--open":"landing-header__toggle",children:t.jsxs("span",{className:"landing-header__burger",children:[t.jsx("span",{}),t.jsx("span",{}),t.jsx("span",{})]})})]})]}),r.length>0&&t.jsx("nav",{id:"landing-header-drawer",hidden:!u,className:"landing-header__drawer",children:t.jsx("div",{className:l??void 0,children:r.map(g=>t.jsx("span",{className:"landing-header__drawer-item",children:m(g,()=>h(!1))},g.href))})})]})}function L4({children:e,action:n,onClick:a,className:r}){const o=a?"bottom-sticky__inner bottom-sticky__inner--clickable":"bottom-sticky__inner";return t.jsx("div",{className:r?`bottom-sticky ${r}`:"bottom-sticky",children:t.jsxs("div",{className:o,onClick:a,...yi(a),children:[t.jsx("div",{className:"bottom-sticky__content",children:e}),n]})})}const fr=9,$4=e=>Math.round(Math.min(fr,Math.max(0,e))/fr*100),R4=e=>e/100*fr,Zi={enabled:!0,type:"defaultNoise",level:4.5,speed:1,mainVolume:1,mainSpeed:1},Yi=i.createContext(null);function gr(){return i.useContext(Yi)}const br=e=>`${Xh()}/${e}`,Xi=e=>Array.from({length:10},(n,a)=>br(`${e}-${String(a+1).padStart(2,"0")}.mp3`)),ma={get defaultNoise(){return br("noise1.mp3")},get street(){return Xi("noise2")},get restaurant(){return Xi("noise3")},get buzz(){return br("noise4.mp3")}};function P4(e){const n=Math.floor(Math.random()*10);switch(e){case"defaultNoise":return ma.defaultNoise;case"street":return ma.street[n];case"restaurant":return ma.restaurant[n];case"buzz":return ma.buzz;default:return null}}function I4({noisePlayer:e,audioRef:n,playbackStateRef:a}){const r=i.useRef(e?.registerAnalyser);r.current=e?.registerAnalyser;const o=i.useRef(null),[s,l]=i.useState(null),c=i.useRef(null),d=i.useRef(null),u=i.useRef(null),h=i.useRef(0),p=i.useRef(null),m=i.useCallback(()=>{u.current!==null&&(cancelAnimationFrame(u.current),u.current=null),p.current!==null&&(clearTimeout(p.current),p.current=null)},[]),g=i.useCallback((b,y=250)=>{const w=o.current;if(!w||!w.src)return;h.current+=1,m();try{La(),r.current?.("noise",$a(w))}catch{}const _=w.paused?0:w.volume;w.paused&&(w.volume=0),w.play().catch(()=>{});const v=performance.now(),D=()=>{const x=Math.min(1,(performance.now()-v)/y);try{w.volume=Math.max(0,Math.min(1,_+(b-_)*x))}catch{}x<1?u.current=requestAnimationFrame(D):u.current=null};u.current=requestAnimationFrame(D)},[m]),f=i.useCallback((b=250,y)=>{const w=o.current;if(!w||w.paused){y?.();return}const _=++h.current;m();const v=performance.now(),D=w.volume,x=()=>{const A=Math.min(1,(performance.now()-v)/b);try{w.volume=Math.max(0,D*(1-A))}catch{}if(A<1)u.current=requestAnimationFrame(x);else{u.current=null,p.current!==null&&(clearTimeout(p.current),p.current=null);try{w.pause()}catch{}y?.()}};u.current=requestAnimationFrame(x),p.current=setTimeout(()=>{if(p.current=null,h.current===_){u.current!==null&&(cancelAnimationFrame(u.current),u.current=null);try{w.paused||(w.volume=0,w.pause(),y?.())}catch{}}},b+150)},[m]);i.useEffect(()=>{const b=document.createElement("audio");return b.loop=!0,b.crossOrigin="anonymous",o.current=b,()=>{m();try{b.pause(),b.src=""}catch{}o.current=null}},[m]);const C=!!e?.settings.enabled&&(e?.settings.level??0)>0;return i.useEffect(()=>{if(!C)return;let b=0;const y=setInterval(()=>{const w=o.current;if(!w||w.paused){b=0;return}const _=n.current;if(_&&!_.paused&&!_.ended||a.current==="playing"){b=0;return}b+=1,b>=2&&(b=0,f())},400);return()=>clearInterval(y)},[f,C,n,a]),i.useEffect(()=>{const b=()=>{if(!document.hidden)return;const y=o.current;if(y&&!y.paused){m();try{y.pause()}catch{}}};return document.addEventListener("visibilitychange",b),()=>document.removeEventListener("visibilitychange",b)},[m]),i.useEffect(()=>{d.current=e?{enabled:e.settings.enabled,level:e.settings.level,type:e.settings.type}:null},[e,e?.settings.enabled,e?.settings.level,e?.settings.type]),i.useEffect(()=>{const b=e?.settings,y=o.current;if(!y)return;if(!b||!b.enabled||b.level===0){f();return}const w=Math.min(1,b.level/9);if(c.current!==b.type){const _=P4(b.type);_&&(c.current=b.type,l(_),f(150,()=>{y.src=_,y.load();const v=n.current;v&&!v.paused&&y.addEventListener("canplay",function D(){y.removeEventListener("canplay",D);const x=n.current;x&&!x.paused&&!x.ended&&g(w)})}))}else{const _=n.current,v=!!_&&!_.paused&&!_.ended;if(v&&y.paused&&y.src)g(w);else if(!y.paused)if(!v)f();else{m();const D=y.volume,x=performance.now(),A=()=>{const M=Math.min(1,(performance.now()-x)/150);try{y.volume=D+(w-D)*M}catch{}M<1?u.current=requestAnimationFrame(A):u.current=null};u.current=requestAnimationFrame(A)}}},[e?.settings,e?.settings.enabled,e?.settings.level,e?.settings.type,m,g,f,n]),i.useEffect(()=>{const b=o.current;if(b)try{b.playbackRate=Math.min(1.25,Math.max(.75,e?.settings.speed??1))}catch{}},[e?.settings.speed]),{noiseAudioRef:o,activeNoiseUrl:s,noiseSettingsRef:d,cancelNoiseFade:m,fadeInNoise:g,fadeOutNoise:f}}function F4({ttsText:e,playbackRate:n,mainVolume:a,fillRef:r,waveProgressRef:o,setProgress:s,setPlaybackState:l,setStateLocal:c,fadeInNoise:d,fadeOutNoise:u,noiseSettingsRef:h,onDoneRef:p,handleEndRef:m}){const g=i.useRef(null),f=i.useRef(0),C=i.useRef(null);i.useEffect(()=>()=>{try{if(C.current&&(cancelAnimationFrame(C.current),C.current=null),window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}}catch{}},[]);const b=(_,v=1)=>{try{const D=(_||"").trim().split(/\s+/).filter(Boolean).length||Math.max(1,(_||"").length);return Math.max(700,Math.round(D*300/Math.max(.25,v)))}catch{return 1200}},y=i.useCallback(_=>{if(typeof window>"u"||!window.speechSynthesis){try{typeof p.current=="function"&&p.current(!0)}catch{}return}const v=window.speechSynthesis;try{try{v.cancel()}catch{}const D=_??e,x=(Array.isArray(D)?D[0]??"":D)||"",A=new SpeechSynthesisUtterance(x);try{A.rate=Math.max(.3,Math.min(3,n))}catch{}try{A.volume=Math.max(0,Math.min(1,a))}catch{}f.current=b(x,A.rate||1),g.current=performance.now(),s(0),l("playing"),c("playMode");const M=h.current;M?.enabled&&(M?.level??0)>0&&d(M.level/9);const k=()=>{try{const S=g.current||performance.now(),H=performance.now()-S,R=f.current||1200,j=Math.min(1,H/R);s(j);try{r.current&&(r.current.style.left=`${j*100}%`),o.current&&o.current.style.setProperty("--progress",String(j))}catch{}j<1&&(C.current=requestAnimationFrame(k))}catch{}};A.onend=()=>{try{C.current&&(cancelAnimationFrame(C.current),C.current=null),s(1),l("stopped");try{m.current?.()}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}}catch{}},A.onstart=()=>{try{C.current&&(cancelAnimationFrame(C.current),C.current=null),C.current=requestAnimationFrame(k)}catch{}};try{v.speak(A)}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}},[e,n,a,d,r,o,s,l,c,h,p,m]),w=i.useCallback(()=>{try{if(window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}C.current&&(cancelAnimationFrame(C.current),C.current=null),u(),g.current=null}catch{}l("stopped"),c("active"),s(0)},[u,l,c,s]);return{startTTS:y,stopTTS:w}}async function O4(e,n,a){try{const r=window.AudioContext||window.webkitAudioContext,o=new r,s=await o.decodeAudioData(e.slice(0)),l=s.numberOfChannels>0?s.getChannelData(0):null;if(!l)return null;const c=a&&a>0?Math.min(l.length,Math.floor(a*s.sampleRate)):l.length,d=Math.max(n,c),u=Math.floor(d/n)||1,h=new Array(n).fill(0).map((p,m)=>{const g=m*u,f=Math.min(g+u,d);let C=0;for(let b=g;b<f;b++){const y=Math.abs(l[b]);y>C&&(C=y)}return C});try{o.close&&o.close()}catch{}return h}catch{return null}}async function Ji(e,n,a){try{const r=await(await fetch(e)).arrayBuffer();return await O4(r,n,a)}catch(r){try{const o=Fo(r)}catch{}return null}}const Qi=4;function H4(e){const{src:n,segments:a,progress:r=0,waveProgressRef:o,noiseSrc:s,noiseLevel:l=0,noiseSpeed:c=1,totalDuration:d=0,mainVolume:u=1,onReadyChange:h,showSoundWaveForm:p=!0}=e,m=i.useRef(null),g=i.useRef(null),[f,C]=i.useState(null),[b,y]=i.useState(!1),[w,_]=i.useState(null),[v,D]=i.useState(2),[x,A]=i.useState(0),[M,k]=i.useState(null),[S,H]=i.useState(!1),R=3,j=3,P=1,B=300,O=i.useRef(0),Y=i.useCallback(async(oe,pe)=>{const fe=++O.current,ge=()=>O.current===fe;try{if(y(!1),!oe){ge()&&C(null);return}let he=pe;if(!he)try{for(let Fe=0;Fe<4&&!(m.current||g.current);Fe++)await new Promise(He=>requestAnimationFrame(He));await new Promise(Fe=>requestAnimationFrame(Fe));const q=m.current,ee=g&&g.current?g.current:q?q.closest(".audio-player__wave"):null,Ce=ee?ee.getBoundingClientRect():q?q.getBoundingClientRect():null,ie=Ce?Math.max(100,Ce.width):320,ue=Ce?Ce.height:0;ue>0&&A(ue),he=Math.max(P,Math.min(B,Math.floor((ie+j)/(R+j))));const se=he*R,ae=Math.max(0,he-1),je=ae>0?(ie-se)/ae:j;D(Math.max(0,je))}catch{he=120}const T=await Ji(oe,he);if(!ge())return;if(!T){C(null),y(!1);return}C(T),_(he),y(!0)}catch{if(!ge())return;C(null),y(!1)}},[y,C,A,D,_]);i.useEffect(()=>{const oe=a&&a[0]&&a[0].src||n||a&&a.length===1&&a[0]&&a[0].src;Y(typeof oe=="string"?oe:void 0).catch(()=>{}),H(!1)},[n,a,Y]),i.useEffect(()=>{let oe=!1;if(!s||!w){k(null);return}const pe=d>0?d*(c||1):void 0;return Ji(s,w,pe).then(fe=>{oe||k(fe)}).catch(()=>{oe||k(null)}),()=>{oe=!0}},[s,w,d,c]);const X=Math.max(0,Math.min(1,u)),Q=i.useMemo(()=>f&&f.length&&Math.max(...f)||1,[f]),E=w||40,$=i.useMemo(()=>Array.from({length:E}).map((oe,pe)=>{const fe=f&&f[pe]!=null?f[pe]:null,ge=fe==null?null:Math.min(1,fe/Q*X),he=ge!=null&&x>0&&ge*x<=Qi,T=ge==null?.15:he?0:ge,q=E>1?pe/(E-1):0;return t.jsx("div",{className:he?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":T,"--i":pe,"--mix":q}},pe)}),[E,f,Q,X,x]),L={"--progress":String(Math.max(0,Math.min(1,r)))},V={"--bar-gap":`${v}px`},z=Math.max(0,Math.min(9,l))/9,J=b&&(s?!!M:!0);i.useEffect(()=>{J&&H(!0)},[J]);const I=S?b:J;i.useEffect(()=>{h?.(I)},[I,h]);const U=w||40,K=i.useMemo(()=>Array.from({length:U}).map((oe,pe)=>{const fe=M&&M[pe]!=null?M[pe]:null,ge=fe==null?0:Math.min(1,fe/Q*z),he=x>0&&ge*x<=Qi,T=he?0:ge,q=U>1?pe/(U-1):0;return t.jsx("div",{className:he?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":T,"--i":pe,"--mix":q}},pe)}),[U,M,Q,z,x]);return t.jsxs("div",{className:"audio-player__wave",ref:g,style:V,children:[s&&t.jsx("div",{className:`audio-player__wave-noise ${J?"is-ready":""}`,"aria-hidden":"true",children:K}),p&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-unplayed ${I?"is-ready":""}`,ref:m,children:$}),t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-played ${I?"is-ready":""}`,ref:o,style:L,children:$})]})]})}const z4={idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"};function yr(e,n){return new Promise((a,r)=>{const o=document.createElement("audio");let s=!1;const l=()=>{try{o.src=""}catch{}},c=()=>{if(s)return;s=!0;const u=isFinite(o.duration)&&o.duration||0;l(),a(u)},d=u=>{s||(s=!0,l(),n.rejectOnError?r(new Error(u)):a(0))};o.addEventListener("loadedmetadata",c),o.addEventListener("error",()=>d("audio load failed")),setTimeout(()=>d("audio load timeout"),n.timeoutMs),o.src=e})}const V4=2e3;function el(e,n=V4){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.addEventListener("canplay",o,{once:!0}),e.addEventListener("error",o,{once:!0}),setTimeout(o,n)})}function W4({showSoundWaveForm:e,showNoiseWaveForm:n,timeoutMs:a=2500}){const r=i.useRef(!1),o=i.useRef([]),s=i.useCallback(d=>{if(r.current=d,!d||!o.current.length)return;const u=o.current;o.current=[];for(const h of u)h()},[]),l=i.useCallback(()=>{r.current=!1},[]),c=i.useCallback(()=>!e&&!n||r.current?Promise.resolve():new Promise(d=>{const u=setTimeout(d,a);o.current.push(()=>{clearTimeout(u),d()})}),[e,n,a]);return i.useEffect(()=>()=>{const d=o.current;o.current=[];for(const u of d)u()},[]),{onReadyChange:s,waitForReady:c,markNotReady:l}}function q4(){const e=i.useRef([]),n=i.useCallback(o=>(e.current.push(o),o),[]),a=i.useCallback(o=>{const s=new Set([...o].filter(Boolean));e.current=e.current.filter(l=>{if(s.has(l))return!0;try{URL.revokeObjectURL(l)}catch{}return!1})},[]),r=i.useCallback(()=>{a([])},[a]);return i.useEffect(()=>()=>{for(const o of e.current)try{URL.revokeObjectURL(o)}catch{}e.current=[]},[]),{track:n,keepOnly:a,revokeAll:r}}function U4({offsetY:e=8}={}){const n=i.useRef(null),[a,r]=i.useState(null),o=i.useCallback(()=>r(null),[]),s=i.useCallback(()=>{try{const l=n.current?.getBoundingClientRect();if(!l)return;r({left:l.left,right:l.right,width:l.width,height:l.height,x:l.x,top:l.top+e,bottom:l.bottom+e,y:l.y+e,toJSON:l.toJSON.bind(l)})}catch{}},[e]);return i.useEffect(()=>{if(a)return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[a,o]),{ref:n,rect:a,show:s,hide:o}}function G4({currentTime:e,sources:n,index:a,audioDuration:r}){const o=a||0,s=Array.isArray(n)&&n.length>0?n[o]:void 0,l=s?s.duration||r||0:r||0;if(!(l>0))return 0;const c=Number.isFinite(e)?e:0;return Math.max(0,Math.min(1,c/l))}function K4(e,n){if(!Array.isArray(e))return null;const a=n||0;return a<e.length-1?a+1:null}function Z4({ended:e,completedByEnd:n}){return!!e||!!n}function Y4(e){return e.map((n,a)=>({src:n.src,label:String(a+1),color:void 0,duration:n.duration||0}))}function X4(e){return e.reduce((n,a)=>n+(a.duration||0),0)}function J4(e,n,a){const r=Array.isArray(e)?e:e?[e]:[],o=[];for(const s of r)if(s){if(typeof s=="object"&&s!==null&&"src"in s&&s.src){const l=s;o.push({code:l.code??null,src:l.src});continue}if(typeof s=="string"&&(s.startsWith("http")||s.includes("/"))){o.push({code:null,src:s});continue}if(typeof s=="string"||typeof s=="number"){const l=String(s),c=a(l,n);c&&o.push({code:l,resolvedPath:c})}}return o}function Q4({audioRef:e,fillRef:n,waveProgressRef:a,sourcesRef:r,currentIndexRef:o}){const s=i.useRef(null),l=i.useCallback(()=>{s.current!==null&&(cancelAnimationFrame(s.current),s.current=null)},[]),c=i.useCallback(()=>{if(s.current!==null)return;const u=()=>{try{const h=e.current,p=G4({currentTime:h&&typeof h.currentTime=="number"?h.currentTime:0,sources:r.current,index:o.current,audioDuration:h&&h.duration?h.duration:0});try{n.current&&(n.current.style.left=`${p*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(p))}catch{}}catch{}s.current=requestAnimationFrame(u)};s.current=requestAnimationFrame(u)},[e,n,a,r,o]),d=i.useCallback(u=>{l();try{n.current&&(n.current.style.left=`${u*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(u))}catch{}},[l,n,a]);return i.useEffect(()=>l,[l]),{start:c,stop:l,settleTo:d}}function vr({btnLabel:e,soundSrc:n,bucketPath:a,onDone:r,disabled:o=!1,ttsText:s=null,className:l,showSoundWaveForm:c=!0,showNoiseWaveForm:d=!0}){const{t:u}=me.useTranslation(),h=e,p=gr(),m=i.useRef(p?.registerAnalyser);i.useEffect(()=>{m.current=p?.registerAnalyser});const g=i.useRef(null),f=i.useRef(null),C=i.useRef(null),b=q4(),y=i.useRef(null),w=i.useRef(!1),_=i.useRef(0),v=i.useRef(null),{ref:D,rect:x,show:A,hide:M}=U4();i.useEffect(()=>()=>{m.current?.("main",null),m.current?.("noise",null)},[]);const[k,S]=i.useState(!1),[H,R]=i.useState("idle"),[j,P]=i.useState("stopped"),B=i.useRef("stopped");i.useEffect(()=>{B.current=j},[j]);const[O,Y]=i.useState(0),[X,Q]=i.useState("active"),[E,$]=i.useState(null),[L,V]=i.useState(null),[z,J]=i.useState(0),[I,U]=i.useState(!1),[K,oe]=i.useState(0),pe=p?.playbackRate??1,fe=p?.mainVolume??1,[ge,he]=i.useState("idle"),[T,q]=i.useState(""),[ee]=i.useState("top"),Ce=i.useRef(null),ie=i.useRef(0),ue=i.useRef(null),{start:se,stop:ae,settleTo:je}=Q4({audioRef:g,fillRef:f,waveProgressRef:ue,sourcesRef:Ce,currentIndexRef:ie}),{onReadyChange:Fe,waitForReady:He,markNotReady:$e}=W4({showSoundWaveForm:c,showNoiseWaveForm:d}),Ee=i.useRef(null),De=i.useRef(o),ke=i.useRef(r),Pe=i.useRef(null),Ye=i.useRef(!1),[xe,Oe]=i.useState(!1),Se=i.useCallback(F=>{Ye.current=F,Oe(F)},[]),We=i.useRef(null),{activeNoiseUrl:Xe,noiseSettingsRef:qe,fadeInNoise:Re,fadeOutNoise:ot}=I4({noisePlayer:p,audioRef:g,playbackStateRef:B}),{startTTS:pt,stopTTS:Ue}=F4({ttsText:s,playbackRate:pe,mainVolume:fe,fillRef:f,waveProgressRef:ue,setProgress:Y,setPlaybackState:P,setStateLocal:Q,fadeInNoise:Re,fadeOutNoise:ot,noiseSettingsRef:qe,onDoneRef:ke,handleEndRef:We}),at=Array.isArray(n)?n.filter(Boolean):n?[n]:[],Be=(!at||at.length===0)&&!!s,Me=Array.isArray(E)&&E.length>0?E:Array.isArray(L)&&L.length>0?L:null,et=Math.max(Array.isArray(Me)?Me.length:0,at.length),tt=i.useCallback(async(F,Z=3,le=50)=>{for(let be=0;be<Z;be++)try{return await F.play(),!0}catch(ve){if((ve instanceof Error||typeof ve=="object"&&ve&&"name"in ve?ve.name:void 0)==="AbortError"){await new Promise(Ne=>setTimeout(Ne,le));continue}try{q(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1}try{q(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1},[u]),Ze=i.useCallback(()=>{const F=g.current;if(!F)return;const Z=()=>{P("playing"),Q("playMode"),U(!0),se();try{La(),m.current?.("main",$a(F))}catch{}const ve=qe.current;ve?.enabled&&(ve?.level??0)>0&&Re(ve.level/9)},le=()=>{Z4({ended:!!F?.ended,completedByEnd:Ye.current})||(P("paused"),ae(),ot())},be=()=>{try{const ve=Ce.current,Ne=K4(ve,ie.current);if(Ne!==null){ie.current=Ne,J(Ne),U(!0);const Le=ve?.[Ne]&&ve[Ne].src;if(Le&&F){F.src=Le,F.load(),tt(F).catch(()=>{});return}}}catch{}P("stopped"),Y(1);try{if(F)try{F.currentTime=0}catch{}}catch{}ae(),U(!1),ot();try{!De.current&&We.current&&We.current()}catch{}};return F.addEventListener("play",Z),F.addEventListener("pause",le),F.addEventListener("ended",be),()=>{try{F.removeEventListener("play",Z),F.removeEventListener("pause",le),F.removeEventListener("ended",be),ae()}catch{}}},[Re,ot,tt,qe,se,ae]);i.useEffect(()=>Ze(),[Ze]),i.useEffect(()=>{De.current=o},[o]),i.useEffect(()=>{ke.current=r},[r]),i.useEffect(()=>{if(o||X!=="active")return;const F=v.current;if(!F)return;let Z=null;const le=requestAnimationFrame(()=>{try{const be=F.getTotalLength();if(!be)return;const ve=be*.2;F.style.strokeDasharray=`${be-ve} ${ve}`;const Ne="triFlow_"+Math.random().toString(36).slice(2);Z=document.createElement("style"),Z.textContent=`@keyframes ${Ne}{from{stroke-dashoffset:0}to{stroke-dashoffset:-${be}}}`,document.head.appendChild(Z),F.style.animation=`${Ne} 2.4s linear infinite`}catch{}});return()=>{cancelAnimationFrame(le),Z?.remove()}},[X,o]),i.useEffect(()=>{Ce.current=E},[E]),i.useEffect(()=>{ie.current=z},[z]),i.useEffect(()=>{const F=C.current,Z=y.current;if(!F||!Z)return;let le=null;const be=32,ve=60,Ne=()=>{try{const st=Array.from(F.querySelectorAll(":scope > .button"));let ce=0;st.forEach(Mt=>{if(Mt===Z)return;const Mn=Mt.getBoundingClientRect();ce+=Mn.width});const we=F.getBoundingClientRect().width,ze=Math.max(0,Math.floor(we-ce-8)),lt=et;if(!lt||ze<=0){Array.from(Z.children).forEach(Mt=>{try{Mt.style.width=""}catch{}});return}let ht=Math.floor(ze/lt);ht>ve&&(ht=ve),ht<be&&(ht=Math.max(be,Math.floor(ze/lt))),Array.from(Z.querySelectorAll(".button")).forEach(Mt=>{try{Mt.style.width=`${ht}px`}catch{}})}catch{}},Le=requestAnimationFrame(Ne);try{le=new ResizeObserver(()=>{requestAnimationFrame(Ne)}),le.observe(F),le.observe(Z),window.addEventListener("resize",Ne)}catch{}return()=>{try{cancelAnimationFrame(Le)}catch{}try{le&&(le.disconnect(),le=null)}catch{}try{window.removeEventListener("resize",Ne)}catch{}}},[E,L,et]),i.useEffect(()=>()=>{try{Ee.current&&(clearTimeout(Ee.current),Ee.current=null),Pe.current&&(clearTimeout(Pe.current),Pe.current=null)}catch{}},[]);const rt=(F,Z)=>{$(F),oe(Z),$e(),V(Y4(F)),Ce.current=F},Ct=async(F,Z)=>{Se(!1),w.current=!1,F.src=Z,F.load(),await el(F),await He(),S(!1),await tt(F),Q("playMode"),J(0),U(!0)},Pt=async(F,Z=!1)=>{const le=g.current;S(!0),R("measuring_duration");try{const be=await yr(F,{timeoutMs:1e4,rejectOnError:!0});rt([{src:F,objectUrl:null,duration:be}],be),R("ready"),Z&&le&&await Ct(le,F)}finally{w.current=!1,S(!1)}},Je=async(F,Z=!1)=>{const le=g.current;S(!0),R("measuring_duration");try{const be=await Promise.all(F.map(Ne=>yr(Ne,{timeoutMs:1e4}))),ve=F.map((Ne,Le)=>({src:Ne,objectUrl:null,duration:be[Le]||0}));rt(ve,X4(ve)),R("ready"),Z&&le&&ve.length>0&&await Ct(le,ve[0].src)}finally{w.current=!1,S(!1)}},wt=async(F=!1,Z=!0)=>{const le=g.current,be=n?Array.isArray(n)?n:[n]:[];if(!(!be||be.length===0||!be.some(Boolean))&&!w.current){w.current=!0,Z&&S(!0),R("resolving");try{const ve=J4(n,a,So),Ne=[];let Le=0;for(const st of ve){let ce=st.src??null,we=null;if(!ce&&st.resolvedPath){try{R("getting_signed_url"),ce=await jo(st.resolvedPath)}catch{ce=null}if(!ce)try{R("downloading");const lt=await Eo(st.resolvedPath);if(lt){const ht=lt instanceof Blob?lt:new Blob([lt]);we=b.track(URL.createObjectURL(ht)),ce=we}}catch{R("error");try{q(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.")),Q("active")}catch{}}}if(!ce)continue;let ze=0;try{R("measuring_duration"),ze=await yr(ce,{timeoutMs:3e3})}catch{ze=0}Le+=ze||0,Ne.push({...st,src:ce,objectUrl:we,duration:ze})}if(rt(Ne,Le),Ne.length>0&&F&&le){const st=Ne[0];Se(!1);try{b.keepOnly(Ne.map(ce=>ce.objectUrl))}catch{}if(R("ready"),w.current=!1,st.src&&le)try{le.src=st.src,le.load(),await el(le),await He(),Z&&S(!1),le&&await tt(le)}catch{Z&&S(!1)}else Z&&S(!1);Q("playMode"),J(0),U(!0)}}finally{w.current=!1,Z&&S(!1),R(ve=>ve==="ready"?"ready":"idle")}}},Bt=async()=>{const F=g.current;if(!(!F&&!Be)){if(Be){const Z=window.speechSynthesis;if(X==="active"){const le=Ma(),be=Array.isArray(s)?s.filter(Boolean):s?[s]:[];if(le&&be.length>0){Q("load"),S(!0),R("resolving"),w.current=!0;try{const ve=await Promise.all(be.map(Ne=>Promise.resolve(le(Ne))));ve.length>1?await Je(ve,!0):await Pt(ve[0],!0)}catch{w.current=!1,S(!1),Q("active"),pt(be[0]||void 0)}return}pt(be[0]||void 0);return}if(X==="playMode"){if(F){if(F.paused){if(Ye.current){await Et();return}await tt(F),P("playing")}else F.pause(),P("paused");return}try{if(Z&&Z.paused)try{Z.resume(),P("playing")}catch{}else try{Z.pause(),P("paused")}catch{}}catch{}}return}if(X==="active"){if(o&&Array.isArray(Ce.current)&&Ce.current.length>0){const Z=Ce.current[0];try{if(Z.src&&F)try{F.src=Z.src,F.load(),F&&await tt(F)}catch{}Q("playMode"),J(0),U(!0);return}catch{}}Q("load"),await wt(!0);return}if(X!=="load"&&(X==="playMode"||X==="active"))try{if(F&&F.paused){if(Ye.current){await Et();return}F&&await tt(F),P("playing")}else F&&(F.pause(),P("paused"))}catch(Z){(Z instanceof Error||typeof Z=="object"&&Z&&"name"in Z)&&Z.name}}},Et=async()=>{const F=g.current;if(F)try{const Z=Ce.current;if(Array.isArray(Z)&&Z.length>1){await yt(0);return}Se(!1);try{F.currentTime=0}catch{}F&&await tt(F),P("playing"),Q("playMode")}catch{}},Qt=()=>{if(Be){Ue();return}const F=g.current;try{if(F){try{F.pause()}catch{}try{F.currentTime=0}catch{}}}catch{}ot(),P("stopped"),Q("active"),Y(0),U(!1)},It=async(F,{sameSegment:Z=!1}={})=>{const le=++_.current,be=g.current,ve=Ce.current?.[F]?.src;try{if(Se(!1),J(F),U(!0),ie.current=F,!ve||!be||(Z||$e(),be.src=ve,be.load(),Z||await He(),le!==_.current)||(await tt(be),le!==_.current))return;P("playing"),Q("playMode")}catch{}},Vt=async()=>{const F=Ce.current,Z=ie.current||0;if(!F||Z<=0){await Et();return}await It(Z-1)},en=async()=>{const F=Ce.current,Z=ie.current||0;if(!F||Z>=F.length-1){Qt();return}await It(Z+1)},bt=()=>{if(Ye.current)return;const F=200,Z=340;Se(!0);try{Y(1)}catch{}je(1);try{he("hold")}catch{}try{const le=g.current,be=Be&&!!le?.src;if(!Be||be){if(le){le.pause();try{le.currentTime=0}catch{}}}else Ue();ot()}catch{}try{P("stopped")}catch{}if(U(!1),!De.current)try{Pe.current&&(clearTimeout(Pe.current),Pe.current=null),Pe.current=setTimeout(()=>{try{he("out")}catch{}Pe.current=setTimeout(()=>{try{typeof ke.current=="function"&&ke.current(!0)}catch{}try{he("idle")}catch{}Pe.current=null},Z)},F)}catch{}};i.useEffect(()=>{We.current=bt});const un=i.useCallback(()=>q(""),[]),yt=async F=>{(Ce.current||[])[F]&&await It(F,{sameSegment:F===ie.current})},Wt=j==="playing",dn=i.useMemo(()=>{if(!L||L.length<=1)return L;const F=L[z];return F?[F]:L},[L,z]),Ge=o===!0;i.useEffect(()=>{try{const F=g.current;F&&typeof F.playbackRate=="number"&&(F.playbackRate=pe||1)}catch{}},[pe]),i.useEffect(()=>{try{const F=g.current;F&&(F.volume=Math.max(0,Math.min(1,fe)))}catch{}},[fe]);const Dt=ge==="hold",ft=ge==="out",qt=X==="playMode"&&!k&&!xe||Dt||ft,Ft=j!=="stopped"||Dt||ft,Ot=j==="paused",Ht=Math.max(0,Math.min(100,(O||0)*100)),re=ye("audio-player__fill",qt?"is-visible":"",Ft?"is-expanded":"",Ot?"is-paused":"",ft?"is-out":"");return t.jsxs("div",{className:`audio-player ${Ge?"is-disabled":""}${l?` ${l}`:""}`,role:"group","aria-label":typeof h=="string"?h:void 0,children:[t.jsxs("div",{className:`audio-player__panel ${Wt?"is-playing":""} ${k?"is-loading":""} ${X!=="default"?"is-revealed":""}`,children:[k?t.jsxs("div",{className:"audio-player__loading",role:"status","aria-live":"polite",children:[t.jsx("span",{className:"audio-player__loading-spinner","aria-hidden":"true"}),t.jsx("span",{className:"audio-player__loading-text",children:z4[H]})]}):null,X==="active"?t.jsx("button",{className:"audio-player__button",type:"button",onClick:()=>{M(),Bt()},"aria-label":typeof h=="string"?h:u("training.listen","\uB4E3\uAE30"),onMouseEnter:A,onMouseLeave:M,onFocus:A,onBlur:M,children:t.jsx("span",{ref:D,className:"audio-player__button-triangle-wrap",children:t.jsx("svg",{className:"audio-player__button-triangle",viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{ref:v,d:"M13.2 7.7 L16.5 9.85 Q20.2 12 16.5 14.15 L10 18.3 Q7 19.7 7 16.3 L7 7.7 Q7 4.3 10 5.7 L13.2 7.7"})})})}):null,x&&t.jsx(an,{anchorRect:x,text:typeof h=="string"&&h?h:u("training.listenLabel","\uBB38\uC7A5 \uB4E3\uAE30"),offset:8}),t.jsxs("div",{className:`audio-player__play ${X==="playMode"||Wt?"is-visible":""}`,children:[t.jsxs("div",{ref:C,className:"audio-player__buttons",children:[t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-back",onClick:Vt,ariaLabel:u("training.prev","\uC774\uC804"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:X!=="playMode"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:Wt?"pause":"play",onClick:Bt,ariaLabel:u("common.playPause","\uC7AC\uC0DD / \uBA48\uCDA4"),width:"60px",variant:"transparent-white",disabled:X!=="playMode"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"square",onClick:Qt,ariaLabel:u("training.stop","\uC815\uC9C0"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:X!=="playMode"}),et>1?t.jsx("div",{ref:y,className:"audio-player__source-buttons",children:Array.from({length:et}).map((F,Z)=>t.jsx(te,{size:32,type:"dot",shape:"pill",useBorder:!1,label:String(Z+1),onClick:()=>{try{yt(Z)}catch{}},ariaLabel:u("training.sourcePlay",{n:Z+1}),variant:"transparent-white",selected:I&&z===Z,disabled:X!=="playMode"||!(Array.isArray(E)&&E[Z]),showTooltipInfo:!0},Z))}):null,!Array.isArray(E)||E.length<=1?t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"repeat",onClick:Et,ariaLabel:u("common.replay","\uB2E4\uC2DC\uB4E3\uAE30"),width:"60px",variant:"transparent-white",disabled:X!=="playMode"}):null,t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-forward",onClick:en,ariaLabel:u("training.next","\uB2E4\uC74C"),width:"60px",variant:"transparent-white","aria-hidden":!0,tabIndex:-1,disabled:X!=="playMode"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"check",onClick:bt,ariaLabel:u("common.done","\uC644\uB8CC"),width:"60px",variant:"transparent-white",disabled:X!=="playMode"})]}),t.jsxs("div",{className:"audio-player__slider",children:[t.jsx("div",{className:re,ref:f,style:{left:`${Ht}%`},"aria-hidden":"true"}),(c||d)&&t.jsx(H4,{segments:dn,progress:O,totalDuration:K,onSegmentClick:yt,waveProgressRef:ue,showSoundWaveForm:c,noiseSrc:d&&p?.settings.enabled&&(p?.settings.level??0)>0?Xe:null,noiseLevel:p?.settings.level??0,noiseSpeed:p?.settings.speed??1,mainVolume:fe,onReadyChange:Fe})]})]}),t.jsx("audio",{ref:g,crossOrigin:"anonymous",preload:"auto"})]}),!c&&t.jsxs("p",{className:"audio-player__no-waveform caption-1",children:[t.jsx(Ie,{icon:"triangle-alert",size:14}),u("training.noSoundWaveform","\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")]}),t.jsx(Bn,{message:T,position:ee,onClose:un})]})}function Ca(e){const{t:n}=me.useTranslation(),{text:a,label:r,anchorRect:o=null,onClose:s,closeOnOutsideClick:l=!0,isMobilePopup:c=!1}=e||{},[d,u]=i.useState(()=>{try{return localStorage.getItem("tooltip-theme")||"light"}catch{return"light"}});i.useEffect(()=>{try{localStorage.setItem("tooltip-theme",d)}catch{}},[d]);const{increase:h,decrease:p,canIncrease:m,canDecrease:g,fontSize:f,lineHeight:C}=ks({storageKey:"tooltip-fontScale"}),b=i.useCallback(()=>u(D=>D==="dark"?"light":"dark"),[]),y=i.useCallback(D=>{try{D.stopPropagation()}catch{}try{typeof s=="function"&&s()}catch{}},[s]),w=Array.isArray(a)?a:typeof a>"u"||a===null?[]:[a],_={fontSize:`${f}px`,lineHeight:`${C}px`,"--tt-line-height":`${C}px`,"--tt-marker-size":"28px"},v=t.jsxs("div",{className:`tooltip-textbox__root ${d==="dark"?"is-dark":""}`,children:[t.jsxs("div",{className:"tooltip-textbox__box",children:[r&&t.jsx("div",{className:"tooltip-textbox__label body-2b",children:r}),t.jsx("div",{className:"tooltip-textbox__text body-1",style:_,children:w.map((D,x)=>t.jsxs("div",{className:"tooltip-textbox__line",children:[w.length>1?t.jsx("div",{className:"tooltip-textbox__marker",children:t.jsx("span",{className:"tooltip-textbox__line-number button-1",children:x+1})}):null,t.jsx("span",{className:"tooltip-textbox__line-text",children:D})]},x))})]}),t.jsxs("div",{className:"tooltip-textbox__buttons",children:[t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"minus",onClick:p,ariaLabel:n("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),variant:d==="dark"?"transparent-white":"transparent-gray",disabled:!g}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"plus",onClick:h,ariaLabel:n("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),variant:d==="dark"?"transparent-white":"transparent-gray",disabled:!m}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:d==="dark"?"moon":"sun-medium",onClick:b,ariaLabel:n("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:d==="dark"?"transparent-white":"transparent-gray"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"x",onClick:y,ariaLabel:n("common.close","\uB2EB\uAE30"),variant:d==="dark"?"transparent-white":"transparent-gray"})]})]});return o?t.jsx(nn,{anchorRect:o,className:`tooltip-textbox ${d==="dark"?"is-dark":""}`,onClose:s,closeOnOutsideClick:l,isMobilePopup:c,ariaLabel:r||n("tooltip.textbox","\uBCF8\uBB38"),children:v}):t.jsx("div",{className:`tooltip-textbox ${d==="dark"?"is-dark":""}`,children:v})}function tl({state:e="disabled"}){const{t:n}=me.useTranslation();return t.jsxs("div",{className:`ts-bullet ts-bullet--${e}`,"aria-hidden":!0,children:[t.jsx("div",{className:"bullet__dot",children:t.jsx(Ie,{icon:"chevron-right",label:n("training.next","\uB2E4\uC74C"),className:"bullet__icon",imgClassName:"bullet__icon-img",maskClassName:"bullet__icon-mask",svgClassName:"bullet__icon-svg",wrapperStyle:{},size:20})}),t.jsx("div",{className:"ts-bullet__line"})]})}function nl({title:e,children:n,className:a="",state:r="disabled",usePreviewTextBtn:o=!1,onPreviewTextBtn:s,previewText:l=null,useFaded:c,usePlayAllBtn:d=!1,onPlayAll:u,playAllActive:h=!1}){const{t:p}=me.useTranslation(),m=Gt("(max-width: 767px)"),g=`training-step__title h4 ${c&&r==="disabled"?"training-step__title--faded":""} ${a}`.trim(),f=`training-step__title-row training-step__title-row--${r}`.trim(),C=i.useRef(null),[b,y]=i.useState(!1),[w,_]=i.useState(null),[v,D]=i.useState(null),x=i.useRef(s);i.useEffect(()=>{x.current=s});const A=i.useMemo(()=>l==null?"":typeof l=="string"||typeof l=="number"?String(l):Array.isArray(l)&&l.every(S=>typeof S=="string"||typeof S=="number")?l.join(""):"",[l]),M=i.useCallback(()=>{y(!1),_(null),D(null)},[]);i.useEffect(()=>{if(!b)return;let S;try{typeof x.current=="function"&&(S=x.current())}catch{}if(S===!1){M();return}D(typeof S<"u"&&S!==null?S:null)},[A]);const k=i.useCallback(()=>{let S;try{typeof s=="function"&&(S=s())}catch{}if(S!==!1){if(D(typeof S<"u"&&S!==null?S:l),!C.current){y(H=>!H);return}if(b)y(!1),_(null),D(null);else{const H=C.current.getBoundingClientRect();_(H),y(!0)}}},[s,l,b]);return t.jsxs("div",{className:f,children:[t.jsx("p",{className:g,children:t.jsx("span",{className:"training-step__title-text",children:e??n})}),o||d?t.jsxs("div",{className:"title-controls",children:[t.jsxs("div",{className:"title-buttons",children:[d&&t.jsx(te,{size:32,type:m?"dot":"bar",icon:"play-circle",label:m?void 0:p("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),ariaLabel:p("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),selected:h,onClick:u,variant:r==="disabled"?"disabled":"default",disabled:r==="disabled"||h}),o&&t.jsx("div",{ref:C,children:t.jsx(te,{size:32,type:m?"dot":"bar",icon:"eye",label:m?void 0:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),ariaLabel:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),selected:b,onClick:k,variant:r==="disabled"?"disabled":"default",disabled:!l&&typeof s!="function"})})]}),b&&t.jsx(Ca,{text:v??l,label:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),anchorRect:w,onClose:M,closeOnOutsideClick:!1,isMobilePopup:!0})]}):null]})}function xr(e,n){return typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled"}function vn({index:e,stepIndex:n,isLast:a=!1,title:r="",titleProps:o={},children:s,className:l="",onDone:c=void 0,useTitleFaded:d=void 0}){const{t:u}=me.useTranslation(),[h,p]=i.useState(()=>xr(e,n));i.useEffect(()=>{const D=xr(e,n);if(D!==h){const x=setTimeout(()=>p(D),0);return()=>clearTimeout(x)}},[e,n,h]);const m=i.useCallback((...D)=>{xr(e,n)==="done"||h==="done"||typeof c=="function"&&c(...D)},[e,n,h,c]),[g,f]=i.useState(!1),[C,b]=i.useState({text:"",label:"\uBB38\uC7A5 \uB4E3\uAE30",anchorRect:null,backdrop:!1,alignX:null,alignY:null}),y=i.useCallback(D=>{if(!D)return null;try{const x=D;if(typeof D=="object"&&(x.currentTarget||x.target)&&(x.nativeEvent||x.type)){const k=x.currentTarget??x.target;if(k&&typeof k.getBoundingClientRect=="function")return k.getBoundingClientRect()}if(D instanceof DOMRect)return D;const A=D;if(A&&typeof A.getBoundingClientRect=="function")return A.getBoundingClientRect();const M=D?.current;return M&&typeof M.getBoundingClientRect=="function"?M.getBoundingClientRect():null}catch{return null}},[]),w=i.useCallback((D,{text:x="",label:A="\uBB38\uC7A5 \uB4E3\uAE30",backdrop:M=!1,alignX:k="center",alignY:S="top"}={})=>{const H=y(D);b({text:x,label:A,anchorRect:H,backdrop:M,alignX:k,alignY:S}),f(!0)},[y]),_=i.useCallback(()=>{f(!1),b(D=>({...D,anchorRect:null}))},[]),v=i.Children.map(s,D=>{if(i.isValidElement(D)){const x=D;if(typeof x.type=="string")return x;const A=x.props??{},M=typeof A.onDone=="function"?A.onDone:m,k=typeof A.disabled=="boolean";let S=h==="disabled";return k&&(S=!!A.disabled),i.cloneElement(x,{onDone:M,disabled:S,showTooltip:w,hideTooltip:_})}return D});return t.jsxs("div",{className:`training-step training-step--${h} ${a?"training-step--last":""} ${l}`,"aria-current":h==="active",children:[t.jsx(tl,{state:h}),t.jsxs("div",{className:"training-step__content",children:[t.jsx(nl,{state:h,title:r,...o,useFaded:d}),v]}),g?t.jsx(nn,{anchorRect:C.anchorRect,backdrop:C.backdrop,onClose:_,ariaLabel:u("tooltip.textbox","\uBCF8\uBB38"),children:t.jsx(Ca,{text:C.text,onClose:_})}):null]})}function al({context:e,state:n="disabled",theme:a="light"}){const{t:r}=me.useTranslation(),[o,s]=i.useState("disabled"),[l,c]=i.useState(()=>{try{return localStorage.getItem("tooltip-theme")||a}catch{return a}});i.useEffect(()=>{try{localStorage.setItem("tooltip-theme",l)}catch{}},[l]);const d=()=>c(k=>k==="dark"?"light":"dark"),{increase:u,decrease:h,canIncrease:p,canDecrease:m,fontSize:g,lineHeight:f}=ks({storageKey:"textbox_fontScale"}),[C,b]=i.useState(""),y=i.useCallback(()=>s("active"),[]),w=i.useCallback(()=>b(""),[]),_=k=>{try{b(k)}catch{}},v=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent||"");i.useEffect(()=>{if(n!=="disabled"){const k=setTimeout(()=>s(n),0);return()=>clearTimeout(k)}},[n]);const D=i.useMemo(()=>e&&typeof e=="object"?String(e.sentence??e.text??""):typeof e=="string"?e:"",[e]);i.useEffect(()=>{const k=setTimeout(()=>s("disabled"),0);return()=>clearTimeout(k)},[D]);const x=n==="disabled"?o:n,A=x==="disabled"?"training-text-box--disabled":x==="active"?"training-text-box--active":x==="done"?"training-text-box--done":"",M=i.useMemo(()=>({fontSize:`${g}px`,lineHeight:`${f}px`}),[g,f]);return t.jsxs("div",{className:`training-text-box ${A} ${x!=="disabled"&&l==="dark"?"is-dark":""}`,children:[x==="disabled"&&t.jsx("div",{className:"training-text-box__preview",children:t.jsx(te,{size:48,type:"bar",onClick:y,icon:"eye",ariaLabel:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),label:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),useBorder:!1})}),t.jsx("div",{className:"training-text-box__area","aria-hidden":x==="disabled",children:t.jsx("span",{className:"training-text-box__inner h3",style:M,children:D})}),x!=="disabled"&&t.jsxs("div",{className:"training-text-box__buttons","aria-hidden":x==="disabled",children:[t.jsx(te,{size:32,type:"dot",onClick:h,onDisabledClick:()=>_(r("training.fontSizeMin","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),icon:"minus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!m,useBorder:!1,showTooltipInfo:!0,...!v&&{width:"60px"}}),t.jsx(te,{size:32,type:"dot",onClick:u,onDisabledClick:()=>_(r("training.fontSizeMax","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),icon:"plus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!p,useBorder:!1,showTooltipInfo:!0,...!v&&{width:"60px"}}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:l==="dark"?"moon":"sun-medium",onClick:d,ariaLabel:r("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:l==="dark"?"transparent-white":"transparent-gray"})]}),t.jsx(Bn,{message:C,position:"top",onClose:w})]})}function _r({index:e,stepIndex:n,isLast:a=!1,title:r,useTitleFaded:o,onDone:s,onChange:l,answer:c,wrongAnswers:d,choices:u,multiSelect:h=!1,correctCount:p=0,useDisabledCovered:m=!1,choiceIcons:g,shuffleChoices:f=!0}){const{t:C}=me.useTranslation(),b=r??C("training.selectConfirm","\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694."),y=typeof e=="number"?e:-1,w=typeof n!="number"?"disabled":y<n?"done":y===n?"active":"disabled",_=Array.isArray(u)&&u.length?u:typeof c<"u"?[c].concat(Array.isArray(d)?d:[]):void 0,v=d?d.join("||"):"",D=u?u.join("||"):"",[x,A]=i.useState(()=>Array.isArray(_)?f?Hn(_):_.slice():void 0);i.useEffect(()=>{Array.isArray(_)&&_.length?A(f?Hn(_):_.slice()):A(void 0)},[c,v,D,f]);const[M,k]=i.useState(null),[S,H]=i.useState(()=>new Set);i.useEffect(()=>{k(null),H(new Set)},[D]);const R=i.useRef(void 0);i.useEffect(()=>{const B=R.current;typeof B=="number"&&typeof n=="number"&&typeof e=="number"&&B>=e&&n<e&&(k(null),H(new Set)),R.current=n},[n,e]);const j=i.useCallback(B=>{if(w!=="active")return;const O=x?.[B];if(O==null)return;const Y=O,X=w==="active"||w==="done";if(h){const Q=new Set(S),E=Q.has(Y);E?Q.delete(Y):Q.add(Y),H(Q),typeof l=="function"&&l({selectedValues:[...Q],__ts:Date.now()}),X&&(typeof p=="number"&&p>0?Q.size>=p:!E)&&typeof s=="function"&&w==="active"&&s({selectedValues:[...Q],__ts:Date.now()})}else k(Y),typeof l=="function"&&l({selectedIndex:B,selectedValue:Y,__ts:Date.now()}),X&&typeof s=="function"&&w==="active"&&s({selectedIndex:B,selectedValue:Y,__ts:Date.now()})},[x,w,h,l,s,p,S]),P=`training-step__buttons${Array.isArray(x)&&x.length>3?" training-step__buttons--wrap-3":""}`;return t.jsx(vn,{index:e,stepIndex:n,isLast:a,title:b,useTitleFaded:o,children:t.jsx("div",{className:P,children:Array.isArray(x)&&x.length>0?x.map((B,O)=>t.jsx(te,{size:56,type:"bar",onClick:()=>j(O),ariaLabel:String(B),label:B,useLabel:!0,icon:g?g[String(B)]:void 0,variant:"default",disabled:w==="disabled",selected:h?S.has(B):M===B,useDisabledCovered:m,minWidth:0},String(B))):null})})}function wr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l,demoSelected:c}){const{t:d}=me.useTranslation(),u=r??d("training.confirmTitle","\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694."),h=typeof e=="number"?e:-1,p=typeof n!="number"?"disabled":h<n?"done":h===n?"active":"disabled",m=l&&typeof l=="object"?l.sentence||"":typeof l=="string"?l:"",g=l&&typeof l=="object"?l.choices:void 0,[f,C]=i.useState(c??null);i.useEffect(()=>{if(c==null&&f!==null){const _=setTimeout(()=>C(null),0);return()=>clearTimeout(_)}},[m,c,f]);const b=i.useCallback(_=>{const v=typeof _=="object"&&_!==null?Object.assign({},_,{__ts:Date.now()}):{value:_,__ts:Date.now()};typeof s=="function"&&s(v),p==="active"&&typeof o=="function"&&o(v)},[s,p,o]),y=i.useCallback(()=>{p==="active"&&(C(!1),b(!1))},[b,p]),w=i.useCallback(()=>{p==="active"&&(C(!0),b(!0))},[b,p]);return t.jsxs(vn,{index:e,stepIndex:n,isLast:a,title:u,onDone:o,useTitleFaded:!1,children:[t.jsx(al,{context:l,state:p}),t.jsx("div",{className:"training-step__buttons",children:Array.isArray(g)&&g.length>0?g.slice(0,6).map((_,v)=>t.jsx(te,{size:56,type:"bar",onClick:()=>{p==="active"&&(C(v),b&&b(v))},disabled:p==="disabled",ariaLabel:String(_),label:_,variant:p,selected:f===v},v)):t.jsxs(t.Fragment,{children:[t.jsx(te,{size:56,type:"bar",onClick:y,disabled:p==="disabled",icon:"x",ariaLabel:d("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),label:d("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!1}),t.jsx(te,{size:56,type:"bar",onClick:w,disabled:p==="disabled",icon:"circle",ariaLabel:d("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),label:d("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!0})]})})]})}function kr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,btnLabel:s,soundSrc:l,bucketPath:c,usePreviewTextBtn:d,previewText:u=null,onPreviewTextBtn:h,disabled:p,_pageIndex:m,showSoundWaveForm:g,showNoiseWaveForm:f}){const{t:C}=me.useTranslation(),b=r??C("training.listenTitle","\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694."),y=p??(typeof n=="number"&&typeof e=="number"?e>n:!1);return t.jsx(vn,{index:e,stepIndex:n,isLast:a,title:b,onDone:o,titleProps:{usePreviewTextBtn:d,previewText:u,onPreviewTextBtn:h},children:t.jsx(vr,{soundSrc:l,ttsText:l?null:u??b,bucketPath:c,btnLabel:s||C("training.listenButton","\uBB38\uC7A5 \uB4E3\uAE30"),disabled:y,className:"training-step__listen-sticky",showSoundWaveForm:g,showNoiseWaveForm:f},`audio-p${m??0}-s${e}`)})}function Ar({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l=[]}){const{t:c}=me.useTranslation(),d=r??c("training.orderListDefault","\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694."),u=$=>typeof $=="string"?$:$&&($.context||$.sentence||$.question||"")||"",[h,p]=i.useState(Array.isArray(l)?l:[]),[m,g]=i.useState(()=>(h||[]).map(($,L)=>({id:L,text:u($)}))),f=i.useMemo(()=>typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled",[n,e]);i.useEffect(()=>{const $=Array.isArray(l)?l:[];p($);const L=(V=>{const z=(V||[]).map((K,oe)=>({id:oe,text:u(K)}));if(z.length<=1)return z;const J=(K,oe)=>{if(K.length!==oe.length)return!1;for(let pe=0;pe<K.length;pe++)if(K[pe].text!==oe[pe].text)return!1;return!0};let I=Hn(z),U=0;for(;J(I,z)&&U<20;)I=Hn(z),U+=1;return I})($);g(L);try{if(typeof s=="function"){const V=L.filter((z,J)=>z.text===u($[J])).length;s({shuffled:L,score:V,total:($||[]).length,initial:!0,__ts:Date.now()})}if(typeof o=="function"&&f==="active"){const V=L.filter((z,J)=>z.text===u($[J])).length;o({shuffled:L,score:V,total:($||[]).length,initial:!0,__ts:Date.now()})}}catch{}},[l]);const C=($,L)=>{const V=[...m],z=$+L;if(z<0||z>=V.length)return;const J=V[z];V[z]=V[$],V[$]=J,P(V);try{if(typeof o=="function"&&f==="active"){const I=V.filter((U,K)=>U.text===u(h[K])).length;o({shuffled:V,score:I,total:(h||[]).length,__ts:Date.now()})}}catch{}},[b,y]=i.useState(null),w=i.useRef(null),_=i.useRef(null),v=i.useRef(null),D=i.useRef(null),x=i.useRef(null),A=i.useRef({x:0,y:0}),M=i.useRef(null),k=i.useRef({dx:0,dy:0}),S=()=>{if(M.current!==null)return;const $=()=>{M.current=requestAnimationFrame($);const L=A.current,V=k.current||{dx:0,dy:0};w.current&&(w.current.style.transform=`translate3d(${L.x-V.dx}px, ${L.y-V.dy}px, 0)`)};M.current=requestAnimationFrame($)},H=i.useRef(new Map),R=i.useRef(new Map),j=()=>{const $=new Map;return H.current.forEach((L,V)=>{L&&L.getBoundingClientRect&&$.set(V,L.getBoundingClientRect())}),$},P=$=>{const L=j();g($);try{if(typeof s=="function"){const V=$.filter((z,J)=>z.text===u(h[J])).length;s({shuffled:$,score:V,total:(h||[]).length,__ts:Date.now()})}}catch{}requestAnimationFrame(()=>{const V=j();$.forEach(z=>{const J=L.get(z.id),I=V.get(z.id),U=H.current.get(z.id);if(!U||!J||!I)return;const K=J.top-I.top;K&&(U.style.transition="none",U.style.transform=`translateY(${K}px)`,requestAnimationFrame(()=>{U.style.transition="transform 420ms cubic-bezier(.22,.9,.39,1)",U.style.transform="";const oe=()=>{U.style.transition="",U.removeEventListener("transitionend",oe)};U.addEventListener("transitionend",oe)}))})})},B=($,L)=>{try{try{L.dataTransfer?.setData("text/plain",String($))}catch{}try{L.dataTransfer&&(L.dataTransfer.effectAllowed="move")}catch{}try{const V=document.createElement("div");V.style.cssText="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild(V),L.dataTransfer?.setDragImage(V,0,0),requestAnimationFrame(()=>{try{document.body.removeChild(V)}catch{}})}catch{}}catch{}y($);try{const V=m[$],z=document.createElement("div");z.className="order-list__dragging-object order-list__dragging-object--visible",z.textContent=V&&V.text?V.text:"",document.body.appendChild(z),w.current=z;const J=H.current.get(V.id);let I=L.clientX||0,U=L.clientY||0;try{if(J&&J.getBoundingClientRect){const he=J.getBoundingClientRect();I=he.left+he.width/2,U=he.top+he.height/2}}catch{}const K=z.getBoundingClientRect(),oe=K.width/2,pe=K.height/2;k.current={dx:oe,dy:pe},z.style.transition="none",A.current={x:I,y:U},z.style.transform=`translate3d(${I-oe}px, ${U-pe}px, 0)`,requestAnimationFrame(()=>{try{z.style.transition=""}catch{}S()});const fe=he=>{const T=he;A.current={x:T.clientX,y:T.clientY},S()};v.current=fe,document.addEventListener("mousemove",fe);const ge=he=>{const T=he;A.current={x:T.clientX,y:T.clientY},S()};_.current=ge,document.addEventListener("dragover",ge);try{L.dataTransfer?.setData("text/plain",String($));try{L.dataTransfer?.setData("application/json",JSON.stringify({idx:$}))}catch{}}catch{}}catch{}},O=($,L)=>{L.preventDefault();try{L.dataTransfer&&(L.dataTransfer.dropEffect="move")}catch{}try{x.current!==null&&(clearTimeout(x.current),x.current=null);const V=L.currentTarget&&L.currentTarget.closest?L.currentTarget.closest(".order-list__item"):null;if(V&&D.current!==V){if(D.current)try{D.current.classList.remove("drag-over")}catch{}try{V.classList.add("drag-over")}catch{}D.current=V}}catch{}},Y=($,L)=>{L.preventDefault();const V=L.dataTransfer?.getData("text/plain")||"",z=V?parseInt(V,10):b,J=$;if(typeof z!="number"||isNaN(z)||z===J){y(null),E(),X();return}const I=xm(m,z,J);P(I),y(null),X();try{if(typeof o=="function"&&f==="active"){const U=I.filter((K,oe)=>K.text===u(h[oe])).length;o({shuffled:I,score:U,total:(h||[]).length,__ts:Date.now()})}}catch{}try{requestAnimationFrame(()=>{const U=document.querySelectorAll(".order-list .order-list__item")[J];if(!U)return;const K=U.querySelector(".order-list__slot")||U;try{K.classList.add("pulse"),K.offsetHeight,K.classList.add("to-dark");const oe=()=>{K.classList.remove("pulse","to-dark"),K.removeEventListener("transitionend",oe)};K.addEventListener("transitionend",oe)}catch{}})}catch{}E()},X=()=>{if(w.current){try{document.body.removeChild(w.current)}catch{}w.current=null}_.current&&(document.removeEventListener("dragover",_.current),_.current=null),v.current&&(document.removeEventListener("mousemove",v.current),v.current=null),M.current!==null&&(cancelAnimationFrame(M.current),M.current=null)},Q=()=>{y(null),E(),X()};i.useEffect(()=>()=>X(),[]);const E=()=>{try{if(x.current!==null&&(clearTimeout(x.current),x.current=null),D.current){try{D.current.classList.remove("drag-over")}catch{}D.current=null}document.querySelectorAll(".order-list .order-list__item").forEach($=>$.classList.remove("drag-over"))}catch{}};return i.useEffect(()=>{try{const $=Math.max(1,(m||[]).length);m.forEach((L,V)=>{const z=R.current.get(L.id);if(!z)return;let J=50;$>1&&(J=Math.round(V/($-1)*100));try{z.style.setProperty("--marker-pos",J+"%")}catch{}})}catch{}},[m]),i.useEffect(()=>()=>{X(),x.current!==null&&(clearTimeout(x.current),x.current=null)},[]),t.jsx(vn,{index:e,stepIndex:n,isLast:a,title:d,children:t.jsx("div",{className:"order-list",children:m.map(($,L)=>{const V=Math.max(1,(m||[]).length),z=V>1?Math.round(L/(V-1)*100):50;return t.jsx("div",{className:"order-list__item",children:t.jsxs("div",{className:"order-list__slot","data-disabled":f==="disabled","aria-disabled":f==="disabled",children:[f!=="disabled"?t.jsx("div",{className:"order-list__marker caption-1",style:{"--marker-pos":z+"%"},ref:J=>{const I=R.current;J?I.set($.id,J):I.delete($.id)},children:t.jsx("span",{className:"order-list__slot-number button-1",children:L+1})}):null,t.jsxs("div",{ref:J=>{const I=H.current;J?I.set($.id,J):I.delete($.id)},className:`order-list__draggable ${b===L?"dragging":""}`,"data-disabled":f==="disabled","aria-disabled":f==="disabled",tabIndex:f==="disabled"?-1:0,draggable:f==="active",onDragStart:f==="active"?J=>B(L,J):void 0,onDragEnter:f==="active"?J=>O(L,J):void 0,onDragOver:f==="active"?J=>O(L,J):void 0,onDragLeave:f==="active"?()=>{try{x.current!==null&&clearTimeout(x.current),x.current=setTimeout(()=>{try{const J=document.querySelectorAll(".order-list .order-list__item");J&&J[L]&&(J[L].classList.remove("drag-over"),D.current===J[L]&&(D.current=null))}catch{}},80)}catch{}}:void 0,onDrop:f==="active"?J=>Y(L,J):void 0,onDragEnd:f==="active"?Q:void 0,children:[t.jsx("span",{className:"order-list__item-text body-2",children:$.text}),f==="active"?t.jsxs("span",{className:"order-list__item-buttons",children:[t.jsx(te,{size:32,type:"dot",onClick:()=>C(L,-1),ariaLabel:c("training.up"),icon:"chevron-up",variant:"transparent-gray",width:48,useFaded:"true",disabled:L===0,useBorder:!1,useDisabledInvisible:!0}),t.jsx(te,{size:32,type:"dot",onClick:()=>C(L,1),ariaLabel:c("training.down"),icon:"chevron-down",variant:"transparent-gray",width:48,useFaded:"true",disabled:L===m.length-1,useBorder:!1,useDisabledInvisible:!0})]}):null]})]})},$.id)})})})}const eb=8e3;function tb(e,n){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.then(o,o),setTimeout(o,n)})}function rl({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l=[],selectable:c=!1,hideLabel:d=!1,hideAudio:u=!1,maxCards:h}){const{t:p}=me.useTranslation(),m=r??p("training.cardInstructions","\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694."),g=i.useMemo(()=>Array.isArray(l)?l:l&&l.items||[],[l]),f=h??3,C=(g||[]).slice(0,f);(g||[]).length>f&&console.warn(`TrainingStepCard: ${g.length} items passed but only ${f} shown`);const b=typeof e=="number"?e:-1,y=typeof n!="number"?"disabled":b<n?"done":b===n?"active":"disabled",[w,_]=i.useState(null),v=i.useRef([]),[D,x]=i.useState(!1),A=i.useMemo(()=>g.map(H=>H?.id??H?.word??"").join("|"),[g]);i.useEffect(()=>{_(null),v.current=[]},[A]);const M=i.useCallback((H,R)=>{if(c)return;const j={item:H,index:R,__ts:Date.now()};try{typeof s=="function"&&s(j)}catch{}if(y==="active"&&typeof o=="function")try{o(j)}catch{}},[c,s,y,o]),k=i.useCallback(async()=>{if(!(D||y==="disabled")){x(!0);try{for(const H of v.current)H&&await tb(H.play(),eb)}finally{x(!1)}}},[D,y]),S=i.useCallback((H,R)=>{if(y!=="active")return;_(R);const j={selectedValue:H.word||H.title||"",selectedIndex:R,item:H,__ts:Date.now()};try{typeof s=="function"&&s(j)}catch{}if(y==="active"&&typeof o=="function")try{o(j)}catch{}},[s,y,o]);return t.jsx(vn,{index:e,stepIndex:n,isLast:a,title:m,onDone:o,titleProps:{usePlayAllBtn:!u&&C.length>0,onPlayAll:k,playAllActive:D},children:t.jsx("div",{className:"training-step__cards",children:C.length===0?t.jsx("div",{className:"training-step__empty",children:p("training.noCards","\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}):C.map((H,R)=>t.jsx(lr,{ref:j=>{v.current[R]=j},item:H,disabled:y==="disabled",onPlayDone:()=>M(H,R),selectable:c,selected:c&&w===R,onSelect:c?()=>S(H,R):void 0,flipDelay:R*120,hideLabel:d,hideAudio:u},H&&H.id||R))})})}const nb=160,ol=()=>{};function ln(e){const n=i.useId();if(!("variant"in e)){const{label:C,sub:b,onClick:y,children:w,align:_="horizontal",icon:v}=e,D=x=>{y&&x.target===x.currentTarget&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),y())};return t.jsxs("div",{className:ye("panel-row",_==="vertical"?"panel-row--vertical":"",y?"panel-row--clickable":""),onClick:y,onKeyDown:y?D:void 0,role:y?"button":void 0,tabIndex:y?0:void 0,children:[v!=null&&t.jsx("div",{className:"panel-row__icon",children:v}),C!=null&&t.jsxs("div",{className:"panel-row__left",children:[t.jsx("div",{className:"panel-row__label body-3",children:C}),b&&t.jsx("div",{className:"panel-row__sub caption-1",children:b})]}),t.jsx("div",{className:"panel-row__right",children:w})]})}if(e.variant==="description")return t.jsx("div",{className:"panel-row panel-row--block",children:t.jsx("p",{className:"panel-row__description body-3",children:e.children})});if(e.variant==="empty")return t.jsx("div",{className:"panel-row panel-row--empty body-3",children:e.children});if(e.variant==="loading")return t.jsx("div",{className:"panel-row panel-row--loading",children:t.jsx(Zn,{size:28})});if(e.variant==="custom"&&!e.label)return t.jsx("div",{className:"panel-row panel-row--block",children:e.children});const{variant:a,label:r,sub:o,onClick:s,required:l,error:c,align:d="horizontal",useFullWidth:u=!1,icon:h}=e;let p=null;const m=a==="toggle"?`panel-toggle-${n}`:void 0;if(a==="toggle"){const C=e;p=t.jsx(ai,{checked:C.checked,onChange:C.onChange,id:m})}else if(a==="segmented"){const C=e;p=t.jsx(yn,{options:C.options,value:C.value,onChange:C.onChange,size:C.size??40,ariaLabel:r})}else if(a==="dropdown"){const C=e,b=C.dropdowns?.length?t.jsx("div",{className:`panel-row__dropdown-group${u?" panel-row__dropdown-group--full":""}`,children:C.dropdowns.map((y,w)=>t.jsx("div",{className:u?"panel-row__dropdown-item--full":void 0,children:t.jsx(Rt,{options:y.options,value:y.value,onChange:y.onChange,placeholder:y.placeholder,block:u,error:!!c,ariaLabel:y.ariaLabel??([r,y.placeholder].filter(Boolean).join(" ")||void 0)})},w))}):t.jsx(Rt,{options:C.options??[],value:C.value??"",onChange:C.onChange??ol,block:u,error:!!c,ariaLabel:r});p=c?t.jsxs("div",{className:`panel-row__dropdown-error-wrap${u?" panel-row__dropdown-error-wrap--full":""}`,children:[b,t.jsx("span",{className:"caption-1 panel-row__error",role:"alert",children:c})]}):b}else if(a==="button"){const C=e;C.buttons?.length?p=t.jsx("div",{className:"panel-row__button-group",children:C.buttons.map((b,y)=>t.jsx(te,{size:b.btnSize??40,variant:b.btnVariant??"default",disabled:b.disabled,onClick:b.onClick,children:b.label},y))}):p=t.jsx(te,{size:C.btnSize??40,variant:C.btnVariant??"default",disabled:C.disabled,onClick:C.onClick,children:C.buttonLabel})}else if(a==="text"){const C=e;p=t.jsx("span",{className:`panel-row__text body-2${u?" panel-row__text--full":""}`,style:C.valueColor?{color:C.valueColor}:void 0,children:C.value})}else if(a==="input"){const C=e;p=t.jsxs("div",{className:`panel-row__input-wrap${u?" panel-row__input-wrap--full":""}`,children:[t.jsx(bn,{value:C.value,onChange:C.onChange??ol,onKeyDown:C.onKeyDown,onEnter:C.onEnter,placeholder:C.placeholder,inputMode:C.inputMode,readOnly:C.readOnly,disabled:C.disabled,type:C.type,autoComplete:C.autoComplete,maxLength:C.maxLength,showCount:C.showCount,multiline:C.multiline,rows:C.rows,fullWidth:u,error:c,ariaLabel:r,required:l}),C.helperText&&t.jsx("div",{className:"panel-row__helper caption-1",children:C.helperText})]})}else a==="custom"&&(p=e.children);const g=a==="input"||a==="dropdown"||(a==="text"||a==="custom")&&u,f=C=>{s&&C.target===C.currentTarget&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),s())};return t.jsxs("div",{className:ye("panel-row",d==="vertical"?"panel-row--vertical":"",g?"panel-row--label-fixed":"",a==="text"?"panel-row--text":"",s?"panel-row--clickable":""),onClick:s,onKeyDown:s?f:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,children:[h!=null&&t.jsx("div",{className:"panel-row__icon",children:h}),t.jsxs("div",{className:"panel-row__left",children:[m?t.jsxs("label",{htmlFor:m,className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}):t.jsxs("div",{className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}),o&&t.jsx("div",{className:"panel-row__sub caption-1",children:o})]}),t.jsx("div",{className:"panel-row__right",children:p})]})}function sl(e){const n=e.productName||e.brand,a=[e.brand,e.fitType].filter(r=>!!r&&r!==n);return[...new Set(a)].join(" \xB7 ")}function ab({devices:e,onRelease:n,emptyLabel:a}){const{t:r}=me.useTranslation();return t.jsx("div",{className:"panel-row panel-row--device",children:["\uC88C","\uC6B0"].map(o=>{const s=e[o],l=o==="\uC88C"?r("device.direction.left","\uC88C"):r("device.direction.right","\uC6B0");return t.jsxs("div",{className:"panel-row__device-column",children:[t.jsxs("div",{className:"panel-row__device-head",children:[t.jsx("span",{className:"panel-row__device-side body-2b",children:l}),s&&n&&t.jsx(te,{size:32,type:"dot",icon:"x",ariaLabel:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),showTooltipInfo:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),onClick:()=>n(o)})]}),s?t.jsxs("div",{className:"panel-row__device-info",children:[t.jsxs("span",{className:"panel-row__device-kind",children:[s.device&&t.jsx(ut,{size:"small",variant:gi(s.device),fill:"soft",label:s.device}),sl(s)&&t.jsx("span",{className:"panel-row__device-detail body-3",children:sl(s)})]}),t.jsx("span",{className:"panel-row__device-name body-2b",children:s.productName||s.brand}),t.jsx("span",{className:"panel-row__device-date caption-1",children:r("customers.device.wornSince",{date:`${s.wornYear}.${s.wornMonth}.${s.wornDay}`})})]}):t.jsx("span",{className:"panel-row__device-empty body-3",children:a??r("customers.device.notRegistered","\uBBF8\uB4F1\uB85D")})]},o)})})}function fa({title:e,icon:n,disc:a,actions:r,size:o="medium",minHeight:s,maxWidth:l,className:c,scrollable:d,useBorder:u=!0,useBg:h=!0,useRowBorder:p=!0,labelWidth:m,form:g=!1,loading:f,empty:C,children:b}){const y=ye("panel",`panel--${o}`,g?"panel--form":"",s!==void 0?"panel--fill":"",u?"":"panel--no-border",h?"":"panel--no-bg",p?"":"panel--no-row-border",c),w={};return s!==void 0&&(w.minHeight=s),l!==void 0&&(w.maxWidth=typeof l=="number"?`${l}px`:l),m!==void 0&&(w["--panel-label-width"]=typeof m=="number"?`${m}px`:m),t.jsxs("div",{className:y,style:Object.keys(w).length?w:void 0,children:[(e!=null||a!=null)&&t.jsxs("div",{className:ye("panel__header",a!=null?"panel__header--with-disc":""),children:[n&&t.jsx(Ie,{icon:n,label:typeof e=="string"?e:void 0,className:"panel__icon"}),t.jsxs("div",{className:"panel__title-group",children:[e!=null&&t.jsx("h2",{className:`panel__title ${a!=null?"body-3b":"h5b"}`,children:e}),a!=null&&t.jsx("p",{className:"panel__disc caption-1",children:a})]}),r&&t.jsx("div",{className:"panel__actions",children:r})]}),f?t.jsx(ln,{variant:"loading"}):C!=null&&(b==null||Array.isArray(b)&&b.length===0)?t.jsx(ln,{variant:"empty",children:C}):d?t.jsx("div",{className:"panel__body--scroll",children:b}):b]})}function rb({cols:e=2,children:n}){return t.jsx("div",{className:"panel-grid",style:{"--panel-grid-cols":e},children:n})}function ob(e){return[{label:e("training.noise.level.none","\uC5C6\uC74C"),value:0},{label:e("training.noise.level.weak","\uC57D\uD568"),value:1},{label:e("training.noise.level.medium","\uBCF4\uD1B5"),value:2},{label:e("training.noise.level.strong","\uAC15\uD568"),value:3},{label:e("training.noise.level.veryStrong","\uB9E4\uC6B0 \uAC15\uD568"),value:4}]}function il(e){return[{label:e("training.noise.type.default","\uAE30\uBCF8"),value:"defaultNoise",icon:"party-popper"},{label:e("training.noise.type.street","\uAE38\uAC70\uB9AC"),value:"street",icon:"car"},{label:e("training.noise.type.buzz","\uC640\uAE00\uC640\uAE00"),value:"buzz",icon:"message-square-more"},{label:e("training.noise.type.restaurant","\uC2DD\uB2F9"),value:"restaurant",icon:"coffee"}]}ob(pn.t.bind(pn)),il(pn.t.bind(pn));const Nr="none",sb=.5,ib=1.5,lb=.25;function Br({title:e,valueLabel:n,value:a,min:r,max:o,step:s,tickStep:l,size:c,onChange:d}){return t.jsxs(ln,{variant:"custom",label:e,useFullWidth:!0,children:[t.jsx(hi,{value:a,onChange:d,min:r,max:o,step:s,size:c,showBgTick:!0,tickStep:l,ariaLabel:e,className:"noise-settings__slider-input"}),t.jsx("div",{className:"noise-settings__value button-1",children:n})]})}function ll({anchorRect:e,onClose:n}){const{t:a}=me.useTranslation(),r=Gt("(max-width: 767px)")?40:24,o=gr(),s=o?.settings.level??0,l=o?.settings.type??"defaultNoise",c=o?.settings.enabled??!0,d=$4(s),u=o?.playbackRate??1,h=o?.mainVolume??1,p=Math.round(h*100),m=i.useCallback(b=>{try{o?.setMainVolume(Math.max(0,Math.min(1,b/100)))}catch{}},[o]),g=i.useCallback(b=>{try{o?.setPlaybackRate(b)}catch{}},[o]),f=i.useCallback(b=>{const y=R4(b);try{o?.setSettings({level:y})}catch{}},[o]),C=i.useCallback(b=>{try{b===Nr?o?.setSettings({enabled:!1}):o?.setSettings({type:b,enabled:!0})}catch{}},[o]);return t.jsx(nn,{anchorRect:e,offset:12,onClose:n,ariaLabel:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),isMobilePopup:!1,closeOnOutsideClick:!1,header:t.jsxs("div",{className:"noise-settings__header",children:[t.jsx("span",{children:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815")}),t.jsx(te,{size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,ariaLabel:a("common.close","\uB2EB\uAE30"),onClick:n})]}),children:t.jsxs(fa,{className:"noise-settings",useBorder:!1,labelWidth:72,children:[t.jsx(Br,{title:a("training.playVolumeTitle","\uC7AC\uC0DD \uC18C\uB9AC"),valueLabel:`${p}%`,value:p,min:0,max:100,step:10,size:r,onChange:m}),t.jsx(Br,{title:a("training.playSpeedTitle","\uC7AC\uC0DD \uC18D\uB3C4"),valueLabel:`${u.toFixed(2)}x`,value:u,min:sb,max:ib,step:lb,size:r,onChange:g}),t.jsx(Br,{title:a("training.noiseLevelTitle","\uC18C\uC74C \uD06C\uAE30"),valueLabel:`${d}%`,value:d,min:0,max:100,step:10,size:r,onChange:f}),t.jsx(ln,{variant:"custom",label:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),useFullWidth:!0,children:t.jsx(yn,{ariaLabel:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),size:40,shape:"rounded",options:[{key:Nr,label:a("training.noise.type.none","\uC5C6\uC74C")},...il(a).map(b=>({key:b.value,label:b.label}))],value:c?l:Nr,onChange:C})})]})})}function cl({useNoiseSettingBtn:e=!1,onSettings:n,onNext:a,onResult:r,stepIndex:o=0,stepCount:s=0,pageIndex:l=0,pageCount:c=1}){const{t:d}=me.useTranslation(),[u,h]=i.useState(!1),[p,m]=i.useState(null),[g,f]=i.useState(!1),C=i.useRef(null),b=i.useRef(null),y=gr(),w=l<c-1,_=l===c-1,v=o===Math.max(0,s);i.useEffect(()=>{e||(h(!1),m(null))},[e]);const D=i.useCallback(()=>{h(!1),m(null)},[]),x=i.useCallback(()=>{if(u){h(!1),m(null);return}const k=C?.current?.getBoundingClientRect();k&&m(k),n?.(),h(!0)},[u,n]),A=i.useCallback(()=>{if(u){h(!1),m(null);return}const k=b?.current?.getBoundingClientRect();k&&m(k),n?.(),h(!0)},[u,n]),M=i.useCallback(()=>f(k=>!k),[]);return t.jsxs("div",{className:"pp-bottom",children:[t.jsxs("div",{className:"pp-bottom__left",children:[e?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pp-bottom__settings--desktop",children:t.jsx("div",{ref:C,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(te,{size:56,type:"bar",icon:"settings",onClick:x,selected:u,ariaLabel:d("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),label:d("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),minWidth:140})})}),t.jsx("div",{className:"pp-bottom__settings--mobile",children:t.jsx("div",{ref:b,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(te,{size:56,type:"dot",icon:"settings",onClick:A,selected:u,ariaLabel:d("training.settings","\uC124\uC815"),minWidth:52})})})]}):null,e&&t.jsx(te,{size:40,type:"dot",shape:"pill",icon:"audio-lines",onClick:M,selected:g,ariaLabel:d("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC")}),e&&g&&t.jsxs("div",{className:"pp-bottom__meters",children:[t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:d("training.meter.sentence","\uC7AC\uC0DD")}),t.jsx(ar,{analyser:y?.mainAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:d("training.meter.sentence","\uC7AC\uC0DD")})]}),t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:d("training.meter.noise","\uC18C\uC74C")}),t.jsx(ar,{analyser:y?.noiseAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:d("training.meter.noise","\uC18C\uC74C")})]})]})]}),t.jsxs("div",{className:"pp-bottom__right",children:[_&&t.jsx(te,{size:56,type:"bar",icon:"check",onClick:typeof r=="function"?r:a,ariaLabel:d("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),label:d("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),variant:"main",disabled:!v}),w&&t.jsx(te,{size:56,type:"bar",rightIcon:"chevron-right",align:"right",onClick:a,ariaLabel:d("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),label:d("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),variant:"main",disabled:!v})]}),e&&u&&t.jsx(ll,{anchorRect:p,onClose:D})]})}function ul({title:e,subtitle:n,desc:a,depth:r,icon:o,wrapperStyle:s,iconTooltip:l,pageIndex:c,pageCount:d,progressMax:u,progressIndex:h,onBack:p,onClose:m}){const{t:g}=me.useTranslation(),f=Gt("(max-width: 767px)"),C=Number.isInteger(h)?h:c||0,b=Number.isInteger(u)?u:d||0,y=p||m,w=Array.isArray(r)?f?r[r.length-1]:r.join(" / "):r,_=typeof e=="string"?e.trim():e,v=typeof n=="string"?n.trim():n,D=!!(_||v),x=D?_||v:g("common.emptyTrainingName","\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),A=w||n,M=f&&typeof A=="string"&&(A.includes(" \xB7 ")||A.includes(" / "))?A.split(/\s[·/]\s/).pop():A,k=i.useMemo(()=>{const S=s&&typeof s=="object"?{...s}:{};return!("width"in S)&&!("height"in S)&&(S.width="40px",S.height="40px"),S},[s]);return t.jsxs("header",{className:"pp-title training-popup-title",children:[t.jsxs("div",{className:"pp-title__left",children:[y?t.jsx(te,{size:48,type:"dot",icon:"chevron-left",ariaLabel:g("common.back","\uB4A4\uB85C"),onClick:y,useBorder:!1,iconSize:"large",iconColor:"--color-black",variant:"transparent-gray"}):null,t.jsx("div",{children:o?t.jsx(vi,{icon:o,label:e,tooltip:l,wrapperStyle:k}):null}),t.jsxs("div",{className:"pp-title__text",children:[M?t.jsx("span",{className:"pp-title__depth caption-1",children:M}):null,t.jsx("span",{className:`pp-title__title h2${D?"":" pp-title__title--empty"}`,children:x}),a?t.jsx("span",{className:"pp-title__description caption-1",children:a}):null]})]}),t.jsx(fi,{max:Math.max(0,b??0),index:Math.max(0,C??0)})]})}function cb(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("speechear.popup.close"))}function ub(e){return!e&&e!==0?[]:Array.isArray(e)?e.flatMap(n=>typeof n=="string"?n.split("|").map(a=>a.trim()).filter(Boolean):n||n===0?[String(n)]:[]):typeof e=="string"?e.split("|").map(n=>n.trim()).filter(Boolean):[String(e)]}function dl(e,n,a){const r=e,o=r?.title||r?.name||(Array.isArray(n)?n[n.length-1]:void 0)||a||"\uD6C8\uB828",s=qo().find(c=>c.key===(r?.category_0||r?.category_main_code)),l=s?.subs?.find(c=>c.key===(r?.category_1||r?.category_sub_code));return{title:o,label:r?.title||o,depth:n,icon:s?.icon,wrapperStyle:s?.color?{"--t-item-fg":s.color}:void 0,iconTooltip:[s?.label,l?.label].filter(Boolean).join(" / ")||void 0}}function Dr(e){return e&&typeof e=="object"&&typeof e.__ts=="number"?e.__ts:0}function db(e){const n=e;return Array.isArray(n?.items)?n.items:Array.isArray(e)?e:e?[e]:[]}function pb({idPrefix:e,trainingData:n,depth:a,fallbackTitle:r="\uD6C8\uB828",pages:o=[],emptyMessage:s,buildResults:l,metaPatch:c}){const d=dl(n,a,r),u=typeof c=="function"?c(d)||{}:c||{},h=n?.id||n?.title||o.length;return{id:`${e}:${h}`,meta:{...d,...u},pages:o,emptyMessage:s,buildResults:l}}function hb(e){if(typeof e=="string")return e;if(e&&typeof e=="object"){const n=e;return n.context||n.sentence||n.question||""||""}return""}function mb(e){if(e&&typeof e=="object"){const n=e;if(Array.isArray(n.selectedValues))return n.selectedValues;if(n.selectedValue!==void 0)return n.selectedValue;if(n.selectedIndex!==void 0)return n.selectedIndex;if(n.value!==void 0)return n.value}return e}function Cb(e,n=[]){if(Array.isArray(e))return e.join(", ");if(typeof e=="number"&&Array.isArray(n))return String(n[e]??"");if(typeof e=="string")return e}function pl(e,n){if(!(!e||typeof e!="object"))return e[`step-${n}`]}function fb(e,n,a,r){return pl(e,n*a+r)}function gb({payload:e,selected:n,choices:a=[],correctAnswers:r=[]}){if(e&&typeof e=="object"){const o=e;if(Array.isArray(o.selectedValues))return r.every(s=>o.selectedValues.includes(s))&&o.selectedValues.every(s=>r.includes(s));if(typeof o.correct=="boolean")return o.correct}if(r.length){if(typeof n=="number"&&Array.isArray(a)&&a.length)return r.some(o=>String(o)===String(a[n]));if(typeof n<"u")return r.some(o=>String(o)===String(n))}}function bb(e){return e?Array.isArray(e.items)?e.items.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.context||a.sentence||"",contextCode:a.contextCode||a.context_code}}):Array.isArray(e.sentences)?e.sentences.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.sentence||a.context||"",contextCode:a.contextCode}}):Array.isArray(e.contexts)?e.contexts:e.contextCode?[{contextCode:e.contextCode}]:[]:[]}const hl=i.createContext(null);function yb(){const e=i.useContext(hl);if(!e)throw new Error("useTrainingPagePopupContext must be used inside TrainingPagePopup");return e}function vb({index:e,stepIndex:n,isLast:a=!1,title:r="\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",choices:o=[],onDone:s,onChange:l}){const c=typeof e=="number"?e:-1,d=typeof n!="number"?"disabled":c<n?"done":c===n?"active":"disabled",[u,h]=i.useState(()=>o.map(()=>null)),p=o.join("|");i.useEffect(()=>{h(p?p.split("|").map(()=>null):[])},[p]);const m=i.useMemo(()=>u.filter(f=>f!==null).length+1,[u]),g=i.useCallback(f=>{d==="active"&&h(C=>{const b=[...C];if(b[f]!==null){const w=b[f];return b.map(_=>_!==null&&_>=w?null:_)}b[f]=m;const y={selectedOrder:b,words:o,__ts:Date.now()};try{typeof l=="function"&&l(y)}catch{}if(b.every(w=>w!==null))try{typeof s=="function"&&s(y)}catch{}return b})},[d,m,l,s,o]);return t.jsx(vn,{index:e,stepIndex:n,isLast:a,title:r,onDone:s,children:t.jsx("div",{className:"training-step__cards",children:o.map((f,C)=>t.jsx(lr,{item:{word:f},disabled:d==="disabled",selectable:!0,selected:u[C]!==null,orderRank:u[C],onSelect:()=>g(C),flipDelay:C*120,hideLabel:!1,hideAudio:!0},`${f}-${C}`))})})}function ga(e){return null}ga.__isTrainingPage=!0;function Tn(e,n){const a=yb();return{ctx:a,index:e,stepIndex:a.currentStepIndex,isLast:typeof e=="number"&&typeof n=="number"?e===n-1:!1,onDone:r=>a.handleStepDone(r,e),onChange:r=>a.handleStepChange(r,e)}}function ml({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l}=Tn(e,n);return t.jsx(kr,{...a,index:r,stepIndex:o,isLast:s,onDone:l})}function Cl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Tn(e,n);return t.jsx(_r,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function fl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Tn(e,n);return t.jsx(wr,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function gl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Tn(e,n);return t.jsx(Ar,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function bl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Tn(e,n);return t.jsx(rl,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function xb({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Tn(e,n);return t.jsx(vb,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Sr(...e){for(const n of e)if(typeof n=="string"){const a=n.trim();if(a.length)return a}else{if(typeof n=="number"||typeof n=="boolean")return String(n);if(Array.isArray(n)&&n.length)return n.join(", ");if(n&&typeof n=="object"){const a=n,r=[a.text,a.label,a.value];for(const o of r){if(typeof o=="string"&&o.trim().length)return o.trim();if(typeof o=="number"||typeof o=="boolean")return String(o)}}}return null}function _b(e){return Sr(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function yl(e){if(!e)return;if(typeof e.decision=="boolean")return e.decision;if(typeof e.correct=="boolean")return e.correct;if(typeof e.heard=="boolean")return e.heard;if(typeof e.judgement=="boolean")return e.judgement;const n=Sr(e?.status,e?.result,e?.judge,e?.note);if(n){const a=n.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(r=>a.includes(r)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(r=>a.includes(r)))return!1}}function vl(e){const{score:n,contextsLength:a,results:r=[],subtitle:o,onReplay:s,onClose:l,inline:c=!1}=e||{},{t:d}=me.useTranslation();i.useEffect(()=>{const C=a??0;n!=null&&C>0&&n/C>.5&&window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},[n,a]);const u=i.useCallback(C=>{const b=yl(C),y=Sr(C?.wording,C?.label);return b===!0?{variant:"main",label:y??d("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:b===!1?{variant:"danger",label:y??d("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:y??d("training.result.notJudged","\uBBF8\uD310\uC815")}},[d]),h=a??0,p=n??0,m=i.useMemo(()=>Array.isArray(r)?r:[],[r]),g=i.useMemo(()=>m.map(C=>{const b=C??{},y=_b(b)||"(\uB0B4\uC6A9\uC5C6\uC74C)",{variant:w,label:_}=u(b),v=Array.isArray(b.corrects)?b.corrects:[],D=v.length?v.join(", "):b.answer!=null&&b.answer!==""?String(b.answer):null,x=typeof b.selectedText=="string"?b.selectedText:null,A=yl(b)===!0;return{problem:y,variant:w,label:_,answer:D,selectedText:x,isCorrect:A}}),[m,u]),f=i.useMemo(()=>g.some(C=>C.answer!==null||C.selectedText!==null),[g]);return t.jsx(sn,{onClose:l,inline:c,ariaLabel:d("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",footerClassName:"trp-result__foot",footer:({animateThen:C,closeWithAnimation:b})=>t.jsxs("div",{className:"trp-actions",children:[t.jsx(te,{size:56,type:"bar",label:d("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>C(s)}),t.jsx(te,{size:56,type:"bar",label:d("training.result.done","\uC644\uB8CC"),variant:"main",onClick:b})]}),children:()=>t.jsxs("div",{className:"trp-result is-on",children:[t.jsxs("header",{className:"trp-result__head",children:[t.jsx("p",{className:"trp-result__eyebrow caption-1",children:d("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),t.jsx("h1",{className:"trp-result__title h2",children:d("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),o&&t.jsx("p",{className:"trp-result__subtitle body-3",children:o}),t.jsx("div",{className:"trp-score",children:t.jsxs("div",{className:"trp-score__figure","aria-label":d("training.result.scoreAria",{correct:p,total:h}),children:[t.jsx("span",{className:"trp-score__big",children:p}),t.jsx("span",{className:"trp-score__sep",children:"/"}),t.jsx("span",{className:"trp-score__total",children:h})]})})]}),g.length>0&&t.jsx("section",{className:"trp-result__body",children:t.jsxs("div",{className:`result-table${f?" result-table--answer":""}`,role:"table","aria-label":d("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[t.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[t.jsx("span",{role:"columnheader",children:d("common.col.problem","\uBB38\uC81C")}),f&&t.jsx("span",{role:"columnheader",children:d("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),t.jsx("span",{className:"col-right",role:"columnheader",children:d("training.result.colJudge","\uD310\uC815")})]}),g.map((C,b)=>t.jsxs("div",{className:"result-table__row",role:"row",children:[t.jsxs("div",{className:"trp-row__problem",children:[t.jsx("span",{className:"trp-row__no caption-1",children:String(b+1).padStart(2,"0")}),t.jsx("div",{className:"trp-row__q body-2",children:C.problem})]}),f&&t.jsxs("div",{className:"trp-row__answers",children:[C.answer!==null&&t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:d("training.result.colAnswer","\uC815\uB2F5")}),t.jsx("span",{className:"trp-row__answer-value body-2",children:C.answer})]}),t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${C.isCorrect?"is-correct":"is-wrong"}`,children:d("training.result.colSelected","\uC120\uD0DD")}),t.jsx("span",{className:`trp-row__answer-value body-2 ${C.isCorrect?"is-correct":"is-wrong"}`,children:C.selectedText??"\u2014"})]})]}),t.jsx("div",{className:"trp-row__judge",children:t.jsx(ut,{variant:C.variant,label:C.label,fill:"soft",minWidth:80})})]},b))]})})]})})}function wb(e){i.useEffect(()=>{if(!e)return;const n=new Date;return()=>{const a=new Date;a.getTime()-n.getTime()<5e3||km({trainingType:e,startedAt:n.toISOString(),endedAt:a.toISOString()})}},[e])}function jr(e,n){return e&&e.id||`page-${n??0}`}function Er(e,n){return e&&e.key||`step-${n??0}`}function ba(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function kb(e,n){return typeof e?.props=="function"?e.props(n)||{}:e?.props||{}}const xl=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]),Ab=e=>t.jsx(vl,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose});function Nb(e){const{scenario:n,title:a,subTitle:r,depth:o,icon:s,wrapperStyle:l,iconTooltip:c,pageIndex:d,pageCount:u,stepIndex:h,stepCount:p,onBack:m,onComplete:g,onNext:f,onSettings:C,useNoiseSetting:b=!0,children:y,ariaLabel:w,label:_,buildResults:v,onResult:D,typeKey:x,entryPoint:A,dailyTotal:M,itemRef:k,renderResultPopup:S,noiseOverride:H}=e;wb(x&&!xl.has(x)?x:"");const R=i.useRef(0);i.useEffect(()=>{R.current=Date.now()},[]);const{t:j}=me.useTranslation(),P=D,B=!!n,O=n?.id||null,Y=n?.meta||{},X=Array.isArray(n?.pages)?n.pages:[],Q=Array.isArray(y)||i.isValidElement(y)&&typeof y!="function"?i.Children.toArray(y).filter(i.isValidElement):[],E=Q.length>0,$=re=>re===ga||re?.__isTrainingPage===!0,L=E&&Q.some(re=>$(re.type)),V=L?Q.filter(re=>$(re.type)).map((re,F)=>{const Z=re.props||{};return{id:`children-page-${F}`,steps:i.Children.toArray(Z.children).filter(i.isValidElement),pageTop:Z.pageTop||Z.top||null,pageBottom:Z.pageBottom||Z.bottom||null}}):[{id:"children-page-0",steps:Q}],z=E&&!B&&typeof y!="function",J=z?Math.max(1,V.length):0;i.useEffect(()=>{if(!(typeof document>"u"||!document.body)&&!document.body.classList.contains("ihabdevteam-core-scope"))return document.body.classList.add("ihabdevteam-core-scope"),()=>{document.body.classList.remove("ihabdevteam-core-scope")}},[]),i.useEffect(()=>{if(typeof document>"u"||!document.body)return;const re=document.body;return re.dataset.ihabTrainingPopupCount=String(Number(re.dataset.ihabTrainingPopupCount||"0")+1),re.classList.add("ihab-training-popup-open"),()=>{const F=Number(re.dataset.ihabTrainingPopupCount||"1")-1;F>0?re.dataset.ihabTrainingPopupCount=String(F):(delete re.dataset.ihabTrainingPopupCount,re.classList.remove("ihab-training-popup-open"))}},[]),i.useEffect(()=>{if(!(typeof document>"u"||!document.body))return Og()},[]);const[I,U]=i.useState({...Zi,enabled:!1}),K=i.useRef(I);i.useEffect(()=>{K.current=I},[I]);const oe=i.useRef(H);i.useEffect(()=>{let re=!1;return Dm().then(F=>{if(re)return;const Z=F?{...K.current,...F}:{...Zi};K.current=Z,U(Z),Fa(Z);const le=oe.current;if(le){const be=typeof le=="function"?le(Z):le,ve={...Z,...be};K.current=ve,U(ve),Fa(ve)}}),()=>{re=!0}},[]);const[pe,fe]=i.useState(null),[ge,he]=i.useState(null),T=i.useCallback((re,F)=>{re==="main"?fe(F):he(F)},[]),q=i.useCallback(re=>{const F={...K.current,...re};K.current=F,U(F),oe.current||Sm(F),Fa(F)},[]),ee=I.mainSpeed,Ce=I.mainVolume,ie=i.useCallback(re=>q({mainSpeed:re}),[q]),ue=i.useCallback(re=>q({mainVolume:re}),[q]),se=i.useMemo(()=>({settings:I,setSettings:q,registerAnalyser:T,mainAnalyser:pe,noiseAnalyser:ge,playbackRate:ee,setPlaybackRate:ie,mainVolume:Ce,setMainVolume:ue}),[I,q,T,pe,ge,ee,ie,Ce,ue]),ae=i.useRef(null),[je,Fe]=i.useState("center"),[He,$e]=i.useState(!1),Ee=i.useRef(!1),De=i.useRef(null),ke=i.useCallback(re=>{Ee.current||(Ee.current=!0,$e(!0),De.current=setTimeout(re,nb))},[]);i.useEffect(()=>()=>{De.current&&clearTimeout(De.current)},[]),i.useEffect(()=>{const re=ae.current;if(!re)return;const F=Array.from(re.querySelectorAll(Vn)).filter(le=>!le.closest('[aria-hidden="true"]'))[0];if(F)try{F.focus()}catch{}const Z=le=>{if(le.key==="Escape"){le.preventDefault(),ke(()=>{typeof m=="function"&&m()});return}};return re.addEventListener("keydown",Z),()=>re.removeEventListener("keydown",Z)},[m,ke]),za(ae,!0);const[Pe,Ye]=i.useState(!1),xe=i.useRef(!1),[Oe,Se]=i.useState(null),[We,Xe]=i.useState(""),[qe,Re]=i.useState(()=>ba()),ot=i.useRef(typeof d=="number"?d:null);i.useEffect(()=>{!B&&!z||(Re(ba()),Se(null))},[B,O,z]),i.useEffect(()=>{z&&Re(re=>{const F=Math.max(0,Math.min(re.pageIndex,Math.max(0,J-1)));return F!==re.pageIndex?{...re,pageIndex:F,stepIndex:0}:re})},[z,J]);const pt=z?Math.max(0,Math.min(qe.pageIndex,J-1)):0,Ue=z?V[pt]:null,at=z&&Ue&&Array.isArray(Ue.steps)?Ue.steps:[],Be=B?qe.pageIndex:z?pt:typeof d=="number"?d:0,Me=B?X[Math.max(0,Math.min(qe.pageIndex,Math.max(0,X.length-1)))]:null,et=B&&Me&&Array.isArray(Me.steps)?Me.steps:[],tt=B?et.length:z?at.length:typeof p=="number"?p:0,Ze=B||z?Math.max(0,Math.min(qe.stepIndex,Math.max(0,tt))):typeof h=="number"?h:0,rt=B?X.length:z?J:typeof u=="number"?u:0;i.useLayoutEffect(()=>{const re=ot.current;if(typeof Be=="number"&&re!==null&&Be!==re&&Be>re)try{Xe(j("training.problemNotice",{n:Be+1}))}catch{}ot.current=typeof Be=="number"?Be:ot.current},[Be,d,j]),i.useLayoutEffect(()=>{const re=ae.current;if(!re)return;const F=()=>re.querySelector(".page-popup__scroll");let Z=null,le=null,be=null;const ve=we=>{const ze=F();if(!ze)return;const lt=ze.scrollHeight<=ze.clientHeight;if(Fe(lt?"center":"top"),we&&!xe.current){xe.current=!0;try{Ye(!0)}catch{}try{st.disconnect()}catch{}}},Ne=()=>{Z!==null&&cancelAnimationFrame(Z),Z=requestAnimationFrame(()=>{le!==null&&clearTimeout(le),le=setTimeout(()=>ve(!0),60)})},Le=()=>{be!==null&&cancelAnimationFrame(be),be=requestAnimationFrame(()=>ve(!1))};Ne(),window.addEventListener("resize",Le);const st=new MutationObserver(Ne);st.observe(re,{childList:!0,subtree:!0,attributes:!0});const ce=setTimeout(()=>{xe.current||ve(!0)},400);return()=>{window.removeEventListener("resize",Le),Z!==null&&cancelAnimationFrame(Z),le!==null&&clearTimeout(le),be!==null&&cancelAnimationFrame(be),clearTimeout(ce);try{st.disconnect()}catch{}}},[ae]);const Ct=i.useCallback(re=>{ae.current&&(ae.current._childOnNext=re)},[]),Pt=i.useCallback(re=>{ae.current&&(ae.current._childOnResult=re)},[]),Je=i.useCallback((re,F,Z)=>{Re(le=>{const be=le.answersByPage[re]||{},ve=be[F],Ne=Dr(Z),Le=Dr(ve);return ve&&Le>Ne?le:{...le,answersByPage:{...le.answersByPage,[re]:{...be,[F]:Z}}}})},[Re]),wt=i.useCallback((re,F,Z)=>{const le=jr(Me,Be),be=Er(re,F);Je(le,be,Z)},[Me,Be,Je]),Bt=i.useCallback((re,F,Z)=>{const le=jr(Me,Be),be=Er(re,F);Je(le,be,Z),!Z?.allowChange&&re?.autoAdvance!==!1&&Re(ve=>({...ve,stepIndex:Math.max(ve.stepIndex,F+1)}))},[Me,Be,Je,Re]),Et=i.useCallback((re,F)=>{const Z=Ue?.id||`children-page-${Be??0}`,le=typeof F=="number"?F:Ze??0,be=`step-${le}`;Je(Z,be,re),re?.allowChange||Re(ve=>({...ve,stepIndex:Math.max(ve.stepIndex,le+1)}))},[Ue,Be,Ze,Je,Re]),Qt=i.useCallback((re,F)=>{const Z=Ue?.id||`children-page-${Be??0}`,le=`step-${typeof F=="number"?F:Ze??0}`;Je(Z,le,re)},[Ue,Be,Ze,Je]),It=z?{currentPageIndex:Be??0,currentStepIndex:Ze??0,totalStepsInPage:at.length,handleStepDone:Et,handleStepChange:Qt}:null,Vt=async()=>{const re=typeof n?.buildResults=="function"?await Promise.resolve(n.buildResults({scenario:n,pages:X,flowState:qe,answersByPage:qe.answersByPage})):null;return typeof P=="function"&&await Promise.resolve(P(re))||re},en=async()=>{const re=Ue?.id||`children-page-${qe.pageIndex}`,F=qe.answersByPage[re]||{},Z=L?(()=>{const ve={};let Ne=0;return V.forEach(Le=>{const st=qe.answersByPage[Le.id]||{},ce=Array.isArray(Le.steps)?Le.steps.length:0;for(let we=0;we<ce;we+=1){const ze=st[`step-${we}`];typeof ze<"u"&&(ve[`step-${Ne+we}`]=ze)}Ne+=ce}),ve})():F;if(typeof v=="function"){const ve=await Promise.resolve(v(Z,{pageAnswers:F,answersByPage:qe.answersByPage,pages:V,currentPageId:re}));return typeof P=="function"&&await Promise.resolve(P(ve))||ve}const le=Object.entries(F).map(([ve,Ne],Le)=>({index:Le,key:ve,payload:Ne})),be={results:le,answers:le,score:0};return typeof P=="function"&&await Promise.resolve(P(be))||be},bt=()=>{try{if(typeof document<"u"&&document.body){try{document.dispatchEvent(new CustomEvent("speechear-close-tooltips"))}catch{}document.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0})),document.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}}catch{}if(B){const Z=Vt();Se({});const le=Z;Promise.resolve(le).then(be=>{Se(be||{isEmpty:!0})}).catch(be=>{Se({isEmpty:!0})});return}if(z){const Z=en();Se({});const le=Z;Promise.resolve(le).then(be=>{Se(be||{isEmpty:!0})}).catch(be=>{Se({isEmpty:!0})});return}const re=ae.current&&ae.current._childOnResult,F=Z=>{try{return Z?Z():void 0}catch{return}};if(typeof re=="function"){const Z=F(re);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:Ut&&Ut.tagName.toUpperCase()==="SCRIPT"&&Ut.src||new URL("components.cjs.js",document.baseURI).href}catch{}Z&&typeof Z.then!="function"?Se(Z):Se(Z&&typeof Z.then=="function"?{}:{}),Promise.resolve(Z).then(le=>{le&&Se(le)}).catch(le=>{});return}if(typeof P=="function"){const Z=F(P);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:Ut&&Ut.tagName.toUpperCase()==="SCRIPT"&&Ut.src||new URL("components.cjs.js",document.baseURI).href}catch{}Z&&typeof Z.then!="function"?Se(Z):Se(Z&&typeof Z.then=="function"?{}:{}),Promise.resolve(Z).then(le=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:Ut&&Ut.tagName.toUpperCase()==="SCRIPT"&&Ut.src||new URL("components.cjs.js",document.baseURI).href}catch{}le&&Se(le)}).catch(le=>{console.error("viewResults external handler failed",le)});return}},un=()=>{if(B){if(typeof Be=="number"&&typeof rt=="number"&&Be<rt-1){Re(F=>({...F,pageIndex:F.pageIndex+1,stepIndex:0}));return}return bt()}if(z){const F=at.length;if(typeof Ze=="number"&&Ze<F-1){Re(Z=>({...Z,stepIndex:Z.stepIndex+1}));return}if(typeof Be=="number"&&typeof rt=="number"&&Be<rt-1){Re(Z=>({...Z,pageIndex:Z.pageIndex+1,stepIndex:0}));return}return bt()}if(typeof f=="function"){try{f()}catch{}return}const re=ae.current&&ae.current._childOnNext;if(typeof re=="function"){try{re()}catch{}return}},yt=B?Y.title||Y.label||w||j("common.popup","\uD31D\uC5C5"):a||_||(Array.isArray(o)?o[o.length-1]:void 0)||w||j("common.popup","\uD31D\uC5C5"),Wt=B?Y.title??Y.label??yt:a??_??yt,dn=(re,F)=>{const Z=jr(Me,Be),le=Er(re,F),be=qe.answersByPage[Z]?.[le],ve=kb(re,{page:Me,pageIndex:Be,step:re,stepIndex:F,storedPayload:be,answersByPage:qe.answersByPage,flowState:qe}),Ne={key:le,index:F,stepIndex:Ze,isLast:F===et.length-1};switch(re?.type){case"listen":return t.jsx(kr,{...Ne,...ve,onDone:Le=>Bt(re,F,Le)});case"confirm":return t.jsx(_r,{...Ne,...ve,onDone:Le=>Bt(re,F,Le),onChange:Le=>wt(re,F,Le)});case"confirmWithText":return t.jsx(wr,{...Ne,...ve,onDone:Le=>Bt(re,F,Le),onChange:Le=>wt(re,F,Le)});case"orderList":return t.jsx(Ar,{...Ne,...ve,onDone:Le=>Bt(re,F,Le),onChange:Le=>wt(re,F,Le)});default:return null}},Ge=B?X.length>0?t.jsx("div",{className:"training-steps",children:et.map((re,F)=>dn(re,F))}):t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"pp-empty",children:n?.emptyMessage||j("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,Dt=z?t.jsxs(hl.Provider,{value:It,children:[Ue?.pageTop?t.jsx("div",{className:"training-page-top",children:Ue.pageTop}):null,t.jsx("div",{className:"training-steps",children:at.map((re,F)=>{const Z=re;return i.cloneElement(Z,{...Z.props,_stepIndex:F,_totalSteps:at.length,_stepKey:`step-${F}`,_pageIndex:Be})})}),Ue?.pageBottom?t.jsx("div",{className:"training-page-bottom",children:Ue.pageBottom}):null]}):null,ft=i.useCallback(()=>{let re;if(x){const F=Oe,Z=F?.results||F?.answers||[],le=Array.isArray(Z)&&Z.length>0?Z.length:null,be=Array.isArray(Z)?Z.filter(Ne=>Ne?.correct===!0||Ne?.isCorrect===!0||Ne?.score===1||Ne?.heard===!0||Ne?.judgement===!0).length:null,ve=le!=null?be:null;Am({items:Bm(Z),category:xl.has(x)?"sentence":"word",trainingType:x,entryPoint:A??"sentence",itemRef:k??null,correct:ve,total:le,score:typeof F?.score=="number"?F.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-R.current)/1e3)),dailyTotal:M??null}),re={correct:ve,total:le}}Se(null),ke(()=>{typeof g=="function"&&g(re),typeof m=="function"&&m()})},[g,m,x,A,M,k,Oe,Se,ke]),qt=i.useCallback(()=>Xe(""),[Xe]),Ft=i.useCallback(()=>{ke(()=>{typeof m=="function"&&m()})},[m,ke]),Ot=t.jsxs("div",{className:`page-popup${He?" page-popup--closing":""}`,role:"dialog","aria-modal":"true","aria-label":yt,children:[t.jsxs("div",{ref:ae,className:`page-popup__panel ${Pe?"":"page-popup__panel--measuring"} ${je==="center"?"page-popup__panel--center":je==="top"?"page-popup__panel--top":""}`,children:[t.jsx(ul,{title:Wt,subtitle:B?Y.subtitle||Y.label:Array.isArray(o)?o.join(" / "):void 0,desc:B?void 0:r,depth:B?Y.depth:o,icon:B?Y.icon:s,wrapperStyle:B?Y.wrapperStyle:l,iconTooltip:B?Y.iconTooltip:c,progressMax:rt,progressIndex:Be,pageIndex:Be,pageCount:rt,onBack:Ft,onClose:Ft}),t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:`page-popup__content ${je==="center"?"page-popup__content--center":"page-popup__content--top"}`,children:z?Dt:B?Ge:typeof y=="function"?y({registerOnNext:Ct,registerOnResult:Pt,panelRef:ae,setResultOverlay:Se}):y})}),t.jsx(cl,{onSettings:C,onNext:un,onResult:bt,useNoiseSettingBtn:!!(B?Y.useNoiseSetting??!0:b),stepIndex:Ze,stepCount:tt,pageIndex:Be,pageCount:rt})]}),Oe&&!Oe.isEmpty&&(S??Ab)({score:Oe.score,results:Oe.results||Oe.answers||[],contextsLength:Oe.results?Oe.results.length:Oe.answers?Oe.answers.length:0,onReplay:()=>{if(Se(null),B){if(Re(ba()),typeof n?.onReplay=="function")try{n.onReplay()}catch{}return}if(z){Re(ba());return}try{const re=ae.current&&ae.current._childOnResult;typeof re=="function"&&re({replay:!0})}catch{}},onClose:ft}),Oe?.isEmpty&&t.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:t.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"page-popup__empty",children:j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),t.jsx("div",{className:"page-popup__bottom",children:t.jsx(te,{variant:"main",size:48,onClick:ft,label:j("training.result.done","\uC644\uB8CC")})})]})}),t.jsx(Bn,{message:We,position:"top",onClose:qt})]}),Ht=t.jsx(Yi.Provider,{value:se,children:Ot});return typeof document<"u"&&document.body?Tt.createPortal(Ht,document.body):Ht}const cn=Nb;cn.Page=ga,cn.ListenStep=ml,cn.ConfirmStep=Cl,cn.ConfirmWithTextStep=fl,cn.OrderListStep=gl,cn.CardStep=bl,cn.CardOrderStep=xb;function Bb({label:e,homonum:n}){const a=kn()?.(e,n)??"",{imgRef:r,loading:o,hasImage:s,onLoad:l,onError:c}=ir(a);return s?t.jsxs("div",{className:"tooltip-word-image__cell",children:[o&&t.jsx("div",{className:"tooltip-word-image__spinner"}),t.jsx("img",{ref:r,src:a,alt:e,draggable:!1,style:{opacity:o?0:1},onLoad:l,onError:c})]}):t.jsx("div",{className:"tooltip-word-image__cell tooltip-word-image__cell--text h3",children:t.jsx("span",{children:e})})}function _l({words:e,anchorRect:n}){const a=i.useRef(null),[r,o]=i.useState(null);return i.useLayoutEffect(()=>{if(!n||!a.current)return;const{offsetWidth:s,offsetHeight:l}=a.current,c=window.innerWidth;let d=n.left+n.width/2-s/2,u=n.top-l-8;u<8&&(u=n.bottom+8),d=Math.max(8,Math.min(d,c-s-8)),o({left:d,top:u})},[n]),!n||e.length===0?null:Tt.createPortal(t.jsx("div",{ref:a,className:"tooltip-word-image",style:{visibility:r?"visible":"hidden",left:r?.left??0,top:r?.top??-9999},children:t.jsx("div",{className:"tooltip-word-image__cells",children:e.map(s=>t.jsx(Bb,{label:s.label,homonum:s.homonum},`${s.label}_${s.homonum??1}`))})}),document.body)}function Db({titleIcon:e,resultCount:n,resultUnit:a,searchQuery:r,items:o,groups:s,selected:l=[],onSelect:c,maxSelect:d,onClearSelection:u,onPrint:h,onPrintEmpty:p,className:m,emptyHint:g,sectionType:f="page",disc:C,notice:b}){const{t:y,i18n:w}=me.useTranslation(),_=w.language?.startsWith("ko")??!1,{anchorRect:v,openAt:D,close:x}=ia(),[A,M]=i.useState(null),k=i.useCallback(()=>{x(),M(null)},[x]);c0(k,!!A);const S=(r??"").trim(),H=/^[^,[\]\s]+$/.test(S)?S:"",R=H.length>0,[j,P]=i.useState("ganada"),[B,O]=i.useState("50"),[Y,X]=i.useState(1),[Q,E]=i.useState(R);Q!==R&&(E(R),P(R?"match":"ganada"));const $=j==="match"&&!R?"ganada":j,L=i.useMemo(()=>[...R?[{value:"match",label:y("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],{value:"ganada",label:y("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:y("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:y("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:y("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:y("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:y("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[y,R]),V=i.useMemo(()=>["10","25","50","100"].map(ue=>({value:ue,label:y("wordSearch.pageSize",{count:Number(ue),defaultValue:`${ue}\uAC1C\uC529 \uBCF4\uAE30`})})),[y]),z=ue=>ue.words[0],J=i.useCallback((ue,se)=>{const ae=He=>z(He)?.label??"",je=He=>z(He)?.syllables??[...ae(He)].length,Fe=He=>{const $e=parseInt(z(He)?.grade??"",10);return Number.isFinite($e)?$e:999};switch($){case"match":{const He=[...H].length,$e=Ee=>cm(ae(Ee).slice(0,He),H)?0:1;return $e(ue)-$e(se)||ae(ue).localeCompare(ae(se),"ko")}case"ganada":return ae(ue).localeCompare(ae(se),"ko");case"ganada_desc":return ae(se).localeCompare(ae(ue),"ko");case"syllable":return je(ue)-je(se)||ae(ue).localeCompare(ae(se),"ko");case"syllable_desc":return je(se)-je(ue)||ae(ue).localeCompare(ae(se),"ko");case"grade":return Fe(ue)-Fe(se)||ae(ue).localeCompare(ae(se),"ko");case"grade_desc":return Fe(se)-Fe(ue)||ae(ue).localeCompare(ae(se),"ko");default:return 0}},[$,H]),I=i.useMemo(()=>o.slice().sort(J),[o,J]),U=Number(B)||10,K=i.useMemo(()=>(s??[]).flatMap(ue=>ue.items.slice().sort(J).map(se=>({item:se,label:ue.label}))),[s,J]),oe=s?K.length:I.length,pe=Math.max(1,Math.ceil(oe/U)),fe=Math.min(Y,pe),ge=i.useMemo(()=>I.slice((fe-1)*U,fe*U),[I,fe,U]),he=i.useMemo(()=>{if(!s)return null;const ue=K.slice((fe-1)*U,fe*U),se=new Map;for(const{item:ae,label:je}of ue)se.has(je)||se.set(je,[]),se.get(je).push(ae);return[...se.entries()].map(([ae,je])=>({label:ae,items:je}))},[s,K,fe,U]);i.useEffect(()=>{X(1)},[j,B,oe]);const T=oe>0?t.jsxs("div",{className:"word-search-result-block__toolbar",children:[t.jsx(Rt,{size:40,options:L,value:$,onChange:P,ariaLabel:y("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),t.jsx(Rt,{size:40,options:V,value:B,onChange:O,ariaLabel:y("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),t.jsx(ca,{page:fe,totalPages:pe,onChange:X})]}):void 0,q=ue=>{c&&c(ue)},ee=n!==void 0&&a?t.jsxs(t.Fragment,{children:[y("wordSearch.resultTitlePrefix","\uCD1D "),t.jsx("span",{style:{color:"var(--color-main)"},children:n}),y("wordSearch.resultTitleSuffix",{unit:_?bm(a):a})]}):void 0,Ce=n!==void 0&&n>0&&d!==void 0&&a?y("wordSearch.resultDisc",{unit:_?vm(a):a,max:d,selected:l.length}):void 0,ie=C??(b?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"word-search-result-block__notice",children:b}),Ce?t.jsx("span",{className:"word-search-result-block__disc",children:Ce}):null]}):Ce);return t.jsxs(Dn,{type:f,icon:e,title:ee,action:T,disc:ie,className:ye("word-search-result-block",m),children:[t.jsxs("div",{className:"word-search-result-block__inner",children:[(s?s.length===0:o.length===0)&&t.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[t.jsx("p",{className:"word-search-result-block__empty body-3",children:y("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),g&&t.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:g})]}),s?(he??[]).map(ue=>t.jsx("div",{className:"word-search-result-block__group",children:t.jsx("div",{className:"word-search-result-block__items",children:ue.items.map(se=>{const ae=l.includes(se.id);return t.jsx("div",{onMouseEnter:je=>{D(je.currentTarget),M(se.words)},onMouseLeave:k,children:t.jsx(te,{size:"word",align:"grid",label:se.words.map(je=>je.label),subLabel:se.words.map(je=>je.subLabel).filter(Boolean).length>0?se.words.map(je=>je.subLabel):void 0,selected:ae,onClick:()=>q(se.id),minWidth:200})},se.id)})})},ue.label)):t.jsx("div",{className:"word-search-result-block__items",children:ge.map(ue=>{const se=l.includes(ue.id);return t.jsx("div",{onMouseEnter:ae=>{D(ae.currentTarget),M(ue.words)},onMouseLeave:k,children:t.jsx(te,{size:"word",align:"grid",label:ue.words.map(ae=>ae.label),subLabel:ue.words.map(ae=>ae.subLabel).filter(Boolean).length>0?ue.words.map(ae=>ae.subLabel):void 0,selected:se,onClick:()=>q(ue.id),minWidth:200})},ue.id)})}),A&&v&&t.jsx(_l,{words:A,anchorRect:v})]}),pe>1&&t.jsx("div",{className:"word-search-result-block__pagination-bottom",children:t.jsx(ca,{page:fe,totalPages:pe,onChange:X})}),(u||h)&&t.jsxs("div",{className:"word-search-result-block__actions",children:[u&&t.jsx(te,{size:"56",type:"bar",label:y("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:l.length===0,onClick:l.length===0?void 0:u}),h&&t.jsx("div",{onClick:l.length===0?p:void 0,children:t.jsx(te,{size:"56",type:"bar",variant:"main",label:y("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:l.length===0,onClick:l.length===0?void 0:h})})]})]})}function Sb(e,n){return n.map(a=>{const r=typeof a=="string"?a:a.label,o=typeof a=="string"?void 0:a.displayLabel;return{label:r,value:e[r]??"",displayLabel:o}})}function jb({sections:e,selectedList:n,count:a,onCountChange:r,maxCount:o=4,minCount:s=1,combinationSections:l,combinationSectionsForSlot:c,onSelect:d,placeholder:u="-",className:h,title:p,titleIcon:m,disc:g,showInfoButton:f=!1,onClearPhoneme:C,onSearch:b,onSearchEmpty:y,searchDisabled:w=!1,searchLabel:_,searchChecking:v=!1,pairMode:D=!1,sectionType:x="page",beforeSearchContent:A,beforeContent:M,afterContent:k,hideCountControl:S=!1,ordinal:H=!1}){const{t:R}=me.useTranslation(),j=i.useMemo(()=>R("wordPairs.infoNotes",{returnObjects:!0}),[R]),P=i.useMemo(()=>Array.from({length:o-s+1},(I,U)=>{const K=s+U;return{key:String(K),label:R("wordPairs.count",{n:K})}}),[R,o,s]),B=i.useMemo(()=>R("wordPairs.ordinals",{returnObjects:!0}),[R]),O=i.useCallback(I=>H?R("wordPairs.phonemeOrdinalLabel",{ordinal:B[I-1]??I}):a===1?R("wordPairs.phonemeSingleLabel","\uC74C\uC808"):R("wordPairs.phonemeN",{n:I}),[H,B,a,R]),Y=i.useCallback(I=>H?R("wordPairs.phonemeContrastOrdinalLabel",{ordinal:B[I-1]??I}):a===1?R("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):R("wordPairs.phonemeContrast",{n:I}),[H,B,a,R]),X=i.useCallback((I,U)=>U?t.jsxs(t.Fragment,{children:[I,t.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):I,[]),{anchorRect:Q,toggleAt:E,close:$}=ia(),L=i.useCallback(I=>r(Number(I)),[r]),V=Gt("(max-width: 767px)"),z=i.useCallback(I=>Sb(I,e).map(({label:U,value:K,displayLabel:oe})=>{const pe=!!K&&K!=="\uC5C6\uC74C";return t.jsxs("span",{className:ye("phoneme-select-block__cell-jamo-part",K?"":"phoneme-select-block__cell-jamo-part--empty",pe?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[t.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${K==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:K==="\uC5C6\uC74C"?"x":K||u}),pe&&t.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:oe??U})]},U)}),[e,u]),J=t.jsxs(t.Fragment,{children:[t.jsx("div",{"data-tooltip-ignore":!0,children:t.jsx(te,{size:40,type:V?"dot":void 0,icon:"info",label:V?void 0:R("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),selected:!!Q,onClick:I=>E(I.currentTarget)})}),Q&&t.jsx(fn,{title:R("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:j,anchorRect:Q,onClose:$})]});return t.jsxs(Dn,{type:x,title:p,icon:m,disc:g,action:J,className:ye("phoneme-select-block",h),children:[M,(!S||f&&!(p||g))&&t.jsxs("div",{className:"phoneme-select-block__controls",children:[!S&&t.jsx(yn,{options:P,value:String(a),onChange:L,size:40,className:"phoneme-select-block__count-control"}),f&&!(p||g)&&J]}),t.jsx("div",{className:"phoneme-select-block__cells",children:D?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:z(K)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:O(U+1)})]},U)})}),t.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:R("wordPairs.phonemeSelect.vs","\uB300")}),t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2+1]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:z(K)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:Y(U+1)})]},U)})})]}):n.map((I,U)=>t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:z(I)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:O(U+1)})]},U))}),(l||c)&&t.jsx("div",{className:"phoneme-select-block__panels",children:t.jsx("div",{className:"phoneme-select-block__detail",children:D?t.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2]??{};return t.jsx(Jt,{title:X(O(U+1),U===0),sections:c?c(K,U*2):l,selected:K,onSelect:d?.(U*2),align:"newline"},U)})}),t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2+1]??{};return t.jsx(Jt,{title:Y(U+1),sections:c?c(K,U*2+1):l,selected:K,onSelect:d?.(U*2+1),align:"newline"},U)})})]}):n.map((I,U)=>t.jsx(Jt,{title:X(O(U+1),U===0),sections:c?c(I,U):l,selected:I,onSelect:d?.(U),align:"newline"},U))})}),A&&t.jsx("div",{className:"phoneme-select-block__before-search",children:A}),(C||b||v)&&(()=>{const I=n.every(U=>Object.entries(U).every(([K,oe])=>!oe||K==="\uC885\uC131"&&oe==="\uC5C6\uC74C"));return t.jsxs("div",{className:"phoneme-select-block__search-row",onClick:I?y:void 0,children:[C&&t.jsx(te,{size:"56",type:"bar",label:R("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:I,onClick:I?void 0:C}),v?t.jsxs("div",{className:"phoneme-select-block__checking",children:[t.jsx("div",{className:"phoneme-select-block__spinner"}),t.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:_??R("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):b&&t.jsx(te,{size:"56",type:"bar",variant:"main",label:_??R("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:I||w,onClick:I||w?void 0:b})]})})(),k]})}function Eb({title:e,sections:n,selected:a,onSelect:r,className:o}){const{t:s}=me.useTranslation();return t.jsx(Jt,{className:o,title:e??s("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:n,selected:a,onSelect:r,align:"inline"})}function Tb({title:e,headerAction:n,sections:a,selected:r,onSelect:o,className:s}){const{t:l}=me.useTranslation();return a.length===0?null:t.jsx(Jt,{className:s,title:e??l("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:n,sections:a,selected:r,onSelect:o,align:"newline"})}function Mb({title:e,mode:n,onModeChange:a,matchMode:r,onMatchModeChange:o,positionCount:s,onPositionCountChange:l,inputMode:c,onInputModeChange:d,className:u}){const{t:h}=me.useTranslation(),p={searchMode:h("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:h("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:h("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:h("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:h("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:h("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:h("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:h("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:h("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:h("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:h("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=b=>h("wordPairs.count",{n:b}),g=[{label:p.searchMode,items:[p.include,p.pick,p.explicit],display:"segmented",labelAction:t.jsx(Kn,{title:h("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[h("wordPairs.mode.infoInclude","\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."),h("wordPairs.mode.infoPick","\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694."),h("wordPairs.mode.infoContrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.")]})},{label:p.phonemeOrder,items:[p.orderAny,p.orderMatch],display:"segmented",labelAction:t.jsx(Kn,{items:h("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:p.count,items:[m(1),m(2)],display:"segmented"},{label:p.inputMode,items:[p.charInput,p.pronInput],display:"segmented",labelAction:t.jsx(Kn,{title:h("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[h("wordPairs.input.infoChar","\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."),h("wordPairs.input.infoPron","\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.")]})}],f={[p.searchMode]:n==="explicit"?p.explicit:n==="pick"?p.pick:p.include,[p.phonemeOrder]:r==="ordered"?p.orderMatch:p.orderAny,[p.count]:m(s),[p.inputMode]:c==="phoneme"?p.pronInput:p.charInput},C=(b,y)=>{y===p.searchMode?a(b===p.explicit?"explicit":b===p.pick?"pick":"include"):y===p.phonemeOrder?o(b===p.orderMatch?"ordered":"unordered"):y===p.count?l(b===m(2)?2:1):y===p.inputMode&&d(b===p.pronInput?"phoneme":"word")};return t.jsx(Jt,{className:u,title:e??h("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:g,selected:f,onSelect:C,align:"inline"})}function Lb(e){const{title:n,items:a,columns:r,gridTemplateColumns:o,searchPlaceholder:s,searchFn:l,defaultSortKey:c,defaultSortAsc:d=!0,selectedId:u,selectedIds:h,onSelect:p,onClose:m,pageSizeOptions:g=[10,25,50,100],initialPageSize:f,emptyText:C,countLabel:b,topContent:y,className:w=""}=e,{t:_}=me.useTranslation(),v=s??_("common.search","\uAC80\uC0C9"),D=C??_("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),[x,A]=i.useState(""),[M,k]=i.useState(c??r[0]?.key??""),[S,H]=i.useState(d),[R,j]=i.useState(String(f??g[0]??10)),[P,B]=i.useState(1);i.useEffect(()=>{B(1)},[x,R]);const O=l!==null,Y=i.useCallback((I,U)=>{if(!U)return!0;const K=U.toLowerCase();return r.some(oe=>{const pe=I[oe.key];return pe==null?!1:String(pe).toLowerCase().includes(K)})},[r]),X=l??Y,Q=i.useMemo(()=>{const I=O?a.filter(U=>X(U,x)):a;return M?[...I].sort((U,K)=>{const oe=U[M]??"",pe=K[M]??"";if(oe===pe)return 0;const fe=p4(oe,pe);return S?fe:-fe}):I},[a,x,M,S,O,X]),E=Math.max(1,Math.ceil(Q.length/Number(R))),$=Q.slice((P-1)*Number(R),P*Number(R)),L=i.useCallback(I=>{M===I?H(U=>!U):(k(I),H(!0))},[M]),V=i.useMemo(()=>{if(typeof b=="string"&&b.includes("{n}")){const[I,U]=b.split("{n}");return{prefix:I,suffix:U}}return{prefix:_("common.totalCountPrefix","\uCD1D "),suffix:_("common.totalCountSuffix","\uAC1C")}},[b,_]),z=i.useMemo(()=>r.map(I=>({label:I.label,onClick:I.sortable!==!1?()=>L(I.key):void 0,className:I.className,sortDir:I.sortable!==!1&&M===I.key?S?"asc":"desc":null})),[r,M,S,L]),J=i.useMemo(()=>g.map(I=>({value:String(I),label:_("common.pageSizeLabel",{n:I})})),[g,_]);return t.jsxs(sn,{className:`popup-list ${w}`,title:n,onClose:m,children:[y,t.jsx(Qa,{count:{value:Q.length,prefix:V.prefix,suffix:V.suffix},search:O?{value:x,onChange:A,placeholder:v}:void 0,pageSize:{options:J,value:R,onChange:j},pagination:{page:P,total:E,onChange:B}}),t.jsx(or,{size:"medium",gridTemplateColumns:o,resizable:!0,fields:z,items:$,onRowClick:p,renderRow:I=>{const U=h!=null?I.id!=null&&h.has(I.id):u!=null&&I.id===u;return r.map(K=>({content:K.render?K.render(I):I[K.key]??"",className:U?"popup-list__row--selected":K.className}))},empty:D})]})}function $b(e){const{title:n,message:a,topContent:r,details:o,children:s,confirmLabel:l,cancelLabel:c,hideCancel:d=!1,extraAction:u,confirmVariant:h="main",confirmDisabled:p=!1,onConfirm:m,closeOnConfirm:g=!0,onClose:f,inline:C,size:b="small",className:y}=e,{t:w}=me.useTranslation(),_=i.useRef(!1),[v,D]=i.useState(!1);return t.jsxs(sn,{title:n,onClose:f,closeDisabled:v,inline:C,size:b,className:ye("confirm-popup",y),buttons:[...u?[{label:u.label,variant:u.variant??"default",disabled:u.disabled||v,onClick:async({closeWithAnimation:x})=>{if(!_.current){_.current=!0,D(!0);try{await u.onClick(x),(u.closeOnClick??!0)&&x()}finally{_.current=!1,D(!1)}}}}]:[],...d?[]:[{label:c??w("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:v,onClick:({closeWithAnimation:x})=>x()}],{label:l??w("common.confirm","\uD655\uC778"),variant:h,disabled:p||v,onClick:async({closeWithAnimation:x})=>{if(!_.current){_.current=!0,D(!0);try{await m(x),g&&x()}finally{_.current=!1,D(!1)}}}}],children:[r!=null&&t.jsx("div",{className:"confirm-popup__top",children:r}),o&&o.length>0&&t.jsx(fa,{children:o.map((x,A)=>t.jsx(ln,{label:x.label,children:t.jsx("span",{className:"panel-row__text body-2",children:x.value})},A))}),t.jsx("p",{className:"body-2 confirm-popup__message",children:a}),s]})}function Rb({onApply:e,onCancel:n}){const{t:a}=me.useTranslation(),[r,o]=i.useState(""),[s,l]=i.useState(!1),[c,d]=i.useState(null),u=i.useRef(null);i.useEffect(()=>{u.current?.focus()},[]);const h=i.useCallback(async g=>{const f=r.trim();if(f){l(!0),d(null);try{await e(f),g()}catch(C){d(Fo(C)),l(!1)}}},[r,e]),p=i.useCallback((g,f)=>{g.key==="Enter"&&h(f)},[h]),m=g=>{o(g.target.value),d(null)};return t.jsx(sn,{className:"coupon-input-popup",title:a("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:n,closeDisabled:s,buttons:[{label:a("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:s,onClick:({closeWithAnimation:g})=>g()},{label:a("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!r.trim()||s,onClick:({closeWithAnimation:g})=>{h(g)}}],children:({closeWithAnimation:g})=>t.jsxs(t.Fragment,{children:[t.jsx("input",{ref:u,className:"coupon-input-popup__input body-2","aria-label":a("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),placeholder:a("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:r,onChange:m,onKeyDown:f=>p(f,g),disabled:s,autoComplete:"off",spellCheck:!1}),c&&t.jsx("p",{className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}const Pb=200;function Ib(e){return e.itemId?(Fm()[e.trainingType]??[]).find(n=>n?.id!=null&&String(n.id)===String(e.itemId))??null:null}function Fb({plan:e,anchorRect:n,offset:a=12,onClose:r}){const{t:o}=me.useTranslation(),s=i.useMemo(()=>Om.map(c=>({type:c,items:(e.items??[]).filter(d=>d.trainingType===c.key)})).filter(c=>c.items.length>0),[e.items]);if(s.length===0)return null;const l=t.jsx("div",{className:"tooltip-training__box",children:t.jsx("div",{className:"tooltip-training__groups",children:s.flatMap(({type:c,items:d},u)=>[u>0?t.jsx("div",{className:"tooltip-training__divider"},`div-${c.key}`):null,t.jsxs("div",{className:"tooltip-training__section",children:[t.jsx("div",{className:"tooltip-training__section-header",children:t.jsx("span",{className:"tooltip-training__type-label body-3b",children:c.label})}),t.jsx("div",{className:"tooltip-training__items",children:d.map((h,p)=>{const m=Ib(h);return m?t.jsx(sr,{index:p,type:c,trainingData:m,size:"compact",hideCheckBadge:!0},h.itemId??p):null})})]},c.key)])})});return n?t.jsx(nn,{anchorRect:n,offset:a,onClose:r,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:o("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:l}):l}const wl=["var(--color-main)","var(--color-sub)"];function kl({active:e=!1,count:n=40,duration:a=2e3,strength:r=1,onComplete:o,trigger:s=0}){const l=i.useMemo(()=>{const C=Math.floor(n/2),b=n-C,y=(w,_)=>Array.from({length:w}).map((v,D)=>{const x=6+Math.random()*12,A=Math.round(Math.min(18,x*Math.min(1.5,1+r*.4))),M=wl[Math.floor(Math.random()*wl.length)],k=Math.random()*300,S=(360+Math.random()*260)*r*1.2,H=(_==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,R=Math.cos(H)*S,j=Math.sin(H)*S*1.35,P=Math.random()*720-360,B=(1200+Math.random()*3e3)*Math.min(1.6,1+r*.3),O=Math.random()>.7?"50%":"3px";return{id:`${_}-${D}`,side:_,size:A,color:M,delay:k,vx:R,vy:j,angularVel:P,life:B,borderRadius:O}});return[...y(C,"left"),...y(b,"right")]},[n,r]),c=i.useRef(null),d=i.useRef({}),u=i.useRef(null),h=i.useRef(o);i.useEffect(()=>{h.current=o},[o]);const p=i.useRef(null),m=i.useRef(null),g=()=>{if(typeof document>"u")return null;let C=document.querySelector("[data-ihab-effect-root]");return C||(C=document.createElement("div"),C.className="app-effect",C.dataset.ihabEffectRoot="",C.style.position="fixed",C.style.inset="0",C.style.pointerEvents="none",C.style.zIndex="99998",document.body.appendChild(C)),C};if(typeof document<"u"&&m.current==null&&(m.current=g()),i.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){h.current?.();return}const C=1200,b=performance.now(),y=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,w=Math.max(60,(window.innerHeight||800)*.05),_=E=>Math.max(40,(E||window.innerWidth)*.02),v=y?.width||window.innerWidth||375,D=y?.height||window.innerHeight||812,x=E=>{const $=[...E].sort((L,V)=>L-V);return $[Math.floor($.length/2)]||1},A=x(l.map(E=>Math.abs(E.vy))),M=x(l.map(E=>Math.abs(E.vx))),k=Math.sqrt(2*C*(D*.72+w))/A,S=A*k/C,H=v*.5/(M*S),R=(E,$,L)=>Math.min(L,Math.max($,E)),j=R(k,.8,2.4),P=R(H,.7,2.2),B=l.map(E=>({...E,vx:E.vx*P,vy:E.vy*j,startTime:b+E.delay,ended:!1})),O=y?{x:y.left-_(y.width),y:y.top+y.height+w}:{x:-_(window.innerWidth),y:window.innerHeight+w},Y=y?{x:y.left+y.width+_(y.width),y:y.top+y.height+w}:{x:window.innerWidth+_(window.innerWidth),y:window.innerHeight+w},X=E=>{let $=!1;for(const L of B){const V=d.current[L.id];if(!V||!V)continue;if(E<L.startTime){V.style.display="none";continue}if(!L._inited){const he=L.side==="left"?O.x:Y.x,T=L.side==="left"?O.y:Y.y;V.style.left=`${he}px`,V.style.top=`${T}px`,V.style.transform="translate3d(0px, 0px, 0)",V.style.display="block",V.style.zIndex="100000";try{if(typeof window<"u"&&typeof L.color=="string"&&L.color.startsWith("var(")){const q=L.color.slice(4,-1).trim(),ee=getComputedStyle(document.documentElement).getPropertyValue(q).trim();ee?V.style.background=ee:V.style.background="#FF0060"}}catch{}L._inited=!0}const z=(E-L.startTime)/1e3;if(z<0)continue;const J=L.life/1e3;if(z>=J){V.style.opacity="0",V.style.display="none",L.ended=!0;continue}$=!0;const I=L.side==="left"?O.x:Y.x,U=L.side==="left"?O.y:Y.y,K=I+L.vx*z,oe=U+L.vy*z+.5*C*z*z,pe=(L.angularVel||0)*z,fe=K-I,ge=oe-U;V.style.transform=`translate3d(${fe}px, ${ge}px, 0) rotate(${pe}deg)`,V.style.opacity=`${Math.max(0,1-z/J)}`}$?u.current=requestAnimationFrame(X):h.current?.()};u.current=requestAnimationFrame(X);const Q=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const E=document.createElement("div");E.className="party-container",E.style.position="fixed",E.style.inset="0",E.style.pointerEvents="none",E.style.overflow="visible",E.style.zIndex="2147483647";for(const $ of l){const L=document.createElement("span");L.className=`confetti confetti--${$.side}`,L.setAttribute("aria-hidden","true"),L.style.display="none",L.style.position="fixed",L.style.left="0px",L.style.top="0px",L.style.width=`${$.size}px`,L.style.height=`${Math.max(4,$.size*.6)}px`;let V=$.color;try{if(typeof V=="string"&&V.startsWith("var(")){const z=V.slice(4,-1).trim(),J=getComputedStyle(document.documentElement).getPropertyValue(z).trim();J&&(V=J)}}catch{}L.style.background=V,L.style.borderRadius=$.borderRadius,L.style.transform="translate3d(0,0,0)",L.style.opacity="0",E.appendChild(L),d.current[$.id]=L}(document.body||m.current).appendChild(E),p.current=E}}catch{}},300);return()=>{if(u.current&&cancelAnimationFrame(u.current),clearTimeout(Q),p.current){try{p.current.remove()}catch{}p.current=null}}},[e,a,s,l]),!e)return null;const f=t.jsx("div",{className:"party-container",ref:c,children:l.map(C=>t.jsx("span",{"aria-hidden":!0,ref:b=>{d.current[C.id]=b},className:`confetti confetti--${C.side}`,style:{width:`${C.size}px`,height:`${Math.max(4,C.size*.6)}px`,background:C.color,borderRadius:C.borderRadius}},`${C.id}-${s}`))});return typeof document<"u"?Tt.createPortal(f,m.current||document.body):f}function Ob({trigger:e=0,active:n=!1}){const a=i.useRef(0);return i.useEffect(()=>{a.current=e},[e]),t.jsx(kl,{active:n,trigger:e})}function Hb({title:e,sub:n,rightAction:a,titleAction:r,badge:o,badgeVariant:s="default",documentTitle:l,onBack:c,backLabel:d}){const{t:u}=me.useTranslation();Qm(typeof e=="string"?e:l??null);const h=d??u("common.back","\uB4A4\uB85C");return t.jsxs("div",{className:"page-title",children:[t.jsxs("div",{className:"page-title__main",children:[t.jsxs("div",{className:"page-title__title-row",children:[c&&t.jsx(te,{className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:h,showTooltipInfo:h,onClick:c}),t.jsx("h1",{className:"page-title__title h1",children:e}),o&&t.jsx("div",{className:"page-title__badge",children:t.jsx(ut,{label:o,size:"small",variant:s,fill:"outline"})}),r?t.jsx("div",{className:"page-title__title-action",children:r}):null]}),n&&t.jsx("p",{className:"page-title__sub body-2",children:n})]}),a?t.jsx("div",{className:"page-title__action",children:a}):null]})}function zb(e){return e??""}const Al=i.createContext({words:[],loading:!1});function Vb(){return i.useContext(Al)}function Wb({words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:s,progress:l,clearAndRefetch:c,checkRemoteVersion:d,children:u}){return t.jsx(Al.Provider,{value:{words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:s,progress:l,clearAndRefetch:c,checkRemoteVersion:d},children:u})}function qb({items:e,actions:n,columns:a,flat:r=!1,className:o,style:s}){const l=a??e.length;return t.jsx("section",{className:ye("summary-strip",r&&"summary-strip--flat",o),style:{"--summary-strip-cols":String(l),...s},children:t.jsxs("div",{className:"summary-strip__row",children:[t.jsx("div",{className:"summary-strip__items",children:e.map((c,d)=>t.jsxs("div",{className:"summary-strip__item",children:[t.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),t.jsx("p",{className:"summary-strip__value body-3b",children:c.value})]},d))}),n&&t.jsx("div",{className:"summary-strip__actions",children:n})]})})}const Ub=(e,n)=>`${e} / ${n}`;function Gb({blocks:e,sectionTitles:n,logo:a,footer:r,pageLabel:o=Ub,pageWidth:s,pageHeight:l,margin:c,className:d,style:u}){const{t:h}=me.useTranslation(),p=i.useRef(null),m=i.useRef(null),g=i.useRef(null),f=i.useRef(null),[C,b]=i.useState(null),[y,w]=i.useState(!1);i.useEffect(()=>{const S=p.current;if(!S)return;const H=()=>w(S.scrollWidth>S.clientWidth+1);if(H(),typeof ResizeObserver>"u")return;const R=new ResizeObserver(H);return R.observe(S),()=>R.disconnect()},[C]);const _=e.map(S=>`${S.id}\0${S.section??""}\0${S.group??""}`).join("");i.useLayoutEffect(()=>{const S=m.current,H=f.current;if(!S||!H)return;const R=g.current?.offsetHeight??0,j=H.offsetHeight-R,P=Array.from(S.children).map(E=>E.offsetHeight),B=[];e.forEach((E,$)=>{const L=B[B.length-1],V=L?e[L[0]]:void 0;V&&E.group!=null&&V.group===E.group?L.push($):B.push([$])});const O=[];let Y=[],X=0;const Q=()=>{Y.length&&O.push(Y),Y=[],X=0};B.forEach(E=>{const $=E.reduce((L,V)=>L+P[V],0);Y.length&&e[Y[0]].section!==e[E[0]].section&&Q(),Y.length&&X+$>j&&Q(),$>j?E.forEach(L=>{Y.length&&X+P[L]>j&&Q(),Y.push(L),X+=P[L]}):(E.forEach(L=>Y.push(L)),X+=$)}),Q(),b(O)},[_]);const v=Ja,D=v,x=r??t.jsxs(t.Fragment,{children:[t.jsx("img",{src:D,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),A=(S,H,R)=>({header:t.jsxs("div",{className:"report-doc__header",children:[t.jsx("h2",{className:"report-doc__title h3b",children:R!=null&&n?.[R]||null}),a]}),footer:t.jsxs("div",{className:"report-doc__footer caption-1",children:[t.jsx("span",{className:"report-doc__footer-left",children:x}),t.jsx("span",{className:"report-doc__page-no",children:o(S,H)})]})}),M=A(1,1,e[0]?.section),k={...s?{"--report-page-w":s}:null,...l?{"--report-page-h":l}:null,...c?{"--report-margin":c}:null,...u};return t.jsxs("div",{ref:p,className:ye("report-doc",d),style:k,tabIndex:y?0:void 0,role:y?"group":void 0,"aria-label":y?h("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[t.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[t.jsx("div",{ref:f,className:"report-doc__ruler"}),t.jsxs("div",{ref:g,children:[M.header,M.footer]}),t.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(S=>t.jsx("div",{children:S.content},S.id))})]}),C&&t.jsx("div",{className:"report-doc__pages",children:C.map((S,H)=>{const{header:R,footer:j}=A(H+1,C.length,e[S[0]].section);return t.jsxs("section",{className:"report-doc__page",children:[R,S.map(P=>t.jsx("div",{children:e[P].content},e[P].id)),j]},H)})})]})}function Kb({title:e,fields:n,columns:a=4,className:r,style:o}){return t.jsxs("div",{className:ye("report-info",r),style:{"--report-info-cols":String(a),...o},children:[e&&t.jsx("p",{className:"report-info__title h5b",children:e}),t.jsx("div",{className:"report-info__grid",children:n.map((s,l)=>t.jsxs("div",{className:"report-info__field body-2",children:[t.jsx("span",{className:"report-info__label body-3",children:s.label}),t.jsx("span",{className:"report-info__value",children:s.value})]},l))})]})}function Zb({title:e,message:n,actionLabel:a,onAction:r,icon:o,onClose:s,className:l=""}){const{t:c}=me.useTranslation(),d=a??c("common.update","\uC5C5\uB370\uC774\uD2B8");return t.jsxs("div",{className:ye("update-alert",l),role:"alert",children:[s&&t.jsx("button",{type:"button",className:"update-alert__close",onClick:s,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),t.jsxs("div",{className:"update-alert__top",children:[t.jsx("div",{className:"update-alert__icon",children:o??t.jsx(Kr,{size:20,strokeWidth:2})}),t.jsxs("div",{className:"update-alert__body",children:[t.jsx("div",{className:"update-alert__title h4",children:e}),t.jsx("div",{className:"update-alert__message body-3",children:n})]})]}),r&&t.jsx(te,{size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:r,children:d})]})}function Yb({title:e,description:n,topActions:a,children:r,footerLeft:o,footerRight:s,onClick:l,draggable:c,onDragStart:d,onDragEnd:u,className:h}){const p=o!=null||s!=null,m=r!=null&&r!==!1,g=i.useCallback(f=>{l&&f.target===f.currentTarget&&(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),l())},[l]);return t.jsxs("div",{className:ye("training-card",l?"training-card--clickable":"",h),onClick:l,onKeyDown:l?g:void 0,role:l?"button":void 0,tabIndex:l?0:void 0,draggable:c,onDragStart:d,onDragEnd:u,children:[t.jsxs("div",{className:"training-card__header",children:[t.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?t.jsx("h3",{className:"training-card__title h4",children:e}):e,a!=null&&t.jsx("div",{className:"training-card__top-actions",onClick:f=>f.stopPropagation(),children:a})]}),n!=null?typeof n=="string"?t.jsx("p",{className:"training-card__description body-3",children:n}):n:t.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),m&&t.jsx("div",{className:"training-card__body",children:r}),p&&t.jsxs("div",{className:"training-card__footer",children:[o!=null&&t.jsx("div",{className:"training-card__footer-left",children:o}),s!=null&&t.jsx("div",{className:"training-card__meta",children:s})]})]})}function Xb({title:e,count:n,collapsed:a=!1,onToggle:r,sort:o,actions:s,empty:l=!1,emptyContent:c,dragOver:d=!1,onDragOver:u,onDragLeave:h,onDrop:p,children:m,className:g}){const{t:f}=me.useTranslation(),C=r!=null,b=ye("training-card-group",d&&"training-card-group--dragover",a&&"training-card-group--collapsed",C&&"training-card-group--collapsible",g);return t.jsxs("div",{className:b,onDragOver:u,onDragLeave:h,onDrop:p,children:[t.jsxs("header",{className:"training-card-group__header",children:[C&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:a?"chevron-right":"chevron-down",ariaLabel:a?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron",onClick:r}),typeof e=="string"?t.jsx("span",{className:"training-card-group__title h5b",children:e}):e,n!==void 0&&t.jsx("span",{className:"training-card-group__count body-3b",children:n}),(o||s!=null)&&t.jsxs("span",{className:"training-card-group__actions",onClick:y=>y.stopPropagation(),children:[o&&t.jsx(Rt,{size:40,options:o.options,value:o.value,placeholder:o.placeholder,onChange:o.onChange}),s]})]}),!a&&(l?t.jsx("div",{className:"training-card-group__empty body-3",children:c}):t.jsx("div",{className:"training-card-group__grid",children:m}))]})}const Jb="speechear:saved_word_tables";function Qb(e){if(typeof e!="object"||e===null)return!1;const n=e;return typeof n.id=="string"&&typeof n.name=="string"&&Array.isArray(n.items)}function e5(){try{const e=localStorage.getItem(Jb);if(!e)return[];const n=JSON.parse(e);return Array.isArray(n)?n.filter(Qb):[]}catch{return[]}}function t5({title:e,titleIcon:n,disc:a,items:r,onSaveComplete:o,onLoad:s,onRemoveItem:l,onReset:c,resetLabel:d,saveButtonLabel:u,secondarySaveButtonLabel:h,onReorder:p,showCellCount:m,onAddItem:g,className:f,renderSavePopup:C,renderWordSearch:b,hideControls:y,saveOnly:w,tableName:_,nameValue:v,onNameChange:D,descriptionValue:x,onDescriptionChange:A,namePlaceholder:M,descriptionPlaceholder:k,existingNames:S,editingName:H,onCancel:R}){const{t:j}=me.useTranslation(),P=d??j("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),B=r===void 0,O=!!D,[Y,X]=i.useState([]),Q=(v??"").trim(),E=Q||(M??"").trim(),$=(x??"").trim()||(k??"").trim(),L=(S??[]).map(ce=>ce.trim().toLowerCase()),V=[H?.trim().toLowerCase(),...Y].filter(ce=>!!ce),z=[...L];for(const ce of V){const we=z.indexOf(ce);we!==-1&&z.splice(we,1)}const J=Q!==""&&z.includes(Q.toLowerCase()),[I,U]=i.useState(Array(4).fill(null)),[K,oe]=i.useState(4),[pe,fe]=i.useState(null),[ge,he]=i.useState("landscape"),[T,q]=i.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[ee,Ce]=i.useState("\uD45C\uC2DC"),[ie,ue]=i.useState(!0),[se,ae]=i.useState(!0),je=i.useRef(null),Fe=i.useRef([]),[He,$e]=i.useState(8),[Ee,De]=i.useState("right"),[ke,Pe]=i.useState(!1),[Ye,xe]=i.useState(!1),{toastMessage:Oe,toastType:Se,showWarning:We,clearToast:Xe}=Ts("warning"),qe=i.useCallback(()=>fe(null),[fe]),[Re,ot]=i.useState(()=>Math.max(r?.length??1,1));i.useEffect(()=>{B||ot(ce=>Math.max(ce,r?.length??1))},[r?.length,B]);const pt=B?K:m?Math.max(Re,r?.length??1):Math.max(r?.length??0,1),{width:Ue,height:at}=jn[ge],Be=!B&&!m,Me=r?.length??0,et=Math.min(He,Math.max(Me,1)),tt=Be?et:pt,Ze=Be?Si(r??[],tt):null,rt=!!Ze&&Ze.length>1,Ct=B?I.some(ce=>ce!==null&&ce.length>1):(r??[]).some(ce=>ce.words.length>1),Pt=_?.trim()||`${Vo(Em())} ${Ct?j("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):j("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,Je=i.useCallback(()=>rt?Fe.current.filter(ce=>ce!==null):je.current?[je.current]:[],[rt]),{print:wt,openNewWindow:Bt,downloadHtml:Et}=mr({getElements:Je,paperW:Ue,paperH:at,fileName:Pt,onPopupBlocked:()=>{We(j("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}}),Qt=ce=>{oe(ce),U(we=>{const ze=Array(ce).fill(null);return we.slice(0,ce).forEach((lt,ht)=>{ze[ht]=lt}),ze}),fe(null)},It=ce=>{U(we=>{const ze=[...we];return ze[ce]=null,ze}),pe===ce&&fe(null)},Vt=ce=>{if(pe===null)return;const we=pe;U(lt=>{const ht=[...lt];return ht[we]=ce,ht});const ze=I.findIndex((lt,ht)=>ht>we&<===null);fe(ze!==-1?ze:null)},en=B?I.some(ce=>ce?.some(we=>!!we.colloquialPronunciation)):(r??[]).some(ce=>ce.words.some(we=>!!we.colloquialLabel)),bt=i.useMemo(()=>kn()?B?I.flatMap(ce=>(ce??[]).map(we=>[we.word,we.homonum])):(r??[]).flatMap(ce=>ce.words.map(we=>[we.label,we.homonum])):[],[B,I,r]),[un,yt]=i.useState(!1);i.useEffect(()=>{if(bt.length===0)return;let ce=!1;return Promise.all(bt.map(([we,ze])=>$o(we,ze))).then(we=>{ce||yt(we.some(Boolean))}),()=>{ce=!0}},[bt]);const Wt=bt.length>0&&un,dn=i.useMemo(()=>[...B||m?[{label:j("wordTable.filter.columns","\uCE78 \uC218"),items:e4.map(ce=>({value:`${ce}\uCE78`,displayLabel:j("wordTable.filter.column",{count:ce})})),display:"segmented"}]:[],...Be&&(r?.length??0)>0?[Oi(j,{hasPairs:Ct,itemCount:Me})]:[],...rt?[Hi(j)]:[]],[j,B,m,Be,r?.length,Ct,Me,rt]),Ge={...B||m?{[j("wordTable.filter.columns","\uCE78 \uC218")]:`${B?K:Re}\uCE78`}:{},...Be&&(r?.length??0)>0?{[j(Ct?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${et}\uAC1C`}:{},...rt?{[j("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:zi[Ee]}:{}},Dt=(ce,we)=>{we===j("wordTable.filter.columns","\uCE78 \uC218")?B?Qt(parseInt(ce)):ot(parseInt(ce)):we===j(Ct?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")?$e(parseInt(ce)):we===j("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&De(Vi(ce))},ft=B?I.filter(ce=>ce!==null).map(ce=>({id:ce[0].word,words:ce.map(we=>({label:we.word,subLabel:we.pronunciation,homonum:we.homonum}))})):r??[],qt=(ce=!1)=>{if(xe(ce),O&&o){const we=E.trim().toLowerCase();we&&X(ze=>ze.includes(we)?ze:[...ze,we]),o(E,ft,$||void 0,ce);return}if(w&&o){o("",ft,void 0,ce);return}if(o){Pe(!0);return}Et()},[Ft,Ot]=i.useState(!1),[Ht,re]=i.useState(""),F=Ht.trim(),Z=F!==""&&L.includes(F.toLowerCase()),le=()=>{re(E?`${E} (\uBCF5\uC0AC)`:""),Ot(!0)},be=()=>{!F||Z||!o||(o(F,ft,$||void 0,!0),Ot(!1))},ve=ft.length===0,Ne=ve||O&&(E===""||J),Le=()=>{if(ve){We(j("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(O&&E===""){We(j("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}O&&J&&We(j("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},st=t.jsx(En,{items:ft,orientation:ge,contentTypes:T,cutLine:ee,showOutline:ie,showDivLine:se,count:pt});return t.jsxs(t.Fragment,{children:[t.jsxs(Dn,{type:"page",icon:n,title:e,disc:a,className:ye("word-table-block",f),children:[Ft&&t.jsx(sn,{size:"small",title:h??j("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>Ot(!1),footer:({closeWithAnimation:ce})=>t.jsxs(t.Fragment,{children:[t.jsx(te,{size:48,type:"bar",label:j("common.cancel","\uCDE8\uC18C"),onClick:ce}),t.jsx(te,{size:48,type:"bar",variant:"main",label:j("common.save","\uC800\uC7A5"),disabled:!F||Z,onClick:be})]}),children:t.jsx(bn,{label:j("wordTable.save.nameLabel","\uC774\uB984"),value:Ht,onChange:re,placeholder:j("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),maxLength:40,size:48,fullWidth:!0,autoFocus:!0,onEnter:be,error:Z?j("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),ke&&o&&C?.({defaultName:typeof e=="string"?e:j("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:st,previewW:Ue,previewH:at,items:ft,existingNames:e5().map(ce=>ce.name),saveAsNew:Ye,onSave:(ce,we)=>{o(ce,ft,we,Ye),Pe(!1)},onCancel:()=>Pe(!1)}),(B||g)&&pe!==null&&b?.({cellIndex:pe,onConfirm:B?Vt:ce=>{if(g){const we=ce[0];we&&g({id:we.word,words:[{label:we.word,subLabel:we.pronunciation,homonum:we.homonum}]})}fe(null)},onClose:qe}),!y&&t.jsx(dr,{hasImage:Wt,hasColloquial:en,contentTypes:T,orientation:ge,showOutline:ie,cutLine:ee,showDivLine:se,setters:{setContentTypes:q,setOrientation:he,setShowOutline:ue,setCutLine:Ce,setShowDivLine:ae},showCutLine:(Be?tt:pt)>1,showDivLine2:Ct,middleSections:dn,extraSelected:Ge,onExtraSelect:Dt}),rt&&Ze?t.jsx("div",{className:"word-table-block__pages",children:Ze.map((ce,we)=>t.jsx(En,{orientation:ge,contentTypes:T,cutLine:ee,showOutline:ie,showDivLine:se,count:tt,items:ce,onRemoveItem:l,contentRef:ze=>{Fe.current[we]=ze},pageNumber:{current:we+1,total:Ze.length},pageNumberPosition:Ee},we))}):t.jsx(En,{orientation:ge,contentTypes:T,cutLine:ee,showOutline:ie,showDivLine:se,count:pt,items:B?void 0:r??[],editCells:B?I:void 0,activeCell:pe,onActivateCell:B||g?fe:void 0,onRemoveCell:B?It:void 0,onRemoveItem:B?void 0:l,onReorder:B?void 0:p,showFillerAdd:!!g,contentRef:je}),O&&!y&&t.jsxs(fa,{size:"medium",labelWidth:64,useBorder:!1,useRowBorder:!1,className:"word-table-block__meta",children:[t.jsx(ln,{variant:"custom",label:j("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:t.jsx(bn,{required:!0,value:v??"",onChange:D,placeholder:M?M+j("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):j("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:j("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:J?j("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:ce=>{(ce.key==="Tab"&&!ce.shiftKey||ce.key===" ")&&!(v??"").trim()&&(M??"").trim()&&(ce.preventDefault(),D?.(M??""))}})}),t.jsx(ln,{variant:"custom",label:j("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:t.jsx(bn,{value:x??"",onChange:A,placeholder:k?k+j("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):j("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:j("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:ce=>{(ce.key==="Tab"&&!ce.shiftKey||ce.key===" ")&&!(x??"").trim()&&(k??"").trim()&&(ce.preventDefault(),A?.(k??""))}})})]})]}),!y&&t.jsxs("div",{className:"word-table-block__actions",children:[t.jsxs("div",{className:"word-table-block__actions-left",children:[!w&&c&&t.jsx(te,{size:40,type:"bar",label:P,onClick:c}),!w&&s&&t.jsx(te,{size:40,type:"bar",label:j("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:s}),!w&&t.jsx(te,{size:40,type:"bar",label:j("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:Bt})]}),t.jsxs("div",{className:"word-table-block__actions-right",children:[R&&t.jsx(te,{size:"56",type:"bar",label:j("common.cancel","\uCDE8\uC18C"),onClick:R}),!w&&t.jsx(te,{size:"56",type:"bar",label:j("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:wt}),h&&t.jsx(te,{size:"56",type:"bar",label:h,onClick:()=>O?le():qt(!0),disabled:ve,onDisabledClick:()=>{We(j("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),t.jsx(te,{size:"56",type:"bar",variant:"main",label:u??j("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>qt(!1),disabled:Ne,onDisabledClick:Le})]})]}),t.jsx(Bn,{message:Oe,type:Se,onClose:Xe})]})}function Nl({items:e,className:n}){const a=e.length,r=a<=3?1:2,o=Math.ceil(a/r)||1,s=r*o;return t.jsx("div",{className:ye("word-table-thumb",n),style:{gridTemplateColumns:`repeat(${r}, 1fr)`},children:Array.from({length:s},(l,c)=>{const d=e[c];return d?t.jsx("div",{className:"word-table-thumb__cell",children:(d.words.length?d.words:[{label:d.id}]).map((u,h)=>t.jsxs(i.Fragment,{children:[h>0&&t.jsx("span",{className:"word-table-thumb__divider"}),t.jsx("span",{className:"word-table-thumb__word body-3",children:u.label})]},h))},c):t.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},c)})})}function n5({items:e,name:n,description:a,createdAt:r,published:o,publishedLabel:s,shared:l,sharedLabel:c,isNew:d,publisherName:u,publishedAt:h,likeCount:p,downloadCount:m,onPublisherClick:g,selected:f,onClick:C,onMore:b,titleNode:y,className:w}){const{t:_}=me.useTranslation(),v=y!=null,D=u!=null||h!=null||p!=null||m!=null,x=A=>{!v&&(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),C?.())};return t.jsxs("div",{className:ye("word-table-button",f?"word-table-button--selected":"",D?"":"word-table-button--no-footer",w),role:"button",tabIndex:0,"aria-label":n,onClick:v?void 0:C,onKeyDown:x,children:[d&&t.jsx("span",{className:"word-table-button__new-dot","aria-label":_("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),t.jsx(Nl,{items:e,className:"word-table-button__thumb"}),t.jsxs("div",{className:"word-table-button__info",children:[t.jsxs("div",{className:"word-table-button__info-text",children:[y??t.jsx("div",{className:"word-table-button__title h4",children:n}),a&&t.jsx("div",{className:"word-table-button__desc body-3",children:a})]}),b&&!v&&t.jsx(te,{className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:_("common.moreFor",{name:n}),onClick:A=>{A.stopPropagation(),b(A)}})]}),(r||o||l)&&t.jsxs("div",{className:"word-table-button__meta-row",children:[t.jsx("span",{className:"word-table-button__meta caption-1",children:r?zo(r,_):""}),t.jsxs("span",{className:"word-table-button__badges",children:[o&&t.jsx(ut,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:s??"\uBC1C\uD589\uB428"}),l&&t.jsx(ut,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:c??"\uACF5\uC720 \uC911"})]})]}),D&&t.jsxs("div",{className:"word-table-button__footer",children:[t.jsxs("span",{className:"word-table-button__store-by",children:[u&&t.jsx("button",{className:"training-card__publisher body-4",type:"button",onClick:A=>{A.stopPropagation(),g?.()},children:u}),h&&t.jsx("span",{className:"training-card__date body-4",children:zo(h,_)})]}),t.jsxs("span",{className:"word-table-button__store-stats",children:[p!=null&&t.jsx(ut,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(p)}),m!=null&&t.jsx(ut,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(m)})]})]})]})}/**
|
|
968
|
+
`).map((l,c,d)=>t.jsxs(i.Fragment,{children:[l,c<d.length-1&&t.jsx("br",{})]},c))})}),t.jsxs("div",{className:"site-footer__links",children:[t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.site.title","\uC0AC\uC774\uD2B8")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:"IHAB"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://speechear.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.malgwi","\uB9D0\uADC0")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/sound-localization",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.soundDirection","\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/vr-sound-localization",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.vrSoundDirection","VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/hearing-test-pro",target:"_blank",rel:"noopener noreferrer",children:s("footer.site.hearingTest","\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C")})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.sns.title","SNS")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://blog.naver.com/ihab_official",target:"_blank",rel:"noopener noreferrer",children:s("footer.sns.naverBlog","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.instagram.com/ihab.official.yt/",target:"_blank",rel:"noopener noreferrer",children:"Instagram"})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"https://www.youtube.com/@%EC%95%84%EC%9D%B4%ED%95%B4%EB%B8%8C-%EA%B3%B5%EC%8B%9D%EC%B1%84%EB%84%90",target:"_blank",rel:"noopener noreferrer",children:"Youtube"})})]})]}),t.jsxs("div",{className:"site-footer__column",children:[t.jsx("div",{className:"site-footer__column-title footer-title",children:s("footer.policy.title","\uC815\uCC45")}),t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{e&&(l.preventDefault(),e())},children:s("footer.policy.terms","\uC774\uC6A9\uC57D\uAD00")})}),t.jsx("li",{children:t.jsx("a",{className:"footer-link",href:"#",onClick:l=>{n&&(l.preventDefault(),n())},children:s("footer.policy.privacy","\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68")})})]})]})]})]}),t.jsx("hr",{className:"site-footer__rule"}),t.jsxs("div",{className:"site-footer__bottom",children:[t.jsx("div",{className:"site-footer__brand",children:t.jsx("img",{src:Ja,alt:"IHAB",className:"site-footer__logo"})}),t.jsxs("div",{className:"site-footer__meta",children:[t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.ceo","\uB300\uD45C")}),t.jsx("span",{className:"footer-meta caption-1",children:s("footer.ceoName","\uD55C\uC9C0\uD61C")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.address","\uC8FC\uC18C")}),t.jsx("span",{className:"footer-meta caption-1",children:s("footer.addressValue","\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638")})]}),t.jsxs("div",{children:[t.jsx("span",{className:"footer-title",children:s("footer.support","\uACE0\uAC1D\uC13C\uD130")}),t.jsxs("span",{className:"footer-meta caption-1",children:[r," \xA0 ",o]})]})]})]}),t.jsx("div",{className:"site-footer__copyright footer-copyright caption-1",children:"\xA9 IHAB, Inc. All rights reserved."})]})})}function I4({logo:e,logoAlt:n="",logoHref:a,links:r=[],actions:o,className:s,containerClassName:l,renderLink:c,menuLabel:d={open:"\uBA54\uB274 \uC5F4\uAE30",close:"\uBA54\uB274 \uB2EB\uAE30"}}){const[u,h]=i.useState(!1),p=l?`${l} landing-header__inner`:"landing-header__inner",C=(g,f)=>c?c(g,{onClick:f}):t.jsx("a",{href:g.href,onClick:f,"aria-current":g.current?"page":void 0,children:g.label});return t.jsxs("header",{className:s?`landing-header ${s}`:"landing-header",children:[t.jsxs("div",{className:p,children:[e!=null&&(()=>{const g=typeof e=="string"?t.jsx("img",{src:e,alt:n,className:"landing-header__logo"}):e;return a?t.jsx("a",{href:a,className:"landing-header__brand",children:g}):t.jsx("div",{className:"landing-header__brand",children:g})})(),r.length>0&&t.jsx("nav",{className:"landing-header__links",children:r.map(g=>t.jsx("span",{children:C(g)},g.href))}),t.jsxs("div",{className:"landing-header__actions",children:[o,r.length>0&&t.jsx("button",{type:"button",onClick:()=>h(g=>!g),"aria-expanded":u,"aria-controls":"landing-header-drawer","aria-label":u?d.close:d.open,className:u?"landing-header__toggle landing-header__toggle--open":"landing-header__toggle",children:t.jsxs("span",{className:"landing-header__burger",children:[t.jsx("span",{}),t.jsx("span",{}),t.jsx("span",{})]})})]})]}),r.length>0&&t.jsx("nav",{id:"landing-header-drawer",hidden:!u,className:"landing-header__drawer",children:t.jsx("div",{className:l??void 0,children:r.map(g=>t.jsx("span",{className:"landing-header__drawer-item",children:C(g,()=>h(!1))},g.href))})})]})}function F4({children:e,action:n,onClick:a,className:r}){const o=a?"bottom-sticky__inner bottom-sticky__inner--clickable":"bottom-sticky__inner";return t.jsx("div",{className:r?`bottom-sticky ${r}`:"bottom-sticky",children:t.jsxs("div",{className:o,onClick:a,...wi(a),children:[t.jsx("div",{className:"bottom-sticky__content",children:e}),n]})})}const Qi=9,fr=2,O4=.1,el=e=>Math.min(fr,Math.max(0,e)),H4=e=>Math.round(e*10)/10;function gr(e){const{noiseRatio:n}=e;if(typeof n=="number"&&Number.isFinite(n))return el(n);const a=Math.min(Qi,Math.max(0,Number(e.level)||0))/Qi,r=Number(e.mainVolume);return r>0?H4(el(a/r)):1}function br(e){const n=Math.min(1,Math.max(0,Number(e.mainVolume)||0));return Math.min(1,n*gr(e))}function yr(e,n){const a={...e,...n??{}};return n&&"level"in n&&typeof n.noiseRatio!="number"&&(a.noiseRatio=gr({level:a.level,mainVolume:a.mainVolume})),a}const vr={enabled:!0,type:"defaultNoise",level:4.5,noiseRatio:1,speed:1,mainVolume:1,mainSpeed:1},tl=i.createContext(null);function xr(){return i.useContext(tl)}const _r=e=>`${nm()}/${e}`,nl=e=>Array.from({length:10},(n,a)=>_r(`${e}-${String(a+1).padStart(2,"0")}.mp3`)),ma={get defaultNoise(){return _r("noise1.mp3")},get street(){return nl("noise2")},get restaurant(){return nl("noise3")},get buzz(){return _r("noise4.mp3")}};function V4(e){const n=Math.floor(Math.random()*10);switch(e){case"defaultNoise":return ma.defaultNoise;case"street":return ma.street[n];case"restaurant":return ma.restaurant[n];case"buzz":return ma.buzz;default:return null}}function z4({noisePlayer:e,audioRef:n,playbackStateRef:a}){const r=i.useRef(e?.registerAnalyser);r.current=e?.registerAnalyser;const o=i.useRef(null),[s,l]=i.useState(null),c=i.useRef(null),d=i.useRef(null),u=i.useRef(null),h=i.useRef(0),p=i.useRef(null),C=i.useCallback(()=>{u.current!==null&&(cancelAnimationFrame(u.current),u.current=null),p.current!==null&&(clearTimeout(p.current),p.current=null)},[]),g=i.useCallback((b,w=250)=>{const _=o.current;if(!_||!_.src)return;h.current+=1,C();try{La(),r.current?.("noise",$a(_))}catch{}const y=_.paused?0:_.volume;_.paused&&(_.volume=0),_.play().catch(()=>{});const S=performance.now(),x=()=>{const A=Math.min(1,(performance.now()-S)/w);try{_.volume=Math.max(0,Math.min(1,y+(b-y)*A))}catch{}A<1?u.current=requestAnimationFrame(x):u.current=null};u.current=requestAnimationFrame(x)},[C]),f=i.useCallback((b=250,w)=>{const _=o.current;if(!_||_.paused){w?.();return}const y=++h.current;C();const S=performance.now(),x=_.volume,A=()=>{const M=Math.min(1,(performance.now()-S)/b);try{_.volume=Math.max(0,x*(1-M))}catch{}if(M<1)u.current=requestAnimationFrame(A);else{u.current=null,p.current!==null&&(clearTimeout(p.current),p.current=null);try{_.pause()}catch{}w?.()}};u.current=requestAnimationFrame(A),p.current=setTimeout(()=>{if(p.current=null,h.current===y){u.current!==null&&(cancelAnimationFrame(u.current),u.current=null);try{_.paused||(_.volume=0,_.pause(),w?.())}catch{}}},b+150)},[C]);i.useEffect(()=>{const b=document.createElement("audio");return b.loop=!0,b.crossOrigin="anonymous",o.current=b,()=>{C();try{b.pause(),b.src=""}catch{}o.current=null}},[C]);const m=e?br(e.settings):0,v=!!e?.settings.enabled&&m>0;return i.useEffect(()=>{if(!v)return;let b=0;const w=setInterval(()=>{const _=o.current;if(!_||_.paused){b=0;return}const y=n.current;if(y&&!y.paused&&!y.ended||a.current==="playing"){b=0;return}b+=1,b>=2&&(b=0,f())},400);return()=>clearInterval(w)},[f,v,n,a]),i.useEffect(()=>{const b=()=>{if(!document.hidden)return;const w=o.current;if(w&&!w.paused){C();try{w.pause()}catch{}}};return document.addEventListener("visibilitychange",b),()=>document.removeEventListener("visibilitychange",b)},[C]),i.useEffect(()=>{d.current=e?{enabled:e.settings.enabled,volume:m,type:e.settings.type}:null},[e,e?.settings.enabled,m,e?.settings.type]),i.useEffect(()=>{const b=e?.settings,w=o.current;if(!w)return;const _=b?br(b):0;if(!b||!b.enabled||_===0){f();return}if(c.current!==b.type){const y=V4(b.type);y&&(c.current=b.type,l(y),f(150,()=>{w.src=y,w.load();const S=n.current;S&&!S.paused&&w.addEventListener("canplay",function x(){w.removeEventListener("canplay",x);const A=n.current;A&&!A.paused&&!A.ended&&g(_)})}))}else{const y=n.current,S=!!y&&!y.paused&&!y.ended;if(S&&w.paused&&w.src)g(_);else if(!w.paused)if(!S)f();else{C();const x=w.volume,A=performance.now(),M=()=>{const k=Math.min(1,(performance.now()-A)/150);try{w.volume=x+(_-x)*k}catch{}k<1?u.current=requestAnimationFrame(M):u.current=null};u.current=requestAnimationFrame(M)}}},[e?.settings,e?.settings.enabled,m,e?.settings.type,C,g,f,n]),i.useEffect(()=>{const b=o.current;if(b)try{b.playbackRate=Math.min(1.25,Math.max(.75,e?.settings.speed??1))}catch{}},[e?.settings.speed]),{noiseAudioRef:o,activeNoiseUrl:s,noiseSettingsRef:d,cancelNoiseFade:C,fadeInNoise:g,fadeOutNoise:f}}function W4({ttsText:e,playbackRate:n,mainVolume:a,fillRef:r,waveProgressRef:o,setProgress:s,setPlaybackState:l,setStateLocal:c,fadeInNoise:d,fadeOutNoise:u,noiseSettingsRef:h,onDoneRef:p,handleEndRef:C}){const g=i.useRef(null),f=i.useRef(0),m=i.useRef(null);i.useEffect(()=>()=>{try{if(m.current&&(cancelAnimationFrame(m.current),m.current=null),window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}}catch{}},[]);const v=(_,y=1)=>{try{const S=(_||"").trim().split(/\s+/).filter(Boolean).length||Math.max(1,(_||"").length);return Math.max(700,Math.round(S*300/Math.max(.25,y)))}catch{return 1200}},b=i.useCallback(_=>{if(typeof window>"u"||!window.speechSynthesis){try{typeof p.current=="function"&&p.current(!0)}catch{}return}const y=window.speechSynthesis;try{try{y.cancel()}catch{}const S=_??e,x=(Array.isArray(S)?S[0]??"":S)||"",A=new SpeechSynthesisUtterance(x);try{A.rate=Math.max(.3,Math.min(3,n))}catch{}try{A.volume=Math.max(0,Math.min(1,a))}catch{}f.current=v(x,A.rate||1),g.current=performance.now(),s(0),l("playing"),c("playMode");const M=h.current;M?.enabled&&(M?.volume??0)>0&&d(M.volume);const k=()=>{try{const D=g.current||performance.now(),H=performance.now()-D,R=f.current||1200,j=Math.min(1,H/R);s(j);try{r.current&&(r.current.style.left=`${j*100}%`),o.current&&o.current.style.setProperty("--progress",String(j))}catch{}j<1&&(m.current=requestAnimationFrame(k))}catch{}};A.onend=()=>{try{m.current&&(cancelAnimationFrame(m.current),m.current=null),s(1),l("stopped");try{C.current?.()}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}}catch{}},A.onstart=()=>{try{m.current&&(cancelAnimationFrame(m.current),m.current=null),m.current=requestAnimationFrame(k)}catch{}};try{y.speak(A)}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}}catch{try{typeof p.current=="function"&&p.current(!0)}catch{}}},[e,n,a,d,r,o,s,l,c,h,p,C]),w=i.useCallback(()=>{try{if(window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}m.current&&(cancelAnimationFrame(m.current),m.current=null),u(),g.current=null}catch{}l("stopped"),c("active"),s(0)},[u,l,c,s]);return{startTTS:b,stopTTS:w}}async function q4(e,n,a){try{const r=window.AudioContext||window.webkitAudioContext,o=new r,s=await o.decodeAudioData(e.slice(0)),l=s.numberOfChannels>0?s.getChannelData(0):null;if(!l)return null;const c=a&&a>0?Math.min(l.length,Math.floor(a*s.sampleRate)):l.length,d=Math.max(n,c),u=Math.floor(d/n)||1,h=new Array(n).fill(0).map((p,C)=>{const g=C*u,f=Math.min(g+u,d);let m=0;for(let v=g;v<f;v++){const b=Math.abs(l[v]);b>m&&(m=b)}return m});try{o.close&&o.close()}catch{}return h}catch{return null}}async function al(e,n,a){try{const r=await(await fetch(e)).arrayBuffer();return await q4(r,n,a)}catch(r){try{const o=zo(r)}catch{}return null}}const rl=4;function U4(e){const{src:n,segments:a,progress:r=0,waveProgressRef:o,noiseSrc:s,noiseVolume:l=0,noiseSpeed:c=1,totalDuration:d=0,mainVolume:u=1,onReadyChange:h,showSoundWaveForm:p=!0}=e,C=i.useRef(null),g=i.useRef(null),[f,m]=i.useState(null),[v,b]=i.useState(!1),[w,_]=i.useState(null),[y,S]=i.useState(2),[x,A]=i.useState(0),[M,k]=i.useState(null),[D,H]=i.useState(!1),R=3,j=3,P=1,B=300,O=i.useRef(0),Z=i.useCallback(async(re,de)=>{const fe=++O.current,ge=()=>O.current===fe;try{if(b(!1),!re){ge()&&m(null);return}let he=de;if(!he)try{for(let Ie=0;Ie<4&&!(C.current||g.current);Ie++)await new Promise(He=>requestAnimationFrame(He));await new Promise(Ie=>requestAnimationFrame(Ie));const q=C.current,ee=g&&g.current?g.current:q?q.closest(".audio-player__wave"):null,we=ee?ee.getBoundingClientRect():q?q.getBoundingClientRect():null,ie=we?Math.max(100,we.width):320,le=we?we.height:0;le>0&&A(le),he=Math.max(P,Math.min(B,Math.floor((ie+j)/(R+j))));const se=he*R,oe=Math.max(0,he-1),Se=oe>0?(ie-se)/oe:j;S(Math.max(0,Se))}catch{he=120}const T=await al(re,he);if(!ge())return;if(!T){m(null),b(!1);return}m(T),_(he),b(!0)}catch{if(!ge())return;m(null),b(!1)}},[b,m,A,S,_]);i.useEffect(()=>{const re=a&&a[0]&&a[0].src||n||a&&a.length===1&&a[0]&&a[0].src;Z(typeof re=="string"?re:void 0).catch(()=>{}),H(!1)},[n,a,Z]),i.useEffect(()=>{let re=!1;if(!s||!w){k(null);return}const de=d>0?d*(c||1):void 0;return al(s,w,de).then(fe=>{re||k(fe)}).catch(()=>{re||k(null)}),()=>{re=!0}},[s,w,d,c]);const Y=Math.max(0,Math.min(1,u)),J=i.useMemo(()=>f&&f.length&&Math.max(...f)||1,[f]),E=w||40,$=i.useMemo(()=>Array.from({length:E}).map((re,de)=>{const fe=f&&f[de]!=null?f[de]:null,ge=fe==null?null:Math.min(1,fe/J*Y),he=ge!=null&&x>0&&ge*x<=rl,T=ge==null?.15:he?0:ge,q=E>1?de/(E-1):0;return t.jsx("div",{className:he?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":T,"--i":de,"--mix":q}},de)}),[E,f,J,Y,x]),L={"--progress":String(Math.max(0,Math.min(1,r)))},z={"--bar-gap":`${y}px`},V=Math.max(0,Math.min(1,l)),X=v&&(s?!!M:!0);i.useEffect(()=>{X&&H(!0)},[X]);const I=D?v:X;i.useEffect(()=>{h?.(I)},[I,h]);const U=w||40,K=i.useMemo(()=>Array.from({length:U}).map((re,de)=>{const fe=M&&M[de]!=null?M[de]:null,ge=fe==null?0:Math.min(1,fe/J*V),he=x>0&&ge*x<=rl,T=he?0:ge,q=U>1?de/(U-1):0;return t.jsx("div",{className:he?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":T,"--i":de,"--mix":q}},de)}),[U,M,J,V,x]);return t.jsxs("div",{className:"audio-player__wave",ref:g,style:z,children:[s&&t.jsx("div",{className:`audio-player__wave-noise ${X?"is-ready":""}`,"aria-hidden":"true",children:K}),p&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-unplayed ${I?"is-ready":""}`,ref:C,children:$}),t.jsx("div",{className:`audio-player__wave-inner audio-player__wave-played ${I?"is-ready":""}`,ref:o,style:L,children:$})]})]})}const G4={idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"};function wr(e,n){return new Promise((a,r)=>{const o=document.createElement("audio");let s=!1;const l=()=>{try{o.src=""}catch{}},c=()=>{if(s)return;s=!0;const u=isFinite(o.duration)&&o.duration||0;l(),a(u)},d=u=>{s||(s=!0,l(),n.rejectOnError?r(new Error(u)):a(0))};o.addEventListener("loadedmetadata",c),o.addEventListener("error",()=>d("audio load failed")),setTimeout(()=>d("audio load timeout"),n.timeoutMs),o.src=e})}const K4=2e3;function ol(e,n=K4){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.addEventListener("canplay",o,{once:!0}),e.addEventListener("error",o,{once:!0}),setTimeout(o,n)})}function Z4({showSoundWaveForm:e,showNoiseWaveForm:n,timeoutMs:a=2500}){const r=i.useRef(!1),o=i.useRef([]),s=i.useCallback(d=>{if(r.current=d,!d||!o.current.length)return;const u=o.current;o.current=[];for(const h of u)h()},[]),l=i.useCallback(()=>{r.current=!1},[]),c=i.useCallback(()=>!e&&!n||r.current?Promise.resolve():new Promise(d=>{const u=setTimeout(d,a);o.current.push(()=>{clearTimeout(u),d()})}),[e,n,a]);return i.useEffect(()=>()=>{const d=o.current;o.current=[];for(const u of d)u()},[]),{onReadyChange:s,waitForReady:c,markNotReady:l}}function Y4(){const e=i.useRef([]),n=i.useCallback(o=>(e.current.push(o),o),[]),a=i.useCallback(o=>{const s=new Set([...o].filter(Boolean));e.current=e.current.filter(l=>{if(s.has(l))return!0;try{URL.revokeObjectURL(l)}catch{}return!1})},[]),r=i.useCallback(()=>{a([])},[a]);return i.useEffect(()=>()=>{for(const o of e.current)try{URL.revokeObjectURL(o)}catch{}e.current=[]},[]),{track:n,keepOnly:a,revokeAll:r}}function X4({offsetY:e=8}={}){const n=i.useRef(null),[a,r]=i.useState(null),o=i.useCallback(()=>r(null),[]),s=i.useCallback(()=>{try{const l=n.current?.getBoundingClientRect();if(!l)return;r({left:l.left,right:l.right,width:l.width,height:l.height,x:l.x,top:l.top+e,bottom:l.bottom+e,y:l.y+e,toJSON:l.toJSON.bind(l)})}catch{}},[e]);return i.useEffect(()=>{if(a)return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[a,o]),{ref:n,rect:a,show:s,hide:o}}function J4({currentTime:e,sources:n,index:a,audioDuration:r}){const o=a||0,s=Array.isArray(n)&&n.length>0?n[o]:void 0,l=s?s.duration||r||0:r||0;if(!(l>0))return 0;const c=Number.isFinite(e)?e:0;return Math.max(0,Math.min(1,c/l))}function Q4(e,n){if(!Array.isArray(e))return null;const a=n||0;return a<e.length-1?a+1:null}function eb({ended:e,completedByEnd:n}){return!!e||!!n}function tb(e){return e.map((n,a)=>({src:n.src,label:String(a+1),color:void 0,duration:n.duration||0}))}function nb(e){return e.reduce((n,a)=>n+(a.duration||0),0)}function ab(e,n,a){const r=Array.isArray(e)?e:e?[e]:[],o=[];for(const s of r)if(s){if(typeof s=="object"&&s!==null&&"src"in s&&s.src){const l=s;o.push({code:l.code??null,src:l.src});continue}if(typeof s=="string"&&(s.startsWith("http")||s.includes("/"))){o.push({code:null,src:s});continue}if(typeof s=="string"||typeof s=="number"){const l=String(s),c=a(l,n);c&&o.push({code:l,resolvedPath:c})}}return o}function rb({audioRef:e,fillRef:n,waveProgressRef:a,sourcesRef:r,currentIndexRef:o}){const s=i.useRef(null),l=i.useCallback(()=>{s.current!==null&&(cancelAnimationFrame(s.current),s.current=null)},[]),c=i.useCallback(()=>{if(s.current!==null)return;const u=()=>{try{const h=e.current,p=J4({currentTime:h&&typeof h.currentTime=="number"?h.currentTime:0,sources:r.current,index:o.current,audioDuration:h&&h.duration?h.duration:0});try{n.current&&(n.current.style.left=`${p*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(p))}catch{}}catch{}s.current=requestAnimationFrame(u)};s.current=requestAnimationFrame(u)},[e,n,a,r,o]),d=i.useCallback(u=>{l();try{n.current&&(n.current.style.left=`${u*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(u))}catch{}},[l,n,a]);return i.useEffect(()=>l,[l]),{start:c,stop:l,settleTo:d}}function kr({btnLabel:e,soundSrc:n,bucketPath:a,onDone:r,disabled:o=!1,ttsText:s=null,className:l,showSoundWaveForm:c=!0,showNoiseWaveForm:d=!0}){const{t:u}=pe.useTranslation(),h=e,p=xr(),C=i.useRef(p?.registerAnalyser);i.useEffect(()=>{C.current=p?.registerAnalyser});const g=i.useRef(null),f=i.useRef(null),m=i.useRef(null),v=Y4(),b=i.useRef(null),w=i.useRef(!1),_=i.useRef(0),y=i.useRef(null),{ref:S,rect:x,show:A,hide:M}=X4();i.useEffect(()=>()=>{C.current?.("main",null),C.current?.("noise",null)},[]);const[k,D]=i.useState(!1),[H,R]=i.useState("idle"),[j,P]=i.useState("stopped"),B=i.useRef("stopped");i.useEffect(()=>{B.current=j},[j]);const[O,Z]=i.useState(0),[Y,J]=i.useState("active"),[E,$]=i.useState(null),[L,z]=i.useState(null),[V,X]=i.useState(0),[I,U]=i.useState(!1),[K,re]=i.useState(0),de=p?.playbackRate??1,fe=p?.mainVolume??1,ge=p?br(p.settings):0,[he,T]=i.useState("idle"),[q,ee]=i.useState(""),[we]=i.useState("top"),ie=i.useRef(null),le=i.useRef(0),se=i.useRef(null),{start:oe,stop:Se,settleTo:Ie}=rb({audioRef:g,fillRef:f,waveProgressRef:se,sourcesRef:ie,currentIndexRef:le}),{onReadyChange:He,waitForReady:$e,markNotReady:Me}=Z4({showSoundWaveForm:c,showNoiseWaveForm:d}),De=i.useRef(null),Ne=i.useRef(o),Oe=i.useRef(r),Ge=i.useRef(null),ye=i.useRef(!1),[Fe,Le]=i.useState(!1),We=i.useCallback(F=>{ye.current=F,Le(F)},[]),Ze=i.useRef(null),{activeNoiseUrl:Ye,noiseSettingsRef:Re,fadeInNoise:pt,fadeOutNoise:tt}=z4({noisePlayer:p,audioRef:g,playbackStateRef:B}),{startTTS:Ue,stopTTS:nt}=W4({ttsText:s,playbackRate:de,mainVolume:fe,fillRef:f,waveProgressRef:se,setProgress:Z,setPlaybackState:P,setStateLocal:J,fadeInNoise:pt,fadeOutNoise:tt,noiseSettingsRef:Re,onDoneRef:Oe,handleEndRef:Ze}),Ee=Array.isArray(n)?n.filter(Boolean):n?[n]:[],je=(!Ee||Ee.length===0)&&!!s,at=Array.isArray(E)&&E.length>0?E:Array.isArray(L)&&L.length>0?L:null,ht=Math.max(Array.isArray(at)?at.length:0,Ee.length),ze=i.useCallback(async(F,Q=3,Ce=50)=>{for(let ve=0;ve<Q;ve++)try{return await F.play(),!0}catch(ke){if((ke instanceof Error||typeof ke=="object"&&ke&&"name"in ke?ke.name:void 0)==="AbortError"){await new Promise(Ae=>setTimeout(Ae,Ce));continue}try{ee(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1}try{ee(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1},[u]),rt=i.useCallback(()=>{const F=g.current;if(!F)return;const Q=()=>{P("playing"),J("playMode"),U(!0),oe();try{La(),C.current?.("main",$a(F))}catch{}const ke=Re.current;ke?.enabled&&(ke?.volume??0)>0&&pt(ke.volume)},Ce=()=>{eb({ended:!!F?.ended,completedByEnd:ye.current})||(P("paused"),Se(),tt())},ve=()=>{try{const ke=ie.current,Ae=Q4(ke,le.current);if(Ae!==null){le.current=Ae,X(Ae),U(!0);const st=ke?.[Ae]&&ke[Ae].src;if(st&&F){F.src=st,F.load(),ze(F).catch(()=>{});return}}}catch{}P("stopped"),Z(1);try{if(F)try{F.currentTime=0}catch{}}catch{}Se(),U(!1),tt();try{!Ne.current&&Ze.current&&Ze.current()}catch{}};return F.addEventListener("play",Q),F.addEventListener("pause",Ce),F.addEventListener("ended",ve),()=>{try{F.removeEventListener("play",Q),F.removeEventListener("pause",Ce),F.removeEventListener("ended",ve),Se()}catch{}}},[pt,tt,ze,Re,oe,Se]);i.useEffect(()=>rt(),[rt]),i.useEffect(()=>{Ne.current=o},[o]),i.useEffect(()=>{Oe.current=r},[r]),i.useEffect(()=>{if(o||Y!=="active")return;const F=y.current;if(!F)return;let Q=null;const Ce=requestAnimationFrame(()=>{try{const ve=F.getTotalLength();if(!ve)return;const ke=ve*.2;F.style.strokeDasharray=`${ve-ke} ${ke}`;const Ae="triFlow_"+Math.random().toString(36).slice(2);Q=document.createElement("style"),Q.textContent=`@keyframes ${Ae}{from{stroke-dashoffset:0}to{stroke-dashoffset:-${ve}}}`,document.head.appendChild(Q),F.style.animation=`${Ae} 2.4s linear infinite`}catch{}});return()=>{cancelAnimationFrame(Ce),Q?.remove()}},[Y,o]),i.useEffect(()=>{ie.current=E},[E]),i.useEffect(()=>{le.current=V},[V]),i.useEffect(()=>{const F=m.current,Q=b.current;if(!F||!Q)return;let Ce=null;const ve=32,ke=60,Ae=()=>{try{const ce=Array.from(F.querySelectorAll(":scope > .button"));let xe=0;ce.forEach(Wt=>{if(Wt===Q)return;const _n=Wt.getBoundingClientRect();xe+=_n.width});const qe=F.getBoundingClientRect().width,it=Math.max(0,Math.floor(qe-xe-8)),ut=ht;if(!ut||it<=0){Array.from(Q.children).forEach(Wt=>{try{Wt.style.width=""}catch{}});return}let Et=Math.floor(it/ut);Et>ke&&(Et=ke),Et<ve&&(Et=Math.max(ve,Math.floor(it/ut))),Array.from(Q.querySelectorAll(".button")).forEach(Wt=>{try{Wt.style.width=`${Et}px`}catch{}})}catch{}},st=requestAnimationFrame(Ae);try{Ce=new ResizeObserver(()=>{requestAnimationFrame(Ae)}),Ce.observe(F),Ce.observe(Q),window.addEventListener("resize",Ae)}catch{}return()=>{try{cancelAnimationFrame(st)}catch{}try{Ce&&(Ce.disconnect(),Ce=null)}catch{}try{window.removeEventListener("resize",Ae)}catch{}}},[E,L,ht]),i.useEffect(()=>()=>{try{De.current&&(clearTimeout(De.current),De.current=null),Ge.current&&(clearTimeout(Ge.current),Ge.current=null)}catch{}},[]);const mt=(F,Q)=>{$(F),re(Q),Me(),z(tb(F)),ie.current=F},Mt=async(F,Q)=>{We(!1),w.current=!1,F.src=Q,F.load(),await ol(F),await $e(),D(!1),await ze(F),J("playMode"),X(0),U(!0)},Je=async(F,Q=!1)=>{const Ce=g.current;D(!0),R("measuring_duration");try{const ve=await wr(F,{timeoutMs:1e4,rejectOnError:!0});mt([{src:F,objectUrl:null,duration:ve}],ve),R("ready"),Q&&Ce&&await Mt(Ce,F)}finally{w.current=!1,D(!1)}},xt=async(F,Q=!1)=>{const Ce=g.current;D(!0),R("measuring_duration");try{const ve=await Promise.all(F.map(Ae=>wr(Ae,{timeoutMs:1e4}))),ke=F.map((Ae,st)=>({src:Ae,objectUrl:null,duration:ve[st]||0}));mt(ke,nb(ke)),R("ready"),Q&&Ce&&ke.length>0&&await Mt(Ce,ke[0].src)}finally{w.current=!1,D(!1)}},Dt=async(F=!1,Q=!0)=>{const Ce=g.current,ve=n?Array.isArray(n)?n:[n]:[];if(!(!ve||ve.length===0||!ve.some(Boolean))&&!w.current){w.current=!0,Q&&D(!0),R("resolving");try{const ke=ab(n,a,Mo),Ae=[];let st=0;for(const ce of ke){let xe=ce.src??null,qe=null;if(!xe&&ce.resolvedPath){try{R("getting_signed_url"),xe=await Lo(ce.resolvedPath)}catch{xe=null}if(!xe)try{R("downloading");const ut=await $o(ce.resolvedPath);if(ut){const Et=ut instanceof Blob?ut:new Blob([ut]);qe=v.track(URL.createObjectURL(Et)),xe=qe}}catch{R("error");try{ee(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.")),J("active")}catch{}}}if(!xe)continue;let it=0;try{R("measuring_duration"),it=await wr(xe,{timeoutMs:3e3})}catch{it=0}st+=it||0,Ae.push({...ce,src:xe,objectUrl:qe,duration:it})}if(mt(Ae,st),Ae.length>0&&F&&Ce){const ce=Ae[0];We(!1);try{v.keepOnly(Ae.map(xe=>xe.objectUrl))}catch{}if(R("ready"),w.current=!1,ce.src&&Ce)try{Ce.src=ce.src,Ce.load(),await ol(Ce),await $e(),Q&&D(!1),Ce&&await ze(Ce)}catch{Q&&D(!1)}else Q&&D(!1);J("playMode"),X(0),U(!0)}}finally{w.current=!1,Q&&D(!1),R(ke=>ke==="ready"?"ready":"idle")}}},Ft=async()=>{const F=g.current;if(!(!F&&!je)){if(je){const Q=window.speechSynthesis;if(Y==="active"){const Ce=Ma(),ve=Array.isArray(s)?s.filter(Boolean):s?[s]:[];if(Ce&&ve.length>0){J("load"),D(!0),R("resolving"),w.current=!0;try{const ke=await Promise.all(ve.map(Ae=>Promise.resolve(Ce(Ae))));ke.length>1?await xt(ke,!0):await Je(ke[0],!0)}catch{w.current=!1,D(!1),J("active"),Ue(ve[0]||void 0)}return}Ue(ve[0]||void 0);return}if(Y==="playMode"){if(F){if(F.paused){if(ye.current){await Ot();return}await ze(F),P("playing")}else F.pause(),P("paused");return}try{if(Q&&Q.paused)try{Q.resume(),P("playing")}catch{}else try{Q.pause(),P("paused")}catch{}}catch{}}return}if(Y==="active"){if(o&&Array.isArray(ie.current)&&ie.current.length>0){const Q=ie.current[0];try{if(Q.src&&F)try{F.src=Q.src,F.load(),F&&await ze(F)}catch{}J("playMode"),X(0),U(!0);return}catch{}}J("load"),await Dt(!0);return}if(Y!=="load"&&(Y==="playMode"||Y==="active"))try{if(F&&F.paused){if(ye.current){await Ot();return}F&&await ze(F),P("playing")}else F&&(F.pause(),P("paused"))}catch(Q){(Q instanceof Error||typeof Q=="object"&&Q&&"name"in Q)&&Q.name}}},Ot=async()=>{const F=g.current;if(F)try{const Q=ie.current;if(Array.isArray(Q)&&Q.length>1){await Gt(0);return}We(!1);try{F.currentTime=0}catch{}F&&await ze(F),P("playing"),J("playMode")}catch{}},Ut=()=>{if(je){nt();return}const F=g.current;try{if(F){try{F.pause()}catch{}try{F.currentTime=0}catch{}}}catch{}tt(),P("stopped"),J("active"),Z(0),U(!1)},Lt=async(F,{sameSegment:Q=!1}={})=>{const Ce=++_.current,ve=g.current,ke=ie.current?.[F]?.src;try{if(We(!1),X(F),U(!0),le.current=F,!ke||!ve||(Q||Me(),ve.src=ke,ve.load(),Q||await $e(),Ce!==_.current)||(await ze(ve),Ce!==_.current))return;P("playing"),J("playMode")}catch{}},nn=async()=>{const F=ie.current,Q=le.current||0;if(!F||Q<=0){await Ot();return}await Lt(Q-1)},_t=async()=>{const F=ie.current,Q=le.current||0;if(!F||Q>=F.length-1){Ut();return}await Lt(Q+1)},an=()=>{if(ye.current)return;const F=200,Q=340;We(!0);try{Z(1)}catch{}Ie(1);try{T("hold")}catch{}try{const Ce=g.current,ve=je&&!!Ce?.src;if(!je||ve){if(Ce){Ce.pause();try{Ce.currentTime=0}catch{}}}else nt();tt()}catch{}try{P("stopped")}catch{}if(U(!1),!Ne.current)try{Ge.current&&(clearTimeout(Ge.current),Ge.current=null),Ge.current=setTimeout(()=>{try{T("out")}catch{}Ge.current=setTimeout(()=>{try{typeof Oe.current=="function"&&Oe.current(!0)}catch{}try{T("idle")}catch{}Ge.current=null},Q)},F)}catch{}};i.useEffect(()=>{Ze.current=an});const Nt=i.useCallback(()=>ee(""),[]),Gt=async F=>{(ie.current||[])[F]&&await Lt(F,{sameSegment:F===le.current})},Kt=j==="playing",Ke=i.useMemo(()=>{if(!L||L.length<=1)return L;const F=L[V];return F?[F]:L},[L,V]),jt=o===!0;i.useEffect(()=>{try{const F=g.current;F&&typeof F.playbackRate=="number"&&(F.playbackRate=de||1)}catch{}},[de]),i.useEffect(()=>{try{const F=g.current;F&&(F.volume=Math.max(0,Math.min(1,fe)))}catch{}},[fe]);const gt=he==="hold",$t=he==="out",Ht=Y==="playMode"&&!k&&!Fe||gt||$t,Vt=j!=="stopped"||gt||$t,zt=j==="paused",ae=Math.max(0,Math.min(100,(O||0)*100)),me=be("audio-player__fill",Ht?"is-visible":"",Vt?"is-expanded":"",zt?"is-paused":"",$t?"is-out":"");return t.jsxs("div",{className:`audio-player ${jt?"is-disabled":""}${l?` ${l}`:""}`,role:"group","aria-label":typeof h=="string"?h:void 0,children:[t.jsxs("div",{className:`audio-player__panel ${Kt?"is-playing":""} ${k?"is-loading":""} ${Y!=="default"?"is-revealed":""}`,children:[k?t.jsxs("div",{className:"audio-player__loading",role:"status","aria-live":"polite",children:[t.jsx("span",{className:"audio-player__loading-spinner","aria-hidden":"true"}),t.jsx("span",{className:"audio-player__loading-text",children:G4[H]})]}):null,Y==="active"?t.jsx("button",{className:"audio-player__button",type:"button",onClick:()=>{M(),Ft()},"aria-label":typeof h=="string"?h:u("training.listen","\uB4E3\uAE30"),onMouseEnter:A,onMouseLeave:M,onFocus:A,onBlur:M,children:t.jsx("span",{ref:S,className:"audio-player__button-triangle-wrap",children:t.jsx("svg",{className:"audio-player__button-triangle",viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{ref:y,d:"M13.2 7.7 L16.5 9.85 Q20.2 12 16.5 14.15 L10 18.3 Q7 19.7 7 16.3 L7 7.7 Q7 4.3 10 5.7 L13.2 7.7"})})})}):null,x&&t.jsx(sn,{anchorRect:x,text:typeof h=="string"&&h?h:u("training.listenLabel","\uBB38\uC7A5 \uB4E3\uAE30"),offset:8}),t.jsxs("div",{className:`audio-player__play ${Y==="playMode"||Kt?"is-visible":""}`,children:[t.jsxs("div",{ref:m,className:"audio-player__buttons",children:[t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-back",onClick:nn,ariaLabel:u("training.prev","\uC774\uC804"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:Y!=="playMode"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:Kt?"pause":"play",onClick:Ft,ariaLabel:u("common.playPause","\uC7AC\uC0DD / \uBA48\uCDA4"),width:"60px",variant:"transparent-white",disabled:Y!=="playMode"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"square",onClick:Ut,ariaLabel:u("training.stop","\uC815\uC9C0"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:Y!=="playMode"}),ht>1?t.jsx("div",{ref:b,className:"audio-player__source-buttons",children:Array.from({length:ht}).map((F,Q)=>t.jsx(te,{size:32,type:"dot",shape:"pill",useBorder:!1,label:String(Q+1),onClick:()=>{try{Gt(Q)}catch{}},ariaLabel:u("training.sourcePlay",{n:Q+1}),variant:"transparent-white",selected:I&&V===Q,disabled:Y!=="playMode"||!(Array.isArray(E)&&E[Q]),showTooltipInfo:!0},Q))}):null,!Array.isArray(E)||E.length<=1?t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"repeat",onClick:Ot,ariaLabel:u("common.replay","\uB2E4\uC2DC\uB4E3\uAE30"),width:"60px",variant:"transparent-white",disabled:Y!=="playMode"}):null,t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-forward",onClick:_t,ariaLabel:u("training.next","\uB2E4\uC74C"),width:"60px",variant:"transparent-white","aria-hidden":!0,tabIndex:-1,disabled:Y!=="playMode"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"check",onClick:an,ariaLabel:u("common.done","\uC644\uB8CC"),width:"60px",variant:"transparent-white",disabled:Y!=="playMode"})]}),t.jsxs("div",{className:"audio-player__slider",children:[t.jsx("div",{className:me,ref:f,style:{left:`${ae}%`},"aria-hidden":"true"}),(c||d)&&t.jsx(U4,{segments:Ke,progress:O,totalDuration:K,onSegmentClick:Gt,waveProgressRef:se,showSoundWaveForm:c,noiseSrc:d&&p?.settings.enabled&&ge>0?Ye:null,noiseVolume:ge,noiseSpeed:p?.settings.speed??1,mainVolume:fe,onReadyChange:He})]})]}),t.jsx("audio",{ref:g,crossOrigin:"anonymous",preload:"auto"})]}),!c&&t.jsxs("p",{className:"audio-player__no-waveform caption-1",children:[t.jsx(Pe,{icon:"triangle-alert",size:14}),u("training.noSoundWaveform","\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")]}),t.jsx(Dn,{message:q,position:we,onClose:Nt})]})}function Ca(e){const{t:n}=pe.useTranslation(),{text:a,label:r,anchorRect:o=null,onClose:s,closeOnOutsideClick:l=!0,isMobilePopup:c=!1}=e||{},[d,u]=i.useState(()=>{try{return localStorage.getItem("tooltip-theme")||"light"}catch{return"light"}});i.useEffect(()=>{try{localStorage.setItem("tooltip-theme",d)}catch{}},[d]);const{increase:h,decrease:p,canIncrease:C,canDecrease:g,fontSize:f,lineHeight:m}=Ss({storageKey:"tooltip-fontScale"}),v=i.useCallback(()=>u(S=>S==="dark"?"light":"dark"),[]),b=i.useCallback(S=>{try{S.stopPropagation()}catch{}try{typeof s=="function"&&s()}catch{}},[s]),w=Array.isArray(a)?a:typeof a>"u"||a===null?[]:[a],_={fontSize:`${f}px`,lineHeight:`${m}px`,"--tt-line-height":`${m}px`,"--tt-marker-size":"28px"},y=t.jsxs("div",{className:`tooltip-textbox__root ${d==="dark"?"is-dark":""}`,children:[t.jsxs("div",{className:"tooltip-textbox__box",children:[r&&t.jsx("div",{className:"tooltip-textbox__label body-2b",children:r}),t.jsx("div",{className:"tooltip-textbox__text body-1",style:_,children:w.map((S,x)=>t.jsxs("div",{className:"tooltip-textbox__line",children:[w.length>1?t.jsx("div",{className:"tooltip-textbox__marker",children:t.jsx("span",{className:"tooltip-textbox__line-number button-1",children:x+1})}):null,t.jsx("span",{className:"tooltip-textbox__line-text",children:S})]},x))})]}),t.jsxs("div",{className:"tooltip-textbox__buttons",children:[t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"minus",onClick:p,ariaLabel:n("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),variant:d==="dark"?"transparent-white":"transparent-gray",disabled:!g}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"plus",onClick:h,ariaLabel:n("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),variant:d==="dark"?"transparent-white":"transparent-gray",disabled:!C}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:d==="dark"?"moon":"sun-medium",onClick:v,ariaLabel:n("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:d==="dark"?"transparent-white":"transparent-gray"}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"x",onClick:b,ariaLabel:n("common.close","\uB2EB\uAE30"),variant:d==="dark"?"transparent-white":"transparent-gray"})]})]});return o?t.jsx(on,{anchorRect:o,className:`tooltip-textbox ${d==="dark"?"is-dark":""}`,onClose:s,closeOnOutsideClick:l,isMobilePopup:c,ariaLabel:r||n("tooltip.textbox","\uBCF8\uBB38"),children:y}):t.jsx("div",{className:`tooltip-textbox ${d==="dark"?"is-dark":""}`,children:y})}function sl({state:e="disabled"}){const{t:n}=pe.useTranslation();return t.jsxs("div",{className:`ts-bullet ts-bullet--${e}`,"aria-hidden":!0,children:[t.jsx("div",{className:"bullet__dot",children:t.jsx(Pe,{icon:"chevron-right",label:n("training.next","\uB2E4\uC74C"),className:"bullet__icon",imgClassName:"bullet__icon-img",maskClassName:"bullet__icon-mask",svgClassName:"bullet__icon-svg",wrapperStyle:{},size:20})}),t.jsx("div",{className:"ts-bullet__line"})]})}function il({title:e,children:n,className:a="",state:r="disabled",usePreviewTextBtn:o=!1,onPreviewTextBtn:s,previewText:l=null,useFaded:c,usePlayAllBtn:d=!1,onPlayAll:u,playAllActive:h=!1}){const{t:p}=pe.useTranslation(),C=Yt("(max-width: 767px)"),g=`training-step__title h4 ${c&&r==="disabled"?"training-step__title--faded":""} ${a}`.trim(),f=`training-step__title-row training-step__title-row--${r}`.trim(),m=i.useRef(null),[v,b]=i.useState(!1),[w,_]=i.useState(null),[y,S]=i.useState(null),x=i.useRef(s);i.useEffect(()=>{x.current=s});const A=i.useMemo(()=>l==null?"":typeof l=="string"||typeof l=="number"?String(l):Array.isArray(l)&&l.every(D=>typeof D=="string"||typeof D=="number")?l.join(""):"",[l]),M=i.useCallback(()=>{b(!1),_(null),S(null)},[]);i.useEffect(()=>{if(!v)return;let D;try{typeof x.current=="function"&&(D=x.current())}catch{}if(D===!1){M();return}S(typeof D<"u"&&D!==null?D:null)},[A]);const k=i.useCallback(()=>{let D;try{typeof s=="function"&&(D=s())}catch{}if(D!==!1){if(S(typeof D<"u"&&D!==null?D:l),!m.current){b(H=>!H);return}if(v)b(!1),_(null),S(null);else{const H=m.current.getBoundingClientRect();_(H),b(!0)}}},[s,l,v]);return t.jsxs("div",{className:f,children:[t.jsx("p",{className:g,children:t.jsx("span",{className:"training-step__title-text",children:e??n})}),o||d?t.jsxs("div",{className:"title-controls",children:[t.jsxs("div",{className:"title-buttons",children:[d&&t.jsx(te,{size:32,type:C?"dot":"bar",icon:"play-circle",label:C?void 0:p("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),ariaLabel:p("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),selected:h,onClick:u,variant:r==="disabled"?"disabled":"default",disabled:r==="disabled"||h}),o&&t.jsx("div",{ref:m,children:t.jsx(te,{size:32,type:C?"dot":"bar",icon:"eye",label:C?void 0:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),ariaLabel:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),selected:v,onClick:k,variant:r==="disabled"?"disabled":"default",disabled:!l&&typeof s!="function"})})]}),v&&t.jsx(Ca,{text:y??l,label:p("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),anchorRect:w,onClose:M,closeOnOutsideClick:!1,isMobilePopup:!0})]}):null]})}function Ar(e,n){return typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled"}function xn({index:e,stepIndex:n,isLast:a=!1,title:r="",titleProps:o={},children:s,className:l="",onDone:c=void 0,useTitleFaded:d=void 0}){const{t:u}=pe.useTranslation(),[h,p]=i.useState(()=>Ar(e,n));i.useEffect(()=>{const S=Ar(e,n);if(S!==h){const x=setTimeout(()=>p(S),0);return()=>clearTimeout(x)}},[e,n,h]);const C=i.useCallback((...S)=>{Ar(e,n)==="done"||h==="done"||typeof c=="function"&&c(...S)},[e,n,h,c]),[g,f]=i.useState(!1),[m,v]=i.useState({text:"",label:"\uBB38\uC7A5 \uB4E3\uAE30",anchorRect:null,backdrop:!1,alignX:null,alignY:null}),b=i.useCallback(S=>{if(!S)return null;try{const x=S;if(typeof S=="object"&&(x.currentTarget||x.target)&&(x.nativeEvent||x.type)){const k=x.currentTarget??x.target;if(k&&typeof k.getBoundingClientRect=="function")return k.getBoundingClientRect()}if(S instanceof DOMRect)return S;const A=S;if(A&&typeof A.getBoundingClientRect=="function")return A.getBoundingClientRect();const M=S?.current;return M&&typeof M.getBoundingClientRect=="function"?M.getBoundingClientRect():null}catch{return null}},[]),w=i.useCallback((S,{text:x="",label:A="\uBB38\uC7A5 \uB4E3\uAE30",backdrop:M=!1,alignX:k="center",alignY:D="top"}={})=>{const H=b(S);v({text:x,label:A,anchorRect:H,backdrop:M,alignX:k,alignY:D}),f(!0)},[b]),_=i.useCallback(()=>{f(!1),v(S=>({...S,anchorRect:null}))},[]),y=i.Children.map(s,S=>{if(i.isValidElement(S)){const x=S;if(typeof x.type=="string")return x;const A=x.props??{},M=typeof A.onDone=="function"?A.onDone:C,k=typeof A.disabled=="boolean";let D=h==="disabled";return k&&(D=!!A.disabled),i.cloneElement(x,{onDone:M,disabled:D,showTooltip:w,hideTooltip:_})}return S});return t.jsxs("div",{className:`training-step training-step--${h} ${a?"training-step--last":""} ${l}`,"aria-current":h==="active",children:[t.jsx(sl,{state:h}),t.jsxs("div",{className:"training-step__content",children:[t.jsx(il,{state:h,title:r,...o,useFaded:d}),y]}),g?t.jsx(on,{anchorRect:m.anchorRect,backdrop:m.backdrop,onClose:_,ariaLabel:u("tooltip.textbox","\uBCF8\uBB38"),children:t.jsx(Ca,{text:m.text,onClose:_})}):null]})}function ll({context:e,state:n="disabled",theme:a="light"}){const{t:r}=pe.useTranslation(),[o,s]=i.useState("disabled"),[l,c]=i.useState(()=>{try{return localStorage.getItem("tooltip-theme")||a}catch{return a}});i.useEffect(()=>{try{localStorage.setItem("tooltip-theme",l)}catch{}},[l]);const d=()=>c(k=>k==="dark"?"light":"dark"),{increase:u,decrease:h,canIncrease:p,canDecrease:C,fontSize:g,lineHeight:f}=Ss({storageKey:"textbox_fontScale"}),[m,v]=i.useState(""),b=i.useCallback(()=>s("active"),[]),w=i.useCallback(()=>v(""),[]),_=k=>{try{v(k)}catch{}},y=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent||"");i.useEffect(()=>{if(n!=="disabled"){const k=setTimeout(()=>s(n),0);return()=>clearTimeout(k)}},[n]);const S=i.useMemo(()=>e&&typeof e=="object"?String(e.sentence??e.text??""):typeof e=="string"?e:"",[e]);i.useEffect(()=>{const k=setTimeout(()=>s("disabled"),0);return()=>clearTimeout(k)},[S]);const x=n==="disabled"?o:n,A=x==="disabled"?"training-text-box--disabled":x==="active"?"training-text-box--active":x==="done"?"training-text-box--done":"",M=i.useMemo(()=>({fontSize:`${g}px`,lineHeight:`${f}px`}),[g,f]);return t.jsxs("div",{className:`training-text-box ${A} ${x!=="disabled"&&l==="dark"?"is-dark":""}`,children:[x==="disabled"&&t.jsx("div",{className:"training-text-box__preview",children:t.jsx(te,{size:48,type:"bar",onClick:b,icon:"eye",ariaLabel:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),label:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),useBorder:!1})}),t.jsx("div",{className:"training-text-box__area","aria-hidden":x==="disabled",children:t.jsx("span",{className:"training-text-box__inner h3",style:M,children:S})}),x!=="disabled"&&t.jsxs("div",{className:"training-text-box__buttons","aria-hidden":x==="disabled",children:[t.jsx(te,{size:32,type:"dot",onClick:h,onDisabledClick:()=>_(r("training.fontSizeMin","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),icon:"minus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!C,useBorder:!1,showTooltipInfo:!0,...!y&&{width:"60px"}}),t.jsx(te,{size:32,type:"dot",onClick:u,onDisabledClick:()=>_(r("training.fontSizeMax","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),icon:"plus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!p,useBorder:!1,showTooltipInfo:!0,...!y&&{width:"60px"}}),t.jsx(te,{size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:l==="dark"?"moon":"sun-medium",onClick:d,ariaLabel:r("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:l==="dark"?"transparent-white":"transparent-gray"})]}),t.jsx(Dn,{message:m,position:"top",onClose:w})]})}function Nr({index:e,stepIndex:n,isLast:a=!1,title:r,useTitleFaded:o,onDone:s,onChange:l,answer:c,wrongAnswers:d,choices:u,multiSelect:h=!1,correctCount:p=0,useDisabledCovered:C=!1,choiceIcons:g,shuffleChoices:f=!0}){const{t:m}=pe.useTranslation(),v=r??m("training.selectConfirm","\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694."),b=typeof e=="number"?e:-1,w=typeof n!="number"?"disabled":b<n?"done":b===n?"active":"disabled",_=Array.isArray(u)&&u.length?u:typeof c<"u"?[c].concat(Array.isArray(d)?d:[]):void 0,y=d?d.join("||"):"",S=u?u.join("||"):"",[x,A]=i.useState(()=>Array.isArray(_)?f?Vn(_):_.slice():void 0);i.useEffect(()=>{Array.isArray(_)&&_.length?A(f?Vn(_):_.slice()):A(void 0)},[c,y,S,f]);const[M,k]=i.useState(null),[D,H]=i.useState(()=>new Set);i.useEffect(()=>{k(null),H(new Set)},[S]);const R=i.useRef(void 0);i.useEffect(()=>{const B=R.current;typeof B=="number"&&typeof n=="number"&&typeof e=="number"&&B>=e&&n<e&&(k(null),H(new Set)),R.current=n},[n,e]);const j=i.useCallback(B=>{if(w!=="active")return;const O=x?.[B];if(O==null)return;const Z=O,Y=w==="active"||w==="done";if(h){const J=new Set(D),E=J.has(Z);E?J.delete(Z):J.add(Z),H(J),typeof l=="function"&&l({selectedValues:[...J],__ts:Date.now()}),Y&&(typeof p=="number"&&p>0?J.size>=p:!E)&&typeof s=="function"&&w==="active"&&s({selectedValues:[...J],__ts:Date.now()})}else k(Z),typeof l=="function"&&l({selectedIndex:B,selectedValue:Z,__ts:Date.now()}),Y&&typeof s=="function"&&w==="active"&&s({selectedIndex:B,selectedValue:Z,__ts:Date.now()})},[x,w,h,l,s,p,D]),P=`training-step__buttons${Array.isArray(x)&&x.length>3?" training-step__buttons--wrap-3":""}`;return t.jsx(xn,{index:e,stepIndex:n,isLast:a,title:v,useTitleFaded:o,children:t.jsx("div",{className:P,children:Array.isArray(x)&&x.length>0?x.map((B,O)=>t.jsx(te,{size:56,type:"bar",onClick:()=>j(O),ariaLabel:String(B),label:B,useLabel:!0,icon:g?g[String(B)]:void 0,variant:"default",disabled:w==="disabled",selected:h?D.has(B):M===B,useDisabledCovered:C,minWidth:0},String(B))):null})})}function Br({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l,demoSelected:c}){const{t:d}=pe.useTranslation(),u=r??d("training.confirmTitle","\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694."),h=typeof e=="number"?e:-1,p=typeof n!="number"?"disabled":h<n?"done":h===n?"active":"disabled",C=l&&typeof l=="object"?l.sentence||"":typeof l=="string"?l:"",g=l&&typeof l=="object"?l.choices:void 0,[f,m]=i.useState(c??null);i.useEffect(()=>{if(c==null&&f!==null){const _=setTimeout(()=>m(null),0);return()=>clearTimeout(_)}},[C,c,f]);const v=i.useCallback(_=>{const y=typeof _=="object"&&_!==null?Object.assign({},_,{__ts:Date.now()}):{value:_,__ts:Date.now()};typeof s=="function"&&s(y),p==="active"&&typeof o=="function"&&o(y)},[s,p,o]),b=i.useCallback(()=>{p==="active"&&(m(!1),v(!1))},[v,p]),w=i.useCallback(()=>{p==="active"&&(m(!0),v(!0))},[v,p]);return t.jsxs(xn,{index:e,stepIndex:n,isLast:a,title:u,onDone:o,useTitleFaded:!1,children:[t.jsx(ll,{context:l,state:p}),t.jsx("div",{className:"training-step__buttons",children:Array.isArray(g)&&g.length>0?g.slice(0,6).map((_,y)=>t.jsx(te,{size:56,type:"bar",onClick:()=>{p==="active"&&(m(y),v&&v(y))},disabled:p==="disabled",ariaLabel:String(_),label:_,variant:p,selected:f===y},y)):t.jsxs(t.Fragment,{children:[t.jsx(te,{size:56,type:"bar",onClick:b,disabled:p==="disabled",icon:"x",ariaLabel:d("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),label:d("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!1}),t.jsx(te,{size:56,type:"bar",onClick:w,disabled:p==="disabled",icon:"circle",ariaLabel:d("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),label:d("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:f===!0})]})})]})}function Sr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,btnLabel:s,soundSrc:l,bucketPath:c,usePreviewTextBtn:d,previewText:u=null,onPreviewTextBtn:h,disabled:p,_pageIndex:C,showSoundWaveForm:g,showNoiseWaveForm:f}){const{t:m}=pe.useTranslation(),v=r??m("training.listenTitle","\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694."),b=p??(typeof n=="number"&&typeof e=="number"?e>n:!1);return t.jsx(xn,{index:e,stepIndex:n,isLast:a,title:v,onDone:o,titleProps:{usePreviewTextBtn:d,previewText:u,onPreviewTextBtn:h},children:t.jsx(kr,{soundSrc:l,ttsText:l?null:u??v,bucketPath:c,btnLabel:s||m("training.listenButton","\uBB38\uC7A5 \uB4E3\uAE30"),disabled:b,className:"training-step__listen-sticky",showSoundWaveForm:g,showNoiseWaveForm:f},`audio-p${C??0}-s${e}`)})}function Dr({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l=[]}){const{t:c}=pe.useTranslation(),d=r??c("training.orderListDefault","\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694."),u=$=>typeof $=="string"?$:$&&($.context||$.sentence||$.question||"")||"",[h,p]=i.useState(Array.isArray(l)?l:[]),[C,g]=i.useState(()=>(h||[]).map(($,L)=>({id:L,text:u($)}))),f=i.useMemo(()=>typeof n!="number"||typeof e!="number"?"disabled":e<n?"done":e===n?"active":"disabled",[n,e]);i.useEffect(()=>{const $=Array.isArray(l)?l:[];p($);const L=(z=>{const V=(z||[]).map((K,re)=>({id:re,text:u(K)}));if(V.length<=1)return V;const X=(K,re)=>{if(K.length!==re.length)return!1;for(let de=0;de<K.length;de++)if(K[de].text!==re[de].text)return!1;return!0};let I=Vn(V),U=0;for(;X(I,V)&&U<20;)I=Vn(V),U+=1;return I})($);g(L);try{if(typeof s=="function"){const z=L.filter((V,X)=>V.text===u($[X])).length;s({shuffled:L,score:z,total:($||[]).length,initial:!0,__ts:Date.now()})}if(typeof o=="function"&&f==="active"){const z=L.filter((V,X)=>V.text===u($[X])).length;o({shuffled:L,score:z,total:($||[]).length,initial:!0,__ts:Date.now()})}}catch{}},[l]);const m=($,L)=>{const z=[...C],V=$+L;if(V<0||V>=z.length)return;const X=z[V];z[V]=z[$],z[$]=X,P(z);try{if(typeof o=="function"&&f==="active"){const I=z.filter((U,K)=>U.text===u(h[K])).length;o({shuffled:z,score:I,total:(h||[]).length,__ts:Date.now()})}}catch{}},[v,b]=i.useState(null),w=i.useRef(null),_=i.useRef(null),y=i.useRef(null),S=i.useRef(null),x=i.useRef(null),A=i.useRef({x:0,y:0}),M=i.useRef(null),k=i.useRef({dx:0,dy:0}),D=()=>{if(M.current!==null)return;const $=()=>{M.current=requestAnimationFrame($);const L=A.current,z=k.current||{dx:0,dy:0};w.current&&(w.current.style.transform=`translate3d(${L.x-z.dx}px, ${L.y-z.dy}px, 0)`)};M.current=requestAnimationFrame($)},H=i.useRef(new Map),R=i.useRef(new Map),j=()=>{const $=new Map;return H.current.forEach((L,z)=>{L&&L.getBoundingClientRect&&$.set(z,L.getBoundingClientRect())}),$},P=$=>{const L=j();g($);try{if(typeof s=="function"){const z=$.filter((V,X)=>V.text===u(h[X])).length;s({shuffled:$,score:z,total:(h||[]).length,__ts:Date.now()})}}catch{}requestAnimationFrame(()=>{const z=j();$.forEach(V=>{const X=L.get(V.id),I=z.get(V.id),U=H.current.get(V.id);if(!U||!X||!I)return;const K=X.top-I.top;K&&(U.style.transition="none",U.style.transform=`translateY(${K}px)`,requestAnimationFrame(()=>{U.style.transition="transform 420ms cubic-bezier(.22,.9,.39,1)",U.style.transform="";const re=()=>{U.style.transition="",U.removeEventListener("transitionend",re)};U.addEventListener("transitionend",re)}))})})},B=($,L)=>{try{try{L.dataTransfer?.setData("text/plain",String($))}catch{}try{L.dataTransfer&&(L.dataTransfer.effectAllowed="move")}catch{}try{const z=document.createElement("div");z.style.cssText="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild(z),L.dataTransfer?.setDragImage(z,0,0),requestAnimationFrame(()=>{try{document.body.removeChild(z)}catch{}})}catch{}}catch{}b($);try{const z=C[$],V=document.createElement("div");V.className="order-list__dragging-object order-list__dragging-object--visible",V.textContent=z&&z.text?z.text:"",document.body.appendChild(V),w.current=V;const X=H.current.get(z.id);let I=L.clientX||0,U=L.clientY||0;try{if(X&&X.getBoundingClientRect){const he=X.getBoundingClientRect();I=he.left+he.width/2,U=he.top+he.height/2}}catch{}const K=V.getBoundingClientRect(),re=K.width/2,de=K.height/2;k.current={dx:re,dy:de},V.style.transition="none",A.current={x:I,y:U},V.style.transform=`translate3d(${I-re}px, ${U-de}px, 0)`,requestAnimationFrame(()=>{try{V.style.transition=""}catch{}D()});const fe=he=>{const T=he;A.current={x:T.clientX,y:T.clientY},D()};y.current=fe,document.addEventListener("mousemove",fe);const ge=he=>{const T=he;A.current={x:T.clientX,y:T.clientY},D()};_.current=ge,document.addEventListener("dragover",ge);try{L.dataTransfer?.setData("text/plain",String($));try{L.dataTransfer?.setData("application/json",JSON.stringify({idx:$}))}catch{}}catch{}}catch{}},O=($,L)=>{L.preventDefault();try{L.dataTransfer&&(L.dataTransfer.dropEffect="move")}catch{}try{x.current!==null&&(clearTimeout(x.current),x.current=null);const z=L.currentTarget&&L.currentTarget.closest?L.currentTarget.closest(".order-list__item"):null;if(z&&S.current!==z){if(S.current)try{S.current.classList.remove("drag-over")}catch{}try{z.classList.add("drag-over")}catch{}S.current=z}}catch{}},Z=($,L)=>{L.preventDefault();const z=L.dataTransfer?.getData("text/plain")||"",V=z?parseInt(z,10):v,X=$;if(typeof V!="number"||isNaN(V)||V===X){b(null),E(),Y();return}const I=Nm(C,V,X);P(I),b(null),Y();try{if(typeof o=="function"&&f==="active"){const U=I.filter((K,re)=>K.text===u(h[re])).length;o({shuffled:I,score:U,total:(h||[]).length,__ts:Date.now()})}}catch{}try{requestAnimationFrame(()=>{const U=document.querySelectorAll(".order-list .order-list__item")[X];if(!U)return;const K=U.querySelector(".order-list__slot")||U;try{K.classList.add("pulse"),K.offsetHeight,K.classList.add("to-dark");const re=()=>{K.classList.remove("pulse","to-dark"),K.removeEventListener("transitionend",re)};K.addEventListener("transitionend",re)}catch{}})}catch{}E()},Y=()=>{if(w.current){try{document.body.removeChild(w.current)}catch{}w.current=null}_.current&&(document.removeEventListener("dragover",_.current),_.current=null),y.current&&(document.removeEventListener("mousemove",y.current),y.current=null),M.current!==null&&(cancelAnimationFrame(M.current),M.current=null)},J=()=>{b(null),E(),Y()};i.useEffect(()=>()=>Y(),[]);const E=()=>{try{if(x.current!==null&&(clearTimeout(x.current),x.current=null),S.current){try{S.current.classList.remove("drag-over")}catch{}S.current=null}document.querySelectorAll(".order-list .order-list__item").forEach($=>$.classList.remove("drag-over"))}catch{}};return i.useEffect(()=>{try{const $=Math.max(1,(C||[]).length);C.forEach((L,z)=>{const V=R.current.get(L.id);if(!V)return;let X=50;$>1&&(X=Math.round(z/($-1)*100));try{V.style.setProperty("--marker-pos",X+"%")}catch{}})}catch{}},[C]),i.useEffect(()=>()=>{Y(),x.current!==null&&(clearTimeout(x.current),x.current=null)},[]),t.jsx(xn,{index:e,stepIndex:n,isLast:a,title:d,children:t.jsx("div",{className:"order-list",children:C.map(($,L)=>{const z=Math.max(1,(C||[]).length),V=z>1?Math.round(L/(z-1)*100):50;return t.jsx("div",{className:"order-list__item",children:t.jsxs("div",{className:"order-list__slot","data-disabled":f==="disabled","aria-disabled":f==="disabled",children:[f!=="disabled"?t.jsx("div",{className:"order-list__marker caption-1",style:{"--marker-pos":V+"%"},ref:X=>{const I=R.current;X?I.set($.id,X):I.delete($.id)},children:t.jsx("span",{className:"order-list__slot-number button-1",children:L+1})}):null,t.jsxs("div",{ref:X=>{const I=H.current;X?I.set($.id,X):I.delete($.id)},className:`order-list__draggable ${v===L?"dragging":""}`,"data-disabled":f==="disabled","aria-disabled":f==="disabled",tabIndex:f==="disabled"?-1:0,draggable:f==="active",onDragStart:f==="active"?X=>B(L,X):void 0,onDragEnter:f==="active"?X=>O(L,X):void 0,onDragOver:f==="active"?X=>O(L,X):void 0,onDragLeave:f==="active"?()=>{try{x.current!==null&&clearTimeout(x.current),x.current=setTimeout(()=>{try{const X=document.querySelectorAll(".order-list .order-list__item");X&&X[L]&&(X[L].classList.remove("drag-over"),S.current===X[L]&&(S.current=null))}catch{}},80)}catch{}}:void 0,onDrop:f==="active"?X=>Z(L,X):void 0,onDragEnd:f==="active"?J:void 0,children:[t.jsx("span",{className:"order-list__item-text body-2",children:$.text}),f==="active"?t.jsxs("span",{className:"order-list__item-buttons",children:[t.jsx(te,{size:32,type:"dot",onClick:()=>m(L,-1),ariaLabel:c("training.up"),icon:"chevron-up",variant:"transparent-gray",width:48,useFaded:"true",disabled:L===0,useBorder:!1,useDisabledInvisible:!0}),t.jsx(te,{size:32,type:"dot",onClick:()=>m(L,1),ariaLabel:c("training.down"),icon:"chevron-down",variant:"transparent-gray",width:48,useFaded:"true",disabled:L===C.length-1,useBorder:!1,useDisabledInvisible:!0})]}):null]})]})},$.id)})})})}const ob=8e3;function sb(e,n){return new Promise(a=>{let r=!1;const o=()=>{r||(r=!0,a())};e.then(o,o),setTimeout(o,n)})}function cl({index:e,stepIndex:n,isLast:a=!1,title:r,onDone:o,onChange:s,context:l=[],selectable:c=!1,hideLabel:d=!1,hideAudio:u=!1,maxCards:h}){const{t:p}=pe.useTranslation(),C=r??p("training.cardInstructions","\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694."),g=i.useMemo(()=>Array.isArray(l)?l:l&&l.items||[],[l]),f=h??3,m=(g||[]).slice(0,f);(g||[]).length>f&&console.warn(`TrainingStepCard: ${g.length} items passed but only ${f} shown`);const v=typeof e=="number"?e:-1,b=typeof n!="number"?"disabled":v<n?"done":v===n?"active":"disabled",[w,_]=i.useState(null),y=i.useRef([]),[S,x]=i.useState(!1),A=i.useMemo(()=>g.map(H=>H?.id??H?.word??"").join("|"),[g]);i.useEffect(()=>{_(null),y.current=[]},[A]);const M=i.useCallback((H,R)=>{if(c)return;const j={item:H,index:R,__ts:Date.now()};try{typeof s=="function"&&s(j)}catch{}if(b==="active"&&typeof o=="function")try{o(j)}catch{}},[c,s,b,o]),k=i.useCallback(async()=>{if(!(S||b==="disabled")){x(!0);try{for(const H of y.current)H&&await sb(H.play(),ob)}finally{x(!1)}}},[S,b]),D=i.useCallback((H,R)=>{if(b!=="active")return;_(R);const j={selectedValue:H.word||H.title||"",selectedIndex:R,item:H,__ts:Date.now()};try{typeof s=="function"&&s(j)}catch{}if(b==="active"&&typeof o=="function")try{o(j)}catch{}},[s,b,o]);return t.jsx(xn,{index:e,stepIndex:n,isLast:a,title:C,onDone:o,titleProps:{usePlayAllBtn:!u&&m.length>0,onPlayAll:k,playAllActive:S},children:t.jsx("div",{className:"training-step__cards",children:m.length===0?t.jsx("div",{className:"training-step__empty",children:p("training.noCards","\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}):m.map((H,R)=>t.jsx(lr,{ref:j=>{y.current[R]=j},item:H,disabled:b==="disabled",onPlayDone:()=>M(H,R),selectable:c,selected:c&&w===R,onSelect:c?()=>D(H,R):void 0,flipDelay:R*120,hideLabel:d,hideAudio:u},H&&H.id||R))})})}const ib=160,ul=()=>{};function dn(e){const n=i.useId();if(!("variant"in e)){const{label:m,sub:v,onClick:b,children:w,align:_="horizontal",icon:y}=e,S=x=>{b&&x.target===x.currentTarget&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),b())};return t.jsxs("div",{className:be("panel-row",_==="vertical"?"panel-row--vertical":"",b?"panel-row--clickable":""),onClick:b,onKeyDown:b?S:void 0,role:b?"button":void 0,tabIndex:b?0:void 0,children:[y!=null&&t.jsx("div",{className:"panel-row__icon",children:y}),m!=null&&t.jsxs("div",{className:"panel-row__left",children:[t.jsx("div",{className:"panel-row__label body-3",children:m}),v&&t.jsx("div",{className:"panel-row__sub caption-1",children:v})]}),t.jsx("div",{className:"panel-row__right",children:w})]})}if(e.variant==="description")return t.jsx("div",{className:"panel-row panel-row--block",children:t.jsx("p",{className:"panel-row__description body-3",children:e.children})});if(e.variant==="empty")return t.jsx("div",{className:"panel-row panel-row--empty body-3",children:e.children});if(e.variant==="loading")return t.jsx("div",{className:"panel-row panel-row--loading",children:t.jsx(Yn,{size:28})});if(e.variant==="custom"&&!e.label)return t.jsx("div",{className:"panel-row panel-row--block",children:e.children});const{variant:a,label:r,sub:o,onClick:s,required:l,error:c,align:d="horizontal",useFullWidth:u=!1,icon:h}=e;let p=null;const C=a==="toggle"?`panel-toggle-${n}`:void 0;if(a==="toggle"){const m=e;p=t.jsx(ii,{checked:m.checked,onChange:m.onChange,id:C})}else if(a==="segmented"){const m=e;p=t.jsx(vn,{options:m.options,value:m.value,onChange:m.onChange,size:m.size??40,ariaLabel:r})}else if(a==="dropdown"){const m=e,v=m.dropdowns?.length?t.jsx("div",{className:`panel-row__dropdown-group${u?" panel-row__dropdown-group--full":""}`,children:m.dropdowns.map((b,w)=>t.jsx("div",{className:u?"panel-row__dropdown-item--full":void 0,children:t.jsx(It,{options:b.options,value:b.value,onChange:b.onChange,placeholder:b.placeholder,block:u,error:!!c,ariaLabel:b.ariaLabel??([r,b.placeholder].filter(Boolean).join(" ")||void 0)})},w))}):t.jsx(It,{options:m.options??[],value:m.value??"",onChange:m.onChange??ul,block:u,error:!!c,ariaLabel:r});p=c?t.jsxs("div",{className:`panel-row__dropdown-error-wrap${u?" panel-row__dropdown-error-wrap--full":""}`,children:[v,t.jsx("span",{className:"caption-1 panel-row__error",role:"alert",children:c})]}):v}else if(a==="button"){const m=e;m.buttons?.length?p=t.jsx("div",{className:"panel-row__button-group",children:m.buttons.map((v,b)=>t.jsx(te,{size:v.btnSize??40,variant:v.btnVariant??"default",disabled:v.disabled,onClick:v.onClick,children:v.label},b))}):p=t.jsx(te,{size:m.btnSize??40,variant:m.btnVariant??"default",disabled:m.disabled,onClick:m.onClick,children:m.buttonLabel})}else if(a==="text"){const m=e;p=t.jsx("span",{className:`panel-row__text body-2${u?" panel-row__text--full":""}`,style:m.valueColor?{color:m.valueColor}:void 0,children:m.value})}else if(a==="input"){const m=e;p=t.jsxs("div",{className:`panel-row__input-wrap${u?" panel-row__input-wrap--full":""}`,children:[t.jsx(yn,{value:m.value,onChange:m.onChange??ul,onKeyDown:m.onKeyDown,onEnter:m.onEnter,placeholder:m.placeholder,inputMode:m.inputMode,readOnly:m.readOnly,disabled:m.disabled,type:m.type,autoComplete:m.autoComplete,maxLength:m.maxLength,showCount:m.showCount,multiline:m.multiline,rows:m.rows,fullWidth:u,error:c,ariaLabel:r,required:l}),m.helperText&&t.jsx("div",{className:"panel-row__helper caption-1",children:m.helperText})]})}else a==="custom"&&(p=e.children);const g=a==="input"||a==="dropdown"||(a==="text"||a==="custom")&&u,f=m=>{s&&m.target===m.currentTarget&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),s())};return t.jsxs("div",{className:be("panel-row",d==="vertical"?"panel-row--vertical":"",g?"panel-row--label-fixed":"",a==="text"?"panel-row--text":"",s?"panel-row--clickable":""),onClick:s,onKeyDown:s?f:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,children:[h!=null&&t.jsx("div",{className:"panel-row__icon",children:h}),t.jsxs("div",{className:"panel-row__left",children:[C?t.jsxs("label",{htmlFor:C,className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}):t.jsxs("div",{className:"panel-row__label body-3",children:[r,l&&t.jsx("span",{className:"required-mark",children:"*"})]}),o&&t.jsx("div",{className:"panel-row__sub caption-1",children:o})]}),t.jsx("div",{className:"panel-row__right",children:p})]})}function dl(e){const n=e.productName||e.brand,a=[e.brand,e.fitType].filter(r=>!!r&&r!==n);return[...new Set(a)].join(" \xB7 ")}function lb({devices:e,onRelease:n,emptyLabel:a}){const{t:r}=pe.useTranslation();return t.jsx("div",{className:"panel-row panel-row--device",children:["\uC88C","\uC6B0"].map(o=>{const s=e[o],l=o==="\uC88C"?r("device.direction.left","\uC88C"):r("device.direction.right","\uC6B0");return t.jsxs("div",{className:"panel-row__device-column",children:[t.jsxs("div",{className:"panel-row__device-head",children:[t.jsx("span",{className:"panel-row__device-side body-2b",children:l}),s&&n&&t.jsx(te,{size:32,type:"dot",icon:"x",ariaLabel:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),showTooltipInfo:r("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),onClick:()=>n(o)})]}),s?t.jsxs("div",{className:"panel-row__device-info",children:[t.jsxs("span",{className:"panel-row__device-kind",children:[s.device&&t.jsx(ct,{size:"small",variant:xi(s.device),fill:"soft",label:s.device}),dl(s)&&t.jsx("span",{className:"panel-row__device-detail body-3",children:dl(s)})]}),t.jsx("span",{className:"panel-row__device-name body-2b",children:s.productName||s.brand}),t.jsx("span",{className:"panel-row__device-date caption-1",children:r("customers.device.wornSince",{date:`${s.wornYear}.${s.wornMonth}.${s.wornDay}`})})]}):t.jsx("span",{className:"panel-row__device-empty body-3",children:a??r("customers.device.notRegistered","\uBBF8\uB4F1\uB85D")})]},o)})})}function fa({title:e,icon:n,disc:a,actions:r,size:o="medium",minHeight:s,maxWidth:l,className:c,scrollable:d,useBorder:u=!0,useBg:h=!0,useRowBorder:p=!0,labelWidth:C,form:g=!1,loading:f,empty:m,children:v}){const b=be("panel",`panel--${o}`,g?"panel--form":"",s!==void 0?"panel--fill":"",u?"":"panel--no-border",h?"":"panel--no-bg",p?"":"panel--no-row-border",c),w={};return s!==void 0&&(w.minHeight=s),l!==void 0&&(w.maxWidth=typeof l=="number"?`${l}px`:l),C!==void 0&&(w["--panel-label-width"]=typeof C=="number"?`${C}px`:C),t.jsxs("div",{className:b,style:Object.keys(w).length?w:void 0,children:[(e!=null||a!=null)&&t.jsxs("div",{className:be("panel__header",a!=null?"panel__header--with-disc":""),children:[n&&t.jsx(Pe,{icon:n,label:typeof e=="string"?e:void 0,className:"panel__icon"}),t.jsxs("div",{className:"panel__title-group",children:[e!=null&&t.jsx("h2",{className:`panel__title ${a!=null?"body-3b":"h5b"}`,children:e}),a!=null&&t.jsx("p",{className:"panel__disc caption-1",children:a})]}),r&&t.jsx("div",{className:"panel__actions",children:r})]}),f?t.jsx(dn,{variant:"loading"}):m!=null&&(v==null||Array.isArray(v)&&v.length===0)?t.jsx(dn,{variant:"empty",children:m}):d?t.jsx("div",{className:"panel__body--scroll",children:v}):v]})}function cb({cols:e=2,children:n}){return t.jsx("div",{className:"panel-grid",style:{"--panel-grid-cols":e},children:n})}function ub(e){return[{label:e("training.noise.level.none","\uC5C6\uC74C"),value:0},{label:e("training.noise.level.weak","\uC57D\uD568"),value:1},{label:e("training.noise.level.medium","\uBCF4\uD1B5"),value:2},{label:e("training.noise.level.strong","\uAC15\uD568"),value:3},{label:e("training.noise.level.veryStrong","\uB9E4\uC6B0 \uAC15\uD568"),value:4}]}function pl(e){return[{label:e("training.noise.type.default","\uAE30\uBCF8"),value:"defaultNoise",icon:"party-popper"},{label:e("training.noise.type.street","\uAE38\uAC70\uB9AC"),value:"street",icon:"car"},{label:e("training.noise.type.buzz","\uC640\uAE00\uC640\uAE00"),value:"buzz",icon:"message-square-more"},{label:e("training.noise.type.restaurant","\uC2DD\uB2F9"),value:"restaurant",icon:"coffee"}]}ub(hn.t.bind(hn)),pl(hn.t.bind(hn));const jr="none",db=.5,pb=1.5,hb=.25;function Er({title:e,valueLabel:n,value:a,min:r,max:o,step:s,tickStep:l,size:c,onChange:d}){return t.jsxs(dn,{variant:"custom",label:e,useFullWidth:!0,children:[t.jsx(gi,{value:a,onChange:d,min:r,max:o,step:s,size:c,showBgTick:!0,tickStep:l,ariaLabel:e,className:"noise-settings__slider-input"}),t.jsx("div",{className:"noise-settings__value button-1",children:n})]})}function hl({anchorRect:e,onClose:n}){const{t:a}=pe.useTranslation(),r=Yt("(max-width: 767px)")?40:24,o=xr(),s=gr(o?.settings??vr),l=o?.settings.type??"defaultNoise",c=o?.settings.enabled??!0,d=o?.playbackRate??1,u=o?.mainVolume??1,h=Math.round(u*100),p=i.useCallback(m=>{try{o?.setMainVolume(Math.max(0,Math.min(1,m/100)))}catch{}},[o]),C=i.useCallback(m=>{try{o?.setPlaybackRate(m)}catch{}},[o]),g=i.useCallback(m=>{const v=Math.min(fr,Math.max(0,Math.round(m*10)/10));try{o?.setSettings({noiseRatio:v})}catch{}},[o]),f=i.useCallback(m=>{try{m===jr?o?.setSettings({enabled:!1}):o?.setSettings({type:m,enabled:!0})}catch{}},[o]);return t.jsx(on,{anchorRect:e,offset:12,onClose:n,ariaLabel:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),isMobilePopup:!1,closeOnOutsideClick:!1,header:t.jsxs("div",{className:"noise-settings__header",children:[t.jsx("span",{children:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815")}),t.jsx(te,{size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,ariaLabel:a("common.close","\uB2EB\uAE30"),onClick:n})]}),children:t.jsxs(fa,{className:"noise-settings",useBorder:!1,labelWidth:72,children:[t.jsx(Er,{title:a("training.playVolumeTitle","\uC804\uCCB4 \uC18C\uB9AC"),valueLabel:`${h}%`,value:h,min:0,max:100,step:10,size:r,onChange:p}),t.jsx(Er,{title:a("training.playSpeedTitle","\uC7AC\uC0DD \uC18D\uB3C4"),valueLabel:`${d.toFixed(2)}x`,value:d,min:db,max:pb,step:hb,size:r,onChange:C}),t.jsx(dn,{variant:"custom",label:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),useFullWidth:!0,children:t.jsx(vn,{ariaLabel:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),size:40,shape:"rounded",options:[{key:jr,label:a("training.noise.type.none","\uC5C6\uC74C")},...pl(a).map(m=>({key:m.value,label:m.label}))],value:c?l:jr,onChange:f})}),t.jsx(Er,{title:a("training.noiseRatioTitle","\uC18C\uC74C \uBE44\uC728"),valueLabel:a("training.noiseRatioValue","{{ratio}}\uBC30",{ratio:s.toFixed(1)}),value:s,min:0,max:fr,step:O4,size:r,onChange:g})]})})}function ml({useNoiseSettingBtn:e=!1,onSettings:n,onNext:a,onResult:r,stepIndex:o=0,stepCount:s=0,pageIndex:l=0,pageCount:c=1}){const{t:d}=pe.useTranslation(),[u,h]=i.useState(!1),[p,C]=i.useState(null),[g,f]=i.useState(!1),m=i.useRef(null),v=i.useRef(null),b=xr(),w=l<c-1,_=l===c-1,y=o===Math.max(0,s);i.useEffect(()=>{e||(h(!1),C(null))},[e]);const S=i.useCallback(()=>{h(!1),C(null)},[]),x=i.useCallback(()=>{if(u){h(!1),C(null);return}const k=m?.current?.getBoundingClientRect();k&&C(k),n?.(),h(!0)},[u,n]),A=i.useCallback(()=>{if(u){h(!1),C(null);return}const k=v?.current?.getBoundingClientRect();k&&C(k),n?.(),h(!0)},[u,n]),M=i.useCallback(()=>f(k=>!k),[]);return t.jsxs("div",{className:"pp-bottom",children:[t.jsxs("div",{className:"pp-bottom__left",children:[e?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pp-bottom__settings--desktop",children:t.jsx("div",{ref:m,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(te,{size:56,type:"bar",icon:"settings",onClick:x,selected:u,ariaLabel:d("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),label:d("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),minWidth:140})})}),t.jsx("div",{className:"pp-bottom__settings--mobile",children:t.jsx("div",{ref:v,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:t.jsx(te,{size:56,type:"dot",icon:"settings",onClick:A,selected:u,ariaLabel:d("training.settings","\uC124\uC815"),minWidth:52})})})]}):null,e&&t.jsx(te,{size:40,type:"dot",shape:"pill",icon:"audio-lines",onClick:M,selected:g,ariaLabel:d("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC")}),e&&g&&t.jsxs("div",{className:"pp-bottom__meters",children:[t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:d("training.meter.sentence","\uC7AC\uC0DD")}),t.jsx(ar,{analyser:b?.mainAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:d("training.meter.sentence","\uC7AC\uC0DD")})]}),t.jsxs("div",{className:"pp-bottom__meter",children:[t.jsx("span",{className:"pp-bottom__meter-label caption-1",children:d("training.meter.noise","\uC18C\uC74C")}),t.jsx(ar,{analyser:b?.noiseAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:d("training.meter.noise","\uC18C\uC74C")})]})]})]}),t.jsxs("div",{className:"pp-bottom__right",children:[_&&t.jsx(te,{size:56,type:"bar",icon:"check",onClick:typeof r=="function"?r:a,ariaLabel:d("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),label:d("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),variant:"main",disabled:!y}),w&&t.jsx(te,{size:56,type:"bar",rightIcon:"chevron-right",align:"right",onClick:a,ariaLabel:d("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),label:d("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),variant:"main",disabled:!y})]}),e&&u&&t.jsx(hl,{anchorRect:p,onClose:S})]})}function Cl({title:e,subtitle:n,desc:a,depth:r,icon:o,wrapperStyle:s,iconTooltip:l,pageIndex:c,pageCount:d,progressMax:u,progressIndex:h,onBack:p,onClose:C}){const{t:g}=pe.useTranslation(),f=Yt("(max-width: 767px)"),m=Number.isInteger(h)?h:c||0,v=Number.isInteger(u)?u:d||0,b=p||C,w=Array.isArray(r)?f?r[r.length-1]:r.join(" / "):r,_=typeof e=="string"?e.trim():e,y=typeof n=="string"?n.trim():n,S=!!(_||y),x=S?_||y:g("common.emptyTrainingName","\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),A=w||n,M=f&&typeof A=="string"&&(A.includes(" \xB7 ")||A.includes(" / "))?A.split(/\s[·/]\s/).pop():A,k=i.useMemo(()=>{const D=s&&typeof s=="object"?{...s}:{};return!("width"in D)&&!("height"in D)&&(D.width="40px",D.height="40px"),D},[s]);return t.jsxs("header",{className:"pp-title training-popup-title",children:[t.jsxs("div",{className:"pp-title__left",children:[b?t.jsx(te,{size:48,type:"dot",icon:"chevron-left",ariaLabel:g("common.back","\uB4A4\uB85C"),onClick:b,useBorder:!1,iconSize:"large",iconColor:"--color-black",variant:"transparent-gray"}):null,t.jsx("div",{children:o?t.jsx(ki,{icon:o,label:e,tooltip:l,wrapperStyle:k}):null}),t.jsxs("div",{className:"pp-title__text",children:[M?t.jsx("span",{className:"pp-title__depth caption-1",children:M}):null,t.jsx("span",{className:`pp-title__title h2${S?"":" pp-title__title--empty"}`,children:x}),a?t.jsx("span",{className:"pp-title__description caption-1",children:a}):null]})]}),t.jsx(vi,{max:Math.max(0,v??0),index:Math.max(0,m??0)})]})}function mb(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("speechear.popup.close"))}function Cb(e){return!e&&e!==0?[]:Array.isArray(e)?e.flatMap(n=>typeof n=="string"?n.split("|").map(a=>a.trim()).filter(Boolean):n||n===0?[String(n)]:[]):typeof e=="string"?e.split("|").map(n=>n.trim()).filter(Boolean):[String(e)]}function fl(e,n,a){const r=e,o=r?.title||r?.name||(Array.isArray(n)?n[n.length-1]:void 0)||a||"\uD6C8\uB828",s=Zo().find(c=>c.key===(r?.category_0||r?.category_main_code)),l=s?.subs?.find(c=>c.key===(r?.category_1||r?.category_sub_code));return{title:o,label:r?.title||o,depth:n,icon:s?.icon,wrapperStyle:s?.color?{"--t-item-fg":s.color}:void 0,iconTooltip:[s?.label,l?.label].filter(Boolean).join(" / ")||void 0}}function Tr(e){return e&&typeof e=="object"&&typeof e.__ts=="number"?e.__ts:0}function fb(e){const n=e;return Array.isArray(n?.items)?n.items:Array.isArray(e)?e:e?[e]:[]}function gb({idPrefix:e,trainingData:n,depth:a,fallbackTitle:r="\uD6C8\uB828",pages:o=[],emptyMessage:s,buildResults:l,metaPatch:c}){const d=fl(n,a,r),u=typeof c=="function"?c(d)||{}:c||{},h=n?.id||n?.title||o.length;return{id:`${e}:${h}`,meta:{...d,...u},pages:o,emptyMessage:s,buildResults:l}}function bb(e){if(typeof e=="string")return e;if(e&&typeof e=="object"){const n=e;return n.context||n.sentence||n.question||""||""}return""}function yb(e){if(e&&typeof e=="object"){const n=e;if(Array.isArray(n.selectedValues))return n.selectedValues;if(n.selectedValue!==void 0)return n.selectedValue;if(n.selectedIndex!==void 0)return n.selectedIndex;if(n.value!==void 0)return n.value}return e}function vb(e,n=[]){if(Array.isArray(e))return e.join(", ");if(typeof e=="number"&&Array.isArray(n))return String(n[e]??"");if(typeof e=="string")return e}function gl(e,n){if(!(!e||typeof e!="object"))return e[`step-${n}`]}function xb(e,n,a,r){return gl(e,n*a+r)}function _b({payload:e,selected:n,choices:a=[],correctAnswers:r=[]}){if(e&&typeof e=="object"){const o=e;if(Array.isArray(o.selectedValues))return r.every(s=>o.selectedValues.includes(s))&&o.selectedValues.every(s=>r.includes(s));if(typeof o.correct=="boolean")return o.correct}if(r.length){if(typeof n=="number"&&Array.isArray(a)&&a.length)return r.some(o=>String(o)===String(a[n]));if(typeof n<"u")return r.some(o=>String(o)===String(n))}}function wb(e){return e?Array.isArray(e.items)?e.items.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.context||a.sentence||"",contextCode:a.contextCode||a.context_code}}):Array.isArray(e.sentences)?e.sentences.map(n=>{const a=n;return typeof n=="string"?{sentence:n}:{sentence:a.sentence||a.context||"",contextCode:a.contextCode}}):Array.isArray(e.contexts)?e.contexts:e.contextCode?[{contextCode:e.contextCode}]:[]:[]}const bl=i.createContext(null);function kb(){const e=i.useContext(bl);if(!e)throw new Error("useTrainingPagePopupContext must be used inside TrainingPagePopup");return e}function Ab({index:e,stepIndex:n,isLast:a=!1,title:r="\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",choices:o=[],onDone:s,onChange:l}){const c=typeof e=="number"?e:-1,d=typeof n!="number"?"disabled":c<n?"done":c===n?"active":"disabled",[u,h]=i.useState(()=>o.map(()=>null)),p=o.join("|");i.useEffect(()=>{h(p?p.split("|").map(()=>null):[])},[p]);const C=i.useMemo(()=>u.filter(f=>f!==null).length+1,[u]),g=i.useCallback(f=>{d==="active"&&h(m=>{const v=[...m];if(v[f]!==null){const w=v[f];return v.map(_=>_!==null&&_>=w?null:_)}v[f]=C;const b={selectedOrder:v,words:o,__ts:Date.now()};try{typeof l=="function"&&l(b)}catch{}if(v.every(w=>w!==null))try{typeof s=="function"&&s(b)}catch{}return v})},[d,C,l,s,o]);return t.jsx(xn,{index:e,stepIndex:n,isLast:a,title:r,onDone:s,children:t.jsx("div",{className:"training-step__cards",children:o.map((f,m)=>t.jsx(lr,{item:{word:f},disabled:d==="disabled",selectable:!0,selected:u[m]!==null,orderRank:u[m],onSelect:()=>g(m),flipDelay:m*120,hideLabel:!1,hideAudio:!0},`${f}-${m}`))})})}function ga(e){return null}ga.__isTrainingPage=!0;function Ln(e,n){const a=kb();return{ctx:a,index:e,stepIndex:a.currentStepIndex,isLast:typeof e=="number"&&typeof n=="number"?e===n-1:!1,onDone:r=>a.handleStepDone(r,e),onChange:r=>a.handleStepChange(r,e)}}function yl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l}=Ln(e,n);return t.jsx(Sr,{...a,index:r,stepIndex:o,isLast:s,onDone:l})}function vl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Ln(e,n);return t.jsx(Nr,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function xl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Ln(e,n);return t.jsx(Br,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function _l({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Ln(e,n);return t.jsx(Dr,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function wl({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Ln(e,n);return t.jsx(cl,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Nb({_stepIndex:e,_totalSteps:n,...a}){const{index:r,stepIndex:o,isLast:s,onDone:l,onChange:c}=Ln(e,n);return t.jsx(Ab,{...a,index:r,stepIndex:o,isLast:s,onDone:l,onChange:c})}function Mr(...e){for(const n of e)if(typeof n=="string"){const a=n.trim();if(a.length)return a}else{if(typeof n=="number"||typeof n=="boolean")return String(n);if(Array.isArray(n)&&n.length)return n.join(", ");if(n&&typeof n=="object"){const a=n,r=[a.text,a.label,a.value];for(const o of r){if(typeof o=="string"&&o.trim().length)return o.trim();if(typeof o=="number"||typeof o=="boolean")return String(o)}}}return null}function Bb(e){return Mr(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function kl(e){if(!e)return;if(typeof e.decision=="boolean")return e.decision;if(typeof e.correct=="boolean")return e.correct;if(typeof e.heard=="boolean")return e.heard;if(typeof e.judgement=="boolean")return e.judgement;const n=Mr(e?.status,e?.result,e?.judge,e?.note);if(n){const a=n.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(r=>a.includes(r)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(r=>a.includes(r)))return!1}}function Al(e){const{score:n,contextsLength:a,results:r=[],subtitle:o,onReplay:s,onClose:l,inline:c=!1}=e||{},{t:d}=pe.useTranslation();i.useEffect(()=>{const m=a??0;n!=null&&m>0&&n/m>.5&&window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},[n,a]);const u=i.useCallback(m=>{const v=kl(m),b=Mr(m?.wording,m?.label);return v===!0?{variant:"main",label:b??d("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:v===!1?{variant:"danger",label:b??d("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:b??d("training.result.notJudged","\uBBF8\uD310\uC815")}},[d]),h=a??0,p=n??0,C=i.useMemo(()=>Array.isArray(r)?r:[],[r]),g=i.useMemo(()=>C.map(m=>{const v=m??{},b=Bb(v)||"(\uB0B4\uC6A9\uC5C6\uC74C)",{variant:w,label:_}=u(v),y=Array.isArray(v.corrects)?v.corrects:[],S=y.length?y.join(", "):v.answer!=null&&v.answer!==""?String(v.answer):null,x=typeof v.selectedText=="string"?v.selectedText:null,A=kl(v)===!0;return{problem:b,variant:w,label:_,answer:S,selectedText:x,isCorrect:A}}),[C,u]),f=i.useMemo(()=>g.some(m=>m.answer!==null||m.selectedText!==null),[g]);return t.jsx(un,{onClose:l,inline:c,ariaLabel:d("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",footerClassName:"trp-result__foot",footer:({animateThen:m,closeWithAnimation:v})=>t.jsxs("div",{className:"trp-actions",children:[t.jsx(te,{size:56,type:"bar",label:d("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>m(s)}),t.jsx(te,{size:56,type:"bar",label:d("training.result.done","\uC644\uB8CC"),variant:"main",onClick:v})]}),children:()=>t.jsxs("div",{className:"trp-result is-on",children:[t.jsxs("header",{className:"trp-result__head",children:[t.jsx("p",{className:"trp-result__eyebrow caption-1",children:d("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),t.jsx("h1",{className:"trp-result__title h2",children:d("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),o&&t.jsx("p",{className:"trp-result__subtitle body-3",children:o}),t.jsx("div",{className:"trp-score",children:t.jsxs("div",{className:"trp-score__figure","aria-label":d("training.result.scoreAria",{correct:p,total:h}),children:[t.jsx("span",{className:"trp-score__big",children:p}),t.jsx("span",{className:"trp-score__sep",children:"/"}),t.jsx("span",{className:"trp-score__total",children:h})]})})]}),g.length>0&&t.jsx("section",{className:"trp-result__body",children:t.jsxs("div",{className:`result-table${f?" result-table--answer":""}`,role:"table","aria-label":d("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[t.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[t.jsx("span",{role:"columnheader",children:d("common.col.problem","\uBB38\uC81C")}),f&&t.jsx("span",{role:"columnheader",children:d("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),t.jsx("span",{className:"col-right",role:"columnheader",children:d("training.result.colJudge","\uD310\uC815")})]}),g.map((m,v)=>t.jsxs("div",{className:"result-table__row",role:"row",children:[t.jsxs("div",{className:"trp-row__problem",children:[t.jsx("span",{className:"trp-row__no caption-1",children:String(v+1).padStart(2,"0")}),t.jsx("div",{className:"trp-row__q body-2",children:m.problem})]}),f&&t.jsxs("div",{className:"trp-row__answers",children:[m.answer!==null&&t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:d("training.result.colAnswer","\uC815\uB2F5")}),t.jsx("span",{className:"trp-row__answer-value body-2",children:m.answer})]}),t.jsxs("div",{className:"trp-row__answer-line",children:[t.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${m.isCorrect?"is-correct":"is-wrong"}`,children:d("training.result.colSelected","\uC120\uD0DD")}),t.jsx("span",{className:`trp-row__answer-value body-2 ${m.isCorrect?"is-correct":"is-wrong"}`,children:m.selectedText??"\u2014"})]})]}),t.jsx("div",{className:"trp-row__judge",children:t.jsx(ct,{variant:m.variant,label:m.label,fill:"soft",minWidth:80})})]},v))]})})]})})}function Sb(e){i.useEffect(()=>{if(!e)return;const n=new Date;return()=>{const a=new Date;a.getTime()-n.getTime()<5e3||Dm({trainingType:e,startedAt:n.toISOString(),endedAt:a.toISOString()})}},[e])}function Lr(e,n){return e&&e.id||`page-${n??0}`}function $r(e,n){return e&&e.key||`step-${n??0}`}function ba(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function Db(e,n){return typeof e?.props=="function"?e.props(n)||{}:e?.props||{}}const Nl=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]),jb=e=>t.jsx(Al,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose});function Eb(e){const{scenario:n,title:a,subTitle:r,depth:o,icon:s,wrapperStyle:l,iconTooltip:c,pageIndex:d,pageCount:u,stepIndex:h,stepCount:p,onBack:C,onComplete:g,onNext:f,onSettings:m,useNoiseSetting:v=!0,children:b,ariaLabel:w,label:_,buildResults:y,onResult:S,typeKey:x,entryPoint:A,dailyTotal:M,itemRef:k,renderResultPopup:D,noiseOverride:H}=e;Sb(x&&!Nl.has(x)?x:"");const R=i.useRef(0);i.useEffect(()=>{R.current=Date.now()},[]);const{t:j}=pe.useTranslation(),P=S,B=!!n,O=n?.id||null,Z=n?.meta||{},Y=Array.isArray(n?.pages)?n.pages:[],J=Array.isArray(b)||i.isValidElement(b)&&typeof b!="function"?i.Children.toArray(b).filter(i.isValidElement):[],E=J.length>0,$=ae=>ae===ga||ae?.__isTrainingPage===!0,L=E&&J.some(ae=>$(ae.type)),z=L?J.filter(ae=>$(ae.type)).map((ae,me)=>{const F=ae.props||{};return{id:`children-page-${me}`,steps:i.Children.toArray(F.children).filter(i.isValidElement),pageTop:F.pageTop||F.top||null,pageBottom:F.pageBottom||F.bottom||null}}):[{id:"children-page-0",steps:J}],V=E&&!B&&typeof b!="function",X=V?Math.max(1,z.length):0;i.useEffect(()=>{if(!(typeof document>"u"||!document.body)&&!document.body.classList.contains("ihabdevteam-core-scope"))return document.body.classList.add("ihabdevteam-core-scope"),()=>{document.body.classList.remove("ihabdevteam-core-scope")}},[]),i.useEffect(()=>{if(typeof document>"u"||!document.body)return;const ae=document.body;return ae.dataset.ihabTrainingPopupCount=String(Number(ae.dataset.ihabTrainingPopupCount||"0")+1),ae.classList.add("ihab-training-popup-open"),()=>{const me=Number(ae.dataset.ihabTrainingPopupCount||"1")-1;me>0?ae.dataset.ihabTrainingPopupCount=String(me):(delete ae.dataset.ihabTrainingPopupCount,ae.classList.remove("ihab-training-popup-open"))}},[]),i.useEffect(()=>{if(!(typeof document>"u"||!document.body))return qg()},[]);const[I,U]=i.useState({...vr,enabled:!1}),K=i.useRef(I);i.useEffect(()=>{K.current=I},[I]);const re=i.useRef(H);i.useEffect(()=>{let ae=!1;return Mm().then(me=>{if(ae)return;const F=me?yr(K.current,me):{...vr};K.current=F,U(F),Fa(F);const Q=re.current;if(Q){const Ce=typeof Q=="function"?Q(F):Q,ve=yr(F,Ce);K.current=ve,U(ve),Fa(ve)}}),()=>{ae=!0}},[]);const[de,fe]=i.useState(null),[ge,he]=i.useState(null),T=i.useCallback((ae,me)=>{ae==="main"?fe(me):he(me)},[]),q=i.useCallback(ae=>{const me=yr(K.current,ae);K.current=me,U(me),re.current||Lm(me),Fa(me)},[]),ee=I.mainSpeed,we=I.mainVolume,ie=i.useCallback(ae=>q({mainSpeed:ae}),[q]),le=i.useCallback(ae=>q({mainVolume:ae}),[q]),se=i.useMemo(()=>({settings:I,setSettings:q,registerAnalyser:T,mainAnalyser:de,noiseAnalyser:ge,playbackRate:ee,setPlaybackRate:ie,mainVolume:we,setMainVolume:le}),[I,q,T,de,ge,ee,ie,we,le]),oe=i.useRef(null),[Se,Ie]=i.useState("center"),[He,$e]=i.useState(!1),Me=i.useRef(!1),De=i.useRef(null),Ne=i.useCallback(ae=>{Me.current||(Me.current=!0,$e(!0),De.current=setTimeout(ae,ib))},[]);i.useEffect(()=>()=>{De.current&&clearTimeout(De.current)},[]),i.useEffect(()=>{const ae=oe.current;if(!ae)return;const me=Array.from(ae.querySelectorAll(Wn)).filter(Q=>!Q.closest('[aria-hidden="true"]'))[0];if(me)try{me.focus()}catch{}const F=Q=>{if(Q.key==="Escape"){Q.preventDefault(),Ne(()=>{typeof C=="function"&&C()});return}};return ae.addEventListener("keydown",F),()=>ae.removeEventListener("keydown",F)},[C,Ne]),Va(oe,!0);const[Oe,Ge]=i.useState(!1),ye=i.useRef(!1),[Fe,Le]=i.useState(null),[We,Ze]=i.useState(""),[Ye,Re]=i.useState(()=>ba()),pt=i.useRef(typeof d=="number"?d:null);i.useEffect(()=>{!B&&!V||(Re(ba()),Le(null))},[B,O,V]),i.useEffect(()=>{V&&Re(ae=>{const me=Math.max(0,Math.min(ae.pageIndex,Math.max(0,X-1)));return me!==ae.pageIndex?{...ae,pageIndex:me,stepIndex:0}:ae})},[V,X]);const tt=V?Math.max(0,Math.min(Ye.pageIndex,X-1)):0,Ue=V?z[tt]:null,nt=V&&Ue&&Array.isArray(Ue.steps)?Ue.steps:[],Ee=B?Ye.pageIndex:V?tt:typeof d=="number"?d:0,je=B?Y[Math.max(0,Math.min(Ye.pageIndex,Math.max(0,Y.length-1)))]:null,at=B&&je&&Array.isArray(je.steps)?je.steps:[],ht=B?at.length:V?nt.length:typeof p=="number"?p:0,ze=B||V?Math.max(0,Math.min(Ye.stepIndex,Math.max(0,ht))):typeof h=="number"?h:0,rt=B?Y.length:V?X:typeof u=="number"?u:0;i.useLayoutEffect(()=>{const ae=pt.current;if(typeof Ee=="number"&&ae!==null&&Ee!==ae&&Ee>ae)try{Ze(j("training.problemNotice",{n:Ee+1}))}catch{}pt.current=typeof Ee=="number"?Ee:pt.current},[Ee,d,j]),i.useLayoutEffect(()=>{const ae=oe.current;if(!ae)return;const me=()=>ae.querySelector(".page-popup__scroll");let F=null,Q=null,Ce=null;const ve=xe=>{const qe=me();if(!qe)return;const it=qe.scrollHeight<=qe.clientHeight;if(Ie(it?"center":"top"),xe&&!ye.current){ye.current=!0;try{Ge(!0)}catch{}try{st.disconnect()}catch{}}},ke=()=>{F!==null&&cancelAnimationFrame(F),F=requestAnimationFrame(()=>{Q!==null&&clearTimeout(Q),Q=setTimeout(()=>ve(!0),60)})},Ae=()=>{Ce!==null&&cancelAnimationFrame(Ce),Ce=requestAnimationFrame(()=>ve(!1))};ke(),window.addEventListener("resize",Ae);const st=new MutationObserver(ke);st.observe(ae,{childList:!0,subtree:!0,attributes:!0});const ce=setTimeout(()=>{ye.current||ve(!0)},400);return()=>{window.removeEventListener("resize",Ae),F!==null&&cancelAnimationFrame(F),Q!==null&&clearTimeout(Q),Ce!==null&&cancelAnimationFrame(Ce),clearTimeout(ce);try{st.disconnect()}catch{}}},[oe]);const mt=i.useCallback(ae=>{oe.current&&(oe.current._childOnNext=ae)},[]),Mt=i.useCallback(ae=>{oe.current&&(oe.current._childOnResult=ae)},[]),Je=i.useCallback((ae,me,F)=>{Re(Q=>{const Ce=Q.answersByPage[ae]||{},ve=Ce[me],ke=Tr(F),Ae=Tr(ve);return ve&&Ae>ke?Q:{...Q,answersByPage:{...Q.answersByPage,[ae]:{...Ce,[me]:F}}}})},[Re]),xt=i.useCallback((ae,me,F)=>{const Q=Lr(je,Ee),Ce=$r(ae,me);Je(Q,Ce,F)},[je,Ee,Je]),Dt=i.useCallback((ae,me,F)=>{const Q=Lr(je,Ee),Ce=$r(ae,me);Je(Q,Ce,F),!F?.allowChange&&ae?.autoAdvance!==!1&&Re(ve=>({...ve,stepIndex:Math.max(ve.stepIndex,me+1)}))},[je,Ee,Je,Re]),Ft=i.useCallback((ae,me)=>{const F=Ue?.id||`children-page-${Ee??0}`,Q=typeof me=="number"?me:ze??0,Ce=`step-${Q}`;Je(F,Ce,ae),ae?.allowChange||Re(ve=>({...ve,stepIndex:Math.max(ve.stepIndex,Q+1)}))},[Ue,Ee,ze,Je,Re]),Ot=i.useCallback((ae,me)=>{const F=Ue?.id||`children-page-${Ee??0}`,Q=`step-${typeof me=="number"?me:ze??0}`;Je(F,Q,ae)},[Ue,Ee,ze,Je]),Ut=V?{currentPageIndex:Ee??0,currentStepIndex:ze??0,totalStepsInPage:nt.length,handleStepDone:Ft,handleStepChange:Ot}:null,Lt=async()=>{const ae=typeof n?.buildResults=="function"?await Promise.resolve(n.buildResults({scenario:n,pages:Y,flowState:Ye,answersByPage:Ye.answersByPage})):null;return typeof P=="function"&&await Promise.resolve(P(ae))||ae},nn=async()=>{const ae=Ue?.id||`children-page-${Ye.pageIndex}`,me=Ye.answersByPage[ae]||{},F=L?(()=>{const ve={};let ke=0;return z.forEach(Ae=>{const st=Ye.answersByPage[Ae.id]||{},ce=Array.isArray(Ae.steps)?Ae.steps.length:0;for(let xe=0;xe<ce;xe+=1){const qe=st[`step-${xe}`];typeof qe<"u"&&(ve[`step-${ke+xe}`]=qe)}ke+=ce}),ve})():me;if(typeof y=="function"){const ve=await Promise.resolve(y(F,{pageAnswers:me,answersByPage:Ye.answersByPage,pages:z,currentPageId:ae}));return typeof P=="function"&&await Promise.resolve(P(ve))||ve}const Q=Object.entries(me).map(([ve,ke],Ae)=>({index:Ae,key:ve,payload:ke})),Ce={results:Q,answers:Q,score:0};return typeof P=="function"&&await Promise.resolve(P(Ce))||Ce},_t=()=>{try{if(typeof document<"u"&&document.body){try{document.dispatchEvent(new CustomEvent("speechear-close-tooltips"))}catch{}document.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0})),document.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}}catch{}if(B){const F=Lt();Le({});const Q=F;Promise.resolve(Q).then(Ce=>{Le(Ce||{isEmpty:!0})}).catch(Ce=>{Le({isEmpty:!0})});return}if(V){const F=nn();Le({});const Q=F;Promise.resolve(Q).then(Ce=>{Le(Ce||{isEmpty:!0})}).catch(Ce=>{Le({isEmpty:!0})});return}const ae=oe.current&&oe.current._childOnResult,me=F=>{try{return F?F():void 0}catch{return}};if(typeof ae=="function"){const F=me(ae);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:Zt&&Zt.tagName.toUpperCase()==="SCRIPT"&&Zt.src||new URL("components.cjs.js",document.baseURI).href}catch{}F&&typeof F.then!="function"?Le(F):Le(F&&typeof F.then=="function"?{}:{}),Promise.resolve(F).then(Q=>{Q&&Le(Q)}).catch(Q=>{});return}if(typeof P=="function"){const F=me(P);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:Zt&&Zt.tagName.toUpperCase()==="SCRIPT"&&Zt.src||new URL("components.cjs.js",document.baseURI).href}catch{}F&&typeof F.then!="function"?Le(F):Le(F&&typeof F.then=="function"?{}:{}),Promise.resolve(F).then(Q=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:Zt&&Zt.tagName.toUpperCase()==="SCRIPT"&&Zt.src||new URL("components.cjs.js",document.baseURI).href}catch{}Q&&Le(Q)}).catch(Q=>{console.error("viewResults external handler failed",Q)});return}},an=()=>{if(B){if(typeof Ee=="number"&&typeof rt=="number"&&Ee<rt-1){Re(me=>({...me,pageIndex:me.pageIndex+1,stepIndex:0}));return}return _t()}if(V){const me=nt.length;if(typeof ze=="number"&&ze<me-1){Re(F=>({...F,stepIndex:F.stepIndex+1}));return}if(typeof Ee=="number"&&typeof rt=="number"&&Ee<rt-1){Re(F=>({...F,pageIndex:F.pageIndex+1,stepIndex:0}));return}return _t()}if(typeof f=="function"){try{f()}catch{}return}const ae=oe.current&&oe.current._childOnNext;if(typeof ae=="function"){try{ae()}catch{}return}},Nt=B?Z.title||Z.label||w||j("common.popup","\uD31D\uC5C5"):a||_||(Array.isArray(o)?o[o.length-1]:void 0)||w||j("common.popup","\uD31D\uC5C5"),Gt=B?Z.title??Z.label??Nt:a??_??Nt,Kt=(ae,me)=>{const F=Lr(je,Ee),Q=$r(ae,me),Ce=Ye.answersByPage[F]?.[Q],ve=Db(ae,{page:je,pageIndex:Ee,step:ae,stepIndex:me,storedPayload:Ce,answersByPage:Ye.answersByPage,flowState:Ye}),ke={key:Q,index:me,stepIndex:ze,isLast:me===at.length-1};switch(ae?.type){case"listen":return t.jsx(Sr,{...ke,...ve,onDone:Ae=>Dt(ae,me,Ae)});case"confirm":return t.jsx(Nr,{...ke,...ve,onDone:Ae=>Dt(ae,me,Ae),onChange:Ae=>xt(ae,me,Ae)});case"confirmWithText":return t.jsx(Br,{...ke,...ve,onDone:Ae=>Dt(ae,me,Ae),onChange:Ae=>xt(ae,me,Ae)});case"orderList":return t.jsx(Dr,{...ke,...ve,onDone:Ae=>Dt(ae,me,Ae),onChange:Ae=>xt(ae,me,Ae)});default:return null}},Ke=B?Y.length>0?t.jsx("div",{className:"training-steps",children:at.map((ae,me)=>Kt(ae,me))}):t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"pp-empty",children:n?.emptyMessage||j("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,jt=V?t.jsxs(bl.Provider,{value:Ut,children:[Ue?.pageTop?t.jsx("div",{className:"training-page-top",children:Ue.pageTop}):null,t.jsx("div",{className:"training-steps",children:nt.map((ae,me)=>{const F=ae;return i.cloneElement(F,{...F.props,_stepIndex:me,_totalSteps:nt.length,_stepKey:`step-${me}`,_pageIndex:Ee})})}),Ue?.pageBottom?t.jsx("div",{className:"training-page-bottom",children:Ue.pageBottom}):null]}):null,gt=i.useCallback(()=>{let ae;if(x){const me=Fe,F=me?.results||me?.answers||[],Q=Array.isArray(F)&&F.length>0?F.length:null,Ce=Array.isArray(F)?F.filter(ke=>ke?.correct===!0||ke?.isCorrect===!0||ke?.score===1||ke?.heard===!0||ke?.judgement===!0).length:null,ve=Q!=null?Ce:null;jm({items:Tm(F),category:Nl.has(x)?"sentence":"word",trainingType:x,entryPoint:A??"sentence",itemRef:k??null,correct:ve,total:Q,score:typeof me?.score=="number"?me.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-R.current)/1e3)),dailyTotal:M??null}),ae={correct:ve,total:Q}}Le(null),Ne(()=>{typeof g=="function"&&g(ae),typeof C=="function"&&C()})},[g,C,x,A,M,k,Fe,Le,Ne]),$t=i.useCallback(()=>Ze(""),[Ze]),Ht=i.useCallback(()=>{Ne(()=>{typeof C=="function"&&C()})},[C,Ne]),Vt=t.jsxs("div",{className:`page-popup${He?" page-popup--closing":""}`,role:"dialog","aria-modal":"true","aria-label":Nt,children:[t.jsxs("div",{ref:oe,className:`page-popup__panel ${Oe?"":"page-popup__panel--measuring"} ${Se==="center"?"page-popup__panel--center":Se==="top"?"page-popup__panel--top":""}`,children:[t.jsx(Cl,{title:Gt,subtitle:B?Z.subtitle||Z.label:Array.isArray(o)?o.join(" / "):void 0,desc:B?void 0:r,depth:B?Z.depth:o,icon:B?Z.icon:s,wrapperStyle:B?Z.wrapperStyle:l,iconTooltip:B?Z.iconTooltip:c,progressMax:rt,progressIndex:Ee,pageIndex:Ee,pageCount:rt,onBack:Ht,onClose:Ht}),t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:`page-popup__content ${Se==="center"?"page-popup__content--center":"page-popup__content--top"}`,children:V?jt:B?Ke:typeof b=="function"?b({registerOnNext:mt,registerOnResult:Mt,panelRef:oe,setResultOverlay:Le}):b})}),t.jsx(ml,{onSettings:m,onNext:an,onResult:_t,useNoiseSettingBtn:!!(B?Z.useNoiseSetting??!0:v),stepIndex:ze,stepCount:ht,pageIndex:Ee,pageCount:rt})]}),Fe&&!Fe.isEmpty&&(D??jb)({score:Fe.score,results:Fe.results||Fe.answers||[],contextsLength:Fe.results?Fe.results.length:Fe.answers?Fe.answers.length:0,onReplay:()=>{if(Le(null),B){if(Re(ba()),typeof n?.onReplay=="function")try{n.onReplay()}catch{}return}if(V){Re(ba());return}try{const ae=oe.current&&oe.current._childOnResult;typeof ae=="function"&&ae({replay:!0})}catch{}},onClose:gt}),Fe?.isEmpty&&t.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:t.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[t.jsx("div",{className:"page-popup__scroll",children:t.jsx("div",{className:"page-popup__content page-popup__content--center",children:t.jsx("div",{className:"page-popup__empty",children:j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),t.jsx("div",{className:"page-popup__bottom",children:t.jsx(te,{variant:"main",size:48,onClick:gt,label:j("training.result.done","\uC644\uB8CC")})})]})}),t.jsx(Dn,{message:We,position:"top",onClose:$t})]}),zt=t.jsx(tl.Provider,{value:se,children:Vt});return typeof document<"u"&&document.body?Tt.createPortal(zt,document.body):zt}const pn=Eb;pn.Page=ga,pn.ListenStep=yl,pn.ConfirmStep=vl,pn.ConfirmWithTextStep=xl,pn.OrderListStep=_l,pn.CardStep=wl,pn.CardOrderStep=Nb;function Tb({label:e,homonum:n}){const a=Nn()?.(e,n)??"",{imgRef:r,loading:o,hasImage:s,onLoad:l,onError:c}=ir(a);return s?t.jsxs("div",{className:"tooltip-word-image__cell",children:[o&&t.jsx("div",{className:"tooltip-word-image__spinner"}),t.jsx("img",{ref:r,src:a,alt:e,draggable:!1,style:{opacity:o?0:1},onLoad:l,onError:c})]}):t.jsx("div",{className:"tooltip-word-image__cell tooltip-word-image__cell--text h3",children:t.jsx("span",{children:e})})}function Bl({words:e,anchorRect:n}){const a=i.useRef(null),[r,o]=i.useState(null);return i.useLayoutEffect(()=>{if(!n||!a.current)return;const{offsetWidth:s,offsetHeight:l}=a.current,c=window.innerWidth;let d=n.left+n.width/2-s/2,u=n.top-l-8;u<8&&(u=n.bottom+8),d=Math.max(8,Math.min(d,c-s-8)),o({left:d,top:u})},[n]),!n||e.length===0?null:Tt.createPortal(t.jsx("div",{ref:a,className:"tooltip-word-image",style:{visibility:r?"visible":"hidden",left:r?.left??0,top:r?.top??-9999},children:t.jsx("div",{className:"tooltip-word-image__cells",children:e.map(s=>t.jsx(Tb,{label:s.label,homonum:s.homonum},`${s.label}_${s.homonum??1}`))})}),document.body)}function Mb({titleIcon:e,resultCount:n,resultUnit:a,searchQuery:r,items:o,groups:s,selected:l=[],onSelect:c,maxSelect:d,onClearSelection:u,onPrint:h,onPrintEmpty:p,className:C,emptyHint:g,sectionType:f="page",disc:m,notice:v}){const{t:b,i18n:w}=pe.useTranslation(),_=w.language?.startsWith("ko")??!1,{anchorRect:y,openAt:S,close:x}=ia(),[A,M]=i.useState(null),k=i.useCallback(()=>{x(),M(null)},[x]);m0(k,!!A);const D=(r??"").trim(),H=/^[^,[\]\s]+$/.test(D)?D:"",R=H.length>0,[j,P]=i.useState("ganada"),[B,O]=i.useState("50"),[Z,Y]=i.useState(1),[J,E]=i.useState(R);J!==R&&(E(R),P(R?"match":"ganada"));const $=j==="match"&&!R?"ganada":j,L=i.useMemo(()=>[...R?[{value:"match",label:b("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],{value:"ganada",label:b("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:b("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:b("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:b("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:b("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:b("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[b,R]),z=i.useMemo(()=>["10","25","50","100"].map(le=>({value:le,label:b("wordSearch.pageSize",{count:Number(le),defaultValue:`${le}\uAC1C\uC529 \uBCF4\uAE30`})})),[b]),V=le=>le.words[0],X=i.useCallback((le,se)=>{const oe=He=>V(He)?.label??"",Se=He=>V(He)?.syllables??[...oe(He)].length,Ie=He=>{const $e=parseInt(V(He)?.grade??"",10);return Number.isFinite($e)?$e:999};switch($){case"match":{const He=[...H].length,$e=Me=>mm(oe(Me).slice(0,He),H)?0:1;return $e(le)-$e(se)||oe(le).localeCompare(oe(se),"ko")}case"ganada":return oe(le).localeCompare(oe(se),"ko");case"ganada_desc":return oe(se).localeCompare(oe(le),"ko");case"syllable":return Se(le)-Se(se)||oe(le).localeCompare(oe(se),"ko");case"syllable_desc":return Se(se)-Se(le)||oe(le).localeCompare(oe(se),"ko");case"grade":return Ie(le)-Ie(se)||oe(le).localeCompare(oe(se),"ko");case"grade_desc":return Ie(se)-Ie(le)||oe(le).localeCompare(oe(se),"ko");default:return 0}},[$,H]),I=i.useMemo(()=>o.slice().sort(X),[o,X]),U=Number(B)||10,K=i.useMemo(()=>(s??[]).flatMap(le=>le.items.slice().sort(X).map(se=>({item:se,label:le.label}))),[s,X]),re=s?K.length:I.length,de=Math.max(1,Math.ceil(re/U)),fe=Math.min(Z,de),ge=i.useMemo(()=>I.slice((fe-1)*U,fe*U),[I,fe,U]),he=i.useMemo(()=>{if(!s)return null;const le=K.slice((fe-1)*U,fe*U),se=new Map;for(const{item:oe,label:Se}of le)se.has(Se)||se.set(Se,[]),se.get(Se).push(oe);return[...se.entries()].map(([oe,Se])=>({label:oe,items:Se}))},[s,K,fe,U]);i.useEffect(()=>{Y(1)},[j,B,re]);const T=re>0?t.jsxs("div",{className:"word-search-result-block__toolbar",children:[t.jsx(It,{size:40,options:L,value:$,onChange:P,ariaLabel:b("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),t.jsx(It,{size:40,options:z,value:B,onChange:O,ariaLabel:b("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),t.jsx(ca,{page:fe,totalPages:de,onChange:Y})]}):void 0,q=le=>{c&&c(le)},ee=n!==void 0&&a?t.jsxs(t.Fragment,{children:[b("wordSearch.resultTitlePrefix","\uCD1D "),t.jsx("span",{style:{color:"var(--color-main)"},children:n}),b("wordSearch.resultTitleSuffix",{unit:_?wm(a):a})]}):void 0,we=n!==void 0&&n>0&&d!==void 0&&a?b("wordSearch.resultDisc",{unit:_?Am(a):a,max:d,selected:l.length}):void 0,ie=m??(v?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"word-search-result-block__notice",children:v}),we?t.jsx("span",{className:"word-search-result-block__disc",children:we}):null]}):we);return t.jsxs(jn,{type:f,icon:e,title:ee,action:T,disc:ie,className:be("word-search-result-block",C),children:[t.jsxs("div",{className:"word-search-result-block__inner",children:[(s?s.length===0:o.length===0)&&t.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[t.jsx("p",{className:"word-search-result-block__empty body-3",children:b("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),g&&t.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:g})]}),s?(he??[]).map(le=>t.jsx("div",{className:"word-search-result-block__group",children:t.jsx("div",{className:"word-search-result-block__items",children:le.items.map(se=>{const oe=l.includes(se.id);return t.jsx("div",{onMouseEnter:Se=>{S(Se.currentTarget),M(se.words)},onMouseLeave:k,children:t.jsx(te,{size:"word",align:"grid",label:se.words.map(Se=>Se.label),subLabel:se.words.map(Se=>Se.subLabel).filter(Boolean).length>0?se.words.map(Se=>Se.subLabel):void 0,selected:oe,onClick:()=>q(se.id),minWidth:200})},se.id)})})},le.label)):t.jsx("div",{className:"word-search-result-block__items",children:ge.map(le=>{const se=l.includes(le.id);return t.jsx("div",{onMouseEnter:oe=>{S(oe.currentTarget),M(le.words)},onMouseLeave:k,children:t.jsx(te,{size:"word",align:"grid",label:le.words.map(oe=>oe.label),subLabel:le.words.map(oe=>oe.subLabel).filter(Boolean).length>0?le.words.map(oe=>oe.subLabel):void 0,selected:se,onClick:()=>q(le.id),minWidth:200})},le.id)})}),A&&y&&t.jsx(Bl,{words:A,anchorRect:y})]}),de>1&&t.jsx("div",{className:"word-search-result-block__pagination-bottom",children:t.jsx(ca,{page:fe,totalPages:de,onChange:Y})}),(u||h)&&t.jsxs("div",{className:"word-search-result-block__actions",children:[u&&t.jsx(te,{size:"56",type:"bar",label:b("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:l.length===0,onClick:l.length===0?void 0:u}),h&&t.jsx("div",{onClick:l.length===0?p:void 0,children:t.jsx(te,{size:"56",type:"bar",variant:"main",label:b("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:l.length===0,onClick:l.length===0?void 0:h})})]})]})}function Lb(e,n){return n.map(a=>{const r=typeof a=="string"?a:a.label,o=typeof a=="string"?void 0:a.displayLabel;return{label:r,value:e[r]??"",displayLabel:o}})}function $b({sections:e,selectedList:n,count:a,onCountChange:r,maxCount:o=4,minCount:s=1,combinationSections:l,combinationSectionsForSlot:c,onSelect:d,placeholder:u="-",className:h,title:p,titleIcon:C,disc:g,showInfoButton:f=!1,onClearPhoneme:m,onSearch:v,onSearchEmpty:b,searchDisabled:w=!1,searchLabel:_,searchChecking:y=!1,pairMode:S=!1,sectionType:x="page",beforeSearchContent:A,beforeContent:M,afterContent:k,hideCountControl:D=!1,ordinal:H=!1}){const{t:R}=pe.useTranslation(),j=i.useMemo(()=>R("wordPairs.infoNotes",{returnObjects:!0}),[R]),P=i.useMemo(()=>Array.from({length:o-s+1},(I,U)=>{const K=s+U;return{key:String(K),label:R("wordPairs.count",{n:K})}}),[R,o,s]),B=i.useMemo(()=>R("wordPairs.ordinals",{returnObjects:!0}),[R]),O=i.useCallback(I=>H?R("wordPairs.phonemeOrdinalLabel",{ordinal:B[I-1]??I}):a===1?R("wordPairs.phonemeSingleLabel","\uC74C\uC808"):R("wordPairs.phonemeN",{n:I}),[H,B,a,R]),Z=i.useCallback(I=>H?R("wordPairs.phonemeContrastOrdinalLabel",{ordinal:B[I-1]??I}):a===1?R("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):R("wordPairs.phonemeContrast",{n:I}),[H,B,a,R]),Y=i.useCallback((I,U)=>U?t.jsxs(t.Fragment,{children:[I,t.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):I,[]),{anchorRect:J,toggleAt:E,close:$}=ia(),L=i.useCallback(I=>r(Number(I)),[r]),z=Yt("(max-width: 767px)"),V=i.useCallback(I=>Lb(I,e).map(({label:U,value:K,displayLabel:re})=>{const de=!!K&&K!=="\uC5C6\uC74C";return t.jsxs("span",{className:be("phoneme-select-block__cell-jamo-part",K?"":"phoneme-select-block__cell-jamo-part--empty",de?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[t.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${K==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:K==="\uC5C6\uC74C"?"x":K||u}),de&&t.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:re??U})]},U)}),[e,u]),X=t.jsxs(t.Fragment,{children:[t.jsx("div",{"data-tooltip-ignore":!0,children:t.jsx(te,{size:40,type:z?"dot":void 0,icon:"info",label:z?void 0:R("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),selected:!!J,onClick:I=>E(I.currentTarget)})}),J&&t.jsx(gn,{title:R("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:j,anchorRect:J,onClose:$})]});return t.jsxs(jn,{type:x,title:p,icon:C,disc:g,action:X,className:be("phoneme-select-block",h),children:[M,(!D||f&&!(p||g))&&t.jsxs("div",{className:"phoneme-select-block__controls",children:[!D&&t.jsx(vn,{options:P,value:String(a),onChange:L,size:40,className:"phoneme-select-block__count-control"}),f&&!(p||g)&&X]}),t.jsx("div",{className:"phoneme-select-block__cells",children:S?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:V(K)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:O(U+1)})]},U)})}),t.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:R("wordPairs.phonemeSelect.vs","\uB300")}),t.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2+1]??{};return t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:V(K)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:Z(U+1)})]},U)})})]}):n.map((I,U)=>t.jsxs("div",{className:"phoneme-select-block__cell",children:[t.jsx("div",{className:"phoneme-select-block__cell-circle",children:t.jsx("div",{className:"phoneme-select-block__cell-jamo",children:V(I)})}),t.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:O(U+1)})]},U))}),(l||c)&&t.jsx("div",{className:"phoneme-select-block__panels",children:t.jsx("div",{className:"phoneme-select-block__detail",children:S?t.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2]??{};return t.jsx(tn,{title:Y(O(U+1),U===0),sections:c?c(K,U*2):l,selected:K,onSelect:d?.(U*2),align:"newline"},U)})}),t.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((I,U)=>{const K=n[U*2+1]??{};return t.jsx(tn,{title:Z(U+1),sections:c?c(K,U*2+1):l,selected:K,onSelect:d?.(U*2+1),align:"newline"},U)})})]}):n.map((I,U)=>t.jsx(tn,{title:Y(O(U+1),U===0),sections:c?c(I,U):l,selected:I,onSelect:d?.(U),align:"newline"},U))})}),A&&t.jsx("div",{className:"phoneme-select-block__before-search",children:A}),(m||v||y)&&(()=>{const I=n.every(U=>Object.entries(U).every(([K,re])=>!re||K==="\uC885\uC131"&&re==="\uC5C6\uC74C"));return t.jsxs("div",{className:"phoneme-select-block__search-row",onClick:I?b:void 0,children:[m&&t.jsx(te,{size:"56",type:"bar",label:R("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:I,onClick:I?void 0:m}),y?t.jsxs("div",{className:"phoneme-select-block__checking",children:[t.jsx("div",{className:"phoneme-select-block__spinner"}),t.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:_??R("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):v&&t.jsx(te,{size:"56",type:"bar",variant:"main",label:_??R("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:I||w,onClick:I||w?void 0:v})]})})(),k]})}function Rb({title:e,sections:n,selected:a,onSelect:r,className:o}){const{t:s}=pe.useTranslation();return t.jsx(tn,{className:o,title:e??s("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:n,selected:a,onSelect:r,align:"inline"})}function Pb({title:e,headerAction:n,sections:a,selected:r,onSelect:o,className:s}){const{t:l}=pe.useTranslation();return a.length===0?null:t.jsx(tn,{className:s,title:e??l("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:n,sections:a,selected:r,onSelect:o,align:"newline"})}function Ib({title:e,mode:n,onModeChange:a,matchMode:r,onMatchModeChange:o,positionCount:s,onPositionCountChange:l,inputMode:c,onInputModeChange:d,className:u}){const{t:h}=pe.useTranslation(),p={searchMode:h("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:h("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:h("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:h("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:h("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:h("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:h("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:h("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:h("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:h("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:h("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},C=v=>h("wordPairs.count",{n:v}),g=[{label:p.searchMode,items:[p.include,p.pick,p.explicit],display:"segmented",labelAction:t.jsx(Zn,{title:h("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[h("wordPairs.mode.infoInclude","\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."),h("wordPairs.mode.infoPick","\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694."),h("wordPairs.mode.infoContrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.")]})},{label:p.phonemeOrder,items:[p.orderAny,p.orderMatch],display:"segmented",labelAction:t.jsx(Zn,{items:h("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:p.count,items:[C(1),C(2)],display:"segmented"},{label:p.inputMode,items:[p.charInput,p.pronInput],display:"segmented",labelAction:t.jsx(Zn,{title:h("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[h("wordPairs.input.infoChar","\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."),h("wordPairs.input.infoPron","\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.")]})}],f={[p.searchMode]:n==="explicit"?p.explicit:n==="pick"?p.pick:p.include,[p.phonemeOrder]:r==="ordered"?p.orderMatch:p.orderAny,[p.count]:C(s),[p.inputMode]:c==="phoneme"?p.pronInput:p.charInput},m=(v,b)=>{b===p.searchMode?a(v===p.explicit?"explicit":v===p.pick?"pick":"include"):b===p.phonemeOrder?o(v===p.orderMatch?"ordered":"unordered"):b===p.count?l(v===C(2)?2:1):b===p.inputMode&&d(v===p.pronInput?"phoneme":"word")};return t.jsx(tn,{className:u,title:e??h("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:g,selected:f,onSelect:m,align:"inline"})}function Fb(e){const{title:n,items:a,columns:r,gridTemplateColumns:o,searchPlaceholder:s,searchFn:l,defaultSortKey:c,defaultSortAsc:d=!0,selectedId:u,selectedIds:h,onSelect:p,onClose:C,pageSizeOptions:g=[10,25,50,100],initialPageSize:f,emptyText:m,countLabel:v,topContent:b,className:w=""}=e,{t:_}=pe.useTranslation(),y=s??_("common.search","\uAC80\uC0C9"),S=m??_("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),[x,A]=i.useState(""),[M,k]=i.useState(c??r[0]?.key??""),[D,H]=i.useState(d),[R,j]=i.useState(String(f??g[0]??10)),[P,B]=i.useState(1);i.useEffect(()=>{B(1)},[x,R]);const O=l!==null,Z=i.useCallback((I,U)=>{if(!U)return!0;const K=U.toLowerCase();return r.some(re=>{const de=I[re.key];return de==null?!1:String(de).toLowerCase().includes(K)})},[r]),Y=l??Z,J=i.useMemo(()=>{const I=O?a.filter(U=>Y(U,x)):a;return M?[...I].sort((U,K)=>{const re=U[M]??"",de=K[M]??"";if(re===de)return 0;const fe=g4(re,de);return D?fe:-fe}):I},[a,x,M,D,O,Y]),E=Math.max(1,Math.ceil(J.length/Number(R))),$=J.slice((P-1)*Number(R),P*Number(R)),L=i.useCallback(I=>{M===I?H(U=>!U):(k(I),H(!0))},[M]),z=i.useMemo(()=>{if(typeof v=="string"&&v.includes("{n}")){const[I,U]=v.split("{n}");return{prefix:I,suffix:U}}return{prefix:_("common.totalCountPrefix","\uCD1D "),suffix:_("common.totalCountSuffix","\uAC1C")}},[v,_]),V=i.useMemo(()=>r.map(I=>({label:I.label,onClick:I.sortable!==!1?()=>L(I.key):void 0,className:I.className,sortDir:I.sortable!==!1&&M===I.key?D?"asc":"desc":null})),[r,M,D,L]),X=i.useMemo(()=>g.map(I=>({value:String(I),label:_("common.pageSizeLabel",{n:I})})),[g,_]);return t.jsxs(un,{className:`popup-list ${w}`,title:n,onClose:C,children:[b,t.jsx(Qa,{count:{value:J.length,prefix:z.prefix,suffix:z.suffix},search:O?{value:x,onChange:A,placeholder:y}:void 0,pageSize:{options:X,value:R,onChange:j},pagination:{page:P,total:E,onChange:B}}),t.jsx(or,{size:"medium",gridTemplateColumns:o,resizable:!0,fields:V,items:$,onRowClick:p,renderRow:I=>{const U=h!=null?I.id!=null&&h.has(I.id):u!=null&&I.id===u;return r.map(K=>({content:K.render?K.render(I):I[K.key]??"",className:U?"popup-list__row--selected":K.className}))},empty:S})]})}function Ob(e){const{title:n,message:a,topContent:r,details:o,children:s,confirmLabel:l,cancelLabel:c,hideCancel:d=!1,extraAction:u,confirmVariant:h="main",confirmDisabled:p=!1,onConfirm:C,closeOnConfirm:g=!0,onClose:f,inline:m,size:v="small",className:b}=e,{t:w}=pe.useTranslation(),_=i.useRef(!1),[y,S]=i.useState(!1);return t.jsxs(un,{title:n,onClose:f,closeDisabled:y,inline:m,size:v,className:be("confirm-popup",b),buttons:[...u?[{label:u.label,variant:u.variant??"default",disabled:u.disabled||y,onClick:async({closeWithAnimation:x})=>{if(!_.current){_.current=!0,S(!0);try{await u.onClick(x),(u.closeOnClick??!0)&&x()}finally{_.current=!1,S(!1)}}}}]:[],...d?[]:[{label:c??w("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:y,onClick:({closeWithAnimation:x})=>x()}],{label:l??w("common.confirm","\uD655\uC778"),variant:h,disabled:p||y,onClick:async({closeWithAnimation:x})=>{if(!_.current){_.current=!0,S(!0);try{await C(x),g&&x()}finally{_.current=!1,S(!1)}}}}],children:[r!=null&&t.jsx("div",{className:"confirm-popup__top",children:r}),o&&o.length>0&&t.jsx(fa,{children:o.map((x,A)=>t.jsx(dn,{label:x.label,children:t.jsx("span",{className:"panel-row__text body-2",children:x.value})},A))}),t.jsx("p",{className:"body-2 confirm-popup__message",children:a}),s]})}function Hb({onApply:e,onCancel:n}){const{t:a}=pe.useTranslation(),[r,o]=i.useState(""),[s,l]=i.useState(!1),[c,d]=i.useState(null),u=i.useRef(null);i.useEffect(()=>{u.current?.focus()},[]);const h=i.useCallback(async g=>{const f=r.trim();if(f){l(!0),d(null);try{await e(f),g()}catch(m){d(zo(m)),l(!1)}}},[r,e]),p=i.useCallback((g,f)=>{g.key==="Enter"&&h(f)},[h]),C=g=>{o(g.target.value),d(null)};return t.jsx(un,{className:"coupon-input-popup",title:a("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:n,closeDisabled:s,buttons:[{label:a("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:s,onClick:({closeWithAnimation:g})=>g()},{label:a("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!r.trim()||s,onClick:({closeWithAnimation:g})=>{h(g)}}],children:({closeWithAnimation:g})=>t.jsxs(t.Fragment,{children:[t.jsx("input",{ref:u,className:"coupon-input-popup__input body-2","aria-label":a("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),placeholder:a("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:r,onChange:C,onKeyDown:f=>p(f,g),disabled:s,autoComplete:"off",spellCheck:!1}),c&&t.jsx("p",{className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}const Vb=200;function zb(e){return e.itemId?(Wm()[e.trainingType]??[]).find(n=>n?.id!=null&&String(n.id)===String(e.itemId))??null:null}function Wb({plan:e,anchorRect:n,offset:a=12,onClose:r}){const{t:o}=pe.useTranslation(),s=i.useMemo(()=>qm.map(c=>({type:c,items:(e.items??[]).filter(d=>d.trainingType===c.key)})).filter(c=>c.items.length>0),[e.items]);if(s.length===0)return null;const l=t.jsx("div",{className:"tooltip-training__box",children:t.jsx("div",{className:"tooltip-training__groups",children:s.flatMap(({type:c,items:d},u)=>[u>0?t.jsx("div",{className:"tooltip-training__divider"},`div-${c.key}`):null,t.jsxs("div",{className:"tooltip-training__section",children:[t.jsx("div",{className:"tooltip-training__section-header",children:t.jsx("span",{className:"tooltip-training__type-label body-3b",children:c.label})}),t.jsx("div",{className:"tooltip-training__items",children:d.map((h,p)=>{const C=zb(h);return C?t.jsx(sr,{index:p,type:c,trainingData:C,size:"compact",hideCheckBadge:!0},h.itemId??p):null})})]},c.key)])})});return n?t.jsx(on,{anchorRect:n,offset:a,onClose:r,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:o("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:l}):l}const Sl=["var(--color-main)","var(--color-sub)"];function Dl({active:e=!1,count:n=40,duration:a=2e3,strength:r=1,onComplete:o,trigger:s=0}){const l=i.useMemo(()=>{const m=Math.floor(n/2),v=n-m,b=(w,_)=>Array.from({length:w}).map((y,S)=>{const x=6+Math.random()*12,A=Math.round(Math.min(18,x*Math.min(1.5,1+r*.4))),M=Sl[Math.floor(Math.random()*Sl.length)],k=Math.random()*300,D=(360+Math.random()*260)*r*1.2,H=(_==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,R=Math.cos(H)*D,j=Math.sin(H)*D*1.35,P=Math.random()*720-360,B=(1200+Math.random()*3e3)*Math.min(1.6,1+r*.3),O=Math.random()>.7?"50%":"3px";return{id:`${_}-${S}`,side:_,size:A,color:M,delay:k,vx:R,vy:j,angularVel:P,life:B,borderRadius:O}});return[...b(m,"left"),...b(v,"right")]},[n,r]),c=i.useRef(null),d=i.useRef({}),u=i.useRef(null),h=i.useRef(o);i.useEffect(()=>{h.current=o},[o]);const p=i.useRef(null),C=i.useRef(null),g=()=>{if(typeof document>"u")return null;let m=document.querySelector("[data-ihab-effect-root]");return m||(m=document.createElement("div"),m.className="app-effect",m.dataset.ihabEffectRoot="",m.style.position="fixed",m.style.inset="0",m.style.pointerEvents="none",m.style.zIndex="99998",document.body.appendChild(m)),m};if(typeof document<"u"&&C.current==null&&(C.current=g()),i.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){h.current?.();return}const m=1200,v=performance.now(),b=C.current&&C.current!==document.body?C.current.getBoundingClientRect():null,w=Math.max(60,(window.innerHeight||800)*.05),_=E=>Math.max(40,(E||window.innerWidth)*.02),y=b?.width||window.innerWidth||375,S=b?.height||window.innerHeight||812,x=E=>{const $=[...E].sort((L,z)=>L-z);return $[Math.floor($.length/2)]||1},A=x(l.map(E=>Math.abs(E.vy))),M=x(l.map(E=>Math.abs(E.vx))),k=Math.sqrt(2*m*(S*.72+w))/A,D=A*k/m,H=y*.5/(M*D),R=(E,$,L)=>Math.min(L,Math.max($,E)),j=R(k,.8,2.4),P=R(H,.7,2.2),B=l.map(E=>({...E,vx:E.vx*P,vy:E.vy*j,startTime:v+E.delay,ended:!1})),O=b?{x:b.left-_(b.width),y:b.top+b.height+w}:{x:-_(window.innerWidth),y:window.innerHeight+w},Z=b?{x:b.left+b.width+_(b.width),y:b.top+b.height+w}:{x:window.innerWidth+_(window.innerWidth),y:window.innerHeight+w},Y=E=>{let $=!1;for(const L of B){const z=d.current[L.id];if(!z||!z)continue;if(E<L.startTime){z.style.display="none";continue}if(!L._inited){const he=L.side==="left"?O.x:Z.x,T=L.side==="left"?O.y:Z.y;z.style.left=`${he}px`,z.style.top=`${T}px`,z.style.transform="translate3d(0px, 0px, 0)",z.style.display="block",z.style.zIndex="100000";try{if(typeof window<"u"&&typeof L.color=="string"&&L.color.startsWith("var(")){const q=L.color.slice(4,-1).trim(),ee=getComputedStyle(document.documentElement).getPropertyValue(q).trim();ee?z.style.background=ee:z.style.background="#FF0060"}}catch{}L._inited=!0}const V=(E-L.startTime)/1e3;if(V<0)continue;const X=L.life/1e3;if(V>=X){z.style.opacity="0",z.style.display="none",L.ended=!0;continue}$=!0;const I=L.side==="left"?O.x:Z.x,U=L.side==="left"?O.y:Z.y,K=I+L.vx*V,re=U+L.vy*V+.5*m*V*V,de=(L.angularVel||0)*V,fe=K-I,ge=re-U;z.style.transform=`translate3d(${fe}px, ${ge}px, 0) rotate(${de}deg)`,z.style.opacity=`${Math.max(0,1-V/X)}`}$?u.current=requestAnimationFrame(Y):h.current?.()};u.current=requestAnimationFrame(Y);const J=setTimeout(()=>{try{if((C.current?C.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const E=document.createElement("div");E.className="party-container",E.style.position="fixed",E.style.inset="0",E.style.pointerEvents="none",E.style.overflow="visible",E.style.zIndex="2147483647";for(const $ of l){const L=document.createElement("span");L.className=`confetti confetti--${$.side}`,L.setAttribute("aria-hidden","true"),L.style.display="none",L.style.position="fixed",L.style.left="0px",L.style.top="0px",L.style.width=`${$.size}px`,L.style.height=`${Math.max(4,$.size*.6)}px`;let z=$.color;try{if(typeof z=="string"&&z.startsWith("var(")){const V=z.slice(4,-1).trim(),X=getComputedStyle(document.documentElement).getPropertyValue(V).trim();X&&(z=X)}}catch{}L.style.background=z,L.style.borderRadius=$.borderRadius,L.style.transform="translate3d(0,0,0)",L.style.opacity="0",E.appendChild(L),d.current[$.id]=L}(document.body||C.current).appendChild(E),p.current=E}}catch{}},300);return()=>{if(u.current&&cancelAnimationFrame(u.current),clearTimeout(J),p.current){try{p.current.remove()}catch{}p.current=null}}},[e,a,s,l]),!e)return null;const f=t.jsx("div",{className:"party-container",ref:c,children:l.map(m=>t.jsx("span",{"aria-hidden":!0,ref:v=>{d.current[m.id]=v},className:`confetti confetti--${m.side}`,style:{width:`${m.size}px`,height:`${Math.max(4,m.size*.6)}px`,background:m.color,borderRadius:m.borderRadius}},`${m.id}-${s}`))});return typeof document<"u"?Tt.createPortal(f,C.current||document.body):f}function qb({trigger:e=0,active:n=!1}){const a=i.useRef(0);return i.useEffect(()=>{a.current=e},[e]),t.jsx(Dl,{active:n,trigger:e})}function Ub({title:e,sub:n,rightAction:a,titleAction:r,badge:o,badgeVariant:s="default",documentTitle:l,onBack:c,backLabel:d}){const{t:u}=pe.useTranslation();r0(typeof e=="string"?e:l??null);const h=d??u("common.back","\uB4A4\uB85C");return t.jsxs("div",{className:"page-title",children:[t.jsxs("div",{className:"page-title__main",children:[t.jsxs("div",{className:"page-title__title-row",children:[c&&t.jsx(te,{className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:h,showTooltipInfo:h,onClick:c}),t.jsx("h1",{className:"page-title__title h1",children:e}),o&&t.jsx("div",{className:"page-title__badge",children:t.jsx(ct,{label:o,size:"small",variant:s,fill:"outline"})}),r?t.jsx("div",{className:"page-title__title-action",children:r}):null]}),n&&t.jsx("p",{className:"page-title__sub body-2",children:n})]}),a?t.jsx("div",{className:"page-title__action",children:a}):null]})}function Gb(e){return e??""}const jl=i.createContext({words:[],loading:!1});function Kb(){return i.useContext(jl)}function Zb({words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:s,progress:l,clearAndRefetch:c,checkRemoteVersion:d,children:u}){return t.jsx(jl.Provider,{value:{words:e,loading:n,error:a,statusMessage:r,localVersion:o,remoteVersion:s,progress:l,clearAndRefetch:c,checkRemoteVersion:d},children:u})}function Yb({items:e,actions:n,columns:a,flat:r=!1,className:o,style:s}){const l=a??e.length;return t.jsx("section",{className:be("summary-strip",r&&"summary-strip--flat",o),style:{"--summary-strip-cols":String(l),...s},children:t.jsxs("div",{className:"summary-strip__row",children:[t.jsx("div",{className:"summary-strip__items",children:e.map((c,d)=>t.jsxs("div",{className:"summary-strip__item",children:[t.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),t.jsx("p",{className:"summary-strip__value body-3b",children:c.value})]},d))}),n&&t.jsx("div",{className:"summary-strip__actions",children:n})]})})}const Xb=(e,n)=>`${e} / ${n}`;function Jb({blocks:e,sectionTitles:n,logo:a,footer:r,pageLabel:o=Xb,pageWidth:s,pageHeight:l,margin:c,className:d,style:u}){const{t:h}=pe.useTranslation(),p=i.useRef(null),C=i.useRef(null),g=i.useRef(null),f=i.useRef(null),[m,v]=i.useState(null),[b,w]=i.useState(!1);i.useEffect(()=>{const D=p.current;if(!D)return;const H=()=>w(D.scrollWidth>D.clientWidth+1);if(H(),typeof ResizeObserver>"u")return;const R=new ResizeObserver(H);return R.observe(D),()=>R.disconnect()},[m]);const _=e.map(D=>`${D.id}\0${D.section??""}\0${D.group??""}`).join("");i.useLayoutEffect(()=>{const D=C.current,H=f.current;if(!D||!H)return;const R=g.current?.offsetHeight??0,j=H.offsetHeight-R,P=Array.from(D.children).map(E=>E.offsetHeight),B=[];e.forEach((E,$)=>{const L=B[B.length-1],z=L?e[L[0]]:void 0;z&&E.group!=null&&z.group===E.group?L.push($):B.push([$])});const O=[];let Z=[],Y=0;const J=()=>{Z.length&&O.push(Z),Z=[],Y=0};B.forEach(E=>{const $=E.reduce((L,z)=>L+P[z],0);Z.length&&e[Z[0]].section!==e[E[0]].section&&J(),Z.length&&Y+$>j&&J(),$>j?E.forEach(L=>{Z.length&&Y+P[L]>j&&J(),Z.push(L),Y+=P[L]}):(E.forEach(L=>Z.push(L)),Y+=$)}),J(),v(O)},[_]);const y=Ja,S=y,x=r??t.jsxs(t.Fragment,{children:[t.jsx("img",{src:S,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),A=(D,H,R)=>({header:t.jsxs("div",{className:"report-doc__header",children:[t.jsx("h2",{className:"report-doc__title h3b",children:R!=null&&n?.[R]||null}),a]}),footer:t.jsxs("div",{className:"report-doc__footer caption-1",children:[t.jsx("span",{className:"report-doc__footer-left",children:x}),t.jsx("span",{className:"report-doc__page-no",children:o(D,H)})]})}),M=A(1,1,e[0]?.section),k={...s?{"--report-page-w":s}:null,...l?{"--report-page-h":l}:null,...c?{"--report-margin":c}:null,...u};return t.jsxs("div",{ref:p,className:be("report-doc",d),style:k,tabIndex:b?0:void 0,role:b?"group":void 0,"aria-label":b?h("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[t.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[t.jsx("div",{ref:f,className:"report-doc__ruler"}),t.jsxs("div",{ref:g,children:[M.header,M.footer]}),t.jsx("div",{ref:C,className:"report-doc__measure-blocks",children:e.map(D=>t.jsx("div",{children:D.content},D.id))})]}),m&&t.jsx("div",{className:"report-doc__pages",children:m.map((D,H)=>{const{header:R,footer:j}=A(H+1,m.length,e[D[0]].section);return t.jsxs("section",{className:"report-doc__page",children:[R,D.map(P=>t.jsx("div",{children:e[P].content},e[P].id)),j]},H)})})]})}function Qb({title:e,fields:n,columns:a=4,className:r,style:o}){return t.jsxs("div",{className:be("report-info",r),style:{"--report-info-cols":String(a),...o},children:[e&&t.jsx("p",{className:"report-info__title h5b",children:e}),t.jsx("div",{className:"report-info__grid",children:n.map((s,l)=>t.jsxs("div",{className:"report-info__field body-2",children:[t.jsx("span",{className:"report-info__label body-3",children:s.label}),t.jsx("span",{className:"report-info__value",children:s.value})]},l))})]})}function e5({title:e,message:n,actionLabel:a,onAction:r,icon:o,onClose:s,className:l=""}){const{t:c}=pe.useTranslation(),d=a??c("common.update","\uC5C5\uB370\uC774\uD2B8");return t.jsxs("div",{className:be("update-alert",l),role:"alert",children:[s&&t.jsx("button",{type:"button",className:"update-alert__close",onClick:s,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),t.jsxs("div",{className:"update-alert__top",children:[t.jsx("div",{className:"update-alert__icon",children:o??t.jsx(Jr,{size:20,strokeWidth:2})}),t.jsxs("div",{className:"update-alert__body",children:[t.jsx("div",{className:"update-alert__title h4",children:e}),t.jsx("div",{className:"update-alert__message body-3",children:n})]})]}),r&&t.jsx(te,{size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:r,children:d})]})}function t5({title:e,description:n,topActions:a,children:r,footerLeft:o,footerRight:s,onClick:l,draggable:c,onDragStart:d,onDragEnd:u,className:h}){const p=o!=null||s!=null,C=r!=null&&r!==!1,g=i.useCallback(f=>{l&&f.target===f.currentTarget&&(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),l())},[l]);return t.jsxs("div",{className:be("training-card",l?"training-card--clickable":"",h),onClick:l,onKeyDown:l?g:void 0,role:l?"button":void 0,tabIndex:l?0:void 0,draggable:c,onDragStart:d,onDragEnd:u,children:[t.jsxs("div",{className:"training-card__header",children:[t.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?t.jsx("h3",{className:"training-card__title h4",children:e}):e,a!=null&&t.jsx("div",{className:"training-card__top-actions",onClick:f=>f.stopPropagation(),children:a})]}),n!=null?typeof n=="string"?t.jsx("p",{className:"training-card__description body-3",children:n}):n:t.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),C&&t.jsx("div",{className:"training-card__body",children:r}),p&&t.jsxs("div",{className:"training-card__footer",children:[o!=null&&t.jsx("div",{className:"training-card__footer-left",children:o}),s!=null&&t.jsx("div",{className:"training-card__meta",children:s})]})]})}function n5({title:e,count:n,collapsed:a=!1,onToggle:r,sort:o,actions:s,empty:l=!1,emptyContent:c,dragOver:d=!1,onDragOver:u,onDragLeave:h,onDrop:p,children:C,className:g}){const{t:f}=pe.useTranslation(),m=r!=null,v=be("training-card-group",d&&"training-card-group--dragover",a&&"training-card-group--collapsed",m&&"training-card-group--collapsible",g);return t.jsxs("div",{className:v,onDragOver:u,onDragLeave:h,onDrop:p,children:[t.jsxs("header",{className:"training-card-group__header",children:[m&&t.jsx(te,{size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:a?"chevron-right":"chevron-down",ariaLabel:a?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron",onClick:r}),typeof e=="string"?t.jsx("span",{className:"training-card-group__title h5b",children:e}):e,n!==void 0&&t.jsx("span",{className:"training-card-group__count body-3b",children:n}),(o||s!=null)&&t.jsxs("span",{className:"training-card-group__actions",onClick:b=>b.stopPropagation(),children:[o&&t.jsx(It,{size:40,options:o.options,value:o.value,placeholder:o.placeholder,onChange:o.onChange}),s]})]}),!a&&(l?t.jsx("div",{className:"training-card-group__empty body-3",children:c}):t.jsx("div",{className:"training-card-group__grid",children:C}))]})}const a5="speechear:saved_word_tables";function r5(e){if(typeof e!="object"||e===null)return!1;const n=e;return typeof n.id=="string"&&typeof n.name=="string"&&Array.isArray(n.items)}function o5(){try{const e=localStorage.getItem(a5);if(!e)return[];const n=JSON.parse(e);return Array.isArray(n)?n.filter(r5):[]}catch{return[]}}function s5({title:e,titleIcon:n,disc:a,items:r,onSaveComplete:o,onLoad:s,onRemoveItem:l,onReset:c,resetLabel:d,saveButtonLabel:u,secondarySaveButtonLabel:h,onReorder:p,showCellCount:C,onAddItem:g,className:f,renderSavePopup:m,renderWordSearch:v,hideControls:b,saveOnly:w,tableName:_,nameValue:y,onNameChange:S,descriptionValue:x,onDescriptionChange:A,namePlaceholder:M,descriptionPlaceholder:k,existingNames:D,editingName:H,onCancel:R}){const{t:j}=pe.useTranslation(),P=d??j("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),B=r===void 0,O=!!S,[Z,Y]=i.useState([]),J=(y??"").trim(),E=J||(M??"").trim(),$=(x??"").trim()||(k??"").trim(),L=(D??[]).map(ce=>ce.trim().toLowerCase()),z=[H?.trim().toLowerCase(),...Z].filter(ce=>!!ce),V=[...L];for(const ce of z){const xe=V.indexOf(ce);xe!==-1&&V.splice(xe,1)}const X=J!==""&&V.includes(J.toLowerCase()),[I,U]=i.useState(Array(4).fill(null)),[K,re]=i.useState(4),[de,fe]=i.useState(null),[ge,he]=i.useState("landscape"),[T,q]=i.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[ee,we]=i.useState("\uD45C\uC2DC"),[ie,le]=i.useState(!0),[se,oe]=i.useState(!0),Se=i.useRef(null),Ie=i.useRef([]),[He,$e]=i.useState(8),[Me,De]=i.useState("right"),[Ne,Oe]=i.useState(!1),[Ge,ye]=i.useState(!1),{toastMessage:Fe,toastType:Le,showWarning:We,clearToast:Ze}=Rs("warning"),Ye=i.useCallback(()=>fe(null),[fe]),[Re,pt]=i.useState(()=>Math.max(r?.length??1,1));i.useEffect(()=>{B||pt(ce=>Math.max(ce,r?.length??1))},[r?.length,B]);const tt=B?K:C?Math.max(Re,r?.length??1):Math.max(r?.length??0,1),{width:Ue,height:nt}=Tn[ge],Ee=!B&&!C,je=r?.length??0,at=Math.min(He,Math.max(je,1)),ht=Ee?at:tt,ze=Ee?Mi(r??[],ht):null,rt=!!ze&&ze.length>1,mt=B?I.some(ce=>ce!==null&&ce.length>1):(r??[]).some(ce=>ce.words.length>1),Mt=_?.trim()||`${Go(Rm())} ${mt?j("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):j("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,Je=i.useCallback(()=>rt?Ie.current.filter(ce=>ce!==null):Se.current?[Se.current]:[],[rt]),{print:xt,openNewWindow:Dt,downloadHtml:Ft}=mr({getElements:Je,paperW:Ue,paperH:nt,fileName:Mt,onPopupBlocked:()=>{We(j("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}}),Ot=ce=>{re(ce),U(xe=>{const qe=Array(ce).fill(null);return xe.slice(0,ce).forEach((it,ut)=>{qe[ut]=it}),qe}),fe(null)},Ut=ce=>{U(xe=>{const qe=[...xe];return qe[ce]=null,qe}),de===ce&&fe(null)},Lt=ce=>{if(de===null)return;const xe=de;U(it=>{const ut=[...it];return ut[xe]=ce,ut});const qe=I.findIndex((it,ut)=>ut>xe&&it===null);fe(qe!==-1?qe:null)},nn=B?I.some(ce=>ce?.some(xe=>!!xe.colloquialPronunciation)):(r??[]).some(ce=>ce.words.some(xe=>!!xe.colloquialLabel)),_t=i.useMemo(()=>Nn()?B?I.flatMap(ce=>(ce??[]).map(xe=>[xe.word,xe.homonum])):(r??[]).flatMap(ce=>ce.words.map(xe=>[xe.label,xe.homonum])):[],[B,I,r]),[an,Nt]=i.useState(!1);i.useEffect(()=>{if(_t.length===0)return;let ce=!1;return Promise.all(_t.map(([xe,qe])=>Fo(xe,qe))).then(xe=>{ce||Nt(xe.some(Boolean))}),()=>{ce=!0}},[_t]);const Gt=_t.length>0&&an,Kt=i.useMemo(()=>[...B||C?[{label:j("wordTable.filter.columns","\uCE78 \uC218"),items:o4.map(ce=>({value:`${ce}\uCE78`,displayLabel:j("wordTable.filter.column",{count:ce})})),display:"segmented"}]:[],...Ee&&(r?.length??0)>0?[Wi(j,{hasPairs:mt,itemCount:je})]:[],...rt?[qi(j)]:[]],[j,B,C,Ee,r?.length,mt,je,rt]),Ke={...B||C?{[j("wordTable.filter.columns","\uCE78 \uC218")]:`${B?K:Re}\uCE78`}:{},...Ee&&(r?.length??0)>0?{[j(mt?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${at}\uAC1C`}:{},...rt?{[j("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:Ui[Me]}:{}},jt=(ce,xe)=>{xe===j("wordTable.filter.columns","\uCE78 \uC218")?B?Ot(parseInt(ce)):pt(parseInt(ce)):xe===j(mt?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")?$e(parseInt(ce)):xe===j("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&De(Gi(ce))},gt=B?I.filter(ce=>ce!==null).map(ce=>({id:ce[0].word,words:ce.map(xe=>({label:xe.word,subLabel:xe.pronunciation,homonum:xe.homonum}))})):r??[],$t=(ce=!1)=>{if(ye(ce),O&&o){const xe=E.trim().toLowerCase();xe&&Y(qe=>qe.includes(xe)?qe:[...qe,xe]),o(E,gt,$||void 0,ce);return}if(w&&o){o("",gt,void 0,ce);return}if(o){Oe(!0);return}Ft()},[Ht,Vt]=i.useState(!1),[zt,ae]=i.useState(""),me=zt.trim(),F=me!==""&&L.includes(me.toLowerCase()),Q=()=>{ae(E?`${E} (\uBCF5\uC0AC)`:""),Vt(!0)},Ce=()=>{!me||F||!o||(o(me,gt,$||void 0,!0),Vt(!1))},ve=gt.length===0,ke=ve||O&&(E===""||X),Ae=()=>{if(ve){We(j("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(O&&E===""){We(j("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}O&&X&&We(j("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},st=t.jsx(Mn,{items:gt,orientation:ge,contentTypes:T,cutLine:ee,showOutline:ie,showDivLine:se,count:tt});return t.jsxs(t.Fragment,{children:[t.jsxs(jn,{type:"page",icon:n,title:e,disc:a,className:be("word-table-block",f),children:[Ht&&t.jsx(un,{size:"small",title:h??j("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>Vt(!1),footer:({closeWithAnimation:ce})=>t.jsxs(t.Fragment,{children:[t.jsx(te,{size:48,type:"bar",label:j("common.cancel","\uCDE8\uC18C"),onClick:ce}),t.jsx(te,{size:48,type:"bar",variant:"main",label:j("common.save","\uC800\uC7A5"),disabled:!me||F,onClick:Ce})]}),children:t.jsx(yn,{label:j("wordTable.save.nameLabel","\uC774\uB984"),value:zt,onChange:ae,placeholder:j("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),maxLength:40,size:48,fullWidth:!0,autoFocus:!0,onEnter:Ce,error:F?j("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),Ne&&o&&m?.({defaultName:typeof e=="string"?e:j("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:st,previewW:Ue,previewH:nt,items:gt,existingNames:o5().map(ce=>ce.name),saveAsNew:Ge,onSave:(ce,xe)=>{o(ce,gt,xe,Ge),Oe(!1)},onCancel:()=>Oe(!1)}),(B||g)&&de!==null&&v?.({cellIndex:de,onConfirm:B?Lt:ce=>{if(g){const xe=ce[0];xe&&g({id:xe.word,words:[{label:xe.word,subLabel:xe.pronunciation,homonum:xe.homonum}]})}fe(null)},onClose:Ye}),!b&&t.jsx(dr,{hasImage:Gt,hasColloquial:nn,contentTypes:T,orientation:ge,showOutline:ie,cutLine:ee,showDivLine:se,setters:{setContentTypes:q,setOrientation:he,setShowOutline:le,setCutLine:we,setShowDivLine:oe},showCutLine:(Ee?ht:tt)>1,showDivLine2:mt,middleSections:Kt,extraSelected:Ke,onExtraSelect:jt}),rt&&ze?t.jsx("div",{className:"word-table-block__pages",children:ze.map((ce,xe)=>t.jsx(Mn,{orientation:ge,contentTypes:T,cutLine:ee,showOutline:ie,showDivLine:se,count:ht,items:ce,onRemoveItem:l,contentRef:qe=>{Ie.current[xe]=qe},pageNumber:{current:xe+1,total:ze.length},pageNumberPosition:Me},xe))}):t.jsx(Mn,{orientation:ge,contentTypes:T,cutLine:ee,showOutline:ie,showDivLine:se,count:tt,items:B?void 0:r??[],editCells:B?I:void 0,activeCell:de,onActivateCell:B||g?fe:void 0,onRemoveCell:B?Ut:void 0,onRemoveItem:B?void 0:l,onReorder:B?void 0:p,showFillerAdd:!!g,contentRef:Se}),O&&!b&&t.jsxs(fa,{size:"medium",labelWidth:64,useBorder:!1,useRowBorder:!1,className:"word-table-block__meta",children:[t.jsx(dn,{variant:"custom",label:j("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:t.jsx(yn,{required:!0,value:y??"",onChange:S,placeholder:M?M+j("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):j("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:j("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:X?j("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:ce=>{(ce.key==="Tab"&&!ce.shiftKey||ce.key===" ")&&!(y??"").trim()&&(M??"").trim()&&(ce.preventDefault(),S?.(M??""))}})}),t.jsx(dn,{variant:"custom",label:j("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:t.jsx(yn,{value:x??"",onChange:A,placeholder:k?k+j("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):j("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:j("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:ce=>{(ce.key==="Tab"&&!ce.shiftKey||ce.key===" ")&&!(x??"").trim()&&(k??"").trim()&&(ce.preventDefault(),A?.(k??""))}})})]})]}),!b&&t.jsxs("div",{className:"word-table-block__actions",children:[t.jsxs("div",{className:"word-table-block__actions-left",children:[!w&&c&&t.jsx(te,{size:40,type:"bar",label:P,onClick:c}),!w&&s&&t.jsx(te,{size:40,type:"bar",label:j("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:s}),!w&&t.jsx(te,{size:40,type:"bar",label:j("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:Dt})]}),t.jsxs("div",{className:"word-table-block__actions-right",children:[R&&t.jsx(te,{size:"56",type:"bar",label:j("common.cancel","\uCDE8\uC18C"),onClick:R}),!w&&t.jsx(te,{size:"56",type:"bar",label:j("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:xt}),h&&t.jsx(te,{size:"56",type:"bar",label:h,onClick:()=>O?Q():$t(!0),disabled:ve,onDisabledClick:()=>{We(j("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),t.jsx(te,{size:"56",type:"bar",variant:"main",label:u??j("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>$t(!1),disabled:ke,onDisabledClick:Ae})]})]}),t.jsx(Dn,{message:Fe,type:Le,onClose:Ze})]})}function El({items:e,className:n}){const a=e.length,r=a<=3?1:2,o=Math.ceil(a/r)||1,s=r*o;return t.jsx("div",{className:be("word-table-thumb",n),style:{gridTemplateColumns:`repeat(${r}, 1fr)`},children:Array.from({length:s},(l,c)=>{const d=e[c];return d?t.jsx("div",{className:"word-table-thumb__cell",children:(d.words.length?d.words:[{label:d.id}]).map((u,h)=>t.jsxs(i.Fragment,{children:[h>0&&t.jsx("span",{className:"word-table-thumb__divider"}),t.jsx("span",{className:"word-table-thumb__word body-3",children:u.label})]},h))},c):t.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},c)})})}function i5({items:e,name:n,description:a,createdAt:r,published:o,publishedLabel:s,shared:l,sharedLabel:c,isNew:d,publisherName:u,publishedAt:h,likeCount:p,downloadCount:C,onPublisherClick:g,selected:f,onClick:m,onMore:v,titleNode:b,className:w}){const{t:_}=pe.useTranslation(),y=b!=null,S=u!=null||h!=null||p!=null||C!=null,x=A=>{!y&&(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),m?.())};return t.jsxs("div",{className:be("word-table-button",f?"word-table-button--selected":"",S?"":"word-table-button--no-footer",w),role:"button",tabIndex:0,"aria-label":n,onClick:y?void 0:m,onKeyDown:x,children:[d&&t.jsx("span",{className:"word-table-button__new-dot","aria-label":_("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),t.jsx(El,{items:e,className:"word-table-button__thumb"}),t.jsxs("div",{className:"word-table-button__info",children:[t.jsxs("div",{className:"word-table-button__info-text",children:[b??t.jsx("div",{className:"word-table-button__title h4",children:n}),a&&t.jsx("div",{className:"word-table-button__desc body-3",children:a})]}),v&&!y&&t.jsx(te,{className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:_("common.moreFor",{name:n}),onClick:A=>{A.stopPropagation(),v(A)}})]}),(r||o||l)&&t.jsxs("div",{className:"word-table-button__meta-row",children:[t.jsx("span",{className:"word-table-button__meta caption-1",children:r?Uo(r,_):""}),t.jsxs("span",{className:"word-table-button__badges",children:[o&&t.jsx(ct,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:s??"\uBC1C\uD589\uB428"}),l&&t.jsx(ct,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:c??"\uACF5\uC720 \uC911"})]})]}),S&&t.jsxs("div",{className:"word-table-button__footer",children:[t.jsxs("span",{className:"word-table-button__store-by",children:[u&&t.jsx("button",{className:"training-card__publisher body-4",type:"button",onClick:A=>{A.stopPropagation(),g?.()},children:u}),h&&t.jsx("span",{className:"training-card__date body-4",children:Uo(h,_)})]}),t.jsxs("span",{className:"word-table-button__store-stats",children:[p!=null&&t.jsx(ct,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(p)}),C!=null&&t.jsx(ct,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(C)})]})]})]})}/**
|
|
969
969
|
* @license lucide-react v1.38.0 - ISC
|
|
970
970
|
*
|
|
971
971
|
* This source code is licensed under the ISC license.
|
|
972
972
|
* See the LICENSE file in the root directory of this source tree.
|
|
973
|
-
*/const
|
|
973
|
+
*/const l5=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],c5=G("image",l5);/**
|
|
974
974
|
* @license lucide-react v1.38.0 - ISC
|
|
975
975
|
*
|
|
976
976
|
* This source code is licensed under the ISC license.
|
|
977
977
|
* See the LICENSE file in the root directory of this source tree.
|
|
978
|
-
*/const o5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],s5=G("circle-x",o5);function i5(e){return{idle:0,"word-download":1,"image-list":2,"image-match":2,"pair-build":3,done:4}[e]??0}function Tr({icon:e,label:n,state:a,pct:r,subText:o}){const{t:s}=me.useTranslation(),l=a==="done",c=a==="pending",d=a==="error",u=l?100:r??0;return t.jsxs("div",{className:"wdup-phase-card",children:[t.jsx("div",{className:`wdup-phase-card__icon${l?" wdup-phase-card__icon--done":d?" wdup-phase-card__icon--error":""}`,children:l?t.jsx(Jr,{size:22,color:"white",strokeWidth:2.5}):d?t.jsx(s5,{size:22,color:"white",strokeWidth:2.5}):t.jsx("span",{className:`wdup-phase-card__icon-inner${c?" wdup-phase-card__icon-inner--pending":""}`,children:e})}),t.jsxs("div",{className:"wdup-phase-card__body",children:[t.jsxs("div",{className:"wdup-phase-card__top",children:[t.jsx("span",{className:`wdup-phase-card__label body-2${c?" wdup-phase-card__label--pending":""}`,children:n}),l?t.jsx(ut,{variant:"sub",fill:"soft",size:"small",label:s("common.done","\uC644\uB8CC")}):d?t.jsx(ut,{variant:"danger",fill:"soft",size:"small",label:s("common.failed","\uC2E4\uD328")}):(o||r!==void 0)&&t.jsxs("span",{className:"wdup-phase-card__sub body-3",children:[o,o&&r!==void 0?` \xB7 ${r}%`:r!==void 0?`${r}%`:""]})]}),!c&&t.jsx("div",{className:"wdup-bar",children:t.jsx("div",{className:`wdup-bar__fill${l?" wdup-bar__fill--done":d?" wdup-bar__fill--error":""}${a==="active"&&r===void 0?" wdup-bar__fill--indeterminate":""}`,style:{width:r!==void 0||l||d?`${d?100:u}%`:void 0}})})]})]})}function l5({title:e,progress:n,onDone:a,onRetry:r,inline:o}){const{t:s}=me.useTranslation(),{phase:l,error:c,wordCount:d,imagePage:u,imageDone:h,imageTotal:p,pairPercent:m}=n,g=i5(l),f=l==="done",C=!!c;function b(x){return C&&g===x?"error":g>x?"done":g===x?"active":"pending"}const y=b(1),w=b(2),_=b(3),v=l==="image-match"&&p?Math.round((h??0)/p*100):void 0,D=i.useMemo(()=>{if(w!=="done"){if(l==="image-list")return s("wordData.checkingPage",{page:u??1});if(l==="image-match"&&p)return s("wordData.imageCount",{done:Ha(h),total:Ha(p)})}},[w,l,u,p,h,s]);return t.jsx(sn,{inline:o,className:"popup--word-data-update",title:e,footer:C?t.jsx(te,{size:56,variant:"main",onClick:r,children:s("common.retry","\uB2E4\uC2DC \uC2DC\uB3C4")}):t.jsx(te,{size:56,variant:"main",disabled:!f,onClick:a,children:s("common.done","\uC644\uB8CC")}),children:t.jsxs("div",{className:"wdup-cards",children:[t.jsx(Tr,{icon:t.jsx(Gr,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:s("wordData.phaseWordDownload","\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC"),state:y,subText:y==="active"?s("wordData.downloadingCount",{n:Ha(d)}):void 0}),t.jsx(Tr,{icon:t.jsx(r5,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:s("wordData.phaseImageCheck","\uC774\uBBF8\uC9C0 \uD655\uC778"),state:w,pct:v,subText:D}),t.jsx(Tr,{icon:t.jsx(Yr,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:s("wordData.phasePairAnalysis","\uB2E8\uC5B4\uC30D \uBD84\uC11D"),state:_,pct:_==="active"?m??0:void 0,subText:void 0})]})})}function c5({enabled:e=!1,renderResultPopup:n}={}){const[a,r]=i.useState(null),[o,s]=i.useState(null),l=m=>{let g=null;m==="noise"?g={score:3,contextsLength:5,results:[{sentence:"\uBB38\uC7A5 A",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 B",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 C",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 D",judgement:null,wording:"\uC548 \uD568",useAnswer:!1},{sentence:"\uBB38\uC7A5 E",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1}]}:m==="short"?g={score:2,contextsLength:3,results:[{sentence:"\uBE44\uBE54\uBC25 \uC124\uBA85",answer:"\uBE44\uBE54\uBC25",selected:"\uBE44\uBE54\uBC25",selectedText:"\uBE44\uBE54\uBC25",correct:!0},{sentence:"\uBCF4\uC308 \uC124\uBA85",answer:"\uBCF4\uC308",selected:"\uC871\uBC1C",selectedText:"\uC871\uBC1C",correct:!1},{sentence:"\uCE7C\uAD6D\uC218 \uC124\uBA85",answer:"\uCE7C\uAD6D\uC218",selected:void 0,selectedText:void 0,correct:void 0}]}:m==="long"?g={score:4,contextsLength:4,results:[{sentence:"\uAE34 \uC774\uC57C\uAE30 1",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",correct:!0},{sentence:"\uAE34 \uC774\uC57C\uAE30 2",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 2",selectedText:"\uC120\uD0DD \uD14D\uC2A4\uD2B8 2",correct:!1},{sentence:"\uAE34 \uC774\uC57C\uAE30 3",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 3",selectedText:void 0,correct:void 0},{sentence:"\uAE34 \uC774\uC57C\uAE30 4",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",correct:!0}]}:m==="order"&&(g={score:1,contextsLength:2,results:[{sentence:"\uC21C\uC11C \uBB38\uC81C 1",answer:"1,2,3",selectedText:"1,2,3",correct:!0},{sentence:"\uC21C\uC11C \uBB38\uC81C 2",answer:"A,B,C",selectedText:"B,A,C",correct:!1}]}),s(g),r(m)},c=i.useCallback(()=>{r(null),s(null)},[]),d=i.useCallback(()=>l("noise"),[]),u=i.useCallback(()=>l("short"),[]),h=i.useCallback(()=>l("long"),[]),p=i.useCallback(()=>l("order"),[]);return e?t.jsxs("div",{className:"debug-result-launcher",children:[t.jsxs("div",{className:"debug-buttons",children:[t.jsx("button",{className:"debug-button",onClick:d,children:"Noise \uACB0\uACFC\uBCF4\uAE30"}),t.jsx("button",{className:"debug-button",onClick:u,children:"ShortStory \uACB0\uACFC\uBCF4\uAE30"}),t.jsx("button",{className:"debug-button",onClick:h,children:"LongStory \uACB0\uACFC\uBCF4\uAE30"}),t.jsx("button",{className:"debug-button",onClick:p,children:"Order \uACB0\uACFC\uBCF4\uAE30"})]}),a&&o?n?.({score:o.score,contextsLength:o.contextsLength,results:o.results,onReplay:c,onClose:c}):null]}):null}exports.Accordion=m0,exports.ActionCard=Gm,exports.Alert=Af,exports.AppHeader=x0,exports.AudioMeter=ar,exports.AudioPlayer=vr,exports.Avatar=Tf,exports.Badge=ut,exports.BarChart=mg,exports.BarChartControls=ci,exports.Board=Wf,exports.BottomNav=Ls,exports.BrandIdentity=Ps,exports.Breadcrumb=$f,exports.BulkBar=ng,exports.Button=te,exports.CORE_VERSION=zm,exports.Calendar=jg,exports.CardStep=bl,exports.ChartLegend=er,exports.ChartSection=tr,exports.ChartTotal=ua,exports.Checkbox=ri,exports.ChoiceChips=E4,exports.CircleBadge=xf,exports.CodeBox=tg,exports.ColorPicker=Of,exports.CompanyMeta=Yf,exports.ConfirmPopup=$b,exports.ConfirmStep=Cl,exports.ConfirmWithTextStep=fl,exports.ContrastFilterPanel=Mb,exports.CoreScope=Km,exports.CountTile=Hf,exports.CouponInputPopup=Rb,exports.DatePicker=sg,exports.DebugResultLauncher=c5,exports.DescriptionTooltip=fn,exports.DeviceSideTable=Bg,exports.Dialog=Vf,exports.Divider=_f,exports.Dropdown=Rt,exports.EffectPartyPopper=kl,exports.EffectPartyPopperHost=Ob,exports.EmptyState=qm,exports.ErrorState=Um,exports.FILTER_ALL_VALUE=rn,exports.FileUpload=Lf,exports.FilterPanel=Jt,exports.FilterSectionInfo=Kn,exports.Footer=T4,exports.Header=Is,exports.Icon=Ie,exports.IconGridMenu=j4,exports.IconRenderer=Ie,exports.InfoTooltip=an,exports.LandingBottomSticky=L4,exports.LandingHeader=M4,exports.ListPopup=Lb,exports.ListenStep=ml,exports.Loader=Zn,exports.MARKS=ki,exports.MARK_ICON=Ni,exports.MARK_VARIANT=Bi,exports.MediaQueryOverrideContext=As,exports.MenuTooltip=la,exports.NoiseSettingsTooltip=ll,exports.NoticeBox=Zm,exports.OrderListStep=gl,exports.PASS_CARD_BG_VARS=gn,exports.POS_LABEL=ji,exports.PROMO_BANNER_BG_COMPONENTS=ws,exports.PROMO_BANNER_BG_OPTIONS=Ym,exports.PROMO_BANNER_BG_VARS=Wn,exports.Page=ga,exports.PageTitle=Hb,exports.Pagination=ca,exports.Panel=fa,exports.PanelGrid=rb,exports.PanelRow=ln,exports.PanelRowDevice=ab,exports.PassCard=Ys,exports.PassCardBg=gf,exports.PassCardBgIHAB=bf,exports.PassCardBgLeftColorGrid=yf,exports.PassCardBgTwoCircle=Us,exports.PaymentPlan=ff,exports.PersonCard=qf,exports.PhonemeFilterPanel=Tb,exports.PhonemeSelectBlock=jb,exports.Popup=sn,exports.ProgressBar=xg,exports.ProgressIndicator=fi,exports.PromoBanner=d0,exports.PromoBannerBgDark=ls,exports.PromoBannerBgDeep=ns,exports.PromoBannerBgDiagonal=ps,exports.PromoBannerBgDots=ms,exports.PromoBannerBgInstagram=_s,exports.PromoBannerBgMain=Yo,exports.PromoBannerBgNaver=vs,exports.PromoBannerBgOutline=fs,exports.PromoBannerBgRadial=us,exports.PromoBannerBgSoft=Jo,exports.PromoBannerBgSoftSub=rs,exports.PromoBannerBgSub=es,exports.PromoBannerBgSuccess=bs,exports.PromoBannerBgWarm=ss,exports.PublicationCard=Gf,exports.Radio=ei,exports.RadioGroup=wf,exports.Rating=Pf,exports.ReportDocument=Gb,exports.ReportInfoPanel=Kb,exports.RingChart=fg,exports.SENTENCE_TRAINING_TYPES=Cr,exports.SearchSummary=Df,exports.Section=Dn,exports.SectionHeader=Zf,exports.SegmentedControl=yn,exports.ShortcutBadge=Qs,exports.SideNav=Rs,exports.Slider=hi,exports.SoundCompass=vf,exports.SplashLogo=Kf,exports.StatChart=gg,exports.SummaryStrip=qb,exports.TRAINING_TOOLTIP_HOVER_DELAY_MS=Pb,exports.Table=or,exports.TableFilterPanel=dr,exports.Tabs=Sf,exports.TextBoxTooltip=Ca,exports.TextField=bn,exports.Timeline=Uf,exports.Toast=Bn,exports.Toggle=ai,exports.Toolbar=Qa,exports.Tooltip=nn,exports.TooltipInfo=an,exports.TooltipTextBox=Ca,exports.TopBanner=p0,exports.TrainingBlock=$g,exports.TrainingBlockButton=sr,exports.TrainingCard=Yb,exports.TrainingCardGroup=Xb,exports.TrainingPagePopup=cn,exports.TrainingPagePopupBottom=cl,exports.TrainingPagePopupTitle=ul,exports.TrainingResultPopup=vl,exports.TrainingStep=vn,exports.TrainingStepAudioPlayer=vr,exports.TrainingStepBullet=tl,exports.TrainingStepCard=rl,exports.TrainingStepConfirm=_r,exports.TrainingStepConfirmWithText=wr,exports.TrainingStepListen=kr,exports.TrainingStepOrderList=Ar,exports.TrainingStepTextBox=al,exports.TrainingStepTitle=nl,exports.TrainingTooltip=Fb,exports.TrainingWordCard=lr,exports.UpdateAlert=Zb,exports.WORD_TABLE_PAPER=jn,exports.WORD_TYPE_LABEL=Ei,exports.WordDataProvider=Wb,exports.WordDataUpdatePopup=l5,exports.WordImageTooltip=_l,exports.WordSearchFilterPanel=Eb,exports.WordSearchResultBlock=Db,exports.WordTable=En,exports.WordTableBlock=t5,exports.WordTableButton=n5,exports.WordTablePopup=r4,exports.WordTableThumbnail=Nl,exports.buildMonthChartData=lg,exports.cellLabel=c4,exports.cellsForLabels=_4,exports.clearPassCardBgTheme=Yt,exports.clearPromoBannerBgTheme=_t,exports.closeTrainingPopup=cb,exports.companyTypeLabel=zb,exports.createTrainingScenario=pb,exports.cx=ye,exports.deriveNoiseContexts=bb,exports.derivePassCard=Vs,exports.draftValues=D4,exports.expandSlashLabel=ur,exports.formatDuration=w4,exports.getControlDateRange=Cg,exports.getPayloadTimestamp=Dr,exports.getPromoBannerBgTheme=Ko,exports.getSelectedFromPayload=mb,exports.getSelectedText=Cb,exports.getStepPayload=pl,exports.getSteppedPayload=fb,exports.injectPassCardBgTheme=Zt,exports.injectPromoBannerBgTheme=xt,exports.isSelectionCorrect=gb,exports.labelsForSave=l4,exports.markAfterClick=Ai,exports.marksForSave=cr,exports.missesByType=b4,exports.nextFocus=C4,exports.nextMisses=g4,exports.pageStartIndexes=Di,exports.passCardBgIhabTheme=Xs,exports.passCardBgLeftColorGridTheme=Js,exports.passCardBgTwoCircleTheme=qs,exports.printWordTable=Wg,exports.promoBannerBgDarkTheme=is,exports.promoBannerBgDeepTheme=ts,exports.promoBannerBgDiagonalTheme=ds,exports.promoBannerBgDotsTheme=hs,exports.promoBannerBgInstagramTheme=xs,exports.promoBannerBgMainTheme=Zo,exports.promoBannerBgNaverTheme=ys,exports.promoBannerBgOutlineTheme=Cs,exports.promoBannerBgRadialTheme=cs,exports.promoBannerBgSoftSubTheme=as,exports.promoBannerBgSoftTheme=Xo,exports.promoBannerBgSubTheme=Qo,exports.promoBannerBgSuccessTheme=gs,exports.promoBannerBgWarmTheme=os,exports.recommendTables=v4,exports.regenerateUnpinned=B4,exports.removeItem=N4,exports.resolveTrainingItems=db,exports.resolveTrainingPopupMeta=dl,exports.reviewCells=s4,exports.reviewSetPlan=y4,exports.reviewTableName=i4,exports.scoreKey=pa,exports.scoreSheetHeader=u4,exports.shouldConfirmDiscard=Vg,exports.splitTrainingVariants=ub,exports.summarize=zg,exports.summarizeMisses=f4,exports.tableTrends=m4,exports.toDraft=k4,exports.toTrainingText=hb,exports.togglePin=A4,exports.uncoveredLabels=x4,exports.useAnchoredMenu=qn,exports.useBarChartControl=li,exports.useCalendarMonth=oi,exports.useComboboxSuggestions=ti,exports.useFitScale=Mi,exports.useSoundCompassExam=u0,exports.useToastLifecycle=Ci,exports.useWordData=Vb,exports.useWordTableDisplaySettings=Gi,exports.useWordTablePrint=mr,exports.weakItems=h4;
|
|
978
|
+
*/const u5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],d5=G("circle-x",u5);function p5(e){return{idle:0,"word-download":1,"image-list":2,"image-match":2,"pair-build":3,done:4}[e]??0}function Rr({icon:e,label:n,state:a,pct:r,subText:o}){const{t:s}=pe.useTranslation(),l=a==="done",c=a==="pending",d=a==="error",u=l?100:r??0;return t.jsxs("div",{className:"wdup-phase-card",children:[t.jsx("div",{className:`wdup-phase-card__icon${l?" wdup-phase-card__icon--done":d?" wdup-phase-card__icon--error":""}`,children:l?t.jsx(no,{size:22,color:"white",strokeWidth:2.5}):d?t.jsx(d5,{size:22,color:"white",strokeWidth:2.5}):t.jsx("span",{className:`wdup-phase-card__icon-inner${c?" wdup-phase-card__icon-inner--pending":""}`,children:e})}),t.jsxs("div",{className:"wdup-phase-card__body",children:[t.jsxs("div",{className:"wdup-phase-card__top",children:[t.jsx("span",{className:`wdup-phase-card__label body-2${c?" wdup-phase-card__label--pending":""}`,children:n}),l?t.jsx(ct,{variant:"sub",fill:"soft",size:"small",label:s("common.done","\uC644\uB8CC")}):d?t.jsx(ct,{variant:"danger",fill:"soft",size:"small",label:s("common.failed","\uC2E4\uD328")}):(o||r!==void 0)&&t.jsxs("span",{className:"wdup-phase-card__sub body-3",children:[o,o&&r!==void 0?` \xB7 ${r}%`:r!==void 0?`${r}%`:""]})]}),!c&&t.jsx("div",{className:"wdup-bar",children:t.jsx("div",{className:`wdup-bar__fill${l?" wdup-bar__fill--done":d?" wdup-bar__fill--error":""}${a==="active"&&r===void 0?" wdup-bar__fill--indeterminate":""}`,style:{width:r!==void 0||l||d?`${d?100:u}%`:void 0}})})]})]})}function h5({title:e,progress:n,onDone:a,onRetry:r,inline:o}){const{t:s}=pe.useTranslation(),{phase:l,error:c,wordCount:d,imagePage:u,imageDone:h,imageTotal:p,pairPercent:C}=n,g=p5(l),f=l==="done",m=!!c;function v(x){return m&&g===x?"error":g>x?"done":g===x?"active":"pending"}const b=v(1),w=v(2),_=v(3),y=l==="image-match"&&p?Math.round((h??0)/p*100):void 0,S=i.useMemo(()=>{if(w!=="done"){if(l==="image-list")return s("wordData.checkingPage",{page:u??1});if(l==="image-match"&&p)return s("wordData.imageCount",{done:Ha(h),total:Ha(p)})}},[w,l,u,p,h,s]);return t.jsx(un,{inline:o,className:"popup--word-data-update",title:e,footer:m?t.jsx(te,{size:56,variant:"main",onClick:r,children:s("common.retry","\uB2E4\uC2DC \uC2DC\uB3C4")}):t.jsx(te,{size:56,variant:"main",disabled:!f,onClick:a,children:s("common.done","\uC644\uB8CC")}),children:t.jsxs("div",{className:"wdup-cards",children:[t.jsx(Rr,{icon:t.jsx(Xr,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:s("wordData.phaseWordDownload","\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC"),state:b,subText:b==="active"?s("wordData.downloadingCount",{n:Ha(d)}):void 0}),t.jsx(Rr,{icon:t.jsx(c5,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:s("wordData.phaseImageCheck","\uC774\uBBF8\uC9C0 \uD655\uC778"),state:w,pct:y,subText:S}),t.jsx(Rr,{icon:t.jsx(eo,{size:22,color:"var(--color-main, #29b6c8)",strokeWidth:1.8}),label:s("wordData.phasePairAnalysis","\uB2E8\uC5B4\uC30D \uBD84\uC11D"),state:_,pct:_==="active"?C??0:void 0,subText:void 0})]})})}function m5({enabled:e=!1,renderResultPopup:n}={}){const[a,r]=i.useState(null),[o,s]=i.useState(null),l=C=>{let g=null;C==="noise"?g={score:3,contextsLength:5,results:[{sentence:"\uBB38\uC7A5 A",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 B",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 C",judgement:!0,wording:"\uC798 \uB4E4\uB9BC",useAnswer:!1},{sentence:"\uBB38\uC7A5 D",judgement:null,wording:"\uC548 \uD568",useAnswer:!1},{sentence:"\uBB38\uC7A5 E",judgement:!1,wording:"\uC548 \uB4E4\uB9BC",useAnswer:!1}]}:C==="short"?g={score:2,contextsLength:3,results:[{sentence:"\uBE44\uBE54\uBC25 \uC124\uBA85",answer:"\uBE44\uBE54\uBC25",selected:"\uBE44\uBE54\uBC25",selectedText:"\uBE44\uBE54\uBC25",correct:!0},{sentence:"\uBCF4\uC308 \uC124\uBA85",answer:"\uBCF4\uC308",selected:"\uC871\uBC1C",selectedText:"\uC871\uBC1C",correct:!1},{sentence:"\uCE7C\uAD6D\uC218 \uC124\uBA85",answer:"\uCE7C\uAD6D\uC218",selected:void 0,selectedText:void 0,correct:void 0}]}:C==="long"?g={score:4,contextsLength:4,results:[{sentence:"\uAE34 \uC774\uC57C\uAE30 1",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 1",correct:!0},{sentence:"\uAE34 \uC774\uC57C\uAE30 2",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 2",selectedText:"\uC120\uD0DD \uD14D\uC2A4\uD2B8 2",correct:!1},{sentence:"\uAE34 \uC774\uC57C\uAE30 3",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 3",selectedText:void 0,correct:void 0},{sentence:"\uAE34 \uC774\uC57C\uAE30 4",answer:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",selectedText:"\uC815\uB2F5 \uD14D\uC2A4\uD2B8 4",correct:!0}]}:C==="order"&&(g={score:1,contextsLength:2,results:[{sentence:"\uC21C\uC11C \uBB38\uC81C 1",answer:"1,2,3",selectedText:"1,2,3",correct:!0},{sentence:"\uC21C\uC11C \uBB38\uC81C 2",answer:"A,B,C",selectedText:"B,A,C",correct:!1}]}),s(g),r(C)},c=i.useCallback(()=>{r(null),s(null)},[]),d=i.useCallback(()=>l("noise"),[]),u=i.useCallback(()=>l("short"),[]),h=i.useCallback(()=>l("long"),[]),p=i.useCallback(()=>l("order"),[]);return e?t.jsxs("div",{className:"debug-result-launcher",children:[t.jsxs("div",{className:"debug-buttons",children:[t.jsx("button",{className:"debug-button",onClick:d,children:"Noise \uACB0\uACFC\uBCF4\uAE30"}),t.jsx("button",{className:"debug-button",onClick:u,children:"ShortStory \uACB0\uACFC\uBCF4\uAE30"}),t.jsx("button",{className:"debug-button",onClick:h,children:"LongStory \uACB0\uACFC\uBCF4\uAE30"}),t.jsx("button",{className:"debug-button",onClick:p,children:"Order \uACB0\uACFC\uBCF4\uAE30"})]}),a&&o?n?.({score:o.score,contextsLength:o.contextsLength,results:o.results,onReplay:c,onClose:c}):null]}):null}exports.Accordion=y0,exports.ActionCard=Jm,exports.Alert=jf,exports.AppHeader=N0,exports.AudioMeter=ar,exports.AudioPlayer=kr,exports.Avatar=Pf,exports.Badge=ct,exports.BarChart=yg,exports.BarChartControls=hi,exports.Board=Zf,exports.BottomNav=Is,exports.BrandIdentity=Hs,exports.Breadcrumb=Of,exports.BulkBar=ig,exports.Button=te,exports.CORE_VERSION=Gm,exports.Calendar=$g,exports.CardStep=wl,exports.ChartLegend=er,exports.ChartSection=tr,exports.ChartTotal=ua,exports.Checkbox=li,exports.ChoiceChips=R4,exports.CircleBadge=Nf,exports.CodeBox=sg,exports.ColorPicker=qf,exports.CompanyMeta=tg,exports.ConfirmPopup=Ob,exports.ConfirmStep=vl,exports.ConfirmWithTextStep=xl,exports.ContrastFilterPanel=Ib,exports.CoreScope=Qm,exports.CountTile=Uf,exports.CouponInputPopup=Hb,exports.DatePicker=dg,exports.DebugResultLauncher=m5,exports.DescriptionTooltip=gn,exports.DeviceSideTable=Tg,exports.Dialog=Kf,exports.Divider=Bf,exports.Dropdown=It,exports.EffectPartyPopper=Dl,exports.EffectPartyPopperHost=qb,exports.EmptyState=Ym,exports.ErrorState=Xm,exports.FILTER_ALL_VALUE=ln,exports.FileUpload=Ff,exports.FilterPanel=tn,exports.FilterSectionInfo=Zn,exports.Footer=P4,exports.Header=Vs,exports.Icon=Pe,exports.IconGridMenu=$4,exports.IconRenderer=Pe,exports.InfoTooltip=sn,exports.LandingBottomSticky=F4,exports.LandingHeader=I4,exports.ListPopup=Fb,exports.ListenStep=yl,exports.Loader=Yn,exports.MARKS=Si,exports.MARK_ICON=ji,exports.MARK_VARIANT=Ei,exports.MediaQueryOverrideContext=Ds,exports.MenuTooltip=la,exports.NoiseSettingsTooltip=hl,exports.NoticeBox=e0,exports.OrderListStep=_l,exports.PASS_CARD_BG_VARS=bn,exports.POS_LABEL=Li,exports.PROMO_BANNER_BG_COMPONENTS=Bs,exports.PROMO_BANNER_BG_OPTIONS=t0,exports.PROMO_BANNER_BG_VARS=qn,exports.Page=ga,exports.PageTitle=Ub,exports.Pagination=ca,exports.Panel=fa,exports.PanelGrid=cb,exports.PanelRow=dn,exports.PanelRowDevice=lb,exports.PassCard=ei,exports.PassCardBg=_f,exports.PassCardBgIHAB=wf,exports.PassCardBgLeftColorGrid=kf,exports.PassCardBgTwoCircle=Ys,exports.PaymentPlan=xf,exports.PersonCard=Yf,exports.PhonemeFilterPanel=Pb,exports.PhonemeSelectBlock=$b,exports.Popup=un,exports.ProgressBar=Ng,exports.ProgressIndicator=vi,exports.PromoBanner=f0,exports.PromoBannerBgDark=ps,exports.PromoBannerBgDeep=ss,exports.PromoBannerBgDiagonal=fs,exports.PromoBannerBgDots=bs,exports.PromoBannerBgInstagram=Ns,exports.PromoBannerBgMain=es,exports.PromoBannerBgNaver=ks,exports.PromoBannerBgOutline=vs,exports.PromoBannerBgRadial=ms,exports.PromoBannerBgSoft=ns,exports.PromoBannerBgSoftSub=ls,exports.PromoBannerBgSub=rs,exports.PromoBannerBgSuccess=_s,exports.PromoBannerBgWarm=us,exports.PublicationCard=Jf,exports.Radio=ri,exports.RadioGroup=Sf,exports.Rating=Vf,exports.ReportDocument=Jb,exports.ReportInfoPanel=Qb,exports.RingChart=xg,exports.SENTENCE_TRAINING_TYPES=Cr,exports.SearchSummary=Mf,exports.Section=jn,exports.SectionHeader=eg,exports.SegmentedControl=vn,exports.ShortcutBadge=ai,exports.SideNav=Os,exports.Slider=gi,exports.SoundCompass=Af,exports.SplashLogo=Qf,exports.StatChart=_g,exports.SummaryStrip=Yb,exports.TRAINING_TOOLTIP_HOVER_DELAY_MS=Vb,exports.Table=or,exports.TableFilterPanel=dr,exports.Tabs=Lf,exports.TextBoxTooltip=Ca,exports.TextField=yn,exports.Timeline=Xf,exports.Toast=Dn,exports.Toggle=ii,exports.Toolbar=Qa,exports.Tooltip=on,exports.TooltipInfo=sn,exports.TooltipTextBox=Ca,exports.TopBanner=g0,exports.TrainingBlock=Og,exports.TrainingBlockButton=sr,exports.TrainingCard=t5,exports.TrainingCardGroup=n5,exports.TrainingPagePopup=pn,exports.TrainingPagePopupBottom=ml,exports.TrainingPagePopupTitle=Cl,exports.TrainingResultPopup=Al,exports.TrainingStep=xn,exports.TrainingStepAudioPlayer=kr,exports.TrainingStepBullet=sl,exports.TrainingStepCard=cl,exports.TrainingStepConfirm=Nr,exports.TrainingStepConfirmWithText=Br,exports.TrainingStepListen=Sr,exports.TrainingStepOrderList=Dr,exports.TrainingStepTextBox=ll,exports.TrainingStepTitle=il,exports.TrainingTooltip=Wb,exports.TrainingWordCard=lr,exports.UpdateAlert=e5,exports.WORD_TABLE_PAPER=Tn,exports.WORD_TYPE_LABEL=$i,exports.WordDataProvider=Zb,exports.WordDataUpdatePopup=h5,exports.WordImageTooltip=Bl,exports.WordSearchFilterPanel=Rb,exports.WordSearchResultBlock=Mb,exports.WordTable=Mn,exports.WordTableBlock=s5,exports.WordTableButton=i5,exports.WordTablePopup=c4,exports.WordTableThumbnail=El,exports.buildMonthChartData=hg,exports.cellLabel=m4,exports.cellsForLabels=B4,exports.clearPassCardBgTheme=Qt,exports.clearPromoBannerBgTheme=vt,exports.closeTrainingPopup=mb,exports.companyTypeLabel=Gb,exports.createTrainingScenario=gb,exports.cx=be,exports.deriveNoiseContexts=wb,exports.derivePassCard=Gs,exports.draftValues=M4,exports.expandSlashLabel=ur,exports.formatDuration=S4,exports.getControlDateRange=vg,exports.getPayloadTimestamp=Tr,exports.getPromoBannerBgTheme=Jo,exports.getSelectedFromPayload=yb,exports.getSelectedText=vb,exports.getStepPayload=gl,exports.getSteppedPayload=xb,exports.injectPassCardBgTheme=Jt,exports.injectPromoBannerBgTheme=yt,exports.isSelectionCorrect=_b,exports.labelsForSave=h4,exports.markAfterClick=Di,exports.marksForSave=cr,exports.missesByType=w4,exports.nextFocus=v4,exports.nextMisses=_4,exports.pageStartIndexes=Ti,exports.passCardBgIhabTheme=ti,exports.passCardBgLeftColorGridTheme=ni,exports.passCardBgTwoCircleTheme=Zs,exports.printWordTable=Zg,exports.promoBannerBgDarkTheme=ds,exports.promoBannerBgDeepTheme=os,exports.promoBannerBgDiagonalTheme=Cs,exports.promoBannerBgDotsTheme=gs,exports.promoBannerBgInstagramTheme=As,exports.promoBannerBgMainTheme=Qo,exports.promoBannerBgNaverTheme=ws,exports.promoBannerBgOutlineTheme=ys,exports.promoBannerBgRadialTheme=hs,exports.promoBannerBgSoftSubTheme=is,exports.promoBannerBgSoftTheme=ts,exports.promoBannerBgSubTheme=as,exports.promoBannerBgSuccessTheme=xs,exports.promoBannerBgWarmTheme=cs,exports.recommendTables=A4,exports.regenerateUnpinned=T4,exports.removeItem=E4,exports.resolveTrainingItems=fb,exports.resolveTrainingPopupMeta=fl,exports.reviewCells=d4,exports.reviewSetPlan=k4,exports.reviewTableName=p4,exports.scoreKey=pa,exports.scoreSheetHeader=C4,exports.shouldConfirmDiscard=Kg,exports.splitTrainingVariants=Cb,exports.summarize=Gg,exports.summarizeMisses=x4,exports.tableTrends=y4,exports.toDraft=D4,exports.toTrainingText=bb,exports.togglePin=j4,exports.uncoveredLabels=N4,exports.useAnchoredMenu=Un,exports.useBarChartControl=pi,exports.useCalendarMonth=ci,exports.useComboboxSuggestions=oi,exports.useFitScale=Pi,exports.useSoundCompassExam=C0,exports.useToastLifecycle=yi,exports.useWordData=Kb,exports.useWordTableDisplaySettings=Xi,exports.useWordTablePrint=mr,exports.weakItems=b4;
|