@ihabdevteam/core 0.260.0 → 0.261.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,19 +844,19 @@ 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 tC(e){eC(e)}function Us(e,n){if(!e)return null;const a=fa();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Gs(e){if(!e)return null;const n=fa();if(!n)throw new qs("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Ks(e){const n=fa();if(!n)throw new qs("downloadSound");return n.download(e)}function nC(){return fa()?.noiseBaseUrl??"/sounds/noise"}function Ys(){const e=Number(fa()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function aC(e){const n=AbortSignal.timeout;if(typeof n=="function")return n.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const Zs="__ihab_core_tts_config__";function Lr(){return globalThis[Zs]?.urlResolver??null}function rC(){return globalThis[Zs]?.fallbackUrlResolver??null}const oC="__ihab_core_pronunciation_resolver__";function sC(){return globalThis[oC]??null}let En=null;const ga=new WeakMap,$r=new WeakMap,Rr=new WeakMap;let Xs=!1;const Js=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function iC(){if(Xs||typeof document>"u")return;Xs=!0;const e=()=>{try{En&&En.state!=="running"&&En.resume()}catch{}};for(const n of["pointerdown","touchend","keydown"])document.addEventListener(n,e,{capture:!0,passive:!0})}function Qs(){if(En)return En;try{const e=window.AudioContext||window.webkitAudioContext;return e?(En=new e,iC(),En):null}catch{return null}}function Pr(){try{En?.resume()}catch{}}function Fr(e,n){const a=ga.get(n);if(a)return a;try{const r=e.createMediaElementSource(n),s=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,s.gain.value=Js($r.get(n)??n.volume),r.connect(s),s.connect(i),s.connect(e.destination);try{n.volume=1}catch{}const l={gain:s,analyser:i};return ga.set(n,l),l}catch{return null}}function Ha(e){if(!e)return Promise.resolve(null);const n=ga.get(e);if(n)return Promise.resolve(n.analyser);const a=Qs();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Fr(a,e)?.analyser??null);const r=Rr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Fr(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Rr.delete(e)});return Rr.set(e,s),s}function lC(e){if(!e)return null;const n=ga.get(e);if(n)return n.analyser;const a=Qs();return a?a.state==="running"?Fr(a,e)?.analyser??null:(Ha(e),null):null}function Sn(e,n){const a=Js(n);$r.set(e,a);const r=ga.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 za(e){return $r.get(e)??e.volume}function uC(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const s=n[r];a+=s*s}return Math.sqrt(a/n.length)}const cC="__ihab_core_image_config__";function Xn(){return globalThis[cC]??null}const ei="word_image_existence_map_v1";let Hn=null;const Va=new Map;function dC(){if(Hn)return Hn;try{const e=typeof localStorage<"u"?localStorage.getItem(ei):null,n=e?JSON.parse(e):null;Hn=n&&typeof n=="object"&&!Array.isArray(n)?n:{}}catch{Hn={}}return Hn}let Ir=null;function pC(){Ir||(Ir=setTimeout(()=>{Ir=null;try{typeof localStorage<"u"&&Hn&&localStorage.setItem(ei,JSON.stringify(Hn))}catch{}},200))}function mC(e,n){return`${e}_${n??1}`}async function ti(e,n){const a=dC(),r=mC(e,n);if(r in a)return a[r];if(Va.has(r))return Va.get(r);const s=Xn();if(!s)return!1;const i=s(e,n);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:aC(8e3)}).then(u=>u.status>=500?null:u.ok,()=>null).then(u=>(Va.delete(r),u===null?!1:(a[r]=u,pC(),u)));return Va.set(r,l),l}const hC={\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"}},ni=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ai=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],CC=["","\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 ba(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function fC(e){const n=ba(e[0]||"");return n?ni[n.cho]:""}function gC(e){if(!e)return()=>!0;e=e.normalize("NFC");const n=[...e],a=l=>ni.includes(l),r=l=>ai.includes(l),s=n.map(l=>a(l)?"cho":r(l)?"jung":ba(l)?"syl":"other"),i=n.map(l=>ba(l));if(s.includes("other")){const l=e.toLowerCase();return u=>u.normalize("NFC").toLowerCase().includes(l)}return l=>{const u=[...l.normalize("NFC")];for(let d=0;d+n.length<=u.length;d++){let c=!0;for(let p=0;p<n.length;p++){const m=u[d+p],h=s[p];if(h==="cho"){if(fC(m)!==n[p]){c=!1;break}}else if(h==="jung"){const b=ba(m);if(!b||ai[b.jung]!==n[p]){c=!1;break}}else{const b=i[p];if(b&&b.jong===0){const y=ba(m);if(!y||y.cho!==b.cho||y.jung!==b.jung){c=!1;break}}else if(m!==n[p]){c=!1;break}}}if(c)return!0}return!1}}const bC={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(bC).map(([e,n])=>[n.join(""),CC[Number(e)]]));const yC="word_pair_index_v2",vC="word_pair_index_sig_v2";let Wa=null;function xC(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(yC),n=localStorage.getItem(vC);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function _C(){if(Wa)return Wa;const e=xC();return e?(Wa=e.index,e.sig,Wa):null}const Or=/[ㄱ-ㅎ]/,wC=/[ㅏ-ㅣ]/;function ri(e){e=e.normalize("NFC");for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Or.test(a)||wC.test(a))return a}return null}function AC(e){const n=ri(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Or.test(n)?"\uC774":"\uAC00"}function BC(e){return`${e}${AC(e)}`}function kC(e){const n=ri(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Or.test(n)?"\uC744":"\uB97C"}function NC(e){return`${e}${kC(e)}`}function DC(e,n,a){const r=e.slice(),[s]=r.splice(n,1);return r.splice(a,0,s),r}function ya(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const s=Math.floor(n()*(r+1));[a[r],a[s]]=[a[s],a[r]]}return a}const EC=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof jt?.t=="function"?jt.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function oi(e,n){if(n===void 0&&(n=EC()),e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const SC="__ihab_core_word_pool__";function si(){return globalThis[SC]??null}const ii=globalThis;function li(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function jC(e){li("time",()=>ii.__ihabTrainingTimeLogger?.(e))}function TC(e){li("completion",()=>ii.__ihabTrainingCompletionLogger?.(e))}function qa(e){if(typeof e=="string"){const n=e.trim();return n?Number.isNaN(new Date(n).getTime())?null:n:null}if(e instanceof Date)return Number.isNaN(e.getTime())?null:e.toISOString();if(typeof e=="number"&&Number.isFinite(e)){const n=new Date(e);return Number.isNaN(n.getTime())?null:n.toISOString()}return null}function Kt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function MC(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function LC(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:Kt(r.contextCode)??Kt(r.itemId)??Kt(r.itemCode)??Kt(r.id),question:Kt(r.question)??Kt(r.q)??Kt(r.sentence)??Kt(r.text)??Kt(r.prompt)??Kt(r.word)??Kt(r.targetSyllable),answer:Kt(r.answer),selected:Kt(r.selectedText)??Kt(r.selected),correct:MC(r),shownAt:qa(r.shownAt)??qa(r.shown_at),answeredAt:qa(r.answeredAt)??qa(r.answered_at)}}):[]}const Hr=globalThis;async function $C(){try{return await Hr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ui(e){const n=a=>{};try{const a=Hr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function Ua(e){try{Hr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function RC(e){if(typeof document<"u"){const n=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),n&&n!==document.activeElement&&typeof n.focus=="function"&&n.isConnected)try{n.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 PC="Asia/Seoul",FC=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function zr(e){let n;if(e instanceof Date)n=e;else if(typeof e=="string"){const a=e.trim(),r=FC.exec(a);n=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 n=new Date(e);return Number.isNaN(n.getTime())?null:n}const IC=e=>zr(e);function OC(e,n){const a=n.startsWith("ko")?"ko-KR":"en-US",r=IC(e);return r?r.toLocaleDateString(a,{timeZone:PC,year:"numeric",month:"short",day:"numeric"}):""}function va(){return Wr(new Date)}function Vr(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:va()}function Jn(){return zC(va())}const HC=540*60*1e3;function ci(e,n,a){return new Date(Date.UTC(e,n,a)-HC)}function zC(e){const[n,a,r]=e.split("-").map(Number);return new Date(n,(a||1)-1,r||1)}function Wr(e){if(e==null||e==="")return"";const n=zr(e);return n?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n):""}function di(e,n){if(!e)return"";const a=zr(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),u=Math.floor(l/24),d=Math.floor(u/7),c=Math.floor(u/30),p=Math.floor(u/365);return i<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?n("store.time.minutesAgo",{n:i}):l<24?n("store.time.hoursAgo",{n:l}):u<7?n("store.time.daysAgo",{n:u}):d<5?n("store.time.weeksAgo",{n:d}):u<365?n("store.time.monthsAgo",{n:Math.min(c,11)}):n("store.time.yearsAgo",{n:p})}function pi(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=Wr(e instanceof Date?e:String(e));if(!l)return i;const[u,d,c]=l.split("-"),p=r?d:String(Number(d)),m=r?c:String(Number(c));return`${u}${a}${p}${a}${m}${s?".":""}`}function Qn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function mi(e,n){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?n("date.timeH",{h:r,hh:i,mm:a[2]}):n("date.timeHM",{h:r,hh:i,m:s,mm:a[2]})}function qr(e){return(e??0).toLocaleString("ko-KR")}const VC=[{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"}]}],WC=[{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 hi(){return VC}function qC(){return WC}const UC=[],GC=[],KC=[],YC=[];function ZC(){return{LISTEN_IN_NOISE:UC,SHORT_STORY:GC,LONG_STORY:KC,ORDERING_SENTENCE:YC}}const XC=[{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 JC(e){return XC.map(n=>{const a=Ci[n.key];return a?{...n,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:n})}let Ga=null,fi=null,gi=null;function QC(){const e=si();if(e&&e.entries.length>0){const n=_C();if(Ga&&fi===e&&gi===n)return Ga;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:n?.[s.word]?[...n[s.word].cho??[],...n[s.word].jung??[],...n[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Ga=r,fi=e,gi=n,Ga}return[]}new Proxy([],{get(e,n){const a=QC(),r=a[n];return typeof r=="function"?r.bind(a):r}});const ef="0.260.0";function tf(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const n=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(n)}function nf(e){if(typeof window>"u")return"";const n=(a,r)=>{typeof r.attrValue=="string"&&tf(r.attrValue)&&(r.keepAttr=!1)};Tr.addHook("uponSanitizeAttribute",n);try{return Tr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Tr.removeHook("uponSanitizeAttribute",n)}}function af(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[u,d]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const c=e.split("/").pop();let p=e;c&&(e.startsWith("/")?p=Mr(e):/^(Logo|Symbol)/i.test(c)?p=Mr(`logo/${c}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!n)return;let c=!1;async function p(){try{let m=await fetch(n);m.ok||(m=await fetch(n));const h=m.headers.get("content-type")||"";if(c)return;if(h.includes("svg")){s("mask");return}if(h.startsWith("image/")){s("img");return}const b=await fetch(n);if(!b.ok)throw new Error("not ok");const y=await b.text();if(c)return;if(/^\s*<svg[\s>]/i.test(y)){const g=nf(y);if(!g){s("none");return}l(g),s("inline");return}s("none")}catch{c||s("none")}}return p(),()=>{c=!0}},[n]),o.useEffect(()=>{let c=!1,p=null;return r==="mask"&&n&&fetch(n).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{c||(p=URL.createObjectURL(m),d(p))}).catch(()=>{c||s("img")}),()=>{c=!0,p&&URL.revokeObjectURL(p),d(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:u}}function Ye(e){const{icon:n,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:u,size:d}=e||{},c=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",h=l??"iconRenderer-icon-svg",b=typeof n=="string"?n:null,y=f0(b),{iconToUse:g,mode:v,svgText:w,blobUrl:C}=af(b),_=(k,B={})=>t.jsx("span",{className:c,style:u,...B,children:k}),f=typeof d=="number"?{width:d,height:d,objectFit:"contain"}:null,A=(k,B={})=>t.jsx("img",{src:k,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...B,style:f?{...B.style,...f}:B.style});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.jsx("span",{className:h,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(y)try{return _(o.createElement(y,{className:h,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(g&&g.endsWith(".svg")){if(v==="mask"){const k={"--icon-url":C?`url(${C})`:`url(${g})`,...typeof d=="number"?{"--icon-size":`${d}px`}:null};return _(t.jsx("span",{className:m,style:k}),{"aria-hidden":"true"})}return v==="img"?_(A(g,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):v==="inline"?_(t.jsx("span",{className:h,dangerouslySetInnerHTML:w?{__html:w}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return A(Mr(n),{style:u,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const x=typeof d=="number"?d:20,N=`<svg width="${x}" height="${x}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return _(t.jsx("span",{className:h,dangerouslySetInnerHTML:{__html:N}}),{"aria-hidden":"true"})}function bi(e){const[n,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 u=()=>{r.current=!1,s.current&&a(!1)};l.then(u,u)}},[e]);return{pending:n,press:i}}function rf({icon:e,title:n,message:a,action:r,className:s}){const{pending:i,press:l}=bi(r?.onClick);return t.jsxs("div",{className:ke("empty-state",s),children:[e&&t.jsx(Ye,{icon:e,size:48,className:"empty-state__icon"}),n&&t.jsx("p",{className:"empty-state__title h4",children:n}),a&&t.jsx("p",{className:"empty-state__message body-3",children:a}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:l,disabled:i,"aria-busy":i||void 0,children:[r.icon&&t.jsx(Ye,{icon:r.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:r.label})]})]})}function of({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=ye.useTranslation(),{pending:u,press:d}=bi(r);return t.jsxs("div",{className:ke("empty-state","error-state",i),role:"alert",children:[t.jsx(Ye,{icon:a,size:48,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"error-state__hint caption-1",children:n}),r&&t.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:[t.jsx(Ye,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function sf({icon:e,title:n,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:u=""}){const d=o.useId(),c=`${d}-title`,p=`${d}-desc`,m=`${d}-cta`,h=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":c,"aria-describedby":`${p} ${m}`,onClick:h,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),h())},className:ke("action-card",`action-card--${s}`,i&&"action-card--disabled",u),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ye,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{id:c,className:"action-card__title",children:n}),t.jsx("p",{id:p,className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{id:m,children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ye,{icon:"arrow-right",size:18})})]})]})})}function lf({as:e="div",className:n="",children:a,storage:r,...s}){r&&tC({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=ke("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...s,children:a})}function Ur(e,n=!0){o.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=s=>{if(s.key!=="Tab")return;const i=Array.from(a.querySelectorAll(mn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],u=i[i.length-1],d=document.activeElement,c=d===a;s.shiftKey&&(d===l||c)?(s.preventDefault(),u.focus()):!s.shiftKey&&d===u&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const mn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Gr=new WeakMap;function Kr(e,n){e&&Gr.set(e,n)}function Yr(e){let n=e;for(let a=0;n&&!n.isConnected&&a<10;a++){let r=n;for(;r&&!Gr.has(r);)r=r.parentElement;if(!r)return n;n=Gr.get(r)??null}return n}function yi(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 Ka(e,n,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(yi(n)&&!(e&&e.contains(n)))return n.focus(),n;if(!r)return null;const s=Array.from(document.querySelectorAll(mn)).filter(d=>!(e&&e.contains(d))&&yi(d));let i=null,l=null;for(const d of s)r.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_PRECEDING?i=d:l||(l=d);const u=i??l;return u?.focus(),u}function uf({title:e="",lines:n=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:u}=ye.useTranslation(),[d,c]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const g=p.current;g&&g.contains(document.activeElement)&&Ka(g),c(!0)},[]);if(d)return null;const h=`notice-box notice-box--${s} body-2 ${l}`.trim(),b=i&&t.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:m,"aria-label":u("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return t.jsxs("div",{className:h,role:"note",children:[a.map((g,v)=>t.jsxs("div",{className:"notice-box__inner",children:[g.title?t.jsx("span",{className:"notice-box__title body-3",children:g.title}):null,t.jsx("div",{className:"notice-box__body",children:g.lines&&g.lines.length?t.jsx("div",{children:g.lines.map((w,C)=>t.jsx("span",{className:"notice-box__line body-3",children:w},C))}):g.children??null})]},v)),b]});const y=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((g,v)=>t.jsx("li",{className:"notice-box__line",children:g},v))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{ref:p,className:h,role:"note",children:[y,b]})}const ea=[];let Ya=!1;function vi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const n=ea[ea.length-1];n&&(e.stopPropagation(),n())}function zn(e){return ea.push(e),!Ya&&typeof document<"u"&&(document.addEventListener("keydown",vi),Ya=!0),()=>{const n=ea.lastIndexOf(e);n>=0&&ea.splice(n,1),ea.length===0&&Ya&&typeof document<"u"&&(document.removeEventListener("keydown",vi),Ya=!1)}}const xi=o.createContext(null);function cf(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const _i=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function df(e){const n=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 as.useSyncExternalStore(n,()=>_i(e),()=>!1)}function pf(e){const[n,a]=o.useState(_i(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]),n}const mf=typeof as.useSyncExternalStore=="function"?df:pf;function nn(e){const n=o.useContext(xi),a=mf(e);return n&&typeof n.mobile=="boolean"&&cf(e)?n.mobile:a}const hf="(prefers-reduced-motion: reduce)";function Zr(){return nn(hf)}function on(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:u="",role:d="dialog",ariaLabel:c="",children:p,backdrop:m=!1,isMobilePopup:h=!1,useBorder:b=!0,header:y,focusOnOpen:g}=e||{},v=o.useRef(null),[w,C]=o.useState({position:"fixed",left:0,top:-9999}),[_,f]=o.useState(!1),[A,x]=o.useState("bottom"),[N,k]=o.useState(!1),[B,E]=o.useState(!1),j=!n&&!a,V=o.useCallback((G=!1)=>{if(B&&h)return;const P=a?a.getBoundingClientRect():n;if(!P||!v.current)return;const I=v.current,{offsetWidth:D,offsetHeight:z}=I,M=window.innerWidth,F=window.innerHeight,R=M-P.right,K=P.left,ae=P.top,Q=F-P.bottom;let re=0,ce=0,ue="top";if(ae>=z+r)ue="top",ce=P.top-r-z,re=P.left+P.width/2-D/2;else if(Q>=z+r)ue="bottom",ce=P.bottom+r,re=P.left+P.width/2-D/2;else if(R>=D+r)ue="right",re=P.right+r,ce=P.top+P.height/2-z/2;else if(K>=D+r)ue="left",re=P.left-r-D,ce=P.top+P.height/2-z/2;else{const oe=Math.max(ae,Q,R,K);oe===ae?(ue="top",ce=P.top-r-z,re=P.left+P.width/2-D/2):oe===Q?(ue="bottom",ce=P.bottom+r,re=P.left+P.width/2-D/2):oe===R?(ue="right",re=P.right+r,ce=P.top+P.height/2-z/2):(ue="left",re=P.left-r-D,ce=P.top+P.height/2-z/2)}const be=Number.isFinite(Number(s))?Number(s):8;re=Math.min(Math.max(re,be),M-D-be),ce=Math.min(Math.max(ce,be),F-z-be);const W=Math.round(re),te=Math.round(ce);G&&v.current?(v.current.style.left=`${W}px`,v.current.style.top=`${te}px`,v.current.dataset.placement=ue):(x(ue||A),C({position:"fixed",left:W,top:te}),k(!0))},[B,h,a,n,r,s,A]);o.useLayoutEffect(()=>{if(j)return;if(B&&h){C({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),k(!0);return}V();const G=requestAnimationFrame(()=>V());return()=>cancelAnimationFrame(G)},[n,a,r,p,s,j,B,h,V]),o.useEffect(()=>{if(j||B&&h||!v.current||typeof ResizeObserver>"u")return;const G=new ResizeObserver(()=>{n&&V()});return G.observe(v.current),()=>G.disconnect()},[n,p,s,j,B,h,V]),o.useEffect(()=>{if(j||B&&h)return;const G=()=>V(!0),P=I=>{if(!a&&i){const D=I.target;if(D&&v.current&&v.current.contains(D))return;try{if(D&&D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}H.current(!0);return}G()};return window.addEventListener("resize",G),document.addEventListener("scroll",P,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",G),document.removeEventListener("scroll",P,{capture:!0})}},[n,a,i,r,p,s,j,B,h,V]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const G=window.matchMedia("(max-width: 768px)"),P=()=>E(!!G.matches);P();try{G.addEventListener?G.addEventListener("change",P):G.addListener(P)}catch{try{G.addListener(P)}catch{}}return()=>{try{G.removeEventListener?G.removeEventListener("change",P):G.removeListener(P)}catch{}}},[]);const $=o.useRef(!1),U=o.useRef(null),S=Zr(),L=o.useCallback((G=!1)=>{if(i&&!(_||$.current)){if($.current=!0,G){f(!0);try{i&&i()}catch{$.current=!1,f(!1)}return}f(!0),U.current=setTimeout(()=>{U.current=null;try{i&&i()}catch{$.current=!1,f(!1)}},S?0:200)}},[_,i,f,S]);o.useEffect(()=>()=>{U.current&&clearTimeout(U.current)},[]),o.useEffect(()=>{if(j)return;const G=D=>{const z=v.current;if(!z)return;const M=D.target;if(M&&!z.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},P=D=>{const z=v.current;if(!z)return;const M=D.target;if(M&&!z.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},I=D=>{if(D.key==="Tab"){const z=v.current;if(!z)return;const M=z.querySelectorAll(mn);if(!M||M.length===0)return;const F=M[0],R=M[M.length-1],K=document.activeElement;D.shiftKey?K===F&&(D.preventDefault(),R.focus()):K===R&&(D.preventDefault(),F.focus())}};return document.addEventListener("pointerdown",G,!0),document.addEventListener("click",P,!0),document.addEventListener("keydown",I),()=>{document.removeEventListener("pointerdown",G,!0),document.removeEventListener("click",P,!0),document.removeEventListener("keydown",I)}},[i,l,L,j]);const H=o.useRef(L);o.useEffect(()=>{H.current=L});const X=!!i;o.useEffect(()=>{if(!(j||!X))return zn(()=>H.current())},[j,X]),o.useEffect(()=>{const G=()=>{L(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",G),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",G)}},[L]);const ne=o.useRef(null);o.useEffect(()=>{if(j||g===!1||!N)return;const G=v.current;if(!G)return;const P=G.querySelector(mn);if(P)return ne.current=document.activeElement,P.focus(),()=>{const I=ne.current;ne.current=null,I&&document.contains(I)&&I.focus()}},[j,g,N]),o.useEffect(()=>{d==="dialog"&&!c&&an("tooltip-no-name",'[ihab/Tooltip] \uC774\uB984 \uC5C6\uB294 role="dialog" \uC785\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. \uB0AD\uB3C5\uAE30\uAC00 "\uB300\uD654\uC0C1\uC790" \uB77C\uACE0\uB9CC \uC77D\uC2B5\uB2C8\uB2E4.')},[d,c]);const q=t.jsxs("div",{ref:v,className:`tooltip-content ${j?"tooltip-content--inline":""} ${b?"tooltip-content--bordered":""} ${_?"is-closing":""} ${u} ${B&&h?"is-mobile":""}`,role:d,"aria-label":c||void 0,style:j?{}:{...w,visibility:N?"visible":"hidden"},tabIndex:-1,"data-placement":A,"data-left":j?"":w.left,"data-top":j?"":w.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[y!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:y}),p]});if(j||typeof document>"u")return q;if(m||B&&h){const G=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&L(!0)}}),q]});return Jt.createPortal(G,document.body)}return Jt.createPortal(q,document.body)}function bn(e){const{anchorRect:n,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?t.jsx(on,{anchorRect:n,offset:r,onClose:s,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function Vn(e){const{t:n}=ye.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:u,offset:d=12,closeOnOutsideClick:c=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:t.jsx(on,{anchorRect:a,offset:d,onClose:u,closeOnOutsideClick:c,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:p.map((m,h)=>t.jsxs("li",{className:`tooltip-description__item body-3${h===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),m.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),t.jsx("span",{children:m.text})]},h))})]})})}function xa(e){const n=o.useRef(e);return o.useEffect(()=>{n.current=e}),n}let Xr=0,wi=!1;function Ai(){wi||typeof document>"u"||(wi=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(Xr=Date.now())},!0),document.addEventListener("touchstart",()=>{Xr=Date.now()},{capture:!0,passive:!0}))}Ai();function ta(e){return!!e&&e.pointerType==="touch"}function na(e=1e3){return Ai(),Date.now()-Xr<e}function Jr(e,n,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=xa(e),l=xa(n),u=o.useRef(null),d=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const h=m,b=m.target,y=a.current,g=!!(b&&y&&y.contains(b));if(h.pointerType!=="touch"){g&&(u.current=null);return}if(g){u.current=i.current;return}u.current=null,i.current&&!(b&&b.closest?.(".tooltip-content"))&&l.current(!1,y)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const c=o.useCallback(p=>{const m=u.current;return m===null?!1:(u.current=null,d.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 h=null;const b=v=>{const w=v.changedTouches?.[0];if(!w)return!1;const C=p.getBoundingClientRect();return w.clientX>=C.left&&w.clientX<=C.right&&w.clientY>=C.top&&w.clientY<=C.bottom},y=v=>{h=b(v)?i.current:null},g=v=>{const w=h;h=null,!(w===null||Date.now()-d.current<700||!b(v))&&(u.current=null,d.current=Date.now(),l.current(!w,p))};return m.addEventListener("touchstart",y,{passive:!0}),m.addEventListener("touchend",g),()=>{m.removeEventListener("touchstart",y),m.removeEventListener("touchend",g)}},[r,s,a,i,l]),{touchPress:c}}function Cf(e,n){const{size:a=48,type:r,htmlType:s="button",href:i,target:l,rel:u,icon:d,rightIcon:c,label:p,count:m,subLabel:h,children:b,ariaLabel:y,variant:g="default",align:v="center",nowrap:w=!1,selected:C,toggleable:_=!1,ariaExpanded:f,ariaControls:A,disabled:x=!1,useLabel:N=!0,useBorder:k=!0,useBG:B=!0,useDisabledCovered:E=!1,useDisabledInvisible:j=!1,width:V,minWidth:$,onClick:U,onDisabledClick:S,showTooltipInfo:L=!1,tooltipInfoText:H=null,tooltipDescription:X=null,tooltipOnly:ne=!1,iconSize:q="medium",iconColor:G,shape:P="rounded",color:I,className:D,...z}=e,M=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),F=M.match(/^\d+$/)?`button${M}`:`button-${M}`,R=Number(a),K=!isNaN(R)&&R<40?"button-2":"button-1",ae=p??b,Q=x||!!z.disabled,re=Q?E?"disabled-covered":j?"disabled-invisibled":"disabled":g,ce=re?`button--variant-${re}`:"",ue=v?`button--align-${v}`:"",be=w?"button--nowrap":"",W=P?`button--shape-${P}`:"",te=typeof G=="string"&&G.startsWith("--")?`var(${G})`:G,oe={...V?{width:typeof V=="number"?`${V}px`:V}:{},...$?{minWidth:typeof $=="number"?`${$}px`:$}:{},...k?{}:{"--button-border":Q?"0":"1px solid transparent"},...te?{"--button-icon-color":te}:{},...I?{"--color-main":I}:{}},_e=N===!1?"":ae,he=Array.isArray(_e)?_e.length>0:!!_e,le=!!c,ge=r??(he||d||le?"bar":"dot"),Ce=`${F}--${ge}`,ve=o.useRef(null),Le=o.useRef(n);Le.current=n;const je=o.useCallback(Ie=>{ve.current=Ie;const at=Le.current;typeof at=="function"?at(Ie):at&&(at.current=Ie)},[]),Qe=o.useRef(Q),[Ue,He]=o.useState(!!C),[Fe,ot]=o.useState(!1),[Ze,Xe]=o.useState(null),st=o.useCallback(()=>ot(!1),[]),[De,$e]=o.useState(!1),Be=o.useId();o.useEffect(()=>{typeof C=="boolean"&&He(C)},[C]),o.useEffect(()=>{if(Qe.current&&!Q&&ve.current){const Ie=ve.current;let at=!1;try{at=Ie.matches(":focus:not(:focus-visible)")}catch{at=!1}at&&Ie.blur(),Ie.style.pointerEvents="none";const Nt=requestAnimationFrame(()=>{requestAnimationFrame(()=>{ve.current&&(ve.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Nt)}Qe.current=Q},[Q]);const nt=typeof C=="boolean"?!!C:Ue,J=typeof f=="boolean"?void 0:_||typeof C=="boolean"?nt?"true":"false":z["aria-pressed"],se=ke("button",F,Ce,ce,ue,be,W,nt?"is-selected":null,B?null:"button--no-bg",ne?"button--tooltip-only":null,D),de=`button__icon button__icon--${q}`,Ee=Array.isArray(h)?h:h!==void 0?[h]:[],et=()=>{if(Array.isArray(_e))return _e.map((at,Nt)=>{const Zt=Ee[Nt];return t.jsxs("span",{className:`button__label-text${Zt!==void 0?" button__label-text--has-sub":""}`,children:[at,Zt!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Zt})]},Nt)});const Ie=h!==void 0;return t.jsxs("span",{className:`button__label-text${Ie?" button__label-text--has-sub":""}`,children:[_e,m!=null&&t.jsx("span",{className:"button__count",children:m}),Ie&&t.jsx("span",{className:"button__sub-label-text caption-1",children:h})]})},We=Ie=>{typeof C!="boolean"&&!_&&He(!1),Ie.currentTarget.blur()},gt=Ie=>{Q||(typeof z.onMouseLeave=="function"&&z.onMouseLeave(Ie),We(Ie))},ut=Ie=>{if(ne&&Ge&&Ke.touchPress(Ie.currentTarget),Q){Ge&&Ke.touchPress(Ie.currentTarget),Ie.preventDefault(),S?.(Ie);return}typeof C!="boolean"&&_&&He(at=>!at),U?.(Ie)},it=o.useCallback(()=>{(L||X)&&(ot(!0),Xe(ve.current?.getBoundingClientRect()??null))},[L,X]),tt=o.useCallback(()=>{(L||X)&&(ot(!1),Xe(null))},[L,X]),Ge=!!(L||X),Ke=Jr(Fe,Ie=>{Ie?it():tt()},ve,{enabled:Ge&&(Q||ne),fallbackOnParent:Ge&&Q}),Me={...z};delete Me.disabled,delete Me.className,delete Me.faded,delete Me.useFaded,delete Me.loading,delete Me.onMouseLeave,delete Me.onPointerEnter,delete Me.onPointerLeave,delete Me.onPointerUp,delete Me.onFocus,delete Me.onBlur,Q&&(Object.keys(Me).forEach(Ie=>{/^on[A-Z]/.test(Ie)&&typeof Me[Ie]=="function"&&delete Me[Ie]}),Me["aria-disabled"]="true");const ze=(typeof L=="string"?L:null)??(typeof H=="string"?H:null)??(typeof y=="string"?y:null)??(typeof ae=="string"?ae:null)??void 0,Pe=typeof y=="string"?y:typeof ae=="string"?ae:ze,ct=X?[X.title,...X.items??[]].filter(Boolean).join(". "):L&&ze&&ze!==Pe?ze:"",xt=[typeof z["aria-describedby"]=="string"?z["aria-describedby"]:void 0,ct?Be:null].filter(Boolean).join(" ")||void 0,kt=(Ie,at)=>t.jsx(Ye,{icon:Ie,label:at??Pe,className:de,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),mt=()=>ge==="dot"?t.jsxs(t.Fragment,{children:[kt(d),he&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}):v==="center"&&d?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:kt(d)}),he&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}),le&&t.jsx("span",{className:"button__right",children:kt(c)})]}):t.jsxs(t.Fragment,{children:[d&&t.jsx("span",{className:"button__left",children:kt(d,y??ae)}),he&&t.jsx("span",{className:`button__label ${K}`,children:et()}),le&&t.jsx("span",{className:"button__right",children:kt(c)})]}),dt=!!i&&!Q;return t.jsxs(t.Fragment,{children:[t.jsxs(dt?"a":"button",{...Me,ref:je,...dt?{href:i,target:l,rel:u??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:Q&&!S&&!De},className:se,"aria-pressed":J,"aria-expanded":typeof f=="boolean"?f:z["aria-expanded"],"aria-controls":A??z["aria-controls"],"aria-label":Pe,"aria-disabled":Q&&(dt||S||De)?!0:void 0,"aria-describedby":xt,style:oe,onClick:ut,onMouseLeave:gt,onPointerEnter:Ie=>{ta(Ie)||it(),!Q&&typeof z.onPointerEnter=="function"&&z.onPointerEnter(Ie)},onPointerLeave:Ie=>{ta(Ie)||tt(),!Q&&typeof z.onPointerLeave=="function"&&z.onPointerLeave(Ie)},onPointerUp:Ie=>{Q&&Ge&&Ke.touchPress(Ie.currentTarget),!Q&&typeof z.onPointerUp=="function"&&z.onPointerUp(Ie)},onFocus:Ie=>{$e(!0),na()||it(),!Q&&typeof z.onFocus=="function"&&z.onFocus(Ie)},onBlur:Ie=>{$e(!1),Q||We(Ie),tt(),!Q&&typeof z.onBlur=="function"&&z.onBlur(Ie)},children:[mt(),ct?t.jsx("span",{id:Be,hidden:!0,"aria-label":ct}):null]}),Fe&&X?t.jsx(Vn,{anchorRect:Ze,title:X.title,items:X.items,onClose:st}):Fe&&ze?t.jsx(bn,{anchorRect:Ze,text:ze,onClose:st}):null]})}const pe=o.forwardRef(Cf);pe.displayName="Button";var ff={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",selectedOfMax:"\uCD5C\uB300 {{max}}\uAC1C \uC911 {{count}}\uAC1C",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",discardConfirm:{title:"\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?",body:"\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",confirm:"\uC785\uB825 \uCDE8\uC18C"},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",likeCount:"\uC88B\uC544\uC694 {{count}}",downloadCount:"\uAC00\uC838\uAC04 \uC218 {{count}}",descriptionFor:"{{name}} \uC124\uBA85",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",collapseFor:"{{name}} \uC811\uAE30",expandFor:"{{name}} \uD3BC\uCE58\uAE30",sortFor:"{{name}} \uC815\uB82C",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",playFor:"{{name}} \uC7AC\uC0DD",pauseFor:"{{name}} \uBA48\uCDA4",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.",noMatches:"\uB9DE\uB294 \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."},gf={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",visitCount:"\uBC29\uBB38 {{count}}\uAC74",statusCount:"{{label}} {{count}}\uAC74"},bf={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",expired:"\uB9CC\uB8CC\uB428",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},yf={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},vf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},xf={selected:"\uC120\uD0DD\uB428"},_f={placeholder:"\uC120\uD0DD"},wf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},Af={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"},Bf={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",feedback:"\uBC84\uADF8\uC2E0\uACE0",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",badgeInsideLabel:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"},kf={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."}}},Nf={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."}},Df={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"}}},Ef={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Sf={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",previewFor:"{{name}} \uBBF8\uB9AC \uB4E3\uAE30",stopFor:"{{name}} \uC815\uC9C0",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"}},jf={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"},Tf={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"}},Mf={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"}}}},Lf={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"},Rf={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"}},Pf={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."}},Ff={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},If={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"},Of={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Hf={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",topInfo:"\uC0C1\uB2E8 \uC815\uBCF4",bottomInfo:"\uD558\uB2E8 \uC815\uBCF4",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"}},publisherFilter:"{{name}} \uAC8C\uC2DC\uD55C \uAC83\uB9CC \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",markName:{o:"\uB9DE\uC74C",triangle:"\uC560\uB9E4",x:"\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 \uC544\uB798 \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB20C\uB7EC \uB9E4\uAE30\uC138\uC694. \uB9C8\uC6B0\uC2A4\uB85C\uB294 \uCE78\uC5D0 \uC190\uC744 \uC5B9\uC73C\uBA74, \uC790\uD310\uC73C\uB85C\uB294 \uCE78\uC5D0 \uCD08\uC810\uC774 \uAC00\uBA74 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",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"}},zf={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"}},Vf={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},Wf={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"}},qf={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"}},Uf={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Gf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},Kf={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"}},Yf={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"}},Zf={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",countLabel:"\uC74C\uC18C \uAC1C\uC218",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."]},Xf={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"}},Jf={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
847
+ `),this.name="StorageNotConfiguredError"}};function tC(e){eC(e)}function Us(e,n){if(!e)return null;const a=fa();return a?.resolvePath?a.resolvePath(e,n):n?`${n}/${e}.mp3`:null}async function Gs(e){if(!e)return null;const n=fa();if(!n)throw new qs("getSignedOrPublicUrl");try{return await n.resolveUrl(e)}catch{return null}}async function Ks(e){const n=fa();if(!n)throw new qs("downloadSound");return n.download(e)}function nC(){return fa()?.noiseBaseUrl??"/sounds/noise"}function Ys(){const e=Number(fa()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function aC(e){const n=AbortSignal.timeout;if(typeof n=="function")return n.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const Zs="__ihab_core_tts_config__";function Lr(){return globalThis[Zs]?.urlResolver??null}function rC(){return globalThis[Zs]?.fallbackUrlResolver??null}const oC="__ihab_core_pronunciation_resolver__";function sC(){return globalThis[oC]??null}let En=null;const ga=new WeakMap,$r=new WeakMap,Rr=new WeakMap;let Xs=!1;const Js=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function iC(){if(Xs||typeof document>"u")return;Xs=!0;const e=()=>{try{En&&En.state!=="running"&&En.resume()}catch{}};for(const n of["pointerdown","touchend","keydown"])document.addEventListener(n,e,{capture:!0,passive:!0})}function Qs(){if(En)return En;try{const e=window.AudioContext||window.webkitAudioContext;return e?(En=new e,iC(),En):null}catch{return null}}function Pr(){try{En?.resume()}catch{}}function Fr(e,n){const a=ga.get(n);if(a)return a;try{const r=e.createMediaElementSource(n),s=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,s.gain.value=Js($r.get(n)??n.volume),r.connect(s),s.connect(i),s.connect(e.destination);try{n.volume=1}catch{}const l={gain:s,analyser:i};return ga.set(n,l),l}catch{return null}}function Ha(e){if(!e)return Promise.resolve(null);const n=ga.get(e);if(n)return Promise.resolve(n.analyser);const a=Qs();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Fr(a,e)?.analyser??null);const r=Rr.get(e);if(r)return r;const s=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Fr(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{Rr.delete(e)});return Rr.set(e,s),s}function lC(e){if(!e)return null;const n=ga.get(e);if(n)return n.analyser;const a=Qs();return a?a.state==="running"?Fr(a,e)?.analyser??null:(Ha(e),null):null}function Sn(e,n){const a=Js(n);$r.set(e,a);const r=ga.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 za(e){return $r.get(e)??e.volume}function uC(e,n){e.getFloatTimeDomainData(n);let a=0;for(let r=0;r<n.length;r++){const s=n[r];a+=s*s}return Math.sqrt(a/n.length)}const cC="__ihab_core_image_config__";function Xn(){return globalThis[cC]??null}const ei="word_image_existence_map_v1";let Hn=null;const Va=new Map;function dC(){if(Hn)return Hn;try{const e=typeof localStorage<"u"?localStorage.getItem(ei):null,n=e?JSON.parse(e):null;Hn=n&&typeof n=="object"&&!Array.isArray(n)?n:{}}catch{Hn={}}return Hn}let Ir=null;function pC(){Ir||(Ir=setTimeout(()=>{Ir=null;try{typeof localStorage<"u"&&Hn&&localStorage.setItem(ei,JSON.stringify(Hn))}catch{}},200))}function mC(e,n){return`${e}_${n??1}`}async function ti(e,n){const a=dC(),r=mC(e,n);if(r in a)return a[r];if(Va.has(r))return Va.get(r);const s=Xn();if(!s)return!1;const i=s(e,n);if(!i)return!1;const l=fetch(i,{method:"HEAD",signal:aC(8e3)}).then(u=>u.status>=500?null:u.ok,()=>null).then(u=>(Va.delete(r),u===null?!1:(a[r]=u,pC(),u)));return Va.set(r,l),l}const hC={\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"}},ni=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ai=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],CC=["","\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 ba(e){if(!e)return null;const n=e.charCodeAt(0)-44032;return n<0||n>=11172?null:{cho:Math.floor(n/588),jung:Math.floor(n%588/28),jong:n%28}}function fC(e){const n=ba(e[0]||"");return n?ni[n.cho]:""}function gC(e){if(!e)return()=>!0;e=e.normalize("NFC");const n=[...e],a=l=>ni.includes(l),r=l=>ai.includes(l),s=n.map(l=>a(l)?"cho":r(l)?"jung":ba(l)?"syl":"other"),i=n.map(l=>ba(l));if(s.includes("other")){const l=e.toLowerCase();return u=>u.normalize("NFC").toLowerCase().includes(l)}return l=>{const u=[...l.normalize("NFC")];for(let d=0;d+n.length<=u.length;d++){let c=!0;for(let p=0;p<n.length;p++){const m=u[d+p],h=s[p];if(h==="cho"){if(fC(m)!==n[p]){c=!1;break}}else if(h==="jung"){const b=ba(m);if(!b||ai[b.jung]!==n[p]){c=!1;break}}else{const b=i[p];if(b&&b.jong===0){const y=ba(m);if(!y||y.cho!==b.cho||y.jung!==b.jung){c=!1;break}}else if(m!==n[p]){c=!1;break}}}if(c)return!0}return!1}}const bC={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(bC).map(([e,n])=>[n.join(""),CC[Number(e)]]));const yC="word_pair_index_v2",vC="word_pair_index_sig_v2";let Wa=null;function xC(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(yC),n=localStorage.getItem(vC);return!e||!n?null:{index:JSON.parse(e),sig:n}}catch{return null}}function _C(){if(Wa)return Wa;const e=xC();return e?(Wa=e.index,e.sig,Wa):null}const Or=/[ㄱ-ㅎ]/,wC=/[ㅏ-ㅣ]/;function ri(e){e=e.normalize("NFC");for(let n=e.length-1;n>=0;n--){const a=e[n],r=a.charCodeAt(0);if(r>=44032&&r<=55203||Or.test(a)||wC.test(a))return a}return null}function AC(e){const n=ri(e);if(!n)return"\uAC00";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":Or.test(n)?"\uC774":"\uAC00"}function BC(e){return`${e}${AC(e)}`}function kC(e){const n=ri(e);if(!n)return"\uB97C";const a=n.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":Or.test(n)?"\uC744":"\uB97C"}function NC(e){return`${e}${kC(e)}`}function DC(e,n,a){const r=e.slice(),[s]=r.splice(n,1);return r.splice(a,0,s),r}function ya(e,n=Math.random){const a=e.slice();for(let r=a.length-1;r>0;r--){const s=Math.floor(n()*(r+1));[a[r],a[s]]=[a[s],a[r]]}return a}const EC=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",n=typeof jt?.t=="function"?jt.t("common.unknownError",{defaultValue:e}):void 0;return typeof n=="string"&&n?n:e};function oi(e,n){if(n===void 0&&(n=EC()),e instanceof Error)return e.message||n;if(typeof e=="string")return e||n;if(e&&typeof e=="object"){const a=e;for(const r of[a.message,a.error_description,a.error])if(typeof r=="string"&&r)return r}return n}const SC="__ihab_core_word_pool__";function si(){return globalThis[SC]??null}const ii=globalThis;function li(e,n){const a=r=>{};try{const r=n();r&&typeof r.catch=="function"&&r.catch(a)}catch(r){a(r)}}function jC(e){li("time",()=>ii.__ihabTrainingTimeLogger?.(e))}function TC(e){li("completion",()=>ii.__ihabTrainingCompletionLogger?.(e))}function qa(e){if(typeof e=="string"){const n=e.trim();return n?Number.isNaN(new Date(n).getTime())?null:n:null}if(e instanceof Date)return Number.isNaN(e.getTime())?null:e.toISOString();if(typeof e=="number"&&Number.isFinite(e)){const n=new Date(e);return Number.isNaN(n.getTime())?null:n.toISOString()}return null}function Kt(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function MC(e){for(const n of["correct","isCorrect","heard","judgement"])if(typeof e[n]=="boolean")return e[n];return e.score===1?!0:e.score===0?!1:null}function LC(e){return Array.isArray(e)?e.map((n,a)=>{const r=n??{};return{index:a,itemId:Kt(r.contextCode)??Kt(r.itemId)??Kt(r.itemCode)??Kt(r.id),question:Kt(r.question)??Kt(r.q)??Kt(r.sentence)??Kt(r.text)??Kt(r.prompt)??Kt(r.word)??Kt(r.targetSyllable),answer:Kt(r.answer),selected:Kt(r.selectedText)??Kt(r.selected),correct:MC(r),shownAt:qa(r.shownAt)??qa(r.shown_at),answeredAt:qa(r.answeredAt)??qa(r.answered_at)}}):[]}const Hr=globalThis;async function $C(){try{return await Hr.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function ui(e){const n=a=>{};try{const a=Hr.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(n)}catch(a){n(a)}}function Ua(e){try{Hr.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function RC(e){if(typeof document<"u"){const n=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),n&&n!==document.activeElement&&typeof n.focus=="function"&&n.isConnected)try{n.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 PC="Asia/Seoul",FC=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function zr(e){let n;if(e instanceof Date)n=e;else if(typeof e=="string"){const a=e.trim(),r=FC.exec(a);n=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 n=new Date(e);return Number.isNaN(n.getTime())?null:n}const IC=e=>zr(e);function OC(e,n){const a=n.startsWith("ko")?"ko-KR":"en-US",r=IC(e);return r?r.toLocaleDateString(a,{timeZone:PC,year:"numeric",month:"short",day:"numeric"}):""}function va(){return Wr(new Date)}function Vr(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:va()}function Jn(){return zC(va())}const HC=540*60*1e3;function ci(e,n,a){return new Date(Date.UTC(e,n,a)-HC)}function zC(e){const[n,a,r]=e.split("-").map(Number);return new Date(n,(a||1)-1,r||1)}function Wr(e){if(e==null||e==="")return"";const n=zr(e);return n?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(n):""}function di(e,n){if(!e)return"";const a=zr(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),u=Math.floor(l/24),d=Math.floor(u/7),c=Math.floor(u/30),p=Math.floor(u/365);return i<1?n("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?n("store.time.minutesAgo",{n:i}):l<24?n("store.time.hoursAgo",{n:l}):u<7?n("store.time.daysAgo",{n:u}):d<5?n("store.time.weeksAgo",{n:d}):u<365?n("store.time.monthsAgo",{n:Math.min(c,11)}):n("store.time.yearsAgo",{n:p})}function pi(e,n={}){const{sep:a=".",pad:r=!0,trailingDot:s=!1,fallback:i="\u2014"}=n;if(!e)return i;const l=Wr(e instanceof Date?e:String(e));if(!l)return i;const[u,d,c]=l.split("-"),p=r?d:String(Number(d)),m=r?c:String(Number(c));return`${u}${a}${p}${a}${m}${s?".":""}`}function Qn(e){if(!e)return e;const n=e.trim();return/^[₩$]/.test(n)?n:/원\s*$/.test(n)?"\u20A9"+n.replace(/\s*원\s*$/,"").trim():n}function mi(e,n){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?n("date.timeH",{h:r,hh:i,mm:a[2]}):n("date.timeHM",{h:r,hh:i,m:s,mm:a[2]})}function qr(e){return(e??0).toLocaleString("ko-KR")}const VC=[{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"}]}],WC=[{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 hi(){return VC}function qC(){return WC}const UC=[],GC=[],KC=[],YC=[];function ZC(){return{LISTEN_IN_NOISE:UC,SHORT_STORY:GC,LONG_STORY:KC,ORDERING_SENTENCE:YC}}const XC=[{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 JC(e){return XC.map(n=>{const a=Ci[n.key];return a?{...n,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:n})}let Ga=null,fi=null,gi=null;function QC(){const e=si();if(e&&e.entries.length>0){const n=_C();if(Ga&&fi===e&&gi===n)return Ga;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:n?.[s.word]?[...n[s.word].cho??[],...n[s.word].jung??[],...n[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Ga=r,fi=e,gi=n,Ga}return[]}new Proxy([],{get(e,n){const a=QC(),r=a[n];return typeof r=="function"?r.bind(a):r}});const ef="0.261.0";function tf(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const n=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(n)}function nf(e){if(typeof window>"u")return"";const n=(a,r)=>{typeof r.attrValue=="string"&&tf(r.attrValue)&&(r.keepAttr=!1)};Tr.addHook("uponSanitizeAttribute",n);try{return Tr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Tr.removeHook("uponSanitizeAttribute",n)}}function af(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),[i,l]=o.useState(null),[u,d]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),s(null),l(null);return}const c=e.split("/").pop();let p=e;c&&(e.startsWith("/")?p=Mr(e):/^(Logo|Symbol)/i.test(c)?p=Mr(`logo/${c}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),s(null),l(null),a(p)},[e]),o.useEffect(()=>{if(!n)return;let c=!1;async function p(){try{let m=await fetch(n);m.ok||(m=await fetch(n));const h=m.headers.get("content-type")||"";if(c)return;if(h.includes("svg")){s("mask");return}if(h.startsWith("image/")){s("img");return}const b=await fetch(n);if(!b.ok)throw new Error("not ok");const y=await b.text();if(c)return;if(/^\s*<svg[\s>]/i.test(y)){const g=nf(y);if(!g){s("none");return}l(g),s("inline");return}s("none")}catch{c||s("none")}}return p(),()=>{c=!0}},[n]),o.useEffect(()=>{let c=!1,p=null;return r==="mask"&&n&&fetch(n).then(m=>{if(!m.ok)throw new Error("fetch failed");return m.blob()}).then(m=>{c||(p=URL.createObjectURL(m),d(p))}).catch(()=>{c||s("img")}),()=>{c=!0,p&&URL.revokeObjectURL(p),d(null)}},[r,n]),{iconToUse:n,mode:r,svgText:i,blobUrl:u}}function Ye(e){const{icon:n,label:a,className:r,imgClassName:s,maskClassName:i,svgClassName:l,wrapperStyle:u,size:d}=e||{},c=r??"iconRenderer-icon",p=s??"iconRenderer-icon-image",m=i??"iconRenderer-icon-mask",h=l??"iconRenderer-icon-svg",b=typeof n=="string"?n:null,y=f0(b),{iconToUse:g,mode:v,svgText:w,blobUrl:C}=af(b),_=(k,B={})=>t.jsx("span",{className:c,style:u,...B,children:k}),f=typeof d=="number"?{width:d,height:d,objectFit:"contain"}:null,A=(k,B={})=>t.jsx("img",{src:k,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...B,style:f?{...B.style,...f}:B.style});if(!n)return null;if(typeof n!="string")return _(n);if(n==="none")return _(t.jsx("span",{className:h,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(y)try{return _(o.createElement(y,{className:h,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(g&&g.endsWith(".svg")){if(v==="mask"){const k={"--icon-url":C?`url(${C})`:`url(${g})`,...typeof d=="number"?{"--icon-size":`${d}px`}:null};return _(t.jsx("span",{className:m,style:k}),{"aria-hidden":"true"})}return v==="img"?_(A(g,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):v==="inline"?_(t.jsx("span",{className:h,dangerouslySetInnerHTML:w?{__html:w}:void 0}),{"aria-hidden":"true"}):_(null,{"aria-hidden":"true"})}if(n.startsWith("/")||n.includes("/assets/")||n.match(/\.(png|jpg|jpeg|webp|gif)$/i))return A(Mr(n),{style:u,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const x=typeof d=="number"?d:20,N=`<svg width="${x}" height="${x}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return _(t.jsx("span",{className:h,dangerouslySetInnerHTML:{__html:N}}),{"aria-hidden":"true"})}function bi(e){const[n,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 u=()=>{r.current=!1,s.current&&a(!1)};l.then(u,u)}},[e]);return{pending:n,press:i}}function rf({icon:e,title:n,message:a,action:r,className:s}){const{pending:i,press:l}=bi(r?.onClick);return t.jsxs("div",{className:ke("empty-state",s),children:[e&&t.jsx(Ye,{icon:e,size:48,className:"empty-state__icon"}),n&&t.jsx("p",{className:"empty-state__title h4",children:n}),a&&t.jsx("p",{className:"empty-state__message body-3",children:a}),r&&t.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:l,disabled:i,"aria-busy":i||void 0,children:[r.icon&&t.jsx(Ye,{icon:r.icon,className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:r.label})]})]})}function of({message:e,hint:n,icon:a="triangle-alert",onRetry:r,retryLabel:s,className:i}){const{t:l}=ye.useTranslation(),{pending:u,press:d}=bi(r);return t.jsxs("div",{className:ke("empty-state","error-state",i),role:"alert",children:[t.jsx(Ye,{icon:a,size:48,className:"empty-state__icon error-state__icon"}),t.jsx("p",{className:"empty-state__message body-3",children:e??l("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),n&&t.jsx("p",{className:"error-state__hint caption-1",children:n}),r&&t.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:[t.jsx(Ye,{icon:"rotate-cw",className:"button__icon"}),t.jsx("span",{className:"button__label button-1",children:s??l("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function sf({icon:e,title:n,description:a,cta:r,tone:s="main",disabled:i=!1,onClick:l,className:u=""}){const d=o.useId(),c=`${d}-title`,p=`${d}-desc`,m=`${d}-cta`,h=()=>{i||l?.()};return t.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":c,"aria-describedby":`${p} ${m}`,onClick:h,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),h())},className:ke("action-card",`action-card--${s}`,i&&"action-card--disabled",u),children:t.jsxs("div",{className:"action-card__body",children:[t.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:t.jsx(Ye,{icon:e,size:34})}),t.jsxs("div",{className:"action-card__text",children:[t.jsx("h2",{id:c,className:"action-card__title",children:n}),t.jsx("p",{id:p,className:"action-card__desc",children:a})]}),t.jsxs("div",{className:"action-card__cta",children:[t.jsx("span",{id:m,children:r}),t.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:t.jsx(Ye,{icon:"arrow-right",size:18})})]})]})})}function lf({as:e="div",className:n="",children:a,storage:r,...s}){r&&tC({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=ke("ihabdevteam-core-scope",n);return t.jsx(e,{className:i,...s,children:a})}function Ur(e,n=!0){o.useEffect(()=>{if(!n)return;const a=e.current;if(!a)return;const r=s=>{if(s.key!=="Tab")return;const i=Array.from(a.querySelectorAll(mn)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){s.preventDefault();return}const l=i[0],u=i[i.length-1],d=document.activeElement,c=d===a;s.shiftKey&&(d===l||c)?(s.preventDefault(),u.focus()):!s.shiftKey&&d===u&&(s.preventDefault(),l.focus())};return a.addEventListener("keydown",r),()=>a.removeEventListener("keydown",r)},[e,n])}const mn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Gr=new WeakMap;function Kr(e,n){e&&Gr.set(e,n)}function Yr(e){let n=e;for(let a=0;n&&!n.isConnected&&a<10;a++){let r=n;for(;r&&!Gr.has(r);)r=r.parentElement;if(!r)return n;n=Gr.get(r)??null}return n}function yi(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 Ka(e,n,a){const r=e?.isConnected?e:a?.isConnected?a:null;if(yi(n)&&!(e&&e.contains(n)))return n.focus(),n;if(!r)return null;const s=Array.from(document.querySelectorAll(mn)).filter(d=>!(e&&e.contains(d))&&yi(d));let i=null,l=null;for(const d of s)r.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_PRECEDING?i=d:l||(l=d);const u=i??l;return u?.focus(),u}function uf({title:e="",lines:n=[],notices:a=null,children:r,variant:s="default",dismissible:i=!1,className:l=""}){const{t:u}=ye.useTranslation(),[d,c]=o.useState(!1),p=o.useRef(null),m=o.useCallback(()=>{const g=p.current;g&&g.contains(document.activeElement)&&Ka(g),c(!0)},[]);if(d)return null;const h=`notice-box notice-box--${s} body-2 ${l}`.trim(),b=i&&t.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:m,"aria-label":u("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return t.jsxs("div",{className:h,role:"note",children:[a.map((g,v)=>t.jsxs("div",{className:"notice-box__inner",children:[g.title?t.jsx("span",{className:"notice-box__title body-3",children:g.title}):null,t.jsx("div",{className:"notice-box__body",children:g.lines&&g.lines.length?t.jsx("div",{children:g.lines.map((w,C)=>t.jsx("span",{className:"notice-box__line body-3",children:w},C))}):g.children??null})]},v)),b]});const y=e||n.length?t.jsxs("div",{className:"notice-box__inner",children:[e?t.jsx("span",{className:"notice-box__title body-1",children:e}):null,t.jsx("div",{className:"notice-box__body",children:n.length?t.jsx("ul",{children:n.map((g,v)=>t.jsx("li",{className:"notice-box__line",children:g},v))}):r})]}):t.jsx("div",{className:"notice-box__inner",children:r});return t.jsxs("div",{ref:p,className:h,role:"note",children:[y,b]})}const ea=[];let Ya=!1;function vi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const n=ea[ea.length-1];n&&(e.stopPropagation(),n())}function zn(e){return ea.push(e),!Ya&&typeof document<"u"&&(document.addEventListener("keydown",vi),Ya=!0),()=>{const n=ea.lastIndexOf(e);n>=0&&ea.splice(n,1),ea.length===0&&Ya&&typeof document<"u"&&(document.removeEventListener("keydown",vi),Ya=!1)}}const xi=o.createContext(null);function cf(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const _i=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function df(e){const n=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 as.useSyncExternalStore(n,()=>_i(e),()=>!1)}function pf(e){const[n,a]=o.useState(_i(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]),n}const mf=typeof as.useSyncExternalStore=="function"?df:pf;function nn(e){const n=o.useContext(xi),a=mf(e);return n&&typeof n.mobile=="boolean"&&cf(e)?n.mobile:a}const hf="(prefers-reduced-motion: reduce)";function Zr(){return nn(hf)}function on(e){const{anchorRect:n,anchorEl:a,offset:r=20,edgeMargin:s=20,onClose:i,closeOnOutsideClick:l=!0,className:u="",role:d="dialog",ariaLabel:c="",children:p,backdrop:m=!1,isMobilePopup:h=!1,useBorder:b=!0,header:y,focusOnOpen:g}=e||{},v=o.useRef(null),[w,C]=o.useState({position:"fixed",left:0,top:-9999}),[_,f]=o.useState(!1),[A,x]=o.useState("bottom"),[N,k]=o.useState(!1),[B,E]=o.useState(!1),j=!n&&!a,V=o.useCallback((G=!1)=>{if(B&&h)return;const P=a?a.getBoundingClientRect():n;if(!P||!v.current)return;const I=v.current,{offsetWidth:D,offsetHeight:z}=I,M=window.innerWidth,F=window.innerHeight,R=M-P.right,K=P.left,ae=P.top,Q=F-P.bottom;let re=0,ce=0,ue="top";if(ae>=z+r)ue="top",ce=P.top-r-z,re=P.left+P.width/2-D/2;else if(Q>=z+r)ue="bottom",ce=P.bottom+r,re=P.left+P.width/2-D/2;else if(R>=D+r)ue="right",re=P.right+r,ce=P.top+P.height/2-z/2;else if(K>=D+r)ue="left",re=P.left-r-D,ce=P.top+P.height/2-z/2;else{const oe=Math.max(ae,Q,R,K);oe===ae?(ue="top",ce=P.top-r-z,re=P.left+P.width/2-D/2):oe===Q?(ue="bottom",ce=P.bottom+r,re=P.left+P.width/2-D/2):oe===R?(ue="right",re=P.right+r,ce=P.top+P.height/2-z/2):(ue="left",re=P.left-r-D,ce=P.top+P.height/2-z/2)}const be=Number.isFinite(Number(s))?Number(s):8;re=Math.min(Math.max(re,be),M-D-be),ce=Math.min(Math.max(ce,be),F-z-be);const W=Math.round(re),te=Math.round(ce);G&&v.current?(v.current.style.left=`${W}px`,v.current.style.top=`${te}px`,v.current.dataset.placement=ue):(x(ue||A),C({position:"fixed",left:W,top:te}),k(!0))},[B,h,a,n,r,s,A]);o.useLayoutEffect(()=>{if(j)return;if(B&&h){C({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),k(!0);return}V();const G=requestAnimationFrame(()=>V());return()=>cancelAnimationFrame(G)},[n,a,r,p,s,j,B,h,V]),o.useEffect(()=>{if(j||B&&h||!v.current||typeof ResizeObserver>"u")return;const G=new ResizeObserver(()=>{n&&V()});return G.observe(v.current),()=>G.disconnect()},[n,p,s,j,B,h,V]),o.useEffect(()=>{if(j||B&&h)return;const G=()=>V(!0),P=I=>{if(!a&&i){const D=I.target;if(D&&v.current&&v.current.contains(D))return;try{if(D&&D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}H.current(!0);return}G()};return window.addEventListener("resize",G),document.addEventListener("scroll",P,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",G),document.removeEventListener("scroll",P,{capture:!0})}},[n,a,i,r,p,s,j,B,h,V]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const G=window.matchMedia("(max-width: 768px)"),P=()=>E(!!G.matches);P();try{G.addEventListener?G.addEventListener("change",P):G.addListener(P)}catch{try{G.addListener(P)}catch{}}return()=>{try{G.removeEventListener?G.removeEventListener("change",P):G.removeListener(P)}catch{}}},[]);const $=o.useRef(!1),U=o.useRef(null),S=Zr(),L=o.useCallback((G=!1)=>{if(i&&!(_||$.current)){if($.current=!0,G){f(!0);try{i&&i()}catch{$.current=!1,f(!1)}return}f(!0),U.current=setTimeout(()=>{U.current=null;try{i&&i()}catch{$.current=!1,f(!1)}},S?0:200)}},[_,i,f,S]);o.useEffect(()=>()=>{U.current&&clearTimeout(U.current)},[]),o.useEffect(()=>{if(j)return;const G=D=>{const z=v.current;if(!z)return;const M=D.target;if(M&&!z.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},P=D=>{const z=v.current;if(!z)return;const M=D.target;if(M&&!z.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}l&&L(!0)}},I=D=>{if(D.key==="Tab"){const z=v.current;if(!z)return;const M=z.querySelectorAll(mn);if(!M||M.length===0)return;const F=M[0],R=M[M.length-1],K=document.activeElement;D.shiftKey?K===F&&(D.preventDefault(),R.focus()):K===R&&(D.preventDefault(),F.focus())}};return document.addEventListener("pointerdown",G,!0),document.addEventListener("click",P,!0),document.addEventListener("keydown",I),()=>{document.removeEventListener("pointerdown",G,!0),document.removeEventListener("click",P,!0),document.removeEventListener("keydown",I)}},[i,l,L,j]);const H=o.useRef(L);o.useEffect(()=>{H.current=L});const X=!!i;o.useEffect(()=>{if(!(j||!X))return zn(()=>H.current())},[j,X]),o.useEffect(()=>{const G=()=>{L(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",G),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",G)}},[L]);const ne=o.useRef(null);o.useEffect(()=>{if(j||g===!1||!N)return;const G=v.current;if(!G)return;const P=G.querySelector(mn);if(P)return ne.current=document.activeElement,P.focus(),()=>{const I=ne.current;ne.current=null,I&&document.contains(I)&&I.focus()}},[j,g,N]),o.useEffect(()=>{d==="dialog"&&!c&&an("tooltip-no-name",'[ihab/Tooltip] \uC774\uB984 \uC5C6\uB294 role="dialog" \uC785\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. \uB0AD\uB3C5\uAE30\uAC00 "\uB300\uD654\uC0C1\uC790" \uB77C\uACE0\uB9CC \uC77D\uC2B5\uB2C8\uB2E4.')},[d,c]);const q=t.jsxs("div",{ref:v,className:`tooltip-content ${j?"tooltip-content--inline":""} ${b?"tooltip-content--bordered":""} ${_?"is-closing":""} ${u} ${B&&h?"is-mobile":""}`,role:d,"aria-label":c||void 0,style:j?{}:{...w,visibility:N?"visible":"hidden"},tabIndex:-1,"data-placement":A,"data-left":j?"":w.left,"data-top":j?"":w.top,"data-anchor-left":n?Math.round(n.left):"","data-anchor-top":n?Math.round(n.top):"","data-anchor-width":n?Math.round(n.width):"","data-anchor-height":n?Math.round(n.height):"",children:[y!=null&&t.jsx("div",{className:"tooltip-content__header h5",children:y}),p]});if(j||typeof document>"u")return q;if(m||B&&h){const G=t.jsxs("div",{className:"tooltip-portal",children:[t.jsx("div",{className:"tooltip-backdrop",onClick:()=>{l&&L(!0)}}),q]});return Jt.createPortal(G,document.body)}return Jt.createPortal(q,document.body)}function bn(e){const{anchorRect:n,text:a,offset:r=8,onClose:s,className:i="",ariaLabel:l}=e||{};return a?t.jsx(on,{anchorRect:n,offset:r,onClose:s,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:l||a,children:t.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}function Vn(e){const{t:n}=ye.useTranslation(),{anchorRect:a,title:r,items:s,activeIndex:i=-1,showIndex:l=!0,onClose:u,offset:d=12,closeOnOutsideClick:c=!0}=e||{},p=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!p.length&&!r?null:t.jsx(on,{anchorRect:a,offset:d,onClose:u,closeOnOutsideClick:c,useBorder:!1,className:"tooltip-description",ariaLabel:r||n("tooltip.description","\uC124\uBA85"),children:t.jsxs("div",{className:"tooltip-description__box",children:[r&&t.jsx("span",{className:"tooltip-description__title body-2",children:r}),t.jsx("ol",{className:"tooltip-description__items",children:p.map((m,h)=>t.jsxs("li",{className:`tooltip-description__item body-3${h===i?" tooltip-description__item--active":""}`,children:[l&&p.length>1&&t.jsxs("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),m.color&&t.jsx("span",{className:"tooltip-description__dot",style:{background:m.color},"aria-hidden":"true"}),t.jsx("span",{children:m.text})]},h))})]})})}function xa(e){const n=o.useRef(e);return o.useEffect(()=>{n.current=e}),n}let Xr=0,wi=!1;function Ai(){wi||typeof document>"u"||(wi=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(Xr=Date.now())},!0),document.addEventListener("touchstart",()=>{Xr=Date.now()},{capture:!0,passive:!0}))}Ai();function ta(e){return!!e&&e.pointerType==="touch"}function na(e=1e3){return Ai(),Date.now()-Xr<e}function Jr(e,n,a,{enabled:r=!0,fallbackOnParent:s=!1}={}){const i=xa(e),l=xa(n),u=o.useRef(null),d=o.useRef(0);o.useEffect(()=>{if(!r||typeof document>"u")return;const p=m=>{const h=m,b=m.target,y=a.current,g=!!(b&&y&&y.contains(b));if(h.pointerType!=="touch"){g&&(u.current=null);return}if(g){u.current=i.current;return}u.current=null,i.current&&!(b&&b.closest?.(".tooltip-content"))&&l.current(!1,y)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[r,a,i,l]);const c=o.useCallback(p=>{const m=u.current;return m===null?!1:(u.current=null,d.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 h=null;const b=v=>{const w=v.changedTouches?.[0];if(!w)return!1;const C=p.getBoundingClientRect();return w.clientX>=C.left&&w.clientX<=C.right&&w.clientY>=C.top&&w.clientY<=C.bottom},y=v=>{h=b(v)?i.current:null},g=v=>{const w=h;h=null,!(w===null||Date.now()-d.current<700||!b(v))&&(u.current=null,d.current=Date.now(),l.current(!w,p))};return m.addEventListener("touchstart",y,{passive:!0}),m.addEventListener("touchend",g),()=>{m.removeEventListener("touchstart",y),m.removeEventListener("touchend",g)}},[r,s,a,i,l]),{touchPress:c}}function Cf(e,n){const{size:a=48,type:r,htmlType:s="button",href:i,target:l,rel:u,icon:d,rightIcon:c,label:p,count:m,subLabel:h,children:b,ariaLabel:y,variant:g="default",align:v="center",nowrap:w=!1,selected:C,toggleable:_=!1,ariaExpanded:f,ariaControls:A,disabled:x=!1,useLabel:N=!0,useBorder:k=!0,useBG:B=!0,useDisabledCovered:E=!1,useDisabledInvisible:j=!1,width:V,minWidth:$,onClick:U,onDisabledClick:S,showTooltipInfo:L=!1,tooltipInfoText:H=null,tooltipDescription:X=null,tooltipOnly:ne=!1,iconSize:q="medium",iconColor:G,shape:P="rounded",color:I,className:D,...z}=e,M=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),F=M.match(/^\d+$/)?`button${M}`:`button-${M}`,R=Number(a),K=!isNaN(R)&&R<40?"button-2":"button-1",ae=p??b,Q=x||!!z.disabled,re=Q?E?"disabled-covered":j?"disabled-invisibled":"disabled":g,ce=re?`button--variant-${re}`:"",ue=v?`button--align-${v}`:"",be=w?"button--nowrap":"",W=P?`button--shape-${P}`:"",te=typeof G=="string"&&G.startsWith("--")?`var(${G})`:G,oe={...V?{width:typeof V=="number"?`${V}px`:V}:{},...$?{minWidth:typeof $=="number"?`${$}px`:$}:{},...k?{}:{"--button-border":Q?"0":"1px solid transparent"},...te?{"--button-icon-color":te}:{},...I?{"--color-main":I}:{}},_e=N===!1?"":ae,he=Array.isArray(_e)?_e.length>0:!!_e,le=!!c,ge=r??(he||d||le?"bar":"dot"),Ce=`${F}--${ge}`,ve=o.useRef(null),Le=o.useRef(n);Le.current=n;const je=o.useCallback(Ie=>{ve.current=Ie;const at=Le.current;typeof at=="function"?at(Ie):at&&(at.current=Ie)},[]),Qe=o.useRef(Q),[Ue,He]=o.useState(!!C),[Fe,ot]=o.useState(!1),[Ze,Xe]=o.useState(null),st=o.useCallback(()=>ot(!1),[]),[De,$e]=o.useState(!1),Be=o.useId();o.useEffect(()=>{typeof C=="boolean"&&He(C)},[C]),o.useEffect(()=>{if(Qe.current&&!Q&&ve.current){const Ie=ve.current;let at=!1;try{at=Ie.matches(":focus:not(:focus-visible)")}catch{at=!1}at&&Ie.blur(),Ie.style.pointerEvents="none";const Nt=requestAnimationFrame(()=>{requestAnimationFrame(()=>{ve.current&&(ve.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Nt)}Qe.current=Q},[Q]);const nt=typeof C=="boolean"?!!C:Ue,J=typeof f=="boolean"?void 0:_||typeof C=="boolean"?nt?"true":"false":z["aria-pressed"],se=ke("button",F,Ce,ce,ue,be,W,nt?"is-selected":null,B?null:"button--no-bg",ne?"button--tooltip-only":null,D),de=`button__icon button__icon--${q}`,Ee=Array.isArray(h)?h:h!==void 0?[h]:[],et=()=>{if(Array.isArray(_e))return _e.map((at,Nt)=>{const Zt=Ee[Nt];return t.jsxs("span",{className:`button__label-text${Zt!==void 0?" button__label-text--has-sub":""}`,children:[at,Zt!==void 0&&t.jsx("span",{className:"button__sub-label-text caption-1",children:Zt})]},Nt)});const Ie=h!==void 0;return t.jsxs("span",{className:`button__label-text${Ie?" button__label-text--has-sub":""}`,children:[_e,m!=null&&t.jsx("span",{className:"button__count",children:m}),Ie&&t.jsx("span",{className:"button__sub-label-text caption-1",children:h})]})},We=Ie=>{typeof C!="boolean"&&!_&&He(!1),Ie.currentTarget.blur()},gt=Ie=>{Q||(typeof z.onMouseLeave=="function"&&z.onMouseLeave(Ie),We(Ie))},ut=Ie=>{if(ne&&Ge&&Ke.touchPress(Ie.currentTarget),Q){Ge&&Ke.touchPress(Ie.currentTarget),Ie.preventDefault(),S?.(Ie);return}typeof C!="boolean"&&_&&He(at=>!at),U?.(Ie)},it=o.useCallback(()=>{(L||X)&&(ot(!0),Xe(ve.current?.getBoundingClientRect()??null))},[L,X]),tt=o.useCallback(()=>{(L||X)&&(ot(!1),Xe(null))},[L,X]),Ge=!!(L||X),Ke=Jr(Fe,Ie=>{Ie?it():tt()},ve,{enabled:Ge&&(Q||ne),fallbackOnParent:Ge&&Q}),Me={...z};delete Me.disabled,delete Me.className,delete Me.faded,delete Me.useFaded,delete Me.loading,delete Me.onMouseLeave,delete Me.onPointerEnter,delete Me.onPointerLeave,delete Me.onPointerUp,delete Me.onFocus,delete Me.onBlur,Q&&(Object.keys(Me).forEach(Ie=>{/^on[A-Z]/.test(Ie)&&typeof Me[Ie]=="function"&&delete Me[Ie]}),Me["aria-disabled"]="true");const ze=(typeof L=="string"?L:null)??(typeof H=="string"?H:null)??(typeof y=="string"?y:null)??(typeof ae=="string"?ae:null)??void 0,Pe=typeof y=="string"?y:typeof ae=="string"?ae:ze,ct=X?[X.title,...X.items??[]].filter(Boolean).join(". "):L&&ze&&ze!==Pe?ze:"",xt=[typeof z["aria-describedby"]=="string"?z["aria-describedby"]:void 0,ct?Be:null].filter(Boolean).join(" ")||void 0,kt=(Ie,at)=>t.jsx(Ye,{icon:Ie,label:at??Pe,className:de,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),mt=()=>ge==="dot"?t.jsxs(t.Fragment,{children:[kt(d),he&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}):v==="center"&&d?t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"button__center-group",children:[t.jsx("span",{className:"button__left",children:kt(d)}),he&&t.jsx("span",{className:`button__label ${K}`,children:et()})]}),le&&t.jsx("span",{className:"button__right",children:kt(c)})]}):t.jsxs(t.Fragment,{children:[d&&t.jsx("span",{className:"button__left",children:kt(d,y??ae)}),he&&t.jsx("span",{className:`button__label ${K}`,children:et()}),le&&t.jsx("span",{className:"button__right",children:kt(c)})]}),dt=!!i&&!Q;return t.jsxs(t.Fragment,{children:[t.jsxs(dt?"a":"button",{...Me,ref:je,...dt?{href:i,target:l,rel:u??(l==="_blank"?"noreferrer":void 0)}:{type:s,disabled:Q&&!S&&!De},className:se,"aria-pressed":J,"aria-expanded":typeof f=="boolean"?f:z["aria-expanded"],"aria-controls":A??z["aria-controls"],"aria-label":Pe,"aria-disabled":Q&&(dt||S||De)?!0:void 0,"aria-describedby":xt,style:oe,onClick:ut,onMouseLeave:gt,onPointerEnter:Ie=>{ta(Ie)||it(),!Q&&typeof z.onPointerEnter=="function"&&z.onPointerEnter(Ie)},onPointerLeave:Ie=>{ta(Ie)||tt(),!Q&&typeof z.onPointerLeave=="function"&&z.onPointerLeave(Ie)},onPointerUp:Ie=>{Q&&Ge&&Ke.touchPress(Ie.currentTarget),!Q&&typeof z.onPointerUp=="function"&&z.onPointerUp(Ie)},onFocus:Ie=>{$e(!0),na()||it(),!Q&&typeof z.onFocus=="function"&&z.onFocus(Ie)},onBlur:Ie=>{$e(!1),Q||We(Ie),tt(),!Q&&typeof z.onBlur=="function"&&z.onBlur(Ie)},children:[mt(),ct?t.jsx("span",{id:Be,hidden:!0,"aria-label":ct}):null]}),Fe&&X?t.jsx(Vn,{anchorRect:Ze,title:X.title,items:X.items,onClose:st}):Fe&&ze?t.jsx(bn,{anchorRect:Ze,text:ze,onClose:st}):null]})}const pe=o.forwardRef(Cf);pe.displayName="Button";var ff={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",selectedOfMax:"\uCD5C\uB300 {{max}}\uAC1C \uC911 {{count}}\uAC1C",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",discardConfirm:{title:"\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?",body:"\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",confirm:"\uC785\uB825 \uCDE8\uC18C"},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",likeCount:"\uC88B\uC544\uC694 {{count}}",downloadCount:"\uAC00\uC838\uAC04 \uC218 {{count}}",descriptionFor:"{{name}} \uC124\uBA85",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",collapseFor:"{{name}} \uC811\uAE30",expandFor:"{{name}} \uD3BC\uCE58\uAE30",sortFor:"{{name}} \uC815\uB82C",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",playFor:"{{name}} \uC7AC\uC0DD",pauseFor:"{{name}} \uBA48\uCDA4",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.",noMatches:"\uB9DE\uB294 \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."},gf={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",visitCount:"\uBC29\uBB38 {{count}}\uAC74",statusCount:"{{label}} {{count}}\uAC74"},bf={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",expired:"\uB9CC\uB8CC\uB428",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},yf={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},vf={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},xf={selected:"\uC120\uD0DD\uB428"},_f={placeholder:"\uC120\uD0DD"},wf={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},Af={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"},Bf={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",feedback:"\uBC84\uADF8\uC2E0\uACE0",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",badgeInsideLabel:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"},kf={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."}}},Nf={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."}},Df={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"}}},Ef={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Sf={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",previewFor:"{{name}} \uBBF8\uB9AC \uB4E3\uAE30",stopFor:"{{name}} \uC815\uC9C0",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"}},jf={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"},Tf={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"}},Mf={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"}}}},Lf={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"},Rf={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"}},Pf={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."}},Ff={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},If={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"},Of={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Hf={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",topInfo:"\uC0C1\uB2E8 \uC815\uBCF4",bottomInfo:"\uD558\uB2E8 \uC815\uBCF4",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",viewLabel:"\uBCF4\uAE30 \uBC29\uC2DD",sortLabel:"\uC815\uB82C",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"}},publisherFilter:"{{name}} \uAC8C\uC2DC\uD55C \uAC83\uB9CC \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",markName:{o:"\uB9DE\uC74C",triangle:"\uC560\uB9E4",x:"\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 \uC544\uB798 \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB20C\uB7EC \uB9E4\uAE30\uC138\uC694. \uB9C8\uC6B0\uC2A4\uB85C\uB294 \uCE78\uC5D0 \uC190\uC744 \uC5B9\uC73C\uBA74, \uC790\uD310\uC73C\uB85C\uB294 \uCE78\uC5D0 \uCD08\uC810\uC774 \uAC00\uBA74 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",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"}},zf={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"}},Vf={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},Wf={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"}},qf={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"}},Uf={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},Gf={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},Kf={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"}},Yf={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"}},Zf={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",countLabel:"\uC74C\uC18C \uAC1C\uC218",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."]},Xf={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"}},Jf={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
848
848
  \uC2E0\uB8B0\uB97C \uC313\uACE0
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"},Qf={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"}}},e2={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},t2={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"}},n2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},a2={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"},r2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},o2={ariaLabel:"\uC120\uD0DD \uD0ED"},s2={ariaLabel:"\uD0ED"},i2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},l2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},u2={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"}},c2={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"}},d2={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"}},p2={manage:{unit:"\uAC74"}},m2={cancelLabel:"\uCDE8\uC18C"},h2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},C2={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"},f2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},g2={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"},b2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},y2={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},v2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},x2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},_2={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"}},w2={clearSelection:"\uC120\uD0DD \uD574\uC81C"},A2={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},B2={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},k2={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},N2={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},D2={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},E2={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},S2={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"},j2={common:ff,calendar:gf,passCard:bf,searchField:yf,rating:vf,colorPicker:xf,dropdown:_f,accordion:wf,header:Af,nav:Bf,settings:kf,usage:Nf,account:Df,help:Ef,training:Sf,trainingSettings:jf,customers:Tf,payment:Mf,coupons:Lf,visits:$f,company:Rf,trainingType:Pf,myWordTraining:Ff,myWordTable:If,keyWords:Of,wordTable:Hf,wordSearch:zf,wordPrint:Vf,topic:Wf,accessLinkManager:qf,login:Uf,trainingPlanRun:Gf,device:Kf,manager:Yf,wordPairs:Zf,game:Xf,footer:Jf,landing:Qf,date:e2,trainingSetPage:t2,wordTrainingPreview:n2,wordData:a2,textField:r2,segmentedControl:o2,tabs:s2,fileUpload:i2,avatar:l2,myHomework:u2,trainingStatus:c2,store:d2,homework:p2,inquiry:m2,progress:h2,trainingMiss:C2,table:f2,wordScore:g2,topBanner:b2,datePicker:y2,report:v2,tooltip:x2,phonemeProfile:_2,bulkBar:w2,debug:A2,badge:B2,loader:k2,soundCompass:N2,breadcrumb:D2,board:E2,promoBannerBg:S2},T2={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",collapseFor:"Collapse {{name}}",expandFor:"Expand {{name}}",sortFor:"Sort {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},M2={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",visitCount:"{{count}} visit(s)",statusCount:"{{count}} {{label}}"},L2={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",expired:"Expired",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},$2={clearAriaLabel:"Clear search"},R2={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},P2={selected:"selected"},F2={placeholder:"Select"},I2={collapse:"Collapse",expand:"Expand"},O2={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},H2={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel:"{{label}}, {{count}} notifications inside"},z2={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."}}},V2={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"}},W2={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"}}},q2={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},U2={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",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",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"}},G2={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"},K2={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"}},Y2={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Z2={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"}},X2={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},J2={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},Q2={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."}},eg={comingSoon:"Word training is coming soon."},tg={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"},ng={title:"Key Words",empty:"No key words available."},ag={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",topInfo:"Header",bottomInfo:"Footer",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"}},publisherFilter:"Show only tables by {{name}}",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",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"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"}},rg={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}}"}},og={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},sg={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"}},ig={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"}},lg={passwordPlaceholder:"Enter password"},ug={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"}},cg={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"}},dg={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}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"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."]},pg={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"}},mg={lead:`IHAB builds trust
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"},Qf={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"}}},e2={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},t2={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"}},n2={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},a2={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"},r2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},o2={ariaLabel:"\uC120\uD0DD \uD0ED"},s2={ariaLabel:"\uD0ED"},i2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},l2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},u2={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"}},c2={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"}},d2={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"}},p2={manage:{unit:"\uAC74"}},m2={cancelLabel:"\uCDE8\uC18C"},h2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},C2={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"},f2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},g2={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"},b2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},y2={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},v2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},x2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},_2={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"}},w2={clearSelection:"\uC120\uD0DD \uD574\uC81C"},A2={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},B2={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},k2={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},N2={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},D2={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},E2={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},S2={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"},j2={common:ff,calendar:gf,passCard:bf,searchField:yf,rating:vf,colorPicker:xf,dropdown:_f,accordion:wf,header:Af,nav:Bf,settings:kf,usage:Nf,account:Df,help:Ef,training:Sf,trainingSettings:jf,customers:Tf,payment:Mf,coupons:Lf,visits:$f,company:Rf,trainingType:Pf,myWordTraining:Ff,myWordTable:If,keyWords:Of,wordTable:Hf,wordSearch:zf,wordPrint:Vf,topic:Wf,accessLinkManager:qf,login:Uf,trainingPlanRun:Gf,device:Kf,manager:Yf,wordPairs:Zf,game:Xf,footer:Jf,landing:Qf,date:e2,trainingSetPage:t2,wordTrainingPreview:n2,wordData:a2,textField:r2,segmentedControl:o2,tabs:s2,fileUpload:i2,avatar:l2,myHomework:u2,trainingStatus:c2,store:d2,homework:p2,inquiry:m2,progress:h2,trainingMiss:C2,table:f2,wordScore:g2,topBanner:b2,datePicker:y2,report:v2,tooltip:x2,phonemeProfile:_2,bulkBar:w2,debug:A2,badge:B2,loader:k2,soundCompass:N2,breadcrumb:D2,board:E2,promoBannerBg:S2},T2={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",collapseFor:"Collapse {{name}}",expandFor:"Expand {{name}}",sortFor:"Sort {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},M2={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",visitCount:"{{count}} visit(s)",statusCount:"{{count}} {{label}}"},L2={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",expired:"Expired",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},$2={clearAriaLabel:"Clear search"},R2={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},P2={selected:"selected"},F2={placeholder:"Select"},I2={collapse:"Collapse",expand:"Expand"},O2={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},H2={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel:"{{label}}, {{count}} notifications inside"},z2={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."}}},V2={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"}},W2={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"}}},q2={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},U2={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",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",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"}},G2={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"},K2={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"}},Y2={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Z2={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"}},X2={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},J2={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},Q2={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."}},eg={comingSoon:"Word training is coming soon."},tg={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"},ng={title:"Key Words",empty:"No key words available."},ag={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",topInfo:"Header",bottomInfo:"Footer",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}}",viewLabel:"View as",sortLabel:"Sort by",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},publisherFilter:"Show only tables by {{name}}",groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",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",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"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"}},rg={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}}"}},og={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},sg={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"}},ig={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"}},lg={passwordPlaceholder:"Enter password"},ug={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"}},cg={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"}},dg={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}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"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."]},pg={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"}},mg={lead:`IHAB builds trust
850
850
  through sound
851
851
  and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},hg={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},Cg={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},fg={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},gg={answer:"Answer",distractor:"Distractor"},bg={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},yg={clearAriaLabel:"Clear input"},vg={ariaLabel:"Select tab"},xg={ariaLabel:"Tabs"},_g={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},wg={ariaLabel:"User avatar"},Ag={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},Bg={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},kg={import:"Add to my trainings",publisher:"Publisher",time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},Ng={manage:{unit:"item(s)"}},Dg={cancelLabel:"Cancel"},Eg={subtitle:"Select a topic to start listening practice."},Sg={steps:"Step {{current}} of {{total}}"},jg={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},Tg={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},Mg={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},Lg={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},$g={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},Rg={previewRegion:"Report preview \u2014 scrollable sideways"},Pg={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},Fg={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},Ig={clearSelection:"Clear selection"},Og={showResult:"Show {{type}} result"},Hg={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},zg={loading:"Loading"},Vg={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},Wg={ariaLabel:"Breadcrumb"},qg={empty:"No items yet."},Ug={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},Gg={common:T2,calendar:M2,passCard:L2,searchField:$2,rating:R2,colorPicker:P2,dropdown:F2,accordion:I2,header:O2,nav:H2,settings:z2,usage:V2,account:W2,help:q2,training:U2,trainingSettings:G2,customers:K2,payment:Y2,coupons:Z2,visits:X2,company:J2,trainingType:Q2,myWordTraining:eg,myWordTable:tg,keyWords:ng,wordTable:ag,wordSearch:rg,wordPrint:og,topic:sg,accessLinkManager:ig,login:lg,device:ug,manager:cg,wordPairs:dg,game:pg,footer:mg,landing:hg,date:Cg,trainingSetPage:fg,wordTrainingPreview:gg,wordData:bg,textField:yg,segmentedControl:vg,tabs:xg,fileUpload:_g,avatar:wg,myHomework:Ag,trainingStatus:Bg,store:kg,homework:Ng,inquiry:Dg,trainingPlanRun:Eg,progress:Sg,trainingMiss:jg,table:Tg,wordScore:Mg,topBanner:Lg,datePicker:$g,report:Rg,tooltip:Pg,phonemeProfile:Fg,bulkBar:Ig,debug:Og,badge:Hg,loader:zg,soundCompass:Vg,breadcrumb:Wg,board:qg,promoBannerBg:Ug};const Kg=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Qr="ko",Yg="ihab_display_language";function Bi(){if(typeof window>"u")return Qr;try{const e=localStorage.getItem(Yg);if(e&&Kg.some(n=>n.code===e))return e}catch{}return Qr}function ki(e){try{document.documentElement.lang=e}catch{}}jt.on("languageChanged",ki),ki(Bi()),jt.use(ye.initReactI18next).init({resources:{ko:{translation:j2},en:{translation:Gg}},lng:Bi(),fallbackLng:Qr,interpolation:{escapeValue:!1},react:{useSuspense:!1}});function bt(e,n,a){const r=o.useRef(null);return o.useLayoutEffect(()=>{const s=r.current?.parentElement??null;return n(s,e),()=>a(s)},[e,n,a]),r}const _a={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},eo=new WeakMap;function to(e){if(e)return eo.get(e)}function Pt(e,n){e&&(e.style.setProperty(_a.title,n.title),e.style.setProperty(_a.description,n.description),eo.set(e,n))}function Ft(e){e&&(e.style.removeProperty(_a.title),e.style.removeProperty(_a.description),eo.delete(e))}const Ni={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function Di(){const e=bt(Ni,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const Ei={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function Si(){const e=bt(Ei,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const ji={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Ti(){const e=bt(ji,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const Mi={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Li(){const e=bt(Mi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const $i={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Ri(){const e=bt($i,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const Pi={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function Fi(){const e=bt(Pi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const Ii={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function Oi(){const e=bt(Ii,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const Hi={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function zi(){const e=bt(Hi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const Vi={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function Wi(){const e=bt(Vi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const qi={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Ui(){const e=bt(qi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const Gi={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function Ki(){const e=bt(Gi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:t.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const Yi={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Zi(){const e=bt(Yi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const Xi={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function Ji(){const e=bt(Xi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const Qi={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function el(){const e=bt(Qi,Pt,Ft);return t.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const Yt=(e,n,a)=>({key:e,get label(){return jt.t(`promoBannerBg.${e}`,n)},textTone:a}),Zg=[Yt("main","\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),Yt("soft","\uC18C\uD504\uD2B8","dark"),Yt("sub","\uC11C\uBE0C \uCEEC\uB7EC","light"),Yt("deep","\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),Yt("softSub","\uC18C\uD504\uD2B8 \uC11C\uBE0C","dark"),Yt("warm","\uC6DC(\uAC15\uC870)","dark"),Yt("dark","\uB2E4\uD06C","light"),Yt("radial","\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),Yt("diagonal","\uB300\uAC01\uC120 \uD328\uD134","dark"),Yt("dots","\uB3C4\uD2B8 \uD328\uD134","dark"),Yt("outline","\uC544\uC6C3\uB77C\uC778","dark"),Yt("success","\uC131\uACF5/\uC644\uB8CC","light"),Yt("naver","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4","light"),Yt("instagram","\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4","light")],tl={main:Di,soft:Si,sub:Ti,deep:Li,softSub:Ri,warm:Fi,dark:Oi,radial:zi,diagonal:Wi,dots:Ui,outline:Ki,success:Zi,naver:Ji,instagram:el};function nl({storageKey:e="fontScale",baseFont:n=20,minScale:a=.8,maxScale:r=1.4,step:s=.1,lineHeightRatio:i=1.4}={}){const l=_=>Math.max(a,Math.min(r,Number(_))),u=_=>{try{const f=localStorage.getItem(_),A=f?Number(f):1;return Number.isFinite(A)?l(A):l(1)}catch{return l(1)}},[d,c]=o.useState(()=>u(e)),[p,m]=o.useState(e);p!==e&&(m(e),c(u(e))),o.useEffect(()=>{try{localStorage.setItem(e,String(d))}catch{}},[e,d]);const h=_=>{c(typeof _=="function"?f=>l(_(f)):l(_))},b=()=>h(_=>+(_+s).toFixed(6)),y=()=>h(_=>+(_-s).toFixed(6)),g=d<r-Number.EPSILON,v=d>a+Number.EPSILON,w=Math.round(n*d),C=Math.round(w*i);return{scale:d,setScale:h,increase:b,decrease:y,canIncrease:g,canDecrease:v,fontSize:w,lineHeight:C}}function al(e,n){const a=xa(n);o.useEffect(()=>{const r=()=>a.current();try{window.addEventListener(e,r)}catch{}return()=>{try{window.removeEventListener(e,r)}catch{}}},[e,a])}const no=" \xB7 ",rl=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(no)?e.split(no).pop()??e:e})(),Xg=o.createContext(!1),Wn=[];let ol=null;function Jg(e){const n=o.useContext(Xg);o.useEffect(()=>{if(n||typeof e!="string"||!e)return;Wn.length===0&&(ol=document.title);const a={text:rl?`${e}${no}${rl}`:e};return Wn.push(a),document.title=a.text,()=>{const r=Wn.lastIndexOf(a);r>=0&&Wn.splice(r,1),document.title=Wn.length?Wn[Wn.length-1].text:ol??document.title}},[e,n])}const sl=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}],Qg=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function aa(e,n){return Qg().compare(e,n)}const Za=new Map;function eb(e){const n=Za.get(e);if(n)return n;const a=[],r=/-?\d+(?:\.\d+)?/g;let s=0;for(let i=r.exec(e);i;i=r.exec(e)){let l=i.index,u=i[0];u[0]==="-"&&l>0&&!/\s/.test(e[l-1])&&(l+=1,u=u.slice(1)),l>s&&a.push(e.slice(s,l)),a.push(Number(u)),s=i.index+i[0].length}return s<e.length&&a.push(e.slice(s)),Za.size>5e3&&Za.clear(),Za.set(e,a),a}function tb(e){if(!/^[\d\s-]+$/.test(e))return null;const n=e.replace(/\D/g,"");return n.length<9||n.length>11?null:n[0]==="0"||n[0]==="1"&&e!==n?n:null}function nb(e,n){const a=c=>c==null||typeof c=="number"&&Number.isNaN(c)?"":String(c).trim(),r=a(e),s=a(n);if(r===s)return 0;const i=(c,p)=>{if(typeof c=="number"&&!Number.isNaN(c))return[c];const m=tb(p);return m!==null?[m]:eb(p)},l=i(e,r),u=i(n,s),d=Math.min(l.length,u.length);for(let c=0;c<d;c++){const p=l[c],m=u[c];if(typeof p=="number"&&typeof m=="number"){if(p!==m)return p-m;continue}if(typeof p=="number")return-1;if(typeof m=="number")return 1;const h=aa(p,m);if(h!==0)return h}return l.length!==u.length?l.length-u.length:aa(r,s)}const il=e=>e==null||typeof e=="number"&&Number.isNaN(e)||typeof e=="string"&&e.trim()==="";function ao(e,n,a){const r=il(e),s=il(n);if(r||s)return r===s?0:r?1:-1;const i=nb(e,n);return a?i:-i}function ab(e,n,a){const{t:r}=ye.useTranslation(),[s,i]=o.useState(()=>{const y=a?.initialPageSize;return y&&sl.some(g=>g.value===y)?y:"25"}),[l,u]=o.useState(1),[d,c]=o.useState(n);Object.is(d,n)||(c(n),l!==1&&u(1));const p=o.useMemo(()=>sl.map(y=>({...y,label:r("visits.showN",{n:y.value})})),[r]),m=o.useCallback(y=>{i(y),u(1)},[]),h=Math.max(1,Math.ceil(e.length/Number(s)));(l>h||l<1||!Number.isFinite(l))&&u(Math.min(Math.max(1,Number.isFinite(l)?l:1),h));const b=Math.min(Math.max(1,Number.isFinite(l)?l:1),h);return{pageRows:o.useMemo(()=>e.slice((b-1)*Number(s),b*Number(s)),[e,b,s]),pageSizeProps:{options:p,value:s,onChange:m},paginationProps:{page:b,total:h,onChange:u},setPage:u}}function rb(e){const[n,a]=o.useState(null),r=o.useRef(n),s=o.useRef(e?.onSortChange);s.current=e?.onSortChange;const i=o.useCallback(d=>{const c=r.current,p=c?.key===d?{key:d,asc:!c.asc}:{key:d,asc:!0};r.current=p,a(p),s.current?.(p)},[]),l=o.useCallback((d,c)=>({label:d,sortDir:n?.key===c?n.asc?"asc":"desc":null,onClick:()=>i(c)}),[n,i]),u=o.useCallback((d,c)=>{if(!n)return d;const{key:p,asc:m}=n;return[...d].sort((h,b)=>ao(c(h,p),c(b,p),m))},[n]);return{\uC815\uB82C:n,\uCE78:l,sortRows:u}}const sn="\uC804\uCCB4",ob=new Map;try{jt.store?.on?.("added",()=>ob.clear())}catch{}Object.fromEntries(Object.entries(hC).map(([e,{nucleus:n}])=>[e,n]));const sb={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},ib={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},lb={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function ub(e,n){if("place"in n)return sb[n.place](e);const a=ib[n.vowel](e);return n.glide?`${a} \xB7 ${lb[n.glide](e)}`:a}const cb=(e,{defaultValue:n})=>n,ll=(e,n)=>({jamos:e,phonetic:n,tooltip:ub(cb,n)}),yn=(e,n)=>n.map(a=>ll([a],{place:e})),Tt=(e,n,a)=>ll([...e],a?{vowel:n,glide:a}:{vowel:n}),ro={cho:[yn("labial",["\u3142","\u3143","\u314D","\u3141"]),yn("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),yn("alveolar",["\u3145","\u3146"]),yn("palatal",["\u3148","\u3149","\u314A"]),yn("velar",["\u3131","\u3132","\u314B"]),yn("glottal",["\u314E"])],jung:[[Tt("\u3163","frontHigh"),Tt("\u315F","frontHigh","w"),Tt("\u3162","frontHigh","velar")],[Tt("\u3161","backHighUnrounded")],[Tt("\u315C","backHighRounded"),Tt("\u3160","backHighRounded","j")],[Tt("\u3154\u3150","frontMid"),Tt("\u3156\u3152","frontMid","j"),Tt("\u3159\u315A\u315E","frontMid","w")],[Tt("\u3153","backMidUnrounded"),Tt("\u3155","backMidUnrounded","j"),Tt("\u315D","backMidUnrounded","w")],[Tt("\u3157","backMidRounded"),Tt("\u315B","backMidRounded","j")],[Tt("\u314F","low"),Tt("\u3151","low","j"),Tt("\u3158","low","w")]],jong:[yn("labial",["\u3142","\u3141"]),yn("alveolar",["\u3137","\u3134","\u3139"]),yn("velar",["\u3131","\u3147"])]},db=e=>e===pb?[]:Array.from(e),pb="__NO_CODA__",oo=e=>e.map(n=>n.map(({jamos:a,phonetic:r,tooltip:s})=>({v:a.join(""),phonetic:r,tooltip:s}))),ul={cho:oo(ro.cho),jung:oo(ro.jung),jong:oo(ro.jong)};ul.jung.flat().forEach(({v:e})=>{for(const n of db(e));}),new Set(ul.cho.flat().map(e=>e.v));function mb(e,n=!0){const a=xa(e);o.useEffect(()=>{if(n)return zn(()=>{a.current?.()})},[n,a])}function wa(){const[e,n]=o.useState(null),a=o.useCallback(i=>n(i.getBoundingClientRect()),[]),r=o.useCallback(()=>n(null),[]),s=o.useCallback(i=>{const l=i.getBoundingClientRect();n(u=>u?null:l)},[]);return{anchorRect:e,isOpen:e!=null,openAt:a,close:r,toggleAt:s}}function hb(e){const[n,a]=o.useState(null),[r,s]=o.useState(null),i=o.useRef(null);o.useEffect(()=>()=>{i.current&&clearTimeout(i.current)},[]);const l=o.useCallback((d,c)=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{a(d),s(c)},e)},[e]),u=o.useCallback(()=>{i.current&&clearTimeout(i.current),a(null),s(null)},[]);return{payload:n,anchorRect:r,openAfterDelay:l,close:u}}function cl(e="warning"){const[n,a]=o.useState(""),[r,s]=o.useState(e),[i,l]=o.useState(0),u=o.useCallback((m,h)=>{s(h),a(m),l(b=>b+1)},[]),d=o.useCallback(m=>u(m,"warning"),[u]),c=o.useCallback(m=>u(m,"normal"),[u]),p=o.useCallback(()=>a(""),[]);return{toastMessage:n,toastType:r,toastKey:i,showToast:u,showWarning:d,showNormal:c,clearToast:p}}function Aa(e){let n=0;if(e&&typeof window<"u"&&typeof window.getComputedStyle=="function")for(let a=e;a&&a!==document.body&&a!==document.documentElement;a=a.parentElement){const r=parseInt(window.getComputedStyle(a).zIndex,10);!Number.isNaN(r)&&r>n&&(n=r)}return n>0?`max(var(--z-menu, 1500), ${n+1})`:"var(--z-menu, 1500)"}function Ba({computeStyle:e,onScroll:n="close",onResize:a="close",ignoreOutsideClickSelector:r}){const[s,i]=o.useState(!1),[l,u]=o.useState({position:"fixed"}),d=o.useRef(null),c=o.useRef(null),p=o.useCallback(()=>{d.current&&u(e(d.current.getBoundingClientRect(),d.current))},[e]);o.useLayoutEffect(()=>{s&&p()},[s,p]),o.useEffect(()=>{if(!s)return;let b=c.current?.offsetHeight??0;b>0&&p();let y=0,g=null;typeof ResizeObserver<"u"&&c.current&&(g=new ResizeObserver(()=>{const A=c.current?.offsetHeight??0;if(A!==b){if(b=A,++y>4){g?.disconnect(),g=null;return}p()}}),g.observe(c.current));const v=A=>{const x=A.target;r&&x.closest?.(r)||d.current?.contains(x)||c.current?.contains(x)||i(!1)};document.addEventListener("mousedown",v),document.addEventListener("pointerdown",v);const w=A=>{c.current?.contains(A.target)||(n==="reposition"?p():n==="close"&&i(!1))};n!=="ignore"&&window.addEventListener("scroll",w,!0);const C=()=>{a==="reposition"?p():a==="close"&&i(!1)};let _=null;const f=()=>{C(),_&&clearTimeout(_),_=setTimeout(()=>{_=null,a==="reposition"&&p()},250)};return a!=="ignore"&&(window.addEventListener("resize",C),window.addEventListener("orientationchange",f)),()=>{g?.disconnect(),document.removeEventListener("mousedown",v),document.removeEventListener("pointerdown",v),n!=="ignore"&&window.removeEventListener("scroll",w,!0),a!=="ignore"&&(window.removeEventListener("resize",C),window.removeEventListener("orientationchange",f)),_&&clearTimeout(_)}},[s,p,n,a,r]),o.useEffect(()=>{if(s)return zn(()=>i(!1))},[s]);const m=o.useCallback(()=>i(b=>!b),[]),h=o.useCallback(()=>i(!1),[]);return{open:s,setOpen:i,toggle:m,close:h,style:l,triggerRef:d,menuRef:c}}function Cb(e,{mode:n="playback",autoStart:a=!1,onPlaySpeaker:r,onComplete:s,playMs:i=1100,feedbackMs:l=1500}={}){const[u,d]=o.useState([]),[c,p]=o.useState(0),[m,h]=o.useState("idle"),[b,y]=o.useState(null),[g,v]=o.useState([]),[w,C]=o.useState(null),[_,f]=o.useState(0),A=o.useRef(0),x=o.useCallback(P=>{A.current=typeof P=="function"?P(A.current):P,f(A.current)},[]),N=o.useRef(r),k=o.useRef(s);o.useEffect(()=>{N.current=r,k.current=s},[r,s]);const B=o.useRef([]),E=()=>{B.current.forEach(clearTimeout),B.current=[]},j=(P,I)=>{B.current.push(setTimeout(I,P))};o.useEffect(()=>()=>E(),[]);const V=u[c]?.id??null,$=o.useRef(null),U=o.useCallback(()=>{E(),h("playing"),v([]),C(null),x(0);let P=0;e.forEach((I,D)=>{j(P,()=>{p(D),y(I.id),N.current?.(I)}),j(P+1e3,()=>{y(null),v(z=>[...z,I.id])}),P+=1300}),j(P,()=>{h("done"),k.current?.({score:0,total:e.length})})},[e,x]),S=o.useCallback((P,I)=>{if(I>=P.length){h("done"),k.current?.({score:A.current,total:P.length});return}$.current=null,p(I),C(null),h("playing"),y(P[I].id),N.current?.(P[I]),j(i,()=>{y(null),h("waiting")})},[i]),L=o.useCallback(()=>{E();const P=ya(e);d(P),x(0),v([]),S(P,0)},[e,S,x]),H=o.useCallback(()=>{n==="playback"?(d(e),U()):L()},[n,e,U,L]),X=o.useCallback(()=>{E(),h("idle"),y(null),v([]),C(null),p(0),x(0),d([])},[x]),ne=e.map(P=>P.id).join("|");o.useEffect(()=>(a?H():X(),()=>E()),[n,ne,a]);const q=o.useCallback(P=>{m!=="waiting"||n==="playback"||$.current===c||($.current=c,C(P),P===u[c]?.id&&x(I=>I+1),n==="exam"?(h("playing"),j(400,()=>S(u,c+1))):(h("feedback"),j(l,()=>S(u,c+1))))},[m,n,u,c,S,l,x]),G=n==="playback"?e.length:u.length;return{bind:{activeSpeakerId:b,playedIds:g,selectedId:w,answerId:V,showFeedback:m==="feedback",clickable:m==="waiting",onSelectSpeaker:q},index:c,total:G,score:_,phase:m,done:m==="done",start:H,reset:X}}function fb({title:e,description:n,actionLabel:a,onAction:r,bg:s,color:i,size:l="medium",actionVariant:u,titleColor:d,descriptionColor:c,className:p=""}){const m=s??i??"main",h=o.useRef(null),[b,y]=o.useState("main"),g=nn("(max-width: 767px)"),v=o.useRef({title:!1,description:!1});o.useLayoutEffect(()=>{const _=h.current;if(!_)return;const f=to(_),A=(x,N,k)=>{if(k!==void 0)_.style.setProperty(N,k),v.current[x]=!0;else if(v.current[x]){const B=f?.[x];B?_.style.setProperty(N,B):_.style.removeProperty(N),v.current[x]=!1}};A("title","--promo-banner-bg-title",d),A("description","--promo-banner-bg-description",c)},[d,c,m]),o.useLayoutEffect(()=>{const _=h.current;if(!_)return;const f=to(_);y(f?.actionVariant??"main")},[m]);const w=ke("promo-banner",`promo-banner--${l}`,p),C=tl[m];return t.jsxs("div",{ref:h,className:w,role:"note",children:[t.jsx(C,{}),t.jsxs("div",{className:"promo-banner__text",children:[t.jsx("span",{className:`promo-banner__title ${l==="small"?"body-2":"h2"}`,children:e}),n&&t.jsx("span",{className:"promo-banner__description body-3",children:n})]}),a&&r&&t.jsx(pe,{htmlType:"button",size:40,variant:u??b,shape:"pill",useBorder:!0,onClick:r,ariaLabel:a,...g?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}function gb({children:e,interval:n=5e3,dotTone:a,className:r="","aria-label":s}){const{t:i}=ye.useTranslation(),l=s??i("topBanner.ariaLabel","\uBC30\uB108"),u=o.Children.toArray(e),d=u.length,[c,p]=o.useState(0),[m,h]=o.useState(!1),[b,y]=o.useState(!1),[g,v]=o.useState(!1),w=o.useRef(null),C=o.useRef(null),_=o.useRef(null),f=Zr(),A=m||b||g,x=d>0?Math.min(c,d-1):0;o.useEffect(()=>{if(d<2||n<=0||A||f)return;const k=window.setInterval(()=>p(B=>(Math.min(B,d-1)+1)%d),n);return()=>window.clearInterval(k)},[d,n,A,f]);const N=k=>{C.current!=null&&window.clearTimeout(C.current),C.current=window.setTimeout(()=>{C.current=null,v(!1)},k)};return o.useEffect(()=>()=>{C.current!=null&&window.clearTimeout(C.current)},[]),o.useEffect(()=>{if(!g)return;const k=B=>{B.pointerType==="touch"&&(_.current&&_.current.contains(B.target)||(C.current!=null&&(window.clearTimeout(C.current),C.current=null),v(!1)))};return document.addEventListener("pointerdown",k,!0),()=>document.removeEventListener("pointerdown",k,!0)},[g]),d===0?null:t.jsxs("section",{ref:_,className:ke("top-banner",r),"aria-label":l,"aria-roledescription":"carousel",onPointerEnter:k=>{w.current=k.pointerType},onPointerDown:k=>{w.current=k.pointerType,k.pointerType==="touch"&&(C.current!=null&&(window.clearTimeout(C.current),C.current=null),v(!0))},onPointerUp:k=>{k.pointerType==="touch"&&N(5e3)},onPointerCancel:k=>{k.pointerType==="touch"&&N(5e3)},onMouseEnter:()=>{w.current!=="touch"&&h(!0)},onMouseLeave:()=>h(!1),onFocus:k=>{let B=!0;try{B=k.target.matches(":focus-visible")}catch{B=!0}y(B)},onBlur:k=>{k.currentTarget.contains(k.relatedTarget)||y(!1)},children:[t.jsx("div",{className:"top-banner__viewport",children:t.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${x*100}%)`},children:u.map((k,B)=>t.jsx("div",{className:"top-banner__slide","aria-hidden":B!==x,...B!==x?{inert:!0}:{},children:k},B))})}),d>1&&t.jsx("div",{className:`top-banner__dots${(a?.[x]??"light")==="dark"?" top-banner__dots--dark":""}`,children:u.map((k,B)=>t.jsx("button",{type:"button",className:`top-banner__dot${B===x?" top-banner__dot--active":""}`,"aria-label":i("topBanner.dotAriaLabel",{count:d,index:B+1,defaultValue:`${d}\uAC1C \uC911 ${B+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":B===x,onClick:()=>p(B)},B))})]})}function bb({title:e,body:n,open:a=!1,onToggle:r,avatar:s,titleClassName:i="body-2",bodyClassName:l="body-2",className:u=""}){const{t:d}=ye.useTranslation();return t.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${u}`.trim(),role:"listitem",children:[t.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:r,onKeyDown:c=>{if(c.key==="Enter"||c.key===" ")c.preventDefault(),r?.();else if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault();const p=c.currentTarget.closest('[role="list"]');if(!p)return;const m=Array.from(p.querySelectorAll("[data-accordion-header]")),h=m.indexOf(c.currentTarget);(c.key==="ArrowDown"?m[h+1]:m[h-1])?.focus()}},children:[s&&t.jsx("div",{className:"accordion-item__avatar",children:s}),t.jsx("div",{className:`accordion-item__title ${i}`,children:e}),t.jsx("div",{className:"accordion-item__chevron",children:t.jsx(Ye,{icon:a?"chevron-up":"chevron-down",label:a?d("accordion.collapse","\uC811\uAE30"):d("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),a&&t.jsx("div",{className:`accordion-item__body ${l}`,children:typeof n=="string"?t.jsx("p",{children:n}):n})]})}function yb({items:e=[],defaultOpenIndex:n=0,size:a=72,className:r="",bodyClassName:s}){const[i,l]=o.useState({index:n}),u=(d,c)=>i.id!=null&&d.id!=null?d.id===i.id:i.id==null&&c===i.index;return t.jsx("div",{className:`accordion-group accordion-group--s${a} ${r}`.trim(),role:"list",children:e.map((d,c)=>t.jsx(bb,{title:d.title,body:d.body,avatar:d.avatar,open:u(d,c),onToggle:()=>l(u(d,c)?{index:-1}:{index:c,id:d.id}),bodyClassName:s},d.id??c))})}function vb(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("polyline",{points:"2,6 5,9 10,3"})})}function xb(){return t.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[t.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),t.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function _b(){return t.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:t.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function yt(e){const{t:n}=ye.useTranslation(),{type:a="bar",size:r,className:s="","aria-label":i,"aria-hidden":l}=e;if(a==="dot"){const{icon:A,number:x,position:N="top-right",onClick:k,animate:B=!1}=e,E=A??"check",j=x!==void 0?"number":E,V=typeof r=="number"?r:32,$=ke("circle-badge",`circle-badge--${j}`,`circle-badge--${N}`,`circle-badge--${V}`,B?"circle-badge--animate":"",k?"circle-badge--clickable":"",s),U=x!==void 0?n("badge.nthSelected",{n:x,defaultValue:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"}):{check:n("badge.selected","\uC120\uD0DD\uB428"),remove:n("badge.remove","\uC81C\uAC70"),minus:n("badge.exclude","\uC81C\uC678")}[E];return t.jsxs("span",{className:$,onClick:k,onKeyDown:k?S=>{S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),S.currentTarget.click())}:void 0,"aria-label":l?void 0:i??U,"aria-hidden":l||void 0,role:k?"button":l?void 0:"img",tabIndex:k?0:void 0,children:[x!==void 0&&x,x===void 0&&E==="check"&&t.jsx(vb,{}),x===void 0&&E==="remove"&&t.jsx(xb,{}),x===void 0&&E==="minus"&&t.jsx(_b,{})]})}const{label:u,children:d,variant:c="default",fill:p="filled",minWidth:m,iconLeft:h,iconRight:b,color:y}=e,g=typeof r=="number"?"medium":r??"medium",v={small:"caption-2b",medium:"body-3b",large:"body-2b"}[g]??"body-2b",w={small:12,medium:14,large:16}[g]??14,C=ke("badge",`badge--${c}`,`badge--${g}`,p!=="filled"?`badge--${p}`:"",v,s),_=y?.startsWith("--")?`var(${y})`:y,f=m!==void 0||_?{...m!==void 0?{minWidth:typeof m=="number"?`${m}px`:m}:{},..._?{"--badge-color":_}:{}}:void 0;return t.jsxs("span",{className:C,style:f,"aria-label":l?void 0:i,role:i&&!l?"img":void 0,"aria-hidden":l||void 0,children:[h&&t.jsx(Ye,{icon:h,size:w,className:"badge__icon"}),u??d,b&&t.jsx(Ye,{icon:b,size:w,className:"badge__icon"})]})}function ka({columns:e=[],onClose:n,className:a="",size:r="medium"}){const{t:s}=ye.useTranslation(),i=r==="small"?40:48,[l,u]=o.useState([]),d=o.useMemo(()=>{const v=[{title:null,columns:e}];let w=e;for(const C of l){const _=w?.[C.ci]?.items?.[C.ii];if(!_||!Array.isArray(_.children)||!_.children.length)break;w=[{title:null,items:_.children}],v.push({title:_.label||null,columns:w})}return v},[e,l]),c=d[d.length-1],p=d.length-1,m=o.useCallback(()=>u(v=>v.slice(0,Math.max(0,Math.min(v.length,p)-1))),[p]),h=o.useRef(null),b=o.useRef(null),y=d.length;o.useEffect(()=>{b.current||(b.current=document.activeElement);let v=0,w=0;const C=()=>{const _=h.current?.querySelector("button:not([disabled])");if(_&&_.offsetParent){_.focus({preventScroll:!0});return}w++<20&&(v=requestAnimationFrame(C))};return v=requestAnimationFrame(C),()=>cancelAnimationFrame(v)},[y]),o.useEffect(()=>()=>{b.current?.focus?.({preventScroll:!0})},[]);const g=o.useCallback((v,w,C)=>{if(v){if(Array.isArray(v.children)&&v.children.length){u(_=>[..._.slice(0,p),{ci:w,ii:C}]);return}try{typeof v.onClick=="function"&&v.onClick()}catch{}try{v&&v.closeOnSelect&&typeof n=="function"&&n()}catch{}}},[n,p]);return t.jsxs("div",{className:`tooltip-menu tooltip-menu--${r} ${a}`,children:[(d.length>1||c.title)&&t.jsxs("div",{className:"tooltip-menu__header",children:[d.length>1?t.jsx(pe,{htmlType:"button",size:i,type:"dot",icon:"chevron-left",ariaLabel:s("common.back","\uB4A4\uB85C"),onClick:m,variant:"transparent-gray",useBorder:!1}):null,t.jsx("div",{className:"tooltip-menu__title button-1",children:c.title})]}),t.jsx("div",{className:"tooltip-menu__columns",ref:h,children:c.columns&&c.columns.map((v,w)=>t.jsxs("div",{className:"tooltip-menu__column",children:[v.title?t.jsx("div",{className:"tooltip-menu__column-title body-3",children:v.title}):null,t.jsx("div",{className:"tooltip-menu__items",children:(v.items||[]).map((C,_)=>t.jsxs(o.Fragment,{children:[C.separatorBefore&&_>0&&t.jsx("div",{className:"tooltip-menu__separator",role:"separator"}),t.jsx(pe,{htmlType:"button",className:"tooltip-menu__item",size:i,type:C.label?"bar":"dot",icon:C.selected?"check":C.icon||"none",rightIcon:Array.isArray(C.children)&&C.children.length?"chevron-right":C.badgeCount?t.jsx(yt,{type:"dot",position:"inline",number:Math.min(C.badgeCount,99),size:24,"aria-hidden":!0}):void 0,label:C.label,ariaLabel:C.label&&C.badgeCount&&C.badgeCount>0?s("nav.badgeLabel",{label:C.label,count:C.badgeCount,defaultValue:"{{label}}, {{count}}\uAC1C"}):C.label,onClick:()=>g(C,w,_),selected:C.selected,disabled:C.disabled,showTooltipInfo:C.tooltip||!1,useBorder:!1,align:"left"})]},_))})]},w))})]})}const dl=".content-area";function so(e,n="Nav"){try{const a=typeof e=="string"?document.querySelector(e):e?.current??document.querySelector(dl);if(a){a.scrollTop=0;return}const r=document.scrollingElement??document.documentElement;r&&r.scrollHeight<=r.clientHeight&&an("nav-scroll-container",`[${n}] \uBCF8\uBB38\uC744 \uB9E8 \uC704\uB85C \uB418\uB3CC\uB9B4 \uD1B5\uC744 \uBABB \uCC3E\uC558\uB2E4(\uAE30\uBCF8 ${dl}) \u2014 \uCC3D\uB3C4 \uAD6C\uB97C \uC218 \uC5C6\uC5B4 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4. scrollContainer \uB85C \uD1B5\uC744 \uC54C\uB824 \uC900\uB2E4.`),window.scrollTo({top:0})}catch{}}const io=52,Xa=10,pl=e=>e&&e>0?e:0;function ml({items:e=[],activeKey:n,onChange:a,appMode:r,onAppModeChange:s,moreItems:i=[],scrollContainer:l}){const{t:u}=ye.useTranslation(),d=r==="manager"?"malgwi":"manager",c=r==="manager"?"arrow-left":"arrow-right",p=r==="manager"?u("nav.modeLabelMalgwi","\uB9D0\uADC0"):u("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),m=o.useRef(null),[h,b]=o.useState(0),y=e.length;o.useEffect(()=>{const P=m.current;if(!P)return;const I=()=>{const z=typeof getComputedStyle=="function"?getComputedStyle(P):null,M=P.clientWidth-(parseFloat(z?.paddingLeft??"")||0)-(parseFloat(z?.paddingRight??"")||0),F=P.querySelector(".bottom-nav__left"),R=F?.nextElementSibling,K=(F?.offsetWidth??0)+(F&&R?.classList.contains("bottom-nav__divider")?R.offsetWidth:0);b(Math.max(0,M-K))};if(I(),typeof ResizeObserver>"u")return;const D=new ResizeObserver(I);return D.observe(P),()=>D.disconnect()},[]);const g=io+1,v=P=>Math.max(0,Math.floor((P+Xa)/(io+Xa))),w=y*(io+Xa)-Xa<=h,C=h<=0||i.length===0&&w?y:Math.min(y,v(h-g)),_=h>0&&C<y,f=_?C:y,A=e.slice(0,f),x=e.slice(f),N=_||i.length>0,k=o.useCallback((P,I)=>({position:"fixed",bottom:window.innerHeight-P.top+8,right:window.innerWidth-P.right,zIndex:Aa(I)}),[]),B=o.useId(),{open:E,toggle:j,close:V,style:$,triggerRef:U,menuRef:S}=Ba({computeStyle:k,onScroll:"ignore",onResize:"reposition"}),L=o.useCallback((P,I)=>I>0?u("nav.badgeLabel",{label:P,count:I,defaultValue:"{{label}}, {{count}}\uAC1C"}):P,[u]),H=o.useCallback((P,I)=>I>0?u("nav.badgeInsideLabel",{label:P,count:I,defaultValue:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"}):P,[u]),X=o.useCallback(()=>s?.(d),[s,d]),ne=o.useMemo(()=>x.find(P=>!!P.key&&P.key===n)??i.find(P=>P.selected||P.key&&P.key===n),[x,n,i]),q=o.useMemo(()=>[{items:[...x.map(P=>({label:P.label,icon:P.icon,badgeCount:P.badgeCount,selected:!!P.key&&P.key===n,closeOnSelect:!0,disabled:P.state==="disabled",onClick:()=>{P.state!=="disabled"&&(P.key&&a&&(a(P.key),so(l,"BottomNav")),V())}})),...i.map(P=>({label:P.label,icon:P.icon,badgeCount:P.badgeCount,selected:P.selected??(!!P.key&&P.key===n),closeOnSelect:!0,onClick:()=>{P.onClick?.(),V()}}))]}],[x,i,n,a,V]),G=[...x,...i].reduce((P,I)=>P+pl(I.badgeCount),0);return t.jsxs("nav",{className:"bottom-nav",ref:m,"aria-label":u("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[s&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__left",children:t.jsx(pe,{htmlType:"button",size:52,type:"dot",icon:c,ariaLabel:p,className:"bottom-nav-item",onClick:X})}),t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),t.jsx("div",{className:"bottom-nav__items",children:A.map((P,I)=>{const D=pl(P.badgeCount);return t.jsxs("span",{className:"bottom-nav__slot",children:[t.jsx(pe,{htmlType:"button",size:52,type:"dot",icon:P.icon,ariaLabel:L(P.label,D),selected:!!P.key&&P.key===n,disabled:P.state==="disabled",className:"bottom-nav-item",onClick:()=>{P.key&&(a?.(P.key),so(l,"BottomNav"))}}),D>0&&t.jsx("span",{"aria-hidden":"true",children:t.jsx(yt,{type:"dot",position:"top-right",number:Math.min(D,99),size:24})})]},P.key??`__slot-${I}`)})}),N&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),t.jsx("div",{className:"bottom-nav__right",children:t.jsxs("div",{ref:U,className:"bottom-nav__slot",children:[t.jsx(pe,{htmlType:"button",size:52,type:"dot",icon:ne?.icon??"ellipsis",ariaLabel:H(ne?.label??u("nav.more","\uB354\uBCF4\uAE30"),G),selected:!!ne,className:"bottom-nav-item",onClick:j,"aria-expanded":E,"aria-controls":E?B:void 0}),G>0&&t.jsx("span",{"aria-hidden":"true",children:t.jsx(yt,{type:"dot",position:"top-right",number:Math.min(G,99),size:24})}),E&&Jt.createPortal(t.jsx("div",{id:B,role:"group","aria-label":u("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:"tooltip-content",style:$,ref:S,children:t.jsx(ka,{columns:q,onClose:V})}),document.body)]})})]})]})}function hl(e){if(typeof e!="string")return!1;let n="";for(const r of e){const s=r.charCodeAt(0);s<=32||s>=127&&s<=159||(n+=r)}if(!n)return!1;const a=/^([a-zA-Z][a-zA-Z0-9+.-]*):/.exec(n);return a?["http","https","mailto","tel"].includes(a[1].toLowerCase()):!0}function Cl(e,n,a){return a&&a>0?e("nav.badgeLabel",{label:n,count:a,defaultValue:"{{label}}, {{count}}\uAC1C"}):n}function wb(e){const{t:n}=ye.useTranslation(),{activeKey:a,unreadCount:r,onDebug:s,onNotification:i,onSetting:l,onHelp:u,onFeedback:d,onAccount:c}=e||{},p="default";return s||i||l||u||d||c?t.jsxs("div",{className:"side-nav__footer",children:[s&&t.jsx(pe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"terminal",ariaLabel:n("nav.debug","\uB514\uBC84\uADF8"),onClick:s,selected:a==="debug"}),i&&t.jsxs("span",{className:"side-nav__notification-wrap",children:[t.jsx(pe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"bell",ariaLabel:Cl(n,n("nav.notifications","\uC54C\uB9BC"),r),onClick:i,selected:a==="notifications"}),!!r&&r>0&&t.jsx(yt,{type:"dot",number:Math.min(r,99),size:24,"aria-hidden":!0})]}),l&&t.jsx(pe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"settings",ariaLabel:n("nav.settings","\uC124\uC815"),onClick:l,selected:a==="settings"}),u&&t.jsx(pe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"message-circle-question-mark",ariaLabel:n("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:u,selected:a==="help"}),d&&t.jsx(pe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"bug",ariaLabel:n("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:d,selected:a==="feedback"}),c&&t.jsx(pe,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"user-round",ariaLabel:n("nav.account","\uACC4\uC815"),onClick:c,selected:a==="account"})]}):null}function fl(e){const{t:n}=ye.useTranslation(),{item:a,itemKey:r,label:s,icon:i,active:l,onClick:u,style:d,state:c,labelStyle:p}=e||{},m=a?.key??r??"",h=a?.label??s??"",b=a?.icon??i??"",y=a?.badge??0,g=t.jsx("span",{className:"side-nav__icon-wrap",children:t.jsx(Ye,{icon:b,label:typeof h=="string"?h:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),v=c==="disabled",w=`side-nav__item ${l?"active":""} ${c||""} ${v?"disabled":""} ${a?.child?"side-nav__item--child":""}`,C=o.useCallback(_=>{if(v)return;const f=_.detail>0;if(f)try{_.currentTarget.blur()}catch{}u?.(m,_.currentTarget,f)},[v,m,u]);return t.jsxs("button",{type:"button",className:w,onClick:C,"aria-label":typeof h=="string"?Cl(n,h,y):void 0,"aria-current":l?"page":void 0,style:d,"aria-disabled":v,children:[g,t.jsx("span",{className:"side-nav__label button-1 f",style:p,children:h}),y>0&&t.jsx(yt,{type:"dot",position:"inline",number:Math.min(y,99),size:24,"aria-hidden":!0}),c==="loading"&&t.jsx("span",{className:"side-nav__spinner",role:"img","aria-label":n("loader.loading","\uBD88\uB7EC\uC624\uB294 \uC911\u2026")})]})}function gl(e){const{t:n}=ye.useTranslation(),{items:a=[],activeKey:r,onChange:s,unreadCount:i,onDebug:l,onNotification:u,onAccount:d,onSetting:c,onHelp:p,onFeedback:m,appMode:h,onAppModeChange:b,scrollContainer:y}=e||{},g=h==="manager",v=o.useCallback(()=>b?.(g?"malgwi":"manager"),[b,g]),w=o.useRef(null),[C,_]=o.useState(null);o.useEffect(()=>{const k=w.current;if(!k)return;const B=()=>{const{scrollHeight:j,clientHeight:V,scrollTop:$}=k;if(j<=V+1){_(null);return}const U=Math.max(24,V/j*V),S=V-U,L=j-V;_({top:Math.round($/L*S),height:Math.round(U)})};B(),k.addEventListener("scroll",B,{passive:!0});const E=typeof ResizeObserver<"u"?new ResizeObserver(B):null;E?.observe(k);for(const j of Array.from(k.children))E?.observe(j);return()=>{k.removeEventListener("scroll",B),E?.disconnect()}},[a]);const f=o.useRef(null),A=o.useCallback(k=>{const B=w.current;B&&(k.preventDefault(),f.current={y:k.clientY,top:B.scrollTop},k.currentTarget.setPointerCapture(k.pointerId))},[]),x=o.useCallback(k=>{const B=w.current,E=f.current;!B||!E||(B.scrollTop=E.top+(k.clientY-E.y)*(B.scrollHeight/B.clientHeight))},[]),N=o.useCallback(k=>{f.current=null,k.currentTarget.hasPointerCapture(k.pointerId)&&k.currentTarget.releasePointerCapture(k.pointerId)},[]);return t.jsxs("nav",{ref:w,"aria-label":n("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[C&&t.jsx("div",{className:"side-nav__scroll","aria-hidden":"true",children:t.jsx("div",{className:"side-nav__scroll-thumb",style:{top:C.top,height:C.height},onPointerDown:A,onPointerMove:x,onPointerUp:N,onPointerCancel:N})}),t.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(k=>!k.section&&(k.key||k.label)).map((k,B)=>t.jsxs(o.Fragment,{children:[k.divider&&t.jsx("div",{className:"side-nav__separator"}),t.jsx(fl,{item:k,active:!!k.key&&k.key===r,state:k.disabled?"disabled":void 0,onClick:(E,j,V)=>{if(k.disabled)return;if(k.href){if(hl(k.href)&&window.open(k.href,"_blank","noopener,noreferrer"),V)try{j?.blur()}catch{}return}if(s?.(k.key),so(y,"SideNav"),!V)return;try{j?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const $=document.querySelector(".header");if($){const U=typeof $.matches=="function";if(!(window.matchMedia("(hover: hover)").matches&&U&&$.matches(":hover"))){$.classList.add("header--force-collapsed");const S=()=>{$.classList.remove("header--force-collapsed"),$.removeEventListener("mouseenter",S)};$.addEventListener("mouseenter",S)}}}})]},k.key??`side-nav__item-${B}`)),b&&t.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),b&&t.jsx(fl,{item:{key:"__mode-switch__",label:g?n("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"):n("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"),icon:g?"arrow-left":"arrow-right"},onClick:v})]}),t.jsx(wb,{activeKey:r,unreadCount:i,onDebug:l,onNotification:u,onAccount:d,onSetting:c,onHelp:p,onFeedback:m})]})}var Ja='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2080_3066)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="black"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="black"/>%0A<path d="M46.4288 17.8571H25.0002C15.138 17.8571 7.14307 25.852 7.14307 35.7143V57.1428C7.14307 67.0051 15.138 75 25.0002 75H46.4288C56.291 75 64.2859 67.0051 64.2859 57.1428V35.7143C64.2859 25.852 56.291 17.8571 46.4288 17.8571Z" fill="%234DCDC0"/>%0A<path d="M34.8607 50.7393C25.8285 60.6821 10.6142 61.6678 0.385667 53.1643C-0.0821902 52.775 -0.13219 52.0678 0.278524 51.6178L16.3535 33.925L34.8607 50.7393Z" fill="%234DCDC0"/>%0A<path d="M53.5714 25H32.1428C22.2821 25 14.2856 32.9964 14.2856 42.8571V64.2857C14.2856 74.1464 22.2821 82.1429 32.1428 82.1429H48.2535C49.2178 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7214 51.8928 85.6321C62.8392 84.675 71.4285 75.4821 71.4285 64.2857V42.8571C71.4285 32.9964 63.4321 25 53.5714 25Z" fill="%234DCDC0"/>%0A<path d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23499CDF"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="white"/>%0A<path d="M36.0715 57.1429C35.0287 57.1429 33.9822 56.875 33.0358 56.3286C32.1822 55.8357 31.8894 54.7429 32.3858 53.8893C32.8787 53.0357 33.9715 52.7429 34.8251 53.2393C35.8037 53.8036 37.043 53.6429 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3536 40.4322 35.9107 37.5072 35.7286C36.5215 35.6679 35.5715 35.8464 34.693 36.2679C33.8037 36.6929 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0429C34.5751 32.3714 36.1537 32.0679 37.7322 32.1643C42.4894 32.4607 46.3072 36.4286 46.4251 41.1964C46.4822 43.5286 45.6715 45.7786 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9357C41.8965 53.2464 41.3037 54.4357 40.368 55.375C39.2001 56.5429 37.6465 57.15 36.0751 57.15L36.0715 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2080_3066">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',lo='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7374)">%0A<path d="M237.151 26.0393V72.7214H216.65V26.0393H237.151ZM234.408 70.0464V28.7179H219.254V70.0464H234.408ZM261.495 76.3607H258.819V48.9679H247.575V75.4679H244.899V23.9821H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3607Z" fill="black"/>%0A<path d="M299.722 69.2571C302.076 68.775 304.031 68.1464 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.789 72.0357C297.435 72.4929 295.045 72.7214 292.623 72.7214H272.257V25.6964H275V69.975H292.623C294.998 69.975 297.364 69.7357 299.722 69.2536V69.2571ZM311.69 76.4321V23.6393H314.433V76.3643L311.69 76.4321Z" fill="black"/>%0A<path d="M340.556 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.329 62.2643 333.632 65.925C330.935 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.33 63.1107C334.617 59.3572 336.354 54.5179 337.542 48.5893C338.73 42.6643 339.369 36.0393 339.461 28.7143H324.992V26.0357H356.602V28.7143H342.201C342.155 35.9 341.605 42.3072 340.556 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="black"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="black"/>%0A<path d="M181.886 47.8714V57.275C179.097 58.5571 174.73 59.1964 168.791 59.1964H168.174V76.3607H158.299V59.1964H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8714H181.886ZM148.971 34.2786V24.875H177.634V47.05H167.76V34.2821H148.971V34.2786ZM194.64 76.3607H184.765V23.6393H194.64V76.3643V76.3607Z" fill="black"/>%0A<path d="M48.1549 17.8571H26.7511C16.9002 17.8571 8.91455 25.852 8.91455 35.7143V57.1428C8.91455 67.0051 16.9002 75 26.7511 75H48.1549C58.0058 75 65.9915 67.0051 65.9915 57.1428V35.7143C65.9915 25.852 58.0058 17.8571 48.1549 17.8571Z" fill="%234DCDC0"/>%0A<path d="M36.6007 50.7393C27.579 60.6821 12.3823 61.6678 2.1655 53.1643C1.69818 52.775 1.64824 52.0678 2.05848 51.6178L18.1149 33.925L36.6007 50.7393Z" fill="%234DCDC0"/>%0A<path d="M55.2897 25H33.8859C24.0365 25 16.0493 32.9964 16.0493 42.8571V64.2857C16.0493 74.1464 24.0365 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7214 53.6131 85.6321C64.5469 84.675 73.1262 75.4821 73.1262 64.2857V42.8571C73.1262 32.9964 65.139 25 55.2897 25Z" fill="%234DCDC0"/>%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23499CDF"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="white"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7374">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Ab='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65214)">%0A<path d="M57.1427 17.8571H35.7141C25.8518 17.8571 17.8569 25.852 17.8569 35.7143V57.1428C17.8569 67.0051 25.8518 75 35.7141 75H57.1427C67.0049 75 74.9998 67.0051 74.9998 57.1428V35.7143C74.9998 25.852 67.0049 17.8571 57.1427 17.8571Z" fill="%234DCDC0"/>%0A<path d="M45.575 50.7393C36.5429 60.6821 21.3286 61.6678 11.1 53.1643C10.6322 52.775 10.5822 52.0678 10.9929 51.6178L27.0679 33.925L45.575 50.7393Z" fill="%234DCDC0"/>%0A<path d="M64.2857 25H42.8571C32.9964 25 25 32.9964 25 42.8571V64.2857C25 74.1464 32.9964 82.1429 42.8571 82.1429H58.9679C59.9321 82.1429 60.7143 82.925 60.7143 83.8893C60.7143 84.9107 61.5893 85.7214 62.6071 85.6321C73.5536 84.675 82.1429 75.4821 82.1429 64.2857V42.8571C82.1429 32.9964 74.1464 25 64.2857 25Z" fill="%234DCDC0"/>%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23499CDF"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="white"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2359 35.6679 46.2859 35.8464 45.4073 36.2679C44.5145 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2002 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2175_65214">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';function bl({appMode:e}){const{t:n}=ye.useTranslation(),a=e==="manager",r=a?lo:Ja,s=Ab;return t.jsxs("div",{className:"brand-identity__root","aria-label":n("header.biArea","BI \uC601\uC5ED"),children:[t.jsx("img",{src:s,alt:n("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image brand-identity__image--symbol"}),t.jsx("img",{src:r,alt:a?n("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):n("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image brand-identity__image--logo"})]})}function yl({activeKey:e,onChange:n,items:a,malgwiItems:r,managerItems:s,unreadCount:i,onDebug:l,onNotification:u,onAccount:d,onSetting:c,onHelp:p,onFeedback:m,appMode:h,onAppModeChange:b,scrollContainer:y}){const{t:g}=ye.useTranslation(),v=nn("(max-width: 767px)"),w=o.useMemo(()=>(a??[]).filter($=>!$.section&&($.key||$.label)).map($=>({key:$.key,label:typeof $.label=="string"?$.label:void 0,icon:$.icon,state:$.disabled?"disabled":void 0,badgeCount:$.badge})),[a]),C=o.useCallback($=>{const U=a?.find(S=>S.key===$);if(!U?.disabled){if(U?.href){hl(U.href)&&window.open(U.href,"_blank","noopener,noreferrer");return}n?.($)}},[a,n]),_=o.useMemo(()=>{const $=[];return l&&$.push({key:"debug",icon:"terminal",label:g("nav.debug","\uB514\uBC84\uADF8"),onClick:l}),u&&$.push({key:"notifications",icon:"bell",label:g("nav.notifications","\uC54C\uB9BC"),badgeCount:i,onClick:u}),c&&$.push({key:"settings",icon:"settings",label:g("nav.settings","\uC124\uC815"),onClick:c}),p&&$.push({key:"help",icon:"message-circle-question-mark",label:g("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:p}),m&&$.push({key:"feedback",icon:"bug",label:g("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:m}),d&&$.push({key:"account",icon:"user-round",label:g("nav.account","\uACC4\uC815"),onClick:d}),$},[g,l,u,c,p,m,d,i]),f=o.useCallback(($,U)=>({position:"fixed",top:$.bottom+8,right:Math.max(8,window.innerWidth-$.right),zIndex:Aa(U)}),[]),A=o.useId(),{open:x,toggle:N,close:k,style:B,triggerRef:E,menuRef:j}=Ba({computeStyle:f,onScroll:"ignore",onResize:"reposition"}),V=o.useMemo(()=>[{items:_.map($=>({label:$.label,icon:$.icon,badgeCount:$.badgeCount,selected:$.selected??(!!$.key&&$.key===e),closeOnSelect:!0,onClick:()=>{$.onClick?.(),k()}}))}],[_,e,k]);return t.jsxs("aside",{className:`header${h==="manager"?" header--manager":""}`,children:[t.jsxs("div",{className:"header__bi",children:[t.jsx(bl,{appMode:h}),t.jsxs("div",{className:"header__menu-button",ref:E,children:[t.jsx(pe,{htmlType:"button",size:48,type:"dot",shape:"pill",variant:"default",useBorder:!1,icon:"menu",ariaLabel:u&&i&&i>0?g("nav.badgeInsideLabel",{label:g("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),count:i,defaultValue:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"}):g("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:N,"aria-expanded":x,"aria-controls":x?A:void 0}),!!u&&!!i&&i>0&&t.jsx(yt,{type:"dot",number:Math.min(i,99),size:24,"aria-hidden":!0}),x&&Jt.createPortal(t.jsx("div",{id:A,role:"group","aria-label":g("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:"tooltip-content",style:B,ref:j,children:t.jsx(ka,{columns:V,onClose:k})}),document.body)]})]}),t.jsx(gl,{scrollContainer:y,items:a,activeKey:e??void 0,onChange:n,unreadCount:i,onDebug:l,onNotification:u,onAccount:d,onSetting:c,onHelp:p,onFeedback:m,appMode:h,onAppModeChange:b}),v&&t.jsx(ml,{items:w,activeKey:e??void 0,onChange:C,scrollContainer:y,appMode:h,onAppModeChange:b})]})}const Bb=yl,kb=()=>jt.t("passCard.planSuffix","\uC774\uC6A9\uAD8C");function vl(e){if(!(e==null||e==="")){if(typeof e=="string"&&/^\s*\d[\d,]*\s*$/.test(e)){const n=Number(e.replace(/[,\s]/g,""));if(Number.isFinite(n))return Qn(`${n.toLocaleString("ko-KR")}\uC6D0`)}return Qn(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}}function Nb(e){const n=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(n)?"manager":"speechear"}function Db(e){if(e.durationDays&&e.durationDays>0){const i=e.durationDays;return i%365===0?`${i/365}\uB144`:`${i}\uC77C`}const n=(e.code??"").match(/(\d+)(d|y)\b/i);if(n)return n[2].toLowerCase()==="y"?`${n[1]}\uB144`:`${n[1]}\uC77C`;const a=e.name??"",r=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);if(r)return r[1].replace(/\s+/g,"");const s=a.match(/(\d+)\s*-?\s*(day|year)s?\b/i);return s?s[2].toLowerCase()==="year"?`${s[1]}\uB144`:`${s[1]}\uC77C`:a||kb()}function Eb(e){const n=(e??"").match(/(\d+)(d|y)\b/i);if(!n)return null;const a=Number(n[1]);return n[2].toLowerCase()==="y"?a*365:a}function xl(e){return{type:e.type??Nb(e),plan:Db(e),label:e.label,price:vl(e.price),originalPrice:vl(e.originalPrice),discountLabel:e.discountLabel}}var Sb='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7326)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23FAFAFA"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23FAFAFA"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23FAFAFA"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23FAFAFA"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7326">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',jb='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 200 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="200" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M96.43,48.35v-24.1h30.62v24.1h-30.62ZM142.98,69.15v7.21h-44.76v-15.72h34.46v-2.13h-34.6v-7.21h44.35v15.72h-34.33v2.13h34.88,0ZM106.25,32.56v7.41h11.05v-7.41h-11.05ZM148.33,40.39h-5.9v9.06h-9.89v-25.81h9.89v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M185.54,47.87v9.4c-2.79,1.28-7.16,1.92-13.11,1.92h-.62v17.16h-9.89v-17.16h-12.22v-9.4h22.86c5.86,0,10.18-.64,12.98-1.92h0ZM152.59,34.28v-9.4h28.7v22.17h-9.89v-12.77h-18.81ZM198.31,76.36h-9.89V23.64h9.89v52.73h0Z"/>%0A <path class="st1" d="M46.43,17.86h-21.43c-9.86,0-17.86,7.99-17.86,17.86v21.43c0,9.86,7.99,17.86,17.86,17.86h21.43c9.86,0,17.86-7.99,17.86-17.86v-21.43c0-9.86-7.99-17.86-17.86-17.86Z"/>%0A <path class="st1" d="M34.86,50.74c-9.03,9.94-24.25,10.93-34.48,2.42-.47-.39-.52-1.1-.11-1.55l16.07-17.69,18.51,16.81Z"/>%0A <path class="st1" d="M53.57,25h-21.43c-9.86,0-17.86,8-17.86,17.86v21.43c0,9.86,8,17.86,17.86,17.86h16.11c.96,0,1.75.78,1.75,1.75,0,1.02.88,1.83,1.89,1.74,10.95-.96,19.54-10.15,19.54-21.35v-21.43c0-9.86-8-17.86-17.86-17.86Z"/>%0A <path class="st2" d="M25,25c-5.92,0-10.71,4.8-10.71,10.71v28.57c0,3.09.79,6,2.17,8.54,2.54,1.39,5.45,2.17,8.54,2.17h28.57c5.92,0,10.71-4.8,10.71-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.54-1.39-5.45-2.17-8.54-2.17h-28.57Z"/>%0A <path class="st3" d="M25.36,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M36.07,57.14c-1.04,0-2.09-.27-3.04-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.59-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.33-4.44,2.91-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.35-5.56-.99-.06-1.94.12-2.81.54-.89.43-1.96.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.76.3,8.58,4.26,8.69,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',Tb='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7325)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23111111"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23111111"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23111111"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23111111"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23111111"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7325">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Mb='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7395)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23FAFAFA"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23FAFAFA"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23FAFAFA"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23FAFAFA"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23FAFAFA"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7395">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Lb='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 371 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="371" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M237.15,26.04v46.68h-20.5V26.04h20.5ZM234.41,70.05V28.72h-15.15v41.33h15.15ZM261.49,76.36h-2.68v-27.39h-11.24v26.5h-2.68V23.98h2.68v22.31h11.24v-22.65h2.68v52.73h0Z"/>%0A <path class="st3" d="M299.72,69.26c2.35-.48,4.31-1.11,5.86-1.89v2.75c-1.51.82-3.44,1.46-5.79,1.92-2.35.46-4.74.69-7.17.69h-20.37V25.7h2.74v44.28h17.62c2.38,0,4.74-.24,7.1-.72h0ZM311.69,76.43V23.64h2.74v52.73l-2.74.07Z"/>%0A <path class="st3" d="M340.56,47.94l17.62,22.52-2.13,1.65-16.18-20.94c-1.46,6.18-3.54,11.1-6.24,14.76-2.7,3.66-5.9,5.93-9.6,6.8v-2.75c3.25-.82,6.01-3.11,8.3-6.86,2.29-3.75,4.02-8.59,5.21-14.52,1.19-5.92,1.83-12.55,1.92-19.87h-14.47v-2.68h31.61v2.68h-14.4c-.05,7.19-.6,13.59-1.64,19.22h0ZM369.22,76.36h-2.74v-28.9h-14.06v-2.68h14.06v-21.14h2.74v52.73Z"/>%0A <path class="st3" d="M92.88,48.35v-24.1h30.58v24.1h-30.58ZM139.37,69.15v7.21h-44.71v-15.72h34.42v-2.13h-34.56v-7.21h44.3v15.72h-34.28v2.13h34.83,0ZM102.68,32.56v7.41h11.04v-7.41h-11.04ZM144.72,40.39h-5.9v9.06h-9.88v-25.81h9.88v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M181.89,47.87v9.4c-2.79,1.28-7.16,1.92-13.1,1.92h-.62v17.16h-9.88v-17.16h-12.2v-9.4h22.83c5.85,0,10.17-.64,12.96-1.92h0ZM148.97,34.28v-9.4h28.66v22.17h-9.87v-12.77h-18.79ZM194.64,76.36h-9.88V23.64h9.88v52.73h0Z"/>%0A <path class="st1" d="M48.15,17.86h-21.4c-9.85,0-17.84,7.99-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h21.4c9.85,0,17.84-7.99,17.84-17.86v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st1" d="M36.6,50.74c-9.02,9.94-24.22,10.93-34.44,2.42-.47-.39-.52-1.1-.11-1.55l16.06-17.69,18.49,16.81Z"/>%0A <path class="st1" d="M55.29,25h-21.4c-9.85,0-17.84,8-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h16.09c.96,0,1.74.78,1.74,1.75,0,1.02.87,1.83,1.89,1.74,10.93-.96,19.51-10.15,19.51-21.35v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st2" d="M26.75,25c-5.91,0-10.7,4.8-10.7,10.71v28.57c0,3.09.79,6,2.17,8.54,2.53,1.39,5.44,2.17,8.53,2.17h28.54c5.91,0,10.7-4.8,10.7-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.53-1.39-5.44-2.17-8.53-2.17h-28.54Z"/>%0A <path class="st3" d="M27.11,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M37.81,57.14c-1.04,0-2.09-.27-3.03-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.58-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.32-4.44,2.9-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.34-5.56-.99-.06-1.93.12-2.81.54-.89.43-1.95.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.75.3,8.57,4.26,8.68,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',$b='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7394)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23111111"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23111111"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23111111"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23111111"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23111111"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23111111"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23111111"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7394">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',_l='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7305)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7179 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7179 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7305">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const qn={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},uo=new WeakMap;function Rb(e){if(e)return uo.get(e)}function vn(e,n){e&&(e.style.setProperty(qn.text,n.text),e.style.setProperty(qn.sub,n.sub),n.copyrightColor&&e.style.setProperty(qn.copyright,n.copyrightColor),uo.set(e,n))}function xn(e){e&&(e.style.removeProperty(qn.text),e.style.removeProperty(qn.sub),e.style.removeProperty(qn.copyright),uo.delete(e))}const wl={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Al(e={}){const n=bt(wl,vn,xn);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-two-circle__c1"}),t.jsx("div",{className:"pass-card-bg-two-circle__c3"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${_l}")`}})]})}const Bl="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464Z";var Na='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65181)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="url(%23paint0_linear_2175_65181)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2175_65181" x1="29.6392" y1="29.6393" x2="75.2535" y2="75.2536" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2175_65181">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Pb={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},Fb=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function kl(e={}){const n=bt(Pb,vn,xn),a="var(--color-main)",r=270,s=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[t.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:Fb.map(({scale:i,opacity:l},u)=>t.jsx("g",{transform:`translate(${r} ${s}) scale(${i}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:Bl,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},u))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${Na}")`}})]})}const Ib={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},Ob=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function Hb(e={}){const n=bt(Ib,vn,xn),a="#ffffff",r=270,s=170;return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[t.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:Ob.map(({scale:i,opacity:l},u)=>t.jsx("g",{transform:`translate(${r} ${s}) scale(${i}) translate(-50 -50)`,opacity:l,children:t.jsx("path",{d:Bl,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},u))}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${_l}")`}})]})}const zb={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function Vb(e={}){const n=bt(zb,vn,xn);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${Na}")`}})]})}const Wb={Logo_speechear_kr:{"":Ja,_white:Sb,_textWhite:jb,_black:Tb},Logo_speechearManager_kr:{"":lo,_white:Mb,_textWhite:Lb,_black:$b}};function qb(e,n){if(e)return Wb[e]?.[n??""]??void 0}const Ub={speechear:Ja,manager:lo},Gb={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},Nl=10;function Kb(e){return e<=0?0:e>=86400?Math.floor(e/86400)*86400:e>=3600?Math.floor(e/3600)*3600:e>=60?Math.floor(e/60)*60:Math.floor(e)}function Dl(e,n){if(e<=0)return n("passCard.remainingSecond",{n:0});const a=Math.floor(e/86400);if(a>0)return n("passCard.remainingDay",{n:a});const r=Math.floor(e/3600);if(r>0)return n("passCard.remainingHour",{n:r});const s=Math.floor(e/60);return s>0?n("passCard.remainingMinute",{n:s}):n("passCard.remainingSecond",{n:Math.floor(e)})}function Yb(e,n,a){if(e==="manager"){const r=/년/.test(n)||/yr|year/i.test(n)||/1년|365/.test(n),s=a==="\uC624\uD508\uD2B9\uAC00"||a===jt.t("passCard.specialLabel");return r?t.jsx(Vb,{}):s?t.jsx(Hb,{}):t.jsx(kl,{})}return t.jsx(Al,{})}function El({ariaLabel:e,product:n,showPrice:a=!1,plan:r,type:s,endDate:i,remainingSeconds:l,endInclusive:u=!1,state:d="active",bg:c,bgOnly:p=!1,textColor:m,subColor:h,copyrightColor:b,logoSrc:y,label:g,price:v,originalPrice:w,discountLabel:C,onUse:_,onRefund:f,onDelete:A}){const{t:x}=ye.useTranslation(),N=n?xl(n):void 0,k=s??N?.type??"speechear",B=r??N?.plan??x("passCard.planSuffix","\uC774\uC6A9\uAD8C"),E=g??N?.label,j=v??(a?N?.price:void 0),V=w??(a?N?.originalPrice:void 0),$=C??N?.discountLabel,U=o.useMemo(()=>{if(j)return null;const W=n?.durationDays??Eb(n?.code);if(!W||W<=0)return l!=null?{percent:null,remainingLabel:Dl(l,x)}:null;const te=W*86400;let oe;if(l!=null)oe=l;else if((d==="active"||d==="expired")&&i){const le=new Date(i).getTime();if(Number.isNaN(le))return null;const ge=/^(\d{4})-(\d{2})-(\d{2})/.exec(String(i)),Ce=/^(\d{4})-(\d{2})-(\d{2})/.exec(va()),ve=Math.round(ge&&Ce?(Date.UTC(+ge[1],+ge[2]-1,+ge[3])-Date.UTC(+Ce[1],+Ce[2]-1,+Ce[3]))/864e5:(le-Date.now())/864e5);oe=Math.max(0,u?ve+1:ve)*86400}else d==="expired"?oe=0:oe=te;const _e=Kb(oe),he=Math.max(0,Math.min(100,Math.floor(Math.min(_e,te)/te*100)));return d==="pending"&&he>=100?null:{percent:he,remainingLabel:d==="expired"?x("passCard.expired","\uB9CC\uB8CC\uB428"):Dl(oe,x)}},[j,d,i,l,u,n?.durationDays,n?.code,x]),S=o.useRef(null),[L,H]=o.useState({}),[X,ne]=o.useState(null),q=!!(_||f||A),G=o.useRef(!1),P=o.useRef(void 0),[I,D]=o.useState(y);o.useLayoutEffect(()=>{D(y)},[y]),o.useLayoutEffect(()=>{const W=S.current;W&&(m!==void 0&&W.style.setProperty("--pass-card-text",m),h!==void 0&&W.style.setProperty("--pass-card-sub",h),b!==void 0&&W.style.setProperty("--pass-card-copyright",b))},[m,h,b]),o.useLayoutEffect(()=>{const W=S.current;if(!W)return;const te=Rb(W);if(!y){const oe=Gb[k],_e=d==="expired"?"_black":te?.logoColor??"",he=qb(oe,_e);D(he)}},[c,y,k,d]);const z=W=>{const te=S.current;if(!te)return null;const{left:oe,top:_e,width:he,height:le}=te.getBoundingClientRect(),ge=(W.clientX-oe)/he-.5;return{rotateX:-((W.clientY-_e)/le-.5)*Nl,rotateY:ge*Nl}},M=(W,te)=>{const oe=te*-.7,_e=W*.7+10,he=20+(Math.abs(W)+Math.abs(te))*.4;return`${oe}px ${_e}px ${he}px rgba(0, 0, 0, 0.18)`},F=o.useCallback(W=>{if(na())return;G.current=!0,clearTimeout(P.current),P.current=setTimeout(()=>{G.current=!1},200);const te=z(W);te&&H({transform:`perspective(800px) rotateX(${te.rotateX}deg) rotateY(${te.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:M(te.rotateX,te.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),R=o.useCallback(W=>{if(na())return;const te=z(W);if(!te)return;const oe=G.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";H({transform:`perspective(800px) rotateX(${te.rotateX}deg) rotateY(${te.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:M(te.rotateX,te.rotateY),transition:oe})},[]),K=o.useCallback(()=>{clearTimeout(P.current),G.current=!1,H({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),ae=o.useCallback(()=>ne(null),[]),Q=o.useMemo(()=>{const W=x("passCard.planSuffix","\uC774\uC6A9\uAD8C"),te=B.replace("\uC774\uC6A9\uAD8C","").replace(W==="\uC774\uC6A9\uAD8C"?"":W,"").trim(),oe=te.match(/^(.*?)(일|년)$/);return oe?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"h0 pass-card__plan-number",children:oe[1]}),t.jsx("span",{className:"h5b pass-card__plan-unit",children:oe[2]==="\uB144"?x("passCard.unitYear","\uB144"):x("passCard.unitDay","\uC77C")})]}):t.jsx("span",{className:"h0",children:te})},[B,x]),re=o.useMemo(()=>{const W=Qn(j);if(!W)return null;const te=W.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!te)return t.jsx("span",{className:"h1",children:W});const[,oe,_e,he]=te;return t.jsxs(t.Fragment,{children:[oe&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:oe}),t.jsx("span",{className:"h1 pass-card__price-amount",children:_e}),he.trim()&&t.jsx("span",{className:"h5 pass-card__price-symbol",children:he.trim()})]})},[j]),ce=o.useCallback(()=>{q&&ne(W=>{if(W)return null;const te=S.current?.getBoundingClientRect();if(!te)return null;const oe=50;return{left:te.left,right:te.right,width:te.width,height:te.height,x:te.x,y:te.y+oe,top:te.top+oe,bottom:te.bottom+oe}})},[q]),ue=o.useCallback(W=>{q&&(W.key==="Enter"||W.key===" ")&&(W.preventDefault(),ce())},[q,ce]),be=[{items:[..._?[{label:x("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{_(),ne(null)},closeOnSelect:!0}]:[],...f?[{label:x("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{f(),ne(null)},closeOnSelect:!0}]:[],...A?[{label:x("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{A(),ne(null)},closeOnSelect:!0}]:[]]}];return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card-frame",children:t.jsxs("div",{ref:S,className:`pass-card pass-card--${d}${q?" pass-card--clickable":""}`,style:L,onMouseEnter:F,onMouseMove:R,onMouseLeave:K,onPointerUp:W=>{W.pointerType==="touch"&&K()},onPointerCancel:W=>{W.pointerType==="touch"&&K()},onClick:ce,onKeyDown:q?ue:void 0,role:q?"button":void 0,tabIndex:q?0:void 0,"aria-label":e,"aria-haspopup":q?"menu":void 0,"aria-expanded":q?!!X:void 0,children:[c??Yb(k,B,E),!p&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"pass-card__top",children:t.jsxs("div",{className:"pass-card__top-left",children:[t.jsx("img",{src:I??Ub[k],className:"pass-card__logo",alt:k==="manager"?x("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):x("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),t.jsxs("div",{className:"pass-card__plan",children:[t.jsx("div",{children:Q}),t.jsx("span",{className:"h5b pass-card__plan-suffix",children:E?x("passCard.labeledPlan",{label:E}):x("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),j?t.jsxs("div",{className:"pass-card__price-area",children:[$&&t.jsx("span",{className:"pass-card__discount body-3",children:$}),t.jsxs("div",{className:"pass-card__price",children:[V&&t.jsx("span",{className:"pass-card__price-original body-3",children:Qn(V)}),re]})]}):U?t.jsxs("div",{className:"pass-card__usage",children:[t.jsx("span",{className:"h5b pass-card__usage-remaining",children:U.remainingLabel}),U.percent!=null&&t.jsxs("span",{className:"pass-card__usage-percent",children:[t.jsx("span",{className:"h1 pass-card__usage-value",children:U.percent}),t.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):t.jsx("div",{className:"pass-card__copyright caption-2","aria-hidden":"true",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),X&&t.jsx(on,{anchorRect:X,onClose:ae,ariaLabel:x("tooltip.menu","\uBA54\uB274"),children:t.jsx(ka,{columns:be,onClose:ae,size:"small"})})]})}const Zb={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Xb(e={}){const n=`passcard-sound-line-grad-${o.useId()}`,a=bt(Zb,vn,xn);return t.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[t.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"1",y2:"0",children:[t.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),t.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),t.jsx("g",{transform:"translate(25, 45)",children:t.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${n})`,strokeWidth:"50",strokeLinecap:"round"})})]}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${Na}")`}})]})}const Jb={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function Qb(e={}){const n=bt(Jb,vn,xn);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),t.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${Na}")`}})]})}function e4(e,n){if(e){if(n==="manager_pro")return t.jsx(Qb,{});if(n==="manager_standard")return t.jsx(Xb,{});if(n==="manager_lite")return t.jsx(kl,{})}}function t4(e){const n=Qn(e);if(!n)return null;const a=n.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return n;const[,r,s,i]=a;return t.jsxs(t.Fragment,{children:[r&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:r}),s,i.trim()&&t.jsx("span",{className:"payment-plan__pricing-symbol h4",children:i.trim()})]})}function n4(e){const{t:n}=ye.useTranslation(),a=n("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),r=n("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:s,onSelect:i,period:l="monthly",ownedCodes:u}=e||{},d=f=>!!f&&!!u?.includes(f),c=f=>f.onceOnly??/오픈\s*특가/.test(f.label??""),p=(s.tiers||[]).some(f=>c(f)&&d(f.code)),m=f=>{const A=f.prices?f.prices[l]:f.price;return A?(s.tiers||[]).some(x=>!!x.badge&&x.originals?.[l]===A):!1},h=s.colorToken?`var(--color-${s.colorToken})`:"var(--color-gray)",b=n("payment.plan.freePrice","\uBB34\uB8CC"),y=n("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),g=f=>f.prices?f.prices[l]:f.price,v=(s.tiers||[]).length>0&&(s.tiers||[]).every(f=>{const A=g(f);return A==="\uBB34\uB8CC"||A===b||A==="0\uC6D0"||typeof A=="string"&&/\d/.test(A)&&!/[1-9]/.test(A)}),w=(s.tiers||[]).length>0&&(s.tiers||[]).every(f=>{const A=g(f);return A==="\uBB38\uC758"||A===y}),C=s.group==="org",_=C?"manager":"speechear";return t.jsxs("div",{className:"payment-plan__card",style:{borderColor:h,"--plan-color":h},children:[s.cardBadge&&t.jsx("div",{className:"payment-plan__card-badge",children:t.jsx(yt,{label:s.cardBadge,variant:"main",size:"medium",fill:"soft"})}),t.jsxs("div",{className:"payment-plan__title",children:[t.jsx("p",{className:"payment-plan__quote body-3b",style:{color:h},children:s.quote||"\xA0"}),t.jsx("h3",{className:"payment-plan__title-heading h1",children:s.tier??s.title}),t.jsx("p",{className:"payment-plan__subtitle body-3",children:s.subtitle})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(s.recommendedFor||[]).map((f,A)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ye,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:h}}),f]},A))})]}),t.jsxs("div",{className:"payment-plan__box",children:[t.jsx("span",{className:"payment-plan__box-title body-3b",children:n("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),t.jsx("ul",{className:"payment-plan__feature-list",children:(s.features||[]).map((f,A)=>t.jsxs("li",{className:"payment-plan__feature-item body-3",children:[t.jsx(Ye,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:h}}),f]},A))})]}),t.jsx("div",{className:"payment-plan__card-pricing",children:v?null:w?t.jsx(pe,{htmlType:"button",className:"payment-plan__contact-button",label:n("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>s.tiers?.[0]&&i?.({...s.tiers[0],productId:s.id,productTitle:s.title})}):t.jsx(t.Fragment,{children:t.jsx("div",{className:"payment-plan__pricing-list",children:(s.tiers||[]).map(f=>{const A=f.label||a,x=c(f),N=x||f.openPromo===!0,k=A.replace(/^오픈\s*특가\s*/,"")||a,B=f.prices?f.prices[l]:f.price,E=f.badge?N?`${r}
852
852
  ${f.badge}`:f.badge:void 0;if(x&&d(f.code))return null;if(!f.badge&&!p)return m(f)?null:t.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${f.highlight?" payment-plan__pricing-row--highlight":""}`,children:[t.jsx("div",{className:"payment-plan__pricing-row-title",children:t.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:f.label})}),t.jsx("div",{className:"payment-plan__pricing-row-price",children:t.jsx("span",{className:"payment-plan__pricing-current h1",children:t4(B)})})]},f.id);const j=s.tier??(C?s.title:void 0),V=t.jsx(El,{showPrice:!0,product:{type:_,code:f.code,name:k,label:j,price:B,originalPrice:f.originals?.[l]??void 0,discountLabel:E},bg:e4(C,s.id)}),$=()=>i?.({...f,productId:s.id,productTitle:s.title,preview:V});return t.jsx("div",{className:"payment-plan__pricing-card",onClick:$,onKeyDown:i?U=>{U.target===U.currentTarget&&(U.key==="Enter"||U.key===" ")&&(U.preventDefault(),$())}:void 0,role:i?"button":void 0,tabIndex:i?0:void 0,children:V},f.id)})})})})]})}function a4({variant:e="default"}){return t.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),t.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var co='data:image/svg+xml,<svg width="264" height="100" viewBox="0 0 264 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2079_3030)">%0A<path d="M60.9019 24.7464C54.4446 18.2821 45.5257 14.2857 35.6757 14.2857C25.8256 14.2857 23.2106 24.5964 16.7569 31.0607C10.2996 37.5214 0 40.1857 0 50C0 59.8143 3.99211 68.7893 10.4494 75.2536C16.9067 81.7178 25.8256 85.7143 35.6757 85.7143C45.5257 85.7143 54.4446 81.7178 60.9019 75.2536C67.3592 68.7893 71.3513 59.8607 71.3513 50C71.3513 40.1393 67.3592 31.2107 60.9019 24.7464ZM48.2906 62.6286C45.0619 65.8607 40.6025 67.8571 35.6757 67.8571C30.7489 67.8571 26.2894 65.8571 23.0608 62.6286C19.8321 59.3964 17.8378 54.9321 17.8378 50C17.8378 45.0678 19.8357 40.6036 23.0608 37.3714C26.2894 34.1393 30.7489 32.1428 35.6757 32.1428C40.6025 32.1428 45.0619 34.1428 48.2906 37.3714C51.5192 40.6036 53.5135 45.0678 53.5135 50C53.5135 54.9321 51.5157 59.3964 48.2906 62.6286Z" fill="url(%23paint0_linear_2079_3030)"/>%0A<path d="M106.735 74.8322H93.6274V24.8322H106.735V74.8322Z" fill="%23111111"/>%0A<path d="M113.495 24.8322H126.602V44.5143H145.022V24.8322H158.197V74.8322H145.022V55.15H126.602V74.8322H113.495V24.8322Z" fill="%23111111"/>%0A<path d="M163.027 74.8322L179.652 24.8322H197.519L214.076 74.8322H199.934L196.969 65.025H180.205L177.241 74.8322H163.031H163.027ZM193.933 55.0786L188.76 38.2964H188.346L183.241 55.0786H193.933Z" fill="%23111111"/>%0A<path d="M218.906 24.8322H240.29C251.674 24.8322 257.675 29.7357 257.675 37.4C257.675 42.925 253.743 47.1393 248.085 48.3107V48.7929C254.364 49 259.605 53.6286 259.605 60.7393C259.605 68.8893 252.983 74.8286 242.081 74.8286H218.902V24.8322H218.906ZM244.157 40.1643C244.157 36.9857 241.674 35.1929 238.085 35.1929H232.013V45.1393H237.878C241.535 45.1393 244.157 43.3429 244.157 40.1679V40.1643ZM245.741 59.0857C245.741 55.425 243.119 53.3536 238.913 53.3536H232.013V64.2643H238.706C243.397 64.2643 245.741 62.4679 245.741 59.0857Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2079_3030" x1="15.337" y1="29.6393" x2="60.9512" y2="75.2042" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2079_3030">%0A<rect width="264" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Sl={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function r4(){const e=bt(Sl,vn,xn);return t.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${co}")`}})})}const jl={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function o4(e={}){const n=bt(jl,vn,xn);return t.jsxs("div",{ref:n,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[t.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),t.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),t.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${Na}")`}})]})}function Tl({keys:e,anchor:n="top-right",scale:a,className:r=""}){const s=Array.isArray(e)?e:[e];return t.jsx("span",{className:ke("shortcut-badge",`shortcut-badge--${n}`,r),style:a===void 0?void 0:{"--shortcut-badge-scale":String(a)},children:s.map((i,l)=>t.jsxs("span",{className:"shortcut-badge__group",children:[l>0&&t.jsx("span",{className:"shortcut-badge__plus",children:"+"}),t.jsx("kbd",{className:"shortcut-badge__key",children:i})]},`${i}-${l}`))})}const Da=(e,n,a)=>e+(n-e)*a;function s4({speakers:e,size:n=300,viewT:a=0,activeSpeakerId:r=null,playedIds:s,selectedId:i=null,answerId:l=null,showFeedback:u=!1,pulseSelected:d=!1,pulseSelectedDuration:c,pulseScale:p,clickable:m=!1,onSelectSpeaker:h,buttonSize:b=40,showIcon:y=!0,onCenterClick:g,centerLabel:v,centerDisabled:w=!1,centerAttention:C=!1,shortcutAnchor:_="top-right",shortcutScale:f,scaleShortcut:A=!1}){const{t:x}=ye.useTranslation(),N=Math.max(0,Math.min(1,a)),k=n/2,B=110/300,E=.18,j=W=>n*(B+(W-1)*E),V=W=>{const te=j(W.row??1),oe=W.angleDeg*Math.PI/180;return{x:k+te*Math.cos(oe),y:k+te*Math.sin(oe)}},$=Math.max(...e.map(W=>W.row??1),1),U=n*.08,S=n*.1,L=n*.24,H=n-2*U,X=n-S-L,ne=n-L/2,q=o.useMemo(()=>[...new Set(e.map(W=>W.deg))].sort((W,te)=>W-te),[e]),G=q.length,P=Math.max(68,G>1?H/(G-1):0),I=o.useMemo(()=>new Map(q.map((W,te)=>[W,te])),[q]),D=W=>{const te=I.get(W.deg)??0,oe=k+(te-(G-1)/2)*P,_e=$>1?Math.min(68,X/($-1)):0,he=_e*($-1),le=S+(X-he)/2,ge=$===1?S+X*.4:le+($-(W.row??1))*_e;return{x:oe,y:ge}},z=W=>{const te=V(W),oe=D(W);return{x:Da(te.x,oe.x,N),y:Da(te.y,oe.y,N)}},M={x:k,y:Da(k,ne,N)},F=Math.round(b*1.2),R=Math.round(Math.max(16,Math.min(80,b*.7))),K=[],ae=new Map;for(const W of e){const te=W.row??1;ae.has(te)||ae.set(te,[]),ae.get(te).push(W)}for(const[W,te]of ae.entries()){if(te.length<2)continue;const oe=[...te].sort((Fe,ot)=>Fe.deg-ot.deg),_e=oe.map(Fe=>z(Fe)),he=oe.map(Fe=>Fe.deg),le=he[he.length-1]-he[0],ge=le/(he.length-1),Ce=360-le,ve=oe.length>=3&&ge>0&&Ce<=ge*1.5,Le=Math.round(j(W)*1e3)/1e3,je=(Fe,ot,Ze,Xe)=>{const st=(ot.angleDeg-Fe.angleDeg+540)%360-180;if(st===0)return`L ${Xe.x} ${Xe.y}`;if(N===0)return`A ${Le} ${Le} 0 0 ${st>0?1:0} ${Xe.x} ${Xe.y}`;const De=(Fe.angleDeg+st/2)*Math.PI/180,$e={x:k+Le*Math.cos(De),y:k+Le*Math.sin(De)},Be={x:(Ze.x+Xe.x)/2,y:(Ze.y+Xe.y)/2},nt={x:Da($e.x,Be.x,N),y:Da($e.y,Be.y,N)},J={x:2*nt.x-Be.x,y:2*nt.y-Be.y};return`Q ${J.x} ${J.y} ${Xe.x} ${Xe.y}`},Qe=ve?[...oe,oe[0]]:oe,Ue=ve?[..._e,_e[0]]:_e;let He=`M ${Ue[0].x} ${Ue[0].y}`;for(let Fe=1;Fe<Ue.length;Fe++)He+=" "+je(Qe[Fe-1],Qe[Fe],Ue[Fe-1],Ue[Fe]);K.push({key:`arc-${W}`,d:He})}const Q=o.useMemo(()=>new Set(s??[]),[s]),re=W=>({idle:"",active:x("soundCompass.state.active","\uC18C\uB9AC \uB098\uB294 \uC911"),played:x("soundCompass.state.played","\uB4E4\uC74C"),correct:x("soundCompass.state.correct","\uC815\uB2F5"),wrong:x("soundCompass.state.wrong","\uC624\uB2F5")})[W],ce=W=>{if(r===W.id)return"active";if(u){if(W.id===l)return"correct";if(W.id===i&&i!==l)return"wrong"}return Q.has(W.id)?"played":"idle"},ue=W=>r===W.id?"loop":u?W.id===l?"loop":null:d&&W.id===i?"once":null,be=(W,te)=>{switch(W){case"played":case"correct":return t.jsx(ls,{size:te});case"wrong":return t.jsx(bs,{size:te});default:return t.jsx(gs,{size:te})}};return t.jsx("div",{className:"sound-compass",children:t.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:n,height:n},children:[t.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,className:"sound-compass__svg",children:[N===0&&e.map(W=>{const{x:te,y:oe}=z(W);return t.jsx("line",{x1:M.x,y1:M.y,x2:te,y2:oe,stroke:"#dde3ec",strokeWidth:"1"},W.id)}),K.map(W=>t.jsx("path",{d:W.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},W.key))]}),C&&!w&&t.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:F,height:F,left:M.x-F/2,top:M.y-F/2}}),g?t.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${w?" sound-compass__center--disabled":""}`,style:{width:F,height:F,left:M.x,top:M.y},"aria-label":v,"aria-disabled":w||void 0,tabIndex:w?-1:0,onClick:w?void 0:g,children:t.jsx(wr,{size:R,color:"currentColor",strokeWidth:1.5})}):t.jsx("div",{className:"sound-compass__center",style:{width:F,height:F,left:M.x,top:M.y},children:t.jsx(wr,{size:R,color:"currentColor",strokeWidth:1.5})}),e.map((W,te)=>{const{x:oe,y:_e}=z(W),he=ce(W),le=ue(W),ge={...f!==void 0||A?{"--shortcut-badge-scale":String(f??Math.max(.75,Math.min(3,b/56)))}:null,pointerEvents:m?"auto":"none",cursor:m?"pointer":"default",zIndex:he!=="idle"?10:1},Ce=b,ve=Math.round(Math.max(10,Math.min(56,Ce*.38))),Le=Math.round(Math.max(7,Math.min(18,Ce*.2))),je=Math.round(Math.max(10,Math.min(56,Ce*.4))),Qe=y==="answered"&&(he==="played"||he==="correct"||he==="wrong"),Ue=y===!0||Qe,He=!Qe;return t.jsxs("div",{className:"sound-compass__speaker-pos",style:{...ge,left:oe-Ce/2,top:_e-Ce/2},children:[le&&t.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${he}`+(le==="once"?" sound-compass__pulse--once":""),style:{width:Ce,height:Ce,...le==="once"&&c!==void 0?{"--sc-pulse-duration-once":`${c}ms`}:null,...p!==void 0?{"--sc-pulse-scale":String(p)}:null}}),t.jsxs("button",{type:"button",tabIndex:m?0:-1,"aria-disabled":m?void 0:!0,onClick:m?()=>h?.(W.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${he}`,style:{width:Ce,height:Ce},"aria-label":re(he)?`${W.label}, ${re(he)}`:W.label,"aria-pressed":i!=null?W.id===i:void 0,children:[Ue&&be(he,ve),He&&t.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:y===!0?Le:je},children:te+1})]}),W.shortcut&&t.jsx(Tl,{keys:W.shortcut,anchor:_,className:"sound-compass__speaker-shortcut"})]},W.id)})]})})}function i4({children:e,position:n="top-left",size:a=24,className:r=""}){return t.jsx("span",{className:ke("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${n}`,r),children:e})}function l4({orientation:e="horizontal",label:n,className:a=""}){const r=ke("divider",`divider--${e}`,n&&e==="horizontal"?"divider--labeled":"",a);return e==="vertical"?t.jsx("div",{className:r,role:"separator","aria-orientation":"vertical"}):n?t.jsxs("div",{className:r,role:"separator","aria-orientation":"horizontal",children:[t.jsx("span",{className:"divider__line"}),t.jsx("span",{className:"divider__label caption-1",children:n}),t.jsx("span",{className:"divider__line"})]}):t.jsx("div",{className:r,role:"separator","aria-orientation":"horizontal"})}function Ml({checked:e,onChange:n,name:a,value:r,disabled:s=!1,label:i,className:l=""}){const u=o.useId();return t.jsxs("label",{className:`radio${s?" radio--disabled":""} ${l}`.trim(),htmlFor:u,children:[t.jsx("input",{id:u,type:"radio",name:a,value:r,checked:e,disabled:s,onChange:d=>n?.(d.target.checked)}),t.jsx("span",{className:"radio__dot"}),i&&t.jsx("span",{className:"radio__label body-2",children:i})]})}function u4({options:e,value:n,onChange:a,name:r,disabled:s=!1,direction:i="vertical",className:l="",ariaLabel:u}){const d=o.useId(),c=r??`radio-group-${d}`;return t.jsx("div",{className:`radio-group radio-group--${i} ${l}`.trim(),role:"radiogroup","aria-label":u,children:e.map(p=>t.jsx(Ml,{name:c,value:p.value,checked:n===p.value,disabled:s||p.disabled,label:p.label,onChange:m=>{m&&a?.(p.value)}},p.value))})}const c4={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function d4({tone:e="info",title:n,message:a,children:r,dismissible:s=!1,onDismiss:i,live:l,className:u=""}){const{t:d}=ye.useTranslation(),[c,p]=o.useState(!1),m=o.useRef(null),h=o.useCallback(()=>{const C=m.current;C&&C.contains(document.activeElement)&&Ka(C),p(!0),i?.()},[i]);if(c)return null;const b=ke("alert",`alert--${e}`,u),y=l??(e==="danger"||e==="warning"?"assertive":"polite"),g=y==="assertive"?"alert":y==="polite"?"status":void 0,v=!!n,w=!!(a||r);return t.jsxs("div",{ref:m,className:b,role:g,children:[t.jsxs("div",{className:"alert__body",children:[t.jsxs("div",{className:"alert__header",children:[t.jsx(Ye,{icon:c4[e],size:20,className:"alert__icon"}),v&&t.jsx("span",{className:"alert__title body-2",children:n}),!v&&w&&t.jsx("div",{className:"alert__message body-3",children:a||r})]}),v&&w&&t.jsx("div",{className:"alert__message alert__message--indented body-3",children:a||r})]}),s&&t.jsx("button",{type:"button",className:"alert__dismiss",onClick:h,"aria-label":d("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}const p4={ready:"search",guide:"info",error:"circle-alert"};function m4(e,n){const a=n.filter(Boolean);if(a.length===0)return e;const r=[];let s=0,i=0;for(const l of a){const u=e.indexOf(l,s);u<0||(u>s&&r.push(e.slice(s,u)),r.push(t.jsx("strong",{className:"search-summary__em body-2",children:l},i++)),s=u+l.length)}return s<e.length&&r.push(e.slice(s)),r}function h4({status:e="guide",label:n,children:a,emphasis:r,icon:s,className:i=""}){const l=s===!1?null:s??p4[e],u=ke("search-summary",`search-summary--${e}`,i),d=n??a,c=typeof d=="string"&&r&&r.length>0?m4(d,r):d;return t.jsxs("div",{className:u,role:"status","aria-live":"polite",children:[l!=null&&t.jsx(Ye,{icon:l,size:18,className:"search-summary__icon"}),t.jsx("span",{className:"search-summary__text body-2",children:c})]})}function Ea({title:e,items:n}){const{t:a}=ye.useTranslation(),{anchorRect:r,openAt:s,close:i}=wa(),l=o.useRef(null),u=Jr(!!r,(d,c)=>{d&&c?s(l.current?.querySelector("button")??c):i()},l);return t.jsxs("span",{ref:l,style:{display:"contents"},children:[t.jsx(pe,{htmlType:"button",size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!r,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:d=>{ta(d)||s(d.currentTarget)},onPointerLeave:d=>{ta(d)||i()},onClick:d=>{u.touchPress(d.currentTarget)},onFocus:d=>{na()||s(d.currentTarget)},onBlur:i}),r&&t.jsx(Vn,{title:e,items:n,showIndex:n.length>1,anchorRect:r,onClose:i})]})}function C4({items:e=[],value:n,onChange:a,className:r="",size:s=40}){const i=o.useId(),{t:l}=ye.useTranslation(),u=o.useRef(null),d=e.find(g=>!g.disabled)?.key,c=e.some(g=>g.key===n)?n:d??e[0]?.key,p=e.find(g=>g.key===c&&!g.disabled)?.key??d,m=()=>Array.from(u.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),h=(g,v=m())=>{if(v.length===0)return;const w=(g%v.length+v.length)%v.length;v[w]?.focus(),v[w]?.click()},b=g=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(g.key))return;g.preventDefault();const v=m(),w=v.indexOf(g.currentTarget);g.key==="ArrowRight"||g.key==="ArrowDown"?h(w+1,v):g.key==="ArrowLeft"||g.key==="ArrowUp"?h(w-1,v):g.key==="Home"?h(0,v):h(v.length-1,v)},y=e.find(g=>g.key===c);return t.jsxs("div",{className:`tabs ${r}`.trim(),children:[t.jsx("div",{ref:u,className:`tabs__list tabs__list--${s}`,role:"tablist","aria-label":l("tabs.ariaLabel","\uD0ED"),children:e.map(g=>t.jsx("button",{id:`tabs__tab-${i}-${g.key}`,type:"button",role:"tab","aria-selected":g.key===c,"aria-controls":`tabs__panel-${i}-${g.key}`,disabled:g.disabled,tabIndex:g.key===p?0:-1,className:`tabs__tab body-2${g.key===c?" tabs__tab--active":""}`,onClick:()=>{g.key!==n&&a?.(g.key)},onKeyDown:b,children:g.label},g.key))}),y&&t.jsx("div",{id:`tabs__panel-${i}-${y.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${i}-${y.key}`,tabIndex:0,className:"tabs__panel",children:y.panel},y.key)]})}const f4={xs:12,sm:16,md:20,lg:28,xl:36};function g4(e){const n=e.trim().split(/\s+/).filter(Boolean);return n.length===0?"":n.length===1?[...n[0]].slice(0,2).join("").toUpperCase():([...n[0]][0]+[...n[n.length-1]][0]).toUpperCase()}function b4({src:e,name:n,size:a="md",shape:r="circle",className:s=""}){const{t:i}=ye.useTranslation(),[l,u]=o.useState(null),d=!!e&&l===e,c=n?g4(n):"",p=!!e&&!d,m=!p&&!!c,h=n||i("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return t.jsxs("span",{className:`avatar avatar--${a} avatar--${r} ${s}`.trim(),role:"img","aria-label":h,children:[p&&t.jsx("img",{className:"avatar__image",src:e,alt:h,onError:()=>u(e??null)}),!p&&m&&t.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:c}),!p&&!m&&t.jsx(Ye,{icon:"user-round",size:f4[a],className:"avatar__icon"})]})}function y4(e,n){if(!n)return!0;const a=n.split(",").map(i=>i.trim()).filter(Boolean);if(a.length===0)return!0;const r=e.name.toLowerCase(),s=e.type.toLowerCase();return a.some(i=>{const l=i.toLowerCase();return l.startsWith(".")?r.endsWith(l):l.endsWith("/*")?s.startsWith(l.slice(0,-1)):s===l})}function v4({onFilesSelected:e,accept:n,multiple:a=!1,disabled:r=!1,showFileList:s=!0,files:i,onRemove:l,className:u=""}){const{t:d}=ye.useTranslation(),c=o.useRef(null),[p,m]=o.useState(!1),[h,b]=o.useState([]),y=i??h,g=x=>{if(!x||x.length===0)return;const N=Array.from(x).filter(B=>y4(B,n));if(N.length===0)return;const k=a?N:N.slice(0,1);if(i===void 0){const B=a?[...y,...k]:k;b(B),e?.(B)}else e?.(k)},v=x=>{x.preventDefault(),!r&&m(!0)},w=x=>{x.preventDefault(),m(!1)},C=x=>{x.preventDefault(),m(!1),!r&&g(x.dataTransfer.files)},_=x=>{const N=x.target;try{g(N.files)}finally{N.value=""}},f=()=>{r||c.current?.click()},A=x=>{if(!r&&(l?.(x),i===void 0)){const N=y.filter((k,B)=>B!==x);b(N),l||e?.(N)}};return t.jsxs("div",{className:`file-upload ${u}`.trim(),children:[t.jsxs("div",{className:ke("file-upload__dropzone",p&&"file-upload__dropzone--dragging",r&&"file-upload__dropzone--disabled"),role:"button",tabIndex:r?-1:0,"aria-disabled":r,onClick:f,onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),f())},onDragOver:v,onDragLeave:w,onDrop:C,children:[t.jsx(Ye,{icon:"upload",size:24,className:"file-upload__icon"}),t.jsx("span",{className:"file-upload__prompt body-2",children:d("fileUpload.dragPrompt","\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC")}),t.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:r,onClick:x=>{x.stopPropagation(),f()},children:d("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),t.jsx("input",{ref:c,type:"file",className:"file-upload__input",accept:n,multiple:a,disabled:r,onChange:_,tabIndex:-1})]}),s&&y.length>0&&t.jsx("ul",{className:"file-upload__list",children:y.map((x,N)=>t.jsxs("li",{className:"file-upload__list-item body-3",children:[t.jsx("span",{className:"file-upload__file-name body-3",children:x.name}),t.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":d("fileUpload.removeAriaLabel",{name:x.name}),disabled:r,onClick:()=>A(N),children:t.jsx(Ye,{icon:"x",size:14})})]},`${x.name}-${N}`))})]})}function x4({items:e,className:n=""}){const{t:a}=ye.useTranslation();return t.jsx("nav",{className:`breadcrumb ${n}`.trim(),"aria-label":a("breadcrumb.ariaLabel","\uC774\uB3D9 \uACBD\uB85C"),children:t.jsx("ol",{className:"breadcrumb__list",children:e.map((r,s)=>{const i=s===e.length-1;return t.jsxs("li",{className:"breadcrumb__item",children:[i?t.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:r.label}):r.href?t.jsx("a",{className:"breadcrumb__link body-3",href:r.href,target:r.target,rel:r.rel??(r.target==="_blank"?"noopener noreferrer":void 0),onClick:r.onClick,children:r.label}):r.onClick?t.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:r.onClick,children:r.label}):t.jsx("span",{className:"breadcrumb__text body-3",children:r.label}),!i&&t.jsx(Ye,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},s)})})})}const _4={small:14,medium:20,large:28};function w4({value:e,onChange:n,max:a=5,readOnly:r=!1,size:s="medium",ariaLabel:i,className:l=""}){const{t:u}=ye.useTranslation(),d=r||!n,[c,p]=o.useState(null),m=d?e:Number.isFinite(e)?Math.round(e):0,h=c??m,b=_4[s],y=x=>{x!==e&&n?.(x)},g=x=>{d||y(x)},v=x=>{d||na()||p(x)},w=o.useRef(null),C=x=>{const N=Math.min(a,Math.max(1,x));y(N),Array.from(w.current?.querySelectorAll("[data-star]")??[]).find(k=>k.dataset.star===String(N))?.focus()},_=x=>{if(!d){switch(x.key){case"ArrowRight":case"ArrowUp":C((m||0)+1);break;case"ArrowLeft":case"ArrowDown":C((m||1)-1);break;case"Home":C(1);break;case"End":C(a);break;default:return}x.preventDefault()}},f=m>=1&&m<=a?Math.round(m):1,A=()=>{d||p(null)};return t.jsx("div",{className:`rating rating--${s}${d?" rating--readOnly":""} ${l}`.trim(),ref:w,onKeyDown:_,role:d?"img":"radiogroup","aria-label":d?u("rating.valueLabel",{value:e,max:a}):i??u("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:A,onPointerUp:x=>{x.pointerType==="touch"&&A()},onPointerCancel:x=>{x.pointerType==="touch"&&A()},children:Array.from({length:a},(x,N)=>{const k=N+1,B=Math.max(0,Math.min(1,h-N)),E=B>0&&B<1,j=t.jsxs("span",{className:"rating__star-wrap",children:[t.jsx(Ye,{icon:"star",size:b,className:"rating__star rating__star--empty"}),B>0&&t.jsx("span",{className:`rating__star-fill${E?" rating__star-fill--half":""}`,style:E?{width:`${B*100}%`}:void 0,children:t.jsx(Ye,{icon:"star",size:b,className:"rating__star rating__star--filled"})})]});return d?t.jsx("span",{className:"rating__item","aria-hidden":"true",children:j},k):t.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":m===k,"aria-label":u("rating.starLabel",{n:k}),"data-star":k,tabIndex:k===f?0:-1,onClick:()=>g(k),onMouseEnter:()=>v(k),children:j},k)})})}const A4=20,B4=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function k4({value:e,onChange:n,palette:a=B4,size:r=40,className:s="",ariaLabel:i}){const{t:l}=ye.useTranslation();return t.jsx("div",{className:`color-picker ${s}`.trim(),role:"group","aria-label":i,children:a.map(u=>{const d=e?.toLowerCase()===u.toLowerCase();return t.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${r}`,style:{backgroundColor:u},onClick:()=>n(u),"aria-pressed":d,"aria-label":d?`${u} ${l("colorPicker.selected","\uC120\uD0DD\uB428")}`:u,children:d&&t.jsx(Ye,{icon:"check",size:A4,className:"color-picker__check"})},u)})})}function Ll({icon:e,label:n,tooltip:a,wrapperStyle:r,color:s,bgColor:i,useHover:l=!0,iconSize:u="medium"}){const{t:d}=ye.useTranslation(),c=u==="small",p=ke("category-icon",c?"category-icon--small":""),m=c?16:20,h=o.useRef(null),[b,y]=o.useState(!1),g=o.useMemo(()=>{const N=r&&typeof r=="object"?{...r}:{};return!s&&!i?N:{...N,...s?{color:s,"--t-item-fg":s}:{},...i?{"--t-item-bg":i}:{}}},[r,s,i]),v=a||n,[w,C]=o.useState(null);o.useLayoutEffect(()=>{b&&C(h.current?.getBoundingClientRect()??null)},[b]),o.useEffect(()=>{if(!l&&b)try{y(!1)}catch{}},[l,b]),o.useEffect(()=>{if(!b)return;const N=k=>{const B=h.current;if(!B)return;const E=k.target;E&&!B.contains(E)&&y(!1)};return document.addEventListener("pointerdown",N,!0),()=>document.removeEventListener("pointerdown",N,!0)},[b]);const _=o.useCallback(()=>{l&&y(!0)},[l]),f=o.useCallback(()=>{l&&y(!1)},[l]),A=o.useCallback(()=>y(!1),[]),x=o.useCallback(N=>{if(N.key==="Escape"){y(!1);return}(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),y(k=>!k))},[]);return t.jsxs("span",{ref:h,className:"category-icon__wrap",onPointerEnter:_,onPointerLeave:f,onFocus:_,onBlur:f,onKeyDown:x,role:"button",tabIndex:0,"aria-label":typeof v=="string"?d("common.descriptionFor",{name:v,defaultValue:`${v} \uC124\uBA85`}):void 0,"aria-haspopup":!!v,"aria-expanded":b,"data-tooltip-ignore":!0,children:[t.jsx(Ye,{icon:e,label:n,className:p,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:g,size:m}),b&&v&&t.jsx(bn,{anchorRect:w,text:typeof v=="string"?v:void 0,offset:8,onClose:A,className:"category-icon__tooltip",ariaLabel:typeof v=="string"?v:void 0})]})}let jn=null;function Qa(e){if(jn&&jn!==e)try{jn()}catch{}return jn=e,()=>{jn===e&&(jn=null)}}function er(e){if(jn===e){jn=null;try{e()}catch{}}}function N4(e,n){if(!e)return{previewCodes:[],previewBucket:null};const a=e,r=l=>l.map(u=>u?.contextCode||u?.context_code).filter(Boolean).map(String);if(n==="LISTEN_IN_NOISE"){const l=a.sentences||a.items||[],u=Array.isArray(l)&&l.length>0?r(l):[];return u.length===0&&(a.contextCode||a.context_code)&&u.push(String(a.contextCode||a.context_code)),{previewCodes:u,previewBucket:"LIN_D"}}if(n==="SHORT_STORY"){const l=a.items||a.sentences||[],u=Array.isArray(l)&&l.length>0?r(l):[];return u.length===0&&(a.contextCode||a.context_code)&&u.push(String(a.contextCode||a.context_code)),{previewCodes:u,previewBucket:"SHORT_S"}}if(n==="LONG_STORY"){const l=a.items||a.sentences||[],u=Array.isArray(l)&&l.length>0?r(l):[];return u.length===0&&(a.contextCode||a.context_code)&&u.push(String(a.contextCode||a.context_code)),{previewCodes:u,previewBucket:"LONG"}}if(n==="ORDERING_SENTENCE"){const l=a.sentences||a.items||[],u=Array.isArray(l)&&l.length>0?r(l):[];return u.length===0&&(a.contextCode||a.context_code)&&u.push(String(a.contextCode||a.context_code)),{previewCodes:u,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 D4(e,n){const[a,r]=o.useState(!1),[s,i]=o.useState(-1),[l,u]=o.useState({key:"",urls:[]}),d=o.useRef(null),c=o.useRef(!1),p=o.useRef(null),m=o.useRef(null),[h,b]=o.useState(!1),y=o.useRef([]),{previewCodes:g,previewBucket:v}=N4(e,n),w=`${g.join(",")}|${v??""}`,C=o.useMemo(()=>l.key===w?l.urls:[],[l,w]);o.useEffect(()=>{if(!g.length)return;let f=!1;return(async()=>{const A=[],x=[];for(const N of g)try{const k=Us(N,v);if(!k){A.push("");continue}let B=null;try{B=await Gs(k)}catch{}if(!B)try{const E=await Ks(k);E&&(B=URL.createObjectURL(E),x.push(B))}catch{}A.push(B??"")}catch{A.push("")}f?x.forEach(N=>{try{URL.revokeObjectURL(N)}catch{}}):(y.current.forEach(N=>{try{URL.revokeObjectURL(N)}catch{}}),y.current=x,u({key:w,urls:A}))})(),()=>{f=!0}},[g.join(","),v]),o.useEffect(()=>()=>{y.current.forEach(f=>{try{URL.revokeObjectURL(f)}catch{}}),y.current=[]},[]);const _=o.useCallback(async f=>{if(f.stopPropagation(),f.preventDefault(),c.current){p.current&&er(p.current),c.current=!1;try{d.current?.pause()}catch{}r(!1),i(-1);return}if(!C.filter(Boolean).length)return;let A=null;const x=()=>{c.current=!1;try{d.current?.pause()}catch{}A?.()};p.current=x;const N=Qa(x);c.current=!0,r(!0);for(let k=0;k<C.length&&c.current;k++){const B=C[k];if(B){i(k);try{await new Promise((E,j)=>{A=E;const V=new Audio(B);d.current=V,V.onended=()=>E(),V.onerror=()=>j(),V.play().catch(j)})}catch{break}}}N(),p.current===x&&(p.current=null,c.current=!1,r(!1),i(-1))},[C]);return o.useEffect(()=>()=>{p.current&&er(p.current),c.current=!1;try{d.current?.pause()}catch{}d.current=null},[]),{playing:a,playingIndex:s,previewUrls:C,previewHover:h,setPreviewHover:b,previewBtnRef:m,handlePreview:_}}const E4=e=>{if(!e)return[];const n=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(n)return[String(n)];const a=e.sentences||e.items||e.questions||[];return Array.isArray(a)&&a.length>0?a.map(r=>{if(typeof r=="string")return r;if(r&&typeof r=="object"){const 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 po(e){const{index:n,type:a,trainingData:r,ariaLabel:s,depth:i,renderPopup:l,completed:u,completedIds:d,selectedIds:c,tooltipText:p,useDescriptionTooltip:m=!1,onRemove:h,hideCheckBadge:b=!1,showTypeLabel:y=!1,onComplete:g,onSelect:v,onMore:w,countLabelOverride:C,size:_="square"}=e||{},{t:f}=ye.useTranslation(),[A,x]=o.useState(!1),N=o.useRef(null),[k,B]=o.useState(!1);o.useEffect(()=>{N.current?.matches(":hover")&&B(!0)},[]);const{playing:E,playingIndex:j,previewUrls:V,previewHover:$,setPreviewHover:U,previewBtnRef:S,handlePreview:L}=D4(r,a?.key),H=o.useCallback(()=>{v?v():x(!0)},[v]),X=o.useCallback(()=>x(!1),[]),ne=o.useCallback(()=>B(!0),[]),q=o.useCallback(()=>B(!1),[]),G=o.useCallback(()=>U(!0),[U]),P=o.useCallback(()=>U(!1),[U]),[I,D]=o.useState(null);o.useLayoutEffect(()=>{$&&D(S.current?.getBoundingClientRect()??null)},[$,S]);const[z,M]=o.useState(null);o.useLayoutEffect(()=>{k&&!A&&m&&M(N.current?.getBoundingClientRect()??null)},[k,A,m]);const F=o.useCallback(Be=>{Be.target===Be.currentTarget&&(Be.key==="Enter"||Be.key===" ")&&(Be.preventDefault(),H())},[H]),R=r||null,K=o.useMemo(()=>{if(!m)return null;const Be=p?(Array.isArray(p)?p:[p]).filter(Boolean):null,nt=Be&&Be.length>0?Be:E4(R);return nt&&nt.length>0?nt:null},[m,p,R]),ae=o.useCallback(Be=>{Be.stopPropagation(),h?.()},[h]),Q=o.useCallback(Be=>Be.stopPropagation(),[]),re=o.useCallback(Be=>{typeof g=="function"&&g(Be)},[g]),ce=u||(d&&r?.id!=null?d.has(String(r.id)):!1),ue=!ce&&(c!=null&&r?.id!=null?c.has(String(r.id)):!1);al("speechear.popup.close",X);const be=hi(),W=`${a?.label||""} ${n+1}`,te=R?.title||R?.name||W;let oe=a?.icon,_e,he="",le="";try{const Be=R?.category_0||R?.category_main_code||R?.category_main,nt=R?.category_1||R?.category_sub_code||R?.category_sub,J=be.find(se=>se.key===Be);J?.icon&&(oe=J.icon),!_e&&J?.color&&(_e={"--t-item-fg":J.color}),!_e&&R?.iconColor&&(_e={"--t-item-fg":R.iconColor}),he=J?f(`topic.${J.key}`,{defaultValue:J.label||""}):"";try{const se=J?.subs?.find(de=>de.key===nt);le=se?f(`topic.sub.${se.key}`,{defaultValue:se.label||""}):""}catch{}}catch{}const ge=le?`${he} / ${le}`:he||a?.label||te,Ce=Be=>f("training.countQuestions",{n:Be}),ve=Be=>f("training.countSentences",{n:Be});let Le="";try{if(R)if(a?.key==="LISTEN_IN_NOISE"){let Be=0;Array.isArray(R.items)&&R.items.length>0?Be=R.items.length:Array.isArray(R.sentences)&&R.sentences.length>0?Be=R.sentences.length:R.sentences&&(Be=1),Le=ve(Be)}else if(a?.key==="SHORT_STORY"){let Be=1;Array.isArray(r?.items)?Be=r.items.length:Array.isArray(r?.raw&&r.raw?.items)?Be=r.raw.items.length:Array.isArray(R?.questions)?Be=R.questions.length:Array.isArray(R?.sentences)&&(Be=R.sentences.length),Le=Ce(Be)}else if(a?.key==="LONG_STORY"){let Be=1;if(Array.isArray(R.items)&&R.items.length>0){const nt=R.items.reduce((J,se)=>{const de=se.questionItems;return Array.isArray(de)?J+de.length:Array.isArray(se.questions)?J+se.questions.length:J},0);Be=nt>0?nt:R.items.length}else Array.isArray(R.questions)&&R.questions.length>0?Be=R.questions.length:Array.isArray(R.sentences)&&R.sentences.length>0&&(Be=R.sentences.length);Le=Ce(Be)}else if(a?.key==="ORDERING_SENTENCE"){let Be=1;Array.isArray(R.items)&&R.items.length>0?Be=R.items.length:Array.isArray(R.sentences)&&R.sentences.length>0&&(Be=R.sentences.length),Le=ve(Be)}else Array.isArray(R.items)&&(Le=R.items.length>0?Ce(R.items.length):"")}catch{}const je=_==="row",Qe=_==="list"||je,Ue=_==="compact",He=_==="small",Fe=He&&a?.key?qC().find(Be=>Be.key===a.key):void 0,ot=Fe?Ci[Fe.key]:void 0,Ze=Fe?ot?f(`trainingType.${ot}.title`,{defaultValue:Fe.label}):Fe.label??"":"",Xe=y&&a?.label&&a.label!==String(te)?String(a.label):He&&Ze&&Ze!==String(te)?Ze:"",st=!!Xe,De=C!==void 0?C:Le,$e=[Xe,typeof te=="string"?te:"",De].map(Be=>String(Be??"").trim()).filter(Boolean).join(" ");return t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:N,className:`training-block-button${Qe?" training-block-button--list":""}${je?" training-block-button--row":""}${Ue?" training-block-button--compact":""}${He?" training-block-button--small":""}${ce?" training-block-button--completed":""}${ue?" training-block-button--selected":""}${st&&!He?" training-block-button--withType":""}${He&&!st?" training-block-button--no-type-label":""}`,onClick:H,onPointerEnter:ne,onPointerLeave:q,role:"button",tabIndex:0,onKeyDown:F,"aria-label":typeof s=="string"?s:$e||void 0,title:!m&&p&&(Array.isArray(p)?p.filter(Boolean).join(`
853
- `):p)||void 0,children:[t.jsxs("div",{className:"training-block-button__left",children:[y&&a?.label&&a.label!==String(te)&&t.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),He&&Ze&&Ze!==String(te)&&t.jsx("span",{className:"training-block-button__type-label caption-2",children:Ze}),t.jsx(Ll,{icon:oe,label:te,tooltip:ge,wrapperStyle:_e,iconSize:He||Ue?"small":"medium"}),!b&&(ce||ue)&&!(h&&k)&&t.jsx(yt,{className:h?"training-block-button__check--removable":void 0,type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":ce?f("training.completed","\uD6C8\uB828 \uC644\uB8CC"):f("training.selected","\uC120\uD0DD\uB428")}),h&&t.jsx(yt,{className:`training-block-button__remove${k?" is-hover":""}`,type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":f("common.remove","\uC81C\uAC70"),onClick:ae}),t.jsx("div",{className:`training-block-button__title ${Ue?"body-3":He?"body-3b":"h3"}`,children:String(te)}),t.jsxs("div",{className:"training-block-button__description",children:[De?t.jsx("div",{className:`training-block-button__count ${He?"caption-2":"caption-1"}`,children:De}):null,t.jsx("div",{className:"training-block-button__chevron",children:t.jsx(Ye,{icon:"chevron-right",label:f("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:He?12:20})})]}),(Qe&&!je||He)&&V.length>0&&t.jsx("div",{ref:S,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:Q,onPointerEnter:G,onPointerLeave:P,children:t.jsx(pe,{htmlType:"button",size:He?28:32,type:"dot",icon:E?"pause":"play",variant:He?"transparent-lightGray":"default",useBorder:!1,selected:E,ariaLabel:String(te).trim()?E?f("training.stopFor",{name:te,defaultValue:`${te} \uC815\uC9C0`}):f("training.previewFor",{name:te,defaultValue:`${te} \uBBF8\uB9AC \uB4E3\uAE30`}):E?f("training.stop","\uC815\uC9C0"):f("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:L})})]}),w&&t.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:Be=>{Be.stopPropagation(),w(Be)},children:t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:String(te).trim()?f("common.moreFor",{name:te}):f("common.more","\uB354\uBCF4\uAE30")})})]}),$&&t.jsx(bn,{anchorRect:I,text:E?f("training.stop","\uC815\uC9C0"):f("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:P}),k&&!A&&m&&(K?t.jsx(Vn,{anchorRect:z,items:K,activeIndex:j,onClose:q}):R?.subTitle?t.jsx(bn,{anchorRect:z,text:R.subTitle,offset:8,onClose:q}):null),A&&l&&l({trainingData:R,typeKey:a?.key??"",onClose:X,onComplete:re,popupTitle:String(te),popupSubTitle:a?.subTitle,depth:i!=null?String(i):void 0,popupIcon:oe,popupIconTooltip:String(ge),popupWrapperStyle:_e})]})}const $l=200;function S4(e){return e.itemId?(ZC()[e.trainingType]??[]).find(n=>n?.id!=null&&String(n.id)===String(e.itemId))??null:null}function Rl({plan:e,anchorRect:n,offset:a=12,onClose:r}){const{t:s}=ye.useTranslation(),i=o.useMemo(()=>JC(s).map(u=>({type:u,items:(e.items??[]).filter(d=>d.trainingType===u.key)})).filter(u=>u.items.length>0),[e.items,s]);if(i.length===0)return null;const l=t.jsx("div",{className:"tooltip-training__box",children:t.jsx("div",{className:"tooltip-training__groups",children:i.flatMap(({type:u,items:d},c)=>[c>0?t.jsx("div",{className:"tooltip-training__divider"},`div-${u.key}`):null,t.jsxs("div",{className:"tooltip-training__section",children:[t.jsx("div",{className:"tooltip-training__section-header",children:t.jsx("span",{className:"tooltip-training__type-label body-3b",children:u.label})}),t.jsx("div",{className:"tooltip-training__items",children:d.map((p,m)=>{const h=S4(p);return h?t.jsx(po,{index:m,type:u,trainingData:h,size:"compact",hideCheckBadge:!0},p.itemId??m):null})})]},u.key)])})});return n?t.jsx(on,{anchorRect:n,offset:a,onClose:r,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:s("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:l}):l}const j4=200;function T4({icon:e,count:n,title:a,plan:r,tooltip:s=!0,className:i="",onClick:l,onMouseEnter:u,onMouseLeave:d}){const c=ke("count-tile",l&&"count-tile--clickable",i),p=o.useRef(null),[m,h]=o.useState(null),b=o.useRef(null),y=o.useRef(null),g=!!(m&&r&&s),v=o.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),y.current&&(clearTimeout(y.current),y.current=null)},[]),w=o.useCallback(()=>{v(),h(null)},[v]),C=o.useCallback(()=>{!s||!r||(v(),b.current=setTimeout(()=>{b.current=null,h(p.current?.getBoundingClientRect()??null)},$l))},[s,r,v]),_=o.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),!y.current&&(y.current=setTimeout(()=>{y.current=null,h(null)},j4))},[]);return o.useEffect(()=>()=>{v()},[v]),o.useEffect(()=>{(!s||!r)&&w()},[s,r,w]),o.useEffect(()=>{if(!g)return;const f=x=>x instanceof Element&&(p.current?.contains(x)||!!x.closest(".tooltip-training")),A=x=>{f(x.target)?v():_()};return document.addEventListener("pointerover",A,!0),()=>document.removeEventListener("pointerover",A,!0)},[g,v,_]),t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:p,className:c,onClick:l?f=>{w(),l(f)}:void 0,onKeyDown:l?f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),f.currentTarget.click())}:void 0,onPointerEnter:f=>{f.pointerType==="touch"||f.pointerType==="pen"?w():C()},onMouseEnter:u,onMouseLeave:f=>{_(),d?.(f)},role:l?"button":"img",tabIndex:l?0:void 0,"aria-label":`${a} ${n}`,children:[t.jsx(Ye,{icon:e,size:20,className:"count-tile__icon"}),t.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:n})]}),m&&r&&t.jsx(Rl,{plan:r,anchorRect:m,onClose:w})]})}let Sa=0,Pl="",mo="",ja=0;function Fl(){return Il(!1)}function M4(){return Il(!0)}function Il(e){const n=typeof document<"u";Sa===0&&n&&(Pl=document.body.style.overflow,document.body.style.overflow="hidden"),e&&n&&(ja===0&&(mo=document.body.style.paddingRight),ja++,document.body.style.paddingRight="0px"),Sa++;let a=!1;return()=>{a||(a=!0,Sa=Math.max(0,Sa-1),e&&n&&(ja=Math.max(0,ja-1),ja===0&&(mo?document.body.style.paddingRight=mo:document.body.style.removeProperty("padding-right"))),Sa===0&&n&&(document.body.style.overflow=Pl))}}function L4(){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function $4({open:e,onClose:n,ariaLabel:a,title:r,children:s,size:i="md",closeOnBackdrop:l=!0,closeOnEscape:u=!0,showClose:d=!0,className:c,contentClassName:p}){const{t:m}=ye.useTranslation(),h=o.useId(),b=o.useRef(null),y=o.useCallback(()=>n(),[n]);o.useEffect(()=>{if(!e)return;const C=document.activeElement,_=Fl(),f=b.current;return Kr(f,C),f?.focus(),()=>{_();const A=document.activeElement;(!A||A===document.body||f&&f.contains(A))&&Yr(C)?.focus?.()}},[e]);const g=o.useRef(y),v=o.useRef(u);o.useEffect(()=>{g.current=y,v.current=u}),o.useEffect(()=>{if(e)return zn(()=>{v.current&&g.current()})},[e]);const w=o.useRef(!1);return Ur(b,e),!e||typeof document>"u"?null:Jt.createPortal(t.jsx("div",{className:ke("dialog",c),onPointerDown:l?C=>{w.current=C.target===C.currentTarget}:void 0,onMouseDown:C=>{C.target===C.currentTarget&&C.preventDefault()},onClick:l?C=>{const _=w.current;w.current=!1,_&&C.target===C.currentTarget&&y()}:void 0,children:t.jsxs("div",{ref:b,role:"dialog","aria-modal":"true","aria-label":r?void 0:a,"aria-labelledby":r?h:void 0,tabIndex:-1,className:ke("dialog__surface",`dialog__surface--${i}`,p),onClick:C=>C.stopPropagation(),children:[r?t.jsx("div",{className:"dialog__header",children:t.jsx("h2",{id:h,className:"dialog__title h4b",children:r})}):null,d?t.jsx("button",{type:"button",className:"dialog__close","aria-label":m("common.close","\uB2EB\uAE30"),onClick:y,children:t.jsx(L4,{})}):null,t.jsx("div",{className:"dialog__body",children:s})]})}),document.body)}function R4({columns:e,rows:n,rowKey:a,title:r,toolbar:s,empty:i,loading:l,caption:u,className:d=""}){const{t:c}=ye.useTranslation(),p=!l&&n.length===0;return t.jsxs("div",{className:ke("board",d),children:[r||s?t.jsxs("div",{className:"board__head",children:[r?t.jsx("h2",{className:"board__title",children:r}):t.jsx("span",{}),s?t.jsx("div",{className:"board__toolbar",children:s}):null]}):null,t.jsxs("table",{className:"board__table",children:[u?t.jsx("caption",{className:"board__caption",children:u}):null,t.jsx("thead",{children:t.jsx("tr",{children:e.map(m=>t.jsx("th",{scope:"col",className:ke("board__th",`board__cell--${m.headerAlign??m.align??"left"}`),style:m.width?{width:m.width}:void 0,children:m.header},m.key))})}),t.jsx("tbody",{children:l?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:l})}):p?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:i??c("board.empty","\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):n.map((m,h)=>t.jsx("tr",{className:"board__row",children:e.map(b=>t.jsx("td",{className:ke("board__td",`board__cell--${b.align??"left"}`),children:b.render(m,h)},b.key))},a(m,h)))})]})]})}function P4({name:e,role:n,photo:a,media:r,credentials:s,size:i=190,className:l=""}){return t.jsxs("div",{className:ke("person-card",l),children:[t.jsx("div",{className:"person-card__photo",style:{width:i,height:i},children:r??(a?t.jsx("img",{src:a,alt:n?`${e} ${n}`:e}):null)}),t.jsx("h3",{className:"person-card__name",children:e}),n?t.jsx("p",{className:"person-card__role",children:n}):null,s?.length?t.jsx("ul",{className:"person-card__credentials",children:s.map(u=>t.jsx("li",{children:u},u))}):null]})}function F4({groups:e,className:n=""}){return t.jsx("div",{className:ke("timeline",n),children:e.map(a=>t.jsxs("section",{className:"timeline__group",children:[t.jsx("h3",{className:"timeline__title",children:a.title}),t.jsx("ul",{className:"timeline__rows",children:a.entries.map((r,s)=>t.jsxs("li",{className:"timeline__row",children:[r.label?t.jsx("span",{className:"timeline__label",children:r.label}):null,t.jsx("div",{className:"timeline__items",children:r.items.map((i,l)=>t.jsx("p",{children:i},l))})]},`${r.label??""}-${s}`))})]},a.title))})}function I4({title:e,kind:n,body:a,badge:r,badgeSrc:s,footer:i,width:l,className:u=""}){const d=r??(s?t.jsx("img",{src:s,alt:""}):null);return t.jsxs("div",{className:ke("publication-card",u),style:l?{width:l,flexShrink:0}:void 0,children:[d?t.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:d}):null,t.jsx("h3",{className:"publication-card__title",children:e}),n?t.jsx("p",{className:"publication-card__kind",children:n}):null,t.jsx("p",{className:"publication-card__body",children:a}),i?t.jsx("div",{className:"publication-card__footer",children:i}):null]})}function O4({logo:e,alt:n,onDone:a,durationMs:r=3e3}){const s=xa(a);return o.useEffect(()=>{const i=setTimeout(()=>s.current?.(),r);return()=>clearTimeout(i)},[r,s]),t.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${r}ms`},"aria-hidden":"true",children:t.jsx("img",{src:e,alt:n,className:"splash-logo__image"})})}function H4({eyebrow:e,eyebrowIndex:n,title:a,description:r,level:s=2,tone:i="dark",className:l=""}){const u=s===1?"h1":"h2";return t.jsxs("div",{className:ke("section-header",`section-header--${i}`,l),children:[e?t.jsxs("p",{className:"section-header__eyebrow",children:[n?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"section-header__index",children:n}),t.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?t.jsx(u,{className:"section-header__title",children:a}):null,r?t.jsx("div",{className:"section-header__description",children:r}):null]})}function z4({items:e,className:n=""}){return t.jsx("ul",{className:ke("company-meta",n),children:e.map((a,r)=>t.jsxs("li",{className:"company-meta__item",children:[r>0?t.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function Ol(e){return typeof e=="string"?e:e.label}function Hl({value:e,onChange:n,suggestions:a,openOnFocus:r=!1,filterSuggestions:s,onSelectSuggestion:i,autoActiveFirst:l=!1}){const u=o.useId(),[d,c]=o.useState(!1),[p,m]=o.useState(-1),h=o.useRef(null),b=o.useMemo(()=>{if(!a.length)return[];const j=e??"";return s===!1?a:j?typeof s=="function"?s(a,j):a.filter(V=>Ol(V).toLowerCase().includes(j.toLowerCase())):r?a:[]},[a,e,r,s]),[y,g]=o.useState(!1),v=o.useRef([]),w=y&&b.length===0?v.current:b;o.useEffect(()=>{w.length&&(v.current=w)},[w]);const C=o.useCallback(()=>g(!0),[]),_=o.useCallback(()=>g(!1),[]),f=l?0:-1;o.useEffect(()=>{d||m(f)},[d,f]),o.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const A=p<w.length?p:f<w.length?f:-1,x=o.useCallback(j=>{i?i(j):n?.(Ol(j)),c(!1)},[n,i]),N=o.useCallback(()=>c(!0),[]),k=o.useCallback(()=>{c(!0),m(f)},[f]),B=o.useCallback(()=>{h.current=setTimeout(()=>c(!1),120)},[]),E=o.useCallback(j=>{j.nativeEvent.isComposing||j.keyCode===229||(j.key==="ArrowDown"?(j.preventDefault(),c(!0),m(V=>Math.min(w.length-1,(V<w.length?V:f)+1))):j.key==="ArrowUp"?(j.preventDefault(),m(V=>Math.max(f,(V<w.length?V:w.length)-1))):j.key==="Enter"?A>=0&&x(w[A]):j.key==="Escape"&&d&&(j.preventDefault(),c(!1)))},[w,A,d,x,f]);return{listId:u,open:d,activeIdx:A,filtered:w,handleFocus:N,handleBlur:B,handleInput:k,handleKeyDown:E,handleSelect:x,handleCompositionStart:C,handleCompositionEnd:_}}const ho=typeof window<"u"?o.useLayoutEffect:o.useEffect;function Un(e){const{value:n,defaultValue:a,name:r,inputRef:s,onChange:i,label:l,ariaLabel:u,ariaDescribedBy:d,required:c,placeholder:p,ghostText:m,ghostHint:h,type:b="text",disabled:y=!1,readOnly:g=!1,error:v,helperText:w,maxLength:C,size:_=48,variant:f="input",fullWidth:A=!1,newline:x=!1,multiline:N=!1,rows:k=3,leftIcon:B,rightIcon:E,clearable:j=!1,list:V,showCount:$=!0,className:U="",onFocus:S,onBlur:L,onKeyDown:H,onEnter:X,inputMode:ne,autoComplete:q,autoFocus:G,suggestions:P,filterSuggestions:I,onSelectSuggestion:D,autoActiveFirst:z,openOnFocus:M=!1}=e,F=g||y?void 0:P,{t:R}=ye.useTranslation(),K=o.useId();!l&&!u&&an(`TextField:unnamed:${K}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const ae=`tf-${K}`,Q=`tf-helper-${K}`,re=o.useRef(null),ce=Hl({value:n??"",onChange:i,suggestions:F??[],openOnFocus:M,filterSuggestions:I,onSelectSuggestion:D,autoActiveFirst:z}),ue=!!F&&ce.open&&ce.filtered.length>0,be=o.useRef(null),[W,te]=o.useState(null),oe=o.useCallback(()=>{const De=be.current;if(!De||typeof window>"u")return;const $e=De.getBoundingClientRect(),Be=230,nt=window.innerHeight-$e.bottom<Be+8&&$e.top>Be+8;te({position:"fixed",left:$e.left,width:$e.width,...nt?{bottom:window.innerHeight-$e.top+8}:{top:$e.bottom+8},zIndex:Aa(De)})},[]);ho(()=>{if(!ue)return;oe();const De=$e=>{const Be=$e.target;Be&&Be.nodeType===1&&Be.closest?.(".text-field__suggestions")||oe()};return window.addEventListener("scroll",De,!0),window.addEventListener("resize",oe),()=>{window.removeEventListener("scroll",De,!0),window.removeEventListener("resize",oe)}},[ue,oe]);const _e=o.useCallback(De=>{re.current=De,typeof s=="function"?s(De):s&&(s.current=De)},[s]),he=m?`${m}${h??R("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)")}`:p,le=n!==void 0,ge=le&&b==="password",[Ce,ve]=o.useState((a??"").length),Le=le?(n??"").length:Ce,je=o.useRef(n);ho(()=>{je.current=n}),o.useEffect(()=>{const De=re.current;if(!ge||!De)return;const $e=n??"";De.value!==$e&&(De.value=$e)},[ge,n]),o.useEffect(()=>{if(!x||!re.current)return;const De=re.current;De.style.height="",De.scrollHeight>De.clientHeight&&(De.style.height=`${De.scrollHeight}px`)},[n,Ce,x]);const Qe=C!=null&&Le>C,Ue=_===32?16:20,He=ke("text-field",`text-field--s${_}`,f==="display"?"text-field--display":"",A?"text-field--full-width":"",y?"text-field--disabled":"",g?"text-field--readonly":"",v?"text-field--error":"",B?"text-field--has-left-icon":"",E||j?"text-field--has-right-icon":"",U),Fe={id:ae,...ge?{}:le?{value:n}:{defaultValue:a},ref:_e,placeholder:he,name:r,disabled:y,readOnly:g,autoFocus:G,maxLength:C,list:V,inputMode:ne,autoComplete:q,"aria-label":!l&&u?u:void 0,"aria-required":c,"aria-invalid":!!v,"aria-describedby":[w||v?Q:null,d].filter(Boolean).join(" ")||void 0,role:F?"combobox":void 0,"aria-autocomplete":F?"list":void 0,"aria-haspopup":F?"listbox":void 0,"aria-expanded":F?ue:void 0,"aria-controls":ue?ce.listId:void 0,"aria-activedescendant":ue&&ce.activeIdx>=0?`${ce.listId}-option-${ce.activeIdx}`:void 0,onChange:De=>{const $e=De.target;le||ve($e.value.length),i?.($e.value),F&&ce.handleInput(),ge&&queueMicrotask(()=>{const Be=je.current??"";$e.value!==Be&&($e.value=Be)})},onCompositionStart:F?ce.handleCompositionStart:void 0,onCompositionEnd:F?ce.handleCompositionEnd:void 0,onFocus:(De=>{S?.(De),F&&ce.handleFocus()}),onBlur:(De=>{L?.(De),F&&ce.handleBlur()}),onKeyDown:(De=>{const $e=(De.key==="Tab"&&!De.shiftKey||De.key===" ")&&!De.nativeEvent.isComposing;if(m&&$e&&!g&&!y&&!(De.currentTarget.value??"").trim()){De.preventDefault();const Be=De.currentTarget;le||(Be.value=m,ve(m.length)),i?.(m);return}F&&De.key==="Enter"&&!De.nativeEvent.isComposing&&ce.activeIdx>=0?De.preventDefault():X&&De.key==="Enter"&&!De.nativeEvent.isComposing&&(De.preventDefault(),X()),H?.(De),F&&ce.handleKeyDown(De)})},ot=j&&!y&&!g&&Le>0,Ze=()=>x?t.jsx("textarea",{...Fe,className:"text-field__input text-field__input--auto body-2",rows:1}):N?t.jsx("textarea",{...Fe,className:"text-field__input text-field__input--textarea body-2",rows:k}):t.jsx("input",{...Fe,type:b,className:"text-field__input body-2"}),Xe=f==="display"&&!x&&!N&&!!he,st=()=>t.jsxs(t.Fragment,{children:[Ze(),Xe&&t.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:he})]});return t.jsxs("div",{ref:be,className:He,children:[l&&t.jsxs("label",{htmlFor:ae,className:"text-field__label caption-1",children:[l,c&&t.jsx("span",{className:"text-field__required",children:"*"})]}),t.jsxs("div",{className:"text-field__wrap",children:[B&&t.jsx("span",{className:"text-field__icon text-field__icon--left",children:t.jsx(Ye,{icon:B,label:"",className:"",svgClassName:"text-field__icon-svg",size:Ue})}),st(),C!=null&&$&&t.jsxs("span",{className:`text-field__count caption-2${Qe?" text-field__count--over":""}`,children:[Le,"/",C]}),ot&&t.jsx(pe,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:R("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:De=>{De.preventDefault()},onClick:()=>{!le&&re.current&&(re.current.value="",ve(0)),i?.("")},tabIndex:-1}),E&&!ot&&t.jsx("span",{className:"text-field__icon text-field__icon--right",children:t.jsx(Ye,{icon:E,label:"",className:"",svgClassName:"text-field__icon-svg",size:Ue})})]}),!!F&&t.jsx("span",{className:"text-field__status",role:"status","aria-live":"polite",children:ce.open&&(n??"").length>0&&ce.filtered.length===0?R("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"):""}),ue&&(typeof document>"u"?null:Jt.createPortal(t.jsx("ul",{id:ce.listId,className:"text-field__suggestions",role:"listbox",style:W??{position:"fixed",visibility:"hidden"},"data-tooltip-ignore":!0,children:ce.filtered.map((De,$e)=>t.jsx("li",{id:`${ce.listId}-option-${$e}`,role:"option","aria-selected":$e===ce.activeIdx,className:`text-field__suggestion body-2${$e===ce.activeIdx?" is-active":""}`,onMouseDown:Be=>Be.preventDefault(),onClick:()=>{ce.handleSelect(De),re.current?.focus()},children:typeof De=="string"?De:t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-field__suggestion-label",children:De.label}),De.hint&&t.jsx("span",{className:"text-field__suggestion-hint caption-1",children:De.hint})]})},typeof De=="string"?`${De}-${$e}`:De.id))}),document.body)),(w||v)&&t.jsx("div",{className:"text-field__footer",children:t.jsx("span",{id:Q,className:"text-field__helper caption-1",role:v?"alert":void 0,children:v||w})})]})}function ln({options:e,value:n,onChange:a,placeholder:r,disabled:s=!1,block:i=!1,size:l=48,error:u=!1,className:d="",ariaLabel:c,ariaDescribedBy:p}){const{t:m}=ye.useTranslation(),h=r??m("dropdown.placeholder","\uC120\uD0DD"),b=o.useId(),y=o.useId(),g=o.useRef(null),v=o.useCallback((S,L)=>{const H=window.innerHeight-S.bottom<260&&S.top>260;return{position:"fixed",left:S.left,minWidth:S.width,...H?{bottom:window.innerHeight-S.top+6}:{top:S.bottom+6},zIndex:Aa(L)}},[]),{open:w,setOpen:C,toggle:_,style:f,triggerRef:A,menuRef:x}=Ba({computeStyle:v}),[N,k]=o.useState(-1),B=o.useCallback(()=>k(-1),[]),E=e.find(S=>S.value===n);o.useEffect(()=>{if(w){const S=e.findIndex(L=>L.value===n);k(S>=0?S:e.length?0:-1),requestAnimationFrame(()=>{const L=x.current;if(!L)return;const H=L.querySelectorAll(".dropdown__option")[S];H&&(L.scrollTop=Math.max(0,H.offsetTop-L.clientHeight/2+H.clientHeight/2))})}},[w]),o.useEffect(()=>{w&&k(S=>{if(S>=0&&S<e.length)return S;const L=e.findIndex(H=>H.value===n);return L>=0?L:e.length?0:-1})},[w,e.length]);const j=o.useCallback(()=>{s||_()},[s,_]),V=o.useCallback(S=>{S.disabled||s||(S.value!==n&&a?.(S.value),C(!1))},[a,C,s,n]);o.useEffect(()=>{s&&C(!1)},[s,C]);const $=o.useCallback(S=>{if(!s){if(!w){(S.key==="Enter"||S.key===" "||S.key==="ArrowDown")&&(S.preventDefault(),C(!0));return}if(S.key==="Escape"){S.preventDefault(),C(!1);return}S.key==="ArrowDown"?(S.preventDefault(),k(L=>{let H=L+1;for(;H<e.length&&e[H].disabled;)H++;return H<e.length?H:L})):S.key==="ArrowUp"?(S.preventDefault(),k(L=>{let H=L-1;for(;H>=0&&e[H].disabled;)H--;return H>=0?H:L})):(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),e[N]?V(e[N]):C(!1))}},[s,w,e,N,V,C]),U=w?t.jsx("div",{ref:x,id:b,className:"dropdown__menu","data-tooltip-ignore":!0,role:"listbox",style:f,onMouseLeave:B,onMouseDown:S=>S.preventDefault(),children:e.map((S,L)=>t.jsxs("button",{id:`${b}-option-${L}`,type:"button",role:"option","aria-selected":S.value===n,className:ke("dropdown__option body-2",S.value===n?"dropdown__option--active":"",L===N?"dropdown__option--active":"",S.disabled?"dropdown__option--disabled":""),onMouseDown:H=>H.preventDefault(),onClick:()=>V(S),onMouseEnter:()=>k(L),disabled:S.disabled,children:[t.jsx("span",{className:"dropdown__option-check",children:S.value===n&&t.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),S.label]},S.value))}):null;return t.jsxs("div",{ref:g,className:ke("dropdown",`dropdown--s${l}`,w?"dropdown--open":"",i?"dropdown--block":"",u?"dropdown--error":"",d),onKeyDown:$,children:[t.jsxs("button",{ref:A,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":w,"aria-controls":w?b:void 0,"aria-activedescendant":w&&N>=0?`${b}-option-${N}`:void 0,"aria-label":c,"aria-describedby":[c&&E?y:"",p??""].filter(Boolean).join(" ")||void 0,"aria-invalid":u||void 0,disabled:s,onClick:j,onBlur:S=>{w&&!x.current?.contains(S.relatedTarget)&&C(!1)},children:[t.jsx("span",{id:y,className:`dropdown__trigger-label body-2${E?"":" dropdown__trigger-label--placeholder"}`,children:E?E.label:h}),t.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&Jt.createPortal(U,g.current?.closest(".ihabdevteam-core-scope")??document.body)]})}function tr({page:e,totalPages:n,onChange:a,prevLabel:r,nextLabel:s,className:i=""}){const{t:l}=ye.useTranslation(),u=r??l("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),d=s??l("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),c=Math.max(1,n),p=()=>a(Math.max(1,Math.min(c,e-1))),m=()=>a(Math.min(c,e+1));return t.jsxs("div",{className:ke("pagination",i),children:[t.jsx(pe,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:u,disabled:e<=1,onClick:p}),t.jsxs("span",{className:"pagination__info body-3","aria-live":"polite","aria-atomic":"true",children:[Math.min(Math.max(1,e),c)," / ",c]}),t.jsx(pe,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:d,disabled:e>=n,onClick:m})]})}const Ta=new Map;function _n(e){const{t:n}=ye.useTranslation(),{options:a=[],value:r=a.find(f=>!f.disabled)?.key??a[0]?.key,onChange:s=f=>{},className:i="",size:l=40,shape:u="pill",useBG:d=!0,fullWidth:c=!1,minButtonWidth:p,ariaLabel:m}=e||{},h=o.useRef(null),b=a.filter(f=>!f.disabled),y=o.useId(),g=a.map(f=>f.key).join("\xB7");o.useEffect(()=>{if(!(!xr||m!=null&&m!=="")){if(Ta.set(y,g||"(\uBCF4\uAE30 \uC5C6\uC74C)"),Ta.size>1){const f=[...Ta.values()].sort();an(`segmented-control-unnamed:${f.join("|")}`,`[ihab/SegmentedControl] \uC774\uB984 \uC5C6\uB294 \uB77C\uB514\uC624\uADF8\uB8F9\uC774 \uD55C \uD654\uBA74\uC5D0 ${Ta.size} \uAC1C \uC11C \uC788\uC2B5\uB2C8\uB2E4 \u2014 \uB0AD\uB3C5\uAE30\uB294 \uBAA8\uB450 "\uC120\uD0DD \uD0ED" \uC73C\uB85C \uC77D\uC5B4 \uC5B4\uB290 \uAC83\uC774 \uBB34\uC5C7\uC778\uC9C0 \uAC00\uB9B4 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ariaLabel \uC744 \uC8FC\uC138\uC694. \uC9C0\uAE08 \uC120 \uAC83(\uBCF4\uAE30 \uC774\uB984\uC73C\uB85C \uC801\uC74C): ${f.join(" / ")}`)}return()=>{Ta.delete(y)}}},[m,g,y]);const v=f=>{if(!b.length)return;const A=Math.max(0,b.findIndex(N=>N.key===r)),x=f==="first"?b[0]:f==="last"?b[b.length-1]:b[(A+f+b.length)%b.length];x&&(s(x.key),Array.from(h.current?.querySelectorAll("[data-segkey]")??[]).find(N=>N.dataset.segkey===x.key)?.focus())},w=f=>{switch(f.key){case"ArrowRight":case"ArrowDown":v(1);break;case"ArrowLeft":case"ArrowUp":v(-1);break;case"Home":v("first");break;case"End":v("last");break;default:return}f.preventDefault()},C=f=>{const A=x=>typeof x=="string"||typeof x=="number";if(!(!A(f.label)||f.count==null||f.count===!1||!A(f.count)))return`${f.label}, ${f.count}`},_=b.some(f=>f.key===r)?r:b[0]?.key;return t.jsx("div",{ref:h,onKeyDown:w,className:ke("segmented-control",`segmented-control--${u}`,`segmented-control--${l}`,c&&"segmented-control--full",!d&&"segmented-control--no-bg",p!=null&&"segmented-control--min",i),style:p!=null?{"--segmented-min-button-w":`${p}px`}:void 0,role:"radiogroup","aria-label":m??n("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(f=>t.jsx(pe,{htmlType:"button",role:"radio","aria-checked":f.key===r,"data-segkey":f.key,tabIndex:f.key===_?0:-1,label:f.label,count:f.count,ariaLabel:C(f),disabled:f.disabled,className:f.key===r?"is-selected":"",onClick:()=>{f.disabled||s(f.key)},size:l,shape:u,useBorder:!1,useBG:!1},f.key))})}function Co({count:e,search:n,segment:a,filters:r,pageSize:s,pagination:i,actions:l,className:u}){const{t:d}=ye.useTranslation(),c=e!=null&&t.jsxs("p",{className:"toolbar__count body-1",role:"status","aria-atomic":"true",children:[e.prefix??d("common.totalPrefix","\uCD1D "),t.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),p=!!(n||r?.length||s||i||l);return t.jsxs("div",{className:ke("toolbar",u),children:[t.jsxs("div",{className:"toolbar__row",children:[c,a&&(Array.isArray(a)?a:[a]).map((m,h)=>t.jsx(_n,{size:40,...m},m.ariaLabel??h))]}),p&&t.jsx("div",{className:"toolbar__row",children:t.jsxs("div",{className:"toolbar__row-end",children:[n&&t.jsx(Un,{className:"toolbar__search",size:40,value:n.value,onChange:n.onChange,placeholder:n.placeholder??d("common.search","\uAC80\uC0C9"),ariaLabel:n.placeholder??d("common.search","\uAC80\uC0C9"),autoFocus:n.autoFocus,clearable:!0}),r?.map((m,h)=>t.jsx(ln,{size:40,options:m.options,value:m.value,onChange:m.onChange,ariaLabel:m.ariaLabel},h)),(s||i)&&t.jsxs("div",{className:"toolbar__pager",children:[s&&t.jsx(ln,{size:40,options:s.options,value:s.value,onChange:s.onChange,ariaLabel:s.ariaLabel??d("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),i&&t.jsx(tr,{page:i.page,totalPages:i.total,onChange:i.onChange,prevLabel:i.prevLabel,nextLabel:i.nextLabel})]}),l]})})]})}function zl(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(zl).join(""):""}function V4(e){let n=e.replace(/\r\n/g,`
853
+ `):p)||void 0,children:[t.jsxs("div",{className:"training-block-button__left",children:[y&&a?.label&&a.label!==String(te)&&t.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),He&&Ze&&Ze!==String(te)&&t.jsx("span",{className:"training-block-button__type-label caption-2",children:Ze}),t.jsx(Ll,{icon:oe,label:te,tooltip:ge,wrapperStyle:_e,iconSize:He||Ue?"small":"medium"}),!b&&(ce||ue)&&!(h&&k)&&t.jsx(yt,{className:h?"training-block-button__check--removable":void 0,type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":ce?f("training.completed","\uD6C8\uB828 \uC644\uB8CC"):f("training.selected","\uC120\uD0DD\uB428")}),h&&t.jsx(yt,{className:`training-block-button__remove${k?" is-hover":""}`,type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":f("common.remove","\uC81C\uAC70"),onClick:ae}),t.jsx("div",{className:`training-block-button__title ${Ue?"body-3":He?"body-3b":"h3"}`,children:String(te)}),t.jsxs("div",{className:"training-block-button__description",children:[De?t.jsx("div",{className:`training-block-button__count ${He?"caption-2":"caption-1"}`,children:De}):null,t.jsx("div",{className:"training-block-button__chevron",children:t.jsx(Ye,{icon:"chevron-right",label:f("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:He?12:20})})]}),(Qe&&!je||He)&&V.length>0&&t.jsx("div",{ref:S,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:Q,onPointerEnter:G,onPointerLeave:P,children:t.jsx(pe,{htmlType:"button",size:He?28:32,type:"dot",icon:E?"pause":"play",variant:He?"transparent-lightGray":"default",useBorder:!1,selected:E,ariaLabel:String(te).trim()?E?f("training.stopFor",{name:te,defaultValue:`${te} \uC815\uC9C0`}):f("training.previewFor",{name:te,defaultValue:`${te} \uBBF8\uB9AC \uB4E3\uAE30`}):E?f("training.stop","\uC815\uC9C0"):f("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:L})})]}),w&&t.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:Be=>{Be.stopPropagation(),w(Be)},children:t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:String(te).trim()?f("common.moreFor",{name:te}):f("common.more","\uB354\uBCF4\uAE30")})})]}),$&&t.jsx(bn,{anchorRect:I,text:E?f("training.stop","\uC815\uC9C0"):f("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:P}),k&&!A&&m&&(K?t.jsx(Vn,{anchorRect:z,items:K,activeIndex:j,onClose:q}):R?.subTitle?t.jsx(bn,{anchorRect:z,text:R.subTitle,offset:8,onClose:q}):null),A&&l&&l({trainingData:R,typeKey:a?.key??"",onClose:X,onComplete:re,popupTitle:String(te),popupSubTitle:a?.subTitle,depth:i!=null?String(i):void 0,popupIcon:oe,popupIconTooltip:String(ge),popupWrapperStyle:_e})]})}const $l=200;function S4(e){return e.itemId?(ZC()[e.trainingType]??[]).find(n=>n?.id!=null&&String(n.id)===String(e.itemId))??null:null}function Rl({plan:e,anchorRect:n,offset:a=12,onClose:r}){const{t:s}=ye.useTranslation(),i=o.useMemo(()=>JC(s).map(u=>({type:u,items:(e.items??[]).filter(d=>d.trainingType===u.key)})).filter(u=>u.items.length>0),[e.items,s]);if(i.length===0)return null;const l=t.jsx("div",{className:"tooltip-training__box",children:t.jsx("div",{className:"tooltip-training__groups",children:i.flatMap(({type:u,items:d},c)=>[c>0?t.jsx("div",{className:"tooltip-training__divider"},`div-${u.key}`):null,t.jsxs("div",{className:"tooltip-training__section",children:[t.jsx("div",{className:"tooltip-training__section-header",children:t.jsx("span",{className:"tooltip-training__type-label body-3b",children:u.label})}),t.jsx("div",{className:"tooltip-training__items",children:d.map((p,m)=>{const h=S4(p);return h?t.jsx(po,{index:m,type:u,trainingData:h,size:"compact",hideCheckBadge:!0},p.itemId??m):null})})]},u.key)])})});return n?t.jsx(on,{anchorRect:n,offset:a,onClose:r,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:s("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:l}):l}const j4=200;function T4({icon:e,count:n,title:a,plan:r,tooltip:s=!0,className:i="",onClick:l,onMouseEnter:u,onMouseLeave:d}){const c=ke("count-tile",l&&"count-tile--clickable",i),p=o.useRef(null),[m,h]=o.useState(null),b=o.useRef(null),y=o.useRef(null),g=!!(m&&r&&s),v=o.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),y.current&&(clearTimeout(y.current),y.current=null)},[]),w=o.useCallback(()=>{v(),h(null)},[v]),C=o.useCallback(()=>{!s||!r||(v(),b.current=setTimeout(()=>{b.current=null,h(p.current?.getBoundingClientRect()??null)},$l))},[s,r,v]),_=o.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),!y.current&&(y.current=setTimeout(()=>{y.current=null,h(null)},j4))},[]);return o.useEffect(()=>()=>{v()},[v]),o.useEffect(()=>{(!s||!r)&&w()},[s,r,w]),o.useEffect(()=>{if(!g)return;const f=x=>x instanceof Element&&(p.current?.contains(x)||!!x.closest(".tooltip-training")),A=x=>{f(x.target)?v():_()};return document.addEventListener("pointerover",A,!0),()=>document.removeEventListener("pointerover",A,!0)},[g,v,_]),t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:p,className:c,onClick:l?f=>{w(),l(f)}:void 0,onKeyDown:l?f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),f.currentTarget.click())}:void 0,onPointerEnter:f=>{f.pointerType==="touch"||f.pointerType==="pen"?w():C()},onMouseEnter:u,onMouseLeave:f=>{_(),d?.(f)},role:l?"button":"img",tabIndex:l?0:void 0,"aria-label":`${a} ${n}`,children:[t.jsx(Ye,{icon:e,size:20,className:"count-tile__icon"}),t.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:n})]}),m&&r&&t.jsx(Rl,{plan:r,anchorRect:m,onClose:w})]})}let Sa=0,Pl="",mo="",ja=0;function Fl(){return Il(!1)}function M4(){return Il(!0)}function Il(e){const n=typeof document<"u";Sa===0&&n&&(Pl=document.body.style.overflow,document.body.style.overflow="hidden"),e&&n&&(ja===0&&(mo=document.body.style.paddingRight),ja++,document.body.style.paddingRight="0px"),Sa++;let a=!1;return()=>{a||(a=!0,Sa=Math.max(0,Sa-1),e&&n&&(ja=Math.max(0,ja-1),ja===0&&(mo?document.body.style.paddingRight=mo:document.body.style.removeProperty("padding-right"))),Sa===0&&n&&(document.body.style.overflow=Pl))}}function L4(){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function $4({open:e,onClose:n,ariaLabel:a,title:r,children:s,size:i="md",closeOnBackdrop:l=!0,closeOnEscape:u=!0,showClose:d=!0,className:c,contentClassName:p}){const{t:m}=ye.useTranslation(),h=o.useId(),b=o.useRef(null),y=o.useCallback(()=>n(),[n]);o.useEffect(()=>{if(!e)return;const C=document.activeElement,_=Fl(),f=b.current;return Kr(f,C),f?.focus(),()=>{_();const A=document.activeElement;(!A||A===document.body||f&&f.contains(A))&&Yr(C)?.focus?.()}},[e]);const g=o.useRef(y),v=o.useRef(u);o.useEffect(()=>{g.current=y,v.current=u}),o.useEffect(()=>{if(e)return zn(()=>{v.current&&g.current()})},[e]);const w=o.useRef(!1);return Ur(b,e),!e||typeof document>"u"?null:Jt.createPortal(t.jsx("div",{className:ke("dialog",c),onPointerDown:l?C=>{w.current=C.target===C.currentTarget}:void 0,onMouseDown:C=>{C.target===C.currentTarget&&C.preventDefault()},onClick:l?C=>{const _=w.current;w.current=!1,_&&C.target===C.currentTarget&&y()}:void 0,children:t.jsxs("div",{ref:b,role:"dialog","aria-modal":"true","aria-label":r?void 0:a,"aria-labelledby":r?h:void 0,tabIndex:-1,className:ke("dialog__surface",`dialog__surface--${i}`,p),onClick:C=>C.stopPropagation(),children:[r?t.jsx("div",{className:"dialog__header",children:t.jsx("h2",{id:h,className:"dialog__title h4b",children:r})}):null,d?t.jsx("button",{type:"button",className:"dialog__close","aria-label":m("common.close","\uB2EB\uAE30"),onClick:y,children:t.jsx(L4,{})}):null,t.jsx("div",{className:"dialog__body",children:s})]})}),document.body)}function R4({columns:e,rows:n,rowKey:a,title:r,toolbar:s,empty:i,loading:l,caption:u,className:d=""}){const{t:c}=ye.useTranslation(),p=!l&&n.length===0;return t.jsxs("div",{className:ke("board",d),children:[r||s?t.jsxs("div",{className:"board__head",children:[r?t.jsx("h2",{className:"board__title",children:r}):t.jsx("span",{}),s?t.jsx("div",{className:"board__toolbar",children:s}):null]}):null,t.jsxs("table",{className:"board__table",children:[u?t.jsx("caption",{className:"board__caption",children:u}):null,t.jsx("thead",{children:t.jsx("tr",{children:e.map(m=>t.jsx("th",{scope:"col",className:ke("board__th",`board__cell--${m.headerAlign??m.align??"left"}`),style:m.width?{width:m.width}:void 0,children:m.header},m.key))})}),t.jsx("tbody",{children:l?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:l})}):p?t.jsx("tr",{children:t.jsx("td",{className:"board__state",colSpan:e.length,children:i??c("board.empty","\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):n.map((m,h)=>t.jsx("tr",{className:"board__row",children:e.map(b=>t.jsx("td",{className:ke("board__td",`board__cell--${b.align??"left"}`),children:b.render(m,h)},b.key))},a(m,h)))})]})]})}function P4({name:e,role:n,photo:a,media:r,credentials:s,size:i=190,className:l=""}){return t.jsxs("div",{className:ke("person-card",l),children:[t.jsx("div",{className:"person-card__photo",style:{width:i,height:i},children:r??(a?t.jsx("img",{src:a,alt:n?`${e} ${n}`:e}):null)}),t.jsx("h3",{className:"person-card__name",children:e}),n?t.jsx("p",{className:"person-card__role",children:n}):null,s?.length?t.jsx("ul",{className:"person-card__credentials",children:s.map(u=>t.jsx("li",{children:u},u))}):null]})}function F4({groups:e,className:n=""}){return t.jsx("div",{className:ke("timeline",n),children:e.map(a=>t.jsxs("section",{className:"timeline__group",children:[t.jsx("h3",{className:"timeline__title",children:a.title}),t.jsx("ul",{className:"timeline__rows",children:a.entries.map((r,s)=>t.jsxs("li",{className:"timeline__row",children:[r.label?t.jsx("span",{className:"timeline__label",children:r.label}):null,t.jsx("div",{className:"timeline__items",children:r.items.map((i,l)=>t.jsx("p",{children:i},l))})]},`${r.label??""}-${s}`))})]},a.title))})}function I4({title:e,kind:n,body:a,badge:r,badgeSrc:s,footer:i,width:l,className:u=""}){const d=r??(s?t.jsx("img",{src:s,alt:""}):null);return t.jsxs("div",{className:ke("publication-card",u),style:l?{width:l,flexShrink:0}:void 0,children:[d?t.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:d}):null,t.jsx("h3",{className:"publication-card__title",children:e}),n?t.jsx("p",{className:"publication-card__kind",children:n}):null,t.jsx("p",{className:"publication-card__body",children:a}),i?t.jsx("div",{className:"publication-card__footer",children:i}):null]})}function O4({logo:e,alt:n,onDone:a,durationMs:r=3e3}){const s=xa(a);return o.useEffect(()=>{const i=setTimeout(()=>s.current?.(),r);return()=>clearTimeout(i)},[r,s]),t.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${r}ms`},"aria-hidden":"true",children:t.jsx("img",{src:e,alt:n,className:"splash-logo__image"})})}function H4({eyebrow:e,eyebrowIndex:n,title:a,description:r,level:s=2,tone:i="dark",className:l=""}){const u=s===1?"h1":"h2";return t.jsxs("div",{className:ke("section-header",`section-header--${i}`,l),children:[e?t.jsxs("p",{className:"section-header__eyebrow",children:[n?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"section-header__index",children:n}),t.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?t.jsx(u,{className:"section-header__title",children:a}):null,r?t.jsx("div",{className:"section-header__description",children:r}):null]})}function z4({items:e,className:n=""}){return t.jsx("ul",{className:ke("company-meta",n),children:e.map((a,r)=>t.jsxs("li",{className:"company-meta__item",children:[r>0?t.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function Ol(e){return typeof e=="string"?e:e.label}function Hl({value:e,onChange:n,suggestions:a,openOnFocus:r=!1,filterSuggestions:s,onSelectSuggestion:i,autoActiveFirst:l=!1}){const u=o.useId(),[d,c]=o.useState(!1),[p,m]=o.useState(-1),h=o.useRef(null),b=o.useMemo(()=>{if(!a.length)return[];const j=e??"";return s===!1?a:j?typeof s=="function"?s(a,j):a.filter(V=>Ol(V).toLowerCase().includes(j.toLowerCase())):r?a:[]},[a,e,r,s]),[y,g]=o.useState(!1),v=o.useRef([]),w=y&&b.length===0?v.current:b;o.useEffect(()=>{w.length&&(v.current=w)},[w]);const C=o.useCallback(()=>g(!0),[]),_=o.useCallback(()=>g(!1),[]),f=l?0:-1;o.useEffect(()=>{d||m(f)},[d,f]),o.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const A=p<w.length?p:f<w.length?f:-1,x=o.useCallback(j=>{i?i(j):n?.(Ol(j)),c(!1)},[n,i]),N=o.useCallback(()=>c(!0),[]),k=o.useCallback(()=>{c(!0),m(f)},[f]),B=o.useCallback(()=>{h.current=setTimeout(()=>c(!1),120)},[]),E=o.useCallback(j=>{j.nativeEvent.isComposing||j.keyCode===229||(j.key==="ArrowDown"?(j.preventDefault(),c(!0),m(V=>Math.min(w.length-1,(V<w.length?V:f)+1))):j.key==="ArrowUp"?(j.preventDefault(),m(V=>Math.max(f,(V<w.length?V:w.length)-1))):j.key==="Enter"?A>=0&&x(w[A]):j.key==="Escape"&&d&&(j.preventDefault(),c(!1)))},[w,A,d,x,f]);return{listId:u,open:d,activeIdx:A,filtered:w,handleFocus:N,handleBlur:B,handleInput:k,handleKeyDown:E,handleSelect:x,handleCompositionStart:C,handleCompositionEnd:_}}const ho=typeof window<"u"?o.useLayoutEffect:o.useEffect;function Un(e){const{value:n,defaultValue:a,name:r,inputRef:s,onChange:i,label:l,ariaLabel:u,ariaDescribedBy:d,required:c,placeholder:p,ghostText:m,ghostHint:h,type:b="text",disabled:y=!1,readOnly:g=!1,error:v,helperText:w,maxLength:C,size:_=48,variant:f="input",fullWidth:A=!1,newline:x=!1,multiline:N=!1,rows:k=3,leftIcon:B,rightIcon:E,clearable:j=!1,list:V,showCount:$=!0,className:U="",onFocus:S,onBlur:L,onKeyDown:H,onEnter:X,inputMode:ne,autoComplete:q,autoFocus:G,suggestions:P,filterSuggestions:I,onSelectSuggestion:D,autoActiveFirst:z,openOnFocus:M=!1}=e,F=g||y?void 0:P,{t:R}=ye.useTranslation(),K=o.useId();!l&&!u&&an(`TextField:unnamed:${K}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const ae=`tf-${K}`,Q=`tf-helper-${K}`,re=o.useRef(null),ce=Hl({value:n??"",onChange:i,suggestions:F??[],openOnFocus:M,filterSuggestions:I,onSelectSuggestion:D,autoActiveFirst:z}),ue=!!F&&ce.open&&ce.filtered.length>0,be=o.useRef(null),[W,te]=o.useState(null),oe=o.useCallback(()=>{const De=be.current;if(!De||typeof window>"u")return;const $e=De.getBoundingClientRect(),Be=230,nt=window.innerHeight-$e.bottom<Be+8&&$e.top>Be+8;te({position:"fixed",left:$e.left,width:$e.width,...nt?{bottom:window.innerHeight-$e.top+8}:{top:$e.bottom+8},zIndex:Aa(De)})},[]);ho(()=>{if(!ue)return;oe();const De=$e=>{const Be=$e.target;Be&&Be.nodeType===1&&Be.closest?.(".text-field__suggestions")||oe()};return window.addEventListener("scroll",De,!0),window.addEventListener("resize",oe),()=>{window.removeEventListener("scroll",De,!0),window.removeEventListener("resize",oe)}},[ue,oe]);const _e=o.useCallback(De=>{re.current=De,typeof s=="function"?s(De):s&&(s.current=De)},[s]),he=m?`${m}${h??R("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)")}`:p,le=n!==void 0,ge=le&&b==="password",[Ce,ve]=o.useState((a??"").length),Le=le?(n??"").length:Ce,je=o.useRef(n);ho(()=>{je.current=n}),o.useEffect(()=>{const De=re.current;if(!ge||!De)return;const $e=n??"";De.value!==$e&&(De.value=$e)},[ge,n]),o.useEffect(()=>{if(!x||!re.current)return;const De=re.current;De.style.height="",De.scrollHeight>De.clientHeight&&(De.style.height=`${De.scrollHeight}px`)},[n,Ce,x]);const Qe=C!=null&&Le>C,Ue=_===32?16:20,He=ke("text-field",`text-field--s${_}`,f==="display"?"text-field--display":"",A?"text-field--full-width":"",y?"text-field--disabled":"",g?"text-field--readonly":"",v?"text-field--error":"",B?"text-field--has-left-icon":"",E||j?"text-field--has-right-icon":"",U),Fe={id:ae,...ge?{}:le?{value:n}:{defaultValue:a},ref:_e,placeholder:he,name:r,disabled:y,readOnly:g,autoFocus:G,maxLength:C,list:V,inputMode:ne,autoComplete:q,"aria-label":!l&&u?u:void 0,"aria-required":c,"aria-invalid":!!v,"aria-describedby":[w||v?Q:null,d].filter(Boolean).join(" ")||void 0,role:F?"combobox":void 0,"aria-autocomplete":F?"list":void 0,"aria-haspopup":F?"listbox":void 0,"aria-expanded":F?ue:void 0,"aria-controls":ue?ce.listId:void 0,"aria-activedescendant":ue&&ce.activeIdx>=0?`${ce.listId}-option-${ce.activeIdx}`:void 0,onChange:De=>{const $e=De.target;le||ve($e.value.length),i?.($e.value),F&&ce.handleInput(),ge&&queueMicrotask(()=>{const Be=je.current??"";$e.value!==Be&&($e.value=Be)})},onCompositionStart:F?ce.handleCompositionStart:void 0,onCompositionEnd:F?ce.handleCompositionEnd:void 0,onFocus:(De=>{S?.(De),F&&ce.handleFocus()}),onBlur:(De=>{L?.(De),F&&ce.handleBlur()}),onKeyDown:(De=>{const $e=(De.key==="Tab"&&!De.shiftKey||De.key===" ")&&!De.nativeEvent.isComposing;if(m&&$e&&!g&&!y&&!(De.currentTarget.value??"").trim()){De.preventDefault();const Be=De.currentTarget;le||(Be.value=m,ve(m.length)),i?.(m);return}F&&De.key==="Enter"&&!De.nativeEvent.isComposing&&ce.activeIdx>=0?De.preventDefault():X&&De.key==="Enter"&&!De.nativeEvent.isComposing&&(De.preventDefault(),X()),H?.(De),F&&ce.handleKeyDown(De)})},ot=j&&!y&&!g&&Le>0,Ze=()=>x?t.jsx("textarea",{...Fe,className:"text-field__input text-field__input--auto body-2",rows:1}):N?t.jsx("textarea",{...Fe,className:"text-field__input text-field__input--textarea body-2",rows:k}):t.jsx("input",{...Fe,type:b,className:"text-field__input body-2"}),Xe=f==="display"&&!x&&!N&&!!he,st=()=>t.jsxs(t.Fragment,{children:[Ze(),Xe&&t.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:he})]});return t.jsxs("div",{ref:be,className:He,children:[l&&t.jsxs("label",{htmlFor:ae,className:"text-field__label caption-1",children:[l,c&&t.jsx("span",{className:"text-field__required",children:"*"})]}),t.jsxs("div",{className:"text-field__wrap",children:[B&&t.jsx("span",{className:"text-field__icon text-field__icon--left",children:t.jsx(Ye,{icon:B,label:"",className:"",svgClassName:"text-field__icon-svg",size:Ue})}),st(),C!=null&&$&&t.jsxs("span",{className:`text-field__count caption-2${Qe?" text-field__count--over":""}`,children:[Le,"/",C]}),ot&&t.jsx(pe,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:R("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:De=>{De.preventDefault()},onClick:()=>{!le&&re.current&&(re.current.value="",ve(0)),i?.("")},tabIndex:-1}),E&&!ot&&t.jsx("span",{className:"text-field__icon text-field__icon--right",children:t.jsx(Ye,{icon:E,label:"",className:"",svgClassName:"text-field__icon-svg",size:Ue})})]}),!!F&&t.jsx("span",{className:"text-field__status",role:"status","aria-live":"polite",children:ce.open&&(n??"").length>0&&ce.filtered.length===0?R("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"):""}),ue&&(typeof document>"u"?null:Jt.createPortal(t.jsx("ul",{id:ce.listId,className:"text-field__suggestions",role:"listbox",style:W??{position:"fixed",visibility:"hidden"},"data-tooltip-ignore":!0,children:ce.filtered.map((De,$e)=>t.jsx("li",{id:`${ce.listId}-option-${$e}`,role:"option","aria-selected":$e===ce.activeIdx,className:`text-field__suggestion body-2${$e===ce.activeIdx?" is-active":""}`,onMouseDown:Be=>Be.preventDefault(),onClick:()=>{ce.handleSelect(De),re.current?.focus()},children:typeof De=="string"?De:t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-field__suggestion-label",children:De.label}),De.hint&&t.jsx("span",{className:"text-field__suggestion-hint caption-1",children:De.hint})]})},typeof De=="string"?`${De}-${$e}`:De.id))}),document.body)),(w||v)&&t.jsx("div",{className:"text-field__footer",children:t.jsx("span",{id:Q,className:"text-field__helper caption-1",role:v?"alert":void 0,children:v||w})})]})}function ln({options:e,value:n,onChange:a,placeholder:r,disabled:s=!1,block:i=!1,size:l=48,error:u=!1,className:d="",ariaLabel:c,ariaDescribedBy:p}){const{t:m}=ye.useTranslation(),h=r??m("dropdown.placeholder","\uC120\uD0DD"),b=o.useId(),y=o.useId(),g=o.useRef(null),v=o.useCallback((S,L)=>{const H=window.innerHeight-S.bottom<260&&S.top>260;return{position:"fixed",left:S.left,minWidth:S.width,...H?{bottom:window.innerHeight-S.top+6}:{top:S.bottom+6},zIndex:Aa(L)}},[]),{open:w,setOpen:C,toggle:_,style:f,triggerRef:A,menuRef:x}=Ba({computeStyle:v}),[N,k]=o.useState(-1),B=o.useCallback(()=>k(-1),[]),E=e.find(S=>S.value===n);o.useEffect(()=>{if(w){const S=e.findIndex(L=>L.value===n);k(S>=0?S:e.length?0:-1),requestAnimationFrame(()=>{const L=x.current;if(!L)return;const H=L.querySelectorAll(".dropdown__option")[S];H&&(L.scrollTop=Math.max(0,H.offsetTop-L.clientHeight/2+H.clientHeight/2))})}},[w]),o.useEffect(()=>{w&&k(S=>{if(S>=0&&S<e.length)return S;const L=e.findIndex(H=>H.value===n);return L>=0?L:e.length?0:-1})},[w,e.length]);const j=o.useCallback(()=>{s||_()},[s,_]),V=o.useCallback(S=>{S.disabled||s||(S.value!==n&&a?.(S.value),C(!1))},[a,C,s,n]);o.useEffect(()=>{s&&C(!1)},[s,C]);const $=o.useCallback(S=>{if(!s){if(!w){(S.key==="Enter"||S.key===" "||S.key==="ArrowDown")&&(S.preventDefault(),C(!0));return}if(S.key==="Escape"){S.preventDefault(),C(!1);return}S.key==="ArrowDown"?(S.preventDefault(),k(L=>{let H=L+1;for(;H<e.length&&e[H].disabled;)H++;return H<e.length?H:L})):S.key==="ArrowUp"?(S.preventDefault(),k(L=>{let H=L-1;for(;H>=0&&e[H].disabled;)H--;return H>=0?H:L})):(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),e[N]?V(e[N]):C(!1))}},[s,w,e,N,V,C]),U=w?t.jsx("div",{ref:x,id:b,className:"dropdown__menu","data-tooltip-ignore":!0,role:"listbox",style:f,onMouseLeave:B,onMouseDown:S=>S.preventDefault(),children:e.map((S,L)=>t.jsxs("button",{id:`${b}-option-${L}`,type:"button",role:"option","aria-selected":S.value===n,className:ke("dropdown__option body-2",S.value===n?"dropdown__option--active":"",L===N?"dropdown__option--active":"",S.disabled?"dropdown__option--disabled":""),onMouseDown:H=>H.preventDefault(),onClick:()=>V(S),onMouseEnter:()=>k(L),disabled:S.disabled,children:[t.jsx("span",{className:"dropdown__option-check",children:S.value===n&&t.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),S.label]},S.value))}):null;return t.jsxs("div",{ref:g,className:ke("dropdown",`dropdown--s${l}`,w?"dropdown--open":"",i?"dropdown--block":"",u?"dropdown--error":"",d),onKeyDown:$,children:[t.jsxs("button",{ref:A,type:"button",className:"dropdown__trigger",role:"combobox","aria-haspopup":"listbox","aria-expanded":w,"aria-controls":w?b:void 0,"aria-activedescendant":w&&N>=0?`${b}-option-${N}`:void 0,"aria-label":c,"aria-describedby":[c&&E?y:"",p??""].filter(Boolean).join(" ")||void 0,"aria-invalid":u||void 0,disabled:s,onClick:j,onBlur:S=>{w&&!x.current?.contains(S.relatedTarget)&&C(!1)},children:[t.jsx("span",{id:y,className:`dropdown__trigger-label body-2${E?"":" dropdown__trigger-label--placeholder"}`,children:E?E.label:h}),t.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&Jt.createPortal(U,g.current?.closest(".ihabdevteam-core-scope")??document.body)]})}function tr({page:e,totalPages:n,onChange:a,prevLabel:r,nextLabel:s,className:i=""}){const{t:l}=ye.useTranslation(),u=r??l("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),d=s??l("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),c=Math.max(1,n),p=()=>a(Math.max(1,Math.min(c,e-1))),m=()=>a(Math.min(c,e+1));return t.jsxs("div",{className:ke("pagination",i),children:[t.jsx(pe,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:u,disabled:e<=1,onClick:p}),t.jsxs("span",{className:"pagination__info body-3","aria-live":"polite","aria-atomic":"true",children:[Math.min(Math.max(1,e),c)," / ",c]}),t.jsx(pe,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:d,disabled:e>=n,onClick:m})]})}const Ta=new Map;function _n(e){const{t:n}=ye.useTranslation(),{options:a=[],value:r=a.find(f=>!f.disabled)?.key??a[0]?.key,onChange:s=f=>{},className:i="",size:l=40,shape:u="pill",useBG:d=!0,fullWidth:c=!1,minButtonWidth:p,ariaLabel:m}=e||{},h=o.useRef(null),b=a.filter(f=>!f.disabled),y=o.useId(),g=a.map(f=>f.key).join("\xB7");o.useEffect(()=>{if(!(!xr||m!=null&&m!=="")){if(Ta.set(y,g||"(\uBCF4\uAE30 \uC5C6\uC74C)"),Ta.size>1){const f=[...Ta.values()].sort();an(`segmented-control-unnamed:${f.join("|")}`,`[ihab/SegmentedControl] \uC774\uB984 \uC5C6\uB294 \uB77C\uB514\uC624\uADF8\uB8F9\uC774 \uD55C \uD654\uBA74\uC5D0 ${Ta.size} \uAC1C \uC11C \uC788\uC2B5\uB2C8\uB2E4 \u2014 \uB0AD\uB3C5\uAE30\uB294 \uBAA8\uB450 "\uC120\uD0DD \uD0ED" \uC73C\uB85C \uC77D\uC5B4 \uC5B4\uB290 \uAC83\uC774 \uBB34\uC5C7\uC778\uC9C0 \uAC00\uB9B4 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ariaLabel \uC744 \uC8FC\uC138\uC694. \uC9C0\uAE08 \uC120 \uAC83(\uBCF4\uAE30 \uC774\uB984\uC73C\uB85C \uC801\uC74C): ${f.join(" / ")}`)}return()=>{Ta.delete(y)}}},[m,g,y]);const v=f=>{if(!b.length)return;const A=Math.max(0,b.findIndex(N=>N.key===r)),x=f==="first"?b[0]:f==="last"?b[b.length-1]:b[(A+f+b.length)%b.length];x&&(s(x.key),Array.from(h.current?.querySelectorAll("[data-segkey]")??[]).find(N=>N.dataset.segkey===x.key)?.focus())},w=f=>{switch(f.key){case"ArrowRight":case"ArrowDown":v(1);break;case"ArrowLeft":case"ArrowUp":v(-1);break;case"Home":v("first");break;case"End":v("last");break;default:return}f.preventDefault()},C=f=>{const A=x=>typeof x=="string"||typeof x=="number";if(!(!A(f.label)||f.count==null||f.count===!1||!A(f.count)))return`${f.label}, ${f.count}`},_=b.some(f=>f.key===r)?r:b[0]?.key;return t.jsx("div",{ref:h,onKeyDown:w,className:ke("segmented-control",`segmented-control--${u}`,`segmented-control--${l}`,c&&"segmented-control--full",!d&&"segmented-control--no-bg",p!=null&&"segmented-control--min",i),style:p!=null?{"--segmented-min-button-w":`${p}px`}:void 0,role:"radiogroup","aria-label":m??n("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(f=>t.jsx(pe,{htmlType:"button",role:"radio","aria-checked":f.key===r,"data-segkey":f.key,tabIndex:f.key===_?0:-1,label:f.label,count:f.count,ariaLabel:C(f),disabled:f.disabled,className:f.key===r?"is-selected":"",onClick:()=>{f.disabled||s(f.key)},size:l,shape:u,useBorder:!1,useBG:!1},f.key))})}function Co({count:e,search:n,segment:a,filters:r,pageSize:s,pagination:i,actions:l,className:u}){const{t:d}=ye.useTranslation(),c=e!=null&&t.jsxs("p",{className:"toolbar__count body-1",role:"status","aria-atomic":"true",children:[e.prefix??d("common.totalPrefix","\uCD1D "),t.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),p=!!(n||r?.length||s||i||l);return t.jsxs("div",{className:ke("toolbar",u),children:[t.jsxs("div",{className:"toolbar__row",children:[c,a&&(Array.isArray(a)?a:[a]).map((m,h)=>t.jsx(_n,{size:40,...m},m.ariaLabel??h))]}),p&&t.jsx("div",{className:"toolbar__row",children:t.jsxs("div",{className:"toolbar__row-end",children:[n&&t.jsx(Un,{className:"toolbar__search",size:40,value:n.value,onChange:n.onChange,placeholder:n.placeholder??d("common.search","\uAC80\uC0C9"),ariaLabel:n.placeholder??d("common.search","\uAC80\uC0C9"),autoFocus:n.autoFocus,clearable:!0}),r?.map((m,h)=>t.jsx(ln,{size:40,options:m.options,value:m.value,onChange:m.onChange,ariaLabel:m.ariaLabel},h)),(s||i)&&t.jsxs("div",{className:"toolbar__pager",children:[s&&t.jsx(ln,{size:40,options:s.options,value:s.value,onChange:s.onChange,ariaLabel:s.ariaLabel??d("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),i&&t.jsx(tr,{page:i.page,totalPages:i.total,onChange:i.onChange,prevLabel:i.prevLabel,nextLabel:i.nextLabel})]}),l]})})]})}function zl(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(zl).join(""):""}function V4(e){let n=e.replace(/\r\n/g,`
854
854
  `).replace(/\r/g,`
855
855
  `);n=n.replace(/^\n+/,"").replace(/\n+$/,"");const a=n.split(`
856
856
  `).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(`
857
857
  `)}const W4=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),q4=/^(?: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 U4(e,n){let a=e;const r=[],s=/^(?:sh|bash|zsh|shell|console)$/.test(n.toLowerCase()),i=(l,u)=>r.push({type:l,content:u});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 y=a.indexOf(`
858
858
  `),g=y===-1?a:a.slice(0,y);i("comment",g),a=a.slice(g.length);continue}if(s&&a.startsWith("#")){const y=a.indexOf(`
859
- `),g=y===-1?a:a.slice(0,y);i("comment",g),a=a.slice(g.length);continue}const u=a.match(/^\/\*[\s\S]*?\*\//);if(u){i("comment",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){i("string",d[0]),a=a.slice(d[0].length);continue}const c=a.match(/^\d+(?:\.\d+)?/);if(c){i("number",c[0]),a=a.slice(c[0].length);continue}const p=a.match(q4);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 y=m[0];i(s&&W4.has(y)?"command":"identifier",y),a=a.slice(y.length);continue}const h=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(h){i("operator",h[0]),a=a.slice(h[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 G4({children:e,language:n="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=ye.useTranslation(),[u,d]=o.useState(!1),c=V4(zl(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await RC(c))return;d(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>d(!1),2e3)}catch{}},h=U4(c,n),b=s==="small"?"caption-1":"body-3";return t.jsxs("div",{className:ke("code-box",s==="small"?"code-box--small":"",i),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(pe,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:u?"check":"copy",onClick:m,ariaLabel:u?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:h.map((y,g)=>t.jsx("span",{className:`code-token ${y.type} ${b}`,children:y.content},g))})})]})}const K4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Ma(e){const{t:n}=ye.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const d=s==null||!Number.isFinite(Number(s)),c=d?0:Math.max(0,Math.min(100,Number(s)));return t.jsx("div",{className:`loader-bar${d?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d?void 0:c,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:d?void 0:{width:`${c}%`}})})}const u=typeof r=="number"?`${r}px`:r;return t.jsxs("div",{className:"loader-spinner",style:{width:u,height:u},role:"status","aria-label":l,children:[t.jsx("span",{style:K4,children:l}),t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}function Vl({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:u}){const d=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&d,t.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:c=>n?.(c.target.checked),"aria-label":!r&&s?s:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&d]})}function Wl({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:u,ariaLabel:d}){const c=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{c.current&&(c.current.indeterminate=!!r)}),t.jsxs("label",{className:ke("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:u,children:[t.jsx("input",{ref:c,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:h=>{n?.(h.target.checked),c.current&&(c.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&d?d:void 0}),t.jsx("span",{className:"checkbox__box"}),s&&t.jsx("span",{className:"checkbox__label body-3",children:s})]})}function Y4({count:e,actions:n,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:u}=ye.useTranslation(),d=s!==void 0?s:e>0,c=r??u("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),h=o.useRef(null),b=o.useRef(d);o.useLayoutEffect(()=>{const C=m.current,_=b.current;if(b.current=d,d&&!_){const f=typeof document<"u"?document.activeElement:null;h.current=f&&f!==document.body&&!C?.contains(f)?f:null}else!d&&_&&C&&C.contains(document.activeElement)&&Ka(C,h.current)},[d]);const[y,g]=o.useState(!1),v=o.useRef(!1),w=o.useRef(null);return o.useEffect(()=>{const C=p.current;if(!C)return;const _=B=>{v.current=B,g(B)},f=()=>{const B=C.firstElementChild??C,E=Array.from(B.children);if(E.length<2){_(!1);return}const j=E[0].offsetTop,V=E.some(H=>H.offsetTop!==j);if(!v.current){w.current=C.clientWidth,V&&_(!0);return}if(V)return;const $=E[0],U=E[E.length-1],S=U.offsetLeft+U.offsetWidth-$.offsetLeft,L=w.current;(L==null||S<=L)&&_(!1)};if(f(),typeof ResizeObserver>"u")return;const A=new ResizeObserver(f);A.observe(C);const x=C.parentElement;let N=x?.clientWidth??0;const k=new ResizeObserver(()=>{const B=x?.clientWidth??0;B!==N&&(N=B,w.current=null,f())});return x&&k.observe(x),()=>{A.disconnect(),k.disconnect()}},[i,e]),t.jsxs("div",{ref:m,className:`bulk-bar ${d?"bulk-bar--visible":""}`,inert:!d||void 0,"aria-hidden":d?void 0:!0,children:[t.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??t.jsx("b",{children:u("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(yt,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`,"aria-label":u("common.selectedOfMax",{count:e,max:l,defaultValue:`\uCD5C\uB300 ${l}\uAC1C \uC911 ${e}\uAC1C`})}),t.jsxs("div",{className:`bulk-bar__actions${y?" bulk-bar__actions--stacked":""}`,children:[t.jsx(pe,{htmlType:"button",size:40,label:c,onClick:a}),n.map((C,_)=>t.jsx(pe,{htmlType:"button",size:40,variant:C.variant??"default",icon:C.icon,label:C.label,onClick:C.onClick},_))]})]})}const Z4=[{\uC5F4\uC1E0:"edit",icon:"edit-2",\uB2EB\uACE0\uD560\uAE4C:!0},{\uC5F4\uC1E0:"duplicate",icon:"copy",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"publish",icon:"book-marked",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"copyLink",icon:"link",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"remove",icon:"trash-2",\uB2EB\uACE0\uD560\uAE4C:!0}];function X4(e){const{onClose:n,className:a}=e;return t.jsx("div",{className:ke("item-actions",a),children:Z4.map(({\uC5F4\uC1E0:r,icon:s,\uB2EB\uACE0\uD560\uAE4C:i})=>{const l=e[r];if(!l)return null;const u=r==="publish"?l.published?l.unpublish:l.publish:l;return t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:s,ariaLabel:u.label,showTooltipInfo:u.label,onClick:()=>{i&&n(),u.onClick()}},r)})})}function ql(e,n){const a=()=>{if(e){const[g,v]=e.split("-");return{y:+g,m:+v-1}}const[b,y]=Vr(n).split("-");return{y:+b,m:+y-1}},[r,s]=o.useState(()=>a().y),[i,l]=o.useState(()=>a().m),u=o.useRef(e);o.useEffect(()=>{if(e===u.current)return;u.current=e;const b=a();s(b.y),l(b.m)},[e]);const d=o.useRef({y:r,m:i});o.useEffect(()=>{d.current={y:r,m:i}},[r,i]);const c=o.useCallback(b=>{const y=d.current.y*12+d.current.m+b,g=Math.floor(y/12),v=y-g*12;d.current={y:g,m:v},s(g),l(v)},[]),p=o.useCallback(()=>c(-1),[c]),m=o.useCallback(()=>c(1),[c]),h=o.useCallback((b,y)=>{d.current={y:b,m:y},s(b),l(y)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:h}}function nr(e,n){return new Date(e,n+1,0).getDate()}function J4(e,n){return new Date(e,n,1).getDay()}function ar(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function Q4(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function ey(e,n,a,r){const s=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let u=s;u<=i;u++)for(let d=0;d<12;d++){const c=`${u}-${String(d+1).padStart(2,"0")}`;a&&c<a.slice(0,7)||r&&c>r.slice(0,7)||l.push({value:c,label:n(u,d+1)})}return l}function ty({value:e,onChange:n,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:u,today:d}){const{t:c}=ye.useTranslation(),p=l??c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>c("calendar.dow",{returnObjects:!0}),[c]),h=Vr(d),{viewY:b,viewM:y,prevMonth:g,nextMonth:v,setViewYM:w}=ql(e,d),C=o.useId(),_=o.useCallback((D,z)=>{const M=window.innerHeight,F=window.innerWidth,R=typeof document<"u"?document.getElementById(C):null,K=Math.max(R?.offsetHeight||0,R?.scrollHeight||0)||300,ae=Math.max(D.width,R?.offsetWidth||0,260),Q=M-D.bottom,re=D.top,ce=Q<K&&re>Q,ue=8,be=(W,te)=>Math.min(Math.max(ue,W),Math.max(ue,te));return{position:"fixed",left:be(D.left,F-ae-ue),width:D.width,minWidth:260,...ce?{top:"auto",bottom:be(M-D.top+6,M-K-ue)}:{bottom:"auto",top:be(D.bottom+6,M-K-ue)},zIndex:Aa(z)}},[C]),{open:f,setOpen:A,toggle:x,style:N,triggerRef:k,menuRef:B}=Ba({computeStyle:_,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!f)return;const D=B.current;return(D?.querySelector(".date-picker__day--selected:not(:disabled)")??D?.querySelector(".date-picker__day--today:not(:disabled)")??D?.querySelector(".date-picker__day:not(:disabled)")??D?.querySelector(mn)??D)?.focus?.(),()=>{const z=document.activeElement;(!z||z===document.body)&&k.current?.focus?.()}},[f,B,k]);const[E,j]=o.useState(1),V=o.useRef(null),$=o.useRef(null);o.useEffect(()=>{if(!f)return;const D=e&&e.slice(0,7)===`${b}-${String(y+1).padStart(2,"0")}`?+e.slice(8):h.slice(0,7)===`${b}-${String(y+1).padStart(2,"0")}`?+h.slice(8):1;j(D)},[f]),o.useEffect(()=>{if($.current==null)return;const D=$.current;$.current=null,V.current?.querySelector(`[data-day="${D}"]`)?.focus()}),o.useEffect(()=>{j(D=>Math.min(D,nr(b,y)))},[b,y]);const U=o.useCallback(D=>{let z=ar(D.getFullYear(),D.getMonth(),D.getDate());r&&z<r&&(z=r),s&&z>s&&(z=s);const[M,F,R]=z.split("-").map(Number);(M!==b||F-1!==y)&&w(M,F-1),j(R),$.current=R},[r,s,b,y,w]),S=o.useCallback(D=>{const z=new Date(b,y,E),M=R=>{z.setDate(z.getDate()+R),U(z)},F=R=>{const K=z.getFullYear()*12+z.getMonth()+R,ae=Math.floor(K/12),Q=K-ae*12;U(new Date(ae,Q,Math.min(z.getDate(),nr(ae,Q))))};switch(D.key){case"ArrowLeft":M(-1);break;case"ArrowRight":M(1);break;case"ArrowUp":M(-7);break;case"ArrowDown":M(7);break;case"Home":M(-z.getDay());break;case"End":M(6-z.getDay());break;case"PageUp":D.shiftKey?F(-12):F(-1);break;case"PageDown":D.shiftKey?F(12):F(1);break;default:return}D.preventDefault()},[b,y,E,U]),L=o.useCallback(D=>{i||(n(ar(b,y,D)),A(!1))},[b,y,n,A,i]);o.useEffect(()=>{i&&A(!1)},[i,A]);const H=D=>{const z=ar(b,y,D);return!!(r&&z<r||s&&z>s)},X=(()=>{const D=nr(b,y);if(E>=1&&E<=D&&!H(E))return E;for(let z=1;z<=D;z++)if(!H(z))return z;return-1})(),ne=[];for(let D=0;D<J4(b,y);D++)ne.push(null);for(let D=1;D<=nr(b,y);D++)ne.push(D);const q=a===64?20:a===40?16:18,G=ey(b,(D,z)=>c("calendar.yearMonth",{year:D,month:z,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),P=`${b}-${String(y+1).padStart(2,"0")}`,I=f?Jt.createPortal(t.jsxs("div",{ref:B,id:C,className:"date-picker__dropdown",style:N,"data-tooltip-ignore":!0,role:"dialog","aria-label":c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:g,"aria-label":c("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(us,{size:16,strokeWidth:2})}),t.jsx(ln,{className:"date-picker__nav-dropdown",ariaLabel:c("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:G,value:P,onChange:D=>{const[z,M]=D.split("-");w(+z,+M-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:v,"aria-label":c("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(cs,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:V,onKeyDown:S,children:[m.map(D=>t.jsx("div",{className:"date-picker__dow caption-1",children:D},D)),ne.map((D,z)=>{if(D===null)return t.jsx("div",{},`e${z}`);const M=ar(b,y,D),F=M===e,R=M===h,K=H(D),ae=z%7;return t.jsx("button",{type:"button",disabled:K,"data-day":D,tabIndex:D===X?0:-1,"aria-current":R?"date":void 0,onClick:()=>!K&&L(D),className:ke("date-picker__day caption-1",F&&"date-picker__day--selected",R&&!F&&"date-picker__day--today",K&&"date-picker__day--disabled",ae===0&&"date-picker__day--sun",ae===6&&"date-picker__day--sat"),children:D},D)})]})]}),document.body):null;return t.jsxs("div",{className:ke("date-picker",`date-picker--s${a}`,f&&"date-picker--open",u),children:[t.jsxs("button",{ref:k,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&x(),disabled:i,"aria-haspopup":"true","aria-expanded":f,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?Q4(e):p}),t.jsx(ys,{size:q,className:"date-picker__icon",strokeWidth:1.5})]}),I]})}function Ul({children:e,className:n}){const a=o.useRef(null),[r,s]=o.useState(null);return o.useEffect(()=>{s(a.current?.parentElement??null)},[]),o.useEffect(()=>{const i=a.current;if(!i||!r)return;const l=()=>{const d=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;d>0?r.style.setProperty("--section-head-float-w",`${d}px`):r.style.removeProperty("--section-head-float-w")};if(l(),typeof ResizeObserver>"u")return()=>{r.style.removeProperty("--section-head-float-w")};const u=new ResizeObserver(()=>l());return u.observe(i),u.observe(r),()=>{u.disconnect(),r.style.removeProperty("--section-head-float-w")}},[r,e]),t.jsx("div",{ref:a,className:ke("section-head-float",n),children:e})}function fo({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function La({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function go({title:e,titleClassName:n="h3",titleLevel:a=3,icon:r,disc:s,headRight:i,headFloat:l,headSegment:u,headMenuItems:d,collapseBelow:c=420,onClick:p,ariaLabel:m,tooltip:h,totalNum:b,totalUnit:y,totalLabel:g,subRow:v,subRowAlign:w="start",className:C,inGrid:_=!1,children:f}){const{t:A}=ye.useTranslation(),x=o.useRef(null),{anchorRect:N,openAt:k,close:B}=wa(),E=o.useCallback(()=>{h&&x.current&&k(x.current)},[h,k]),[j,V]=o.useState(!1);ho(()=>{const M=x.current;if(!M||!u)return;const F=K=>V(K>0&&K<c);if(F(M.clientWidth),typeof ResizeObserver>"u")return;const R=new ResizeObserver(K=>F(K[0].contentRect.width));return R.observe(M),()=>R.disconnect()},[u,c]);const[$,U]=o.useState(null),S=o.useCallback(()=>U(null),[]),L=o.useCallback(M=>{const F=M.currentTarget.getBoundingClientRect();U(R=>R?null:{left:F.left,right:F.right,top:F.top,bottom:F.bottom,width:F.width,height:F.height,x:F.x,y:F.y})},[]),H=!!u&&j;o.useEffect(()=>{H||U(null)},[H]);const X=u?[...u.options.map(M=>({label:M.label,icon:M.icon,selected:M.key===u.value,disabled:M.disabled,onClick:()=>u.onChange(M.key),closeOnSelect:!0})),...(d??[]).map((M,F)=>F===0?{...M,separatorBefore:!0}:M)]:[],ne=o.useCallback(M=>{if(!p)return;const F=M.target;F&&typeof F.closest=="function"&&F.closest('button, a, input, select, textarea, [role="radiogroup"]')||p()},[p]),q=o.useCallback(M=>{p&&M.target===M.currentTarget&&(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),p())},[p]),G=typeof i=="function"?i({collapsed:H}):i,P=b!=null||g?t.jsxs(La,{label:g,children:[b!=null&&t.jsx("span",{className:"barchart-total__num h0",children:b}),y&&t.jsx("span",{className:"barchart-total__unit h5",children:y})]}):null,I=G||u?t.jsxs("div",{className:"manager-section__head-right",children:[u&&(H?t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!$,onClick:L}):t.jsx(_n,{size:32,ariaLabel:u.ariaLabel,options:u.options.map(M=>({key:M.key,label:M.label,disabled:M.disabled})),value:u.value,onChange:u.onChange})),G]}):null,D=o.useId(),z=a?`h${a}`:"div";return t.jsxs("section",{ref:x,className:["manager-section",_&&"manager-section--grid",p&&"manager-section--clickable",C].filter(Boolean).join(" "),onClick:p?ne:void 0,onKeyDown:p?q:void 0,onPointerEnter:h?E:void 0,onPointerLeave:h?B:void 0,onFocus:h?E:void 0,onBlur:h?B:void 0,role:p?"button":void 0,tabIndex:p?0:void 0,"aria-label":p?m??(typeof e=="string"?e:void 0):void 0,"aria-labelledby":!p&&e!=null?D:void 0,children:[h&&N&&t.jsx(bn,{anchorRect:{left:N.left,top:N.top+21,right:N.right,bottom:N.bottom,width:N.width,height:N.height},text:h}),l&&t.jsx(Ul,{children:l}),t.jsxs("div",{className:"manager-section__head",children:[t.jsxs("div",{className:"manager-section__title-row",children:[r&&t.jsx(Ye,{icon:r,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),t.jsx(z,{id:D,className:["manager-section__title",n].filter(Boolean).join(" "),children:e})]}),I,s&&t.jsx("div",{className:"manager-section__disc body-3",children:s})]}),(P||v)&&t.jsxs("div",{className:["barchart-sub-row",w!=="start"&&`barchart-sub-row--${w}`].filter(Boolean).join(" "),children:[P,v]}),f,$&&t.jsx(on,{anchorRect:$,onClose:S,ariaLabel:u?.ariaLabel??A("tooltip.menu","\uBA54\uB274"),children:t.jsx(ka,{columns:[{items:X}],onClose:S,size:"small"})})]})}function hn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function ny(){const e=Jn();let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<hn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-hn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function ay(e){const n=Jn(),a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(d,c)=>`${d}\uB144 ${c+1}\uC6D4`,s=new Map;s.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const c=r(d.date.getFullYear(),d.date.getMonth());s.has(c)||s.set(c,[]),s.get(c).push(d)}for(const[d,c]of[...s.entries()]){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,b=hn(m,h);if(!(d===a&&n.getDate()<b)&&!c.some(v=>v.date.getDate()<b))continue;const y=new Date(m,h,0),g=r(y.getFullYear(),y.getMonth());s.has(g)||s.set(g,[])}const i=new Map;for(const[d,c]of s){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,b=new Date(m,h+1,0).getDate(),y=c.reduce((f,A)=>Math.max(f,A.parts?.length??0,A.partsB?.length??0),0),g=c.some(f=>f.partsB),v=new Array(b+1).fill(0),w=new Array(b+1).fill(0),C=Array.from({length:b+1},()=>new Array(y).fill(0)),_=Array.from({length:b+1},()=>new Array(y).fill(0));for(const f of c){const A=f.date.getDate();if(v[A]+=f.a,w[A]+=f.b,f.parts)for(let x=0;x<y;x++)C[A][x]+=f.parts[x]??0;if(f.partsB)for(let x=0;x<y;x++)_[A][x]+=f.partsB[x]??0}i.set(d,{year:m,month:h,daysInMonth:b,partsLen:y,hasPartsB:g,dayA:v,dayB:w,dayParts:C,dayPartsB:_})}const l=(d,c,p)=>new Date(d,c,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),u={};for(const[d,c]of i){const{year:p,month:m,daysInMonth:h,dayA:b,dayB:y,dayParts:g,dayPartsB:v}=c,w=p===n.getFullYear()&&m===n.getMonth(),C=n.getDate(),_=i.get(r(m===11?p+1:p,(m+1)%12)),f=c.partsLen,A=[];for(let N=1;N<=h;N++){const k=w&&N>C;A.push({label:String(N),...k&&b[N]===0&&y[N]===0?{future:!0}:{},a:k&&b[N]===0&&y[N]===0?-1:b[N],b:y[N],...f?{parts:g[N]}:{},...f&&c.hasPartsB?{partsB:v[N]}:{}})}const x=[];for(let N=hn(p,m);N<=h;N+=7){const k=Math.max(0,N+6-h),B=k&&_?Math.max(f,_.partsLen):f,E=c.hasPartsB||!!(k&&_?.hasPartsB);let j=0,V=0;const $=new Array(B).fill(0),U=new Array(B).fill(0);for(let L=N;L<=Math.min(N+6,h);L++){j+=b[L],V+=y[L];for(let H=0;H<f;H++)$[H]+=g[L][H],U[H]+=v[L][H]}if(k&&_)for(let L=1;L<=k&&!l(_.year,_.month,L);L++){j+=_.dayA[L],V+=_.dayB[L];for(let H=0;H<_.partsLen;H++)$[H]+=_.dayParts[L][H],U[H]+=_.dayPartsB[L][H]}const S=k?`${(m+1)%12+1}/${k}`:`${N+6}`;x.push({label:`${x.length+1}\uC8FC`,sublabel:`[${N}\uC77C~${S}\uC77C]`,a:j,b:V,...B?{parts:$}:{},...B&&E?{partsB:U}:{}})}u[d]={weekly:x,daily:A}}return u}function Gl(){const e=Jn(),n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let s=2024;s<=n;s++){const i=s===n?a:12;for(let l=1;l<=i;l++){const u=`${s}\uB144 ${l}\uC6D4`;r.push({value:u,label:u,year:s,month:l})}}return r.reverse()}Gl();function ry(){return Gl()}const Kl=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Yl(e){const{t:n,i18n:a}=ye.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>ry().filter(B=>B.value in e),[e]),l=o.useMemo(()=>{const B=[];for(const E of i){const j=new Date(E.year,E.month,0).getDate(),V=hn(E.year,E.month-1),$=Math.ceil((j-V+1)/7);for(let U=$-1;U>=0;U--)B.push({value:`${E.value}#${U}`,monthKey:E.value,year:E.year,month:E.month,week:U})}return B},[i]),u=o.useCallback(B=>{const E=n("calendar.yearMonth",{year:B.year,month:B.month});return a.language?.startsWith("ko")?`${E} ${Kl[B.week]??`${B.week+1}`}\uC8FC`:`${E} Week ${B.week+1}`},[n,a.language]),d=o.useMemo(()=>i.map(B=>({value:B.value,label:n("calendar.yearMonth",{year:B.year,month:B.month})})),[n,i]),c=o.useMemo(()=>l.map(B=>({value:B.value,label:u(B)})),[l,u]),p=o.useMemo(()=>ny(),[e]),m=o.useMemo(()=>i.find(B=>B.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),h=o.useMemo(()=>l.find(B=>B.value===p.value)?.value??l[0]?.value??"",[l,p]),[b,y]=o.useState(""),[g,v]=o.useState("");o.useEffect(()=>{i.find(B=>B.value===b)||y(m)},[i,b,m]),o.useEffect(()=>{l.find(B=>B.value===g)||v(h)},[l,g,h]);const w=r==="month"?d:c,C=r==="month"?b:g,_=r==="month"?y:v,f=o.useMemo(()=>{const B=n("calendar.dow",{returnObjects:!0});return Array.isArray(B)?B:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),A=w.findIndex(B=>B.value===C),x=o.useCallback(()=>{const B=w.findIndex(E=>E.value===C);B<w.length-1&&_(w[B+1].value)},[w,C,_]),N=o.useCallback(()=>{const B=w.findIndex(E=>E.value===C);B>0&&_(w[B-1].value)},[w,C,_]),k=o.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:s,range:C,setRange:_,activeOptions:w,activeIdx:A,handlePrev:x,handleNext:N,periodOptions:k,monthRange:b,weekRange:g,weekRanges:l,DOW:f}}const ht=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function wn(e,n=!0){return e.future===!0||n&&e.a===-1}function oy({data:e,colorA:n,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:u=140,maxOverride:d,tightMax:c,seriesColors:p,seriesLabels:m,rateLabels:h,grouped:b=!1,baseline:y,focusableBars:g=!1}){const v=!a,w=!!(p&&p.length>0),C=y,_=o.useMemo(()=>w?Math.max(0,...e.filter(q=>!wn(q,C==null)).map(q=>b?Math.max(0,...(q.parts??[]).map(ht)):(q.parts??[]).reduce((G,P)=>G+Math.max(0,ht(P)),0))):Math.max(0,...e.filter(q=>!wn(q,C==null)).flatMap(q=>v?[ht(q.a)]:[ht(q.a),ht(q.b)])),[e,v,w,b]),f=o.useMemo(()=>{if(C==null)return 0;const q=e.filter(G=>!wn(G,C==null)).flatMap(G=>w?(G.parts??[]).map(ht):v?[ht(G.a)]:[ht(G.a),ht(G.b)]);return Math.max(0,...q.map(G=>Math.abs(G-C)))},[e,C,w,v]),A=o.useMemo(()=>{const q=C!=null?f:_;return d??(c?q>0?q:10:Math.ceil(q/10)*10||10)},[_,f,C,d,c]),x=u,N=w?b?Math.max(1,p.length):1:v?1:2,k={"--bar-width":`${o.useMemo(()=>{const q=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(q*N)+6)))},[e.length,N,i])}px`},B={"--bar-group-gap":`${Math.max(0,l)}px`},E=o.useMemo(()=>{const q=Math.round(A/2);return C!=null?[C+A,...q!==A?[C+q]:[],C,...q!==A?[C-q]:[],C-A]:q!==A?[A,q,0]:[A,0]},[A,C]),j=q=>C!=null?1-(q-(C-A))/(2*A):1-q/A,[V,$]=o.useState(null),U=o.useCallback(()=>$(null),[]),S=o.useCallback((q,G)=>{const P=[q.label,q.sublabel].filter(Boolean).join(" ");let I;if(w&&b&&q.rawPartsB)I=(m??[]).map((D,z)=>{const M=q.rawPartsB[z]??0;return{text:M>0?`${D}: ${G[z]??0}% (${q.rawParts?.[z]??0}/${M})`:`${D}: -`,color:(p??[])[z]}});else if(w&&b)I=(m??[]).map((D,z)=>({text:`${D}: ${X(G[z]??0)}`,color:(p??[])[z]}));else if(w){const D=(m??[]).map((M,F)=>({text:`${M}: ${G[F]??0}`,color:(p??[])[F]})),z=D.filter((M,F)=>(G[F]??0)>0);I=z.length?z:D}else h&&!v?I=[{text:`${r} ${ht(q.a)}%`,color:n},{text:`${s} ${ht(q.b)}%`,color:a}]:h&&q.rawB!==void 0?I=[{text:`${h.total} ${q.rawB}`},{text:`${h.done} ${q.rawA??0}`,color:n}]:v?I=[{text:`${r}: ${ht(q.a)}`,color:n}]:I=[{text:`${r}: ${ht(q.a)}`,color:n},{text:`${s}: ${ht(q.b)}`,color:a}];return{title:P,items:I}},[w,b,m,p,h,v,r,s,n,a,C]),L=o.useCallback((q,G,P)=>{const I=q.getBoundingClientRect(),{title:D,items:z}=S(G,P);$({rect:{left:I.left,top:I.top,right:I.right,bottom:I.bottom,width:I.width,height:I.height},title:D,items:z})},[S]),H=o.useCallback((q,G)=>{const{title:P,items:I}=S(q,G);return[P,...I.map(D=>D.text)].filter(Boolean).join(", ")},[S]),X=q=>C!=null&&q>C?`+${q}`:`${q}`,ne=V!=null;return o.useEffect(()=>{if(!ne)return;const q=()=>$(null),G=P=>{const I=P.target;I&&typeof I.closest=="function"&&I.closest(".manager-bar-chart-col")||$(null)};return window.addEventListener("scroll",q,!0),document.addEventListener("pointerdown",G,!0),()=>{window.removeEventListener("scroll",q,!0),document.removeEventListener("pointerdown",G,!0)}},[ne]),t.jsxs("div",{className:"manager-bar-chart-wrap",style:B,children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:x},children:[E.slice(0,-1).map((q,G)=>t.jsx("div",{className:`manager-bar-chart-gridline${C!=null&&q===C?" manager-bar-chart-gridline--baseline":""}`,style:{top:j(q)*x},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:q})},G)),e.map((q,G)=>{const P=wn(q,C==null),I=x/2,D=R=>C!=null?Math.min(I,Math.abs(ht(R)-C)/A*I):Math.min(x,Math.max(0,ht(R)/A*x)),z=P?0:D(q.a),M=P?0:D(q.b),F=(q.parts??[]).map(ht);return t.jsx("div",{className:`manager-bar-chart-col${b&&w?" manager-bar-chart-col--group":""}`,style:{cursor:P?"default":"pointer"},tabIndex:g&&!P?0:void 0,role:g&&!P?"img":void 0,"aria-label":g&&!P?H(q,F):void 0,onMouseEnter:P?void 0:R=>L(R.currentTarget,q,F),onFocus:P||!g?void 0:R=>L(R.currentTarget,q,F),onBlur:g?U:void 0,onMouseLeave:U,children:!P&&(w&&b?(p??[]).map((R,K)=>{const ae=F[K]??0;if(C==null)return t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:D(ae),background:R}},K);const Q=ht(ae)<C;return t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!Q&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D(ae),background:R}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:Q&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D(ae),background:R}})})]},K)}):w?t.jsx("div",{className:"manager-bar-chart-stack",style:k,children:(()=>{const R=F.reduce((ae,Q,re)=>Q>0?re:ae,-1);let K=x;return F.map((ae,Q)=>{if(ae<=0)return null;const re=Math.min(K,ae/A*x);return K-=re,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:re,background:(p??[])[Q],borderRadius:Q===R?"6px 6px 0 0":void 0}},Q)})})()}):C!=null?t.jsx(t.Fragment,{children:[{v:ht(q.a),c:n},...v?[]:[{v:ht(q.b),c:a}]].map(({v:R,c:K},ae)=>t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:R>=C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D(R),background:K}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:R<C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D(R),background:K}})})]},ae))}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:z,background:n}}),!v&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:M,background:a}})]}))},G)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((q,G)=>{const P=wn(q,C==null);return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${P?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[q.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),q.label]}),q.sublabel&&t.jsx("span",{className:"caption-1",children:q.sublabel})]},G)})})]})})}),V&&t.jsx(Vn,{anchorRect:V.rect,title:V.title,items:V.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Zl({control:e}){const{t:n}=ye.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:u,periodOptions:d,period:c,setPeriod:p}=e,m=c==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),h=c==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),t.jsx(ln,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:h,showTooltipInfo:h,disabled:r<=0,onClick:u}),t.jsx(_n,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:c,onChange:b=>p(b),size:40})]})}function bo(e,n,a,r=!0){const s=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,l)=>{const u=new Date(n);u.setDate(n.getDate()+l);const d=(e[`${u.getFullYear()}\uB144 ${u.getMonth()+1}\uC6D4`]?.daily??[])[u.getDate()-1],c=d!=null&&wn(d,r)||u>s;return{dt:u,entry:d,isFuture:c}})}function sy(e,n,a,r,s=!0){const{period:i,monthRange:l,weekRange:u,weekRanges:d,DOW:c}=n,p=r?.startsWith("ko"),m=Jn(),h=m.getFullYear(),b=m.getMonth()+1,y=m.getDate();if(i==="month"){const w=e[l]??{weekly:[],daily:[]},C=l.match(/^(\d+)년 (\d+)월$/),_=C?Number(C[1]):null,f=C?Number(C[2]):null,A=_&&f?hn(_,f-1):1;return w.weekly.map((x,N)=>{const k=N+1;let B=x.label,E=!1,j=!1;if(_&&f){const V=A+N*7,$=new Date(_,f-1,V+6),U=$.getMonth()+1,S=$.getDate(),L=U===f?`${S}`:`${U}/${S}`;B=a("manager.chart.weekRange",{start:V,end:L});const H=new Date(h,b-1,y).getTime();E=H>=new Date(_,f-1,V).getTime()&&H<=$.getTime(),j=_>h||_===h&&(f>b||f===b&&V>y)}return{...x,label:B,sublabel:p?`${Kl[k-1]??k}\uC8FC`:`Week ${k}`,isToday:E,future:x.future===!0||j||void 0,a:j?-1:x.a,b:j?0:x.b}})}const g=d.find(w=>w.value===u);if(!g)return[];const v=new Date(g.year,g.month-1,hn(g.year,g.month-1)+g.week*7);return bo(e,v,m,s).map(({dt:w,entry:C,isFuture:_})=>{const f=w.getMonth()+1,A=w.getDate(),x=w.getFullYear();return{label:f===g.month&&x===g.year?`${A}`:`${f}/${A}`,sublabel:c[w.getDay()]??"",future:_||void 0,a:_?-1:C&&C.a>0?C.a:0,b:_?0:C&&C.b>0?C.b:0,isToday:x===h&&f===b&&A===y,...C?.parts?{parts:_?C.parts.map(()=>0):C.parts}:{},...C?.partsB?{partsB:_?C.partsB.map(()=>0):C.partsB}:{}}})}const iy={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function ly({focusableBars:e,size:n="medium",barWidth:a,titleKey:r,titleLevel:s,data:i,colorA:l,colorB:u,labelAKey:d,labelBKey:c,showTotal:p=!1,totalUnitKey:m,totalLabelKey:h,control:b,hideControls:y=!1,rate:g=!1,rateAgg:v="dayMean",tightMax:w=!1,avgMode:C=!1,totalFormat:_,series:f,seriesMode:A="stack",loading:x=!1,onDetail:N,headExtra:k,headSegment:B,icon:E,disc:j,onClick:V,cardAriaLabel:$,cardTooltip:U,detailSize:S=32,barGap:L,baseline:H,className:X,inGrid:ne=!1}){const{t:q,i18n:G}=ye.useTranslation(),P=iy[n],I=Yl(i),D=b??I,z=o.useMemo(()=>sy(i,D,q,G.language,H==null),[i,D,q,G.language,H]),M=A==="group"&&!!f&&f.length>0;L!=null&&!M&&an("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 F=o.useMemo(()=>{if(!g)return z;const re=D.period==="month"?D.monthRange.match(/^(\d+)년 (\d+)월$/):null,ce=Jn(),ue=f?.length??0,be=W=>{const te=[],oe=[],_e=[];for(let he=0;he<ue;he++){let le=0,ge=0,Ce=0;for(const ve of W){const Le=ht(ve.a[he]),je=ht(ve.b[he]);je<=0||(le+=Le,ge+=je,Ce+=Le/je*100)}te.push(v==="weighted"?ge>0?Math.round(le/ge*100):0:W.length?Math.round(Ce/W.length):0),oe.push(le),_e.push(ge)}return{pct:te,ra:oe,rb:_e}};return z.map((W,te)=>{let oe=W.a===-1?-1:W.b>0?Math.round(W.a/W.b*100):0;if(re&&!wn(W)){const he=Number(re[1]),le=Number(re[2])-1,ge=bo(i,new Date(he,le,hn(he,le)+te*7),ce).filter(Ce=>!Ce.isFuture);if(v==="weighted"){let Ce=0,ve=0;for(const{entry:Le}of ge)Le&&Le.b>0&&(Ce+=Le.a,ve+=Le.b);oe=ve>0?Math.round(Ce/ve*100):0}else oe=ge.length?Math.round(ge.reduce((Ce,{entry:ve})=>Ce+(ve&&ve.b>0?ve.a/ve.b*100:0),0)/ge.length):0}let _e=null;if(M&&!wn(W)){let he;if(re){const ge=Number(re[1]),Ce=Number(re[2])-1;he=bo(i,new Date(ge,Ce,hn(ge,Ce)+te*7),ce).filter(ve=>!ve.isFuture).map(({entry:ve})=>({a:ve?.parts??[],b:ve?.partsB??[]}))}else he=[{a:W.parts??[],b:W.partsB??[]}];const le=be(he);_e={parts:le.pct,rawParts:le.ra,rawPartsB:le.rb}}return{...W,a:oe,b:W.a===-1?0:c&&W.parts&&W.parts[1]>0?Math.round(W.parts[0]/W.parts[1]*100):0,rawA:W.a===-1?-1:W.a,rawB:W.b,..._e??{}}})},[z,g,v,c,D.period,D.monthRange,i,M,f?.length]),R=o.useMemo(()=>{if(g||C){const ce=(D.period==="week"?z:i[D.monthRange]?.daily??[]).filter(be=>be.a!==-1);if(ce.length===0)return 0;if(g&&v==="weighted"){let be=0,W=0;for(const te of ce)te.b>0&&(be+=te.a,W+=te.b);return W>0?Math.round(be/W*100):0}const ue=g?ce.reduce((be,W)=>be+(W.b>0?W.a/W.b*100:0),0):ce.reduce((be,W)=>be+(W.a>0?W.a:0),0);return Math.round(ue/ce.length)}const re=D.period==="month"?i[D.monthRange]?.daily??[]:F;return H!=null?re.reduce((ce,ue)=>ce+(wn(ue,!1)?0:ht(ue.a)+(c?ht(ue.b):0)),0):re.reduce((ce,ue)=>ce+(ue.a>0?ue.a:0)+(c&&ue.b>0?ue.b:0),0)},[F,z,g,v,C,H,c,D.period,D.monthRange,i]),K=f&&f.length>0?f.map(re=>({color:re.color,label:re.label})):[{color:l,label:q(d)},...c?[{color:u,label:q(c)}]:[]],ae=n==="small",Q=[ae?"manager-section--compact":n==="large"?"manager-section--full":void 0,X].filter(Boolean).join(" ")||void 0;return t.jsx(go,{className:Q,inGrid:ne,icon:E,disc:j,onClick:V,ariaLabel:$,tooltip:U,headSegment:B,headMenuItems:N?[{label:q("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:N,closeOnSelect:!0}]:void 0,title:q(r),titleLevel:s,titleClassName:ae?"h5 chart-section-title--small":void 0,headRight:ae?k??void 0:({collapsed:re})=>t.jsxs(t.Fragment,{children:[!y&&t.jsx(Zl,{control:D}),k,N&&!re&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(pe,{htmlType:"button",size:S,type:"dot",icon:"list",ariaLabel:q("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:q("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:N})})]}),subRow:t.jsxs(t.Fragment,{children:[p?g||C||h&&_?t.jsx(La,{label:ae?void 0:`${q(D.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${q(h??d)}`,children:_?(_(R).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((re,ce)=>/\d/.test(re)?t.jsx("span",{className:"barchart-total__num h0",children:re},ce):t.jsx("span",{className:"barchart-total__unit h5",children:re},ce)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:R}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:q(m)})]})}):t.jsxs(La,{children:[t.jsx("span",{className:"barchart-total__num h0",children:R}),t.jsx("span",{className:"barchart-total__unit h5",children:q(d)}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:q(m)})]}):t.jsx("span",{}),t.jsx(fo,{items:K,className:"caption-1"})]}),children:x?t.jsx("div",{className:"manager-bar-chart-wrap manager-bar-chart-loading","aria-busy":"true",children:t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsxs("div",{className:"manager-bar-chart-area manager-bar-chart-area--loading",children:[t.jsx("div",{className:"manager-bar-chart-plot manager-bar-chart-plot--loading",style:{height:P.height},children:t.jsx(Ma,{size:32})}),t.jsx("div",{className:"manager-bar-chart-x-axis","aria-hidden":"true",children:t.jsxs("span",{className:"manager-bar-chart-x-axis__label",children:[t.jsx("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:"\xA0"}),F.some(re=>!!re.sublabel)&&t.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):t.jsx(oy,{focusableBars:e,data:F,colorA:l,colorB:c?u:void 0,labelA:q(d),labelB:c?q(c):void 0,barWidth:a??P.barWidth,barGap:L,baseline:H,height:P.height,maxOverride:g?100:void 0,tightMax:w,seriesColors:f?.map(re=>re.color),seriesLabels:f?.map(re=>re.label),rateLabels:g?{total:q("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:q("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:M})})}const Xl=120,uy={left:38,right:16,top:26,bottom:24};function cy({points:e=[],range:n,ticks:a=[],axisTitle:r,color:s,height:i=156,fallbackWidth:l=320,insets:u,overlay:d,ariaLabel:c,className:p}){const[m,h]=o.useState(null),[b,y]=o.useState(null);o.useEffect(()=>{if(!b)return;const H=ne=>h(Math.round(ne)||null);if(H(b.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const X=new ResizeObserver(([ne])=>H(ne.contentRect.width));return X.observe(b),()=>{X.disconnect()}},[b]);const{payload:g,anchorRect:v,openAfterDelay:w,close:C}=hb(Xl),_=o.useCallback((H,X)=>{H&&w(H,X.getBoundingClientRect())},[w]),f=m??l,A=i,{left:x,right:N,top:k,bottom:B}={...uy,...u},[E,j]=n,V=H=>j===E?x:x+(f-x-N)*(H-E)/(j-E),$=H=>k+(A-k-B)*(100-H)/100,U={x:V,y:$,plot:{left:x,right:f-N,top:k,bottom:A-B,width:Math.max(0,f-x-N),height:Math.max(0,A-k-B)}},S=e.filter(H=>!H.hollow),L=s??"var(--color-main)";return t.jsxs(t.Fragment,{children:[t.jsxs("svg",{ref:y,className:ke("line-chart",p),viewBox:`0 0 ${f} ${A}`,role:"img","aria-label":c??e.map(H=>H.description).filter(Boolean).join(", "),children:[r&&t.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:r}),[0,100].map(H=>t.jsxs("g",{children:[t.jsx("line",{className:"line-chart__grid",x1:x,x2:f-N,y1:$(H),y2:$(H)}),t.jsxs("text",{className:"line-chart__tick",x:x-6,y:$(H)+4,textAnchor:"end",children:[H,"%"]})]},H)),d?.(U),a.map(H=>t.jsx("text",{className:"line-chart__tick",x:V(H.x),y:A-5,textAnchor:"middle",children:H.label},H.x)),S.length>1&&t.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:L,points:S.map(H=>`${V(H.x)},${$(H.pct)}`).join(" ")}),e.map(H=>t.jsxs("g",{className:"line-chart__dot",onPointerEnter:X=>_(H.description,X.currentTarget),onPointerLeave:C,children:[t.jsx("circle",{className:"line-chart__dot-hit",cx:V(H.x),cy:$(H.pct),r:12}),t.jsx("circle",{className:ke("line-chart__dot-main",H.hollow&&"is-hollow"),cx:V(H.x),cy:$(H.pct),r:4,stroke:L,fill:H.hollow?void 0:L})]},H.x))]}),g!=null&&t.jsx(on,{anchorRect:v,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:g,children:g})]})}function dy({icon:e,iconSize:n=56,title:a,titleClass:r="h2",description:s,tipGroups:i,start:l,className:u}){return t.jsxs("div",{className:ke("game-intro",u),children:[e!=null&&t.jsx("span",{className:"game-intro__icon","aria-hidden":"true",style:{"--game-intro-icon":`${n}px`},children:e}),t.jsx("h2",{className:ke("game-intro__title",r),children:a}),s!=null&&t.jsx("p",{className:"game-intro__description body-3",children:s}),i?.map((d,c)=>t.jsxs("div",{className:"game-intro__tips",children:[d.title!=null&&t.jsx("span",{className:"game-intro__tips-title body-3",children:d.title}),d.tips.map((p,m)=>t.jsxs("span",{className:"game-intro__tip body-3",children:[p.icon!=null&&t.jsx("span",{"aria-hidden":"true",children:p.icon}),t.jsx("span",{children:p.text})]},m))]},c)),l&&t.jsx(pe,{htmlType:"button",className:l.className,variant:"main",color:l.color,size:48,width:"100%",disabled:l.disabled,onClick:l.onClick,children:l.label})]})}const Jl=(e,n,a)=>{const r=new Date(Date.UTC(e,n,a));return`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}-${String(r.getUTCDate()).padStart(2,"0")}`},Ql=(e,n,a,r)=>({from:ci(e,n,a),to:new Date(ci(e,n,a+r).getTime()-1),fromYmd:Jl(e,n,a),toYmd:Jl(e,n,a+r-1)});function py(e,n=0){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=Jn(),l=s?Number(s[1]):i.getFullYear(),u=(s?Number(s[2]):i.getMonth()+1)-1+n,d=new Date(Date.UTC(l,u+1,0)).getUTCDate();return Ql(l,u,1,d)}const a=e.weekRanges.find(s=>s.value===e.weekRange);if(!a){const s=new Date,i=va();return{from:s,to:s,fromYmd:i,toYmd:i}}const r=hn(a.year,a.month-1);return Ql(a.year,a.month-1,r+(a.week+n)*7,7)}const yo={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function eu(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function tu({done:e,total:n,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:u=!1,hideLabel:d=!1}){const c=typeof s=="number"?s:yo[s].diameter,p=i??(typeof s=="number"?12:yo[s].strokeWidth),m=c/2,h=(c-p)/2,b=2*Math.PI*h;if(a&&a.length>0){const w=a.reduce((C,_)=>{const f=C.length>0?C[C.length-1].acc:0,A=Number.isFinite(_.ratio)?_.ratio:0,x=Math.max(0,Math.min(A,1-f));return C.push({color:_.color,rotate:-90+f*360,dash:b*x,acc:f+x}),C},[]);return t.jsx("div",{className:"ring-chart",style:{width:c,height:c},children:t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),w.map((C,_)=>C.dash>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:C.color,strokeWidth:p,strokeDasharray:`${C.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${C.rotate} ${m} ${m})`},_))]})})}const y=(n??0)>0?Math.min((e??0)/n,1):0,g=b*y,v=b-g;return t.jsxs("div",{className:"ring-chart",style:{width:c,height:c},children:[t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),y>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${g} ${v}`,strokeLinecap:y<.02||y>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!u&&t.jsxs("div",{className:`ring-chart__center${d?"":` ${c<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${c<=96?"h2":"h1"}`,children:eu(y)}),!d&&t.jsx("span",{className:`ring-chart__label ${c<=96?"caption-2":"caption-1"}${c<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function my({titleKey:e,titleLevel:n,headRight:a,icon:r,showTotal:s,totalLabelKey:i,legend:l,loading:u,className:d,inGrid:c=!1,onClick:p,ariaLabel:m,tooltip:h,...b}){const{t:y}=ye.useTranslation();if(!e)return t.jsx(tu,{...b});const g=(b.total??0)>0?eu(Math.min((b.done??0)/b.total,1)):0,v=b.size==="small",w=typeof b.size=="number"?b.size:yo[b.size??"medium"].diameter,C=b.size==="large",_=[d,v?"manager-section--compact":C?"manager-section--full":""].filter(Boolean).join(" ")||void 0,f=r&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ye,{icon:r,className:"chart-section-icon-inner"})});return t.jsx(go,{className:_,inGrid:c,onClick:p,ariaLabel:m,tooltip:h,title:y(e),titleLevel:n,titleClassName:v?"h5 chart-section-title--small":void 0,headRight:f||(v?void 0:a),subRow:(s||l)&&t.jsxs(t.Fragment,{children:[s?t.jsxs(La,{label:!v&&i?y(i):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:g}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),l&&t.jsx(fo,{items:l})]}),children:u?t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx("div",{className:"ring-chart ring-chart--loading",style:{width:w,height:w},"aria-busy":"true",children:t.jsx(Ma,{size:32})})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(tu,{...b,hideCenter:b.hideCenter??v})})})}function hy({label:e,value:n,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:u}){const d=o.useRef(null),{anchorRect:c,openAt:p,close:m}=wa(),h=o.useCallback(()=>{i&&d.current&&p(d.current)},[i,p]),b=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),y=a===void 0?void 0:a>0?`+${a}`:`${a}`,g=o.useCallback(v=>{l&&(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),l())},[l]);return t.jsxs("div",{ref:d,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?g:void 0,onPointerEnter:h,onPointerLeave:m,onFocus:h,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,n,y].filter(v=>v!==void 0&&v!=="").join(" "):void 0,children:[i&&c&&t.jsx(bn,{anchorRect:{left:c.left,top:c.top+21,right:c.right,bottom:c.bottom,width:c.width,height:c.height},text:i}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),s&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ye,{icon:s,className:"manager-stat-card__icon-inner"})})]}),t.jsxs("div",{className:"manager-stat-card__content",children:[t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),y&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${b??"neutral"} caption-1`,children:y})]}),u&&t.jsx("div",{className:"manager-stat-card__body",children:u})]})]})}function nu({value:e,onChange:n,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:u=!1,ariaLabel:d,length:c,className:p,label:m,formatValue:h,labelPos:b,labelAlign:y="right",showMinMax:g=!1,minLabel:v,maxLabel:w,showBgTick:C=!1,showFillTick:_=!1,tickStep:f,tickShape:A="dot"}){n&&!d&&an("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),N=r>a?(x-a)/(r-a):0,k=i==="vertical",B=!n,E=D=>n?.(Number(D.target.value)),j=typeof c=="number"?`${c}px`:c,V={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...j?k?{height:j}:{width:j}:{}},$=f??s,U=(C||_)&&$>0&&r>a?Math.floor((r-a)/$+1e-6):0;if(U>0&&U<=100){const D=A!=="dash",z=ae=>D?`radial-gradient(circle, ${ae} 0.5px, transparent 1px)`:k?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ae} calc(50% - 2px), ${ae} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ae} calc(50% - 2px), ${ae} calc(50% + 2px), transparent calc(50% + 2px))`,M=D?"2px":"4px",F=[],R=[],K=[];for(let ae=0;ae<=U;ae++){const Q=ae*$/(r-a);if(Q>1+1e-6)break;const re=`${((k?1-Q:Q)*100).toFixed(4)}%`,ce=Q<=N+1e-6;if(ce?!_:!C)continue;const ue=ce?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";F.push(z(ue)),R.push(k?`${M} var(--slider-thumb)`:`var(--slider-thumb) ${M}`),K.push(k?`center ${re}`:`${re} center`)}F.push(k?"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))"),R.push("100% 100%"),K.push("0 0"),V.backgroundImage=F.join(", "),V.backgroundSize=R.join(", "),V.backgroundPosition=K.join(", "),V.backgroundRepeat="no-repeat"}const S=h?h(x):m==="percent"?`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`:m==="count"?`${x} / ${r}`:x===a&&v?v:x===r&&w?w:void 0,L=t.jsx("input",{type:"range",className:ke("slider",`slider--${i}`,B&&"slider--static",!m&&!g&&p),min:a,max:r,step:s,value:x,disabled:u,readOnly:B,tabIndex:B?-1:void 0,"aria-label":d,"aria-valuetext":S,"aria-orientation":i,onChange:E,style:V});if(!m&&!g)return L;const H=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:v??a}),X=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:w??r}),ne=g?t.jsxs("div",{className:ke("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[k?X:H,L,k?H:X]}):L;if(!m)return ne;const q=b??(k?"bottom":"right"),G=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,P=h?h(x):m==="percent"?G:m==="count"?`${x} / ${r}`:String(x),I=t.jsx("span",{className:"slider-wrap__value body-3b",children:P});return t.jsxs("div",{className:ke("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${q}`,`slider-wrap--align-${y}`,p),children:[ne,I]})}const Cy=.86,fy=250,vo=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),xo=(e,n,a,r)=>{const s=vo(e,n,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function _o({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:u=-60,refDb:d=-35,displayMin:c=-5,displayMax:p=25,className:m,ariaLabel:h}){const b=o.useRef(null),y=o.useRef(null),g=o.useRef(null),v=o.useRef(null),[w,C]=o.useState(null);o.useEffect(()=>{const x=L=>{const H=xo(L,d,c,p);g.current&&(g.current.textContent=H);const X=b.current;X&&(X.setAttribute("aria-valuenow",String(vo(L,d,c,p))),X.setAttribute("aria-valuetext",H))},N=e??lC(n)??(w&&w.el===n?w.node:null),k=y.current;if(!N||!k){k?.style.setProperty("--meter-level","0"),x(u);let L=!1;return!e&&n&&Ha(n).then(H=>{!L&&H&&C({el:n,node:H})}),()=>{L=!0}}Pr();const B=new Float32Array(N.fftSize);let E=0,j=0,V=0,$=0,U=null;const S=L=>{const H=uC(N,B);E=H>E?H:E*Cy;const X=E>1e-5?20*Math.log10(E):-1/0,ne=Math.max(u,X),q=ne-d,G=Math.min(1,Math.max(0,(q-c)/(p-c)));if(k.style.setProperty("--meter-level",G.toFixed(3)),j+=ne,V+=1,L-$>=fy){const P=j/V;U=U==null?P:U*.6+P*.4,x(U),j=0,V=0,$=L}v.current=requestAnimationFrame(S)};return v.current=requestAnimationFrame(S),()=>{v.current!=null&&cancelAnimationFrame(v.current),v.current=null}},[e,n,w,u,d,c,p]);const _=typeof r=="number"?`${r}px`:r,f=t.jsx("div",{className:"audio-meter__track",style:_?a==="vertical"?{height:_}:{width:_}:{},children:t.jsx("div",{ref:y,className:"audio-meter__fill"})}),A=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:b,className:ke("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${A}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":h,"aria-valuemin":c,"aria-valuemax":p,"aria-valuenow":vo(u,d,c,p),"aria-valuetext":xo(u,d,c,p),children:[f,s&&t.jsx("span",{ref:g,className:"audio-meter__value caption-2",children:xo(u,d,c,p)})]})}const au=260;function ru({message:e,position:n,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,u]=o.useState(!1),d=o.useRef(l),c=o.useRef(s);o.useEffect(()=>{d.current=l},[l]),o.useEffect(()=>{c.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),h=o.useRef(r);o.useEffect(()=>{h.current=r});const b=a,y=o.useRef(null),g=o.useRef(0),v=o.useRef(0),w=o.useRef(!1),C=o.useRef(null),_=o.useRef(null),f=o.useRef(null),A=o.useRef(null),x=o.useRef(()=>{});x.current=B=>{B<0||(g.current=Date.now(),v.current=B,y.current=setTimeout(()=>{y.current=null,i(!1),C.current=setTimeout(()=>{u(!1);try{h.current()}catch{}},au)},B))};const N=o.useCallback(()=>{w.current||!y.current||(w.current=!0,clearTimeout(y.current),y.current=null,v.current=Math.max(0,v.current-(Date.now()-g.current)))},[]),k=o.useCallback(()=>{w.current&&(w.current=!1,x.current(v.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(y.current&&(clearTimeout(y.current),y.current=null),C.current&&(clearTimeout(C.current),C.current=null)),e){if(c.current)return b>0&&!y.current&&(w.current?v.current=b:x.current(b)),m.current=e,()=>{y.current&&(clearTimeout(y.current),y.current=null),C.current&&(clearTimeout(C.current),C.current=null)};const B=()=>{const E=p.current;if(E)try{E.classList.remove("is-visible"),E.style.transition="none",n==="top"?E.style.transform="translateX(-50%) translateY(-16px)":E.style.transform="translateX(-50%) translateY(16px)",E.style.opacity="0",E.offsetWidth,E.style.transition="",E.classList.add("is-visible"),A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{A.current=null;try{E.style.opacity="",E.style.transform="",E.style.transition=""}catch{}},60)}catch{}};d.current?(B(),i(!0)):(u(!0),_.current=requestAnimationFrame(()=>{f.current=requestAnimationFrame(()=>{B(),i(!0)})})),b>0&&(w.current=!1,x.current(b))}else i(!1),C.current=setTimeout(()=>u(!1),au);return m.current=e,()=>{y.current&&clearTimeout(y.current),C.current&&clearTimeout(C.current),_.current&&cancelAnimationFrame(_.current),f.current&&cancelAnimationFrame(f.current),A.current&&clearTimeout(A.current),y.current=null,C.current=null,_.current=null,f.current=null,A.current=null}},[e,b,n]),{mounted:l,showing:s,popupRef:p,pause:N,resume:k}}function ra({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:u,pause:d,resume:c}=ru({message:e,position:n,duration:s,onClose:r}),p=o.useRef(null),[m,h]=o.useState(!1);if(o.useEffect(()=>{l?h(!0):i||h(!1)},[l,i]),!i)return null;const b=a==="notice"||a==="warning"?a:"normal",y=t.jsx("div",{ref:u,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:g=>{p.current=g.pointerType},onMouseEnter:()=>{p.current!=="touch"&&d()},onMouseLeave:c,onFocusCapture:d,onBlurCapture:c,children:t.jsx("div",{className:`toast__inner toast__inner--${b} body-2`,"aria-hidden":m||l?void 0:!0,children:t.jsx("span",{className:"toast__text",children:e})})});return typeof document<"u"?Jt.createPortal(y,document.body):y}const gy=24;function by({value:e,max:n=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:u,labelAlign:d="right",ariaLabel:c,className:p}){const m=Number.isFinite(n)&&n>0?n:1,h=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),b=h/m*100,y=Number.isFinite(n)&&n>0?n:0,g=u??(a>=gy?"inside":"bottom"),v=g==="center"?"inside":g,w=v==="inside"&&(d==="left"?b>=15:d==="center"?b>=50:b>=85),C={};return r&&(C["--progress-bar-fill"]=r),s&&(C["--progress-bar-track"]=s),t.jsxs("div",{className:ke("progress-bar",`progress-bar--${a}`,`progress-bar--label-${v}`,i&&`progress-bar--align-${d}`,i&&w&&"progress-bar--label-on-fill",p),style:C,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":y,"aria-valuetext":i?l?l(h):i==="percent"?void 0:i==="raw"?String(h):`${h} / ${y}`:void 0,"aria-label":c,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(h):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(h):`${h} / ${y}`})]})}const ou={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},yy="rgba(255, 255, 255, 0.16)";function su({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:u}){const{t:d}=ye.useTranslation(),c=nn("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,m=u??d("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),h={};if(a&&(h["--pi-inactive-bg"]=a),r&&(h["--pi-inactive-color"]=r),s&&(a||(h["--pi-inactive-bg"]=yy),r||(h["--pi-inactive-color"]="var(--color-white)")),i==="dot")return t.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:h,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&t.jsx("span",{style:ou,children:m}),Array.from({length:e}).map((y,g)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${g<p?" done":g===p?" active":""}`},g))]});const b=l?t.jsx("span",{role:"status",style:ou,children:m}):null;return c?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:h,role:"list","aria-label":m,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),b]}):t.jsxs(t.Fragment,{children:[b,t.jsx("div",{className:"progress-indicator",style:h,role:"list","aria-label":m,children:Array.from({length:e}).map((y,g)=>t.jsx("span",{role:"listitem","aria-current":g===p?"step":void 0,className:`progress-indicator-dot ${g<p?" done":g===p?" active":""} body-3`,children:g+1},g))})]})}function vy(e){if(!e)return[];const n=[];let a=0,r="";for(const s of e.trim()){if(s==="("?a++:s===")"&&a--,/\s/.test(s)&&a===0){r&&(n.push(r),r="");continue}r+=s}return r&&n.push(r),n}function xy({children:e,className:n,style:a,rowLabel:r,onRowClick:s}){return t.jsx("div",{role:"cell",className:n?`table-cell ${n}`:"table-cell",style:a,children:r&&s?t.jsx("button",{type:"button",className:"table-cell__row-button","aria-label":r,children:e}):e})}function wo({variant:e="default",children:n,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,expandedContent:c,colSpan:p,describedBy:m,rowHasButton:h}){const b=o.useCallback(y=>{s&&y.target===y.currentTarget&&(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),s())},[s]);return e==="loading"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--loading",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:t.jsx(Ma,{size:28})})})}):e==="empty"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--empty body-3",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:n})})}):t.jsxs("div",{role:"presentation",className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?b:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,role:"row",tabIndex:s&&!h?0:void 0,"aria-describedby":s&&!h?m:void 0,children:n}),c&&t.jsx("div",{role:"row",className:"table-row-expand",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row-expand__cell",children:c})})]})}function _y({dir:e}){return t.jsx(e==="asc"?xs:vs,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function wy({children:e,onClick:n,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=t.jsxs(t.Fragment,{children:[e,r&&t.jsx(_y,{dir:r})]});return t.jsxs("div",{onClick:n,role:"columnheader","aria-sort":s,className:ke("table-field body-3",a,r?"table-field--sorted":"",i?"table-field--resizable":""),children:[n?t.jsx("button",{type:"button",className:"table-field__button",children:l}):l,i&&t.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:u=>u.stopPropagation(),"aria-hidden":"true"})]})}function Ao({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:u,onRowDragStart:d,onRowDragEnd:c,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:h,resizable:b=!1,resizeMode:y="grow",resizeStorageKey:g,size:v="small",title:w,icon:C,count:_,collapsed:f=!1,onToggleCollapse:A,headerActions:x,empty:N,loading:k,dragOver:B=!1,onDragOver:E,onDragLeave:j,onDrop:V,renderExpandedRow:$,expandedId:U}){const{t:S}=ye.useTranslation(),L=o.useId(),H=`table-title-${L}`,X=`table-row-hint-${L}`,ne=nn("(max-width: 767px)"),q=h&&ne?h:null,G=b&&!ne,P=48,I=o.useRef(()=>P),D=g?`table-cols:${g}`:null,z=o.useRef(null),M=o.useRef(null),F=o.useRef(null),R=o.useRef(null),[K,ae]=o.useState(!1),Q=o.useCallback(()=>{const J=F.current;J&&ae(J.scrollWidth>J.clientWidth+1)},[]),re=o.useCallback((J,se)=>{const de=J.current;de&&M.current&&M.current.unobserve(de),J.current=se,se?(!M.current&&typeof ResizeObserver<"u"&&(M.current=new ResizeObserver(()=>Q())),M.current?.observe(se)):!F.current&&!R.current&&(M.current?.disconnect(),M.current=null),Q()},[Q]),ce=o.useCallback(J=>re(F,J),[re]),ue=o.useCallback(J=>re(R,J),[re]);o.useEffect(()=>{Q()}),o.useEffect(()=>{if(typeof window>"u")return;const J=typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>Q()):null;return window.addEventListener("resize",Q),()=>{J!=null&&cancelAnimationFrame(J),window.removeEventListener("resize",Q)}},[Q]);const be=o.useRef(()=>!1),W=o.useRef([]),te=o.useRef(null),oe=J=>{if(!J||typeof window>"u")return null;try{const se=JSON.parse(window.localStorage.getItem(J)??"null");return Array.isArray(se)&&se.length>0&&se.every(de=>typeof de=="number"&&Number.isFinite(de)&&de>0)?se:null}catch{return null}},[_e,he]=o.useState(()=>oe(D)),[le,ge]=o.useState(D);le!==D&&(ge(D),he(oe(D)));const Ce=o.useRef(_e);o.useEffect(()=>{Ce.current=_e},[_e]);const ve=o.useCallback(J=>{const se=te.current;if(!se)return;const de=Ce.current;if(de){const Ee=[...de];if(se.next!=null&&se.startWNext!=null){const et=J.clientX-se.startX,We=Math.max(I.current(se.index)-se.startW,Math.min(se.startWNext-I.current(se.next),et));Ee[se.index]=se.startW+We,Ee[se.next]=se.startWNext-We}else Ee[se.index]=Math.max(I.current(se.index),se.startW+(J.clientX-se.startX));Ce.current=Ee,he(Ee)}},[]),Le=o.useCallback(()=>{if(te.current=null,window.removeEventListener("pointermove",ve),window.removeEventListener("pointerup",Le),window.removeEventListener("pointercancel",Le),document.body.style.cursor="",document.body.style.userSelect="",D&&Ce.current)try{window.localStorage.setItem(D,JSON.stringify(Ce.current))}catch{}},[ve,D]),je=o.useCallback((J,se)=>{se.preventDefault(),se.stopPropagation();const de=z.current;if(!de)return;const Ee=Array.from(de.children).map(We=>We.getBoundingClientRect().width),et=y==="fit"?e.findIndex((We,gt)=>gt>J&&We.resizable!==!1):-1;te.current=et>=0?{index:J,startX:se.clientX,startW:Ee[J],next:et,startWNext:Ee[et]}:{index:J,startX:se.clientX,startW:Ee[J]},Ce.current=Ee,he(Ee),window.addEventListener("pointermove",ve),window.addEventListener("pointerup",Le),window.addEventListener("pointercancel",Le),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[ve,Le,y,e]),Qe=o.useCallback(()=>{const J=z.current,se=J?.closest(".table-wrap");if(!J||!se)return;const de=se.style.getPropertyValue("--table-grid-cols");se.style.setProperty("--table-grid-cols",e.map((Ke,Me)=>be.current(Me)?W.current[Me]:"max-content").join(" "));const Ee=Array.from(se.querySelectorAll(".table-row")).filter(Ke=>!Ke.classList.contains("table-row--loading")&&!Ke.classList.contains("table-row--empty")),et=e.map((Ke,Me)=>{let ze=J.children[Me]?.getBoundingClientRect().width??0;for(const ct of Ee){const xt=ct.children[Me];xt&&(ze=Math.max(ze,xt.getBoundingClientRect().width))}const Pe=be.current(Me)?parseFloat(W.current[Me]):NaN;return Number.isFinite(Pe)?Pe:Math.max(I.current(Me),Math.ceil(ze))}),We=window.getComputedStyle(J),gt=J.clientWidth-(parseFloat(We.paddingLeft)||0)-(parseFloat(We.paddingRight)||0);de?se.style.setProperty("--table-grid-cols",de):se.style.removeProperty("--table-grid-cols");let ut=et;const it=et.reduce((Ke,Me,ze)=>Ke+(be.current(ze)?Me:0),0),tt=et.reduce((Ke,Me,ze)=>Ke+(be.current(ze)?0:Me),0),Ge=gt-it;if(gt>0&&tt>0&&Ge>0){const Ke=Ge/tt;ut=et.map((ze,Pe)=>be.current(Pe)?ze:Math.max(I.current(Pe),Math.round(ze*Ke)));const Me=Math.round(Ge-ut.reduce((ze,Pe,ct)=>ze+(be.current(ct)?0:Pe),0));if(Me!==0){let ze=-1;ut.forEach((Pe,ct)=>{!be.current(ct)&&(ze<0||Pe>ut[ze])&&(ze=ct)}),ze>=0&&(ut[ze]=Math.max(I.current(ze),ut[ze]+Me))}}if(he(ut),D)try{window.localStorage.setItem(D,JSON.stringify(ut))}catch{}},[e,y,D]);o.useEffect(()=>()=>{te.current&&(window.removeEventListener("pointermove",ve),window.removeEventListener("pointerup",Le),window.removeEventListener("pointercancel",Le),document.body.style.cursor="",document.body.style.userSelect="")},[ve,Le]);const Ue=vy(m),He=Ue.filter(J=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(J));He.length>0&&an(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${He.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 Fe=e.findIndex(J=>!!J.sortDir);e.filter(J=>!!J.sortDir).length>1&&an("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 ot=J=>J===Fe?e[J].sortDir==="asc"?"ascending":"descending":e[J].onClick?"none":void 0,Ze=J=>/^\d+(\.\d+)?px$/.test(Ue[J]??""),Xe=J=>{const se=Ue[J]??"",de=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(se)??/^(\d+(?:\.\d+)?)px$/.exec(se);return de?parseFloat(de[1]):P};be.current=Ze,I.current=Xe,W.current=Ue;const st=J=>y==="fit"&&!Ze(J)?"fr":"px",De=_e&&_e.length===e.length&&!ne&&(y==="fit"||a.length>0),$e=q??(De?e.map((J,se)=>J.resizable===!1&&Ue[se]?Ue[se]:`${_e[se]}${st(se)}`).join(" "):m),Be=$e?{"--table-grid-cols":$e}:void 0,nt=w!==void 0;return t.jsxs("div",{ref:ce,className:`table-wrap table-wrap--${v}${G?" table-wrap--resizable":""}${B?" table-wrap--dragover":""}${f?" table-wrap--collapsed":""}`,style:Be,onDragOver:E,onDragLeave:j,onDrop:V,tabIndex:K?0:void 0,role:K?"region":void 0,"aria-label":K?typeof w=="string"?w:S("table.scrollRegion","\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"):void 0,children:[!!s&&t.jsx("span",{id:X,className:"table-row-hint",children:S("table.rowActionHint","\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4")}),t.jsxs("div",{ref:ue,role:"table","aria-labelledby":nt&&typeof w=="string"?H:void 0,className:"table body-2",children:[nt&&t.jsxs("div",{className:ke("table-header",A&&"table-header--clickable"),onClick:A,role:"caption",children:[A&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:f?"chevron-right":"chevron-down",ariaLabel:f?S("common.expand","\uD3BC\uCE58\uAE30"):S("common.collapse","\uC811\uAE30"),ariaExpanded:!f,className:"table-header__chevron"}),C&&t.jsx(Ye,{icon:C,label:typeof w=="string"?w:void 0,className:"table-header__icon"}),t.jsx("span",{id:H,className:"table-header__title h5b",children:w}),_!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:_}),x&&t.jsx("span",{className:"table-header__actions",onClick:J=>J.stopPropagation(),children:x})]}),!f&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{role:"row",className:"table-fields table-fields--groups",children:n.map((J,se)=>t.jsx("div",{role:"columnheader","aria-colspan":J.span,className:ke("table-field body-3",J.className),style:{gridColumn:`span ${J.span}`},children:J.label},se))}),t.jsxs("div",{role:"presentation",className:ke("table-fields-strip",G&&"table-fields-strip--resizable"),children:[t.jsx("div",{role:"row",className:"table-fields",ref:z,children:e.map((J,se)=>t.jsx(wy,{onClick:J.onClick,className:J.className,sortDir:J.sortDir,ariaSort:ot(se),onResizeStart:G&&se<e.length-1&&J.resizable!==!1&&(y!=="fit"||e.some((de,Ee)=>Ee>se&&de.resizable!==!1))?de=>je(se,de):void 0,children:J.label},se))}),G&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:Qe})]}),t.jsx("div",{role:"rowgroup",className:"table-body",children:k?t.jsx(wo,{variant:"loading",colSpan:e.length||void 0}):a.length===0&&N?t.jsx(wo,{variant:"empty",colSpan:e.length||void 0,children:N}):a.map((J,se)=>{const de=p!=null&&J.id===p,Ee=!!s&&(i?i(J):!0),et=U!=null&&J.id!=null&&(U instanceof Set?U.has(J.id)||[...U].some(We=>String(We)===String(J.id)):String(J.id)===String(U));return t.jsx(wo,{className:`${Ee?" table-row--clickable":""}${d?" table-row--draggable":""}${de?" table-row--dragging":""}`.trim(),draggable:!!d,onClick:Ee?()=>s(J):void 0,colSpan:e.length||void 0,rowHasButton:r(J).some(We=>!!We.rowLabel),describedBy:X,onMouseEnter:l?We=>l(J,We):void 0,onMouseLeave:u?We=>u(J,We):void 0,onDragStart:d?We=>d(J,We):void 0,onDragEnd:c?We=>c(J,We):void 0,expandedContent:et&&$?$(J):void 0,children:r(J).map((We,gt)=>t.jsx(xy,{className:We.className,style:We.style,rowLabel:Ee?We.rowLabel:void 0,onRowClick:Ee?()=>s(J):void 0,children:We.content},gt))},J.id!=null?`${typeof J.id}:${J.id}`:`__idx:${se}`)})})]})]})]})}function iu(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const oa=e=>e==null?"":String(e).trim();function Bo(e,n,a){const r=[oa(e),oa(n),oa(a)];for(;r.length>0&&r[r.length-1]==="";)r.pop();return r.join(".")}function Ay(e,n,a){const r=oa(e);return r?`${r}-${oa(n).padStart(2,"0")}-${oa(a).padStart(2,"0")}`:""}const By={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function ky(e,n){const a=By[e];return a?n(`device.type.${a}`,{defaultValue:e}):e}function lu(e,n){return n!=="wornAt"?String(e[n]??""):Ay(e.wornYear,e.wornMonth,e.wornDay)}function Ny({rows:e,loading:n,onSelect:a,onDelete:r,onWear:s,onRelease:i,onAdd:l}){const{t:u}=ye.useTranslation(),d=g=>g==="\uC88C"?u("device.direction.left","\uC88C"):u("device.direction.right","\uC6B0"),{\uC815\uB82C:c,\uCE78:p}=rb(),m=o.useMemo(()=>{if(!c)return e;const{key:g,asc:v}=c;return[...e].sort((w,C)=>{if(g==="worn"){const _=Number(C.worn)-Number(w.worn);return v?_:-_}return ao(lu(w,g),lu(C,g),v)})},[e,c]),{pageRows:h,pageSizeProps:b,paginationProps:y}=ab(m,c);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(Co,{count:{value:e.length,unit:u("customers.device.unit","\uAC1C")},pageSize:b,pagination:y,actions:l&&t.jsx(pe,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:u("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:l})}),t.jsx(Ao,{loading:n,resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...p(u("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},p(u("device.direction.label","\uBC29\uD5A5"),"side"),p(u("device.deviceType","\uC885\uB958"),"device"),p(u("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),p(u("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),p(u("device.productName","\uC81C\uD488\uBA85"),"productName"),p(u("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...r?[{label:"",resizable:!1}]:[]],items:h.map((g,v)=>({id:g.id??`${g.side}-${v}`,row:g})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${r?" 80px":""}`,renderRow:({row:g})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:v=>v.stopPropagation(),children:t.jsx(Wl,{checked:g.worn,disabled:g.worn?!i:!s,ariaLabel:g.worn?u("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):u("customers.device.wear","\uCC29\uC6A9"),onChange:v=>{v?s?.(g):i?.(g)}})})},{content:t.jsx("span",{children:d(g.side)})},{content:g.device?t.jsx(yt,{size:"small",variant:iu(g.device),fill:"soft",label:ky(g.device,u)}):t.jsx("span",{})},{content:t.jsx("span",{children:g.brand})},{content:t.jsx("span",{children:g.fitType||"-"})},{content:t.jsx("span",{children:g.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:Bo(g.wornYear,g.wornMonth,g.wornDay)||"-"})},...r?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(pe,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:u("common.delete","\uC0AD\uC81C"),onClick:v=>{v?.stopPropagation(),r(g)}})})}]:[]],onRowClick:({row:g})=>a(g),empty:u("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function uu(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function Dy(e,n){return new Date(e,n+1,0).getDate()}function Ey(e,n){return new Date(e,n,1).getDay()}function Sy({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r,today:s}){const{t:i,i18n:l}=ye.useTranslation(),u=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),d=Vr(s),[c,p]=o.useState(()=>Number(d.slice(0,4))),[m,h]=o.useState(()=>Number(d.slice(5,7))-1),[b,y]=o.useState(null),g=o.useRef(null),v=o.useMemo(()=>{const x={};return e.forEach(N=>{x[N.date]||(x[N.date]=[]),x[N.date].push(N)}),x},[e]),w=o.useMemo(()=>{const x=Dy(c,m),N=Ey(c,m),k=[];for(let B=0;B<N;B++)k.push(null);for(let B=1;B<=x;B++)k.push(B);for(;k.length<35;)k.push(null);return k},[c,m]),C=o.useCallback(()=>{m===0?(p(x=>x-1),h(11)):h(x=>x-1)},[m]),_=o.useCallback(()=>{m===11?(p(x=>x+1),h(0)):h(x=>x+1)},[m]),f=x=>`${c}-${String(m+1).padStart(2,"0")}-${String(x).padStart(2,"0")}`,A=x=>f(x)===d;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:C,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ye,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5","aria-live":"polite",children:i("calendar.yearMonth",{year:c,month:m+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:_,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ye,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[u.map(x=>t.jsx("div",{className:"calendar-day-header body-3",children:x},x)),w.map((x,N)=>{if(x===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${N}`);const k=x,B=f(k),E=v[B]??[],j=OC(B,l.language),V=b===B;return t.jsxs("div",{className:`calendar-cell${A(k)?" today":""}${V?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:B}):void 0,"aria-current":A(k)?"date":void 0,onClick:r?()=>r(B):void 0,onKeyDown:r?$=>{$.target===$.currentTarget&&($.key!=="Enter"&&$.key!==" "||($.preventDefault(),r(B)))}:void 0,onDragOver:a?$=>{$.preventDefault(),y(B)}:void 0,onDragLeave:a?$=>{$.currentTarget.contains($.relatedTarget)||y(null)}:void 0,onDrop:a?$=>{$.preventDefault(),g.current!=null&&(a(g.current,B),g.current=null),y(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:k}),E.length>0&&(()=>{const $=[{key:"visited",\uB9D0:i("calendar.legend.visited","\uBC29\uBB38"),\uC218:E.filter(S=>(S.status??"visited")==="visited").length},{key:"scheduled",\uB9D0:i("calendar.legend.scheduled","\uC608\uC57D"),\uC218:E.filter(S=>S.status==="scheduled").length},{key:"noVisit",\uB9D0:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38"),\uC218:E.filter(S=>S.status==="noVisit").length}].filter(S=>S.\uC218>0),U=$.length===1&&$[0].key==="visited"?i("calendar.visitCount",{count:E.length,defaultValue:"\uBC29\uBB38 {{count}}\uAC74"}):$.map(S=>i("calendar.statusCount",{label:S.\uB9D0,count:S.\uC218,defaultValue:"{{label}} {{count}}\uAC74"})).join(" \xB7 ");return t.jsxs("span",{className:"calendar-cell__visit-count caption-1","aria-label":`${j} ${U}`,children:[$.map(S=>t.jsx("span",{className:`calendar-cell__visit-dot calendar-cell__visit-dot--${S.key}`,"aria-hidden":"true"},S.key)),E.length]})})(),t.jsx("div",{className:"calendar-cell__badges",children:E.map(($,U)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${$.status==="noVisit"?" calendar-visit-badge--no-visit":$.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?S=>{g.current=$.id,S.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{g.current=null,y(null)}:void 0,onClick:n?S=>{S.stopPropagation(),n($)}:void 0,...uu(n?()=>n($):void 0),"aria-label":[j,$.time?mi($.time,i):null,$.customer,i($.status==="noVisit"?"calendar.legend.noVisit":$.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[$.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:mi($.time,i)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:$.customer}),$.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},$.id??U))})]},k)})]})]})}const jy={page:"h3",pagePopup:"h4",popup:"h5"};function sa({type:e="page",title:n,headingLevel:a=2,icon:r,action:s,disc:i,children:l,inGrid:u=!1,className:d,style:c}){const p=jy[e],m=n||i||s||r,h=a?`h${a}`:"div";return t.jsxs("div",{className:ke("section",`section--${e}`,u&&"section--in-grid",d),style:c,children:[m&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ye,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(h,{className:`section__title ${p}`,children:n}),i&&t.jsx("div",{className:"section__disc body-3",children:i})]})]}),s&&t.jsx("div",{className:"section__action",children:s})]}),l]})}let ko=null,cu=!1;function du(){if(cu||typeof document>"u")return;cu=!0,document.addEventListener("keydown",n=>{n.metaKey||n.ctrlKey||n.altKey||(ko="keyboard")},!0);const e=()=>{ko="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}du();function rr(){return du(),ko==="keyboard"}const or=20;function Ty(e){const{t:n}=ye.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:u,onItemComplete:d,size:c,useDescriptionTooltip:p,onRemove:m,onMore:h,sectionType:b="page"}=e||{},[,y]=o.useState(0),g=typeof r<"u"?Array.isArray(r)?r:[]:[],v=g.length,[w,C]=o.useState(Math.min(v,or)),_=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{C(Math.min(v,or))},[v]),al("speechear.data.updated",()=>y(N=>N+1));const f=o.useRef(null),A=o.useRef(null);function x(){const N=document.activeElement;A.current=rr()&&N&&N.closest?.(".training-block__more")?w:null,C(k=>Math.min(v,k+or))}return o.useEffect(()=>{const N=A.current;if(N==null)return;A.current=null;const k=document.activeElement;k&&k!==document.body||f.current?.querySelectorAll(".training-block-button")[N]?.focus()},[w]),t.jsxs(sa,{type:b,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",ref:f,children:(g||[]).slice(0,w).map((N,k)=>{const B=N;return t.jsx(po,{index:k,type:a,trainingData:B,depth:_,renderPopup:i,completedIds:l,selectedIds:u,size:c,useDescriptionTooltip:p,onRemove:typeof m=="function"&&u!=null&&B?.id!=null&&u.has(String(B.id))?()=>m(B):void 0,onComplete:typeof d=="function"&&B?.id!=null?()=>d(String(B.id)):void 0,onMore:typeof h=="function"?E=>h(B,E):void 0},B?.id!=null?`${a?.key||"t"}-${String(B.id)}`:`${a?.key||"t"}-${k}`)})}),v>or&&w<v&&t.jsx("div",{className:"training-block__more",children:t.jsx(pe,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:x,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function No(e){const n=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const d=n.current;r(!!e&&!(d?.complete&&d.naturalWidth>0))},[e]);const l=o.useCallback(()=>r(!1),[]),u=o.useCallback(()=>{r(!1),i(!0)},[]);return{imgRef:n,loading:a,failed:s,hasImage:!!e&&!s,onLoad:l,onError:u}}var My='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 Ly=My,Do=o.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:s=!1,onSelect:i,flipDelay:l=0,hideLabel:u=!1,hideAudio:d=!1,orderRank:c=null},p){const{t:m}=ye.useTranslation(),h=e.word||e.title||"",b=n||!h,y=e.audio??e.sound??e.audioKey,g=e.subLabel||e.pronunciation||"",v=e.colloquialLabel||"",[w,C]=o.useState({label:h,subLabel:g,colloquialLabel:v,homonum:e.homonum});h&&(w.label!==h||w.subLabel!==g||w.colloquialLabel!==v||!Object.is(w.homonum,e.homonum))&&C({label:h,subLabel:g,colloquialLabel:v,homonum:e.homonum});const _=o.useRef(null),f=nn("(max-width: 767px)"),[A,x]=o.useState(!1),N=`${typeof y=="string"?y:y?.src??""}\0${h}`,[k,B]=o.useState({for:"",url:""}),E=k.for===N?k.url:"",j=si(),V=e.textOnly??(!e.image&&!!w.label&&!!j&&j.entries.length>0&&!j.byWord.has(w.label)),$=V?"":Xn()?.(w.label,w.homonum)??e.image??"",{imgRef:U,loading:S,hasImage:L,onLoad:H,onError:X}=No($);o.useEffect(()=>{let F=!1;return(async()=>{if(y){if(typeof y=="string"){if(y.startsWith("http")||y.includes("/")){B({for:N,url:y});return}}else if(typeof y=="object"&&!Array.isArray(y)){const K=y.src;if(K){B({for:N,url:K});return}}}const R=Lr();if(R&&h)try{const K=await Promise.resolve(R(h));!F&&K&&B({for:N,url:K})}catch{}})(),()=>{F=!0}},[y,h,N]);const ne=o.useRef(!0),q=o.useRef(null);o.useEffect(()=>(ne.current=!0,()=>{ne.current=!1,q.current&&er(q.current),q.current=null;try{_.current?.pause()}catch{}_.current=null}),[]);const G=o.useCallback(()=>new Promise(F=>{if(typeof window<"u"&&window.speechSynthesis&&h){x(!0),window.speechSynthesis.cancel();const R=new SpeechSynthesisUtterance(h);R.lang="ko-KR",R.onend=()=>{x(!1);try{a?.()}catch{}F()},R.onerror=()=>{x(!1),F()},window.speechSynthesis.speak(R)}else F()}),[h,a]),P=o.useCallback(F=>new Promise(R=>{let K=!1;const ae=()=>{K||(K=!0,x(!1),R(!1))};try{const Q=new Audio(F);_.current=Q,Q.onended=()=>{if(!K){K=!0,x(!1);try{a?.()}catch{}R(!0)}},Q.onerror=ae,Q.play().catch(ae)}catch{ae()}}),[a]),I=o.useCallback(async()=>{if(n||!ne.current)return;const F=()=>{q.current===F&&(q.current=null);try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)},R=Qa(F);q.current=F;try{window.speechSynthesis?.cancel()}catch{}try{if(E&&(x(!0),await P(E)))return;const K=rC();if(K&&h)try{const ae=await Promise.resolve(K(h));if(!ne.current||q.current!==F||ae&&(x(!0),await P(ae)))return}catch{}if(!ne.current||q.current!==F)return;await G()}finally{R(),q.current===F&&(q.current=null)}},[n,E,h,P,G]);o.useImperativeHandle(p,()=>({play:()=>I()}),[I]);const D=F=>F.stopPropagation(),z=o.useCallback(F=>{if(F.stopPropagation(),!n){if(A){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}I()}},[n,A,I]),M=ke("training-word-card",n?"training-word-card--disabled":"",b?"training-word-card--flipped":"",r?"training-word-card--selectable":"",s?"training-word-card--selected":"");return t.jsx("div",{className:M,onClick:r&&!n?i:void 0,role:r?"button":void 0,"aria-pressed":r?s:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?F=>{F.target===F.currentTarget&&(F.key==="Enter"||F.key===" "||F.key==="Spacebar")&&(F.preventDefault(),i?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:b?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[s&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:D,children:t.jsx(yt,{type:"dot",size:40,position:"inline",animate:!0,icon:c!=null?void 0:"check",number:c??void 0,"aria-label":c!=null?m("training.nthSelected",{n:c}):m("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:V?t.jsx("div",{className:"training-word-card__text-face",children:w.label}):L?t.jsxs(t.Fragment,{children:[S&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:U,className:"training-word-card__image",src:$,alt:w.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:S?0:1},onLoad:H,onError:X})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!u&&t.jsxs("div",{className:"training-word-card__body",children:[!V&&t.jsx("div",{className:"training-word-card__word",children:w.label}),w.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",w.subLabel,"]"]}),w.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",w.colloquialLabel,"]"]})]}),!d&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?D:void 0,children:t.jsx(pe,{htmlType:"button",size:f?40:48,type:f?"dot":"bar",icon:A?"pause":"play",label:f?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:A,onClick:z,disabled:n,ariaLabel:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:Ly,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),$y=260;function Tn(e){const{t:n}=ye.useTranslation(),{title:a,subtitle:r,headerActions:s,headerSegment:i,children:l,buttons:u,footer:d,footerStart:c,footerEnd:p,footerClassName:m="",footerLayout:h="center",onClose:b,closeDisabled:y=!1,beforeClose:g,closeOnBackdrop:v=!0,className:w="",ariaLabel:C,useTitle:_=!0,inline:f=!1,size:A,layer:x="modal",height:N,fillBody:k=!1,resetScrollKey:B}=e||{},[E,j]=o.useState(!1),V=o.useRef(!1),$=o.useRef(null),U=o.useId(),S=o.useRef(null);o.useEffect(()=>{},[f,a,C,w]),o.useEffect(()=>{B!==void 0&&S.current&&(S.current.scrollTop=0)},[B]);const[L,H]=o.useState(!1);o.useEffect(()=>{const Q=S.current;if(!Q)return;const re=()=>H(Q.scrollHeight>Q.clientHeight+1);if(re(),typeof ResizeObserver>"u")return;const ce=new ResizeObserver(re);ce.observe(Q);const ue=Q.firstElementChild;return ue&&ce.observe(ue),()=>ce.disconnect()},[l,B]),o.useEffect(()=>{if(!f)return Fl()},[f]),o.useEffect(()=>{if(f)return;const Q=document.activeElement,re=$.current;return Kr(re,Q),re&&!re.contains(document.activeElement)&&(re.querySelector(mn)??re).focus(),()=>{const ce=document.activeElement;(!ce||ce===document.body||re&&re.contains(ce))&&Yr(Q)?.focus?.()}},[f]),Ur($,!f);const X=o.useRef(!0),ne=Zr(),q=o.useRef(null);o.useEffect(()=>(X.current=!0,()=>{X.current=!1,q.current&&(clearTimeout(q.current),q.current=null)}),[]);const G=o.useCallback(()=>{!X.current||!V.current||(V.current=!1,j(!1))},[]),P=o.useCallback((Q,re=!1)=>{if(re&&!X.current||V.current)return;V.current=!0,j(!0);const ce=setTimeout(()=>{q.current===ce&&(q.current=null);let ue;try{ue=Q?Q():void 0}catch{G();return}ue&&typeof ue.then=="function"&&ue.then(()=>{setTimeout(G,120)},G)},ne?0:$y);re&&(q.current=ce)},[G,ne]),I=o.useCallback(()=>{y||g&&g()===!1||P(b,!0)},[P,b,y,g]),D=o.useRef(I);o.useEffect(()=>{D.current=I});const z=!f&&!!b;o.useEffect(()=>{if(z)return zn(()=>D.current())},[z]);const M=z&&v,F=o.useRef(!1),R=Q=>{F.current=Q.target===Q.currentTarget},K=Q=>{const re=F.current;F.current=!1,re&&Q.target===Q.currentTarget&&I()},ae=t.jsx("div",{className:`popup ${f?"popup--inline":""} ${x==="belowPagePopup"?"popup--below-page-popup":""} ${E?"popup--closing":""} ${w}`,onPointerDown:M?R:void 0,onClick:M?K:void 0,onMouseDown:f?void 0:Q=>{Q.target===Q.currentTarget&&Q.preventDefault()},children:t.jsxs("div",{ref:$,className:`popup-panel${A?` popup-panel--${A}`:""}${N!=null?" popup-panel--has-height":""}${k?" popup-panel--fill-body":""}`,style:N!=null?{"--popup-height":typeof N=="number"?`${N}px`:N}:void 0,tabIndex:-1,role:f?void 0:"dialog","aria-modal":f?void 0:!0,"aria-labelledby":!f&&_&&a?U:void 0,"aria-label":!f&&!(_&&a)?C??(typeof a=="string"?a:void 0):void 0,children:[!_&&(s||b)?t.jsxs("div",{className:"popup-close-float",children:[s,b&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:I,disabled:y,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||s||b?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[a?t.jsx("h2",{id:U,className:"popup-title popup-title--left h2",children:a}):t.jsx("span",{id:U,className:"popup-title popup-title--left h2"}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),i&&t.jsx("div",{className:"popup-header-segment",children:t.jsx(_n,{size:40,ariaLabel:i.ariaLabel,options:i.options.map(Q=>({key:Q.key,label:Q.label,disabled:Q.disabled})),value:i.value,onChange:i.onChange})}),t.jsxs("div",{className:"popup-header-actions",children:[s,b&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:I,disabled:y,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:S,tabIndex:L?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof l=="function"?l({animateThen:P,closeWithAnimation:I}):l})}),c||p?t.jsxs("div",{className:`popup-footer popup-footer--bar${m?` ${m}`:""}`,children:[t.jsx("div",{className:"popup-footer__start",children:typeof c=="function"?c({animateThen:P,closeWithAnimation:I}):c}),t.jsx("div",{className:"popup-footer__end",children:typeof p=="function"?p({animateThen:P,closeWithAnimation:I}):p})]}):u?.length?t.jsx("div",{className:`popup-footer popup-footer--buttons${h!=="center"?` popup-footer--${h}`:""}`,children:u.map((Q,re)=>t.jsx(pe,{htmlType:"button",size:48,variant:Q.variant??"default",label:Q.label,disabled:Q.disabled,onClick:()=>Q.onClick?.({animateThen:P,closeWithAnimation:I})},re))}):d?t.jsx("div",{className:`popup-footer${h!=="center"?` popup-footer--${h}`:""}${m?` ${m}`:""}`,children:typeof d=="function"?d({animateThen:P,closeWithAnimation:I}):d}):null]})});return f||typeof document>"u"?ae:Jt.createPortal(ae,document.body)}function sr(e){return String(e)}const ir=["o","triangle","x"];function pu(e,n){return e===n?null:n}const mu={o:"circle",triangle:"triangle",x:"x"},hu={o:"main",triangle:"warn",x:"danger"};function Ry(e){let n=0,a=0,r=0;for(const i of Object.values(e))i==="o"?n++:i==="triangle"?a++:i==="x"&&r++;const s=n+a+r;return{marked:s,o:n,triangle:a,x:r,rate:s===0?null:(n+a*.5)/s}}function Eo(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function Cu(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function Py(e,n){return!n&&e>0}const ia={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 Fy(e="landscape"){an("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:n,printW:a,printH:r}=ia[e],s=document.createElement("style");s.textContent=`@page { size: ${n}; 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 fu(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let s=0;s<e.length;s+=a)r.push(e.slice(s,s+a));return r}const Iy={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 Oy(e,n){const a=Iy[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),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 Hy={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},gu={\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"},bu={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function So(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function yu(e,n,a,r){if(r!=="\uC810\uC120")return{};const s=e%n,i=Math.floor(e/n),l=s<n-1,u=i<a-1;if(!l&&!u)return{};const d="#ddd",c=b=>`repeating-linear-gradient(to ${b}, ${d} 0, ${d} 5px, transparent 5px, transparent 10px)`,p=[],m=[],h=[];return l&&(p.push(c("bottom")),m.push("1px 100%"),h.push("right center")),u&&(p.push(c("right")),m.push("100% 1px"),h.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:h.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const zy=280,Vy=240,Wy=280,qy=400,Uy=120,Gy=280;function vu(e,n){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),u=o.useCallback((d,c)=>{if(!(d>0))return;const p=d/e,m=n&&c>0?c/n:1/0,h=Math.min(1,p,m);s(h),l(Math.max(0,(d-e*h)/2))},[e,n]);return o.useEffect(()=>{const d=a.current;if(!d)return;const c=n?d.parentElement??d:d;if(u(c.clientWidth,c.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>u(m.contentRect.width,m.contentRect.height));return p.observe(c),()=>p.disconnect()},[u,n]),{scalerRef:a,scale:r,offset:i}}const Ky={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},Yy=400,xu=8;function _u({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:u=!0,buttonSize:d=40,wordInfo:c}){const{t:p}=ye.useTranslation(),m=o.useRef(null),h=o.useRef(null),b=o.useRef(null),[y,g]=o.useState(1),[v,w]=o.useState(!1),[C,_]=o.useState({for:"",url:""}),[f,A]=o.useState(null),x=n&&n.length>0?n:sC()?.(e,r)??"",N=Xn()?.(e,r)??"",{imgRef:k,loading:B,failed:E,onLoad:j,onError:V}=No(N),$=o.useCallback(()=>A(h.current?.getBoundingClientRect()??null),[]),U=o.useCallback(()=>A(null),[]),S=Jr(!!f,z=>{z?$():U()},h),L=o.useMemo(()=>{if(!c)return null;const z=[];return c.grade&&z.push(p("wordTable.info.grade",{n:c.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),c.syllables&&z.push(p("wordTable.info.syllables",{n:c.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),c.pos&&z.push(p("wordTable.info.pos",{v:So(c.pos,Zy(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),c.wordType&&z.push(p("wordTable.info.wordType",{v:So(c.wordType,Xy(p)),defaultValue:"\uC720\uD615: {{v}}"})),z.length?z:null},[c,p]),H=x||e,X=C.for===H?C.url:"";o.useEffect(()=>{const z=Lr(),M=x||e;if(!z||!M)return;let F=!1;return Promise.resolve(z(M)).then(R=>{!F&&R&&_({for:M,url:R})}),()=>{F=!0}},[x,e]);const ne=o.useRef(null),q=o.useRef(null);o.useEffect(()=>()=>{b.current?.pause(),q.current?.()},[]);const G=o.useCallback(async z=>{if(z.stopPropagation(),v){ne.current?.();return}if(X){w(!0);try{const M=new Audio(X);b.current=M;const F=()=>{w(!1),q.current?.()},R=()=>{M.pause(),F()};ne.current=R;const K=Qa(R);q.current=K,M.onended=F,M.onerror=F,await M.play()}catch{w(!1),q.current?.()}}},[v,X]),P=i&&!!N&&!E,I=P&&s?zy:P?Wy:Vy,D=P&&s?qy:P?Gy:Uy;return o.useEffect(()=>{const z=m.current;if(!z||typeof ResizeObserver>"u")return;const M=new ResizeObserver(([F])=>{const{width:R,height:K}=F.contentRect;g(Math.min(R/I,K/D))});return M.observe(z),()=>M.disconnect()},[I,D]),t.jsxs("div",{ref:m,className:ke("word-table-cell",P?"word-table-cell--with-image":""),"data-ref-w":I,"data-ref-h":D,children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${y})`},children:[P&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[B&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:k,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:B?0:1},onLoad:j,onError:V})]}),s&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),u&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":X,children:[t.jsx("span",{"data-play-state":"play",style:{display:v?"none":void 0},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:p("common.play","\uC7AC\uC0DD"),ariaLabel:e?p("common.playFor",{name:e,defaultValue:`${e} \uC7AC\uC0DD`}):p("common.play","\uC7AC\uC0DD"),onClick:G})}),t.jsx("span",{"data-play-state":"pause",style:{display:v?void 0:"none"},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:p("common.pause","\uBA48\uCDA4"),ariaLabel:e?p("common.pauseFor",{name:e,defaultValue:`${e} \uBA48\uCDA4`}):p("common.pause","\uBA48\uCDA4"),onClick:G})})]}),c&&t.jsxs("div",{ref:h,className:"word-table-cell__info-button",onPointerEnter:z=>{ta(z)||$()},onPointerLeave:z=>{ta(z)||U()},onFocus:()=>{na()||$()},onBlur:U,children:[t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:z=>{z.stopPropagation(),S.touchPress()}}),f&&L&&t.jsx(Vn,{anchorRect:f,items:L,showIndex:!1})]})]})}const wu={\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"},Au={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Zy(e){return Object.fromEntries(Object.entries(gu).map(([n,a])=>[n,wu[n]?e(`wordTable.pos.${wu[n]}`,{defaultValue:a}):a]))}function Xy(e){return Object.fromEntries(Object.entries(bu).map(([n,a])=>[n,Au[n]?e(`wordSearch.filter.type.${Au[n]}`,{defaultValue:a}):a]))}function la({title:e,titleIcon:n,disc:a,className:r,orientation:s="landscape",contentTypes:i=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:u=!0,showDivLine:d=!0,items:c,editCells:p,count:m,activeCell:h=null,onActivateCell:b,onRemoveCell:y,onRemoveItem:g,onReorder:v,renderCellAction:w,showFillerAdd:C=!1,contentRef:_,buttonSize:f=40,brand:A,code:x,pageNumber:N,pageNumberPosition:k="right",fitHeight:B=!1,scoring:E=!1,marks:j,onMarkClick:V,scoreIndexOffset:$=0}){const U=o.useCallback((J,se)=>{V?.($+J,se)},[V,$]),S=(J,se)=>{const de=j?.[sr($+J)]??null;return t.jsx("div",{className:ke("word-table-cell__score",de?"word-table-cell__score--marked":""),style:$e>1?{transform:`translateX(-50%) scale(${$e})`,transformOrigin:"bottom center"}:void 0,children:ir.map(Ee=>t.jsx("span",{className:ke("word-table-cell__score-slot",de===Ee?"word-table-cell__score-slot--on":""),children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",shape:"pill",icon:mu[Ee],variant:de===Ee?hu[Ee]:"default",selected:de===Ee,useBorder:!1,...De?{}:{tabIndex:-1,role:"img"},showTooltipInfo:L(`wordTable.scoring.markName.${Ee}`,{defaultValue:Ee}),ariaLabel:L(`wordTable.scoring.${Ee}`,{word:se,defaultValue:`${se} ${Ee}`}),onClick:De?et=>{et.stopPropagation(),U(J,Ee)}:void 0})},Ee))})},{t:L}=ye.useTranslation(),H=p!==void 0,X=e!=null||!!n||!!a,ne=nn("(max-width: 767px)"),q=o.useRef(null),[G,P]=o.useState(null),I=c?.length??0,[D,z]=o.useState(null),[M,F]=o.useState(""),R=o.useRef(null),K=o.useRef(null),ae=o.useRef(null),Q=o.useRef(null),re=o.useCallback(J=>{K.current=J,typeof _=="function"?_(J):_&&(_.current=J)},[_]),ce=o.useCallback((J,se)=>{R.current=se,v?.(J,se),F(L("wordTable.reorder.moved",{n:se+1,total:I,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[v,L,I]);o.useEffect(()=>{const J=R.current;J!=null&&(R.current=null,K.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[J]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{Q.current?.()},[]);const ue=o.useCallback((J,se)=>{if(!v||!J.altKey||J.ctrlKey||J.metaKey)return;const de=J.key==="ArrowRight";if(!de&&J.key!=="ArrowLeft")return;J.preventDefault();const Ee=se+(de?1:-1);Ee<0||Ee>=I||ce(se,Ee)},[v,I,ce]),be=o.useCallback((J,se)=>{if(!v||J.pointerType==="mouse")return;const de=J.target.closest?.("button");if(de&&!de.closest(".word-table-block__card-handle"))return;Q.current?.();const Ee={x:J.clientX,y:J.clientY};let et=!1;const We=Ge=>{et&&Ge.cancelable&&Ge.preventDefault()},gt=Ge=>{if(!et){(Math.abs(Ge.clientX-Ee.x)>xu||Math.abs(Ge.clientY-Ee.y)>xu)&&tt();return}const Ke=document.elementFromPoint?.(Ge.clientX,Ge.clientY)?.closest?.("[data-wordtable-cell]"),Me=Ke?Number(Ke.dataset.wordtableCell):NaN,ze=Number.isInteger(Me)?Me:null;ae.current=ze,P(ze)},ut=()=>{const Ge=ae.current,Ke=et;tt(),Ke&&Ge!=null&&Ge!==se&&ce(se,Ge)},it=setTimeout(()=>{et=!0,z(se),ae.current=se,P(se),window.addEventListener("touchmove",We,{passive:!1})},Yy);function tt(){clearTimeout(it),window.removeEventListener("pointermove",gt),window.removeEventListener("pointerup",ut),window.removeEventListener("pointercancel",ut),window.removeEventListener("touchmove",We),et=!1,ae.current=null,Q.current=null,z(null),P(null)}Q.current=tt,window.addEventListener("pointermove",gt),window.addEventListener("pointerup",ut),window.addEventListener("pointercancel",ut)},[v,ce]),{width:W,height:te}=ia[s],oe=typeof B=="number"?B:B&&typeof B=="object"?ne?B.narrow:B.wide:null,{scalerRef:_e,scale:he,offset:le}=vu(W,B?te:void 0),ge=H?p?.length??0:c?.length??0,Ce=Math.max(m??ge,1),{cols:ve,rows:Le}=Oy(s,Ce),je={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")},Qe=H?(p??[]).some(J=>J!==null&&J.length>1):(c??[]).some(J=>(J.words??[]).length>1),Ue=!!A?.show,He=!!A?.show&&A?.top!==!1,Fe=!!A?.show&&A?.bottom!==!1,ot=A?.copyright??"\xA9 IHAB, Inc. All rights reserved.",Ze=ke("word-table-block__content",Hy[l],u&&"word-table-block__content--outline",d&&Qe&&"word-table-block__content--div-line",!Ue&&N&&k!=="none"&&"word-table-block__content--page-number",He&&"word-table-block__content--brand-top",Fe&&"word-table-block__content--brand-bottom"),Xe={transform:`scale(${1/he})`,transformOrigin:"center center"},st=f*ir.length+4*(ir.length-1),De=!!V,$e=De?Math.max(1,Math.min(1/he,W/ve/st)):1,Be=t.jsxs("div",{ref:_e,className:"word-table__scaler",style:{height:te*he},children:[t.jsx("div",{className:ke("word-table",E&&!De&&"word-table--score-readonly",!X&&r),style:{width:W,height:te,transform:`scale(${he})`,transformOrigin:"top left",marginLeft:le},children:t.jsxs("div",{ref:re,className:Ze,style:{gridTemplateColumns:`repeat(${ve}, 1fr)`,gridTemplateRows:`repeat(${Le}, 1fr)`},children:[H?t.jsx(t.Fragment,{children:(p??[]).map((J,se)=>t.jsx("div",{className:ke("word-table-block__edit-cell",J?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",h===se?"word-table-block__edit-cell--active":""),style:yu(se,ve,Le,l),children:J?t.jsxs(t.Fragment,{children:[J.map((de,Ee)=>t.jsxs(o.Fragment,{children:[Ee>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(_u,{label:de.word,subLabel:de.pronunciation,colloquialLabel:de.colloquialPronunciation,homonum:de.homonum,showWord:je.word,showImage:je.image,showPronunciation:je.pron,showColloquial:je.colloq,buttonSize:f})]},Ee)),E&&S(se,J.map(de=>de.word).join(" / ")),y&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:J.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:J.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>y(se)})})]}):b&&t.jsx("div",{style:Xe,children:t.jsx(pe,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b(se)})})},se))}):t.jsxs(t.Fragment,{children:[(c??[]).map((J,se)=>t.jsxs("div",{"data-wordtable-cell":v?se:void 0,className:`word-table-block__card${v?" word-table-block__card--draggable":""}${G===se?" word-table-block__card--drag-over":""}${D===se?" word-table-block__card--dragging":""}`,style:yu(se,ve,Le,l),draggable:!!v,onPointerDown:v?de=>be(de,se):void 0,onKeyDown:v?de=>ue(de,se):void 0,onDragStart:v?()=>{q.current=se}:void 0,onDragOver:v?de=>{de.preventDefault(),P(se)}:void 0,onDragLeave:v?()=>P(null):void 0,onDrop:v?de=>{de.preventDefault(),q.current!==null&&q.current!==se&&v(q.current,se),q.current=null,P(null)}:void 0,onDragEnd:v?()=>{q.current=null,P(null)}:void 0,children:[(J.words??[]).map((de,Ee)=>t.jsxs(o.Fragment,{children:[Ee>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(_u,{label:de.label,subLabel:de.subLabel,colloquialLabel:de.colloquialLabel,homonum:de.homonum,showWord:je.word,showImage:je.image,showPronunciation:je.pron,showColloquial:je.colloq,buttonSize:f,wordInfo:de.grade||de.syllables!=null||de.pos||de.wordType?{grade:de.grade,syllables:de.syllables,pos:de.pos,wordType:de.wordType}:void 0})]},Ee)),E&&S(se,(J.words??[]).map(de=>de.label).join(" / ")),v&&t.jsx("div",{className:"word-table-block__card-handle",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:L("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:L("wordTable.reorder.handle",{word:(J.words??[]).map(de=>de.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),(w||g)&&t.jsxs("div",{className:"word-table-block__card-actions",children:[w?.(se,J),g&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(J.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(J.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>g(J.id)})})]})]},J.id)),Array.from({length:Math.max(0,ve*Le-(c?.length??0))}).map((J,se)=>{const de=(c?.length??0)+se<Ce;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:C&&b&&de&&t.jsx("div",{style:Xe,children:t.jsx(pe,{htmlType:"button",size:f,type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b((c?.length??0)+se)})})},`filler-${se}`)})]}),He&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--top",children:[t.jsx("img",{className:"word-table__brand-logo",src:A?.topLogo?.src??Ja,alt:A?.topLogo?.alt??"\uB9D0\uADC0"}),(()=>{const J=[A?.title&&t.jsx("span",{className:"word-table__paper-title",children:A.title},"t"),A?.owner&&t.jsx("span",{className:"word-table__owner",children:A.owner},"o"),x&&t.jsx("span",{className:"word-table__code",children:x},"c")].filter(Boolean);return J.length===0?null:t.jsx("span",{className:"word-table__ident",children:J.map((se,de)=>t.jsxs(o.Fragment,{children:[de>0&&t.jsx("span",{className:"word-table__ident-dot","aria-hidden":"true",children:"\xB7"}),se]},de))})})()]})}),Fe&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--bottom",children:[t.jsxs("span",{className:"word-table__brand-by",children:[A?.bottomLogo?t.jsx("img",{className:"word-table__brand-logo--ihab word-table__brand-logo--given",src:A.bottomLogo.src,alt:A.bottomLogo.alt}):t.jsx("span",{className:"word-table__brand-logo--ihab",role:"img","aria-label":"IHAB"}),t.jsx("span",{className:"word-table__copyright",children:ot})]}),t.jsxs("span",{className:"word-table__band-end",children:[A?.link&&t.jsx("span",{className:"word-table__link",children:A.link}),N&&k!=="none"&&t.jsx("span",{className:"word-table__page-count",children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})]})}),!Ue&&N&&k!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${k}`,children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})}),v&&t.jsx("span",{role:"status",style:Ky,children:M})]}),nt=oe==null?Be:t.jsx("div",{className:"word-table__frame",style:{height:oe},children:Be});return X?t.jsx(sa,{type:"page",icon:n,title:e,disc:a,className:ke("word-table-block",r),children:nt}):nt}function Jy(e,n,a){const r=[];for(const s of e??[]){if(s.type==="note"||s.type==="input")continue;const i=s.displayLabel??s.label,l=Qy(s,n?.[s.label],a);l!==null&&r.push(`${i} ${l}`)}return r.join(" \xB7 ")}function Qy(e,n,a){const r=(Array.isArray(n)?n:n===void 0?[]:[n]).filter(s=>s!==sn);return r.length===0?e.allOption?e.allLabel??a:null:r.map(s=>e5(e,s)).join(", ")}function e5(e,n){const a=[...e.items??[],...(e.groups??[]).flat()];for(const r of a)if(r!=null){if(typeof r=="string"){if(r===n)return r;continue}if(r.value===n)return r.displayLabel??r.labels?.join(" ")??r.value}return n}function An({title:e,titleLevel:n=2,headerAction:a,headerSummary:r,collapsible:s=!1,defaultCollapsed:i=!1,collapsed:l,onCollapsedChange:u,footer:d,sections:c,selected:p={},onSelect:m,align:h,sectionAlign:b,className:y}){const g=(h??(b==="vertical"?"newline":"inline"))==="inline",{t:v}=ye.useTranslation(),[w,C]=o.useState(i),_=l??w,f=()=>{const j=!_;C(j),u?.(j)},A=j=>{if(!s)return;const V=j.target;!V||typeof V.closest!="function"||V.closest(".filter-panel__collapse-toggle")||V.closest('button, a, input, select, textarea, label, [role="radiogroup"], [role="button"], [role="menu"]')||f()},x=o.useMemo(()=>r!==void 0||!_?"":Jy(c,p,v("common.all","\uC804\uCCB4")),[r,_,c,p,v]),N=r??(x?t.jsx("span",{className:"filter-panel__header-summary body-3",children:x}):null),k=e||a||r||s,B=o.useId(),E=n?`h${n}`:"span";return t.jsxs("div",{className:ke("filter-panel",s?"filter-panel--collapsible":"",_?"filter-panel--collapsed":"",y),role:typeof e=="string"&&e?"group":void 0,"aria-labelledby":typeof e=="string"&&e?B:void 0,children:[k&&t.jsxs("div",{className:"filter-panel__header",onClick:s?A:void 0,children:[t.jsx("div",{className:"filter-panel__title-row",children:e&&t.jsx(E,{id:B,className:"filter-panel__title h4",children:e})}),t.jsxs("div",{className:"filter-panel__header-actions",children:[_?N:a,s&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:_?"chevron-down":"chevron-up",className:"filter-panel__collapse-toggle",ariaLabel:_?v("common.expand","\uD3BC\uCE58\uAE30"):v("common.collapse","\uC811\uAE30"),"aria-expanded":!_,onClick:f})]})]}),!_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:ke("filter-panel__sections",g?"filter-panel__sections--row":""),children:c.map(j=>{const V=p[j.label],$=V===void 0||(Array.isArray(V)?V.length===0:!1),U=(j.items??[]).filter(L=>L!=null);j.allOption&&U.some(L=>(typeof L=="string"?L:L.value)===sn)&&an(`filter-panel-all-value:${j.label}`,`[FilterPanel] '${j.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${sn}' \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 S=L=>{const H=typeof L=="string"?L:L.value,X=typeof L!="string"&&!!L.disabled,ne=typeof L!="string"?L.labels:void 0,q=typeof L!="string"?L.displayLabel:void 0,G=typeof L!="string"?L.tooltip:void 0,P=typeof L!="string"?L.descriptionTooltip:void 0,I=typeof L!="string"?L.shape:void 0,D=Array.isArray(V)?V.includes(H):V===H;return t.jsx(pe,{htmlType:"button",size:"keyboard",label:ne??q??H,type:j.itemType??(ne?"bar":H.length===1?"dot":void 0),selected:D,disabled:X,shape:I,showTooltipInfo:!!G,tooltipInfoText:G,tooltipDescription:P,onClick:()=>m?.(H,j.label)},H)};return t.jsxs(o.Fragment,{children:[j.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:j.groupLabel}),j.groupAction]}),t.jsxs("div",{className:ke("filter-panel__section",j.layout==="row"?"filter-panel__section--row":"",j.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:j.displayLabel??j.label}),j.labelAction??(j.labelInfo?t.jsx(Ea,{...j.labelInfo}):null)]}),j.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:j.content}):j.type==="input"?t.jsx(Un,{className:"filter-panel__textfield",placeholder:j.placeholder,ariaLabel:j.displayLabel??j.label,value:p[j.label]??"",onChange:L=>m?.(L,j.label),error:j.error}):!j.multiple&&j.display==="segmented"?t.jsx(_n,{ariaLabel:j.displayLabel??j.label,options:[...j.allOption?[{key:sn,label:j.allLabel??v("common.all","\uC804\uCCB4"),disabled:j.allOptionDisabled}]:[],...U.map(L=>{const H=typeof L=="string"?L:L.value,X=typeof L!="string"?L.displayLabel:void 0,ne=typeof L!="string"?L.disabled:void 0;return{key:H,label:X??H,disabled:ne}})],value:$&&j.allOption?sn:p[j.label]??"",onChange:L=>m?.(L,j.label),size:32}):!j.multiple&&j.display==="dropdown"?t.jsx(ln,{className:"filter-panel__dropdown",size:40,options:[...j.allOption?[{value:sn,label:j.allLabel??v("common.all","\uC804\uCCB4"),disabled:j.allOptionDisabled}]:[],...U.map(L=>{const H=typeof L=="string"?L:L.value,X=typeof L!="string"?L.displayLabel:void 0,ne=typeof L!="string"?L.disabled:void 0;return{value:H,label:X??H,disabled:ne}})],value:$&&j.allOption?sn:p[j.label],onChange:L=>m?.(L,j.label)}):t.jsxs("div",{className:j.groups?"filter-panel__item-groups":"filter-panel__items",children:[j.allOption&&!j.groups&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:j.allLabel??v("common.all","\uC804\uCCB4"),selected:$,disabled:j.allOptionDisabled,onClick:()=>m?.(sn,j.label)}),j.groups?j.groups.map((L,H)=>t.jsxs("div",{className:"filter-panel__item-group",children:[H===0&&j.allOption&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:j.allLabel??v("common.all","\uC804\uCCB4"),selected:$,disabled:j.allOptionDisabled,onClick:()=>m?.(sn,j.label)}),L.filter(X=>X!=null).map(S)]},H)):U.map(S)]})]})]},j.label)})}),d!=null&&d!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:d})]})]})}const t5=[1,2,3,4,5,6,7,8,9,10,11,12],Bu=[8,4,2,1];function ku(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function Nu(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 Du(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 Eu(e){return{label:e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4"),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 Su(e){return{label:e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4"),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 ju(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 Tu(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 Mu(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...Bu.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Lu(e,n){return e===n||!Bu.includes(e)?Number.POSITIVE_INFINITY:e}function n5(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 $u={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Ru(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Pu(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",...n.showTopInfo!=null?{[e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")]:n.showTopInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{},...n.showBottomInfo!=null?{[e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")]:n.showBottomInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{}}}function Fu(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===sn?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(s=>s.includes(n)?s.filter(i=>i!==n):[...s,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")?(r.setShowTopInfo?.(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")?(r.setShowBottomInfo?.(n==="\uD45C\uC2DC"),!0):!1}function a5(e){return"sections"in e}function jo(e){const{t:n}=ye.useTranslation(),{title:a,className:r,collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d}=e,c={collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d};if(a5(e))return t.jsx(An,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,...c,align:"inline"});const{hasImage:p,hasColloquial:m,contentTypes:h,orientation:b,showOutline:y,cutLine:g,showDivLine:v,setters:w,showCutLine:C=!1,showDivLine2:_=!1,middleSections:f=[],extraSelected:A={},onExtraSelect:x,showPaperBands:N=!1,showTopInfo:k=!0,showBottomInfo:B=!0}=e,E=[ku(n,{hasImage:p,hasColloquial:m}),Nu(n),...f,Du(n),...C?[ju(n)]:[],..._?[Tu(n)]:[],...N?[Eu(n),Su(n)]:[]],j={...Pu(n,{contentTypes:h,orientation:b,showOutline:y,cutLine:g,showDivLine:v,showTopInfo:k,showBottomInfo:B}),...A},V=($,U)=>{Fu(n,$,U,w)||x?.($,U)};return t.jsx(An,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:E,selected:j,onSelect:V,...c,sectionAlign:"horizontal"})}function Iu(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function To(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let lr=null,ua=null;function r5(e,n,a,r="",s=""){if(e.length===0||ua&&ua.iframe.isConnected&&Date.now()-ua.at<1e4)return;const i=r?To(r):"";lr?.();let l=null;if(i){const c=document.title;document.title=i,l=()=>{document.title=c,window.removeEventListener("afterprint",l),lr===l&&(lr=null)},lr=l,window.addEventListener("afterprint",l)}const u=document.createElement("iframe");u.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(u);const d=u.contentDocument;if(!d){u.remove();return}ua={iframe:u,at:Date.now()},d.open(),d.write(Mo(e,n,a,!0,i,s)),d.close(),u.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{u.remove(),ua?.iframe===u&&(ua=null)},0)})}function Mo(e,n,a,r=!1,s="",i=""){s=s?To(s):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(m=>m.cssText)}catch{return[]}}).join(`
859
+ `),g=y===-1?a:a.slice(0,y);i("comment",g),a=a.slice(g.length);continue}const u=a.match(/^\/\*[\s\S]*?\*\//);if(u){i("comment",u[0]),a=a.slice(u[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){i("string",d[0]),a=a.slice(d[0].length);continue}const c=a.match(/^\d+(?:\.\d+)?/);if(c){i("number",c[0]),a=a.slice(c[0].length);continue}const p=a.match(q4);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 y=m[0];i(s&&W4.has(y)?"command":"identifier",y),a=a.slice(y.length);continue}const h=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(h){i("operator",h[0]),a=a.slice(h[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 G4({children:e,language:n="bash",title:a="",showCopy:r=!0,size:s="default",className:i=""}){const{t:l}=ye.useTranslation(),[u,d]=o.useState(!1),c=V4(zl(e)),p=o.useRef(null);o.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const m=async()=>{try{if(!await RC(c))return;d(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>d(!1),2e3)}catch{}},h=U4(c,n),b=s==="small"?"caption-1":"body-3";return t.jsxs("div",{className:ke("code-box",s==="small"?"code-box--small":"",i),children:[(a||r)&&t.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":l("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[t.jsx("div",{className:"code-box__title caption-1",children:a}),r&&t.jsx(pe,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:u?"check":"copy",onClick:m,ariaLabel:u?l("common.copied","\uBCF5\uC0AC\uB428"):l("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),t.jsx("pre",{className:"code-box__inner","data-lang":n,children:t.jsx("code",{children:h.map((y,g)=>t.jsx("span",{className:`code-token ${y.type} ${b}`,children:y.content},g))})})]})}const K4={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Ma(e){const{t:n}=ye.useTranslation(),{variant:a="spinner",size:r=24,progress:s=null,label:i}=e||{},l=i||n("loader.loading","Loading");if(a==="bar"){const d=s==null||!Number.isFinite(Number(s)),c=d?0:Math.max(0,Math.min(100,Number(s)));return t.jsx("div",{className:`loader-bar${d?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d?void 0:c,"aria-label":l,children:t.jsx("div",{className:"loader-bar__inner",style:d?void 0:{width:`${c}%`}})})}const u=typeof r=="number"?`${r}px`:r;return t.jsxs("div",{className:"loader-spinner",style:{width:u,height:u},role:"status","aria-label":l,children:[t.jsx("span",{style:K4,children:l}),t.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:r,height:r,children:[t.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),t.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}function Vl({checked:e,onChange:n,disabled:a=!1,label:r,ariaLabel:s,labelPosition:i="right",className:l="",id:u}){const d=r&&t.jsx("span",{className:"toggle__label body-3",children:r});return t.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${l}`.trim(),children:[i==="left"&&d,t.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:c=>n?.(c.target.checked),"aria-label":!r&&s?s:void 0}),t.jsx("span",{className:"toggle__slider"}),i==="right"&&d]})}function Wl({checked:e=!1,onChange:n,disabled:a,indeterminate:r,label:s,size:i="medium",className:l,title:u,ariaLabel:d}){const c=o.useRef(null),p=o.useId(),m=o.useRef(!!r);return m.current=!!r,o.useEffect(()=>{c.current&&(c.current.indeterminate=!!r)}),t.jsxs("label",{className:ke("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",l),htmlFor:p,title:u,children:[t.jsx("input",{ref:c,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:h=>{n?.(h.target.checked),c.current&&(c.current.indeterminate=m.current)},disabled:a,"aria-label":!s&&d?d:void 0}),t.jsx("span",{className:"checkbox__box"}),s&&t.jsx("span",{className:"checkbox__label body-3",children:s})]})}function Y4({count:e,actions:n,onClear:a,clearLabel:r,visible:s,content:i,max:l}){const{t:u}=ye.useTranslation(),d=s!==void 0?s:e>0,c=r??u("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=o.useRef(null),m=o.useRef(null),h=o.useRef(null),b=o.useRef(d);o.useLayoutEffect(()=>{const C=m.current,_=b.current;if(b.current=d,d&&!_){const f=typeof document<"u"?document.activeElement:null;h.current=f&&f!==document.body&&!C?.contains(f)?f:null}else!d&&_&&C&&C.contains(document.activeElement)&&Ka(C,h.current)},[d]);const[y,g]=o.useState(!1),v=o.useRef(!1),w=o.useRef(null);return o.useEffect(()=>{const C=p.current;if(!C)return;const _=B=>{v.current=B,g(B)},f=()=>{const B=C.firstElementChild??C,E=Array.from(B.children);if(E.length<2){_(!1);return}const j=E[0].offsetTop,V=E.some(H=>H.offsetTop!==j);if(!v.current){w.current=C.clientWidth,V&&_(!0);return}if(V)return;const $=E[0],U=E[E.length-1],S=U.offsetLeft+U.offsetWidth-$.offsetLeft,L=w.current;(L==null||S<=L)&&_(!1)};if(f(),typeof ResizeObserver>"u")return;const A=new ResizeObserver(f);A.observe(C);const x=C.parentElement;let N=x?.clientWidth??0;const k=new ResizeObserver(()=>{const B=x?.clientWidth??0;B!==N&&(N=B,w.current=null,f())});return x&&k.observe(x),()=>{A.disconnect(),k.disconnect()}},[i,e]),t.jsxs("div",{ref:m,className:`bulk-bar ${d?"bulk-bar--visible":""}`,inert:!d||void 0,"aria-hidden":d?void 0:!0,children:[t.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??t.jsx("b",{children:u("common.selectedCount",{count:e})})}),l!==void 0&&t.jsx(yt,{size:"small",fill:"soft",variant:"main",label:`${e} / ${l}`,"aria-label":u("common.selectedOfMax",{count:e,max:l,defaultValue:`\uCD5C\uB300 ${l}\uAC1C \uC911 ${e}\uAC1C`})}),t.jsxs("div",{className:`bulk-bar__actions${y?" bulk-bar__actions--stacked":""}`,children:[t.jsx(pe,{htmlType:"button",size:40,label:c,onClick:a}),n.map((C,_)=>t.jsx(pe,{htmlType:"button",size:40,variant:C.variant??"default",icon:C.icon,label:C.label,onClick:C.onClick},_))]})]})}const Z4=[{\uC5F4\uC1E0:"edit",icon:"edit-2",\uB2EB\uACE0\uD560\uAE4C:!0},{\uC5F4\uC1E0:"duplicate",icon:"copy",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"publish",icon:"book-marked",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"copyLink",icon:"link",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"remove",icon:"trash-2",\uB2EB\uACE0\uD560\uAE4C:!0}];function X4(e){const{onClose:n,className:a}=e;return t.jsx("div",{className:ke("item-actions",a),children:Z4.map(({\uC5F4\uC1E0:r,icon:s,\uB2EB\uACE0\uD560\uAE4C:i})=>{const l=e[r];if(!l)return null;const u=r==="publish"?l.published?l.unpublish:l.publish:l;return t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:s,ariaLabel:u.label,showTooltipInfo:u.label,onClick:()=>{i&&n(),u.onClick()}},r)})})}function ql(e,n){const a=()=>{if(e){const[g,v]=e.split("-");return{y:+g,m:+v-1}}const[b,y]=Vr(n).split("-");return{y:+b,m:+y-1}},[r,s]=o.useState(()=>a().y),[i,l]=o.useState(()=>a().m),u=o.useRef(e);o.useEffect(()=>{if(e===u.current)return;u.current=e;const b=a();s(b.y),l(b.m)},[e]);const d=o.useRef({y:r,m:i});o.useEffect(()=>{d.current={y:r,m:i}},[r,i]);const c=o.useCallback(b=>{const y=d.current.y*12+d.current.m+b,g=Math.floor(y/12),v=y-g*12;d.current={y:g,m:v},s(g),l(v)},[]),p=o.useCallback(()=>c(-1),[c]),m=o.useCallback(()=>c(1),[c]),h=o.useCallback((b,y)=>{d.current={y:b,m:y},s(b),l(y)},[]);return{viewY:r,viewM:i,prevMonth:p,nextMonth:m,setViewYM:h}}function nr(e,n){return new Date(e,n+1,0).getDate()}function J4(e,n){return new Date(e,n,1).getDay()}function ar(e,n,a){return`${e}-${String(n+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function Q4(e){if(!e)return"";const[n,a,r]=e.split("-");return`${n}. ${a}. ${r}.`}function ey(e,n,a,r){const s=a?+a.split("-")[0]:e-10,i=r?+r.split("-")[0]:e+10,l=[];for(let u=s;u<=i;u++)for(let d=0;d<12;d++){const c=`${u}-${String(d+1).padStart(2,"0")}`;a&&c<a.slice(0,7)||r&&c>r.slice(0,7)||l.push({value:c,label:n(u,d+1)})}return l}function ty({value:e,onChange:n,size:a=48,min:r,max:s,disabled:i,placeholder:l,className:u,today:d}){const{t:c}=ye.useTranslation(),p=l??c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),m=o.useMemo(()=>c("calendar.dow",{returnObjects:!0}),[c]),h=Vr(d),{viewY:b,viewM:y,prevMonth:g,nextMonth:v,setViewYM:w}=ql(e,d),C=o.useId(),_=o.useCallback((D,z)=>{const M=window.innerHeight,F=window.innerWidth,R=typeof document<"u"?document.getElementById(C):null,K=Math.max(R?.offsetHeight||0,R?.scrollHeight||0)||300,ae=Math.max(D.width,R?.offsetWidth||0,260),Q=M-D.bottom,re=D.top,ce=Q<K&&re>Q,ue=8,be=(W,te)=>Math.min(Math.max(ue,W),Math.max(ue,te));return{position:"fixed",left:be(D.left,F-ae-ue),width:D.width,minWidth:260,...ce?{top:"auto",bottom:be(M-D.top+6,M-K-ue)}:{bottom:"auto",top:be(D.bottom+6,M-K-ue)},zIndex:Aa(z)}},[C]),{open:f,setOpen:A,toggle:x,style:N,triggerRef:k,menuRef:B}=Ba({computeStyle:_,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!f)return;const D=B.current;return(D?.querySelector(".date-picker__day--selected:not(:disabled)")??D?.querySelector(".date-picker__day--today:not(:disabled)")??D?.querySelector(".date-picker__day:not(:disabled)")??D?.querySelector(mn)??D)?.focus?.(),()=>{const z=document.activeElement;(!z||z===document.body)&&k.current?.focus?.()}},[f,B,k]);const[E,j]=o.useState(1),V=o.useRef(null),$=o.useRef(null);o.useEffect(()=>{if(!f)return;const D=e&&e.slice(0,7)===`${b}-${String(y+1).padStart(2,"0")}`?+e.slice(8):h.slice(0,7)===`${b}-${String(y+1).padStart(2,"0")}`?+h.slice(8):1;j(D)},[f]),o.useEffect(()=>{if($.current==null)return;const D=$.current;$.current=null,V.current?.querySelector(`[data-day="${D}"]`)?.focus()}),o.useEffect(()=>{j(D=>Math.min(D,nr(b,y)))},[b,y]);const U=o.useCallback(D=>{let z=ar(D.getFullYear(),D.getMonth(),D.getDate());r&&z<r&&(z=r),s&&z>s&&(z=s);const[M,F,R]=z.split("-").map(Number);(M!==b||F-1!==y)&&w(M,F-1),j(R),$.current=R},[r,s,b,y,w]),S=o.useCallback(D=>{const z=new Date(b,y,E),M=R=>{z.setDate(z.getDate()+R),U(z)},F=R=>{const K=z.getFullYear()*12+z.getMonth()+R,ae=Math.floor(K/12),Q=K-ae*12;U(new Date(ae,Q,Math.min(z.getDate(),nr(ae,Q))))};switch(D.key){case"ArrowLeft":M(-1);break;case"ArrowRight":M(1);break;case"ArrowUp":M(-7);break;case"ArrowDown":M(7);break;case"Home":M(-z.getDay());break;case"End":M(6-z.getDay());break;case"PageUp":D.shiftKey?F(-12):F(-1);break;case"PageDown":D.shiftKey?F(12):F(1);break;default:return}D.preventDefault()},[b,y,E,U]),L=o.useCallback(D=>{i||(n(ar(b,y,D)),A(!1))},[b,y,n,A,i]);o.useEffect(()=>{i&&A(!1)},[i,A]);const H=D=>{const z=ar(b,y,D);return!!(r&&z<r||s&&z>s)},X=(()=>{const D=nr(b,y);if(E>=1&&E<=D&&!H(E))return E;for(let z=1;z<=D;z++)if(!H(z))return z;return-1})(),ne=[];for(let D=0;D<J4(b,y);D++)ne.push(null);for(let D=1;D<=nr(b,y);D++)ne.push(D);const q=a===64?20:a===40?16:18,G=ey(b,(D,z)=>c("calendar.yearMonth",{year:D,month:z,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),r,s),P=`${b}-${String(y+1).padStart(2,"0")}`,I=f?Jt.createPortal(t.jsxs("div",{ref:B,id:C,className:"date-picker__dropdown",style:N,"data-tooltip-ignore":!0,role:"dialog","aria-label":c("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[t.jsxs("div",{className:"date-picker__nav",children:[t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:g,"aria-label":c("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(us,{size:16,strokeWidth:2})}),t.jsx(ln,{className:"date-picker__nav-dropdown",ariaLabel:c("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:G,value:P,onChange:D=>{const[z,M]=D.split("-");w(+z,+M-1)},block:!0,size:40}),t.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:v,"aria-label":c("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(cs,{size:16,strokeWidth:2})})]}),t.jsxs("div",{className:"date-picker__grid",ref:V,onKeyDown:S,children:[m.map(D=>t.jsx("div",{className:"date-picker__dow caption-1",children:D},D)),ne.map((D,z)=>{if(D===null)return t.jsx("div",{},`e${z}`);const M=ar(b,y,D),F=M===e,R=M===h,K=H(D),ae=z%7;return t.jsx("button",{type:"button",disabled:K,"data-day":D,tabIndex:D===X?0:-1,"aria-current":R?"date":void 0,onClick:()=>!K&&L(D),className:ke("date-picker__day caption-1",F&&"date-picker__day--selected",R&&!F&&"date-picker__day--today",K&&"date-picker__day--disabled",ae===0&&"date-picker__day--sun",ae===6&&"date-picker__day--sat"),children:D},D)})]})]}),document.body):null;return t.jsxs("div",{className:ke("date-picker",`date-picker--s${a}`,f&&"date-picker--open",u),children:[t.jsxs("button",{ref:k,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&x(),disabled:i,"aria-haspopup":"true","aria-expanded":f,children:[t.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?Q4(e):p}),t.jsx(ys,{size:q,className:"date-picker__icon",strokeWidth:1.5})]}),I]})}function Ul({children:e,className:n}){const a=o.useRef(null),[r,s]=o.useState(null);return o.useEffect(()=>{s(a.current?.parentElement??null)},[]),o.useEffect(()=>{const i=a.current;if(!i||!r)return;const l=()=>{const d=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;d>0?r.style.setProperty("--section-head-float-w",`${d}px`):r.style.removeProperty("--section-head-float-w")};if(l(),typeof ResizeObserver>"u")return()=>{r.style.removeProperty("--section-head-float-w")};const u=new ResizeObserver(()=>l());return u.observe(i),u.observe(r),()=>{u.disconnect(),r.style.removeProperty("--section-head-float-w")}},[r,e]),t.jsx("div",{ref:a,className:ke("section-head-float",n),children:e})}function fo({items:e,className:n}){return t.jsx("div",{className:n?`manager-bar-chart-legend ${n}`:"manager-bar-chart-legend",children:e.map((a,r)=>t.jsxs("span",{className:"manager-bar-chart-legend-item",children:[t.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},r))})}function La({label:e,children:n}){return e?t.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[t.jsx("span",{className:"barchart-total__label body-3",children:e}),t.jsx("span",{className:"barchart-total__value",children:n})]}):t.jsx("div",{className:"barchart-total",children:n})}function go({title:e,titleClassName:n="h3",titleLevel:a=3,icon:r,disc:s,headRight:i,headFloat:l,headSegment:u,headMenuItems:d,collapseBelow:c=420,onClick:p,ariaLabel:m,tooltip:h,totalNum:b,totalUnit:y,totalLabel:g,subRow:v,subRowAlign:w="start",className:C,inGrid:_=!1,children:f}){const{t:A}=ye.useTranslation(),x=o.useRef(null),{anchorRect:N,openAt:k,close:B}=wa(),E=o.useCallback(()=>{h&&x.current&&k(x.current)},[h,k]),[j,V]=o.useState(!1);ho(()=>{const M=x.current;if(!M||!u)return;const F=K=>V(K>0&&K<c);if(F(M.clientWidth),typeof ResizeObserver>"u")return;const R=new ResizeObserver(K=>F(K[0].contentRect.width));return R.observe(M),()=>R.disconnect()},[u,c]);const[$,U]=o.useState(null),S=o.useCallback(()=>U(null),[]),L=o.useCallback(M=>{const F=M.currentTarget.getBoundingClientRect();U(R=>R?null:{left:F.left,right:F.right,top:F.top,bottom:F.bottom,width:F.width,height:F.height,x:F.x,y:F.y})},[]),H=!!u&&j;o.useEffect(()=>{H||U(null)},[H]);const X=u?[...u.options.map(M=>({label:M.label,icon:M.icon,selected:M.key===u.value,disabled:M.disabled,onClick:()=>u.onChange(M.key),closeOnSelect:!0})),...(d??[]).map((M,F)=>F===0?{...M,separatorBefore:!0}:M)]:[],ne=o.useCallback(M=>{if(!p)return;const F=M.target;F&&typeof F.closest=="function"&&F.closest('button, a, input, select, textarea, [role="radiogroup"]')||p()},[p]),q=o.useCallback(M=>{p&&M.target===M.currentTarget&&(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),p())},[p]),G=typeof i=="function"?i({collapsed:H}):i,P=b!=null||g?t.jsxs(La,{label:g,children:[b!=null&&t.jsx("span",{className:"barchart-total__num h0",children:b}),y&&t.jsx("span",{className:"barchart-total__unit h5",children:y})]}):null,I=G||u?t.jsxs("div",{className:"manager-section__head-right",children:[u&&(H?t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:u.ariaLabel??A("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!$,onClick:L}):t.jsx(_n,{size:32,ariaLabel:u.ariaLabel,options:u.options.map(M=>({key:M.key,label:M.label,disabled:M.disabled})),value:u.value,onChange:u.onChange})),G]}):null,D=o.useId(),z=a?`h${a}`:"div";return t.jsxs("section",{ref:x,className:["manager-section",_&&"manager-section--grid",p&&"manager-section--clickable",C].filter(Boolean).join(" "),onClick:p?ne:void 0,onKeyDown:p?q:void 0,onPointerEnter:h?E:void 0,onPointerLeave:h?B:void 0,onFocus:h?E:void 0,onBlur:h?B:void 0,role:p?"button":void 0,tabIndex:p?0:void 0,"aria-label":p?m??(typeof e=="string"?e:void 0):void 0,"aria-labelledby":!p&&e!=null?D:void 0,children:[h&&N&&t.jsx(bn,{anchorRect:{left:N.left,top:N.top+21,right:N.right,bottom:N.bottom,width:N.width,height:N.height},text:h}),l&&t.jsx(Ul,{children:l}),t.jsxs("div",{className:"manager-section__head",children:[t.jsxs("div",{className:"manager-section__title-row",children:[r&&t.jsx(Ye,{icon:r,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),t.jsx(z,{id:D,className:["manager-section__title",n].filter(Boolean).join(" "),children:e})]}),I,s&&t.jsx("div",{className:"manager-section__disc body-3",children:s})]}),(P||v)&&t.jsxs("div",{className:["barchart-sub-row",w!=="start"&&`barchart-sub-row--${w}`].filter(Boolean).join(" "),children:[P,v]}),f,$&&t.jsx(on,{anchorRect:$,onClose:S,ariaLabel:u?.ariaLabel??A("tooltip.menu","\uBA54\uB274"),children:t.jsx(ka,{columns:[{items:X}],onClose:S,size:"small"})})]})}function hn(e,n){const a=new Date(e,n,1).getDay();return 1+(8-(a===0?7:a))%7}function ny(){const e=Jn();let n=e.getFullYear(),a=e.getMonth(),r=e.getDate();if(r<hn(n,a)){const l=new Date(n,a,0);n=l.getFullYear(),a=l.getMonth(),r=l.getDate()}const s=Math.floor((r-hn(n,a))/7),i=`${n}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${s}`}}function ay(e){const n=Jn(),a=`${n.getFullYear()}\uB144 ${n.getMonth()+1}\uC6D4`,r=(d,c)=>`${d}\uB144 ${c+1}\uC6D4`,s=new Map;s.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const c=r(d.date.getFullYear(),d.date.getMonth());s.has(c)||s.set(c,[]),s.get(c).push(d)}for(const[d,c]of[...s.entries()]){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,b=hn(m,h);if(!(d===a&&n.getDate()<b)&&!c.some(v=>v.date.getDate()<b))continue;const y=new Date(m,h,0),g=r(y.getFullYear(),y.getMonth());s.has(g)||s.set(g,[])}const i=new Map;for(const[d,c]of s){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const m=Number(p[1]),h=Number(p[2])-1,b=new Date(m,h+1,0).getDate(),y=c.reduce((f,A)=>Math.max(f,A.parts?.length??0,A.partsB?.length??0),0),g=c.some(f=>f.partsB),v=new Array(b+1).fill(0),w=new Array(b+1).fill(0),C=Array.from({length:b+1},()=>new Array(y).fill(0)),_=Array.from({length:b+1},()=>new Array(y).fill(0));for(const f of c){const A=f.date.getDate();if(v[A]+=f.a,w[A]+=f.b,f.parts)for(let x=0;x<y;x++)C[A][x]+=f.parts[x]??0;if(f.partsB)for(let x=0;x<y;x++)_[A][x]+=f.partsB[x]??0}i.set(d,{year:m,month:h,daysInMonth:b,partsLen:y,hasPartsB:g,dayA:v,dayB:w,dayParts:C,dayPartsB:_})}const l=(d,c,p)=>new Date(d,c,p).getTime()>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),u={};for(const[d,c]of i){const{year:p,month:m,daysInMonth:h,dayA:b,dayB:y,dayParts:g,dayPartsB:v}=c,w=p===n.getFullYear()&&m===n.getMonth(),C=n.getDate(),_=i.get(r(m===11?p+1:p,(m+1)%12)),f=c.partsLen,A=[];for(let N=1;N<=h;N++){const k=w&&N>C;A.push({label:String(N),...k&&b[N]===0&&y[N]===0?{future:!0}:{},a:k&&b[N]===0&&y[N]===0?-1:b[N],b:y[N],...f?{parts:g[N]}:{},...f&&c.hasPartsB?{partsB:v[N]}:{}})}const x=[];for(let N=hn(p,m);N<=h;N+=7){const k=Math.max(0,N+6-h),B=k&&_?Math.max(f,_.partsLen):f,E=c.hasPartsB||!!(k&&_?.hasPartsB);let j=0,V=0;const $=new Array(B).fill(0),U=new Array(B).fill(0);for(let L=N;L<=Math.min(N+6,h);L++){j+=b[L],V+=y[L];for(let H=0;H<f;H++)$[H]+=g[L][H],U[H]+=v[L][H]}if(k&&_)for(let L=1;L<=k&&!l(_.year,_.month,L);L++){j+=_.dayA[L],V+=_.dayB[L];for(let H=0;H<_.partsLen;H++)$[H]+=_.dayParts[L][H],U[H]+=_.dayPartsB[L][H]}const S=k?`${(m+1)%12+1}/${k}`:`${N+6}`;x.push({label:`${x.length+1}\uC8FC`,sublabel:`[${N}\uC77C~${S}\uC77C]`,a:j,b:V,...B?{parts:$}:{},...B&&E?{partsB:U}:{}})}u[d]={weekly:x,daily:A}}return u}function Gl(){const e=Jn(),n=e.getFullYear(),a=e.getMonth()+1,r=[];for(let s=2024;s<=n;s++){const i=s===n?a:12;for(let l=1;l<=i;l++){const u=`${s}\uB144 ${l}\uC6D4`;r.push({value:u,label:u,year:s,month:l})}}return r.reverse()}Gl();function ry(){return Gl()}const Kl=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Yl(e){const{t:n,i18n:a}=ye.useTranslation(),[r,s]=o.useState("week"),i=o.useMemo(()=>ry().filter(B=>B.value in e),[e]),l=o.useMemo(()=>{const B=[];for(const E of i){const j=new Date(E.year,E.month,0).getDate(),V=hn(E.year,E.month-1),$=Math.ceil((j-V+1)/7);for(let U=$-1;U>=0;U--)B.push({value:`${E.value}#${U}`,monthKey:E.value,year:E.year,month:E.month,week:U})}return B},[i]),u=o.useCallback(B=>{const E=n("calendar.yearMonth",{year:B.year,month:B.month});return a.language?.startsWith("ko")?`${E} ${Kl[B.week]??`${B.week+1}`}\uC8FC`:`${E} Week ${B.week+1}`},[n,a.language]),d=o.useMemo(()=>i.map(B=>({value:B.value,label:n("calendar.yearMonth",{year:B.year,month:B.month})})),[n,i]),c=o.useMemo(()=>l.map(B=>({value:B.value,label:u(B)})),[l,u]),p=o.useMemo(()=>ny(),[e]),m=o.useMemo(()=>i.find(B=>B.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),h=o.useMemo(()=>l.find(B=>B.value===p.value)?.value??l[0]?.value??"",[l,p]),[b,y]=o.useState(""),[g,v]=o.useState("");o.useEffect(()=>{i.find(B=>B.value===b)||y(m)},[i,b,m]),o.useEffect(()=>{l.find(B=>B.value===g)||v(h)},[l,g,h]);const w=r==="month"?d:c,C=r==="month"?b:g,_=r==="month"?y:v,f=o.useMemo(()=>{const B=n("calendar.dow",{returnObjects:!0});return Array.isArray(B)?B:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[n]),A=w.findIndex(B=>B.value===C),x=o.useCallback(()=>{const B=w.findIndex(E=>E.value===C);B<w.length-1&&_(w[B+1].value)},[w,C,_]),N=o.useCallback(()=>{const B=w.findIndex(E=>E.value===C);B>0&&_(w[B-1].value)},[w,C,_]),k=o.useMemo(()=>[{key:"week",label:n("manager.chart.periodWeek","\uC8FC")},{key:"month",label:n("manager.chart.periodMonth","\uC6D4")}],[n]);return{period:r,setPeriod:s,range:C,setRange:_,activeOptions:w,activeIdx:A,handlePrev:x,handleNext:N,periodOptions:k,monthRange:b,weekRange:g,weekRanges:l,DOW:f}}const ht=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function wn(e,n=!0){return e.future===!0||n&&e.a===-1}function oy({data:e,colorA:n,colorB:a,labelA:r,labelB:s,barWidth:i=10,barGap:l=1,height:u=140,maxOverride:d,tightMax:c,seriesColors:p,seriesLabels:m,rateLabels:h,grouped:b=!1,baseline:y,focusableBars:g=!1}){const v=!a,w=!!(p&&p.length>0),C=y,_=o.useMemo(()=>w?Math.max(0,...e.filter(q=>!wn(q,C==null)).map(q=>b?Math.max(0,...(q.parts??[]).map(ht)):(q.parts??[]).reduce((G,P)=>G+Math.max(0,ht(P)),0))):Math.max(0,...e.filter(q=>!wn(q,C==null)).flatMap(q=>v?[ht(q.a)]:[ht(q.a),ht(q.b)])),[e,v,w,b]),f=o.useMemo(()=>{if(C==null)return 0;const q=e.filter(G=>!wn(G,C==null)).flatMap(G=>w?(G.parts??[]).map(ht):v?[ht(G.a)]:[ht(G.a),ht(G.b)]);return Math.max(0,...q.map(G=>Math.abs(G-C)))},[e,C,w,v]),A=o.useMemo(()=>{const q=C!=null?f:_;return d??(c?q>0?q:10:Math.ceil(q/10)*10||10)},[_,f,C,d,c]),x=u,N=w?b?Math.max(1,p.length):1:v?1:2,k={"--bar-width":`${o.useMemo(()=>{const q=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(q*N)+6)))},[e.length,N,i])}px`},B={"--bar-group-gap":`${Math.max(0,l)}px`},E=o.useMemo(()=>{const q=Math.round(A/2);return C!=null?[C+A,...q!==A?[C+q]:[],C,...q!==A?[C-q]:[],C-A]:q!==A?[A,q,0]:[A,0]},[A,C]),j=q=>C!=null?1-(q-(C-A))/(2*A):1-q/A,[V,$]=o.useState(null),U=o.useCallback(()=>$(null),[]),S=o.useCallback((q,G)=>{const P=[q.label,q.sublabel].filter(Boolean).join(" ");let I;if(w&&b&&q.rawPartsB)I=(m??[]).map((D,z)=>{const M=q.rawPartsB[z]??0;return{text:M>0?`${D}: ${G[z]??0}% (${q.rawParts?.[z]??0}/${M})`:`${D}: -`,color:(p??[])[z]}});else if(w&&b)I=(m??[]).map((D,z)=>({text:`${D}: ${X(G[z]??0)}`,color:(p??[])[z]}));else if(w){const D=(m??[]).map((M,F)=>({text:`${M}: ${G[F]??0}`,color:(p??[])[F]})),z=D.filter((M,F)=>(G[F]??0)>0);I=z.length?z:D}else h&&!v?I=[{text:`${r} ${ht(q.a)}%`,color:n},{text:`${s} ${ht(q.b)}%`,color:a}]:h&&q.rawB!==void 0?I=[{text:`${h.total} ${q.rawB}`},{text:`${h.done} ${q.rawA??0}`,color:n}]:v?I=[{text:`${r}: ${ht(q.a)}`,color:n}]:I=[{text:`${r}: ${ht(q.a)}`,color:n},{text:`${s}: ${ht(q.b)}`,color:a}];return{title:P,items:I}},[w,b,m,p,h,v,r,s,n,a,C]),L=o.useCallback((q,G,P)=>{const I=q.getBoundingClientRect(),{title:D,items:z}=S(G,P);$({rect:{left:I.left,top:I.top,right:I.right,bottom:I.bottom,width:I.width,height:I.height},title:D,items:z})},[S]),H=o.useCallback((q,G)=>{const{title:P,items:I}=S(q,G);return[P,...I.map(D=>D.text)].filter(Boolean).join(", ")},[S]),X=q=>C!=null&&q>C?`+${q}`:`${q}`,ne=V!=null;return o.useEffect(()=>{if(!ne)return;const q=()=>$(null),G=P=>{const I=P.target;I&&typeof I.closest=="function"&&I.closest(".manager-bar-chart-col")||$(null)};return window.addEventListener("scroll",q,!0),document.addEventListener("pointerdown",G,!0),()=>{window.removeEventListener("scroll",q,!0),document.removeEventListener("pointerdown",G,!0)}},[ne]),t.jsxs("div",{className:"manager-bar-chart-wrap",style:B,children:[t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsx("div",{className:"manager-bar-chart-scroll",children:t.jsxs("div",{className:"manager-bar-chart-area",children:[t.jsxs("div",{className:"manager-bar-chart-plot",style:{height:x},children:[E.slice(0,-1).map((q,G)=>t.jsx("div",{className:`manager-bar-chart-gridline${C!=null&&q===C?" manager-bar-chart-gridline--baseline":""}`,style:{top:j(q)*x},children:t.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:q})},G)),e.map((q,G)=>{const P=wn(q,C==null),I=x/2,D=R=>C!=null?Math.min(I,Math.abs(ht(R)-C)/A*I):Math.min(x,Math.max(0,ht(R)/A*x)),z=P?0:D(q.a),M=P?0:D(q.b),F=(q.parts??[]).map(ht);return t.jsx("div",{className:`manager-bar-chart-col${b&&w?" manager-bar-chart-col--group":""}`,style:{cursor:P?"default":"pointer"},tabIndex:g&&!P?0:void 0,role:g&&!P?"img":void 0,"aria-label":g&&!P?H(q,F):void 0,onMouseEnter:P?void 0:R=>L(R.currentTarget,q,F),onFocus:P||!g?void 0:R=>L(R.currentTarget,q,F),onBlur:g?U:void 0,onMouseLeave:U,children:!P&&(w&&b?(p??[]).map((R,K)=>{const ae=F[K]??0;if(C==null)return t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:D(ae),background:R}},K);const Q=ht(ae)<C;return t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!Q&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D(ae),background:R}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:Q&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D(ae),background:R}})})]},K)}):w?t.jsx("div",{className:"manager-bar-chart-stack",style:k,children:(()=>{const R=F.reduce((ae,Q,re)=>Q>0?re:ae,-1);let K=x;return F.map((ae,Q)=>{if(ae<=0)return null;const re=Math.min(K,ae/A*x);return K-=re,t.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:re,background:(p??[])[Q],borderRadius:Q===R?"6px 6px 0 0":void 0}},Q)})})()}):C!=null?t.jsx(t.Fragment,{children:[{v:ht(q.a),c:n},...v?[]:[{v:ht(q.b),c:a}]].map(({v:R,c:K},ae)=>t.jsxs("div",{className:"manager-bar-chart-slot",style:k,children:[t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:R>=C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:D(R),background:K}})}),t.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:R<C&&t.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:D(R),background:K}})})]},ae))}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:z,background:n}}),!v&&t.jsx("div",{className:"manager-bar-chart-bar",style:{...k,height:M,background:a}})]}))},G)})]}),t.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((q,G)=>{const P=wn(q,C==null);return t.jsxs("span",{className:`manager-bar-chart-x-axis__label${P?" manager-bar-chart-x-axis__label--future":""}`,children:[t.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[q.isToday&&t.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:n}}),q.label]}),q.sublabel&&t.jsx("span",{className:"caption-1",children:q.sublabel})]},G)})})]})})}),V&&t.jsx(Vn,{anchorRect:V.rect,title:V.title,items:V.items,showIndex:!1,closeOnOutsideClick:!1})]})}function Zl({control:e}){const{t:n}=ye.useTranslation(),{activeOptions:a,activeIdx:r,range:s,setRange:i,handlePrev:l,handleNext:u,periodOptions:d,period:c,setPeriod:p}=e,m=c==="week"?n("calendar.prevWeek","\uC774\uC804 \uC8FC"):n("calendar.prevMonth","\uC774\uC804 \uB2EC"),h=c==="week"?n("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):n("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return t.jsxs("div",{className:"manager-section-controls",children:[t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:m,showTooltipInfo:m,disabled:r===a.length-1,onClick:l}),t.jsx(ln,{value:s,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:n("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),t.jsx(pe,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:h,showTooltipInfo:h,disabled:r<=0,onClick:u}),t.jsx(_n,{ariaLabel:n("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:c,onChange:b=>p(b),size:40})]})}function bo(e,n,a,r=!0){const s=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,l)=>{const u=new Date(n);u.setDate(n.getDate()+l);const d=(e[`${u.getFullYear()}\uB144 ${u.getMonth()+1}\uC6D4`]?.daily??[])[u.getDate()-1],c=d!=null&&wn(d,r)||u>s;return{dt:u,entry:d,isFuture:c}})}function sy(e,n,a,r,s=!0){const{period:i,monthRange:l,weekRange:u,weekRanges:d,DOW:c}=n,p=r?.startsWith("ko"),m=Jn(),h=m.getFullYear(),b=m.getMonth()+1,y=m.getDate();if(i==="month"){const w=e[l]??{weekly:[],daily:[]},C=l.match(/^(\d+)년 (\d+)월$/),_=C?Number(C[1]):null,f=C?Number(C[2]):null,A=_&&f?hn(_,f-1):1;return w.weekly.map((x,N)=>{const k=N+1;let B=x.label,E=!1,j=!1;if(_&&f){const V=A+N*7,$=new Date(_,f-1,V+6),U=$.getMonth()+1,S=$.getDate(),L=U===f?`${S}`:`${U}/${S}`;B=a("manager.chart.weekRange",{start:V,end:L});const H=new Date(h,b-1,y).getTime();E=H>=new Date(_,f-1,V).getTime()&&H<=$.getTime(),j=_>h||_===h&&(f>b||f===b&&V>y)}return{...x,label:B,sublabel:p?`${Kl[k-1]??k}\uC8FC`:`Week ${k}`,isToday:E,future:x.future===!0||j||void 0,a:j?-1:x.a,b:j?0:x.b}})}const g=d.find(w=>w.value===u);if(!g)return[];const v=new Date(g.year,g.month-1,hn(g.year,g.month-1)+g.week*7);return bo(e,v,m,s).map(({dt:w,entry:C,isFuture:_})=>{const f=w.getMonth()+1,A=w.getDate(),x=w.getFullYear();return{label:f===g.month&&x===g.year?`${A}`:`${f}/${A}`,sublabel:c[w.getDay()]??"",future:_||void 0,a:_?-1:C&&C.a>0?C.a:0,b:_?0:C&&C.b>0?C.b:0,isToday:x===h&&f===b&&A===y,...C?.parts?{parts:_?C.parts.map(()=>0):C.parts}:{},...C?.partsB?{partsB:_?C.partsB.map(()=>0):C.partsB}:{}}})}const iy={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function ly({focusableBars:e,size:n="medium",barWidth:a,titleKey:r,titleLevel:s,data:i,colorA:l,colorB:u,labelAKey:d,labelBKey:c,showTotal:p=!1,totalUnitKey:m,totalLabelKey:h,control:b,hideControls:y=!1,rate:g=!1,rateAgg:v="dayMean",tightMax:w=!1,avgMode:C=!1,totalFormat:_,series:f,seriesMode:A="stack",loading:x=!1,onDetail:N,headExtra:k,headSegment:B,icon:E,disc:j,onClick:V,cardAriaLabel:$,cardTooltip:U,detailSize:S=32,barGap:L,baseline:H,className:X,inGrid:ne=!1}){const{t:q,i18n:G}=ye.useTranslation(),P=iy[n],I=Yl(i),D=b??I,z=o.useMemo(()=>sy(i,D,q,G.language,H==null),[i,D,q,G.language,H]),M=A==="group"&&!!f&&f.length>0;L!=null&&!M&&an("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 F=o.useMemo(()=>{if(!g)return z;const re=D.period==="month"?D.monthRange.match(/^(\d+)년 (\d+)월$/):null,ce=Jn(),ue=f?.length??0,be=W=>{const te=[],oe=[],_e=[];for(let he=0;he<ue;he++){let le=0,ge=0,Ce=0;for(const ve of W){const Le=ht(ve.a[he]),je=ht(ve.b[he]);je<=0||(le+=Le,ge+=je,Ce+=Le/je*100)}te.push(v==="weighted"?ge>0?Math.round(le/ge*100):0:W.length?Math.round(Ce/W.length):0),oe.push(le),_e.push(ge)}return{pct:te,ra:oe,rb:_e}};return z.map((W,te)=>{let oe=W.a===-1?-1:W.b>0?Math.round(W.a/W.b*100):0;if(re&&!wn(W)){const he=Number(re[1]),le=Number(re[2])-1,ge=bo(i,new Date(he,le,hn(he,le)+te*7),ce).filter(Ce=>!Ce.isFuture);if(v==="weighted"){let Ce=0,ve=0;for(const{entry:Le}of ge)Le&&Le.b>0&&(Ce+=Le.a,ve+=Le.b);oe=ve>0?Math.round(Ce/ve*100):0}else oe=ge.length?Math.round(ge.reduce((Ce,{entry:ve})=>Ce+(ve&&ve.b>0?ve.a/ve.b*100:0),0)/ge.length):0}let _e=null;if(M&&!wn(W)){let he;if(re){const ge=Number(re[1]),Ce=Number(re[2])-1;he=bo(i,new Date(ge,Ce,hn(ge,Ce)+te*7),ce).filter(ve=>!ve.isFuture).map(({entry:ve})=>({a:ve?.parts??[],b:ve?.partsB??[]}))}else he=[{a:W.parts??[],b:W.partsB??[]}];const le=be(he);_e={parts:le.pct,rawParts:le.ra,rawPartsB:le.rb}}return{...W,a:oe,b:W.a===-1?0:c&&W.parts&&W.parts[1]>0?Math.round(W.parts[0]/W.parts[1]*100):0,rawA:W.a===-1?-1:W.a,rawB:W.b,..._e??{}}})},[z,g,v,c,D.period,D.monthRange,i,M,f?.length]),R=o.useMemo(()=>{if(g||C){const ce=(D.period==="week"?z:i[D.monthRange]?.daily??[]).filter(be=>be.a!==-1);if(ce.length===0)return 0;if(g&&v==="weighted"){let be=0,W=0;for(const te of ce)te.b>0&&(be+=te.a,W+=te.b);return W>0?Math.round(be/W*100):0}const ue=g?ce.reduce((be,W)=>be+(W.b>0?W.a/W.b*100:0),0):ce.reduce((be,W)=>be+(W.a>0?W.a:0),0);return Math.round(ue/ce.length)}const re=D.period==="month"?i[D.monthRange]?.daily??[]:F;return H!=null?re.reduce((ce,ue)=>ce+(wn(ue,!1)?0:ht(ue.a)+(c?ht(ue.b):0)),0):re.reduce((ce,ue)=>ce+(ue.a>0?ue.a:0)+(c&&ue.b>0?ue.b:0),0)},[F,z,g,v,C,H,c,D.period,D.monthRange,i]),K=f&&f.length>0?f.map(re=>({color:re.color,label:re.label})):[{color:l,label:q(d)},...c?[{color:u,label:q(c)}]:[]],ae=n==="small",Q=[ae?"manager-section--compact":n==="large"?"manager-section--full":void 0,X].filter(Boolean).join(" ")||void 0;return t.jsx(go,{className:Q,inGrid:ne,icon:E,disc:j,onClick:V,ariaLabel:$,tooltip:U,headSegment:B,headMenuItems:N?[{label:q("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:N,closeOnSelect:!0}]:void 0,title:q(r),titleLevel:s,titleClassName:ae?"h5 chart-section-title--small":void 0,headRight:ae?k??void 0:({collapsed:re})=>t.jsxs(t.Fragment,{children:[!y&&t.jsx(Zl,{control:D}),k,N&&!re&&t.jsx("span",{className:"manager-bar-chart-detail-btn",children:t.jsx(pe,{htmlType:"button",size:S,type:"dot",icon:"list",ariaLabel:q("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:q("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:N})})]}),subRow:t.jsxs(t.Fragment,{children:[p?g||C||h&&_?t.jsx(La,{label:ae?void 0:`${q(D.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${q(h??d)}`,children:_?(_(R).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((re,ce)=>/\d/.test(re)?t.jsx("span",{className:"barchart-total__num h0",children:re},ce):t.jsx("span",{className:"barchart-total__unit h5",children:re},ce)):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"barchart-total__num h0",children:R}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:q(m)})]})}):t.jsxs(La,{children:[t.jsx("span",{className:"barchart-total__num h0",children:R}),t.jsx("span",{className:"barchart-total__unit h5",children:q(d)}),m&&t.jsx("span",{className:"barchart-total__unit h5",children:q(m)})]}):t.jsx("span",{}),t.jsx(fo,{items:K,className:"caption-1"})]}),children:x?t.jsx("div",{className:"manager-bar-chart-wrap manager-bar-chart-loading","aria-busy":"true",children:t.jsx("div",{className:"manager-bar-chart-inner",children:t.jsxs("div",{className:"manager-bar-chart-area manager-bar-chart-area--loading",children:[t.jsx("div",{className:"manager-bar-chart-plot manager-bar-chart-plot--loading",style:{height:P.height},children:t.jsx(Ma,{size:32})}),t.jsx("div",{className:"manager-bar-chart-x-axis","aria-hidden":"true",children:t.jsxs("span",{className:"manager-bar-chart-x-axis__label",children:[t.jsx("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:"\xA0"}),F.some(re=>!!re.sublabel)&&t.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):t.jsx(oy,{focusableBars:e,data:F,colorA:l,colorB:c?u:void 0,labelA:q(d),labelB:c?q(c):void 0,barWidth:a??P.barWidth,barGap:L,baseline:H,height:P.height,maxOverride:g?100:void 0,tightMax:w,seriesColors:f?.map(re=>re.color),seriesLabels:f?.map(re=>re.label),rateLabels:g?{total:q("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:q("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:M})})}const Xl=120,uy={left:38,right:16,top:26,bottom:24};function cy({points:e=[],range:n,ticks:a=[],axisTitle:r,color:s,height:i=156,fallbackWidth:l=320,insets:u,overlay:d,ariaLabel:c,className:p}){const[m,h]=o.useState(null),[b,y]=o.useState(null);o.useEffect(()=>{if(!b)return;const H=ne=>h(Math.round(ne)||null);if(H(b.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const X=new ResizeObserver(([ne])=>H(ne.contentRect.width));return X.observe(b),()=>{X.disconnect()}},[b]);const{payload:g,anchorRect:v,openAfterDelay:w,close:C}=hb(Xl),_=o.useCallback((H,X)=>{H&&w(H,X.getBoundingClientRect())},[w]),f=m??l,A=i,{left:x,right:N,top:k,bottom:B}={...uy,...u},[E,j]=n,V=H=>j===E?x:x+(f-x-N)*(H-E)/(j-E),$=H=>k+(A-k-B)*(100-H)/100,U={x:V,y:$,plot:{left:x,right:f-N,top:k,bottom:A-B,width:Math.max(0,f-x-N),height:Math.max(0,A-k-B)}},S=e.filter(H=>!H.hollow),L=s??"var(--color-main)";return t.jsxs(t.Fragment,{children:[t.jsxs("svg",{ref:y,className:ke("line-chart",p),viewBox:`0 0 ${f} ${A}`,role:"img","aria-label":c??e.map(H=>H.description).filter(Boolean).join(", "),children:[r&&t.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:r}),[0,100].map(H=>t.jsxs("g",{children:[t.jsx("line",{className:"line-chart__grid",x1:x,x2:f-N,y1:$(H),y2:$(H)}),t.jsxs("text",{className:"line-chart__tick",x:x-6,y:$(H)+4,textAnchor:"end",children:[H,"%"]})]},H)),d?.(U),a.map(H=>t.jsx("text",{className:"line-chart__tick",x:V(H.x),y:A-5,textAnchor:"middle",children:H.label},H.x)),S.length>1&&t.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:L,points:S.map(H=>`${V(H.x)},${$(H.pct)}`).join(" ")}),e.map(H=>t.jsxs("g",{className:"line-chart__dot",onPointerEnter:X=>_(H.description,X.currentTarget),onPointerLeave:C,children:[t.jsx("circle",{className:"line-chart__dot-hit",cx:V(H.x),cy:$(H.pct),r:12}),t.jsx("circle",{className:ke("line-chart__dot-main",H.hollow&&"is-hollow"),cx:V(H.x),cy:$(H.pct),r:4,stroke:L,fill:H.hollow?void 0:L})]},H.x))]}),g!=null&&t.jsx(on,{anchorRect:v,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:g,children:g})]})}function dy({icon:e,iconSize:n=56,title:a,titleClass:r="h2",description:s,tipGroups:i,start:l,className:u}){return t.jsxs("div",{className:ke("game-intro",u),children:[e!=null&&t.jsx("span",{className:"game-intro__icon","aria-hidden":"true",style:{"--game-intro-icon":`${n}px`},children:e}),t.jsx("h2",{className:ke("game-intro__title",r),children:a}),s!=null&&t.jsx("p",{className:"game-intro__description body-3",children:s}),i?.map((d,c)=>t.jsxs("div",{className:"game-intro__tips",children:[d.title!=null&&t.jsx("span",{className:"game-intro__tips-title body-3",children:d.title}),d.tips.map((p,m)=>t.jsxs("span",{className:"game-intro__tip body-3",children:[p.icon!=null&&t.jsx("span",{"aria-hidden":"true",children:p.icon}),t.jsx("span",{children:p.text})]},m))]},c)),l&&t.jsx(pe,{htmlType:"button",className:l.className,variant:"main",color:l.color,size:48,width:"100%",disabled:l.disabled,onClick:l.onClick,children:l.label})]})}const Jl=(e,n,a)=>{const r=new Date(Date.UTC(e,n,a));return`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}-${String(r.getUTCDate()).padStart(2,"0")}`},Ql=(e,n,a,r)=>({from:ci(e,n,a),to:new Date(ci(e,n,a+r).getTime()-1),fromYmd:Jl(e,n,a),toYmd:Jl(e,n,a+r-1)});function py(e,n=0){if(e.period==="month"){const s=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=Jn(),l=s?Number(s[1]):i.getFullYear(),u=(s?Number(s[2]):i.getMonth()+1)-1+n,d=new Date(Date.UTC(l,u+1,0)).getUTCDate();return Ql(l,u,1,d)}const a=e.weekRanges.find(s=>s.value===e.weekRange);if(!a){const s=new Date,i=va();return{from:s,to:s,fromYmd:i,toYmd:i}}const r=hn(a.year,a.month-1);return Ql(a.year,a.month-1,r+(a.week+n)*7,7)}const yo={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function eu(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function tu({done:e,total:n,segments:a,color:r="var(--color-main)",size:s="medium",strokeWidth:i,label:l="%",hideCenter:u=!1,hideLabel:d=!1}){const c=typeof s=="number"?s:yo[s].diameter,p=i??(typeof s=="number"?12:yo[s].strokeWidth),m=c/2,h=(c-p)/2,b=2*Math.PI*h;if(a&&a.length>0){const w=a.reduce((C,_)=>{const f=C.length>0?C[C.length-1].acc:0,A=Number.isFinite(_.ratio)?_.ratio:0,x=Math.max(0,Math.min(A,1-f));return C.push({color:_.color,rotate:-90+f*360,dash:b*x,acc:f+x}),C},[]);return t.jsx("div",{className:"ring-chart",style:{width:c,height:c},children:t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),w.map((C,_)=>C.dash>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:C.color,strokeWidth:p,strokeDasharray:`${C.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${C.rotate} ${m} ${m})`},_))]})})}const y=(n??0)>0?Math.min((e??0)/n,1):0,g=b*y,v=b-g;return t.jsxs("div",{className:"ring-chart",style:{width:c,height:c},children:[t.jsxs("svg",{width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",children:[t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),y>0&&t.jsx("circle",{cx:m,cy:m,r:h,fill:"none",stroke:r,strokeWidth:p,strokeDasharray:`${g} ${v}`,strokeLinecap:y<.02||y>.98?"butt":"round",transform:`rotate(-90 ${m} ${m})`})]}),!u&&t.jsxs("div",{className:`ring-chart__center${d?"":` ${c<=96?"ring-chart__center--small":s==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[t.jsx("span",{className:`ring-chart__pct ${c<=96?"h2":"h1"}`,children:eu(y)}),!d&&t.jsx("span",{className:`ring-chart__label ${c<=96?"caption-2":"caption-1"}${c<=96||s==="medium"?" ring-chart__label--tight":""}`,children:l})]})]})}function my({titleKey:e,titleLevel:n,headRight:a,icon:r,showTotal:s,totalLabelKey:i,legend:l,loading:u,className:d,inGrid:c=!1,onClick:p,ariaLabel:m,tooltip:h,...b}){const{t:y}=ye.useTranslation();if(!e)return t.jsx(tu,{...b});const g=(b.total??0)>0?eu(Math.min((b.done??0)/b.total,1)):0,v=b.size==="small",w=typeof b.size=="number"?b.size:yo[b.size??"medium"].diameter,C=b.size==="large",_=[d,v?"manager-section--compact":C?"manager-section--full":""].filter(Boolean).join(" ")||void 0,f=r&&t.jsx("span",{className:"chart-section-icon",children:t.jsx(Ye,{icon:r,className:"chart-section-icon-inner"})});return t.jsx(go,{className:_,inGrid:c,onClick:p,ariaLabel:m,tooltip:h,title:y(e),titleLevel:n,titleClassName:v?"h5 chart-section-title--small":void 0,headRight:f||(v?void 0:a),subRow:(s||l)&&t.jsxs(t.Fragment,{children:[s?t.jsxs(La,{label:!v&&i?y(i):void 0,children:[t.jsx("span",{className:"barchart-total__num h0",children:g}),t.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):t.jsx("span",{}),l&&t.jsx(fo,{items:l})]}),children:u?t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx("div",{className:"ring-chart ring-chart--loading",style:{width:w,height:w},"aria-busy":"true",children:t.jsx(Ma,{size:32})})}):t.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:t.jsx(tu,{...b,hideCenter:b.hideCenter??v})})})}function hy({label:e,value:n,change:a,changeType:r,icon:s,tooltip:i,onClick:l,children:u}){const d=o.useRef(null),{anchorRect:c,openAt:p,close:m}=wa(),h=o.useCallback(()=>{i&&d.current&&p(d.current)},[i,p]),b=r??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),y=a===void 0?void 0:a>0?`+${a}`:`${a}`,g=o.useCallback(v=>{l&&(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),l())},[l]);return t.jsxs("div",{ref:d,className:`manager-stat-card${l?" manager-stat-card--clickable":""}`,onClick:l,onKeyDown:l?g:void 0,onPointerEnter:h,onPointerLeave:m,onFocus:h,onBlur:m,role:l?"button":void 0,tabIndex:l?0:void 0,"aria-label":l?[e,n,y].filter(v=>v!==void 0&&v!=="").join(" "):void 0,children:[i&&c&&t.jsx(bn,{anchorRect:{left:c.left,top:c.top+21,right:c.right,bottom:c.bottom,width:c.width,height:c.height},text:i}),t.jsxs("div",{className:"manager-stat-card__label-row",children:[t.jsx("span",{className:"manager-stat-card__label h5",children:e}),s&&t.jsx("span",{className:"manager-stat-card__icon",children:t.jsx(Ye,{icon:s,className:"manager-stat-card__icon-inner"})})]}),t.jsxs("div",{className:"manager-stat-card__content",children:[t.jsxs("div",{className:"manager-stat-card__left",children:[t.jsx("div",{className:"manager-stat-card__value h2",children:n}),y&&t.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${b??"neutral"} caption-1`,children:y})]}),u&&t.jsx("div",{className:"manager-stat-card__body",children:u})]})]})}function nu({value:e,onChange:n,min:a=0,max:r=100,step:s=1,orientation:i="horizontal",size:l=24,disabled:u=!1,ariaLabel:d,length:c,className:p,label:m,formatValue:h,labelPos:b,labelAlign:y="right",showMinMax:g=!1,minLabel:v,maxLabel:w,showBgTick:C=!1,showFillTick:_=!1,tickStep:f,tickShape:A="dot"}){n&&!d&&an("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const x=Math.min(r,Math.max(a,e)),N=r>a?(x-a)/(r-a):0,k=i==="vertical",B=!n,E=D=>n?.(Number(D.target.value)),j=typeof c=="number"?`${c}px`:c,V={"--slider-ratio":String(N),"--slider-thumb":`${l}px`,...j?k?{height:j}:{width:j}:{}},$=f??s,U=(C||_)&&$>0&&r>a?Math.floor((r-a)/$+1e-6):0;if(U>0&&U<=100){const D=A!=="dash",z=ae=>D?`radial-gradient(circle, ${ae} 0.5px, transparent 1px)`:k?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ae} calc(50% - 2px), ${ae} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ae} calc(50% - 2px), ${ae} calc(50% + 2px), transparent calc(50% + 2px))`,M=D?"2px":"4px",F=[],R=[],K=[];for(let ae=0;ae<=U;ae++){const Q=ae*$/(r-a);if(Q>1+1e-6)break;const re=`${((k?1-Q:Q)*100).toFixed(4)}%`,ce=Q<=N+1e-6;if(ce?!_:!C)continue;const ue=ce?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";F.push(z(ue)),R.push(k?`${M} var(--slider-thumb)`:`var(--slider-thumb) ${M}`),K.push(k?`center ${re}`:`${re} center`)}F.push(k?"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))"),R.push("100% 100%"),K.push("0 0"),V.backgroundImage=F.join(", "),V.backgroundSize=R.join(", "),V.backgroundPosition=K.join(", "),V.backgroundRepeat="no-repeat"}const S=h?h(x):m==="percent"?`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`:m==="count"?`${x} / ${r}`:x===a&&v?v:x===r&&w?w:void 0,L=t.jsx("input",{type:"range",className:ke("slider",`slider--${i}`,B&&"slider--static",!m&&!g&&p),min:a,max:r,step:s,value:x,disabled:u,readOnly:B,tabIndex:B?-1:void 0,"aria-label":d,"aria-valuetext":S,"aria-orientation":i,onChange:E,style:V});if(!m&&!g)return L;const H=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:v??a}),X=t.jsx("span",{className:"slider-wrap__minmax caption-1",children:w??r}),ne=g?t.jsxs("div",{className:ke("slider-track-group",`slider-track-group--${i}`,!m&&p),children:[k?X:H,L,k?H:X]}):L;if(!m)return ne;const q=b??(k?"bottom":"right"),G=`${Math.round(r>a?(x-a)/(r-a)*100:0)}%`,P=h?h(x):m==="percent"?G:m==="count"?`${x} / ${r}`:String(x),I=t.jsx("span",{className:"slider-wrap__value body-3b",children:P});return t.jsxs("div",{className:ke("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${q}`,`slider-wrap--align-${y}`,p),children:[ne,I]})}const Cy=.86,fy=250,vo=(e,n,a,r)=>Math.round(Math.min(r,Math.max(a,e-n))),xo=(e,n,a,r)=>{const s=vo(e,n,a,r);return`${s<0?"-":"+"}${Math.abs(s)} dB`};function _o({analyser:e,audioElement:n,orientation:a="horizontal",length:r,label:s,labelPos:i,labelAlign:l="right",floorDb:u=-60,refDb:d=-35,displayMin:c=-5,displayMax:p=25,className:m,ariaLabel:h}){const b=o.useRef(null),y=o.useRef(null),g=o.useRef(null),v=o.useRef(null),[w,C]=o.useState(null);o.useEffect(()=>{const x=L=>{const H=xo(L,d,c,p);g.current&&(g.current.textContent=H);const X=b.current;X&&(X.setAttribute("aria-valuenow",String(vo(L,d,c,p))),X.setAttribute("aria-valuetext",H))},N=e??lC(n)??(w&&w.el===n?w.node:null),k=y.current;if(!N||!k){k?.style.setProperty("--meter-level","0"),x(u);let L=!1;return!e&&n&&Ha(n).then(H=>{!L&&H&&C({el:n,node:H})}),()=>{L=!0}}Pr();const B=new Float32Array(N.fftSize);let E=0,j=0,V=0,$=0,U=null;const S=L=>{const H=uC(N,B);E=H>E?H:E*Cy;const X=E>1e-5?20*Math.log10(E):-1/0,ne=Math.max(u,X),q=ne-d,G=Math.min(1,Math.max(0,(q-c)/(p-c)));if(k.style.setProperty("--meter-level",G.toFixed(3)),j+=ne,V+=1,L-$>=fy){const P=j/V;U=U==null?P:U*.6+P*.4,x(U),j=0,V=0,$=L}v.current=requestAnimationFrame(S)};return v.current=requestAnimationFrame(S),()=>{v.current!=null&&cancelAnimationFrame(v.current),v.current=null}},[e,n,w,u,d,c,p]);const _=typeof r=="number"?`${r}px`:r,f=t.jsx("div",{className:"audio-meter__track",style:_?a==="vertical"?{height:_}:{width:_}:{},children:t.jsx("div",{ref:y,className:"audio-meter__fill"})}),A=i??(a==="vertical"?"bottom":"right");return t.jsxs("div",{ref:b,className:ke("audio-meter",`audio-meter--${a}`,s&&`audio-meter--label-${A}`,s&&`audio-meter--align-${l}`,m),role:"meter","aria-label":h,"aria-valuemin":c,"aria-valuemax":p,"aria-valuenow":vo(u,d,c,p),"aria-valuetext":xo(u,d,c,p),children:[f,s&&t.jsx("span",{ref:g,className:"audio-meter__value caption-2",children:xo(u,d,c,p)})]})}const au=260;function ru({message:e,position:n,duration:a,onClose:r}){const[s,i]=o.useState(!1),[l,u]=o.useState(!1),d=o.useRef(l),c=o.useRef(s);o.useEffect(()=>{d.current=l},[l]),o.useEffect(()=>{c.current=s},[s]);const p=o.useRef(null),m=o.useRef(""),h=o.useRef(r);o.useEffect(()=>{h.current=r});const b=a,y=o.useRef(null),g=o.useRef(0),v=o.useRef(0),w=o.useRef(!1),C=o.useRef(null),_=o.useRef(null),f=o.useRef(null),A=o.useRef(null),x=o.useRef(()=>{});x.current=B=>{B<0||(g.current=Date.now(),v.current=B,y.current=setTimeout(()=>{y.current=null,i(!1),C.current=setTimeout(()=>{u(!1);try{h.current()}catch{}},au)},B))};const N=o.useCallback(()=>{w.current||!y.current||(w.current=!0,clearTimeout(y.current),y.current=null,v.current=Math.max(0,v.current-(Date.now()-g.current)))},[]),k=o.useCallback(()=>{w.current&&(w.current=!1,x.current(v.current))},[]);return o.useEffect(()=>{if(e!==m.current&&(y.current&&(clearTimeout(y.current),y.current=null),C.current&&(clearTimeout(C.current),C.current=null)),e){if(c.current)return b>0&&!y.current&&(w.current?v.current=b:x.current(b)),m.current=e,()=>{y.current&&(clearTimeout(y.current),y.current=null),C.current&&(clearTimeout(C.current),C.current=null)};const B=()=>{const E=p.current;if(E)try{E.classList.remove("is-visible"),E.style.transition="none",n==="top"?E.style.transform="translateX(-50%) translateY(-16px)":E.style.transform="translateX(-50%) translateY(16px)",E.style.opacity="0",E.offsetWidth,E.style.transition="",E.classList.add("is-visible"),A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{A.current=null;try{E.style.opacity="",E.style.transform="",E.style.transition=""}catch{}},60)}catch{}};d.current?(B(),i(!0)):(u(!0),_.current=requestAnimationFrame(()=>{f.current=requestAnimationFrame(()=>{B(),i(!0)})})),b>0&&(w.current=!1,x.current(b))}else i(!1),C.current=setTimeout(()=>u(!1),au);return m.current=e,()=>{y.current&&clearTimeout(y.current),C.current&&clearTimeout(C.current),_.current&&cancelAnimationFrame(_.current),f.current&&cancelAnimationFrame(f.current),A.current&&clearTimeout(A.current),y.current=null,C.current=null,_.current=null,f.current=null,A.current=null}},[e,b,n]),{mounted:l,showing:s,popupRef:p,pause:N,resume:k}}function ra({message:e="",position:n="top",type:a="normal",onClose:r=()=>{},duration:s=2e3}){const{mounted:i,showing:l,popupRef:u,pause:d,resume:c}=ru({message:e,position:n,duration:s,onClose:r}),p=o.useRef(null),[m,h]=o.useState(!1);if(o.useEffect(()=>{l?h(!0):i||h(!1)},[l,i]),!i)return null;const b=a==="notice"||a==="warning"?a:"normal",y=t.jsx("div",{ref:u,className:`toast toast--${n} ${l?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:g=>{p.current=g.pointerType},onMouseEnter:()=>{p.current!=="touch"&&d()},onMouseLeave:c,onFocusCapture:d,onBlurCapture:c,children:t.jsx("div",{className:`toast__inner toast__inner--${b} body-2`,"aria-hidden":m||l?void 0:!0,children:t.jsx("span",{className:"toast__text",children:e})})});return typeof document<"u"?Jt.createPortal(y,document.body):y}const gy=24;function by({value:e,max:n=100,size:a=8,color:r,trackColor:s,label:i,formatValue:l,labelPos:u,labelAlign:d="right",ariaLabel:c,className:p}){const m=Number.isFinite(n)&&n>0?n:1,h=Math.max(0,Math.min(Number.isFinite(e)?e:0,m)),b=h/m*100,y=Number.isFinite(n)&&n>0?n:0,g=u??(a>=gy?"inside":"bottom"),v=g==="center"?"inside":g,w=v==="inside"&&(d==="left"?b>=15:d==="center"?b>=50:b>=85),C={};return r&&(C["--progress-bar-fill"]=r),s&&(C["--progress-bar-track"]=s),t.jsxs("div",{className:ke("progress-bar",`progress-bar--${a}`,`progress-bar--label-${v}`,i&&`progress-bar--align-${d}`,i&&w&&"progress-bar--label-on-fill",p),style:C,children:[t.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":y,"aria-valuetext":i?l?l(h):i==="percent"?void 0:i==="raw"?String(h):`${h} / ${y}`:void 0,"aria-label":c,children:t.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&t.jsx("span",{className:"progress-bar__label caption-1b",children:l?l(h):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(h):`${h} / ${y}`})]})}const ou={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},yy="rgba(255, 255, 255, 0.16)";function su({max:e,index:n,inactiveBg:a,inactiveColor:r,transparent:s,variant:i="numbered",announce:l=!1,ariaLabel:u}){const{t:d}=ye.useTranslation(),c=nn("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(n)?Math.max(0,Math.min(n,e-1)):0,m=u??d("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),h={};if(a&&(h["--pi-inactive-bg"]=a),r&&(h["--pi-inactive-color"]=r),s&&(a||(h["--pi-inactive-bg"]=yy),r||(h["--pi-inactive-color"]="var(--color-white)")),i==="dot")return t.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:h,role:l?"status":"img","aria-label":l?void 0:m,children:[l&&t.jsx("span",{style:ou,children:m}),Array.from({length:e}).map((y,g)=>t.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${g<p?" done":g===p?" active":""}`},g))]});const b=l?t.jsx("span",{role:"status",style:ou,children:m}):null;return c?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:h,role:"list","aria-label":m,children:t.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),b]}):t.jsxs(t.Fragment,{children:[b,t.jsx("div",{className:"progress-indicator",style:h,role:"list","aria-label":m,children:Array.from({length:e}).map((y,g)=>t.jsx("span",{role:"listitem","aria-current":g===p?"step":void 0,className:`progress-indicator-dot ${g<p?" done":g===p?" active":""} body-3`,children:g+1},g))})]})}function vy(e){if(!e)return[];const n=[];let a=0,r="";for(const s of e.trim()){if(s==="("?a++:s===")"&&a--,/\s/.test(s)&&a===0){r&&(n.push(r),r="");continue}r+=s}return r&&n.push(r),n}function xy({children:e,className:n,style:a,rowLabel:r,onRowClick:s}){return t.jsx("div",{role:"cell",className:n?`table-cell ${n}`:"table-cell",style:a,children:r&&s?t.jsx("button",{type:"button",className:"table-cell__row-button","aria-label":r,children:e}):e})}function wo({variant:e="default",children:n,className:a,draggable:r,onClick:s,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,expandedContent:c,colSpan:p,describedBy:m,rowHasButton:h}){const b=o.useCallback(y=>{s&&y.target===y.currentTarget&&(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),s())},[s]);return e==="loading"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--loading",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:t.jsx(Ma,{size:28})})})}):e==="empty"?t.jsx("div",{role:"presentation",className:"table-row-wrap",children:t.jsx("div",{role:"row",className:"table-row table-row--empty body-3",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row__full-cell",children:n})})}):t.jsxs("div",{role:"presentation",className:"table-row-wrap",children:[t.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:r,onClick:s,onKeyDown:s?b:void 0,onMouseEnter:i,onMouseLeave:l,onDragStart:u,onDragEnd:d,role:"row",tabIndex:s&&!h?0:void 0,"aria-describedby":s&&!h?m:void 0,children:n}),c&&t.jsx("div",{role:"row",className:"table-row-expand",children:t.jsx("div",{role:"cell","aria-colspan":p,className:"table-row-expand__cell",children:c})})]})}function _y({dir:e}){return t.jsx(e==="asc"?xs:vs,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function wy({children:e,onClick:n,className:a,sortDir:r,ariaSort:s,onResizeStart:i}){const l=t.jsxs(t.Fragment,{children:[e,r&&t.jsx(_y,{dir:r})]});return t.jsxs("div",{onClick:n,role:"columnheader","aria-sort":s,className:ke("table-field body-3",a,r?"table-field--sorted":"",i?"table-field--resizable":""),children:[n?t.jsx("button",{type:"button",className:"table-field__button",children:l}):l,i&&t.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:u=>u.stopPropagation(),"aria-hidden":"true"})]})}function Ao({fields:e=[],headerGroups:n,items:a=[],renderRow:r,onRowClick:s,isRowClickable:i,onRowMouseEnter:l,onRowMouseLeave:u,onRowDragStart:d,onRowDragEnd:c,draggingId:p,gridTemplateColumns:m,mobileGridTemplateColumns:h,resizable:b=!1,resizeMode:y="grow",resizeStorageKey:g,size:v="small",title:w,icon:C,count:_,collapsed:f=!1,onToggleCollapse:A,headerActions:x,empty:N,loading:k,dragOver:B=!1,onDragOver:E,onDragLeave:j,onDrop:V,renderExpandedRow:$,expandedId:U}){const{t:S}=ye.useTranslation(),L=o.useId(),H=`table-title-${L}`,X=`table-row-hint-${L}`,ne=nn("(max-width: 767px)"),q=h&&ne?h:null,G=b&&!ne,P=48,I=o.useRef(()=>P),D=g?`table-cols:${g}`:null,z=o.useRef(null),M=o.useRef(null),F=o.useRef(null),R=o.useRef(null),[K,ae]=o.useState(!1),Q=o.useCallback(()=>{const J=F.current;J&&ae(J.scrollWidth>J.clientWidth+1)},[]),re=o.useCallback((J,se)=>{const de=J.current;de&&M.current&&M.current.unobserve(de),J.current=se,se?(!M.current&&typeof ResizeObserver<"u"&&(M.current=new ResizeObserver(()=>Q())),M.current?.observe(se)):!F.current&&!R.current&&(M.current?.disconnect(),M.current=null),Q()},[Q]),ce=o.useCallback(J=>re(F,J),[re]),ue=o.useCallback(J=>re(R,J),[re]);o.useEffect(()=>{Q()}),o.useEffect(()=>{if(typeof window>"u")return;const J=typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>Q()):null;return window.addEventListener("resize",Q),()=>{J!=null&&cancelAnimationFrame(J),window.removeEventListener("resize",Q)}},[Q]);const be=o.useRef(()=>!1),W=o.useRef([]),te=o.useRef(null),oe=J=>{if(!J||typeof window>"u")return null;try{const se=JSON.parse(window.localStorage.getItem(J)??"null");return Array.isArray(se)&&se.length>0&&se.every(de=>typeof de=="number"&&Number.isFinite(de)&&de>0)?se:null}catch{return null}},[_e,he]=o.useState(()=>oe(D)),[le,ge]=o.useState(D);le!==D&&(ge(D),he(oe(D)));const Ce=o.useRef(_e);o.useEffect(()=>{Ce.current=_e},[_e]);const ve=o.useCallback(J=>{const se=te.current;if(!se)return;const de=Ce.current;if(de){const Ee=[...de];if(se.next!=null&&se.startWNext!=null){const et=J.clientX-se.startX,We=Math.max(I.current(se.index)-se.startW,Math.min(se.startWNext-I.current(se.next),et));Ee[se.index]=se.startW+We,Ee[se.next]=se.startWNext-We}else Ee[se.index]=Math.max(I.current(se.index),se.startW+(J.clientX-se.startX));Ce.current=Ee,he(Ee)}},[]),Le=o.useCallback(()=>{if(te.current=null,window.removeEventListener("pointermove",ve),window.removeEventListener("pointerup",Le),window.removeEventListener("pointercancel",Le),document.body.style.cursor="",document.body.style.userSelect="",D&&Ce.current)try{window.localStorage.setItem(D,JSON.stringify(Ce.current))}catch{}},[ve,D]),je=o.useCallback((J,se)=>{se.preventDefault(),se.stopPropagation();const de=z.current;if(!de)return;const Ee=Array.from(de.children).map(We=>We.getBoundingClientRect().width),et=y==="fit"?e.findIndex((We,gt)=>gt>J&&We.resizable!==!1):-1;te.current=et>=0?{index:J,startX:se.clientX,startW:Ee[J],next:et,startWNext:Ee[et]}:{index:J,startX:se.clientX,startW:Ee[J]},Ce.current=Ee,he(Ee),window.addEventListener("pointermove",ve),window.addEventListener("pointerup",Le),window.addEventListener("pointercancel",Le),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[ve,Le,y,e]),Qe=o.useCallback(()=>{const J=z.current,se=J?.closest(".table-wrap");if(!J||!se)return;const de=se.style.getPropertyValue("--table-grid-cols");se.style.setProperty("--table-grid-cols",e.map((Ke,Me)=>be.current(Me)?W.current[Me]:"max-content").join(" "));const Ee=Array.from(se.querySelectorAll(".table-row")).filter(Ke=>!Ke.classList.contains("table-row--loading")&&!Ke.classList.contains("table-row--empty")),et=e.map((Ke,Me)=>{let ze=J.children[Me]?.getBoundingClientRect().width??0;for(const ct of Ee){const xt=ct.children[Me];xt&&(ze=Math.max(ze,xt.getBoundingClientRect().width))}const Pe=be.current(Me)?parseFloat(W.current[Me]):NaN;return Number.isFinite(Pe)?Pe:Math.max(I.current(Me),Math.ceil(ze))}),We=window.getComputedStyle(J),gt=J.clientWidth-(parseFloat(We.paddingLeft)||0)-(parseFloat(We.paddingRight)||0);de?se.style.setProperty("--table-grid-cols",de):se.style.removeProperty("--table-grid-cols");let ut=et;const it=et.reduce((Ke,Me,ze)=>Ke+(be.current(ze)?Me:0),0),tt=et.reduce((Ke,Me,ze)=>Ke+(be.current(ze)?0:Me),0),Ge=gt-it;if(gt>0&&tt>0&&Ge>0){const Ke=Ge/tt;ut=et.map((ze,Pe)=>be.current(Pe)?ze:Math.max(I.current(Pe),Math.round(ze*Ke)));const Me=Math.round(Ge-ut.reduce((ze,Pe,ct)=>ze+(be.current(ct)?0:Pe),0));if(Me!==0){let ze=-1;ut.forEach((Pe,ct)=>{!be.current(ct)&&(ze<0||Pe>ut[ze])&&(ze=ct)}),ze>=0&&(ut[ze]=Math.max(I.current(ze),ut[ze]+Me))}}if(he(ut),D)try{window.localStorage.setItem(D,JSON.stringify(ut))}catch{}},[e,y,D]);o.useEffect(()=>()=>{te.current&&(window.removeEventListener("pointermove",ve),window.removeEventListener("pointerup",Le),window.removeEventListener("pointercancel",Le),document.body.style.cursor="",document.body.style.userSelect="")},[ve,Le]);const Ue=vy(m),He=Ue.filter(J=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(J));He.length>0&&an(`table-content-track:${m}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${He.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 Fe=e.findIndex(J=>!!J.sortDir);e.filter(J=>!!J.sortDir).length>1&&an("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 ot=J=>J===Fe?e[J].sortDir==="asc"?"ascending":"descending":e[J].onClick?"none":void 0,Ze=J=>/^\d+(\.\d+)?px$/.test(Ue[J]??""),Xe=J=>{const se=Ue[J]??"",de=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(se)??/^(\d+(?:\.\d+)?)px$/.exec(se);return de?parseFloat(de[1]):P};be.current=Ze,I.current=Xe,W.current=Ue;const st=J=>y==="fit"&&!Ze(J)?"fr":"px",De=_e&&_e.length===e.length&&!ne&&(y==="fit"||a.length>0),$e=q??(De?e.map((J,se)=>J.resizable===!1&&Ue[se]?Ue[se]:`${_e[se]}${st(se)}`).join(" "):m),Be=$e?{"--table-grid-cols":$e}:void 0,nt=w!==void 0;return t.jsxs("div",{ref:ce,className:`table-wrap table-wrap--${v}${G?" table-wrap--resizable":""}${B?" table-wrap--dragover":""}${f?" table-wrap--collapsed":""}`,style:Be,onDragOver:E,onDragLeave:j,onDrop:V,tabIndex:K?0:void 0,role:K?"region":void 0,"aria-label":K?typeof w=="string"?w:S("table.scrollRegion","\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C"):void 0,children:[!!s&&t.jsx("span",{id:X,className:"table-row-hint",children:S("table.rowActionHint","\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4")}),t.jsxs("div",{ref:ue,role:"table","aria-labelledby":nt&&typeof w=="string"?H:void 0,className:"table body-2",children:[nt&&t.jsxs("div",{className:ke("table-header",A&&"table-header--clickable"),onClick:A,role:"caption",children:[A&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:f?"chevron-right":"chevron-down",ariaLabel:f?S("common.expand","\uD3BC\uCE58\uAE30"):S("common.collapse","\uC811\uAE30"),ariaExpanded:!f,className:"table-header__chevron"}),C&&t.jsx(Ye,{icon:C,label:typeof w=="string"?w:void 0,className:"table-header__icon"}),t.jsx("span",{id:H,className:"table-header__title h5b",children:w}),_!==void 0&&t.jsx("span",{className:"table-header__count body-3b",children:_}),x&&t.jsx("span",{className:"table-header__actions",onClick:J=>J.stopPropagation(),children:x})]}),!f&&t.jsxs(t.Fragment,{children:[n&&n.length>0&&t.jsx("div",{role:"row",className:"table-fields table-fields--groups",children:n.map((J,se)=>t.jsx("div",{role:"columnheader","aria-colspan":J.span,className:ke("table-field body-3",J.className),style:{gridColumn:`span ${J.span}`},children:J.label},se))}),t.jsxs("div",{role:"presentation",className:ke("table-fields-strip",G&&"table-fields-strip--resizable"),children:[t.jsx("div",{role:"row",className:"table-fields",ref:z,children:e.map((J,se)=>t.jsx(wy,{onClick:J.onClick,className:J.className,sortDir:J.sortDir,ariaSort:ot(se),onResizeStart:G&&se<e.length-1&&J.resizable!==!1&&(y!=="fit"||e.some((de,Ee)=>Ee>se&&de.resizable!==!1))?de=>je(se,de):void 0,children:J.label},se))}),G&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:S("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:Qe})]}),t.jsx("div",{role:"rowgroup",className:"table-body",children:k?t.jsx(wo,{variant:"loading",colSpan:e.length||void 0}):a.length===0&&N?t.jsx(wo,{variant:"empty",colSpan:e.length||void 0,children:N}):a.map((J,se)=>{const de=p!=null&&J.id===p,Ee=!!s&&(i?i(J):!0),et=U!=null&&J.id!=null&&(U instanceof Set?U.has(J.id)||[...U].some(We=>String(We)===String(J.id)):String(J.id)===String(U));return t.jsx(wo,{className:`${Ee?" table-row--clickable":""}${d?" table-row--draggable":""}${de?" table-row--dragging":""}`.trim(),draggable:!!d,onClick:Ee?()=>s(J):void 0,colSpan:e.length||void 0,rowHasButton:r(J).some(We=>!!We.rowLabel),describedBy:X,onMouseEnter:l?We=>l(J,We):void 0,onMouseLeave:u?We=>u(J,We):void 0,onDragStart:d?We=>d(J,We):void 0,onDragEnd:c?We=>c(J,We):void 0,expandedContent:et&&$?$(J):void 0,children:r(J).map((We,gt)=>t.jsx(xy,{className:We.className,style:We.style,rowLabel:Ee?We.rowLabel:void 0,onRowClick:Ee?()=>s(J):void 0,children:We.content},gt))},J.id!=null?`${typeof J.id}:${J.id}`:`__idx:${se}`)})})]})]})]})}function iu(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const oa=e=>e==null?"":String(e).trim();function Bo(e,n,a){const r=[oa(e),oa(n),oa(a)];for(;r.length>0&&r[r.length-1]==="";)r.pop();return r.join(".")}function Ay(e,n,a){const r=oa(e);return r?`${r}-${oa(n).padStart(2,"0")}-${oa(a).padStart(2,"0")}`:""}const By={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function ky(e,n){const a=By[e];return a?n(`device.type.${a}`,{defaultValue:e}):e}function lu(e,n){return n!=="wornAt"?String(e[n]??""):Ay(e.wornYear,e.wornMonth,e.wornDay)}function Ny({rows:e,loading:n,onSelect:a,onDelete:r,onWear:s,onRelease:i,onAdd:l}){const{t:u}=ye.useTranslation(),d=g=>g==="\uC88C"?u("device.direction.left","\uC88C"):u("device.direction.right","\uC6B0"),{\uC815\uB82C:c,\uCE78:p}=rb(),m=o.useMemo(()=>{if(!c)return e;const{key:g,asc:v}=c;return[...e].sort((w,C)=>{if(g==="worn"){const _=Number(C.worn)-Number(w.worn);return v?_:-_}return ao(lu(w,g),lu(C,g),v)})},[e,c]),{pageRows:h,pageSizeProps:b,paginationProps:y}=ab(m,c);return t.jsxs("div",{className:"dlp-side-table",children:[t.jsx(Co,{count:{value:e.length,unit:u("customers.device.unit","\uAC1C")},pageSize:b,pagination:y,actions:l&&t.jsx(pe,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:u("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:l})}),t.jsx(Ao,{loading:n,resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...p(u("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},p(u("device.direction.label","\uBC29\uD5A5"),"side"),p(u("device.deviceType","\uC885\uB958"),"device"),p(u("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),p(u("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),p(u("device.productName","\uC81C\uD488\uBA85"),"productName"),p(u("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...r?[{label:"",resizable:!1}]:[]],items:h.map((g,v)=>({id:g.id??`${g.side}-${v}`,row:g})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${r?" 80px":""}`,renderRow:({row:g})=>[{content:t.jsx("span",{className:"dlp-worn-check",onClick:v=>v.stopPropagation(),children:t.jsx(Wl,{checked:g.worn,disabled:g.worn?!i:!s,ariaLabel:g.worn?u("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):u("customers.device.wear","\uCC29\uC6A9"),onChange:v=>{v?s?.(g):i?.(g)}})})},{content:t.jsx("span",{children:d(g.side)})},{content:g.device?t.jsx(yt,{size:"small",variant:iu(g.device),fill:"soft",label:ky(g.device,u)}):t.jsx("span",{})},{content:t.jsx("span",{children:g.brand})},{content:t.jsx("span",{children:g.fitType||"-"})},{content:t.jsx("span",{children:g.productName||"-"})},{content:t.jsx("span",{className:"dlp-date",children:Bo(g.wornYear,g.wornMonth,g.wornDay)||"-"})},...r?[{content:t.jsx("span",{className:"dlp-row-actions",children:t.jsx(pe,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:u("common.delete","\uC0AD\uC81C"),onClick:v=>{v?.stopPropagation(),r(g)}})})}]:[]],onRowClick:({row:g})=>a(g),empty:u("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}function uu(e,n){return e?{role:n?.role??"button",tabIndex:0,...n?.selected===void 0?{}:{"aria-selected":n.selected},onKeyDown:a=>{a.target===a.currentTarget&&(a.key!=="Enter"&&a.key!==" "||(a.preventDefault(),e(a)))}}:{}}function Dy(e,n){return new Date(e,n+1,0).getDate()}function Ey(e,n){return new Date(e,n,1).getDay()}function Sy({visits:e=[],onVisitClick:n,onVisitMove:a,onDayClick:r,today:s}){const{t:i,i18n:l}=ye.useTranslation(),u=o.useMemo(()=>i("calendar.dow",{returnObjects:!0}),[i]),d=Vr(s),[c,p]=o.useState(()=>Number(d.slice(0,4))),[m,h]=o.useState(()=>Number(d.slice(5,7))-1),[b,y]=o.useState(null),g=o.useRef(null),v=o.useMemo(()=>{const x={};return e.forEach(N=>{x[N.date]||(x[N.date]=[]),x[N.date].push(N)}),x},[e]),w=o.useMemo(()=>{const x=Dy(c,m),N=Ey(c,m),k=[];for(let B=0;B<N;B++)k.push(null);for(let B=1;B<=x;B++)k.push(B);for(;k.length<35;)k.push(null);return k},[c,m]),C=o.useCallback(()=>{m===0?(p(x=>x-1),h(11)):h(x=>x-1)},[m]),_=o.useCallback(()=>{m===11?(p(x=>x+1),h(0)):h(x=>x+1)},[m]),f=x=>`${c}-${String(m+1).padStart(2,"0")}-${String(x).padStart(2,"0")}`,A=x=>f(x)===d;return t.jsxs("div",{children:[t.jsxs("div",{className:"calendar-nav",children:[t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:C,"aria-label":i("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:t.jsx(Ye,{icon:"chevron-left",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsx("span",{className:"calendar-nav__title h5","aria-live":"polite",children:i("calendar.yearMonth",{year:c,month:m+1})}),t.jsx("button",{type:"button",className:"calendar-nav__button",onClick:_,"aria-label":i("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:t.jsx(Ye,{icon:"chevron-right",label:"",className:"",svgClassName:"calendar-nav__button-icon",size:18})}),t.jsxs("div",{className:"calendar-nav__legend",children:[t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--main"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.visited","\uBC29\uBB38")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--sub"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.scheduled","\uC608\uC57D")}),t.jsx("span",{className:"calendar-nav__legend-dot calendar-nav__legend-dot--disabled"}),t.jsx("span",{className:"caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]})]}),t.jsxs("div",{className:"calendar-grid",children:[u.map(x=>t.jsx("div",{className:"calendar-day-header body-3",children:x},x)),w.map((x,N)=>{if(x===null)return t.jsx("div",{className:"calendar-cell empty"},`empty-${N}`);const k=x,B=f(k),E=v[B]??[],j=OC(B,l.language),V=b===B;return t.jsxs("div",{className:`calendar-cell${A(k)?" today":""}${V?" drag-over":""}${r?" calendar-cell--clickable":""}`,role:r?"button":void 0,tabIndex:r?0:void 0,"aria-label":r?i("calendar.addOnDate",{date:B}):void 0,"aria-current":A(k)?"date":void 0,onClick:r?()=>r(B):void 0,onKeyDown:r?$=>{$.target===$.currentTarget&&($.key!=="Enter"&&$.key!==" "||($.preventDefault(),r(B)))}:void 0,onDragOver:a?$=>{$.preventDefault(),y(B)}:void 0,onDragLeave:a?$=>{$.currentTarget.contains($.relatedTarget)||y(null)}:void 0,onDrop:a?$=>{$.preventDefault(),g.current!=null&&(a(g.current,B),g.current=null),y(null)}:void 0,children:[t.jsx("div",{className:"calendar-cell__number body-3",children:k}),E.length>0&&(()=>{const $=[{key:"visited",\uB9D0:i("calendar.legend.visited","\uBC29\uBB38"),\uC218:E.filter(S=>(S.status??"visited")==="visited").length},{key:"scheduled",\uB9D0:i("calendar.legend.scheduled","\uC608\uC57D"),\uC218:E.filter(S=>S.status==="scheduled").length},{key:"noVisit",\uB9D0:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38"),\uC218:E.filter(S=>S.status==="noVisit").length}].filter(S=>S.\uC218>0),U=$.length===1&&$[0].key==="visited"?i("calendar.visitCount",{count:E.length,defaultValue:"\uBC29\uBB38 {{count}}\uAC74"}):$.map(S=>i("calendar.statusCount",{label:S.\uB9D0,count:S.\uC218,defaultValue:"{{label}} {{count}}\uAC74"})).join(" \xB7 ");return t.jsxs("span",{className:"calendar-cell__visit-count caption-1","aria-label":`${j} ${U}`,children:[$.map(S=>t.jsx("span",{className:`calendar-cell__visit-dot calendar-cell__visit-dot--${S.key}`,"aria-hidden":"true"},S.key)),E.length]})})(),t.jsx("div",{className:"calendar-cell__badges",children:E.map(($,U)=>t.jsxs("div",{draggable:!!a,className:`calendar-visit-badge${$.status==="noVisit"?" calendar-visit-badge--no-visit":$.status==="scheduled"?" calendar-visit-badge--scheduled":""}${n?" calendar-visit-badge--clickable":""}${a?" calendar-visit-badge--draggable":""}`,onDragStart:a?S=>{g.current=$.id,S.dataTransfer.effectAllowed="move"}:void 0,onDragEnd:a?()=>{g.current=null,y(null)}:void 0,onClick:n?S=>{S.stopPropagation(),n($)}:void 0,...uu(n?()=>n($):void 0),"aria-label":[j,$.time?mi($.time,i):null,$.customer,i($.status==="noVisit"?"calendar.legend.noVisit":$.status==="scheduled"?"calendar.legend.scheduled":"calendar.legend.visited")].filter(Boolean).join(" "),children:[$.time&&t.jsx("span",{className:"calendar-visit-badge__time body-3",children:mi($.time,i)}),t.jsx("span",{className:"calendar-visit-badge__name body-3",children:$.customer}),$.status==="noVisit"&&t.jsx("span",{className:"calendar-visit-badge__no-visit caption-1",children:i("calendar.legend.noVisit","\uBBF8\uBC29\uBB38")})]},$.id??U))})]},k)})]})]})}const jy={page:"h3",pagePopup:"h4",popup:"h5"};function sa({type:e="page",title:n,headingLevel:a=2,icon:r,action:s,disc:i,children:l,inGrid:u=!1,className:d,style:c}){const p=jy[e],m=n||i||s||r,h=a?`h${a}`:"div";return t.jsxs("div",{className:ke("section",`section--${e}`,u&&"section--in-grid",d),style:c,children:[m&&t.jsxs("div",{className:"section__header",children:[t.jsxs("div",{className:"section__title-row",children:[r&&t.jsx(Ye,{icon:r,label:typeof n=="string"?n:void 0,className:"section__icon"}),t.jsxs("div",{className:"section__title-group",children:[n&&t.jsx(h,{className:`section__title ${p}`,children:n}),i&&t.jsx("div",{className:"section__disc body-3",children:i})]})]}),s&&t.jsx("div",{className:"section__action",children:s})]}),l]})}let ko=null,cu=!1;function du(){if(cu||typeof document>"u")return;cu=!0,document.addEventListener("keydown",n=>{n.metaKey||n.ctrlKey||n.altKey||(ko="keyboard")},!0);const e=()=>{ko="pointer"};document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,{capture:!0,passive:!0})}du();function rr(){return du(),ko==="keyboard"}const or=20;function Ty(e){const{t:n}=ye.useTranslation(),{type:a,trainingDatas:r,depth:s,renderPopup:i,completedIds:l,selectedIds:u,onItemComplete:d,size:c,useDescriptionTooltip:p,onRemove:m,onMore:h,sectionType:b="page"}=e||{},[,y]=o.useState(0),g=typeof r<"u"?Array.isArray(r)?r:[]:[],v=g.length,[w,C]=o.useState(Math.min(v,or)),_=o.useMemo(()=>Array.isArray(s)?[...s,a?.label].filter(Boolean).join(" \xB7 "):[s||"",a?.label].filter(Boolean).join(" \xB7 "),[s,a?.label]);o.useEffect(()=>{C(Math.min(v,or))},[v]),al("speechear.data.updated",()=>y(N=>N+1));const f=o.useRef(null),A=o.useRef(null);function x(){const N=document.activeElement;A.current=rr()&&N&&N.closest?.(".training-block__more")?w:null,C(k=>Math.min(v,k+or))}return o.useEffect(()=>{const N=A.current;if(N==null)return;A.current=null;const k=document.activeElement;k&&k!==document.body||f.current?.querySelectorAll(".training-block-button")[N]?.focus()},[w]),t.jsxs(sa,{type:b,title:a?.label,icon:a?.icon,disc:a?.desc,className:"training-block",children:[t.jsx("div",{className:"training-list",ref:f,children:(g||[]).slice(0,w).map((N,k)=>{const B=N;return t.jsx(po,{index:k,type:a,trainingData:B,depth:_,renderPopup:i,completedIds:l,selectedIds:u,size:c,useDescriptionTooltip:p,onRemove:typeof m=="function"&&u!=null&&B?.id!=null&&u.has(String(B.id))?()=>m(B):void 0,onComplete:typeof d=="function"&&B?.id!=null?()=>d(String(B.id)):void 0,onMore:typeof h=="function"?E=>h(B,E):void 0},B?.id!=null?`${a?.key||"t"}-${String(B.id)}`:`${a?.key||"t"}-${k}`)})}),v>or&&w<v&&t.jsx("div",{className:"training-block__more",children:t.jsx(pe,{htmlType:"button",size:48,type:"bar",icon:"plus",onClick:x,ariaLabel:n("common.loadMore","\uB354\uBCF4\uAE30"),label:n("common.loadMore","\uB354\uBCF4\uAE30"),variant:"main"})})]})}function No(e){const n=o.useRef(null),[a,r]=o.useState(!!e),[s,i]=o.useState(!1);o.useEffect(()=>{i(!1);const d=n.current;r(!!e&&!(d?.complete&&d.naturalWidth>0))},[e]);const l=o.useCallback(()=>r(!1),[]),u=o.useCallback(()=>{r(!1),i(!0)},[]);return{imgRef:n,loading:a,failed:s,hasImage:!!e&&!s,onLoad:l,onError:u}}var My='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 Ly=My,Do=o.forwardRef(function({item:e,disabled:n=!1,onPlayDone:a,selectable:r=!1,selected:s=!1,onSelect:i,flipDelay:l=0,hideLabel:u=!1,hideAudio:d=!1,orderRank:c=null},p){const{t:m}=ye.useTranslation(),h=e.word||e.title||"",b=n||!h,y=e.audio??e.sound??e.audioKey,g=e.subLabel||e.pronunciation||"",v=e.colloquialLabel||"",[w,C]=o.useState({label:h,subLabel:g,colloquialLabel:v,homonum:e.homonum});h&&(w.label!==h||w.subLabel!==g||w.colloquialLabel!==v||!Object.is(w.homonum,e.homonum))&&C({label:h,subLabel:g,colloquialLabel:v,homonum:e.homonum});const _=o.useRef(null),f=nn("(max-width: 767px)"),[A,x]=o.useState(!1),N=`${typeof y=="string"?y:y?.src??""}\0${h}`,[k,B]=o.useState({for:"",url:""}),E=k.for===N?k.url:"",j=si(),V=e.textOnly??(!e.image&&!!w.label&&!!j&&j.entries.length>0&&!j.byWord.has(w.label)),$=V?"":Xn()?.(w.label,w.homonum)??e.image??"",{imgRef:U,loading:S,hasImage:L,onLoad:H,onError:X}=No($);o.useEffect(()=>{let F=!1;return(async()=>{if(y){if(typeof y=="string"){if(y.startsWith("http")||y.includes("/")){B({for:N,url:y});return}}else if(typeof y=="object"&&!Array.isArray(y)){const K=y.src;if(K){B({for:N,url:K});return}}}const R=Lr();if(R&&h)try{const K=await Promise.resolve(R(h));!F&&K&&B({for:N,url:K})}catch{}})(),()=>{F=!0}},[y,h,N]);const ne=o.useRef(!0),q=o.useRef(null);o.useEffect(()=>(ne.current=!0,()=>{ne.current=!1,q.current&&er(q.current),q.current=null;try{_.current?.pause()}catch{}_.current=null}),[]);const G=o.useCallback(()=>new Promise(F=>{if(typeof window<"u"&&window.speechSynthesis&&h){x(!0),window.speechSynthesis.cancel();const R=new SpeechSynthesisUtterance(h);R.lang="ko-KR",R.onend=()=>{x(!1);try{a?.()}catch{}F()},R.onerror=()=>{x(!1),F()},window.speechSynthesis.speak(R)}else F()}),[h,a]),P=o.useCallback(F=>new Promise(R=>{let K=!1;const ae=()=>{K||(K=!0,x(!1),R(!1))};try{const Q=new Audio(F);_.current=Q,Q.onended=()=>{if(!K){K=!0,x(!1);try{a?.()}catch{}R(!0)}},Q.onerror=ae,Q.play().catch(ae)}catch{ae()}}),[a]),I=o.useCallback(async()=>{if(n||!ne.current)return;const F=()=>{q.current===F&&(q.current=null);try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1)},R=Qa(F);q.current=F;try{window.speechSynthesis?.cancel()}catch{}try{if(E&&(x(!0),await P(E)))return;const K=rC();if(K&&h)try{const ae=await Promise.resolve(K(h));if(!ne.current||q.current!==F||ae&&(x(!0),await P(ae)))return}catch{}if(!ne.current||q.current!==F)return;await G()}finally{R(),q.current===F&&(q.current=null)}},[n,E,h,P,G]);o.useImperativeHandle(p,()=>({play:()=>I()}),[I]);const D=F=>F.stopPropagation(),z=o.useCallback(F=>{if(F.stopPropagation(),!n){if(A){try{_.current?.pause()}catch{}try{window.speechSynthesis?.cancel()}catch{}x(!1);return}I()}},[n,A,I]),M=ke("training-word-card",n?"training-word-card--disabled":"",b?"training-word-card--flipped":"",r?"training-word-card--selectable":"",s?"training-word-card--selected":"");return t.jsx("div",{className:M,onClick:r&&!n?i:void 0,role:r?"button":void 0,"aria-pressed":r?s:void 0,tabIndex:r&&!n?0:void 0,"aria-disabled":r&&n?!0:void 0,onKeyDown:r&&!n?F=>{F.target===F.currentTarget&&(F.key==="Enter"||F.key===" "||F.key==="Spacebar")&&(F.preventDefault(),i?.())}:void 0,children:t.jsxs("div",{className:"training-word-card__flipper",style:{transitionDelay:b?"0ms":`${l}ms`},children:[t.jsxs("div",{className:"training-word-card__front",children:[s&&t.jsx("div",{className:"training-word-card__selected-badge",onClick:D,children:t.jsx(yt,{type:"dot",size:40,position:"inline",animate:!0,icon:c!=null?void 0:"check",number:c??void 0,"aria-label":c!=null?m("training.nthSelected",{n:c}):m("training.selected","\uC120\uD0DD\uB428")})}),t.jsx("div",{className:"training-word-card__image-wrap",children:V?t.jsx("div",{className:"training-word-card__text-face",children:w.label}):L?t.jsxs(t.Fragment,{children:[S&&t.jsx("div",{className:"training-word-card__spinner"}),t.jsx("img",{ref:U,className:"training-word-card__image",src:$,alt:w.label||m("common.image","\uC774\uBBF8\uC9C0"),style:{opacity:S?0:1},onLoad:H,onError:X})]}):t.jsx("div",{className:"training-word-card__placeholder"})}),!u&&t.jsxs("div",{className:"training-word-card__body",children:[!V&&t.jsx("div",{className:"training-word-card__word",children:w.label}),w.subLabel&&t.jsxs("div",{className:"training-word-card__pronunciation",children:["[",w.subLabel,"]"]}),w.colloquialLabel&&t.jsxs("div",{className:"training-word-card__colloquial caption-1",children:["[",w.colloquialLabel,"]"]})]}),!d&&t.jsx("div",{className:"training-word-card__bottom",onClick:r?D:void 0,children:t.jsx(pe,{htmlType:"button",size:f?40:48,type:f?"dot":"bar",icon:A?"pause":"play",label:f?void 0:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30"),selected:A,onClick:z,disabled:n,ariaLabel:m("training.playSound","\uC18C\uB9AC \uB4E3\uAE30")})})]}),t.jsx("div",{className:"training-word-card__back","aria-hidden":"true",children:t.jsx("img",{src:Ly,className:"training-word-card__disabled-symbol",alt:"",draggable:!1})})]})})}),$y=260;function Tn(e){const{t:n}=ye.useTranslation(),{title:a,subtitle:r,headerActions:s,headerSegment:i,children:l,buttons:u,footer:d,footerStart:c,footerEnd:p,footerClassName:m="",footerLayout:h="center",onClose:b,closeDisabled:y=!1,beforeClose:g,closeOnBackdrop:v=!0,className:w="",ariaLabel:C,useTitle:_=!0,inline:f=!1,size:A,layer:x="modal",height:N,fillBody:k=!1,resetScrollKey:B}=e||{},[E,j]=o.useState(!1),V=o.useRef(!1),$=o.useRef(null),U=o.useId(),S=o.useRef(null);o.useEffect(()=>{},[f,a,C,w]),o.useEffect(()=>{B!==void 0&&S.current&&(S.current.scrollTop=0)},[B]);const[L,H]=o.useState(!1);o.useEffect(()=>{const Q=S.current;if(!Q)return;const re=()=>H(Q.scrollHeight>Q.clientHeight+1);if(re(),typeof ResizeObserver>"u")return;const ce=new ResizeObserver(re);ce.observe(Q);const ue=Q.firstElementChild;return ue&&ce.observe(ue),()=>ce.disconnect()},[l,B]),o.useEffect(()=>{if(!f)return Fl()},[f]),o.useEffect(()=>{if(f)return;const Q=document.activeElement,re=$.current;return Kr(re,Q),re&&!re.contains(document.activeElement)&&(re.querySelector(mn)??re).focus(),()=>{const ce=document.activeElement;(!ce||ce===document.body||re&&re.contains(ce))&&Yr(Q)?.focus?.()}},[f]),Ur($,!f);const X=o.useRef(!0),ne=Zr(),q=o.useRef(null);o.useEffect(()=>(X.current=!0,()=>{X.current=!1,q.current&&(clearTimeout(q.current),q.current=null)}),[]);const G=o.useCallback(()=>{!X.current||!V.current||(V.current=!1,j(!1))},[]),P=o.useCallback((Q,re=!1)=>{if(re&&!X.current||V.current)return;V.current=!0,j(!0);const ce=setTimeout(()=>{q.current===ce&&(q.current=null);let ue;try{ue=Q?Q():void 0}catch{G();return}ue&&typeof ue.then=="function"&&ue.then(()=>{setTimeout(G,120)},G)},ne?0:$y);re&&(q.current=ce)},[G,ne]),I=o.useCallback(()=>{y||g&&g()===!1||P(b,!0)},[P,b,y,g]),D=o.useRef(I);o.useEffect(()=>{D.current=I});const z=!f&&!!b;o.useEffect(()=>{if(z)return zn(()=>D.current())},[z]);const M=z&&v,F=o.useRef(!1),R=Q=>{F.current=Q.target===Q.currentTarget},K=Q=>{const re=F.current;F.current=!1,re&&Q.target===Q.currentTarget&&I()},ae=t.jsx("div",{className:`popup ${f?"popup--inline":""} ${x==="belowPagePopup"?"popup--below-page-popup":""} ${E?"popup--closing":""} ${w}`,onPointerDown:M?R:void 0,onClick:M?K:void 0,onMouseDown:f?void 0:Q=>{Q.target===Q.currentTarget&&Q.preventDefault()},children:t.jsxs("div",{ref:$,className:`popup-panel${A?` popup-panel--${A}`:""}${N!=null?" popup-panel--has-height":""}${k?" popup-panel--fill-body":""}`,style:N!=null?{"--popup-height":typeof N=="number"?`${N}px`:N}:void 0,tabIndex:-1,role:f?void 0:"dialog","aria-modal":f?void 0:!0,"aria-labelledby":!f&&_&&a?U:void 0,"aria-label":!f&&!(_&&a)?C??(typeof a=="string"?a:void 0):void 0,children:[!_&&(s||b)?t.jsxs("div",{className:"popup-close-float",children:[s,b&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:I,disabled:y,ariaLabel:n("common.close","\uB2EB\uAE30")})]}):a||s||b?t.jsxs("div",{className:`popup-header${r?" popup-header--with-subtitle":""}`,children:[t.jsxs("div",{className:"popup-header-main",children:[a?t.jsx("h2",{id:U,className:"popup-title popup-title--left h2",children:a}):t.jsx("span",{id:U,className:"popup-title popup-title--left h2"}),r&&t.jsx("span",{className:"popup-subtitle body-3",children:r})]}),i&&t.jsx("div",{className:"popup-header-segment",children:t.jsx(_n,{size:40,ariaLabel:i.ariaLabel,options:i.options.map(Q=>({key:Q.key,label:Q.label,disabled:Q.disabled})),value:i.value,onChange:i.onChange})}),t.jsxs("div",{className:"popup-header-actions",children:[s,b&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,onClick:I,disabled:y,ariaLabel:n("common.close","\uB2EB\uAE30")})]})]}):null,t.jsx("div",{className:"popup-content",ref:S,tabIndex:L?0:void 0,children:t.jsx("div",{className:"popup-content__inner",children:typeof l=="function"?l({animateThen:P,closeWithAnimation:I}):l})}),c||p?t.jsxs("div",{className:`popup-footer popup-footer--bar${m?` ${m}`:""}`,children:[t.jsx("div",{className:"popup-footer__start",children:typeof c=="function"?c({animateThen:P,closeWithAnimation:I}):c}),t.jsx("div",{className:"popup-footer__end",children:typeof p=="function"?p({animateThen:P,closeWithAnimation:I}):p})]}):u?.length?t.jsx("div",{className:`popup-footer popup-footer--buttons${h!=="center"?` popup-footer--${h}`:""}`,children:u.map((Q,re)=>t.jsx(pe,{htmlType:"button",size:48,variant:Q.variant??"default",label:Q.label,disabled:Q.disabled,onClick:()=>Q.onClick?.({animateThen:P,closeWithAnimation:I})},re))}):d?t.jsx("div",{className:`popup-footer${h!=="center"?` popup-footer--${h}`:""}${m?` ${m}`:""}`,children:typeof d=="function"?d({animateThen:P,closeWithAnimation:I}):d}):null]})});return f||typeof document>"u"?ae:Jt.createPortal(ae,document.body)}function sr(e){return String(e)}const ir=["o","triangle","x"];function pu(e,n){return e===n?null:n}const mu={o:"circle",triangle:"triangle",x:"x"},hu={o:"main",triangle:"warn",x:"danger"};function Ry(e){let n=0,a=0,r=0;for(const i of Object.values(e))i==="o"?n++:i==="triangle"?a++:i==="x"&&r++;const s=n+a+r;return{marked:s,o:n,triangle:a,x:r,rate:s===0?null:(n+a*.5)/s}}function Eo(e){const n={};for(const[a,r]of Object.entries(e))(r==="o"||r==="triangle"||r==="x")&&(n[a]=r);return n}function Cu(e){const n=[];let a=0;for(const r of e)n.push(a),a+=r;return n}function Py(e,n){return!n&&e>0}const ia={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 Fy(e="landscape"){an("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:n,printW:a,printH:r}=ia[e],s=document.createElement("style");s.textContent=`@page { size: ${n}; 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 fu(e,n){if(e.length===0)return[[]];const a=Math.max(1,Math.floor(n)),r=[];for(let s=0;s<e.length;s+=a)r.push(e.slice(s,s+a));return r}const Iy={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 Oy(e,n){const a=Iy[e][n];if(a)return a;const r=Math.max(1,Math.ceil(n)),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 Hy={\uD45C\uC2DC:"word-table-block__content--cut-show",\uC810\uC120:"",\uCF54\uB108:"word-table-block__content--cut-corner",\uBBF8\uD45C\uC2DC:""},gu={\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"},bu={\uACE0\uC720:"\uACE0\uC720\uC5B4",\uD55C\uC790:"\uD55C\uC790\uC5B4",\uC678\uB798:"\uC678\uB798\uC5B4",\uD63C\uC885:"\uD63C\uC885\uC5B4"};function So(e,n){return e?e.split("/").map(a=>n[a]??a).join("/"):""}function yu(e,n,a,r){if(r!=="\uC810\uC120")return{};const s=e%n,i=Math.floor(e/n),l=s<n-1,u=i<a-1;if(!l&&!u)return{};const d="#ddd",c=b=>`repeating-linear-gradient(to ${b}, ${d} 0, ${d} 5px, transparent 5px, transparent 10px)`,p=[],m=[],h=[];return l&&(p.push(c("bottom")),m.push("1px 100%"),h.push("right center")),u&&(p.push(c("right")),m.push("100% 1px"),h.push("center bottom")),{backgroundImage:p.join(", "),backgroundSize:m.join(", "),backgroundPosition:h.join(", "),backgroundRepeat:"no-repeat",printColorAdjust:"exact",WebkitPrintColorAdjust:"exact"}}const zy=280,Vy=240,Wy=280,qy=400,Uy=120,Gy=280;function vu(e,n){const a=o.useRef(null),[r,s]=o.useState(1),[i,l]=o.useState(0),u=o.useCallback((d,c)=>{if(!(d>0))return;const p=d/e,m=n&&c>0?c/n:1/0,h=Math.min(1,p,m);s(h),l(Math.max(0,(d-e*h)/2))},[e,n]);return o.useEffect(()=>{const d=a.current;if(!d)return;const c=n?d.parentElement??d:d;if(u(c.clientWidth,c.clientHeight),typeof ResizeObserver>"u")return;const p=new ResizeObserver(([m])=>u(m.contentRect.width,m.contentRect.height));return p.observe(c),()=>p.disconnect()},[u,n]),{scalerRef:a,scale:r,offset:i}}const Ky={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},Yy=400,xu=8;function _u({label:e,subLabel:n,colloquialLabel:a,homonum:r,showWord:s=!0,showImage:i=!0,showPronunciation:l=!0,showColloquial:u=!0,buttonSize:d=40,wordInfo:c}){const{t:p}=ye.useTranslation(),m=o.useRef(null),h=o.useRef(null),b=o.useRef(null),[y,g]=o.useState(1),[v,w]=o.useState(!1),[C,_]=o.useState({for:"",url:""}),[f,A]=o.useState(null),x=n&&n.length>0?n:sC()?.(e,r)??"",N=Xn()?.(e,r)??"",{imgRef:k,loading:B,failed:E,onLoad:j,onError:V}=No(N),$=o.useCallback(()=>A(h.current?.getBoundingClientRect()??null),[]),U=o.useCallback(()=>A(null),[]),S=Jr(!!f,z=>{z?$():U()},h),L=o.useMemo(()=>{if(!c)return null;const z=[];return c.grade&&z.push(p("wordTable.info.grade",{n:c.grade,defaultValue:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09"})),c.syllables&&z.push(p("wordTable.info.syllables",{n:c.syllables,defaultValue:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808"})),c.pos&&z.push(p("wordTable.info.pos",{v:So(c.pos,Zy(p)),defaultValue:"\uD488\uC0AC: {{v}}"})),c.wordType&&z.push(p("wordTable.info.wordType",{v:So(c.wordType,Xy(p)),defaultValue:"\uC720\uD615: {{v}}"})),z.length?z:null},[c,p]),H=x||e,X=C.for===H?C.url:"";o.useEffect(()=>{const z=Lr(),M=x||e;if(!z||!M)return;let F=!1;return Promise.resolve(z(M)).then(R=>{!F&&R&&_({for:M,url:R})}),()=>{F=!0}},[x,e]);const ne=o.useRef(null),q=o.useRef(null);o.useEffect(()=>()=>{b.current?.pause(),q.current?.()},[]);const G=o.useCallback(async z=>{if(z.stopPropagation(),v){ne.current?.();return}if(X){w(!0);try{const M=new Audio(X);b.current=M;const F=()=>{w(!1),q.current?.()},R=()=>{M.pause(),F()};ne.current=R;const K=Qa(R);q.current=K,M.onended=F,M.onerror=F,await M.play()}catch{w(!1),q.current?.()}}},[v,X]),P=i&&!!N&&!E,I=P&&s?zy:P?Wy:Vy,D=P&&s?qy:P?Gy:Uy;return o.useEffect(()=>{const z=m.current;if(!z||typeof ResizeObserver>"u")return;const M=new ResizeObserver(([F])=>{const{width:R,height:K}=F.contentRect;g(Math.min(R/I,K/D))});return M.observe(z),()=>M.disconnect()},[I,D]),t.jsxs("div",{ref:m,className:ke("word-table-cell",P?"word-table-cell--with-image":""),"data-ref-w":I,"data-ref-h":D,children:[t.jsxs("div",{className:"word-table-cell__inner",style:{transform:`scale(${y})`},children:[P&&t.jsxs("div",{className:"word-table-cell__image-wrap",children:[B&&t.jsx("div",{className:"word-table-cell__spinner"}),t.jsx("img",{ref:k,className:"word-table-cell__image",src:N,alt:e,draggable:!1,style:{opacity:B?0:1},onLoad:j,onError:V})]}),s&&t.jsx("span",{className:"word-table-cell__word h0",children:e}),l&&x&&t.jsxs("span",{className:"word-table-cell__sub h3",children:["[",x,"]"]}),u&&a&&t.jsxs("span",{className:"word-table-cell__colloquial h5",children:["[",a,"]"]})]}),t.jsxs("div",{className:"word-table-cell__play-button","data-audio-src":X,children:[t.jsx("span",{"data-play-state":"play",style:{display:v?"none":void 0},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"play",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:p("common.play","\uC7AC\uC0DD"),ariaLabel:e?p("common.playFor",{name:e,defaultValue:`${e} \uC7AC\uC0DD`}):p("common.play","\uC7AC\uC0DD"),onClick:G})}),t.jsx("span",{"data-play-state":"pause",style:{display:v?void 0:"none"},children:t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"pause",useBorder:!1,selected:!0,showTooltipInfo:p("common.pause","\uBA48\uCDA4"),ariaLabel:e?p("common.pauseFor",{name:e,defaultValue:`${e} \uBA48\uCDA4`}):p("common.pause","\uBA48\uCDA4"),onClick:G})})]}),c&&t.jsxs("div",{ref:h,className:"word-table-cell__info-button",onPointerEnter:z=>{ta(z)||$()},onPointerLeave:z=>{ta(z)||U()},onFocus:()=>{na()||$()},onBlur:U,children:[t.jsx(pe,{htmlType:"button",size:d,type:"dot",icon:"info",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:!1,ariaLabel:p("wordTable.wordInfo","{{word}} \uB0B1\uB9D0 \uC815\uBCF4",{word:e}),onClick:z=>{z.stopPropagation(),S.touchPress()}}),f&&L&&t.jsx(Vn,{anchorRect:f,items:L,showIndex:!1})]})]})}const wu={\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"},Au={\uACE0\uC720:"native",\uD55C\uC790:"sino",\uC678\uB798:"foreign",\uD63C\uC885:"mixed"};function Zy(e){return Object.fromEntries(Object.entries(gu).map(([n,a])=>[n,wu[n]?e(`wordTable.pos.${wu[n]}`,{defaultValue:a}):a]))}function Xy(e){return Object.fromEntries(Object.entries(bu).map(([n,a])=>[n,Au[n]?e(`wordSearch.filter.type.${Au[n]}`,{defaultValue:a}):a]))}function la({title:e,titleIcon:n,disc:a,className:r,orientation:s="landscape",contentTypes:i=["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"],cutLine:l="\uD45C\uC2DC",showOutline:u=!0,showDivLine:d=!0,items:c,editCells:p,count:m,activeCell:h=null,onActivateCell:b,onRemoveCell:y,onRemoveItem:g,onReorder:v,renderCellAction:w,showFillerAdd:C=!1,contentRef:_,buttonSize:f=40,brand:A,code:x,pageNumber:N,pageNumberPosition:k="right",fitHeight:B=!1,scoring:E=!1,marks:j,onMarkClick:V,scoreIndexOffset:$=0}){const U=o.useCallback((J,se)=>{V?.($+J,se)},[V,$]),S=(J,se)=>{const de=j?.[sr($+J)]??null;return t.jsx("div",{className:ke("word-table-cell__score",de?"word-table-cell__score--marked":""),style:$e>1?{transform:`translateX(-50%) scale(${$e})`,transformOrigin:"bottom center"}:void 0,children:ir.map(Ee=>t.jsx("span",{className:ke("word-table-cell__score-slot",de===Ee?"word-table-cell__score-slot--on":""),children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",shape:"pill",icon:mu[Ee],variant:de===Ee?hu[Ee]:"default",selected:de===Ee,useBorder:!1,...De?{}:{tabIndex:-1,role:"img"},showTooltipInfo:L(`wordTable.scoring.markName.${Ee}`,{defaultValue:Ee}),ariaLabel:L(`wordTable.scoring.${Ee}`,{word:se,defaultValue:`${se} ${Ee}`}),onClick:De?et=>{et.stopPropagation(),U(J,Ee)}:void 0})},Ee))})},{t:L}=ye.useTranslation(),H=p!==void 0,X=e!=null||!!n||!!a,ne=nn("(max-width: 767px)"),q=o.useRef(null),[G,P]=o.useState(null),I=c?.length??0,[D,z]=o.useState(null),[M,F]=o.useState(""),R=o.useRef(null),K=o.useRef(null),ae=o.useRef(null),Q=o.useRef(null),re=o.useCallback(J=>{K.current=J,typeof _=="function"?_(J):_&&(_.current=J)},[_]),ce=o.useCallback((J,se)=>{R.current=se,v?.(J,se),F(L("wordTable.reorder.moved",{n:se+1,total:I,defaultValue:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40"}))},[v,L,I]);o.useEffect(()=>{const J=R.current;J!=null&&(R.current=null,K.current?.querySelectorAll(".word-table-block__card:not(.word-table-block__card--filler)")?.[J]?.querySelector(".word-table-block__card-handle button")?.focus())}),o.useEffect(()=>()=>{Q.current?.()},[]);const ue=o.useCallback((J,se)=>{if(!v||!J.altKey||J.ctrlKey||J.metaKey)return;const de=J.key==="ArrowRight";if(!de&&J.key!=="ArrowLeft")return;J.preventDefault();const Ee=se+(de?1:-1);Ee<0||Ee>=I||ce(se,Ee)},[v,I,ce]),be=o.useCallback((J,se)=>{if(!v||J.pointerType==="mouse")return;const de=J.target.closest?.("button");if(de&&!de.closest(".word-table-block__card-handle"))return;Q.current?.();const Ee={x:J.clientX,y:J.clientY};let et=!1;const We=Ge=>{et&&Ge.cancelable&&Ge.preventDefault()},gt=Ge=>{if(!et){(Math.abs(Ge.clientX-Ee.x)>xu||Math.abs(Ge.clientY-Ee.y)>xu)&&tt();return}const Ke=document.elementFromPoint?.(Ge.clientX,Ge.clientY)?.closest?.("[data-wordtable-cell]"),Me=Ke?Number(Ke.dataset.wordtableCell):NaN,ze=Number.isInteger(Me)?Me:null;ae.current=ze,P(ze)},ut=()=>{const Ge=ae.current,Ke=et;tt(),Ke&&Ge!=null&&Ge!==se&&ce(se,Ge)},it=setTimeout(()=>{et=!0,z(se),ae.current=se,P(se),window.addEventListener("touchmove",We,{passive:!1})},Yy);function tt(){clearTimeout(it),window.removeEventListener("pointermove",gt),window.removeEventListener("pointerup",ut),window.removeEventListener("pointercancel",ut),window.removeEventListener("touchmove",We),et=!1,ae.current=null,Q.current=null,z(null),P(null)}Q.current=tt,window.addEventListener("pointermove",gt),window.addEventListener("pointerup",ut),window.addEventListener("pointercancel",ut)},[v,ce]),{width:W,height:te}=ia[s],oe=typeof B=="number"?B:B&&typeof B=="object"?ne?B.narrow:B.wide:null,{scalerRef:_e,scale:he,offset:le}=vu(W,B?te:void 0),ge=H?p?.length??0:c?.length??0,Ce=Math.max(m??ge,1),{cols:ve,rows:Le}=Oy(s,Ce),je={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")},Qe=H?(p??[]).some(J=>J!==null&&J.length>1):(c??[]).some(J=>(J.words??[]).length>1),Ue=!!A?.show,He=!!A?.show&&A?.top!==!1,Fe=!!A?.show&&A?.bottom!==!1,ot=A?.copyright??"\xA9 IHAB, Inc. All rights reserved.",Ze=ke("word-table-block__content",Hy[l],u&&"word-table-block__content--outline",d&&Qe&&"word-table-block__content--div-line",!Ue&&N&&k!=="none"&&"word-table-block__content--page-number",He&&"word-table-block__content--brand-top",Fe&&"word-table-block__content--brand-bottom"),Xe={transform:`scale(${1/he})`,transformOrigin:"center center"},st=f*ir.length+4*(ir.length-1),De=!!V,$e=De?Math.max(1,Math.min(1/he,W/ve/st)):1,Be=t.jsxs("div",{ref:_e,className:"word-table__scaler",style:{height:te*he},children:[t.jsx("div",{className:ke("word-table",E&&!De&&"word-table--score-readonly",!X&&r),style:{width:W,height:te,transform:`scale(${he})`,transformOrigin:"top left",marginLeft:le},children:t.jsxs("div",{ref:re,className:Ze,style:{gridTemplateColumns:`repeat(${ve}, 1fr)`,gridTemplateRows:`repeat(${Le}, 1fr)`},children:[H?t.jsx(t.Fragment,{children:(p??[]).map((J,se)=>t.jsx("div",{className:ke("word-table-block__edit-cell",J?"word-table-block__edit-cell--filled":"word-table-block__edit-cell--empty",h===se?"word-table-block__edit-cell--active":""),style:yu(se,ve,Le,l),children:J?t.jsxs(t.Fragment,{children:[J.map((de,Ee)=>t.jsxs(o.Fragment,{children:[Ee>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(_u,{label:de.word,subLabel:de.pronunciation,colloquialLabel:de.colloquialPronunciation,homonum:de.homonum,showWord:je.word,showImage:je.image,showPronunciation:je.pron,showColloquial:je.colloq,buttonSize:f})]},Ee)),E&&S(se,J.map(de=>de.word).join(" / ")),y&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:J.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:J.length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>y(se)})})]}):b&&t.jsx("div",{style:Xe,children:t.jsx(pe,{htmlType:"button",size:"48",type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b(se)})})},se))}):t.jsxs(t.Fragment,{children:[(c??[]).map((J,se)=>t.jsxs("div",{"data-wordtable-cell":v?se:void 0,className:`word-table-block__card${v?" word-table-block__card--draggable":""}${G===se?" word-table-block__card--drag-over":""}${D===se?" word-table-block__card--dragging":""}`,style:yu(se,ve,Le,l),draggable:!!v,onPointerDown:v?de=>be(de,se):void 0,onKeyDown:v?de=>ue(de,se):void 0,onDragStart:v?()=>{q.current=se}:void 0,onDragOver:v?de=>{de.preventDefault(),P(se)}:void 0,onDragLeave:v?()=>P(null):void 0,onDrop:v?de=>{de.preventDefault(),q.current!==null&&q.current!==se&&v(q.current,se),q.current=null,P(null)}:void 0,onDragEnd:v?()=>{q.current=null,P(null)}:void 0,children:[(J.words??[]).map((de,Ee)=>t.jsxs(o.Fragment,{children:[Ee>0&&t.jsx("div",{className:"word-table-block__pair-divider"}),t.jsx(_u,{label:de.label,subLabel:de.subLabel,colloquialLabel:de.colloquialLabel,homonum:de.homonum,showWord:je.word,showImage:je.image,showPronunciation:je.pron,showColloquial:je.colloq,buttonSize:f,wordInfo:de.grade||de.syllables!=null||de.pos||de.wordType?{grade:de.grade,syllables:de.syllables,pos:de.pos,wordType:de.wordType}:void 0})]},Ee)),E&&S(se,(J.words??[]).map(de=>de.label).join(" / ")),v&&t.jsx("div",{className:"word-table-block__card-handle",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"grip-vertical",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:L("wordTable.reorder.hint","Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"),ariaLabel:L("wordTable.reorder.handle",{word:(J.words??[]).map(de=>de.label).join(" / "),defaultValue:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)"})})}),(w||g)&&t.jsxs("div",{className:"word-table-block__card-actions",children:[w?.(se,J),g&&t.jsx("div",{className:"word-table-block__card-close",children:t.jsx(pe,{htmlType:"button",size:f,type:"dot",icon:"x",variant:"transparent-lightGray",useBorder:!1,showTooltipInfo:(J.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),ariaLabel:(J.words??[]).length>1?L("wordPrint.removePair","\uB300\uB9BD\uC30D \uBE7C\uAE30"):L("wordPrint.removeWord","\uB2E8\uC5B4 \uBE7C\uAE30"),onClick:()=>g(J.id)})})]})]},J.id)),Array.from({length:Math.max(0,ve*Le-(c?.length??0))}).map((J,se)=>{const de=(c?.length??0)+se<Ce;return t.jsx("div",{className:"word-table-block__card word-table-block__card--filler",children:C&&b&&de&&t.jsx("div",{style:Xe,children:t.jsx(pe,{htmlType:"button",size:f,type:"bar",icon:"plus",label:L("wordTable.addWord","\uCD94\uAC00\uD558\uAE30"),onClick:()=>b((c?.length??0)+se)})})},`filler-${se}`)})]}),He&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--top",children:[t.jsx("img",{className:"word-table__brand-logo",src:A?.topLogo?.src??Ja,alt:A?.topLogo?.alt??"\uB9D0\uADC0"}),(()=>{const J=[A?.title&&t.jsx("span",{className:"word-table__paper-title",children:A.title},"t"),A?.owner&&t.jsx("span",{className:"word-table__owner",children:A.owner},"o"),x&&t.jsx("span",{className:"word-table__code",children:x},"c")].filter(Boolean);return J.length===0?null:t.jsx("span",{className:"word-table__ident",children:J.map((se,de)=>t.jsxs(o.Fragment,{children:[de>0&&t.jsx("span",{className:"word-table__ident-dot","aria-hidden":"true",children:"\xB7"}),se]},de))})})()]})}),Fe&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:"word-table__band word-table__band--bottom",children:[t.jsxs("span",{className:"word-table__brand-by",children:[A?.bottomLogo?t.jsx("img",{className:"word-table__brand-logo--ihab word-table__brand-logo--given",src:A.bottomLogo.src,alt:A.bottomLogo.alt}):t.jsx("span",{className:"word-table__brand-logo--ihab",role:"img","aria-label":"IHAB"}),t.jsx("span",{className:"word-table__copyright",children:ot})]}),t.jsxs("span",{className:"word-table__band-end",children:[A?.link&&t.jsx("span",{className:"word-table__link",children:A.link}),N&&k!=="none"&&t.jsx("span",{className:"word-table__page-count",children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})]})}),!Ue&&N&&k!=="none"&&t.jsx("span",{className:`word-table__page-number body-3 word-table__page-number--${k}`,children:L("wordTable.filter.pageIndicator",{current:N.current,total:N.total})})]})}),v&&t.jsx("span",{role:"status",style:Ky,children:M})]}),nt=oe==null?Be:t.jsx("div",{className:"word-table__frame",style:{height:oe},children:Be});return X?t.jsx(sa,{type:"page",icon:n,title:e,disc:a,className:ke("word-table-block",r),children:nt}):nt}function Jy(e,n,a){const r=[];for(const s of e??[]){if(s.type==="note"||s.type==="input")continue;const i=s.displayLabel??s.label,l=Qy(s,n?.[s.label],a);l!==null&&r.push(`${i} ${l}`)}return r.join(" \xB7 ")}function Qy(e,n,a){const r=(Array.isArray(n)?n:n===void 0?[]:[n]).filter(s=>s!==sn);return r.length===0?e.allOption?e.allLabel??a:null:r.map(s=>e5(e,s)).join(", ")}function e5(e,n){const a=[...e.items??[],...(e.groups??[]).flat()];for(const r of a)if(r!=null){if(typeof r=="string"){if(r===n)return r;continue}if(r.value===n)return r.displayLabel??r.labels?.join(" ")??r.value}return n}function An({title:e,titleLevel:n=2,headerAction:a,headerSummary:r,collapsible:s=!1,defaultCollapsed:i=!1,collapsed:l,onCollapsedChange:u,footer:d,sections:c,selected:p={},onSelect:m,align:h,sectionAlign:b,className:y}){const g=(h??(b==="vertical"?"newline":"inline"))==="inline",{t:v}=ye.useTranslation(),[w,C]=o.useState(i),_=l??w,f=()=>{const j=!_;C(j),u?.(j)},A=j=>{if(!s)return;const V=j.target;!V||typeof V.closest!="function"||V.closest(".filter-panel__collapse-toggle")||V.closest('button, a, input, select, textarea, label, [role="radiogroup"], [role="button"], [role="menu"]')||f()},x=o.useMemo(()=>r!==void 0||!_?"":Jy(c,p,v("common.all","\uC804\uCCB4")),[r,_,c,p,v]),N=r??(x?t.jsx("span",{className:"filter-panel__header-summary body-3",children:x}):null),k=e||a||r||s,B=o.useId(),E=n?`h${n}`:"span";return t.jsxs("div",{className:ke("filter-panel",s?"filter-panel--collapsible":"",_?"filter-panel--collapsed":"",y),role:typeof e=="string"&&e?"group":void 0,"aria-labelledby":typeof e=="string"&&e?B:void 0,children:[k&&t.jsxs("div",{className:"filter-panel__header",onClick:s?A:void 0,children:[t.jsx("div",{className:"filter-panel__title-row",children:e&&t.jsx(E,{id:B,className:"filter-panel__title h4",children:e})}),t.jsxs("div",{className:"filter-panel__header-actions",children:[_?N:a,s&&t.jsx(pe,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:_?"chevron-down":"chevron-up",className:"filter-panel__collapse-toggle",ariaLabel:_?v("common.expand","\uD3BC\uCE58\uAE30"):v("common.collapse","\uC811\uAE30"),"aria-expanded":!_,onClick:f})]})]}),!_&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:ke("filter-panel__sections",g?"filter-panel__sections--row":""),children:c.map(j=>{const V=p[j.label],$=V===void 0||(Array.isArray(V)?V.length===0:!1),U=(j.items??[]).filter(L=>L!=null);j.allOption&&U.some(L=>(typeof L=="string"?L:L.value)===sn)&&an(`filter-panel-all-value:${j.label}`,`[FilterPanel] '${j.label}' \uC808\uC5D0 allOption \uACFC \uAC12 '${sn}' \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 S=L=>{const H=typeof L=="string"?L:L.value,X=typeof L!="string"&&!!L.disabled,ne=typeof L!="string"?L.labels:void 0,q=typeof L!="string"?L.displayLabel:void 0,G=typeof L!="string"?L.tooltip:void 0,P=typeof L!="string"?L.descriptionTooltip:void 0,I=typeof L!="string"?L.shape:void 0,D=Array.isArray(V)?V.includes(H):V===H;return t.jsx(pe,{htmlType:"button",size:"keyboard",label:ne??q??H,type:j.itemType??(ne?"bar":H.length===1?"dot":void 0),selected:D,disabled:X,shape:I,showTooltipInfo:!!G,tooltipInfoText:G,tooltipDescription:P,onClick:()=>m?.(H,j.label)},H)};return t.jsxs(o.Fragment,{children:[j.groupLabel&&t.jsxs("div",{className:"filter-panel__group-label-row",children:[t.jsx("div",{className:"filter-panel__group-label body-2",children:j.groupLabel}),j.groupAction]}),t.jsxs("div",{className:ke("filter-panel__section",j.layout==="row"?"filter-panel__section--row":"",j.block?"filter-panel__section--block":""),children:[t.jsxs("div",{className:"filter-panel__section-label-row",children:[t.jsx("span",{className:"filter-panel__section-label body-3",children:j.displayLabel??j.label}),j.labelAction??(j.labelInfo?t.jsx(Ea,{...j.labelInfo}):null)]}),j.type==="note"?t.jsx("div",{className:"filter-panel__note body-3",children:j.content}):j.type==="input"?t.jsx(Un,{className:"filter-panel__textfield",placeholder:j.placeholder,ariaLabel:j.displayLabel??j.label,value:p[j.label]??"",onChange:L=>m?.(L,j.label),error:j.error}):!j.multiple&&j.display==="segmented"?t.jsx(_n,{ariaLabel:j.displayLabel??j.label,options:[...j.allOption?[{key:sn,label:j.allLabel??v("common.all","\uC804\uCCB4"),disabled:j.allOptionDisabled}]:[],...U.map(L=>{const H=typeof L=="string"?L:L.value,X=typeof L!="string"?L.displayLabel:void 0,ne=typeof L!="string"?L.disabled:void 0;return{key:H,label:X??H,disabled:ne}})],value:$&&j.allOption?sn:p[j.label]??"",onChange:L=>m?.(L,j.label),size:32}):!j.multiple&&j.display==="dropdown"?t.jsx(ln,{className:"filter-panel__dropdown",ariaLabel:typeof j.label=="string"?j.label:void 0,size:40,options:[...j.allOption?[{value:sn,label:j.allLabel??v("common.all","\uC804\uCCB4"),disabled:j.allOptionDisabled}]:[],...U.map(L=>{const H=typeof L=="string"?L:L.value,X=typeof L!="string"?L.displayLabel:void 0,ne=typeof L!="string"?L.disabled:void 0;return{value:H,label:X??H,disabled:ne}})],value:$&&j.allOption?sn:p[j.label],onChange:L=>m?.(L,j.label)}):t.jsxs("div",{className:j.groups?"filter-panel__item-groups":"filter-panel__items",children:[j.allOption&&!j.groups&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:j.allLabel??v("common.all","\uC804\uCCB4"),selected:$,disabled:j.allOptionDisabled,onClick:()=>m?.(sn,j.label)}),j.groups?j.groups.map((L,H)=>t.jsxs("div",{className:"filter-panel__item-group",children:[H===0&&j.allOption&&t.jsx(pe,{htmlType:"button",size:"keyboard",label:j.allLabel??v("common.all","\uC804\uCCB4"),selected:$,disabled:j.allOptionDisabled,onClick:()=>m?.(sn,j.label)}),L.filter(X=>X!=null).map(S)]},H)):U.map(S)]})]})]},j.label)})}),d!=null&&d!==!1&&t.jsx("div",{className:"filter-panel__footer body-3",children:d})]})]})}const t5=[1,2,3,4,5,6,7,8,9,10,11,12],Bu=[8,4,2,1];function ku(e,n){return{label:e("wordTable.filter.composition","\uAD6C\uC131"),items:[{value:"\uC774\uBBF8\uC9C0",disabled:!n.hasImage,displayLabel:e("wordTable.filter.image","\uC774\uBBF8\uC9C0")},{value:"\uB2E8\uC5B4",displayLabel:e("wordTable.filter.word","\uB2E8\uC5B4")},{value:"\uD45C\uC900 \uBC1C\uC74C",displayLabel:e("wordTable.filter.standardPron","\uD45C\uC900 \uBC1C\uC74C")},{value:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",disabled:!n.hasColloquial,displayLabel:e("wordTable.filter.colloquialPron","\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C")}],multiple:!0,allOption:!0}}function Nu(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 Du(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 Eu(e){return{label:e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4"),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 Su(e){return{label:e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4"),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 ju(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 Tu(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 Mu(e,n){return{label:e(n.hasPairs?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord"),items:[n.itemCount,...Bu.filter(a=>a<n.itemCount)].map(a=>({value:`${a}\uAC1C`,displayLabel:e("wordTable.filter.itemsPerPageOption",{count:a})})),display:"segmented"}}function Lu(e,n){return e===n||!Bu.includes(e)?Number.POSITIVE_INFINITY:e}function n5(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 $u={left:"\uC67C\uCABD",center:"\uC911\uC559",right:"\uC624\uB978\uCABD",none:"\uBBF8\uD45C\uC2DC"};function Ru(e){return e==="\uC67C\uCABD"?"left":e==="\uC911\uC559"?"center":e==="\uC624\uB978\uCABD"?"right":"none"}function Pu(e,n){return{[e("wordTable.filter.composition","\uAD6C\uC131")]:n.contentTypes,[e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")]:n.orientation==="landscape"?"\uAC00\uB85C":"\uC138\uB85C",[e("wordTable.filter.border","\uC678\uACFD\uC120")]:n.showOutline?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",[e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")]:n.cutLine,[e("wordPrint.divLine","\uB300\uB9BD\uC120")]:n.showDivLine?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC",...n.showTopInfo!=null?{[e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")]:n.showTopInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{},...n.showBottomInfo!=null?{[e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")]:n.showBottomInfo?"\uD45C\uC2DC":"\uBBF8\uD45C\uC2DC"}:{}}}function Fu(e,n,a,r){return a===e("wordTable.filter.composition","\uAD6C\uC131")?n===sn?(r.setContentTypes(()=>[]),!0):(r.setContentTypes(s=>s.includes(n)?s.filter(i=>i!==n):[...s,n]),!0):a===e("wordTable.filter.paperOrientation","\uC6A9\uC9C0 \uBC29\uD5A5")?(r.setOrientation(n==="\uAC00\uB85C"?"landscape":"portrait"),!0):a===e("wordTable.filter.border","\uC678\uACFD\uC120")?(r.setShowOutline(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.cutLine","\uC808\uCDE8\uC120")?(r.setCutLine(n),!0):a===e("wordPrint.divLine","\uB300\uB9BD\uC120")?(r.setShowDivLine(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.topInfo","\uC0C1\uB2E8 \uC815\uBCF4")?(r.setShowTopInfo?.(n==="\uD45C\uC2DC"),!0):a===e("wordTable.filter.bottomInfo","\uD558\uB2E8 \uC815\uBCF4")?(r.setShowBottomInfo?.(n==="\uD45C\uC2DC"),!0):!1}function a5(e){return"sections"in e}function jo(e){const{t:n}=ye.useTranslation(),{title:a,className:r,collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d}=e,c={collapsible:s,defaultCollapsed:i,collapsed:l,onCollapsedChange:u,headerSummary:d};if(a5(e))return t.jsx(An,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:e.sections,selected:e.selected,onSelect:e.onSelect,...c,align:"inline"});const{hasImage:p,hasColloquial:m,contentTypes:h,orientation:b,showOutline:y,cutLine:g,showDivLine:v,setters:w,showCutLine:C=!1,showDivLine2:_=!1,middleSections:f=[],extraSelected:A={},onExtraSelect:x,showPaperBands:N=!1,showTopInfo:k=!0,showBottomInfo:B=!0}=e,E=[ku(n,{hasImage:p,hasColloquial:m}),Nu(n),...f,Du(n),...C?[ju(n)]:[],..._?[Tu(n)]:[],...N?[Eu(n),Su(n)]:[]],j={...Pu(n,{contentTypes:h,orientation:b,showOutline:y,cutLine:g,showDivLine:v,showTopInfo:k,showBottomInfo:B}),...A},V=($,U)=>{Fu(n,$,U,w)||x?.($,U)};return t.jsx(An,{className:r,title:a??n("wordTable.filterTitle","\uD45C \uC124\uC815"),sections:E,selected:j,onSelect:V,...c,sectionAlign:"horizontal"})}function Iu(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function To(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()}let lr=null,ua=null;function r5(e,n,a,r="",s=""){if(e.length===0||ua&&ua.iframe.isConnected&&Date.now()-ua.at<1e4)return;const i=r?To(r):"";lr?.();let l=null;if(i){const c=document.title;document.title=i,l=()=>{document.title=c,window.removeEventListener("afterprint",l),lr===l&&(lr=null)},lr=l,window.addEventListener("afterprint",l)}const u=document.createElement("iframe");u.style.cssText="position:fixed;left:-10000px;top:0;width:1200px;height:900px;border:0;",document.body.appendChild(u);const d=u.contentDocument;if(!d){u.remove();return}ua={iframe:u,at:Date.now()},d.open(),d.write(Mo(e,n,a,!0,i,s)),d.close(),u.contentWindow?.addEventListener("afterprint",()=>{l?.(),setTimeout(()=>{u.remove(),ua?.iframe===u&&(ua=null)},0)})}function Mo(e,n,a,r=!1,s="",i=""){s=s?To(s):"";const l=Array.from(document.styleSheets).flatMap(p=>{try{return Array.from(p.cssRules).map(m=>m.cssText)}catch{return[]}}).join(`
860
860
  `),u="light",d=i?`<div class="paper-head">${Iu(i)}</div>`:"",c=e.map(p=>{const m=p.cloneNode(!0);return m.querySelectorAll('[data-play-state="play"]').forEach(h=>h.style.display=""),m.querySelectorAll('[data-play-state="pause"]').forEach(h=>h.style.display="none"),m.querySelectorAll(".word-table-cell__score-slot:not(.word-table-cell__score-slot--on)").forEach(h=>h.remove()),m.querySelectorAll(".word-table-cell__spinner").forEach(h=>h.remove()),m.querySelectorAll("img").forEach(h=>{h.style.opacity==="0"&&(h.setAttribute("onload","this.style.opacity=''"),h.setAttribute("onerror","this.style.visibility='hidden'"))}),`<div class="paper-wrap">${d}${m.outerHTML}</div>`}).join(`
861
861
  `);return`<!DOCTYPE html>
862
862
  <html data-theme="${u}">