@ihabdevteam/core 0.175.0 → 0.176.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.
@@ -844,7 +844,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
844
844
  \uC124\uCE58 \uBA85\uB839\uC5B4 (\uC2A4\uD1A0\uB9AC\uC9C0 SDK \uBBF8\uC124\uCE58 \uC2DC):
845
845
  npm install @supabase/supabase-js
846
846
  pnpm add @supabase/supabase-js
847
- `),this.name="StorageNotConfiguredError"}};function q0(e){W0(e)}function Fs(e,t){if(!e)return null;const a=ma();return a?.resolvePath?a.resolvePath(e,t):t?`${t}/${e}.mp3`:null}async function Os(e){if(!e)return null;const t=ma();if(!t)throw new Is("getSignedOrPublicUrl");try{return await t.resolveUrl(e)}catch{return null}}async function Hs(e){const t=ma();if(!t)throw new Is("downloadSound");return t.download(e)}function U0(){return ma()?.noiseBaseUrl??"/sounds/noise"}function Vs(){const e=Number(ma()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function G0(e){const t=AbortSignal.timeout;if(typeof t=="function")return t.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const zs="__ihab_core_tts_config__";function Br(){return globalThis[zs]?.urlResolver??null}function K0(){return globalThis[zs]?.fallbackUrlResolver??null}const Y0="__ihab_core_pronunciation_resolver__";function Z0(){return globalThis[Y0]??null}let Nn=null;const ha=new WeakMap,Nr=new WeakMap,Dr=new WeakMap;let Ws=!1;const qs=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function X0(){if(Ws||typeof document>"u")return;Ws=!0;const e=()=>{try{Nn&&Nn.state!=="running"&&Nn.resume()}catch{}};for(const t of["pointerdown","touchend","keydown"])document.addEventListener(t,e,{capture:!0,passive:!0})}function Us(){if(Nn)return Nn;try{const e=window.AudioContext||window.webkitAudioContext;return e?(Nn=new e,X0(),Nn):null}catch{return null}}function Sr(){try{Nn?.resume()}catch{}}function Er(e,t){const a=ha.get(t);if(a)return a;try{const r=e.createMediaElementSource(t),s=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,s.gain.value=qs(Nr.get(t)??t.volume),r.connect(s),s.connect(i),s.connect(e.destination);try{t.volume=1}catch{}const l={gain:s,analyser:i};return ha.set(t,l),l}catch{return null}}function Pa(e){if(!e)return Promise.resolve(null);const t=ha.get(e);if(t)return Promise.resolve(t.analyser);const a=Us();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Er(a,e)?.analyser??null);const r=Dr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Er(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Dr.delete(e)});return Dr.set(e,s),s}function J0(e){if(!e)return null;const t=ha.get(e);if(t)return t.analyser;const a=Us();return a?a.state==="running"?Er(a,e)?.analyser??null:(Pa(e),null):null}function Dn(e,t){const a=qs(t);Nr.set(e,a);const r=ha.get(e);if(r){try{e.volume!==1&&(e.volume=1)}catch{}const s=r.gain.gain;try{const i=r.gain.context.currentTime;s.cancelScheduledValues(i),s.setTargetAtTime(a,i,.01)}catch{try{s.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function Ia(e){return Nr.get(e)??e.volume}function Q0(e,t){e.getFloatTimeDomainData(t);let a=0;for(let r=0;r<t.length;r++){const s=t[r];a+=s*s}return Math.sqrt(a/t.length)}const e2="__ihab_core_image_config__";function Gn(){return globalThis[e2]??null}const Gs="word_image_existence_map_v1";let Pn=null;const Fa=new Map;function t2(){if(Pn)return Pn;try{const e=typeof localStorage<"u"?localStorage.getItem(Gs):null,t=e?JSON.parse(e):null;Pn=t&&typeof t=="object"&&!Array.isArray(t)?t:{}}catch{Pn={}}return Pn}let jr=null;function n2(){jr||(jr=setTimeout(()=>{jr=null;try{typeof localStorage<"u"&&Pn&&localStorage.setItem(Gs,JSON.stringify(Pn))}catch{}},200))}function a2(e,t){return`${e}_${t??1}`}async function Ks(e,t){const a=t2(),r=a2(e,t);if(r in a)return a[r];if(Fa.has(r))return Fa.get(r);const s=Gn();if(!s)return!1;const i=s(e,t);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:G0(8e3)}).then(c=>c.status>=500?null:c.ok,()=>null).then(c=>(Fa.delete(r),c===null?!1:(a[r]=c,n2(),c)));return Fa.set(r,l),l}const Ys=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Zs=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],r2=["","\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 fa(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function o2(e){const t=fa(e[0]||"");return t?Ys[t.cho]:""}function s2(e){if(!e)return()=>!0;e=e.normalize("NFC");const t=[...e],a=l=>Ys.includes(l),r=l=>Zs.includes(l),s=t.map(l=>a(l)?"cho":r(l)?"jung":fa(l)?"syl":"other"),i=t.map(l=>fa(l));if(s.includes("other")){const l=e.toLowerCase();return c=>c.normalize("NFC").toLowerCase().includes(l)}return l=>{const c=[...l.normalize("NFC")];for(let u=0;u+t.length<=c.length;u++){let d=!0;for(let p=0;p<t.length;p++){const m=c[u+p],f=s[p];if(f==="cho"){if(o2(m)!==t[p]){d=!1;break}}else if(f==="jung"){const b=fa(m);if(!b||Zs[b.jung]!==t[p]){d=!1;break}}else{const b=i[p];if(b&&b.jong===0){const C=fa(m);if(!C||C.cho!==b.cho||C.jung!==b.jung){d=!1;break}}else if(m!==t[p]){d=!1;break}}}if(d)return!0}return!1}}const i2={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(i2).map(([e,t])=>[t.join(""),r2[Number(e)]]));const l2="word_pair_index_v2",c2="word_pair_index_sig_v2";let Oa=null;function u2(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(l2),t=localStorage.getItem(c2);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function d2(){if(Oa)return Oa;const e=u2();return e?(Oa=e.index,e.sig,Oa):null}const p2={\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"}},Tr=/[ㄱ-ㅎ]/,m2=/[ㅏ-ㅣ]/;function Xs(e){e=e.normalize("NFC");for(let t=e.length-1;t>=0;t--){const a=e[t],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Tr.test(a)||m2.test(a))return a}return null}function h2(e){const t=Xs(e);if(!t)return"\uAC00";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Tr.test(t)?"\uC774":"\uAC00"}function f2(e){return`${e}${h2(e)}`}function C2(e){const t=Xs(e);if(!t)return"\uB97C";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Tr.test(t)?"\uC744":"\uB97C"}function g2(e){return`${e}${C2(e)}`}function b2(e,t,a){const r=e.slice(),[s]=r.splice(t,1);return r.splice(a,0,s),r}function Ca(e,t=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const s=Math.floor(t()*(r+1));[a[r],a[s]]=[a[s],a[r]]}return a}const y2=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",t=typeof kt?.t=="function"?kt.t("common.unknownError",{defaultValue:e}):void 0;return typeof t=="string"&&t?t:e};function Js(e,t){if(t===void 0&&(t=y2()),e instanceof Error)return e.message||t;if(typeof e=="string")return e||t;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 t}const v2="__ihab_core_word_pool__";function Qs(){return globalThis[v2]??null}const ei=globalThis;function ti(e,t){const a=r=>{};try{const r=t();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function x2(e){ti("time",()=>ei.__ihabTrainingTimeLogger?.(e))}function _2(e){ti("completion",()=>ei.__ihabTrainingCompletionLogger?.(e))}function Ht(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function w2(e){for(const t of["correct","isCorrect","heard","judgement"])if(typeof e[t]=="boolean")return e[t];return e.score===1?!0:e.score===0?!1:null}function k2(e){return Array.isArray(e)?e.map((t,a)=>{const r=t??{};return{index:a,itemId:Ht(r.contextCode)??Ht(r.itemId)??Ht(r.itemCode)??Ht(r.id),question:Ht(r.question)??Ht(r.q)??Ht(r.sentence)??Ht(r.text)??Ht(r.prompt)??Ht(r.word)??Ht(r.targetSyllable),answer:Ht(r.answer),selected:Ht(r.selectedText)??Ht(r.selected),correct:w2(r)}}):[]}const Mr=globalThis;async function A2(){try{return await Mr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ni(e){const t=a=>{};try{const a=Mr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(t)}catch(a){t(a)}}function Ha(e){try{Mr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function B2(e){if(typeof document<"u"){const t=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),t&&t!==document.activeElement&&typeof t.focus=="function"&&t.isConnected)try{t.focus({preventScroll:!0})}catch{}}}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}const N2=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function ai(e){let t;if(e instanceof Date)t=e;else if(typeof e=="string"){const a=e.trim(),r=N2.exec(a);t=new Date(r?`${r[1]}T${r[2]}:${r[3]??"00"}${r[4]?`.${r[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:a)}else t=new Date(e);return Number.isNaN(t.getTime())?null:t}function ga(){return $r(new Date)}function Lr(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:ga()}function Kn(){return S2(ga())}const D2=540*60*1e3;function ri(e,t,a){return new Date(Date.UTC(e,t,a)-D2)}function S2(e){const[t,a,r]=e.split("-").map(Number);return new Date(t,(a||1)-1,r||1)}function $r(e){if(e==null||e==="")return"";const t=ai(e);return t?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t):""}function oi(e,t){if(!e)return"";const a=ai(e);if(!a)return"";const r=a.getTime(),s=Math.max(0,Math.floor((Date.now()-r)/1e3)),i=Math.floor(s/60),l=Math.floor(i/60),c=Math.floor(l/24),u=Math.floor(c/7),d=Math.floor(c/30),p=Math.floor(c/365);return i<1?t("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?t("store.time.minutesAgo",{n:i}):l<24?t("store.time.hoursAgo",{n:l}):c<7?t("store.time.daysAgo",{n:c}):u<5?t("store.time.weeksAgo",{n:u}):c<365?t("store.time.monthsAgo",{n:Math.min(d,11)}):t("store.time.yearsAgo",{n:p})}function si(e,t={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=t;if(!e)return i;const l=$r(e instanceof Date?e:String(e));if(!l)return i;const[c,u,d]=l.split("-"),p=r?u:String(Number(u)),m=r?d:String(Number(d));return`${c}${a}${p}${a}${m}${s?".":""}`}function Yn(e){if(!e)return e;const t=e.trim();return/^[₩$]/.test(t)?t:/원\s*$/.test(t)?"\u20A9"+t.replace(/\s*원\s*$/,"").trim():t}function ii(e,t){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),s=Number(a[2]),i=a[1].padStart(2,"0");return s===0?t("date.timeH",{h:r,hh:i,mm:a[2]}):t("date.timeHM",{h:r,hh:i,m:s,mm:a[2]})}function Rr(e){return(e??0).toLocaleString("ko-KR")}const E2=[{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"}]}],j2=[{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 li(){return E2}function T2(){return j2}const M2=[],L2=[],$2=[],R2=[];function P2(){return{LISTEN_IN_NOISE:M2,SHORT_STORY:L2,LONG_STORY:$2,ORDERING_SENTENCE:R2}}const I2=[{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."}],ci={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function F2(e){return I2.map(t=>{const a=ci[t.key];return a?{...t,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:t})}let Va=null,ui=null,di=null;function O2(){const e=Qs();if(e&&e.entries.length>0){const t=d2();if(Va&&ui===e&&di===t)return Va;const a=new Set,r=[];for(const s of e.entries)!s.word||a.has(s.word)||(a.add(s.word),r.push({w:s.word,s:s.syllables,p:t?.[s.word]?[...t[s.word].cho??[],...t[s.word].jung??[],...t[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Va=r,ui=e,di=t,Va}return[]}new Proxy([],{get(e,t){const a=O2(),r=a[t];return typeof r=="function"?r.bind(a):r}});const H2="0.175.0";function V2(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const t=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(t)}function z2(e){if(typeof window>"u")return"";const t=(a,r)=>{typeof r.attrValue=="string"&&V2(r.attrValue)&&(r.keepAttr=!1)};kr.addHook("uponSanitizeAttribute",t);try{return kr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{kr.removeHook("uponSanitizeAttribute",t)}}function W2(e){const[t,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[c,u]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const d=e.split("/").pop();let p=e;d&&(e.startsWith("/")?p=Ar(e):/^(Logo|Symbol)/i.test(d)?p=Ar(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!t)return;let d=!1;async function p(){try{let m=await fetch(t);m.ok||(m=await fetch(t));const f=m.headers.get("content-type")||"";if(d)return;if(f.includes("svg")){s("mask");return}if(f.startsWith("image/")){s("img");return}const b=await fetch(t);if(!b.ok)throw new Error("not ok");const C=await b.text();if(d)return;if(/^\s*<svg[\s>]/i.test(C)){const y=z2(C);if(!y){s("none");return}l(y),s("inline");return}s("none")}catch{d||s("none")}}return p(),()=>{d=!0}},[t]),o.useEffect(()=>{let d=!1,p=null;return r==="mask"&&t&&fetch(t).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{d||(p=URL.createObjectURL(m),u(p))}).catch(()=>{d||s("img")}),()=>{d=!0,p&&URL.revokeObjectURL(p),u(null)}},[r,t]),{iconToUse:t,mode:r,svgText:i,blobUrl:c}}function qe(e){const{icon:t,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:c,size:u}=e||{},d=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",f=l??"iconRenderer-icon-svg",b=typeof t=="string"?t:null,C=s0(b),{iconToUse:y,mode:_,svgText:h,blobUrl:v}=W2(b),x=(N,A={})=>n.jsx("span",{className:d,style:c,...A,children:N}),g=typeof u=="number"?{width:u,height:u,objectFit:"contain"}:null,k=(N,A={})=>n.jsx("img",{src:N,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...A,style:g?{...A.style,...g}:A.style});if(!t)return null;if(typeof t!="string")return x(t);if(t==="none")return x(n.jsx("span",{className:f,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(C)try{return x(o.createElement(C,{className:f,size:typeof u=="number"?u:20}),{"aria-hidden":"true"})}catch{}if(y&&y.endsWith(".svg")){if(_==="mask"){const N={"--icon-url":v?`url(${v})`:`url(${y})`,...typeof u=="number"?{"--icon-size":`${u}px`}:null};return x(n.jsx("span",{className:m,style:N}),{"aria-hidden":"true"})}return _==="img"?x(k(y,{onError:N=>{N.currentTarget.onerror=null,N.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?x(n.jsx("span",{className:f,dangerouslySetInnerHTML:h?{__html:h}:void 0}),{"aria-hidden":"true"}):x(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return k(Ar(t),{style:c,onError:N=>{N.currentTarget.onerror=null,N.currentTarget.style.display="none"}});const w=typeof u=="number"?u:20,B=`<svg width="${w}" height="${w}" 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 x(n.jsx("span",{className:f,dangerouslySetInnerHTML:{__html:B}}),{"aria-hidden":"true"})}function pi(e){const[t,a]=o.useState(!1),r=o.useRef(!1),s=o.useRef(!0);o.useEffect(()=>(s.current=!0,()=>{s.current=!1}),[]);const i=o.useCallback(()=>{if(!e||r.current)return;const l=e();if(l&&typeof l.then=="function"){r.current=!0,a(!0);const c=()=>{r.current=!1,s.current&&a(!1)};l.then(c,c)}},[e]);return{pending:t,press:i}}function q2({icon:e,emoji:t,title:a,message:r,hint:s,action:i,compact:l,className:c}){const{pending:u,press:d}=pi(i?.onClick);return n.jsxs("div",{className:De("empty-state",l&&"empty-state--compact",c),children:[t&&n.jsx("span",{className:"empty-state__emoji",children:t}),e&&n.jsx(qe,{icon:e,className:"empty-state__icon"}),a&&n.jsx("p",{className:"empty-state__title body-2",children:a}),r&&n.jsx("p",{className:"empty-state__message body-3",children:r}),s&&n.jsx("p",{className:"empty-state__hint caption-1",children:s}),i&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:d,disabled:u,"aria-busy":u||void 0,children:[i.icon&&n.jsx(qe,{icon:i.icon,className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:i.label})]})]})}function U2({message:e,hint:t,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=be.useTranslation(),{pending:c,press:u}=pi(r);return n.jsxs("div",{className:De("empty-state","error-state",i),role:"alert",children:[n.jsx(qe,{icon:a,className:"empty-state__icon error-state__icon"}),n.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),t&&n.jsx("p",{className:"empty-state__hint caption-1",children:t}),r&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:u,disabled:c,"aria-busy":c||void 0,children:[n.jsx(qe,{icon:"rotate-cw",className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:s??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function G2({icon:e,title:t,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:c=""}){const u=o.useId(),d=`${u}-title`,p=`${u}-desc`,m=`${u}-cta`,f=()=>{i||l?.()};return n.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":d,"aria-describedby":`${p} ${m}`,onClick:f,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),f())},className:De("action-card",`action-card--${s}`,i&&"action-card--disabled",c),children:n.jsxs("div",{className:"action-card__body",children:[n.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:n.jsx(qe,{icon:e,size:34})}),n.jsxs("div",{className:"action-card__text",children:[n.jsx("h2",{id:d,className:"action-card__title",children:t}),n.jsx("p",{id:p,className:"action-card__desc",children:a})]}),n.jsxs("div",{className:"action-card__cta",children:[n.jsx("span",{id:m,children:r}),n.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:n.jsx(qe,{icon:"arrow-right",size:18})})]})]})})}function K2({as:e="div",className:t="",children:a,storage:r,...s}){r&&q0({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,noiseFileGain:r.noiseFileGain});const i=De("ihabdevteam-core-scope",t);return n.jsx(e,{className:i,...s,children:a})}function Pr(e,t=!0){o.useEffect(()=>{if(!t)return;const a=e.current;if(!a)return;const r=s=>{if(s.key!=="Tab")return;const i=Array.from(a.querySelectorAll(Cn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],c=i[i.length-1],u=document.activeElement,d=u===a;s.shiftKey&&(u===l||d)?(s.preventDefault(),c.focus()):!s.shiftKey&&u===c&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,t])}const Cn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Ir=new WeakMap;function Fr(e,t){e&&Ir.set(e,t)}function Or(e){let t=e;for(let a=0;t&&!t.isConnected&&a<10;a++){let r=t;for(;r&&!Ir.has(r);)r=r.parentElement;if(!r)return t;t=Ir.get(r)??null}return t}function mi(e){return!(!e||!e.isConnected||e===document.body||typeof e.focus!="function"||e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e.closest('[inert],[aria-hidden="true"],[hidden]'))}function za(e,t,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(mi(t)&&!(e&&e.contains(t)))return t.focus(),t;if(!r)return null;const s=Array.from(document.querySelectorAll(Cn)).filter(u=>!(e&&e.contains(u))&&mi(u));let i=null,l=null;for(const u of s)r.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_PRECEDING?i=u:l||(l=u);const c=i??l;return c?.focus(),c}function Y2({title:e="",lines:t=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:c}=be.useTranslation(),[u,d]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const y=p.current;y&&y.contains(document.activeElement)&&za(y),d(!0)},[]);if(u)return null;const f=`notice-box notice-box--${s} body-2 ${l}`.trim(),b=i&&n.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:m,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return n.jsxs("div",{className:f,role:"note",children:[a.map((y,_)=>n.jsxs("div",{className:"notice-box__inner",children:[y.title?n.jsx("span",{className:"notice-box__title body-3",children:y.title}):null,n.jsx("div",{className:"notice-box__body",children:y.lines&&y.lines.length?n.jsx("div",{children:y.lines.map((h,v)=>n.jsx("span",{className:"notice-box__line body-3",children:h},v))}):y.children??null})]},_)),b]});const C=e||t.length?n.jsxs("div",{className:"notice-box__inner",children:[e?n.jsx("span",{className:"notice-box__title body-1",children:e}):null,n.jsx("div",{className:"notice-box__body",children:t.length?n.jsx("ul",{children:t.map((y,_)=>n.jsx("li",{className:"notice-box__line",children:y},_))}):r})]}):n.jsx("div",{className:"notice-box__inner",children:r});return n.jsxs("div",{ref:p,className:f,role:"note",children:[C,b]})}const Zn=[];let Wa=!1;function hi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=Zn[Zn.length-1];t&&(e.stopPropagation(),t())}function In(e){return Zn.push(e),!Wa&&typeof document<"u"&&(document.addEventListener("keydown",hi),Wa=!0),()=>{const t=Zn.lastIndexOf(e);t>=0&&Zn.splice(t,1),Zn.length===0&&Wa&&typeof document<"u"&&(document.removeEventListener("keydown",hi),Wa=!1)}}const fi=o.createContext(null);function Z2(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const Ci=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function X2(e){const t=o.useCallback(a=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const r=window.matchMedia(e);return r.addEventListener?r.addEventListener("change",a):r.addListener&&r.addListener(a),()=>{r.removeEventListener?r.removeEventListener("change",a):r.removeListener&&r.removeListener(a)}},[e]);return Yo.useSyncExternalStore(t,()=>Ci(e),()=>!1)}function J2(e){const[t,a]=o.useState(Ci(e));return o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e),s=l=>a(l.matches),i=r;return i.addEventListener?i.addEventListener("change",s):i.addListener&&i.addListener(s),a(r.matches),()=>{i.removeEventListener?i.removeEventListener("change",s):i.removeListener&&i.removeListener(s)}},[e]),t}const Q2=typeof Yo.useSyncExternalStore=="function"?X2:J2;function tn(e){const t=o.useContext(fi),a=Q2(e);return t&&typeof t.mobile=="boolean"&&Z2(e)?t.mobile:a}const ef="(prefers-reduced-motion: reduce)";function Hr(){return tn(ef)}function gn(e){const{anchorRect:t,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:c="",role:u="dialog",ariaLabel:d="",children:p,backdrop:m=!1,isMobilePopup:f=!1,useBorder:b=!0,header:C}=e||{},y=o.useRef(null),[_,h]=o.useState({position:"fixed",left:0,top:-9999}),[v,x]=o.useState(!1),[g,k]=o.useState("bottom"),[w,B]=o.useState(!1),[N,A]=o.useState(!1),D=!t&&!a,F=o.useCallback((K=!1)=>{if(N&&f)return;const G=a?a.getBoundingClientRect():t;if(!G||!y.current)return;const J=y.current,{offsetWidth:O,offsetHeight:I}=J,S=window.innerWidth,H=window.innerHeight,P=S-G.right,M=G.left,L=G.top,X=H-G.bottom;let W=0,ae=0,ue="top";if(L>=I+r)ue="top",ae=G.top-r-I,W=G.left+G.width/2-O/2;else if(X>=I+r)ue="bottom",ae=G.bottom+r,W=G.left+G.width/2-O/2;else if(P>=O+r)ue="right",W=G.right+r,ae=G.top+G.height/2-I/2;else if(M>=O+r)ue="left",W=G.left-r-O,ae=G.top+G.height/2-I/2;else{const q=Math.max(L,X,P,M);q===L?(ue="top",ae=G.top-r-I,W=G.left+G.width/2-O/2):q===X?(ue="bottom",ae=G.bottom+r,W=G.left+G.width/2-O/2):q===P?(ue="right",W=G.right+r,ae=G.top+G.height/2-I/2):(ue="left",W=G.left-r-O,ae=G.top+G.height/2-I/2)}const Se=Number.isFinite(Number(s))?Number(s):8;W=Math.min(Math.max(W,Se),S-O-Se),ae=Math.min(Math.max(ae,Se),H-I-Se);const pe=Math.round(W),re=Math.round(ae);K&&y.current?(y.current.style.left=`${pe}px`,y.current.style.top=`${re}px`,y.current.dataset.placement=ue):(k(ue||g),h({position:"fixed",left:pe,top:re}),B(!0))},[N,f,a,t,r,s,g]);o.useLayoutEffect(()=>{if(D)return;if(N&&f){h({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),B(!0);return}F();const K=requestAnimationFrame(()=>F());return()=>cancelAnimationFrame(K)},[t,a,r,p,s,D,N,f,F]),o.useEffect(()=>{if(D||N&&f||!y.current||typeof ResizeObserver>"u")return;const K=new ResizeObserver(()=>{t&&F()});return K.observe(y.current),()=>K.disconnect()},[t,p,s,D,N,f,F]),o.useEffect(()=>{if(D||N&&f)return;const K=()=>F(!0),G=J=>{if(!a&&i){const O=J.target;if(O&&y.current&&y.current.contains(O))return;try{if(O&&O.closest&&O.closest("[data-tooltip-ignore]"))return}catch{}T.current(!0);return}K()};return window.addEventListener("resize",K),document.addEventListener("scroll",G,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",K),document.removeEventListener("scroll",G,{capture:!0})}},[t,a,i,r,p,s,D,N,f,F]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const K=window.matchMedia("(max-width: 768px)"),G=()=>A(!!K.matches);G();try{K.addEventListener?K.addEventListener("change",G):K.addListener(G)}catch{try{K.addListener(G)}catch{}}return()=>{try{K.removeEventListener?K.removeEventListener("change",G):K.removeListener(G)}catch{}}},[]);const $=o.useRef(!1),R=o.useRef(null),U=Hr(),E=o.useCallback((K=!1)=>{if(i&&!(v||$.current)){if($.current=!0,K){x(!0);try{i&&i()}catch{$.current=!1,x(!1)}return}x(!0),R.current=setTimeout(()=>{R.current=null;try{i&&i()}catch{$.current=!1,x(!1)}},U?0:200)}},[v,i,x,U]);o.useEffect(()=>()=>{R.current&&clearTimeout(R.current)},[]),o.useEffect(()=>{if(D)return;const K=O=>{const I=y.current;if(!I)return;const S=O.target;if(S&&!I.contains(S)){try{if(S.closest&&S.closest("[data-tooltip-ignore]"))return}catch{}l&&E(!0)}},G=O=>{const I=y.current;if(!I)return;const S=O.target;if(S&&!I.contains(S)){try{if(S.closest&&S.closest("[data-tooltip-ignore]"))return}catch{}l&&E(!0)}},J=O=>{if(O.key==="Tab"){const I=y.current;if(!I)return;const S=I.querySelectorAll(Cn);if(!S||S.length===0)return;const H=S[0],P=S[S.length-1],M=document.activeElement;O.shiftKey?M===H&&(O.preventDefault(),P.focus()):M===P&&(O.preventDefault(),H.focus())}};return document.addEventListener("pointerdown",K,!0),document.addEventListener("click",G,!0),document.addEventListener("keydown",J),()=>{document.removeEventListener("pointerdown",K,!0),document.removeEventListener("click",G,!0),document.removeEventListener("keydown",J)}},[i,l,E,D]);const T=o.useRef(E);o.useEffect(()=>{T.current=E});const V=!!i;o.useEffect(()=>{if(!(D||!V))return In(()=>T.current())},[D,V]),o.useEffect(()=>{const K=()=>{E(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",K),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",K)}},[E]);const Y=n.jsxs("div",{ref:y,className:`tooltip-content ${D?"tooltip-content--inline":""} ${b?"tooltip-content--bordered":""} ${v?"is-closing":""} ${c} ${N&&f?"is-mobile":""}`,role:u,"aria-label":d||void 0,style:D?{}:{..._,visibility:w?"visible":"hidden"},tabIndex:-1,"data-placement":g,"data-left":D?"":_.left,"data-top":D?"":_.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[C!=null&&n.jsx("div",{className:"tooltip-content__header h5",children:C}),p]});if(D||typeof document>"u")return Y;if(m||N&&f){const K=n.jsxs("div",{className:"tooltip-portal",children:[n.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&E(!0)}}),Y]});return qt.createPortal(K,document.body)}return qt.createPortal(Y,document.body)}function bn(e){const{anchorRect:t,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?n.jsx(gn,{anchorRect:t,offset:r,onClose:s,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:n.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function Fn(e){const{t}=be.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:c,offset:u=12,closeOnOutsideClick:d=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:n.jsx(gn,{anchorRect:a,offset:u,onClose:c,closeOnOutsideClick:d,useBorder:!1,className:"tooltip-description",ariaLabel:r||t("tooltip.description","\uC124\uBA85"),children:n.jsxs("div",{className:"tooltip-description__box",children:[r&&n.jsx("span",{className:"tooltip-description__title body-2",children:r}),n.jsx("ol",{className:"tooltip-description__items",children:p.map((m,f)=>n.jsxs("li",{className:`tooltip-description__item body-3${f===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&n.jsxs("span",{className:"tooltip-description__index button-1",children:[f+1,"."]}),m.color&&n.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),n.jsx("span",{children:m.text})]},f))})]})})}function ba(e){const t=o.useRef(e);return o.useEffect(()=>{t.current=e}),t}let Vr=0,gi=!1;function bi(){gi||typeof document>"u"||(gi=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(Vr=Date.now())},!0),document.addEventListener("touchstart",()=>{Vr=Date.now()},{capture:!0,passive:!0}))}bi();function Xn(e){return!!e&&e.pointerType==="touch"}function Jn(e=1e3){return bi(),Date.now()-Vr<e}function zr(e,t,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=ba(e),l=ba(t),c=o.useRef(null),u=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const f=m,b=m.target,C=a.current,y=!!(b&&C&&C.contains(b));if(f.pointerType!=="touch"){y&&(c.current=null);return}if(y){c.current=i.current;return}c.current=null,i.current&&!(b&&b.closest?.(".tooltip-content"))&&l.current(!1,C)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const d=o.useCallback(p=>{const m=c.current;return m===null?!1:(c.current=null,u.current=Date.now(),l.current(!m,p??a.current),!0)},[a,l]);return o.useEffect(()=>{if(!r||!s)return;const p=a.current,m=p?.parentElement;if(!p||!m)return;let f=null;const b=_=>{const h=_.changedTouches?.[0];if(!h)return!1;const v=p.getBoundingClientRect();return h.clientX>=v.left&&h.clientX<=v.right&&h.clientY>=v.top&&h.clientY<=v.bottom},C=_=>{f=b(_)?i.current:null},y=_=>{const h=f;f=null,!(h===null||Date.now()-u.current<700||!b(_))&&(c.current=null,u.current=Date.now(),l.current(!h,p))};return m.addEventListener("touchstart",C,{passive:!0}),m.addEventListener("touchend",y),()=>{m.removeEventListener("touchstart",C),m.removeEventListener("touchend",y)}},[r,s,a,i,l]),{touchPress:d}}function tf(e,t){const{size:a=48,type:r,htmlType:s,href:i,target:l,rel:c,icon:u,rightIcon:d,label:p,count:m,subLabel:f,children:b,ariaLabel:C,variant:y="default",align:_="center",selected:h,toggleable:v=!1,ariaExpanded:x,ariaControls:g,disabled:k=!1,useLabel:w=!0,useBorder:B=!0,useBG:N=!0,useDisabledCovered:A=!1,useDisabledInvisible:D=!1,width:F,minWidth:$,onClick:R,onDisabledClick:U,showTooltipInfo:E=!1,tooltipInfoText:T=null,tooltipDescription:V=null,tooltipOnly:Y=!1,iconSize:K="medium",iconColor:G,shape:J="rounded",color:O,className:I,...S}=e,H=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),P=H.match(/^\d+$/)?`button${H}`:`button-${H}`,M=Number(a),L=!isNaN(M)&&M<40?"button-2":"button-1",X=p??b,W=k||!!S.disabled,ae=W?A?"disabled-covered":D?"disabled-invisibled":"disabled":y,ue=ae?`button--variant-${ae}`:"",Se=_?`button--align-${_}`:"",pe=J?`button--shape-${J}`:"",re=typeof G=="string"&&G.startsWith("--")?`var(${G})`:G,q={...F?{width:typeof F=="number"?`${F}px`:F}:{},...$?{minWidth:typeof $=="number"?`${$}px`:$}:{},...B?{}:{"--button-border":W?"0":"1px solid transparent"},...re?{"--button-icon-color":re}:{},...O?{"--color-main":O}:{}},se=w===!1?"":X,de=Array.isArray(se)?se.length>0:!!se,ve=!!d,ye=r??(de||u||ve?"bar":"dot"),Be=`${P}--${ye}`,he=o.useRef(null),ke=o.useRef(t);ke.current=t;const je=o.useCallback(Le=>{he.current=Le;const Ke=ke.current;typeof Ke=="function"?Ke(Le):Ke&&(Ke.current=Le)},[]),oe=o.useRef(W),[ee,fe]=o.useState(!!h),[te,ge]=o.useState(!1),[_e,Ye]=o.useState(null),He=o.useCallback(()=>ge(!1),[]),[Ue,Ee]=o.useState(!1),Ge=o.useId();o.useEffect(()=>{typeof h=="boolean"&&fe(h)},[h]),o.useEffect(()=>{if(oe.current&&!W&&he.current){const Le=he.current;let Ke=!1;try{Ke=Le.matches(":focus:not(:focus-visible)")}catch{Ke=!1}Ke&&Le.blur(),Le.style.pointerEvents="none";const St=requestAnimationFrame(()=>{requestAnimationFrame(()=>{he.current&&(he.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(St)}oe.current=W},[W]);const $e=typeof h=="boolean"?!!h:ee,Ie=typeof x=="boolean"?void 0:v||typeof h=="boolean"?$e?"true":"false":S["aria-pressed"],Ve=De("button",P,Be,ue,Se,pe,$e?"is-selected":null,N?null:"button--no-bg",Y?"button--tooltip-only":null,I),at=`button__icon button__icon--${K}`,ot=Array.isArray(f)?f:f!==void 0?[f]:[],We=()=>{if(Array.isArray(se))return se.map((Ke,St)=>{const xt=ot[St];return n.jsxs("span",{className:`button__label-text${xt!==void 0?" button__label-text--has-sub":""}`,children:[Ke,xt!==void 0&&n.jsx("span",{className:"button__sub-label-text caption-1",children:xt})]},St)});const Le=f!==void 0;return n.jsxs("span",{className:`button__label-text${Le?" button__label-text--has-sub":""}`,children:[se,m!=null&&n.jsx("span",{className:"button__count",children:m}),Le&&n.jsx("span",{className:"button__sub-label-text caption-1",children:f})]})},Xe=Le=>{typeof h!="boolean"&&!v&&fe(!1),Le.currentTarget.blur()},gt=Le=>{W||(typeof S.onMouseLeave=="function"&&S.onMouseLeave(Le),Xe(Le))},Bt=Le=>{if(Y&&Qe&&Ze.touchPress(Le.currentTarget),W){Qe&&Ze.touchPress(Le.currentTarget),Le.preventDefault(),U?.(Le);return}typeof h!="boolean"&&v&&fe(Ke=>!Ke),R?.(Le)},jt=o.useCallback(()=>{(E||V)&&(ge(!0),Ye(he.current?.getBoundingClientRect()??null))},[E,V]),dt=o.useCallback(()=>{(E||V)&&(ge(!1),Ye(null))},[E,V]),Qe=!!(E||V),Ze=zr(te,Le=>{Le?jt():dt()},he,{enabled:Qe&&(W||Y),fallbackOnParent:Qe&&W}),Oe={...S};delete Oe.disabled,delete Oe.className,delete Oe.faded,delete Oe.useFaded,delete Oe.loading,delete Oe.onMouseLeave,delete Oe.onPointerEnter,delete Oe.onPointerLeave,delete Oe.onPointerUp,delete Oe.onFocus,delete Oe.onBlur,W&&(Object.keys(Oe).forEach(Le=>{/^on[A-Z]/.test(Le)&&typeof Oe[Le]=="function"&&delete Oe[Le]}),Oe["aria-disabled"]="true");const rt=(typeof E=="string"?E:null)??(typeof T=="string"?T:null)??(typeof C=="string"?C:null)??(typeof X=="string"?X:null)??void 0,et=typeof C=="string"?C:typeof X=="string"?X:rt,yt=V?[V.title,...V.items??[]].filter(Boolean).join(". "):E&&rt&&rt!==et?rt:"",ze=[typeof S["aria-describedby"]=="string"?S["aria-describedby"]:void 0,yt?Ge:null].filter(Boolean).join(" ")||void 0,it=(Le,Ke)=>n.jsx(qe,{icon:Le,label:Ke??et,className:at,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),Nt=()=>ye==="dot"?n.jsxs(n.Fragment,{children:[it(u),de&&n.jsx("span",{className:`button__label ${L}`,children:We()})]}):_==="center"&&u?n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"button__center-group",children:[n.jsx("span",{className:"button__left",children:it(u)}),de&&n.jsx("span",{className:`button__label ${L}`,children:We()})]}),ve&&n.jsx("span",{className:"button__right",children:it(d)})]}):n.jsxs(n.Fragment,{children:[u&&n.jsx("span",{className:"button__left",children:it(u,C??X)}),de&&n.jsx("span",{className:`button__label ${L}`,children:We()}),ve&&n.jsx("span",{className:"button__right",children:it(d)})]}),Dt=!!i&&!W;return n.jsxs(n.Fragment,{children:[n.jsxs(Dt?"a":"button",{...Oe,ref:je,...Dt?{href:i,target:l,rel:c??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:W&&!U&&!Ue},className:Ve,"aria-pressed":Ie,"aria-expanded":typeof x=="boolean"?x:S["aria-expanded"],"aria-controls":g??S["aria-controls"],"aria-label":et,"aria-disabled":W&&(Dt||U||Ue)?!0:void 0,"aria-describedby":ze,style:q,onClick:Bt,onMouseLeave:gt,onPointerEnter:Le=>{Xn(Le)||jt(),!W&&typeof S.onPointerEnter=="function"&&S.onPointerEnter(Le)},onPointerLeave:Le=>{Xn(Le)||dt(),!W&&typeof S.onPointerLeave=="function"&&S.onPointerLeave(Le)},onPointerUp:Le=>{W&&Qe&&Ze.touchPress(Le.currentTarget),!W&&typeof S.onPointerUp=="function"&&S.onPointerUp(Le)},onFocus:Le=>{Ee(!0),Jn()||jt(),!W&&typeof S.onFocus=="function"&&S.onFocus(Le)},onBlur:Le=>{Ee(!1),W||Xe(Le),dt(),!W&&typeof S.onBlur=="function"&&S.onBlur(Le)},children:[Nt(),yt?n.jsx("span",{id:Ge,hidden:!0,"aria-label":yt}):null]}),te&&V?n.jsx(Fn,{anchorRect:_e,title:V.title,items:V.items,onClose:He}):te&&rt?n.jsx(bn,{anchorRect:_e,text:rt,onClose:He}):null]})}const le=o.forwardRef(tf);le.displayName="Button";var nf={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"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",networkError:"\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694."},af={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"},rf={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"}},of={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},sf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},lf={selected:"\uC120\uD0DD\uB428"},cf={placeholder:"\uC120\uD0DD"},uf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},df={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",menuClose:"\uBA54\uB274 \uB2EB\uAE30"},pf={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",badgeLabel:"{{label}}, {{count}}\uAC1C"},mf={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."}}},hf={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."}},ff={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},Cf={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},gf={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",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",selectInOrder:"\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",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.",ttsUnavailable:"\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\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:{pendingDone:"\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",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",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30",audioStatus:{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"}},bf={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"},yf={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"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},vf={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"}}}},xf={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"}},_f={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},wf={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"}},kf={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."}},Af={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Bf={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",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},Nf={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Df={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)",copyName:"{{name}} (\uBCF5\uC0AC)"},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:"{{name}} \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"},info:{grade:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808",pos:"\uD488\uC0AC: {{v}}",wordType:"\uC720\uD615: {{v}}"},pos:{noun:"\uBA85\uC0AC",verb:"\uB3D9\uC0AC",adjective:"\uD615\uC6A9\uC0AC",adverb:"\uBD80\uC0AC",numeral:"\uC218\uC0AC",determiner:"\uAD00\uD615\uC0AC",interjection:"\uAC10\uD0C4\uC0AC",particle:"\uC870\uC0AC",affix:"\uC811\uC0AC",dependentNoun:"\uC758\uC874\uBA85\uC0AC",pronoun:"\uB300\uBA85\uC0AC",auxVerb:"\uBCF4\uC870\uB3D9\uC0AC",auxAdjective:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},reorder:{moved:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40",handle:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)",hint:"Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"}},Sf={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",original:"\uBC1B\uC740 \uC21C\uC11C"},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"}},Ef={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},jf={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"}},Tf={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"}},Mf={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Lf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},$f={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",type:{hearingAid:"\uBCF4\uCCAD\uAE30",cochlearImplant:"\uC778\uACF5\uC640\uC6B0"}},Rf={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"}},Pf={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."]},If={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"}},Ff={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
847
+ `),this.name="StorageNotConfiguredError"}};function q0(e){W0(e)}function Fs(e,t){if(!e)return null;const a=ma();return a?.resolvePath?a.resolvePath(e,t):t?`${t}/${e}.mp3`:null}async function Os(e){if(!e)return null;const t=ma();if(!t)throw new Is("getSignedOrPublicUrl");try{return await t.resolveUrl(e)}catch{return null}}async function Hs(e){const t=ma();if(!t)throw new Is("downloadSound");return t.download(e)}function U0(){return ma()?.noiseBaseUrl??"/sounds/noise"}function Vs(){const e=Number(ma()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function G0(e){const t=AbortSignal.timeout;if(typeof t=="function")return t.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const zs="__ihab_core_tts_config__";function Br(){return globalThis[zs]?.urlResolver??null}function K0(){return globalThis[zs]?.fallbackUrlResolver??null}const Y0="__ihab_core_pronunciation_resolver__";function Z0(){return globalThis[Y0]??null}let Nn=null;const ha=new WeakMap,Nr=new WeakMap,Dr=new WeakMap;let Ws=!1;const qs=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function X0(){if(Ws||typeof document>"u")return;Ws=!0;const e=()=>{try{Nn&&Nn.state!=="running"&&Nn.resume()}catch{}};for(const t of["pointerdown","touchend","keydown"])document.addEventListener(t,e,{capture:!0,passive:!0})}function Us(){if(Nn)return Nn;try{const e=window.AudioContext||window.webkitAudioContext;return e?(Nn=new e,X0(),Nn):null}catch{return null}}function Sr(){try{Nn?.resume()}catch{}}function Er(e,t){const a=ha.get(t);if(a)return a;try{const r=e.createMediaElementSource(t),s=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,s.gain.value=qs(Nr.get(t)??t.volume),r.connect(s),s.connect(i),s.connect(e.destination);try{t.volume=1}catch{}const l={gain:s,analyser:i};return ha.set(t,l),l}catch{return null}}function Pa(e){if(!e)return Promise.resolve(null);const t=ha.get(e);if(t)return Promise.resolve(t.analyser);const a=Us();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Er(a,e)?.analyser??null);const r=Dr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Er(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Dr.delete(e)});return Dr.set(e,s),s}function J0(e){if(!e)return null;const t=ha.get(e);if(t)return t.analyser;const a=Us();return a?a.state==="running"?Er(a,e)?.analyser??null:(Pa(e),null):null}function Dn(e,t){const a=qs(t);Nr.set(e,a);const r=ha.get(e);if(r){try{e.volume!==1&&(e.volume=1)}catch{}const s=r.gain.gain;try{const i=r.gain.context.currentTime;s.cancelScheduledValues(i),s.setTargetAtTime(a,i,.01)}catch{try{s.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function Ia(e){return Nr.get(e)??e.volume}function Q0(e,t){e.getFloatTimeDomainData(t);let a=0;for(let r=0;r<t.length;r++){const s=t[r];a+=s*s}return Math.sqrt(a/t.length)}const e2="__ihab_core_image_config__";function Gn(){return globalThis[e2]??null}const Gs="word_image_existence_map_v1";let Pn=null;const Fa=new Map;function t2(){if(Pn)return Pn;try{const e=typeof localStorage<"u"?localStorage.getItem(Gs):null,t=e?JSON.parse(e):null;Pn=t&&typeof t=="object"&&!Array.isArray(t)?t:{}}catch{Pn={}}return Pn}let jr=null;function n2(){jr||(jr=setTimeout(()=>{jr=null;try{typeof localStorage<"u"&&Pn&&localStorage.setItem(Gs,JSON.stringify(Pn))}catch{}},200))}function a2(e,t){return`${e}_${t??1}`}async function Ks(e,t){const a=t2(),r=a2(e,t);if(r in a)return a[r];if(Fa.has(r))return Fa.get(r);const s=Gn();if(!s)return!1;const i=s(e,t);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:G0(8e3)}).then(c=>c.status>=500?null:c.ok,()=>null).then(c=>(Fa.delete(r),c===null?!1:(a[r]=c,n2(),c)));return Fa.set(r,l),l}const Ys=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Zs=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],r2=["","\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 fa(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function o2(e){const t=fa(e[0]||"");return t?Ys[t.cho]:""}function s2(e){if(!e)return()=>!0;e=e.normalize("NFC");const t=[...e],a=l=>Ys.includes(l),r=l=>Zs.includes(l),s=t.map(l=>a(l)?"cho":r(l)?"jung":fa(l)?"syl":"other"),i=t.map(l=>fa(l));if(s.includes("other")){const l=e.toLowerCase();return c=>c.normalize("NFC").toLowerCase().includes(l)}return l=>{const c=[...l.normalize("NFC")];for(let u=0;u+t.length<=c.length;u++){let d=!0;for(let p=0;p<t.length;p++){const m=c[u+p],f=s[p];if(f==="cho"){if(o2(m)!==t[p]){d=!1;break}}else if(f==="jung"){const b=fa(m);if(!b||Zs[b.jung]!==t[p]){d=!1;break}}else{const b=i[p];if(b&&b.jong===0){const C=fa(m);if(!C||C.cho!==b.cho||C.jung!==b.jung){d=!1;break}}else if(m!==t[p]){d=!1;break}}}if(d)return!0}return!1}}const i2={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(i2).map(([e,t])=>[t.join(""),r2[Number(e)]]));const l2="word_pair_index_v2",c2="word_pair_index_sig_v2";let Oa=null;function u2(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(l2),t=localStorage.getItem(c2);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function d2(){if(Oa)return Oa;const e=u2();return e?(Oa=e.index,e.sig,Oa):null}const p2={\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"}},Tr=/[ㄱ-ㅎ]/,m2=/[ㅏ-ㅣ]/;function Xs(e){e=e.normalize("NFC");for(let t=e.length-1;t>=0;t--){const a=e[t],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Tr.test(a)||m2.test(a))return a}return null}function h2(e){const t=Xs(e);if(!t)return"\uAC00";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Tr.test(t)?"\uC774":"\uAC00"}function f2(e){return`${e}${h2(e)}`}function C2(e){const t=Xs(e);if(!t)return"\uB97C";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Tr.test(t)?"\uC744":"\uB97C"}function g2(e){return`${e}${C2(e)}`}function b2(e,t,a){const r=e.slice(),[s]=r.splice(t,1);return r.splice(a,0,s),r}function Ca(e,t=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const s=Math.floor(t()*(r+1));[a[r],a[s]]=[a[s],a[r]]}return a}const y2=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",t=typeof kt?.t=="function"?kt.t("common.unknownError",{defaultValue:e}):void 0;return typeof t=="string"&&t?t:e};function Js(e,t){if(t===void 0&&(t=y2()),e instanceof Error)return e.message||t;if(typeof e=="string")return e||t;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 t}const v2="__ihab_core_word_pool__";function Qs(){return globalThis[v2]??null}const ei=globalThis;function ti(e,t){const a=r=>{};try{const r=t();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function x2(e){ti("time",()=>ei.__ihabTrainingTimeLogger?.(e))}function _2(e){ti("completion",()=>ei.__ihabTrainingCompletionLogger?.(e))}function Ht(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function w2(e){for(const t of["correct","isCorrect","heard","judgement"])if(typeof e[t]=="boolean")return e[t];return e.score===1?!0:e.score===0?!1:null}function k2(e){return Array.isArray(e)?e.map((t,a)=>{const r=t??{};return{index:a,itemId:Ht(r.contextCode)??Ht(r.itemId)??Ht(r.itemCode)??Ht(r.id),question:Ht(r.question)??Ht(r.q)??Ht(r.sentence)??Ht(r.text)??Ht(r.prompt)??Ht(r.word)??Ht(r.targetSyllable),answer:Ht(r.answer),selected:Ht(r.selectedText)??Ht(r.selected),correct:w2(r)}}):[]}const Mr=globalThis;async function A2(){try{return await Mr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ni(e){const t=a=>{};try{const a=Mr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(t)}catch(a){t(a)}}function Ha(e){try{Mr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function B2(e){if(typeof document<"u"){const t=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),t&&t!==document.activeElement&&typeof t.focus=="function"&&t.isConnected)try{t.focus({preventScroll:!0})}catch{}}}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}const N2=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function ai(e){let t;if(e instanceof Date)t=e;else if(typeof e=="string"){const a=e.trim(),r=N2.exec(a);t=new Date(r?`${r[1]}T${r[2]}:${r[3]??"00"}${r[4]?`.${r[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:a)}else t=new Date(e);return Number.isNaN(t.getTime())?null:t}function ga(){return $r(new Date)}function Lr(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:ga()}function Kn(){return S2(ga())}const D2=540*60*1e3;function ri(e,t,a){return new Date(Date.UTC(e,t,a)-D2)}function S2(e){const[t,a,r]=e.split("-").map(Number);return new Date(t,(a||1)-1,r||1)}function $r(e){if(e==null||e==="")return"";const t=ai(e);return t?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t):""}function oi(e,t){if(!e)return"";const a=ai(e);if(!a)return"";const r=a.getTime(),s=Math.max(0,Math.floor((Date.now()-r)/1e3)),i=Math.floor(s/60),l=Math.floor(i/60),c=Math.floor(l/24),u=Math.floor(c/7),d=Math.floor(c/30),p=Math.floor(c/365);return i<1?t("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?t("store.time.minutesAgo",{n:i}):l<24?t("store.time.hoursAgo",{n:l}):c<7?t("store.time.daysAgo",{n:c}):u<5?t("store.time.weeksAgo",{n:u}):c<365?t("store.time.monthsAgo",{n:Math.min(d,11)}):t("store.time.yearsAgo",{n:p})}function si(e,t={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=t;if(!e)return i;const l=$r(e instanceof Date?e:String(e));if(!l)return i;const[c,u,d]=l.split("-"),p=r?u:String(Number(u)),m=r?d:String(Number(d));return`${c}${a}${p}${a}${m}${s?".":""}`}function Yn(e){if(!e)return e;const t=e.trim();return/^[₩$]/.test(t)?t:/원\s*$/.test(t)?"\u20A9"+t.replace(/\s*원\s*$/,"").trim():t}function ii(e,t){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const r=Number(a[1]),s=Number(a[2]),i=a[1].padStart(2,"0");return s===0?t("date.timeH",{h:r,hh:i,mm:a[2]}):t("date.timeHM",{h:r,hh:i,m:s,mm:a[2]})}function Rr(e){return(e??0).toLocaleString("ko-KR")}const E2=[{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"}]}],j2=[{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 li(){return E2}function T2(){return j2}const M2=[],L2=[],$2=[],R2=[];function P2(){return{LISTEN_IN_NOISE:M2,SHORT_STORY:L2,LONG_STORY:$2,ORDERING_SENTENCE:R2}}const I2=[{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."}],ci={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function F2(e){return I2.map(t=>{const a=ci[t.key];return a?{...t,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:t})}let Va=null,ui=null,di=null;function O2(){const e=Qs();if(e&&e.entries.length>0){const t=d2();if(Va&&ui===e&&di===t)return Va;const a=new Set,r=[];for(const s of e.entries)!s.word||a.has(s.word)||(a.add(s.word),r.push({w:s.word,s:s.syllables,p:t?.[s.word]?[...t[s.word].cho??[],...t[s.word].jung??[],...t[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Va=r,ui=e,di=t,Va}return[]}new Proxy([],{get(e,t){const a=O2(),r=a[t];return typeof r=="function"?r.bind(a):r}});const H2="0.176.0";function V2(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const t=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(t)}function z2(e){if(typeof window>"u")return"";const t=(a,r)=>{typeof r.attrValue=="string"&&V2(r.attrValue)&&(r.keepAttr=!1)};kr.addHook("uponSanitizeAttribute",t);try{return kr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{kr.removeHook("uponSanitizeAttribute",t)}}function W2(e){const[t,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[c,u]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const d=e.split("/").pop();let p=e;d&&(e.startsWith("/")?p=Ar(e):/^(Logo|Symbol)/i.test(d)?p=Ar(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!t)return;let d=!1;async function p(){try{let m=await fetch(t);m.ok||(m=await fetch(t));const f=m.headers.get("content-type")||"";if(d)return;if(f.includes("svg")){s("mask");return}if(f.startsWith("image/")){s("img");return}const b=await fetch(t);if(!b.ok)throw new Error("not ok");const C=await b.text();if(d)return;if(/^\s*<svg[\s>]/i.test(C)){const y=z2(C);if(!y){s("none");return}l(y),s("inline");return}s("none")}catch{d||s("none")}}return p(),()=>{d=!0}},[t]),o.useEffect(()=>{let d=!1,p=null;return r==="mask"&&t&&fetch(t).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{d||(p=URL.createObjectURL(m),u(p))}).catch(()=>{d||s("img")}),()=>{d=!0,p&&URL.revokeObjectURL(p),u(null)}},[r,t]),{iconToUse:t,mode:r,svgText:i,blobUrl:c}}function qe(e){const{icon:t,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:c,size:u}=e||{},d=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",f=l??"iconRenderer-icon-svg",b=typeof t=="string"?t:null,C=s0(b),{iconToUse:y,mode:_,svgText:h,blobUrl:v}=W2(b),x=(N,A={})=>n.jsx("span",{className:d,style:c,...A,children:N}),g=typeof u=="number"?{width:u,height:u,objectFit:"contain"}:null,k=(N,A={})=>n.jsx("img",{src:N,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...A,style:g?{...A.style,...g}:A.style});if(!t)return null;if(typeof t!="string")return x(t);if(t==="none")return x(n.jsx("span",{className:f,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(C)try{return x(o.createElement(C,{className:f,size:typeof u=="number"?u:20}),{"aria-hidden":"true"})}catch{}if(y&&y.endsWith(".svg")){if(_==="mask"){const N={"--icon-url":v?`url(${v})`:`url(${y})`,...typeof u=="number"?{"--icon-size":`${u}px`}:null};return x(n.jsx("span",{className:m,style:N}),{"aria-hidden":"true"})}return _==="img"?x(k(y,{onError:N=>{N.currentTarget.onerror=null,N.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?x(n.jsx("span",{className:f,dangerouslySetInnerHTML:h?{__html:h}:void 0}),{"aria-hidden":"true"}):x(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return k(Ar(t),{style:c,onError:N=>{N.currentTarget.onerror=null,N.currentTarget.style.display="none"}});const w=typeof u=="number"?u:20,B=`<svg width="${w}" height="${w}" 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 x(n.jsx("span",{className:f,dangerouslySetInnerHTML:{__html:B}}),{"aria-hidden":"true"})}function pi(e){const[t,a]=o.useState(!1),r=o.useRef(!1),s=o.useRef(!0);o.useEffect(()=>(s.current=!0,()=>{s.current=!1}),[]);const i=o.useCallback(()=>{if(!e||r.current)return;const l=e();if(l&&typeof l.then=="function"){r.current=!0,a(!0);const c=()=>{r.current=!1,s.current&&a(!1)};l.then(c,c)}},[e]);return{pending:t,press:i}}function q2({icon:e,emoji:t,title:a,message:r,hint:s,action:i,compact:l,className:c}){const{pending:u,press:d}=pi(i?.onClick);return n.jsxs("div",{className:De("empty-state",l&&"empty-state--compact",c),children:[t&&n.jsx("span",{className:"empty-state__emoji",children:t}),e&&n.jsx(qe,{icon:e,className:"empty-state__icon"}),a&&n.jsx("p",{className:"empty-state__title body-2",children:a}),r&&n.jsx("p",{className:"empty-state__message body-3",children:r}),s&&n.jsx("p",{className:"empty-state__hint caption-1",children:s}),i&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:d,disabled:u,"aria-busy":u||void 0,children:[i.icon&&n.jsx(qe,{icon:i.icon,className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:i.label})]})]})}function U2({message:e,hint:t,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=be.useTranslation(),{pending:c,press:u}=pi(r);return n.jsxs("div",{className:De("empty-state","error-state",i),role:"alert",children:[n.jsx(qe,{icon:a,className:"empty-state__icon error-state__icon"}),n.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),t&&n.jsx("p",{className:"empty-state__hint caption-1",children:t}),r&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:u,disabled:c,"aria-busy":c||void 0,children:[n.jsx(qe,{icon:"rotate-cw",className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:s??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function G2({icon:e,title:t,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:c=""}){const u=o.useId(),d=`${u}-title`,p=`${u}-desc`,m=`${u}-cta`,f=()=>{i||l?.()};return n.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":d,"aria-describedby":`${p} ${m}`,onClick:f,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),f())},className:De("action-card",`action-card--${s}`,i&&"action-card--disabled",c),children:n.jsxs("div",{className:"action-card__body",children:[n.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:n.jsx(qe,{icon:e,size:34})}),n.jsxs("div",{className:"action-card__text",children:[n.jsx("h2",{id:d,className:"action-card__title",children:t}),n.jsx("p",{id:p,className:"action-card__desc",children:a})]}),n.jsxs("div",{className:"action-card__cta",children:[n.jsx("span",{id:m,children:r}),n.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:n.jsx(qe,{icon:"arrow-right",size:18})})]})]})})}function K2({as:e="div",className:t="",children:a,storage:r,...s}){r&&q0({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,noiseFileGain:r.noiseFileGain});const i=De("ihabdevteam-core-scope",t);return n.jsx(e,{className:i,...s,children:a})}function Pr(e,t=!0){o.useEffect(()=>{if(!t)return;const a=e.current;if(!a)return;const r=s=>{if(s.key!=="Tab")return;const i=Array.from(a.querySelectorAll(Cn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],c=i[i.length-1],u=document.activeElement,d=u===a;s.shiftKey&&(u===l||d)?(s.preventDefault(),c.focus()):!s.shiftKey&&u===c&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,t])}const Cn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Ir=new WeakMap;function Fr(e,t){e&&Ir.set(e,t)}function Or(e){let t=e;for(let a=0;t&&!t.isConnected&&a<10;a++){let r=t;for(;r&&!Ir.has(r);)r=r.parentElement;if(!r)return t;t=Ir.get(r)??null}return t}function mi(e){return!(!e||!e.isConnected||e===document.body||typeof e.focus!="function"||e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e.closest('[inert],[aria-hidden="true"],[hidden]'))}function za(e,t,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(mi(t)&&!(e&&e.contains(t)))return t.focus(),t;if(!r)return null;const s=Array.from(document.querySelectorAll(Cn)).filter(u=>!(e&&e.contains(u))&&mi(u));let i=null,l=null;for(const u of s)r.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_PRECEDING?i=u:l||(l=u);const c=i??l;return c?.focus(),c}function Y2({title:e="",lines:t=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:c}=be.useTranslation(),[u,d]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const y=p.current;y&&y.contains(document.activeElement)&&za(y),d(!0)},[]);if(u)return null;const f=`notice-box notice-box--${s} body-2 ${l}`.trim(),b=i&&n.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:m,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return n.jsxs("div",{className:f,role:"note",children:[a.map((y,_)=>n.jsxs("div",{className:"notice-box__inner",children:[y.title?n.jsx("span",{className:"notice-box__title body-3",children:y.title}):null,n.jsx("div",{className:"notice-box__body",children:y.lines&&y.lines.length?n.jsx("div",{children:y.lines.map((h,v)=>n.jsx("span",{className:"notice-box__line body-3",children:h},v))}):y.children??null})]},_)),b]});const C=e||t.length?n.jsxs("div",{className:"notice-box__inner",children:[e?n.jsx("span",{className:"notice-box__title body-1",children:e}):null,n.jsx("div",{className:"notice-box__body",children:t.length?n.jsx("ul",{children:t.map((y,_)=>n.jsx("li",{className:"notice-box__line",children:y},_))}):r})]}):n.jsx("div",{className:"notice-box__inner",children:r});return n.jsxs("div",{ref:p,className:f,role:"note",children:[C,b]})}const Zn=[];let Wa=!1;function hi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=Zn[Zn.length-1];t&&(e.stopPropagation(),t())}function In(e){return Zn.push(e),!Wa&&typeof document<"u"&&(document.addEventListener("keydown",hi),Wa=!0),()=>{const t=Zn.lastIndexOf(e);t>=0&&Zn.splice(t,1),Zn.length===0&&Wa&&typeof document<"u"&&(document.removeEventListener("keydown",hi),Wa=!1)}}const fi=o.createContext(null);function Z2(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const Ci=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function X2(e){const t=o.useCallback(a=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const r=window.matchMedia(e);return r.addEventListener?r.addEventListener("change",a):r.addListener&&r.addListener(a),()=>{r.removeEventListener?r.removeEventListener("change",a):r.removeListener&&r.removeListener(a)}},[e]);return Yo.useSyncExternalStore(t,()=>Ci(e),()=>!1)}function J2(e){const[t,a]=o.useState(Ci(e));return o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e),s=l=>a(l.matches),i=r;return i.addEventListener?i.addEventListener("change",s):i.addListener&&i.addListener(s),a(r.matches),()=>{i.removeEventListener?i.removeEventListener("change",s):i.removeListener&&i.removeListener(s)}},[e]),t}const Q2=typeof Yo.useSyncExternalStore=="function"?X2:J2;function tn(e){const t=o.useContext(fi),a=Q2(e);return t&&typeof t.mobile=="boolean"&&Z2(e)?t.mobile:a}const ef="(prefers-reduced-motion: reduce)";function Hr(){return tn(ef)}function gn(e){const{anchorRect:t,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:c="",role:u="dialog",ariaLabel:d="",children:p,backdrop:m=!1,isMobilePopup:f=!1,useBorder:b=!0,header:C}=e||{},y=o.useRef(null),[_,h]=o.useState({position:"fixed",left:0,top:-9999}),[v,x]=o.useState(!1),[g,k]=o.useState("bottom"),[w,B]=o.useState(!1),[N,A]=o.useState(!1),D=!t&&!a,F=o.useCallback((K=!1)=>{if(N&&f)return;const G=a?a.getBoundingClientRect():t;if(!G||!y.current)return;const J=y.current,{offsetWidth:O,offsetHeight:I}=J,S=window.innerWidth,H=window.innerHeight,P=S-G.right,M=G.left,L=G.top,X=H-G.bottom;let W=0,ae=0,ue="top";if(L>=I+r)ue="top",ae=G.top-r-I,W=G.left+G.width/2-O/2;else if(X>=I+r)ue="bottom",ae=G.bottom+r,W=G.left+G.width/2-O/2;else if(P>=O+r)ue="right",W=G.right+r,ae=G.top+G.height/2-I/2;else if(M>=O+r)ue="left",W=G.left-r-O,ae=G.top+G.height/2-I/2;else{const q=Math.max(L,X,P,M);q===L?(ue="top",ae=G.top-r-I,W=G.left+G.width/2-O/2):q===X?(ue="bottom",ae=G.bottom+r,W=G.left+G.width/2-O/2):q===P?(ue="right",W=G.right+r,ae=G.top+G.height/2-I/2):(ue="left",W=G.left-r-O,ae=G.top+G.height/2-I/2)}const Se=Number.isFinite(Number(s))?Number(s):8;W=Math.min(Math.max(W,Se),S-O-Se),ae=Math.min(Math.max(ae,Se),H-I-Se);const pe=Math.round(W),re=Math.round(ae);K&&y.current?(y.current.style.left=`${pe}px`,y.current.style.top=`${re}px`,y.current.dataset.placement=ue):(k(ue||g),h({position:"fixed",left:pe,top:re}),B(!0))},[N,f,a,t,r,s,g]);o.useLayoutEffect(()=>{if(D)return;if(N&&f){h({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),B(!0);return}F();const K=requestAnimationFrame(()=>F());return()=>cancelAnimationFrame(K)},[t,a,r,p,s,D,N,f,F]),o.useEffect(()=>{if(D||N&&f||!y.current||typeof ResizeObserver>"u")return;const K=new ResizeObserver(()=>{t&&F()});return K.observe(y.current),()=>K.disconnect()},[t,p,s,D,N,f,F]),o.useEffect(()=>{if(D||N&&f)return;const K=()=>F(!0),G=J=>{if(!a&&i){const O=J.target;if(O&&y.current&&y.current.contains(O))return;try{if(O&&O.closest&&O.closest("[data-tooltip-ignore]"))return}catch{}T.current(!0);return}K()};return window.addEventListener("resize",K),document.addEventListener("scroll",G,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",K),document.removeEventListener("scroll",G,{capture:!0})}},[t,a,i,r,p,s,D,N,f,F]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const K=window.matchMedia("(max-width: 768px)"),G=()=>A(!!K.matches);G();try{K.addEventListener?K.addEventListener("change",G):K.addListener(G)}catch{try{K.addListener(G)}catch{}}return()=>{try{K.removeEventListener?K.removeEventListener("change",G):K.removeListener(G)}catch{}}},[]);const $=o.useRef(!1),R=o.useRef(null),U=Hr(),E=o.useCallback((K=!1)=>{if(i&&!(v||$.current)){if($.current=!0,K){x(!0);try{i&&i()}catch{$.current=!1,x(!1)}return}x(!0),R.current=setTimeout(()=>{R.current=null;try{i&&i()}catch{$.current=!1,x(!1)}},U?0:200)}},[v,i,x,U]);o.useEffect(()=>()=>{R.current&&clearTimeout(R.current)},[]),o.useEffect(()=>{if(D)return;const K=O=>{const I=y.current;if(!I)return;const S=O.target;if(S&&!I.contains(S)){try{if(S.closest&&S.closest("[data-tooltip-ignore]"))return}catch{}l&&E(!0)}},G=O=>{const I=y.current;if(!I)return;const S=O.target;if(S&&!I.contains(S)){try{if(S.closest&&S.closest("[data-tooltip-ignore]"))return}catch{}l&&E(!0)}},J=O=>{if(O.key==="Tab"){const I=y.current;if(!I)return;const S=I.querySelectorAll(Cn);if(!S||S.length===0)return;const H=S[0],P=S[S.length-1],M=document.activeElement;O.shiftKey?M===H&&(O.preventDefault(),P.focus()):M===P&&(O.preventDefault(),H.focus())}};return document.addEventListener("pointerdown",K,!0),document.addEventListener("click",G,!0),document.addEventListener("keydown",J),()=>{document.removeEventListener("pointerdown",K,!0),document.removeEventListener("click",G,!0),document.removeEventListener("keydown",J)}},[i,l,E,D]);const T=o.useRef(E);o.useEffect(()=>{T.current=E});const V=!!i;o.useEffect(()=>{if(!(D||!V))return In(()=>T.current())},[D,V]),o.useEffect(()=>{const K=()=>{E(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",K),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",K)}},[E]);const Y=n.jsxs("div",{ref:y,className:`tooltip-content ${D?"tooltip-content--inline":""} ${b?"tooltip-content--bordered":""} ${v?"is-closing":""} ${c} ${N&&f?"is-mobile":""}`,role:u,"aria-label":d||void 0,style:D?{}:{..._,visibility:w?"visible":"hidden"},tabIndex:-1,"data-placement":g,"data-left":D?"":_.left,"data-top":D?"":_.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[C!=null&&n.jsx("div",{className:"tooltip-content__header h5",children:C}),p]});if(D||typeof document>"u")return Y;if(m||N&&f){const K=n.jsxs("div",{className:"tooltip-portal",children:[n.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&E(!0)}}),Y]});return qt.createPortal(K,document.body)}return qt.createPortal(Y,document.body)}function bn(e){const{anchorRect:t,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?n.jsx(gn,{anchorRect:t,offset:r,onClose:s,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:n.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function Fn(e){const{t}=be.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:c,offset:u=12,closeOnOutsideClick:d=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:n.jsx(gn,{anchorRect:a,offset:u,onClose:c,closeOnOutsideClick:d,useBorder:!1,className:"tooltip-description",ariaLabel:r||t("tooltip.description","\uC124\uBA85"),children:n.jsxs("div",{className:"tooltip-description__box",children:[r&&n.jsx("span",{className:"tooltip-description__title body-2",children:r}),n.jsx("ol",{className:"tooltip-description__items",children:p.map((m,f)=>n.jsxs("li",{className:`tooltip-description__item body-3${f===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&n.jsxs("span",{className:"tooltip-description__index button-1",children:[f+1,"."]}),m.color&&n.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),n.jsx("span",{children:m.text})]},f))})]})})}function ba(e){const t=o.useRef(e);return o.useEffect(()=>{t.current=e}),t}let Vr=0,gi=!1;function bi(){gi||typeof document>"u"||(gi=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(Vr=Date.now())},!0),document.addEventListener("touchstart",()=>{Vr=Date.now()},{capture:!0,passive:!0}))}bi();function Xn(e){return!!e&&e.pointerType==="touch"}function Jn(e=1e3){return bi(),Date.now()-Vr<e}function zr(e,t,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=ba(e),l=ba(t),c=o.useRef(null),u=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const f=m,b=m.target,C=a.current,y=!!(b&&C&&C.contains(b));if(f.pointerType!=="touch"){y&&(c.current=null);return}if(y){c.current=i.current;return}c.current=null,i.current&&!(b&&b.closest?.(".tooltip-content"))&&l.current(!1,C)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const d=o.useCallback(p=>{const m=c.current;return m===null?!1:(c.current=null,u.current=Date.now(),l.current(!m,p??a.current),!0)},[a,l]);return o.useEffect(()=>{if(!r||!s)return;const p=a.current,m=p?.parentElement;if(!p||!m)return;let f=null;const b=_=>{const h=_.changedTouches?.[0];if(!h)return!1;const v=p.getBoundingClientRect();return h.clientX>=v.left&&h.clientX<=v.right&&h.clientY>=v.top&&h.clientY<=v.bottom},C=_=>{f=b(_)?i.current:null},y=_=>{const h=f;f=null,!(h===null||Date.now()-u.current<700||!b(_))&&(c.current=null,u.current=Date.now(),l.current(!h,p))};return m.addEventListener("touchstart",C,{passive:!0}),m.addEventListener("touchend",y),()=>{m.removeEventListener("touchstart",C),m.removeEventListener("touchend",y)}},[r,s,a,i,l]),{touchPress:d}}function tf(e,t){const{size:a=48,type:r,htmlType:s,href:i,target:l,rel:c,icon:u,rightIcon:d,label:p,count:m,subLabel:f,children:b,ariaLabel:C,variant:y="default",align:_="center",selected:h,toggleable:v=!1,ariaExpanded:x,ariaControls:g,disabled:k=!1,useLabel:w=!0,useBorder:B=!0,useBG:N=!0,useDisabledCovered:A=!1,useDisabledInvisible:D=!1,width:F,minWidth:$,onClick:R,onDisabledClick:U,showTooltipInfo:E=!1,tooltipInfoText:T=null,tooltipDescription:V=null,tooltipOnly:Y=!1,iconSize:K="medium",iconColor:G,shape:J="rounded",color:O,className:I,...S}=e,H=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),P=H.match(/^\d+$/)?`button${H}`:`button-${H}`,M=Number(a),L=!isNaN(M)&&M<40?"button-2":"button-1",X=p??b,W=k||!!S.disabled,ae=W?A?"disabled-covered":D?"disabled-invisibled":"disabled":y,ue=ae?`button--variant-${ae}`:"",Se=_?`button--align-${_}`:"",pe=J?`button--shape-${J}`:"",re=typeof G=="string"&&G.startsWith("--")?`var(${G})`:G,q={...F?{width:typeof F=="number"?`${F}px`:F}:{},...$?{minWidth:typeof $=="number"?`${$}px`:$}:{},...B?{}:{"--button-border":W?"0":"1px solid transparent"},...re?{"--button-icon-color":re}:{},...O?{"--color-main":O}:{}},se=w===!1?"":X,de=Array.isArray(se)?se.length>0:!!se,ve=!!d,ye=r??(de||u||ve?"bar":"dot"),Be=`${P}--${ye}`,he=o.useRef(null),ke=o.useRef(t);ke.current=t;const je=o.useCallback(Le=>{he.current=Le;const Ke=ke.current;typeof Ke=="function"?Ke(Le):Ke&&(Ke.current=Le)},[]),oe=o.useRef(W),[ee,fe]=o.useState(!!h),[te,ge]=o.useState(!1),[_e,Ye]=o.useState(null),He=o.useCallback(()=>ge(!1),[]),[Ue,Ee]=o.useState(!1),Ge=o.useId();o.useEffect(()=>{typeof h=="boolean"&&fe(h)},[h]),o.useEffect(()=>{if(oe.current&&!W&&he.current){const Le=he.current;let Ke=!1;try{Ke=Le.matches(":focus:not(:focus-visible)")}catch{Ke=!1}Ke&&Le.blur(),Le.style.pointerEvents="none";const St=requestAnimationFrame(()=>{requestAnimationFrame(()=>{he.current&&(he.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(St)}oe.current=W},[W]);const $e=typeof h=="boolean"?!!h:ee,Ie=typeof x=="boolean"?void 0:v||typeof h=="boolean"?$e?"true":"false":S["aria-pressed"],Ve=De("button",P,Be,ue,Se,pe,$e?"is-selected":null,N?null:"button--no-bg",Y?"button--tooltip-only":null,I),at=`button__icon button__icon--${K}`,ot=Array.isArray(f)?f:f!==void 0?[f]:[],We=()=>{if(Array.isArray(se))return se.map((Ke,St)=>{const xt=ot[St];return n.jsxs("span",{className:`button__label-text${xt!==void 0?" button__label-text--has-sub":""}`,children:[Ke,xt!==void 0&&n.jsx("span",{className:"button__sub-label-text caption-1",children:xt})]},St)});const Le=f!==void 0;return n.jsxs("span",{className:`button__label-text${Le?" button__label-text--has-sub":""}`,children:[se,m!=null&&n.jsx("span",{className:"button__count",children:m}),Le&&n.jsx("span",{className:"button__sub-label-text caption-1",children:f})]})},Xe=Le=>{typeof h!="boolean"&&!v&&fe(!1),Le.currentTarget.blur()},gt=Le=>{W||(typeof S.onMouseLeave=="function"&&S.onMouseLeave(Le),Xe(Le))},Bt=Le=>{if(Y&&Qe&&Ze.touchPress(Le.currentTarget),W){Qe&&Ze.touchPress(Le.currentTarget),Le.preventDefault(),U?.(Le);return}typeof h!="boolean"&&v&&fe(Ke=>!Ke),R?.(Le)},jt=o.useCallback(()=>{(E||V)&&(ge(!0),Ye(he.current?.getBoundingClientRect()??null))},[E,V]),dt=o.useCallback(()=>{(E||V)&&(ge(!1),Ye(null))},[E,V]),Qe=!!(E||V),Ze=zr(te,Le=>{Le?jt():dt()},he,{enabled:Qe&&(W||Y),fallbackOnParent:Qe&&W}),Oe={...S};delete Oe.disabled,delete Oe.className,delete Oe.faded,delete Oe.useFaded,delete Oe.loading,delete Oe.onMouseLeave,delete Oe.onPointerEnter,delete Oe.onPointerLeave,delete Oe.onPointerUp,delete Oe.onFocus,delete Oe.onBlur,W&&(Object.keys(Oe).forEach(Le=>{/^on[A-Z]/.test(Le)&&typeof Oe[Le]=="function"&&delete Oe[Le]}),Oe["aria-disabled"]="true");const rt=(typeof E=="string"?E:null)??(typeof T=="string"?T:null)??(typeof C=="string"?C:null)??(typeof X=="string"?X:null)??void 0,et=typeof C=="string"?C:typeof X=="string"?X:rt,yt=V?[V.title,...V.items??[]].filter(Boolean).join(". "):E&&rt&&rt!==et?rt:"",ze=[typeof S["aria-describedby"]=="string"?S["aria-describedby"]:void 0,yt?Ge:null].filter(Boolean).join(" ")||void 0,it=(Le,Ke)=>n.jsx(qe,{icon:Le,label:Ke??et,className:at,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),Nt=()=>ye==="dot"?n.jsxs(n.Fragment,{children:[it(u),de&&n.jsx("span",{className:`button__label ${L}`,children:We()})]}):_==="center"&&u?n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"button__center-group",children:[n.jsx("span",{className:"button__left",children:it(u)}),de&&n.jsx("span",{className:`button__label ${L}`,children:We()})]}),ve&&n.jsx("span",{className:"button__right",children:it(d)})]}):n.jsxs(n.Fragment,{children:[u&&n.jsx("span",{className:"button__left",children:it(u,C??X)}),de&&n.jsx("span",{className:`button__label ${L}`,children:We()}),ve&&n.jsx("span",{className:"button__right",children:it(d)})]}),Dt=!!i&&!W;return n.jsxs(n.Fragment,{children:[n.jsxs(Dt?"a":"button",{...Oe,ref:je,...Dt?{href:i,target:l,rel:c??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:W&&!U&&!Ue},className:Ve,"aria-pressed":Ie,"aria-expanded":typeof x=="boolean"?x:S["aria-expanded"],"aria-controls":g??S["aria-controls"],"aria-label":et,"aria-disabled":W&&(Dt||U||Ue)?!0:void 0,"aria-describedby":ze,style:q,onClick:Bt,onMouseLeave:gt,onPointerEnter:Le=>{Xn(Le)||jt(),!W&&typeof S.onPointerEnter=="function"&&S.onPointerEnter(Le)},onPointerLeave:Le=>{Xn(Le)||dt(),!W&&typeof S.onPointerLeave=="function"&&S.onPointerLeave(Le)},onPointerUp:Le=>{W&&Qe&&Ze.touchPress(Le.currentTarget),!W&&typeof S.onPointerUp=="function"&&S.onPointerUp(Le)},onFocus:Le=>{Ee(!0),Jn()||jt(),!W&&typeof S.onFocus=="function"&&S.onFocus(Le)},onBlur:Le=>{Ee(!1),W||Xe(Le),dt(),!W&&typeof S.onBlur=="function"&&S.onBlur(Le)},children:[Nt(),yt?n.jsx("span",{id:Ge,hidden:!0,"aria-label":yt}):null]}),te&&V?n.jsx(Fn,{anchorRect:_e,title:V.title,items:V.items,onClose:He}):te&&rt?n.jsx(bn,{anchorRect:_e,text:rt,onClose:He}):null]})}const le=o.forwardRef(tf);le.displayName="Button";var nf={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"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",networkError:"\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694."},af={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"},rf={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"}},of={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},sf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},lf={selected:"\uC120\uD0DD\uB428"},cf={placeholder:"\uC120\uD0DD"},uf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},df={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",menuClose:"\uBA54\uB274 \uB2EB\uAE30"},pf={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",badgeLabel:"{{label}}, {{count}}\uAC1C"},mf={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."}}},hf={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."}},ff={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},Cf={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},gf={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",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",selectInOrder:"\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",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.",ttsUnavailable:"\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\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:{pendingDone:"\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",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",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30",audioStatus:{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"}},bf={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"},yf={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"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},vf={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"}}}},xf={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"}},_f={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},wf={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"}},kf={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."}},Af={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},Bf={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",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},Nf={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Df={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)",copyName:"{{name}} (\uBCF5\uC0AC)"},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:"{{name}} \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"},info:{grade:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808",pos:"\uD488\uC0AC: {{v}}",wordType:"\uC720\uD615: {{v}}"},pos:{noun:"\uBA85\uC0AC",verb:"\uB3D9\uC0AC",adjective:"\uD615\uC6A9\uC0AC",adverb:"\uBD80\uC0AC",numeral:"\uC218\uC0AC",determiner:"\uAD00\uD615\uC0AC",interjection:"\uAC10\uD0C4\uC0AC",particle:"\uC870\uC0AC",affix:"\uC811\uC0AC",dependentNoun:"\uC758\uC874\uBA85\uC0AC",pronoun:"\uB300\uBA85\uC0AC",auxVerb:"\uBCF4\uC870\uB3D9\uC0AC",auxAdjective:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},reorder:{moved:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40",handle:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)",hint:"Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"}},Sf={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",original:"\uBC1B\uC740 \uC21C\uC11C"},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"}},Ef={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},jf={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"}},Tf={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"}},Mf={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Lf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},$f={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",type:{hearingAid:"\uBCF4\uCCAD\uAE30",cochlearImplant:"\uC778\uACF5\uC640\uC6B0"}},Rf={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"}},Pf={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."]},If={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"}},Ff={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
848
848
  \uC2E0\uB8B0\uB97C \uC313\uACE0
849
849
  \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"},Of={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"}}},Hf={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},Vf={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"}},zf={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},Wf={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"},qf={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},Uf={ariaLabel:"\uC120\uD0DD \uD0ED"},Gf={ariaLabel:"\uD0ED"},Kf={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},Yf={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},Zf={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"}},Xf={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"}},Jf={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"}},Qf={manage:{unit:"\uAC74"}},eC={cancelLabel:"\uCDE8\uC18C"},tC={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},nC={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"},aC={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},rC={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"},oC={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},sC={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},iC={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},lC={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},cC={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"}},uC={clearSelection:"\uC120\uD0DD \uD574\uC81C"},dC={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},pC={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},mC={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},hC={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},fC={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},CC={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},gC={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},bC={common:nf,calendar:af,passCard:rf,searchField:of,rating:sf,colorPicker:lf,dropdown:cf,accordion:uf,header:df,nav:pf,settings:mf,usage:hf,account:ff,help:Cf,training:gf,trainingSettings:bf,customers:yf,payment:vf,coupons:xf,visits:_f,company:wf,trainingType:kf,myWordTraining:Af,myWordTable:Bf,keyWords:Nf,wordTable:Df,wordSearch:Sf,wordPrint:Ef,topic:jf,accessLinkManager:Tf,login:Mf,trainingPlanRun:Lf,device:$f,manager:Rf,wordPairs:Pf,game:If,footer:Ff,landing:Of,date:Hf,trainingSetPage:Vf,wordTrainingPreview:zf,wordData:Wf,textField:qf,segmentedControl:Uf,tabs:Gf,fileUpload:Kf,avatar:Yf,myHomework:Zf,trainingStatus:Xf,store:Jf,homework:Qf,inquiry:eC,progress:tC,trainingMiss:nC,table:aC,wordScore:rC,topBanner:oC,datePicker:sC,report:iC,tooltip:lC,phonemeProfile:cC,bulkBar:uC,debug:dC,badge:pC,loader:mC,soundCompass:hC,breadcrumb:fC,board:CC,promoBannerBg:gC},yC={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"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},vC={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"},xC={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"}},_C={clearAriaLabel:"Clear search"},wC={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},kC={selected:"selected"},AC={placeholder:"Select"},BC={collapse:"Collapse",expand:"Expand"},NC={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},DC={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",badgeLabel:"{{label}}, {{count}}"},SC={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."}}},EC={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"}},jC={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password",currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},TC={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},MC={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",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",selectInOrder:"Select the cards in the order you heard.",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.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",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",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{idle:"Idle",resolving:"Resolving\u2026",checking_exists:"Checking file\u2026",getting_signed_url:"Getting URL\u2026",downloading:"Downloading\u2026",measuring_duration:"Measuring length\u2026",ready:"Ready",error:"Error"}},LC={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"},$C={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"},duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},RC={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},PC={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"}},IC={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},FC={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},OC={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."}},HC={comingSoon:"Word training is coming soon."},VC={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"},publishedBadge:"Published",sharedBadge:"Shared"},zC={title:"Key Words",empty:"No key words available."},WC={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)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete {{name}}",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"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"}},qC={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",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},UC={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},GC={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"}},KC={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"}},YC={passwordPlaceholder:"Enter password"},ZC={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",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant"}},XC={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"}},JC={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."]},QC={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"}},eg={lead:`IHAB builds trust
850
850
  through sound
@@ -855,7 +855,7 @@ ${g.badge}`:g.badge:void 0;if(w&&u(g.code))return null;if(!g.badge&&!p)return m(
855
855
  `).map(i=>i.replace(/\t/g," ")),r=a.filter(i=>i.trim().length>0),s=r.length>0?Math.min(...r.map(i=>i.match(/^ */)?.[0].length??0)):0;return a.map(i=>i.slice(s)).join(`
856
856
  `)}const k4=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),A4=/^(?: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 B4(e,t){let a=e;const r=[],s=/^(?:sh|bash|zsh|shell|console)$/.test(t.toLowerCase()),i=(l,c)=>r.push({type:l,content:c});for(;a.length>0;){const l=a.match(/^\s+/);if(l){i("whitespace",l[0]),a=a.slice(l[0].length);continue}if(!s&&a.startsWith("//")){const C=a.indexOf(`
857
857
  `),y=C===-1?a:a.slice(0,C);i("comment",y),a=a.slice(y.length);continue}if(s&&a.startsWith("#")){const C=a.indexOf(`
858
- `),y=C===-1?a:a.slice(0,C);i("comment",y),a=a.slice(y.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){i("comment",c[0]),a=a.slice(c[0].length);continue}const u=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(u){i("string",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^\d+(?:\.\d+)?/);if(d){i("number",d[0]),a=a.slice(d[0].length);continue}const p=a.match(A4);if(p){i("keyword",p[0]),a=a.slice(p[0].length);continue}const m=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(m){const C=m[0];i(s&&k4.has(C)?"command":"identifier",C),a=a.slice(C.length);continue}const f=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(f){i("operator",f[0]),a=a.slice(f[0].length);continue}const b=a.match(/^[()[\]{};.,]/);if(b){i("punctuation",b[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return r}function N4({children:e,language:t="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=be.useTranslation(),[c,u]=o.useState(!1),d=w4(Ml(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await B2(d))return;u(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>u(!1),2e3)}catch{}},f=B4(d,t),b=s==="small"?"caption-1":"body-3";return n.jsxs("div",{className:De("code-box",s==="small"?"code-box--small":"",i),children:[(a||r)&&n.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[n.jsx("div",{className:"code-box__title caption-1",children:a}),r&&n.jsx(le,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:m,ariaLabel:c?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),n.jsx("pre",{className:"code-box__inner","data-lang":t,children:n.jsx("code",{children:f.map((C,y)=>n.jsx("span",{className:`code-token ${C.type} ${b}`,children:C.content},y))})})]})}const D4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Sa(e){const{t}=be.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||t("loader.loading","Loading");if(a==="bar"){const u=s==null||!Number.isFinite(Number(s)),d=u?0:Math.max(0,Math.min(100,Number(s)));return n.jsx("div",{className:`loader-bar${u?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":u?void 0:d,"aria-label":l,children:n.jsx("div",{className:"loader-bar__inner",style:u?void 0:{width:`${d}%`}})})}const c=typeof r=="number"?`${r}px`:r;return n.jsxs("div",{className:"loader-spinner",style:{width:c,height:c},role:"status","aria-label":l,children:[n.jsx("span",{style:D4,children:l}),n.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[n.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),n.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}function Ll({checked:e,onChange:t,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:c}){const u=r&&n.jsx("span",{className:"toggle__label body-3",children:r});return n.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&u,n.jsx("input",{id:c,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:d=>t?.(d.target.checked),"aria-label":!r&&s?s:void 0}),n.jsx("span",{className:"toggle__slider"}),i==="right"&&u]})}function $l({checked:e=!1,onChange:t,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:c,ariaLabel:u}){const d=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{d.current&&(d.current.indeterminate=!!r)}),n.jsxs("label",{className:De("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:c,children:[n.jsx("input",{ref:d,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:f=>{t?.(f.target.checked),d.current&&(d.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&u?u:void 0}),n.jsx("span",{className:"checkbox__box"}),s&&n.jsx("span",{className:"checkbox__label body-3",children:s})]})}function S4({count:e,actions:t,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:c}=be.useTranslation(),u=s!==void 0?s:e>0,d=r??c("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),f=o.useRef(null),b=o.useRef(u);o.useLayoutEffect(()=>{const v=m.current,x=b.current;if(b.current=u,u&&!x){const g=typeof document<"u"?document.activeElement:null;f.current=g&&g!==document.body&&!v?.contains(g)?g:null}else!u&&x&&v&&v.contains(document.activeElement)&&za(v,f.current)},[u]);const[C,y]=o.useState(!1),_=o.useRef(!1),h=o.useRef(null);return o.useEffect(()=>{const v=p.current;if(!v)return;const x=A=>{_.current=A,y(A)},g=()=>{const A=v.firstElementChild??v,D=Array.from(A.children);if(D.length<2){x(!1);return}const F=D[0].offsetTop,$=D.some(V=>V.offsetTop!==F);if(!_.current){h.current=v.clientWidth,$&&x(!0);return}if($)return;const R=D[0],U=D[D.length-1],E=U.offsetLeft+U.offsetWidth-R.offsetLeft,T=h.current;(T==null||E<=T)&&x(!1)};if(g(),typeof ResizeObserver>"u")return;const k=new ResizeObserver(g);k.observe(v);const w=v.parentElement;let B=w?.clientWidth??0;const N=new ResizeObserver(()=>{const A=w?.clientWidth??0;A!==B&&(B=A,h.current=null,g())});return w&&N.observe(w),()=>{k.disconnect(),N.disconnect()}},[i,e]),n.jsxs("div",{ref:m,className:`bulk-bar ${u?"bulk-bar--visible":""}`,inert:!u||void 0,"aria-hidden":u?void 0:!0,children:[n.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??n.jsx("b",{children:c("common.selectedCount",{count:e})})}),l!==void 0&&n.jsx(mt,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`}),n.jsxs("div",{className:`bulk-bar__actions${C?" bulk-bar__actions--stacked":""}`,children:[n.jsx(le,{htmlType:"button",size:40,label:d,onClick:a}),t.map((v,x)=>n.jsx(le,{htmlType:"button",size:40,variant:v.variant??"default",icon:v.icon,label:v.label,onClick:v.onClick},x))]})]})}function Rl(e,t){const a=()=>{if(e){const[y,_]=e.split("-");return{y:+y,m:+_-1}}const[b,C]=Lr(t).split("-");return{y:+b,m:+C-1}},[r,s]=o.useState(()=>a().y),[i,l]=o.useState(()=>a().m),c=o.useRef(e);o.useEffect(()=>{if(e===c.current)return;c.current=e;const b=a();s(b.y),l(b.m)},[e]);const u=o.useRef({y:r,m:i});o.useEffect(()=>{u.current={y:r,m:i}},[r,i]);const d=o.useCallback(b=>{const C=u.current.y*12+u.current.m+b,y=Math.floor(C/12),_=C-y*12;u.current={y,m:_},s(y),l(_)},[]),p=o.useCallback(()=>d(-1),[d]),m=o.useCallback(()=>d(1),[d]),f=o.useCallback((b,C)=>{u.current={y:b,m:C},s(b),l(C)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:f}}function Ka(e,t){return new Date(e,t+1,0).getDate()}function E4(e,t){return new Date(e,t,1).getDay()}function Ya(e,t,a){return`${e}-${String(t+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function j4(e){if(!e)return"";const[t,a,r]=e.split("-");return`${t}. ${a}. ${r}.`}function T4(e,t,a,r){const s=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let c=s;c<=i;c++)for(let u=0;u<12;u++){const d=`${c}-${String(u+1).padStart(2,"0")}`;a&&d<a.slice(0,7)||r&&d>r.slice(0,7)||l.push({value:d,label:t(c,u+1)})}return l}function M4({value:e,onChange:t,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:c,today:u}){const{t:d}=be.useTranslation(),p=l??d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>d("calendar.dow",{returnObjects:!0}),[d]),f=Lr(u),{viewY:b,viewM:C,prevMonth:y,nextMonth:_,setViewYM:h}=Rl(e,u),v=o.useId(),x=o.useCallback((S,H)=>{const P=window.innerHeight,M=window.innerWidth,L=typeof document<"u"?document.getElementById(v):null,X=L?.offsetHeight||300,W=Math.max(S.width,L?.offsetWidth||0,260),ae=P-S.bottom<X&&S.top>X,ue=8,Se=(pe,re)=>Math.min(Math.max(ue,pe),Math.max(ue,re));return{position:"fixed",left:Se(S.left,M-W-ue),width:S.width,minWidth:260,...ae?{bottom:Se(P-S.top+6,P-X-ue)}:{top:Se(S.bottom+6,P-X-ue)},zIndex:xa(H)}},[v]),{open:g,setOpen:k,toggle:w,style:B,triggerRef:N,menuRef:A}=_a({computeStyle:x,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!g)return;const S=A.current;return(S?.querySelector(".date-picker__day--selected:not(:disabled)")??S?.querySelector(".date-picker__day--today:not(:disabled)")??S?.querySelector(".date-picker__day:not(:disabled)")??S?.querySelector(Cn)??S)?.focus?.(),()=>{const H=document.activeElement;(!H||H===document.body)&&N.current?.focus?.()}},[g,A,N]);const[D,F]=o.useState(1),$=o.useRef(null),R=o.useRef(null);o.useEffect(()=>{if(!g)return;const S=e&&e.slice(0,7)===`${b}-${String(C+1).padStart(2,"0")}`?+e.slice(8):f.slice(0,7)===`${b}-${String(C+1).padStart(2,"0")}`?+f.slice(8):1;F(S)},[g]),o.useEffect(()=>{if(R.current==null)return;const S=R.current;R.current=null,$.current?.querySelector(`[data-day="${S}"]`)?.focus()}),o.useEffect(()=>{F(S=>Math.min(S,Ka(b,C)))},[b,C]);const U=o.useCallback(S=>{let H=Ya(S.getFullYear(),S.getMonth(),S.getDate());r&&H<r&&(H=r),s&&H>s&&(H=s);const[P,M,L]=H.split("-").map(Number);(P!==b||M-1!==C)&&h(P,M-1),F(L),R.current=L},[r,s,b,C,h]),E=o.useCallback(S=>{const H=new Date(b,C,D),P=L=>{H.setDate(H.getDate()+L),U(H)},M=L=>{const X=H.getFullYear()*12+H.getMonth()+L,W=Math.floor(X/12),ae=X-W*12;U(new Date(W,ae,Math.min(H.getDate(),Ka(W,ae))))};switch(S.key){case"ArrowLeft":P(-1);break;case"ArrowRight":P(1);break;case"ArrowUp":P(-7);break;case"ArrowDown":P(7);break;case"Home":P(-H.getDay());break;case"End":P(6-H.getDay());break;case"PageUp":S.shiftKey?M(-12):M(-1);break;case"PageDown":S.shiftKey?M(12):M(1);break;default:return}S.preventDefault()},[b,C,D,U]),T=o.useCallback(S=>{i||(t(Ya(b,C,S)),k(!1))},[b,C,t,k,i]);o.useEffect(()=>{i&&k(!1)},[i,k]);const V=S=>{const H=Ya(b,C,S);return!!(r&&H<r||s&&H>s)},Y=(()=>{const S=Ka(b,C);if(D>=1&&D<=S&&!V(D))return D;for(let H=1;H<=S;H++)if(!V(H))return H;return-1})(),K=[];for(let S=0;S<E4(b,C);S++)K.push(null);for(let S=1;S<=Ka(b,C);S++)K.push(S);const G=a===64?20:a===40?16:18,J=T4(b,(S,H)=>d("calendar.yearMonth",{year:S,month:H,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),O=`${b}-${String(C+1).padStart(2,"0")}`,I=g?qt.createPortal(n.jsxs("div",{ref:A,id:v,className:"date-picker__dropdown",style:B,"data-tooltip-ignore":!0,role:"dialog","aria-label":d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[n.jsxs("div",{className:"date-picker__nav",children:[n.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:y,"aria-label":d("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:n.jsx(ns,{size:16,strokeWidth:2})}),n.jsx(nn,{className:"date-picker__nav-dropdown",ariaLabel:d("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:J,value:O,onChange:S=>{const[H,P]=S.split("-");h(+H,+P-1)},block:!0,size:40}),n.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:_,"aria-label":d("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:n.jsx(as,{size:16,strokeWidth:2})})]}),n.jsxs("div",{className:"date-picker__grid",ref:$,onKeyDown:E,children:[m.map(S=>n.jsx("div",{className:"date-picker__dow caption-1",children:S},S)),K.map((S,H)=>{if(S===null)return n.jsx("div",{},`e${H}`);const P=Ya(b,C,S),M=P===e,L=P===f,X=V(S),W=H%7;return n.jsx("button",{type:"button",disabled:X,"data-day":S,tabIndex:S===Y?0:-1,"aria-current":L?"date":void 0,onClick:()=>!X&&T(S),className:De("date-picker__day caption-1",M&&"date-picker__day--selected",L&&!M&&"date-picker__day--today",X&&"date-picker__day--disabled",W===0&&"date-picker__day--sun",W===6&&"date-picker__day--sat"),children:S},S)})]})]}),document.body):null;return n.jsxs("div",{className:De("date-picker",`date-picker--s${a}`,g&&"date-picker--open",c),children:[n.jsxs("button",{ref:N,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&w(),disabled:i,"aria-haspopup":"true","aria-expanded":g,children:[n.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?j4(e):p}),n.jsx(ps,{size:G,className:"date-picker__icon",strokeWidth:1.5})]}),I]})}function ro({items:e,className:t}){return n.jsx("div",{className:t?`manager-bar-chart-legend ${t}`:"manager-bar-chart-legend",children:e.map((a,r)=>n.jsxs("span",{className:"manager-bar-chart-legend-item",children:[n.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function Za({label:e,children:t}){return e?n.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[n.jsx("span",{className:"barchart-total__label body-3",children:e}),n.jsx("span",{className:"barchart-total__value",children:t})]}):n.jsx("div",{className:"barchart-total",children:t})}function oo({title:e,titleClassName:t="h3",icon:a,disc:r,headRight:s,headSegment:i,headMenuItems:l,collapseBelow:c=420,onClick:u,ariaLabel:d,tooltip:p,totalNum:m,totalUnit:f,totalLabel:b,subRow:C,className:y,inGrid:_=!1,children:h}){const{t:v}=be.useTranslation(),x=o.useRef(null),{anchorRect:g,openAt:k,close:w}=va(),B=o.useCallback(()=>{p&&x.current&&k(x.current)},[p,k]),[N,A]=o.useState(!1);o.useEffect(()=>{const J=x.current;if(!J||!i)return;const O=S=>A(S>0&&S<c);if(O(J.clientWidth),typeof ResizeObserver>"u")return;const I=new ResizeObserver(S=>O(S[0].contentRect.width));return I.observe(J),()=>I.disconnect()},[i,c]);const[D,F]=o.useState(null),$=o.useCallback(()=>F(null),[]),R=o.useCallback(J=>{const O=J.currentTarget.getBoundingClientRect();F(I=>I?null:{left:O.left,right:O.right,top:O.top,bottom:O.bottom,width:O.width,height:O.height,x:O.x,y:O.y})},[]),U=!!i&&N;o.useEffect(()=>{U||F(null)},[U]);const E=i?[...i.options.map(J=>({label:J.label,icon:J.icon,selected:J.key===i.value,disabled:J.disabled,onClick:()=>i.onChange(J.key),closeOnSelect:!0})),...(l??[]).map((J,O)=>O===0?{...J,separatorBefore:!0}:J)]:[],T=o.useCallback(J=>{if(!u)return;const O=J.target;O&&typeof O.closest=="function"&&O.closest('button, a, input, select, textarea, [role="radiogroup"]')||u()},[u]),V=o.useCallback(J=>{u&&J.target===J.currentTarget&&(J.key==="Enter"||J.key===" ")&&(J.preventDefault(),u())},[u]),Y=typeof s=="function"?s({collapsed:U}):s,K=m!=null||b?n.jsxs("div",{className:"manager-section__head-total",children:[b&&n.jsx("span",{className:"manager-section__head-total-label caption-1",children:b}),m!=null&&n.jsxs("span",{className:"manager-section__head-total-value",children:[n.jsx("span",{className:"manager-section__head-total-num h4",children:m}),f&&n.jsx("span",{className:"manager-section__head-total-unit h5",children:f})]})]}):null,G=Y||i||K?n.jsxs("div",{className:"manager-section__head-right",children:[K,i&&(U?n.jsx(le,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:i.ariaLabel??v("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:i.ariaLabel??v("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!D,onClick:R}):n.jsx(Sn,{size:32,ariaLabel:i.ariaLabel,options:i.options.map(J=>({key:J.key,label:J.label,disabled:J.disabled})),value:i.value,onChange:i.onChange})),Y]}):null;return n.jsxs("section",{ref:x,className:["manager-section",_&&"manager-section--grid",u&&"manager-section--clickable",y].filter(Boolean).join(" "),onClick:u?T:void 0,onKeyDown:u?V:void 0,onPointerEnter:p?B:void 0,onPointerLeave:p?w:void 0,onFocus:p?B:void 0,onBlur:p?w:void 0,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-label":u?d??(typeof e=="string"?e:void 0):void 0,children:[p&&g&&n.jsx(bn,{anchorRect:{left:g.left,top:g.top+21,right:g.right,bottom:g.bottom,width:g.width,height:g.height},text:p}),n.jsxs("div",{className:"manager-section__head",children:[n.jsxs("div",{className:"manager-section__title-row",children:[a&&n.jsx(qe,{icon:a,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),n.jsx("div",{className:["manager-section__title",t].filter(Boolean).join(" "),children:e})]}),G,r&&n.jsx("div",{className:"manager-section__disc body-3",children:r})]}),C&&n.jsx("div",{className:"barchart-sub-row",children:C}),h,D&&n.jsx(gn,{anchorRect:D,onClose:$,ariaLabel:i?.ariaLabel??v("tooltip.menu","\uBA54\uB274"),children:n.jsx(wa,{columns:[{items:E}],onClose:$,size:"small"})})]})}function on(e,t){const a=new Date(e,t,1).getDay();return 1+(8-(a===0?7:a))%7}function L4(){const e=Kn();let t=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<on(t,a)){const l=new Date(t,a,0);t=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-on(t,a))/7),i=`${t}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function $4(e){const t=Kn(),a=`${t.getFullYear()}\uB144 ${t.getMonth()+1}\uC6D4`,r=(u,d)=>`${u}\uB144 ${d+1}\uC6D4`,s=new Map;s.set(a,[]);for(const u of e){if(isNaN(u.date.getTime()))continue;const d=r(u.date.getFullYear(),u.date.getMonth());s.has(d)||s.set(d,[]),s.get(d).push(u)}for(const[u,d]of[...s.entries()]){const p=u.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),f=Number(p[2])-1,b=on(m,f);if(!(u===a&&t.getDate()<b)&&!d.some(_=>_.date.getDate()<b))continue;const C=new Date(m,f,0),y=r(C.getFullYear(),C.getMonth());s.has(y)||s.set(y,[])}const i=new Map;for(const[u,d]of s){const p=u.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),f=Number(p[2])-1,b=new Date(m,f+1,0).getDate(),C=d.reduce((g,k)=>Math.max(g,k.parts?.length??0,k.partsB?.length??0),0),y=d.some(g=>g.partsB),_=new Array(b+1).fill(0),h=new Array(b+1).fill(0),v=Array.from({length:b+1},()=>new Array(C).fill(0)),x=Array.from({length:b+1},()=>new Array(C).fill(0));for(const g of d){const k=g.date.getDate();if(_[k]+=g.a,h[k]+=g.b,g.parts)for(let w=0;w<C;w++)v[k][w]+=g.parts[w]??0;if(g.partsB)for(let w=0;w<C;w++)x[k][w]+=g.partsB[w]??0}i.set(u,{year:m,month:f,daysInMonth:b,partsLen:C,hasPartsB:y,dayA:_,dayB:h,dayParts:v,dayPartsB:x})}const l=(u,d,p)=>new Date(u,d,p).getTime()>new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),c={};for(const[u,d]of i){const{year:p,month:m,daysInMonth:f,dayA:b,dayB:C,dayParts:y,dayPartsB:_}=d,h=p===t.getFullYear()&&m===t.getMonth(),v=t.getDate(),x=i.get(r(m===11?p+1:p,(m+1)%12)),g=d.partsLen,k=[];for(let B=1;B<=f;B++){const N=h&&B>v;k.push({label:String(B),...N&&b[B]===0&&C[B]===0?{future:!0}:{},a:N&&b[B]===0&&C[B]===0?-1:b[B],b:C[B],...g?{parts:y[B]}:{},...g&&d.hasPartsB?{partsB:_[B]}:{}})}const w=[];for(let B=on(p,m);B<=f;B+=7){const N=Math.max(0,B+6-f),A=N&&x?Math.max(g,x.partsLen):g,D=d.hasPartsB||!!(N&&x?.hasPartsB);let F=0,$=0;const R=new Array(A).fill(0),U=new Array(A).fill(0);for(let T=B;T<=Math.min(B+6,f);T++){F+=b[T],$+=C[T];for(let V=0;V<g;V++)R[V]+=y[T][V],U[V]+=_[T][V]}if(N&&x)for(let T=1;T<=N&&!l(x.year,x.month,T);T++){F+=x.dayA[T],$+=x.dayB[T];for(let V=0;V<x.partsLen;V++)R[V]+=x.dayParts[T][V],U[V]+=x.dayPartsB[T][V]}const E=N?`${(m+1)%12+1}/${N}`:`${B+6}`;w.push({label:`${w.length+1}\uC8FC`,sublabel:`[${B}\uC77C~${E}\uC77C]`,a:F,b:$,...A?{parts:R}:{},...A&&D?{partsB:U}:{}})}c[u]={weekly:w,daily:k}}return c}function Pl(){const e=Kn(),t=e.getFullYear(),a=e.getMonth()+1,r=[];for(let s=2024;s<=t;s++){const i=s===t?a:12;for(let l=1;l<=i;l++){const c=`${s}\uB144 ${l}\uC6D4`;r.push({value:c,label:c,year:s,month:l})}}return r.reverse()}Pl();function R4(){return Pl()}const Il=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Fl(e){const{t,i18n:a}=be.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>R4().filter(A=>A.value in e),[e]),l=o.useMemo(()=>{const A=[];for(const D of i){const F=new Date(D.year,D.month,0).getDate(),$=on(D.year,D.month-1),R=Math.ceil((F-$+1)/7);for(let U=R-1;U>=0;U--)A.push({value:`${D.value}#${U}`,monthKey:D.value,year:D.year,month:D.month,week:U})}return A},[i]),c=o.useCallback(A=>{const D=t("calendar.yearMonth",{year:A.year,month:A.month});return a.language?.startsWith("ko")?`${D} ${Il[A.week]??`${A.week+1}`}\uC8FC`:`${D} Week ${A.week+1}`},[t,a.language]),u=o.useMemo(()=>i.map(A=>({value:A.value,label:t("calendar.yearMonth",{year:A.year,month:A.month})})),[t,i]),d=o.useMemo(()=>l.map(A=>({value:A.value,label:c(A)})),[l,c]),p=o.useMemo(()=>L4(),[e]),m=o.useMemo(()=>i.find(A=>A.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),f=o.useMemo(()=>l.find(A=>A.value===p.value)?.value??l[0]?.value??"",[l,p]),[b,C]=o.useState(""),[y,_]=o.useState("");o.useEffect(()=>{i.find(A=>A.value===b)||C(m)},[i,b,m]),o.useEffect(()=>{l.find(A=>A.value===y)||_(f)},[l,y,f]);const h=r==="month"?u:d,v=r==="month"?b:y,x=r==="month"?C:_,g=o.useMemo(()=>{const A=t("calendar.dow",{returnObjects:!0});return Array.isArray(A)?A:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[t]),k=h.findIndex(A=>A.value===v),w=o.useCallback(()=>{const A=h.findIndex(D=>D.value===v);A<h.length-1&&x(h[A+1].value)},[h,v,x]),B=o.useCallback(()=>{const A=h.findIndex(D=>D.value===v);A>0&&x(h[A-1].value)},[h,v,x]),N=o.useMemo(()=>[{key:"week",label:t("manager.chart.periodWeek","\uC8FC")},{key:"month",label:t("manager.chart.periodMonth","\uC6D4")}],[t]);return{period:r,setPeriod:s,range:v,setRange:x,activeOptions:h,activeIdx:k,handlePrev:w,handleNext:B,periodOptions:N,monthRange:b,weekRange:y,weekRanges:l,DOW:g}}const lt=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function _n(e,t=!0){return e.future===!0||t&&e.a===-1}function P4({data:e,colorA:t,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:c=140,maxOverride:u,tightMax:d,seriesColors:p,seriesLabels:m,rateLabels:f,grouped:b=!1,baseline:C}){const y=!a,_=!!(p&&p.length>0),h=C,v=o.useMemo(()=>_?Math.max(0,...e.filter(T=>!_n(T,h==null)).map(T=>b?Math.max(0,...(T.parts??[]).map(lt)):(T.parts??[]).reduce((V,Y)=>V+Math.max(0,lt(Y)),0))):Math.max(0,...e.filter(T=>!_n(T,h==null)).flatMap(T=>y?[lt(T.a)]:[lt(T.a),lt(T.b)])),[e,y,_,b]),x=o.useMemo(()=>{if(h==null)return 0;const T=e.filter(V=>!_n(V,h==null)).flatMap(V=>_?(V.parts??[]).map(lt):y?[lt(V.a)]:[lt(V.a),lt(V.b)]);return Math.max(0,...T.map(V=>Math.abs(V-h)))},[e,h,_,y]),g=o.useMemo(()=>{const T=h!=null?x:v;return u??(d?T>0?T:10:Math.ceil(T/10)*10||10)},[v,x,h,u,d]),k=c,w=_?b?Math.max(1,p.length):1:y?1:2,B={"--bar-width":`${o.useMemo(()=>{const T=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(T*w)+6)))},[e.length,w,i])}px`},N={"--bar-group-gap":`${Math.max(0,l)}px`},A=o.useMemo(()=>{const T=Math.round(g/2);return h!=null?[h+g,...T!==g?[h+T]:[],h,...T!==g?[h-T]:[],h-g]:T!==g?[g,T,0]:[g,0]},[g,h]),D=T=>h!=null?1-(T-(h-g))/(2*g):1-T/g,[F,$]=o.useState(null),R=o.useCallback(()=>$(null),[]),U=T=>h!=null&&T>h?`+${T}`:`${T}`,E=F!=null;return o.useEffect(()=>{if(!E)return;const T=()=>$(null),V=Y=>{const K=Y.target;K&&typeof K.closest=="function"&&K.closest(".manager-bar-chart-col")||$(null)};return window.addEventListener("scroll",T,!0),document.addEventListener("pointerdown",V,!0),()=>{window.removeEventListener("scroll",T,!0),document.removeEventListener("pointerdown",V,!0)}},[E]),n.jsxs("div",{className:"manager-bar-chart-wrap",style:N,children:[n.jsx("div",{className:"manager-bar-chart-inner",children:n.jsx("div",{className:"manager-bar-chart-scroll",children:n.jsxs("div",{className:"manager-bar-chart-area",children:[n.jsxs("div",{className:"manager-bar-chart-plot",style:{height:k},children:[A.slice(0,-1).map((T,V)=>n.jsx("div",{className:`manager-bar-chart-gridline${h!=null&&T===h?" manager-bar-chart-gridline--baseline":""}`,style:{top:D(T)*k},children:n.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:T})},V)),e.map((T,V)=>{const Y=_n(T,h==null),K=k/2,G=S=>h!=null?Math.min(K,Math.abs(lt(S)-h)/g*K):Math.min(k,Math.max(0,lt(S)/g*k)),J=Y?0:G(T.a),O=Y?0:G(T.b),I=(T.parts??[]).map(lt);return n.jsx("div",{className:`manager-bar-chart-col${b&&_?" manager-bar-chart-col--group":""}`,style:{cursor:Y?"default":"pointer"},onMouseEnter:Y?void 0:S=>{const H=S.currentTarget.getBoundingClientRect(),P=[T.label,T.sublabel].filter(Boolean).join(" ");let M;if(_&&b&&T.rawPartsB)M=(m??[]).map((L,X)=>{const W=T.rawPartsB[X]??0;return{text:W>0?`${L}: ${I[X]??0}% (${T.rawParts?.[X]??0}/${W})`:`${L}: -`,color:(p??[])[X]}});else if(_&&b)M=(m??[]).map((L,X)=>({text:`${L}: ${U(I[X]??0)}`,color:(p??[])[X]}));else if(_){const L=(m??[]).map((W,ae)=>({text:`${W}: ${I[ae]??0}`,color:(p??[])[ae]})),X=L.filter((W,ae)=>(I[ae]??0)>0);M=X.length?X:L}else f&&!y?M=[{text:`${r} ${lt(T.a)}%`,color:t},{text:`${s} ${lt(T.b)}%`,color:a}]:f&&T.rawB!==void 0?M=[{text:`${f.total} ${T.rawB}`},{text:`${f.done} ${T.rawA??0}`,color:t}]:y?M=[{text:`${r}: ${lt(T.a)}`,color:t}]:M=[{text:`${r}: ${lt(T.a)}`,color:t},{text:`${s}: ${lt(T.b)}`,color:a}];$({rect:{left:H.left,top:H.top,right:H.right,bottom:H.bottom,width:H.width,height:H.height},title:P,items:M})},onMouseLeave:R,children:!Y&&(_&&b?(p??[]).map((S,H)=>{const P=I[H]??0;if(h==null)return n.jsx("div",{className:"manager-bar-chart-bar",style:{...B,height:G(P),background:S}},H);const M=lt(P)<h;return n.jsxs("div",{className:"manager-bar-chart-slot",style:B,children:[n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!M&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:G(P),background:S}})}),n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:M&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:G(P),background:S}})})]},H)}):_?n.jsx("div",{className:"manager-bar-chart-stack",style:B,children:(()=>{const S=I.reduce((P,M,L)=>M>0?L:P,-1);let H=k;return I.map((P,M)=>{if(P<=0)return null;const L=Math.min(H,P/g*k);return H-=L,n.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:L,background:(p??[])[M],borderRadius:M===S?"6px 6px 0 0":void 0}},M)})})()}):h!=null?n.jsx(n.Fragment,{children:[{v:lt(T.a),c:t},...y?[]:[{v:lt(T.b),c:a}]].map(({v:S,c:H},P)=>n.jsxs("div",{className:"manager-bar-chart-slot",style:B,children:[n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:S>=h&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:G(S),background:H}})}),n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:S<h&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:G(S),background:H}})})]},P))}):n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"manager-bar-chart-bar",style:{...B,height:J,background:t}}),!y&&n.jsx("div",{className:"manager-bar-chart-bar",style:{...B,height:O,background:a}})]}))},V)})]}),n.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((T,V)=>{const Y=_n(T,h==null);return n.jsxs("span",{className:`manager-bar-chart-x-axis__label${Y?" manager-bar-chart-x-axis__label--future":""}`,children:[n.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[T.isToday&&n.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:t}}),T.label]}),T.sublabel&&n.jsx("span",{className:"caption-1",children:T.sublabel})]},V)})})]})})}),F&&n.jsx(Fn,{anchorRect:F.rect,title:F.title,items:F.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Ol({control:e}){const{t}=be.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:c,periodOptions:u,period:d,setPeriod:p}=e,m=d==="week"?t("calendar.prevWeek","\uC774\uC804 \uC8FC"):t("calendar.prevMonth","\uC774\uC804 \uB2EC"),f=d==="week"?t("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):t("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return n.jsxs("div",{className:"manager-section-controls",children:[n.jsx(le,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),n.jsx(nn,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:t("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),n.jsx(le,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:f,showTooltipInfo:f,disabled:r<=0,onClick:c}),n.jsx(Sn,{ariaLabel:t("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:u,value:d,onChange:b=>p(b),size:40})]})}function so(e,t,a,r=!0){const s=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,l)=>{const c=new Date(t);c.setDate(t.getDate()+l);const u=(e[`${c.getFullYear()}\uB144 ${c.getMonth()+1}\uC6D4`]?.daily??[])[c.getDate()-1],d=u!=null&&_n(u,r)||c>s;return{dt:c,entry:u,isFuture:d}})}function I4(e,t,a,r,s=!0){const{period:i,monthRange:l,weekRange:c,weekRanges:u,DOW:d}=t,p=r?.startsWith("ko"),m=Kn(),f=m.getFullYear(),b=m.getMonth()+1,C=m.getDate();if(i==="month"){const h=e[l]??{weekly:[],daily:[]},v=l.match(/^(\d+)년 (\d+)월$/),x=v?Number(v[1]):null,g=v?Number(v[2]):null,k=x&&g?on(x,g-1):1;return h.weekly.map((w,B)=>{const N=B+1;let A=w.label,D=!1,F=!1;if(x&&g){const $=k+B*7,R=new Date(x,g-1,$+6),U=R.getMonth()+1,E=R.getDate(),T=U===g?`${E}`:`${U}/${E}`;A=a("manager.chart.weekRange",{start:$,end:T});const V=new Date(f,b-1,C).getTime();D=V>=new Date(x,g-1,$).getTime()&&V<=R.getTime(),F=x>f||x===f&&(g>b||g===b&&$>C)}return{...w,label:A,sublabel:p?`${Il[N-1]??N}\uC8FC`:`Week ${N}`,isToday:D,future:w.future===!0||F||void 0,a:F?-1:w.a,b:F?0:w.b}})}const y=u.find(h=>h.value===c);if(!y)return[];const _=new Date(y.year,y.month-1,on(y.year,y.month-1)+y.week*7);return so(e,_,m,s).map(({dt:h,entry:v,isFuture:x})=>{const g=h.getMonth()+1,k=h.getDate(),w=h.getFullYear();return{label:g===y.month&&w===y.year?`${k}`:`${g}/${k}`,sublabel:d[h.getDay()]??"",future:x||void 0,a:x?-1:v&&v.a>0?v.a:0,b:x?0:v&&v.b>0?v.b:0,isToday:w===f&&g===b&&k===C,...v?.parts?{parts:x?v.parts.map(()=>0):v.parts}:{},...v?.partsB?{partsB:x?v.partsB.map(()=>0):v.partsB}:{}}})}const F4={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function O4({size:e="medium",barWidth:t,titleKey:a,data:r,colorA:s,colorB:i,labelAKey:l,labelBKey:c,showTotal:u=!1,totalUnitKey:d,totalLabelKey:p,control:m,hideControls:f=!1,rate:b=!1,rateAgg:C="dayMean",tightMax:y=!1,avgMode:_=!1,totalFormat:h,series:v,seriesMode:x="stack",loading:g=!1,onDetail:k,headExtra:w,headSegment:B,icon:N,disc:A,onClick:D,cardAriaLabel:F,cardTooltip:$,detailSize:R=32,barGap:U,baseline:E,className:T,inGrid:V=!1}){const{t:Y,i18n:K}=be.useTranslation(),G=F4[e],J=Fl(r),O=m??J,I=o.useMemo(()=>I4(r,O,Y,K.language,E==null),[r,O,Y,K.language,E]),S=x==="group"&&!!v&&v.length>0;U!=null&&!S&&fn("bar-chart-bargap-without-group","[BarChart] barGap \uC740 seriesMode='group' + series \uC5D0\uC11C\uB9CC \uC4F0\uC778\uB2E4 \u2014 \uADF8 \uBC16\uC5D0\uC11C\uB294 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4.");const H=o.useMemo(()=>{if(!b)return I;const W=O.period==="month"?O.monthRange.match(/^(\d+)년 (\d+)월$/):null,ae=Kn(),ue=v?.length??0,Se=pe=>{const re=[],q=[],se=[];for(let de=0;de<ue;de++){let ve=0,ye=0,Be=0;for(const he of pe){const ke=lt(he.a[de]),je=lt(he.b[de]);je<=0||(ve+=ke,ye+=je,Be+=ke/je*100)}re.push(C==="weighted"?ye>0?Math.round(ve/ye*100):0:pe.length?Math.round(Be/pe.length):0),q.push(ve),se.push(ye)}return{pct:re,ra:q,rb:se}};return I.map((pe,re)=>{let q=pe.a===-1?-1:pe.b>0?Math.round(pe.a/pe.b*100):0;if(W&&!_n(pe)){const de=Number(W[1]),ve=Number(W[2])-1,ye=so(r,new Date(de,ve,on(de,ve)+re*7),ae).filter(Be=>!Be.isFuture);if(C==="weighted"){let Be=0,he=0;for(const{entry:ke}of ye)ke&&ke.b>0&&(Be+=ke.a,he+=ke.b);q=he>0?Math.round(Be/he*100):0}else q=ye.length?Math.round(ye.reduce((Be,{entry:he})=>Be+(he&&he.b>0?he.a/he.b*100:0),0)/ye.length):0}let se=null;if(S&&!_n(pe)){let de;if(W){const ye=Number(W[1]),Be=Number(W[2])-1;de=so(r,new Date(ye,Be,on(ye,Be)+re*7),ae).filter(he=>!he.isFuture).map(({entry:he})=>({a:he?.parts??[],b:he?.partsB??[]}))}else de=[{a:pe.parts??[],b:pe.partsB??[]}];const ve=Se(de);se={parts:ve.pct,rawParts:ve.ra,rawPartsB:ve.rb}}return{...pe,a:q,b:pe.a===-1?0:c&&pe.parts&&pe.parts[1]>0?Math.round(pe.parts[0]/pe.parts[1]*100):0,rawA:pe.a===-1?-1:pe.a,rawB:pe.b,...se??{}}})},[I,b,C,c,O.period,O.monthRange,r,S,v?.length]),P=o.useMemo(()=>{if(b||_){const ae=(O.period==="week"?I:r[O.monthRange]?.daily??[]).filter(Se=>Se.a!==-1);if(ae.length===0)return 0;if(b&&C==="weighted"){let Se=0,pe=0;for(const re of ae)re.b>0&&(Se+=re.a,pe+=re.b);return pe>0?Math.round(Se/pe*100):0}const ue=b?ae.reduce((Se,pe)=>Se+(pe.b>0?pe.a/pe.b*100:0),0):ae.reduce((Se,pe)=>Se+(pe.a>0?pe.a:0),0);return Math.round(ue/ae.length)}const W=O.period==="month"?r[O.monthRange]?.daily??[]:H;return E!=null?W.reduce((ae,ue)=>ae+(_n(ue,!1)?0:lt(ue.a)+(c?lt(ue.b):0)),0):W.reduce((ae,ue)=>ae+(ue.a>0?ue.a:0)+(c&&ue.b>0?ue.b:0),0)},[H,I,b,C,_,E,c,O.period,O.monthRange,r]),M=v&&v.length>0?v.map(W=>({color:W.color,label:W.label})):[{color:s,label:Y(l)},...c?[{color:i,label:Y(c)}]:[]],L=e==="small",X=[L?"manager-section--compact":e==="large"?"manager-section--full":void 0,T].filter(Boolean).join(" ")||void 0;return n.jsx(oo,{className:X,inGrid:V,icon:N,disc:A,onClick:D,ariaLabel:F,tooltip:$,headSegment:B,headMenuItems:k?[{label:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:k,closeOnSelect:!0}]:void 0,title:Y(a),titleClassName:L?"h5 chart-section-title--small":void 0,headRight:L?w??void 0:({collapsed:W})=>n.jsxs(n.Fragment,{children:[!f&&n.jsx(Ol,{control:O}),w,k&&!W&&n.jsx("span",{className:"manager-bar-chart-detail-btn",children:n.jsx(le,{htmlType:"button",size:R,type:"dot",icon:"list",ariaLabel:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:k})})]}),subRow:n.jsxs(n.Fragment,{children:[u?b||_||p&&h?n.jsx(Za,{label:L?void 0:`${Y(O.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${Y(p??l)}`,children:h?(h(P).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((W,ae)=>/\d/.test(W)?n.jsx("span",{className:"barchart-total__num h0",children:W},ae):n.jsx("span",{className:"barchart-total__unit h5",children:W},ae)):n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"barchart-total__num h0",children:P}),d&&n.jsx("span",{className:"barchart-total__unit h5",children:Y(d)})]})}):n.jsxs(Za,{children:[n.jsx("span",{className:"barchart-total__num h0",children:P}),n.jsx("span",{className:"barchart-total__unit h5",children:Y(l)}),d&&n.jsx("span",{className:"barchart-total__unit h5",children:Y(d)})]}):n.jsx("span",{}),n.jsx(ro,{items:M,className:"caption-1"})]}),children:g?n.jsx("div",{className:"manager-bar-chart-loading",children:n.jsx(Sa,{size:32})}):n.jsx(P4,{data:H,colorA:s,colorB:c?i:void 0,labelA:Y(l),labelB:c?Y(c):void 0,barWidth:t??G.barWidth,barGap:U,baseline:E,height:G.height,maxOverride:b?100:void 0,tightMax:y,seriesColors:v?.map(W=>W.color),seriesLabels:v?.map(W=>W.label),rateLabels:b?{total:Y("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:Y("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:S})})}const Hl=(e,t,a)=>{const r=new Date(Date.UTC(e,t,a));return`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}-${String(r.getUTCDate()).padStart(2,"0")}`},Vl=(e,t,a,r)=>({from:ri(e,t,a),to:new Date(ri(e,t,a+r).getTime()-1),fromYmd:Hl(e,t,a),toYmd:Hl(e,t,a+r-1)});function H4(e,t=0){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=Kn(),l=s?Number(s[1]):i.getFullYear(),c=(s?Number(s[2]):i.getMonth()+1)-1+t,u=new Date(Date.UTC(l,c+1,0)).getUTCDate();return Vl(l,c,1,u)}const a=e.weekRanges.find(s=>s.value===e.weekRange);if(!a){const s=new Date,i=ga();return{from:s,to:s,fromYmd:i,toYmd:i}}const r=on(a.year,a.month-1);return Vl(a.year,a.month-1,r+(a.week+t)*7,7)}const zl={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Wl(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function ql({done:e,total:t,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:c=!1,hideLabel:u=!1}){const d=typeof s=="number"?s:zl[s].diameter,p=i??(typeof s=="number"?12:zl[s].strokeWidth),m=d/2,f=(d-p)/2,b=2*Math.PI*f;if(a&&a.length>0){const h=a.reduce((v,x)=>{const g=v.length>0?v[v.length-1].acc:0,k=Number.isFinite(x.ratio)?x.ratio:0,w=Math.max(0,Math.min(k,1-g));return v.push({color:x.color,rotate:-90+g*360,dash:b*w,acc:g+w}),v},[]);return n.jsx("div",{className:"ring-chart",style:{width:d,height:d},children:n.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),h.map((v,x)=>v.dash>0&&n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:v.color,strokeWidth:p,strokeDasharray:`${v.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${v.rotate} ${m} ${m})`},x))]})})}const C=(t??0)>0?Math.min((e??0)/t,1):0,y=b*C,_=b-y;return n.jsxs("div",{className:"ring-chart",style:{width:d,height:d},children:[n.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),C>0&&n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${y} ${_}`,strokeLinecap:C<.02||C>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!c&&n.jsxs("div",{className:`ring-chart__center${u?"":` ${d<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[n.jsx("span",{className:`ring-chart__pct ${d<=96?"h2":"h1"}`,children:Wl(C)}),!u&&n.jsx("span",{className:`ring-chart__label ${d<=96?"caption-2":"caption-1"}${d<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function V4({titleKey:e,headRight:t,icon:a,showTotal:r,totalLabelKey:s,legend:i,loading:l,className:c,inGrid:u=!1,onClick:d,ariaLabel:p,tooltip:m,...f}){const{t:b}=be.useTranslation();if(!e)return n.jsx(ql,{...f});const C=(f.total??0)>0?Wl(Math.min((f.done??0)/f.total,1)):0,y=f.size==="small",_=f.size==="large",h=[c,y?"manager-section--compact":_?"manager-section--full":""].filter(Boolean).join(" ")||void 0,v=a&&n.jsx("span",{className:"chart-section-icon",children:n.jsx(qe,{icon:a,className:"chart-section-icon-inner"})});return n.jsx(oo,{className:h,inGrid:u,onClick:d,ariaLabel:p,tooltip:m,title:b(e),titleClassName:y?"h5 chart-section-title--small":void 0,headRight:v||(y?void 0:t),subRow:(r||i)&&n.jsxs(n.Fragment,{children:[r?n.jsxs(Za,{label:!y&&s?b(s):void 0,children:[n.jsx("span",{className:"barchart-total__num h0",children:C}),n.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):n.jsx("span",{}),i&&n.jsx(ro,{items:i})]}),children:l?n.jsx("div",{className:"manager-bar-chart-loading",children:n.jsx(Sa,{size:32})}):n.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:n.jsx(ql,{...f,hideCenter:f.hideCenter??y})})})}function z4({label:e,value:t,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:c}){const u=o.useRef(null),{anchorRect:d,openAt:p,close:m}=va(),f=o.useCallback(()=>{i&&u.current&&p(u.current)},[i,p]),b=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),C=a===void 0?void 0:a>0?`+${a}`:`${a}`,y=o.useCallback(_=>{l&&(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),l())},[l]);return n.jsxs("div",{ref:u,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?y:void 0,onPointerEnter:f,onPointerLeave:m,onFocus:f,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,t,C].filter(_=>_!==void 0&&_!=="").join(" "):void 0,children:[i&&d&&n.jsx(bn,{anchorRect:{left:d.left,top:d.top+21,right:d.right,bottom:d.bottom,width:d.width,height:d.height},text:i}),n.jsxs("div",{className:"manager-stat-card__label-row",children:[n.jsx("span",{className:"manager-stat-card__label h5",children:e}),s&&n.jsx("span",{className:"manager-stat-card__icon",children:n.jsx(qe,{icon:s,className:"manager-stat-card__icon-inner"})})]}),n.jsxs("div",{className:"manager-stat-card__content",children:[n.jsxs("div",{className:"manager-stat-card__left",children:[n.jsx("div",{className:"manager-stat-card__value h2",children:t}),C&&n.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${b??"neutral"} caption-1`,children:C})]}),c&&n.jsx("div",{className:"manager-stat-card__body",children:c})]})]})}function Ul({value:e,onChange:t,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:c=!1,ariaLabel:u,length:d,className:p,label:m,formatValue:f,labelPos:b,labelAlign:C="right",showMinMax:y=!1,minLabel:_,maxLabel:h,showBgTick:v=!1,showFillTick:x=!1,tickStep:g,tickShape:k="dot"}){t&&!u&&fn("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 w=Math.min(r,Math.max(a,e)),B=r>a?(w-a)/(r-a):0,N=i==="vertical",A=!t,D=S=>t?.(Number(S.target.value)),F=typeof d=="number"?`${d}px`:d,$={"--slider-ratio":String(B),"--slider-thumb":`${l}px`,...F?N?{height:F}:{width:F}:{}},R=g??s,U=(v||x)&&R>0&&r>a?Math.floor((r-a)/R+1e-6):0;if(U>0&&U<=100){const S=k!=="dash",H=W=>S?`radial-gradient(circle, ${W} 0.5px, transparent 1px)`:N?`linear-gradient(to bottom, transparent calc(50% - 2px), ${W} calc(50% - 2px), ${W} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${W} calc(50% - 2px), ${W} calc(50% + 2px), transparent calc(50% + 2px))`,P=S?"2px":"4px",M=[],L=[],X=[];for(let W=0;W<=U;W++){const ae=W*R/(r-a);if(ae>1+1e-6)break;const ue=`${((N?1-ae:ae)*100).toFixed(4)}%`,Se=ae<=B+1e-6;if(Se?!x:!v)continue;const pe=Se?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";M.push(H(pe)),L.push(N?`${P} var(--slider-thumb)`:`var(--slider-thumb) ${P}`),X.push(N?`center ${ue}`:`${ue} center`)}M.push(N?"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))"),L.push("100% 100%"),X.push("0 0"),$.backgroundImage=M.join(", "),$.backgroundSize=L.join(", "),$.backgroundPosition=X.join(", "),$.backgroundRepeat="no-repeat"}const E=f?f(w):m==="percent"?`${Math.round(r>a?(w-a)/(r-a)*100:0)}%`:m==="count"?`${w} / ${r}`:w===a&&_?_:w===r&&h?h:void 0,T=n.jsx("input",{type:"range",className:De("slider",`slider--${i}`,A&&"slider--static",!m&&!y&&p),min:a,max:r,step:s,value:w,disabled:c,readOnly:A,tabIndex:A?-1:void 0,"aria-label":u,"aria-valuetext":E,"aria-orientation":i,onChange:D,style:$});if(!m&&!y)return T;const V=n.jsx("span",{className:"slider-wrap__minmax caption-1",children:_??a}),Y=n.jsx("span",{className:"slider-wrap__minmax caption-1",children:h??r}),K=y?n.jsxs("div",{className:De("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[N?Y:V,T,N?V:Y]}):T;if(!m)return K;const G=b??(N?"bottom":"right"),J=`${Math.round(r>a?(w-a)/(r-a)*100:0)}%`,O=f?f(w):m==="percent"?J:m==="count"?`${w} / ${r}`:String(w),I=n.jsx("span",{className:"slider-wrap__value body-3b",children:O});return n.jsxs("div",{className:De("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${G}`,`slider-wrap--align-${C}`,p),children:[K,I]})}const W4=.86,q4=250,io=(e,t,a,r)=>Math.round(Math.min(r,Math.max(a,e-t))),lo=(e,t,a,r)=>{const s=io(e,t,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function co({analyser:e,audioElement:t,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:c=-60,refDb:u=-35,displayMin:d=-5,displayMax:p=25,className:m,ariaLabel:f}){const b=o.useRef(null),C=o.useRef(null),y=o.useRef(null),_=o.useRef(null),[h,v]=o.useState(null);o.useEffect(()=>{const w=T=>{const V=lo(T,u,d,p);y.current&&(y.current.textContent=V);const Y=b.current;Y&&(Y.setAttribute("aria-valuenow",String(io(T,u,d,p))),Y.setAttribute("aria-valuetext",V))},B=e??J0(t)??(h&&h.el===t?h.node:null),N=C.current;if(!B||!N){N?.style.setProperty("--meter-level","0"),w(c);let T=!1;return!e&&t&&Pa(t).then(V=>{!T&&V&&v({el:t,node:V})}),()=>{T=!0}}Sr();const A=new Float32Array(B.fftSize);let D=0,F=0,$=0,R=0,U=null;const E=T=>{const V=Q0(B,A);D=V>D?V:D*W4;const Y=D>1e-5?20*Math.log10(D):-1/0,K=Math.max(c,Y),G=K-u,J=Math.min(1,Math.max(0,(G-d)/(p-d)));if(N.style.setProperty("--meter-level",J.toFixed(3)),F+=K,$+=1,T-R>=q4){const O=F/$;U=U==null?O:U*.6+O*.4,w(U),F=0,$=0,R=T}_.current=requestAnimationFrame(E)};return _.current=requestAnimationFrame(E),()=>{_.current!=null&&cancelAnimationFrame(_.current),_.current=null}},[e,t,h,c,u,d,p]);const x=typeof r=="number"?`${r}px`:r,g=n.jsx("div",{className:"audio-meter__track",style:x?a==="vertical"?{height:x}:{width:x}:{},children:n.jsx("div",{ref:C,className:"audio-meter__fill"})}),k=i??(a==="vertical"?"bottom":"right");return n.jsxs("div",{ref:b,className:De("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${k}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":f,"aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":io(c,u,d,p),"aria-valuetext":lo(c,u,d,p),children:[g,s&&n.jsx("span",{ref:y,className:"audio-meter__value caption-2",children:lo(c,u,d,p)})]})}const Gl=260;function Kl({message:e,position:t,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,c]=o.useState(!1),u=o.useRef(l),d=o.useRef(s);o.useEffect(()=>{u.current=l},[l]),o.useEffect(()=>{d.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),f=o.useRef(r);o.useEffect(()=>{f.current=r});const b=a,C=o.useRef(null),y=o.useRef(0),_=o.useRef(0),h=o.useRef(!1),v=o.useRef(null),x=o.useRef(null),g=o.useRef(null),k=o.useRef(null),w=o.useRef(()=>{});w.current=A=>{A<0||(y.current=Date.now(),_.current=A,C.current=setTimeout(()=>{C.current=null,i(!1),v.current=setTimeout(()=>{c(!1);try{f.current()}catch{}},Gl)},A))};const B=o.useCallback(()=>{h.current||!C.current||(h.current=!0,clearTimeout(C.current),C.current=null,_.current=Math.max(0,_.current-(Date.now()-y.current)))},[]),N=o.useCallback(()=>{h.current&&(h.current=!1,w.current(_.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(C.current&&(clearTimeout(C.current),C.current=null),v.current&&(clearTimeout(v.current),v.current=null)),e){if(d.current)return b>0&&!C.current&&(h.current?_.current=b:w.current(b)),m.current=e,()=>{C.current&&(clearTimeout(C.current),C.current=null),v.current&&(clearTimeout(v.current),v.current=null)};const A=()=>{const D=p.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",t==="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"),k.current&&clearTimeout(k.current),k.current=setTimeout(()=>{k.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};u.current?(A(),i(!0)):(c(!0),x.current=requestAnimationFrame(()=>{g.current=requestAnimationFrame(()=>{A(),i(!0)})})),b>0&&(h.current=!1,w.current(b))}else i(!1),v.current=setTimeout(()=>c(!1),Gl);return m.current=e,()=>{C.current&&clearTimeout(C.current),v.current&&clearTimeout(v.current),x.current&&cancelAnimationFrame(x.current),g.current&&cancelAnimationFrame(g.current),k.current&&clearTimeout(k.current),C.current=null,v.current=null,x.current=null,g.current=null,k.current=null}},[e,b,t]),{mounted:l,showing:s,popupRef:p,pause:B,resume:N}}function ta({message:e="",position:t="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:c,pause:u,resume:d}=Kl({message:e,position:t,duration:s,onClose:r}),p=o.useRef(null),[m,f]=o.useState(!1);if(o.useEffect(()=>{l?f(!0):i||f(!1)},[l,i]),!i)return null;const b=a==="notice"||a==="warning"?a:"normal",C=n.jsx("div",{ref:c,className:`toast toast--${t} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:y=>{p.current=y.pointerType},onMouseEnter:()=>{p.current!=="touch"&&u()},onMouseLeave:d,onFocusCapture:u,onBlurCapture:d,children:n.jsx("div",{className:`toast__inner toast__inner--${b} body-2`,"aria-hidden":m||l?void 0:!0,children:e})});return typeof document<"u"?qt.createPortal(C,document.body):C}const U4=24;function G4({value:e,max:t=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:c,labelAlign:u="right",ariaLabel:d,className:p}){const m=Number.isFinite(t)&&t>0?t:1,f=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),b=f/m*100,C=Number.isFinite(t)&&t>0?t:0,y=c??(a>=U4?"inside":"bottom"),_=y==="center"?"inside":y,h=_==="inside"&&(u==="left"?b>=15:u==="center"?b>=50:b>=85),v={};return r&&(v["--progress-bar-fill"]=r),s&&(v["--progress-bar-track"]=s),n.jsxs("div",{className:De("progress-bar",`progress-bar--${a}`,`progress-bar--label-${_}`,i&&`progress-bar--align-${u}`,i&&h&&"progress-bar--label-on-fill",p),style:v,children:[n.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":f,"aria-valuemin":0,"aria-valuemax":C,"aria-valuetext":i?l?l(f):i==="percent"?void 0:i==="raw"?String(f):`${f} / ${C}`:void 0,"aria-label":d,children:n.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&n.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(f):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(f):`${f} / ${C}`})]})}const Yl={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},K4="rgba(255, 255, 255, 0.16)";function Zl({max:e,index:t,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:c}){const{t:u}=be.useTranslation(),d=tn("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(t)?Math.max(0,Math.min(t,e-1)):0,m=c??u("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),f={};if(a&&(f["--pi-inactive-bg"]=a),r&&(f["--pi-inactive-color"]=r),s&&(a||(f["--pi-inactive-bg"]=K4),r||(f["--pi-inactive-color"]="var(--color-white)")),i==="dot")return n.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:f,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&n.jsx("span",{style:Yl,children:m}),Array.from({length:e}).map((C,y)=>n.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${y<p?" done":y===p?" active":""}`},y))]});const b=l?n.jsx("span",{role:"status",style:Yl,children:m}):null;return d?n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:f,role:"list","aria-label":m,children:n.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),b]}):n.jsxs(n.Fragment,{children:[b,n.jsx("div",{className:"progress-indicator",style:f,role:"list","aria-label":m,children:Array.from({length:e}).map((C,y)=>n.jsx("span",{role:"listitem","aria-current":y===p?"step":void 0,className:`progress-indicator-dot ${y<p?" done":y===p?" active":""} body-3`,children:y+1},y))})]})}function Y4(e){if(!e)return[];const t=[];let a=0,r="";for(const s of e.trim()){if(s==="("?a++:s===")"&&a--,/\s/.test(s)&&a===0){r&&(t.push(r),r="");continue}r+=s}return r&&t.push(r),t}function Z4({children:e,className:t,style:a}){return n.jsx("div",{className:t?`table-cell ${t}`:"table-cell",style:a,children:e})}function uo({variant:e="default",children:t,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:c,onDragEnd:u,expandedContent:d}){const p=o.useCallback(m=>{s&&m.target===m.currentTarget&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),s())},[s]);return e==="loading"?n.jsx("div",{className:"table-row-wrap",children:n.jsx("div",{className:"table-row table-row--loading",children:n.jsx(Sa,{size:28})})}):e==="empty"?n.jsx("div",{className:"table-row-wrap",children:n.jsx("div",{className:"table-row table-row--empty body-3",children:t})}):n.jsxs("div",{className:"table-row-wrap",children:[n.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?p:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:c,onDragEnd:u,role:s?"button":void 0,tabIndex:s?0:void 0,children:t}),d&&n.jsx("div",{className:"table-row-expand",children:d})]})}function X4({dir:e}){return n.jsx(e==="asc"?hs:ms,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function J4({children:e,onClick:t,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=n.jsxs(n.Fragment,{children:[e,r&&n.jsx(X4,{dir:r})]});return n.jsxs("div",{onClick:t,role:"columnheader","aria-sort":s,className:De("table-field body-3",a,r?"table-field--sorted":"",i?"table-field--resizable":""),children:[t?n.jsx("button",{type:"button",className:"table-field__button",children:l}):l,i&&n.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:c=>c.stopPropagation(),"aria-hidden":"true"})]})}function po({fields:e=[],headerGroups:t,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:c,onRowDragStart:u,onRowDragEnd:d,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:f,resizable:b=!1,resizeMode:C="grow",resizeStorageKey:y,size:_="small",title:h,icon:v,count:x,collapsed:g=!1,onToggleCollapse:k,headerActions:w,empty:B,loading:N,dragOver:A=!1,onDragOver:D,onDragLeave:F,onDrop:$,renderExpandedRow:R,expandedId:U}){const{t:E}=be.useTranslation(),T=tn("(max-width: 767px)"),V=f&&T?f:null,Y=b&&!V,K=48,G=y?`table-cols:${y}`:null,J=o.useRef(null),O=o.useRef(()=>!1),I=o.useRef([]),S=o.useRef(null),H=oe=>{if(!oe||typeof window>"u")return null;try{const ee=JSON.parse(window.localStorage.getItem(oe)??"null");return Array.isArray(ee)&&ee.length>0&&ee.every(fe=>typeof fe=="number"&&Number.isFinite(fe)&&fe>0)?ee:null}catch{return null}},[P,M]=o.useState(()=>H(G)),[L,X]=o.useState(G);L!==G&&(X(G),M(H(G)));const W=o.useRef(P);o.useEffect(()=>{W.current=P},[P]);const ae=o.useCallback(oe=>{const ee=S.current;if(!ee)return;const fe=W.current;if(fe){const te=[...fe];if(ee.next!=null&&ee.startWNext!=null){const ge=oe.clientX-ee.startX,_e=Math.max(K-ee.startW,Math.min(ee.startWNext-K,ge));te[ee.index]=ee.startW+_e,te[ee.next]=ee.startWNext-_e}else te[ee.index]=Math.max(K,ee.startW+(oe.clientX-ee.startX));W.current=te,M(te)}},[]),ue=o.useCallback(()=>{if(S.current=null,window.removeEventListener("pointermove",ae),window.removeEventListener("pointerup",ue),window.removeEventListener("pointercancel",ue),document.body.style.cursor="",document.body.style.userSelect="",G&&W.current)try{window.localStorage.setItem(G,JSON.stringify(W.current))}catch{}},[ae,G]),Se=o.useCallback((oe,ee)=>{ee.preventDefault(),ee.stopPropagation();const fe=J.current;if(!fe)return;const te=Array.from(fe.children).map(_e=>_e.getBoundingClientRect().width),ge=C==="fit"?e.findIndex((_e,Ye)=>Ye>oe&&_e.resizable!==!1):-1;S.current=ge>=0?{index:oe,startX:ee.clientX,startW:te[oe],next:ge,startWNext:te[ge]}:{index:oe,startX:ee.clientX,startW:te[oe]},W.current=te,M(te),window.addEventListener("pointermove",ae),window.addEventListener("pointerup",ue),window.addEventListener("pointercancel",ue),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[ae,ue,C,e]),pe=o.useCallback(()=>{const oe=J.current,ee=oe?.closest(".table-wrap");if(!oe||!ee)return;const fe=ee.style.getPropertyValue("--table-grid-cols");ee.style.setProperty("--table-grid-cols",e.map(($e,Ie)=>O.current(Ie)?I.current[Ie]:"max-content").join(" "));const te=Array.from(ee.querySelectorAll(".table-row")).filter($e=>!$e.classList.contains("table-row--loading")&&!$e.classList.contains("table-row--empty")),ge=e.map(($e,Ie)=>{let Ve=oe.children[Ie]?.getBoundingClientRect().width??0;for(const ot of te){const We=ot.children[Ie];We&&(Ve=Math.max(Ve,We.getBoundingClientRect().width))}const at=O.current(Ie)?parseFloat(I.current[Ie]):NaN;return Number.isFinite(at)?at:Math.max(K,Math.ceil(Ve))}),_e=window.getComputedStyle(oe),Ye=oe.clientWidth-(parseFloat(_e.paddingLeft)||0)-(parseFloat(_e.paddingRight)||0);fe?ee.style.setProperty("--table-grid-cols",fe):ee.style.removeProperty("--table-grid-cols");let He=ge;const Ue=ge.reduce(($e,Ie,Ve)=>$e+(O.current(Ve)?Ie:0),0),Ee=ge.reduce(($e,Ie,Ve)=>$e+(O.current(Ve)?0:Ie),0),Ge=Ye-Ue;if(Ye>0&&Ee>0&&Ge>0){const $e=Ge/Ee;He=ge.map((Ve,at)=>O.current(at)?Ve:Math.max(K,Math.round(Ve*$e)));const Ie=Math.round(Ge-He.reduce((Ve,at,ot)=>Ve+(O.current(ot)?0:at),0));if(Ie!==0){let Ve=-1;He.forEach((at,ot)=>{!O.current(ot)&&(Ve<0||at>He[Ve])&&(Ve=ot)}),Ve>=0&&(He[Ve]=Math.max(K,He[Ve]+Ie))}}if(M(He),G)try{window.localStorage.setItem(G,JSON.stringify(He))}catch{}},[e,C,G]);o.useEffect(()=>()=>{S.current&&(window.removeEventListener("pointermove",ae),window.removeEventListener("pointerup",ue),window.removeEventListener("pointercancel",ue),document.body.style.cursor="",document.body.style.userSelect="")},[ae,ue]);const re=Y4(m),q=re.filter(oe=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(oe));q.length>0&&fn(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${q.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: ${m})`);const se=e.findIndex(oe=>!!oe.sortDir);e.filter(oe=>!!oe.sortDir).length>1&&fn("table-multi-sort","[ihabdevteam-core] Table \uC758 fields \uC5D0 sortDir \uC774 \uB458 \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. aria-sort \uB294 \uD45C \uD558\uB098\uC5D0 \uD55C \uCE78\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC5B4 \uCCAB \uCE78\uB9CC \uBC29\uD5A5\uC73C\uB85C \uC54C\uB9AC\uACE0 \uB098\uBA38\uC9C0\uB294 none \uC73C\uB85C \uB461\uB2C8\uB2E4.");const de=oe=>oe===se?e[oe].sortDir==="asc"?"ascending":"descending":e[oe].onClick?"none":void 0,ve=oe=>/^\d+(\.\d+)?px$/.test(re[oe]??"");O.current=ve,I.current=re;const ye=oe=>C==="fit"&&!ve(oe)?"fr":"px",Be=P&&P.length===e.length&&(C==="fit"||a.length>0),he=V??(Be?e.map((oe,ee)=>oe.resizable===!1&&re[ee]?re[ee]:`${P[ee]}${ye(ee)}`).join(" "):m),ke=he?{"--table-grid-cols":he}:void 0,je=h!==void 0;return n.jsx("div",{className:`table-wrap table-wrap--${_}${Y?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${g?" table-wrap--collapsed":""}`,style:ke,onDragOver:D,onDragLeave:F,onDrop:$,children:n.jsxs("div",{className:"table body-2",children:[je&&n.jsxs("div",{className:"table-header",onClick:k,role:k?"button":void 0,tabIndex:k?0:void 0,"aria-expanded":k?!g:void 0,onKeyDown:k?oe=>{oe.target===oe.currentTarget&&(oe.key==="Enter"||oe.key===" ")&&(oe.preventDefault(),k())}:void 0,children:[k&&n.jsx(le,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:g?"chevron-right":"chevron-down",ariaLabel:g?E("common.expand","\uD3BC\uCE58\uAE30"):E("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),v&&n.jsx(qe,{icon:v,label:typeof h=="string"?h:void 0,className:"table-header__icon"}),n.jsx("span",{className:"table-header__title h5b",children:h}),x!==void 0&&n.jsx("span",{className:"table-header__count body-3b",children:x}),w&&n.jsx("span",{className:"table-header__actions",onClick:oe=>oe.stopPropagation(),children:w})]}),!g&&n.jsxs(n.Fragment,{children:[t&&t.length>0&&n.jsx("div",{className:"table-fields table-fields--groups",children:t.map((oe,ee)=>n.jsx("div",{className:De("table-field body-3",oe.className),style:{gridColumn:`span ${oe.span}`},children:oe.label},ee))}),n.jsxs("div",{className:De("table-fields-strip",Y&&"table-fields-strip--resizable"),children:[n.jsx("div",{className:"table-fields",ref:J,children:e.map((oe,ee)=>n.jsx(J4,{onClick:oe.onClick,className:oe.className,sortDir:oe.sortDir,ariaSort:de(ee),onResizeStart:Y&&ee<e.length-1&&oe.resizable!==!1&&(C!=="fit"||e.some((fe,te)=>te>ee&&fe.resizable!==!1))?fe=>Se(ee,fe):void 0,children:oe.label},ee))}),Y&&n.jsx(le,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:E("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:E("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:pe})]}),n.jsx("div",{className:"table-body",children:N?n.jsx(uo,{variant:"loading"}):a.length===0&&B?n.jsx(uo,{variant:"empty",children:B}):a.map((oe,ee)=>{const fe=p!=null&&oe.id===p,te=!!s&&(i?i(oe):!0),ge=U!=null&&oe.id!=null&&(U instanceof Set?U.has(oe.id)||[...U].some(_e=>String(_e)===String(oe.id)):String(oe.id)===String(U));return n.jsx(uo,{className:`${te?" table-row--clickable":""}${u?" table-row--draggable":""}${fe?" table-row--dragging":""}`.trim(),draggable:!!u,onClick:te?()=>s(oe):void 0,onMouseEnter:l?_e=>l(oe,_e):void 0,onMouseLeave:c?_e=>c(oe,_e):void 0,onDragStart:u?_e=>u(oe,_e):void 0,onDragEnd:d?_e=>d(oe,_e):void 0,expandedContent:ge&&R?R(oe):void 0,children:r(oe).map((_e,Ye)=>n.jsx(Z4,{className:_e.className,style:_e.style,children:_e.content},Ye))},oe.id!=null?`${typeof oe.id}:${oe.id}`:`__idx:${ee}`)})})]})]})})}function Xl(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const na=e=>e==null?"":String(e).trim();function mo(e,t,a){const r=[na(e),na(t),na(a)];for(;r.length>0&&r[r.length-1]==="";)r.pop();return r.join(".")}function Q4(e,t,a){const r=na(e);return r?`${r}-${na(t).padStart(2,"0")}-${na(a).padStart(2,"0")}`:""}const ey={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function ty(e,t){const a=ey[e];return a?t(`device.type.${a}`,{defaultValue:e}):e}function Jl(e,t){return t!=="wornAt"?String(e[t]??""):Q4(e.wornYear,e.wornMonth,e.wornDay)}function ny({rows:e,onSelect:t,onDelete:a,onWear:r,onRelease:s,onAdd:i}){const{t:l}=be.useTranslation(),c=C=>C==="\uC88C"?l("device.direction.left","\uC88C"):l("device.direction.right","\uC6B0"),{\uC815\uB82C:u,\uCE78:d}=qg(),p=o.useMemo(()=>{if(!u)return e;const{key:C,asc:y}=u;return[...e].sort((_,h)=>{if(C==="worn"){const v=Number(h.worn)-Number(_.worn);return y?v:-v}return Kr(Jl(_,C),Jl(h,C),y)})},[e,u]),{pageRows:m,pageSizeProps:f,paginationProps:b}=Wg(p,u);return n.jsxs("div",{className:"dlp-side-table",children:[n.jsx(ao,{count:{value:e.length,unit:l("customers.device.unit","\uAC1C")},pageSize:f,pagination:b,actions:i&&n.jsx(le,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:l("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:i})}),n.jsx(po,{resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...d(l("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},d(l("device.direction.label","\uBC29\uD5A5"),"side"),d(l("device.deviceType","\uC885\uB958"),"device"),d(l("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),d(l("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),d(l("device.productName","\uC81C\uD488\uBA85"),"productName"),d(l("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...a?[{label:"",resizable:!1}]:[]],items:m.map((C,y)=>({id:C.id??`${C.side}-${y}`,row:C})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${a?" 80px":""}`,renderRow:({row:C})=>[{content:n.jsx("span",{className:"dlp-worn-check",onClick:y=>y.stopPropagation(),children:n.jsx($l,{checked:C.worn,disabled:C.worn?!s:!r,ariaLabel:C.worn?l("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):l("customers.device.wear","\uCC29\uC6A9"),onChange:y=>{y?r?.(C):s?.(C)}})})},{content:n.jsx("span",{children:c(C.side)})},{content:C.device?n.jsx(mt,{size:"small",variant:Xl(C.device),fill:"soft",label:ty(C.device,l)}):n.jsx("span",{})},{content:n.jsx("span",{children:C.brand})},{content:n.jsx("span",{children:C.fitType||"-"})},{content:n.jsx("span",{children:C.productName||"-"})},{content:n.jsx("span",{className:"dlp-date",children:mo(C.wornYear,C.wornMonth,C.wornDay)||"-"})},...a?[{content:n.jsx("span",{className:"dlp-row-actions",children:n.jsx(le,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:l("common.delete","\uC0AD\uC81C"),onClick:y=>{y?.stopPropagation(),a(C)}})})}]:[]],onRowClick:({row:C})=>t(C),empty:l("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function Ql(e,t){return e?{role:t?.role??"button",tabIndex:0,...t?.selected===void 0?{}:{"aria-selected":t.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function ay(e,t){return new Date(e,t+1,0).getDate()}function ry(e,t){return new Date(e,t,1).getDay()}function oy({visits:e=[],onVisitClick:t,onVisitMove:a,onDayClick:r,today:s}){const{t:i}=be.useTranslation(),l=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),c=Lr(s),[u,d]=o.useState(()=>Number(c.slice(0,4))),[p,m]=o.useState(()=>Number(c.slice(5,7))-1),[f,b]=o.useState(null),C=o.useRef(null),y=o.useMemo(()=>{const k={};return e.forEach(w=>{k[w.date]||(k[w.date]=[]),k[w.date].push(w)}),k},[e]),_=o.useMemo(()=>{const k=ay(u,p),w=ry(u,p),B=[];for(let N=0;N<w;N++)B.push(null);for(let N=1;N<=k;N++)B.push(N);for(;B.length<35;)B.push(null);return B},[u,p]),h=o.useCallback(()=>{p===0?(d(k=>k-1),m(11)):m(k=>k-1)},[p]),v=o.useCallback(()=>{p===11?(d(k=>k+1),m(0)):m(k=>k+1)},[p]),x=k=>`${u}-${String(p+1).padStart(2,"0")}-${String(k).padStart(2,"0")}`,g=k=>x(k)===c;return n.jsxs("div",{children:[n.jsxs("div",{className:"calendar-nav",children:[n.jsx("button",{type:"button",className:"calendar-nav__button",onClick:h,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:n.jsx(qe,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),n.jsx("span",{className:"calendar-nav__title h5","aria-live":"polite",children:i("calendar.yearMonth",{year:u,month:p+1})}),n.jsx("button",{type:"button",className:"calendar-nav__button",onClick:v,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:n.jsx(qe,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),n.jsxs("div",{className:"calendar-nav__legend",children:[n.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),n.jsx("span",{className:"caption-1",children:i("calendar.legend.visited","\uBC29\uBB38")}),n.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),n.jsx("span",{className:"caption-1",children:i("calendar.legend.scheduled","\uC608\uC57D")}),n.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),n.jsx("span",{className:"caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),n.jsxs("div",{className:"calendar-grid",children:[l.map(k=>n.jsx("div",{className:"calendar-day-header body-3",children:k},k)),_.map((k,w)=>{if(k===null)return n.jsx("div",{className:"calendar-cell empty"},`empty-${w}`);const B=k,N=x(B),A=y[N]??[],D=f===N;return n.jsxs("div",{className:`calendar-cell${g(B)?" today":""}${D?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:N}):void 0,"aria-current":g(B)?"date":void 0,onClick:r?()=>r(N):void 0,onKeyDown:r?F=>{F.target===F.currentTarget&&(F.key!=="Enter"&&F.key!==" "||(F.preventDefault(),r(N)))}:void 0,onDragOver:a?F=>{F.preventDefault(),b(N)}:void 0,onDragLeave:a?F=>{F.currentTarget.contains(F.relatedTarget)||b(null)}:void 0,onDrop:a?F=>{F.preventDefault(),C.current!=null&&(a(C.current,N),C.current=null),b(null)}:void 0,children:[n.jsx("div",{className:"calendar-cell__number body-3",children:B}),n.jsx("div",{className:"calendar-cell__badges",children:A.map((F,$)=>n.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${F.status==="noVisit"?" calendar-visit-badge--no-visit":F.status==="scheduled"?" calendar-visit-badge--scheduled":""}${t?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?R=>{C.current=F.id,R.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{C.current=null,b(null)}:void 0,onClick:t?R=>{R.stopPropagation(),t(F)}:void 0,...Ql(t?()=>t(F):void 0),"aria-label":[F.time?ii(F.time,i):null,F.customer,i(F.status==="noVisit"?"calendar.legend.noVisit":F.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[F.time&&n.jsx("span",{className:"calendar-visit-badge__time body-3",children:ii(F.time,i)}),n.jsx("span",{className:"calendar-visit-badge__name body-3",children:F.customer}),F.status==="noVisit"&&n.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},F.id??$))})]},B)})]})]})}const sy={page:"h3",pagePopup:"h4",popup:"h5"};function aa({type:e="page",title:t,headingLevel:a,icon:r,action:s,disc:i,children:l,className:c,style:u}){const d=sy[e],p=t||i||s||r,m=a?`h${a}`:"div";return n.jsxs("div",{className:De("section",`section--${e}`,c),style:u,children:[p&&n.jsxs("div",{className:"section__header",children:[n.jsxs("div",{className:"section__title-row",children:[r&&n.jsx(qe,{icon:r,label:typeof t=="string"?t:void 0,className:"section__icon"}),n.jsxs("div",{className:"section__title-group",children:[t&&n.jsx(m,{className:`section__title ${d}`,children:t}),i&&n.jsx("div",{className:"section__disc body-3",children:i})]})]}),s&&n.jsx("div",{className:"section__action",children:s})]}),l]})}function ec({icon:e,label:t,tooltip:a,wrapperStyle:r,color:s,bgColor:i,useHover:l=!0,iconSize:c="medium"}){const u=c==="small",d=De("category-icon",u?"category-icon--small":""),p=u?16:20,m=o.useRef(null),[f,b]=o.useState(!1),C=o.useMemo(()=>{const w=r&&typeof r=="object"?{...r}:{};return!s&&!i?w:{...w,...s?{color:s,"--t-item-fg":s}:{},...i?{"--t-item-bg":i}:{}}},[r,s,i]),y=a||t,[_,h]=o.useState(null);o.useLayoutEffect(()=>{f&&h(m.current?.getBoundingClientRect()??null)},[f]),o.useEffect(()=>{if(!l&&f)try{b(!1)}catch{}},[l,f]),o.useEffect(()=>{if(!f)return;const w=B=>{const N=m.current;if(!N)return;const A=B.target;A&&!N.contains(A)&&b(!1)};return document.addEventListener("pointerdown",w,!0),()=>document.removeEventListener("pointerdown",w,!0)},[f]);const v=o.useCallback(()=>{l&&b(!0)},[l]),x=o.useCallback(()=>{l&&b(!1)},[l]),g=o.useCallback(()=>b(!1),[]),k=o.useCallback(w=>{if(w.key==="Escape"){b(!1);return}(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),b(B=>!B))},[]);return n.jsxs("span",{ref:m,className:"category-icon__wrap",onPointerEnter:v,onPointerLeave:x,onFocus:v,onBlur:x,onKeyDown:k,role:"button",tabIndex:0,"aria-label":typeof y=="string"?y:void 0,"aria-haspopup":!!y,"aria-expanded":f,"data-tooltip-ignore":!0,children:[n.jsx(qe,{icon:e,label:t,className:d,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:C,size:p}),f&&y&&n.jsx(bn,{anchorRect:_,text:typeof y=="string"?y:void 0,offset:8,onClose:g,className:"category-icon__tooltip",ariaLabel:typeof y=="string"?y:void 0})]})}let En=null;function Xa(e){if(En&&En!==e)try{En()}catch{}return En=e,()=>{En===e&&(En=null)}}function Ja(e){if(En===e){En=null;try{e()}catch{}}}function iy(e,t){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(t==="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(t==="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(t==="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(t==="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 s=a.sentences||a.items||[],i=r(Array.isArray(s)?s:[]);return i.length===0&&(a.contextCode||a.context_code)&&i.push(String(a.contextCode||a.context_code)),{previewCodes:i,previewBucket:null}}function ly(e,t){const[a,r]=o.useState(!1),[s,i]=o.useState(-1),[l,c]=o.useState({key:"",urls:[]}),u=o.useRef(null),d=o.useRef(!1),p=o.useRef(null),m=o.useRef(null),[f,b]=o.useState(!1),C=o.useRef([]),{previewCodes:y,previewBucket:_}=iy(e,t),h=`${y.join(",")}|${_??""}`,v=o.useMemo(()=>l.key===h?l.urls:[],[l,h]);o.useEffect(()=>{if(!y.length)return;let g=!1;return(async()=>{const k=[],w=[];for(const B of y)try{const N=Fs(B,_);if(!N){k.push("");continue}let A=null;try{A=await Os(N)}catch{}if(!A)try{const D=await Hs(N);D&&(A=URL.createObjectURL(D),w.push(A))}catch{}k.push(A??"")}catch{k.push("")}g?w.forEach(B=>{try{URL.revokeObjectURL(B)}catch{}}):(C.current.forEach(B=>{try{URL.revokeObjectURL(B)}catch{}}),C.current=w,c({key:h,urls:k}))})(),()=>{g=!0}},[y.join(","),_]),o.useEffect(()=>()=>{C.current.forEach(g=>{try{URL.revokeObjectURL(g)}catch{}}),C.current=[]},[]);const x=o.useCallback(async g=>{if(g.stopPropagation(),g.preventDefault(),d.current){p.current&&Ja(p.current),d.current=!1;try{u.current?.pause()}catch{}r(!1),i(-1);return}if(!v.filter(Boolean).length)return;let k=null;const w=()=>{d.current=!1;try{u.current?.pause()}catch{}k?.()};p.current=w;const B=Xa(w);d.current=!0,r(!0);for(let N=0;N<v.length&&d.current;N++){const A=v[N];if(A){i(N);try{await new Promise((D,F)=>{k=D;const $=new Audio(A);u.current=$,$.onended=()=>D(),$.onerror=()=>F(),$.play().catch(F)})}catch{break}}}B(),p.current===w&&(p.current=null,d.current=!1,r(!1),i(-1))},[v]);return o.useEffect(()=>()=>{p.current&&Ja(p.current),d.current=!1;try{u.current?.pause()}catch{}u.current=null},[]),{playing:a,playingIndex:s,previewUrls:v,previewHover:f,setPreviewHover:b,previewBtnRef:m,handlePreview:x}}const cy=e=>{if(!e)return[];const t=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(t)return[String(t)];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 s=r;return s.sentence||s.text||s.context||s.question||s.title||""}return""}).filter(r=>typeof r=="string"&&r.trim().length>0).map(r=>r.trim()):[]};function ho(e){const{index:t,type:a,trainingData:r,ariaLabel:s,depth:i,renderPopup:l,completed:c,completedIds:u,selectedIds:d,tooltipText:p,useDescriptionTooltip:m=!1,onRemove:f,hideCheckBadge:b=!1,showTypeLabel:C=!1,onComplete:y,onSelect:_,onMore:h,countLabelOverride:v,size:x="square"}=e||{},{t:g}=be.useTranslation(),[k,w]=o.useState(!1),B=o.useRef(null),[N,A]=o.useState(!1);o.useEffect(()=>{B.current?.matches(":hover")&&A(!0)},[]);const{playing:D,playingIndex:F,previewUrls:$,previewHover:R,setPreviewHover:U,previewBtnRef:E,handlePreview:T}=ly(r,a?.key),V=o.useCallback(()=>{_?_():w(!0)},[_]),Y=o.useCallback(()=>w(!1),[]),K=o.useCallback(()=>A(!0),[]),G=o.useCallback(()=>A(!1),[]),J=o.useCallback(()=>U(!0),[U]),O=o.useCallback(()=>U(!1),[U]),[I,S]=o.useState(null);o.useLayoutEffect(()=>{R&&S(E.current?.getBoundingClientRect()??null)},[R,E]);const[H,P]=o.useState(null);o.useLayoutEffect(()=>{N&&!k&&m&&P(B.current?.getBoundingClientRect()??null)},[N,k,m]);const M=o.useCallback(Ee=>{Ee.target===Ee.currentTarget&&(Ee.key==="Enter"||Ee.key===" ")&&(Ee.preventDefault(),V())},[V]),L=r||null,X=o.useMemo(()=>{if(!m)return null;const Ee=p?(Array.isArray(p)?p:[p]).filter(Boolean):null,Ge=Ee&&Ee.length>0?Ee:cy(L);return Ge&&Ge.length>0?Ge:null},[m,p,L]),W=o.useCallback(Ee=>{Ee.stopPropagation(),f?.()},[f]),ae=o.useCallback(Ee=>Ee.stopPropagation(),[]),ue=o.useCallback(Ee=>{typeof y=="function"&&y(Ee)},[y]),Se=c||(u&&r?.id!=null?u.has(String(r.id)):!1),pe=!Se&&(d!=null&&r?.id!=null?d.has(String(r.id)):!1);Xi("speechear.popup.close",Y);const re=li(),q=`${a?.label||""} ${t+1}`,se=L?.title||L?.name||q;let de=a?.icon,ve,ye="",Be="";try{const Ee=L?.category_0||L?.category_main_code||L?.category_main,Ge=L?.category_1||L?.category_sub_code||L?.category_sub,$e=re.find(Ie=>Ie.key===Ee);$e?.icon&&(de=$e.icon),!ve&&$e?.color&&(ve={"--t-item-fg":$e.color}),!ve&&L?.iconColor&&(ve={"--t-item-fg":L.iconColor}),ye=$e?g(`topic.${$e.key}`,{defaultValue:$e.label||""}):"";try{const Ie=$e?.subs?.find(Ve=>Ve.key===Ge);Be=Ie?g(`topic.sub.${Ie.key}`,{defaultValue:Ie.label||""}):""}catch{}}catch{}const he=Be?`${ye} / ${Be}`:ye||a?.label||se,ke=Ee=>g("training.countQuestions",{n:Ee}),je=Ee=>g("training.countSentences",{n:Ee});let oe="";try{if(L)if(a?.key==="LISTEN_IN_NOISE"){let Ee=0;Array.isArray(L.items)&&L.items.length>0?Ee=L.items.length:Array.isArray(L.sentences)&&L.sentences.length>0?Ee=L.sentences.length:L.sentences&&(Ee=1),oe=je(Ee)}else if(a?.key==="SHORT_STORY"){let Ee=1;Array.isArray(r?.items)?Ee=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?Ee=r.raw.items.length:Array.isArray(L?.questions)?Ee=L.questions.length:Array.isArray(L?.sentences)&&(Ee=L.sentences.length),oe=ke(Ee)}else if(a?.key==="LONG_STORY"){let Ee=1;if(Array.isArray(L.items)&&L.items.length>0){const Ge=L.items.reduce(($e,Ie)=>{const Ve=Ie.questionItems;return Array.isArray(Ve)?$e+Ve.length:Array.isArray(Ie.questions)?$e+Ie.questions.length:$e},0);Ee=Ge>0?Ge:L.items.length}else Array.isArray(L.questions)&&L.questions.length>0?Ee=L.questions.length:Array.isArray(L.sentences)&&L.sentences.length>0&&(Ee=L.sentences.length);oe=ke(Ee)}else if(a?.key==="ORDERING_SENTENCE"){let Ee=1;Array.isArray(L.items)&&L.items.length>0?Ee=L.items.length:Array.isArray(L.sentences)&&L.sentences.length>0&&(Ee=L.sentences.length),oe=je(Ee)}else Array.isArray(L.items)&&(oe=L.items.length>0?ke(L.items.length):"")}catch{}const ee=x==="row",fe=x==="list"||ee,te=x==="compact",ge=x==="small",_e=ge&&a?.key?T2().find(Ee=>Ee.key===a.key):void 0,Ye=_e?ci[_e.key]:void 0,He=_e?Ye?g(`trainingType.${Ye}.title`,{defaultValue:_e.label}):_e.label??"":"",Ue=!!C&&!!a?.label&&a.label!==String(se)||ge&&!!He&&He!==String(se);return n.jsxs(n.Fragment,{children:[n.jsxs("div",{ref:B,className:`training-block-button${fe?" training-block-button--list":""}${ee?" training-block-button--row":""}${te?" training-block-button--compact":""}${ge?" training-block-button--small":""}${Se?" training-block-button--completed":""}${pe?" training-block-button--selected":""}${Ue&&!ge?" training-block-button--withType":""}${ge&&!Ue?" training-block-button--no-type-label":""}`,onClick:V,onPointerEnter:K,onPointerLeave:G,role:"button",tabIndex:0,onKeyDown:M,"aria-label":typeof s=="string"?s:typeof se=="string"?se:void 0,title:!m&&p&&(Array.isArray(p)?p.filter(Boolean).join(`
858
+ `),y=C===-1?a:a.slice(0,C);i("comment",y),a=a.slice(y.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){i("comment",c[0]),a=a.slice(c[0].length);continue}const u=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(u){i("string",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^\d+(?:\.\d+)?/);if(d){i("number",d[0]),a=a.slice(d[0].length);continue}const p=a.match(A4);if(p){i("keyword",p[0]),a=a.slice(p[0].length);continue}const m=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(m){const C=m[0];i(s&&k4.has(C)?"command":"identifier",C),a=a.slice(C.length);continue}const f=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(f){i("operator",f[0]),a=a.slice(f[0].length);continue}const b=a.match(/^[()[\]{};.,]/);if(b){i("punctuation",b[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return r}function N4({children:e,language:t="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=be.useTranslation(),[c,u]=o.useState(!1),d=w4(Ml(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await B2(d))return;u(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>u(!1),2e3)}catch{}},f=B4(d,t),b=s==="small"?"caption-1":"body-3";return n.jsxs("div",{className:De("code-box",s==="small"?"code-box--small":"",i),children:[(a||r)&&n.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[n.jsx("div",{className:"code-box__title caption-1",children:a}),r&&n.jsx(le,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:m,ariaLabel:c?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),n.jsx("pre",{className:"code-box__inner","data-lang":t,children:n.jsx("code",{children:f.map((C,y)=>n.jsx("span",{className:`code-token ${C.type} ${b}`,children:C.content},y))})})]})}const D4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Sa(e){const{t}=be.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||t("loader.loading","Loading");if(a==="bar"){const u=s==null||!Number.isFinite(Number(s)),d=u?0:Math.max(0,Math.min(100,Number(s)));return n.jsx("div",{className:`loader-bar${u?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":u?void 0:d,"aria-label":l,children:n.jsx("div",{className:"loader-bar__inner",style:u?void 0:{width:`${d}%`}})})}const c=typeof r=="number"?`${r}px`:r;return n.jsxs("div",{className:"loader-spinner",style:{width:c,height:c},role:"status","aria-label":l,children:[n.jsx("span",{style:D4,children:l}),n.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[n.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),n.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}function Ll({checked:e,onChange:t,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:c}){const u=r&&n.jsx("span",{className:"toggle__label body-3",children:r});return n.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&u,n.jsx("input",{id:c,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:d=>t?.(d.target.checked),"aria-label":!r&&s?s:void 0}),n.jsx("span",{className:"toggle__slider"}),i==="right"&&u]})}function $l({checked:e=!1,onChange:t,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:c,ariaLabel:u}){const d=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{d.current&&(d.current.indeterminate=!!r)}),n.jsxs("label",{className:De("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:c,children:[n.jsx("input",{ref:d,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:f=>{t?.(f.target.checked),d.current&&(d.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&u?u:void 0}),n.jsx("span",{className:"checkbox__box"}),s&&n.jsx("span",{className:"checkbox__label body-3",children:s})]})}function S4({count:e,actions:t,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:c}=be.useTranslation(),u=s!==void 0?s:e>0,d=r??c("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),f=o.useRef(null),b=o.useRef(u);o.useLayoutEffect(()=>{const v=m.current,x=b.current;if(b.current=u,u&&!x){const g=typeof document<"u"?document.activeElement:null;f.current=g&&g!==document.body&&!v?.contains(g)?g:null}else!u&&x&&v&&v.contains(document.activeElement)&&za(v,f.current)},[u]);const[C,y]=o.useState(!1),_=o.useRef(!1),h=o.useRef(null);return o.useEffect(()=>{const v=p.current;if(!v)return;const x=A=>{_.current=A,y(A)},g=()=>{const A=v.firstElementChild??v,D=Array.from(A.children);if(D.length<2){x(!1);return}const F=D[0].offsetTop,$=D.some(V=>V.offsetTop!==F);if(!_.current){h.current=v.clientWidth,$&&x(!0);return}if($)return;const R=D[0],U=D[D.length-1],E=U.offsetLeft+U.offsetWidth-R.offsetLeft,T=h.current;(T==null||E<=T)&&x(!1)};if(g(),typeof ResizeObserver>"u")return;const k=new ResizeObserver(g);k.observe(v);const w=v.parentElement;let B=w?.clientWidth??0;const N=new ResizeObserver(()=>{const A=w?.clientWidth??0;A!==B&&(B=A,h.current=null,g())});return w&&N.observe(w),()=>{k.disconnect(),N.disconnect()}},[i,e]),n.jsxs("div",{ref:m,className:`bulk-bar ${u?"bulk-bar--visible":""}`,inert:!u||void 0,"aria-hidden":u?void 0:!0,children:[n.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??n.jsx("b",{children:c("common.selectedCount",{count:e})})}),l!==void 0&&n.jsx(mt,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`}),n.jsxs("div",{className:`bulk-bar__actions${C?" bulk-bar__actions--stacked":""}`,children:[n.jsx(le,{htmlType:"button",size:40,label:d,onClick:a}),t.map((v,x)=>n.jsx(le,{htmlType:"button",size:40,variant:v.variant??"default",icon:v.icon,label:v.label,onClick:v.onClick},x))]})]})}function Rl(e,t){const a=()=>{if(e){const[y,_]=e.split("-");return{y:+y,m:+_-1}}const[b,C]=Lr(t).split("-");return{y:+b,m:+C-1}},[r,s]=o.useState(()=>a().y),[i,l]=o.useState(()=>a().m),c=o.useRef(e);o.useEffect(()=>{if(e===c.current)return;c.current=e;const b=a();s(b.y),l(b.m)},[e]);const u=o.useRef({y:r,m:i});o.useEffect(()=>{u.current={y:r,m:i}},[r,i]);const d=o.useCallback(b=>{const C=u.current.y*12+u.current.m+b,y=Math.floor(C/12),_=C-y*12;u.current={y,m:_},s(y),l(_)},[]),p=o.useCallback(()=>d(-1),[d]),m=o.useCallback(()=>d(1),[d]),f=o.useCallback((b,C)=>{u.current={y:b,m:C},s(b),l(C)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:f}}function Ka(e,t){return new Date(e,t+1,0).getDate()}function E4(e,t){return new Date(e,t,1).getDay()}function Ya(e,t,a){return`${e}-${String(t+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function j4(e){if(!e)return"";const[t,a,r]=e.split("-");return`${t}. ${a}. ${r}.`}function T4(e,t,a,r){const s=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let c=s;c<=i;c++)for(let u=0;u<12;u++){const d=`${c}-${String(u+1).padStart(2,"0")}`;a&&d<a.slice(0,7)||r&&d>r.slice(0,7)||l.push({value:d,label:t(c,u+1)})}return l}function M4({value:e,onChange:t,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:c,today:u}){const{t:d}=be.useTranslation(),p=l??d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>d("calendar.dow",{returnObjects:!0}),[d]),f=Lr(u),{viewY:b,viewM:C,prevMonth:y,nextMonth:_,setViewYM:h}=Rl(e,u),v=o.useId(),x=o.useCallback((S,H)=>{const P=window.innerHeight,M=window.innerWidth,L=typeof document<"u"?document.getElementById(v):null,X=L?.offsetHeight||300,W=Math.max(S.width,L?.offsetWidth||0,260),ae=P-S.bottom<X&&S.top>X,ue=8,Se=(pe,re)=>Math.min(Math.max(ue,pe),Math.max(ue,re));return{position:"fixed",left:Se(S.left,M-W-ue),width:S.width,minWidth:260,...ae?{bottom:Se(P-S.top+6,P-X-ue)}:{top:Se(S.bottom+6,P-X-ue)},zIndex:xa(H)}},[v]),{open:g,setOpen:k,toggle:w,style:B,triggerRef:N,menuRef:A}=_a({computeStyle:x,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!g)return;const S=A.current;return(S?.querySelector(".date-picker__day--selected:not(:disabled)")??S?.querySelector(".date-picker__day--today:not(:disabled)")??S?.querySelector(".date-picker__day:not(:disabled)")??S?.querySelector(Cn)??S)?.focus?.(),()=>{const H=document.activeElement;(!H||H===document.body)&&N.current?.focus?.()}},[g,A,N]);const[D,F]=o.useState(1),$=o.useRef(null),R=o.useRef(null);o.useEffect(()=>{if(!g)return;const S=e&&e.slice(0,7)===`${b}-${String(C+1).padStart(2,"0")}`?+e.slice(8):f.slice(0,7)===`${b}-${String(C+1).padStart(2,"0")}`?+f.slice(8):1;F(S)},[g]),o.useEffect(()=>{if(R.current==null)return;const S=R.current;R.current=null,$.current?.querySelector(`[data-day="${S}"]`)?.focus()}),o.useEffect(()=>{F(S=>Math.min(S,Ka(b,C)))},[b,C]);const U=o.useCallback(S=>{let H=Ya(S.getFullYear(),S.getMonth(),S.getDate());r&&H<r&&(H=r),s&&H>s&&(H=s);const[P,M,L]=H.split("-").map(Number);(P!==b||M-1!==C)&&h(P,M-1),F(L),R.current=L},[r,s,b,C,h]),E=o.useCallback(S=>{const H=new Date(b,C,D),P=L=>{H.setDate(H.getDate()+L),U(H)},M=L=>{const X=H.getFullYear()*12+H.getMonth()+L,W=Math.floor(X/12),ae=X-W*12;U(new Date(W,ae,Math.min(H.getDate(),Ka(W,ae))))};switch(S.key){case"ArrowLeft":P(-1);break;case"ArrowRight":P(1);break;case"ArrowUp":P(-7);break;case"ArrowDown":P(7);break;case"Home":P(-H.getDay());break;case"End":P(6-H.getDay());break;case"PageUp":S.shiftKey?M(-12):M(-1);break;case"PageDown":S.shiftKey?M(12):M(1);break;default:return}S.preventDefault()},[b,C,D,U]),T=o.useCallback(S=>{i||(t(Ya(b,C,S)),k(!1))},[b,C,t,k,i]);o.useEffect(()=>{i&&k(!1)},[i,k]);const V=S=>{const H=Ya(b,C,S);return!!(r&&H<r||s&&H>s)},Y=(()=>{const S=Ka(b,C);if(D>=1&&D<=S&&!V(D))return D;for(let H=1;H<=S;H++)if(!V(H))return H;return-1})(),K=[];for(let S=0;S<E4(b,C);S++)K.push(null);for(let S=1;S<=Ka(b,C);S++)K.push(S);const G=a===64?20:a===40?16:18,J=T4(b,(S,H)=>d("calendar.yearMonth",{year:S,month:H,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),O=`${b}-${String(C+1).padStart(2,"0")}`,I=g?qt.createPortal(n.jsxs("div",{ref:A,id:v,className:"date-picker__dropdown",style:B,"data-tooltip-ignore":!0,role:"dialog","aria-label":d("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[n.jsxs("div",{className:"date-picker__nav",children:[n.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:y,"aria-label":d("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:n.jsx(ns,{size:16,strokeWidth:2})}),n.jsx(nn,{className:"date-picker__nav-dropdown",ariaLabel:d("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:J,value:O,onChange:S=>{const[H,P]=S.split("-");h(+H,+P-1)},block:!0,size:40}),n.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:_,"aria-label":d("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:n.jsx(as,{size:16,strokeWidth:2})})]}),n.jsxs("div",{className:"date-picker__grid",ref:$,onKeyDown:E,children:[m.map(S=>n.jsx("div",{className:"date-picker__dow caption-1",children:S},S)),K.map((S,H)=>{if(S===null)return n.jsx("div",{},`e${H}`);const P=Ya(b,C,S),M=P===e,L=P===f,X=V(S),W=H%7;return n.jsx("button",{type:"button",disabled:X,"data-day":S,tabIndex:S===Y?0:-1,"aria-current":L?"date":void 0,onClick:()=>!X&&T(S),className:De("date-picker__day caption-1",M&&"date-picker__day--selected",L&&!M&&"date-picker__day--today",X&&"date-picker__day--disabled",W===0&&"date-picker__day--sun",W===6&&"date-picker__day--sat"),children:S},S)})]})]}),document.body):null;return n.jsxs("div",{className:De("date-picker",`date-picker--s${a}`,g&&"date-picker--open",c),children:[n.jsxs("button",{ref:N,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&w(),disabled:i,"aria-haspopup":"true","aria-expanded":g,children:[n.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?j4(e):p}),n.jsx(ps,{size:G,className:"date-picker__icon",strokeWidth:1.5})]}),I]})}function ro({items:e,className:t}){return n.jsx("div",{className:t?`manager-bar-chart-legend ${t}`:"manager-bar-chart-legend",children:e.map((a,r)=>n.jsxs("span",{className:"manager-bar-chart-legend-item",children:[n.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function Za({label:e,children:t}){return e?n.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[n.jsx("span",{className:"barchart-total__label body-3",children:e}),n.jsx("span",{className:"barchart-total__value",children:t})]}):n.jsx("div",{className:"barchart-total",children:t})}function oo({title:e,titleClassName:t="h3",icon:a,disc:r,headRight:s,headSegment:i,headMenuItems:l,collapseBelow:c=420,onClick:u,ariaLabel:d,tooltip:p,totalNum:m,totalUnit:f,totalLabel:b,subRow:C,className:y,inGrid:_=!1,children:h}){const{t:v}=be.useTranslation(),x=o.useRef(null),{anchorRect:g,openAt:k,close:w}=va(),B=o.useCallback(()=>{p&&x.current&&k(x.current)},[p,k]),[N,A]=o.useState(!1);o.useEffect(()=>{const J=x.current;if(!J||!i)return;const O=S=>A(S>0&&S<c);if(O(J.clientWidth),typeof ResizeObserver>"u")return;const I=new ResizeObserver(S=>O(S[0].contentRect.width));return I.observe(J),()=>I.disconnect()},[i,c]);const[D,F]=o.useState(null),$=o.useCallback(()=>F(null),[]),R=o.useCallback(J=>{const O=J.currentTarget.getBoundingClientRect();F(I=>I?null:{left:O.left,right:O.right,top:O.top,bottom:O.bottom,width:O.width,height:O.height,x:O.x,y:O.y})},[]),U=!!i&&N;o.useEffect(()=>{U||F(null)},[U]);const E=i?[...i.options.map(J=>({label:J.label,icon:J.icon,selected:J.key===i.value,disabled:J.disabled,onClick:()=>i.onChange(J.key),closeOnSelect:!0})),...(l??[]).map((J,O)=>O===0?{...J,separatorBefore:!0}:J)]:[],T=o.useCallback(J=>{if(!u)return;const O=J.target;O&&typeof O.closest=="function"&&O.closest('button, a, input, select, textarea, [role="radiogroup"]')||u()},[u]),V=o.useCallback(J=>{u&&J.target===J.currentTarget&&(J.key==="Enter"||J.key===" ")&&(J.preventDefault(),u())},[u]),Y=typeof s=="function"?s({collapsed:U}):s,K=m!=null||b?n.jsxs("div",{className:"manager-section__head-total",children:[b&&n.jsx("span",{className:"manager-section__head-total-label caption-1",children:b}),m!=null&&n.jsxs("span",{className:"manager-section__head-total-value",children:[n.jsx("span",{className:"manager-section__head-total-num h4",children:m}),f&&n.jsx("span",{className:"manager-section__head-total-unit h5",children:f})]})]}):null,G=Y||i||K?n.jsxs("div",{className:"manager-section__head-right",children:[i&&(U?n.jsx(le,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:i.ariaLabel??v("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:i.ariaLabel??v("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!D,onClick:R}):n.jsx(Sn,{size:32,ariaLabel:i.ariaLabel,options:i.options.map(J=>({key:J.key,label:J.label,disabled:J.disabled})),value:i.value,onChange:i.onChange})),K,Y]}):null;return n.jsxs("section",{ref:x,className:["manager-section",_&&"manager-section--grid",u&&"manager-section--clickable",y].filter(Boolean).join(" "),onClick:u?T:void 0,onKeyDown:u?V:void 0,onPointerEnter:p?B:void 0,onPointerLeave:p?w:void 0,onFocus:p?B:void 0,onBlur:p?w:void 0,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-label":u?d??(typeof e=="string"?e:void 0):void 0,children:[p&&g&&n.jsx(bn,{anchorRect:{left:g.left,top:g.top+21,right:g.right,bottom:g.bottom,width:g.width,height:g.height},text:p}),n.jsxs("div",{className:"manager-section__head",children:[n.jsxs("div",{className:"manager-section__title-row",children:[a&&n.jsx(qe,{icon:a,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),n.jsx("div",{className:["manager-section__title",t].filter(Boolean).join(" "),children:e})]}),G,r&&n.jsx("div",{className:"manager-section__disc body-3",children:r})]}),C&&n.jsx("div",{className:"barchart-sub-row",children:C}),h,D&&n.jsx(gn,{anchorRect:D,onClose:$,ariaLabel:i?.ariaLabel??v("tooltip.menu","\uBA54\uB274"),children:n.jsx(wa,{columns:[{items:E}],onClose:$,size:"small"})})]})}function on(e,t){const a=new Date(e,t,1).getDay();return 1+(8-(a===0?7:a))%7}function L4(){const e=Kn();let t=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<on(t,a)){const l=new Date(t,a,0);t=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-on(t,a))/7),i=`${t}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function $4(e){const t=Kn(),a=`${t.getFullYear()}\uB144 ${t.getMonth()+1}\uC6D4`,r=(u,d)=>`${u}\uB144 ${d+1}\uC6D4`,s=new Map;s.set(a,[]);for(const u of e){if(isNaN(u.date.getTime()))continue;const d=r(u.date.getFullYear(),u.date.getMonth());s.has(d)||s.set(d,[]),s.get(d).push(u)}for(const[u,d]of[...s.entries()]){const p=u.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),f=Number(p[2])-1,b=on(m,f);if(!(u===a&&t.getDate()<b)&&!d.some(_=>_.date.getDate()<b))continue;const C=new Date(m,f,0),y=r(C.getFullYear(),C.getMonth());s.has(y)||s.set(y,[])}const i=new Map;for(const[u,d]of s){const p=u.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),f=Number(p[2])-1,b=new Date(m,f+1,0).getDate(),C=d.reduce((g,k)=>Math.max(g,k.parts?.length??0,k.partsB?.length??0),0),y=d.some(g=>g.partsB),_=new Array(b+1).fill(0),h=new Array(b+1).fill(0),v=Array.from({length:b+1},()=>new Array(C).fill(0)),x=Array.from({length:b+1},()=>new Array(C).fill(0));for(const g of d){const k=g.date.getDate();if(_[k]+=g.a,h[k]+=g.b,g.parts)for(let w=0;w<C;w++)v[k][w]+=g.parts[w]??0;if(g.partsB)for(let w=0;w<C;w++)x[k][w]+=g.partsB[w]??0}i.set(u,{year:m,month:f,daysInMonth:b,partsLen:C,hasPartsB:y,dayA:_,dayB:h,dayParts:v,dayPartsB:x})}const l=(u,d,p)=>new Date(u,d,p).getTime()>new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),c={};for(const[u,d]of i){const{year:p,month:m,daysInMonth:f,dayA:b,dayB:C,dayParts:y,dayPartsB:_}=d,h=p===t.getFullYear()&&m===t.getMonth(),v=t.getDate(),x=i.get(r(m===11?p+1:p,(m+1)%12)),g=d.partsLen,k=[];for(let B=1;B<=f;B++){const N=h&&B>v;k.push({label:String(B),...N&&b[B]===0&&C[B]===0?{future:!0}:{},a:N&&b[B]===0&&C[B]===0?-1:b[B],b:C[B],...g?{parts:y[B]}:{},...g&&d.hasPartsB?{partsB:_[B]}:{}})}const w=[];for(let B=on(p,m);B<=f;B+=7){const N=Math.max(0,B+6-f),A=N&&x?Math.max(g,x.partsLen):g,D=d.hasPartsB||!!(N&&x?.hasPartsB);let F=0,$=0;const R=new Array(A).fill(0),U=new Array(A).fill(0);for(let T=B;T<=Math.min(B+6,f);T++){F+=b[T],$+=C[T];for(let V=0;V<g;V++)R[V]+=y[T][V],U[V]+=_[T][V]}if(N&&x)for(let T=1;T<=N&&!l(x.year,x.month,T);T++){F+=x.dayA[T],$+=x.dayB[T];for(let V=0;V<x.partsLen;V++)R[V]+=x.dayParts[T][V],U[V]+=x.dayPartsB[T][V]}const E=N?`${(m+1)%12+1}/${N}`:`${B+6}`;w.push({label:`${w.length+1}\uC8FC`,sublabel:`[${B}\uC77C~${E}\uC77C]`,a:F,b:$,...A?{parts:R}:{},...A&&D?{partsB:U}:{}})}c[u]={weekly:w,daily:k}}return c}function Pl(){const e=Kn(),t=e.getFullYear(),a=e.getMonth()+1,r=[];for(let s=2024;s<=t;s++){const i=s===t?a:12;for(let l=1;l<=i;l++){const c=`${s}\uB144 ${l}\uC6D4`;r.push({value:c,label:c,year:s,month:l})}}return r.reverse()}Pl();function R4(){return Pl()}const Il=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Fl(e){const{t,i18n:a}=be.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>R4().filter(A=>A.value in e),[e]),l=o.useMemo(()=>{const A=[];for(const D of i){const F=new Date(D.year,D.month,0).getDate(),$=on(D.year,D.month-1),R=Math.ceil((F-$+1)/7);for(let U=R-1;U>=0;U--)A.push({value:`${D.value}#${U}`,monthKey:D.value,year:D.year,month:D.month,week:U})}return A},[i]),c=o.useCallback(A=>{const D=t("calendar.yearMonth",{year:A.year,month:A.month});return a.language?.startsWith("ko")?`${D} ${Il[A.week]??`${A.week+1}`}\uC8FC`:`${D} Week ${A.week+1}`},[t,a.language]),u=o.useMemo(()=>i.map(A=>({value:A.value,label:t("calendar.yearMonth",{year:A.year,month:A.month})})),[t,i]),d=o.useMemo(()=>l.map(A=>({value:A.value,label:c(A)})),[l,c]),p=o.useMemo(()=>L4(),[e]),m=o.useMemo(()=>i.find(A=>A.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),f=o.useMemo(()=>l.find(A=>A.value===p.value)?.value??l[0]?.value??"",[l,p]),[b,C]=o.useState(""),[y,_]=o.useState("");o.useEffect(()=>{i.find(A=>A.value===b)||C(m)},[i,b,m]),o.useEffect(()=>{l.find(A=>A.value===y)||_(f)},[l,y,f]);const h=r==="month"?u:d,v=r==="month"?b:y,x=r==="month"?C:_,g=o.useMemo(()=>{const A=t("calendar.dow",{returnObjects:!0});return Array.isArray(A)?A:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[t]),k=h.findIndex(A=>A.value===v),w=o.useCallback(()=>{const A=h.findIndex(D=>D.value===v);A<h.length-1&&x(h[A+1].value)},[h,v,x]),B=o.useCallback(()=>{const A=h.findIndex(D=>D.value===v);A>0&&x(h[A-1].value)},[h,v,x]),N=o.useMemo(()=>[{key:"week",label:t("manager.chart.periodWeek","\uC8FC")},{key:"month",label:t("manager.chart.periodMonth","\uC6D4")}],[t]);return{period:r,setPeriod:s,range:v,setRange:x,activeOptions:h,activeIdx:k,handlePrev:w,handleNext:B,periodOptions:N,monthRange:b,weekRange:y,weekRanges:l,DOW:g}}const lt=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function _n(e,t=!0){return e.future===!0||t&&e.a===-1}function P4({data:e,colorA:t,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:c=140,maxOverride:u,tightMax:d,seriesColors:p,seriesLabels:m,rateLabels:f,grouped:b=!1,baseline:C}){const y=!a,_=!!(p&&p.length>0),h=C,v=o.useMemo(()=>_?Math.max(0,...e.filter(T=>!_n(T,h==null)).map(T=>b?Math.max(0,...(T.parts??[]).map(lt)):(T.parts??[]).reduce((V,Y)=>V+Math.max(0,lt(Y)),0))):Math.max(0,...e.filter(T=>!_n(T,h==null)).flatMap(T=>y?[lt(T.a)]:[lt(T.a),lt(T.b)])),[e,y,_,b]),x=o.useMemo(()=>{if(h==null)return 0;const T=e.filter(V=>!_n(V,h==null)).flatMap(V=>_?(V.parts??[]).map(lt):y?[lt(V.a)]:[lt(V.a),lt(V.b)]);return Math.max(0,...T.map(V=>Math.abs(V-h)))},[e,h,_,y]),g=o.useMemo(()=>{const T=h!=null?x:v;return u??(d?T>0?T:10:Math.ceil(T/10)*10||10)},[v,x,h,u,d]),k=c,w=_?b?Math.max(1,p.length):1:y?1:2,B={"--bar-width":`${o.useMemo(()=>{const T=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(T*w)+6)))},[e.length,w,i])}px`},N={"--bar-group-gap":`${Math.max(0,l)}px`},A=o.useMemo(()=>{const T=Math.round(g/2);return h!=null?[h+g,...T!==g?[h+T]:[],h,...T!==g?[h-T]:[],h-g]:T!==g?[g,T,0]:[g,0]},[g,h]),D=T=>h!=null?1-(T-(h-g))/(2*g):1-T/g,[F,$]=o.useState(null),R=o.useCallback(()=>$(null),[]),U=T=>h!=null&&T>h?`+${T}`:`${T}`,E=F!=null;return o.useEffect(()=>{if(!E)return;const T=()=>$(null),V=Y=>{const K=Y.target;K&&typeof K.closest=="function"&&K.closest(".manager-bar-chart-col")||$(null)};return window.addEventListener("scroll",T,!0),document.addEventListener("pointerdown",V,!0),()=>{window.removeEventListener("scroll",T,!0),document.removeEventListener("pointerdown",V,!0)}},[E]),n.jsxs("div",{className:"manager-bar-chart-wrap",style:N,children:[n.jsx("div",{className:"manager-bar-chart-inner",children:n.jsx("div",{className:"manager-bar-chart-scroll",children:n.jsxs("div",{className:"manager-bar-chart-area",children:[n.jsxs("div",{className:"manager-bar-chart-plot",style:{height:k},children:[A.slice(0,-1).map((T,V)=>n.jsx("div",{className:`manager-bar-chart-gridline${h!=null&&T===h?" manager-bar-chart-gridline--baseline":""}`,style:{top:D(T)*k},children:n.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:T})},V)),e.map((T,V)=>{const Y=_n(T,h==null),K=k/2,G=S=>h!=null?Math.min(K,Math.abs(lt(S)-h)/g*K):Math.min(k,Math.max(0,lt(S)/g*k)),J=Y?0:G(T.a),O=Y?0:G(T.b),I=(T.parts??[]).map(lt);return n.jsx("div",{className:`manager-bar-chart-col${b&&_?" manager-bar-chart-col--group":""}`,style:{cursor:Y?"default":"pointer"},onMouseEnter:Y?void 0:S=>{const H=S.currentTarget.getBoundingClientRect(),P=[T.label,T.sublabel].filter(Boolean).join(" ");let M;if(_&&b&&T.rawPartsB)M=(m??[]).map((L,X)=>{const W=T.rawPartsB[X]??0;return{text:W>0?`${L}: ${I[X]??0}% (${T.rawParts?.[X]??0}/${W})`:`${L}: -`,color:(p??[])[X]}});else if(_&&b)M=(m??[]).map((L,X)=>({text:`${L}: ${U(I[X]??0)}`,color:(p??[])[X]}));else if(_){const L=(m??[]).map((W,ae)=>({text:`${W}: ${I[ae]??0}`,color:(p??[])[ae]})),X=L.filter((W,ae)=>(I[ae]??0)>0);M=X.length?X:L}else f&&!y?M=[{text:`${r} ${lt(T.a)}%`,color:t},{text:`${s} ${lt(T.b)}%`,color:a}]:f&&T.rawB!==void 0?M=[{text:`${f.total} ${T.rawB}`},{text:`${f.done} ${T.rawA??0}`,color:t}]:y?M=[{text:`${r}: ${lt(T.a)}`,color:t}]:M=[{text:`${r}: ${lt(T.a)}`,color:t},{text:`${s}: ${lt(T.b)}`,color:a}];$({rect:{left:H.left,top:H.top,right:H.right,bottom:H.bottom,width:H.width,height:H.height},title:P,items:M})},onMouseLeave:R,children:!Y&&(_&&b?(p??[]).map((S,H)=>{const P=I[H]??0;if(h==null)return n.jsx("div",{className:"manager-bar-chart-bar",style:{...B,height:G(P),background:S}},H);const M=lt(P)<h;return n.jsxs("div",{className:"manager-bar-chart-slot",style:B,children:[n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!M&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:G(P),background:S}})}),n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:M&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:G(P),background:S}})})]},H)}):_?n.jsx("div",{className:"manager-bar-chart-stack",style:B,children:(()=>{const S=I.reduce((P,M,L)=>M>0?L:P,-1);let H=k;return I.map((P,M)=>{if(P<=0)return null;const L=Math.min(H,P/g*k);return H-=L,n.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:L,background:(p??[])[M],borderRadius:M===S?"6px 6px 0 0":void 0}},M)})})()}):h!=null?n.jsx(n.Fragment,{children:[{v:lt(T.a),c:t},...y?[]:[{v:lt(T.b),c:a}]].map(({v:S,c:H},P)=>n.jsxs("div",{className:"manager-bar-chart-slot",style:B,children:[n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:S>=h&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:G(S),background:H}})}),n.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:S<h&&n.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:G(S),background:H}})})]},P))}):n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"manager-bar-chart-bar",style:{...B,height:J,background:t}}),!y&&n.jsx("div",{className:"manager-bar-chart-bar",style:{...B,height:O,background:a}})]}))},V)})]}),n.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((T,V)=>{const Y=_n(T,h==null);return n.jsxs("span",{className:`manager-bar-chart-x-axis__label${Y?" manager-bar-chart-x-axis__label--future":""}`,children:[n.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[T.isToday&&n.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:t}}),T.label]}),T.sublabel&&n.jsx("span",{className:"caption-1",children:T.sublabel})]},V)})})]})})}),F&&n.jsx(Fn,{anchorRect:F.rect,title:F.title,items:F.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Ol({control:e}){const{t}=be.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:c,periodOptions:u,period:d,setPeriod:p}=e,m=d==="week"?t("calendar.prevWeek","\uC774\uC804 \uC8FC"):t("calendar.prevMonth","\uC774\uC804 \uB2EC"),f=d==="week"?t("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):t("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return n.jsxs("div",{className:"manager-section-controls",children:[n.jsx(le,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),n.jsx(nn,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:t("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),n.jsx(le,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:f,showTooltipInfo:f,disabled:r<=0,onClick:c}),n.jsx(Sn,{ariaLabel:t("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:u,value:d,onChange:b=>p(b),size:40})]})}function so(e,t,a,r=!0){const s=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,l)=>{const c=new Date(t);c.setDate(t.getDate()+l);const u=(e[`${c.getFullYear()}\uB144 ${c.getMonth()+1}\uC6D4`]?.daily??[])[c.getDate()-1],d=u!=null&&_n(u,r)||c>s;return{dt:c,entry:u,isFuture:d}})}function I4(e,t,a,r,s=!0){const{period:i,monthRange:l,weekRange:c,weekRanges:u,DOW:d}=t,p=r?.startsWith("ko"),m=Kn(),f=m.getFullYear(),b=m.getMonth()+1,C=m.getDate();if(i==="month"){const h=e[l]??{weekly:[],daily:[]},v=l.match(/^(\d+)년 (\d+)월$/),x=v?Number(v[1]):null,g=v?Number(v[2]):null,k=x&&g?on(x,g-1):1;return h.weekly.map((w,B)=>{const N=B+1;let A=w.label,D=!1,F=!1;if(x&&g){const $=k+B*7,R=new Date(x,g-1,$+6),U=R.getMonth()+1,E=R.getDate(),T=U===g?`${E}`:`${U}/${E}`;A=a("manager.chart.weekRange",{start:$,end:T});const V=new Date(f,b-1,C).getTime();D=V>=new Date(x,g-1,$).getTime()&&V<=R.getTime(),F=x>f||x===f&&(g>b||g===b&&$>C)}return{...w,label:A,sublabel:p?`${Il[N-1]??N}\uC8FC`:`Week ${N}`,isToday:D,future:w.future===!0||F||void 0,a:F?-1:w.a,b:F?0:w.b}})}const y=u.find(h=>h.value===c);if(!y)return[];const _=new Date(y.year,y.month-1,on(y.year,y.month-1)+y.week*7);return so(e,_,m,s).map(({dt:h,entry:v,isFuture:x})=>{const g=h.getMonth()+1,k=h.getDate(),w=h.getFullYear();return{label:g===y.month&&w===y.year?`${k}`:`${g}/${k}`,sublabel:d[h.getDay()]??"",future:x||void 0,a:x?-1:v&&v.a>0?v.a:0,b:x?0:v&&v.b>0?v.b:0,isToday:w===f&&g===b&&k===C,...v?.parts?{parts:x?v.parts.map(()=>0):v.parts}:{},...v?.partsB?{partsB:x?v.partsB.map(()=>0):v.partsB}:{}}})}const F4={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function O4({size:e="medium",barWidth:t,titleKey:a,data:r,colorA:s,colorB:i,labelAKey:l,labelBKey:c,showTotal:u=!1,totalUnitKey:d,totalLabelKey:p,control:m,hideControls:f=!1,rate:b=!1,rateAgg:C="dayMean",tightMax:y=!1,avgMode:_=!1,totalFormat:h,series:v,seriesMode:x="stack",loading:g=!1,onDetail:k,headExtra:w,headSegment:B,icon:N,disc:A,onClick:D,cardAriaLabel:F,cardTooltip:$,detailSize:R=32,barGap:U,baseline:E,className:T,inGrid:V=!1}){const{t:Y,i18n:K}=be.useTranslation(),G=F4[e],J=Fl(r),O=m??J,I=o.useMemo(()=>I4(r,O,Y,K.language,E==null),[r,O,Y,K.language,E]),S=x==="group"&&!!v&&v.length>0;U!=null&&!S&&fn("bar-chart-bargap-without-group","[BarChart] barGap \uC740 seriesMode='group' + series \uC5D0\uC11C\uB9CC \uC4F0\uC778\uB2E4 \u2014 \uADF8 \uBC16\uC5D0\uC11C\uB294 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4.");const H=o.useMemo(()=>{if(!b)return I;const W=O.period==="month"?O.monthRange.match(/^(\d+)년 (\d+)월$/):null,ae=Kn(),ue=v?.length??0,Se=pe=>{const re=[],q=[],se=[];for(let de=0;de<ue;de++){let ve=0,ye=0,Be=0;for(const he of pe){const ke=lt(he.a[de]),je=lt(he.b[de]);je<=0||(ve+=ke,ye+=je,Be+=ke/je*100)}re.push(C==="weighted"?ye>0?Math.round(ve/ye*100):0:pe.length?Math.round(Be/pe.length):0),q.push(ve),se.push(ye)}return{pct:re,ra:q,rb:se}};return I.map((pe,re)=>{let q=pe.a===-1?-1:pe.b>0?Math.round(pe.a/pe.b*100):0;if(W&&!_n(pe)){const de=Number(W[1]),ve=Number(W[2])-1,ye=so(r,new Date(de,ve,on(de,ve)+re*7),ae).filter(Be=>!Be.isFuture);if(C==="weighted"){let Be=0,he=0;for(const{entry:ke}of ye)ke&&ke.b>0&&(Be+=ke.a,he+=ke.b);q=he>0?Math.round(Be/he*100):0}else q=ye.length?Math.round(ye.reduce((Be,{entry:he})=>Be+(he&&he.b>0?he.a/he.b*100:0),0)/ye.length):0}let se=null;if(S&&!_n(pe)){let de;if(W){const ye=Number(W[1]),Be=Number(W[2])-1;de=so(r,new Date(ye,Be,on(ye,Be)+re*7),ae).filter(he=>!he.isFuture).map(({entry:he})=>({a:he?.parts??[],b:he?.partsB??[]}))}else de=[{a:pe.parts??[],b:pe.partsB??[]}];const ve=Se(de);se={parts:ve.pct,rawParts:ve.ra,rawPartsB:ve.rb}}return{...pe,a:q,b:pe.a===-1?0:c&&pe.parts&&pe.parts[1]>0?Math.round(pe.parts[0]/pe.parts[1]*100):0,rawA:pe.a===-1?-1:pe.a,rawB:pe.b,...se??{}}})},[I,b,C,c,O.period,O.monthRange,r,S,v?.length]),P=o.useMemo(()=>{if(b||_){const ae=(O.period==="week"?I:r[O.monthRange]?.daily??[]).filter(Se=>Se.a!==-1);if(ae.length===0)return 0;if(b&&C==="weighted"){let Se=0,pe=0;for(const re of ae)re.b>0&&(Se+=re.a,pe+=re.b);return pe>0?Math.round(Se/pe*100):0}const ue=b?ae.reduce((Se,pe)=>Se+(pe.b>0?pe.a/pe.b*100:0),0):ae.reduce((Se,pe)=>Se+(pe.a>0?pe.a:0),0);return Math.round(ue/ae.length)}const W=O.period==="month"?r[O.monthRange]?.daily??[]:H;return E!=null?W.reduce((ae,ue)=>ae+(_n(ue,!1)?0:lt(ue.a)+(c?lt(ue.b):0)),0):W.reduce((ae,ue)=>ae+(ue.a>0?ue.a:0)+(c&&ue.b>0?ue.b:0),0)},[H,I,b,C,_,E,c,O.period,O.monthRange,r]),M=v&&v.length>0?v.map(W=>({color:W.color,label:W.label})):[{color:s,label:Y(l)},...c?[{color:i,label:Y(c)}]:[]],L=e==="small",X=[L?"manager-section--compact":e==="large"?"manager-section--full":void 0,T].filter(Boolean).join(" ")||void 0;return n.jsx(oo,{className:X,inGrid:V,icon:N,disc:A,onClick:D,ariaLabel:F,tooltip:$,headSegment:B,headMenuItems:k?[{label:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:k,closeOnSelect:!0}]:void 0,title:Y(a),titleClassName:L?"h5 chart-section-title--small":void 0,headRight:L?w??void 0:({collapsed:W})=>n.jsxs(n.Fragment,{children:[!f&&n.jsx(Ol,{control:O}),w,k&&!W&&n.jsx("span",{className:"manager-bar-chart-detail-btn",children:n.jsx(le,{htmlType:"button",size:R,type:"dot",icon:"list",ariaLabel:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:Y("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:k})})]}),subRow:n.jsxs(n.Fragment,{children:[u?b||_||p&&h?n.jsx(Za,{label:L?void 0:`${Y(O.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${Y(p??l)}`,children:h?(h(P).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((W,ae)=>/\d/.test(W)?n.jsx("span",{className:"barchart-total__num h0",children:W},ae):n.jsx("span",{className:"barchart-total__unit h5",children:W},ae)):n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"barchart-total__num h0",children:P}),d&&n.jsx("span",{className:"barchart-total__unit h5",children:Y(d)})]})}):n.jsxs(Za,{children:[n.jsx("span",{className:"barchart-total__num h0",children:P}),n.jsx("span",{className:"barchart-total__unit h5",children:Y(l)}),d&&n.jsx("span",{className:"barchart-total__unit h5",children:Y(d)})]}):n.jsx("span",{}),n.jsx(ro,{items:M,className:"caption-1"})]}),children:g?n.jsx("div",{className:"manager-bar-chart-loading",children:n.jsx(Sa,{size:32})}):n.jsx(P4,{data:H,colorA:s,colorB:c?i:void 0,labelA:Y(l),labelB:c?Y(c):void 0,barWidth:t??G.barWidth,barGap:U,baseline:E,height:G.height,maxOverride:b?100:void 0,tightMax:y,seriesColors:v?.map(W=>W.color),seriesLabels:v?.map(W=>W.label),rateLabels:b?{total:Y("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:Y("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:S})})}const Hl=(e,t,a)=>{const r=new Date(Date.UTC(e,t,a));return`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}-${String(r.getUTCDate()).padStart(2,"0")}`},Vl=(e,t,a,r)=>({from:ri(e,t,a),to:new Date(ri(e,t,a+r).getTime()-1),fromYmd:Hl(e,t,a),toYmd:Hl(e,t,a+r-1)});function H4(e,t=0){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=Kn(),l=s?Number(s[1]):i.getFullYear(),c=(s?Number(s[2]):i.getMonth()+1)-1+t,u=new Date(Date.UTC(l,c+1,0)).getUTCDate();return Vl(l,c,1,u)}const a=e.weekRanges.find(s=>s.value===e.weekRange);if(!a){const s=new Date,i=ga();return{from:s,to:s,fromYmd:i,toYmd:i}}const r=on(a.year,a.month-1);return Vl(a.year,a.month-1,r+(a.week+t)*7,7)}const zl={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function Wl(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function ql({done:e,total:t,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:c=!1,hideLabel:u=!1}){const d=typeof s=="number"?s:zl[s].diameter,p=i??(typeof s=="number"?12:zl[s].strokeWidth),m=d/2,f=(d-p)/2,b=2*Math.PI*f;if(a&&a.length>0){const h=a.reduce((v,x)=>{const g=v.length>0?v[v.length-1].acc:0,k=Number.isFinite(x.ratio)?x.ratio:0,w=Math.max(0,Math.min(k,1-g));return v.push({color:x.color,rotate:-90+g*360,dash:b*w,acc:g+w}),v},[]);return n.jsx("div",{className:"ring-chart",style:{width:d,height:d},children:n.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),h.map((v,x)=>v.dash>0&&n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:v.color,strokeWidth:p,strokeDasharray:`${v.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${v.rotate} ${m} ${m})`},x))]})})}const C=(t??0)>0?Math.min((e??0)/t,1):0,y=b*C,_=b-y;return n.jsxs("div",{className:"ring-chart",style:{width:d,height:d},children:[n.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",children:[n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),C>0&&n.jsx("circle",{cx:m,cy:m,r:f,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${y} ${_}`,strokeLinecap:C<.02||C>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!c&&n.jsxs("div",{className:`ring-chart__center${u?"":` ${d<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[n.jsx("span",{className:`ring-chart__pct ${d<=96?"h2":"h1"}`,children:Wl(C)}),!u&&n.jsx("span",{className:`ring-chart__label ${d<=96?"caption-2":"caption-1"}${d<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function V4({titleKey:e,headRight:t,icon:a,showTotal:r,totalLabelKey:s,legend:i,loading:l,className:c,inGrid:u=!1,onClick:d,ariaLabel:p,tooltip:m,...f}){const{t:b}=be.useTranslation();if(!e)return n.jsx(ql,{...f});const C=(f.total??0)>0?Wl(Math.min((f.done??0)/f.total,1)):0,y=f.size==="small",_=f.size==="large",h=[c,y?"manager-section--compact":_?"manager-section--full":""].filter(Boolean).join(" ")||void 0,v=a&&n.jsx("span",{className:"chart-section-icon",children:n.jsx(qe,{icon:a,className:"chart-section-icon-inner"})});return n.jsx(oo,{className:h,inGrid:u,onClick:d,ariaLabel:p,tooltip:m,title:b(e),titleClassName:y?"h5 chart-section-title--small":void 0,headRight:v||(y?void 0:t),subRow:(r||i)&&n.jsxs(n.Fragment,{children:[r?n.jsxs(Za,{label:!y&&s?b(s):void 0,children:[n.jsx("span",{className:"barchart-total__num h0",children:C}),n.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):n.jsx("span",{}),i&&n.jsx(ro,{items:i})]}),children:l?n.jsx("div",{className:"manager-bar-chart-loading",children:n.jsx(Sa,{size:32})}):n.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:n.jsx(ql,{...f,hideCenter:f.hideCenter??y})})})}function z4({label:e,value:t,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:c}){const u=o.useRef(null),{anchorRect:d,openAt:p,close:m}=va(),f=o.useCallback(()=>{i&&u.current&&p(u.current)},[i,p]),b=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),C=a===void 0?void 0:a>0?`+${a}`:`${a}`,y=o.useCallback(_=>{l&&(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),l())},[l]);return n.jsxs("div",{ref:u,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?y:void 0,onPointerEnter:f,onPointerLeave:m,onFocus:f,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,t,C].filter(_=>_!==void 0&&_!=="").join(" "):void 0,children:[i&&d&&n.jsx(bn,{anchorRect:{left:d.left,top:d.top+21,right:d.right,bottom:d.bottom,width:d.width,height:d.height},text:i}),n.jsxs("div",{className:"manager-stat-card__label-row",children:[n.jsx("span",{className:"manager-stat-card__label h5",children:e}),s&&n.jsx("span",{className:"manager-stat-card__icon",children:n.jsx(qe,{icon:s,className:"manager-stat-card__icon-inner"})})]}),n.jsxs("div",{className:"manager-stat-card__content",children:[n.jsxs("div",{className:"manager-stat-card__left",children:[n.jsx("div",{className:"manager-stat-card__value h2",children:t}),C&&n.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${b??"neutral"} caption-1`,children:C})]}),c&&n.jsx("div",{className:"manager-stat-card__body",children:c})]})]})}function Ul({value:e,onChange:t,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:c=!1,ariaLabel:u,length:d,className:p,label:m,formatValue:f,labelPos:b,labelAlign:C="right",showMinMax:y=!1,minLabel:_,maxLabel:h,showBgTick:v=!1,showFillTick:x=!1,tickStep:g,tickShape:k="dot"}){t&&!u&&fn("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 w=Math.min(r,Math.max(a,e)),B=r>a?(w-a)/(r-a):0,N=i==="vertical",A=!t,D=S=>t?.(Number(S.target.value)),F=typeof d=="number"?`${d}px`:d,$={"--slider-ratio":String(B),"--slider-thumb":`${l}px`,...F?N?{height:F}:{width:F}:{}},R=g??s,U=(v||x)&&R>0&&r>a?Math.floor((r-a)/R+1e-6):0;if(U>0&&U<=100){const S=k!=="dash",H=W=>S?`radial-gradient(circle, ${W} 0.5px, transparent 1px)`:N?`linear-gradient(to bottom, transparent calc(50% - 2px), ${W} calc(50% - 2px), ${W} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${W} calc(50% - 2px), ${W} calc(50% + 2px), transparent calc(50% + 2px))`,P=S?"2px":"4px",M=[],L=[],X=[];for(let W=0;W<=U;W++){const ae=W*R/(r-a);if(ae>1+1e-6)break;const ue=`${((N?1-ae:ae)*100).toFixed(4)}%`,Se=ae<=B+1e-6;if(Se?!x:!v)continue;const pe=Se?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";M.push(H(pe)),L.push(N?`${P} var(--slider-thumb)`:`var(--slider-thumb) ${P}`),X.push(N?`center ${ue}`:`${ue} center`)}M.push(N?"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))"),L.push("100% 100%"),X.push("0 0"),$.backgroundImage=M.join(", "),$.backgroundSize=L.join(", "),$.backgroundPosition=X.join(", "),$.backgroundRepeat="no-repeat"}const E=f?f(w):m==="percent"?`${Math.round(r>a?(w-a)/(r-a)*100:0)}%`:m==="count"?`${w} / ${r}`:w===a&&_?_:w===r&&h?h:void 0,T=n.jsx("input",{type:"range",className:De("slider",`slider--${i}`,A&&"slider--static",!m&&!y&&p),min:a,max:r,step:s,value:w,disabled:c,readOnly:A,tabIndex:A?-1:void 0,"aria-label":u,"aria-valuetext":E,"aria-orientation":i,onChange:D,style:$});if(!m&&!y)return T;const V=n.jsx("span",{className:"slider-wrap__minmax caption-1",children:_??a}),Y=n.jsx("span",{className:"slider-wrap__minmax caption-1",children:h??r}),K=y?n.jsxs("div",{className:De("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[N?Y:V,T,N?V:Y]}):T;if(!m)return K;const G=b??(N?"bottom":"right"),J=`${Math.round(r>a?(w-a)/(r-a)*100:0)}%`,O=f?f(w):m==="percent"?J:m==="count"?`${w} / ${r}`:String(w),I=n.jsx("span",{className:"slider-wrap__value body-3b",children:O});return n.jsxs("div",{className:De("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${G}`,`slider-wrap--align-${C}`,p),children:[K,I]})}const W4=.86,q4=250,io=(e,t,a,r)=>Math.round(Math.min(r,Math.max(a,e-t))),lo=(e,t,a,r)=>{const s=io(e,t,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function co({analyser:e,audioElement:t,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:c=-60,refDb:u=-35,displayMin:d=-5,displayMax:p=25,className:m,ariaLabel:f}){const b=o.useRef(null),C=o.useRef(null),y=o.useRef(null),_=o.useRef(null),[h,v]=o.useState(null);o.useEffect(()=>{const w=T=>{const V=lo(T,u,d,p);y.current&&(y.current.textContent=V);const Y=b.current;Y&&(Y.setAttribute("aria-valuenow",String(io(T,u,d,p))),Y.setAttribute("aria-valuetext",V))},B=e??J0(t)??(h&&h.el===t?h.node:null),N=C.current;if(!B||!N){N?.style.setProperty("--meter-level","0"),w(c);let T=!1;return!e&&t&&Pa(t).then(V=>{!T&&V&&v({el:t,node:V})}),()=>{T=!0}}Sr();const A=new Float32Array(B.fftSize);let D=0,F=0,$=0,R=0,U=null;const E=T=>{const V=Q0(B,A);D=V>D?V:D*W4;const Y=D>1e-5?20*Math.log10(D):-1/0,K=Math.max(c,Y),G=K-u,J=Math.min(1,Math.max(0,(G-d)/(p-d)));if(N.style.setProperty("--meter-level",J.toFixed(3)),F+=K,$+=1,T-R>=q4){const O=F/$;U=U==null?O:U*.6+O*.4,w(U),F=0,$=0,R=T}_.current=requestAnimationFrame(E)};return _.current=requestAnimationFrame(E),()=>{_.current!=null&&cancelAnimationFrame(_.current),_.current=null}},[e,t,h,c,u,d,p]);const x=typeof r=="number"?`${r}px`:r,g=n.jsx("div",{className:"audio-meter__track",style:x?a==="vertical"?{height:x}:{width:x}:{},children:n.jsx("div",{ref:C,className:"audio-meter__fill"})}),k=i??(a==="vertical"?"bottom":"right");return n.jsxs("div",{ref:b,className:De("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${k}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":f,"aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":io(c,u,d,p),"aria-valuetext":lo(c,u,d,p),children:[g,s&&n.jsx("span",{ref:y,className:"audio-meter__value caption-2",children:lo(c,u,d,p)})]})}const Gl=260;function Kl({message:e,position:t,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,c]=o.useState(!1),u=o.useRef(l),d=o.useRef(s);o.useEffect(()=>{u.current=l},[l]),o.useEffect(()=>{d.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),f=o.useRef(r);o.useEffect(()=>{f.current=r});const b=a,C=o.useRef(null),y=o.useRef(0),_=o.useRef(0),h=o.useRef(!1),v=o.useRef(null),x=o.useRef(null),g=o.useRef(null),k=o.useRef(null),w=o.useRef(()=>{});w.current=A=>{A<0||(y.current=Date.now(),_.current=A,C.current=setTimeout(()=>{C.current=null,i(!1),v.current=setTimeout(()=>{c(!1);try{f.current()}catch{}},Gl)},A))};const B=o.useCallback(()=>{h.current||!C.current||(h.current=!0,clearTimeout(C.current),C.current=null,_.current=Math.max(0,_.current-(Date.now()-y.current)))},[]),N=o.useCallback(()=>{h.current&&(h.current=!1,w.current(_.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(C.current&&(clearTimeout(C.current),C.current=null),v.current&&(clearTimeout(v.current),v.current=null)),e){if(d.current)return b>0&&!C.current&&(h.current?_.current=b:w.current(b)),m.current=e,()=>{C.current&&(clearTimeout(C.current),C.current=null),v.current&&(clearTimeout(v.current),v.current=null)};const A=()=>{const D=p.current;if(D)try{D.classList.remove("is-visible"),D.style.transition="none",t==="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"),k.current&&clearTimeout(k.current),k.current=setTimeout(()=>{k.current=null;try{D.style.opacity="",D.style.transform="",D.style.transition=""}catch{}},60)}catch{}};u.current?(A(),i(!0)):(c(!0),x.current=requestAnimationFrame(()=>{g.current=requestAnimationFrame(()=>{A(),i(!0)})})),b>0&&(h.current=!1,w.current(b))}else i(!1),v.current=setTimeout(()=>c(!1),Gl);return m.current=e,()=>{C.current&&clearTimeout(C.current),v.current&&clearTimeout(v.current),x.current&&cancelAnimationFrame(x.current),g.current&&cancelAnimationFrame(g.current),k.current&&clearTimeout(k.current),C.current=null,v.current=null,x.current=null,g.current=null,k.current=null}},[e,b,t]),{mounted:l,showing:s,popupRef:p,pause:B,resume:N}}function ta({message:e="",position:t="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:c,pause:u,resume:d}=Kl({message:e,position:t,duration:s,onClose:r}),p=o.useRef(null),[m,f]=o.useState(!1);if(o.useEffect(()=>{l?f(!0):i||f(!1)},[l,i]),!i)return null;const b=a==="notice"||a==="warning"?a:"normal",C=n.jsx("div",{ref:c,className:`toast toast--${t} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:y=>{p.current=y.pointerType},onMouseEnter:()=>{p.current!=="touch"&&u()},onMouseLeave:d,onFocusCapture:u,onBlurCapture:d,children:n.jsx("div",{className:`toast__inner toast__inner--${b} body-2`,"aria-hidden":m||l?void 0:!0,children:e})});return typeof document<"u"?qt.createPortal(C,document.body):C}const U4=24;function G4({value:e,max:t=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:c,labelAlign:u="right",ariaLabel:d,className:p}){const m=Number.isFinite(t)&&t>0?t:1,f=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),b=f/m*100,C=Number.isFinite(t)&&t>0?t:0,y=c??(a>=U4?"inside":"bottom"),_=y==="center"?"inside":y,h=_==="inside"&&(u==="left"?b>=15:u==="center"?b>=50:b>=85),v={};return r&&(v["--progress-bar-fill"]=r),s&&(v["--progress-bar-track"]=s),n.jsxs("div",{className:De("progress-bar",`progress-bar--${a}`,`progress-bar--label-${_}`,i&&`progress-bar--align-${u}`,i&&h&&"progress-bar--label-on-fill",p),style:v,children:[n.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":f,"aria-valuemin":0,"aria-valuemax":C,"aria-valuetext":i?l?l(f):i==="percent"?void 0:i==="raw"?String(f):`${f} / ${C}`:void 0,"aria-label":d,children:n.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&n.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(f):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(f):`${f} / ${C}`})]})}const Yl={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},K4="rgba(255, 255, 255, 0.16)";function Zl({max:e,index:t,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:c}){const{t:u}=be.useTranslation(),d=tn("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(t)?Math.max(0,Math.min(t,e-1)):0,m=c??u("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),f={};if(a&&(f["--pi-inactive-bg"]=a),r&&(f["--pi-inactive-color"]=r),s&&(a||(f["--pi-inactive-bg"]=K4),r||(f["--pi-inactive-color"]="var(--color-white)")),i==="dot")return n.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:f,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&n.jsx("span",{style:Yl,children:m}),Array.from({length:e}).map((C,y)=>n.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${y<p?" done":y===p?" active":""}`},y))]});const b=l?n.jsx("span",{role:"status",style:Yl,children:m}):null;return d?n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:f,role:"list","aria-label":m,children:n.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),b]}):n.jsxs(n.Fragment,{children:[b,n.jsx("div",{className:"progress-indicator",style:f,role:"list","aria-label":m,children:Array.from({length:e}).map((C,y)=>n.jsx("span",{role:"listitem","aria-current":y===p?"step":void 0,className:`progress-indicator-dot ${y<p?" done":y===p?" active":""} body-3`,children:y+1},y))})]})}function Y4(e){if(!e)return[];const t=[];let a=0,r="";for(const s of e.trim()){if(s==="("?a++:s===")"&&a--,/\s/.test(s)&&a===0){r&&(t.push(r),r="");continue}r+=s}return r&&t.push(r),t}function Z4({children:e,className:t,style:a}){return n.jsx("div",{className:t?`table-cell ${t}`:"table-cell",style:a,children:e})}function uo({variant:e="default",children:t,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:c,onDragEnd:u,expandedContent:d}){const p=o.useCallback(m=>{s&&m.target===m.currentTarget&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),s())},[s]);return e==="loading"?n.jsx("div",{className:"table-row-wrap",children:n.jsx("div",{className:"table-row table-row--loading",children:n.jsx(Sa,{size:28})})}):e==="empty"?n.jsx("div",{className:"table-row-wrap",children:n.jsx("div",{className:"table-row table-row--empty body-3",children:t})}):n.jsxs("div",{className:"table-row-wrap",children:[n.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?p:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:c,onDragEnd:u,role:s?"button":void 0,tabIndex:s?0:void 0,children:t}),d&&n.jsx("div",{className:"table-row-expand",children:d})]})}function X4({dir:e}){return n.jsx(e==="asc"?hs:ms,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function J4({children:e,onClick:t,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=n.jsxs(n.Fragment,{children:[e,r&&n.jsx(X4,{dir:r})]});return n.jsxs("div",{onClick:t,role:"columnheader","aria-sort":s,className:De("table-field body-3",a,r?"table-field--sorted":"",i?"table-field--resizable":""),children:[t?n.jsx("button",{type:"button",className:"table-field__button",children:l}):l,i&&n.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:c=>c.stopPropagation(),"aria-hidden":"true"})]})}function po({fields:e=[],headerGroups:t,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:c,onRowDragStart:u,onRowDragEnd:d,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:f,resizable:b=!1,resizeMode:C="grow",resizeStorageKey:y,size:_="small",title:h,icon:v,count:x,collapsed:g=!1,onToggleCollapse:k,headerActions:w,empty:B,loading:N,dragOver:A=!1,onDragOver:D,onDragLeave:F,onDrop:$,renderExpandedRow:R,expandedId:U}){const{t:E}=be.useTranslation(),T=tn("(max-width: 767px)"),V=f&&T?f:null,Y=b&&!V,K=48,G=y?`table-cols:${y}`:null,J=o.useRef(null),O=o.useRef(()=>!1),I=o.useRef([]),S=o.useRef(null),H=oe=>{if(!oe||typeof window>"u")return null;try{const ee=JSON.parse(window.localStorage.getItem(oe)??"null");return Array.isArray(ee)&&ee.length>0&&ee.every(fe=>typeof fe=="number"&&Number.isFinite(fe)&&fe>0)?ee:null}catch{return null}},[P,M]=o.useState(()=>H(G)),[L,X]=o.useState(G);L!==G&&(X(G),M(H(G)));const W=o.useRef(P);o.useEffect(()=>{W.current=P},[P]);const ae=o.useCallback(oe=>{const ee=S.current;if(!ee)return;const fe=W.current;if(fe){const te=[...fe];if(ee.next!=null&&ee.startWNext!=null){const ge=oe.clientX-ee.startX,_e=Math.max(K-ee.startW,Math.min(ee.startWNext-K,ge));te[ee.index]=ee.startW+_e,te[ee.next]=ee.startWNext-_e}else te[ee.index]=Math.max(K,ee.startW+(oe.clientX-ee.startX));W.current=te,M(te)}},[]),ue=o.useCallback(()=>{if(S.current=null,window.removeEventListener("pointermove",ae),window.removeEventListener("pointerup",ue),window.removeEventListener("pointercancel",ue),document.body.style.cursor="",document.body.style.userSelect="",G&&W.current)try{window.localStorage.setItem(G,JSON.stringify(W.current))}catch{}},[ae,G]),Se=o.useCallback((oe,ee)=>{ee.preventDefault(),ee.stopPropagation();const fe=J.current;if(!fe)return;const te=Array.from(fe.children).map(_e=>_e.getBoundingClientRect().width),ge=C==="fit"?e.findIndex((_e,Ye)=>Ye>oe&&_e.resizable!==!1):-1;S.current=ge>=0?{index:oe,startX:ee.clientX,startW:te[oe],next:ge,startWNext:te[ge]}:{index:oe,startX:ee.clientX,startW:te[oe]},W.current=te,M(te),window.addEventListener("pointermove",ae),window.addEventListener("pointerup",ue),window.addEventListener("pointercancel",ue),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[ae,ue,C,e]),pe=o.useCallback(()=>{const oe=J.current,ee=oe?.closest(".table-wrap");if(!oe||!ee)return;const fe=ee.style.getPropertyValue("--table-grid-cols");ee.style.setProperty("--table-grid-cols",e.map(($e,Ie)=>O.current(Ie)?I.current[Ie]:"max-content").join(" "));const te=Array.from(ee.querySelectorAll(".table-row")).filter($e=>!$e.classList.contains("table-row--loading")&&!$e.classList.contains("table-row--empty")),ge=e.map(($e,Ie)=>{let Ve=oe.children[Ie]?.getBoundingClientRect().width??0;for(const ot of te){const We=ot.children[Ie];We&&(Ve=Math.max(Ve,We.getBoundingClientRect().width))}const at=O.current(Ie)?parseFloat(I.current[Ie]):NaN;return Number.isFinite(at)?at:Math.max(K,Math.ceil(Ve))}),_e=window.getComputedStyle(oe),Ye=oe.clientWidth-(parseFloat(_e.paddingLeft)||0)-(parseFloat(_e.paddingRight)||0);fe?ee.style.setProperty("--table-grid-cols",fe):ee.style.removeProperty("--table-grid-cols");let He=ge;const Ue=ge.reduce(($e,Ie,Ve)=>$e+(O.current(Ve)?Ie:0),0),Ee=ge.reduce(($e,Ie,Ve)=>$e+(O.current(Ve)?0:Ie),0),Ge=Ye-Ue;if(Ye>0&&Ee>0&&Ge>0){const $e=Ge/Ee;He=ge.map((Ve,at)=>O.current(at)?Ve:Math.max(K,Math.round(Ve*$e)));const Ie=Math.round(Ge-He.reduce((Ve,at,ot)=>Ve+(O.current(ot)?0:at),0));if(Ie!==0){let Ve=-1;He.forEach((at,ot)=>{!O.current(ot)&&(Ve<0||at>He[Ve])&&(Ve=ot)}),Ve>=0&&(He[Ve]=Math.max(K,He[Ve]+Ie))}}if(M(He),G)try{window.localStorage.setItem(G,JSON.stringify(He))}catch{}},[e,C,G]);o.useEffect(()=>()=>{S.current&&(window.removeEventListener("pointermove",ae),window.removeEventListener("pointerup",ue),window.removeEventListener("pointercancel",ue),document.body.style.cursor="",document.body.style.userSelect="")},[ae,ue]);const re=Y4(m),q=re.filter(oe=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(oe));q.length>0&&fn(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${q.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: ${m})`);const se=e.findIndex(oe=>!!oe.sortDir);e.filter(oe=>!!oe.sortDir).length>1&&fn("table-multi-sort","[ihabdevteam-core] Table \uC758 fields \uC5D0 sortDir \uC774 \uB458 \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. aria-sort \uB294 \uD45C \uD558\uB098\uC5D0 \uD55C \uCE78\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC5B4 \uCCAB \uCE78\uB9CC \uBC29\uD5A5\uC73C\uB85C \uC54C\uB9AC\uACE0 \uB098\uBA38\uC9C0\uB294 none \uC73C\uB85C \uB461\uB2C8\uB2E4.");const de=oe=>oe===se?e[oe].sortDir==="asc"?"ascending":"descending":e[oe].onClick?"none":void 0,ve=oe=>/^\d+(\.\d+)?px$/.test(re[oe]??"");O.current=ve,I.current=re;const ye=oe=>C==="fit"&&!ve(oe)?"fr":"px",Be=P&&P.length===e.length&&(C==="fit"||a.length>0),he=V??(Be?e.map((oe,ee)=>oe.resizable===!1&&re[ee]?re[ee]:`${P[ee]}${ye(ee)}`).join(" "):m),ke=he?{"--table-grid-cols":he}:void 0,je=h!==void 0;return n.jsx("div",{className:`table-wrap table-wrap--${_}${Y?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${g?" table-wrap--collapsed":""}`,style:ke,onDragOver:D,onDragLeave:F,onDrop:$,children:n.jsxs("div",{className:"table body-2",children:[je&&n.jsxs("div",{className:"table-header",onClick:k,role:k?"button":void 0,tabIndex:k?0:void 0,"aria-expanded":k?!g:void 0,onKeyDown:k?oe=>{oe.target===oe.currentTarget&&(oe.key==="Enter"||oe.key===" ")&&(oe.preventDefault(),k())}:void 0,children:[k&&n.jsx(le,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:g?"chevron-right":"chevron-down",ariaLabel:g?E("common.expand","\uD3BC\uCE58\uAE30"):E("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),v&&n.jsx(qe,{icon:v,label:typeof h=="string"?h:void 0,className:"table-header__icon"}),n.jsx("span",{className:"table-header__title h5b",children:h}),x!==void 0&&n.jsx("span",{className:"table-header__count body-3b",children:x}),w&&n.jsx("span",{className:"table-header__actions",onClick:oe=>oe.stopPropagation(),children:w})]}),!g&&n.jsxs(n.Fragment,{children:[t&&t.length>0&&n.jsx("div",{className:"table-fields table-fields--groups",children:t.map((oe,ee)=>n.jsx("div",{className:De("table-field body-3",oe.className),style:{gridColumn:`span ${oe.span}`},children:oe.label},ee))}),n.jsxs("div",{className:De("table-fields-strip",Y&&"table-fields-strip--resizable"),children:[n.jsx("div",{className:"table-fields",ref:J,children:e.map((oe,ee)=>n.jsx(J4,{onClick:oe.onClick,className:oe.className,sortDir:oe.sortDir,ariaSort:de(ee),onResizeStart:Y&&ee<e.length-1&&oe.resizable!==!1&&(C!=="fit"||e.some((fe,te)=>te>ee&&fe.resizable!==!1))?fe=>Se(ee,fe):void 0,children:oe.label},ee))}),Y&&n.jsx(le,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:E("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:E("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:pe})]}),n.jsx("div",{className:"table-body",children:N?n.jsx(uo,{variant:"loading"}):a.length===0&&B?n.jsx(uo,{variant:"empty",children:B}):a.map((oe,ee)=>{const fe=p!=null&&oe.id===p,te=!!s&&(i?i(oe):!0),ge=U!=null&&oe.id!=null&&(U instanceof Set?U.has(oe.id)||[...U].some(_e=>String(_e)===String(oe.id)):String(oe.id)===String(U));return n.jsx(uo,{className:`${te?" table-row--clickable":""}${u?" table-row--draggable":""}${fe?" table-row--dragging":""}`.trim(),draggable:!!u,onClick:te?()=>s(oe):void 0,onMouseEnter:l?_e=>l(oe,_e):void 0,onMouseLeave:c?_e=>c(oe,_e):void 0,onDragStart:u?_e=>u(oe,_e):void 0,onDragEnd:d?_e=>d(oe,_e):void 0,expandedContent:ge&&R?R(oe):void 0,children:r(oe).map((_e,Ye)=>n.jsx(Z4,{className:_e.className,style:_e.style,children:_e.content},Ye))},oe.id!=null?`${typeof oe.id}:${oe.id}`:`__idx:${ee}`)})})]})]})})}function Xl(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const na=e=>e==null?"":String(e).trim();function mo(e,t,a){const r=[na(e),na(t),na(a)];for(;r.length>0&&r[r.length-1]==="";)r.pop();return r.join(".")}function Q4(e,t,a){const r=na(e);return r?`${r}-${na(t).padStart(2,"0")}-${na(a).padStart(2,"0")}`:""}const ey={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function ty(e,t){const a=ey[e];return a?t(`device.type.${a}`,{defaultValue:e}):e}function Jl(e,t){return t!=="wornAt"?String(e[t]??""):Q4(e.wornYear,e.wornMonth,e.wornDay)}function ny({rows:e,onSelect:t,onDelete:a,onWear:r,onRelease:s,onAdd:i}){const{t:l}=be.useTranslation(),c=C=>C==="\uC88C"?l("device.direction.left","\uC88C"):l("device.direction.right","\uC6B0"),{\uC815\uB82C:u,\uCE78:d}=qg(),p=o.useMemo(()=>{if(!u)return e;const{key:C,asc:y}=u;return[...e].sort((_,h)=>{if(C==="worn"){const v=Number(h.worn)-Number(_.worn);return y?v:-v}return Kr(Jl(_,C),Jl(h,C),y)})},[e,u]),{pageRows:m,pageSizeProps:f,paginationProps:b}=Wg(p,u);return n.jsxs("div",{className:"dlp-side-table",children:[n.jsx(ao,{count:{value:e.length,unit:l("customers.device.unit","\uAC1C")},pageSize:f,pagination:b,actions:i&&n.jsx(le,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:l("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:i})}),n.jsx(po,{resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...d(l("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},d(l("device.direction.label","\uBC29\uD5A5"),"side"),d(l("device.deviceType","\uC885\uB958"),"device"),d(l("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),d(l("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),d(l("device.productName","\uC81C\uD488\uBA85"),"productName"),d(l("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...a?[{label:"",resizable:!1}]:[]],items:m.map((C,y)=>({id:C.id??`${C.side}-${y}`,row:C})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${a?" 80px":""}`,renderRow:({row:C})=>[{content:n.jsx("span",{className:"dlp-worn-check",onClick:y=>y.stopPropagation(),children:n.jsx($l,{checked:C.worn,disabled:C.worn?!s:!r,ariaLabel:C.worn?l("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):l("customers.device.wear","\uCC29\uC6A9"),onChange:y=>{y?r?.(C):s?.(C)}})})},{content:n.jsx("span",{children:c(C.side)})},{content:C.device?n.jsx(mt,{size:"small",variant:Xl(C.device),fill:"soft",label:ty(C.device,l)}):n.jsx("span",{})},{content:n.jsx("span",{children:C.brand})},{content:n.jsx("span",{children:C.fitType||"-"})},{content:n.jsx("span",{children:C.productName||"-"})},{content:n.jsx("span",{className:"dlp-date",children:mo(C.wornYear,C.wornMonth,C.wornDay)||"-"})},...a?[{content:n.jsx("span",{className:"dlp-row-actions",children:n.jsx(le,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:l("common.delete","\uC0AD\uC81C"),onClick:y=>{y?.stopPropagation(),a(C)}})})}]:[]],onRowClick:({row:C})=>t(C),empty:l("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function Ql(e,t){return e?{role:t?.role??"button",tabIndex:0,...t?.selected===void 0?{}:{"aria-selected":t.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function ay(e,t){return new Date(e,t+1,0).getDate()}function ry(e,t){return new Date(e,t,1).getDay()}function oy({visits:e=[],onVisitClick:t,onVisitMove:a,onDayClick:r,today:s}){const{t:i}=be.useTranslation(),l=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),c=Lr(s),[u,d]=o.useState(()=>Number(c.slice(0,4))),[p,m]=o.useState(()=>Number(c.slice(5,7))-1),[f,b]=o.useState(null),C=o.useRef(null),y=o.useMemo(()=>{const k={};return e.forEach(w=>{k[w.date]||(k[w.date]=[]),k[w.date].push(w)}),k},[e]),_=o.useMemo(()=>{const k=ay(u,p),w=ry(u,p),B=[];for(let N=0;N<w;N++)B.push(null);for(let N=1;N<=k;N++)B.push(N);for(;B.length<35;)B.push(null);return B},[u,p]),h=o.useCallback(()=>{p===0?(d(k=>k-1),m(11)):m(k=>k-1)},[p]),v=o.useCallback(()=>{p===11?(d(k=>k+1),m(0)):m(k=>k+1)},[p]),x=k=>`${u}-${String(p+1).padStart(2,"0")}-${String(k).padStart(2,"0")}`,g=k=>x(k)===c;return n.jsxs("div",{children:[n.jsxs("div",{className:"calendar-nav",children:[n.jsx("button",{type:"button",className:"calendar-nav__button",onClick:h,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:n.jsx(qe,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),n.jsx("span",{className:"calendar-nav__title h5","aria-live":"polite",children:i("calendar.yearMonth",{year:u,month:p+1})}),n.jsx("button",{type:"button",className:"calendar-nav__button",onClick:v,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:n.jsx(qe,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),n.jsxs("div",{className:"calendar-nav__legend",children:[n.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),n.jsx("span",{className:"caption-1",children:i("calendar.legend.visited","\uBC29\uBB38")}),n.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),n.jsx("span",{className:"caption-1",children:i("calendar.legend.scheduled","\uC608\uC57D")}),n.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),n.jsx("span",{className:"caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),n.jsxs("div",{className:"calendar-grid",children:[l.map(k=>n.jsx("div",{className:"calendar-day-header body-3",children:k},k)),_.map((k,w)=>{if(k===null)return n.jsx("div",{className:"calendar-cell empty"},`empty-${w}`);const B=k,N=x(B),A=y[N]??[],D=f===N;return n.jsxs("div",{className:`calendar-cell${g(B)?" today":""}${D?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:N}):void 0,"aria-current":g(B)?"date":void 0,onClick:r?()=>r(N):void 0,onKeyDown:r?F=>{F.target===F.currentTarget&&(F.key!=="Enter"&&F.key!==" "||(F.preventDefault(),r(N)))}:void 0,onDragOver:a?F=>{F.preventDefault(),b(N)}:void 0,onDragLeave:a?F=>{F.currentTarget.contains(F.relatedTarget)||b(null)}:void 0,onDrop:a?F=>{F.preventDefault(),C.current!=null&&(a(C.current,N),C.current=null),b(null)}:void 0,children:[n.jsx("div",{className:"calendar-cell__number body-3",children:B}),n.jsx("div",{className:"calendar-cell__badges",children:A.map((F,$)=>n.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${F.status==="noVisit"?" calendar-visit-badge--no-visit":F.status==="scheduled"?" calendar-visit-badge--scheduled":""}${t?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?R=>{C.current=F.id,R.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{C.current=null,b(null)}:void 0,onClick:t?R=>{R.stopPropagation(),t(F)}:void 0,...Ql(t?()=>t(F):void 0),"aria-label":[F.time?ii(F.time,i):null,F.customer,i(F.status==="noVisit"?"calendar.legend.noVisit":F.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[F.time&&n.jsx("span",{className:"calendar-visit-badge__time body-3",children:ii(F.time,i)}),n.jsx("span",{className:"calendar-visit-badge__name body-3",children:F.customer}),F.status==="noVisit"&&n.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},F.id??$))})]},B)})]})]})}const sy={page:"h3",pagePopup:"h4",popup:"h5"};function aa({type:e="page",title:t,headingLevel:a,icon:r,action:s,disc:i,children:l,className:c,style:u}){const d=sy[e],p=t||i||s||r,m=a?`h${a}`:"div";return n.jsxs("div",{className:De("section",`section--${e}`,c),style:u,children:[p&&n.jsxs("div",{className:"section__header",children:[n.jsxs("div",{className:"section__title-row",children:[r&&n.jsx(qe,{icon:r,label:typeof t=="string"?t:void 0,className:"section__icon"}),n.jsxs("div",{className:"section__title-group",children:[t&&n.jsx(m,{className:`section__title ${d}`,children:t}),i&&n.jsx("div",{className:"section__disc body-3",children:i})]})]}),s&&n.jsx("div",{className:"section__action",children:s})]}),l]})}function ec({icon:e,label:t,tooltip:a,wrapperStyle:r,color:s,bgColor:i,useHover:l=!0,iconSize:c="medium"}){const u=c==="small",d=De("category-icon",u?"category-icon--small":""),p=u?16:20,m=o.useRef(null),[f,b]=o.useState(!1),C=o.useMemo(()=>{const w=r&&typeof r=="object"?{...r}:{};return!s&&!i?w:{...w,...s?{color:s,"--t-item-fg":s}:{},...i?{"--t-item-bg":i}:{}}},[r,s,i]),y=a||t,[_,h]=o.useState(null);o.useLayoutEffect(()=>{f&&h(m.current?.getBoundingClientRect()??null)},[f]),o.useEffect(()=>{if(!l&&f)try{b(!1)}catch{}},[l,f]),o.useEffect(()=>{if(!f)return;const w=B=>{const N=m.current;if(!N)return;const A=B.target;A&&!N.contains(A)&&b(!1)};return document.addEventListener("pointerdown",w,!0),()=>document.removeEventListener("pointerdown",w,!0)},[f]);const v=o.useCallback(()=>{l&&b(!0)},[l]),x=o.useCallback(()=>{l&&b(!1)},[l]),g=o.useCallback(()=>b(!1),[]),k=o.useCallback(w=>{if(w.key==="Escape"){b(!1);return}(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),b(B=>!B))},[]);return n.jsxs("span",{ref:m,className:"category-icon__wrap",onPointerEnter:v,onPointerLeave:x,onFocus:v,onBlur:x,onKeyDown:k,role:"button",tabIndex:0,"aria-label":typeof y=="string"?y:void 0,"aria-haspopup":!!y,"aria-expanded":f,"data-tooltip-ignore":!0,children:[n.jsx(qe,{icon:e,label:t,className:d,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:C,size:p}),f&&y&&n.jsx(bn,{anchorRect:_,text:typeof y=="string"?y:void 0,offset:8,onClose:g,className:"category-icon__tooltip",ariaLabel:typeof y=="string"?y:void 0})]})}let En=null;function Xa(e){if(En&&En!==e)try{En()}catch{}return En=e,()=>{En===e&&(En=null)}}function Ja(e){if(En===e){En=null;try{e()}catch{}}}function iy(e,t){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(t==="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(t==="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(t==="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(t==="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 s=a.sentences||a.items||[],i=r(Array.isArray(s)?s:[]);return i.length===0&&(a.contextCode||a.context_code)&&i.push(String(a.contextCode||a.context_code)),{previewCodes:i,previewBucket:null}}function ly(e,t){const[a,r]=o.useState(!1),[s,i]=o.useState(-1),[l,c]=o.useState({key:"",urls:[]}),u=o.useRef(null),d=o.useRef(!1),p=o.useRef(null),m=o.useRef(null),[f,b]=o.useState(!1),C=o.useRef([]),{previewCodes:y,previewBucket:_}=iy(e,t),h=`${y.join(",")}|${_??""}`,v=o.useMemo(()=>l.key===h?l.urls:[],[l,h]);o.useEffect(()=>{if(!y.length)return;let g=!1;return(async()=>{const k=[],w=[];for(const B of y)try{const N=Fs(B,_);if(!N){k.push("");continue}let A=null;try{A=await Os(N)}catch{}if(!A)try{const D=await Hs(N);D&&(A=URL.createObjectURL(D),w.push(A))}catch{}k.push(A??"")}catch{k.push("")}g?w.forEach(B=>{try{URL.revokeObjectURL(B)}catch{}}):(C.current.forEach(B=>{try{URL.revokeObjectURL(B)}catch{}}),C.current=w,c({key:h,urls:k}))})(),()=>{g=!0}},[y.join(","),_]),o.useEffect(()=>()=>{C.current.forEach(g=>{try{URL.revokeObjectURL(g)}catch{}}),C.current=[]},[]);const x=o.useCallback(async g=>{if(g.stopPropagation(),g.preventDefault(),d.current){p.current&&Ja(p.current),d.current=!1;try{u.current?.pause()}catch{}r(!1),i(-1);return}if(!v.filter(Boolean).length)return;let k=null;const w=()=>{d.current=!1;try{u.current?.pause()}catch{}k?.()};p.current=w;const B=Xa(w);d.current=!0,r(!0);for(let N=0;N<v.length&&d.current;N++){const A=v[N];if(A){i(N);try{await new Promise((D,F)=>{k=D;const $=new Audio(A);u.current=$,$.onended=()=>D(),$.onerror=()=>F(),$.play().catch(F)})}catch{break}}}B(),p.current===w&&(p.current=null,d.current=!1,r(!1),i(-1))},[v]);return o.useEffect(()=>()=>{p.current&&Ja(p.current),d.current=!1;try{u.current?.pause()}catch{}u.current=null},[]),{playing:a,playingIndex:s,previewUrls:v,previewHover:f,setPreviewHover:b,previewBtnRef:m,handlePreview:x}}const cy=e=>{if(!e)return[];const t=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(t)return[String(t)];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 s=r;return s.sentence||s.text||s.context||s.question||s.title||""}return""}).filter(r=>typeof r=="string"&&r.trim().length>0).map(r=>r.trim()):[]};function ho(e){const{index:t,type:a,trainingData:r,ariaLabel:s,depth:i,renderPopup:l,completed:c,completedIds:u,selectedIds:d,tooltipText:p,useDescriptionTooltip:m=!1,onRemove:f,hideCheckBadge:b=!1,showTypeLabel:C=!1,onComplete:y,onSelect:_,onMore:h,countLabelOverride:v,size:x="square"}=e||{},{t:g}=be.useTranslation(),[k,w]=o.useState(!1),B=o.useRef(null),[N,A]=o.useState(!1);o.useEffect(()=>{B.current?.matches(":hover")&&A(!0)},[]);const{playing:D,playingIndex:F,previewUrls:$,previewHover:R,setPreviewHover:U,previewBtnRef:E,handlePreview:T}=ly(r,a?.key),V=o.useCallback(()=>{_?_():w(!0)},[_]),Y=o.useCallback(()=>w(!1),[]),K=o.useCallback(()=>A(!0),[]),G=o.useCallback(()=>A(!1),[]),J=o.useCallback(()=>U(!0),[U]),O=o.useCallback(()=>U(!1),[U]),[I,S]=o.useState(null);o.useLayoutEffect(()=>{R&&S(E.current?.getBoundingClientRect()??null)},[R,E]);const[H,P]=o.useState(null);o.useLayoutEffect(()=>{N&&!k&&m&&P(B.current?.getBoundingClientRect()??null)},[N,k,m]);const M=o.useCallback(Ee=>{Ee.target===Ee.currentTarget&&(Ee.key==="Enter"||Ee.key===" ")&&(Ee.preventDefault(),V())},[V]),L=r||null,X=o.useMemo(()=>{if(!m)return null;const Ee=p?(Array.isArray(p)?p:[p]).filter(Boolean):null,Ge=Ee&&Ee.length>0?Ee:cy(L);return Ge&&Ge.length>0?Ge:null},[m,p,L]),W=o.useCallback(Ee=>{Ee.stopPropagation(),f?.()},[f]),ae=o.useCallback(Ee=>Ee.stopPropagation(),[]),ue=o.useCallback(Ee=>{typeof y=="function"&&y(Ee)},[y]),Se=c||(u&&r?.id!=null?u.has(String(r.id)):!1),pe=!Se&&(d!=null&&r?.id!=null?d.has(String(r.id)):!1);Xi("speechear.popup.close",Y);const re=li(),q=`${a?.label||""} ${t+1}`,se=L?.title||L?.name||q;let de=a?.icon,ve,ye="",Be="";try{const Ee=L?.category_0||L?.category_main_code||L?.category_main,Ge=L?.category_1||L?.category_sub_code||L?.category_sub,$e=re.find(Ie=>Ie.key===Ee);$e?.icon&&(de=$e.icon),!ve&&$e?.color&&(ve={"--t-item-fg":$e.color}),!ve&&L?.iconColor&&(ve={"--t-item-fg":L.iconColor}),ye=$e?g(`topic.${$e.key}`,{defaultValue:$e.label||""}):"";try{const Ie=$e?.subs?.find(Ve=>Ve.key===Ge);Be=Ie?g(`topic.sub.${Ie.key}`,{defaultValue:Ie.label||""}):""}catch{}}catch{}const he=Be?`${ye} / ${Be}`:ye||a?.label||se,ke=Ee=>g("training.countQuestions",{n:Ee}),je=Ee=>g("training.countSentences",{n:Ee});let oe="";try{if(L)if(a?.key==="LISTEN_IN_NOISE"){let Ee=0;Array.isArray(L.items)&&L.items.length>0?Ee=L.items.length:Array.isArray(L.sentences)&&L.sentences.length>0?Ee=L.sentences.length:L.sentences&&(Ee=1),oe=je(Ee)}else if(a?.key==="SHORT_STORY"){let Ee=1;Array.isArray(r?.items)?Ee=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?Ee=r.raw.items.length:Array.isArray(L?.questions)?Ee=L.questions.length:Array.isArray(L?.sentences)&&(Ee=L.sentences.length),oe=ke(Ee)}else if(a?.key==="LONG_STORY"){let Ee=1;if(Array.isArray(L.items)&&L.items.length>0){const Ge=L.items.reduce(($e,Ie)=>{const Ve=Ie.questionItems;return Array.isArray(Ve)?$e+Ve.length:Array.isArray(Ie.questions)?$e+Ie.questions.length:$e},0);Ee=Ge>0?Ge:L.items.length}else Array.isArray(L.questions)&&L.questions.length>0?Ee=L.questions.length:Array.isArray(L.sentences)&&L.sentences.length>0&&(Ee=L.sentences.length);oe=ke(Ee)}else if(a?.key==="ORDERING_SENTENCE"){let Ee=1;Array.isArray(L.items)&&L.items.length>0?Ee=L.items.length:Array.isArray(L.sentences)&&L.sentences.length>0&&(Ee=L.sentences.length),oe=je(Ee)}else Array.isArray(L.items)&&(oe=L.items.length>0?ke(L.items.length):"")}catch{}const ee=x==="row",fe=x==="list"||ee,te=x==="compact",ge=x==="small",_e=ge&&a?.key?T2().find(Ee=>Ee.key===a.key):void 0,Ye=_e?ci[_e.key]:void 0,He=_e?Ye?g(`trainingType.${Ye}.title`,{defaultValue:_e.label}):_e.label??"":"",Ue=!!C&&!!a?.label&&a.label!==String(se)||ge&&!!He&&He!==String(se);return n.jsxs(n.Fragment,{children:[n.jsxs("div",{ref:B,className:`training-block-button${fe?" training-block-button--list":""}${ee?" training-block-button--row":""}${te?" training-block-button--compact":""}${ge?" training-block-button--small":""}${Se?" training-block-button--completed":""}${pe?" training-block-button--selected":""}${Ue&&!ge?" training-block-button--withType":""}${ge&&!Ue?" training-block-button--no-type-label":""}`,onClick:V,onPointerEnter:K,onPointerLeave:G,role:"button",tabIndex:0,onKeyDown:M,"aria-label":typeof s=="string"?s:typeof se=="string"?se:void 0,title:!m&&p&&(Array.isArray(p)?p.filter(Boolean).join(`
859
859
  `):p)||void 0,children:[n.jsxs("div",{className:"training-block-button__left",children:[C&&a?.label&&a.label!==String(se)&&n.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),ge&&He&&He!==String(se)&&n.jsx("span",{className:"training-block-button__type-label caption-2",children:He}),n.jsx(ec,{icon:de,label:se,tooltip:he,wrapperStyle:ve,iconSize:ge||te?"small":"medium"}),!b&&(Se||pe)&&!(f&&N)&&n.jsx(mt,{className:f?"training-block-button__check--removable":void 0,type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":Se?g("training.completed","\uD6C8\uB828 \uC644\uB8CC"):g("training.selected","\uC120\uD0DD\uB428")}),f&&n.jsx(mt,{className:`training-block-button__remove${N?" is-hover":""}`,type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":g("common.remove","\uC81C\uAC70"),onClick:W}),n.jsx("div",{className:`training-block-button__title ${te?"body-3":ge?"body-3b":"h3"}`,children:String(se)}),n.jsxs("div",{className:"training-block-button__description",children:[(()=>{const Ee=v!==void 0?v:oe;return Ee?n.jsx("div",{className:`training-block-button__count ${ge?"caption-2":"caption-1"}`,children:Ee}):null})(),n.jsx("div",{className:"training-block-button__chevron",children:n.jsx(qe,{icon:"chevron-right",label:g("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:ge?12:20})})]}),(fe&&!ee||ge)&&$.length>0&&n.jsx("div",{ref:E,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:ae,onPointerEnter:J,onPointerLeave:O,children:n.jsx(le,{htmlType:"button",size:ge?28:32,type:"dot",icon:D?"pause":"play",variant:ge?"transparent-lightGray":"default",useBorder:!1,selected:D,ariaLabel:D?g("training.stop","\uC815\uC9C0"):g("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:T})})]}),h&&n.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:Ee=>{Ee.stopPropagation(),h(Ee)},children:n.jsx(le,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:g("common.more","\uB354\uBCF4\uAE30")})})]}),R&&n.jsx(bn,{anchorRect:I,text:D?g("training.stop","\uC815\uC9C0"):g("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:O}),N&&!k&&m&&(X?n.jsx(Fn,{anchorRect:H,items:X,activeIndex:F,onClose:G}):L?.subTitle?n.jsx(bn,{anchorRect:H,text:L.subTitle,offset:8,onClose:G}):null),k&&l&&l({trainingData:L,typeKey:a?.key??"",onClose:Y,onComplete:ue,popupTitle:String(se),popupSubTitle:a?.subTitle,depth:i!=null?String(i):void 0,popupIcon:de,popupIconTooltip:String(he),popupWrapperStyle:ve})]})}let fo=null,tc=!1;function nc(){if(tc||typeof document>"u")return;tc=!0,document.addEventListener("keydown",t=>{t.metaKey||t.ctrlKey||t.altKey||(fo="keyboard")},!0);const e=()=>{fo="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}nc();function Qa(){return nc(),fo==="keyboard"}const er=20;function uy(e){const{t}=be.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:c,onItemComplete:u,size:d,useDescriptionTooltip:p,onRemove:m,onMore:f,sectionType:b="page"}=e||{},[,C]=o.useState(0),y=typeof r<"u"?Array.isArray(r)?r:[]:[],_=y.length,[h,v]=o.useState(Math.min(_,er)),x=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{v(Math.min(_,er))},[_]),Xi("speechear.data.updated",()=>C(B=>B+1));const g=o.useRef(null),k=o.useRef(null);function w(){const B=document.activeElement;k.current=Qa()&&B&&B.closest?.(".training-block__more")?h:null,v(N=>Math.min(_,N+er))}return o.useEffect(()=>{const B=k.current;if(B==null)return;k.current=null;const N=document.activeElement;N&&N!==document.body||g.current?.querySelectorAll(".training-block-button")[B]?.focus()},[h]),n.jsxs(aa,{type:b,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[n.jsx("div",{className:"training-list",ref:g,children:(y||[]).slice(0,h).map((B,N)=>{const A=B;return n.jsx(ho,{index:N,type:a,trainingData:A,depth:x,renderPopup:i,completedIds:l,selectedIds:c,size:d,useDescriptionTooltip:p,onRemove:typeof m=="function"&&c!=null&&A?.id!=null&&c.has(String(A.id))?()=>m(A):void 0,onComplete:typeof u=="function"&&A?.id!=null?()=>u(String(A.id)):void 0,onMore:typeof f=="function"?D=>f(A,D):void 0},A?.id!=null?`${a?.key||"t"}-${String(A.id)}`:`${a?.key||"t"}-${N}`)})}),_>er&&h<_&&n.jsx("div",{className:"training-block__more",children:n.jsx(le,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:w,ariaLabel:t("common.loadMore","\uB354\uBCF4\uAE30"),label:t("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function Co(e){const t=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const u=t.current;r(!!e&&!(u?.complete&&u.naturalWidth>0))},[e]);const l=o.useCallback(()=>r(!1),[]),c=o.useCallback(()=>{r(!1),i(!0)},[]);return{imgRef:t,loading:a,failed:s,hasImage:!!e&&!s,onLoad:l,onError:c}}var dy='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 py=dy,go=o.forwardRef(function({item:e,disabled:t=!1,onPlayDone:a,selectable:r=!1,selected:s=!1,onSelect:i,flipDelay:l=0,hideLabel:c=!1,hideAudio:u=!1,orderRank:d=null},p){const{t:m}=be.useTranslation(),f=e.word||e.title||"",b=t||!f,C=e.audio??e.sound??e.audioKey,y=e.subLabel||e.pronunciation||"",_=e.colloquialLabel||"",[h,v]=o.useState({label:f,subLabel:y,colloquialLabel:_,homonum:e.homonum});f&&(h.label!==f||h.subLabel!==y||h.colloquialLabel!==_||!Object.is(h.homonum,e.homonum))&&v({label:f,subLabel:y,colloquialLabel:_,homonum:e.homonum});const x=o.useRef(null),g=tn("(max-width: 767px)"),[k,w]=o.useState(!1),B=`${typeof C=="string"?C:C?.src??""}\0${f}`,[N,A]=o.useState({for:"",url:""}),D=N.for===B?N.url:"",F=Qs(),$=e.textOnly??(!e.image&&!!h.label&&!!F&&F.entries.length>0&&!F.byWord.has(h.label)),R=$?"":Gn()?.(h.label,h.homonum)??e.image??"",{imgRef:U,loading:E,hasImage:T,onLoad:V,onError:Y}=Co(R);o.useEffect(()=>{let M=!1;return(async()=>{if(C){if(typeof C=="string"){if(C.startsWith("http")||C.includes("/")){A({for:B,url:C});return}}else if(typeof C=="object"&&!Array.isArray(C)){const X=C.src;if(X){A({for:B,url:X});return}}}const L=Br();if(L&&f)try{const X=await Promise.resolve(L(f));!M&&X&&A({for:B,url:X})}catch{}})(),()=>{M=!0}},[C,f,B]);const K=o.useRef(!0),G=o.useRef(null);o.useEffect(()=>(K.current=!0,()=>{K.current=!1,G.current&&Ja(G.current),G.current=null;try{x.current?.pause()}catch{}x.current=null}),[]);const J=o.useCallback(()=>new Promise(M=>{if(typeof window<"u"&&window.speechSynthesis&&f){w(!0),window.speechSynthesis.cancel();const L=new SpeechSynthesisUtterance(f);L.lang="ko-KR",L.onend=()=>{w(!1);try{a?.()}catch{}M()},L.onerror=()=>{w(!1),M()},window.speechSynthesis.speak(L)}else M()}),[f,a]),O=o.useCallback(M=>new Promise(L=>{let X=!1;const W=()=>{X||(X=!0,w(!1),L(!1))};try{const ae=new Audio(M);x.current=ae,ae.onended=()=>{if(!X){X=!0,w(!1);try{a?.()}catch{}L(!0)}},ae.onerror=W,ae.play().catch(W)}catch{W()}}),[a]),I=o.useCallback(async()=>{if(t||!K.current)return;const M=()=>{G.current===M&&(G.current=null);try{x.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}w(!1)},L=Xa(M);G.current=M;try{window.speechSynthesis?.cancel()}catch{}try{if(D&&(w(!0),await O(D)))return;const X=K0();if(X&&f)try{const W=await Promise.resolve(X(f));if(!K.current||G.current!==M||W&&(w(!0),await O(W)))return}catch{}if(!K.current||G.current!==M)return;await J()}finally{L(),G.current===M&&(G.current=null)}},[t,D,f,O,J]);o.useImperativeHandle(p,()=>({play:()=>I()}),[I]);const S=M=>M.stopPropagation(),H=o.useCallback(M=>{if(M.stopPropagation(),!t){if(k){try{x.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}w(!1);return}I()}},[t,k,I]),P=De("training-word-card",t?"training-word-card--disabled":"",b?"training-word-card--flipped":"",r?"training-word-card--selectable":"",s?"training-word-card--selected":"");return n.jsx("div",{className:P,onClick:r&&!t?i:void 0,role:r?"button":void 0,"aria-pressed":r?s:void 0,tabIndex:r&&!t?0:void 0,"aria-disabled":r&&t?!0:void 0,onKeyDown:r&&!t?M=>{M.target===M.currentTarget&&(M.key==="Enter"||M.key===" "||M.key==="Spacebar")&&(M.preventDefault(),i?.())}:void 0,children:n.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:b?"0ms":`${l}ms`},children:[n.jsxs("div",{className:"training-word-card__front",children:[s&&n.jsx("div",{className:"training-word-card__selected-badge",onClick:S,children:n.jsx(mt,{type:"dot",size:40,position:"inline",animate:!0,icon:d!=null?void 0:"check",number:d??void 0,"aria-label":d!=null?m("training.nthSelected",{n:d}):m("training.selected","\uC120\uD0DD\uB428")})}),n.jsx("div",{className:"training-word-card__image-wrap",children:$?n.jsx("div",{className:"training-word-card__text-face",children:h.label}):T?n.jsxs(n.Fragment,{children:[E&&n.jsx("div",{className:"training-word-card__spinner"}),n.jsx("img",{ref:U,className:"training-word-card__image",src:R,alt:h.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:E?0:1},onLoad:V,onError:Y})]}):n.jsx("div",{className:"training-word-card__placeholder"})}),!c&&n.jsxs("div",{className:"training-word-card__body",children:[!$&&n.jsx("div",{className:"training-word-card__word",children:h.label}),h.subLabel&&n.jsxs("div",{className:"training-word-card__pronunciation",children:["[",h.subLabel,"]"]}),h.colloquialLabel&&n.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",h.colloquialLabel,"]"]})]}),!u&&n.jsx("div",{className:"training-word-card__bottom",onClick:r?S:void 0,children:n.jsx(le,{htmlType:"button",size:g?40:48,type:g?"dot":"bar",icon:k?"pause":"play",label:g?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:k,onClick:H,disabled:t,ariaLabel:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),n.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:n.jsx("img",{src:py,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),my=260;function jn(e){const{t}=be.useTranslation(),{title:a,subtitle:r,headerActions:s,children:i,buttons:l,footer:c,footerClassName:u="",onClose:d,closeDisabled:p=!1,beforeClose:m,closeOnBackdrop:f=!0,className:b="",ariaLabel:C,useTitle:y=!0,inline:_=!1,size:h,layer:v="modal",height:x,fillBody:g=!1,resetScrollKey:k}=e||{},[w,B]=o.useState(!1),N=o.useRef(!1),A=o.useRef(null),D=o.useId(),F=o.useRef(null);o.useEffect(()=>{},[_,a,C,b]),o.useEffect(()=>{k!==void 0&&F.current&&(F.current.scrollTop=0)},[k]);const[$,R]=o.useState(!1);o.useEffect(()=>{const M=F.current;if(!M)return;const L=()=>R(M.scrollHeight>M.clientHeight+1);if(L(),typeof ResizeObserver>"u")return;const X=new ResizeObserver(L);X.observe(M);const W=M.firstElementChild;return W&&X.observe(W),()=>X.disconnect()},[i,k]),o.useEffect(()=>{if(!_)return Sl()},[_]),o.useEffect(()=>{if(_)return;const M=document.activeElement,L=A.current;return Fr(L,M),L&&!L.contains(document.activeElement)&&(L.querySelector(Cn)??L).focus(),()=>{const X=document.activeElement;(!X||X===document.body||L&&L.contains(X))&&Or(M)?.focus?.()}},[_]),Pr(A,!_);const U=o.useRef(!0),E=Hr(),T=o.useRef(null);o.useEffect(()=>(U.current=!0,()=>{U.current=!1,T.current&&(clearTimeout(T.current),T.current=null)}),[]);const V=o.useCallback(()=>{!U.current||!N.current||(N.current=!1,B(!1))},[]),Y=o.useCallback((M,L=!1)=>{if(L&&!U.current||N.current)return;N.current=!0,B(!0);const X=setTimeout(()=>{T.current===X&&(T.current=null);let W;try{W=M?M():void 0}catch{V();return}W&&typeof W.then=="function"&&W.then(()=>{setTimeout(V,120)},V)},E?0:my);L&&(T.current=X)},[V,E]),K=o.useCallback(()=>{p||m&&m()===!1||Y(d,!0)},[Y,d,p,m]),G=o.useRef(K);o.useEffect(()=>{G.current=K});const J=!_&&!!d;o.useEffect(()=>{if(J)return In(()=>G.current())},[J]);const O=J&&f,I=o.useRef(!1),S=M=>{I.current=M.target===M.currentTarget},H=M=>{const L=I.current;I.current=!1,L&&M.target===M.currentTarget&&K()},P=n.jsx("div",{className:`popup ${_?"popup--inline":""} ${v==="belowPagePopup"?"popup--below-page-popup":""} ${w?"popup--closing":""} ${b}`,onPointerDown:O?S:void 0,onClick:O?H:void 0,onMouseDown:_?void 0:M=>{M.target===M.currentTarget&&M.preventDefault()},children:n.jsxs("div",{ref:A,className:`popup-panel${h?` popup-panel--${h}`:""}${x!=null?" popup-panel--has-height":""}${g?" popup-panel--fill-body":""}`,style:x!=null?{"--popup-height":typeof x=="number"?`${x}px`:x}:void 0,tabIndex:-1,role:_?void 0:"dialog","aria-modal":_?void 0:!0,"aria-labelledby":!_&&y&&a?D:void 0,"aria-label":!_&&!(y&&a)?C??(typeof a=="string"?a:void 0):void 0,children:[!y&&(s||d)?n.jsxs("div",{className:"popup-close-float",children:[s,d&&n.jsx(le,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:K,disabled:p,ariaLabel:t("common.close","\uB2EB\uAE30")})]}):a||s||d?n.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[n.jsxs("div",{className:"popup-header-main",children:[n.jsx("span",{id:D,className:"popup-title popup-title--left h2",children:a}),r&&n.jsx("span",{className:"popup-subtitle body-3",children:r})]}),n.jsxs("div",{className:"popup-header-actions",children:[s,d&&n.jsx(le,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:K,disabled:p,ariaLabel:t("common.close","\uB2EB\uAE30")})]})]}):null,n.jsx("div",{className:"popup-content",ref:F,tabIndex:$?0:void 0,children:n.jsx("div",{className:"popup-content__inner",children:typeof i=="function"?i({animateThen:Y,closeWithAnimation:K}):i})}),l?.length?n.jsx("div",{className:"popup-footer popup-footer--buttons",children:l.map((M,L)=>n.jsx(le,{htmlType:"button",size:48,variant:M.variant??"default",label:M.label,disabled:M.disabled,onClick:()=>M.onClick?.({animateThen:Y,closeWithAnimation:K})},L))}):c?n.jsx("div",{className:`popup-footer${u?` ${u}`:""}`,children:typeof c=="function"?c({animateThen:Y,closeWithAnimation:K}):c}):null]})});return _||typeof document>"u"?P:qt.createPortal(P,document.body)}function tr(e){return String(e)}const ac=["o","triangle","x"];function rc(e,t){return e===t?null:t}const oc={o:"circle",triangle:"triangle",x:"x"},sc={o:"main",triangle:"warn",x:"danger"};function hy(e){let t=0,a=0,r=0;for(const i of Object.values(e))i==="o"?t++:i==="triangle"?a++:i==="x"&&r++;const s=t+a+r;return{marked:s,o:t,triangle:a,x:r,rate:s===0?null:(t+a*.5)/s}}function bo(e){const t={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(t[a]=r);return t}function ic(e){const t=[];let a=0;for(const r of e)t.push(a),a+=r;return t}function fy(e,t){return!t&&e>0}const ra={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 Cy(e="landscape"){fn("print-word-table-deprecated","[printWordTable] @deprecated \u2014 WordTablePopup renderButtons \uC758 print(\uB610\uB294 useWordTablePrint().print)\uB97C \uC4F0\uC138\uC694. \uC804\uC5ED \uC778\uC1C4\uB294 \uD654\uBA74\uC758 \uBAA8\uB4E0 \uB2E8\uC5B4\uD45C\uB97C \uD568\uAED8 \uCC0D\uC2B5\uB2C8\uB2E4.");const{printSize:t,printW:a,printH:r}=ra[e],s=document.createElement("style");s.textContent=`@page { size: ${t}; margin: 0; } .word-table { width: ${a} !important; height: ${r} !important; }`,document.head.appendChild(s);const i=()=>{document.head.removeChild(s),window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),window.print()}function lc(e,t){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(t)),r=[];for(let s=0;s<e.length;s+=a)r.push(e.slice(s,s+a));return r}const gy={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 by(e,t){const a=gy[e][t];if(a)return a;const r=Math.max(1,Math.ceil(t)),s=Math.max(1,Math.ceil(Math.sqrt(r*.707)));let i,l;return e==="landscape"?(l=s,i=Math.ceil(r/l)):(i=s,l=Math.ceil(r/i)),(e==="landscape"?i<l:l<i)&&([i,l]=[l,i]),{cols:i,rows:l}}const yy={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},cc={\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"},uc={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function yo(e,t){return e?e.split("/").map(a=>t[a]??a).join("/"):""}function dc(e,t,a,r){if(r!=="\uC810\uC120")return{};const s=e%t,i=Math.floor(e/t),l=s<t-1,c=i<a-1;if(!l&&!c)return{};const u="#ddd",d=b=>`repeating-linear-gradient(to ${b}, ${u} 0, ${u} 5px, transparent 5px, transparent 10px)`,p=[],m=[],f=[];return l&&(p.push(d("bottom")),m.push("1px 100%"),f.push("right center")),c&&(p.push(d("right")),m.push("100% 1px"),f.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:f.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const vy=280,xy=240,_y=280,wy=400,ky=120,Ay=280;function pc(e,t){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),c=o.useCallback((u,d)=>{const p=u/e,m=t?d/t:1/0,f=Math.min(1,p,m);s(f),l(Math.max(0,(u-e*f)/2))},[e,t]);return o.useEffect(()=>{const u=a.current;if(!u)return;const d=t?u.parentElement??u:u;if(c(d.clientWidth,d.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>c(m.contentRect.width,m.contentRect.height));return p.observe(d),()=>p.disconnect()},[c,t]),{scalerRef:a,scale:r,offset:i}}const By={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},Ny=400,mc=8;function hc({label:e,subLabel:t,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:c=!0,buttonSize:u=40,wordInfo:d}){const{t:p}=be.useTranslation(),m=o.useRef(null),f=o.useRef(null),b=o.useRef(null),[C,y]=o.useState(1),[_,h]=o.useState(!1),[v,x]=o.useState({for:"",url:""}),[g,k]=o.useState(null),w=t&&t.length>0?t:Z0()?.(e,r)??"",B=Gn()?.(e,r)??"",{imgRef:N,loading:A,failed:D,onLoad:F,onError:$}=Co(B),R=o.useCallback(()=>k(f.current?.getBoundingClientRect()??null),[]),U=o.useCallback(()=>k(null),[]),E=zr(!!g,H=>{H?R():U()},f),T=o.useMemo(()=>{if(!d)return null;const H=[];return d.grade&&H.push(p("wordTable.info.grade",{n:d.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),d.syllables&&H.push(p("wordTable.info.syllables",{n:d.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),d.pos&&H.push(p("wordTable.info.pos",{v:yo(d.pos,Dy(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),d.wordType&&H.push(p("wordTable.info.wordType",{v:yo(d.wordType,Sy(p)),defaultValue:"\uC720\uD615: {{v}}"})),H.length?H:null},[d,p]),V=w||e,Y=v.for===V?v.url:"";o.useEffect(()=>{const H=Br(),P=w||e;if(!H||!P)return;let M=!1;return Promise.resolve(H(P)).then(L=>{!M&&L&&x({for:P,url:L})}),()=>{M=!0}},[w,e]);const K=o.useRef(null),G=o.useRef(null);o.useEffect(()=>()=>{b.current?.pause(),G.current?.()},[]);const J=o.useCallback(async H=>{if(H.stopPropagation(),_){K.current?.();return}if(Y){h(!0);try{const P=new Audio(Y);b.current=P;const M=()=>{h(!1),G.current?.()},L=()=>{P.pause(),M()};K.current=L;const X=Xa(L);G.current=X,P.onended=M,P.onerror=M,await P.play()}catch{h(!1),G.current?.()}}},[_,Y]),O=i&&!!B&&!D,I=O&&s?vy:O?_y:xy,S=O&&s?wy:O?Ay:ky;return o.useEffect(()=>{const H=m.current;if(!H||typeof ResizeObserver>"u")return;const P=new ResizeObserver(([M])=>{const{width:L,height:X}=M.contentRect;y(Math.min(L/I,X/S))});return P.observe(H),()=>P.disconnect()},[I,S]),n.jsxs("div",{ref:m,className:"word-table-cell",children:[n.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${C})`},children:[O&&n.jsxs("div",{className:"word-table-cell__image-wrap",children:[A&&n.jsx("div",{className:"word-table-cell__spinner"}),n.jsx("img",{ref:N,className:"word-table-cell__image",src:B,alt:e,draggable:!1,style:{opacity:A?0:1},onLoad:F,onError:$})]}),s&&n.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&w&&n.jsxs("span",{className:"word-table-cell__sub h3",children:["[",w,"]"]}),c&&a&&n.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),n.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":Y,children:[n.jsx("span",{"data-play-state":"play",style:{display:_?"none":void 0},children:n.jsx(le,{htmlType:"button",size:u,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:p("common.play","\uC7AC\uC0DD"),onClick:J})}),n.jsx("span",{"data-play-state":"pause",style:{display:_?void 0:"none"},children:n.jsx(le,{htmlType:"button",size:u,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:p("common.pause","\uBA48\uCDA4"),onClick:J})})]}),d&&n.jsxs("div",{ref:f,className:"word-table-cell__info-button",onPointerEnter:H=>{Xn(H)||R()},onPointerLeave:H=>{Xn(H)||U()},onFocus:()=>{Jn()||R()},onBlur:U,children:[n.jsx(le,{htmlType:"button",size:u,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:H=>{H.stopPropagation(),E.touchPress()}}),g&&T&&n.jsx(Fn,{anchorRect:g,items:T,showIndex:!1})]})]})}const fc={\uBA85:"noun",\uB3D9:"verb",\uD615:"adjective",\uBD80:"adverb",\uC218:"numeral",\uAD00:"determiner",\uAC10:"interjection",\uC870:"particle",\uC811:"affix",\uC758:"dependentNoun",\uB300:"pronoun",\uBCF4\uB3D9:"auxVerb",\uBCF4\uD615:"auxAdjective"},Cc={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Dy(e){return Object.fromEntries(Object.entries(cc).map(([t,a])=>[t,fc[t]?e(`wordTable.pos.${fc[t]}`,{defaultValue:a}):a]))}function Sy(e){return Object.fromEntries(Object.entries(uc).map(([t,a])=>[t,Cc[t]?e(`wordSearch.filter.type.${Cc[t]}`,{defaultValue:a}):a]))}function oa({title:e,titleIcon:t,disc:a,className:r,orientation:s="landscape",contentTypes:i=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:c=!0,showDivLine:u=!0,items:d,editCells:p,count:m,activeCell:f=null,onActivateCell:b,onRemoveCell:C,onRemoveItem:y,onReorder:_,showFillerAdd:h=!1,contentRef:v,buttonSize:x=40,pageNumber:g,pageNumberPosition:k="right",fitHeight:w=!1,scoring:B=!1,marks:N,onMarkClick:A,scoreIndexOffset:D=0}){const F=o.useCallback((ee,fe)=>{A?.(D+ee,fe)},[A,D]),$=(ee,fe)=>{const te=N?.[tr(D+ee)]??null;return n.jsx("div",{className:De("word-table-cell__score",te?"word-table-cell__score--marked":""),children:ac.map(ge=>n.jsx("span",{className:De("word-table-cell__score-slot",te===ge?"word-table-cell__score-slot--on":""),children:n.jsx(le,{htmlType:"button",size:x,type:"dot",icon:oc[ge],variant:te===ge?sc[ge]:"default",selected:te===ge,useBorder:!1,showTooltipInfo:!1,ariaLabel:R(`wordTable.scoring.${ge}`,{word:fe,defaultValue:`${fe} ${ge}`}),onClick:_e=>{_e.stopPropagation(),F(ee,ge)}})},ge))})},{t:R}=be.useTranslation(),U=p!==void 0,E=e!=null||!!t||!!a,T=o.useRef(null),[V,Y]=o.useState(null),K=d?.length??0,[G,J]=o.useState(null),[O,I]=o.useState(""),S=o.useRef(null),H=o.useRef(null),P=o.useRef(null),M=o.useRef(null),L=o.useCallback(ee=>{H.current=ee,typeof v=="function"?v(ee):v&&(v.current=ee)},[v]),X=o.useCallback((ee,fe)=>{S.current=fe,_?.(ee,fe),I(R("wordTable.reorder.moved",{n:fe+1,total:K,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[_,R,K]);o.useEffect(()=>{const ee=S.current;ee!=null&&(S.current=null,H.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[ee]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{M.current?.()},[]);const W=o.useCallback((ee,fe)=>{if(!_||!ee.altKey||ee.ctrlKey||ee.metaKey)return;const te=ee.key==="ArrowRight";if(!te&&ee.key!=="ArrowLeft")return;ee.preventDefault();const ge=fe+(te?1:-1);ge<0||ge>=K||X(fe,ge)},[_,K,X]),ae=o.useCallback((ee,fe)=>{if(!_||ee.pointerType==="mouse")return;const te=ee.target.closest?.("button");if(te&&!te.closest(".word-table-block__card-handle"))return;M.current?.();const ge={x:ee.clientX,y:ee.clientY};let _e=!1;const Ye=$e=>{_e&&$e.cancelable&&$e.preventDefault()},He=$e=>{if(!_e){(Math.abs($e.clientX-ge.x)>mc||Math.abs($e.clientY-ge.y)>mc)&&Ge();return}const Ie=document.elementFromPoint?.($e.clientX,$e.clientY)?.closest?.("[data-wordtable-cell]"),Ve=Ie?Number(Ie.dataset.wordtableCell):NaN,at=Number.isInteger(Ve)?Ve:null;P.current=at,Y(at)},Ue=()=>{const $e=P.current,Ie=_e;Ge(),Ie&&$e!=null&&$e!==fe&&X(fe,$e)},Ee=setTimeout(()=>{_e=!0,J(fe),P.current=fe,Y(fe),window.addEventListener("touchmove",Ye,{passive:!1})},Ny);function Ge(){clearTimeout(Ee),window.removeEventListener("pointermove",He),window.removeEventListener("pointerup",Ue),window.removeEventListener("pointercancel",Ue),window.removeEventListener("touchmove",Ye),_e=!1,P.current=null,M.current=null,J(null),Y(null)}M.current=Ge,window.addEventListener("pointermove",He),window.addEventListener("pointerup",Ue),window.addEventListener("pointercancel",Ue)},[_,X]),{width:ue,height:Se}=ra[s],{scalerRef:pe,scale:re,offset:q}=pc(ue,w?Se:void 0),se=U?p?.length??0:d?.length??0,de=Math.max(m??se,1),{cols:ve,rows:ye}=by(s,de),Be={word:i.length===0||i.includes("\uB2E8\uC5B4"),image:i.length===0||i.includes("\uC774\uBBF8\uC9C0"),pron:i.length===0||i.includes("\uD45C\uC900 \uBC1C\uC74C"),colloq:i.length===0||i.includes("\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")},he=U?(p??[]).some(ee=>ee!==null&&ee.length>1):(d??[]).some(ee=>(ee.words??[]).length>1),ke=De("word-table-block__content",yy[l],c&&"word-table-block__content--outline",u&&he&&"word-table-block__content--div-line"),je={transform:`scale(${1/re})`,transformOrigin:"center center"},oe=n.jsxs("div",{ref:pe,className:"word-table__scaler",style:{height:Se*re},children:[n.jsx("div",{className:De("word-table",!E&&r),style:{width:ue,height:Se,transform:`scale(${re})`,transformOrigin:"top left",marginLeft:q},children:n.jsxs("div",{ref:L,className:ke,style:{gridTemplateColumns:`repeat(${ve}, 1fr)`,gridTemplateRows:`repeat(${ye}, 1fr)`},children:[U?n.jsx(n.Fragment,{children:(p??[]).map((ee,fe)=>n.jsx("div",{className:De("word-table-block__edit-cell",ee?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",f===fe?"word-table-block__edit-cell--active":""),style:dc(fe,ve,ye,l),children:ee?n.jsxs(n.Fragment,{children:[ee.map((te,ge)=>n.jsxs(o.Fragment,{children:[ge>0&&n.jsx("div",{className:"word-table-block__pair-divider"}),n.jsx(hc,{label:te.word,subLabel:te.pronunciation,colloquialLabel:te.colloquialPronunciation,homonum:te.homonum,showWord:Be.word,showImage:Be.image,showPronunciation:Be.pron,showColloquial:Be.colloq,buttonSize:x})]},ge)),B&&$(fe,ee.map(te=>te.word).join(" / ")),C&&n.jsx("div",{className:"word-table-block__card-close",children:n.jsx(le,{htmlType:"button",size:x,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:ee.length>1?R("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):R("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:ee.length>1?R("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):R("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>C(fe)})})]}):b&&n.jsx("div",{style:je,children:n.jsx(le,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:R("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b(fe)})})},fe))}):n.jsxs(n.Fragment,{children:[(d??[]).map((ee,fe)=>n.jsxs("div",{"data-wordtable-cell":_?fe:void 0,className:`word-table-block__card${_?" word-table-block__card--draggable":""}${V===fe?" word-table-block__card--drag-over":""}${G===fe?" word-table-block__card--dragging":""}`,style:dc(fe,ve,ye,l),draggable:!!_,onPointerDown:_?te=>ae(te,fe):void 0,onKeyDown:_?te=>W(te,fe):void 0,onDragStart:_?()=>{T.current=fe}:void 0,onDragOver:_?te=>{te.preventDefault(),Y(fe)}:void 0,onDragLeave:_?()=>Y(null):void 0,onDrop:_?te=>{te.preventDefault(),T.current!==null&&T.current!==fe&&_(T.current,fe),T.current=null,Y(null)}:void 0,onDragEnd:_?()=>{T.current=null,Y(null)}:void 0,children:[(ee.words??[]).map((te,ge)=>n.jsxs(o.Fragment,{children:[ge>0&&n.jsx("div",{className:"word-table-block__pair-divider"}),n.jsx(hc,{label:te.label,subLabel:te.subLabel,colloquialLabel:te.colloquialLabel,homonum:te.homonum,showWord:Be.word,showImage:Be.image,showPronunciation:Be.pron,showColloquial:Be.colloq,buttonSize:x,wordInfo:te.grade||te.syllables!=null||te.pos||te.wordType?{grade:te.grade,syllables:te.syllables,pos:te.pos,wordType:te.wordType}:void 0})]},ge)),B&&$(fe,(ee.words??[]).map(te=>te.label).join(" / ")),_&&n.jsx("div",{className:"word-table-block__card-handle",children:n.jsx(le,{htmlType:"button",size:x,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:R("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:R("wordTable.reorder.handle",{word:(ee.words??[]).map(te=>te.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),y&&n.jsx("div",{className:"word-table-block__card-close",children:n.jsx(le,{htmlType:"button",size:x,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(ee.words??[]).length>1?R("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):R("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(ee.words??[]).length>1?R("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):R("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>y(ee.id)})})]},ee.id)),Array.from({length:Math.max(0,ve*ye-(d?.length??0))}).map((ee,fe)=>{const te=(d?.length??0)+fe<de;return n.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:h&&b&&te&&n.jsx("div",{style:je,children:n.jsx(le,{htmlType:"button",size:x,type:"bar",icon:"plus",label:R("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b((d?.length??0)+fe)})})},`filler-${fe}`)})]}),g&&k!=="none"&&n.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${k}`,children:R("wordTable.filter.pageIndicator",{current:g.current,total:g.total})})]})}),_&&n.jsx("span",{role:"status",style:By,children:O})]});return E?n.jsx(aa,{type:"page",icon:t,title:e,disc:a,className:De("word-table-block",r),children:oe}):oe}function wn({title:e,headerAction:t,collapsible:a=!1,defaultCollapsed:r=!1,collapsed:s,onCollapsedChange:i,footer:l,sections:c,selected:u={},onSelect:d,align:p,sectionAlign:m,className:f}){const b=(p??(m==="vertical"?"newline":"inline"))==="inline",{t:C}=be.useTranslation(),[y,_]=o.useState(r),h=s??y,v=()=>{const g=!h;_(g),i?.(g)},x=e||t||a;return n.jsxs("div",{className:De("filter-panel",a?"filter-panel--collapsible":"",h?"filter-panel--collapsed":"",f),children:[x&&n.jsxs("div",{className:"filter-panel__header",children:[n.jsxs("div",{className:"filter-panel__title-row",children:[a&&n.jsx(le,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:h?"chevron-down":"chevron-up",ariaLabel:h?C("common.expand","\uD3BC\uCE58\uAE30"):C("common.collapse","\uC811\uAE30"),"aria-expanded":!h,onClick:v}),e&&n.jsx("span",{className:"filter-panel__title h4",children:e})]}),n.jsx("div",{className:"filter-panel__header-actions",children:!h&&t})]}),!h&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:De("filter-panel__sections",b?"filter-panel__sections--row":""),children:c.map(g=>{const k=u[g.label],w=k===void 0||(Array.isArray(k)?k.length===0:!1),B=(g.items??[]).filter(A=>A!=null);g.allOption&&B.some(A=>(typeof A=="string"?A:A.value)===rn)&&fn(`filter-panel-all-value:${g.label}`,`[FilterPanel] '${g.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${rn}' \uC778 \uBCF4\uAE30\uAC00 \uD568\uAED8 \uC788\uB2E4 \u2014 \uB450 \uC120\uD0DD\uC774 \uAD6C\uBCC4\uB418\uC9C0 \uC54A\uB294\uB2E4. \uBCF4\uAE30 \uAC12\uC744 \uBC14\uAFD4\uB77C.`);const N=A=>{const D=typeof A=="string"?A:A.value,F=typeof A!="string"&&!!A.disabled,$=typeof A!="string"?A.labels:void 0,R=typeof A!="string"?A.displayLabel:void 0,U=typeof A!="string"?A.tooltip:void 0,E=typeof A!="string"?A.descriptionTooltip:void 0,T=typeof A!="string"?A.shape:void 0,V=Array.isArray(k)?k.includes(D):k===D;return n.jsx(le,{htmlType:"button",size:"keyboard",label:$??R??D,type:g.itemType??($?"bar":D.length===1?"dot":void 0),selected:V,disabled:F,shape:T,showTooltipInfo:!!U,tooltipInfoText:U,tooltipDescription:E,onClick:()=>d?.(D,g.label)},D)};return n.jsxs(o.Fragment,{children:[g.groupLabel&&n.jsxs("div",{className:"filter-panel__group-label-row",children:[n.jsx("div",{className:"filter-panel__group-label body-2",children:g.groupLabel}),g.groupAction]}),n.jsxs("div",{className:De("filter-panel__section",g.layout==="row"?"filter-panel__section--row":"",g.block?"filter-panel__section--block":""),children:[n.jsxs("div",{className:"filter-panel__section-label-row",children:[n.jsx("span",{className:"filter-panel__section-label body-3",children:g.displayLabel??g.label}),g.labelAction??(g.labelInfo?n.jsx(Ba,{...g.labelInfo}):null)]}),g.type==="note"?n.jsx("div",{className:"filter-panel__note body-3",children:g.content}):g.type==="input"?n.jsx(Vn,{className:"filter-panel__textfield",placeholder:g.placeholder,ariaLabel:g.displayLabel??g.label,value:u[g.label]??"",onChange:A=>d?.(A,g.label),error:g.error}):!g.multiple&&g.display==="segmented"?n.jsx(Sn,{ariaLabel:g.displayLabel??g.label,options:[...g.allOption?[{key:rn,label:g.allLabel??C("common.all","\uC804\uCCB4"),disabled:g.allOptionDisabled}]:[],...B.map(A=>{const D=typeof A=="string"?A:A.value,F=typeof A!="string"?A.displayLabel:void 0,$=typeof A!="string"?A.disabled:void 0;return{key:D,label:F??D,disabled:$}})],value:w&&g.allOption?rn:u[g.label]??"",onChange:A=>d?.(A,g.label),size:40}):!g.multiple&&g.display==="dropdown"?n.jsx(nn,{className:"filter-panel__dropdown",size:40,options:[...g.allOption?[{value:rn,label:g.allLabel??C("common.all","\uC804\uCCB4"),disabled:g.allOptionDisabled}]:[],...B.map(A=>{const D=typeof A=="string"?A:A.value,F=typeof A!="string"?A.displayLabel:void 0,$=typeof A!="string"?A.disabled:void 0;return{value:D,label:F??D,disabled:$}})],value:w&&g.allOption?rn:u[g.label],onChange:A=>d?.(A,g.label)}):n.jsxs("div",{className:g.groups?"filter-panel__item-groups":"filter-panel__items",children:[g.allOption&&!g.groups&&n.jsx(le,{htmlType:"button",size:"keyboard",label:g.allLabel??C("common.all","\uC804\uCCB4"),selected:w,disabled:g.allOptionDisabled,onClick:()=>d?.(rn,g.label)}),g.groups?g.groups.map((A,D)=>n.jsxs("div",{className:"filter-panel__item-group",children:[D===0&&g.allOption&&n.jsx(le,{htmlType:"button",size:"keyboard",label:g.allLabel??C("common.all","\uC804\uCCB4"),selected:w,disabled:g.allOptionDisabled,onClick:()=>d?.(rn,g.label)}),A.filter(F=>F!=null).map(N)]},D)):B.map(N)]})]})]},g.label)})}),l!=null&&l!==!1&&n.jsx("div",{className:"filter-panel__footer body-3",children:l})]})]})}const Ey=[1,2,3,4,5,6,7,8,9,10,11,12],gc=[8,4,2,1];function bc(e,t){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!t.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:!t.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function yc(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 vc(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 xc(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 _c(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 wc(e,t){return{label:e(t.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[t.itemCount,...gc.filter(a=>a<t.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function kc(e,t){return e===t||!gc.includes(e)?Number.POSITIVE_INFINITY:e}function Ac(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 Bc={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Nc(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Dc(e,t){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:t.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:t.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:t.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:t.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:t.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}}function Sc(e,t,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?t===rn?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(s=>s.includes(t)?s.filter(i=>i!==t):[...s,t]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(t==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(t==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(t),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(t==="\uD45C\uC2DC"),!0):!1}function jy(e){return"sections"in e}function vo(e){const{t}=be.useTranslation(),{title:a,className:r}=e;if(jy(e))return n.jsx(wn,{className:r,title:a??t("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,align:"inline"});const{hasImage:s,hasColloquial:i,contentTypes:l,orientation:c,showOutline:u,cutLine:d,showDivLine:p,setters:m,showCutLine:f=!1,showDivLine2:b=!1,middleSections:C=[],extraSelected:y={},onExtraSelect:_}=e,h=[bc(t,{hasImage:s,hasColloquial:i}),yc(t),...C,vc(t),...f?[xc(t)]:[],...b?[_c(t)]:[]],v={...Dc(t,{contentTypes:l,orientation:c,showOutline:u,cutLine:d,showDivLine:p}),...y},x=(g,k)=>{Sc(t,g,k,m)||_?.(g,k)};return n.jsx(wn,{className:r,title:a??t("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:h,selected:v,onSelect:x,sectionAlign:"horizontal"})}function Ec(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function xo(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let nr=null,sa=null;function Ty(e,t,a,r="",s=""){if(e.length===0||sa&&sa.iframe.isConnected&&Date.now()-sa.at<1e4)return;const i=r?xo(r):"";nr?.();let l=null;if(i){const d=document.title;document.title=i,l=()=>{document.title=d,window.removeEventListener("afterprint",l),nr===l&&(nr=null)},nr=l,window.addEventListener("afterprint",l)}const c=document.createElement("iframe");c.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(c);const u=c.contentDocument;if(!u){c.remove();return}sa={iframe:c,at:Date.now()},u.open(),u.write(_o(e,t,a,!0,i,s)),u.close(),c.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{c.remove(),sa?.iframe===c&&(sa=null)},0)})}function _o(e,t,a,r=!1,s="",i=""){s=s?xo(s):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(m=>m.cssText)}catch{return[]}}).join(`
860
860
  `),c="light",u=i?`<div class="paper-head">${Ec(i)}</div>`:"",d=e.map(p=>{const m=p.cloneNode(!0);return m.querySelectorAll('[data-play-state="play"]').forEach(f=>f.style.display=""),m.querySelectorAll('[data-play-state="pause"]').forEach(f=>f.style.display="none"),m.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(f=>f.remove()),m.querySelectorAll(".word-table-cell__spinner").forEach(f=>f.remove()),m.querySelectorAll("img").forEach(f=>{f.style.opacity==="0"&&(f.setAttribute("onload","this.style.opacity=''"),f.setAttribute("onerror","this.style.visibility='hidden'"))}),`<div class="paper-wrap">${u}${m.outerHTML}</div>`}).join(`
861
861
  `);return`<!DOCTYPE html>