@ihabdevteam/core 0.427.0 → 0.428.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hooks.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";var d=require("react"),Me=require("react-i18next"),Be=require("i18next"),Kn=typeof document<"u"?document.currentScript:null;function ha(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var Cr=ha(d);function ya({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:u=1.4}={}){const a=E=>Math.max(n,Math.min(o,Number(E))),i=E=>{try{const A=localStorage.getItem(E),N=A?Number(A):1;return Number.isFinite(N)?a(N):a(1)}catch{return a(1)}},[s,c]=d.useState(()=>i(e)),[f,g]=d.useState(e);f!==e&&(g(e),c(i(e))),d.useEffect(()=>{try{localStorage.setItem(e,String(s))}catch{}},[e,s]);const m=E=>{c(typeof E=="function"?A=>a(E(A)):a(E))},p=()=>m(E=>+(E+r).toFixed(6)),b=()=>m(E=>+(E-r).toFixed(6)),w=s<o-Number.EPSILON,h=s>n+Number.EPSILON,y=Math.round(t*s),S=Math.round(y*u);return{scale:s,setScale:m,increase:p,decrease:b,canIncrease:w,canDecrease:h,fontSize:y,lineHeight:S}}const mr=d.createContext(null);function ba(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const pr=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function Sa(e){const t=d.useCallback(n=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const o=window.matchMedia(e);return o.addEventListener?o.addEventListener("change",n):o.addListener&&o.addListener(n),()=>{o.removeEventListener?o.removeEventListener("change",n):o.removeListener&&o.removeListener(n)}},[e]);return Cr.useSyncExternalStore(t,()=>pr(e),()=>!1)}function wa(e){const[t,n]=d.useState(pr(e));return d.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const o=window.matchMedia(e),r=a=>n(a.matches),u=o;return u.addEventListener?u.addEventListener("change",r):u.addListener&&u.addListener(r),n(o.matches),()=>{u.removeEventListener?u.removeEventListener("change",r):u.removeListener&&u.removeListener(r)}},[e]),t}const Ea=typeof Cr.useSyncExternalStore=="function"?Sa:wa;function Aa(e){const t=d.useContext(mr),n=Ea(e);return t&&typeof t.mobile=="boolean"&&ba(e)?t.mobile:n}function hr(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),t}function qn(e,t){const n=hr(t);d.useEffect(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const Jn=" \xB7 ",yr=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(Jn)?e.split(Jn).pop()??e:e})(),br=d.createContext(!1),Ze=[];let Sr=null;function _a(e){const t=d.useContext(br);d.useEffect(()=>{if(t||typeof e!="string"||!e)return;Ze.length===0&&(Sr=document.title);const n={text:yr?`${e}${Jn}${yr}`:e};return Ze.push(n),document.title=n.text,()=>{const o=Ze.lastIndexOf(n);o>=0&&Ze.splice(o,1),document.title=Ze.length?Ze[Ze.length-1].text:Sr??document.title}},[e,t])}const Ta=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function Da(e){let t;if(e instanceof Date)t=e;else if(typeof e=="string"){const n=e.trim(),o=/^(\d{4}-\d{2}-\d{2})(?:$|[T ])/.exec(n)?.[1];if(o){const u=new Date(`${o}T00:00:00Z`);if(Number.isNaN(u.getTime())||u.toISOString().slice(0,10)!==o)return null}const r=Ta.exec(n);t=new Date(r?`${r[1]}T${r[2]}:${r[3]??"00"}${r[4]?`.${r[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:n)}else t=new Date(e);return Number.isNaN(t.getTime())?null:t}function _t(){return Tt(new Date)}function Tt(e){if(e==null||e==="")return"";const t=Da(e);return t?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t):""}function Ba(e,t){const[n,o,r]=e.split("-").map(Number),[u,a,i]=t.split("-").map(Number);return Math.round((Date.UTC(u,a-1,i)-Date.UTC(n,o-1,r))/864e5)}function Na(){const{t:e}=Me.useTranslation();return d.useCallback(t=>{if(!t)return"";const n=Tt(t);if(!n)return"";const o=Ba(n,_t());return o<=0?e("myHomework.relativeDay.today","\uC624\uB298"):o===1?e("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):e("myHomework.relativeDay.daysAgo",{n:o})},[e])}const Oa=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",t=typeof Be?.t=="function"?Be.t("common.unknownError",{defaultValue:e}):void 0;return typeof t=="string"&&t?t:e};function va(e,t){if(t===void 0&&(t=Oa()),e instanceof Error)return e.message||t;if(typeof e=="string")return e||t;if(e&&typeof e=="object"){const n=e;for(const o of[n.message,n.error_description,n.error])if(typeof o=="string"&&o)return o}return t}function La(e){const{t}=Me.useTranslation(),[n,o]=d.useState({current:"",next:"",confirm:""}),[r,u]=d.useState(null),[a,i]=d.useState(!1),s=d.useRef(null),c=d.useRef(!1),f=d.useRef(0);d.useEffect(()=>()=>{s.current!==null&&clearTimeout(s.current)},[]);const g=d.useCallback(()=>{f.current++,s.current!==null&&(clearTimeout(s.current),s.current=null),o({current:"",next:"",confirm:""}),u(null)},[]),m=d.useCallback(async()=>{if(c.current)return;if(s.current!==null&&(clearTimeout(s.current),s.current=null),!n.current){u({type:"error",text:t("account.security.password.currentRequired","\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.")});return}if(!n.next){u({type:"error",text:t("account.security.password.newRequired","\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.")});return}if(n.next!==n.confirm){u({type:"error",text:t("account.security.password.mismatch","\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")});return}i(!0),c.current=!0;const p=f.current;let b;try{b=e?await e(n.current,n.next):null}catch(w){b=va(w)}finally{c.current=!1,i(!1)}if(p===f.current){if(b){u({type:"error",text:b});return}u({type:"success",text:t("account.security.password.changed","\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.")}),o({current:"",next:"",confirm:""}),s.current!==null&&clearTimeout(s.current),s.current=setTimeout(()=>{s.current=null,u(null)},1500)}},[n,e,t]);return{pw:n,setPw:o,pwMsg:r,setPwMsg:u,pwLoading:a,handleChangePw:m,reset:g}}const Ra={\u3131:"\u3131",\u3132:"\u3131",\u314B:"\u3131",\u3133:"\u3131",\u313A:"\u3131",\u3134:"\u3134",\u3135:"\u3134",\u3136:"\u3134",\u3137:"\u3137",\u3145:"\u3137",\u3146:"\u3137",\u3148:"\u3137",\u314A:"\u3137",\u314C:"\u3137",\u314E:"\u3137",\u3139:"\u3139",\u313C:"\u3139",\u313D:"\u3139",\u313E:"\u3139",\u3140:"\u3139",\u3141:"\u3141",\u313B:"\u3141",\u3142:"\u3142",\u314D:"\u3142",\u313F:"\u3142",\u3144:"\u3142",\u3147:"\u3147"},Xn={\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"}};function Ia(e,t){return(Xn[e]?.glide??"")!==(Xn[t]?.glide??"")}function Dt(e){return Ra[e]??e}const ge=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Ee=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Ne=["","\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 X(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function Ma(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>X(o)),e.set(t,n)),n}}function Ue(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function Pa(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let n=0,o=null;for(let r=0;r<e.length;r++){const u=X(e[r]),a=X(t[r]);if(!u||!a)return"random";if(u.cho===a.cho&&u.jung===a.jung&&u.jong===a.jong)continue;n++;const i=u.cho!==a.cho,s=u.jung!==a.jung,c=u.jong!==a.jong;(i?1:0)+(s?1:0)+(c?1:0)>1?o="multi":i?o="cho":s?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const Cn={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(Cn).map(([e,t])=>[t.join(""),Ne[Number(e)]]));function ka(e,t){if(!e||!t)return!1;for(const n of e){const o=X(n);if(o){if(ge[o.cho]===t)return!0;if(o.jong>0){if(Ne[o.jong]===t)return!0;const r=Cn[o.jong];if(r&&r.includes(t))return!0}}}return!1}function xa(e,t,n){const o=Ne[e];return o===t?!0:n==="phoneme"&&Dt(o)===Dt(t)}function Bt(e){if(!e)return 0;let t=0;for(const n of e)X(n)&&t++;return t}function Fa(e){if(!e)return!1;let t=!1;for(const n of e){const o=X(n);if(o&&(t=!0,o.jong>0))return!1}return t}function ja(e,t,n){return e.jong<=0?!1:t.some(o=>xa(e.jong,o,n))}function $a(e,t,n,o="glyph"){if(!e)return!1;const r=[...e],u=a=>{const i=X(r[a]);if(!i||t.cho&&!t.cho.includes(ge[i.cho])||t.jung&&!t.jung.includes(Ee[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!ja(i,t.jong,o))return!1;return!0};if(n==="head")return u(0);if(n==="tail")return u(r.length-1);if(n==="mid"){for(let a=1;a<r.length-1;a++)if(u(a))return!0;return!1}for(let a=0;a<r.length;a++)if(u(a))return!0;return!1}const Ha={cho:ge.length,jung:Ee.length,jong:Ne.length};function Ga(e,t,n,o,r=1/0){if(!e||n<1)return[];const u=[...e].map(g=>X(g));if(u.some(g=>!g))return[];const a=u,i=a.length;if(n>i)return[];const s=Ha[t],c=new Set,f=[];(function g(m,p){if(p.length===n){f.push([...p]);return}for(let b=m;b<i;b++)p.push(b),g(b+1,p),p.pop()})(0,[]);for(const g of f)if((function m(p,b){if(c.size>=r)return;if(p===g.length){const y=b.map(S=>Ue(S.cho,S.jung,S.jong)).join("");y!==e&&o.has(y)&&c.add(y);return}const w=g[p],h=a[w][t];for(let y=0;y<s;y++){if(y===h)continue;const S=b.slice();if(S[w]={...b[w],[t]:y},m(p+1,S),c.size>=r)return}})(0,a),c.size>=r)break;return[...c]}function Va(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const r=X(e[o]),u=X(t[o]);if(!r||!u)return-1;r.cho!==u.cho&&n++,r.jung!==u.jung&&n++,r.jong!==u.jong&&n++}return n}const wr="word_pair_index_v2",Er="word_pair_index_sig_v2";let Nt=null;function Wa(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;for(const t of Object.values(e)){if(t===null||typeof t!="object"||Array.isArray(t))return!1;const n=t;for(const o of["cho","jung","jong"])if(!Array.isArray(n[o])||!n[o].every(r=>typeof r=="string"))return!1}return!0}function Ua(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(wr),t=localStorage.getItem(Er);if(!e||!t)return null;const n=JSON.parse(e);return Wa(n)?{index:n,sig:t}:null}catch{return null}}function Ot(){if(Nt)return Nt;const e=Ua();return e?(Nt=e.index,e.sig,Nt):null}function Ya(){Nt=null;try{typeof localStorage<"u"&&(localStorage.removeItem(wr),localStorage.removeItem(Er))}catch{}}const Ar="word_image_existence_map_v1",_r="ihab:image-existence-updated";function za(){typeof window<"u"&&window.dispatchEvent(new Event(_r))}let ft=null,vt=0,Tr=-1,Lt=null,Dr=-1,Br=new Set;const Ka=new Map;function Nr(){if(ft)return ft;try{const e=typeof localStorage<"u"?localStorage.getItem(Ar):null,t=e?JSON.parse(e):null,n={};if(t&&typeof t=="object"&&!Array.isArray(t))for(const[o,r]of Object.entries(t))typeof r=="boolean"&&(n[o]=r);ft=n}catch{ft={}}return ft}function Or(){const e=Nr();if(Tr===vt)return Lt?{...Lt}:null;const t=Object.values(e);return Lt=t.length===0?null:{total:t.length,exists:t.filter(Boolean).length},Tr=vt,Lt?{...Lt}:null}function mn(){const e=Nr();if(Dr===vt)return Br;const t=new Set;for(const n in e)e[n]===!0&&n.endsWith("_1")&&t.add(n.slice(0,-2));return Br=t,Dr=vt,t}function qa(){ft={},Ka.clear(),vt++;try{typeof localStorage<"u"&&localStorage.removeItem(Ar)}catch{}za()}const vr=[{id:"wordData",labelKey:"settings.cache.group.wordData.label",subKey:"settings.cache.group.wordData.sub",keys:["word_data_cache","word_data_version"]},{id:"pairIndex",labelKey:"settings.cache.group.pairIndex.label",subKey:"settings.cache.group.pairIndex.sub",keys:["word_pair_index_v2","word_pair_index_sig_v2"]},{id:"imageCache",labelKey:"settings.cache.group.imageCache.label",subKey:"settings.cache.group.imageCache.sub",keys:["word_image_existence_map_v1"]}];function Lr(e){return e.reduce((t,n)=>{try{const o=localStorage.getItem(n);return t+(o?new Blob([o]).size:0)}catch{return t}},0)}function Ja(e){return e===0?"0 B":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`}function Xa(e){const{t}=Me.useTranslation(),[n,o]=d.useState({}),[r,u]=d.useState(null),[a,i]=d.useState(null),[s,c]=d.useState(null),f=d.useRef(0),g=d.useCallback(()=>{const p=++f.current,b={};if(vr.forEach(w=>{b[w.id]=Lr([...w.keys])}),o(b),typeof navigator<"u"&&navigator.storage?.estimate)try{navigator.storage.estimate().then(w=>{f.current===p&&c({usage:w.usage??0,quota:w.quota??0})}).catch(()=>{})}catch{}},[]);d.useEffect(()=>(g(),()=>{f.current+=1}),[g]);const m=d.useCallback(async p=>{u(p);try{p==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):p==="pairIndex"?Ya():p==="imageCache"&&qa(),g(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{u(null)}},[g,e,t]);return{cacheSizes:n,clearingId:r,confirmCacheId:a,setConfirmCacheId:i,storageEstimate:s,refreshCacheSizes:g,handleClearCache:m}}function Qa(e){const[t,n]=d.useState(null),[o,r]=d.useState(null),u=d.useCallback(()=>{const a=Ot();if(a){const s=Object.values(a),c=s.filter(f=>f.cho.length+f.jung.length+f.jong.length>0).length;n({matched:c,total:s.length})}else n(null);const i=Or();r(i?{exists:i.exists,total:i.total}:null)},[]);return d.useEffect(()=>{u();const a=setTimeout(u,1e3);return()=>clearTimeout(a)},[e?.length,u]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:r,refreshStats:u}}function et(e,t){if(e===t)return!0;const n=e?.id,o=t?.id;return n!=null&&n!==""&&n===o}function Rr(e,t=[]){const[n,o]=d.useState(t),[r,u]=d.useState(null),[a,i]=d.useState(!1),[s,c]=d.useState(e),f=d.useRef(!1),g=d.useRef(null);d.useEffect(()=>{if(a)return;if(f.current){f.current=!1;return}const y=g.current;y!==null&&y.length===t.length&&y.every((S,E)=>S===t[E])||(g.current=t,o(t),u(S=>{if(S==null)return S;const E=t.find(N=>et(N,S));if(E!=null)return E;const A=S.id;return A!=null&&A!==""?null:S}))},[t,a]),d.useEffect(()=>{!a&&r!=null&&c({...r})},[a,r]);const m=d.useCallback(y=>{u(y),i(!1),c({...y})},[]),p=d.useCallback(()=>i(!0),[]),b=d.useCallback(()=>i(!1),[]),w=d.useCallback((y,S)=>{o(y),u(S),i(E=>(E&&(f.current=!0),!1))},[]),h=d.useCallback(y=>{o(S=>S.filter(E=>!et(E,y))),u(null)},[]);return{list:n,setList:o,selected:r,setSelected:u,isEditing:a,setIsEditing:i,editForm:s,setEditForm:c,openDetail:m,startEditing:p,cancelEditing:b,commitEdit:w,remove:h}}const Rt=()=>{const[e,t,n]=_t().split("-");return{year:e,month:t,day:n}},Za={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function el(e=[]){const{list:t,setList:n,selected:o,setSelected:r,isEditing:u,setIsEditing:a,editForm:i,setEditForm:s,openDetail:c,commitEdit:f}=Rr(Za,e),{year:g,month:m,day:p}=Rt(),[b,w]=d.useState({year:g,month:m,day:p,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:b,setVisitForm:w,setVisit:h=>y=>w(S=>({...S,[h]:y})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:u,setIsEditingVisit:a,editVisitForm:i,setEditVisitForm:s,openVisitDetail:c,handleVisitSave:h=>{n(A=>[b,...A]);const{year:y,month:S,day:E}=Rt();w({year:y,month:S,day:E,hour:"09",minute:"00",memo:""}),h?.()},handleVisitEditSave:()=>{f(h=>h.map(y=>o!=null&&et(y,o)?i:y),i)},addVisit:h=>{n(y=>[h,...y])},removeVisit:h=>{n(y=>y.filter(S=>!et(S,h)))},revertVisitEdit:(h,y)=>{n(S=>S.map(E=>E===y?h:E)),r(S=>S===y?h:S)}}}const Ir=e=>`${e.year.padStart(4,"0")}-${e.month.padStart(2,"0")}-${e.day.padStart(2,"0")} ${e.hour.padStart(2,"0")}:${e.minute.padStart(2,"0")}`,It=e=>[...e].sort((t,n)=>{const o=Ir(t),r=Ir(n);return o<r?-1:o>r?1:0}),tl={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function nl(e,t=[]){const n=d.useMemo(()=>It(t),[t]),{list:o,setList:r,selected:u,setSelected:a,isEditing:i,setIsEditing:s,editForm:c,setEditForm:f,openDetail:g,commitEdit:m,remove:p}=Rr(tl,n),[b,w]=d.useState([]),{year:h,month:y,day:S}=Rt(),[E,A]=d.useState({year:h,month:y,day:S,hour:"09",minute:"00",memo:""}),N=j=>L=>A(Y=>({...Y,[j]:L})),M=j=>{r(ie=>It([...ie,E]));const{year:L,month:Y,day:fe}=Rt();A({year:L,month:Y,day:fe,hour:"09",minute:"00",memo:""}),j?.()},B=()=>{m(j=>It(j.map(L=>u!=null&&et(L,u)?c:L)),c)},I=d.useCallback(j=>{p(j)},[p]),P=d.useCallback(j=>{e({year:j.year,month:j.month,day:j.day,hour:j.hour,minute:j.minute,memo:j.memo,...j.id!=null?{id:j.id}:{}}),p(j)},[e,p]),O=d.useCallback(j=>{r(L=>L.filter(Y=>!et(Y,j))),w(L=>[j,...L]),a(null)},[r,a]),V=d.useCallback(j=>{r(L=>It([...L,j]))},[r]),U=d.useCallback(j=>{r(L=>L.filter(Y=>!et(Y,j)))},[r]),W=d.useCallback((j,L)=>{r(Y=>It(Y.map(fe=>fe===L?j:fe))),a(Y=>Y===L?j:Y)},[r,a]);return{scheduleList:o,noShowList:b,addSchedule:V,removeSchedule:U,revertScheduleEdit:W,scheduleForm:E,setScheduleForm:A,setSchedule:N,selectedSchedule:u,setSelectedSchedule:a,isEditingSchedule:i,setIsEditingSchedule:s,editScheduleForm:c,setEditScheduleForm:f,openScheduleDetail:g,handleScheduleSave:M,handleScheduleEditSave:B,handleScheduleDelete:I,handleScheduleToVisit:P,handleScheduleNoVisit:O}}const gt=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function ol(e){const{t}=Me.useTranslation(),[n,o]=d.useState(""),[r,u]=d.useState("25"),[a,i]=d.useState("all"),[s,c]=d.useState(1),f=d.useCallback(h=>{u(y=>{const S=typeof h=="function"?h(y):h;return gt.some(E=>E.value===S)?S:y})},[]),g=d.useMemo(()=>e.filter(({item:h,status:y})=>!(n&&!h.memo.includes(n)||a!=="all"&&y!==a)),[e,n,a]),m=Math.max(1,Math.ceil(g.length/Number(r))),p=Number.isFinite(s)?Math.min(Math.max(1,Math.floor(s)),m):1,b=d.useMemo(()=>g.slice((p-1)*Number(r),p*Number(r)),[g,p,r]),w=d.useMemo(()=>gt.map(h=>({...h,label:t("common.pageSizeLabel",{n:h.value,defaultValue:h.label})})),[t]);return{vapSearch:n,setVapSearch:o,vapPageSize:r,setVapPageSize:f,vapPageSizeOptions:w,vapStatus:a,setVapStatus:i,vapPage:p,setVapPage:c,vapFiltered:g,vapTotal:m,vapPageItems:b}}const rl=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function Mr(e,t){return rl().compare(e,t)}const pn=new Map;function ul(e){const t=pn.get(e);if(t)return t;const n=[],o=/-?\d+(?:\.\d+)?/g;let r=0;for(let u=o.exec(e);u;u=o.exec(e)){let a=u.index,i=u[0];i[0]==="-"&&a>0&&!/\s/.test(e[a-1])&&(a+=1,i=i.slice(1)),a>r&&n.push(e.slice(r,a)),n.push(Number(i)),r=u.index+u[0].length}return r<e.length&&n.push(e.slice(r)),pn.size>5e3&&pn.clear(),pn.set(e,n),n}function al(e){if(!/^[\d\s-]+$/.test(e))return null;const t=e.replace(/\D/g,"");return t.length<9||t.length>11?null:t[0]==="0"||t[0]==="1"&&e!==t?t:null}function ll(e,t){const n=c=>c==null||typeof c=="number"&&Number.isNaN(c)?"":String(c).trim(),o=n(e),r=n(t);if(o===r)return 0;const u=(c,f)=>{if(typeof c=="number"&&!Number.isNaN(c))return[c];const g=al(f);return g!==null?[g]:ul(f)},a=u(e,o),i=u(t,r),s=Math.min(a.length,i.length);for(let c=0;c<s;c++){const f=a[c],g=i[c];if(typeof f=="number"&&typeof g=="number"){if(f!==g)return f-g;continue}if(typeof f=="number")return-1;if(typeof g=="number")return 1;const m=Mr(f,g);if(m!==0)return m}return a.length!==i.length?a.length-i.length:Mr(o,r)}const Pr=e=>e==null||typeof e=="number"&&Number.isNaN(e)||typeof e=="string"&&e.trim()==="";function il(e,t,n){const o=Pr(e),r=Pr(t);if(o||r)return o===r?0:o?1:-1;const u=ll(e,t);return n?u:-u}function sl(e,t,n){const{t:o}=Me.useTranslation(),[r,u]=d.useState(()=>{const b=n?.initialPageSize;return b&&gt.some(w=>w.value===b)?b:"25"}),[a,i]=d.useState(1),[s,c]=d.useState(t);Object.is(s,t)||(c(t),a!==1&&i(1));const f=d.useMemo(()=>gt.map(b=>({...b,label:o("visits.showN",{n:b.value})})),[o]),g=d.useCallback(b=>{gt.some(w=>w.value===b)&&(u(b),i(1))},[]),m=Math.max(1,Math.ceil(e.length/Number(r))),p=Math.min(Math.max(1,Number.isFinite(a)?Math.floor(a):1),m);return a!==p&&i(p),{pageRows:d.useMemo(()=>e.slice((p-1)*Number(r),p*Number(r)),[e,p,r]),pageSizeProps:{options:f,value:r,onChange:g},paginationProps:{page:p,total:m,onChange:i},setPage:i}}function cl(e){const[t,n]=d.useState(()=>e?.defaultKey!=null?{key:e.defaultKey,asc:e.defaultAsc??!0}:null),o=d.useRef(t),r=d.useRef(e?.onSortChange);r.current=e?.onSortChange;const u=d.useCallback(s=>{const c=o.current,f=c?.key===s?{key:s,asc:!c.asc}:{key:s,asc:!0};o.current=f,n(f),r.current?.(f)},[]),a=d.useCallback((s,c)=>({label:s,sortDir:t?.key===c?t.asc?"asc":"desc":null,onClick:()=>u(c)}),[t,u]),i=d.useCallback((s,c)=>{if(!t)return s;const{key:f,asc:g}=t;return[...s].sort((m,p)=>il(c(m,f),c(p,f),g))},[t]);return{sort:t,field:a,sortRows:i}}const kr=e=>e==="left"||e==="right"?e:null;function dl(){const[e,t]=d.useState(!1),[n,o]=d.useState("left"),[r,u]=d.useState({left:null,right:null}),[a,i]=d.useState({left:[],right:[]}),[s,c]=d.useState(!1),[f,g]=d.useState("left"),m=d.useCallback(b=>{const w=kr(b.direction);w&&(u(h=>({...h,[w]:b})),i(h=>({...h,[w]:[b,...h[w]]})),t(!1))},[]),p=d.useCallback(b=>{const w=kr(b.direction);w&&(u(h=>({...h,[w]:b})),c(!1))},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:r,setDevices:u,deviceHistory:a,setDeviceHistory:i,showDeviceList:s,setShowDeviceList:c,listForSide:f,setListForSide:g,handleDeviceSubmit:m,handleSelectFromList:p}}const Pe="\uC804\uCCB4",fl="__ihab_core_word_pool__";function hn(){return globalThis[fl]??null}function q(e,t=Math.random){const n=e.slice();for(let o=n.length-1;o>0;o--){const r=Math.floor(t()*(o+1));[n[o],n[r]]=[n[r],n[o]]}return n}function Fe(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?q(e,n):q(e,n).slice(0,t)}const Qn={SAME_SOUND_PICK:{difficulty:!0,choseong:!0,group:"discrimination"},SAME_OR_DIFF:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_SAME:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_INCLUDED:{difficulty:!0,choseong:!0,group:"discrimination"},STARTS_WITH_SAME_SOUND:{difficulty:!1,choseong:!0,group:"discrimination"},LISTEN_AND_REMEMBER_ORDER:{difficulty:!1,choseong:!0,group:"attention"},MERGE_2_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_2_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},DROP_1_FROM_2SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_1_FROM_3SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_PART_FROM_COMPOUND:{difficulty:!1,choseong:!0,group:"deletion"},DROP_FINAL_CONSONANT_FROM_1SYLL:{difficulty:!1,choseong:!0,group:"deletion"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{difficulty:!1,choseong:!0,group:"deletion"},CHANGE_1_SYLL_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_SYLL_IN_3SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_1SYLL:{difficulty:!1,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"}},Zn=ge.indexOf("\u3147"),yn={DROP_FINAL_CONSONANT_FROM_1SYLL:{syllables:1,syllable:e=>e.jong>0},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{syllables:1,syllable:e=>e.jong===0&&e.cho!==Zn},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:e=>e.jong===0&&e.cho!==Zn},MERGE_3_PHONEMES:{syllables:1,syllable:e=>e.jong>0&&!Cn[e.jong]&&e.cho!==Zn}},eo={cho:ge,jung:Ee,jong:Ne},se=e=>Array.isArray(e)?e.length>0:!!e;function to(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],r=t[n];if(!(!o||!r)&&(o.cho!==r.cho&&ge[o.cho]==="\u3147"!=(ge[r.cho]==="\u3147")||o.jung!==r.jung&&Ia(Ee[o.jung],Ee[r.jung])||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function gl(e,t,n){const o=n.pronOf(e),r=n.decompOf,u=n.sameStructureOnly&&r?r(o):null,a=[];for(const i of t)i!==e&&(n.okSet&&!n.okSet.has(i)||n.pronOf(i)!==o&&(u&&r&&to(u,r(n.pronOf(i)))||a.push(i)));return a}function xr(e,t,n){const o=t?.[e];if(!o)return[];const r=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return gl(e,r,n)}function Cl(e,t,n,o,r,u,a){const i=["cho","jung","jong"].filter(m=>se(e[m])),s={};for(const m of i){const p=e[m];s[m]=new Set(Array.isArray(p)?p:[p])}const c=r==="pron",f=new Map;for(const m of t){const p=n(u(m));if(p.some(y=>!y))continue;let b=p;if(!c&&(b=n(m),b.length!==p.length||b.some(y=>!y)))continue;const w=p.length,h=f.get(w);h?h.push({w:m,dPron:p,dPos:b}):f.set(w,[{w:m,dPron:p,dPos:b}])}const g=new Map;for(const[m,p]of f){const b=new Map,w=(h,y)=>{const S=h.dPos[y];return S!=null&&i.every(E=>s[E].has(eo[E][S[E]]))};for(const h of p){let y;if(a==="head")y=w(h,0)?0:-1;else if(a==="tail")y=w(h,m-1)?m-1:-1;else if(a==="mid"){const E=i.includes("cho")?1:0,A=i.includes("jong")?m-2:m-1;y=-1;for(let N=E;N<=A;N++)if(w(h,N)){y=N;break}}else y=h.dPos.findIndex(E=>E!=null&&i.every(A=>s[A].has(eo[A][E[A]])));if(y<0)continue;const S=b.get(y);S?S.push(h):b.set(y,[h])}for(const[h,y]of b){const S=i.includes("cho"),E=i.includes("jung"),A=i.includes("jong"),N=B=>{let I="";for(let P=0;P<m;P++){const O=B[P];P===h?I+=(S?"*":O.cho)+"."+(E?"*":O.jung)+"."+(A?"*":O.jong)+".":I+=O.cho+"."+O.jung+"."+O.jong+"."}return I},M=new Map;for(const B of p){const I=N(B.dPron),P=M.get(I);P?P.push(B):M.set(I,[B])}for(const B of y){const I=M.get(N(B.dPron))??[],P=[];for(const O of I){if(O.w===B.w)continue;let V=!0;for(const U of i){const W=B.dPron[h][U],j=O.dPron[h][U];if(j===W){V=!1;break}if(c&&s[U].has(eo[U][j])){V=!1;break}}V&&(o&&to(B.dPron,O.dPron)||P.push(O.w))}g.set(B.w,P)}}}return g}const ml=e=>e==null?[]:Array.isArray(e)?e:[e];function pl(e){if([...e].length!==1)return"";const t=X(e);if(!t)return"";const n=Dt(Ne[t.jong]),o=n===""?0:Ne.indexOf(n);return Ue(t.cho,t.jung,o<0?0:o)}function Fr(e,t){return t.get(e)||pl(e)||e}function bn(e){return e?se(e.cho)?"cho":se(e.jung)?"jung":se(e.jong)?"jong":null:null}function tt(e,t){const n=(r,u)=>!se(r)||ml(r).includes(u),o=t.jongNone?e.jong===0:n(t.jong,Ne[e.jong]);return n(t.cho,ge[e.cho])&&n(t.jung,Ee[e.jung])&&o}function Mt(e,t,n){const o=[...e];if(n!=="pron")return o.map(u=>X(u));const r=[...t.get(e)||e];return r.length!==o.length?o.map(u=>X(u)):r.map(u=>X(u))}function Pt(e,t,n,o,r){const u=t==="cho"?ge:t==="jung"?Ee:Ne,a=e[t],i=[],s=g=>t==="jung"?yl(Fr(g,r)):Fr(g,r),c=new Map([[s(n),-1]]),f=q(u.map((g,m)=>m).filter(g=>g!==a&&(t!=="cho"||u[g]!=="\u3147")&&(t!=="jong"||g!==0)));for(const g of f){if(i.length>=o)break;const m=t==="cho"?Ue(g,e.jung,e.jong):t==="jung"?Ue(e.cho,g,e.jong):Ue(e.cho,e.jung,g),p=s(m),b=c.get(p);if(b!==void 0){t==="jung"&&b>=0&&r.has(m)&&!r.has(i[b])&&(i[b]=m);continue}c.set(p,i.length),i.push(m)}return i}const hl={\u3154:"\u3150",\u3156:"\u3152",\u315A:"\u3159",\u315E:"\u3159"};function yl(e){if([...e].length!==1)return e;const t=X(e);if(!t)return e;const n=hl[Ee[t.jung]];return n?Ue(t.cho,Ee.indexOf(n),t.jong):e}function bl(e,t,n,o,r,u=null){const a=[...e];if(a.length!==2)return null;const i=a.map(g=>X(g));if(i.some(g=>!g))return null;const s=Mt(e,n,o);if(s.some(g=>!g))return null;const c=bn(t);let f=c&&t?s.map((g,m)=>tt(g,t)?m:-1).filter(g=>g>=0):[0,1];if(u!=null&&(f=f.filter(g=>g!==u)),!f.length)return null;for(const g of q(f)){const m=a[g];if(!r.has(m))continue;const p=Pt(i[g],c??"cho",m,40,n),b=[];for(const w of p)if(w!==m&&r.has(w)&&!b.includes(w)&&b.push(w),b.length>=2)break;if(!(b.length<2))return{question:e,distractors:[m,...b]}}return null}function Sl(e,t,n,o,r,u=null){const a=[...e];if(a.length!==3)return null;const i=a.map(g=>X(g));if(i.some(g=>!g))return null;const s=Mt(e,n,o);if(s.some(g=>!g))return null;const c=bn(t),f=c&&t?s.map((g,m)=>tt(g,t)?m:-1).filter(g=>g>=0):[0,1,2];if(!f.length)return null;for(const g of q(f))for(const m of q([0,1,2].filter(p=>p!==g&&(u==null||p===u)))){const p=[0,1,2].filter(S=>S!==m),b=p.map(S=>a[S]).join("");if(!r.has(b))continue;const w=p.indexOf(g),h=Pt(i[g],c??"cho",a[g],40,n),y=[];for(const S of h){const E=p.map(N=>a[N]);E[w]=S;const A=E.join("");if(A!==b&&r.has(A)&&!y.includes(A)&&y.push(A),y.length>=2)break}if(!(y.length<2))return{question:e,distractors:[b,...y]}}return null}function wl(e,t,n,o,r,u=null){const a=[...e],i=a.length;if(i<2)return null;const s=[];for(let f=1;f<=i-1;f++)s.push({remain:a.slice(0,f).join(""),dropped:a.slice(f).join(""),droppedEnd:1}),s.push({remain:a.slice(i-f).join(""),dropped:a.slice(0,i-f).join(""),droppedEnd:0});const c=bn(t);for(const{remain:f,dropped:g,droppedEnd:m}of q(s)){if(u!=null&&m!==u||[...f].length===1&&[...g].length===1||f===e||!r.has(f)||!r.has(g))continue;const p=[...f],b=p.map(y=>X(y));if(b.some(y=>!y))continue;const w=Mt(f,n,o);if(w.some(y=>!y))continue;const h=c&&t?w.map((y,S)=>tt(y,t)?S:-1).filter(y=>y>=0):p.map((y,S)=>S);if(h.length)for(const y of q(h)){const S=Pt(b[y],c??"cho",p[y],40,n),E=[];for(const A of S){const N=[...p];N[y]=A;const M=N.join("");if(M!==f&&r.has(M)&&!E.includes(M)&&E.push(M),E.length>=2)break}if(E.length>=2)return{question:e,distractors:[f,...E],dropped:g}}}return null}function El(e,t,n,o,r,u=null){if([...e].length!==1)return null;const a=X(n.get(e)||e);if(!a||a.jong===0)return null;const i=Ue(a.cho,a.jung,0),s=Pt({cho:a.cho,jung:a.jung,jong:0},"cho",i,2,n);return s.length<2?null:{question:e,distractors:[i,...s]}}const no=ge.indexOf("\u3147");function Al(e,t,n,o,r,u=null){if([...e].length!==1)return null;const a=X(n.get(e)||e);if(!a||a.jong!==0||a.cho===no)return null;const i=Ue(no,a.jung,0),s=Pt({cho:no,jung:a.jung,jong:0},"jung",i,2,n);return s.length<2?null:{question:e,distractors:[i,...s]}}function _l(e){const t=new Map;for(const n of e){const o=[...n],r=o.length;if(!(r<2||r>3))for(let u=0;u<r;u++){let a=r+"|"+u+"|";for(let s=0;s<r;s++)a+=s===u?"*":o[s];const i=t.get(a);i?i.push(n):t.set(a,[n])}}return t}function Tl(e,t,n,o,r,u=null,a=null,i=2){const s=[...e],c=s.length;if(c<2||c>3)return null;const f=s.map(S=>X(S));if(f.some(S=>!S))return null;const g=Mt(e,n,o);if(g.some(S=>!S))return null;const m=S=>n.get(S)??S,p=m(e),b=!!t&&(se(t.cho)||se(t.jung)||se(t.jong)),w=!!a&&(se(a.cho)||se(a.jung)||se(a.jong)),h=S=>{let E=c+"|"+S+"|";for(let A=0;A<c;A++)E+=A===S?"*":s[A];return E};let y;if(u!=null){if(u>=c||b&&!tt(g[u],t))return null;y=[u]}else b?y=g.map((S,E)=>tt(S,t)?E:-1).filter(S=>S>=0):y=Array.from({length:c},(S,E)=>E);for(const S of q(y)){const E=r.get(h(S))??[],A=[],N=[];for(const O of E){if(O===e)continue;const V=[...O].map(L=>X(L)),U=f[S],W=V[S];if(!U||!W)continue;let j=0;if(U.cho!==W.cho&&j++,U.jung!==W.jung&&j++,U.jong!==W.jong&&j++,!(j<i||m(O)===p))if(w){const L=Mt(O,n,o)[S];L&&tt(L,a)?A.push(O):N.push(O)}else A.push(O)}if(!A.length)continue;const M=q(A)[0],B=[],I=new Set([p,m(M)]),P=w?N:A.filter(O=>O!==M);for(const O of q(P)){const V=m(O);if(!I.has(V)&&(I.add(V),B.push(O),B.length>=2))break}if(!w&&B.length<2)for(const O of q(E)){if(O===e||O===M)continue;const V=m(O);if(!I.has(V)&&(I.add(V),B.push(O),B.length>=2))break}if(!(B.length<2))return{question:e,distractors:[M,...B]}}return null}var Dl={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",loading:"\uBD88\uB7EC\uC624\uB294 \uC911",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."},Bl={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],weekOrdinal:["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"],yearMonthCompact:"{{year}}.{{month}}",weekLabel:"{{ord}}\uC8FC",weekLabelCompact:"{{ord}}\uC8FC",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"},Nl={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"}},Ol={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},vl={selected:"\uC120\uD0DD\uB428"},Ll={placeholder:"\uC120\uD0DD"},Rl={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},Il={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"},Ml={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"},Pl={cache:{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"}}}},kl={couponButton:"\uCFE0\uD3F0 \uC785\uB825"},xl={security:{password:{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."}}},Fl={settings:"\uC124\uC815",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",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",playSoundFor:"{{name}} \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",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",replaySound:"{{no}}\uBC88 \uB2E4\uC2DC \uB4E3\uAE30",replaySoundStop:"{{no}}\uBC88 \uB4E3\uAE30 \uBA48\uCDA4",done:"\uC644\uB8CC",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:{synthesizing:"\uC18C\uB9AC\uB97C \uB9CC\uB4E4\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026",preparing:"\uC18C\uB9AC\uB97C \uC900\uBE44\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026"}},jl={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addButton:"\uAE30\uAE30 \uCD94\uAC00",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",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D"},visitHistory:{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"},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"},consent:{record:"\uB3D9\uC758 \uBC1B\uAE30",kinds:"\uBC1B\uC740 \uAC08\uB798",methodTitle:"\uBC1B\uC740 \uBC29\uBC95",sourceTitle:"\uC218\uC9D1 \uCD9C\uCC98",day:"\uBC1B\uC740 \uB0A0",note:"\uBA54\uBAA8",notePlaceholder:"\uC758\uB8B0\uAE30\uAD00 \uC774\uB984 \uB4F1 \u2014 \uBBFC\uAC10\uD55C \uB0B4\uC6A9\uC740 \uC801\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",submit:"\uC800\uC7A5\uD558\uAE30",allTaken:"\uC138 \uAC08\uB798\uB97C \uC774\uBBF8 \uB2E4 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBC1B\uC73C\uB824\uBA74 \uBA3C\uC800 \uCCA0\uD68C\uD558\uC138\uC694.",kind:{personal:"\uC77C\uBC18 \uAC1C\uC778\uC815\uBCF4",sensitive:"\uBBFC\uAC10\uC815\uBCF4(\uCCAD\uB825\xB7\uC9C4\uB2E8)",marketing:"\uAD11\uACE0\uC131 \uC815\uBCF4 \uC218\uC2E0"},method:{paper:"\uC11C\uBA74",verbal:"\uAD6C\uB450",electronic:"\uC804\uC790"},source:{self:"\uBCF8\uC778",guardian:"\uBCF4\uD638\uC790",referral:"\uC758\uB8B0\uAE30\uAD00"}}},$l={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"}}}},Hl={input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9"},Gl={showN:"{{n}}\uAC1C\uC529"},Vl={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."}},Wl={newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},Ul={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Yl={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",caption:"\uC720\uD615",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",copyItem:"\uD55C \uCE78 \uB354",copyItemAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uD55C \uCE78 \uB354",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",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"},thumbMore:"+{{count}}",replaceItem:"\uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePair:"\uB2E4\uB978 \uC30D\uC73C\uB85C",replaceItemAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePairAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uC30D\uC73C\uB85C",thumbMoreAria:"\uADF8 \uBC16 {{count}}\uCE78: {{words}}",pickForm:"\uB2E4\uB978 \uAF34\uB85C",pickFormAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C",pickFormBaseAria:"\uAE30\uBCF8\uD615 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C"},zl={filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB09C\uC774\uB3C4",grade:"{{n}}\uB4F1\uAE09",age:"{{n}}\uC138",agePlus:"{{n}}\uC138 \uC774\uC0C1",ageRange:"{{from}}\uC138~{{to}}\uC138",difficultyInfoAge:"3\uC138~7\uC138: \uAC00\uC7A5 \uC26C\uC6B4 \uB0B1\uB9D0(1\uB4F1\uAE09)\uC744 \uB610\uB798\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoGrade:"2~4\uB4F1\uAE09: \uADF8\uBCF4\uB2E4 \uC5B4\uB824\uC6B4 \uB0B1\uB9D0\uC774\uACE0, \uB098\uC774\uB85C\uB294 \uB098\uB204\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",difficultyInfoNone:"\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAge:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC744 \uB098\uC774\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandGrade:"{{grade}}: {{ages}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",gradeNone:"\uC5C6\uC74C",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",field:"\uC758\uBBF8\uBC94\uC8FC",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"},Kl={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removePairFor:"{{name}} \uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30",removeWordFor:"{{name}} \uBE7C\uAE30"},ql={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"}},Jl={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",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",other:"\uAE30\uD0C0"}},Xl={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",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"}},Ql={phonemeSelect:{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:["1\uB4F1\uAE09 : \uD559\uB839\uC804\uAE30\uC5D0 \uC2B5\uB4DD\uD558\uC5EC \uD3C9\uC0DD\uC5D0 \uAC78\uCCD0 \uC77C\uC0C1 \uC5B8\uC5B4\uC0DD\uD65C\uC744 \uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uC5B4\uD718","2\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 1-2\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","3\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 3-4\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","4\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 5-6\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","\uB4F1\uAE09\uC5C6\uC74C : \uAD6D\uB9BD\uAD6D\uC5B4\uC6D0 \uD45C\uC900 \uC5B4\uD718 \uC678 \uACE0\uBE48\uB3C4 \uC0DD\uD65C \uC5B4\uD718, \uC2E0\uC870\uC5B4 \uBC0F \uC678\uB798\uC5B4"],selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlyHighUsage:"\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},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."]},Zl={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
1
+ "use strict";var d=require("react"),Me=require("react-i18next"),Be=require("i18next"),qn=typeof document<"u"?document.currentScript:null;function Sa(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var pr=Sa(d);function wa({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:u=1.4}={}){const a=E=>Math.max(n,Math.min(o,Number(E))),i=E=>{try{const A=localStorage.getItem(E),N=A?Number(A):1;return Number.isFinite(N)?a(N):a(1)}catch{return a(1)}},[s,c]=d.useState(()=>i(e)),[f,g]=d.useState(e);f!==e&&(g(e),c(i(e))),d.useEffect(()=>{try{localStorage.setItem(e,String(s))}catch{}},[e,s]);const m=E=>{c(typeof E=="function"?A=>a(E(A)):a(E))},p=()=>m(E=>+(E+r).toFixed(6)),b=()=>m(E=>+(E-r).toFixed(6)),w=s<o-Number.EPSILON,h=s>n+Number.EPSILON,y=Math.round(t*s),S=Math.round(y*u);return{scale:s,setScale:m,increase:p,decrease:b,canIncrease:w,canDecrease:h,fontSize:y,lineHeight:S}}const hr=d.createContext(null);function Ea(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const yr=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function Aa(e){const t=d.useCallback(n=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const o=window.matchMedia(e);return o.addEventListener?o.addEventListener("change",n):o.addListener&&o.addListener(n),()=>{o.removeEventListener?o.removeEventListener("change",n):o.removeListener&&o.removeListener(n)}},[e]);return pr.useSyncExternalStore(t,()=>yr(e),()=>!1)}function Ta(e){const[t,n]=d.useState(yr(e));return d.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const o=window.matchMedia(e),r=a=>n(a.matches),u=o;return u.addEventListener?u.addEventListener("change",r):u.addListener&&u.addListener(r),n(o.matches),()=>{u.removeEventListener?u.removeEventListener("change",r):u.removeListener&&u.removeListener(r)}},[e]),t}const _a=typeof pr.useSyncExternalStore=="function"?Aa:Ta;function Da(e){const t=d.useContext(hr),n=_a(e);return t&&typeof t.mobile=="boolean"&&Ea(e)?t.mobile:n}function br(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),t}function Jn(e,t){const n=br(t);d.useEffect(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const Xn=" \xB7 ",Sr=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(Xn)?e.split(Xn).pop()??e:e})(),wr=d.createContext(!1),Ze=[];let Er=null;function Ba(e){const t=d.useContext(wr);d.useEffect(()=>{if(t||typeof e!="string"||!e)return;Ze.length===0&&(Er=document.title);const n={text:Sr?`${e}${Xn}${Sr}`:e};return Ze.push(n),document.title=n.text,()=>{const o=Ze.lastIndexOf(n);o>=0&&Ze.splice(o,1),document.title=Ze.length?Ze[Ze.length-1].text:Er??document.title}},[e,t])}const Na=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function Oa(e){let t;if(e instanceof Date)t=e;else if(typeof e=="string"){const n=e.trim(),o=/^(\d{4}-\d{2}-\d{2})(?:$|[T ])/.exec(n)?.[1];if(o){const u=new Date(`${o}T00:00:00Z`);if(Number.isNaN(u.getTime())||u.toISOString().slice(0,10)!==o)return null}const r=Na.exec(n);t=new Date(r?`${r[1]}T${r[2]}:${r[3]??"00"}${r[4]?`.${r[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:n)}else t=new Date(e);return Number.isNaN(t.getTime())?null:t}function _t(){return Dt(new Date)}function Dt(e){if(e==null||e==="")return"";const t=Oa(e);return t?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t):""}function va(e,t){const[n,o,r]=e.split("-").map(Number),[u,a,i]=t.split("-").map(Number);return Math.round((Date.UTC(u,a-1,i)-Date.UTC(n,o-1,r))/864e5)}function La(){const{t:e}=Me.useTranslation();return d.useCallback(t=>{if(!t)return"";const n=Dt(t);if(!n)return"";const o=va(n,_t());return o<=0?e("myHomework.relativeDay.today","\uC624\uB298"):o===1?e("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):e("myHomework.relativeDay.daysAgo",{n:o})},[e])}const Ra=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",t=typeof Be?.t=="function"?Be.t("common.unknownError",{defaultValue:e}):void 0;return typeof t=="string"&&t?t:e};function Ia(e,t){if(t===void 0&&(t=Ra()),e instanceof Error)return e.message||t;if(typeof e=="string")return e||t;if(e&&typeof e=="object"){const n=e;for(const o of[n.message,n.error_description,n.error])if(typeof o=="string"&&o)return o}return t}function Ma(e){const{t}=Me.useTranslation(),[n,o]=d.useState({current:"",next:"",confirm:""}),[r,u]=d.useState(null),[a,i]=d.useState(!1),s=d.useRef(null),c=d.useRef(!1),f=d.useRef(0);d.useEffect(()=>()=>{s.current!==null&&clearTimeout(s.current)},[]);const g=d.useCallback(()=>{f.current++,s.current!==null&&(clearTimeout(s.current),s.current=null),o({current:"",next:"",confirm:""}),u(null)},[]),m=d.useCallback(async()=>{if(c.current)return;if(s.current!==null&&(clearTimeout(s.current),s.current=null),!n.current){u({type:"error",text:t("account.security.password.currentRequired","\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.")});return}if(!n.next){u({type:"error",text:t("account.security.password.newRequired","\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.")});return}if(n.next!==n.confirm){u({type:"error",text:t("account.security.password.mismatch","\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")});return}i(!0),c.current=!0;const p=f.current;let b;try{b=e?await e(n.current,n.next):null}catch(w){b=Ia(w)}finally{c.current=!1,i(!1)}if(p===f.current){if(b){u({type:"error",text:b});return}u({type:"success",text:t("account.security.password.changed","\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.")}),o({current:"",next:"",confirm:""}),s.current!==null&&clearTimeout(s.current),s.current=setTimeout(()=>{s.current=null,u(null)},1500)}},[n,e,t]);return{pw:n,setPw:o,pwMsg:r,setPwMsg:u,pwLoading:a,handleChangePw:m,reset:g}}const Pa={\u3131:"\u3131",\u3132:"\u3131",\u314B:"\u3131",\u3133:"\u3131",\u313A:"\u3131",\u3134:"\u3134",\u3135:"\u3134",\u3136:"\u3134",\u3137:"\u3137",\u3145:"\u3137",\u3146:"\u3137",\u3148:"\u3137",\u314A:"\u3137",\u314C:"\u3137",\u314E:"\u3137",\u3139:"\u3139",\u313C:"\u3139",\u313D:"\u3139",\u313E:"\u3139",\u3140:"\u3139",\u3141:"\u3141",\u313B:"\u3141",\u3142:"\u3142",\u314D:"\u3142",\u313F:"\u3142",\u3144:"\u3142",\u3147:"\u3147"},Qn={\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"}};function ka(e,t){return(Qn[e]?.glide??"")!==(Qn[t]?.glide??"")}function Bt(e){return Pa[e]??e}const ge=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Ee=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Ne=["","\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 X(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function xa(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>X(o)),e.set(t,n)),n}}function Ue(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function Fa(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let n=0,o=null;for(let r=0;r<e.length;r++){const u=X(e[r]),a=X(t[r]);if(!u||!a)return"random";if(u.cho===a.cho&&u.jung===a.jung&&u.jong===a.jong)continue;n++;const i=u.cho!==a.cho,s=u.jung!==a.jung,c=u.jong!==a.jong;(i?1:0)+(s?1:0)+(c?1:0)>1?o="multi":i?o="cho":s?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const mn={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(mn).map(([e,t])=>[t.join(""),Ne[Number(e)]]));function ja(e,t){if(!e||!t)return!1;for(const n of e){const o=X(n);if(o){if(ge[o.cho]===t)return!0;if(o.jong>0){if(Ne[o.jong]===t)return!0;const r=mn[o.jong];if(r&&r.includes(t))return!0}}}return!1}function $a(e,t,n){const o=Ne[e];return o===t?!0:n==="phoneme"&&Bt(o)===Bt(t)}function Nt(e){if(!e)return 0;let t=0;for(const n of e)X(n)&&t++;return t}function Ha(e){if(!e)return!1;let t=!1;for(const n of e){const o=X(n);if(o&&(t=!0,o.jong>0))return!1}return t}function Ga(e,t,n){return e.jong<=0?!1:t.some(o=>$a(e.jong,o,n))}function Va(e,t,n,o="glyph"){if(!e)return!1;const r=[...e],u=a=>{const i=X(r[a]);if(!i||t.cho&&!t.cho.includes(ge[i.cho])||t.jung&&!t.jung.includes(Ee[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!Ga(i,t.jong,o))return!1;return!0};if(n==="head")return u(0);if(n==="tail")return u(r.length-1);if(n==="mid"){for(let a=1;a<r.length-1;a++)if(u(a))return!0;return!1}for(let a=0;a<r.length;a++)if(u(a))return!0;return!1}const Wa={cho:ge.length,jung:Ee.length,jong:Ne.length};function Ua(e,t,n,o,r=1/0){if(!e||n<1)return[];const u=[...e].map(g=>X(g));if(u.some(g=>!g))return[];const a=u,i=a.length;if(n>i)return[];const s=Wa[t],c=new Set,f=[];(function g(m,p){if(p.length===n){f.push([...p]);return}for(let b=m;b<i;b++)p.push(b),g(b+1,p),p.pop()})(0,[]);for(const g of f)if((function m(p,b){if(c.size>=r)return;if(p===g.length){const y=b.map(S=>Ue(S.cho,S.jung,S.jong)).join("");y!==e&&o.has(y)&&c.add(y);return}const w=g[p],h=a[w][t];for(let y=0;y<s;y++){if(y===h)continue;const S=b.slice();if(S[w]={...b[w],[t]:y},m(p+1,S),c.size>=r)return}})(0,a),c.size>=r)break;return[...c]}function Ya(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const r=X(e[o]),u=X(t[o]);if(!r||!u)return-1;r.cho!==u.cho&&n++,r.jung!==u.jung&&n++,r.jong!==u.jong&&n++}return n}const Ar="word_pair_index_v2",Tr="word_pair_index_sig_v2";let Ot=null;function za(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;for(const t of Object.values(e)){if(t===null||typeof t!="object"||Array.isArray(t))return!1;const n=t;for(const o of["cho","jung","jong"])if(!Array.isArray(n[o])||!n[o].every(r=>typeof r=="string"))return!1}return!0}function Ka(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Ar),t=localStorage.getItem(Tr);if(!e||!t)return null;const n=JSON.parse(e);return za(n)?{index:n,sig:t}:null}catch{return null}}function vt(){if(Ot)return Ot;const e=Ka();return e?(Ot=e.index,e.sig,Ot):null}function qa(){Ot=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Ar),localStorage.removeItem(Tr))}catch{}}const _r="word_image_existence_map_v1",Dr="ihab:image-existence-updated";function Ja(){typeof window<"u"&&window.dispatchEvent(new Event(Dr))}let ft=null,Lt=0,Br=-1,Rt=null,Nr=-1,Or=new Set;const Xa=new Map;function vr(){if(ft)return ft;try{const e=typeof localStorage<"u"?localStorage.getItem(_r):null,t=e?JSON.parse(e):null,n={};if(t&&typeof t=="object"&&!Array.isArray(t))for(const[o,r]of Object.entries(t))typeof r=="boolean"&&(n[o]=r);ft=n}catch{ft={}}return ft}function Lr(){const e=vr();if(Br===Lt)return Rt?{...Rt}:null;const t=Object.values(e);return Rt=t.length===0?null:{total:t.length,exists:t.filter(Boolean).length},Br=Lt,Rt?{...Rt}:null}function pn(){const e=vr();if(Nr===Lt)return Or;const t=new Set;for(const n in e)e[n]===!0&&n.endsWith("_1")&&t.add(n.slice(0,-2));return Or=t,Nr=Lt,t}function Qa(){ft={},Xa.clear(),Lt++;try{typeof localStorage<"u"&&localStorage.removeItem(_r)}catch{}Ja()}const Rr=[{id:"wordData",labelKey:"settings.cache.group.wordData.label",subKey:"settings.cache.group.wordData.sub",keys:["word_data_cache","word_data_version"]},{id:"pairIndex",labelKey:"settings.cache.group.pairIndex.label",subKey:"settings.cache.group.pairIndex.sub",keys:["word_pair_index_v2","word_pair_index_sig_v2"]},{id:"imageCache",labelKey:"settings.cache.group.imageCache.label",subKey:"settings.cache.group.imageCache.sub",keys:["word_image_existence_map_v1"]}];function Ir(e){return e.reduce((t,n)=>{try{const o=localStorage.getItem(n);return t+(o?new Blob([o]).size:0)}catch{return t}},0)}function Za(e){return e===0?"0 B":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`}function el(e){const{t}=Me.useTranslation(),[n,o]=d.useState({}),[r,u]=d.useState(null),[a,i]=d.useState(null),[s,c]=d.useState(null),f=d.useRef(0),g=d.useCallback(()=>{const p=++f.current,b={};if(Rr.forEach(w=>{b[w.id]=Ir([...w.keys])}),o(b),typeof navigator<"u"&&navigator.storage?.estimate)try{navigator.storage.estimate().then(w=>{f.current===p&&c({usage:w.usage??0,quota:w.quota??0})}).catch(()=>{})}catch{}},[]);d.useEffect(()=>(g(),()=>{f.current+=1}),[g]);const m=d.useCallback(async p=>{u(p);try{p==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):p==="pairIndex"?qa():p==="imageCache"&&Qa(),g(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{u(null)}},[g,e,t]);return{cacheSizes:n,clearingId:r,confirmCacheId:a,setConfirmCacheId:i,storageEstimate:s,refreshCacheSizes:g,handleClearCache:m}}function tl(e){const[t,n]=d.useState(null),[o,r]=d.useState(null),u=d.useCallback(()=>{const a=vt();if(a){const s=Object.values(a),c=s.filter(f=>f.cho.length+f.jung.length+f.jong.length>0).length;n({matched:c,total:s.length})}else n(null);const i=Lr();r(i?{exists:i.exists,total:i.total}:null)},[]);return d.useEffect(()=>{u();const a=setTimeout(u,1e3);return()=>clearTimeout(a)},[e?.length,u]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:r,refreshStats:u}}function et(e,t){if(e===t)return!0;const n=e?.id,o=t?.id;return n!=null&&n!==""&&n===o}function Mr(e,t=[]){const[n,o]=d.useState(t),[r,u]=d.useState(null),[a,i]=d.useState(!1),[s,c]=d.useState(e),f=d.useRef(!1),g=d.useRef(null);d.useEffect(()=>{if(a)return;if(f.current){f.current=!1;return}const y=g.current;y!==null&&y.length===t.length&&y.every((S,E)=>S===t[E])||(g.current=t,o(t),u(S=>{if(S==null)return S;const E=t.find(N=>et(N,S));if(E!=null)return E;const A=S.id;return A!=null&&A!==""?null:S}))},[t,a]),d.useEffect(()=>{!a&&r!=null&&c({...r})},[a,r]);const m=d.useCallback(y=>{u(y),i(!1),c({...y})},[]),p=d.useCallback(()=>i(!0),[]),b=d.useCallback(()=>i(!1),[]),w=d.useCallback((y,S)=>{o(y),u(S),i(E=>(E&&(f.current=!0),!1))},[]),h=d.useCallback(y=>{o(S=>S.filter(E=>!et(E,y))),u(null)},[]);return{list:n,setList:o,selected:r,setSelected:u,isEditing:a,setIsEditing:i,editForm:s,setEditForm:c,openDetail:m,startEditing:p,cancelEditing:b,commitEdit:w,remove:h}}const It=()=>{const[e,t,n]=_t().split("-");return{year:e,month:t,day:n}},nl={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function ol(e=[]){const{list:t,setList:n,selected:o,setSelected:r,isEditing:u,setIsEditing:a,editForm:i,setEditForm:s,openDetail:c,commitEdit:f}=Mr(nl,e),{year:g,month:m,day:p}=It(),[b,w]=d.useState({year:g,month:m,day:p,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:b,setVisitForm:w,setVisit:h=>y=>w(S=>({...S,[h]:y})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:u,setIsEditingVisit:a,editVisitForm:i,setEditVisitForm:s,openVisitDetail:c,handleVisitSave:h=>{n(A=>[b,...A]);const{year:y,month:S,day:E}=It();w({year:y,month:S,day:E,hour:"09",minute:"00",memo:""}),h?.()},handleVisitEditSave:()=>{f(h=>h.map(y=>o!=null&&et(y,o)?i:y),i)},addVisit:h=>{n(y=>[h,...y])},removeVisit:h=>{n(y=>y.filter(S=>!et(S,h)))},revertVisitEdit:(h,y)=>{n(S=>S.map(E=>E===y?h:E)),r(S=>S===y?h:S)}}}const Pr=e=>`${e.year.padStart(4,"0")}-${e.month.padStart(2,"0")}-${e.day.padStart(2,"0")} ${e.hour.padStart(2,"0")}:${e.minute.padStart(2,"0")}`,Mt=e=>[...e].sort((t,n)=>{const o=Pr(t),r=Pr(n);return o<r?-1:o>r?1:0}),rl={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function ul(e,t=[]){const n=d.useMemo(()=>Mt(t),[t]),{list:o,setList:r,selected:u,setSelected:a,isEditing:i,setIsEditing:s,editForm:c,setEditForm:f,openDetail:g,commitEdit:m,remove:p}=Mr(rl,n),[b,w]=d.useState([]),{year:h,month:y,day:S}=It(),[E,A]=d.useState({year:h,month:y,day:S,hour:"09",minute:"00",memo:""}),N=j=>L=>A(Y=>({...Y,[j]:L})),M=j=>{r(ie=>Mt([...ie,E]));const{year:L,month:Y,day:fe}=It();A({year:L,month:Y,day:fe,hour:"09",minute:"00",memo:""}),j?.()},B=()=>{m(j=>Mt(j.map(L=>u!=null&&et(L,u)?c:L)),c)},I=d.useCallback(j=>{p(j)},[p]),P=d.useCallback(j=>{e({year:j.year,month:j.month,day:j.day,hour:j.hour,minute:j.minute,memo:j.memo,...j.id!=null?{id:j.id}:{}}),p(j)},[e,p]),O=d.useCallback(j=>{r(L=>L.filter(Y=>!et(Y,j))),w(L=>[j,...L]),a(null)},[r,a]),V=d.useCallback(j=>{r(L=>Mt([...L,j]))},[r]),U=d.useCallback(j=>{r(L=>L.filter(Y=>!et(Y,j)))},[r]),W=d.useCallback((j,L)=>{r(Y=>Mt(Y.map(fe=>fe===L?j:fe))),a(Y=>Y===L?j:Y)},[r,a]);return{scheduleList:o,noShowList:b,addSchedule:V,removeSchedule:U,revertScheduleEdit:W,scheduleForm:E,setScheduleForm:A,setSchedule:N,selectedSchedule:u,setSelectedSchedule:a,isEditingSchedule:i,setIsEditingSchedule:s,editScheduleForm:c,setEditScheduleForm:f,openScheduleDetail:g,handleScheduleSave:M,handleScheduleEditSave:B,handleScheduleDelete:I,handleScheduleToVisit:P,handleScheduleNoVisit:O}}const gt=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function al(e){const{t}=Me.useTranslation(),[n,o]=d.useState(""),[r,u]=d.useState("25"),[a,i]=d.useState("all"),[s,c]=d.useState(1),f=d.useCallback(h=>{u(y=>{const S=typeof h=="function"?h(y):h;return gt.some(E=>E.value===S)?S:y})},[]),g=d.useMemo(()=>e.filter(({item:h,status:y})=>!(n&&!h.memo.includes(n)||a!=="all"&&y!==a)),[e,n,a]),m=Math.max(1,Math.ceil(g.length/Number(r))),p=Number.isFinite(s)?Math.min(Math.max(1,Math.floor(s)),m):1,b=d.useMemo(()=>g.slice((p-1)*Number(r),p*Number(r)),[g,p,r]),w=d.useMemo(()=>gt.map(h=>({...h,label:t("common.pageSizeLabel",{n:h.value,defaultValue:h.label})})),[t]);return{vapSearch:n,setVapSearch:o,vapPageSize:r,setVapPageSize:f,vapPageSizeOptions:w,vapStatus:a,setVapStatus:i,vapPage:p,setVapPage:c,vapFiltered:g,vapTotal:m,vapPageItems:b}}const ll=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function kr(e,t){return ll().compare(e,t)}const hn=new Map;function il(e){const t=hn.get(e);if(t)return t;const n=[],o=/-?\d+(?:\.\d+)?/g;let r=0;for(let u=o.exec(e);u;u=o.exec(e)){let a=u.index,i=u[0];i[0]==="-"&&a>0&&!/\s/.test(e[a-1])&&(a+=1,i=i.slice(1)),a>r&&n.push(e.slice(r,a)),n.push(Number(i)),r=u.index+u[0].length}return r<e.length&&n.push(e.slice(r)),hn.size>5e3&&hn.clear(),hn.set(e,n),n}function sl(e){if(!/^[\d\s-]+$/.test(e))return null;const t=e.replace(/\D/g,"");return t.length<9||t.length>11?null:t[0]==="0"||t[0]==="1"&&e!==t?t:null}function cl(e,t){const n=c=>c==null||typeof c=="number"&&Number.isNaN(c)?"":String(c).trim(),o=n(e),r=n(t);if(o===r)return 0;const u=(c,f)=>{if(typeof c=="number"&&!Number.isNaN(c))return[c];const g=sl(f);return g!==null?[g]:il(f)},a=u(e,o),i=u(t,r),s=Math.min(a.length,i.length);for(let c=0;c<s;c++){const f=a[c],g=i[c];if(typeof f=="number"&&typeof g=="number"){if(f!==g)return f-g;continue}if(typeof f=="number")return-1;if(typeof g=="number")return 1;const m=kr(f,g);if(m!==0)return m}return a.length!==i.length?a.length-i.length:kr(o,r)}const xr=e=>e==null||typeof e=="number"&&Number.isNaN(e)||typeof e=="string"&&e.trim()==="";function dl(e,t,n){const o=xr(e),r=xr(t);if(o||r)return o===r?0:o?1:-1;const u=cl(e,t);return n?u:-u}function fl(e,t,n){const{t:o}=Me.useTranslation(),[r,u]=d.useState(()=>{const b=n?.initialPageSize;return b&&gt.some(w=>w.value===b)?b:"25"}),[a,i]=d.useState(1),[s,c]=d.useState(t);Object.is(s,t)||(c(t),a!==1&&i(1));const f=d.useMemo(()=>gt.map(b=>({...b,label:o("visits.showN",{n:b.value})})),[o]),g=d.useCallback(b=>{gt.some(w=>w.value===b)&&(u(b),i(1))},[]),m=Math.max(1,Math.ceil(e.length/Number(r))),p=Math.min(Math.max(1,Number.isFinite(a)?Math.floor(a):1),m);return a!==p&&i(p),{pageRows:d.useMemo(()=>e.slice((p-1)*Number(r),p*Number(r)),[e,p,r]),pageSizeProps:{options:f,value:r,onChange:g},paginationProps:{page:p,total:m,onChange:i},setPage:i}}function gl(e){const[t,n]=d.useState(()=>e?.defaultKey!=null?{key:e.defaultKey,asc:e.defaultAsc??!0}:null),o=d.useRef(t),r=d.useRef(e?.onSortChange);r.current=e?.onSortChange;const u=d.useCallback(s=>{const c=o.current,f=c?.key===s?{key:s,asc:!c.asc}:{key:s,asc:!0};o.current=f,n(f),r.current?.(f)},[]),a=d.useCallback((s,c)=>({label:s,sortDir:t?.key===c?t.asc?"asc":"desc":null,onClick:()=>u(c)}),[t,u]),i=d.useCallback((s,c)=>{if(!t)return s;const{key:f,asc:g}=t;return[...s].sort((m,p)=>dl(c(m,f),c(p,f),g))},[t]);return{sort:t,field:a,sortRows:i}}const Fr=e=>e==="left"||e==="right"?e:null;function Cl(){const[e,t]=d.useState(!1),[n,o]=d.useState("left"),[r,u]=d.useState({left:null,right:null}),[a,i]=d.useState({left:[],right:[]}),[s,c]=d.useState(!1),[f,g]=d.useState("left"),m=d.useCallback(b=>{const w=Fr(b.direction);w&&(u(h=>({...h,[w]:b})),i(h=>({...h,[w]:[b,...h[w]]})),t(!1))},[]),p=d.useCallback(b=>{const w=Fr(b.direction);w&&(u(h=>({...h,[w]:b})),c(!1))},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:r,setDevices:u,deviceHistory:a,setDeviceHistory:i,showDeviceList:s,setShowDeviceList:c,listForSide:f,setListForSide:g,handleDeviceSubmit:m,handleSelectFromList:p}}const Pe="\uC804\uCCB4",ml="__ihab_core_word_pool__";function yn(){return globalThis[ml]??null}function q(e,t=Math.random){const n=e.slice();for(let o=n.length-1;o>0;o--){const r=Math.floor(t()*(o+1));[n[o],n[r]]=[n[r],n[o]]}return n}function Fe(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?q(e,n):q(e,n).slice(0,t)}const Zn={SAME_SOUND_PICK:{difficulty:!0,choseong:!0,group:"discrimination"},SAME_OR_DIFF:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_SAME:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_INCLUDED:{difficulty:!0,choseong:!0,group:"discrimination"},STARTS_WITH_SAME_SOUND:{difficulty:!1,choseong:!0,group:"discrimination"},LISTEN_AND_REMEMBER_ORDER:{difficulty:!1,choseong:!0,group:"attention"},MERGE_2_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_2_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},DROP_1_FROM_2SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_1_FROM_3SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_PART_FROM_COMPOUND:{difficulty:!1,choseong:!0,group:"deletion"},DROP_FINAL_CONSONANT_FROM_1SYLL:{difficulty:!1,choseong:!0,group:"deletion"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{difficulty:!1,choseong:!0,group:"deletion"},CHANGE_1_SYLL_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_SYLL_IN_3SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_1SYLL:{difficulty:!1,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"}},eo=ge.indexOf("\u3147"),bn={DROP_FINAL_CONSONANT_FROM_1SYLL:{syllables:1,syllable:e=>e.jong>0},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{syllables:1,syllable:e=>e.jong===0&&e.cho!==eo},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:e=>e.jong===0&&e.cho!==eo},MERGE_3_PHONEMES:{syllables:1,syllable:e=>e.jong>0&&!mn[e.jong]&&e.cho!==eo}},to={cho:ge,jung:Ee,jong:Ne},se=e=>Array.isArray(e)?e.length>0:!!e;function no(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],r=t[n];if(!(!o||!r)&&(o.cho!==r.cho&&ge[o.cho]==="\u3147"!=(ge[r.cho]==="\u3147")||o.jung!==r.jung&&ka(Ee[o.jung],Ee[r.jung])||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function pl(e,t,n){const o=n.pronOf(e),r=n.decompOf,u=n.sameStructureOnly&&r?r(o):null,a=[];for(const i of t)i!==e&&(n.okSet&&!n.okSet.has(i)||n.pronOf(i)!==o&&(u&&r&&no(u,r(n.pronOf(i)))||a.push(i)));return a}function jr(e,t,n){const o=t?.[e];if(!o)return[];const r=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return pl(e,r,n)}function hl(e,t,n,o,r,u,a){const i=["cho","jung","jong"].filter(m=>se(e[m])),s={};for(const m of i){const p=e[m];s[m]=new Set(Array.isArray(p)?p:[p])}const c=r==="pron",f=new Map;for(const m of t){const p=n(u(m));if(p.some(y=>!y))continue;let b=p;if(!c&&(b=n(m),b.length!==p.length||b.some(y=>!y)))continue;const w=p.length,h=f.get(w);h?h.push({w:m,dPron:p,dPos:b}):f.set(w,[{w:m,dPron:p,dPos:b}])}const g=new Map;for(const[m,p]of f){const b=new Map,w=(h,y)=>{const S=h.dPos[y];return S!=null&&i.every(E=>s[E].has(to[E][S[E]]))};for(const h of p){let y;if(a==="head")y=w(h,0)?0:-1;else if(a==="tail")y=w(h,m-1)?m-1:-1;else if(a==="mid"){const E=i.includes("cho")?1:0,A=i.includes("jong")?m-2:m-1;y=-1;for(let N=E;N<=A;N++)if(w(h,N)){y=N;break}}else y=h.dPos.findIndex(E=>E!=null&&i.every(A=>s[A].has(to[A][E[A]])));if(y<0)continue;const S=b.get(y);S?S.push(h):b.set(y,[h])}for(const[h,y]of b){const S=i.includes("cho"),E=i.includes("jung"),A=i.includes("jong"),N=B=>{let I="";for(let P=0;P<m;P++){const O=B[P];P===h?I+=(S?"*":O.cho)+"."+(E?"*":O.jung)+"."+(A?"*":O.jong)+".":I+=O.cho+"."+O.jung+"."+O.jong+"."}return I},M=new Map;for(const B of p){const I=N(B.dPron),P=M.get(I);P?P.push(B):M.set(I,[B])}for(const B of y){const I=M.get(N(B.dPron))??[],P=[];for(const O of I){if(O.w===B.w)continue;let V=!0;for(const U of i){const W=B.dPron[h][U],j=O.dPron[h][U];if(j===W){V=!1;break}if(c&&s[U].has(to[U][j])){V=!1;break}}V&&(o&&no(B.dPron,O.dPron)||P.push(O.w))}g.set(B.w,P)}}}return g}const yl=e=>e==null?[]:Array.isArray(e)?e:[e];function bl(e){if([...e].length!==1)return"";const t=X(e);if(!t)return"";const n=Bt(Ne[t.jong]),o=n===""?0:Ne.indexOf(n);return Ue(t.cho,t.jung,o<0?0:o)}function $r(e,t){return t.get(e)||bl(e)||e}function Sn(e){return e?se(e.cho)?"cho":se(e.jung)?"jung":se(e.jong)?"jong":null:null}function tt(e,t){const n=(r,u)=>!se(r)||yl(r).includes(u),o=t.jongNone?e.jong===0:n(t.jong,Ne[e.jong]);return n(t.cho,ge[e.cho])&&n(t.jung,Ee[e.jung])&&o}function Pt(e,t,n){const o=[...e];if(n!=="pron")return o.map(u=>X(u));const r=[...t.get(e)||e];return r.length!==o.length?o.map(u=>X(u)):r.map(u=>X(u))}function kt(e,t,n,o,r){const u=t==="cho"?ge:t==="jung"?Ee:Ne,a=e[t],i=[],s=g=>t==="jung"?wl($r(g,r)):$r(g,r),c=new Map([[s(n),-1]]),f=q(u.map((g,m)=>m).filter(g=>g!==a&&(t!=="cho"||u[g]!=="\u3147")&&(t!=="jong"||g!==0)));for(const g of f){if(i.length>=o)break;const m=t==="cho"?Ue(g,e.jung,e.jong):t==="jung"?Ue(e.cho,g,e.jong):Ue(e.cho,e.jung,g),p=s(m),b=c.get(p);if(b!==void 0){t==="jung"&&b>=0&&r.has(m)&&!r.has(i[b])&&(i[b]=m);continue}c.set(p,i.length),i.push(m)}return i}const Sl={\u3154:"\u3150",\u3156:"\u3152",\u315A:"\u3159",\u315E:"\u3159"};function wl(e){if([...e].length!==1)return e;const t=X(e);if(!t)return e;const n=Sl[Ee[t.jung]];return n?Ue(t.cho,Ee.indexOf(n),t.jong):e}function El(e,t,n,o,r,u=null){const a=[...e];if(a.length!==2)return null;const i=a.map(g=>X(g));if(i.some(g=>!g))return null;const s=Pt(e,n,o);if(s.some(g=>!g))return null;const c=Sn(t);let f=c&&t?s.map((g,m)=>tt(g,t)?m:-1).filter(g=>g>=0):[0,1];if(u!=null&&(f=f.filter(g=>g!==u)),!f.length)return null;for(const g of q(f)){const m=a[g];if(!r.has(m))continue;const p=kt(i[g],c??"cho",m,40,n),b=[];for(const w of p)if(w!==m&&r.has(w)&&!b.includes(w)&&b.push(w),b.length>=2)break;if(!(b.length<2))return{question:e,distractors:[m,...b]}}return null}function Al(e,t,n,o,r,u=null){const a=[...e];if(a.length!==3)return null;const i=a.map(g=>X(g));if(i.some(g=>!g))return null;const s=Pt(e,n,o);if(s.some(g=>!g))return null;const c=Sn(t),f=c&&t?s.map((g,m)=>tt(g,t)?m:-1).filter(g=>g>=0):[0,1,2];if(!f.length)return null;for(const g of q(f))for(const m of q([0,1,2].filter(p=>p!==g&&(u==null||p===u)))){const p=[0,1,2].filter(S=>S!==m),b=p.map(S=>a[S]).join("");if(!r.has(b))continue;const w=p.indexOf(g),h=kt(i[g],c??"cho",a[g],40,n),y=[];for(const S of h){const E=p.map(N=>a[N]);E[w]=S;const A=E.join("");if(A!==b&&r.has(A)&&!y.includes(A)&&y.push(A),y.length>=2)break}if(!(y.length<2))return{question:e,distractors:[b,...y]}}return null}function Tl(e,t,n,o,r,u=null){const a=[...e],i=a.length;if(i<2)return null;const s=[];for(let f=1;f<=i-1;f++)s.push({remain:a.slice(0,f).join(""),dropped:a.slice(f).join(""),droppedEnd:1}),s.push({remain:a.slice(i-f).join(""),dropped:a.slice(0,i-f).join(""),droppedEnd:0});const c=Sn(t);for(const{remain:f,dropped:g,droppedEnd:m}of q(s)){if(u!=null&&m!==u||[...f].length===1&&[...g].length===1||f===e||!r.has(f)||!r.has(g))continue;const p=[...f],b=p.map(y=>X(y));if(b.some(y=>!y))continue;const w=Pt(f,n,o);if(w.some(y=>!y))continue;const h=c&&t?w.map((y,S)=>tt(y,t)?S:-1).filter(y=>y>=0):p.map((y,S)=>S);if(h.length)for(const y of q(h)){const S=kt(b[y],c??"cho",p[y],40,n),E=[];for(const A of S){const N=[...p];N[y]=A;const M=N.join("");if(M!==f&&r.has(M)&&!E.includes(M)&&E.push(M),E.length>=2)break}if(E.length>=2)return{question:e,distractors:[f,...E],dropped:g}}}return null}function _l(e,t,n,o,r,u=null){if([...e].length!==1)return null;const a=X(n.get(e)||e);if(!a||a.jong===0)return null;const i=Ue(a.cho,a.jung,0),s=kt({cho:a.cho,jung:a.jung,jong:0},"cho",i,2,n);return s.length<2?null:{question:e,distractors:[i,...s]}}const oo=ge.indexOf("\u3147");function Dl(e,t,n,o,r,u=null){if([...e].length!==1)return null;const a=X(n.get(e)||e);if(!a||a.jong!==0||a.cho===oo)return null;const i=Ue(oo,a.jung,0),s=kt({cho:oo,jung:a.jung,jong:0},"jung",i,2,n);return s.length<2?null:{question:e,distractors:[i,...s]}}function Bl(e){const t=new Map;for(const n of e){const o=[...n],r=o.length;if(!(r<2||r>3))for(let u=0;u<r;u++){let a=r+"|"+u+"|";for(let s=0;s<r;s++)a+=s===u?"*":o[s];const i=t.get(a);i?i.push(n):t.set(a,[n])}}return t}function Nl(e,t,n,o,r,u=null,a=null,i=2){const s=[...e],c=s.length;if(c<2||c>3)return null;const f=s.map(S=>X(S));if(f.some(S=>!S))return null;const g=Pt(e,n,o);if(g.some(S=>!S))return null;const m=S=>n.get(S)??S,p=m(e),b=!!t&&(se(t.cho)||se(t.jung)||se(t.jong)),w=!!a&&(se(a.cho)||se(a.jung)||se(a.jong)),h=S=>{let E=c+"|"+S+"|";for(let A=0;A<c;A++)E+=A===S?"*":s[A];return E};let y;if(u!=null){if(u>=c||b&&!tt(g[u],t))return null;y=[u]}else b?y=g.map((S,E)=>tt(S,t)?E:-1).filter(S=>S>=0):y=Array.from({length:c},(S,E)=>E);for(const S of q(y)){const E=r.get(h(S))??[],A=[],N=[];for(const O of E){if(O===e)continue;const V=[...O].map(L=>X(L)),U=f[S],W=V[S];if(!U||!W)continue;let j=0;if(U.cho!==W.cho&&j++,U.jung!==W.jung&&j++,U.jong!==W.jong&&j++,!(j<i||m(O)===p))if(w){const L=Pt(O,n,o)[S];L&&tt(L,a)?A.push(O):N.push(O)}else A.push(O)}if(!A.length)continue;const M=q(A)[0],B=[],I=new Set([p,m(M)]),P=w?N:A.filter(O=>O!==M);for(const O of q(P)){const V=m(O);if(!I.has(V)&&(I.add(V),B.push(O),B.length>=2))break}if(!w&&B.length<2)for(const O of q(E)){if(O===e||O===M)continue;const V=m(O);if(!I.has(V)&&(I.add(V),B.push(O),B.length>=2))break}if(!(B.length<2))return{question:e,distractors:[M,...B]}}return null}var Ol={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",loading:"\uBD88\uB7EC\uC624\uB294 \uC911",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."},vl={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],weekOrdinal:["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"],yearMonthCompact:"{{year}}.{{month}}",weekLabel:"{{ord}}\uC8FC",weekLabelCompact:"{{ord}}\uC8FC",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"},Ll={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"}},Rl={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},Il={selected:"\uC120\uD0DD\uB428"},Ml={placeholder:"\uC120\uD0DD"},Pl={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},kl={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"},xl={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"},Fl={cache:{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"}}}},jl={couponButton:"\uCFE0\uD3F0 \uC785\uB825"},$l={security:{password:{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."}}},Hl={settings:"\uC124\uC815",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",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",playSoundFor:"{{name}} \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",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",replaySound:"{{no}}\uBC88 \uB2E4\uC2DC \uB4E3\uAE30",replaySoundStop:"{{no}}\uBC88 \uB4E3\uAE30 \uBA48\uCDA4",done:"\uC644\uB8CC",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:{synthesizing:"\uC18C\uB9AC\uB97C \uB9CC\uB4E4\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026",preparing:"\uC18C\uB9AC\uB97C \uC900\uBE44\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026"}},Gl={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addButton:"\uAE30\uAE30 \uCD94\uAC00",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",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D"},visitHistory:{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"},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"},consent:{record:"\uB3D9\uC758 \uBC1B\uAE30",kinds:"\uBC1B\uC740 \uAC08\uB798",methodTitle:"\uBC1B\uC740 \uBC29\uBC95",sourceTitle:"\uC218\uC9D1 \uCD9C\uCC98",day:"\uBC1B\uC740 \uB0A0",note:"\uBA54\uBAA8",notePlaceholder:"\uC758\uB8B0\uAE30\uAD00 \uC774\uB984 \uB4F1 \u2014 \uBBFC\uAC10\uD55C \uB0B4\uC6A9\uC740 \uC801\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",submit:"\uC800\uC7A5\uD558\uAE30",allTaken:"\uC138 \uAC08\uB798\uB97C \uC774\uBBF8 \uB2E4 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBC1B\uC73C\uB824\uBA74 \uBA3C\uC800 \uCCA0\uD68C\uD558\uC138\uC694.",kind:{personal:"\uC77C\uBC18 \uAC1C\uC778\uC815\uBCF4",sensitive:"\uBBFC\uAC10\uC815\uBCF4(\uCCAD\uB825\xB7\uC9C4\uB2E8)",marketing:"\uAD11\uACE0\uC131 \uC815\uBCF4 \uC218\uC2E0"},method:{paper:"\uC11C\uBA74",verbal:"\uAD6C\uB450",electronic:"\uC804\uC790"},source:{self:"\uBCF8\uC778",guardian:"\uBCF4\uD638\uC790",referral:"\uC758\uB8B0\uAE30\uAD00"}}},Vl={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"}}}},Wl={input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9"},Ul={showN:"{{n}}\uAC1C\uC529"},Yl={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."}},zl={newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},Kl={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},ql={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",caption:"\uC720\uD615",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",copyItem:"\uD55C \uCE78 \uB354",copyItemAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uD55C \uCE78 \uB354",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",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"},thumbMore:"+{{count}}",replaceItem:"\uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePair:"\uB2E4\uB978 \uC30D\uC73C\uB85C",replaceItemAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePairAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uC30D\uC73C\uB85C",thumbMoreAria:"\uADF8 \uBC16 {{count}}\uCE78: {{words}}",pickForm:"\uB2E4\uB978 \uAF34\uB85C",pickFormAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C",pickFormBaseAria:"\uAE30\uBCF8\uD615 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C"},Jl={filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB09C\uC774\uB3C4",grade:"{{n}}\uB4F1\uAE09",age:"{{n}}\uC138",agePlus:"{{n}}\uC138 \uC774\uC0C1",ageRange:"{{from}}\uC138~{{to}}\uC138",difficultyInfoAge:"3\uC138~7\uC138: \uAC00\uC7A5 \uC26C\uC6B4 \uB0B1\uB9D0(1\uB4F1\uAE09)\uC744 \uB610\uB798\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoGrade:"2~4\uB4F1\uAE09: \uADF8\uBCF4\uB2E4 \uC5B4\uB824\uC6B4 \uB0B1\uB9D0\uC774\uACE0, \uB098\uC774\uB85C\uB294 \uB098\uB204\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",difficultyInfoNone:"\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAge:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC744 \uB098\uC774\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandGrade:"{{grade}}: {{ages}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeNamed:"{{ages}}: \uB098\uC774\uB85C \uB098\uB208 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",gradeNone:"\uC5C6\uC74C",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",field:"\uC758\uBBF8\uBC94\uC8FC",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"},Xl={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removePairFor:"{{name}} \uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30",removeWordFor:"{{name}} \uBE7C\uAE30"},Ql={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"}},Zl={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",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",other:"\uAE30\uD0C0"}},ei={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",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"}},ti={phonemeSelect:{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:["1\uB4F1\uAE09 : \uD559\uB839\uC804\uAE30\uC5D0 \uC2B5\uB4DD\uD558\uC5EC \uD3C9\uC0DD\uC5D0 \uAC78\uCCD0 \uC77C\uC0C1 \uC5B8\uC5B4\uC0DD\uD65C\uC744 \uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uC5B4\uD718","2\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 1-2\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","3\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 3-4\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","4\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 5-6\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","\uB4F1\uAE09\uC5C6\uC74C : \uAD6D\uB9BD\uAD6D\uC5B4\uC6D0 \uD45C\uC900 \uC5B4\uD718 \uC678 \uACE0\uBE48\uB3C4 \uC0DD\uD65C \uC5B4\uD718, \uC2E0\uC870\uC5B4 \uBC0F \uC678\uB798\uC5B4"],selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlyHighUsage:"\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},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."]},ni={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
2
2
  \uC2E0\uB8B0\uB97C \uC313\uACE0
3
- \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},ei={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},ti={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"},ni={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},oi={ariaLabel:"\uC120\uD0DD \uD0ED"},ri={ariaLabel:"\uD0ED"},ui={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},ai={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},li={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},ii={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},si={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"}},ci={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},di={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},fi={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"},gi={viewWords:"\uB0B1\uB9D0"},Ci={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},mi={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},pi={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},hi={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},yi={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},bi={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Si={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},wi={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},Ei={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},Ai={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},_i={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},Ti={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Di={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"},Bi={common:Dl,calendar:Bl,passCard:Nl,rating:Ol,colorPicker:vl,dropdown:Ll,accordion:Rl,header:Il,nav:Ml,settings:Pl,usage:kl,account:xl,training:Fl,customers:jl,payment:$l,coupons:Hl,visits:Gl,trainingType:Vl,myWordTable:Wl,keyWords:Ul,wordTable:Yl,wordSearch:zl,wordPrint:Kl,topic:ql,device:Jl,manager:Xl,wordPairs:Ql,footer:Zl,date:ei,wordData:ti,textField:ni,segmentedControl:oi,tabs:ri,fileUpload:ui,avatar:ai,myHomework:li,trainingStatus:ii,store:si,progress:ci,trainingMiss:di,table:fi,wordScore:gi,topBanner:Ci,datePicker:mi,report:pi,tooltip:hi,phonemeProfile:yi,bulkBar:bi,debug:Si,badge:wi,loader:Ei,soundCompass:Ai,breadcrumb:_i,board:Ti,promoBannerBg:Di},Ni={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",collapseFor:"Collapse {{name}}",expandFor:"Expand {{name}}",sortFor:"Sort {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount_one:"{{count}} like",likeCount_other:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount_one:"{{count}} download",downloadCount_other:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",loading:"Loading",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},Oi={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonthCompact:"{{short}}",weekLabel:"Week {{ord}}",weekLabelCompact:"W{{ord}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount_one:"{{count}} visit",visitCount_other:"{{count}} visits",statusCount:"{{count}} {{label}}",weekOrdinal:["1","2","3","4","5","6","7"]},vi={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"}},Li={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},Ri={selected:"selected"},Ii={placeholder:"Select"},Mi={collapse:"Collapse",expand:"Expand"},Pi={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},ki={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel_one:"{{label}}, {{count}} notification inside",badgeInsideLabel_other:"{{label}}, {{count}} notifications inside"},xi={cache:{cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"}}}},Fi={couponButton:"Enter Coupon"},ji={security:{password:{currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."}}},$i={settings:"Settings",filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions_one:"{{n}} question",countQuestions_other:"{{n}} questions",countSentences_one:"{{n}} sentence",countSentences_other:"{{n}} sentences",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playSoundFor:"Play {{name}}",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",replaySound:"Replay item {{no}}",replaySoundStop:"Stop item {{no}}",done:"Done",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{synthesizing:"Preparing the sound\u2026",preparing:"Preparing sound\u2026"}},Hi={totalCount:" customers",loadError:"Failed to load list",device:{title:"Hearing Devices",addButton:"Add device",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",historyTitle:"Hearing device history"},schedule:{registerTitle:" Register Schedule"},visitHistory:{empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"},consent:{record:"Record consent",kinds:"Kinds given",methodTitle:"How it was given",sourceTitle:"Who gave it",day:"Date given",note:"Note",notePlaceholder:"Referring clinic and the like \u2014 do not write anything sensitive",submit:"Save",allTaken:"All three kinds are already on record. Revoke one first to record it again.",kind:{personal:"General personal data",sensitive:"Sensitive data (hearing, diagnosis)",marketing:"Marketing messages"},method:{paper:"On paper",verbal:"Spoken",electronic:"Electronic"},source:{self:"The customer",guardian:"A guardian",referral:"A referring body"}}},Gi={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Vi={input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply"},Wi={showN:"Show {{n}}"},Ui={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."}},Yi={newBadge:"Newly created",publishedBadge:"Published",sharedBadge:"Shared"},zi={title:"Key Words",empty:"No key words available."},Ki={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",caption:"Form",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",copyItem:"Duplicate",copyItemAria:"Duplicate the word in cell {{n}}",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount_one:"{{count}} word",itemCount_other:"{{count}} words",deleteAriaLabel:"Delete {{name}}",viewLabel:"View as",sortLabel:"Sort by",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},publisherFilter:"Show only tables by {{name}}",groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved_one:"Saved {{count}} mark for {{name}}.",saved_other:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage_one:"Builds a new table from the {{count}} cell {{name}} got wrong or partial. Correct ones are left out.",reviewMessage_other:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated_one:"Created \u201C{{name}}\u201D \u2014 {{count}} cell.",reviewCreated_other:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage_one:"You marked {{count}} cell but have not saved. Leaving discards it.",discardMessage_other:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"},thumbMore:"+{{count}}",replaceItem:"Other words",replacePair:"Other pairs",replaceItemAria:"Swap cell {{n}} only",replacePairAria:"Swap pair {{n}} only",thumbMoreAria_one:"1 more cell: {{words}}",thumbMoreAria_other:"{{count}} more cells: {{words}}",pickForm:"Other forms",pickFormAria:"Change the form in cell {{n}}",pickFormBaseAria:"Change the form of the base word"},qi={filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",agePlus:"Age {{n}}+",ageRange:"Age {{from}}\u2013{{to}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",difficultyInfoBandAge:"{{ages}}: {{grade}} words, split by age.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} words.",difficultyInfoBandGrade:"{{grade}}: words for {{ages}}.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size"},Ji={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removePairFor:"Remove the pair {{name}}",removeWord:"Remove word",removeWordFor:"Remove {{name}}"},Xi={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"}},Qi={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant",other:"Other"}},Zi={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"}},es={phonemeSelect:{vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:["Level 1 \u2014 everyday vocabulary acquired before school age and used for life","Level 2 \u2014 difficulty of grades 1\u20132","Level 3 \u2014 difficulty of grades 3\u20134","Level 4 \u2014 difficulty of grades 5\u20136","No level \u2014 frequent everyday words outside the national standard list, plus coinages and loanwords"],selectLabel:"Select",onlyHasImage:"Only words with images",onlyHighUsage:"High-use words only",onlySameStructure:"Only same phoneme structure"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},ts={lead:`IHAB builds trust
3
+ \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},oi={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},ri={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"},ui={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},ai={ariaLabel:"\uC120\uD0DD \uD0ED"},li={ariaLabel:"\uD0ED"},ii={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},si={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},ci={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},di={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},fi={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"}},gi={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},Ci={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},mi={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"},pi={viewWords:"\uB0B1\uB9D0"},hi={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},yi={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},bi={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},Si={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},wi={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},Ei={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Ai={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},Ti={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},_i={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},Di={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},Bi={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},Ni={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Oi={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"},vi={common:Ol,calendar:vl,passCard:Ll,rating:Rl,colorPicker:Il,dropdown:Ml,accordion:Pl,header:kl,nav:xl,settings:Fl,usage:jl,account:$l,training:Hl,customers:Gl,payment:Vl,coupons:Wl,visits:Ul,trainingType:Yl,myWordTable:zl,keyWords:Kl,wordTable:ql,wordSearch:Jl,wordPrint:Xl,topic:Ql,device:Zl,manager:ei,wordPairs:ti,footer:ni,date:oi,wordData:ri,textField:ui,segmentedControl:ai,tabs:li,fileUpload:ii,avatar:si,myHomework:ci,trainingStatus:di,store:fi,progress:gi,trainingMiss:Ci,table:mi,wordScore:pi,topBanner:hi,datePicker:yi,report:bi,tooltip:Si,phonemeProfile:wi,bulkBar:Ei,debug:Ai,badge:Ti,loader:_i,soundCompass:Di,breadcrumb:Bi,board:Ni,promoBannerBg:Oi},Li={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",collapseFor:"Collapse {{name}}",expandFor:"Expand {{name}}",sortFor:"Sort {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount_one:"{{count}} like",likeCount_other:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount_one:"{{count}} download",downloadCount_other:"{{count}} downloads",descriptionFor:"About {{name}}",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",loading:"Loading",playFor:"Play {{name}}",pauseFor:"Pause {{name}}",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},Ri={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonthCompact:"{{short}}",weekLabel:"Week {{ord}}",weekLabelCompact:"W{{ord}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount_one:"{{count}} visit",visitCount_other:"{{count}} visits",statusCount:"{{count}} {{label}}",weekOrdinal:["1","2","3","4","5","6","7"]},Ii={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"}},Mi={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},Pi={selected:"selected"},ki={placeholder:"Select"},xi={collapse:"Collapse",expand:"Expand"},Fi={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},ji={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}",badgeInsideLabel_one:"{{label}}, {{count}} notification inside",badgeInsideLabel_other:"{{label}}, {{count}} notifications inside"},$i={cache:{cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"}}}},Hi={couponButton:"Enter Coupon"},Gi={security:{password:{currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."}}},Vi={settings:"Settings",filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions_one:"{{n}} question",countQuestions_other:"{{n}} questions",countSentences_one:"{{n}} sentence",countSentences_other:"{{n}} sentences",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playSoundFor:"Play {{name}}",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",previewFor:"Preview {{name}}",stopFor:"Stop {{name}}",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",replaySound:"Replay item {{no}}",replaySoundStop:"Stop item {{no}}",done:"Done",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{synthesizing:"Preparing the sound\u2026",preparing:"Preparing sound\u2026"}},Wi={totalCount:" customers",loadError:"Failed to load list",device:{title:"Hearing Devices",addButton:"Add device",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",historyTitle:"Hearing device history"},schedule:{registerTitle:" Register Schedule"},visitHistory:{empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"},consent:{record:"Record consent",kinds:"Kinds given",methodTitle:"How it was given",sourceTitle:"Who gave it",day:"Date given",note:"Note",notePlaceholder:"Referring clinic and the like \u2014 do not write anything sensitive",submit:"Save",allTaken:"All three kinds are already on record. Revoke one first to record it again.",kind:{personal:"General personal data",sensitive:"Sensitive data (hearing, diagnosis)",marketing:"Marketing messages"},method:{paper:"On paper",verbal:"Spoken",electronic:"Electronic"},source:{self:"The customer",guardian:"A guardian",referral:"A referring body"}}},Ui={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},Yi={input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply"},zi={showN:"Show {{n}}"},Ki={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."}},qi={newBadge:"Newly created",publishedBadge:"Published",sharedBadge:"Shared"},Ji={title:"Key Words",empty:"No key words available."},Xi={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",caption:"Form",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",copyItem:"Duplicate",copyItemAria:"Duplicate the word in cell {{n}}",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount_one:"{{count}} word",itemCount_other:"{{count}} words",deleteAriaLabel:"Delete {{name}}",viewLabel:"View as",sortLabel:"Sort by",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},publisherFilter:"Show only tables by {{name}}",groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse they appear when you hover the cell; with a keyboard, when focus reaches it.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved_one:"Saved {{count}} mark for {{name}}.",saved_other:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage_one:"Builds a new table from the {{count}} cell {{name}} got wrong or partial. Correct ones are left out.",reviewMessage_other:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated_one:"Created \u201C{{name}}\u201D \u2014 {{count}} cell.",reviewCreated_other:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage_one:"You marked {{count}} cell but have not saved. Leaving discards it.",discardMessage_other:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"},thumbMore:"+{{count}}",replaceItem:"Other words",replacePair:"Other pairs",replaceItemAria:"Swap cell {{n}} only",replacePairAria:"Swap pair {{n}} only",thumbMoreAria_one:"1 more cell: {{words}}",thumbMoreAria_other:"{{count}} more cells: {{words}}",pickForm:"Other forms",pickFormAria:"Change the form in cell {{n}}",pickFormBaseAria:"Change the form of the base word"},Qi={filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",agePlus:"Age {{n}}+",ageRange:"Age {{from}}\u2013{{to}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",difficultyInfoBandAge:"{{ages}}: {{grade}} words, split by age.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} words.",difficultyInfoBandGrade:"{{grade}}: words for {{ages}}.",difficultyInfoBandAgeNamed:"{{ages}}: words split by age.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size"},Zi={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removePairFor:"Remove the pair {{name}}",removeWord:"Remove word",removeWordFor:"Remove {{name}}"},es={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"}},ts={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant",other:"Other"}},ns={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"}},os={phonemeSelect:{vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",countLabel:"Number of phonemes",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:["Level 1 \u2014 everyday vocabulary acquired before school age and used for life","Level 2 \u2014 difficulty of grades 1\u20132","Level 3 \u2014 difficulty of grades 3\u20134","Level 4 \u2014 difficulty of grades 5\u20136","No level \u2014 frequent everyday words outside the national standard list, plus coinages and loanwords"],selectLabel:"Select",onlyHasImage:"Only words with images",onlyHighUsage:"High-use words only",onlySameStructure:"Only same phoneme structure"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},rs={lead:`IHAB builds trust
4
4
  through sound
5
- and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",bizNo:"Business no.",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Sicheong-gil, Chuncheon, Gangwon, Korea",bizNoValue:"526-81-02926"},ns={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},os={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount_one:"Downloading {{n}} word",downloadingCount_other:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},rs={clearAriaLabel:"Clear input"},us={ariaLabel:"Select tab"},as={ariaLabel:"Tabs"},ls={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},is={ariaLabel:"User avatar"},ss={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"}},cs={weekly:{title:"Weekly Training",daily:"Daily Listening"},homework:{title:"Homework Progress",totalRate:"Overall rate",done:"Done"},today:{tooltipTotal:"Total",tooltipDone:"Done"},visit:{title:"Linked Visit Records"},detail:"Details",detailFor:"{{name}} details"},ds={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"}},fs={steps:"Step {{current}} of {{total}}"},gs={skippedOnly_one:"{{n}} older record was excluded \u2014 it does not say what was answered.",skippedOnly_other:"{{n}} older records were excluded \u2014 they do not say what was answered.",runs_one:"{{count}} run",runs_other:"{{count}} runs"},Cs={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},ms={viewWords:"Words"},ps={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},hs={chooseDate:"Choose a date",selectYear:"Select year",selectMonth:"Select month"},ys={previewRegion:"Report preview \u2014 scrollable sideways"},bs={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},Ss={place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},ws={clearSelection:"Clear selection"},Es={showResult:"Show {{type}} result"},As={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},_s={loading:"Loading"},Ts={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},Ds={ariaLabel:"Breadcrumb"},Bs={empty:"No items yet."},Ns={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"},Os={common:Ni,calendar:Oi,passCard:vi,rating:Li,colorPicker:Ri,dropdown:Ii,accordion:Mi,header:Pi,nav:ki,settings:xi,usage:Fi,account:ji,training:$i,customers:Hi,payment:Gi,coupons:Vi,visits:Wi,trainingType:Ui,myWordTable:Yi,keyWords:zi,wordTable:Ki,wordSearch:qi,wordPrint:Ji,topic:Xi,device:Qi,manager:Zi,wordPairs:es,footer:ts,date:ns,wordData:os,textField:rs,segmentedControl:us,tabs:as,fileUpload:ls,avatar:is,myHomework:ss,trainingStatus:cs,store:ds,progress:fs,trainingMiss:gs,table:Cs,wordScore:ms,topBanner:ps,datePicker:hs,report:ys,tooltip:bs,phonemeProfile:Ss,bulkBar:ws,debug:Es,badge:As,loader:_s,soundCompass:Ts,breadcrumb:Ds,board:Bs,promoBannerBg:Ns};const vs="0.427.0",Ls=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],oo="ko",Rs="ihab_display_language";function jr(){if(typeof window>"u")return oo;try{const e=localStorage.getItem(Rs);if(e&&Ls.some(t=>t.code===e))return e}catch{}return oo}function $r(e){try{document.documentElement.lang=e}catch{}}Be.on("languageChanged",$r),$r(jr()),Be.use(Me.initReactI18next).init({resources:{ko:{translation:Bi},en:{translation:Os}},lng:jr(),fallbackLng:oo,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Hr=new Set(["field"]),ro="none";function Is(e){return e==null||String(e).trim()===""}function Gr(e){return typeof e!="string"?!1:Sn.includes(e)||e===ro||Wr.test(e)||Ur.test(e)}function uo(e,t,n){if(!e)return!0;const o=e instanceof Set?e:new Set(e);if(o.size===0)return!0;if(n!=null){if(o.has(`age${n}`))return!0;for(const r of o){const u=Yr(r);if(u!=null&&n>=u)return!0}}return Is(t)?o.has(ro):o.has(String(t))}const Ct=["grade","syllables","pos","wordType","field"],Sn=["1","2","3","4","5"],Vr=99,Wr=/^age([1-9]\d?)$/,Ur=/^age([1-9]\d?)plus$/;function Ms(e){const t=Wr.exec(e);return t?Number(t[1]):null}function Yr(e){const t=Ur.exec(e);return t?Number(t[1]):null}function zr(e){if(!Array.isArray(e)||e.length===0||e.length>Sn.length)return null;const t=[];let n=1;for(let o=0;o<e.length;o++){const r=e[o];if(!r||r.grade!==o+1||typeof r.showAge!="boolean")return null;if(o===e.length-1){if(r.maxAge!==null)return null;t.push({grade:r.grade,minAge:n,maxAge:null,showAge:r.showAge});break}const u=r.maxAge;if(typeof u!="number"||!Number.isInteger(u)||u<n||u>=Vr)return null;t.push({grade:r.grade,minAge:n,maxAge:u,showAge:r.showAge}),n=u+1}return t}function Ps(e){const t=[];for(const n of e){if(!n.showAge){t.push(String(n.grade));continue}if(n.maxAge==null){t.push(`age${n.minAge}plus`);continue}for(let o=n.minAge;o<=n.maxAge;o++)t.push(`age${o}`)}return t}const ks=["1","2","3","4","5+"],xs=["noun","verb","modifier"],Fs=["native","sino","foreign","mixed"],js={grade:[],syllables:ks,pos:xs,wordType:Fs,field:[]},$s=(e,t)=>e==="grade"?Gr(t):js[e].includes(t),Hs={noun:["\uBA85","\uC218"],verb:["\uB3D9","\uD615"],modifier:["\uBD80","\uAD00"]},Gs={native:"\uACE0\uC720",sino:"\uD55C\uC790",foreign:"\uC678\uB798",mixed:"\uD63C\uC885"},Vs={grade:["\uB09C\uC774\uB3C4 \uB4F1\uAE09","\uB4F1\uAE09","Grade","Difficulty"]},Ws={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)"]}},ao=new Map;try{Be.store?.on?.("added",()=>ao.clear())}catch{}function kt(e){const t=ao.get(e);if(t)return t;const n=Be.getFixedT(e),o={section:{grade:n("wordSearch.filter.difficulty","\uB09C\uC774\uB3C4"),syllables:n("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),pos:n("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:n("wordSearch.filter.wordType","\uC720\uD615"),field:n("wordSearch.filter.field","\uC758\uBBF8\uBC94\uC8FC")},value:{grade:{...Object.fromEntries(Sn.map(r=>[r,n("wordSearch.filter.grade",{n:Number(r),defaultValue:`${r}\uB4F1\uAE09`})])),...Object.fromEntries(Kr.map(r=>[`age${r}`,n("wordSearch.filter.age",{n:r,defaultValue:`${r}\uC138`})])),...Object.fromEntries(Kr.map(r=>[`age${r}plus`,n("wordSearch.filter.agePlus",{n:r,defaultValue:`${r}\uC138 \uC774\uC0C1`})])),[ro]:n("wordSearch.filter.gradeNone","\uC5C6\uC74C")},syllables:{...Object.fromEntries(["1","2","3","4"].map(r=>[r,n("wordSearch.filter.syllable",{n:Number(r),defaultValue:`${r}\uC74C\uC808`})])),"5+":n("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1")},pos:{noun:n("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)"),verb:n("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)"),modifier:n("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")},wordType:{native:n("wordSearch.filter.type.native","\uACE0\uC720\uC5B4"),sino:n("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4"),foreign:n("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4"),mixed:n("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")},field:{}}};return o.reverse=Object.fromEntries(Ct.map(r=>{const u=new Map;for(const[a,i]of Object.entries(o.value[r]))u.has(i)||u.set(i,a);return[r,u]})),ao.set(e,o),o}const Kr=Array.from({length:Vr},(e,t)=>t+1),wn=()=>Array.from(new Set([Be.language,"ko","en"].filter(e=>!!e))),Us="highUsage";function Ys(e){if(e===Us)return!0;for(const t of wn())if(Be.getFixedT(t)("wordPairs.filter.onlyHighUsage","\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC")===e)return!0;return!1}function xt(e){if(Ct.includes(e))return e;for(const t of wn()){const n=kt(t);for(const o of Ct)if(n.section[o]===e)return o}for(const t of Ct)if(Vs[t]?.includes(e))return t;return null}function nt(e,t){if(Hr.has(e)||$s(e,t))return t;for(const n of wn()){const o=kt(n).reverse[e].get(t);if(o)return o}for(const[n,o]of Object.entries(Ws[e]??{}))if(o.includes(t))return n;if(e==="grade"&&zs.test(t.trim()))return null;if(e==="grade"||e==="syllables"){const n=parseInt(t.replace(/\D/g,""),10);if(Number.isFinite(n)&&n>=1)return e==="grade"?n<=Sn.length?String(n):null:n>=5?"5+":String(n)}return null}const zs=/(^age\s*\d)|((세|살|years?\s*old|yrs?)(\s*(이상|\+|or\s+(older|above|more)))?$)/i;function Ks(e,t,n=Be.language){return kt(n).value[e][t]??t}const qs=e=>Array.isArray(e)?e.filter(t=>typeof t=="string"):typeof e=="string"&&e?[e]:[];function lo(e){const t={};for(const[n,o]of Object.entries(e??{})){const r=xt(n);if(r)for(const u of qs(o)){const a=nt(r,u);if(!a)continue;const i=t[r]??(t[r]=[]);i.includes(a)||i.push(a)}}return t}function io(e,t=Be.language){const n=kt(t||"ko"),o={};for(const r of Ct){const u=(e?.[r]??[]).map(a=>n.value[r][a]??(Hr.has(r)?a:void 0)).filter(a=>!!a);u.length&&(o[n.section[r]]=u)}return o}function Js(e,t=Be.language){const n={};for(const[o,r]of Object.entries(e??{}))xt(o)||(n[o]=r);return{...n,...io(lo(e),t)}}function Xs(e){for(const t of wn()){const n=kt(t);if(Ct.some(o=>n.section[o]===e))return t}return Be.language||"ko"}let En=null,qr=null,Jr=null;function Qs(){const e=hn();if(e&&e.entries.length>0){const t=Ot();if(En&&qr===e&&Jr===t)return En;const n=new Set,o=[];for(const r of e.entries)!r.word||n.has(r.word)||(n.add(r.word),o.push({w:r.word,s:r.syllables,p:t?.[r.word]?[...t[r.word].cho??[],...t[r.word].jung??[],...t[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return En=o,qr=e,Jr=t,En}return[]}const je=new Proxy([],{get(e,t){const n=Qs(),o=n[t];return typeof o=="function"?o.bind(n):o}});function so(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function Oe(e,t){if(t>=e.length)return q(e);if(t===0)return[];const n=e.slice();for(let o=0;o<t;o++){const r=o+Math.floor(Math.random()*(n.length-o)),u=n[o];n[o]=n[r],n[r]=u}return n.slice(0,t)}let co=null,Xr=null;function Ye(){const e=hn();if(co&&Xr===e)return co;const t=new Map;for(const n of je)n.w&&t.set(n.w,n.pron);return co=t,Xr=e,t}function ce(e){return Ye().get(e)||e}function An(e,t,n=new Set){const o=[];for(const r of q(e)){if(o.length>=t)break;const u=ce(r);n.has(u)||(n.add(u),o.push(r))}return o}let Zs=0;function Ce(e){return`${e}-rt-${++Zs}`}function mt(e){const t=Or();if(!t||t.total===0){const r=new Set;for(const u of e)r.add(u);return r}const n=mn(),o=new Set;for(const r of e)n.has(r)&&o.add(r);return o}const _n=new Map;let Qr=null,Zr=null,eu=null;function Ft(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function fo(e){const t=Array.isArray(e.choseong)&&e.choseong.length===0?"[]":Ft(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),r=n?`${Ft(n.cho)}/${Ft(n.jung)}/${Ft(n.jong)}/${n.jongNone?"N":""}/${o}`:"",u=Ft(e.grade);return`${e.difficulty??""}|${t}|${r}|${e.excludeNoImage?"1":"0"}|${e.count??""}|x${e.contrastCount??1}|${e.fullCount?"F":""}|s${e.sameStructureOnly===!1?"0":"1"}|v${e.phonemeView==="pron"?"p":"c"}|g${u}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}const go=new Map;function ec(e){return fo({...e,count:void 0,choicesPerItem:void 0,fullCount:!1})}async function Ae(e){const t=hn(),n=Ot(),o=e.excludeNoImage?mn():null;(t!==Qr||n!==Zr||e.excludeNoImage&&o!==eu)&&(_n.clear(),go.clear(),Qr=t,Zr=n,eu=o);const r=fo(e);return _n.has(r)||_n.set(r,tc(e)),_n.get(r)}function tu(e){if(!e)return null;const t=a=>a==null?null:Array.isArray(a)?a.length?a:null:[a],n=t(e.cho),o=t(e.jung),r=!!e.jongNone,u=r?null:t(e.jong);return n||o||u||r?r&&!n&&!o&&!u?a=>Fa(a):a=>$a(a,{cho:n,jung:o,jong:u,jongNone:r}):null}function nu(e){const t=e.grade&&e.grade.length>0?new Set(e.grade):null,n=e.composition??null,o=n?.syllable!=null?new Set(Array.isArray(n.syllable)?n.syllable:[n.syllable]):null,r=n?[tu(n),o?a=>o.has(Bt(a)):null].filter(a=>a!=null):[];if(!t&&r.length===0)return null;const u=e.phonemeView==="pron";return a=>{if(!uo(t,a.grade,a.age))return!1;if(r.length===0)return!0;const i=u?ce(a.w):a.w;return r.every(s=>s(i))}}async function tc(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:r=null,excludeNoImage:u=!1}=e,a=e.grade&&e.grade.length>0?new Set(e.grade):null,i=e.sameStructureOnly??!0,s=e.phonemeView==="pron"?"pron":"char",c=Math.max(1,e.contrastCount??1),f=t==="cho"||t==="jung"||t==="jong",g=f&&c>=2,m=t==="count",p=n?new Set(Array.isArray(n)?n:[n]):null,b=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,w=o?[tu(o),b?R=>b.has(Bt(R)):null].filter(R=>R!=null):[],h=t==="random"||t===null,y=h||m,S=h||g||m;let E=je.filter(R=>!R.w||!uo(a,R.grade,R.age)?!1:S?!0:Array.isArray(R.p)&&R.p.length>0);p&&(E=E.filter(R=>{for(const x of p)if(ka(R.w,x))return!0;return!1})),w.length>0&&(E=E.filter(R=>{const x=s==="pron"?ce(R.w):R.w;return w.every(F=>F(x))})),r&&(E=E.filter(R=>R.w[0]===r));let A;if(u){const R=new Set;for(const x of E)if(R.add(x.w),Array.isArray(x.p))for(const F of x.p)R.add(F);if(y)for(const x of je)x.w&&R.add(x.w);A=mt(R)}else{const R=new Set;for(const x of E)if(R.add(x.w),Array.isArray(x.p))for(const F of x.p)R.add(F);if(y)for(const x of je)x.w&&R.add(x.w);A=R}let N=null;if(g){const R=new Set;for(const x of je)x.w&&R.add(x.w);N=u?mt(R):R}const M=E.filter(R=>A.has(R.w)),B=600,I=Array.from(A),P=I.length>B?Oe(I,B):I,O=m&&o!=null&&(se(o.cho)||se(o.jung)||se(o.jong)),V=2500,U=new Map;if(m&&!O&&c>=2){for(const R of I){const x=Bt(R),F=U.get(x);F?F.push(R):U.set(x,[R])}for(const[R,x]of U)x.length>V&&U.set(R,Oe(x,V))}const W=Ma();let j=null;if(O){const R=ec(e),x=u?mn():null,F=go.get(R);j=F&&F.imageOkSet===x?F.map:Cl(o,I,W,i,s,ce),go.set(R,{imageOkSet:x,map:j})}const L=500,Y=1500,fe=e.fullCount?M:t==="random"?M.length>L?Oe(M,L):M:M.length>Y?Oe(M,Y):M,ie=Ot(),Se=[];for(const R of fe){let x;const F=ce(R.w);if(g)x=Ga(R.w,t,c,N,24).filter(J=>ce(J)!==F);else if(m)O?x=(j.get(R.w)??[]).filter(J=>ce(J)!==F):c<=1?x=xr(R.w,ie,{okSet:A,pronOf:ce,decompOf:W,sameStructureOnly:!1}):x=(U.get(Bt(R.w))??[]).filter(J=>{if(J===R.w||ce(J)===F)return!1;const $=Va(F,ce(J));return c>=5?$>=5:$===c});else if(h){const J=$=>$!==R.w&&$.length===R.w.length&&ce($)!==F;if(e.fullCount){const $=Math.max(1,(e.choicesPerItem??3)-1),Le=[],ut=new Set;for(const Ke of P){if(!J(Ke))continue;const qe=ce(Ke);if(!ut.has(qe)&&(ut.add(qe),Le.push(Ke),Le.length>=$))break}x=Le}else x=P.filter(J)}else{const J=t;x=xr(R.w,ie,{kind:J,okSet:A,pronOf:ce,decompOf:W,sameStructureOnly:!1}),x.length===0&&(x=(P.length>30?Oe(P,30):P).filter($=>$!==R.w&&Pa(R.w,$)===t&&ce($)!==F))}if(i&&x.length>0&&(f||m&&!O)){const J=W(ce(R.w));x=x.filter($=>!to(J,W(ce($))))}x.length!==0&&Se.push({word:R,usable:x})}return Se}async function ou(e,t){const{choicesPerItem:n=3,count:o=10}=t,r=n-1,u=(await Ae(t)).filter(i=>i.usable.length>=r),a=[];for(const i of q(u)){if(a.length>=o)break;const s=An(i.usable,r);if(s.length<r)continue;const c=q([i.word.w,...s]);a.push({id:Ce(e+"-item"),index:a.length+1,word:i.word.w,syllables:i.word.s,choices:c,answerIndex:c.indexOf(i.word.w)})}return a}async function nc(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Ae({...e,difficulty:null});if(r.length<t)return[];const u=e.composition??null,a=[],i=q([...r]);for(const s of i){if(a.length>=n)break;const c=s.word.w,f=[...s.word.pron||c],g=u&&bn(u)?f.filter(h=>{const y=X(h);return!!y&&tt(y,u)}):[],m=so(g.length?g:f);if(!m)continue;const p=r.filter(h=>h.word.w!==c&&h.word.s===s.word.s&&!(h.word.pron||h.word.w).includes(m)&&h.word.pron!==s.word.pron);if(p.length<o)continue;const b=An(p.map(h=>h.word.w),o);if(b.length<o)continue;const w=q([c,...b]);a.push({id:Ce("HPI-item"),index:a.length+1,targetSyllable:m,word:c,choices:w,answerIndex:w.indexOf(c)})}return a}async function oc(e){const{count:t=10}=e,n=(await Ae(e)).filter(u=>u.usable.length>=1);if(!n.length)return[];const o=n.length>=t?Oe(n,t):q(Array.from({length:t},(u,a)=>n[a%n.length])),r=q(Array.from({length:t},(u,a)=>a<Math.ceil(t/2)));return o.map((u,a)=>{const i=r[a];let s;if(i)s=[u.word.w,u.word.w];else{const c=so(u.usable);s=Math.random()<.5?[u.word.w,c]:[c,u.word.w]}return{id:Ce("SOD-item"),index:a+1,word:u.word.w,pair:s,same:i}})}async function rc(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Ae({...e,difficulty:null});if(r.length<t+1)return[];const u=r.map(m=>m.word.w),a=new Map(r.map(m=>[m.word.w,m.word.pron])),i=m=>(a.get(m)||m)[0]??"",s={};for(const m of r){const p=i(m.word.w);p&&(s[p]||(s[p]=[]),s[p].push(m.word.w))}const c=Object.entries(s).filter(([,m])=>new Set(m.map(p=>a.get(p)||p)).size>=2).map(([m])=>m);if(c.length===0)return[];const f=[],g=q([...c]);for(let m=0;f.length<n&&m<n*4;m++){const p=g[m%g.length],b=s[p];if(b.length<2)continue;const w=q([...b]),h=w[0],y=a.get(h)||h,S=w.find(B=>B!==h&&(a.get(B)||B)!==y);if(!h||!S)continue;const E=a.get(S)||S,A=u.filter(B=>i(B)!==p&&B!==h&&B!==S&&B.length===S.length&&(a.get(B)||B)!==E);if(A.length<o)continue;const N=An(A,o);if(N.length<o)continue;const M=q([S,...N]);f.push({id:Ce("SWS-item"),index:f.length+1,sourceWord:h,targetSyllable:p,word:S,choices:M,answerIndex:M.indexOf(S)})}return f}function ru(e,t,n){const o=Ye(),r=s=>o.get(s)||s,u=(s,c)=>{const f=[...s],g=[...c];if(f.length!==g.length)return-1;let m=-1;for(let p=0;p<f.length;p++)if(f[p]!==g[p]){if(m>=0)return-1;m=p}return m},a=e.map(s=>({e:s,swaps:s.usable.filter(c=>!!c&&u(s.word.w,c)>=0&&r(c)!==r(s.word.w))})).filter(s=>s.swaps.length>0),i=[];for(const{e:s,swaps:c}of q(a)){if(i.length>=t)break;const f=so(c)??"",g=[...s.word.w],m=[...f],p=u(s.word.w,f),b=An(s.usable.filter(w=>w&&w!==f),2,new Set([r(f),r(s.word.w)]));b.length<2||i.push({id:Ce(n),index:i.length+1,word:s.word.w,original:s.word.w,changed:f,changedFrom:p>=0?g[p]:"",changedTo:p>=0?m[p]:"",distractors:b})}return i}async function uu(e,t,n){const{count:o=10}=t,r=Ye(),u=je.filter(b=>b.w&&b.s===e),a=t.excludeNoImage?mt(u.map(b=>b.w)):null,i=a?u.filter(b=>a.has(b.w)):u,s=new Set(i.map(b=>b.w)),c=_l(s),f=t.phonemeView??"char",g=t.composition??null,m=nu(t),p=[];for(const b of q(i)){if(p.length>=o)break;if(m&&!m(b))continue;const w=Tl(b.w,g,r,f,c,null,null);if(!w)continue;const h=w.distractors[0],y=[...b.w],S=[...h],E=y.findIndex((A,N)=>A!==S[N]);p.push({id:Ce(n),index:p.length+1,word:b.w,original:b.w,changed:h,changedFrom:E>=0?y[E]:"",changedTo:E>=0?S[E]:"",distractors:w.distractors.slice(1)})}return p}async function uc(e){return uu(2,e,"CS2-item")}async function ac(e){return uu(3,e,"CS3-item")}async function lc(e){const t=(await Ae({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return ru(t,e.count??10,"CP1-item")}async function ic(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await Ae({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return ru(n,e.count??10,"CP2-item")}async function sc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(o=>o.word.s===2);return Oe(n,t).map((o,r)=>({id:Ce("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function cc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(o=>o.word.s===3);return Oe(n,t).map((o,r)=>({id:Ce("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}function Co(e){const t=je.map(n=>n.w);return e.excludeNoImage?mt(t):new Set(t)}async function dc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(i=>i.word.s===2),o=Ye(),r=Co(e),u=e.phonemeView??"char",a=[];for(const i of q(n)){if(a.length>=t)break;const s=bl(i.word.w,e.composition??null,o,u,r);if(!s)continue;const[c,...f]=s.distractors,g=[...i.word.w],m=g[0]===c?g[1]:g[0];a.push({id:Ce("D2-item"),index:a.length+1,original:i.word.w,word:i.word.w,dropped:m,missingResult:c,distractors:f})}return a}async function fc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(i=>i.word.s===3),o=Ye(),r=Co(e),u=e.phonemeView??"char",a=[];for(const i of q(n)){if(a.length>=t)break;const s=Sl(i.word.w,e.composition??null,o,u,r);if(!s)continue;const[c,...f]=s.distractors,g=[...i.word.w];let m="";for(let p=0;p<g.length;p++)if(g.filter((b,w)=>w!==p).join("")===c){m=g[p];break}a.push({id:Ce("D3-item"),index:a.length+1,original:i.word.w,word:i.word.w,dropped:m,missingResult:c,distractors:f})}return a}async function gc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(i=>i.word.s>=3),o=Ye(),r=Co(e),u=e.phonemeView??"char",a=[];for(const i of q(n)){if(a.length>=t)break;const s=wl(i.word.w,e.composition??null,o,u,r);if(!s)continue;const[c,...f]=s.distractors,g=i.word.w,m=s.dropped??(g.startsWith(c)?g.slice(c.length):g.endsWith(c)?g.slice(0,g.length-c.length):"");a.push({id:Ce("DPC-item"),index:a.length+1,original:g,word:g,dropped:m,missingResult:c,distractors:f})}return a}async function Cc(e){const{count:t=10}=e,n=(await Ae({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,r)=>{const u=Oe(n,3);return{id:Ce("LRO-item"),index:r+1,sequence:u,choices:q(u)}})}function Tn(e,t,n){const o=je.filter(i=>i.w&&i.s===e),r=t.excludeNoImage?mt(o.map(i=>i.w)):null,u=nu(t),a=[];for(const i of o)if(!(r&&!r.has(i.w))&&!(u&&!u(i))){if(n){const s=X(i.w);if(!s||!n(s))continue}a.push(i)}return a}function mc(e){const t=Tn(1,e,yn.MERGE_2_PHONEMES.syllable);return Oe(t,e.count??10).map((n,o)=>{const r=X(n.w);return{id:Ce("M2P-item"),index:o+1,parts:[ge[r.cho],Ee[r.jung]],answer:n.w,word:n.w}})}function pc(e){const t=Tn(1,e,yn.MERGE_3_PHONEMES.syllable);return Oe(t,e.count??10).map((n,o)=>{const r=X(n.w);return{id:Ce("M3P-item"),index:o+1,parts:[ge[r.cho],Ee[r.jung],Ne[r.jong]],answer:n.w,word:n.w}})}function hc(e){const t=yn.DROP_FINAL_CONSONANT_FROM_1SYLL,n=Tn(t.syllables,e,t.syllable),o=Ye(),r=[];for(const u of q(n)){if(r.length>=(e.count??10))break;const a=El(u.w,null,o);if(!a)continue;const[i,...s]=a.distractors;r.push({id:Ce("DFC-item"),index:r.length+1,original:u.w,word:u.w,result:i,distractors:s})}return r}function yc(e){const t=yn.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=Tn(t.syllables,e,t.syllable),o=Ye(),r=[];for(const u of q(n)){if(r.length>=(e.count??10))break;const a=Al(u.w,null,o);if(!a)continue;const i=X(o.get(u.w)||u.w);if(!i)continue;const[s,...c]=a.distractors;r.push({id:Ce("RCP-item"),index:r.length+1,base:u.w,word:u.w,missingConsonant:ge[i.cho],remaining:s,distractors:c})}return r}const Dn=new Map;let au=null,lu=null,iu=null,mo=0;async function su(e,t={}){const n=hn(),o=Ot(),r=t.excludeNoImage?mn():null;(n!==au||o!==lu||t.excludeNoImage&&r!==iu)&&(Dn.clear(),mo++,au=n,lu=o,iu=r);const u=`${e}:${fo(t)}`;if(Dn.has(u))return Dn.get(u);const a=mo,i=await Sc(e,t);return a===mo&&Dn.set(u,i),i}const bc={SAME_SOUND_PICK:e=>ou("SSP",e),HEAR_AND_PICK_SAME:e=>ou("HPS",e),HEAR_AND_PICK_INCLUDED:e=>nc(e),SAME_OR_DIFF:e=>oc(e),STARTS_WITH_SAME_SOUND:e=>rc(e),LISTEN_AND_REMEMBER_ORDER:e=>Cc(e),MERGE_2_SYLLABLES:e=>sc(e),MERGE_3_SYLLABLES:e=>cc(e),MERGE_2_PHONEMES:e=>mc(e),MERGE_3_PHONEMES:e=>pc(e),DROP_1_FROM_2SYLL:e=>dc(e),DROP_1_FROM_3SYLL:e=>fc(e),DROP_PART_FROM_COMPOUND:e=>gc(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>hc(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>yc(e),CHANGE_1_SYLL_IN_2SYLL:e=>uc(e),CHANGE_1_SYLL_IN_3SYLL:e=>ac(e),CHANGE_1_PHONEME_IN_1SYLL:e=>lc(e),CHANGE_1_PHONEME_IN_2SYLL:e=>ic(e)};async function Sc(e,t={}){const n=bc[e];return n?await n(t):[]}async function wc(e){const t=["random","count"],n=Object.keys(Qn);let o=0;for(const r of t)for(const u of n){const a=Qn[u];su(u,{difficulty:a.difficulty?r:null,contrastCount:1,composition:null,count:5,excludeNoImage:e,sameStructureOnly:!0,phonemeView:"char",grade:null}).catch(()=>{}),++o%6===0&&await new Promise(i=>setTimeout(i,0))}}async function Ec(e){const t=await Ae({...e,fullCount:!0}),n=e.choicesPerItem!=null?Math.max(1,e.choicesPerItem-1):1;return t.filter(o=>new Set(o.usable.map(r=>ce(r))).size>=n).length}async function Ac(e={}){const t=[];for(const i of je)i.w&&t.push(i.w);const n=e.excludeNoImage?mt(t):t,o=new Set,r=new Set,u=new Set,a=new Set;for(const i of n){a.add(Bt(i));for(const s of i){const c=X(s);if(c&&(ge[c.cho]!=="\u3147"&&o.add(ge[c.cho]),r.add(Ee[c.jung]),c.jong>0)){u.add(Ne[c.jong]);const f=Cn[c.jong];f&&f.forEach(g=>u.add(g))}}}return{cho:o,jung:r,jong:u,syllable:a}}const _c={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"})},Tc={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"})},Dc={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 cu(e,t){if("place"in t)return _c[t.place](e);const n=Tc[t.vowel](e);return t.glide?`${n} \xB7 ${Dc[t.glide](e)}`:n}const Bc=(e,{defaultValue:t})=>t,du=(e,t)=>({jamos:e,phonetic:t,tooltip:cu(Bc,t)}),$e=(e,t)=>t.map(n=>du([n],{place:e})),de=(e,t,n)=>du([...e],n?{vowel:t,glide:n}:{vowel:t}),po={cho:[$e("labial",["\u3142","\u3143","\u314D","\u3141"]),$e("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),$e("alveolar",["\u3145","\u3146"]),$e("palatal",["\u3148","\u3149","\u314A"]),$e("velar",["\u3131","\u3132","\u314B"]),$e("glottal",["\u314E"])],jung:[[de("\u3163","frontHigh"),de("\u315F","frontHigh","w"),de("\u3162","frontHigh","velar")],[de("\u3161","backHighUnrounded")],[de("\u315C","backHighRounded"),de("\u3160","backHighRounded","j")],[de("\u3154\u3150","frontMid"),de("\u3156\u3152","frontMid","j"),de("\u3159\u315A\u315E","frontMid","w")],[de("\u3153","backMidUnrounded"),de("\u3155","backMidUnrounded","j"),de("\u315D","backMidUnrounded","w")],[de("\u3157","backMidRounded"),de("\u315B","backMidRounded","j")],[de("\u314F","low"),de("\u3151","low","j"),de("\u3158","low","w")]],jong:[$e("labial",["\u3142","\u3141"]),$e("alveolar",["\u3137","\u3134","\u3139"]),$e("velar",["\u3131","\u3147"])]},Nc=[...ge],Oc=[...Ee],vc=Ne.filter(e=>e!==""),He=e=>e===ke?[]:Array.from(e),ke="__NO_CODA__",fu=[1,2,3,4],xe=5,Lc=12,gu="SYL_",ho=e=>`${gu}${e}`,Rc=e=>Number(e.slice(gu.length));function yo(e){return e>=xe?Array.from({length:Lc-xe+1},(t,n)=>xe+n):[e]}const Cu={cho:Nc,jung:Oc,jong:vc},bo=e=>e.map(t=>t.map(({jamos:n,phonetic:o,tooltip:r})=>({v:n.join(""),phonetic:o,tooltip:r}))),So={cho:bo(po.cho),jung:bo(po.jung),jong:bo(po.jong)},mu={};So.jung.flat().forEach(({v:e})=>{for(const t of He(e))mu[t]=e});const Ic=new Set(So.cho.flat().map(e=>e.v));function pu(e,t){return e==="cho"?Ic.has(t)?t:null:e==="jung"?mu[t]??t:Dt(t)}function hu(e,t,n){if(e==="jung"){const o=He(t);return n&&o.includes(n)?n:o[0]??t}return e==="jong"&&n&&Dt(n)===t?n:t}function yu(e,t,n,o){const r=(u,a)=>a?u==="jong"&&a===ke?ke:t==="pron"?pu(u,a):hu(u,a,u==="jung"?n:u==="jong"?o:null):null;return{...e,cho:r("cho",e.cho),jung:r("jung",e.jung),jong:r("jong",e.jong)}}const wo={cho:null,jung:null,jong:null,syllable:null};function Mc(e){const{caps:t,difficulty:n,contrastCount:o,composition:r,phonemeView:u,excludeNoImage:a,sameStructureOnly:i,gradeFilter:s}=e,{i18n:c}=Me.useTranslation(),[f,g]=d.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[m,p]=d.useState(!1),[b,w]=d.useState(null),[h,y]=d.useState(0);qn("wordpool:update",()=>y(E=>E+1)),qn(_r,()=>y(E=>E+1));const S=d.useRef(c.language);return d.useEffect(()=>{S.current!==c.language&&(S.current=c.language,y(E=>E+1))},[c.language]),d.useEffect(()=>{if(!t.choseong)return;let E=!1;return Ac({difficulty:n,excludeNoImage:a}).then(A=>{E||(g(A),p(A.cho.size+A.jung.size+A.jong.size>0))}).catch(()=>{E||(g({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),p(!1))}),()=>{E=!0}},[t.choseong,n,a,h]),d.useEffect(()=>{let E=!1;const A=r,N=A.cho?He(A.cho):null,M=A.jung?He(A.jung):null,B=A.jong===ke,I=B?null:A.jong?He(A.jong):null,P=A.syllable!=null?yo(A.syllable):null,O=!!(N||M||I||B||P);return Ec({difficulty:t.difficulty?n:null,contrastCount:t.difficulty?o:1,composition:t.choseong&&O?{cho:N,jung:M,jong:I,jongNone:B,syllable:P}:null,excludeNoImage:a,sameStructureOnly:i,phonemeView:u==="pron"?"pron":"char",grade:s.length>0?s:null}).then(V=>{E||w(V)}).catch(()=>{E||w(null)}),()=>{E=!0}},[t.choseong,t.difficulty,n,o,r,u,a,i,h,s]),{viable:f,viableReady:m,wordCount:b,poolVersion:h}}function bu(){const{t:e}=Me.useTranslation();return d.useMemo(()=>({difficulty:e("wordSearch.filter.difficulty","\uB09C\uC774\uB3C4"),syllables:e("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),syllable5plus:e("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1"),partOfSpeech:e("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:e("wordSearch.filter.wordType","\uC720\uD615"),posMap:{[e("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)")]:["\uBA85","\uC218"],[e("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)")]:["\uB3D9","\uD615"],[e("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")]:["\uBD80","\uAD00"]},typeMap:{[e("wordSearch.filter.type.native","\uACE0\uC720\uC5B4")]:"\uACE0\uC720",[e("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4")]:"\uD55C\uC790",[e("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4")]:"\uC678\uB798",[e("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")]:"\uD63C\uC885"}}),[e])}function Su(e,t,n){const o=zr(n?.bands);return o?{label:t.difficulty,items:[...Ps(o).map(r=>Pc(e,r)),e("wordSearch.filter.gradeNone","\uC5C6\uC74C")],multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction,labelInfo:n?.labelInfo??{title:t.difficulty,items:Eo(e,o)}}:{label:t.difficulty,items:[...[3,4,5,6,7].map(r=>e("wordSearch.filter.age",{n:r,defaultValue:`${r}\uC138`})),...[2,3,4].map(r=>e("wordSearch.filter.grade",{n:r})),e("wordSearch.filter.gradeNone","\uC5C6\uC74C")],multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction,labelInfo:n?.labelInfo??{title:t.difficulty,items:[e("wordSearch.filter.difficultyInfoAge","3\uC138~7\uC138: \uAC00\uC7A5 \uC26C\uC6B4 \uB0B1\uB9D0(1\uB4F1\uAE09)\uC744 \uB610\uB798\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4."),e("wordSearch.filter.difficultyInfoGrade","2~4\uB4F1\uAE09: \uADF8\uBCF4\uB2E4 \uC5B4\uB824\uC6B4 \uB0B1\uB9D0\uC774\uACE0, \uB098\uC774\uB85C\uB294 \uB098\uB204\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."),e("wordSearch.filter.difficultyInfoNone","\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.")]}}}function Pc(e,t){const n=Ms(t);if(n!=null)return e("wordSearch.filter.age",{n,defaultValue:`${n}\uC138`});const o=Yr(t);return o!=null?e("wordSearch.filter.agePlus",{n:o,defaultValue:`${o}\uC138 \uC774\uC0C1`}):e("wordSearch.filter.grade",{n:Number(t),defaultValue:`${t}\uB4F1\uAE09`})}function Eo(e,t){return[...t.map(n=>{const o=n.maxAge==null?e("wordSearch.filter.agePlus",{n:n.minAge,defaultValue:`${n.minAge}\uC138 \uC774\uC0C1`}):n.minAge===n.maxAge?e("wordSearch.filter.age",{n:n.minAge,defaultValue:`${n.minAge}\uC138`}):e("wordSearch.filter.ageRange",{from:n.minAge,to:n.maxAge,defaultValue:`${n.minAge}\uC138~${n.maxAge}\uC138`}),r=e("wordSearch.filter.grade",{n:n.grade,defaultValue:`${n.grade}\uB4F1\uAE09`});return n.showAge?n.maxAge!=null&&n.maxAge>n.minAge?e("wordSearch.filter.difficultyInfoBandAge",{grade:r,ages:o,defaultValue:`${o}: ${r} \uB0B1\uB9D0\uC744 \uB098\uC774\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.`}):e("wordSearch.filter.difficultyInfoBandAgeOne",{grade:r,ages:o,defaultValue:`${o}: ${r} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.`}):e("wordSearch.filter.difficultyInfoBandGrade",{grade:r,ages:o,defaultValue:`${r}: ${o} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.`})}),e("wordSearch.filter.difficultyInfoNone","\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.")]}function wu(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function Eu(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function kc(e,t){return{label:t.syllables,items:[e("wordSearch.filter.syllable",{n:1}),e("wordSearch.filter.syllable",{n:2}),e("wordSearch.filter.syllable",{n:3}),e("wordSearch.filter.syllable",{n:4}),t.syllable5plus],multiple:!0,allOption:!0}}function xc(e,t){const n=[e("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"),e("wordPairs.filter.onlyHighUsage","\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC")];return t?.includeStructure&&n.push(e("wordPairs.filter.onlySameStructure","\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC")),{label:e("wordPairs.filter.selectLabel","\uC120\uD0DD"),items:n,multiple:!0,labelAction:t?.labelAction,labelInfo:t?.labelInfo}}function Fc(e,t){const{label:n,headValue:o,midValue:r,tailValue:u,includeMid:a=!0,headDisabled:i,midDisabled:s,tailDisabled:c,allOptionDisabled:f,groupLabel:g,labelAction:m}=t;return{label:n,...g?{groupLabel:g}:{},...m?{labelAction:m}:{},allOption:!0,allLabel:e("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...f?{allOptionDisabled:f}:{},items:[{value:o,displayLabel:e("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:i},...a?[{value:r,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:s}]:[],{value:u,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:c}]}}function jc(e,t,n){const o=xt(n),r=o&&t!==Pe?nt(o,t):null;if(o&&(t===Pe||r)){const i={},s={};for(const[p,b]of Object.entries(e))(xt(p)===o?s:i)[p]=b;if(t===Pe)return i;const c=lo(s)[o]??[],f=c.includes(r)?c.filter(p=>p!==r):[...c,r];if(f.length===0)return i;const g=io({[o]:f},Xs(n)),m=Object.values(g)[0]??[];return{...i,[n]:m}}if(t===Pe){const{[n]:i,...s}=e;return s}const u=e[n]??[],a=u.includes(t)?u.filter(i=>i!==t):[...u,t];if(a.length===0){const{[n]:i,...s}=e;return s}return{...e,[n]:a}}Object.fromEntries(Object.entries(Xn).map(([e,{nucleus:t}])=>[e,t]));const $c={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},Hc={"\uCCB4\uC5B8(\uBA85\uC0AC,\uC218\uC0AC)":["\uBA85","\uC218"],"\uC6A9\uC5B8(\uB3D9\uC0AC,\uD615\uC6A9\uC0AC)":["\uB3D9","\uD615"],"\uC218\uC2DD\uC5B8(\uBD80\uC0AC,\uAD00\uD615\uC0AC)":["\uBD80","\uAD00"]},Gc={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",field:"\uC758\uBBF8\uBC94\uC8FC",posMap:Hc,typeMap:$c},Au=new WeakMap;function Vc(e,t){const n=Au.get(e);if(n&&n.keys===t)return n.value;const o={grades:[],syls:[],poses:[],types:[],fields:[],highUsage:!1},r={grade:o.grades,syllables:o.syls,pos:o.poses,wordType:o.types,field:o.fields};for(const[u,a]of Object.entries(e??{})){const i=Array.isArray(a)?a:typeof a=="string"?[a]:[];!o.highUsage&&i.some(Ys)&&(o.highUsage=!0);const s=u===t.difficulty?"grade":u===t.syllables?"syllables":u===t.partOfSpeech?"pos":u===t.wordType?"wordType":u===t.field?"field":xt(u);if(s)for(const c of i)r[s].includes(c)||r[s].push(c)}return Au.set(e,{keys:t,value:o}),o}function Wc(e,t,n=Gc){const{grades:o,syls:r,poses:u,types:a,highUsage:i}=Vc(t,n);if(i&&e.usage!==!0)return!1;if(o.length){const s=o.map(c=>nt("grade",c)??c.replace(/\D/g,"")).filter(c=>c!=="");if(s.length===0||!uo(s,e.grade,e.age))return!1}if(r.length){const s=e.syllables??0;if(!r.some(c=>{const f=c===n.syllable5plus?"5+":nt("syllables",c);return f==="5+"?s>=5:s===parseInt(f??c)}))return!1}return!(u.length&&!u.flatMap(s=>n.posMap[s]??Hs[nt("pos",s)??""]??[s]).some(s=>(e.pos??"").includes(s))||a.length&&!a.some(s=>e.wordType===(n.typeMap[s]??Gs[nt("wordType",s)??""])))}const _u=["1\uB4F1\uAE09 : \uD559\uB839\uC804\uAE30\uC5D0 \uC2B5\uB4DD\uD558\uC5EC \uD3C9\uC0DD\uC5D0 \uAC78\uCCD0 \uC77C\uC0C1 \uC5B8\uC5B4\uC0DD\uD65C\uC744 \uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uC5B4\uD718","2\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 1-2\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","3\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 3-4\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","4\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 5-6\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","\uB4F1\uAE09\uC5C6\uC74C : \uAD6D\uB9BD\uAD6D\uC5B4\uC6D0 \uD45C\uC900 \uC5B4\uD718 \uC678 \uACE0\uBE48\uB3C4 \uC0DD\uD65C \uC5B4\uD718, \uC2E0\uC870\uC5B4 \uBC0F \uC678\uB798\uC5B4"];function Tu(e){const t=e("wordPairs.filter.difficultyInfo",{returnObjects:!0,defaultValue:_u});return Array.isArray(t)&&t.length>0&&t.every(n=>typeof n=="string")?t:_u}function Uc(e){return{composition:e("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:e("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:e("wordPairs.onset","\uCD08\uC131"),vowel:e("wordPairs.vowel","\uBAA8\uC74C"),coda:e("wordPairs.coda","\uC885\uC131"),phonemeGroup:e("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:e("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:e("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:e("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:e("training.filter.random","\uBB34\uC791\uC704"),exclude:e("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:e("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:e("common.none","\uC5C6\uC74C"),noImage:e("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:e("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:e("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:e("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:e("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:e("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}}function Yc(e){const{caps:t,t:n,attrKeys:o,labels:r,phonemeView:u,viable:a,partViable:i,syllableViable:s,minSyllables:c,gradeBands:f}=e,g=zr(f),m=(w,h)=>({title:h,items:w}),p=[n("training.filter.excludeImageInfo",{defaultValue:"\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."}),n("training.filter.sameStructureInfo",{defaultValue:"\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."})],b=[];if(t.choseong){const w={value:ke,displayLabel:r.codaExclude},h=t.fixedNoCoda===!0,y=(S,E)=>{const A=h&&S==="jong",N={label:E,groupLabel:r.phonemeGroup,allOption:!t.requireSyllable,allLabel:r.noLimit,allOptionDisabled:A};if(u==="pron"){const B=So[S].map(I=>I.map(({v:P,phonetic:O})=>{const V=He(P),U=cu(n,O),W=A||!V.some(j=>a[S].has(j));return V.length>1?{value:P,labels:V,tooltip:U,disabled:W}:{value:P,tooltip:U,disabled:W}}));return S==="jong"&&!t.requireCoda&&B.unshift([w]),{...N,groups:B}}const M=Cu[S].map(B=>!A&&i[S].has(B)?B:{value:B,disabled:!0});return{...N,items:S==="jong"&&!t.requireCoda?[w,...M]:M}};b.push(y("cho",r.trainOnset)),b.push(y("jung",r.trainVowel)),b.push(y("jong",r.trainCoda))}if(b.push({...Su(n,o,{bands:f,labelInfo:m(g?Eo(n,g):Tu(n))}),label:r.gradeLabel}),t.partOfSpeech&&b.push(wu(o)),t.wordType&&b.push(Eu(o)),t.choseong||t.fixedSyllable!=null){const w=t.fixedSyllable;b.push({label:r.syllableCount,items:[...fu.map(h=>({value:ho(h),displayLabel:n("wordPairs.syllableN",{n:h,defaultValue:"{{n}}\uC74C\uC808"}),disabled:w!=null?h!==w:!s.exact.has(h)||h<c})),{value:ho(xe),displayLabel:n("wordPairs.syllableNPlus",{n:xe,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:w!=null?xe!==w:!s.min}],allOption:!0,allOptionDisabled:w!=null})}return t.choseong?b.push({label:r.exclude,displayLabel:r.selectLabel,multiple:!0,items:[r.excludeImage,r.sameStructure],labelInfo:m(p)}):b.push({label:r.exclude,displayLabel:r.selectLabel,multiple:!0,items:[r.excludeImage],labelInfo:m([p[0]])}),b}const Ao=e=>Array.isArray(e)?e.filter(Gr):[],zc="wt_filter",Du=e=>`wt_filter_${e}`,_o=["noun","verb","modifier"],To=["native","sino","foreign","mixed"];function Bu(e,t,n,o,r){if(!Array.isArray(e))return[];const u=[];for(const a of e){if(typeof a!="string")continue;const i=t.includes(a)?a:t.find(s=>r.some(c=>o(c,n(s))===a));i&&!u.includes(i)&&u.push(i)}return u}function Nu(e){try{const t=localStorage.getItem(Du(e))??localStorage.getItem(zc);if(t)return JSON.parse(t)}catch{}return null}function Ou(e){const t=e?.phonemeView;return t==="pron"?"pron":t==="direct"?"direct":"char"}function Kc(e){const t=e;return t?.composition?{cho:t.composition.cho??null,jung:t.composition.jung??null,jong:t.composition.jong??null,syllable:t.composition.syllable??null}:t?.choseong?{...wo,cho:t.choseong}:wo}function qc(e,t,n){const{t:o,i18n:r}=Me.useTranslation(),u=JSON.stringify(n?.gradeBands??null),a=d.useMemo(()=>JSON.parse(u),[u]),[i]=d.useState(()=>n?.resetOnMount?null:Nu(e)),[s,c]=d.useState(Ou(i)),[f,g]=d.useState(()=>Kc(i)),m=d.useCallback(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:ke,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?ke:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);d.useEffect(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||g(D=>D.cho||D.jung||D.syllable!=null||D.jong?D:m())},[]);const p=d.useMemo(()=>se(f.cho)||se(f.jung)||se(f.jong)?"count":"random",[f.cho,f.jung,f.jong]),b=d.useRef(s==="char"?f.jung:null),w=d.useRef(s==="char"?f.jong:null);d.useEffect(()=>{s==="char"&&(b.current=f.jung,w.current=f.jong)},[s,f.jung,f.jong]);const[h,y]=d.useState(n?.resetOnMount?!!n?.defaultImageOnly:i?.excludeNoImage??!0),[S,E]=d.useState(n?.resetOnMount?!1:i?.sameStructureOnly??!0),[A,N]=d.useState(Ao(i?.gradeFilter)),M=Array.from(new Set([r.language,"ko","en"].filter(Boolean))),B=(D,te)=>r.getFixedT(D)(te),I=D=>Bu(D,_o,te=>`wordSearch.filter.pos.${te}`,B,M),P=D=>Bu(D,To,te=>`wordSearch.filter.type.${te}`,B,M),[O,V]=d.useState(()=>I(i?.posFilter)),[U,W]=d.useState(()=>P(i?.wordTypeFilter)),j=d.useRef(n?.resetKey);d.useEffect(()=>{j.current!==n?.resetKey&&(j.current=n?.resetKey,g(m()),y(!!n?.defaultImageOnly),E(!1),N([]),V([]),W([]))},[n?.resetKey]);const L=bu(),Y=d.useMemo(()=>Object.keys(L.posMap),[L]),fe=d.useMemo(()=>Object.keys(L.typeMap),[L]),ie=d.useMemo(()=>O.map(D=>Y[_o.indexOf(D)]).filter(Boolean),[O,Y]),Se=d.useMemo(()=>U.map(D=>fe[To.indexOf(D)]).filter(Boolean),[U,fe]),R=1,x=Math.max(1,[f.cho,f.jung,f.jong].filter(Boolean).length),[F,J]=d.useState(e);d.useEffect(()=>{if(F!==e){if(!n?.resetOnMount){const D=Nu(e);g(D?.composition??m()),y(D?.excludeNoImage??!0),E(D?.sameStructureOnly??!0),c(Ou(D)),N(Ao(D?.gradeFilter)),V(I(D?.posFilter)),W(P(D?.wordTypeFilter))}J(e)}},[e,F,n?.resetOnMount]),d.useEffect(()=>{if(!n?.resetOnMount&&F===e)try{localStorage.setItem(Du(e),JSON.stringify({contrastCount:x,composition:f,excludeNoImage:h,sameStructureOnly:S,phonemeView:s,gradeFilter:A,posFilter:O,wordTypeFilter:U}))}catch{}},[n?.resetOnMount,e,F,x,f,h,S,s,A,O,U]);const{viable:$,viableReady:Le,wordCount:ut,poolVersion:Ke}=Mc({caps:t,difficulty:p,contrastCount:x,composition:f,phonemeView:s,excludeNoImage:h,sameStructureOnly:S,gradeFilter:A});d.useEffect(()=>{Le&&g(D=>{const te={...D};let G=!1;return["cho","jung","jong"].forEach(K=>{const we=D[K];!we||we===ke||He(we).some(en=>$[K].has(en))||(te[K]=null,G=!0)}),D.syllable!=null&&t.fixedSyllable==null&&(D.syllable>=xe?[...$.syllable].some(K=>K>=xe)||(te.syllable=null,G=!0):(!$.syllable.has(D.syllable)||D.syllable<R)&&(te.syllable=null,G=!0)),G?te:D})},[$,Le,R,t.fixedSyllable]);const qe=d.useMemo(()=>{const D=te=>{const G=new Set;for(const K of Cu[te])$[te].has(K)&&G.add(K);return G};return{cho:D("cho"),jung:D("jung"),jong:D("jong")}},[$]),Qt=d.useMemo(()=>({exact:new Set(fu.filter(D=>$.syllable.has(D))),min:[...$.syllable].some(D=>D>=xe)}),[$]),ne=d.useMemo(()=>Uc(o),[o]),bt=d.useMemo(()=>({[ne.trainOnset]:"cho",[ne.trainVowel]:"jung",[ne.trainCoda]:"jong"}),[ne]),Pn=d.useMemo(()=>Yc({caps:t,t:o,attrKeys:L,labels:ne,phonemeView:s,viable:$,partViable:qe,syllableViable:Qt,minSyllables:R,gradeBands:a}),[t,o,L,ne,s,$,qe,Qt,R,a]),Zt={...(t.choseong||t.fixedSyllable!=null)&&f.syllable!=null?{[ne.syllableCount]:ho(f.syllable)}:{},...t.choseong&&f.cho?{[ne.trainOnset]:f.cho}:{},...t.choseong&&f.jung?{[ne.trainVowel]:f.jung}:{},...t.choseong&&f.jong?{[ne.trainCoda]:f.jong}:{},[ne.exclude]:[...h?[ne.excludeImage]:[],...S?[ne.sameStructure]:[]],[ne.gradeLabel]:A.map(D=>Ks("grade",D)),...t.partOfSpeech?{[L.partOfSpeech]:ie}:{},...t.wordType?{[L.wordType]:Se}:{}},Q=d.useCallback((D,te)=>{if(te===ne.exclude)D===ne.excludeImage?y(G=>!G):D===ne.sameStructure&&E(G=>!G);else if(te===ne.syllableCount)g(G=>{if(!D||D===Pe)return{...G,syllable:null};const K=Rc(D);return{...G,syllable:G.syllable===K?null:K}});else if(te===ne.gradeLabel){if(!D||D===Pe){N([]);return}const G=nt("grade",D);if(G==null)return;N(K=>K.includes(G)?K.filter(we=>we!==G):[...K,G])}else if(te===L.partOfSpeech){if(!D||D===Pe){V([]);return}const G=_o[Y.indexOf(D)]??I([D])[0];if(!G)return;V(K=>K.includes(G)?K.filter(we=>we!==G):[...K,G])}else if(te===L.wordType){if(!D||D===Pe){W([]);return}const G=To[fe.indexOf(D)]??P([D])[0];if(!G)return;W(K=>K.includes(G)?K.filter(we=>we!==G):[...K,G])}else{const G=bt[te];if(!G)return;g(K=>t.requireSyllable?D&&D!==Pe?{...K,[G]:D}:K:!D||D===Pe||K[G]===D?{...K,[G]:null}:{...K,[G]:D})}},[ne,bt,L,Y,fe,t.requireSyllable]),St=d.useCallback(D=>!t.partOfSpeech&&!t.wordType?!0:Wc(D,{...t.partOfSpeech?{[L.partOfSpeech]:ie}:{},...t.wordType?{[L.wordType]:Se}:{}},L),[t.partOfSpeech,t.wordType,ie,Se,L]),Z=d.useCallback(D=>{D!==s&&(D!=="direct"&&s!=="direct"&&g(te=>yu(te,D,b.current,w.current)),c(D))},[s]),wt=d.useCallback(()=>({composition:f,contrastCount:x,excludeNoImage:h,sameStructureOnly:S,phonemeView:s,gradeFilter:A,posFilter:O,wordTypeFilter:U}),[f,x,h,S,s,A,O,U]),De=d.useCallback(D=>{g(D.composition),y(D.excludeNoImage),E(D.sameStructureOnly??!0),c(D.phonemeView),N(Ao(D.gradeFilter)),Array.isArray(D.posFilter)&&V(I(D.posFilter)),Array.isArray(D.wordTypeFilter)&&W(P(D.wordTypeFilter))},[]);return{difficulty:p,contrastCount:x,composition:f,choseong:f.cho,excludeNoImage:h,sameStructureOnly:S,gradeFilter:A,posFilter:ie,wordTypeFilter:Se,matchesWordAttributes:St,poolVersion:Ke,filterSections:Pn,filterSelected:Zt,handleFilterSelect:Q,phonemeView:s,setPhonemeView:Z,phonemeGroupLabel:ne.phonemeGroup,wordCount:ut,getFilterSnapshot:wt,restoreFilterSnapshot:De}}function Jc(e){const t=i=>i?He(i):null,n=t(e.cho),o=t(e.jung),r=e.jong===ke,u=r?null:t(e.jong),a=e.syllable!=null?yo(e.syllable):null;return!n&&!o&&!u&&!r&&!a?null:{cho:n,jung:o,jong:u,jongNone:r,syllable:a}}function Xc(e,t,n,o,r,u,a=!0,i="char",s=[]){const[c,f]=d.useState({}),[g,m]=d.useState(!1),{cho:p=null,jung:b=null,jong:w=null,syllable:h=null}=o??{},y=s.length>0?s.slice().sort().join(","):"",S=e.map(A=>A.key).join("|");d.useEffect(()=>{u>0&&wc(r).catch(()=>{})},[u,r]),d.useEffect(()=>{let A=!1;return m(!0),(async()=>{const N=Jc({cho:p,jung:b,jong:w,syllable:h}),M=`${p??""}_${b??""}_${w??""}_${h??""}_${y}`,B={};await Promise.all(e.map(async I=>{const P=Qn[I.key];try{const O=await su(I.key,{difficulty:P.difficulty?t:null,contrastCount:P.difficulty?n:1,composition:P.choseong?N:null,count:5,excludeNoImage:r,sameStructureOnly:a,phonemeView:i,grade:s.length>0?s:null});O&&O.length>0?B[I.key]={id:`wt-${I.key}-${t}-${M}-${Date.now()}`,name:I.label,training_type:I.key,category_main_code:"WORD",iconColor:I.color,subTitle:I.subTitle,items:O,itemCount:O.length}:B[I.key]={id:`wt-${I.key}-empty`,name:I.label,training_type:I.key,category_main_code:"WORD",iconColor:I.color,subTitle:I.subTitle,items:[],itemCount:0,__empty:!0}}catch{B[I.key]=null}})),A||(f(B),m(!1))})(),()=>{A=!0}},[t,n,p,b,w,h,r,a,i,u,y,S]);const E=JSON.stringify(e.map(A=>[A.key,A.label,A.color,A.subTitle]));return{perTypeData:d.useMemo(()=>{const A={};for(const[N,M]of Object.entries(c)){const B=e.find(I=>I.key===N);A[N]=M&&B?{...M,name:B.label,iconColor:B.color,subTitle:B.subTitle}:M}return A},[c,E]),generating:g}}const jt=[],$t=[],Ht=[],Gt=[],Bn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},Nn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},Qc={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let Do=null,vu=null,Ge=null;function Zc({counts:e,forceRefresh:t}={}){const n=Object.assign({},Qc,e||{}),o=_t(),r=Tt(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),u=JSON.stringify(n);if(!t&&vu===o&&Do===u&&Ge)return Object.assign(Bn,Ge.today),Object.assign(Nn,Ge.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:Bn,yesterday:Nn};const a={LISTEN_IN_NOISE:Fe(jt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:Fe($t,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:Fe(Ht,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:Fe(Gt,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let i=null;return Ge&&Do===u&&Ge.yesterday&&Ge.yesterday.date===r&&(i=Ge.yesterday.selection),i||(i={LISTEN_IN_NOISE:Fe(jt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:Fe($t,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:Fe(Ht,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:Fe(Gt,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(Bn,a),Object.assign(Nn,i),vu=o,Do=u,Ge={today:a,yesterday:{date:r,countsKey:u,selection:i}},{today:Bn,yesterday:Nn}}let Bo=!1,Vt=null;async function ed(){try{const e={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Kn&&Kn.tagName.toUpperCase()==="SCRIPT"&&Kn.src||new URL("hooks.cjs.js",document.baseURI).href}&&void 0||"/",t=await fetch(`${e}data/allTrainingData.json`);return t.ok?await t.json():null}catch{return null}}async function td(){if(!Bo)return Vt||(Vt=(async()=>{const e=await ed();if(!e){Vt=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}const t={noise:[],short:[],long:[],order:[]};try{if(typeof e!="object"||Array.isArray(e))throw new Error("Invalid training data map");for(const n of Object.keys(e)){const o=e[n];if(!Array.isArray(o))throw new Error("Invalid training data group");for(const r of o){if(!r||typeof r!="object")continue;const u=r,a=String(u.training_type||n),i=String(u.category_main_code||u.category_main||u.category_0||""),s=String(u.category_sub_code||u.category_sub||u.category_1||""),c=Object.assign({},u,{training_type:a,category_0:i,category_1:s});a==="LISTEN_IN_NOISE"?t.noise.push(c):a==="SHORT_STORY"?t.short.push(c):a==="LONG_STORY"?t.long.push(c):a==="ORDERING_SENTENCE"&&t.order.push(c)}}}catch{Vt=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}jt.push(...t.noise),$t.push(...t.short),Ht.push(...t.long),Gt.push(...t.order),Bo=!0,Ge=null;try{Zc()}catch{}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}})(),Vt)}async function nd(e=3e3){const t=td();let n;try{await Promise.race([t,new Promise(o=>{n=setTimeout(o,e)})])}finally{n!==void 0&&clearTimeout(n)}return Bo}function Lu(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}function od(e){let t=e>>>0;return()=>{t|=0,t=t+1831565813|0;let n=Math.imul(t^t>>>15,1|t);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}const rd=Fe,ud=e=>{const[t,n,o]=e.split("-").map(Number);return Math.round(Date.UTC(t,(n||1)-1,o||1)/864e5)},ad=(e,t)=>{const n=e??{};return String(n.id??n.name??t)};function On(e,t,n,o,r){if(!e.length||t<=0)return[];const u=od(Lu(`${n}|${o}|${r}`)),a=ud(o)&1,i=e.filter((c,f)=>(Lu(`${n}|${r}|${ad(c,f)}`)>>>7&1)===a),s=i.length>=t&&e.length-i.length>=t;return rd(s?i:e,t,u)}function No(e,t,n){const o=r=>Math.max(0,e[r]||0);return{LISTEN_IN_NOISE:On(jt,o("LISTEN_IN_NOISE"),t,n,"LISTEN_IN_NOISE"),SHORT_STORY:On($t,o("SHORT_STORY"),t,n,"SHORT_STORY"),LONG_STORY:On(Ht,o("LONG_STORY"),t,n,"LONG_STORY"),ORDERING_SENTENCE:On(Gt,o("ORDERING_SENTENCE"),t,n,"ORDERING_SENTENCE")}}function Oo(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const ld={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function vo(e=!1,t=ld,n){const o=Date.now(),r=Tt(o),u=Tt(o-864e5),a=n??"";return jt.length>0||$t.length>0||Ht.length>0||Gt.length>0?{today:No(t,a,r),yesterday:No(t,a,u)}:{today:No(t,a,r),yesterday:null}}function id(e){const t=d.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=d.useRef(null),[o,r]=d.useState(!1),[u,a]=d.useState(!1),[i,s]=d.useState(0),[c,f]=d.useState(!1),[g,m]=d.useState(()=>_t()),p=JSON.stringify([e??"",g]),b=d.useRef(null),w=d.useRef(p);d.useEffect(()=>{const y=()=>{const E=Date.now(),A=new Date(E+9*36e5),N=Date.UTC(A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()+1)-9*36e5;return Math.max(1e3,N-E+1e3)};let S=setTimeout(function E(){m(_t()),S=setTimeout(E,y())},y());return()=>clearTimeout(S)},[]),d.useEffect(()=>{w.current=p,b.current=null,r(!1),f(!1);let y=!1,S=!1,E=!1,A,N=0,M=null,B=0;const I=40,P=()=>{A!==void 0&&(clearInterval(A),A=void 0)};let O=!1;try{const L=new URLSearchParams(window.location.search),Y=L.get("forceRefresh")||L.get("force");O=Y==="1"||Y==="true"}catch{}const V=L=>{S||(E=!0,b.current=p,t.current=L.today,n.current=L.yesterday,r(!0),f(!0),s(Y=>Y+1),y=!0,P())},U=async()=>{if(y)return;if(!O){const Y=vo(!1,void 0,e);if(Oo(Y.today)){V(Y);return}}if(M){++N>=I&&W();return}if(N>=B){B=N+8,M=nd(3e3).catch(()=>!1);try{await M}finally{M=null}if(y)return}const L=vo(O,void 0,e);if(Oo(L.today)){V(L);return}++N>=I&&W()};function W(){r(!0),f(!1),y=!0,P()}const j=()=>{if(S||E)return;const L=vo(O,void 0,e);Oo(L.today)&&V(L)};try{window.addEventListener("speechear.data.updated",j)}catch{}return A=setInterval(U,250),U(),()=>{y=!0,S=!0,P();try{window.removeEventListener("speechear.data.updated",j)}catch{}}},[e,g]);const h=d.useCallback(y=>{if(b.current!==p)return;const S=u?n.current:t.current,E=u?t.current:n.current;return S?.[y]?.length?S[y]:E?.[y]?.length?E[y]:void 0},[u,i,p]);return{loaded:w.current===p&&o,hasData:w.current===p&&c,showYesterday:u,setShowYesterday:a,getTrainingPerType:h}}const pt=[];let vn=!1;function Ru(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=pt[pt.length-1];t&&(e.stopPropagation(),t())}function Iu(e){return pt.push(e),!vn&&typeof document<"u"&&(document.addEventListener("keydown",Ru),vn=!0),()=>{const t=pt.lastIndexOf(e);t>=0&&pt.splice(t,1),pt.length===0&&vn&&typeof document<"u"&&(document.removeEventListener("keydown",Ru),vn=!1)}}function sd(e,t=!0){const n=hr(e);d.useEffect(()=>{if(t)return Iu(()=>{n.current?.()})},[t,n])}const Lo=(e,t)=>`${e}:${t??1}`,Wt=new Map,Ro=new Set,Io=new Map,Ln=6e4;function cd(e,t){const[n,o]=d.useState(0),[r,u]=d.useState(0),a=JSON.stringify(Array.from(new Set(e.map(i=>Lo(i.word,i.homonum)))).sort());return d.useEffect(()=>{const i=JSON.parse(a),s=Date.now(),c=i.filter(w=>!Wt.has(w)&&!Ro.has(w)&&!(s-(Io.get(w)??-1/0)<Ln));let f=!1,g=null,m=1/0;const p=(w=Ln)=>{if(f)return;const h=Date.now()+w;h>=m||(g!==null&&clearTimeout(g),m=h,g=setTimeout(()=>u(y=>y+1),w))};for(const w of i){if(Wt.has(w)||Ro.has(w))continue;const h=Io.get(w);h!=null&&s-h<Ln&&p(Math.max(0,Ln-(s-h)))}if(c.length===0)return()=>{f=!0,g!==null&&clearTimeout(g)};const b=Array.from(new Set(c.map(w=>w.slice(0,w.lastIndexOf(":")))));return Promise.resolve().then(()=>t(b)).then(w=>{for(const h of w)h.Meaning&&Wt.set(Lo(h.Word,h.Homonum??void 0),h.Meaning);if(w.length>0)for(const h of c)Wt.has(h)||Ro.add(h);else{const h=Date.now();for(const y of c)Io.set(y,h);p()}f||w.length===0||o(h=>h+1)}).catch(()=>{p()}),()=>{f=!0,g!==null&&clearTimeout(g)}},[a,t,r]),d.useMemo(()=>{const i=JSON.parse(a),s=new Map;for(const c of i){const f=Wt.get(c);f!=null&&s.set(c,f)}return s},[a,n])}function dd(){const[e,t]=d.useState(null),n=d.useCallback(u=>t(u.getBoundingClientRect()),[]),o=d.useCallback(()=>t(null),[]),r=d.useCallback(u=>{const a=u.getBoundingClientRect();t(i=>i?null:a)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:r}}function fd(e){const[t,n]=d.useState(null),[o,r]=d.useState(null),u=d.useRef(null);d.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const a=d.useCallback((s,c)=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{n(s),r(c)},e)},[e]),i=d.useCallback(()=>{u.current&&clearTimeout(u.current),n(null),r(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:a,close:i}}function gd(e,t,n){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,r=Math.max(1,Math.ceil(e.length/o)),u=Number.isFinite(n)?Math.min(Math.max(1,Math.floor(n)),r):1;return{pageItems:d.useMemo(()=>e.slice((u-1)*o,u*o),[e,u,o]),totalPages:r,curPage:u}}function Mu(e,t){const[n,o]=d.useState(e);n!==e&&(o(e),t(1))}function Cd(e={}){const{defaultPageSize:t="25",resetOn:n}=e,[o,r]=d.useState(""),[u,a]=d.useState(t),[i,s]=d.useState(1),c=m=>{const p=Number(m);return Number.isFinite(p)&&p>=1?Math.floor(p):null},f=c(t)??25,g=c(u)??f;return Mu(JSON.stringify([o,u,...n??[]]),s),{query:o,setQuery:r,pageSize:u,setPageSize:a,perPage:g,page:i,setPage:s}}function md(e="warning"){const[t,n]=d.useState(""),[o,r]=d.useState(e),[u,a]=d.useState(0),i=d.useCallback((g,m)=>{r(m),n(g),a(p=>p+1)},[]),s=d.useCallback(g=>i(g,"warning"),[i]),c=d.useCallback(g=>i(g,"normal"),[i]),f=d.useCallback(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:u,showToast:i,showWarning:s,showNormal:c,clearToast:f}}const pd=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"audio-lines",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."}],hd={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function yd(e){return pd.map(t=>{const n=hd[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}const Ut={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},Yt=Ut.blue,Rn=Ut.green,zt=Ut.amber,In=Ut.purple,bd=Ut.pink,Sd=[{key:"discrimination",label:"\uBCC0\uBCC4\uD6C8\uB828",disc:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0, \uB610\uB294 \uD2B9\uC815 \uC18C\uB9AC\uB97C \uAD6C\uBCC4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"ear",types:[{key:"SAME_SOUND_PICK",label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",icon:"volume-2",color:Yt,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"SAME_OR_DIFF",label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",icon:"diff",color:Yt,subTitle:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},{key:"HEAR_AND_PICK_SAME",label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"headphones",color:Yt,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"HEAR_AND_PICK_INCLUDED",label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"scan-search",color:Yt,subTitle:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"STARTS_WITH_SAME_SOUND",label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"play-circle",color:Yt,subTitle:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."}]},{key:"synthesis",label:"\uD569\uC131\uD6C8\uB828",disc:"\uB450 \uAC1C \uC774\uC0C1\uC758 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uD569\uCCD0 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"git-merge",types:[{key:"MERGE_2_SYLLABLES",label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",icon:"link-2",color:Rn,subTitle:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_SYLLABLES",label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",icon:"git-merge",color:Rn,subTitle:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_2_PHONEMES",label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",icon:"combine",color:Rn,subTitle:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_PHONEMES",label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",icon:"braces",color:Rn,subTitle:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"}]},{key:"deletion",label:"\uD0C8\uB77D\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC5D0\uC11C \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uC81C\uAC70\uD588\uC744 \uB54C \uB0A8\uB294 \uC18C\uB9AC\uB97C \uC778\uC2DD\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"scissors",types:[{key:"DROP_1_FROM_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"scissors",color:zt,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_1_FROM_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"minus-circle",color:zt,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_PART_FROM_COMPOUND",label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84\uD0C8\uB77D",icon:"unlink",color:zt,subTitle:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_FINAL_CONSONANT_FROM_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",icon:"eraser",color:zt,subTitle:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"REMOVE_CONSONANT_AND_IDENTIFY_PHONEME",label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",icon:"audio-lines",color:zt,subTitle:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"}]},{key:"substitution",label:"\uB300\uCE58\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC758 \uC77C\uBD80 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uBC14\uAFB8\uC5B4 \uC0C8\uB85C\uC6B4 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"replace",types:[{key:"CHANGE_1_SYLL_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"replace",color:In,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_SYLL_IN_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"shuffle",color:In,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"arrow-right-left",color:In,subTitle:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"flip-horizontal",color:In,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}]},{key:"attention",label:"\uCCAD\uAC01\uC801\uC8FC\uC758\uB825\uD6C8\uB828",disc:"\uC5EC\uB7EC \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uC21C\uC11C\uB97C \uAE30\uC5B5\uD558\uB294 \uC8FC\uC758\uB825\uACFC \uB2E8\uAE30 \uAE30\uC5B5 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"list-ordered",types:[{key:"LISTEN_AND_REMEMBER_ORDER",label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",icon:"list-ordered",color:bd,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function wd(){const{t:e}=Me.useTranslation();return d.useMemo(()=>{const t=Object.fromEntries(yd(e).map(o=>[o.key,o.label])),n={...t};return Sd.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}function Ed({computeStyle:e,onScroll:t="close",onResize:n="close",ignoreOutsideClickSelector:o}){const[r,u]=d.useState(!1),[a,i]=d.useState({position:"fixed"}),s=d.useRef(null),c=d.useRef(null),f=d.useCallback(()=>{s.current&&i(e(s.current.getBoundingClientRect(),s.current))},[e]);d.useLayoutEffect(()=>{r&&f()},[r,f]),d.useEffect(()=>{if(!r)return;let p=c.current?.offsetHeight??0;p>0&&f();let b=0,w=null;typeof ResizeObserver<"u"&&c.current&&(w=new ResizeObserver(()=>{const B=c.current?.offsetHeight??0;if(B!==p){if(p=B,++b>4){w?.disconnect(),w=null;return}f()}}),w.observe(c.current));const h=B=>{const I=B.target;o&&I.closest?.(o)||s.current?.contains(I)||c.current?.contains(I)||u(!1)};document.addEventListener("mousedown",h),document.addEventListener("pointerdown",h);let y=null;const S=()=>{if(typeof requestAnimationFrame>"u"){f();return}y===null&&(y=requestAnimationFrame(()=>{y=null,f()}))},E=B=>{c.current?.contains(B.target)||(t==="reposition"?S():t==="close"&&u(!1))};t!=="ignore"&&window.addEventListener("scroll",E,!0);const A=()=>{n==="reposition"?S():n==="close"&&u(!1)};let N=null;const M=()=>{A(),N&&clearTimeout(N),N=setTimeout(()=>{N=null,n==="reposition"&&f()},250)};return n!=="ignore"&&(window.addEventListener("resize",A),window.addEventListener("orientationchange",M)),()=>{y!==null&&cancelAnimationFrame(y),w?.disconnect(),document.removeEventListener("mousedown",h),document.removeEventListener("pointerdown",h),t!=="ignore"&&window.removeEventListener("scroll",E,!0),n!=="ignore"&&(window.removeEventListener("resize",A),window.removeEventListener("orientationchange",M)),N&&clearTimeout(N)}},[r,f,t,n,o]),d.useEffect(()=>{if(r)return Iu(()=>u(!1))},[r]);const g=d.useCallback(()=>u(p=>!p),[]),m=d.useCallback(()=>u(!1),[]);return{open:r,setOpen:u,toggle:g,close:m,style:a,triggerRef:s,menuRef:c}}function Ad(e,{mode:t="playback",autoStart:n=!1,onPlaySpeaker:o,onComplete:r,playMs:u=1100,feedbackMs:a=1500}={}){const[i,s]=d.useState([]),[c,f]=d.useState(0),[g,m]=d.useState("idle"),[p,b]=d.useState(null),[w,h]=d.useState([]),[y,S]=d.useState(null),[E,A]=d.useState(0),N=d.useRef(0),M=d.useCallback(F=>{N.current=typeof F=="function"?F(N.current):F,A(N.current)},[]),B=d.useRef(o),I=d.useRef(r);d.useEffect(()=>{B.current=o,I.current=r},[o,r]);const P=d.useRef([]),O=()=>{P.current.forEach(clearTimeout),P.current=[]},V=(F,J)=>{P.current.push(setTimeout(J,F))};d.useEffect(()=>()=>O(),[]);const U=i[c]?.id??null,W=d.useRef(null),j=d.useCallback(()=>{O(),m("playing"),h([]),S(null),M(0);let F=0;e.forEach((J,$)=>{V(F,()=>{f($),b(J.id),B.current?.(J)}),V(F+1e3,()=>{b(null),h(Le=>[...Le,J.id])}),F+=1300}),V(F,()=>{m("done"),I.current?.({score:0,total:e.length})})},[e,M]),L=d.useCallback((F,J)=>{if(J>=F.length){m("done"),I.current?.({score:N.current,total:F.length});return}W.current=null,f(J),S(null),m("playing"),b(F[J].id),B.current?.(F[J]),V(u,()=>{b(null),m("waiting")})},[u]),Y=d.useCallback(()=>{O();const F=q(e);s(F),M(0),h([]),L(F,0)},[e,L,M]),fe=d.useCallback(()=>{t==="playback"?(s(e),j()):Y()},[t,e,j,Y]),ie=d.useCallback(()=>{O(),m("idle"),b(null),h([]),S(null),f(0),M(0),s([])},[M]),Se=JSON.stringify(e.map(F=>[F.id,F.label,F.angleDeg,F.deg,F.row,F.shortcut]));d.useEffect(()=>(n?fe():ie(),()=>O()),[t,Se,n]);const R=d.useCallback(F=>{g!=="waiting"||t==="playback"||W.current===c||(W.current=c,S(F),F===i[c]?.id&&M(J=>J+1),t==="exam"?(m("playing"),V(400,()=>L(i,c+1))):(m("feedback"),V(a,()=>L(i,c+1))))},[g,t,i,c,L,a,M]),x=t==="playback"?e.length:i.length;return{bind:{activeSpeakerId:p,playedIds:w,selectedId:y,answerId:U,showFeedback:g==="feedback",clickable:g==="waiting",onSelectSpeaker:R},index:c,total:x,score:E,phase:g,done:g==="done",start:fe,reset:ie}}/*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */function Pu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _d(e){if(Array.isArray(e))return e}function Td(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,u,a,i=[],s=!0,c=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(s=(o=u.call(n)).done)&&(i.push(o.value),i.length!==t);s=!0);}catch(f){c=!0,r=f}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return i}}function Dd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bd(e,t){return _d(e)||Td(e,t)||Nd(e,t)||Dd()}function Nd(e,t){if(e){if(typeof e=="string")return Pu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pu(e,t):void 0}}const ku=Object.entries,xu=Object.setPrototypeOf,Od=Object.isFrozen,vd=Object.getPrototypeOf,Ld=Object.getOwnPropertyDescriptor;let ae=Object.freeze,le=Object.seal,ht=Object.create,Fu=typeof Reflect<"u"&&Reflect,Mo=Fu.apply,Po=Fu.construct;ae||(ae=function(t){return t}),le||(le=function(t){return t}),Mo||(Mo=function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),u=2;u<o;u++)r[u-2]=arguments[u];return t.apply(n,r)}),Po||(Po=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return new t(...o)});const ot=ue(Array.prototype.forEach),Rd=ue(Array.prototype.lastIndexOf),ju=ue(Array.prototype.pop),Kt=ue(Array.prototype.push),Id=ue(Array.prototype.splice),yt=Array.isArray,qt=ue(String.prototype.toLowerCase),ko=ue(String.prototype.toString),$u=ue(String.prototype.match),Jt=ue(String.prototype.replace),Hu=ue(String.prototype.indexOf),Md=ue(String.prototype.trim),Pd=ue(Number.prototype.toString),kd=ue(Boolean.prototype.toString),Gu=typeof BigInt>"u"?null:ue(BigInt.prototype.toString),Vu=typeof Symbol>"u"?null:ue(Symbol.prototype.toString),be=ue(Object.prototype.hasOwnProperty),Xt=ue(Object.prototype.toString),me=ue(RegExp.prototype.test),rt=xd(TypeError);function ue(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return Mo(e,t,o)}}function xd(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Po(e,n)}}function z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qt;if(xu&&xu(e,null),!yt(t))return e;let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const u=n(r);u!==r&&(Od(t)||(t[o]=u),r=u)}e[r]=!0}return e}function Fd(e){for(let t=0;t<e.length;t++)be(e,t)||(e[t]=null);return e}function _e(e){const t=ht(null);for(const o of ku(e)){var n=Bd(o,2);const r=n[0],u=n[1];be(e,r)&&(yt(u)?t[r]=Fd(u):u&&typeof u=="object"&&u.constructor===Object?t[r]=_e(u):t[r]=u)}return t}function jd(e){switch(typeof e){case"string":return e;case"number":return Pd(e);case"boolean":return kd(e);case"bigint":return Gu?Gu(e):"0";case"symbol":return Vu?Vu(e):"Symbol()";case"undefined":return Xt(e);case"function":case"object":{if(e===null)return Xt(e);const t=e,n=ve(t,"toString");if(typeof n=="function"){const o=n(t);return typeof o=="string"?o:Xt(o)}return Xt(e)}default:return Xt(e)}}function ve(e,t){for(;e!==null;){const o=Ld(e,t);if(o){if(o.get)return ue(o.get);if(typeof o.value=="function")return ue(o.value)}e=vd(e)}function n(){return null}return n}function $d(e){try{return me(e,""),!0}catch{return!1}}const Wu=ae(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xo=ae(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fo=ae(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Hd=ae(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),jo=ae(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Gd=ae(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Uu=ae(["#text"]),Yu=ae(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),$o=ae(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),zu=ae(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Mn=ae(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vd=le(/{{[\w\W]*|^[\w\W]*}}/g),Wd=le(/<%[\w\W]*|^[\w\W]*%>/g),Ud=le(/\${[\w\W]*/g),Yd=le(/^data-[\-\w.\u00B7-\uFFFF]+$/),zd=le(/^aria-[\-\w]+$/),Ku=le(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Kd=le(/^(?:\w+script|data):/i),qd=le(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Jd=le(/^html$/i),Xd=le(/^[a-z][.\w]*(-[.\w]+)+$/i),qu=le(/<[/\w!]/g),Ju=le(/<[/\w]/g),Qd=le(/<\/no(script|embed|frames)/i),Zd=le(/\/>/i),Te={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Xu=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ef=ae(z({},Xu)),tf=(function(){const e={};return ot(Xu,t=>{e[t]=le(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),ae(e)})(),nf=function(){return typeof window>"u"?null:window},of=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(o=n.getAttribute(r));const u="dompurify"+(o?"#"+o:"");try{return t.createPolicy(u,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},Qu=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ze=function(t,n,o,r){return be(t,n)&&yt(t[n])?z(r.base?_e(r.base):{},t[n],r.transform):o},Ho=function(t,n,o){const r=be(t,n)?t[n]:void 0;return r&&typeof r=="object"?_e(r):o()};function Zu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nf();const t=T=>Zu(T);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Te.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,r=o.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,a=e.Node,i=e.Element,s=e.NodeFilter,c=e.NamedNodeMap;c===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const f=e.DOMParser,g=e.trustedTypes,m=i.prototype,p=ve(m,"cloneNode"),b=ve(m,"remove"),w=ve(m,"nextSibling"),h=ve(m,"childNodes"),y=ve(m,"parentNode"),S=ve(m,"shadowRoot"),E=ve(m,"attributes"),A=a&&a.prototype?ve(a.prototype,"nodeType"):null,N=a&&a.prototype?ve(a.prototype,"nodeName"):null,M=a&&a.prototype?ve(a.prototype,"ownerDocument"):null,B=function(l){return A?A(l):l.nodeType},I=function(l){return N?N(l):l.nodeName};if(typeof u=="function"){const T=n.createElement("template");T.content&&T.content.ownerDocument&&(n=T.content.ownerDocument)}let P,O="",V,U=!1,W=0;const j=function(){if(W>0)throw rt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},L=function(l){j(),W++;try{return P.createHTML(l)}finally{W--}},Y=function(l){j(),W++;try{return P.createScriptURL(l)}finally{W--}},fe=function(){return U||(V=of(g,r),U=!0),V},ie=n,Se=ie.implementation,R=ie.createNodeIterator,x=ie.createDocumentFragment,F=ie.getElementsByTagName,J=o.importNode;let $=Qu();t.isSupported=typeof ku=="function"&&typeof y=="function"&&Se&&Se.createHTMLDocument!==void 0;const Le=Vd,ut=Wd,Ke=Ud,qe=Yd,Qt=zd,ne=Kd,bt=qd,Pn=Xd;let Zt=Ku,Q=null;const St=z({},[...Wu,...xo,...Fo,...jo,...Uu]);let Z=null;const wt=z({},[...Yu,...$o,...zu,...Mn]);let De=Object.seal(ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),D=null,te=null;const G=Object.seal(ht(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,we=!0,en=!1,Wo=!0,Ve=!1,Je=!0,Xe=!1,kn=!1,tn=null,nn=null,xn=!1,at=!1,on=!1,rn=!1,Uo=!0,Yo=!1;const zo="user-content-";let Fn=!0,jn=!1,lt={},it=null;const Ko=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let qo=null;const Jo=z({},["audio","video","img","source","image","track"]);let Xo=null;const Qo=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),un="http://www.w3.org/1998/Math/MathML",an="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml";let st=Re,$n=!1,Hn=null;const ta=z({},[un,an,Re],ko),Zo=ae(["mi","mo","mn","ms","mtext"]);let Gn=z({},Zo);const er=ae(["annotation-xml"]);let Vn=z({},er);const na=z({},["title","style","font","a","script"]);let Et=null;const oa=["application/xhtml+xml","text/html"],ra="text/html";let re=null,ct=null;const ua=n.createElement("form"),tr=function(l){return l instanceof RegExp||l instanceof Function},Wn=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ct&&ct===l)return;(!l||typeof l!="object")&&(l={}),l=_e(l),Et=oa.indexOf(l.PARSER_MEDIA_TYPE)===-1?ra:l.PARSER_MEDIA_TYPE,re=Et==="application/xhtml+xml"?ko:qt,Q=ze(l,"ALLOWED_TAGS",St,{transform:re}),Z=ze(l,"ALLOWED_ATTR",wt,{transform:re}),Hn=ze(l,"ALLOWED_NAMESPACES",ta,{transform:ko}),Xo=ze(l,"ADD_URI_SAFE_ATTR",Qo,{transform:re,base:Qo}),qo=ze(l,"ADD_DATA_URI_TAGS",Jo,{transform:re,base:Jo}),it=ze(l,"FORBID_CONTENTS",Ko,{transform:re}),D=ze(l,"FORBID_TAGS",_e({}),{transform:re}),te=ze(l,"FORBID_ATTR",_e({}),{transform:re}),lt=be(l,"USE_PROFILES")?l.USE_PROFILES&&typeof l.USE_PROFILES=="object"?_e(l.USE_PROFILES):l.USE_PROFILES:!1,K=l.ALLOW_ARIA_ATTR!==!1,we=l.ALLOW_DATA_ATTR!==!1,en=l.ALLOW_UNKNOWN_PROTOCOLS||!1,Wo=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ve=l.SAFE_FOR_TEMPLATES||!1,Je=l.SAFE_FOR_XML!==!1,Xe=l.WHOLE_DOCUMENT||!1,at=l.RETURN_DOM||!1,on=l.RETURN_DOM_FRAGMENT||!1,rn=l.RETURN_TRUSTED_TYPE||!1,xn=l.FORCE_BODY||!1,Uo=l.SANITIZE_DOM!==!1,Yo=l.SANITIZE_NAMED_PROPS||!1,Fn=l.KEEP_CONTENT!==!1,jn=l.IN_PLACE||!1,Zt=$d(l.ALLOWED_URI_REGEXP)?l.ALLOWED_URI_REGEXP:Ku,st=typeof l.NAMESPACE=="string"?l.NAMESPACE:Re,Gn=Ho(l,"MATHML_TEXT_INTEGRATION_POINTS",()=>z({},Zo)),Vn=Ho(l,"HTML_INTEGRATION_POINTS",()=>z({},er));const C=Ho(l,"CUSTOM_ELEMENT_HANDLING",()=>ht(null));if(De=ht(null),be(C,"tagNameCheck")&&tr(C.tagNameCheck)&&(De.tagNameCheck=C.tagNameCheck),be(C,"attributeNameCheck")&&tr(C.attributeNameCheck)&&(De.attributeNameCheck=C.attributeNameCheck),be(C,"allowCustomizedBuiltInElements")&&typeof C.allowCustomizedBuiltInElements=="boolean"&&(De.allowCustomizedBuiltInElements=C.allowCustomizedBuiltInElements),le(De),Ve&&(we=!1),on&&(at=!0),lt&&(Q=z({},Uu),Z=ht(null),lt.html===!0&&(z(Q,Wu),z(Z,Yu)),lt.svg===!0&&(z(Q,xo),z(Z,$o),z(Z,Mn)),lt.svgFilters===!0&&(z(Q,Fo),z(Z,$o),z(Z,Mn)),lt.mathMl===!0&&(z(Q,jo),z(Z,zu),z(Z,Mn))),G.tagCheck=null,G.attributeCheck=null,be(l,"ADD_TAGS")&&(typeof l.ADD_TAGS=="function"?G.tagCheck=l.ADD_TAGS:yt(l.ADD_TAGS)&&(Q===St&&(Q=_e(Q)),z(Q,l.ADD_TAGS,re))),be(l,"ADD_ATTR")&&(typeof l.ADD_ATTR=="function"?G.attributeCheck=l.ADD_ATTR:yt(l.ADD_ATTR)&&(Z===wt&&(Z=_e(Z)),z(Z,l.ADD_ATTR,re))),be(l,"ADD_FORBID_CONTENTS")&&yt(l.ADD_FORBID_CONTENTS)&&(it===Ko&&(it=_e(it)),z(it,l.ADD_FORBID_CONTENTS,re)),Fn&&(Q["#text"]=!0),Xe&&z(Q,["html","head","body"]),Q.table&&(z(Q,["tbody"]),delete D.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw rt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw rt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const _=P;P=l.TRUSTED_TYPES_POLICY;try{O=L("")}catch(v){throw P=_,v}}else l.TRUSTED_TYPES_POLICY===null?(P=void 0,O=""):(P===void 0&&(P=fe()),P&&typeof O=="string"&&(O=L("")));ae&&ae(l),ct=l},nr=z({},[...xo,...Fo,...Hd]),or=z({},[...jo,...Gd]),aa=function(l,C,_){return C.namespaceURI===Re?l==="svg":C.namespaceURI===un?l==="svg"&&(_==="annotation-xml"||Gn[_]):!!nr[l]},la=function(l,C,_){return C.namespaceURI===Re?l==="math":C.namespaceURI===an?l==="math"&&Vn[_]:!!or[l]},ia=function(l,C,_){return C.namespaceURI===an&&!Vn[_]||C.namespaceURI===un&&!Gn[_]?!1:!or[l]&&(na[l]||!nr[l])},sa=function(l){let C=y(l);(!C||!C.tagName)&&(C={namespaceURI:st,tagName:"template"});const _=qt(l.tagName),v=qt(C.tagName);return Hn[l.namespaceURI]?l.namespaceURI===an?aa(_,C,v):l.namespaceURI===un?la(_,C,v):l.namespaceURI===Re?ia(_,C,v):!!(Et==="application/xhtml+xml"&&Hn[l.namespaceURI]):!1},We=function(l){Kt(t.removed,{element:l});try{y(l).removeChild(l)}catch{if(b(l),!y(l))throw rt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},rr=function(l,C,_){try{l.removeAttributeNode(C)}catch{try{l.removeAttribute(_)}catch{}}},ln=function(l){sn(l);const C=h(l);if(C){const v=[];ot(C,k=>{Kt(v,k)}),ot(v,k=>{try{b(k)}catch{}})}const _=E(l);if(_)for(let v=_.length-1;v>=0;--v){const k=_[v],H=k&&k.name;typeof H=="string"&&rr(l,k,H)}},Qe=function(l,C,_){if(!_)try{_=C.getAttributeNode(l)}catch{_=null}Kt(t.removed,{attribute:_||null,from:C});try{_?C.removeAttributeNode(_):C.removeAttribute(l)}catch{try{C.removeAttribute(l)}catch{}}if(l==="is")if(at||on)try{We(C)}catch{}else try{C.setAttribute(l,"")}catch{}},ca=function(l){const C=E(l);if(C)for(let _=C.length-1;_>=0;--_){const v=C[_],k=v&&v.name;typeof k!="string"||Z[re(k)]||rr(l,v,k)}},sn=function(l){const C=[l];for(;C.length>0;){const _=C.pop();B(_)===Te.element&&ca(_);const k=h(_);if(k)for(let H=k.length-1;H>=0;--H)C.push(k[H])}},ur=function(l,C){return Je?l==="patchsrc"?!0:l==="for"&&C!=="label"&&C!=="output":!1},da=function(l){if(!Je)return;const C=[l];for(;C.length>0;){const _=C.pop(),v=B(_);if(v===Te.processingInstruction||v===Te.comment&&me(Ju,_.data)){try{b(_)}catch{}continue}if(v===Te.element){const H=_,ee=re(I(_));try{H.hasAttribute&&H.hasAttribute("patchsrc")&&H.removeAttribute("patchsrc"),H.hasAttribute&&H.hasAttribute("for")&&ur("for",ee)&&H.removeAttribute("for")}catch{}}const k=h(_);if(k)for(let H=k.length-1;H>=0;--H)C.push(k[H])}},ar=function(l){let C=null,_=null;if(xn)l="<remove></remove>"+l;else{const H=$u(l,/^[\r\n\t ]+/);_=H&&H[0]}Et==="application/xhtml+xml"&&st===Re&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");const v=P?L(l):l;if(st===Re)try{C=new f().parseFromString(v,Et)}catch{}if(!C||!C.documentElement){C=Se.createDocument(st,"template",null);try{C.documentElement.innerHTML=$n?O:v}catch{}}const k=C.body||C.documentElement;return l&&_&&k.insertBefore(n.createTextNode(_),k.childNodes[0]||null),st===Re?F.call(C,Xe?"html":"body")[0]:Xe?C.documentElement:k},lr=function(l){const C=M?M(l):l.ownerDocument;return R.call(C||l,l,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},cn=function(l){return l=Jt(l,Le," "),l=Jt(l,ut," "),l=Jt(l,Ke," "),l},Un=function(l){var C;l.normalize();const _=M?M(l):l.ownerDocument,v=R.call(_||l,l,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let k=v.nextNode();for(;k;)k.data=cn(k.data),k=v.nextNode();const H=(C=l.querySelectorAll)===null||C===void 0?void 0:C.call(l,"template");H&&ot(H,ee=>{dt(ee.content)&&Un(ee.content)})},dn=function(l){const C=N?N(l):null;return typeof C!="string"||re(C)!=="form"?!1:typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||l.attributes!==E(l)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function"||l.nodeType!==A(l)||l.childNodes!==h(l)},dt=function(l){if(!A||typeof l!="object"||l===null)return!1;try{return A(l)===Te.documentFragment}catch{return!1}},At=function(l){if(!A||typeof l!="object"||l===null)return!1;try{return typeof A(l)=="number"}catch{return!1}};function Ie(T,l,C){T.length!==0&&ot(T,_=>{_.call(t,l,C,ct)})}const fa=function(l,C){return!!(Je&&l.hasChildNodes()&&!At(l.firstElementChild)&&me(qu,l.textContent)&&me(qu,l.innerHTML)||Je&&l.namespaceURI===Re&&ef[C]&&(At(l.firstElementChild)||typeof l.textContent=="string"&&me(tf[C],l.textContent))||l.nodeType===Te.processingInstruction||Je&&l.nodeType===Te.comment&&me(Ju,l.data))},fn=function(l,C){if(l instanceof RegExp)return me(l,C);if(l instanceof Function){for(var _=arguments.length,v=new Array(_>2?_-2:0),k=2;k<_;k++)v[k-2]=arguments[k];return!!l(C,...v)}return!1},ga=function(l,C,_){if(!D[C]&&fr(C)&&fn(De.tagNameCheck,C))return!1;if(Fn&&!it[C]){const v=y(l),k=h(l);if(k&&v){const H=k.length;for(let ee=H-1;ee>=0;--ee){const oe=l===_?p(k[ee],!0):k[ee];v.insertBefore(oe,w(l))}}}return We(l),!0},ir=function(l,C,_,v){return l.length===0?C:C===_||C===v?_e(C):C},sr=function(l,C){return l===C||y(l)!==null?!1:(jn&&sn(l),!0)},cr=function(l,C){if(Ie($.beforeSanitizeElements,l,null),sr(l,C))return!0;if(dn(l))return We(l),!0;const _=re(I(l));if(Q=ir($.uponSanitizeElement,Q,St,tn),Ie($.uponSanitizeElement,l,{tagName:_,allowedTags:Q}),sr(l,C))return!0;if(fa(l,_))return We(l),!0;if(D[_]||!(G.tagCheck instanceof Function&&G.tagCheck(_))&&!Q[_]){const k=ga(l,_,C);return k===!1&&Ie($.afterSanitizeElements,l,null),k}if(B(l)===Te.element&&!sa(l)||(_==="noscript"||_==="noembed"||_==="noframes")&&me(Qd,l.innerHTML))return We(l),!0;if(Ve&&l.nodeType===Te.text){const k=cn(l.textContent);l.textContent!==k&&(Kt(t.removed,{element:l.cloneNode()}),l.textContent=k)}return Ie($.afterSanitizeElements,l,null),!1},dr=function(l,C,_){if(te[C]||ur(C,l)||Uo&&(C==="id"||C==="name")&&(_ in n||_ in ua))return!1;const v=Z[C]||G.attributeCheck instanceof Function&&G.attributeCheck(C,l);return we&&me(qe,C)||K&&me(Qt,C)?!0:v?Xo[C]||me(Zt,Jt(_,bt,""))||(C==="src"||C==="xlink:href"||C==="href")&&l!=="script"&&Hu(_,"data:")===0&&qo[l]||en&&!me(ne,Jt(_,bt,""))?!0:!_:fr(l)&&fn(De.tagNameCheck,l)&&fn(De.attributeNameCheck,C,l)||C==="is"&&De.allowCustomizedBuiltInElements&&fn(De.tagNameCheck,_)},Ca=z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),fr=function(l){return!Ca[qt(l)]&&me(Pn,l)},ma=function(l,C,_,v){if(P&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!_)switch(g.getAttributeType(l,C)){case"TrustedHTML":return L(v);case"TrustedScriptURL":return Y(v)}return v},pa=function(l,C,_,v){try{_?l.setAttributeNS(_,C,v):l.setAttribute(C,v),dn(l)?We(l):ju(t.removed)}catch{Qe(C,l)}},gr=function(l){Ie($.beforeSanitizeAttributes,l,null);const C=l.attributes;if(!C||dn(l))return;Z=ir($.uponSanitizeAttribute,Z,wt,nn);const _={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Z,forceKeepAttr:void 0};let v=C.length;const k=re(l.nodeName);for(;v--;){const H=C[v],ee=H.name,oe=H.namespaceURI,he=H.value,ye=re(ee),zn=he;let pe=ee==="value"?zn:Md(zn);if(_.attrName=ye,_.attrValue=pe,_.keepAttr=!0,_.forceKeepAttr=void 0,Ie($.uponSanitizeAttribute,l,_),pe=_.attrValue,Yo&&(ye==="id"||ye==="name")&&Hu(pe,zo)!==0&&(Qe(ee,l,H),pe=zo+pe),Je&&me(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,pe)){Qe(ee,l,H);continue}if(ye==="attributename"&&$u(pe,"href")){Qe(ee,l,H);continue}if(!_.forceKeepAttr){if(!_.keepAttr){Qe(ee,l,H);continue}if(!Wo&&me(Zd,pe)){Qe(ee,l,H);continue}if(Ve&&(pe=cn(pe)),!dr(k,ye,pe)){Qe(ee,l,H);continue}pe=ma(k,ye,oe,pe),pe!==zn&&pa(l,ee,oe,pe)}}Ie($.afterSanitizeAttributes,l,null)},gn=function(l){let C=null;const _=lr(l);for(Ie($.beforeSanitizeShadowDOM,l,null);C=_.nextNode();)if(Ie($.uponSanitizeShadowNode,C,null),cr(C,l),gr(C),dt(C.content)&&gn(C.content),B(C)===Te.element){const v=S(C);dt(v)&&(Yn(v),gn(v))}Ie($.afterSanitizeShadowDOM,l,null)},Yn=function(l){const C=[{node:l,shadow:null}];for(;C.length>0;){const _=C.pop();if(_.shadow){gn(_.shadow);continue}const v=_.node,H=B(v)===Te.element,ee=h(v);if(ee)for(let oe=ee.length-1;oe>=0;--oe)C.push({node:ee[oe],shadow:null});if(H){const oe=N?N(v):null;if(typeof oe=="string"&&re(oe)==="template"){const he=v.content;dt(he)&&C.push({node:he,shadow:null})}}if(H){const oe=S(v);dt(oe)&&C.push({node:null,shadow:oe},{node:oe,shadow:null})}}};return t.sanitize=function(T){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=null,_=null,v=null,k=null;if($n=!T,$n&&(T="<!-->"),typeof T!="string"&&!At(T)&&(T=jd(T),typeof T!="string"))throw rt("dirty is not a string, aborting");if(!t.isSupported)return T;kn?(Q=tn,Z=nn):Wn(l),($.uponSanitizeElement.length>0||$.uponSanitizeAttribute.length>0)&&(Q=_e(Q)),$.uponSanitizeAttribute.length>0&&(Z=_e(Z)),t.removed=[];const H=jn&&typeof T!="string"&&At(T);if(H){da(T);const he=I(T);if(typeof he=="string"){const ye=re(he);if(!Q[ye]||D[ye])throw ln(T),rt("root node is forbidden and cannot be sanitized in-place")}if(dn(T))throw ln(T),rt("root node is clobbered and cannot be sanitized in-place");try{Yn(T)}catch(ye){throw ln(T),ye}}else if(At(T))C=ar("<!---->"),_=C.ownerDocument.importNode(T,!0),_.nodeType===Te.element&&_.nodeName==="BODY"||_.nodeName==="HTML"?C=_:C.appendChild(_),Yn(_);else{if(!at&&!Ve&&!Xe&&T.indexOf("<")===-1)return P&&rn?L(T):T;if(C=ar(T),!C)return at?null:rn?O:""}C&&xn&&We(C.firstChild);const ee=H?T:C;try{const he=lr(ee);for(;v=he.nextNode();)cr(v,ee),gr(v),dt(v.content)&&gn(v.content)}catch(he){throw H&&(ln(T),ot(t.removed,ye=>{ye.element&&sn(ye.element)})),he}if(H)return ot(t.removed,he=>{he.element&&sn(he.element)}),Ve&&Un(T),T;if(at){if(Ve&&Un(C),on)for(k=x.call(C.ownerDocument);C.firstChild;)k.appendChild(C.firstChild);else k=C;return(Z.shadowroot||Z.shadowrootmode)&&(k=J.call(o,k,!0)),k}let oe=Xe?C.outerHTML:C.innerHTML;return Xe&&Q["!doctype"]&&C.ownerDocument&&C.ownerDocument.doctype&&C.ownerDocument.doctype.name&&me(Jd,C.ownerDocument.doctype.name)&&(oe="<!DOCTYPE "+C.ownerDocument.doctype.name+`>
7
- `+oe),Ve&&(oe=cn(oe)),P&&rn?L(oe):oe},t.setConfig=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Wn(T),kn=!0,tn=Q,nn=Z},t.clearConfig=function(){ct=null,kn=!1,tn=null,nn=null,P=V,O=""},t.isValidAttribute=function(T,l,C){ct||Wn({});const _=re(T),v=re(l);return dr(_,v,C)},t.addHook=function(T,l){typeof l=="function"&&be($,T)&&Kt($[T],l)},t.removeHook=function(T,l){if(be($,T)){if(l!==void 0){const C=Rd($[T],l);return C===-1?void 0:Id($[T],C,1)[0]}return ju($[T])}},t.removeHooks=function(T){be($,T)&&($[T]=[])},t.removeAllHooks=function(){$=Qu()},t}Zu();const Go=new Map,Vo=new Map,rf=()=>()=>{},uf=()=>!0,af=()=>!1;function ea(e){const t=/^data:image\/svg\+xml(;base64)?,([\s\S]*)$/.exec(e);if(!t)return null;try{if(!t[1])return decodeURIComponent(t[2]);const n=Uint8Array.from(atob(t[2]),o=>o.charCodeAt(0));return new TextDecoder("utf-8").decode(n)}catch{return null}}function lf(e){const t=Vo.get(e);if(t)return t;const n=fetch(e).then(o=>o.ok?o.text():null).then(o=>(o!=null&&Go.set(e,o),o)).catch(()=>null).finally(()=>{Vo.delete(e)});return Vo.set(e,n),n}function sf(e,t=!0){const n=d.useSyncExternalStore(rf,uf,af)&&t&&e?ea(e)??Go.get(e)??null:null,[o,r]=d.useState({src:e,enabled:t,svg:n});return d.useEffect(()=>{if(!t||!e){r({src:e,enabled:t,svg:null});return}const u=ea(e)??Go.get(e)??null;if(u!==null){r({src:e,enabled:t,svg:u});return}let a=!0;return lf(e).then(i=>{a&&r({src:e,enabled:t,svg:i})}),()=>{a=!1}},[e,t]),o.src===e&&o.enabled===t?o.svg:n}exports.CACHE_GROUPS=vr,exports.CORE_VERSION=vs,exports.DocumentTitleSuppressContext=br,exports.EMPTY_COMPOSITION=wo,exports.MediaQueryOverrideContext=mr,exports.NO_CODA=ke,exports.SYLLABLE_MIN=xe,exports.VAP_PAGE_SIZE_OPTIONS=gt,exports.buildGradeSection=Su,exports.buildPartOfSpeechSection=wu,exports.buildPositionSection=Fc,exports.buildSelectSection=xc,exports.buildSyllableSection=kc,exports.buildWordTypeSection=Eu,exports.charToPronValue=pu,exports.convertComposition=yu,exports.fmtBytes=Ja,exports.gradeBandDescriptions=Eo,exports.gradeDescriptions=Tu,exports.lsBytes=Lr,exports.meaningKey=Lo,exports.normalizeWordAttributeFilter=Js,exports.pronToCharValue=hu,exports.syllableToFilter=yo,exports.toWordAttributeFilterCodes=lo,exports.today=Rt,exports.toggleAttributeFilter=jc,exports.useAnchoredMenu=Ed,exports.useCacheManagement=Xa,exports.useDailyTrainingSelection=id,exports.useDelayedHoverAnchor=fd,exports.useDeviceManagement=dl,exports.useDocumentTitle=_a,exports.useEscToClose=sd,exports.useFontScale=ya,exports.useHoverAnchor=dd,exports.useInlineSvg=sf,exports.useListControls=Cd,exports.useMediaQuery=Aa,exports.usePageResetOnChange=Mu,exports.usePagedList=gd,exports.usePasswordChange=La,exports.useRelativeDay=Na,exports.useSoundCompassExam=Ad,exports.useTablePaging=sl,exports.useTableSort=cl,exports.useToastState=md,exports.useTrainingTypeLabels=wd,exports.useVisitAllPanel=ol,exports.useVisitHistory=el,exports.useVisitSchedule=nl,exports.useWindowEvent=qn,exports.useWordAttributeFilterKeys=bu,exports.useWordDataStats=Qa,exports.useWordMeanings=cd,exports.useWordTrainingDataGeneration=Xc,exports.useWordTrainingFilter=qc,exports.valueToJamos=He,exports.wordAttributeFilterFromCodes=io;
5
+ and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",bizNo:"Business no.",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Sicheong-gil, Chuncheon, Gangwon, Korea",bizNoValue:"526-81-02926"},us={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},as={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount_one:"Downloading {{n}} word",downloadingCount_other:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},ls={clearAriaLabel:"Clear input"},is={ariaLabel:"Select tab"},ss={ariaLabel:"Tabs"},cs={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},ds={ariaLabel:"User avatar"},fs={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"}},gs={weekly:{title:"Weekly Training",daily:"Daily Listening"},homework:{title:"Homework Progress",totalRate:"Overall rate",done:"Done"},today:{tooltipTotal:"Total",tooltipDone:"Done"},visit:{title:"Linked Visit Records"},detail:"Details",detailFor:"{{name}} details"},Cs={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"}},ms={steps:"Step {{current}} of {{total}}"},ps={skippedOnly_one:"{{n}} older record was excluded \u2014 it does not say what was answered.",skippedOnly_other:"{{n}} older records were excluded \u2014 they do not say what was answered.",runs_one:"{{count}} run",runs_other:"{{count}} runs"},hs={resetColumns:"Reset column widths",scrollRegion:"Horizontally scrollable table",rowActionHint:"Press a row to open its details"},ys={viewWords:"Words"},bs={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},Ss={chooseDate:"Choose a date",selectYear:"Select year",selectMonth:"Select month"},ws={previewRegion:"Report preview \u2014 scrollable sideways"},Es={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},As={place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},Ts={clearSelection:"Clear selection"},_s={showResult:"Show {{type}} result"},Ds={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},Bs={loading:"Loading"},Ns={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},Os={ariaLabel:"Breadcrumb"},vs={empty:"No items yet."},Ls={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"},Rs={common:Li,calendar:Ri,passCard:Ii,rating:Mi,colorPicker:Pi,dropdown:ki,accordion:xi,header:Fi,nav:ji,settings:$i,usage:Hi,account:Gi,training:Vi,customers:Wi,payment:Ui,coupons:Yi,visits:zi,trainingType:Ki,myWordTable:qi,keyWords:Ji,wordTable:Xi,wordSearch:Qi,wordPrint:Zi,topic:es,device:ts,manager:ns,wordPairs:os,footer:rs,date:us,wordData:as,textField:ls,segmentedControl:is,tabs:ss,fileUpload:cs,avatar:ds,myHomework:fs,trainingStatus:gs,store:Cs,progress:ms,trainingMiss:ps,table:hs,wordScore:ys,topBanner:bs,datePicker:Ss,report:ws,tooltip:Es,phonemeProfile:As,bulkBar:Ts,debug:_s,badge:Ds,loader:Bs,soundCompass:Ns,breadcrumb:Os,board:vs,promoBannerBg:Ls};const Is="0.428.0",Ms=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],ro="ko",Ps="ihab_display_language";function Hr(){if(typeof window>"u")return ro;try{const e=localStorage.getItem(Ps);if(e&&Ms.some(t=>t.code===e))return e}catch{}return ro}function Gr(e){try{document.documentElement.lang=e}catch{}}Be.on("languageChanged",Gr),Gr(Hr()),Be.use(Me.initReactI18next).init({resources:{ko:{translation:vi},en:{translation:Rs}},lng:Hr(),fallbackLng:ro,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Vr=new Set(["field"]),uo="none";function ks(e){return e==null||String(e).trim()===""}function ao(e){return typeof e!="string"?!1:wn.includes(e)||e===uo||Ur.test(e)||Yr.test(e)}function lo(e,t,n){if(!e)return!0;const o=e instanceof Set?e:new Set(e);if(o.size===0)return!0;if(n!=null){if(o.has(`age${n}`))return!0;for(const r of o){const u=zr(r);if(u!=null&&n>=u)return!0}}return ks(t)?o.has(uo):o.has(String(t))}const Ct=["grade","syllables","pos","wordType","field"],wn=["1","2","3","4","5"],Wr=99,Ur=/^age([1-9]\d?)$/,Yr=/^age([1-9]\d?)plus$/;function xs(e){const t=Ur.exec(e);return t?Number(t[1]):null}function zr(e){const t=Yr.exec(e);return t?Number(t[1]):null}function Kr(e){if(!Array.isArray(e)||e.length===0||e.length>wn.length)return null;const t=[];let n=1;for(let r=0;r<e.length;r++){const u=e[r];if(!u||u.grade!==r+1||typeof u.showAge!="boolean")return null;const a=u.showAge?void 0:Fs(u.label);if(a===null)return null;const i={grade:u.grade,minAge:n,maxAge:null,showAge:u.showAge};if(a&&(i.label=a),r===e.length-1){if(u.maxAge!==null)return null;t.push(i);break}const s=u.maxAge;if(typeof s!="number"||!Number.isInteger(s)||s<n||s>=Wr)return null;i.maxAge=s,t.push(i),n=s+1}const o=t.flatMap(r=>r.label?[r.label]:[]);return new Set(o).size!==o.length?null:(js(t),t)}function Fs(e){if(e==null)return;if(typeof e!="string")return null;const t=e.trim();if(t){if(ao(t)||Xr.test(t))return null;for(const n of xt())if(mt(n).reverse.grade.has(t))return null;return t}}const En=new Map,qr=new Map;function js(e){En.clear();for(const t of e)t.label&&(En.set(String(t.grade),t.label),qr.set(t.label,String(t.grade)))}function $s(e){const t=[];for(const n of e){if(!n.showAge){t.push(String(n.grade));continue}if(n.maxAge==null){t.push(`age${n.minAge}plus`);continue}for(let o=n.minAge;o<=n.maxAge;o++)t.push(`age${o}`)}return t}const Hs=["1","2","3","4","5+"],Gs=["noun","verb","modifier"],Vs=["native","sino","foreign","mixed"],Ws={grade:[],syllables:Hs,pos:Gs,wordType:Vs,field:[]},Us=(e,t)=>e==="grade"?ao(t):Ws[e].includes(t),Ys={noun:["\uBA85","\uC218"],verb:["\uB3D9","\uD615"],modifier:["\uBD80","\uAD00"]},zs={native:"\uACE0\uC720",sino:"\uD55C\uC790",foreign:"\uC678\uB798",mixed:"\uD63C\uC885"},Ks={grade:["\uB09C\uC774\uB3C4 \uB4F1\uAE09","\uB4F1\uAE09","Grade","Difficulty"]},qs={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)"]}},io=new Map;try{Be.store?.on?.("added",()=>io.clear())}catch{}function mt(e){const t=io.get(e);if(t)return t;const n=Be.getFixedT(e),o={section:{grade:n("wordSearch.filter.difficulty","\uB09C\uC774\uB3C4"),syllables:n("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),pos:n("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:n("wordSearch.filter.wordType","\uC720\uD615"),field:n("wordSearch.filter.field","\uC758\uBBF8\uBC94\uC8FC")},value:{grade:{...Object.fromEntries(wn.map(r=>[r,n("wordSearch.filter.grade",{n:Number(r),defaultValue:`${r}\uB4F1\uAE09`})])),...Object.fromEntries(Jr.map(r=>[`age${r}`,n("wordSearch.filter.age",{n:r,defaultValue:`${r}\uC138`})])),...Object.fromEntries(Jr.map(r=>[`age${r}plus`,n("wordSearch.filter.agePlus",{n:r,defaultValue:`${r}\uC138 \uC774\uC0C1`})])),[uo]:n("wordSearch.filter.gradeNone","\uC5C6\uC74C")},syllables:{...Object.fromEntries(["1","2","3","4"].map(r=>[r,n("wordSearch.filter.syllable",{n:Number(r),defaultValue:`${r}\uC74C\uC808`})])),"5+":n("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1")},pos:{noun:n("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)"),verb:n("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)"),modifier:n("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")},wordType:{native:n("wordSearch.filter.type.native","\uACE0\uC720\uC5B4"),sino:n("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4"),foreign:n("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4"),mixed:n("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")},field:{}}};return o.reverse=Object.fromEntries(Ct.map(r=>{const u=new Map;for(const[a,i]of Object.entries(o.value[r]))u.has(i)||u.set(i,a);return[r,u]})),io.set(e,o),o}const Jr=Array.from({length:Wr},(e,t)=>t+1),xt=()=>Array.from(new Set([Be.language,"ko","en"].filter(e=>!!e))),Js="highUsage";function Xs(e){if(e===Js)return!0;for(const t of xt())if(Be.getFixedT(t)("wordPairs.filter.onlyHighUsage","\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC")===e)return!0;return!1}function Ft(e){if(Ct.includes(e))return e;for(const t of xt()){const n=mt(t);for(const o of Ct)if(n.section[o]===e)return o}for(const t of Ct)if(Ks[t]?.includes(e))return t;return null}function nt(e,t){if(Vr.has(e)||Us(e,t))return t;if(e==="grade"){const n=qr.get(t.trim());if(n)return n}for(const n of xt()){const o=mt(n).reverse[e].get(t);if(o)return o}for(const[n,o]of Object.entries(qs[e]??{}))if(o.includes(t))return n;if(e==="grade"&&Xr.test(t.trim()))return null;if(e==="grade"||e==="syllables"){const n=parseInt(t.replace(/\D/g,""),10);if(Number.isFinite(n)&&n>=1)return e==="grade"?n<=wn.length?String(n):null:n>=5?"5+":String(n)}return null}const Xr=/(^age\s*\d)|((세|살|years?\s*old|yrs?)(\s*(이상|\+|or\s+(older|above|more)))?$)/i;function Qs(e,t,n=Be.language){if(e==="grade"){const o=En.get(t);if(o)return o}return mt(n).value[e][t]??t}const Zs=e=>Array.isArray(e)?e.filter(t=>typeof t=="string"):typeof e=="string"&&e?[e]:[];function so(e){const t={};for(const[n,o]of Object.entries(e??{})){const r=Ft(n);if(r)for(const u of Zs(o)){const a=nt(r,u);if(!a)continue;const i=t[r]??(t[r]=[]);i.includes(a)||i.push(a)}}return t}function co(e,t=Be.language){const n=mt(t||"ko"),o={};for(const r of Ct){const u=(e?.[r]??[]).map(a=>(r==="grade"?En.get(a):void 0)??n.value[r][a]??(Vr.has(r)?a:void 0)).filter(a=>!!a);u.length&&(o[n.section[r]]=u)}return o}function ec(e,t=Be.language){const n={};for(const[o,r]of Object.entries(e??{}))Ft(o)||(n[o]=r);return{...n,...co(so(e),t)}}function tc(e){for(const t of xt()){const n=mt(t);if(Ct.some(o=>n.section[o]===e))return t}return Be.language||"ko"}let An=null,Qr=null,Zr=null;function nc(){const e=yn();if(e&&e.entries.length>0){const t=vt();if(An&&Qr===e&&Zr===t)return An;const n=new Set,o=[];for(const r of e.entries)!r.word||n.has(r.word)||(n.add(r.word),o.push({w:r.word,s:r.syllables,p:t?.[r.word]?[...t[r.word].cho??[],...t[r.word].jung??[],...t[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return An=o,Qr=e,Zr=t,An}return[]}const je=new Proxy([],{get(e,t){const n=nc(),o=n[t];return typeof o=="function"?o.bind(n):o}});function fo(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function Oe(e,t){if(t>=e.length)return q(e);if(t===0)return[];const n=e.slice();for(let o=0;o<t;o++){const r=o+Math.floor(Math.random()*(n.length-o)),u=n[o];n[o]=n[r],n[r]=u}return n.slice(0,t)}let go=null,eu=null;function Ye(){const e=yn();if(go&&eu===e)return go;const t=new Map;for(const n of je)n.w&&t.set(n.w,n.pron);return go=t,eu=e,t}function ce(e){return Ye().get(e)||e}function Tn(e,t,n=new Set){const o=[];for(const r of q(e)){if(o.length>=t)break;const u=ce(r);n.has(u)||(n.add(u),o.push(r))}return o}let oc=0;function Ce(e){return`${e}-rt-${++oc}`}function pt(e){const t=Lr();if(!t||t.total===0){const r=new Set;for(const u of e)r.add(u);return r}const n=pn(),o=new Set;for(const r of e)n.has(r)&&o.add(r);return o}const _n=new Map;let tu=null,nu=null,ou=null;function jt(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function Co(e){const t=Array.isArray(e.choseong)&&e.choseong.length===0?"[]":jt(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),r=n?`${jt(n.cho)}/${jt(n.jung)}/${jt(n.jong)}/${n.jongNone?"N":""}/${o}`:"",u=jt(e.grade);return`${e.difficulty??""}|${t}|${r}|${e.excludeNoImage?"1":"0"}|${e.count??""}|x${e.contrastCount??1}|${e.fullCount?"F":""}|s${e.sameStructureOnly===!1?"0":"1"}|v${e.phonemeView==="pron"?"p":"c"}|g${u}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}const mo=new Map;function rc(e){return Co({...e,count:void 0,choicesPerItem:void 0,fullCount:!1})}async function Ae(e){const t=yn(),n=vt(),o=e.excludeNoImage?pn():null;(t!==tu||n!==nu||e.excludeNoImage&&o!==ou)&&(_n.clear(),mo.clear(),tu=t,nu=n,ou=o);const r=Co(e);return _n.has(r)||_n.set(r,uc(e)),_n.get(r)}function ru(e){if(!e)return null;const t=a=>a==null?null:Array.isArray(a)?a.length?a:null:[a],n=t(e.cho),o=t(e.jung),r=!!e.jongNone,u=r?null:t(e.jong);return n||o||u||r?r&&!n&&!o&&!u?a=>Ha(a):a=>Va(a,{cho:n,jung:o,jong:u,jongNone:r}):null}function uu(e){const t=e.grade&&e.grade.length>0?new Set(e.grade):null,n=e.composition??null,o=n?.syllable!=null?new Set(Array.isArray(n.syllable)?n.syllable:[n.syllable]):null,r=n?[ru(n),o?a=>o.has(Nt(a)):null].filter(a=>a!=null):[];if(!t&&r.length===0)return null;const u=e.phonemeView==="pron";return a=>{if(!lo(t,a.grade,a.age))return!1;if(r.length===0)return!0;const i=u?ce(a.w):a.w;return r.every(s=>s(i))}}async function uc(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:r=null,excludeNoImage:u=!1}=e,a=e.grade&&e.grade.length>0?new Set(e.grade):null,i=e.sameStructureOnly??!0,s=e.phonemeView==="pron"?"pron":"char",c=Math.max(1,e.contrastCount??1),f=t==="cho"||t==="jung"||t==="jong",g=f&&c>=2,m=t==="count",p=n?new Set(Array.isArray(n)?n:[n]):null,b=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,w=o?[ru(o),b?R=>b.has(Nt(R)):null].filter(R=>R!=null):[],h=t==="random"||t===null,y=h||m,S=h||g||m;let E=je.filter(R=>!R.w||!lo(a,R.grade,R.age)?!1:S?!0:Array.isArray(R.p)&&R.p.length>0);p&&(E=E.filter(R=>{for(const x of p)if(ja(R.w,x))return!0;return!1})),w.length>0&&(E=E.filter(R=>{const x=s==="pron"?ce(R.w):R.w;return w.every(F=>F(x))})),r&&(E=E.filter(R=>R.w[0]===r));let A;if(u){const R=new Set;for(const x of E)if(R.add(x.w),Array.isArray(x.p))for(const F of x.p)R.add(F);if(y)for(const x of je)x.w&&R.add(x.w);A=pt(R)}else{const R=new Set;for(const x of E)if(R.add(x.w),Array.isArray(x.p))for(const F of x.p)R.add(F);if(y)for(const x of je)x.w&&R.add(x.w);A=R}let N=null;if(g){const R=new Set;for(const x of je)x.w&&R.add(x.w);N=u?pt(R):R}const M=E.filter(R=>A.has(R.w)),B=600,I=Array.from(A),P=I.length>B?Oe(I,B):I,O=m&&o!=null&&(se(o.cho)||se(o.jung)||se(o.jong)),V=2500,U=new Map;if(m&&!O&&c>=2){for(const R of I){const x=Nt(R),F=U.get(x);F?F.push(R):U.set(x,[R])}for(const[R,x]of U)x.length>V&&U.set(R,Oe(x,V))}const W=xa();let j=null;if(O){const R=rc(e),x=u?pn():null,F=mo.get(R);j=F&&F.imageOkSet===x?F.map:hl(o,I,W,i,s,ce),mo.set(R,{imageOkSet:x,map:j})}const L=500,Y=1500,fe=e.fullCount?M:t==="random"?M.length>L?Oe(M,L):M:M.length>Y?Oe(M,Y):M,ie=vt(),Se=[];for(const R of fe){let x;const F=ce(R.w);if(g)x=Ua(R.w,t,c,N,24).filter(J=>ce(J)!==F);else if(m)O?x=(j.get(R.w)??[]).filter(J=>ce(J)!==F):c<=1?x=jr(R.w,ie,{okSet:A,pronOf:ce,decompOf:W,sameStructureOnly:!1}):x=(U.get(Nt(R.w))??[]).filter(J=>{if(J===R.w||ce(J)===F)return!1;const $=Ya(F,ce(J));return c>=5?$>=5:$===c});else if(h){const J=$=>$!==R.w&&$.length===R.w.length&&ce($)!==F;if(e.fullCount){const $=Math.max(1,(e.choicesPerItem??3)-1),Le=[],ut=new Set;for(const Ke of P){if(!J(Ke))continue;const qe=ce(Ke);if(!ut.has(qe)&&(ut.add(qe),Le.push(Ke),Le.length>=$))break}x=Le}else x=P.filter(J)}else{const J=t;x=jr(R.w,ie,{kind:J,okSet:A,pronOf:ce,decompOf:W,sameStructureOnly:!1}),x.length===0&&(x=(P.length>30?Oe(P,30):P).filter($=>$!==R.w&&Fa(R.w,$)===t&&ce($)!==F))}if(i&&x.length>0&&(f||m&&!O)){const J=W(ce(R.w));x=x.filter($=>!no(J,W(ce($))))}x.length!==0&&Se.push({word:R,usable:x})}return Se}async function au(e,t){const{choicesPerItem:n=3,count:o=10}=t,r=n-1,u=(await Ae(t)).filter(i=>i.usable.length>=r),a=[];for(const i of q(u)){if(a.length>=o)break;const s=Tn(i.usable,r);if(s.length<r)continue;const c=q([i.word.w,...s]);a.push({id:Ce(e+"-item"),index:a.length+1,word:i.word.w,syllables:i.word.s,choices:c,answerIndex:c.indexOf(i.word.w)})}return a}async function ac(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Ae({...e,difficulty:null});if(r.length<t)return[];const u=e.composition??null,a=[],i=q([...r]);for(const s of i){if(a.length>=n)break;const c=s.word.w,f=[...s.word.pron||c],g=u&&Sn(u)?f.filter(h=>{const y=X(h);return!!y&&tt(y,u)}):[],m=fo(g.length?g:f);if(!m)continue;const p=r.filter(h=>h.word.w!==c&&h.word.s===s.word.s&&!(h.word.pron||h.word.w).includes(m)&&h.word.pron!==s.word.pron);if(p.length<o)continue;const b=Tn(p.map(h=>h.word.w),o);if(b.length<o)continue;const w=q([c,...b]);a.push({id:Ce("HPI-item"),index:a.length+1,targetSyllable:m,word:c,choices:w,answerIndex:w.indexOf(c)})}return a}async function lc(e){const{count:t=10}=e,n=(await Ae(e)).filter(u=>u.usable.length>=1);if(!n.length)return[];const o=n.length>=t?Oe(n,t):q(Array.from({length:t},(u,a)=>n[a%n.length])),r=q(Array.from({length:t},(u,a)=>a<Math.ceil(t/2)));return o.map((u,a)=>{const i=r[a];let s;if(i)s=[u.word.w,u.word.w];else{const c=fo(u.usable);s=Math.random()<.5?[u.word.w,c]:[c,u.word.w]}return{id:Ce("SOD-item"),index:a+1,word:u.word.w,pair:s,same:i}})}async function ic(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Ae({...e,difficulty:null});if(r.length<t+1)return[];const u=r.map(m=>m.word.w),a=new Map(r.map(m=>[m.word.w,m.word.pron])),i=m=>(a.get(m)||m)[0]??"",s={};for(const m of r){const p=i(m.word.w);p&&(s[p]||(s[p]=[]),s[p].push(m.word.w))}const c=Object.entries(s).filter(([,m])=>new Set(m.map(p=>a.get(p)||p)).size>=2).map(([m])=>m);if(c.length===0)return[];const f=[],g=q([...c]);for(let m=0;f.length<n&&m<n*4;m++){const p=g[m%g.length],b=s[p];if(b.length<2)continue;const w=q([...b]),h=w[0],y=a.get(h)||h,S=w.find(B=>B!==h&&(a.get(B)||B)!==y);if(!h||!S)continue;const E=a.get(S)||S,A=u.filter(B=>i(B)!==p&&B!==h&&B!==S&&B.length===S.length&&(a.get(B)||B)!==E);if(A.length<o)continue;const N=Tn(A,o);if(N.length<o)continue;const M=q([S,...N]);f.push({id:Ce("SWS-item"),index:f.length+1,sourceWord:h,targetSyllable:p,word:S,choices:M,answerIndex:M.indexOf(S)})}return f}function lu(e,t,n){const o=Ye(),r=s=>o.get(s)||s,u=(s,c)=>{const f=[...s],g=[...c];if(f.length!==g.length)return-1;let m=-1;for(let p=0;p<f.length;p++)if(f[p]!==g[p]){if(m>=0)return-1;m=p}return m},a=e.map(s=>({e:s,swaps:s.usable.filter(c=>!!c&&u(s.word.w,c)>=0&&r(c)!==r(s.word.w))})).filter(s=>s.swaps.length>0),i=[];for(const{e:s,swaps:c}of q(a)){if(i.length>=t)break;const f=fo(c)??"",g=[...s.word.w],m=[...f],p=u(s.word.w,f),b=Tn(s.usable.filter(w=>w&&w!==f),2,new Set([r(f),r(s.word.w)]));b.length<2||i.push({id:Ce(n),index:i.length+1,word:s.word.w,original:s.word.w,changed:f,changedFrom:p>=0?g[p]:"",changedTo:p>=0?m[p]:"",distractors:b})}return i}async function iu(e,t,n){const{count:o=10}=t,r=Ye(),u=je.filter(b=>b.w&&b.s===e),a=t.excludeNoImage?pt(u.map(b=>b.w)):null,i=a?u.filter(b=>a.has(b.w)):u,s=new Set(i.map(b=>b.w)),c=Bl(s),f=t.phonemeView??"char",g=t.composition??null,m=uu(t),p=[];for(const b of q(i)){if(p.length>=o)break;if(m&&!m(b))continue;const w=Nl(b.w,g,r,f,c,null,null);if(!w)continue;const h=w.distractors[0],y=[...b.w],S=[...h],E=y.findIndex((A,N)=>A!==S[N]);p.push({id:Ce(n),index:p.length+1,word:b.w,original:b.w,changed:h,changedFrom:E>=0?y[E]:"",changedTo:E>=0?S[E]:"",distractors:w.distractors.slice(1)})}return p}async function sc(e){return iu(2,e,"CS2-item")}async function cc(e){return iu(3,e,"CS3-item")}async function dc(e){const t=(await Ae({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return lu(t,e.count??10,"CP1-item")}async function fc(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await Ae({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return lu(n,e.count??10,"CP2-item")}async function gc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(o=>o.word.s===2);return Oe(n,t).map((o,r)=>({id:Ce("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Cc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(o=>o.word.s===3);return Oe(n,t).map((o,r)=>({id:Ce("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}function po(e){const t=je.map(n=>n.w);return e.excludeNoImage?pt(t):new Set(t)}async function mc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(i=>i.word.s===2),o=Ye(),r=po(e),u=e.phonemeView??"char",a=[];for(const i of q(n)){if(a.length>=t)break;const s=El(i.word.w,e.composition??null,o,u,r);if(!s)continue;const[c,...f]=s.distractors,g=[...i.word.w],m=g[0]===c?g[1]:g[0];a.push({id:Ce("D2-item"),index:a.length+1,original:i.word.w,word:i.word.w,dropped:m,missingResult:c,distractors:f})}return a}async function pc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(i=>i.word.s===3),o=Ye(),r=po(e),u=e.phonemeView??"char",a=[];for(const i of q(n)){if(a.length>=t)break;const s=Al(i.word.w,e.composition??null,o,u,r);if(!s)continue;const[c,...f]=s.distractors,g=[...i.word.w];let m="";for(let p=0;p<g.length;p++)if(g.filter((b,w)=>w!==p).join("")===c){m=g[p];break}a.push({id:Ce("D3-item"),index:a.length+1,original:i.word.w,word:i.word.w,dropped:m,missingResult:c,distractors:f})}return a}async function hc(e){const{count:t=10}=e,n=(await Ae({...e})).filter(i=>i.word.s>=3),o=Ye(),r=po(e),u=e.phonemeView??"char",a=[];for(const i of q(n)){if(a.length>=t)break;const s=Tl(i.word.w,e.composition??null,o,u,r);if(!s)continue;const[c,...f]=s.distractors,g=i.word.w,m=s.dropped??(g.startsWith(c)?g.slice(c.length):g.endsWith(c)?g.slice(0,g.length-c.length):"");a.push({id:Ce("DPC-item"),index:a.length+1,original:g,word:g,dropped:m,missingResult:c,distractors:f})}return a}async function yc(e){const{count:t=10}=e,n=(await Ae({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,r)=>{const u=Oe(n,3);return{id:Ce("LRO-item"),index:r+1,sequence:u,choices:q(u)}})}function Dn(e,t,n){const o=je.filter(i=>i.w&&i.s===e),r=t.excludeNoImage?pt(o.map(i=>i.w)):null,u=uu(t),a=[];for(const i of o)if(!(r&&!r.has(i.w))&&!(u&&!u(i))){if(n){const s=X(i.w);if(!s||!n(s))continue}a.push(i)}return a}function bc(e){const t=Dn(1,e,bn.MERGE_2_PHONEMES.syllable);return Oe(t,e.count??10).map((n,o)=>{const r=X(n.w);return{id:Ce("M2P-item"),index:o+1,parts:[ge[r.cho],Ee[r.jung]],answer:n.w,word:n.w}})}function Sc(e){const t=Dn(1,e,bn.MERGE_3_PHONEMES.syllable);return Oe(t,e.count??10).map((n,o)=>{const r=X(n.w);return{id:Ce("M3P-item"),index:o+1,parts:[ge[r.cho],Ee[r.jung],Ne[r.jong]],answer:n.w,word:n.w}})}function wc(e){const t=bn.DROP_FINAL_CONSONANT_FROM_1SYLL,n=Dn(t.syllables,e,t.syllable),o=Ye(),r=[];for(const u of q(n)){if(r.length>=(e.count??10))break;const a=_l(u.w,null,o);if(!a)continue;const[i,...s]=a.distractors;r.push({id:Ce("DFC-item"),index:r.length+1,original:u.w,word:u.w,result:i,distractors:s})}return r}function Ec(e){const t=bn.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=Dn(t.syllables,e,t.syllable),o=Ye(),r=[];for(const u of q(n)){if(r.length>=(e.count??10))break;const a=Dl(u.w,null,o);if(!a)continue;const i=X(o.get(u.w)||u.w);if(!i)continue;const[s,...c]=a.distractors;r.push({id:Ce("RCP-item"),index:r.length+1,base:u.w,word:u.w,missingConsonant:ge[i.cho],remaining:s,distractors:c})}return r}const Bn=new Map;let su=null,cu=null,du=null,ho=0;async function fu(e,t={}){const n=yn(),o=vt(),r=t.excludeNoImage?pn():null;(n!==su||o!==cu||t.excludeNoImage&&r!==du)&&(Bn.clear(),ho++,su=n,cu=o,du=r);const u=`${e}:${Co(t)}`;if(Bn.has(u))return Bn.get(u);const a=ho,i=await Tc(e,t);return a===ho&&Bn.set(u,i),i}const Ac={SAME_SOUND_PICK:e=>au("SSP",e),HEAR_AND_PICK_SAME:e=>au("HPS",e),HEAR_AND_PICK_INCLUDED:e=>ac(e),SAME_OR_DIFF:e=>lc(e),STARTS_WITH_SAME_SOUND:e=>ic(e),LISTEN_AND_REMEMBER_ORDER:e=>yc(e),MERGE_2_SYLLABLES:e=>gc(e),MERGE_3_SYLLABLES:e=>Cc(e),MERGE_2_PHONEMES:e=>bc(e),MERGE_3_PHONEMES:e=>Sc(e),DROP_1_FROM_2SYLL:e=>mc(e),DROP_1_FROM_3SYLL:e=>pc(e),DROP_PART_FROM_COMPOUND:e=>hc(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>wc(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>Ec(e),CHANGE_1_SYLL_IN_2SYLL:e=>sc(e),CHANGE_1_SYLL_IN_3SYLL:e=>cc(e),CHANGE_1_PHONEME_IN_1SYLL:e=>dc(e),CHANGE_1_PHONEME_IN_2SYLL:e=>fc(e)};async function Tc(e,t={}){const n=Ac[e];return n?await n(t):[]}async function _c(e){const t=["random","count"],n=Object.keys(Zn);let o=0;for(const r of t)for(const u of n){const a=Zn[u];fu(u,{difficulty:a.difficulty?r:null,contrastCount:1,composition:null,count:5,excludeNoImage:e,sameStructureOnly:!0,phonemeView:"char",grade:null}).catch(()=>{}),++o%6===0&&await new Promise(i=>setTimeout(i,0))}}async function Dc(e){const t=await Ae({...e,fullCount:!0}),n=e.choicesPerItem!=null?Math.max(1,e.choicesPerItem-1):1;return t.filter(o=>new Set(o.usable.map(r=>ce(r))).size>=n).length}async function Bc(e={}){const t=[];for(const i of je)i.w&&t.push(i.w);const n=e.excludeNoImage?pt(t):t,o=new Set,r=new Set,u=new Set,a=new Set;for(const i of n){a.add(Nt(i));for(const s of i){const c=X(s);if(c&&(ge[c.cho]!=="\u3147"&&o.add(ge[c.cho]),r.add(Ee[c.jung]),c.jong>0)){u.add(Ne[c.jong]);const f=mn[c.jong];f&&f.forEach(g=>u.add(g))}}}return{cho:o,jung:r,jong:u,syllable:a}}const Nc={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"})},Oc={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"})},vc={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 gu(e,t){if("place"in t)return Nc[t.place](e);const n=Oc[t.vowel](e);return t.glide?`${n} \xB7 ${vc[t.glide](e)}`:n}const Lc=(e,{defaultValue:t})=>t,Cu=(e,t)=>({jamos:e,phonetic:t,tooltip:gu(Lc,t)}),$e=(e,t)=>t.map(n=>Cu([n],{place:e})),de=(e,t,n)=>Cu([...e],n?{vowel:t,glide:n}:{vowel:t}),yo={cho:[$e("labial",["\u3142","\u3143","\u314D","\u3141"]),$e("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),$e("alveolar",["\u3145","\u3146"]),$e("palatal",["\u3148","\u3149","\u314A"]),$e("velar",["\u3131","\u3132","\u314B"]),$e("glottal",["\u314E"])],jung:[[de("\u3163","frontHigh"),de("\u315F","frontHigh","w"),de("\u3162","frontHigh","velar")],[de("\u3161","backHighUnrounded")],[de("\u315C","backHighRounded"),de("\u3160","backHighRounded","j")],[de("\u3154\u3150","frontMid"),de("\u3156\u3152","frontMid","j"),de("\u3159\u315A\u315E","frontMid","w")],[de("\u3153","backMidUnrounded"),de("\u3155","backMidUnrounded","j"),de("\u315D","backMidUnrounded","w")],[de("\u3157","backMidRounded"),de("\u315B","backMidRounded","j")],[de("\u314F","low"),de("\u3151","low","j"),de("\u3158","low","w")]],jong:[$e("labial",["\u3142","\u3141"]),$e("alveolar",["\u3137","\u3134","\u3139"]),$e("velar",["\u3131","\u3147"])]},Rc=[...ge],Ic=[...Ee],Mc=Ne.filter(e=>e!==""),He=e=>e===ke?[]:Array.from(e),ke="__NO_CODA__",mu=[1,2,3,4],xe=5,Pc=12,pu="SYL_",bo=e=>`${pu}${e}`,kc=e=>Number(e.slice(pu.length));function So(e){return e>=xe?Array.from({length:Pc-xe+1},(t,n)=>xe+n):[e]}const hu={cho:Rc,jung:Ic,jong:Mc},wo=e=>e.map(t=>t.map(({jamos:n,phonetic:o,tooltip:r})=>({v:n.join(""),phonetic:o,tooltip:r}))),Eo={cho:wo(yo.cho),jung:wo(yo.jung),jong:wo(yo.jong)},yu={};Eo.jung.flat().forEach(({v:e})=>{for(const t of He(e))yu[t]=e});const xc=new Set(Eo.cho.flat().map(e=>e.v));function bu(e,t){return e==="cho"?xc.has(t)?t:null:e==="jung"?yu[t]??t:Bt(t)}function Su(e,t,n){if(e==="jung"){const o=He(t);return n&&o.includes(n)?n:o[0]??t}return e==="jong"&&n&&Bt(n)===t?n:t}function wu(e,t,n,o){const r=(u,a)=>a?u==="jong"&&a===ke?ke:t==="pron"?bu(u,a):Su(u,a,u==="jung"?n:u==="jong"?o:null):null;return{...e,cho:r("cho",e.cho),jung:r("jung",e.jung),jong:r("jong",e.jong)}}const Ao={cho:null,jung:null,jong:null,syllable:null};function Fc(e){const{caps:t,difficulty:n,contrastCount:o,composition:r,phonemeView:u,excludeNoImage:a,sameStructureOnly:i,gradeFilter:s}=e,{i18n:c}=Me.useTranslation(),[f,g]=d.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[m,p]=d.useState(!1),[b,w]=d.useState(null),[h,y]=d.useState(0);Jn("wordpool:update",()=>y(E=>E+1)),Jn(Dr,()=>y(E=>E+1));const S=d.useRef(c.language);return d.useEffect(()=>{S.current!==c.language&&(S.current=c.language,y(E=>E+1))},[c.language]),d.useEffect(()=>{if(!t.choseong)return;let E=!1;return Bc({difficulty:n,excludeNoImage:a}).then(A=>{E||(g(A),p(A.cho.size+A.jung.size+A.jong.size>0))}).catch(()=>{E||(g({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),p(!1))}),()=>{E=!0}},[t.choseong,n,a,h]),d.useEffect(()=>{let E=!1;const A=r,N=A.cho?He(A.cho):null,M=A.jung?He(A.jung):null,B=A.jong===ke,I=B?null:A.jong?He(A.jong):null,P=A.syllable!=null?So(A.syllable):null,O=!!(N||M||I||B||P);return Dc({difficulty:t.difficulty?n:null,contrastCount:t.difficulty?o:1,composition:t.choseong&&O?{cho:N,jung:M,jong:I,jongNone:B,syllable:P}:null,excludeNoImage:a,sameStructureOnly:i,phonemeView:u==="pron"?"pron":"char",grade:s.length>0?s:null}).then(V=>{E||w(V)}).catch(()=>{E||w(null)}),()=>{E=!0}},[t.choseong,t.difficulty,n,o,r,u,a,i,h,s]),{viable:f,viableReady:m,wordCount:b,poolVersion:h}}function Eu(){const{t:e}=Me.useTranslation();return d.useMemo(()=>({difficulty:e("wordSearch.filter.difficulty","\uB09C\uC774\uB3C4"),syllables:e("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),syllable5plus:e("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1"),partOfSpeech:e("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:e("wordSearch.filter.wordType","\uC720\uD615"),posMap:{[e("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)")]:["\uBA85","\uC218"],[e("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)")]:["\uB3D9","\uD615"],[e("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")]:["\uBD80","\uAD00"]},typeMap:{[e("wordSearch.filter.type.native","\uACE0\uC720\uC5B4")]:"\uACE0\uC720",[e("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4")]:"\uD55C\uC790",[e("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4")]:"\uC678\uB798",[e("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")]:"\uD63C\uC885"}}),[e])}function Au(e,t,n){const o=Kr(n?.bands);return o?{label:t.difficulty,items:[...$s(o).map(r=>jc(e,r,o)),e("wordSearch.filter.gradeNone","\uC5C6\uC74C")],multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction,labelInfo:n?.labelInfo??{title:t.difficulty,items:To(e,o)}}:{label:t.difficulty,items:[...[3,4,5,6,7].map(r=>e("wordSearch.filter.age",{n:r,defaultValue:`${r}\uC138`})),...[2,3,4].map(r=>e("wordSearch.filter.grade",{n:r})),e("wordSearch.filter.gradeNone","\uC5C6\uC74C")],multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction,labelInfo:n?.labelInfo??{title:t.difficulty,items:[e("wordSearch.filter.difficultyInfoAge","3\uC138~7\uC138: \uAC00\uC7A5 \uC26C\uC6B4 \uB0B1\uB9D0(1\uB4F1\uAE09)\uC744 \uB610\uB798\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4."),e("wordSearch.filter.difficultyInfoGrade","2~4\uB4F1\uAE09: \uADF8\uBCF4\uB2E4 \uC5B4\uB824\uC6B4 \uB0B1\uB9D0\uC774\uACE0, \uB098\uC774\uB85C\uB294 \uB098\uB204\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."),e("wordSearch.filter.difficultyInfoNone","\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.")]}}}function jc(e,t,n){const o=n.find(a=>a.label&&String(a.grade)===t)?.label;if(o)return o;const r=xs(t);if(r!=null)return e("wordSearch.filter.age",{n:r,defaultValue:`${r}\uC138`});const u=zr(t);return u!=null?e("wordSearch.filter.agePlus",{n:u,defaultValue:`${u}\uC138 \uC774\uC0C1`}):e("wordSearch.filter.grade",{n:Number(t),defaultValue:`${t}\uB4F1\uAE09`})}function To(e,t){const n=t.some(o=>o.label);return[...t.map(o=>{const r=o.maxAge==null?e("wordSearch.filter.agePlus",{n:o.minAge,defaultValue:`${o.minAge}\uC138 \uC774\uC0C1`}):o.minAge===o.maxAge?e("wordSearch.filter.age",{n:o.minAge,defaultValue:`${o.minAge}\uC138`}):e("wordSearch.filter.ageRange",{from:o.minAge,to:o.maxAge,defaultValue:`${o.minAge}\uC138~${o.maxAge}\uC138`}),u=o.label??e("wordSearch.filter.grade",{n:o.grade,defaultValue:`${o.grade}\uB4F1\uAE09`});return o.showAge?n?e("wordSearch.filter.difficultyInfoBandAgeNamed",{ages:r,defaultValue:`${r}: \uB098\uC774\uB85C \uB098\uB208 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.`}):o.maxAge!=null&&o.maxAge>o.minAge?e("wordSearch.filter.difficultyInfoBandAge",{grade:u,ages:r,defaultValue:`${r}: ${u} \uB0B1\uB9D0\uC744 \uB098\uC774\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.`}):e("wordSearch.filter.difficultyInfoBandAgeOne",{grade:u,ages:r,defaultValue:`${r}: ${u} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.`}):e("wordSearch.filter.difficultyInfoBandGrade",{grade:u,ages:r,defaultValue:`${u}: ${r} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.`})}),e("wordSearch.filter.difficultyInfoNone","\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.")]}function Tu(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function _u(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function $c(e,t){return{label:t.syllables,items:[e("wordSearch.filter.syllable",{n:1}),e("wordSearch.filter.syllable",{n:2}),e("wordSearch.filter.syllable",{n:3}),e("wordSearch.filter.syllable",{n:4}),t.syllable5plus],multiple:!0,allOption:!0}}function Hc(e,t){const n=[e("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"),e("wordPairs.filter.onlyHighUsage","\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC")];return t?.includeStructure&&n.push(e("wordPairs.filter.onlySameStructure","\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC")),{label:e("wordPairs.filter.selectLabel","\uC120\uD0DD"),items:n,multiple:!0,labelAction:t?.labelAction,labelInfo:t?.labelInfo}}function Gc(e,t){const{label:n,headValue:o,midValue:r,tailValue:u,includeMid:a=!0,headDisabled:i,midDisabled:s,tailDisabled:c,allOptionDisabled:f,groupLabel:g,labelAction:m}=t;return{label:n,...g?{groupLabel:g}:{},...m?{labelAction:m}:{},allOption:!0,allLabel:e("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...f?{allOptionDisabled:f}:{},items:[{value:o,displayLabel:e("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:i},...a?[{value:r,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:s}]:[],{value:u,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:c}]}}function Vc(e,t,n){const o=Ft(n),r=o&&t!==Pe?nt(o,t):null;if(o&&(t===Pe||r)){const i={},s={};for(const[p,b]of Object.entries(e))(Ft(p)===o?s:i)[p]=b;if(t===Pe)return i;const c=so(s)[o]??[],f=c.includes(r)?c.filter(p=>p!==r):[...c,r];if(f.length===0)return i;const g=co({[o]:f},tc(n)),m=Object.values(g)[0]??[];return{...i,[n]:m}}if(t===Pe){const{[n]:i,...s}=e;return s}const u=e[n]??[],a=u.includes(t)?u.filter(i=>i!==t):[...u,t];if(a.length===0){const{[n]:i,...s}=e;return s}return{...e,[n]:a}}Object.fromEntries(Object.entries(Qn).map(([e,{nucleus:t}])=>[e,t]));const Wc={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},Uc={"\uCCB4\uC5B8(\uBA85\uC0AC,\uC218\uC0AC)":["\uBA85","\uC218"],"\uC6A9\uC5B8(\uB3D9\uC0AC,\uD615\uC6A9\uC0AC)":["\uB3D9","\uD615"],"\uC218\uC2DD\uC5B8(\uBD80\uC0AC,\uAD00\uD615\uC0AC)":["\uBD80","\uAD00"]},Yc={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",field:"\uC758\uBBF8\uBC94\uC8FC",posMap:Uc,typeMap:Wc},Du=new WeakMap;function zc(e,t){const n=Du.get(e);if(n&&n.keys===t)return n.value;const o={grades:[],syls:[],poses:[],types:[],fields:[],highUsage:!1},r={grade:o.grades,syllables:o.syls,pos:o.poses,wordType:o.types,field:o.fields};for(const[u,a]of Object.entries(e??{})){const i=Array.isArray(a)?a:typeof a=="string"?[a]:[];!o.highUsage&&i.some(Xs)&&(o.highUsage=!0);const s=u===t.difficulty?"grade":u===t.syllables?"syllables":u===t.partOfSpeech?"pos":u===t.wordType?"wordType":u===t.field?"field":Ft(u);if(s)for(const c of i)r[s].includes(c)||r[s].push(c)}return Du.set(e,{keys:t,value:o}),o}function Kc(e,t,n=Yc){const{grades:o,syls:r,poses:u,types:a,highUsage:i}=zc(t,n);if(i&&e.usage!==!0)return!1;if(o.length){const s=o.map(c=>nt("grade",c)??c.replace(/\D/g,"")).filter(c=>c!=="");if(s.length===0||!lo(s,e.grade,e.age))return!1}if(r.length){const s=e.syllables??0;if(!r.some(c=>{const f=c===n.syllable5plus?"5+":nt("syllables",c);return f==="5+"?s>=5:s===parseInt(f??c)}))return!1}return!(u.length&&!u.flatMap(s=>n.posMap[s]??Ys[nt("pos",s)??""]??[s]).some(s=>(e.pos??"").includes(s))||a.length&&!a.some(s=>e.wordType===(n.typeMap[s]??zs[nt("wordType",s)??""])))}const Bu=["1\uB4F1\uAE09 : \uD559\uB839\uC804\uAE30\uC5D0 \uC2B5\uB4DD\uD558\uC5EC \uD3C9\uC0DD\uC5D0 \uAC78\uCCD0 \uC77C\uC0C1 \uC5B8\uC5B4\uC0DD\uD65C\uC744 \uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uC5B4\uD718","2\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 1-2\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","3\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 3-4\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","4\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 5-6\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","\uB4F1\uAE09\uC5C6\uC74C : \uAD6D\uB9BD\uAD6D\uC5B4\uC6D0 \uD45C\uC900 \uC5B4\uD718 \uC678 \uACE0\uBE48\uB3C4 \uC0DD\uD65C \uC5B4\uD718, \uC2E0\uC870\uC5B4 \uBC0F \uC678\uB798\uC5B4"];function Nu(e){const t=e("wordPairs.filter.difficultyInfo",{returnObjects:!0,defaultValue:Bu});return Array.isArray(t)&&t.length>0&&t.every(n=>typeof n=="string")?t:Bu}function qc(e){return{composition:e("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:e("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:e("wordPairs.onset","\uCD08\uC131"),vowel:e("wordPairs.vowel","\uBAA8\uC74C"),coda:e("wordPairs.coda","\uC885\uC131"),phonemeGroup:e("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:e("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:e("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:e("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:e("training.filter.random","\uBB34\uC791\uC704"),exclude:e("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:e("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:e("common.none","\uC5C6\uC74C"),noImage:e("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:e("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:e("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:e("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:e("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:e("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}}function Jc(e){const{caps:t,t:n,attrKeys:o,labels:r,phonemeView:u,viable:a,partViable:i,syllableViable:s,minSyllables:c,gradeBands:f}=e,g=Kr(f),m=(w,h)=>({title:h,items:w}),p=[n("training.filter.excludeImageInfo",{defaultValue:"\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."}),n("training.filter.sameStructureInfo",{defaultValue:"\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."})],b=[];if(t.choseong){const w={value:ke,displayLabel:r.codaExclude},h=t.fixedNoCoda===!0,y=(S,E)=>{const A=h&&S==="jong",N={label:E,groupLabel:r.phonemeGroup,allOption:!t.requireSyllable,allLabel:r.noLimit,allOptionDisabled:A};if(u==="pron"){const B=Eo[S].map(I=>I.map(({v:P,phonetic:O})=>{const V=He(P),U=gu(n,O),W=A||!V.some(j=>a[S].has(j));return V.length>1?{value:P,labels:V,tooltip:U,disabled:W}:{value:P,tooltip:U,disabled:W}}));return S==="jong"&&!t.requireCoda&&B.unshift([w]),{...N,groups:B}}const M=hu[S].map(B=>!A&&i[S].has(B)?B:{value:B,disabled:!0});return{...N,items:S==="jong"&&!t.requireCoda?[w,...M]:M}};b.push(y("cho",r.trainOnset)),b.push(y("jung",r.trainVowel)),b.push(y("jong",r.trainCoda))}if(b.push({...Au(n,o,{bands:f,labelInfo:m(g?To(n,g):Nu(n))}),label:r.gradeLabel}),t.partOfSpeech&&b.push(Tu(o)),t.wordType&&b.push(_u(o)),t.choseong||t.fixedSyllable!=null){const w=t.fixedSyllable;b.push({label:r.syllableCount,items:[...mu.map(h=>({value:bo(h),displayLabel:n("wordPairs.syllableN",{n:h,defaultValue:"{{n}}\uC74C\uC808"}),disabled:w!=null?h!==w:!s.exact.has(h)||h<c})),{value:bo(xe),displayLabel:n("wordPairs.syllableNPlus",{n:xe,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:w!=null?xe!==w:!s.min}],allOption:!0,allOptionDisabled:w!=null})}return t.choseong?b.push({label:r.exclude,displayLabel:r.selectLabel,multiple:!0,items:[r.excludeImage,r.sameStructure],labelInfo:m(p)}):b.push({label:r.exclude,displayLabel:r.selectLabel,multiple:!0,items:[r.excludeImage],labelInfo:m([p[0]])}),b}const _o=e=>Array.isArray(e)?e.filter(ao):[],Xc="wt_filter",Ou=e=>`wt_filter_${e}`,Do=["noun","verb","modifier"],Bo=["native","sino","foreign","mixed"];function vu(e,t,n,o,r){if(!Array.isArray(e))return[];const u=[];for(const a of e){if(typeof a!="string")continue;const i=t.includes(a)?a:t.find(s=>r.some(c=>o(c,n(s))===a));i&&!u.includes(i)&&u.push(i)}return u}function Lu(e){try{const t=localStorage.getItem(Ou(e))??localStorage.getItem(Xc);if(t)return JSON.parse(t)}catch{}return null}function Ru(e){const t=e?.phonemeView;return t==="pron"?"pron":t==="direct"?"direct":"char"}function Qc(e){const t=e;return t?.composition?{cho:t.composition.cho??null,jung:t.composition.jung??null,jong:t.composition.jong??null,syllable:t.composition.syllable??null}:t?.choseong?{...Ao,cho:t.choseong}:Ao}function Zc(e,t,n){const{t:o,i18n:r}=Me.useTranslation(),u=JSON.stringify(n?.gradeBands??null),a=d.useMemo(()=>JSON.parse(u),[u]),[i]=d.useState(()=>n?.resetOnMount?null:Lu(e)),[s,c]=d.useState(Ru(i)),[f,g]=d.useState(()=>Qc(i)),m=d.useCallback(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:ke,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?ke:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);d.useEffect(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||g(D=>D.cho||D.jung||D.syllable!=null||D.jong?D:m())},[]);const p=d.useMemo(()=>se(f.cho)||se(f.jung)||se(f.jong)?"count":"random",[f.cho,f.jung,f.jong]),b=d.useRef(s==="char"?f.jung:null),w=d.useRef(s==="char"?f.jong:null);d.useEffect(()=>{s==="char"&&(b.current=f.jung,w.current=f.jong)},[s,f.jung,f.jong]);const[h,y]=d.useState(n?.resetOnMount?!!n?.defaultImageOnly:i?.excludeNoImage??!0),[S,E]=d.useState(n?.resetOnMount?!1:i?.sameStructureOnly??!0),[A,N]=d.useState(_o(i?.gradeFilter)),M=Array.from(new Set([r.language,"ko","en"].filter(Boolean))),B=(D,te)=>r.getFixedT(D)(te),I=D=>vu(D,Do,te=>`wordSearch.filter.pos.${te}`,B,M),P=D=>vu(D,Bo,te=>`wordSearch.filter.type.${te}`,B,M),[O,V]=d.useState(()=>I(i?.posFilter)),[U,W]=d.useState(()=>P(i?.wordTypeFilter)),j=d.useRef(n?.resetKey);d.useEffect(()=>{j.current!==n?.resetKey&&(j.current=n?.resetKey,g(m()),y(!!n?.defaultImageOnly),E(!1),N([]),V([]),W([]))},[n?.resetKey]);const L=Eu(),Y=d.useMemo(()=>Object.keys(L.posMap),[L]),fe=d.useMemo(()=>Object.keys(L.typeMap),[L]),ie=d.useMemo(()=>O.map(D=>Y[Do.indexOf(D)]).filter(Boolean),[O,Y]),Se=d.useMemo(()=>U.map(D=>fe[Bo.indexOf(D)]).filter(Boolean),[U,fe]),R=1,x=Math.max(1,[f.cho,f.jung,f.jong].filter(Boolean).length),[F,J]=d.useState(e);d.useEffect(()=>{if(F!==e){if(!n?.resetOnMount){const D=Lu(e);g(D?.composition??m()),y(D?.excludeNoImage??!0),E(D?.sameStructureOnly??!0),c(Ru(D)),N(_o(D?.gradeFilter)),V(I(D?.posFilter)),W(P(D?.wordTypeFilter))}J(e)}},[e,F,n?.resetOnMount]),d.useEffect(()=>{if(!n?.resetOnMount&&F===e)try{localStorage.setItem(Ou(e),JSON.stringify({contrastCount:x,composition:f,excludeNoImage:h,sameStructureOnly:S,phonemeView:s,gradeFilter:A,posFilter:O,wordTypeFilter:U}))}catch{}},[n?.resetOnMount,e,F,x,f,h,S,s,A,O,U]);const{viable:$,viableReady:Le,wordCount:ut,poolVersion:Ke}=Fc({caps:t,difficulty:p,contrastCount:x,composition:f,phonemeView:s,excludeNoImage:h,sameStructureOnly:S,gradeFilter:A});d.useEffect(()=>{Le&&g(D=>{const te={...D};let G=!1;return["cho","jung","jong"].forEach(K=>{const we=D[K];!we||we===ke||He(we).some(tn=>$[K].has(tn))||(te[K]=null,G=!0)}),D.syllable!=null&&t.fixedSyllable==null&&(D.syllable>=xe?[...$.syllable].some(K=>K>=xe)||(te.syllable=null,G=!0):(!$.syllable.has(D.syllable)||D.syllable<R)&&(te.syllable=null,G=!0)),G?te:D})},[$,Le,R,t.fixedSyllable]);const qe=d.useMemo(()=>{const D=te=>{const G=new Set;for(const K of hu[te])$[te].has(K)&&G.add(K);return G};return{cho:D("cho"),jung:D("jung"),jong:D("jong")}},[$]),Zt=d.useMemo(()=>({exact:new Set(mu.filter(D=>$.syllable.has(D))),min:[...$.syllable].some(D=>D>=xe)}),[$]),ne=d.useMemo(()=>qc(o),[o]),St=d.useMemo(()=>({[ne.trainOnset]:"cho",[ne.trainVowel]:"jung",[ne.trainCoda]:"jong"}),[ne]),kn=d.useMemo(()=>Jc({caps:t,t:o,attrKeys:L,labels:ne,phonemeView:s,viable:$,partViable:qe,syllableViable:Zt,minSyllables:R,gradeBands:a}),[t,o,L,ne,s,$,qe,Zt,R,a]),en={...(t.choseong||t.fixedSyllable!=null)&&f.syllable!=null?{[ne.syllableCount]:bo(f.syllable)}:{},...t.choseong&&f.cho?{[ne.trainOnset]:f.cho}:{},...t.choseong&&f.jung?{[ne.trainVowel]:f.jung}:{},...t.choseong&&f.jong?{[ne.trainCoda]:f.jong}:{},[ne.exclude]:[...h?[ne.excludeImage]:[],...S?[ne.sameStructure]:[]],[ne.gradeLabel]:A.map(D=>Qs("grade",D)),...t.partOfSpeech?{[L.partOfSpeech]:ie}:{},...t.wordType?{[L.wordType]:Se}:{}},Q=d.useCallback((D,te)=>{if(te===ne.exclude)D===ne.excludeImage?y(G=>!G):D===ne.sameStructure&&E(G=>!G);else if(te===ne.syllableCount)g(G=>{if(!D||D===Pe)return{...G,syllable:null};const K=kc(D);return{...G,syllable:G.syllable===K?null:K}});else if(te===ne.gradeLabel){if(!D||D===Pe){N([]);return}const G=nt("grade",D);if(G==null)return;N(K=>K.includes(G)?K.filter(we=>we!==G):[...K,G])}else if(te===L.partOfSpeech){if(!D||D===Pe){V([]);return}const G=Do[Y.indexOf(D)]??I([D])[0];if(!G)return;V(K=>K.includes(G)?K.filter(we=>we!==G):[...K,G])}else if(te===L.wordType){if(!D||D===Pe){W([]);return}const G=Bo[fe.indexOf(D)]??P([D])[0];if(!G)return;W(K=>K.includes(G)?K.filter(we=>we!==G):[...K,G])}else{const G=St[te];if(!G)return;g(K=>t.requireSyllable?D&&D!==Pe?{...K,[G]:D}:K:!D||D===Pe||K[G]===D?{...K,[G]:null}:{...K,[G]:D})}},[ne,St,L,Y,fe,t.requireSyllable]),wt=d.useCallback(D=>!t.partOfSpeech&&!t.wordType?!0:Kc(D,{...t.partOfSpeech?{[L.partOfSpeech]:ie}:{},...t.wordType?{[L.wordType]:Se}:{}},L),[t.partOfSpeech,t.wordType,ie,Se,L]),Z=d.useCallback(D=>{D!==s&&(D!=="direct"&&s!=="direct"&&g(te=>wu(te,D,b.current,w.current)),c(D))},[s]),Et=d.useCallback(()=>({composition:f,contrastCount:x,excludeNoImage:h,sameStructureOnly:S,phonemeView:s,gradeFilter:A,posFilter:O,wordTypeFilter:U}),[f,x,h,S,s,A,O,U]),De=d.useCallback(D=>{g(D.composition),y(D.excludeNoImage),E(D.sameStructureOnly??!0),c(D.phonemeView),N(_o(D.gradeFilter)),Array.isArray(D.posFilter)&&V(I(D.posFilter)),Array.isArray(D.wordTypeFilter)&&W(P(D.wordTypeFilter))},[]);return{difficulty:p,contrastCount:x,composition:f,choseong:f.cho,excludeNoImage:h,sameStructureOnly:S,gradeFilter:A,posFilter:ie,wordTypeFilter:Se,matchesWordAttributes:wt,poolVersion:Ke,filterSections:kn,filterSelected:en,handleFilterSelect:Q,phonemeView:s,setPhonemeView:Z,phonemeGroupLabel:ne.phonemeGroup,wordCount:ut,getFilterSnapshot:Et,restoreFilterSnapshot:De}}function ed(e){const t=i=>i?He(i):null,n=t(e.cho),o=t(e.jung),r=e.jong===ke,u=r?null:t(e.jong),a=e.syllable!=null?So(e.syllable):null;return!n&&!o&&!u&&!r&&!a?null:{cho:n,jung:o,jong:u,jongNone:r,syllable:a}}function td(e,t,n,o,r,u,a=!0,i="char",s=[]){const[c,f]=d.useState({}),[g,m]=d.useState(!1),{cho:p=null,jung:b=null,jong:w=null,syllable:h=null}=o??{},y=s.length>0?s.slice().sort().join(","):"",S=e.map(A=>A.key).join("|");d.useEffect(()=>{u>0&&_c(r).catch(()=>{})},[u,r]),d.useEffect(()=>{let A=!1;return m(!0),(async()=>{const N=ed({cho:p,jung:b,jong:w,syllable:h}),M=`${p??""}_${b??""}_${w??""}_${h??""}_${y}`,B={};await Promise.all(e.map(async I=>{const P=Zn[I.key];try{const O=await fu(I.key,{difficulty:P.difficulty?t:null,contrastCount:P.difficulty?n:1,composition:P.choseong?N:null,count:5,excludeNoImage:r,sameStructureOnly:a,phonemeView:i,grade:s.length>0?s:null});O&&O.length>0?B[I.key]={id:`wt-${I.key}-${t}-${M}-${Date.now()}`,name:I.label,training_type:I.key,category_main_code:"WORD",iconColor:I.color,subTitle:I.subTitle,items:O,itemCount:O.length}:B[I.key]={id:`wt-${I.key}-empty`,name:I.label,training_type:I.key,category_main_code:"WORD",iconColor:I.color,subTitle:I.subTitle,items:[],itemCount:0,__empty:!0}}catch{B[I.key]=null}})),A||(f(B),m(!1))})(),()=>{A=!0}},[t,n,p,b,w,h,r,a,i,u,y,S]);const E=JSON.stringify(e.map(A=>[A.key,A.label,A.color,A.subTitle]));return{perTypeData:d.useMemo(()=>{const A={};for(const[N,M]of Object.entries(c)){const B=e.find(I=>I.key===N);A[N]=M&&B?{...M,name:B.label,iconColor:B.color,subTitle:B.subTitle}:M}return A},[c,E]),generating:g}}const $t=[],Ht=[],Gt=[],Vt=[],Nn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},On={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},nd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let No=null,Iu=null,Ge=null;function od({counts:e,forceRefresh:t}={}){const n=Object.assign({},nd,e||{}),o=_t(),r=Dt(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),u=JSON.stringify(n);if(!t&&Iu===o&&No===u&&Ge)return Object.assign(Nn,Ge.today),Object.assign(On,Ge.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:Nn,yesterday:On};const a={LISTEN_IN_NOISE:Fe($t,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:Fe(Ht,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:Fe(Gt,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:Fe(Vt,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let i=null;return Ge&&No===u&&Ge.yesterday&&Ge.yesterday.date===r&&(i=Ge.yesterday.selection),i||(i={LISTEN_IN_NOISE:Fe($t,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:Fe(Ht,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:Fe(Gt,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:Fe(Vt,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(Nn,a),Object.assign(On,i),Iu=o,No=u,Ge={today:a,yesterday:{date:r,countsKey:u,selection:i}},{today:Nn,yesterday:On}}let Oo=!1,Wt=null;async function rd(){try{const e={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:qn&&qn.tagName.toUpperCase()==="SCRIPT"&&qn.src||new URL("hooks.cjs.js",document.baseURI).href}&&void 0||"/",t=await fetch(`${e}data/allTrainingData.json`);return t.ok?await t.json():null}catch{return null}}async function ud(){if(!Oo)return Wt||(Wt=(async()=>{const e=await rd();if(!e){Wt=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}const t={noise:[],short:[],long:[],order:[]};try{if(typeof e!="object"||Array.isArray(e))throw new Error("Invalid training data map");for(const n of Object.keys(e)){const o=e[n];if(!Array.isArray(o))throw new Error("Invalid training data group");for(const r of o){if(!r||typeof r!="object")continue;const u=r,a=String(u.training_type||n),i=String(u.category_main_code||u.category_main||u.category_0||""),s=String(u.category_sub_code||u.category_sub||u.category_1||""),c=Object.assign({},u,{training_type:a,category_0:i,category_1:s});a==="LISTEN_IN_NOISE"?t.noise.push(c):a==="SHORT_STORY"?t.short.push(c):a==="LONG_STORY"?t.long.push(c):a==="ORDERING_SENTENCE"&&t.order.push(c)}}}catch{Wt=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}$t.push(...t.noise),Ht.push(...t.short),Gt.push(...t.long),Vt.push(...t.order),Oo=!0,Ge=null;try{od()}catch{}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}})(),Wt)}async function ad(e=3e3){const t=ud();let n;try{await Promise.race([t,new Promise(o=>{n=setTimeout(o,e)})])}finally{n!==void 0&&clearTimeout(n)}return Oo}function Mu(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}function ld(e){let t=e>>>0;return()=>{t|=0,t=t+1831565813|0;let n=Math.imul(t^t>>>15,1|t);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}const id=Fe,sd=e=>{const[t,n,o]=e.split("-").map(Number);return Math.round(Date.UTC(t,(n||1)-1,o||1)/864e5)},cd=(e,t)=>{const n=e??{};return String(n.id??n.name??t)};function vn(e,t,n,o,r){if(!e.length||t<=0)return[];const u=ld(Mu(`${n}|${o}|${r}`)),a=sd(o)&1,i=e.filter((c,f)=>(Mu(`${n}|${r}|${cd(c,f)}`)>>>7&1)===a),s=i.length>=t&&e.length-i.length>=t;return id(s?i:e,t,u)}function vo(e,t,n){const o=r=>Math.max(0,e[r]||0);return{LISTEN_IN_NOISE:vn($t,o("LISTEN_IN_NOISE"),t,n,"LISTEN_IN_NOISE"),SHORT_STORY:vn(Ht,o("SHORT_STORY"),t,n,"SHORT_STORY"),LONG_STORY:vn(Gt,o("LONG_STORY"),t,n,"LONG_STORY"),ORDERING_SENTENCE:vn(Vt,o("ORDERING_SENTENCE"),t,n,"ORDERING_SENTENCE")}}function Lo(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const dd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function Ro(e=!1,t=dd,n){const o=Date.now(),r=Dt(o),u=Dt(o-864e5),a=n??"";return $t.length>0||Ht.length>0||Gt.length>0||Vt.length>0?{today:vo(t,a,r),yesterday:vo(t,a,u)}:{today:vo(t,a,r),yesterday:null}}function fd(e){const t=d.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=d.useRef(null),[o,r]=d.useState(!1),[u,a]=d.useState(!1),[i,s]=d.useState(0),[c,f]=d.useState(!1),[g,m]=d.useState(()=>_t()),p=JSON.stringify([e??"",g]),b=d.useRef(null),w=d.useRef(p);d.useEffect(()=>{const y=()=>{const E=Date.now(),A=new Date(E+9*36e5),N=Date.UTC(A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()+1)-9*36e5;return Math.max(1e3,N-E+1e3)};let S=setTimeout(function E(){m(_t()),S=setTimeout(E,y())},y());return()=>clearTimeout(S)},[]),d.useEffect(()=>{w.current=p,b.current=null,r(!1),f(!1);let y=!1,S=!1,E=!1,A,N=0,M=null,B=0;const I=40,P=()=>{A!==void 0&&(clearInterval(A),A=void 0)};let O=!1;try{const L=new URLSearchParams(window.location.search),Y=L.get("forceRefresh")||L.get("force");O=Y==="1"||Y==="true"}catch{}const V=L=>{S||(E=!0,b.current=p,t.current=L.today,n.current=L.yesterday,r(!0),f(!0),s(Y=>Y+1),y=!0,P())},U=async()=>{if(y)return;if(!O){const Y=Ro(!1,void 0,e);if(Lo(Y.today)){V(Y);return}}if(M){++N>=I&&W();return}if(N>=B){B=N+8,M=ad(3e3).catch(()=>!1);try{await M}finally{M=null}if(y)return}const L=Ro(O,void 0,e);if(Lo(L.today)){V(L);return}++N>=I&&W()};function W(){r(!0),f(!1),y=!0,P()}const j=()=>{if(S||E)return;const L=Ro(O,void 0,e);Lo(L.today)&&V(L)};try{window.addEventListener("speechear.data.updated",j)}catch{}return A=setInterval(U,250),U(),()=>{y=!0,S=!0,P();try{window.removeEventListener("speechear.data.updated",j)}catch{}}},[e,g]);const h=d.useCallback(y=>{if(b.current!==p)return;const S=u?n.current:t.current,E=u?t.current:n.current;return S?.[y]?.length?S[y]:E?.[y]?.length?E[y]:void 0},[u,i,p]);return{loaded:w.current===p&&o,hasData:w.current===p&&c,showYesterday:u,setShowYesterday:a,getTrainingPerType:h}}const ht=[];let Ln=!1;function Pu(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=ht[ht.length-1];t&&(e.stopPropagation(),t())}function ku(e){return ht.push(e),!Ln&&typeof document<"u"&&(document.addEventListener("keydown",Pu),Ln=!0),()=>{const t=ht.lastIndexOf(e);t>=0&&ht.splice(t,1),ht.length===0&&Ln&&typeof document<"u"&&(document.removeEventListener("keydown",Pu),Ln=!1)}}function gd(e,t=!0){const n=br(e);d.useEffect(()=>{if(t)return ku(()=>{n.current?.()})},[t,n])}const Io=(e,t)=>`${e}:${t??1}`,Ut=new Map,Mo=new Set,Po=new Map,Rn=6e4;function Cd(e,t){const[n,o]=d.useState(0),[r,u]=d.useState(0),a=JSON.stringify(Array.from(new Set(e.map(i=>Io(i.word,i.homonum)))).sort());return d.useEffect(()=>{const i=JSON.parse(a),s=Date.now(),c=i.filter(w=>!Ut.has(w)&&!Mo.has(w)&&!(s-(Po.get(w)??-1/0)<Rn));let f=!1,g=null,m=1/0;const p=(w=Rn)=>{if(f)return;const h=Date.now()+w;h>=m||(g!==null&&clearTimeout(g),m=h,g=setTimeout(()=>u(y=>y+1),w))};for(const w of i){if(Ut.has(w)||Mo.has(w))continue;const h=Po.get(w);h!=null&&s-h<Rn&&p(Math.max(0,Rn-(s-h)))}if(c.length===0)return()=>{f=!0,g!==null&&clearTimeout(g)};const b=Array.from(new Set(c.map(w=>w.slice(0,w.lastIndexOf(":")))));return Promise.resolve().then(()=>t(b)).then(w=>{for(const h of w)h.Meaning&&Ut.set(Io(h.Word,h.Homonum??void 0),h.Meaning);if(w.length>0)for(const h of c)Ut.has(h)||Mo.add(h);else{const h=Date.now();for(const y of c)Po.set(y,h);p()}f||w.length===0||o(h=>h+1)}).catch(()=>{p()}),()=>{f=!0,g!==null&&clearTimeout(g)}},[a,t,r]),d.useMemo(()=>{const i=JSON.parse(a),s=new Map;for(const c of i){const f=Ut.get(c);f!=null&&s.set(c,f)}return s},[a,n])}function md(){const[e,t]=d.useState(null),n=d.useCallback(u=>t(u.getBoundingClientRect()),[]),o=d.useCallback(()=>t(null),[]),r=d.useCallback(u=>{const a=u.getBoundingClientRect();t(i=>i?null:a)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:r}}function pd(e){const[t,n]=d.useState(null),[o,r]=d.useState(null),u=d.useRef(null);d.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const a=d.useCallback((s,c)=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{n(s),r(c)},e)},[e]),i=d.useCallback(()=>{u.current&&clearTimeout(u.current),n(null),r(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:a,close:i}}function hd(e,t,n){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,r=Math.max(1,Math.ceil(e.length/o)),u=Number.isFinite(n)?Math.min(Math.max(1,Math.floor(n)),r):1;return{pageItems:d.useMemo(()=>e.slice((u-1)*o,u*o),[e,u,o]),totalPages:r,curPage:u}}function xu(e,t){const[n,o]=d.useState(e);n!==e&&(o(e),t(1))}function yd(e={}){const{defaultPageSize:t="25",resetOn:n}=e,[o,r]=d.useState(""),[u,a]=d.useState(t),[i,s]=d.useState(1),c=m=>{const p=Number(m);return Number.isFinite(p)&&p>=1?Math.floor(p):null},f=c(t)??25,g=c(u)??f;return xu(JSON.stringify([o,u,...n??[]]),s),{query:o,setQuery:r,pageSize:u,setPageSize:a,perPage:g,page:i,setPage:s}}function bd(e="warning"){const[t,n]=d.useState(""),[o,r]=d.useState(e),[u,a]=d.useState(0),i=d.useCallback((g,m)=>{r(m),n(g),a(p=>p+1)},[]),s=d.useCallback(g=>i(g,"warning"),[i]),c=d.useCallback(g=>i(g,"normal"),[i]),f=d.useCallback(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:u,showToast:i,showWarning:s,showNormal:c,clearToast:f}}const Sd=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"audio-lines",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."}],wd={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function Ed(e){return Sd.map(t=>{const n=wd[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}const Yt={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},zt=Yt.blue,In=Yt.green,Kt=Yt.amber,Mn=Yt.purple,Ad=Yt.pink,Td=[{key:"discrimination",label:"\uBCC0\uBCC4\uD6C8\uB828",disc:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0, \uB610\uB294 \uD2B9\uC815 \uC18C\uB9AC\uB97C \uAD6C\uBCC4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"ear",types:[{key:"SAME_SOUND_PICK",label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",icon:"volume-2",color:zt,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"SAME_OR_DIFF",label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",icon:"diff",color:zt,subTitle:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},{key:"HEAR_AND_PICK_SAME",label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"headphones",color:zt,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"HEAR_AND_PICK_INCLUDED",label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"scan-search",color:zt,subTitle:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"STARTS_WITH_SAME_SOUND",label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"play-circle",color:zt,subTitle:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."}]},{key:"synthesis",label:"\uD569\uC131\uD6C8\uB828",disc:"\uB450 \uAC1C \uC774\uC0C1\uC758 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uD569\uCCD0 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"git-merge",types:[{key:"MERGE_2_SYLLABLES",label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",icon:"link-2",color:In,subTitle:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_SYLLABLES",label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",icon:"git-merge",color:In,subTitle:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_2_PHONEMES",label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",icon:"combine",color:In,subTitle:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_PHONEMES",label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",icon:"braces",color:In,subTitle:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"}]},{key:"deletion",label:"\uD0C8\uB77D\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC5D0\uC11C \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uC81C\uAC70\uD588\uC744 \uB54C \uB0A8\uB294 \uC18C\uB9AC\uB97C \uC778\uC2DD\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"scissors",types:[{key:"DROP_1_FROM_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"scissors",color:Kt,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_1_FROM_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"minus-circle",color:Kt,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_PART_FROM_COMPOUND",label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84\uD0C8\uB77D",icon:"unlink",color:Kt,subTitle:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_FINAL_CONSONANT_FROM_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",icon:"eraser",color:Kt,subTitle:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"REMOVE_CONSONANT_AND_IDENTIFY_PHONEME",label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",icon:"audio-lines",color:Kt,subTitle:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"}]},{key:"substitution",label:"\uB300\uCE58\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC758 \uC77C\uBD80 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uBC14\uAFB8\uC5B4 \uC0C8\uB85C\uC6B4 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"replace",types:[{key:"CHANGE_1_SYLL_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"replace",color:Mn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_SYLL_IN_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"shuffle",color:Mn,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"arrow-right-left",color:Mn,subTitle:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"flip-horizontal",color:Mn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}]},{key:"attention",label:"\uCCAD\uAC01\uC801\uC8FC\uC758\uB825\uD6C8\uB828",disc:"\uC5EC\uB7EC \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uC21C\uC11C\uB97C \uAE30\uC5B5\uD558\uB294 \uC8FC\uC758\uB825\uACFC \uB2E8\uAE30 \uAE30\uC5B5 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"list-ordered",types:[{key:"LISTEN_AND_REMEMBER_ORDER",label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",icon:"list-ordered",color:Ad,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function _d(){const{t:e}=Me.useTranslation();return d.useMemo(()=>{const t=Object.fromEntries(Ed(e).map(o=>[o.key,o.label])),n={...t};return Td.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}function Dd({computeStyle:e,onScroll:t="close",onResize:n="close",ignoreOutsideClickSelector:o}){const[r,u]=d.useState(!1),[a,i]=d.useState({position:"fixed"}),s=d.useRef(null),c=d.useRef(null),f=d.useCallback(()=>{s.current&&i(e(s.current.getBoundingClientRect(),s.current))},[e]);d.useLayoutEffect(()=>{r&&f()},[r,f]),d.useEffect(()=>{if(!r)return;let p=c.current?.offsetHeight??0;p>0&&f();let b=0,w=null;typeof ResizeObserver<"u"&&c.current&&(w=new ResizeObserver(()=>{const B=c.current?.offsetHeight??0;if(B!==p){if(p=B,++b>4){w?.disconnect(),w=null;return}f()}}),w.observe(c.current));const h=B=>{const I=B.target;o&&I.closest?.(o)||s.current?.contains(I)||c.current?.contains(I)||u(!1)};document.addEventListener("mousedown",h),document.addEventListener("pointerdown",h);let y=null;const S=()=>{if(typeof requestAnimationFrame>"u"){f();return}y===null&&(y=requestAnimationFrame(()=>{y=null,f()}))},E=B=>{c.current?.contains(B.target)||(t==="reposition"?S():t==="close"&&u(!1))};t!=="ignore"&&window.addEventListener("scroll",E,!0);const A=()=>{n==="reposition"?S():n==="close"&&u(!1)};let N=null;const M=()=>{A(),N&&clearTimeout(N),N=setTimeout(()=>{N=null,n==="reposition"&&f()},250)};return n!=="ignore"&&(window.addEventListener("resize",A),window.addEventListener("orientationchange",M)),()=>{y!==null&&cancelAnimationFrame(y),w?.disconnect(),document.removeEventListener("mousedown",h),document.removeEventListener("pointerdown",h),t!=="ignore"&&window.removeEventListener("scroll",E,!0),n!=="ignore"&&(window.removeEventListener("resize",A),window.removeEventListener("orientationchange",M)),N&&clearTimeout(N)}},[r,f,t,n,o]),d.useEffect(()=>{if(r)return ku(()=>u(!1))},[r]);const g=d.useCallback(()=>u(p=>!p),[]),m=d.useCallback(()=>u(!1),[]);return{open:r,setOpen:u,toggle:g,close:m,style:a,triggerRef:s,menuRef:c}}function Bd(e,{mode:t="playback",autoStart:n=!1,onPlaySpeaker:o,onComplete:r,playMs:u=1100,feedbackMs:a=1500}={}){const[i,s]=d.useState([]),[c,f]=d.useState(0),[g,m]=d.useState("idle"),[p,b]=d.useState(null),[w,h]=d.useState([]),[y,S]=d.useState(null),[E,A]=d.useState(0),N=d.useRef(0),M=d.useCallback(F=>{N.current=typeof F=="function"?F(N.current):F,A(N.current)},[]),B=d.useRef(o),I=d.useRef(r);d.useEffect(()=>{B.current=o,I.current=r},[o,r]);const P=d.useRef([]),O=()=>{P.current.forEach(clearTimeout),P.current=[]},V=(F,J)=>{P.current.push(setTimeout(J,F))};d.useEffect(()=>()=>O(),[]);const U=i[c]?.id??null,W=d.useRef(null),j=d.useCallback(()=>{O(),m("playing"),h([]),S(null),M(0);let F=0;e.forEach((J,$)=>{V(F,()=>{f($),b(J.id),B.current?.(J)}),V(F+1e3,()=>{b(null),h(Le=>[...Le,J.id])}),F+=1300}),V(F,()=>{m("done"),I.current?.({score:0,total:e.length})})},[e,M]),L=d.useCallback((F,J)=>{if(J>=F.length){m("done"),I.current?.({score:N.current,total:F.length});return}W.current=null,f(J),S(null),m("playing"),b(F[J].id),B.current?.(F[J]),V(u,()=>{b(null),m("waiting")})},[u]),Y=d.useCallback(()=>{O();const F=q(e);s(F),M(0),h([]),L(F,0)},[e,L,M]),fe=d.useCallback(()=>{t==="playback"?(s(e),j()):Y()},[t,e,j,Y]),ie=d.useCallback(()=>{O(),m("idle"),b(null),h([]),S(null),f(0),M(0),s([])},[M]),Se=JSON.stringify(e.map(F=>[F.id,F.label,F.angleDeg,F.deg,F.row,F.shortcut]));d.useEffect(()=>(n?fe():ie(),()=>O()),[t,Se,n]);const R=d.useCallback(F=>{g!=="waiting"||t==="playback"||W.current===c||(W.current=c,S(F),F===i[c]?.id&&M(J=>J+1),t==="exam"?(m("playing"),V(400,()=>L(i,c+1))):(m("feedback"),V(a,()=>L(i,c+1))))},[g,t,i,c,L,a,M]),x=t==="playback"?e.length:i.length;return{bind:{activeSpeakerId:p,playedIds:w,selectedId:y,answerId:U,showFeedback:g==="feedback",clickable:g==="waiting",onSelectSpeaker:R},index:c,total:x,score:E,phase:g,done:g==="done",start:fe,reset:ie}}/*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */function Fu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Nd(e){if(Array.isArray(e))return e}function Od(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,u,a,i=[],s=!0,c=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(s=(o=u.call(n)).done)&&(i.push(o.value),i.length!==t);s=!0);}catch(f){c=!0,r=f}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return i}}function vd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ld(e,t){return Nd(e)||Od(e,t)||Rd(e,t)||vd()}function Rd(e,t){if(e){if(typeof e=="string")return Fu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fu(e,t):void 0}}const ju=Object.entries,$u=Object.setPrototypeOf,Id=Object.isFrozen,Md=Object.getPrototypeOf,Pd=Object.getOwnPropertyDescriptor;let ae=Object.freeze,le=Object.seal,yt=Object.create,Hu=typeof Reflect<"u"&&Reflect,ko=Hu.apply,xo=Hu.construct;ae||(ae=function(t){return t}),le||(le=function(t){return t}),ko||(ko=function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),u=2;u<o;u++)r[u-2]=arguments[u];return t.apply(n,r)}),xo||(xo=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return new t(...o)});const ot=ue(Array.prototype.forEach),kd=ue(Array.prototype.lastIndexOf),Gu=ue(Array.prototype.pop),qt=ue(Array.prototype.push),xd=ue(Array.prototype.splice),bt=Array.isArray,Jt=ue(String.prototype.toLowerCase),Fo=ue(String.prototype.toString),Vu=ue(String.prototype.match),Xt=ue(String.prototype.replace),Wu=ue(String.prototype.indexOf),Fd=ue(String.prototype.trim),jd=ue(Number.prototype.toString),$d=ue(Boolean.prototype.toString),Uu=typeof BigInt>"u"?null:ue(BigInt.prototype.toString),Yu=typeof Symbol>"u"?null:ue(Symbol.prototype.toString),be=ue(Object.prototype.hasOwnProperty),Qt=ue(Object.prototype.toString),me=ue(RegExp.prototype.test),rt=Hd(TypeError);function ue(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return ko(e,t,o)}}function Hd(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return xo(e,n)}}function z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Jt;if($u&&$u(e,null),!bt(t))return e;let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const u=n(r);u!==r&&(Id(t)||(t[o]=u),r=u)}e[r]=!0}return e}function Gd(e){for(let t=0;t<e.length;t++)be(e,t)||(e[t]=null);return e}function Te(e){const t=yt(null);for(const o of ju(e)){var n=Ld(o,2);const r=n[0],u=n[1];be(e,r)&&(bt(u)?t[r]=Gd(u):u&&typeof u=="object"&&u.constructor===Object?t[r]=Te(u):t[r]=u)}return t}function Vd(e){switch(typeof e){case"string":return e;case"number":return jd(e);case"boolean":return $d(e);case"bigint":return Uu?Uu(e):"0";case"symbol":return Yu?Yu(e):"Symbol()";case"undefined":return Qt(e);case"function":case"object":{if(e===null)return Qt(e);const t=e,n=ve(t,"toString");if(typeof n=="function"){const o=n(t);return typeof o=="string"?o:Qt(o)}return Qt(e)}default:return Qt(e)}}function ve(e,t){for(;e!==null;){const o=Pd(e,t);if(o){if(o.get)return ue(o.get);if(typeof o.value=="function")return ue(o.value)}e=Md(e)}function n(){return null}return n}function Wd(e){try{return me(e,""),!0}catch{return!1}}const zu=ae(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),jo=ae(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$o=ae(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ud=ae(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ho=ae(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Yd=ae(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ku=ae(["#text"]),qu=ae(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Go=ae(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ju=ae(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Pn=ae(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),zd=le(/{{[\w\W]*|^[\w\W]*}}/g),Kd=le(/<%[\w\W]*|^[\w\W]*%>/g),qd=le(/\${[\w\W]*/g),Jd=le(/^data-[\-\w.\u00B7-\uFFFF]+$/),Xd=le(/^aria-[\-\w]+$/),Xu=le(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qd=le(/^(?:\w+script|data):/i),Zd=le(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ef=le(/^html$/i),tf=le(/^[a-z][.\w]*(-[.\w]+)+$/i),Qu=le(/<[/\w!]/g),Zu=le(/<[/\w]/g),nf=le(/<\/no(script|embed|frames)/i),of=le(/\/>/i),_e={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ea=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],rf=ae(z({},ea)),uf=(function(){const e={};return ot(ea,t=>{e[t]=le(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),ae(e)})(),af=function(){return typeof window>"u"?null:window},lf=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(o=n.getAttribute(r));const u="dompurify"+(o?"#"+o:"");try{return t.createPolicy(u,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},ta=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ze=function(t,n,o,r){return be(t,n)&&bt(t[n])?z(r.base?Te(r.base):{},t[n],r.transform):o},Vo=function(t,n,o){const r=be(t,n)?t[n]:void 0;return r&&typeof r=="object"?Te(r):o()};function na(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:af();const t=_=>na(_);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==_e.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,r=o.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,a=e.Node,i=e.Element,s=e.NodeFilter,c=e.NamedNodeMap;c===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const f=e.DOMParser,g=e.trustedTypes,m=i.prototype,p=ve(m,"cloneNode"),b=ve(m,"remove"),w=ve(m,"nextSibling"),h=ve(m,"childNodes"),y=ve(m,"parentNode"),S=ve(m,"shadowRoot"),E=ve(m,"attributes"),A=a&&a.prototype?ve(a.prototype,"nodeType"):null,N=a&&a.prototype?ve(a.prototype,"nodeName"):null,M=a&&a.prototype?ve(a.prototype,"ownerDocument"):null,B=function(l){return A?A(l):l.nodeType},I=function(l){return N?N(l):l.nodeName};if(typeof u=="function"){const _=n.createElement("template");_.content&&_.content.ownerDocument&&(n=_.content.ownerDocument)}let P,O="",V,U=!1,W=0;const j=function(){if(W>0)throw rt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},L=function(l){j(),W++;try{return P.createHTML(l)}finally{W--}},Y=function(l){j(),W++;try{return P.createScriptURL(l)}finally{W--}},fe=function(){return U||(V=lf(g,r),U=!0),V},ie=n,Se=ie.implementation,R=ie.createNodeIterator,x=ie.createDocumentFragment,F=ie.getElementsByTagName,J=o.importNode;let $=ta();t.isSupported=typeof ju=="function"&&typeof y=="function"&&Se&&Se.createHTMLDocument!==void 0;const Le=zd,ut=Kd,Ke=qd,qe=Jd,Zt=Xd,ne=Qd,St=Zd,kn=tf;let en=Xu,Q=null;const wt=z({},[...zu,...jo,...$o,...Ho,...Ku]);let Z=null;const Et=z({},[...qu,...Go,...Ju,...Pn]);let De=Object.seal(yt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),D=null,te=null;const G=Object.seal(yt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,we=!0,tn=!1,Yo=!0,Ve=!1,Je=!0,Xe=!1,xn=!1,nn=null,on=null,Fn=!1,at=!1,rn=!1,un=!1,zo=!0,Ko=!1;const qo="user-content-";let jn=!0,$n=!1,lt={},it=null;const Jo=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Xo=null;const Qo=z({},["audio","video","img","source","image","track"]);let Zo=null;const er=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),an="http://www.w3.org/1998/Math/MathML",ln="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml";let st=Re,Hn=!1,Gn=null;const ra=z({},[an,ln,Re],Fo),tr=ae(["mi","mo","mn","ms","mtext"]);let Vn=z({},tr);const nr=ae(["annotation-xml"]);let Wn=z({},nr);const ua=z({},["title","style","font","a","script"]);let At=null;const aa=["application/xhtml+xml","text/html"],la="text/html";let re=null,ct=null;const ia=n.createElement("form"),or=function(l){return l instanceof RegExp||l instanceof Function},Un=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ct&&ct===l)return;(!l||typeof l!="object")&&(l={}),l=Te(l),At=aa.indexOf(l.PARSER_MEDIA_TYPE)===-1?la:l.PARSER_MEDIA_TYPE,re=At==="application/xhtml+xml"?Fo:Jt,Q=ze(l,"ALLOWED_TAGS",wt,{transform:re}),Z=ze(l,"ALLOWED_ATTR",Et,{transform:re}),Gn=ze(l,"ALLOWED_NAMESPACES",ra,{transform:Fo}),Zo=ze(l,"ADD_URI_SAFE_ATTR",er,{transform:re,base:er}),Xo=ze(l,"ADD_DATA_URI_TAGS",Qo,{transform:re,base:Qo}),it=ze(l,"FORBID_CONTENTS",Jo,{transform:re}),D=ze(l,"FORBID_TAGS",Te({}),{transform:re}),te=ze(l,"FORBID_ATTR",Te({}),{transform:re}),lt=be(l,"USE_PROFILES")?l.USE_PROFILES&&typeof l.USE_PROFILES=="object"?Te(l.USE_PROFILES):l.USE_PROFILES:!1,K=l.ALLOW_ARIA_ATTR!==!1,we=l.ALLOW_DATA_ATTR!==!1,tn=l.ALLOW_UNKNOWN_PROTOCOLS||!1,Yo=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ve=l.SAFE_FOR_TEMPLATES||!1,Je=l.SAFE_FOR_XML!==!1,Xe=l.WHOLE_DOCUMENT||!1,at=l.RETURN_DOM||!1,rn=l.RETURN_DOM_FRAGMENT||!1,un=l.RETURN_TRUSTED_TYPE||!1,Fn=l.FORCE_BODY||!1,zo=l.SANITIZE_DOM!==!1,Ko=l.SANITIZE_NAMED_PROPS||!1,jn=l.KEEP_CONTENT!==!1,$n=l.IN_PLACE||!1,en=Wd(l.ALLOWED_URI_REGEXP)?l.ALLOWED_URI_REGEXP:Xu,st=typeof l.NAMESPACE=="string"?l.NAMESPACE:Re,Vn=Vo(l,"MATHML_TEXT_INTEGRATION_POINTS",()=>z({},tr)),Wn=Vo(l,"HTML_INTEGRATION_POINTS",()=>z({},nr));const C=Vo(l,"CUSTOM_ELEMENT_HANDLING",()=>yt(null));if(De=yt(null),be(C,"tagNameCheck")&&or(C.tagNameCheck)&&(De.tagNameCheck=C.tagNameCheck),be(C,"attributeNameCheck")&&or(C.attributeNameCheck)&&(De.attributeNameCheck=C.attributeNameCheck),be(C,"allowCustomizedBuiltInElements")&&typeof C.allowCustomizedBuiltInElements=="boolean"&&(De.allowCustomizedBuiltInElements=C.allowCustomizedBuiltInElements),le(De),Ve&&(we=!1),rn&&(at=!0),lt&&(Q=z({},Ku),Z=yt(null),lt.html===!0&&(z(Q,zu),z(Z,qu)),lt.svg===!0&&(z(Q,jo),z(Z,Go),z(Z,Pn)),lt.svgFilters===!0&&(z(Q,$o),z(Z,Go),z(Z,Pn)),lt.mathMl===!0&&(z(Q,Ho),z(Z,Ju),z(Z,Pn))),G.tagCheck=null,G.attributeCheck=null,be(l,"ADD_TAGS")&&(typeof l.ADD_TAGS=="function"?G.tagCheck=l.ADD_TAGS:bt(l.ADD_TAGS)&&(Q===wt&&(Q=Te(Q)),z(Q,l.ADD_TAGS,re))),be(l,"ADD_ATTR")&&(typeof l.ADD_ATTR=="function"?G.attributeCheck=l.ADD_ATTR:bt(l.ADD_ATTR)&&(Z===Et&&(Z=Te(Z)),z(Z,l.ADD_ATTR,re))),be(l,"ADD_FORBID_CONTENTS")&&bt(l.ADD_FORBID_CONTENTS)&&(it===Jo&&(it=Te(it)),z(it,l.ADD_FORBID_CONTENTS,re)),jn&&(Q["#text"]=!0),Xe&&z(Q,["html","head","body"]),Q.table&&(z(Q,["tbody"]),delete D.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw rt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw rt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const T=P;P=l.TRUSTED_TYPES_POLICY;try{O=L("")}catch(v){throw P=T,v}}else l.TRUSTED_TYPES_POLICY===null?(P=void 0,O=""):(P===void 0&&(P=fe()),P&&typeof O=="string"&&(O=L("")));ae&&ae(l),ct=l},rr=z({},[...jo,...$o,...Ud]),ur=z({},[...Ho,...Yd]),sa=function(l,C,T){return C.namespaceURI===Re?l==="svg":C.namespaceURI===an?l==="svg"&&(T==="annotation-xml"||Vn[T]):!!rr[l]},ca=function(l,C,T){return C.namespaceURI===Re?l==="math":C.namespaceURI===ln?l==="math"&&Wn[T]:!!ur[l]},da=function(l,C,T){return C.namespaceURI===ln&&!Wn[T]||C.namespaceURI===an&&!Vn[T]?!1:!ur[l]&&(ua[l]||!rr[l])},fa=function(l){let C=y(l);(!C||!C.tagName)&&(C={namespaceURI:st,tagName:"template"});const T=Jt(l.tagName),v=Jt(C.tagName);return Gn[l.namespaceURI]?l.namespaceURI===ln?sa(T,C,v):l.namespaceURI===an?ca(T,C,v):l.namespaceURI===Re?da(T,C,v):!!(At==="application/xhtml+xml"&&Gn[l.namespaceURI]):!1},We=function(l){qt(t.removed,{element:l});try{y(l).removeChild(l)}catch{if(b(l),!y(l))throw rt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ar=function(l,C,T){try{l.removeAttributeNode(C)}catch{try{l.removeAttribute(T)}catch{}}},sn=function(l){cn(l);const C=h(l);if(C){const v=[];ot(C,k=>{qt(v,k)}),ot(v,k=>{try{b(k)}catch{}})}const T=E(l);if(T)for(let v=T.length-1;v>=0;--v){const k=T[v],H=k&&k.name;typeof H=="string"&&ar(l,k,H)}},Qe=function(l,C,T){if(!T)try{T=C.getAttributeNode(l)}catch{T=null}qt(t.removed,{attribute:T||null,from:C});try{T?C.removeAttributeNode(T):C.removeAttribute(l)}catch{try{C.removeAttribute(l)}catch{}}if(l==="is")if(at||rn)try{We(C)}catch{}else try{C.setAttribute(l,"")}catch{}},ga=function(l){const C=E(l);if(C)for(let T=C.length-1;T>=0;--T){const v=C[T],k=v&&v.name;typeof k!="string"||Z[re(k)]||ar(l,v,k)}},cn=function(l){const C=[l];for(;C.length>0;){const T=C.pop();B(T)===_e.element&&ga(T);const k=h(T);if(k)for(let H=k.length-1;H>=0;--H)C.push(k[H])}},lr=function(l,C){return Je?l==="patchsrc"?!0:l==="for"&&C!=="label"&&C!=="output":!1},Ca=function(l){if(!Je)return;const C=[l];for(;C.length>0;){const T=C.pop(),v=B(T);if(v===_e.processingInstruction||v===_e.comment&&me(Zu,T.data)){try{b(T)}catch{}continue}if(v===_e.element){const H=T,ee=re(I(T));try{H.hasAttribute&&H.hasAttribute("patchsrc")&&H.removeAttribute("patchsrc"),H.hasAttribute&&H.hasAttribute("for")&&lr("for",ee)&&H.removeAttribute("for")}catch{}}const k=h(T);if(k)for(let H=k.length-1;H>=0;--H)C.push(k[H])}},ir=function(l){let C=null,T=null;if(Fn)l="<remove></remove>"+l;else{const H=Vu(l,/^[\r\n\t ]+/);T=H&&H[0]}At==="application/xhtml+xml"&&st===Re&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");const v=P?L(l):l;if(st===Re)try{C=new f().parseFromString(v,At)}catch{}if(!C||!C.documentElement){C=Se.createDocument(st,"template",null);try{C.documentElement.innerHTML=Hn?O:v}catch{}}const k=C.body||C.documentElement;return l&&T&&k.insertBefore(n.createTextNode(T),k.childNodes[0]||null),st===Re?F.call(C,Xe?"html":"body")[0]:Xe?C.documentElement:k},sr=function(l){const C=M?M(l):l.ownerDocument;return R.call(C||l,l,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},dn=function(l){return l=Xt(l,Le," "),l=Xt(l,ut," "),l=Xt(l,Ke," "),l},Yn=function(l){var C;l.normalize();const T=M?M(l):l.ownerDocument,v=R.call(T||l,l,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let k=v.nextNode();for(;k;)k.data=dn(k.data),k=v.nextNode();const H=(C=l.querySelectorAll)===null||C===void 0?void 0:C.call(l,"template");H&&ot(H,ee=>{dt(ee.content)&&Yn(ee.content)})},fn=function(l){const C=N?N(l):null;return typeof C!="string"||re(C)!=="form"?!1:typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||l.attributes!==E(l)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function"||l.nodeType!==A(l)||l.childNodes!==h(l)},dt=function(l){if(!A||typeof l!="object"||l===null)return!1;try{return A(l)===_e.documentFragment}catch{return!1}},Tt=function(l){if(!A||typeof l!="object"||l===null)return!1;try{return typeof A(l)=="number"}catch{return!1}};function Ie(_,l,C){_.length!==0&&ot(_,T=>{T.call(t,l,C,ct)})}const ma=function(l,C){return!!(Je&&l.hasChildNodes()&&!Tt(l.firstElementChild)&&me(Qu,l.textContent)&&me(Qu,l.innerHTML)||Je&&l.namespaceURI===Re&&rf[C]&&(Tt(l.firstElementChild)||typeof l.textContent=="string"&&me(uf[C],l.textContent))||l.nodeType===_e.processingInstruction||Je&&l.nodeType===_e.comment&&me(Zu,l.data))},gn=function(l,C){if(l instanceof RegExp)return me(l,C);if(l instanceof Function){for(var T=arguments.length,v=new Array(T>2?T-2:0),k=2;k<T;k++)v[k-2]=arguments[k];return!!l(C,...v)}return!1},pa=function(l,C,T){if(!D[C]&&Cr(C)&&gn(De.tagNameCheck,C))return!1;if(jn&&!it[C]){const v=y(l),k=h(l);if(k&&v){const H=k.length;for(let ee=H-1;ee>=0;--ee){const oe=l===T?p(k[ee],!0):k[ee];v.insertBefore(oe,w(l))}}}return We(l),!0},cr=function(l,C,T,v){return l.length===0?C:C===T||C===v?Te(C):C},dr=function(l,C){return l===C||y(l)!==null?!1:($n&&cn(l),!0)},fr=function(l,C){if(Ie($.beforeSanitizeElements,l,null),dr(l,C))return!0;if(fn(l))return We(l),!0;const T=re(I(l));if(Q=cr($.uponSanitizeElement,Q,wt,nn),Ie($.uponSanitizeElement,l,{tagName:T,allowedTags:Q}),dr(l,C))return!0;if(ma(l,T))return We(l),!0;if(D[T]||!(G.tagCheck instanceof Function&&G.tagCheck(T))&&!Q[T]){const k=pa(l,T,C);return k===!1&&Ie($.afterSanitizeElements,l,null),k}if(B(l)===_e.element&&!fa(l)||(T==="noscript"||T==="noembed"||T==="noframes")&&me(nf,l.innerHTML))return We(l),!0;if(Ve&&l.nodeType===_e.text){const k=dn(l.textContent);l.textContent!==k&&(qt(t.removed,{element:l.cloneNode()}),l.textContent=k)}return Ie($.afterSanitizeElements,l,null),!1},gr=function(l,C,T){if(te[C]||lr(C,l)||zo&&(C==="id"||C==="name")&&(T in n||T in ia))return!1;const v=Z[C]||G.attributeCheck instanceof Function&&G.attributeCheck(C,l);return we&&me(qe,C)||K&&me(Zt,C)?!0:v?Zo[C]||me(en,Xt(T,St,""))||(C==="src"||C==="xlink:href"||C==="href")&&l!=="script"&&Wu(T,"data:")===0&&Xo[l]||tn&&!me(ne,Xt(T,St,""))?!0:!T:Cr(l)&&gn(De.tagNameCheck,l)&&gn(De.attributeNameCheck,C,l)||C==="is"&&De.allowCustomizedBuiltInElements&&gn(De.tagNameCheck,T)},ha=z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Cr=function(l){return!ha[Jt(l)]&&me(kn,l)},ya=function(l,C,T,v){if(P&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!T)switch(g.getAttributeType(l,C)){case"TrustedHTML":return L(v);case"TrustedScriptURL":return Y(v)}return v},ba=function(l,C,T,v){try{T?l.setAttributeNS(T,C,v):l.setAttribute(C,v),fn(l)?We(l):Gu(t.removed)}catch{Qe(C,l)}},mr=function(l){Ie($.beforeSanitizeAttributes,l,null);const C=l.attributes;if(!C||fn(l))return;Z=cr($.uponSanitizeAttribute,Z,Et,on);const T={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Z,forceKeepAttr:void 0};let v=C.length;const k=re(l.nodeName);for(;v--;){const H=C[v],ee=H.name,oe=H.namespaceURI,he=H.value,ye=re(ee),Kn=he;let pe=ee==="value"?Kn:Fd(Kn);if(T.attrName=ye,T.attrValue=pe,T.keepAttr=!0,T.forceKeepAttr=void 0,Ie($.uponSanitizeAttribute,l,T),pe=T.attrValue,Ko&&(ye==="id"||ye==="name")&&Wu(pe,qo)!==0&&(Qe(ee,l,H),pe=qo+pe),Je&&me(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,pe)){Qe(ee,l,H);continue}if(ye==="attributename"&&Vu(pe,"href")){Qe(ee,l,H);continue}if(!T.forceKeepAttr){if(!T.keepAttr){Qe(ee,l,H);continue}if(!Yo&&me(of,pe)){Qe(ee,l,H);continue}if(Ve&&(pe=dn(pe)),!gr(k,ye,pe)){Qe(ee,l,H);continue}pe=ya(k,ye,oe,pe),pe!==Kn&&ba(l,ee,oe,pe)}}Ie($.afterSanitizeAttributes,l,null)},Cn=function(l){let C=null;const T=sr(l);for(Ie($.beforeSanitizeShadowDOM,l,null);C=T.nextNode();)if(Ie($.uponSanitizeShadowNode,C,null),fr(C,l),mr(C),dt(C.content)&&Cn(C.content),B(C)===_e.element){const v=S(C);dt(v)&&(zn(v),Cn(v))}Ie($.afterSanitizeShadowDOM,l,null)},zn=function(l){const C=[{node:l,shadow:null}];for(;C.length>0;){const T=C.pop();if(T.shadow){Cn(T.shadow);continue}const v=T.node,H=B(v)===_e.element,ee=h(v);if(ee)for(let oe=ee.length-1;oe>=0;--oe)C.push({node:ee[oe],shadow:null});if(H){const oe=N?N(v):null;if(typeof oe=="string"&&re(oe)==="template"){const he=v.content;dt(he)&&C.push({node:he,shadow:null})}}if(H){const oe=S(v);dt(oe)&&C.push({node:null,shadow:oe},{node:oe,shadow:null})}}};return t.sanitize=function(_){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=null,T=null,v=null,k=null;if(Hn=!_,Hn&&(_="<!-->"),typeof _!="string"&&!Tt(_)&&(_=Vd(_),typeof _!="string"))throw rt("dirty is not a string, aborting");if(!t.isSupported)return _;xn?(Q=nn,Z=on):Un(l),($.uponSanitizeElement.length>0||$.uponSanitizeAttribute.length>0)&&(Q=Te(Q)),$.uponSanitizeAttribute.length>0&&(Z=Te(Z)),t.removed=[];const H=$n&&typeof _!="string"&&Tt(_);if(H){Ca(_);const he=I(_);if(typeof he=="string"){const ye=re(he);if(!Q[ye]||D[ye])throw sn(_),rt("root node is forbidden and cannot be sanitized in-place")}if(fn(_))throw sn(_),rt("root node is clobbered and cannot be sanitized in-place");try{zn(_)}catch(ye){throw sn(_),ye}}else if(Tt(_))C=ir("<!---->"),T=C.ownerDocument.importNode(_,!0),T.nodeType===_e.element&&T.nodeName==="BODY"||T.nodeName==="HTML"?C=T:C.appendChild(T),zn(T);else{if(!at&&!Ve&&!Xe&&_.indexOf("<")===-1)return P&&un?L(_):_;if(C=ir(_),!C)return at?null:un?O:""}C&&Fn&&We(C.firstChild);const ee=H?_:C;try{const he=sr(ee);for(;v=he.nextNode();)fr(v,ee),mr(v),dt(v.content)&&Cn(v.content)}catch(he){throw H&&(sn(_),ot(t.removed,ye=>{ye.element&&cn(ye.element)})),he}if(H)return ot(t.removed,he=>{he.element&&cn(he.element)}),Ve&&Yn(_),_;if(at){if(Ve&&Yn(C),rn)for(k=x.call(C.ownerDocument);C.firstChild;)k.appendChild(C.firstChild);else k=C;return(Z.shadowroot||Z.shadowrootmode)&&(k=J.call(o,k,!0)),k}let oe=Xe?C.outerHTML:C.innerHTML;return Xe&&Q["!doctype"]&&C.ownerDocument&&C.ownerDocument.doctype&&C.ownerDocument.doctype.name&&me(ef,C.ownerDocument.doctype.name)&&(oe="<!DOCTYPE "+C.ownerDocument.doctype.name+`>
7
+ `+oe),Ve&&(oe=dn(oe)),P&&un?L(oe):oe},t.setConfig=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Un(_),xn=!0,nn=Q,on=Z},t.clearConfig=function(){ct=null,xn=!1,nn=null,on=null,P=V,O=""},t.isValidAttribute=function(_,l,C){ct||Un({});const T=re(_),v=re(l);return gr(T,v,C)},t.addHook=function(_,l){typeof l=="function"&&be($,_)&&qt($[_],l)},t.removeHook=function(_,l){if(be($,_)){if(l!==void 0){const C=kd($[_],l);return C===-1?void 0:xd($[_],C,1)[0]}return Gu($[_])}},t.removeHooks=function(_){be($,_)&&($[_]=[])},t.removeAllHooks=function(){$=ta()},t}na();const Wo=new Map,Uo=new Map,sf=()=>()=>{},cf=()=>!0,df=()=>!1;function oa(e){const t=/^data:image\/svg\+xml(;base64)?,([\s\S]*)$/.exec(e);if(!t)return null;try{if(!t[1])return decodeURIComponent(t[2]);const n=Uint8Array.from(atob(t[2]),o=>o.charCodeAt(0));return new TextDecoder("utf-8").decode(n)}catch{return null}}function ff(e){const t=Uo.get(e);if(t)return t;const n=fetch(e).then(o=>o.ok?o.text():null).then(o=>(o!=null&&Wo.set(e,o),o)).catch(()=>null).finally(()=>{Uo.delete(e)});return Uo.set(e,n),n}function gf(e,t=!0){const n=d.useSyncExternalStore(sf,cf,df)&&t&&e?oa(e)??Wo.get(e)??null:null,[o,r]=d.useState({src:e,enabled:t,svg:n});return d.useEffect(()=>{if(!t||!e){r({src:e,enabled:t,svg:null});return}const u=oa(e)??Wo.get(e)??null;if(u!==null){r({src:e,enabled:t,svg:u});return}let a=!0;return ff(e).then(i=>{a&&r({src:e,enabled:t,svg:i})}),()=>{a=!1}},[e,t]),o.src===e&&o.enabled===t?o.svg:n}exports.CACHE_GROUPS=Rr,exports.CORE_VERSION=Is,exports.DocumentTitleSuppressContext=wr,exports.EMPTY_COMPOSITION=Ao,exports.MediaQueryOverrideContext=hr,exports.NO_CODA=ke,exports.SYLLABLE_MIN=xe,exports.VAP_PAGE_SIZE_OPTIONS=gt,exports.buildGradeSection=Au,exports.buildPartOfSpeechSection=Tu,exports.buildPositionSection=Gc,exports.buildSelectSection=Hc,exports.buildSyllableSection=$c,exports.buildWordTypeSection=_u,exports.charToPronValue=bu,exports.convertComposition=wu,exports.fmtBytes=Za,exports.gradeBandDescriptions=To,exports.gradeDescriptions=Nu,exports.lsBytes=Ir,exports.meaningKey=Io,exports.normalizeWordAttributeFilter=ec,exports.pronToCharValue=Su,exports.syllableToFilter=So,exports.toWordAttributeFilterCodes=so,exports.today=It,exports.toggleAttributeFilter=Vc,exports.useAnchoredMenu=Dd,exports.useCacheManagement=el,exports.useDailyTrainingSelection=fd,exports.useDelayedHoverAnchor=pd,exports.useDeviceManagement=Cl,exports.useDocumentTitle=Ba,exports.useEscToClose=gd,exports.useFontScale=wa,exports.useHoverAnchor=md,exports.useInlineSvg=gf,exports.useListControls=yd,exports.useMediaQuery=Da,exports.usePageResetOnChange=xu,exports.usePagedList=hd,exports.usePasswordChange=Ma,exports.useRelativeDay=La,exports.useSoundCompassExam=Bd,exports.useTablePaging=fl,exports.useTableSort=gl,exports.useToastState=bd,exports.useTrainingTypeLabels=_d,exports.useVisitAllPanel=al,exports.useVisitHistory=ol,exports.useVisitSchedule=ul,exports.useWindowEvent=Jn,exports.useWordAttributeFilterKeys=Eu,exports.useWordDataStats=tl,exports.useWordMeanings=Cd,exports.useWordTrainingDataGeneration=td,exports.useWordTrainingFilter=Zc,exports.valueToJamos=He,exports.wordAttributeFilterFromCodes=co;