@ihabdevteam/core 0.9.3 → 0.9.5

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,4 +1,4 @@
1
- "use strict";var l=require("react"),mt=require("react-i18next"),V=require("react/jsx-runtime"),Bo=require("react-dom"),Pn=typeof document<"u"?document.currentScript:null;function mr({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:u=.1,lineHeightRatio:r=1.4}={}){const i=_=>Math.max(n,Math.min(o,Number(_))),[s,c]=l.useState(()=>{try{const _=localStorage.getItem(e),g=_?Number(_):1;return Number.isFinite(g)?g:1}catch{return 1}});l.useEffect(()=>{try{localStorage.setItem(e,String(s))}catch{}},[e,s]);const C=_=>{c(typeof _=="function"?g=>i(_(g)):i(_))},f=()=>C(_=>+(_+u).toFixed(6)),p=()=>C(_=>+(_-u).toFixed(6)),d=s<o-Number.EPSILON,m=s>n+Number.EPSILON,S=Math.round(t*s),w=Math.round(S*r);return{scale:s,setScale:C,increase:f,decrease:p,canIncrease:d,canDecrease:m,fontSize:S,lineHeight:w}}const Do=l.createContext(null);function gr(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function _r(e){const t=l.useContext(Do),n=r=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(r).matches,[o,u]=l.useState(n(e));return l.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e),i=c=>u(c.matches),s=r;return s.addEventListener?s.addEventListener("change",i):s.addListener&&s.addListener(i),u(r.matches),()=>{s.removeEventListener?s.removeEventListener("change",i):s.removeListener&&s.removeListener(i)}},[e]),t&&typeof t.mobile=="boolean"&&gr(e)?t.mobile:o}function vo(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),t}function Oo(e,t){const n=vo(t);l.useEffect(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const $n=" \xB7 ",Lo=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes($n)?e.split($n).pop()??e:e})(),Ro=l.createContext(!1);function Er(e){const t=l.useContext(Ro);l.useEffect(()=>{if(t||typeof e!="string"||!e)return;const n=document.title;return document.title=Lo?`${e}${$n}${Lo}`:e,()=>{document.title=n}},[e,t])}function br(){const{t:e}=mt.useTranslation();return l.useCallback(t=>{if(!t)return"";const n=new Date(t).getTime();if(Number.isNaN(n))return"";const o=Math.floor((Date.now()-n)/864e5);return o<=0?e("myHomework.relativeDay.today","\uC624\uB298"):o===1?e("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):e("myHomework.relativeDay.daysAgo",{n:o})},[e])}function Sr(e){const[t,n]=l.useState({current:"",next:"",confirm:""}),[o,u]=l.useState(null),[r,i]=l.useState(!1),s=l.useRef(null);l.useEffect(()=>()=>{s.current!==null&&clearTimeout(s.current)},[]);const c=l.useCallback(()=>{n({current:"",next:"",confirm:""}),u(null)},[]),C=l.useCallback(async()=>{if(!t.current){u({type:"error",text:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(!t.next){u({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(t.next!==t.confirm){u({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."});return}i(!0);const f=e?await e(t.current,t.next):null;if(i(!1),f){u({type:"error",text:f});return}u({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),n({current:"",next:"",confirm:""}),s.current!==null&&clearTimeout(s.current),s.current=setTimeout(()=>u(null),1500)},[t,e]);return{pw:t,setPw:n,pwMsg:o,setPwMsg:u,pwLoading:r,handleChangePw:C,reset:c}}const Se=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],rt=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Pe=["","\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 se(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 kr(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>se(o)),e.set(t,n)),n}}function gt(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function Ar(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let n=0,o=null;for(let u=0;u<e.length;u++){const r=se(e[u]),i=se(t[u]);if(!r||!i)return"random";if(r.cho===i.cho&&r.jung===i.jung&&r.jong===i.jong)continue;n++;const s=r.cho!==i.cho,c=r.jung!==i.jung,C=r.jong!==i.jong;(s?1:0)+(c?1:0)+(C?1:0)>1?o="multi":s?o="cho":c?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const $t={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($t).map(([e,t])=>[t.join(""),Pe[Number(e)]]));function wr(e,t){if(!e||!t)return!1;for(const n of e){const o=se(n);if(o){if(Se[o.cho]===t)return!0;if(o.jong>0){if(Pe[o.jong]===t)return!0;const u=$t[o.jong];if(u&&u.includes(t))return!0}}}return!1}function pn(e){if(!e)return 0;let t=0;for(const n of e)se(n)&&t++;return t}function Mr(e){if(!e)return!1;let t=!1;for(const n of e){const o=se(n);if(o&&(t=!0,o.jong>0))return!1}return t}function Nr(e,t){if(e.jong<=0)return!1;if(t.includes(Pe[e.jong]))return!0;const n=$t[e.jong];return!!n&&n.some(o=>t.includes(o))}function Tr(e,t,n){if(!e)return!1;const o=[...e],u=r=>{const i=se(o[r]);if(!i||t.cho&&!t.cho.includes(Se[i.cho])||t.jung&&!t.jung.includes(rt[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!Nr(i,t.jong))return!1;return!0};if(n==="head")return u(0);if(n==="tail")return u(o.length-1);if(n==="mid"){for(let r=1;r<o.length-1;r++)if(u(r))return!0;return!1}for(let r=0;r<o.length;r++)if(u(r))return!0;return!1}const xr={cho:Se.length,jung:rt.length,jong:Pe.length};function Br(e,t,n,o,u=1/0){if(!e||n<1)return[];const r=[...e].map(p=>se(p));if(r.some(p=>!p))return[];const i=r,s=i.length;if(n>s)return[];const c=xr[t],C=new Set,f=[];(function p(d,m){if(m.length===n){f.push([...m]);return}for(let S=d;S<s;S++)m.push(S),p(S+1,m),m.pop()})(0,[]);for(const p of f)if((function d(m,S){if(C.size>=u)return;if(m===p.length){const g=S.map(b=>gt(b.cho,b.jung,b.jong)).join("");g!==e&&o.has(g)&&C.add(g);return}const w=p[m],_=i[w][t];for(let g=0;g<c;g++){if(g===_)continue;const b=S.slice();if(b[w]={...S[w],[t]:g},d(m+1,b),C.size>=u)return}})(0,i),C.size>=u)break;return[...C]}function Dr(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const u=se(e[o]),r=se(t[o]);if(!u||!r)return-1;u.cho!==r.cho&&n++,u.jung!==r.jung&&n++,u.jong!==r.jong&&n++}return n}const Io="word_pair_index_v2",jo="word_pair_index_sig_v2";let Ft=null;function vr(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Io),t=localStorage.getItem(jo);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function Ht(){if(Ft)return Ft;const e=vr();return e?(Ft=e.index,e.sig,Ft):null}function Or(){Ft=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Io),localStorage.removeItem(jo))}catch{}}const Po="word_image_existence_map_v1";let Bt=null;function $o(){if(Bt)return Bt;try{const e=typeof localStorage<"u"?localStorage.getItem(Po):null;Bt=e?JSON.parse(e):{}}catch{Bt={}}return Bt}function Lr(e,t){return`${e}_${t??1}`}function Rr(e,t){const n=$o(),o=Lr(e,t);return o in n?n[o]:void 0}function Fo(){const e=$o(),t=Object.values(e);return t.length===0?null:{total:t.length,exists:t.filter(Boolean).length}}function Ir(){Bt={};try{typeof localStorage<"u"&&localStorage.removeItem(Po)}catch{}}const Ho=[{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 zo(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 jr(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 Pr(e){const{t}=mt.useTranslation(),[n,o]=l.useState({}),[u,r]=l.useState(null),[i,s]=l.useState(null),[c,C]=l.useState(null),f=l.useCallback(()=>{const d={};Ho.forEach(m=>{d[m.id]=zo([...m.keys])}),o(d),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(m=>{C({usage:m.usage??0,quota:m.quota??0})}).catch(()=>{})},[]);l.useEffect(()=>{f()},[f]);const p=l.useCallback(async d=>{r(d);try{d==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):d==="pairIndex"?Or():d==="imageCache"&&Ir(),f(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{r(null)}},[f,e,t]);return{cacheSizes:n,clearingId:u,confirmCacheId:i,setConfirmCacheId:s,storageEstimate:c,refreshCacheSizes:f,handleClearCache:p}}function $r(e){const[t,n]=l.useState(null),[o,u]=l.useState(null),r=l.useCallback(()=>{const i=Ht();if(i){const c=Object.values(i),C=c.filter(f=>f.cho.length+f.jung.length+f.jong.length>0).length;n({matched:C,total:c.length})}else n(null);const s=Fo();u(s?{exists:s.exists,total:s.total}:null)},[]);return l.useEffect(()=>{r();const i=setTimeout(r,1e3);return()=>clearTimeout(i)},[e,r]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:u,refreshStats:r}}function Vo(e,t=[]){const[n,o]=l.useState(t),[u,r]=l.useState(null),[i,s]=l.useState(!1),[c,C]=l.useState(e),f=l.useRef(i);l.useEffect(()=>{f.current=i});const p=l.useRef(null);l.useEffect(()=>{if(f.current)return;const g=p.current;g!==null&&g.length===t.length&&g.every((b,k)=>b===t[k])||(p.current=t,o(t))},[t]);const d=l.useCallback(g=>{r(g),s(!1),C({...g})},[]),m=l.useCallback(()=>s(!0),[]),S=l.useCallback(()=>s(!1),[]),w=l.useCallback((g,b)=>{o(g),r(b),s(!1)},[]),_=l.useCallback(g=>{o(b=>b.filter(k=>k!==g)),r(null)},[]);return{list:n,setList:o,selected:u,setSelected:r,isEditing:i,setIsEditing:s,editForm:c,setEditForm:C,openDetail:d,startEditing:m,cancelEditing:S,commitEdit:w,remove:_}}const zt=()=>{const e=new Date;return{year:String(e.getFullYear()),month:String(e.getMonth()+1).padStart(2,"0"),day:String(e.getDate()).padStart(2,"0")}},Fr={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Hr(e=[]){const{list:t,setList:n,selected:o,setSelected:u,isEditing:r,setIsEditing:i,editForm:s,setEditForm:c,openDetail:C,commitEdit:f}=Vo(Fr,e),{year:p,month:d,day:m}=zt(),[S,w]=l.useState({year:p,month:d,day:m,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:S,setVisitForm:w,setVisit:_=>g=>w(b=>({...b,[_]:g})),selectedVisit:o,setSelectedVisit:u,isEditingVisit:r,setIsEditingVisit:i,editVisitForm:s,setEditVisitForm:c,openVisitDetail:C,handleVisitSave:_=>{n(D=>[S,...D]);const{year:g,month:b,day:k}=zt();w({year:g,month:b,day:k,hour:"09",minute:"00",memo:""}),_?.()},handleVisitEditSave:()=>{f(_=>_.map(g=>g===o?s:g),s)},addVisit:_=>{n(g=>[_,...g])},removeVisit:_=>{n(g=>g.filter(b=>b!==_))},revertVisitEdit:(_,g)=>{n(b=>b.map(k=>k===g?_:k)),u(b=>b===g?_:b)}}}const Uo=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")}`,Cn=e=>[...e].sort((t,n)=>{const o=Uo(t),u=Uo(n);return o<u?-1:o>u?1:0}),zr={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Vr(e,t=[]){const n=l.useMemo(()=>Cn(t),[t]),{list:o,setList:u,selected:r,setSelected:i,isEditing:s,setIsEditing:c,editForm:C,setEditForm:f,openDetail:p,commitEdit:d,remove:m}=Vo(zr,n),[S,w]=l.useState([]),{year:_,month:g,day:b}=zt(),[k,D]=l.useState({year:_,month:g,day:b,hour:"09",minute:"00",memo:""}),R=z=>B=>D(O=>({...O,[z]:B})),v=z=>{u(X=>Cn([...X,k]));const{year:B,month:O,day:Ce}=zt();D({year:B,month:O,day:Ce,hour:"09",minute:"00",memo:""}),z?.()},j=()=>{d(z=>Cn(z.map(B=>B===r?C:B)),C)},H=l.useCallback(z=>{m(z)},[m]),G=l.useCallback(z=>{e({year:z.year,month:z.month,day:z.day,hour:z.hour,minute:z.minute,memo:z.memo}),m(z)},[e,m]),F=l.useCallback(z=>{u(B=>B.filter(O=>O!==z)),w(B=>[z,...B]),i(null)},[u,i]),J=l.useCallback(z=>{u(B=>Cn([...B,z]))},[u]),Y=l.useCallback(z=>{u(B=>B.filter(O=>O!==z))},[u]),W=l.useCallback((z,B)=>{u(O=>O.map(Ce=>Ce===B?z:Ce)),i(O=>O===B?z:O)},[u,i]);return{scheduleList:o,noShowList:S,addSchedule:J,removeSchedule:Y,revertScheduleEdit:W,scheduleForm:k,setScheduleForm:D,setSchedule:R,selectedSchedule:r,setSelectedSchedule:i,isEditingSchedule:s,setIsEditingSchedule:c,editScheduleForm:C,setEditScheduleForm:f,openScheduleDetail:p,handleScheduleSave:v,handleScheduleEditSave:j,handleScheduleDelete:H,handleScheduleToVisit:G,handleScheduleNoVisit:F}}const Go=[{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 Ur(e){const[t,n]=l.useState(""),[o,u]=l.useState("25"),[r,i]=l.useState("all"),[s,c]=l.useState(1),C=l.useMemo(()=>e.filter(({item:m,status:S})=>!(t&&!m.memo.includes(t)||r!=="all"&&S!==r)),[e,t,r]),f=Math.max(1,Math.ceil(C.length/Number(o))),p=Math.min(s,f),d=l.useMemo(()=>C.slice((p-1)*Number(o),p*Number(o)),[C,p,o]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:u,vapStatus:r,setVapStatus:i,vapPage:p,setVapPage:c,vapFiltered:C,vapTotal:f,vapPageItems:d}}function Gr(e,t){const{t:n}=mt.useTranslation(),[o,u]=l.useState("25"),[r,i]=l.useState(1),[s,c]=l.useState(t);s!==t&&(c(t),r!==1&&i(1));const C=l.useMemo(()=>Go.map(m=>({...m,label:n("visits.showN",{n:m.value})})),[n]),f=l.useCallback(m=>{u(m),i(1)},[]),p=Math.max(1,Math.ceil(e.length/Number(o))),d=Math.min(r,p);return{pageRows:l.useMemo(()=>e.slice((d-1)*Number(o),d*Number(o)),[e,d,o]),pageSizeProps:{options:C,value:o,onChange:f},paginationProps:{page:d,total:p,onChange:i},setPage:i}}function Yr(){const[e,t]=l.useState(null),n=l.useCallback(u=>{t(r=>r?.key===u?{key:u,asc:!r.asc}:{key:u,asc:!0})},[]),o=l.useCallback((u,r)=>({label:u,sortDir:e?.key===r?e.asc?"asc":"desc":null,onClick:()=>n(r)}),[e,n]);return{\uC815\uB82C:e,\uCE78:o}}function qr(){const[e,t]=l.useState(!1),[n,o]=l.useState("\uC88C"),[u,r]=l.useState({\uC88C:null,\uC6B0:null}),[i,s]=l.useState({\uC88C:[],\uC6B0:[]}),[c,C]=l.useState(!1),[f,p]=l.useState("\uC88C"),d=l.useCallback(S=>{const w=S.direction;r(_=>({..._,[w]:S})),s(_=>({..._,[w]:[S,..._[w]]})),t(!1)},[]),m=l.useCallback(S=>{const w=S.direction;r(_=>({..._,[w]:S})),C(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:u,setDevices:r,deviceHistory:i,setDeviceHistory:s,showDeviceList:c,setShowDeviceList:C,listForSide:f,setListForSide:p,handleDeviceSubmit:d,handleSelectFromList:m}}const Wr="__ihab_core_word_pool__";function yn(){return globalThis[Wr]??null}function ae(e,t=Math.random){const n=e.slice();for(let o=n.length-1;o>0;o--){const u=Math.floor(t()*(o+1));[n[o],n[u]]=[n[u],n[o]]}return n}function at(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?ae(e,n):ae(e,n).slice(0,t)}const Fn={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"}},Kr=Se.indexOf("\u3147"),Yo={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!==Kr},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:e=>e.jong===0},MERGE_3_PHONEMES:{syllables:1,syllable:e=>e.jong>0}},Xr={\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"},Zr={\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 qo(e){return Xr[e]??e}const Hn={cho:Se,jung:rt,jong:Pe},_e=e=>Array.isArray(e)?e.length>0:!!e;function zn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],u=t[n];if(!(!o||!u)&&(o.cho!==u.cho&&Se[o.cho]==="\u3147"!=(Se[u.cho]==="\u3147")||o.jong!==u.jong&&o.jong===0!=(u.jong===0)))return!0}return!1}function Jr(e,t,n){const o=n.pronOf(e),u=n.decompOf,r=n.sameStructureOnly&&u?u(o):null,i=[];for(const s of t)s!==e&&(n.okSet&&!n.okSet.has(s)||n.pronOf(s)!==o&&(r&&u&&zn(r,u(n.pronOf(s)))||i.push(s)));return i}function Wo(e,t,n){const o=t?.[e];if(!o)return[];const u=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return Jr(e,u,n)}function Qr(e,t,n,o,u,r,i){const s=["cho","jung","jong"].filter(d=>_e(e[d])),c={};for(const d of s){const m=e[d];c[d]=new Set(Array.isArray(m)?m:[m])}const C=u==="pron",f=new Map;for(const d of t){const m=n(r(d));if(m.some(g=>!g))continue;let S=m;if(!C&&(S=n(d),S.length!==m.length||S.some(g=>!g)))continue;const w=m.length,_=f.get(w);_?_.push({w:d,dPron:m,dPos:S}):f.set(w,[{w:d,dPron:m,dPos:S}])}const p=new Map;for(const[d,m]of f){const S=new Map,w=(_,g)=>{const b=_.dPos[g];return b!=null&&s.every(k=>c[k].has(Hn[k][b[k]]))};for(const _ of m){let g;if(i==="head")g=w(_,0)?0:-1;else if(i==="tail")g=w(_,d-1)?d-1:-1;else if(i==="mid"){g=-1;for(let k=1;k<d-1;k++)if(w(_,k)){g=k;break}}else g=_.dPos.findIndex(k=>k!=null&&s.every(D=>c[D].has(Hn[D][k[D]])));if(g<0)continue;const b=S.get(g);b?b.push(_):S.set(g,[_])}for(const[_,g]of S){const b=new Set(s.map(R=>_+":"+R)),k=R=>{let v="";for(let j=0;j<d;j++){const H=R[j];for(const G of["cho","jung","jong"])v+=(b.has(j+":"+G)?"*":H[G])+"."}return v},D=new Map;for(const R of m){const v=k(R.dPron),j=D.get(v);j?j.push(R):D.set(v,[R])}for(const R of g){const v=D.get(k(R.dPron))??[],j=[];for(const H of v){if(H.w===R.w)continue;let G=!0;for(const F of s){const J=R.dPron[_][F],Y=H.dPron[_][F];if(Y===J){G=!1;break}if(C&&c[F].has(Hn[F][Y])){G=!1;break}}G&&(o&&zn(R.dPron,H.dPron)||j.push(H.w))}p.set(R.w,j)}}}return p}const ea=e=>e==null?[]:Array.isArray(e)?e:[e];function ta(e){if([...e].length!==1)return"";const t=se(e);if(!t)return"";const n=qo(Pe[t.jong]),o=n===""?0:Pe.indexOf(n);return gt(t.cho,t.jung,o<0?0:o)}function Ko(e,t){return t.get(e)||ta(e)||e}function Vn(e){return e?_e(e.cho)?"cho":_e(e.jung)?"jung":_e(e.jong)?"jong":null:null}function Dt(e,t){const n=(o,u)=>!_e(o)||ea(o).includes(u);return n(t.cho,Se[e.cho])&&n(t.jung,rt[e.jung])&&n(t.jong,Pe[e.jong])}function Vt(e,t,n){const o=[...e];if(n!=="pron")return o.map(r=>se(r));const u=[...t.get(e)||e];return u.length!==o.length?o.map(r=>se(r)):u.map(r=>se(r))}function Ut(e,t,n,o,u){const r=t==="cho"?Se:t==="jung"?rt:Pe,i=e[t],s=[],c=new Set([Ko(n,u)]),C=ae(r.map((f,p)=>p).filter(f=>f!==i&&(t!=="cho"||r[f]!=="\u3147")&&(t!=="jong"||f!==0)));for(const f of C){if(s.length>=o)break;const p=t==="cho"?gt(f,e.jung,e.jong):t==="jung"?gt(e.cho,f,e.jong):gt(e.cho,e.jung,f),d=Ko(p,u);c.has(d)||(c.add(d),s.push(p))}return s}function na(e,t,n,o,u,r=null){const i=[...e];if(i.length!==2)return null;const s=i.map(p=>se(p));if(s.some(p=>!p))return null;const c=Vt(e,n,o);if(c.some(p=>!p))return null;const C=Vn(t);let f=C&&t?c.map((p,d)=>Dt(p,t)?d:-1).filter(p=>p>=0):[0,1];if(r!=null&&(f=f.filter(p=>p!==r)),!f.length)return null;for(const p of ae(f)){const d=i[p];if(!u.has(d))continue;const m=Ut(s[p],C??"cho",d,40,n),S=[];for(const w of m)if(w!==d&&u.has(w)&&!S.includes(w)&&S.push(w),S.length>=2)break;if(!(S.length<2))return{question:e,distractors:[d,...S]}}return null}function oa(e,t,n,o,u,r=null){const i=[...e];if(i.length!==3)return null;const s=i.map(p=>se(p));if(s.some(p=>!p))return null;const c=Vt(e,n,o);if(c.some(p=>!p))return null;const C=Vn(t),f=C&&t?c.map((p,d)=>Dt(p,t)?d:-1).filter(p=>p>=0):[0,1,2];if(!f.length)return null;for(const p of ae(f))for(const d of ae([0,1,2].filter(m=>m!==p&&(r==null||m===r)))){const m=[0,1,2].filter(b=>b!==d),S=m.map(b=>i[b]).join("");if(!u.has(S))continue;const w=m.indexOf(p),_=Ut(s[p],C??"cho",i[p],40,n),g=[];for(const b of _){const k=m.map(R=>i[R]);k[w]=b;const D=k.join("");if(D!==S&&u.has(D)&&!g.includes(D)&&g.push(D),g.length>=2)break}if(!(g.length<2))return{question:e,distractors:[S,...g]}}return null}function ua(e,t,n,o,u,r=null){const i=[...e],s=i.length;if(s<2)return null;const c=[];for(let f=1;f<=s-1;f++)c.push({remain:i.slice(0,f).join(""),dropped:i.slice(f).join(""),droppedEnd:1}),c.push({remain:i.slice(s-f).join(""),dropped:i.slice(0,s-f).join(""),droppedEnd:0});const C=Vn(t);for(const{remain:f,dropped:p,droppedEnd:d}of ae(c)){if(r!=null&&d!==r||f===e||!u.has(f)||!u.has(p))continue;const m=[...f],S=m.map(g=>se(g));if(S.some(g=>!g))continue;const w=Vt(f,n,o);if(w.some(g=>!g))continue;const _=C&&t?w.map((g,b)=>Dt(g,t)?b:-1).filter(g=>g>=0):m.map((g,b)=>b);if(_.length)for(const g of ae(_)){const b=Ut(S[g],C??"cho",m[g],40,n),k=[];for(const D of b){const R=[...m];R[g]=D;const v=R.join("");if(v!==f&&u.has(v)&&!k.includes(v)&&k.push(v),k.length>=2)break}if(k.length>=2)return{question:e,distractors:[f,...k]}}}return null}function ra(e,t,n,o,u,r=null){if([...e].length!==1)return null;const i=se(n.get(e)||e);if(!i||i.jong===0)return null;const s=gt(i.cho,i.jung,0),c=Ut({cho:i.cho,jung:i.jung,jong:0},"cho",s,2,n);return c.length<2?null:{question:e,distractors:[s,...c]}}const Un=Se.indexOf("\u3147");function aa(e,t,n,o,u,r=null){if([...e].length!==1)return null;const i=se(n.get(e)||e);if(!i||i.jong!==0||i.cho===Un)return null;const s=gt(Un,i.jung,0),c=Ut({cho:Un,jung:i.jung,jong:0},"jung",s,2,n);return c.length<2?null:{question:e,distractors:[s,...c]}}function ia(e){const t=new Map;for(const n of e){const o=[...n],u=o.length;if(!(u<2||u>3))for(let r=0;r<u;r++){let i=u+"|"+r+"|";for(let c=0;c<u;c++)i+=c===r?"*":o[c];const s=t.get(i);s?s.push(n):t.set(i,[n])}}return t}function sa(e,t,n,o,u,r=null,i=null,s=2){const c=[...e],C=c.length;if(C<2||C>3)return null;const f=c.map(b=>se(b));if(f.some(b=>!b))return null;const p=Vt(e,n,o);if(p.some(b=>!b))return null;const d=b=>n.get(b)??b,m=d(e),S=!!t&&(_e(t.cho)||_e(t.jung)||_e(t.jong)),w=!!i&&(_e(i.cho)||_e(i.jung)||_e(i.jong)),_=b=>{let k=C+"|"+b+"|";for(let D=0;D<C;D++)k+=D===b?"*":c[D];return k};let g;if(r!=null){if(r>=C||S&&!Dt(p[r],t))return null;g=[r]}else S?g=p.map((b,k)=>Dt(b,t)?k:-1).filter(b=>b>=0):g=Array.from({length:C},(b,k)=>k);for(const b of ae(g)){const k=u.get(_(b))??[],D=[],R=[];for(const F of k){if(F===e)continue;const J=[...F].map(B=>se(B)),Y=f[b],W=J[b];if(!Y||!W)continue;let z=0;if(Y.cho!==W.cho&&z++,Y.jung!==W.jung&&z++,Y.jong!==W.jong&&z++,!(z<s||d(F)===m))if(w){const B=Vt(F,n,o)[b];B&&Dt(B,i)?D.push(F):R.push(F)}else D.push(F)}if(!D.length)continue;const v=ae(D)[0],j=[],H=new Set([m,d(v)]),G=w?R:D.filter(F=>F!==v);for(const F of ae(G)){const J=d(F);if(!H.has(J)&&(H.add(J),j.push(F),j.length>=2))break}if(!w&&j.length<2)for(const F of ae(k)){if(F===e||F===v)continue;const J=d(F);if(!H.has(J)&&(H.add(J),j.push(F),j.length>=2))break}if(!(j.length<2))return{question:e,distractors:[v,...j]}}return null}let mn=null,Xo=null,Zo=null;function la(){const e=yn();if(e&&e.entries.length>0){const t=Ht();if(mn&&Xo===e&&Zo===t)return mn;const n=new Set,o=[];for(const u of e.entries)!u.word||n.has(u.word)||(n.add(u.word),o.push({w:u.word,s:u.syllables,p:t?.[u.word]?[...t[u.word].cho??[],...t[u.word].jung??[],...t[u.word].jong??[]]:[],pron:u.pronunciation||u.word,grade:u.grade}));return mn=o,Xo=e,Zo=t,mn}return[]}const He=new Proxy([],{get(e,t){const n=la(),o=n[t];return typeof o=="function"?o.bind(n):o}});function gn(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function ze(e,t){if(t>=e.length)return ae(e);if(t===0)return[];const n=e.slice();for(let o=0;o<t;o++){const u=o+Math.floor(Math.random()*(n.length-o)),r=n[o];n[o]=n[u],n[u]=r}return n.slice(0,t)}let Gn=null,Jo=null;function _t(){const e=yn();if(Gn&&Jo===e)return Gn;const t=new Map;for(const n of He)n.w&&t.set(n.w,n.pron);return Gn=t,Jo=e,t}function ve(e){return _t().get(e)||e}function Yn(e,t,n=new Set){const o=[];for(const u of ae(e)){if(o.length>=t)break;const r=ve(u);n.has(r)||(n.add(r),o.push(u))}return o}let ca=0;function ke(e){return`${e}-rt-${++ca}`}function Gt(e){const t=Fo();if(!t||t.total===0){const o=new Set;for(const u of e)o.add(u);return o}const n=new Set;for(const o of e)Rr(o)===!0&&n.add(o);return n}const _n=new Map;let Qo=null,eu=null;function Yt(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function tu(e){const t=Yt(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),u=n?`${Yt(n.cho)}/${Yt(n.jung)}/${Yt(n.jong)}/${n.jongNone?"N":""}/${o}`:"",r=Yt(e.grade);return`${e.difficulty??""}|${t}|${u}|${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${r}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}async function Oe(e){const t=yn(),n=Ht();(t!==Qo||n!==eu)&&(_n.clear(),Qo=t,eu=n);const o=tu(e);return _n.has(o)||_n.set(o,ha(e)),_n.get(o)}function da(e){if(!e)return null;const t=i=>i==null?null:Array.isArray(i)?i.length?i:null:[i],n=t(e.cho),o=t(e.jung),u=!!e.jongNone,r=u?null:t(e.jong);return n||o||r||u?u&&!n&&!o&&!r?i=>Mr(i):i=>Tr(i,{cho:n,jung:o,jong:r,jongNone:u}):null}async function ha(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:u=null,excludeNoImage:r=!1}=e,i=e.grade&&e.grade.length>0?new Set(e.grade):null,s=e.sameStructureOnly??!0,c=e.phonemeView==="pron"?"pron":"char",C=Math.max(1,e.contrastCount??1),f=t==="cho"||t==="jung"||t==="jong",p=f&&C>=2,d=t==="count",m=n?new Set(Array.isArray(n)?n:[n]):null,S=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,w=o?[da(o),S?M=>S.has(pn(M)):null].filter(M=>M!=null):[],_=t==="random"||t===null,g=_||d,b=_||p||d;let k=He.filter(M=>!M.w||i&&(!M.grade||!i.has(M.grade))?!1:b?!0:Array.isArray(M.p)&&M.p.length>0);m&&(k=k.filter(M=>{for(const P of m)if(wr(M.w,P))return!0;return!1})),w.length>0&&(k=k.filter(M=>{const P=c==="pron"?ve(M.w):M.w;return w.every(ne=>ne(P))})),u&&(k=k.filter(M=>M.w[0]===u));let D;if(r){const M=new Set;for(const P of k)if(M.add(P.w),Array.isArray(P.p))for(const ne of P.p)M.add(ne);if(g)for(const P of He)P.w&&M.add(P.w);D=Gt(M)}else{const M=new Set;for(const P of k)if(M.add(P.w),Array.isArray(P.p))for(const ne of P.p)M.add(ne);if(g)for(const P of He)P.w&&M.add(P.w);D=M}let R=null;if(p){const M=new Set;for(const P of He)P.w&&M.add(P.w);R=r?Gt(M):M}const v=k.filter(M=>D.has(M.w)),j=600,H=Array.from(D),G=H.length>j?ze(H,j):H,F=d&&o!=null&&(_e(o.cho)||_e(o.jung)||_e(o.jong)),J=2500,Y=new Map;if(d&&!F&&C>=2){for(const M of H){const P=pn(M),ne=Y.get(P);ne?ne.push(M):Y.set(P,[M])}for(const[M,P]of Y)P.length>J&&Y.set(M,ze(P,J))}const W=kr(),z=F?Qr(o,H,W,s,c,ve):null,B=500,O=1500,Ce=e.fullCount?v:t==="random"?v.length>B?ze(v,B):v:v.length>O?ze(v,O):v,X=Ht(),Q=[];for(const M of Ce){let P;const ne=ve(M.w);if(p)P=Br(M.w,t,C,R,24).filter(oe=>ve(oe)!==ne);else if(d)F?P=(z.get(M.w)??[]).filter(oe=>ve(oe)!==ne):C<=1?P=Wo(M.w,X,{okSet:D,pronOf:ve,decompOf:W,sameStructureOnly:!1}):P=(Y.get(pn(M.w))??[]).filter(oe=>{if(oe===M.w||ve(oe)===ne)return!1;const q=Dr(M.w,oe);return C>=5?q>=5:q===C});else if(_)P=G.filter(oe=>oe!==M.w&&oe.length===M.w.length&&ve(oe)!==ne);else{const oe=t;P=Wo(M.w,X,{kind:oe,okSet:D,pronOf:ve,decompOf:W,sameStructureOnly:!1}),P.length===0&&(P=(G.length>30?ze(G,30):G).filter(q=>q!==M.w&&Ar(M.w,q)===t&&ve(q)!==ne))}if(s&&P.length>0&&(f||d&&!F)){const oe=W(ve(M.w));P=P.filter(q=>!zn(oe,W(ve(q))))}P.length!==0&&Q.push({word:M,usable:P})}return Q}async function nu(e,t){const{choicesPerItem:n=3,count:o=10}=t,u=n-1,r=(await Oe(t)).filter(s=>s.usable.length>=u),i=[];for(const s of ae(r)){if(i.length>=o)break;const c=Yn(s.usable,u);if(c.length<u)continue;const C=ae([s.word.w,...c]);i.push({id:ke(e+"-item"),index:i.length+1,word:s.word.w,syllables:s.word.s,choices:C,answerIndex:C.indexOf(s.word.w)})}return i}async function fa(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,u=await Oe({...e,difficulty:null});if(u.length<t)return[];const r=[],i=ae([...u]);for(const s of i){if(r.length>=n)break;const c=s.word.w,C=[...s.word.pron||c],f=gn(C);if(!f)continue;const p=u.filter(S=>S.word.w!==c&&S.word.s===s.word.s&&!(S.word.pron||S.word.w).includes(f)&&S.word.pron!==s.word.pron);if(p.length<o)continue;const d=Yn(p.map(S=>S.word.w),o);if(d.length<o)continue;const m=ae([c,...d]);r.push({id:ke("HPI-item"),index:r.length+1,targetSyllable:f,word:c,choices:m,answerIndex:m.indexOf(c)})}return r}async function pa(e){const{count:t=10}=e,n=(await Oe(e)).filter(o=>o.usable.length>=1);return Array.from({length:t},(o,u)=>{const r=gn(n);if(!r)return null;const i=u%2===0;let s;if(i)s=[r.word.w,r.word.w];else{const c=gn(r.usable);s=Math.random()<.5?[r.word.w,c]:[c,r.word.w]}return{id:ke("SOD-item"),index:u+1,word:r.word.w,pair:s,same:i}}).filter(o=>!!o)}async function Ca(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,u=await Oe({...e,difficulty:null});if(u.length<t+1)return[];const r=u.map(d=>d.word.w),i=new Map(u.map(d=>[d.word.w,d.word.pron])),s=d=>(i.get(d)||d)[0]??"",c={};for(const d of u){const m=s(d.word.w);m&&(c[m]||(c[m]=[]),c[m].push(d.word.w))}const C=Object.entries(c).filter(([,d])=>d.length>=2).map(([d])=>d);if(C.length===0)return[];const f=[],p=ae([...C]);for(let d=0;f.length<n&&d<n*4;d++){const m=p[d%p.length],S=c[m];if(S.length<2)continue;const w=ae([...S]),_=w[0],g=w[1];if(!_||!g||_===g||(i.get(_)||_)===(i.get(g)||g))continue;const b=i.get(g)||g,k=r.filter(v=>s(v)!==m&&v!==_&&v!==g&&v.length===g.length&&(i.get(v)||v)!==b);if(k.length<o)continue;const D=Yn(k,o);if(D.length<o)continue;const R=ae([g,...D]);f.push({id:ke("SWS-item"),index:f.length+1,sourceWord:_,targetSyllable:m,word:g,choices:R,answerIndex:R.indexOf(g)})}return f}function ou(e,t,n){return ze(e,t).map((o,u)=>{const r=gn(o.usable)??"",i=[...o.word.w],s=[...r],c=i.findIndex((f,p)=>f!==s[p]),C=ae(o.usable.filter(f=>f&&f!==r)).slice(0,2);return{id:ke(n),index:u+1,word:o.word.w,original:o.word.w,changed:r,changedFrom:c>=0?i[c]:"",changedTo:c>=0?s[c]:"",distractors:C}})}async function uu(e,t,n){const{count:o=10}=t,u=_t(),r=He.filter(m=>m.w&&m.s===e),i=t.excludeNoImage?Gt(r.map(m=>m.w)):null,s=i?r.filter(m=>i.has(m.w)):r,c=new Set(s.map(m=>m.w)),C=ia(c),f=t.phonemeView??"char",p=t.composition??null,d=[];for(const m of ae(s)){if(d.length>=o)break;const S=sa(m.w,p,u,f,C,null,null);if(!S)continue;const w=S.distractors[0],_=[...m.w],g=[...w],b=_.findIndex((k,D)=>k!==g[D]);d.push({id:ke(n),index:d.length+1,word:m.w,original:m.w,changed:w,changedFrom:b>=0?_[b]:"",changedTo:b>=0?g[b]:"",distractors:S.distractors.slice(1)})}return d}async function ya(e){return uu(2,e,"CS2-item")}async function ma(e){return uu(3,e,"CS3-item")}async function ga(e){const t=(await Oe({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return ou(t,e.count??10,"CP1-item")}async function _a(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await Oe({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return ou(n,e.count??10,"CP2-item")}async function Ea(e){const{count:t=10}=e,n=(await Oe({...e})).filter(o=>o.word.s===2);return ze(n,t).map((o,u)=>({id:ke("M2S-item"),index:u+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function ba(e){const{count:t=10}=e,n=(await Oe({...e})).filter(o=>o.word.s===3);return ze(n,t).map((o,u)=>({id:ke("M3S-item"),index:u+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Sa(e){const{count:t=10}=e,n=(await Oe({...e})).filter(s=>s.word.s===2),o=_t(),u=new Set(He.map(s=>s.w)),r=e.phonemeView??"char",i=[];for(const s of ae(n)){if(i.length>=t)break;const c=na(s.word.w,e.composition??null,o,r,u);if(!c)continue;const[C,...f]=c.distractors,p=[...s.word.w],d=p[0]===C?p[1]:p[0];i.push({id:ke("D2-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:d,missingResult:C,distractors:f})}return i}async function ka(e){const{count:t=10}=e,n=(await Oe({...e})).filter(s=>s.word.s===3),o=_t(),u=new Set(He.map(s=>s.w)),r=e.phonemeView??"char",i=[];for(const s of ae(n)){if(i.length>=t)break;const c=oa(s.word.w,e.composition??null,o,r,u);if(!c)continue;const[C,...f]=c.distractors,p=[...s.word.w];let d="";for(let m=0;m<p.length;m++)if(p.filter((S,w)=>w!==m).join("")===C){d=p[m];break}i.push({id:ke("D3-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:d,missingResult:C,distractors:f})}return i}async function Aa(e){const{count:t=10}=e,n=(await Oe({...e})).filter(s=>s.word.s>=2),o=_t(),u=new Set(He.map(s=>s.w)),r=e.phonemeView??"char",i=[];for(const s of ae(n)){if(i.length>=t)break;const c=ua(s.word.w,e.composition??null,o,r,u);if(!c)continue;const[C,...f]=c.distractors,p=s.word.w,d=p.startsWith(C)?p.slice(C.length):p.endsWith(C)?p.slice(0,p.length-C.length):"";i.push({id:ke("DPC-item"),index:i.length+1,original:p,word:p,dropped:d,missingResult:C,distractors:f})}return i}async function wa(e){const{count:t=10}=e,n=(await Oe({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,u)=>{const r=ze(n,3);return{id:ke("LRO-item"),index:u+1,sequence:r,choices:ae(r)}})}function En(e,t,n){const o=He.filter(i=>i.w&&i.s===e),u=t?Gt(o.map(i=>i.w)):null,r=[];for(const i of o)if(!(u&&!u.has(i.w))){if(n){const s=se(i.w);if(!s||!n(s))continue}r.push(i)}return r}function Ma(e){const t=En(1,e.excludeNoImage??!1,n=>n.jong===0);return ze(t,e.count??10).map((n,o)=>{const u=se(n.w);return{id:ke("M2P-item"),index:o+1,parts:[Se[u.cho],rt[u.jung]],answer:n.w,word:n.w}})}function Na(e){const t=En(1,e.excludeNoImage??!1,n=>n.jong>0&&!$t[n.jong]);return ze(t,e.count??10).map((n,o)=>{const u=se(n.w);return{id:ke("M3P-item"),index:o+1,parts:[Se[u.cho],rt[u.jung],Pe[u.jong]],answer:n.w,word:n.w}})}function Ta(e){const t=Yo.DROP_FINAL_CONSONANT_FROM_1SYLL,n=En(t.syllables,e.excludeNoImage??!1,t.syllable),o=_t(),u=[];for(const r of ae(n)){if(u.length>=(e.count??10))break;const i=ra(r.w,null,o);if(!i)continue;const[s,...c]=i.distractors;u.push({id:ke("DFC-item"),index:u.length+1,original:r.w,word:r.w,result:s,distractors:c})}return u}function xa(e){const t=Yo.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=En(t.syllables,e.excludeNoImage??!1,t.syllable),o=_t(),u=[];for(const r of ae(n)){if(u.length>=(e.count??10))break;const i=aa(r.w,null,o);if(!i)continue;const s=se(o.get(r.w)||r.w);if(!s)continue;const[c,...C]=i.distractors;u.push({id:ke("RCP-item"),index:u.length+1,base:r.w,word:r.w,missingConsonant:Se[s.cho],remaining:c,distractors:C})}return u}const bn=new Map;let ru=null,au=null;async function iu(e,t={}){const n=yn(),o=Ht();(n!==ru||o!==au)&&(bn.clear(),ru=n,au=o);const u=`${e}:${tu(t)}`;if(bn.has(u))return bn.get(u);const r=await Da(e,t);return bn.set(u,r),r}const Ba={SAME_SOUND_PICK:e=>nu("SSP",e),HEAR_AND_PICK_SAME:e=>nu("HPS",e),HEAR_AND_PICK_INCLUDED:e=>fa(e),SAME_OR_DIFF:e=>pa(e),STARTS_WITH_SAME_SOUND:e=>Ca(e),LISTEN_AND_REMEMBER_ORDER:e=>wa(e),MERGE_2_SYLLABLES:e=>Ea(e),MERGE_3_SYLLABLES:e=>ba(e),MERGE_2_PHONEMES:e=>Ma(e),MERGE_3_PHONEMES:e=>Na(e),DROP_1_FROM_2SYLL:e=>Sa(e),DROP_1_FROM_3SYLL:e=>ka(e),DROP_PART_FROM_COMPOUND:e=>Aa(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>Ta(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>xa(e),CHANGE_1_SYLL_IN_2SYLL:e=>ya(e),CHANGE_1_SYLL_IN_3SYLL:e=>ma(e),CHANGE_1_PHONEME_IN_1SYLL:e=>ga(e),CHANGE_1_PHONEME_IN_2SYLL:e=>_a(e)};async function Da(e,t={}){const n=Ba[e];return n?await n(t):[]}async function va(e){const t=[null,"count"],n=Object.keys(Fn);let o=0;for(const u of t)for(const r of n){const i=Fn[r];iu(r,{difficulty:i.difficulty?u:null,choseong:null,count:10,excludeNoImage:e}).catch(()=>{}),++o%6===0&&await new Promise(s=>setTimeout(s,0))}}async function Oa(e){return(await Oe({...e,fullCount:!0})).length}async function La(e={}){const t=[];for(const s of He)s.w&&t.push(s.w);const n=e.excludeNoImage?Gt(t):t,o=new Set,u=new Set,r=new Set,i=new Set;for(const s of n){i.add(pn(s));for(const c of s){const C=se(c);if(C&&(Se[C.cho]!=="\u3147"&&o.add(Se[C.cho]),u.add(rt[C.jung]),C.jong>0)){r.add(Pe[C.jong]);const f=$t[C.jong];f&&f.forEach(p=>r.add(p))}}}return{cho:o,jung:u,jong:r,syllable:i}}const Et="\uC804\uCCB4";function Ra(...e){return e.filter(Boolean).join(" ")}/**
1
+ "use strict";var l=require("react"),gt=require("react-i18next"),V=require("react/jsx-runtime"),Bo=require("react-dom"),Pn=typeof document<"u"?document.currentScript:null;function gr({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:u=.1,lineHeightRatio:r=1.4}={}){const i=E=>Math.max(n,Math.min(o,Number(E))),[s,c]=l.useState(()=>{try{const E=localStorage.getItem(e),g=E?Number(E):1;return Number.isFinite(g)?g:1}catch{return 1}});l.useEffect(()=>{try{localStorage.setItem(e,String(s))}catch{}},[e,s]);const C=E=>{c(typeof E=="function"?g=>i(E(g)):i(E))},f=()=>C(E=>+(E+u).toFixed(6)),p=()=>C(E=>+(E-u).toFixed(6)),d=s<o-Number.EPSILON,m=s>n+Number.EPSILON,k=Math.round(t*s),w=Math.round(k*r);return{scale:s,setScale:C,increase:f,decrease:p,canIncrease:d,canDecrease:m,fontSize:k,lineHeight:w}}const Do=l.createContext(null);function _r(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Er(e){const t=l.useContext(Do),n=r=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(r).matches,[o,u]=l.useState(n(e));return l.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e),i=c=>u(c.matches),s=r;return s.addEventListener?s.addEventListener("change",i):s.addListener&&s.addListener(i),u(r.matches),()=>{s.removeEventListener?s.removeEventListener("change",i):s.removeListener&&s.removeListener(i)}},[e]),t&&typeof t.mobile=="boolean"&&_r(e)?t.mobile:o}function vo(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),t}function Oo(e,t){const n=vo(t);l.useEffect(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const $n=" \xB7 ",Lo=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes($n)?e.split($n).pop()??e:e})(),Ro=l.createContext(!1);function br(e){const t=l.useContext(Ro);l.useEffect(()=>{if(t||typeof e!="string"||!e)return;const n=document.title;return document.title=Lo?`${e}${$n}${Lo}`:e,()=>{document.title=n}},[e,t])}function Sr(){const{t:e}=gt.useTranslation();return l.useCallback(t=>{if(!t)return"";const n=new Date(t).getTime();if(Number.isNaN(n))return"";const o=Math.floor((Date.now()-n)/864e5);return o<=0?e("myHomework.relativeDay.today","\uC624\uB298"):o===1?e("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):e("myHomework.relativeDay.daysAgo",{n:o})},[e])}function kr(e){const[t,n]=l.useState({current:"",next:"",confirm:""}),[o,u]=l.useState(null),[r,i]=l.useState(!1),s=l.useRef(null);l.useEffect(()=>()=>{s.current!==null&&clearTimeout(s.current)},[]);const c=l.useCallback(()=>{n({current:"",next:"",confirm:""}),u(null)},[]),C=l.useCallback(async()=>{if(!t.current){u({type:"error",text:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(!t.next){u({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(t.next!==t.confirm){u({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."});return}i(!0);const f=e?await e(t.current,t.next):null;if(i(!1),f){u({type:"error",text:f});return}u({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),n({current:"",next:"",confirm:""}),s.current!==null&&clearTimeout(s.current),s.current=setTimeout(()=>u(null),1500)},[t,e]);return{pw:t,setPw:n,pwMsg:o,setPwMsg:u,pwLoading:r,handleChangePw:C,reset:c}}const ke=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],rt=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Fe=["","\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 le(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 Ar(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>le(o)),e.set(t,n)),n}}function _t(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function wr(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let n=0,o=null;for(let u=0;u<e.length;u++){const r=le(e[u]),i=le(t[u]);if(!r||!i)return"random";if(r.cho===i.cho&&r.jung===i.jung&&r.jong===i.jong)continue;n++;const s=r.cho!==i.cho,c=r.jung!==i.jung,C=r.jong!==i.jong;(s?1:0)+(c?1:0)+(C?1:0)>1?o="multi":s?o="cho":c?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const $t={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($t).map(([e,t])=>[t.join(""),Fe[Number(e)]]));function Mr(e,t){if(!e||!t)return!1;for(const n of e){const o=le(n);if(o){if(ke[o.cho]===t)return!0;if(o.jong>0){if(Fe[o.jong]===t)return!0;const u=$t[o.jong];if(u&&u.includes(t))return!0}}}return!1}function pn(e){if(!e)return 0;let t=0;for(const n of e)le(n)&&t++;return t}function Nr(e){if(!e)return!1;let t=!1;for(const n of e){const o=le(n);if(o&&(t=!0,o.jong>0))return!1}return t}function Tr(e,t){if(e.jong<=0)return!1;if(t.includes(Fe[e.jong]))return!0;const n=$t[e.jong];return!!n&&n.some(o=>t.includes(o))}function xr(e,t,n){if(!e)return!1;const o=[...e],u=r=>{const i=le(o[r]);if(!i||t.cho&&!t.cho.includes(ke[i.cho])||t.jung&&!t.jung.includes(rt[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!Tr(i,t.jong))return!1;return!0};if(n==="head")return u(0);if(n==="tail")return u(o.length-1);if(n==="mid"){for(let r=1;r<o.length-1;r++)if(u(r))return!0;return!1}for(let r=0;r<o.length;r++)if(u(r))return!0;return!1}const Br={cho:ke.length,jung:rt.length,jong:Fe.length};function Dr(e,t,n,o,u=1/0){if(!e||n<1)return[];const r=[...e].map(p=>le(p));if(r.some(p=>!p))return[];const i=r,s=i.length;if(n>s)return[];const c=Br[t],C=new Set,f=[];(function p(d,m){if(m.length===n){f.push([...m]);return}for(let k=d;k<s;k++)m.push(k),p(k+1,m),m.pop()})(0,[]);for(const p of f)if((function d(m,k){if(C.size>=u)return;if(m===p.length){const g=k.map(S=>_t(S.cho,S.jung,S.jong)).join("");g!==e&&o.has(g)&&C.add(g);return}const w=p[m],E=i[w][t];for(let g=0;g<c;g++){if(g===E)continue;const S=k.slice();if(S[w]={...k[w],[t]:g},d(m+1,S),C.size>=u)return}})(0,i),C.size>=u)break;return[...C]}function vr(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const u=le(e[o]),r=le(t[o]);if(!u||!r)return-1;u.cho!==r.cho&&n++,u.jung!==r.jung&&n++,u.jong!==r.jong&&n++}return n}const Io="word_pair_index_v2",jo="word_pair_index_sig_v2";let Ft=null;function Or(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Io),t=localStorage.getItem(jo);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function Ht(){if(Ft)return Ft;const e=Or();return e?(Ft=e.index,e.sig,Ft):null}function Lr(){Ft=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Io),localStorage.removeItem(jo))}catch{}}const Po="word_image_existence_map_v1";let Bt=null;function $o(){if(Bt)return Bt;try{const e=typeof localStorage<"u"?localStorage.getItem(Po):null;Bt=e?JSON.parse(e):{}}catch{Bt={}}return Bt}function Rr(e,t){return`${e}_${t??1}`}function Ir(e,t){const n=$o(),o=Rr(e,t);return o in n?n[o]:void 0}function Fo(){const e=$o(),t=Object.values(e);return t.length===0?null:{total:t.length,exists:t.filter(Boolean).length}}function jr(){Bt={};try{typeof localStorage<"u"&&localStorage.removeItem(Po)}catch{}}const Ho=[{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 zo(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 Pr(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 $r(e){const{t}=gt.useTranslation(),[n,o]=l.useState({}),[u,r]=l.useState(null),[i,s]=l.useState(null),[c,C]=l.useState(null),f=l.useCallback(()=>{const d={};Ho.forEach(m=>{d[m.id]=zo([...m.keys])}),o(d),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(m=>{C({usage:m.usage??0,quota:m.quota??0})}).catch(()=>{})},[]);l.useEffect(()=>{f()},[f]);const p=l.useCallback(async d=>{r(d);try{d==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):d==="pairIndex"?Lr():d==="imageCache"&&jr(),f(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{r(null)}},[f,e,t]);return{cacheSizes:n,clearingId:u,confirmCacheId:i,setConfirmCacheId:s,storageEstimate:c,refreshCacheSizes:f,handleClearCache:p}}function Fr(e){const[t,n]=l.useState(null),[o,u]=l.useState(null),r=l.useCallback(()=>{const i=Ht();if(i){const c=Object.values(i),C=c.filter(f=>f.cho.length+f.jung.length+f.jong.length>0).length;n({matched:C,total:c.length})}else n(null);const s=Fo();u(s?{exists:s.exists,total:s.total}:null)},[]);return l.useEffect(()=>{r();const i=setTimeout(r,1e3);return()=>clearTimeout(i)},[e?.length,r]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:u,refreshStats:r}}function Vo(e,t=[]){const[n,o]=l.useState(t),[u,r]=l.useState(null),[i,s]=l.useState(!1),[c,C]=l.useState(e),f=l.useRef(i);l.useEffect(()=>{f.current=i});const p=l.useRef(null);l.useEffect(()=>{if(f.current)return;const g=p.current;g!==null&&g.length===t.length&&g.every((S,A)=>S===t[A])||(p.current=t,o(t))},[t]);const d=l.useCallback(g=>{r(g),s(!1),C({...g})},[]),m=l.useCallback(()=>s(!0),[]),k=l.useCallback(()=>s(!1),[]),w=l.useCallback((g,S)=>{o(g),r(S),s(!1)},[]),E=l.useCallback(g=>{o(S=>S.filter(A=>A!==g)),r(null)},[]);return{list:n,setList:o,selected:u,setSelected:r,isEditing:i,setIsEditing:s,editForm:c,setEditForm:C,openDetail:d,startEditing:m,cancelEditing:k,commitEdit:w,remove:E}}const zt=()=>{const e=new Date;return{year:String(e.getFullYear()),month:String(e.getMonth()+1).padStart(2,"0"),day:String(e.getDate()).padStart(2,"0")}},Hr={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function zr(e=[]){const{list:t,setList:n,selected:o,setSelected:u,isEditing:r,setIsEditing:i,editForm:s,setEditForm:c,openDetail:C,commitEdit:f}=Vo(Hr,e),{year:p,month:d,day:m}=zt(),[k,w]=l.useState({year:p,month:d,day:m,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:k,setVisitForm:w,setVisit:E=>g=>w(S=>({...S,[E]:g})),selectedVisit:o,setSelectedVisit:u,isEditingVisit:r,setIsEditingVisit:i,editVisitForm:s,setEditVisitForm:c,openVisitDetail:C,handleVisitSave:E=>{n(B=>[k,...B]);const{year:g,month:S,day:A}=zt();w({year:g,month:S,day:A,hour:"09",minute:"00",memo:""}),E?.()},handleVisitEditSave:()=>{f(E=>E.map(g=>g===o?s:g),s)},addVisit:E=>{n(g=>[E,...g])},removeVisit:E=>{n(g=>g.filter(S=>S!==E))},revertVisitEdit:(E,g)=>{n(S=>S.map(A=>A===g?E:A)),u(S=>S===g?E:S)}}}const Uo=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")}`,Cn=e=>[...e].sort((t,n)=>{const o=Uo(t),u=Uo(n);return o<u?-1:o>u?1:0}),Vr={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Ur(e,t=[]){const n=l.useMemo(()=>Cn(t),[t]),{list:o,setList:u,selected:r,setSelected:i,isEditing:s,setIsEditing:c,editForm:C,setEditForm:f,openDetail:p,commitEdit:d,remove:m}=Vo(Vr,n),[k,w]=l.useState([]),{year:E,month:g,day:S}=zt(),[A,B]=l.useState({year:E,month:g,day:S,hour:"09",minute:"00",memo:""}),L=F=>x=>B(v=>({...v,[F]:x})),D=F=>{u(Z=>Cn([...Z,A]));const{year:x,month:v,day:ye}=zt();B({year:x,month:v,day:ye,hour:"09",minute:"00",memo:""}),F?.()},I=()=>{d(F=>Cn(F.map(x=>x===r?C:x)),C)},$=l.useCallback(F=>{m(F)},[m]),G=l.useCallback(F=>{e({year:F.year,month:F.month,day:F.day,hour:F.hour,minute:F.minute,memo:F.memo}),m(F)},[e,m]),P=l.useCallback(F=>{u(x=>x.filter(v=>v!==F)),w(x=>[F,...x]),i(null)},[u,i]),Q=l.useCallback(F=>{u(x=>Cn([...x,F]))},[u]),Y=l.useCallback(F=>{u(x=>x.filter(v=>v!==F))},[u]),W=l.useCallback((F,x)=>{u(v=>v.map(ye=>ye===x?F:ye)),i(v=>v===x?F:v)},[u,i]);return{scheduleList:o,noShowList:k,addSchedule:Q,removeSchedule:Y,revertScheduleEdit:W,scheduleForm:A,setScheduleForm:B,setSchedule:L,selectedSchedule:r,setSelectedSchedule:i,isEditingSchedule:s,setIsEditingSchedule:c,editScheduleForm:C,setEditScheduleForm:f,openScheduleDetail:p,handleScheduleSave:D,handleScheduleEditSave:I,handleScheduleDelete:$,handleScheduleToVisit:G,handleScheduleNoVisit:P}}const Go=[{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 Gr(e){const[t,n]=l.useState(""),[o,u]=l.useState("25"),[r,i]=l.useState("all"),[s,c]=l.useState(1),C=l.useMemo(()=>e.filter(({item:m,status:k})=>!(t&&!m.memo.includes(t)||r!=="all"&&k!==r)),[e,t,r]),f=Math.max(1,Math.ceil(C.length/Number(o))),p=Math.min(s,f),d=l.useMemo(()=>C.slice((p-1)*Number(o),p*Number(o)),[C,p,o]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:u,vapStatus:r,setVapStatus:i,vapPage:p,setVapPage:c,vapFiltered:C,vapTotal:f,vapPageItems:d}}function Yr(e,t){const{t:n}=gt.useTranslation(),[o,u]=l.useState("25"),[r,i]=l.useState(1),[s,c]=l.useState(t);s!==t&&(c(t),r!==1&&i(1));const C=l.useMemo(()=>Go.map(m=>({...m,label:n("visits.showN",{n:m.value})})),[n]),f=l.useCallback(m=>{u(m),i(1)},[]),p=Math.max(1,Math.ceil(e.length/Number(o))),d=Math.min(r,p);return{pageRows:l.useMemo(()=>e.slice((d-1)*Number(o),d*Number(o)),[e,d,o]),pageSizeProps:{options:C,value:o,onChange:f},paginationProps:{page:d,total:p,onChange:i},setPage:i}}function qr(){const[e,t]=l.useState(null),n=l.useCallback(u=>{t(r=>r?.key===u?{key:u,asc:!r.asc}:{key:u,asc:!0})},[]),o=l.useCallback((u,r)=>({label:u,sortDir:e?.key===r?e.asc?"asc":"desc":null,onClick:()=>n(r)}),[e,n]);return{\uC815\uB82C:e,\uCE78:o}}function Wr(){const[e,t]=l.useState(!1),[n,o]=l.useState("\uC88C"),[u,r]=l.useState({\uC88C:null,\uC6B0:null}),[i,s]=l.useState({\uC88C:[],\uC6B0:[]}),[c,C]=l.useState(!1),[f,p]=l.useState("\uC88C"),d=l.useCallback(k=>{const w=k.direction;r(E=>({...E,[w]:k})),s(E=>({...E,[w]:[k,...E[w]]})),t(!1)},[]),m=l.useCallback(k=>{const w=k.direction;r(E=>({...E,[w]:k})),C(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:u,setDevices:r,deviceHistory:i,setDeviceHistory:s,showDeviceList:c,setShowDeviceList:C,listForSide:f,setListForSide:p,handleDeviceSubmit:d,handleSelectFromList:m}}const Kr="__ihab_core_word_pool__";function yn(){return globalThis[Kr]??null}function re(e,t=Math.random){const n=e.slice();for(let o=n.length-1;o>0;o--){const u=Math.floor(t()*(o+1));[n[o],n[u]]=[n[u],n[o]]}return n}function at(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?re(e,n):re(e,n).slice(0,t)}const Fn={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"}},Xr=ke.indexOf("\u3147"),Yo={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!==Xr},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:e=>e.jong===0},MERGE_3_PHONEMES:{syllables:1,syllable:e=>e.jong>0}},Zr={\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"},Jr={\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 qo(e){return Zr[e]??e}const Hn={cho:ke,jung:rt,jong:Fe},_e=e=>Array.isArray(e)?e.length>0:!!e;function zn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],u=t[n];if(!(!o||!u)&&(o.cho!==u.cho&&ke[o.cho]==="\u3147"!=(ke[u.cho]==="\u3147")||o.jong!==u.jong&&o.jong===0!=(u.jong===0)))return!0}return!1}function Qr(e,t,n){const o=n.pronOf(e),u=n.decompOf,r=n.sameStructureOnly&&u?u(o):null,i=[];for(const s of t)s!==e&&(n.okSet&&!n.okSet.has(s)||n.pronOf(s)!==o&&(r&&u&&zn(r,u(n.pronOf(s)))||i.push(s)));return i}function Wo(e,t,n){const o=t?.[e];if(!o)return[];const u=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return Qr(e,u,n)}function ea(e,t,n,o,u,r,i){const s=["cho","jung","jong"].filter(d=>_e(e[d])),c={};for(const d of s){const m=e[d];c[d]=new Set(Array.isArray(m)?m:[m])}const C=u==="pron",f=new Map;for(const d of t){const m=n(r(d));if(m.some(g=>!g))continue;let k=m;if(!C&&(k=n(d),k.length!==m.length||k.some(g=>!g)))continue;const w=m.length,E=f.get(w);E?E.push({w:d,dPron:m,dPos:k}):f.set(w,[{w:d,dPron:m,dPos:k}])}const p=new Map;for(const[d,m]of f){const k=new Map,w=(E,g)=>{const S=E.dPos[g];return S!=null&&s.every(A=>c[A].has(Hn[A][S[A]]))};for(const E of m){let g;if(i==="head")g=w(E,0)?0:-1;else if(i==="tail")g=w(E,d-1)?d-1:-1;else if(i==="mid"){g=-1;for(let A=1;A<d-1;A++)if(w(E,A)){g=A;break}}else g=E.dPos.findIndex(A=>A!=null&&s.every(B=>c[B].has(Hn[B][A[B]])));if(g<0)continue;const S=k.get(g);S?S.push(E):k.set(g,[E])}for(const[E,g]of k){const S=new Set(s.map(L=>E+":"+L)),A=L=>{let D="";for(let I=0;I<d;I++){const $=L[I];for(const G of["cho","jung","jong"])D+=(S.has(I+":"+G)?"*":$[G])+"."}return D},B=new Map;for(const L of m){const D=A(L.dPron),I=B.get(D);I?I.push(L):B.set(D,[L])}for(const L of g){const D=B.get(A(L.dPron))??[],I=[];for(const $ of D){if($.w===L.w)continue;let G=!0;for(const P of s){const Q=L.dPron[E][P],Y=$.dPron[E][P];if(Y===Q){G=!1;break}if(C&&c[P].has(Hn[P][Y])){G=!1;break}}G&&(o&&zn(L.dPron,$.dPron)||I.push($.w))}p.set(L.w,I)}}}return p}const ta=e=>e==null?[]:Array.isArray(e)?e:[e];function na(e){if([...e].length!==1)return"";const t=le(e);if(!t)return"";const n=qo(Fe[t.jong]),o=n===""?0:Fe.indexOf(n);return _t(t.cho,t.jung,o<0?0:o)}function Ko(e,t){return t.get(e)||na(e)||e}function Vn(e){return e?_e(e.cho)?"cho":_e(e.jung)?"jung":_e(e.jong)?"jong":null:null}function Dt(e,t){const n=(o,u)=>!_e(o)||ta(o).includes(u);return n(t.cho,ke[e.cho])&&n(t.jung,rt[e.jung])&&n(t.jong,Fe[e.jong])}function Vt(e,t,n){const o=[...e];if(n!=="pron")return o.map(r=>le(r));const u=[...t.get(e)||e];return u.length!==o.length?o.map(r=>le(r)):u.map(r=>le(r))}function Ut(e,t,n,o,u){const r=t==="cho"?ke:t==="jung"?rt:Fe,i=e[t],s=[],c=new Set([Ko(n,u)]),C=re(r.map((f,p)=>p).filter(f=>f!==i&&(t!=="cho"||r[f]!=="\u3147")&&(t!=="jong"||f!==0)));for(const f of C){if(s.length>=o)break;const p=t==="cho"?_t(f,e.jung,e.jong):t==="jung"?_t(e.cho,f,e.jong):_t(e.cho,e.jung,f),d=Ko(p,u);c.has(d)||(c.add(d),s.push(p))}return s}function oa(e,t,n,o,u,r=null){const i=[...e];if(i.length!==2)return null;const s=i.map(p=>le(p));if(s.some(p=>!p))return null;const c=Vt(e,n,o);if(c.some(p=>!p))return null;const C=Vn(t);let f=C&&t?c.map((p,d)=>Dt(p,t)?d:-1).filter(p=>p>=0):[0,1];if(r!=null&&(f=f.filter(p=>p!==r)),!f.length)return null;for(const p of re(f)){const d=i[p];if(!u.has(d))continue;const m=Ut(s[p],C??"cho",d,40,n),k=[];for(const w of m)if(w!==d&&u.has(w)&&!k.includes(w)&&k.push(w),k.length>=2)break;if(!(k.length<2))return{question:e,distractors:[d,...k]}}return null}function ua(e,t,n,o,u,r=null){const i=[...e];if(i.length!==3)return null;const s=i.map(p=>le(p));if(s.some(p=>!p))return null;const c=Vt(e,n,o);if(c.some(p=>!p))return null;const C=Vn(t),f=C&&t?c.map((p,d)=>Dt(p,t)?d:-1).filter(p=>p>=0):[0,1,2];if(!f.length)return null;for(const p of re(f))for(const d of re([0,1,2].filter(m=>m!==p&&(r==null||m===r)))){const m=[0,1,2].filter(S=>S!==d),k=m.map(S=>i[S]).join("");if(!u.has(k))continue;const w=m.indexOf(p),E=Ut(s[p],C??"cho",i[p],40,n),g=[];for(const S of E){const A=m.map(L=>i[L]);A[w]=S;const B=A.join("");if(B!==k&&u.has(B)&&!g.includes(B)&&g.push(B),g.length>=2)break}if(!(g.length<2))return{question:e,distractors:[k,...g]}}return null}function ra(e,t,n,o,u,r=null){const i=[...e],s=i.length;if(s<2)return null;const c=[];for(let f=1;f<=s-1;f++)c.push({remain:i.slice(0,f).join(""),dropped:i.slice(f).join(""),droppedEnd:1}),c.push({remain:i.slice(s-f).join(""),dropped:i.slice(0,s-f).join(""),droppedEnd:0});const C=Vn(t);for(const{remain:f,dropped:p,droppedEnd:d}of re(c)){if(r!=null&&d!==r||f===e||!u.has(f)||!u.has(p))continue;const m=[...f],k=m.map(g=>le(g));if(k.some(g=>!g))continue;const w=Vt(f,n,o);if(w.some(g=>!g))continue;const E=C&&t?w.map((g,S)=>Dt(g,t)?S:-1).filter(g=>g>=0):m.map((g,S)=>S);if(E.length)for(const g of re(E)){const S=Ut(k[g],C??"cho",m[g],40,n),A=[];for(const B of S){const L=[...m];L[g]=B;const D=L.join("");if(D!==f&&u.has(D)&&!A.includes(D)&&A.push(D),A.length>=2)break}if(A.length>=2)return{question:e,distractors:[f,...A]}}}return null}function aa(e,t,n,o,u,r=null){if([...e].length!==1)return null;const i=le(n.get(e)||e);if(!i||i.jong===0)return null;const s=_t(i.cho,i.jung,0),c=Ut({cho:i.cho,jung:i.jung,jong:0},"cho",s,2,n);return c.length<2?null:{question:e,distractors:[s,...c]}}const Un=ke.indexOf("\u3147");function ia(e,t,n,o,u,r=null){if([...e].length!==1)return null;const i=le(n.get(e)||e);if(!i||i.jong!==0||i.cho===Un)return null;const s=_t(Un,i.jung,0),c=Ut({cho:Un,jung:i.jung,jong:0},"jung",s,2,n);return c.length<2?null:{question:e,distractors:[s,...c]}}function sa(e){const t=new Map;for(const n of e){const o=[...n],u=o.length;if(!(u<2||u>3))for(let r=0;r<u;r++){let i=u+"|"+r+"|";for(let c=0;c<u;c++)i+=c===r?"*":o[c];const s=t.get(i);s?s.push(n):t.set(i,[n])}}return t}function la(e,t,n,o,u,r=null,i=null,s=2){const c=[...e],C=c.length;if(C<2||C>3)return null;const f=c.map(S=>le(S));if(f.some(S=>!S))return null;const p=Vt(e,n,o);if(p.some(S=>!S))return null;const d=S=>n.get(S)??S,m=d(e),k=!!t&&(_e(t.cho)||_e(t.jung)||_e(t.jong)),w=!!i&&(_e(i.cho)||_e(i.jung)||_e(i.jong)),E=S=>{let A=C+"|"+S+"|";for(let B=0;B<C;B++)A+=B===S?"*":c[B];return A};let g;if(r!=null){if(r>=C||k&&!Dt(p[r],t))return null;g=[r]}else k?g=p.map((S,A)=>Dt(S,t)?A:-1).filter(S=>S>=0):g=Array.from({length:C},(S,A)=>A);for(const S of re(g)){const A=u.get(E(S))??[],B=[],L=[];for(const P of A){if(P===e)continue;const Q=[...P].map(x=>le(x)),Y=f[S],W=Q[S];if(!Y||!W)continue;let F=0;if(Y.cho!==W.cho&&F++,Y.jung!==W.jung&&F++,Y.jong!==W.jong&&F++,!(F<s||d(P)===m))if(w){const x=Vt(P,n,o)[S];x&&Dt(x,i)?B.push(P):L.push(P)}else B.push(P)}if(!B.length)continue;const D=re(B)[0],I=[],$=new Set([m,d(D)]),G=w?L:B.filter(P=>P!==D);for(const P of re(G)){const Q=d(P);if(!$.has(Q)&&($.add(Q),I.push(P),I.length>=2))break}if(!w&&I.length<2)for(const P of re(A)){if(P===e||P===D)continue;const Q=d(P);if(!$.has(Q)&&($.add(Q),I.push(P),I.length>=2))break}if(!(I.length<2))return{question:e,distractors:[D,...I]}}return null}let mn=null,Xo=null,Zo=null;function ca(){const e=yn();if(e&&e.entries.length>0){const t=Ht();if(mn&&Xo===e&&Zo===t)return mn;const n=new Set,o=[];for(const u of e.entries)!u.word||n.has(u.word)||(n.add(u.word),o.push({w:u.word,s:u.syllables,p:t?.[u.word]?[...t[u.word].cho??[],...t[u.word].jung??[],...t[u.word].jong??[]]:[],pron:u.pronunciation||u.word,grade:u.grade}));return mn=o,Xo=e,Zo=t,mn}return[]}const Ge=new Proxy([],{get(e,t){const n=ca(),o=n[t];return typeof o=="function"?o.bind(n):o}});function gn(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function Ye(e,t){if(t>=e.length)return re(e);if(t===0)return[];const n=e.slice();for(let o=0;o<t;o++){const u=o+Math.floor(Math.random()*(n.length-o)),r=n[o];n[o]=n[u],n[u]=r}return n.slice(0,t)}let Gn=null,Jo=null;function Et(){const e=yn();if(Gn&&Jo===e)return Gn;const t=new Map;for(const n of Ge)n.w&&t.set(n.w,n.pron);return Gn=t,Jo=e,t}function Oe(e){return Et().get(e)||e}function Yn(e,t,n=new Set){const o=[];for(const u of re(e)){if(o.length>=t)break;const r=Oe(u);n.has(r)||(n.add(r),o.push(u))}return o}let da=0;function Ae(e){return`${e}-rt-${++da}`}function Gt(e){const t=Fo();if(!t||t.total===0){const o=new Set;for(const u of e)o.add(u);return o}const n=new Set;for(const o of e)Ir(o)===!0&&n.add(o);return n}const _n=new Map;let Qo=null,eu=null;function Yt(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function tu(e){const t=Yt(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),u=n?`${Yt(n.cho)}/${Yt(n.jung)}/${Yt(n.jong)}/${n.jongNone?"N":""}/${o}`:"",r=Yt(e.grade);return`${e.difficulty??""}|${t}|${u}|${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${r}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}async function Le(e){const t=yn(),n=Ht();(t!==Qo||n!==eu)&&(_n.clear(),Qo=t,eu=n);const o=tu(e);return _n.has(o)||_n.set(o,fa(e)),_n.get(o)}function ha(e){if(!e)return null;const t=i=>i==null?null:Array.isArray(i)?i.length?i:null:[i],n=t(e.cho),o=t(e.jung),u=!!e.jongNone,r=u?null:t(e.jong);return n||o||r||u?u&&!n&&!o&&!r?i=>Nr(i):i=>xr(i,{cho:n,jung:o,jong:r,jongNone:u}):null}async function fa(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:u=null,excludeNoImage:r=!1}=e,i=e.grade&&e.grade.length>0?new Set(e.grade):null,s=e.sameStructureOnly??!0,c=e.phonemeView==="pron"?"pron":"char",C=Math.max(1,e.contrastCount??1),f=t==="cho"||t==="jung"||t==="jong",p=f&&C>=2,d=t==="count",m=n?new Set(Array.isArray(n)?n:[n]):null,k=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,w=o?[ha(o),k?M=>k.has(pn(M)):null].filter(M=>M!=null):[],E=t==="random"||t===null,g=E||d,S=E||p||d;let A=Ge.filter(M=>!M.w||i&&(!M.grade||!i.has(M.grade))?!1:S?!0:Array.isArray(M.p)&&M.p.length>0);m&&(A=A.filter(M=>{for(const j of m)if(Mr(M.w,j))return!0;return!1})),w.length>0&&(A=A.filter(M=>{const j=c==="pron"?Oe(M.w):M.w;return w.every(ae=>ae(j))})),u&&(A=A.filter(M=>M.w[0]===u));let B;if(r){const M=new Set;for(const j of A)if(M.add(j.w),Array.isArray(j.p))for(const ae of j.p)M.add(ae);if(g)for(const j of Ge)j.w&&M.add(j.w);B=Gt(M)}else{const M=new Set;for(const j of A)if(M.add(j.w),Array.isArray(j.p))for(const ae of j.p)M.add(ae);if(g)for(const j of Ge)j.w&&M.add(j.w);B=M}let L=null;if(p){const M=new Set;for(const j of Ge)j.w&&M.add(j.w);L=r?Gt(M):M}const D=A.filter(M=>B.has(M.w)),I=600,$=Array.from(B),G=$.length>I?Ye($,I):$,P=d&&o!=null&&(_e(o.cho)||_e(o.jung)||_e(o.jong)),Q=2500,Y=new Map;if(d&&!P&&C>=2){for(const M of $){const j=pn(M),ae=Y.get(j);ae?ae.push(M):Y.set(j,[M])}for(const[M,j]of Y)j.length>Q&&Y.set(M,Ye(j,Q))}const W=Ar(),F=P?ea(o,$,W,s,c,Oe):null,x=500,v=1500,ye=e.fullCount?D:t==="random"?D.length>x?Ye(D,x):D:D.length>v?Ye(D,v):D,Z=Ht(),ee=[];for(const M of ye){let j;const ae=Oe(M.w);if(p)j=Dr(M.w,t,C,L,24).filter(ne=>Oe(ne)!==ae);else if(d)P?j=(F.get(M.w)??[]).filter(ne=>Oe(ne)!==ae):C<=1?j=Wo(M.w,Z,{okSet:B,pronOf:Oe,decompOf:W,sameStructureOnly:!1}):j=(Y.get(pn(M.w))??[]).filter(ne=>{if(ne===M.w||Oe(ne)===ae)return!1;const q=vr(M.w,ne);return C>=5?q>=5:q===C});else if(E)j=G.filter(ne=>ne!==M.w&&ne.length===M.w.length&&Oe(ne)!==ae);else{const ne=t;j=Wo(M.w,Z,{kind:ne,okSet:B,pronOf:Oe,decompOf:W,sameStructureOnly:!1}),j.length===0&&(j=(G.length>30?Ye(G,30):G).filter(q=>q!==M.w&&wr(M.w,q)===t&&Oe(q)!==ae))}if(s&&j.length>0&&(f||d&&!P)){const ne=W(Oe(M.w));j=j.filter(q=>!zn(ne,W(Oe(q))))}j.length!==0&&ee.push({word:M,usable:j})}return ee}async function nu(e,t){const{choicesPerItem:n=3,count:o=10}=t,u=n-1,r=(await Le(t)).filter(s=>s.usable.length>=u),i=[];for(const s of re(r)){if(i.length>=o)break;const c=Yn(s.usable,u);if(c.length<u)continue;const C=re([s.word.w,...c]);i.push({id:Ae(e+"-item"),index:i.length+1,word:s.word.w,syllables:s.word.s,choices:C,answerIndex:C.indexOf(s.word.w)})}return i}async function pa(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,u=await Le({...e,difficulty:null});if(u.length<t)return[];const r=[],i=re([...u]);for(const s of i){if(r.length>=n)break;const c=s.word.w,C=[...s.word.pron||c],f=gn(C);if(!f)continue;const p=u.filter(k=>k.word.w!==c&&k.word.s===s.word.s&&!(k.word.pron||k.word.w).includes(f)&&k.word.pron!==s.word.pron);if(p.length<o)continue;const d=Yn(p.map(k=>k.word.w),o);if(d.length<o)continue;const m=re([c,...d]);r.push({id:Ae("HPI-item"),index:r.length+1,targetSyllable:f,word:c,choices:m,answerIndex:m.indexOf(c)})}return r}async function Ca(e){const{count:t=10}=e,n=(await Le(e)).filter(o=>o.usable.length>=1);return Array.from({length:t},(o,u)=>{const r=gn(n);if(!r)return null;const i=u%2===0;let s;if(i)s=[r.word.w,r.word.w];else{const c=gn(r.usable);s=Math.random()<.5?[r.word.w,c]:[c,r.word.w]}return{id:Ae("SOD-item"),index:u+1,word:r.word.w,pair:s,same:i}}).filter(o=>!!o)}async function ya(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,u=await Le({...e,difficulty:null});if(u.length<t+1)return[];const r=u.map(d=>d.word.w),i=new Map(u.map(d=>[d.word.w,d.word.pron])),s=d=>(i.get(d)||d)[0]??"",c={};for(const d of u){const m=s(d.word.w);m&&(c[m]||(c[m]=[]),c[m].push(d.word.w))}const C=Object.entries(c).filter(([,d])=>d.length>=2).map(([d])=>d);if(C.length===0)return[];const f=[],p=re([...C]);for(let d=0;f.length<n&&d<n*4;d++){const m=p[d%p.length],k=c[m];if(k.length<2)continue;const w=re([...k]),E=w[0],g=w[1];if(!E||!g||E===g||(i.get(E)||E)===(i.get(g)||g))continue;const S=i.get(g)||g,A=r.filter(D=>s(D)!==m&&D!==E&&D!==g&&D.length===g.length&&(i.get(D)||D)!==S);if(A.length<o)continue;const B=Yn(A,o);if(B.length<o)continue;const L=re([g,...B]);f.push({id:Ae("SWS-item"),index:f.length+1,sourceWord:E,targetSyllable:m,word:g,choices:L,answerIndex:L.indexOf(g)})}return f}function ou(e,t,n){return Ye(e,t).map((o,u)=>{const r=gn(o.usable)??"",i=[...o.word.w],s=[...r],c=i.findIndex((f,p)=>f!==s[p]),C=re(o.usable.filter(f=>f&&f!==r)).slice(0,2);return{id:Ae(n),index:u+1,word:o.word.w,original:o.word.w,changed:r,changedFrom:c>=0?i[c]:"",changedTo:c>=0?s[c]:"",distractors:C}})}async function uu(e,t,n){const{count:o=10}=t,u=Et(),r=Ge.filter(m=>m.w&&m.s===e),i=t.excludeNoImage?Gt(r.map(m=>m.w)):null,s=i?r.filter(m=>i.has(m.w)):r,c=new Set(s.map(m=>m.w)),C=sa(c),f=t.phonemeView??"char",p=t.composition??null,d=[];for(const m of re(s)){if(d.length>=o)break;const k=la(m.w,p,u,f,C,null,null);if(!k)continue;const w=k.distractors[0],E=[...m.w],g=[...w],S=E.findIndex((A,B)=>A!==g[B]);d.push({id:Ae(n),index:d.length+1,word:m.w,original:m.w,changed:w,changedFrom:S>=0?E[S]:"",changedTo:S>=0?g[S]:"",distractors:k.distractors.slice(1)})}return d}async function ma(e){return uu(2,e,"CS2-item")}async function ga(e){return uu(3,e,"CS3-item")}async function _a(e){const t=(await Le({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return ou(t,e.count??10,"CP1-item")}async function Ea(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await Le({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return ou(n,e.count??10,"CP2-item")}async function ba(e){const{count:t=10}=e,n=(await Le({...e})).filter(o=>o.word.s===2);return Ye(n,t).map((o,u)=>({id:Ae("M2S-item"),index:u+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Sa(e){const{count:t=10}=e,n=(await Le({...e})).filter(o=>o.word.s===3);return Ye(n,t).map((o,u)=>({id:Ae("M3S-item"),index:u+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function ka(e){const{count:t=10}=e,n=(await Le({...e})).filter(s=>s.word.s===2),o=Et(),u=new Set(Ge.map(s=>s.w)),r=e.phonemeView??"char",i=[];for(const s of re(n)){if(i.length>=t)break;const c=oa(s.word.w,e.composition??null,o,r,u);if(!c)continue;const[C,...f]=c.distractors,p=[...s.word.w],d=p[0]===C?p[1]:p[0];i.push({id:Ae("D2-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:d,missingResult:C,distractors:f})}return i}async function Aa(e){const{count:t=10}=e,n=(await Le({...e})).filter(s=>s.word.s===3),o=Et(),u=new Set(Ge.map(s=>s.w)),r=e.phonemeView??"char",i=[];for(const s of re(n)){if(i.length>=t)break;const c=ua(s.word.w,e.composition??null,o,r,u);if(!c)continue;const[C,...f]=c.distractors,p=[...s.word.w];let d="";for(let m=0;m<p.length;m++)if(p.filter((k,w)=>w!==m).join("")===C){d=p[m];break}i.push({id:Ae("D3-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:d,missingResult:C,distractors:f})}return i}async function wa(e){const{count:t=10}=e,n=(await Le({...e})).filter(s=>s.word.s>=2),o=Et(),u=new Set(Ge.map(s=>s.w)),r=e.phonemeView??"char",i=[];for(const s of re(n)){if(i.length>=t)break;const c=ra(s.word.w,e.composition??null,o,r,u);if(!c)continue;const[C,...f]=c.distractors,p=s.word.w,d=p.startsWith(C)?p.slice(C.length):p.endsWith(C)?p.slice(0,p.length-C.length):"";i.push({id:Ae("DPC-item"),index:i.length+1,original:p,word:p,dropped:d,missingResult:C,distractors:f})}return i}async function Ma(e){const{count:t=10}=e,n=(await Le({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,u)=>{const r=Ye(n,3);return{id:Ae("LRO-item"),index:u+1,sequence:r,choices:re(r)}})}function En(e,t,n){const o=Ge.filter(i=>i.w&&i.s===e),u=t?Gt(o.map(i=>i.w)):null,r=[];for(const i of o)if(!(u&&!u.has(i.w))){if(n){const s=le(i.w);if(!s||!n(s))continue}r.push(i)}return r}function Na(e){const t=En(1,e.excludeNoImage??!1,n=>n.jong===0);return Ye(t,e.count??10).map((n,o)=>{const u=le(n.w);return{id:Ae("M2P-item"),index:o+1,parts:[ke[u.cho],rt[u.jung]],answer:n.w,word:n.w}})}function Ta(e){const t=En(1,e.excludeNoImage??!1,n=>n.jong>0&&!$t[n.jong]);return Ye(t,e.count??10).map((n,o)=>{const u=le(n.w);return{id:Ae("M3P-item"),index:o+1,parts:[ke[u.cho],rt[u.jung],Fe[u.jong]],answer:n.w,word:n.w}})}function xa(e){const t=Yo.DROP_FINAL_CONSONANT_FROM_1SYLL,n=En(t.syllables,e.excludeNoImage??!1,t.syllable),o=Et(),u=[];for(const r of re(n)){if(u.length>=(e.count??10))break;const i=aa(r.w,null,o);if(!i)continue;const[s,...c]=i.distractors;u.push({id:Ae("DFC-item"),index:u.length+1,original:r.w,word:r.w,result:s,distractors:c})}return u}function Ba(e){const t=Yo.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=En(t.syllables,e.excludeNoImage??!1,t.syllable),o=Et(),u=[];for(const r of re(n)){if(u.length>=(e.count??10))break;const i=ia(r.w,null,o);if(!i)continue;const s=le(o.get(r.w)||r.w);if(!s)continue;const[c,...C]=i.distractors;u.push({id:Ae("RCP-item"),index:u.length+1,base:r.w,word:r.w,missingConsonant:ke[s.cho],remaining:c,distractors:C})}return u}const bn=new Map;let ru=null,au=null;async function iu(e,t={}){const n=yn(),o=Ht();(n!==ru||o!==au)&&(bn.clear(),ru=n,au=o);const u=`${e}:${tu(t)}`;if(bn.has(u))return bn.get(u);const r=await va(e,t);return bn.set(u,r),r}const Da={SAME_SOUND_PICK:e=>nu("SSP",e),HEAR_AND_PICK_SAME:e=>nu("HPS",e),HEAR_AND_PICK_INCLUDED:e=>pa(e),SAME_OR_DIFF:e=>Ca(e),STARTS_WITH_SAME_SOUND:e=>ya(e),LISTEN_AND_REMEMBER_ORDER:e=>Ma(e),MERGE_2_SYLLABLES:e=>ba(e),MERGE_3_SYLLABLES:e=>Sa(e),MERGE_2_PHONEMES:e=>Na(e),MERGE_3_PHONEMES:e=>Ta(e),DROP_1_FROM_2SYLL:e=>ka(e),DROP_1_FROM_3SYLL:e=>Aa(e),DROP_PART_FROM_COMPOUND:e=>wa(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>xa(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>Ba(e),CHANGE_1_SYLL_IN_2SYLL:e=>ma(e),CHANGE_1_SYLL_IN_3SYLL:e=>ga(e),CHANGE_1_PHONEME_IN_1SYLL:e=>_a(e),CHANGE_1_PHONEME_IN_2SYLL:e=>Ea(e)};async function va(e,t={}){const n=Da[e];return n?await n(t):[]}async function Oa(e){const t=[null,"count"],n=Object.keys(Fn);let o=0;for(const u of t)for(const r of n){const i=Fn[r];iu(r,{difficulty:i.difficulty?u:null,choseong:null,count:10,excludeNoImage:e}).catch(()=>{}),++o%6===0&&await new Promise(s=>setTimeout(s,0))}}async function La(e){return(await Le({...e,fullCount:!0})).length}async function Ra(e={}){const t=[];for(const s of Ge)s.w&&t.push(s.w);const n=e.excludeNoImage?Gt(t):t,o=new Set,u=new Set,r=new Set,i=new Set;for(const s of n){i.add(pn(s));for(const c of s){const C=le(c);if(C&&(ke[C.cho]!=="\u3147"&&o.add(ke[C.cho]),u.add(rt[C.jung]),C.jong>0)){r.add(Fe[C.jong]);const f=$t[C.jong];f&&f.forEach(p=>r.add(p))}}}return{cho:o,jung:u,jong:r,syllable:i}}const bt="\uC804\uCCB4";function Ia(...e){return e.filter(Boolean).join(" ")}/**
2
2
  * @license lucide-react v1.38.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -8,17 +8,17 @@
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
- */const Ia=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
11
+ */const ja=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
12
12
  * @license lucide-react v1.38.0 - ISC
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
- */const ja=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
16
+ */const Pa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
17
17
  * @license lucide-react v1.38.0 - ISC
18
18
  *
19
19
  * This source code is licensed under the ISC license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
- */const lu=e=>{const t=ja(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
21
+ */const lu=e=>{const t=Pa(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
22
22
  * @license lucide-react v1.38.0 - ISC
23
23
  *
24
24
  * This source code is licensed under the ISC license.
@@ -28,756 +28,756 @@
28
28
  *
29
29
  * This source code is licensed under the ISC license.
30
30
  * See the LICENSE file in the root directory of this source tree.
31
- */const Pa=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},$a=l.createContext({}),Fa=()=>l.useContext($a),Ha=l.forwardRef(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:o,className:u="",children:r,iconNode:i,...s},c)=>{const{size:C=24,strokeWidth:f=2,absoluteStrokeWidth:p=!1,color:d="currentColor",className:m=""}=Fa()??{},S=o??p?Number(n??f)*24/Number(t??C):n??f;return l.createElement("svg",{ref:c,...qn,width:t??C??qn.width,height:t??C??qn.height,stroke:e??d,strokeWidth:S,className:su("lucide",m,u),...!r&&!Pa(s)&&{"aria-hidden":"true"},...s},[...i.map(([w,_])=>l.createElement(w,_)),...Array.isArray(r)?r:[r]])});/**
31
+ */const $a=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Fa=l.createContext({}),Ha=()=>l.useContext(Fa),za=l.forwardRef(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:o,className:u="",children:r,iconNode:i,...s},c)=>{const{size:C=24,strokeWidth:f=2,absoluteStrokeWidth:p=!1,color:d="currentColor",className:m=""}=Ha()??{},k=o??p?Number(n??f)*24/Number(t??C):n??f;return l.createElement("svg",{ref:c,...qn,width:t??C??qn.width,height:t??C??qn.height,stroke:e??d,strokeWidth:k,className:su("lucide",m,u),...!r&&!$a(s)&&{"aria-hidden":"true"},...s},[...i.map(([w,E])=>l.createElement(w,E)),...Array.isArray(r)?r:[r]])});/**
32
32
  * @license lucide-react v1.38.0 - ISC
33
33
  *
34
34
  * This source code is licensed under the ISC license.
35
35
  * See the LICENSE file in the root directory of this source tree.
36
- */const y=(e,t)=>{const n=l.forwardRef(({className:o,...u},r)=>l.createElement(Ha,{ref:r,iconNode:t,className:su(`lucide-${Ia(lu(e))}`,`lucide-${e}`,o),...u}));return n.displayName=lu(e),n};/**
36
+ */const y=(e,t)=>{const n=l.forwardRef(({className:o,...u},r)=>l.createElement(za,{ref:r,iconNode:t,className:su(`lucide-${ja(lu(e))}`,`lucide-${e}`,o),...u}));return n.displayName=lu(e),n};/**
37
37
  * @license lucide-react v1.38.0 - ISC
38
38
  *
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
41
- */const za=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],cu=y("triangle-alert",za);/**
41
+ */const Va=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],cu=y("triangle-alert",Va);/**
42
42
  * @license lucide-react v1.38.0 - ISC
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
46
- */const Va=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],Ua=y("align-start-vertical",Va);/**
46
+ */const Ua=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],Ga=y("align-start-vertical",Ua);/**
47
47
  * @license lucide-react v1.38.0 - ISC
48
48
  *
49
49
  * This source code is licensed under the ISC license.
50
50
  * See the LICENSE file in the root directory of this source tree.
51
- */const Ga=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Ya=y("arrow-down",Ga);/**
51
+ */const Ya=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],qa=y("arrow-down",Ya);/**
52
52
  * @license lucide-react v1.38.0 - ISC
53
53
  *
54
54
  * This source code is licensed under the ISC license.
55
55
  * See the LICENSE file in the root directory of this source tree.
56
- */const qa=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Wa=y("arrow-left",qa);/**
56
+ */const Wa=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ka=y("arrow-left",Wa);/**
57
57
  * @license lucide-react v1.38.0 - ISC
58
58
  *
59
59
  * This source code is licensed under the ISC license.
60
60
  * See the LICENSE file in the root directory of this source tree.
61
- */const Ka=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xa=y("arrow-right",Ka);/**
61
+ */const Xa=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Za=y("arrow-right",Xa);/**
62
62
  * @license lucide-react v1.38.0 - ISC
63
63
  *
64
64
  * This source code is licensed under the ISC license.
65
65
  * See the LICENSE file in the root directory of this source tree.
66
- */const Za=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],Ja=y("arrow-right-left",Za);/**
66
+ */const Ja=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],Qa=y("arrow-right-left",Ja);/**
67
67
  * @license lucide-react v1.38.0 - ISC
68
68
  *
69
69
  * This source code is licensed under the ISC license.
70
70
  * See the LICENSE file in the root directory of this source tree.
71
- */const Qa=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],ei=y("audio-lines",Qa);/**
71
+ */const ei=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],ti=y("audio-lines",ei);/**
72
72
  * @license lucide-react v1.38.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
- */const ti=[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]],ni=y("baby",ti);/**
76
+ */const ni=[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]],oi=y("baby",ni);/**
77
77
  * @license lucide-react v1.38.0 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const oi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],ui=y("ban",oi);/**
81
+ */const ui=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],ri=y("ban",ui);/**
82
82
  * @license lucide-react v1.38.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */const ri=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],ai=y("bell",ri);/**
86
+ */const ai=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],ii=y("bell",ai);/**
87
87
  * @license lucide-react v1.38.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */const ii=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],si=y("book-marked",ii);/**
91
+ */const si=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],li=y("book-marked",si);/**
92
92
  * @license lucide-react v1.38.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const li=[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]],ci=y("book-open",li);/**
96
+ */const ci=[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]],di=y("book-open",ci);/**
97
97
  * @license lucide-react v1.38.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const di=[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]],hi=y("bow-arrow",di);/**
101
+ */const hi=[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]],fi=y("bow-arrow",hi);/**
102
102
  * @license lucide-react v1.38.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const fi=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],pi=y("braces",fi);/**
106
+ */const pi=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],Ci=y("braces",pi);/**
107
107
  * @license lucide-react v1.38.0 - ISC
108
108
  *
109
109
  * This source code is licensed under the ISC license.
110
110
  * See the LICENSE file in the root directory of this source tree.
111
- */const Ci=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],yi=y("bug",Ci);/**
111
+ */const yi=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],mi=y("bug",yi);/**
112
112
  * @license lucide-react v1.38.0 - ISC
113
113
  *
114
114
  * This source code is licensed under the ISC license.
115
115
  * See the LICENSE file in the root directory of this source tree.
116
- */const mi=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],gi=y("calendar-check",mi);/**
116
+ */const gi=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],_i=y("calendar-check",gi);/**
117
117
  * @license lucide-react v1.38.0 - ISC
118
118
  *
119
119
  * This source code is licensed under the ISC license.
120
120
  * See the LICENSE file in the root directory of this source tree.
121
- */const _i=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M8 17h.01",key:"p3bg7i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M16 17h.01",key:"ql8jdd"}]],Ei=y("calendar-days",_i);/**
121
+ */const Ei=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M8 17h.01",key:"p3bg7i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M16 17h.01",key:"ql8jdd"}]],bi=y("calendar-days",Ei);/**
122
122
  * @license lucide-react v1.38.0 - ISC
123
123
  *
124
124
  * This source code is licensed under the ISC license.
125
125
  * See the LICENSE file in the root directory of this source tree.
126
- */const bi=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Si=y("camera",bi);/**
126
+ */const Si=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],ki=y("camera",Si);/**
127
127
  * @license lucide-react v1.38.0 - ISC
128
128
  *
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
- */const ki=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Ai=y("chart-column",ki);/**
131
+ */const Ai=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],wi=y("chart-column",Ai);/**
132
132
  * @license lucide-react v1.38.0 - ISC
133
133
  *
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
- */const wi=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Mi=y("chart-line",wi);/**
136
+ */const Mi=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Ni=y("chart-line",Mi);/**
137
137
  * @license lucide-react v1.38.0 - ISC
138
138
  *
139
139
  * This source code is licensed under the ISC license.
140
140
  * See the LICENSE file in the root directory of this source tree.
141
- */const Ni=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Ti=y("chart-pie",Ni);/**
141
+ */const Ti=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],xi=y("chart-pie",Ti);/**
142
142
  * @license lucide-react v1.38.0 - ISC
143
143
  *
144
144
  * This source code is licensed under the ISC license.
145
145
  * See the LICENSE file in the root directory of this source tree.
146
- */const xi=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Bi=y("check",xi);/**
146
+ */const Bi=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Di=y("check",Bi);/**
147
147
  * @license lucide-react v1.38.0 - ISC
148
148
  *
149
149
  * This source code is licensed under the ISC license.
150
150
  * See the LICENSE file in the root directory of this source tree.
151
- */const Di=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],vi=y("chevron-left",Di);/**
151
+ */const vi=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Oi=y("chevron-left",vi);/**
152
152
  * @license lucide-react v1.38.0 - ISC
153
153
  *
154
154
  * This source code is licensed under the ISC license.
155
155
  * See the LICENSE file in the root directory of this source tree.
156
- */const Oi=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Li=y("chevron-right",Oi);/**
156
+ */const Li=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ri=y("chevron-right",Li);/**
157
157
  * @license lucide-react v1.38.0 - ISC
158
158
  *
159
159
  * This source code is licensed under the ISC license.
160
160
  * See the LICENSE file in the root directory of this source tree.
161
- */const Ri=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Ii=y("clipboard-list",Ri);/**
161
+ */const Ii=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],ji=y("clipboard-list",Ii);/**
162
162
  * @license lucide-react v1.38.0 - ISC
163
163
  *
164
164
  * This source code is licensed under the ISC license.
165
165
  * See the LICENSE file in the root directory of this source tree.
166
- */const ji=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],Pi=y("combine",ji);/**
166
+ */const Pi=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],$i=y("combine",Pi);/**
167
167
  * @license lucide-react v1.38.0 - ISC
168
168
  *
169
169
  * This source code is licensed under the ISC license.
170
170
  * See the LICENSE file in the root directory of this source tree.
171
- */const $i=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Fi=y("copy",$i);/**
171
+ */const Fi=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Hi=y("copy",Fi);/**
172
172
  * @license lucide-react v1.38.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
- */const Hi=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],zi=y("credit-card",Hi);/**
176
+ */const zi=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Vi=y("credit-card",zi);/**
177
177
  * @license lucide-react v1.38.0 - ISC
178
178
  *
179
179
  * This source code is licensed under the ISC license.
180
180
  * See the LICENSE file in the root directory of this source tree.
181
- */const Vi=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Ui=y("database",Vi);/**
181
+ */const Ui=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Gi=y("database",Ui);/**
182
182
  * @license lucide-react v1.38.0 - ISC
183
183
  *
184
184
  * This source code is licensed under the ISC license.
185
185
  * See the LICENSE file in the root directory of this source tree.
186
- */const Gi=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],Yi=y("diff",Gi);/**
186
+ */const Yi=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],qi=y("diff",Yi);/**
187
187
  * @license lucide-react v1.38.0 - ISC
188
188
  *
189
189
  * This source code is licensed under the ISC license.
190
190
  * See the LICENSE file in the root directory of this source tree.
191
- */const qi=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Wi=y("download",qi);/**
191
+ */const Wi=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ki=y("download",Wi);/**
192
192
  * @license lucide-react v1.38.0 - ISC
193
193
  *
194
194
  * This source code is licensed under the ISC license.
195
195
  * See the LICENSE file in the root directory of this source tree.
196
- */const Ki=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],Xi=y("ear",Ki);/**
196
+ */const Xi=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],Zi=y("ear",Xi);/**
197
197
  * @license lucide-react v1.38.0 - ISC
198
198
  *
199
199
  * This source code is licensed under the ISC license.
200
200
  * See the LICENSE file in the root directory of this source tree.
201
- */const Zi=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Ji=y("square-pen",Zi);/**
201
+ */const Ji=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Qi=y("square-pen",Ji);/**
202
202
  * @license lucide-react v1.38.0 - ISC
203
203
  *
204
204
  * This source code is licensed under the ISC license.
205
205
  * See the LICENSE file in the root directory of this source tree.
206
- */const Qi=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],es=y("pen",Qi);/**
206
+ */const es=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],ts=y("pen",es);/**
207
207
  * @license lucide-react v1.38.0 - ISC
208
208
  *
209
209
  * This source code is licensed under the ISC license.
210
210
  * See the LICENSE file in the root directory of this source tree.
211
- */const ts=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],ns=y("pen-line",ts);/**
211
+ */const ns=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],os=y("pen-line",ns);/**
212
212
  * @license lucide-react v1.38.0 - ISC
213
213
  *
214
214
  * This source code is licensed under the ISC license.
215
215
  * See the LICENSE file in the root directory of this source tree.
216
- */const os=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],du=y("ellipsis",os);/**
216
+ */const us=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],du=y("ellipsis",us);/**
217
217
  * @license lucide-react v1.38.0 - ISC
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
- */const us=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],rs=y("eraser",us);/**
221
+ */const rs=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],as=y("eraser",rs);/**
222
222
  * @license lucide-react v1.38.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
- */const as=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],is=y("external-link",as);/**
226
+ */const is=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],ss=y("external-link",is);/**
227
227
  * @license lucide-react v1.38.0 - ISC
228
228
  *
229
229
  * This source code is licensed under the ISC license.
230
230
  * See the LICENSE file in the root directory of this source tree.
231
- */const ss=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],ls=y("eye",ss);/**
231
+ */const ls=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],cs=y("eye",ls);/**
232
232
  * @license lucide-react v1.38.0 - ISC
233
233
  *
234
234
  * This source code is licensed under the ISC license.
235
235
  * See the LICENSE file in the root directory of this source tree.
236
- */const cs=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],ds=y("file-text",cs);/**
236
+ */const ds=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],hs=y("file-text",ds);/**
237
237
  * @license lucide-react v1.38.0 - ISC
238
238
  *
239
239
  * This source code is licensed under the ISC license.
240
240
  * See the LICENSE file in the root directory of this source tree.
241
- */const hs=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],fs=y("square-centerline-dashed-horizontal",hs);/**
241
+ */const fs=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],ps=y("square-centerline-dashed-horizontal",fs);/**
242
242
  * @license lucide-react v1.38.0 - ISC
243
243
  *
244
244
  * This source code is licensed under the ISC license.
245
245
  * See the LICENSE file in the root directory of this source tree.
246
- */const ps=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Cs=y("folder-open",ps);/**
246
+ */const Cs=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],ys=y("folder-open",Cs);/**
247
247
  * @license lucide-react v1.38.0 - ISC
248
248
  *
249
249
  * This source code is licensed under the ISC license.
250
250
  * See the LICENSE file in the root directory of this source tree.
251
- */const ys=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ms=y("folder-plus",ys);/**
251
+ */const ms=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],gs=y("folder-plus",ms);/**
252
252
  * @license lucide-react v1.38.0 - ISC
253
253
  *
254
254
  * This source code is licensed under the ISC license.
255
255
  * See the LICENSE file in the root directory of this source tree.
256
- */const gs=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],_s=y("gamepad",gs);/**
256
+ */const _s=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],Es=y("gamepad",_s);/**
257
257
  * @license lucide-react v1.38.0 - ISC
258
258
  *
259
259
  * This source code is licensed under the ISC license.
260
260
  * See the LICENSE file in the root directory of this source tree.
261
- */const Es=[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]],bs=y("gavel",Es);/**
261
+ */const bs=[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]],Ss=y("gavel",bs);/**
262
262
  * @license lucide-react v1.38.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
- */const Ss=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],ks=y("git-merge",Ss);/**
266
+ */const ks=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],As=y("git-merge",ks);/**
267
267
  * @license lucide-react v1.38.0 - ISC
268
268
  *
269
269
  * This source code is licensed under the ISC license.
270
270
  * See the LICENSE file in the root directory of this source tree.
271
- */const As=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],ws=y("globe",As);/**
271
+ */const ws=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Ms=y("globe",ws);/**
272
272
  * @license lucide-react v1.38.0 - ISC
273
273
  *
274
274
  * This source code is licensed under the ISC license.
275
275
  * See the LICENSE file in the root directory of this source tree.
276
- */const Ms=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Ns=y("headphones",Ms);/**
276
+ */const Ns=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Ts=y("headphones",Ns);/**
277
277
  * @license lucide-react v1.38.0 - ISC
278
278
  *
279
279
  * This source code is licensed under the ISC license.
280
280
  * See the LICENSE file in the root directory of this source tree.
281
- */const Ts=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],xs=y("heart",Ts);/**
281
+ */const xs=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Bs=y("heart",xs);/**
282
282
  * @license lucide-react v1.38.0 - ISC
283
283
  *
284
284
  * This source code is licensed under the ISC license.
285
285
  * See the LICENSE file in the root directory of this source tree.
286
- */const Bs=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Ds=y("house",Bs);/**
286
+ */const Ds=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],vs=y("house",Ds);/**
287
287
  * @license lucide-react v1.38.0 - ISC
288
288
  *
289
289
  * This source code is licensed under the ISC license.
290
290
  * See the LICENSE file in the root directory of this source tree.
291
- */const vs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Os=y("info",vs);/**
291
+ */const Os=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ls=y("info",Os);/**
292
292
  * @license lucide-react v1.38.0 - ISC
293
293
  *
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
- */const Ls=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Rs=y("key-round",Ls);/**
296
+ */const Rs=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Is=y("key-round",Rs);/**
297
297
  * @license lucide-react v1.38.0 - ISC
298
298
  *
299
299
  * This source code is licensed under the ISC license.
300
300
  * See the LICENSE file in the root directory of this source tree.
301
- */const Is=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],js=y("landmark",Is);/**
301
+ */const js=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],Ps=y("landmark",js);/**
302
302
  * @license lucide-react v1.38.0 - ISC
303
303
  *
304
304
  * This source code is licensed under the ISC license.
305
305
  * See the LICENSE file in the root directory of this source tree.
306
- */const Ps=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],$s=y("layers",Ps);/**
306
+ */const $s=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Fs=y("layers",$s);/**
307
307
  * @license lucide-react v1.38.0 - ISC
308
308
  *
309
309
  * This source code is licensed under the ISC license.
310
310
  * See the LICENSE file in the root directory of this source tree.
311
- */const Fs=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],Hs=y("layout-dashboard",Fs);/**
311
+ */const Hs=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],zs=y("layout-dashboard",Hs);/**
312
312
  * @license lucide-react v1.38.0 - ISC
313
313
  *
314
314
  * This source code is licensed under the ISC license.
315
315
  * See the LICENSE file in the root directory of this source tree.
316
- */const zs=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],Vs=y("leaf",zs);/**
316
+ */const Vs=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],Us=y("leaf",Vs);/**
317
317
  * @license lucide-react v1.38.0 - ISC
318
318
  *
319
319
  * This source code is licensed under the ISC license.
320
320
  * See the LICENSE file in the root directory of this source tree.
321
- */const Us=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Gs=y("lightbulb",Us);/**
321
+ */const Gs=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Ys=y("lightbulb",Gs);/**
322
322
  * @license lucide-react v1.38.0 - ISC
323
323
  *
324
324
  * This source code is licensed under the ISC license.
325
325
  * See the LICENSE file in the root directory of this source tree.
326
- */const Ys=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],qs=y("link",Ys);/**
326
+ */const qs=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Ws=y("link",qs);/**
327
327
  * @license lucide-react v1.38.0 - ISC
328
328
  *
329
329
  * This source code is licensed under the ISC license.
330
330
  * See the LICENSE file in the root directory of this source tree.
331
- */const Ws=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Ks=y("link-2",Ws);/**
331
+ */const Ks=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Xs=y("link-2",Ks);/**
332
332
  * @license lucide-react v1.38.0 - ISC
333
333
  *
334
334
  * This source code is licensed under the ISC license.
335
335
  * See the LICENSE file in the root directory of this source tree.
336
- */const Xs=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Zs=y("link-2-off",Xs);/**
336
+ */const Zs=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],Js=y("link-2-off",Zs);/**
337
337
  * @license lucide-react v1.38.0 - ISC
338
338
  *
339
339
  * This source code is licensed under the ISC license.
340
340
  * See the LICENSE file in the root directory of this source tree.
341
- */const Js=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Qs=y("list",Js);/**
341
+ */const Qs=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],el=y("list",Qs);/**
342
342
  * @license lucide-react v1.38.0 - ISC
343
343
  *
344
344
  * This source code is licensed under the ISC license.
345
345
  * See the LICENSE file in the root directory of this source tree.
346
- */const el=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],tl=y("list-checks",el);/**
346
+ */const tl=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],nl=y("list-checks",tl);/**
347
347
  * @license lucide-react v1.38.0 - ISC
348
348
  *
349
349
  * This source code is licensed under the ISC license.
350
350
  * See the LICENSE file in the root directory of this source tree.
351
- */const nl=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],ol=y("list-ordered",nl);/**
351
+ */const ol=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],ul=y("list-ordered",ol);/**
352
352
  * @license lucide-react v1.38.0 - ISC
353
353
  *
354
354
  * This source code is licensed under the ISC license.
355
355
  * See the LICENSE file in the root directory of this source tree.
356
- */const ul=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],rl=y("loader",ul);/**
356
+ */const rl=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],al=y("loader",rl);/**
357
357
  * @license lucide-react v1.38.0 - ISC
358
358
  *
359
359
  * This source code is licensed under the ISC license.
360
360
  * See the LICENSE file in the root directory of this source tree.
361
- */const al=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],il=y("log-out",al);/**
361
+ */const il=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],sl=y("log-out",il);/**
362
362
  * @license lucide-react v1.38.0 - ISC
363
363
  *
364
364
  * This source code is licensed under the ISC license.
365
365
  * See the LICENSE file in the root directory of this source tree.
366
- */const sl=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ll=y("mail",sl);/**
366
+ */const ll=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],cl=y("mail",ll);/**
367
367
  * @license lucide-react v1.38.0 - ISC
368
368
  *
369
369
  * This source code is licensed under the ISC license.
370
370
  * See the LICENSE file in the root directory of this source tree.
371
- */const cl=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],dl=y("map-pin",cl);/**
371
+ */const dl=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],hl=y("map-pin",dl);/**
372
372
  * @license lucide-react v1.38.0 - ISC
373
373
  *
374
374
  * This source code is licensed under the ISC license.
375
375
  * See the LICENSE file in the root directory of this source tree.
376
- */const hl=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],fl=y("message-circle",hl);/**
376
+ */const fl=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],pl=y("message-circle",fl);/**
377
377
  * @license lucide-react v1.38.0 - ISC
378
378
  *
379
379
  * This source code is licensed under the ISC license.
380
380
  * See the LICENSE file in the root directory of this source tree.
381
- */const pl=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Cl=y("message-circle-question-mark",pl);/**
381
+ */const Cl=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],yl=y("message-circle-question-mark",Cl);/**
382
382
  * @license lucide-react v1.38.0 - ISC
383
383
  *
384
384
  * This source code is licensed under the ISC license.
385
385
  * See the LICENSE file in the root directory of this source tree.
386
- */const yl=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],ml=y("message-square",yl);/**
386
+ */const ml=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],gl=y("message-square",ml);/**
387
387
  * @license lucide-react v1.38.0 - ISC
388
388
  *
389
389
  * This source code is licensed under the ISC license.
390
390
  * See the LICENSE file in the root directory of this source tree.
391
- */const gl=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],_l=y("message-square-text",gl);/**
391
+ */const _l=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],El=y("message-square-text",_l);/**
392
392
  * @license lucide-react v1.38.0 - ISC
393
393
  *
394
394
  * This source code is licensed under the ISC license.
395
395
  * See the LICENSE file in the root directory of this source tree.
396
- */const El=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],bl=y("circle-minus",El);/**
396
+ */const bl=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Sl=y("circle-minus",bl);/**
397
397
  * @license lucide-react v1.38.0 - ISC
398
398
  *
399
399
  * This source code is licensed under the ISC license.
400
400
  * See the LICENSE file in the root directory of this source tree.
401
- */const Sl=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],kl=y("package",Sl);/**
401
+ */const kl=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Al=y("package",kl);/**
402
402
  * @license lucide-react v1.38.0 - ISC
403
403
  *
404
404
  * This source code is licensed under the ISC license.
405
405
  * See the LICENSE file in the root directory of this source tree.
406
- */const Al=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],wl=y("palette",Al);/**
406
+ */const wl=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Ml=y("palette",wl);/**
407
407
  * @license lucide-react v1.38.0 - ISC
408
408
  *
409
409
  * This source code is licensed under the ISC license.
410
410
  * See the LICENSE file in the root directory of this source tree.
411
- */const Ml=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],Nl=y("party-popper",Ml);/**
411
+ */const Nl=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],Tl=y("party-popper",Nl);/**
412
412
  * @license lucide-react v1.38.0 - ISC
413
413
  *
414
414
  * This source code is licensed under the ISC license.
415
415
  * See the LICENSE file in the root directory of this source tree.
416
- */const Tl=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],xl=y("pause",Tl);/**
416
+ */const xl=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Bl=y("pause",xl);/**
417
417
  * @license lucide-react v1.38.0 - ISC
418
418
  *
419
419
  * This source code is licensed under the ISC license.
420
420
  * See the LICENSE file in the root directory of this source tree.
421
- */const Bl=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Dl=y("pencil",Bl);/**
421
+ */const Dl=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],vl=y("pencil",Dl);/**
422
422
  * @license lucide-react v1.38.0 - ISC
423
423
  *
424
424
  * This source code is licensed under the ISC license.
425
425
  * See the LICENSE file in the root directory of this source tree.
426
- */const vl=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ol=y("phone",vl);/**
426
+ */const Ol=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ll=y("phone",Ol);/**
427
427
  * @license lucide-react v1.38.0 - ISC
428
428
  *
429
429
  * This source code is licensed under the ISC license.
430
430
  * See the LICENSE file in the root directory of this source tree.
431
- */const Ll=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Rl=y("play",Ll);/**
431
+ */const Rl=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Il=y("play",Rl);/**
432
432
  * @license lucide-react v1.38.0 - ISC
433
433
  *
434
434
  * This source code is licensed under the ISC license.
435
435
  * See the LICENSE file in the root directory of this source tree.
436
- */const Il=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],jl=y("circle-play",Il);/**
436
+ */const jl=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Pl=y("circle-play",jl);/**
437
437
  * @license lucide-react v1.38.0 - ISC
438
438
  *
439
439
  * This source code is licensed under the ISC license.
440
440
  * See the LICENSE file in the root directory of this source tree.
441
- */const Pl=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],$l=y("plus",Pl);/**
441
+ */const $l=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Fl=y("plus",$l);/**
442
442
  * @license lucide-react v1.38.0 - ISC
443
443
  *
444
444
  * This source code is licensed under the ISC license.
445
445
  * See the LICENSE file in the root directory of this source tree.
446
- */const Fl=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],Hl=y("printer",Fl);/**
446
+ */const Hl=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],zl=y("printer",Hl);/**
447
447
  * @license lucide-react v1.38.0 - ISC
448
448
  *
449
449
  * This source code is licensed under the ISC license.
450
450
  * See the LICENSE file in the root directory of this source tree.
451
- */const zl=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Vl=y("refresh-cw",zl);/**
451
+ */const Vl=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Ul=y("refresh-cw",Vl);/**
452
452
  * @license lucide-react v1.38.0 - ISC
453
453
  *
454
454
  * This source code is licensed under the ISC license.
455
455
  * See the LICENSE file in the root directory of this source tree.
456
- */const Ul=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],Gl=y("repeat",Ul);/**
456
+ */const Gl=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],Yl=y("repeat",Gl);/**
457
457
  * @license lucide-react v1.38.0 - ISC
458
458
  *
459
459
  * This source code is licensed under the ISC license.
460
460
  * See the LICENSE file in the root directory of this source tree.
461
- */const Yl=[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]],ql=y("replace",Yl);/**
461
+ */const ql=[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]],Wl=y("replace",ql);/**
462
462
  * @license lucide-react v1.38.0 - ISC
463
463
  *
464
464
  * This source code is licensed under the ISC license.
465
465
  * See the LICENSE file in the root directory of this source tree.
466
- */const Wl=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],Kl=y("rocket",Wl);/**
466
+ */const Kl=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],Xl=y("rocket",Kl);/**
467
467
  * @license lucide-react v1.38.0 - ISC
468
468
  *
469
469
  * This source code is licensed under the ISC license.
470
470
  * See the LICENSE file in the root directory of this source tree.
471
- */const Xl=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Zl=y("rotate-ccw",Xl);/**
471
+ */const Zl=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Jl=y("rotate-ccw",Zl);/**
472
472
  * @license lucide-react v1.38.0 - ISC
473
473
  *
474
474
  * This source code is licensed under the ISC license.
475
475
  * See the LICENSE file in the root directory of this source tree.
476
- */const Jl=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],Ql=y("rotate-cw",Jl);/**
476
+ */const Ql=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],ec=y("rotate-cw",Ql);/**
477
477
  * @license lucide-react v1.38.0 - ISC
478
478
  *
479
479
  * This source code is licensed under the ISC license.
480
480
  * See the LICENSE file in the root directory of this source tree.
481
- */const ec=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],tc=y("salad",ec);/**
481
+ */const tc=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],nc=y("salad",tc);/**
482
482
  * @license lucide-react v1.38.0 - ISC
483
483
  *
484
484
  * This source code is licensed under the ISC license.
485
485
  * See the LICENSE file in the root directory of this source tree.
486
- */const nc=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],oc=y("scan-search",nc);/**
486
+ */const oc=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],uc=y("scan-search",oc);/**
487
487
  * @license lucide-react v1.38.0 - ISC
488
488
  *
489
489
  * This source code is licensed under the ISC license.
490
490
  * See the LICENSE file in the root directory of this source tree.
491
- */const uc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],hu=y("circle-alert",uc);/**
491
+ */const rc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],hu=y("circle-alert",rc);/**
492
492
  * @license lucide-react v1.38.0 - ISC
493
493
  *
494
494
  * This source code is licensed under the ISC license.
495
495
  * See the LICENSE file in the root directory of this source tree.
496
- */const rc=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],ac=y("circle-check-big",rc);/**
496
+ */const ac=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],ic=y("circle-check-big",ac);/**
497
497
  * @license lucide-react v1.38.0 - ISC
498
498
  *
499
499
  * This source code is licensed under the ISC license.
500
500
  * See the LICENSE file in the root directory of this source tree.
501
- */const ic=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],sc=y("search",ic);/**
501
+ */const sc=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],lc=y("search",sc);/**
502
502
  * @license lucide-react v1.38.0 - ISC
503
503
  *
504
504
  * This source code is licensed under the ISC license.
505
505
  * See the LICENSE file in the root directory of this source tree.
506
- */const lc=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],cc=y("scissors",lc);/**
506
+ */const cc=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],dc=y("scissors",cc);/**
507
507
  * @license lucide-react v1.38.0 - ISC
508
508
  *
509
509
  * This source code is licensed under the ISC license.
510
510
  * See the LICENSE file in the root directory of this source tree.
511
- */const dc=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],hc=y("search-x",dc);/**
511
+ */const hc=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],fc=y("search-x",hc);/**
512
512
  * @license lucide-react v1.38.0 - ISC
513
513
  *
514
514
  * This source code is licensed under the ISC license.
515
515
  * See the LICENSE file in the root directory of this source tree.
516
- */const fc=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],pc=y("send",fc);/**
516
+ */const pc=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Cc=y("send",pc);/**
517
517
  * @license lucide-react v1.38.0 - ISC
518
518
  *
519
519
  * This source code is licensed under the ISC license.
520
520
  * See the LICENSE file in the root directory of this source tree.
521
- */const Cc=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],yc=y("settings",Cc);/**
521
+ */const yc=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],mc=y("settings",yc);/**
522
522
  * @license lucide-react v1.38.0 - ISC
523
523
  *
524
524
  * This source code is licensed under the ISC license.
525
525
  * See the LICENSE file in the root directory of this source tree.
526
- */const mc=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],gc=y("shield-check",mc);/**
526
+ */const gc=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],_c=y("shield-check",gc);/**
527
527
  * @license lucide-react v1.38.0 - ISC
528
528
  *
529
529
  * This source code is licensed under the ISC license.
530
530
  * See the LICENSE file in the root directory of this source tree.
531
- */const _c=[["path",{d:"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18",key:"uebgi3"}],["path",{d:"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25",key:"1j7c9p"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],Ec=y("shopping-cart",_c);/**
531
+ */const Ec=[["path",{d:"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18",key:"uebgi3"}],["path",{d:"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25",key:"1j7c9p"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],bc=y("shopping-cart",Ec);/**
532
532
  * @license lucide-react v1.38.0 - ISC
533
533
  *
534
534
  * This source code is licensed under the ISC license.
535
535
  * See the LICENSE file in the root directory of this source tree.
536
- */const bc=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],Sc=y("shuffle",bc);/**
536
+ */const Sc=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],kc=y("shuffle",Sc);/**
537
537
  * @license lucide-react v1.38.0 - ISC
538
538
  *
539
539
  * This source code is licensed under the ISC license.
540
540
  * See the LICENSE file in the root directory of this source tree.
541
- */const kc=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],Ac=y("skip-back",kc);/**
541
+ */const Ac=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],wc=y("skip-back",Ac);/**
542
542
  * @license lucide-react v1.38.0 - ISC
543
543
  *
544
544
  * This source code is licensed under the ISC license.
545
545
  * See the LICENSE file in the root directory of this source tree.
546
- */const wc=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],Mc=y("skip-forward",wc);/**
546
+ */const Mc=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],Nc=y("skip-forward",Mc);/**
547
547
  * @license lucide-react v1.38.0 - ISC
548
548
  *
549
549
  * This source code is licensed under the ISC license.
550
550
  * See the LICENSE file in the root directory of this source tree.
551
- */const Nc=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Tc=y("square",Nc);/**
551
+ */const Tc=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],xc=y("square",Tc);/**
552
552
  * @license lucide-react v1.38.0 - ISC
553
553
  *
554
554
  * This source code is licensed under the ISC license.
555
555
  * See the LICENSE file in the root directory of this source tree.
556
- */const xc=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Bc=y("star",xc);/**
556
+ */const Bc=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Dc=y("star",Bc);/**
557
557
  * @license lucide-react v1.38.0 - ISC
558
558
  *
559
559
  * This source code is licensed under the ISC license.
560
560
  * See the LICENSE file in the root directory of this source tree.
561
- */const Dc=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],vc=y("store",Dc);/**
561
+ */const vc=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],Oc=y("store",vc);/**
562
562
  * @license lucide-react v1.38.0 - ISC
563
563
  *
564
564
  * This source code is licensed under the ISC license.
565
565
  * See the LICENSE file in the root directory of this source tree.
566
- */const Oc=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],Lc=y("sun-medium",Oc);/**
566
+ */const Lc=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],Rc=y("sun-medium",Lc);/**
567
567
  * @license lucide-react v1.38.0 - ISC
568
568
  *
569
569
  * This source code is licensed under the ISC license.
570
570
  * See the LICENSE file in the root directory of this source tree.
571
- */const Rc=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],Ic=y("table",Rc);/**
571
+ */const Ic=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],jc=y("table",Ic);/**
572
572
  * @license lucide-react v1.38.0 - ISC
573
573
  *
574
574
  * This source code is licensed under the ISC license.
575
575
  * See the LICENSE file in the root directory of this source tree.
576
- */const jc=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],Pc=y("table-2",jc);/**
576
+ */const Pc=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],$c=y("table-2",Pc);/**
577
577
  * @license lucide-react v1.38.0 - ISC
578
578
  *
579
579
  * This source code is licensed under the ISC license.
580
580
  * See the LICENSE file in the root directory of this source tree.
581
- */const $c=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Fc=y("terminal",$c);/**
581
+ */const Fc=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Hc=y("terminal",Fc);/**
582
582
  * @license lucide-react v1.38.0 - ISC
583
583
  *
584
584
  * This source code is licensed under the ISC license.
585
585
  * See the LICENSE file in the root directory of this source tree.
586
- */const Hc=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]],zc=y("text-cursor-input",Hc);/**
586
+ */const zc=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]],Vc=y("text-cursor-input",zc);/**
587
587
  * @license lucide-react v1.38.0 - ISC
588
588
  *
589
589
  * This source code is licensed under the ISC license.
590
590
  * See the LICENSE file in the root directory of this source tree.
591
- */const Vc=[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]],Uc=y("text-initial",Vc);/**
591
+ */const Uc=[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]],Gc=y("text-initial",Uc);/**
592
592
  * @license lucide-react v1.38.0 - ISC
593
593
  *
594
594
  * This source code is licensed under the ISC license.
595
595
  * See the LICENSE file in the root directory of this source tree.
596
- */const Gc=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],Yc=y("ticket",Gc);/**
596
+ */const Yc=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],qc=y("ticket",Yc);/**
597
597
  * @license lucide-react v1.38.0 - ISC
598
598
  *
599
599
  * This source code is licensed under the ISC license.
600
600
  * See the LICENSE file in the root directory of this source tree.
601
- */const qc=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Wc=y("trash-2",qc);/**
601
+ */const Wc=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Kc=y("trash-2",Wc);/**
602
602
  * @license lucide-react v1.38.0 - ISC
603
603
  *
604
604
  * This source code is licensed under the ISC license.
605
605
  * See the LICENSE file in the root directory of this source tree.
606
- */const Kc=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Xc=y("trending-up",Kc);/**
606
+ */const Xc=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Zc=y("trending-up",Xc);/**
607
607
  * @license lucide-react v1.38.0 - ISC
608
608
  *
609
609
  * This source code is licensed under the ISC license.
610
610
  * See the LICENSE file in the root directory of this source tree.
611
- */const Zc=[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]],Jc=y("trophy",Zc);/**
611
+ */const Jc=[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]],Qc=y("trophy",Jc);/**
612
612
  * @license lucide-react v1.38.0 - ISC
613
613
  *
614
614
  * This source code is licensed under the ISC license.
615
615
  * See the LICENSE file in the root directory of this source tree.
616
- */const Qc=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],e1=y("unlink",Qc);/**
616
+ */const e1=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],t1=y("unlink",e1);/**
617
617
  * @license lucide-react v1.38.0 - ISC
618
618
  *
619
619
  * This source code is licensed under the ISC license.
620
620
  * See the LICENSE file in the root directory of this source tree.
621
- */const t1=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],n1=y("upload",t1);/**
621
+ */const n1=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],o1=y("upload",n1);/**
622
622
  * @license lucide-react v1.38.0 - ISC
623
623
  *
624
624
  * This source code is licensed under the ISC license.
625
625
  * See the LICENSE file in the root directory of this source tree.
626
- */const o1=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],u1=y("user",o1);/**
626
+ */const u1=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],r1=y("user",u1);/**
627
627
  * @license lucide-react v1.38.0 - ISC
628
628
  *
629
629
  * This source code is licensed under the ISC license.
630
630
  * See the LICENSE file in the root directory of this source tree.
631
- */const r1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],a1=y("user-plus",r1);/**
631
+ */const a1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],i1=y("user-plus",a1);/**
632
632
  * @license lucide-react v1.38.0 - ISC
633
633
  *
634
634
  * This source code is licensed under the ISC license.
635
635
  * See the LICENSE file in the root directory of this source tree.
636
- */const i1=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],s1=y("user-round",i1);/**
636
+ */const s1=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],l1=y("user-round",s1);/**
637
637
  * @license lucide-react v1.38.0 - ISC
638
638
  *
639
639
  * This source code is licensed under the ISC license.
640
640
  * See the LICENSE file in the root directory of this source tree.
641
- */const l1=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],c1=y("user-round-check",l1);/**
641
+ */const c1=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],d1=y("user-round-check",c1);/**
642
642
  * @license lucide-react v1.38.0 - ISC
643
643
  *
644
644
  * This source code is licensed under the ISC license.
645
645
  * See the LICENSE file in the root directory of this source tree.
646
- */const d1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],h1=y("users",d1);/**
646
+ */const h1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],f1=y("users",h1);/**
647
647
  * @license lucide-react v1.38.0 - ISC
648
648
  *
649
649
  * This source code is licensed under the ISC license.
650
650
  * See the LICENSE file in the root directory of this source tree.
651
- */const f1=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],p1=y("users-round",f1);/**
651
+ */const p1=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],C1=y("users-round",p1);/**
652
652
  * @license lucide-react v1.38.0 - ISC
653
653
  *
654
654
  * This source code is licensed under the ISC license.
655
655
  * See the LICENSE file in the root directory of this source tree.
656
- */const C1=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],y1=y("volume-2",C1);/**
656
+ */const y1=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],m1=y("volume-2",y1);/**
657
657
  * @license lucide-react v1.38.0 - ISC
658
658
  *
659
659
  * This source code is licensed under the ISC license.
660
660
  * See the LICENSE file in the root directory of this source tree.
661
- */const m1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],g1=y("wrench",m1);/**
661
+ */const g1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],_1=y("wrench",g1);/**
662
662
  * @license lucide-react v1.38.0 - ISC
663
663
  *
664
664
  * This source code is licensed under the ISC license.
665
665
  * See the LICENSE file in the root directory of this source tree.
666
- */const _1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],E1=y("x",_1);/**
666
+ */const E1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],b1=y("x",E1);/**
667
667
  * @license lucide-react v1.38.0 - ISC
668
668
  *
669
669
  * This source code is licensed under the ISC license.
670
670
  * See the LICENSE file in the root directory of this source tree.
671
- */const b1=[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]],S1=y("zap",b1);/**
671
+ */const S1=[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]],k1=y("zap",S1);/**
672
672
  * @license lucide-react v1.38.0 - ISC
673
673
  *
674
674
  * This source code is licensed under the ISC license.
675
675
  * See the LICENSE file in the root directory of this source tree.
676
- */const k1=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],A1=y("anchor",k1);/**
676
+ */const A1=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],w1=y("anchor",A1);/**
677
677
  * @license lucide-react v1.38.0 - ISC
678
678
  *
679
679
  * This source code is licensed under the ISC license.
680
680
  * See the LICENSE file in the root directory of this source tree.
681
- */const w1=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],M1=y("arrow-up-a-z",w1);/**
681
+ */const M1=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],N1=y("arrow-up-a-z",M1);/**
682
682
  * @license lucide-react v1.38.0 - ISC
683
683
  *
684
684
  * This source code is licensed under the ISC license.
685
685
  * See the LICENSE file in the root directory of this source tree.
686
- */const N1=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],T1=y("chart-no-axes-column",N1);/**
686
+ */const T1=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],x1=y("chart-no-axes-column",T1);/**
687
687
  * @license lucide-react v1.38.0 - ISC
688
688
  *
689
689
  * This source code is licensed under the ISC license.
690
690
  * See the LICENSE file in the root directory of this source tree.
691
- */const x1=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],B1=y("calendar",x1);/**
691
+ */const B1=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],D1=y("calendar",B1);/**
692
692
  * @license lucide-react v1.38.0 - ISC
693
693
  *
694
694
  * This source code is licensed under the ISC license.
695
695
  * See the LICENSE file in the root directory of this source tree.
696
- */const D1=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],v1=y("car",D1);/**
696
+ */const v1=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],O1=y("car",v1);/**
697
697
  * @license lucide-react v1.38.0 - ISC
698
698
  *
699
699
  * This source code is licensed under the ISC license.
700
700
  * See the LICENSE file in the root directory of this source tree.
701
- */const O1=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],L1=y("coffee",O1);/**
701
+ */const L1=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],R1=y("coffee",L1);/**
702
702
  * @license lucide-react v1.38.0 - ISC
703
703
  *
704
704
  * This source code is licensed under the ISC license.
705
705
  * See the LICENSE file in the root directory of this source tree.
706
- */const R1=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],I1=y("gamepad-2",R1);/**
706
+ */const I1=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],j1=y("gamepad-2",I1);/**
707
707
  * @license lucide-react v1.38.0 - ISC
708
708
  *
709
709
  * This source code is licensed under the ISC license.
710
710
  * See the LICENSE file in the root directory of this source tree.
711
- */const j1=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],P1=y("inbox",j1);/**
711
+ */const P1=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],$1=y("inbox",P1);/**
712
712
  * @license lucide-react v1.38.0 - ISC
713
713
  *
714
714
  * This source code is licensed under the ISC license.
715
715
  * See the LICENSE file in the root directory of this source tree.
716
- */const $1=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],F1=y("list-tree",$1);/**
716
+ */const F1=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],H1=y("list-tree",F1);/**
717
717
  * @license lucide-react v1.38.0 - ISC
718
718
  *
719
719
  * This source code is licensed under the ISC license.
720
720
  * See the LICENSE file in the root directory of this source tree.
721
- */const H1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],z1=y("message-square-more",H1);/**
721
+ */const z1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],V1=y("message-square-more",z1);/**
722
722
  * @license lucide-react v1.38.0 - ISC
723
723
  *
724
724
  * This source code is licensed under the ISC license.
725
725
  * See the LICENSE file in the root directory of this source tree.
726
- */const V1=[["path",{d:"M5 12h14",key:"1ays0h"}]],U1=y("minus",V1);/**
726
+ */const U1=[["path",{d:"M5 12h14",key:"1ays0h"}]],G1=y("minus",U1);/**
727
727
  * @license lucide-react v1.38.0 - ISC
728
728
  *
729
729
  * This source code is licensed under the ISC license.
730
730
  * See the LICENSE file in the root directory of this source tree.
731
- */const G1=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Y1=y("share-2",G1);/**
731
+ */const Y1=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],q1=y("share-2",Y1);/**
732
732
  * @license lucide-react v1.38.0 - ISC
733
733
  *
734
734
  * This source code is licensed under the ISC license.
735
735
  * See the LICENSE file in the root directory of this source tree.
736
- */const q1=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],W1=y("sparkles",q1);/**
736
+ */const W1=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],K1=y("sparkles",W1);/**
737
737
  * @license lucide-react v1.38.0 - ISC
738
738
  *
739
739
  * This source code is licensed under the ISC license.
740
740
  * See the LICENSE file in the root directory of this source tree.
741
- */const K1=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],X1=y("type",K1);/**
741
+ */const X1=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],Z1=y("type",X1);/**
742
742
  * @license lucide-react v1.38.0 - ISC
743
743
  *
744
744
  * This source code is licensed under the ISC license.
745
745
  * See the LICENSE file in the root directory of this source tree.
746
- */const Z1=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],J1=y("volume",Z1);/**
746
+ */const J1=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],Q1=y("volume",J1);/**
747
747
  * @license lucide-react v1.38.0 - ISC
748
748
  *
749
749
  * This source code is licensed under the ISC license.
750
750
  * See the LICENSE file in the root directory of this source tree.
751
- */const Q1=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],e0=y("chevron-down",Q1);/**
751
+ */const e0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],t0=y("chevron-down",e0);/**
752
752
  * @license lucide-react v1.38.0 - ISC
753
753
  *
754
754
  * This source code is licensed under the ISC license.
755
755
  * See the LICENSE file in the root directory of this source tree.
756
- */const t0=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],n0=y("chevron-up",t0);/**
756
+ */const n0=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],o0=y("chevron-up",n0);/**
757
757
  * @license lucide-react v1.38.0 - ISC
758
758
  *
759
759
  * This source code is licensed under the ISC license.
760
760
  * See the LICENSE file in the root directory of this source tree.
761
- */const o0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],u0=y("circle",o0);/**
761
+ */const u0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],r0=y("circle",u0);/**
762
762
  * @license lucide-react v1.38.0 - ISC
763
763
  *
764
764
  * This source code is licensed under the ISC license.
765
765
  * See the LICENSE file in the root directory of this source tree.
766
- */const r0=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],a0=y("triangle",r0);/**
766
+ */const a0=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],i0=y("triangle",a0);/**
767
767
  * @license lucide-react v1.38.0 - ISC
768
768
  *
769
769
  * This source code is licensed under the ISC license.
770
770
  * See the LICENSE file in the root directory of this source tree.
771
- */const i0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],s0=y("menu",i0);/**
771
+ */const s0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],l0=y("menu",s0);/**
772
772
  * @license lucide-react v1.38.0 - ISC
773
773
  *
774
774
  * This source code is licensed under the ISC license.
775
775
  * See the LICENSE file in the root directory of this source tree.
776
- */const l0=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],c0=y("moon",l0);/**
776
+ */const c0=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],d0=y("moon",c0);/**
777
777
  * @license lucide-react v1.38.0 - ISC
778
778
  *
779
779
  * This source code is licensed under the ISC license.
780
780
  * See the LICENSE file in the root directory of this source tree.
781
- */const d0=[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]],h0=y("thumbs-up",d0),fu={"alert-triangle":cu,"align-start-vertical":Ua,anchor:A1,"arrow-down":Ya,"arrow-left":Wa,"arrow-right":Xa,"arrow-right-left":Ja,"arrow-up-a-z":M1,"audio-lines":ei,baby:ni,ban:ui,"bar-chart-2":T1,bell:ai,"book-marked":si,"book-open":ci,"bow-arrow":hi,braces:pi,bug:yi,calendar:B1,"calendar-check":gi,"calendar-days":Ei,camera:Si,car:v1,"chart-column":Ai,"chart-line":Mi,"chart-pie":Ti,check:Bi,"chevron-down":e0,"chevron-left":vi,"chevron-right":Li,"chevron-up":n0,circle:u0,"clipboard-list":Ii,coffee:L1,combine:Pi,copy:Fi,"credit-card":zi,database:Ui,diff:Yi,download:Wi,ear:Xi,edit:Ji,"edit-2":es,"edit-3":ns,ellipsis:du,eraser:rs,"external-link":is,eye:ls,"file-text":ds,"flip-horizontal":fs,"folder-open":Cs,"folder-plus":ms,gamepad:_s,"gamepad-2":I1,gavel:bs,"git-merge":ks,globe:ws,headphones:Ns,heart:xs,home:Ds,inbox:P1,info:Os,"key-round":Rs,landmark:js,layers:$s,"layout-dashboard":Hs,leaf:Vs,lightbulb:Gs,link:qs,"link-2":Ks,"link-2-off":Zs,list:Qs,"list-checks":tl,"list-ordered":ol,"list-tree":F1,loader:rl,"log-out":il,mail:ll,"map-pin":dl,menu:s0,"message-circle":fl,"message-circle-question-mark":Cl,"message-square":ml,"message-square-more":z1,"message-square-text":_l,minus:U1,"minus-circle":bl,moon:c0,"more-horizontal":du,package:kl,palette:wl,"party-popper":Nl,pause:xl,pencil:Dl,phone:Ol,play:Rl,"play-circle":jl,plus:$l,printer:Hl,"refresh-cw":Vl,repeat:Gl,replace:ql,rocket:Kl,"rotate-ccw":Zl,"rotate-cw":Ql,salad:tc,"scan-search":oc,search:sc,"circle-alert":hu,"alert-circle":hu,"check-circle":ac,scissors:cc,"search-x":hc,send:pc,settings:yc,"share-2":Y1,"shield-check":gc,"shopping-cart":Ec,shuffle:Sc,"skip-back":Ac,"skip-forward":Mc,sparkles:W1,square:Tc,star:Bc,store:vc,"sun-medium":Lc,table:Ic,"table-2":Pc,terminal:Fc,"text-cursor-input":zc,"text-initial":Uc,"thumbs-up":h0,ticket:Yc,triangle:a0,"trash-2":Wc,"trending-up":Xc,"triangle-alert":cu,trophy:Jc,type:X1,unlink:e1,upload:n1,user:u1,"user-plus":a1,"user-round":s1,"user-round-check":c1,users:h1,"users-round":p1,volume:J1,"volume-2":y1,wrench:g1,x:E1,zap:S1};function f0(e){return fu[e]??null}const pu=new Set,p0=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function C0(e){return p0&&!(e in fu)&&!pu.has(e)&&(pu.add(e),console.warn(`[ihabdevteam-core] lucide \uC544\uC774\uCF58 '${e}' \uC774 \uC815\uC801 \uBAA9\uB85D\uC5D0 \uC5C6\uC5B4 \uB80C\uB354\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. utils/lucideIconSet.ts \uC758 STATIC_LUCIDE_ICONS \uC5D0 \uCD94\uAC00\uD558\uC138\uC694.`)),Promise.resolve(null)}const y0=e=>e.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Za-z])([0-9])/g,"$1-$2").replace(/[_ ]+/g,"-").toLowerCase();function m0(e){const t=e.toLowerCase();if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")||e.includes("/assets/"))return null;const n=(e.split("/").pop()||"").replace(/\.svg$/,"");return n?y0(n):null}const Cu=new Map;function g0(e){const t=typeof e=="string"?m0(e):null,n=t?f0(t)??Cu.get(t)??null:null,[o,u]=l.useState(null);return l.useEffect(()=>{if(!t||n)return;let r=!1;return C0(t).then(i=>{Cu.set(t,i),r||u(i)}),()=>{r=!0}},[t,n]),n??o}/*! @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 yu(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 _0(e){if(Array.isArray(e))return e}function E0(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,u,r,i,s=[],c=!0,C=!1;try{if(r=(n=n.call(e)).next,t!==0)for(;!(c=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(f){C=!0,u=f}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(C)throw u}}return s}}function b0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
782
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S0(e,t){return _0(e)||E0(e,t)||k0(e,t)||b0()}function k0(e,t){if(e){if(typeof e=="string")return yu(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)?yu(e,t):void 0}}const mu=Object.entries,gu=Object.setPrototypeOf,A0=Object.isFrozen,w0=Object.getPrototypeOf,M0=Object.getOwnPropertyDescriptor;let pe=Object.freeze,ge=Object.seal,vt=Object.create,_u=typeof Reflect<"u"&&Reflect,Wn=_u.apply,Kn=_u.construct;pe||(pe=function(t){return t}),ge||(ge=function(t){return t}),Wn||(Wn=function(t,n){for(var o=arguments.length,u=new Array(o>2?o-2:0),r=2;r<o;r++)u[r-2]=arguments[r];return t.apply(n,u)}),Kn||(Kn=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),u=1;u<n;u++)o[u-1]=arguments[u];return new t(...o)});const bt=de(Array.prototype.forEach),N0=de(Array.prototype.lastIndexOf),Eu=de(Array.prototype.pop),qt=de(Array.prototype.push),T0=de(Array.prototype.splice),Ot=Array.isArray,Wt=de(String.prototype.toLowerCase),Xn=de(String.prototype.toString),bu=de(String.prototype.match),Kt=de(String.prototype.replace),Su=de(String.prototype.indexOf),x0=de(String.prototype.trim),B0=de(Number.prototype.toString),D0=de(Boolean.prototype.toString),ku=typeof BigInt>"u"?null:de(BigInt.prototype.toString),Au=typeof Symbol>"u"?null:de(Symbol.prototype.toString),Be=de(Object.prototype.hasOwnProperty),Xt=de(Object.prototype.toString),Ae=de(RegExp.prototype.test),St=v0(TypeError);function de(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),u=1;u<n;u++)o[u-1]=arguments[u];return Wn(e,t,o)}}function v0(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Kn(e,n)}}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wt;if(gu&&gu(e,null),!Ot(t))return e;let o=t.length;for(;o--;){let u=t[o];if(typeof u=="string"){const r=n(u);r!==u&&(A0(t)||(t[o]=r),u=r)}e[u]=!0}return e}function O0(e){for(let t=0;t<e.length;t++)Be(e,t)||(e[t]=null);return e}function Le(e){const t=vt(null);for(const o of mu(e)){var n=S0(o,2);const u=n[0],r=n[1];Be(e,u)&&(Ot(r)?t[u]=O0(r):r&&typeof r=="object"&&r.constructor===Object?t[u]=Le(r):t[u]=r)}return t}function L0(e){switch(typeof e){case"string":return e;case"number":return B0(e);case"boolean":return D0(e);case"bigint":return ku?ku(e):"0";case"symbol":return Au?Au(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=M0(e,t);if(o){if(o.get)return de(o.get);if(typeof o.value=="function")return de(o.value)}e=w0(e)}function n(){return null}return n}function R0(e){try{return Ae(e,""),!0}catch{return!1}}const wu=pe(["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"]),Zn=pe(["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"]),Jn=pe(["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"]),I0=pe(["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"]),Qn=pe(["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"]),j0=pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mu=pe(["#text"]),Nu=pe(["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"]),eo=pe(["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"]),Tu=pe(["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"]),Sn=pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P0=ge(/{{[\w\W]*|^[\w\W]*}}/g),$0=ge(/<%[\w\W]*|^[\w\W]*%>/g),F0=ge(/\${[\w\W]*/g),H0=ge(/^data-[\-\w.\u00B7-\uFFFF]+$/),z0=ge(/^aria-[\-\w]+$/),xu=ge(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V0=ge(/^(?:\w+script|data):/i),U0=ge(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G0=ge(/^html$/i),Y0=ge(/^[a-z][.\w]*(-[.\w]+)+$/i),Bu=ge(/<[/\w!]/g),Du=ge(/<[/\w]/g),q0=ge(/<\/no(script|embed|frames)/i),W0=ge(/\/>/i),Re={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},vu=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],K0=pe(Z({},vu)),X0=(function(){const e={};return bt(vu,t=>{e[t]=ge(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),pe(e)})(),Z0=function(){return typeof window>"u"?null:window},J0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const u="data-tt-policy-suffix";n&&n.hasAttribute(u)&&(o=n.getAttribute(u));const r="dompurify"+(o?"#"+o:"");try{return t.createPolicy(r,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Ou=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ft=function(t,n,o,u){return Be(t,n)&&Ot(t[n])?Z(u.base?Le(u.base):{},t[n],u.transform):o},to=function(t,n,o){const u=Be(t,n)?t[n]:void 0;return u&&typeof u=="object"?Le(u):o()};function Lu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Z0();const t=N=>Lu(N);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Re.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,u=o.currentScript;e.DocumentFragment;const r=e.HTMLTemplateElement,i=e.Node,s=e.Element,c=e.NodeFilter,C=e.NamedNodeMap;C===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const f=e.DOMParser,p=e.trustedTypes,d=s.prototype,m=Ve(d,"cloneNode"),S=Ve(d,"remove"),w=Ve(d,"nextSibling"),_=Ve(d,"childNodes"),g=Ve(d,"parentNode"),b=Ve(d,"shadowRoot"),k=Ve(d,"attributes"),D=i&&i.prototype?Ve(i.prototype,"nodeType"):null,R=i&&i.prototype?Ve(i.prototype,"nodeName"):null,v=i&&i.prototype?Ve(i.prototype,"ownerDocument"):null,j=function(a){return D?D(a):a.nodeType},H=function(a){return R?R(a):a.nodeName};if(typeof r=="function"){const N=n.createElement("template");N.content&&N.content.ownerDocument&&(n=N.content.ownerDocument)}let G,F="",J,Y=!1,W=0;const z=function(){if(W>0)throw St('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},B=function(a){z(),W++;try{return G.createHTML(a)}finally{W--}},O=function(a){z(),W++;try{return G.createScriptURL(a)}finally{W--}},Ce=function(){return Y||(J=J0(p,u),Y=!0),J},X=n,Q=X.implementation,M=X.createNodeIterator,P=X.createDocumentFragment,ne=X.getElementsByTagName,oe=o.importNode;let q=Ou();t.isSupported=typeof mu=="function"&&typeof g=="function"&&Q&&Q.createHTMLDocument!==void 0;const be=P0,T=$0,he=F0,fe=H0,Ie=z0,lt=V0,Ue=U0,Qe=Y0;let $e=xu,ee=null;const et=Z({},[...wu,...Zn,...Jn,...Qn,...Mu]);let ue=null;const A=Z({},[...Nu,...eo,...Tu,...Sn]);let L=Object.seal(vt(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}})),$=null,K=null;const te=Object.seal(vt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ne=!0,we=!0,Ge=!1,Fe=!0,ye=!1,je=!0,De=!1,ct=!1,Ye=null,tt=null,nt=!1,ot=!1,kt=!1,Ct=!1,Rt=!0,me=!1;const At="user-content-";let wt=!0,ut=!1,dt={},qe=null;const re=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 We=null;const It=Z({},["audio","video","img","source","image","track"]);let Mt=null;const po=Z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rn="http://www.w3.org/1998/Math/MathML",an="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml";let Nt=Ke,Bn=!1,Dn=null;const tr=Z({},[rn,an,Ke],Xn),Co=pe(["mi","mo","mn","ms","mtext"]);let vn=Z({},Co);const yo=pe(["annotation-xml"]);let On=Z({},yo);const nr=Z({},["title","style","font","a","script"]);let jt=null;const or=["application/xhtml+xml","text/html"],ur="text/html";let ce=null,Tt=null;const rr=n.createElement("form"),mo=function(a){return a instanceof RegExp||a instanceof Function},Ln=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tt&&Tt===a)return;(!a||typeof a!="object")&&(a={}),a=Le(a),jt=or.indexOf(a.PARSER_MEDIA_TYPE)===-1?ur:a.PARSER_MEDIA_TYPE,ce=jt==="application/xhtml+xml"?Xn:Wt,ee=ft(a,"ALLOWED_TAGS",et,{transform:ce}),ue=ft(a,"ALLOWED_ATTR",A,{transform:ce}),Dn=ft(a,"ALLOWED_NAMESPACES",tr,{transform:Xn}),Mt=ft(a,"ADD_URI_SAFE_ATTR",po,{transform:ce,base:po}),We=ft(a,"ADD_DATA_URI_TAGS",It,{transform:ce,base:It}),qe=ft(a,"FORBID_CONTENTS",re,{transform:ce}),$=ft(a,"FORBID_TAGS",Le({}),{transform:ce}),K=ft(a,"FORBID_ATTR",Le({}),{transform:ce}),dt=Be(a,"USE_PROFILES")?a.USE_PROFILES&&typeof a.USE_PROFILES=="object"?Le(a.USE_PROFILES):a.USE_PROFILES:!1,Ne=a.ALLOW_ARIA_ATTR!==!1,we=a.ALLOW_DATA_ATTR!==!1,Ge=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Fe=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ye=a.SAFE_FOR_TEMPLATES||!1,je=a.SAFE_FOR_XML!==!1,De=a.WHOLE_DOCUMENT||!1,ot=a.RETURN_DOM||!1,kt=a.RETURN_DOM_FRAGMENT||!1,Ct=a.RETURN_TRUSTED_TYPE||!1,nt=a.FORCE_BODY||!1,Rt=a.SANITIZE_DOM!==!1,me=a.SANITIZE_NAMED_PROPS||!1,wt=a.KEEP_CONTENT!==!1,ut=a.IN_PLACE||!1,$e=R0(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:xu,Nt=typeof a.NAMESPACE=="string"?a.NAMESPACE:Ke,vn=to(a,"MATHML_TEXT_INTEGRATION_POINTS",()=>Z({},Co)),On=to(a,"HTML_INTEGRATION_POINTS",()=>Z({},yo));const h=to(a,"CUSTOM_ELEMENT_HANDLING",()=>vt(null));if(L=vt(null),Be(h,"tagNameCheck")&&mo(h.tagNameCheck)&&(L.tagNameCheck=h.tagNameCheck),Be(h,"attributeNameCheck")&&mo(h.attributeNameCheck)&&(L.attributeNameCheck=h.attributeNameCheck),Be(h,"allowCustomizedBuiltInElements")&&typeof h.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=h.allowCustomizedBuiltInElements),ge(L),ye&&(we=!1),kt&&(ot=!0),dt&&(ee=Z({},Mu),ue=vt(null),dt.html===!0&&(Z(ee,wu),Z(ue,Nu)),dt.svg===!0&&(Z(ee,Zn),Z(ue,eo),Z(ue,Sn)),dt.svgFilters===!0&&(Z(ee,Jn),Z(ue,eo),Z(ue,Sn)),dt.mathMl===!0&&(Z(ee,Qn),Z(ue,Tu),Z(ue,Sn))),te.tagCheck=null,te.attributeCheck=null,Be(a,"ADD_TAGS")&&(typeof a.ADD_TAGS=="function"?te.tagCheck=a.ADD_TAGS:Ot(a.ADD_TAGS)&&(ee===et&&(ee=Le(ee)),Z(ee,a.ADD_TAGS,ce))),Be(a,"ADD_ATTR")&&(typeof a.ADD_ATTR=="function"?te.attributeCheck=a.ADD_ATTR:Ot(a.ADD_ATTR)&&(ue===A&&(ue=Le(ue)),Z(ue,a.ADD_ATTR,ce))),Be(a,"ADD_FORBID_CONTENTS")&&Ot(a.ADD_FORBID_CONTENTS)&&(qe===re&&(qe=Le(qe)),Z(qe,a.ADD_FORBID_CONTENTS,ce)),wt&&(ee["#text"]=!0),De&&Z(ee,["html","head","body"]),ee.table&&(Z(ee,["tbody"]),delete $.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw St('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw St('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const E=G;G=a.TRUSTED_TYPES_POLICY;try{F=B("")}catch(x){throw G=E,x}}else a.TRUSTED_TYPES_POLICY===null?(G=void 0,F=""):(G===void 0&&(G=Ce()),G&&typeof F=="string"&&(F=B("")));pe&&pe(a),Tt=a},go=Z({},[...Zn,...Jn,...I0]),_o=Z({},[...Qn,...j0]),ar=function(a,h,E){return h.namespaceURI===Ke?a==="svg":h.namespaceURI===rn?a==="svg"&&(E==="annotation-xml"||vn[E]):!!go[a]},ir=function(a,h,E){return h.namespaceURI===Ke?a==="math":h.namespaceURI===an?a==="math"&&On[E]:!!_o[a]},sr=function(a,h,E){return h.namespaceURI===an&&!On[E]||h.namespaceURI===rn&&!vn[E]?!1:!_o[a]&&(nr[a]||!go[a])},lr=function(a){let h=g(a);(!h||!h.tagName)&&(h={namespaceURI:Nt,tagName:"template"});const E=Wt(a.tagName),x=Wt(h.tagName);return Dn[a.namespaceURI]?a.namespaceURI===an?ar(E,h,x):a.namespaceURI===rn?ir(E,h,x):a.namespaceURI===Ke?sr(E,h,x):!!(jt==="application/xhtml+xml"&&Dn[a.namespaceURI]):!1},ht=function(a){qt(t.removed,{element:a});try{g(a).removeChild(a)}catch{if(S(a),!g(a))throw St("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Eo=function(a,h,E){try{a.removeAttributeNode(h)}catch{try{a.removeAttribute(E)}catch{}}},sn=function(a){ln(a);const h=_(a);if(h){const x=[];bt(h,I=>{qt(x,I)}),bt(x,I=>{try{S(I)}catch{}})}const E=k(a);if(E)for(let x=E.length-1;x>=0;--x){const I=E[x],U=I&&I.name;typeof U=="string"&&Eo(a,I,U)}},yt=function(a,h,E){if(!E)try{E=h.getAttributeNode(a)}catch{E=null}qt(t.removed,{attribute:E||null,from:h});try{E?h.removeAttributeNode(E):h.removeAttribute(a)}catch{try{h.removeAttribute(a)}catch{}}if(a==="is")if(ot||kt)try{ht(h)}catch{}else try{h.setAttribute(a,"")}catch{}},cr=function(a){const h=k(a);if(h)for(let E=h.length-1;E>=0;--E){const x=h[E],I=x&&x.name;typeof I!="string"||ue[ce(I)]||Eo(a,x,I)}},ln=function(a){const h=[a];for(;h.length>0;){const E=h.pop();j(E)===Re.element&&cr(E);const I=_(E);if(I)for(let U=I.length-1;U>=0;--U)h.push(I[U])}},bo=function(a,h){return je?a==="patchsrc"?!0:a==="for"&&h!=="label"&&h!=="output":!1},dr=function(a){if(!je)return;const h=[a];for(;h.length>0;){const E=h.pop(),x=j(E);if(x===Re.processingInstruction||x===Re.comment&&Ae(Du,E.data)){try{S(E)}catch{}continue}if(x===Re.element){const U=E,ie=ce(H(E));try{U.hasAttribute&&U.hasAttribute("patchsrc")&&U.removeAttribute("patchsrc"),U.hasAttribute&&U.hasAttribute("for")&&bo("for",ie)&&U.removeAttribute("for")}catch{}}const I=_(E);if(I)for(let U=I.length-1;U>=0;--U)h.push(I[U])}},So=function(a){let h=null,E=null;if(nt)a="<remove></remove>"+a;else{const U=bu(a,/^[\r\n\t ]+/);E=U&&U[0]}jt==="application/xhtml+xml"&&Nt===Ke&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const x=G?B(a):a;if(Nt===Ke)try{h=new f().parseFromString(x,jt)}catch{}if(!h||!h.documentElement){h=Q.createDocument(Nt,"template",null);try{h.documentElement.innerHTML=Bn?F:x}catch{}}const I=h.body||h.documentElement;return a&&E&&I.insertBefore(n.createTextNode(E),I.childNodes[0]||null),Nt===Ke?ne.call(h,De?"html":"body")[0]:De?h.documentElement:I},ko=function(a){const h=v?v(a):a.ownerDocument;return M.call(h||a,a,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},cn=function(a){return a=Kt(a,be," "),a=Kt(a,T," "),a=Kt(a,he," "),a},Rn=function(a){var h;a.normalize();const E=v?v(a):a.ownerDocument,x=M.call(E||a,a,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let I=x.nextNode();for(;I;)I.data=cn(I.data),I=x.nextNode();const U=(h=a.querySelectorAll)===null||h===void 0?void 0:h.call(a,"template");U&&bt(U,ie=>{xt(ie.content)&&Rn(ie.content)})},dn=function(a){const h=R?R(a):null;return typeof h!="string"||ce(h)!=="form"?!1:typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||a.attributes!==k(a)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function"||a.nodeType!==D(a)||a.childNodes!==_(a)},xt=function(a){if(!D||typeof a!="object"||a===null)return!1;try{return D(a)===Re.documentFragment}catch{return!1}},Pt=function(a){if(!D||typeof a!="object"||a===null)return!1;try{return typeof D(a)=="number"}catch{return!1}};function Xe(N,a,h){N.length!==0&&bt(N,E=>{E.call(t,a,h,Tt)})}const hr=function(a,h){return!!(je&&a.hasChildNodes()&&!Pt(a.firstElementChild)&&Ae(Bu,a.textContent)&&Ae(Bu,a.innerHTML)||je&&a.namespaceURI===Ke&&K0[h]&&(Pt(a.firstElementChild)||typeof a.textContent=="string"&&Ae(X0[h],a.textContent))||a.nodeType===Re.processingInstruction||je&&a.nodeType===Re.comment&&Ae(Du,a.data))},hn=function(a,h){if(a instanceof RegExp)return Ae(a,h);if(a instanceof Function){for(var E=arguments.length,x=new Array(E>2?E-2:0),I=2;I<E;I++)x[I-2]=arguments[I];return!!a(h,...x)}return!1},fr=function(a,h,E){if(!$[h]&&To(h)&&hn(L.tagNameCheck,h))return!1;if(wt&&!qe[h]){const x=g(a),I=_(a);if(I&&x){const U=I.length;for(let ie=U-1;ie>=0;--ie){const le=a===E?m(I[ie],!0):I[ie];x.insertBefore(le,w(a))}}}return ht(a),!0},Ao=function(a,h,E,x){return a.length===0?h:h===E||h===x?Le(h):h},wo=function(a,h){return a===h||g(a)!==null?!1:(ut&&ln(a),!0)},Mo=function(a,h){if(Xe(q.beforeSanitizeElements,a,null),wo(a,h))return!0;if(dn(a))return ht(a),!0;const E=ce(H(a));if(ee=Ao(q.uponSanitizeElement,ee,et,Ye),Xe(q.uponSanitizeElement,a,{tagName:E,allowedTags:ee}),wo(a,h))return!0;if(hr(a,E))return ht(a),!0;if($[E]||!(te.tagCheck instanceof Function&&te.tagCheck(E))&&!ee[E]){const I=fr(a,E,h);return I===!1&&Xe(q.afterSanitizeElements,a,null),I}if(j(a)===Re.element&&!lr(a)||(E==="noscript"||E==="noembed"||E==="noframes")&&Ae(q0,a.innerHTML))return ht(a),!0;if(ye&&a.nodeType===Re.text){const I=cn(a.textContent);a.textContent!==I&&(qt(t.removed,{element:a.cloneNode()}),a.textContent=I)}return Xe(q.afterSanitizeElements,a,null),!1},No=function(a,h,E){if(K[h]||bo(h,a)||Rt&&(h==="id"||h==="name")&&(E in n||E in rr))return!1;const x=ue[h]||te.attributeCheck instanceof Function&&te.attributeCheck(h,a);return we&&Ae(fe,h)||Ne&&Ae(Ie,h)?!0:x?Mt[h]||Ae($e,Kt(E,Ue,""))||(h==="src"||h==="xlink:href"||h==="href")&&a!=="script"&&Su(E,"data:")===0&&We[a]||Ge&&!Ae(lt,Kt(E,Ue,""))?!0:!E:To(a)&&hn(L.tagNameCheck,a)&&hn(L.attributeNameCheck,h,a)||h==="is"&&L.allowCustomizedBuiltInElements&&hn(L.tagNameCheck,E)},pr=Z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),To=function(a){return!pr[Wt(a)]&&Ae(Qe,a)},Cr=function(a,h,E,x){if(G&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!E)switch(p.getAttributeType(a,h)){case"TrustedHTML":return B(x);case"TrustedScriptURL":return O(x)}return x},yr=function(a,h,E,x){try{E?a.setAttributeNS(E,h,x):a.setAttribute(h,x),dn(a)?ht(a):Eu(t.removed)}catch{yt(h,a)}},xo=function(a){Xe(q.beforeSanitizeAttributes,a,null);const h=a.attributes;if(!h||dn(a))return;ue=Ao(q.uponSanitizeAttribute,ue,A,tt);const E={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ue,forceKeepAttr:void 0};let x=h.length;const I=ce(a.nodeName);for(;x--;){const U=h[x],ie=U.name,le=U.namespaceURI,Te=U.value,xe=ce(ie),jn=Te;let Me=ie==="value"?jn:x0(jn);if(E.attrName=xe,E.attrValue=Me,E.keepAttr=!0,E.forceKeepAttr=void 0,Xe(q.uponSanitizeAttribute,a,E),Me=E.attrValue,me&&(xe==="id"||xe==="name")&&Su(Me,At)!==0&&(yt(ie,a,U),Me=At+Me),je&&Ae(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Me)){yt(ie,a,U);continue}if(xe==="attributename"&&bu(Me,"href")){yt(ie,a,U);continue}if(!E.forceKeepAttr){if(!E.keepAttr){yt(ie,a,U);continue}if(!Fe&&Ae(W0,Me)){yt(ie,a,U);continue}if(ye&&(Me=cn(Me)),!No(I,xe,Me)){yt(ie,a,U);continue}Me=Cr(I,xe,le,Me),Me!==jn&&yr(a,ie,le,Me)}}Xe(q.afterSanitizeAttributes,a,null)},fn=function(a){let h=null;const E=ko(a);for(Xe(q.beforeSanitizeShadowDOM,a,null);h=E.nextNode();)if(Xe(q.uponSanitizeShadowNode,h,null),Mo(h,a),xo(h),xt(h.content)&&fn(h.content),j(h)===Re.element){const x=b(h);xt(x)&&(In(x),fn(x))}Xe(q.afterSanitizeShadowDOM,a,null)},In=function(a){const h=[{node:a,shadow:null}];for(;h.length>0;){const E=h.pop();if(E.shadow){fn(E.shadow);continue}const x=E.node,U=j(x)===Re.element,ie=_(x);if(ie)for(let le=ie.length-1;le>=0;--le)h.push({node:ie[le],shadow:null});if(U){const le=R?R(x):null;if(typeof le=="string"&&ce(le)==="template"){const Te=x.content;xt(Te)&&h.push({node:Te,shadow:null})}}if(U){const le=b(x);xt(le)&&h.push({node:null,shadow:le},{node:le,shadow:null})}}};return t.sanitize=function(N){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=null,E=null,x=null,I=null;if(Bn=!N,Bn&&(N="<!-->"),typeof N!="string"&&!Pt(N)&&(N=L0(N),typeof N!="string"))throw St("dirty is not a string, aborting");if(!t.isSupported)return N;ct?(ee=Ye,ue=tt):Ln(a),(q.uponSanitizeElement.length>0||q.uponSanitizeAttribute.length>0)&&(ee=Le(ee)),q.uponSanitizeAttribute.length>0&&(ue=Le(ue)),t.removed=[];const U=ut&&typeof N!="string"&&Pt(N);if(U){dr(N);const Te=H(N);if(typeof Te=="string"){const xe=ce(Te);if(!ee[xe]||$[xe])throw sn(N),St("root node is forbidden and cannot be sanitized in-place")}if(dn(N))throw sn(N),St("root node is clobbered and cannot be sanitized in-place");try{In(N)}catch(xe){throw sn(N),xe}}else if(Pt(N))h=So("<!---->"),E=h.ownerDocument.importNode(N,!0),E.nodeType===Re.element&&E.nodeName==="BODY"||E.nodeName==="HTML"?h=E:h.appendChild(E),In(E);else{if(!ot&&!ye&&!De&&N.indexOf("<")===-1)return G&&Ct?B(N):N;if(h=So(N),!h)return ot?null:Ct?F:""}h&&nt&&ht(h.firstChild);const ie=U?N:h;try{const Te=ko(ie);for(;x=Te.nextNode();)Mo(x,ie),xo(x),xt(x.content)&&fn(x.content)}catch(Te){throw U&&(sn(N),bt(t.removed,xe=>{xe.element&&ln(xe.element)})),Te}if(U)return bt(t.removed,Te=>{Te.element&&ln(Te.element)}),ye&&Rn(N),N;if(ot){if(ye&&Rn(h),kt)for(I=P.call(h.ownerDocument);h.firstChild;)I.appendChild(h.firstChild);else I=h;return(ue.shadowroot||ue.shadowrootmode)&&(I=oe.call(o,I,!0)),I}let le=De?h.outerHTML:h.innerHTML;return De&&ee["!doctype"]&&h.ownerDocument&&h.ownerDocument.doctype&&h.ownerDocument.doctype.name&&Ae(G0,h.ownerDocument.doctype.name)&&(le="<!DOCTYPE "+h.ownerDocument.doctype.name+`>
783
- `+le),ye&&(le=cn(le)),G&&Ct?B(le):le},t.setConfig=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ln(N),ct=!0,Ye=ee,tt=ue},t.clearConfig=function(){Tt=null,ct=!1,Ye=null,tt=null,G=J,F=""},t.isValidAttribute=function(N,a,h){Tt||Ln({});const E=ce(N),x=ce(a);return No(E,x,h)},t.addHook=function(N,a){typeof a=="function"&&Be(q,N)&&qt(q[N],a)},t.removeHook=function(N,a){if(Be(q,N)){if(a!==void 0){const h=N0(q[N],a);return h===-1?void 0:T0(q[N],h,1)[0]}return Eu(q[N])}},t.removeHooks=function(N){Be(q,N)&&(q[N]=[])},t.removeAllHooks=function(){q=Ou()},t}var Q0=Lu();const ed=/^(?:[a-z]+:)?\/\//i;let td="";function nd(){return td}function no(e){const t=String(e||"").trim();if(!t)return"";if(ed.test(t)||t.startsWith("data:")||t.startsWith("blob:"))return t;const n=t.startsWith("/")?t:`/${t}`,o=nd();return o?`${o}${n}`:n}function od(){return kn(new Date)}function kn(e){if(e==null||e==="")return"";const t=e instanceof Date?e:new Date(e);return isNaN(t.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t)}const Zt=[],Jt=[],Qt=[],en=[],An={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},wn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},ud={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let oo=null,Ru=null,pt=null;function rd({counts:e,forceRefresh:t}={}){const n=Object.assign({},ud,e||{}),o=od(),u=kn(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),r=JSON.stringify(n);if(!t&&Ru===o&&oo===r&&pt)return Object.assign(An,pt.today),Object.assign(wn,pt.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:An,yesterday:wn};const i={LISTEN_IN_NOISE:at(Zt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:at(Jt,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:at(Qt,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:at(en,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let s=null;return pt&&oo===r&&pt.yesterday&&pt.yesterday.date===u&&(s=pt.yesterday.selection),s||(s={LISTEN_IN_NOISE:at(Zt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:at(Jt,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:at(Qt,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:at(en,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(An,i),Object.assign(wn,s),Ru=o,oo=r,pt={today:i,yesterday:{date:u,countsKey:r,selection:s}},{today:An,yesterday:wn}}let Iu=!1,tn=null;async function ad(){try{const e={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Pn&&Pn.tagName.toUpperCase()==="SCRIPT"&&Pn.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 id(){if(!Iu)return tn||(tn=(async()=>{const e=await ad();if(!e){tn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{for(const t of Object.keys(e||{})){const n=e[t]||[];for(const o of n){const u=o,r=String(u.training_type||t),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:r,category_0:i,category_1:s});r==="LISTEN_IN_NOISE"?Zt.push(c):r==="SHORT_STORY"?Jt.push(c):r==="LONG_STORY"?Qt.push(c):r==="ORDERING_SENTENCE"&&en.push(c)}}}catch{tn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{rd()}catch{}Iu=!0})(),tn)}async function sd(e=3e3){const t=id();return Promise.race([t,new Promise(n=>setTimeout(n,e))])}const ld=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uB2E4\uC218\uC758 \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC5EC\uB7EC\uAC1C\uC758 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uADF8 \uC21C\uC11C\uC5D0 \uB9DE\uAC8C \uBC30\uC5F4\uD569\uB2C8\uB2E4."}],cd={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function dd(e){return ld.map(t=>{const n=cd[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}function hd(e){return typeof window>"u"?"":Q0.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function fd(e){const[t,n]=l.useState(null),[o,u]=l.useState(null),[r,i]=l.useState(null),[s,c]=l.useState(null);return l.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){n(null),u(null),i(null);return}const C=e.split("/").pop();let f=e;C&&(e.startsWith("/")?f=no(e):/^(Logo|Symbol)/i.test(C)?f=no(`logo/${C}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),f=e)),n(f)},[e]),l.useEffect(()=>{if(!t)return;let C=!1;async function f(){try{let p=await fetch(t);p.ok||(p=await fetch(t));const d=p.headers.get("content-type")||"";if(C)return;if(d.includes("svg")){u("mask");return}if(d.startsWith("image/")){u("img");return}const m=await fetch(t);if(!m.ok)throw new Error("not ok");const S=await m.text();if(C)return;if(/^\s*<svg[\s>]/i.test(S)){const w=hd(S);if(!w){u("none");return}i(w),u("inline");return}u("none")}catch{C||u("none")}}return f(),()=>{C=!0}},[t]),l.useEffect(()=>{let C=!1,f=null;return o==="mask"&&t&&fetch(t).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{C||(f=URL.createObjectURL(p),c(f))}).catch(()=>{C||u("img")}),()=>{C=!0,f&&URL.revokeObjectURL(f),c(null)}},[o,t]),{iconToUse:t,mode:o,svgText:r,blobUrl:s}}function pd(e){const{icon:t,label:n,className:o,imgClassName:u,maskClassName:r,svgClassName:i,wrapperStyle:s,size:c}=e||{},C=o??"iconRenderer-icon",f=u??"iconRenderer-icon-image",p=r??"iconRenderer-icon-mask",d=i??"iconRenderer-icon-svg",m=typeof t=="string"?t:null,S=g0(m),{iconToUse:w,mode:_,svgText:g,blobUrl:b}=fd(m),k=(j,H={})=>V.jsx("span",{className:C,style:s,...H,children:j}),D=(j,H={})=>V.jsx("img",{src:j,alt:typeof n=="string"?n:n?String(n):"",className:f,...H});if(!t)return null;if(typeof t!="string")return k(t);if(t==="none")return k(V.jsx("span",{className:d,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(S)try{return k(l.createElement(S,{className:d,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(w&&w.endsWith(".svg")){if(_==="mask"){const j={"--icon-url":b?`url(${b})`:`url(${w})`};return k(V.jsx("span",{className:p,style:j}),{"aria-hidden":"true"})}return _==="img"?k(D(w,{onError:j=>{j.currentTarget.onerror=null,j.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?k(V.jsx("span",{className:d,dangerouslySetInnerHTML:g?{__html:g}:void 0}),{"aria-hidden":"true"}):k(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return D(no(t),{style:s,onError:j=>{j.currentTarget.onerror=null,j.currentTarget.style.display="none"}});const R=typeof c=="number"?c:20,v=`<svg width="${R}" height="${R}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return k(V.jsx("span",{className:d,dangerouslySetInnerHTML:{__html:v}}),{"aria-hidden":"true"})}function ju(e){const{anchorRect:t,anchorEl:n,offset:o=20,edgeMargin:u=20,onClose:r,closeOnOutsideClick:i=!0,className:s="",role:c="dialog",ariaLabel:C="",children:f,backdrop:p=!1,isMobilePopup:d=!1,useBorder:m=!0,header:S}=e||{},w=l.useRef(null),[_,g]=l.useState({position:"fixed",left:0,top:-9999}),[b,k]=l.useState(!1),[D,R]=l.useState("bottom"),[v,j]=l.useState(!1),[H,G]=l.useState(!1),F=!t&&!n,J=l.useCallback((B=!1)=>{if(H&&d)return;const O=n?n.getBoundingClientRect():t;if(!O||!w.current)return;const Ce=w.current,{offsetWidth:X,offsetHeight:Q}=Ce,M=window.innerWidth,P=window.innerHeight,ne=M-O.right,oe=O.left,q=O.top,be=P-O.bottom;let T=0,he=0,fe="top";if(q>=Q+o)fe="top",he=O.top-o-Q,T=O.left+O.width/2-X/2;else if(be>=Q+o)fe="bottom",he=O.bottom+o,T=O.left+O.width/2-X/2;else if(ne>=X+o)fe="right",T=O.right+o,he=O.top+O.height/2-Q/2;else if(oe>=X+o)fe="left",T=O.left-o-X,he=O.top+O.height/2-Q/2;else{const Qe=Math.max(q,be,ne,oe);Qe===q?(fe="top",he=O.top-o-Q,T=O.left+O.width/2-X/2):Qe===be?(fe="bottom",he=O.bottom+o,T=O.left+O.width/2-X/2):Qe===ne?(fe="right",T=O.right+o,he=O.top+O.height/2-Q/2):(fe="left",T=O.left-o-X,he=O.top+O.height/2-Q/2)}const Ie=Number(u)||8;T=Math.min(Math.max(T,Ie),M-X-Ie),he=Math.min(Math.max(he,Ie),P-Q-Ie);const lt=Math.round(T),Ue=Math.round(he);B&&w.current?(w.current.style.left=`${lt}px`,w.current.style.top=`${Ue}px`,w.current.dataset.placement=fe):(R(fe||D),g({position:"fixed",left:lt,top:Ue}),j(!0))},[H,d,n,t,o,u,D]);l.useLayoutEffect(()=>{if(F)return;if(H&&d){g({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),j(!0);return}J();const B=requestAnimationFrame(()=>J());return()=>cancelAnimationFrame(B)},[t,n,o,f,u,F,H,d,J]),l.useEffect(()=>{if(F||H&&d||!w.current||typeof ResizeObserver>"u")return;const B=new ResizeObserver(()=>{t&&J()});return B.observe(w.current),()=>B.disconnect()},[t,f,u,F,H,d,J]),l.useEffect(()=>{if(F||H&&d)return;const B=()=>J(!0);return window.addEventListener("resize",B),document.addEventListener("scroll",B,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",B),document.removeEventListener("scroll",B,{capture:!0})}},[t,o,f,u,F,H,d,J]),l.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const B=window.matchMedia("(max-width: 768px)"),O=()=>G(!!B.matches);O();try{B.addEventListener?B.addEventListener("change",O):B.addListener(O)}catch{try{B.addListener(O)}catch{}}return()=>{try{B.removeEventListener?B.removeEventListener("change",O):B.removeListener(O)}catch{}}},[]);const Y=l.useRef(!1),W=l.useCallback((B=!1)=>{if(!(b||Y.current)){if(Y.current=!0,B){k(!0);try{r&&r()}catch{}return}k(!0),setTimeout(()=>{r&&r()},200)}},[b,r,k]);l.useEffect(()=>{const B=X=>{const Q=w.current;if(!Q)return;const M=X.target;if(M&&!Q.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},O=X=>{const Q=w.current;if(!Q)return;const M=X.target;if(M&&!Q.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},Ce=X=>{if(X.key==="Escape"){X.stopPropagation(),W();return}if(X.key==="Tab"){const Q=w.current;if(!Q)return;const M=Q.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!M||M.length===0)return;const P=M[0],ne=M[M.length-1],oe=document.activeElement;X.shiftKey?oe===P&&(X.preventDefault(),ne.focus()):oe===ne&&(X.preventDefault(),P.focus())}};return document.addEventListener("pointerdown",B,!0),document.addEventListener("click",O,!0),document.addEventListener("keydown",Ce),()=>{document.removeEventListener("pointerdown",B,!0),document.removeEventListener("click",O,!0),document.removeEventListener("keydown",Ce)}},[r,i,W]),l.useEffect(()=>{const B=()=>{W(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",B),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",B)}},[W]);const z=V.jsxs("div",{ref:w,className:`tooltip-content ${m?"tooltip-content--bordered":""} ${b?"is-closing":""} ${s} ${H&&d?"is-mobile":""}`,role:c,"aria-label":C||void 0,style:F?{}:{..._,visibility:v?"visible":"hidden"},tabIndex:-1,"data-placement":D,"data-left":F?"":_.left,"data-top":F?"":_.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[S!=null&&V.jsx("div",{className:"tooltip-content__header h5",children:S}),f]});if(F||typeof document>"u")return z;if(p||H&&d){const B=V.jsxs("div",{className:"tooltip-portal",children:[V.jsx("div",{className:"tooltip-backdrop",onClick:()=>{i&&W(!0)}}),z]});return Bo.createPortal(B,document.body)}return Bo.createPortal(z,document.body)}function Cd(e){const{anchorRect:t,text:n,offset:o=8,onClose:u,className:r="",ariaLabel:i}=e||{};return n?V.jsx(ju,{anchorRect:t,offset:o,onClose:u,closeOnOutsideClick:!1,className:`tooltip-info ${r}`,ariaLabel:i||n,children:V.jsx("div",{className:"tooltip-info__content body-3",children:n})}):null}function Pu(e){const{anchorRect:t,title:n,items:o,activeIndex:u=-1,showIndex:r=!0,onClose:i,offset:s=12}=e||{},c=Array.isArray(o)?o:o?[o]:[];return!c.length&&!n?null:V.jsx(ju,{anchorRect:t,offset:s,onClose:i,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:V.jsxs("div",{className:"tooltip-description__box",children:[n&&V.jsx("span",{className:"tooltip-description__title body-2",children:n}),V.jsx("ol",{className:"tooltip-description__items",children:c.map((C,f)=>V.jsxs("li",{className:`tooltip-description__item body-3${f===u?" tooltip-description__item--active":""}`,children:[r&&c.length>1&&V.jsxs("span",{className:"tooltip-description__index button-1",children:[f+1,"."]}),V.jsx("span",{children:C})]},f))})]})})}function yd(e){const{size:t=48,type:n,htmlType:o,href:u,target:r,rel:i,icon:s,rightIcon:c,label:C,count:f,subLabel:p,children:d,ariaLabel:m,variant:S="default",align:w="center",selected:_,toggleable:g=!1,disabled:b=!1,useLabel:k=!0,useBorder:D=!0,useBG:R=!0,useDisabledCovered:v=!1,useDisabledInvisible:j=!1,width:H,minWidth:G,onClick:F,onDisabledClick:J,showTooltipInfo:Y=!1,tooltipInfoText:W=null,tooltipDescription:z=null,iconSize:B="medium",iconColor:O,shape:Ce="rounded",color:X,className:Q,...M}=e,P=typeof t=="string"&&isNaN(Number(t))?t.toLowerCase():String(Number(t)||48),ne=P.match(/^\d+$/)?`button${P}`:`button-${P}`,oe=Number(t),q=!isNaN(oe)&&oe<40?"button-2":"button-1",be=C??d,T=b||!!M.disabled,he=T?v?"disabled-covered":j?"disabled-invisibled":"disabled":S,fe=he?`button--variant-${he}`:"",Ie=w?`button--align-${w}`:"",lt=Ce?`button--shape-${Ce}`:"",Ue=typeof O=="string"&&O.startsWith("--")?`var(${O})`:O,Qe={...H?{width:typeof H=="number"?`${H}px`:H}:{},...G?{minWidth:typeof G=="number"?`${G}px`:G}:{},...D?{}:{"--button-border":T?"0":"1px solid transparent"},...Ue?{"--button-icon-color":Ue}:{},...X?{"--color-main":X}:{}},$e=k===!1?"":be,ee=Array.isArray($e)?$e.length>0:!!$e,et=!!c,ue=n??(ee||s||et?"bar":"dot"),A=`${ne}--${ue}`,L=l.useRef(null),$=l.useRef(T),[K,te]=l.useState(!!_),[Ne,we]=l.useState(!1),[Ge,Fe]=l.useState(null),ye=l.useCallback(()=>we(!1),[]);l.useEffect(()=>{(Y||z)&&T&&Ne&&(we(!1),Fe(null))},[T,Y,z,Ne]),l.useEffect(()=>{typeof _=="boolean"&&te(_)},[_]),l.useEffect(()=>{if($.current&&!T&&L.current){const re=L.current;re.blur(),re.style.pointerEvents="none";const We=requestAnimationFrame(()=>{requestAnimationFrame(()=>{L.current&&(L.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(We)}$.current=T},[T]);const je=typeof _=="boolean"?!!_:K,De=g||typeof _=="boolean"?je?"true":"false":void 0,ct=Ra("button",ne,A,fe,Ie,lt,je?"is-selected":null,R?null:"button--no-bg",Q),Ye=`button__icon button__icon--${B}`,tt=Array.isArray(p)?p:p!==void 0?[p]:[],nt=()=>{if(Array.isArray($e))return $e.map((We,It)=>{const Mt=tt[It];return V.jsxs("span",{className:`button__label-text${Mt!==void 0?" button__label-text--has-sub":""}`,children:[We,Mt!==void 0&&V.jsx("span",{className:"button__sub-label-text caption-1",children:Mt})]},It)});const re=p!==void 0;return V.jsxs("span",{className:`button__label-text${re?" button__label-text--has-sub":""}`,children:[$e,f!=null&&V.jsx("span",{className:"button__count",children:f}),re&&V.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},ot=re=>{T||(typeof M.onMouseLeave=="function"&&M.onMouseLeave(re),typeof _!="boolean"&&te(!1),re.currentTarget.blur())},kt=re=>{if(T){J?.(re);return}typeof _!="boolean"&&g&&te(We=>!We),F?.(re)},Ct=l.useCallback(()=>{!T&&(Y||z)&&(we(!0),Fe(L.current?.getBoundingClientRect()??null))},[T,Y,z]),Rt=l.useCallback(()=>{(Y||z)&&(we(!1),Fe(null))},[Y,z]),me={...M};delete me.disabled,delete me.className,delete me.faded,delete me.useFaded,delete me.loading,delete me.onMouseLeave,delete me.onPointerEnter,delete me.onPointerLeave,delete me.onFocus,delete me.onBlur,T&&(Object.keys(me).forEach(re=>{/^on[A-Z]/.test(re)&&typeof me[re]=="function"&&delete me[re]}),me["aria-disabled"]="true");const At=(typeof Y=="string"?Y:null)??(typeof W=="string"?W:null)??(typeof m=="string"?m:null)??(typeof be=="string"?be:null)??void 0,wt=typeof m=="string"?m:typeof be=="string"?be:At,ut=(re,We)=>V.jsx(pd,{icon:re,label:We??wt,className:Ye,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),dt=()=>ue==="dot"?V.jsxs(V.Fragment,{children:[ut(s),ee&&V.jsx("span",{className:`button__label ${q}`,children:nt()})]}):w==="center"&&s?V.jsxs(V.Fragment,{children:[V.jsxs("span",{className:"button__center-group",children:[V.jsx("span",{className:"button__left",children:ut(s)}),ee&&V.jsx("span",{className:`button__label ${q}`,children:nt()})]}),et&&V.jsx("span",{className:"button__right",children:ut(c)})]}):V.jsxs(V.Fragment,{children:[s&&V.jsx("span",{className:"button__left",children:ut(s,m??be)}),ee&&V.jsx("span",{className:`button__label ${q}`,children:nt()}),et&&V.jsx("span",{className:"button__right",children:ut(c)})]}),qe=!!u&&!T;return V.jsxs(V.Fragment,{children:[V.jsx(qe?"a":"button",{...me,ref:L,...qe?{href:u,target:r,rel:i??(r==="_blank"?"noreferrer":void 0)}:{type:o,disabled:T&&!J},className:ct,"aria-pressed":De,"aria-label":wt,"aria-disabled":qe&&T?!0:void 0,style:Qe,onClick:kt,onMouseLeave:ot,onPointerEnter:re=>{Ct(),!T&&typeof M.onPointerEnter=="function"&&M.onPointerEnter(re)},onPointerLeave:re=>{Rt(),!T&&typeof M.onPointerLeave=="function"&&M.onPointerLeave(re)},onFocus:re=>{Ct(),!T&&typeof M.onFocus=="function"&&M.onFocus(re)},onBlur:re=>{ot(re),Rt(),!T&&typeof M.onBlur=="function"&&M.onBlur(re)},children:dt()}),Ne&&z?V.jsx(Pu,{anchorRect:Ge,title:z.title,items:z.items,onClose:ye}):Ne&&At?V.jsx(Cd,{anchorRect:Ge,text:At,onClose:ye}):null]})}function $u(){const[e,t]=l.useState(null),n=l.useCallback(r=>t(r.getBoundingClientRect()),[]),o=l.useCallback(()=>t(null),[]),u=l.useCallback(r=>{const i=r.getBoundingClientRect();t(s=>s?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:u}}function md(e){const[t,n]=l.useState(null),[o,u]=l.useState(null),r=l.useRef(null);l.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[]);const i=l.useCallback((c,C)=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{n(c),u(C)},e)},[e]),s=l.useCallback(()=>{r.current&&clearTimeout(r.current),n(null),u(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:i,close:s}}function gd({title:e,items:t}){const{t:n}=mt.useTranslation(),{anchorRect:o,openAt:u,close:r}=$u();return V.jsxs(V.Fragment,{children:[V.jsx(yd,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:n("common.info","\uC124\uBA85"),onPointerEnter:i=>u(i.currentTarget),onPointerLeave:r,onFocus:i=>u(i.currentTarget),onBlur:r}),o&&V.jsx(Pu,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:r})]})}function Fu(){const{t:e}=mt.useTranslation();return l.useMemo(()=>({difficulty:e("wordSearch.filter.difficulty","\uB4F1\uAE09"),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 Hu(e,t,n){return{label:t.difficulty,items:[1,2,3,4].map(o=>e("wordSearch.filter.grade",{n:o})),multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction}}function zu(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function Vu(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function _d(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 Ed(e,t){const n=[e("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \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}}function bd(e,t){const{label:n,headValue:o,midValue:u,tailValue:r,includeMid:i=!0,headDisabled:s,midDisabled:c,tailDisabled:C,allOptionDisabled:f,groupLabel:p,labelAction:d}=t;return{label:n,...p?{groupLabel:p}:{},...d?{labelAction:d}:{},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:s},...i?[{value:u,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:c}]:[],{value:r,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:C}]}}function Sd(e,t,n){if(t===Et){const{[n]:r,...i}=e;return i}const o=e[n]??[],u=o.includes(t)?o.filter(r=>r!==t):[...o,t];if(u.length===0){const{[n]:r,...i}=e;return i}return{...e,[n]:u}}Object.fromEntries(Object.entries(Zr).map(([e,{nucleus:t}])=>[e,t]));const kd={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},Ad={"\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"]},wd={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:Ad,typeMap:kd};function Md(e,t,n=wd){const o=t[n.difficulty];if(o?.length&&!o.some(s=>e.grade===s.replace(/\D/g,"")))return!1;const u=t[n.syllables];if(u?.length){const s=e.syllables??0;if(!u.some(c=>c===n.syllable5plus?s>=5:s===parseInt(c)))return!1}const r=t[n.partOfSpeech];if(r?.length&&!r.flatMap(s=>n.posMap[s]??[s]).some(s=>(e.pos??"").includes(s)))return!1;const i=t[n.wordType];return!(i?.length&&!i.some(s=>e.wordType===n.typeMap[s]))}const it=(e,t)=>t.map(n=>({jamos:[n],tooltip:e})),Ee=(e,t)=>({jamos:[...e],tooltip:t}),uo={cho:[it("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),it("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),it("\uCE58\uC870\uC74C",["\u3145","\u3146"]),it("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),it("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),it("\uC131\uBB38\uC74C",["\u314E"])],jung:[[Ee("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),Ee("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),Ee("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[Ee("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[Ee("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),Ee("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ee("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),Ee("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ee("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[Ee("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),Ee("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),Ee("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[Ee("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),Ee("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ee("\u314F","\uC800\uBAA8\uC74C"),Ee("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ee("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[it("\uC591\uC21C\uC74C",["\u3142","\u3141"]),it("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),it("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},Nd=[...Se],Td=[...rt],xd=Pe.filter(e=>e!==""),st=e=>e===Ze?[]:Array.from(e),Ze="__NO_CODA__",Uu=[1,2,3,4],Je=5,Bd=12,Gu="SYL_",ro=e=>`${Gu}${e}`,Dd=e=>Number(e.slice(Gu.length));function ao(e){return e>=Je?Array.from({length:Bd-Je+1},(t,n)=>Je+n):[e]}const Yu={cho:Nd,jung:Td,jong:xd},io=e=>e.map(t=>t.map(({jamos:n,tooltip:o})=>({v:n.join(""),tooltip:o}))),so={cho:io(uo.cho),jung:io(uo.jung),jong:io(uo.jong)},qu={};so.jung.flat().forEach(({v:e})=>{for(const t of st(e))qu[t]=e});const vd=new Set(so.cho.flat().map(e=>e.v));function Wu(e,t){return e==="cho"?vd.has(t)?t:null:e==="jung"?qu[t]??t:qo(t)}function Ku(e,t,n){if(e==="jung"){const o=st(t);return n&&o.includes(n)?n:o[0]??t}return t}function Xu(e,t,n){const o=(u,r)=>r?u==="jong"&&r===Ze?Ze:t==="pron"?Wu(u,r):Ku(u,r,u==="jung"?n:null):null;return{...e,cho:o("cho",e.cho),jung:o("jung",e.jung),jong:o("jong",e.jong)}}const lo={cho:null,jung:null,jong:null,syllable:null},Od="wt_filter",Zu=e=>`wt_filter_${e}`;function Ld(e){try{const t=localStorage.getItem(Zu(e))??localStorage.getItem(Od);if(t)return JSON.parse(t)}catch{}return null}function Rd(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?{...lo,cho:t.choseong}:lo}function Id(e,t,n){const{t:o,i18n:u}=mt.useTranslation(),[r]=l.useState(()=>n?.resetOnMount?null:Ld(e)),i=r?.contrastCount,s=typeof i=="number"&&Number.isFinite(i)?i:1,[c,C]=l.useState(Math.min(5,Math.max(1,s))),[f,p]=l.useState(r?.phonemeView==="pron"?"pron":r?.phonemeView==="direct"?"direct":"char"),[d,m]=l.useState(()=>Rd(r)),S=l.useCallback(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:Ze,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?Ze:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);l.useEffect(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||m(A=>A.cho||A.jung||A.syllable!=null||A.jong?A:S())},[]);const w=l.useMemo(()=>_e(d.cho)||_e(d.jung)||_e(d.jong)?"count":"random",[d.cho,d.jung,d.jong]),_=l.useRef(f==="char"?d.jung:null);l.useEffect(()=>{f==="char"&&(_.current=d.jung)},[f,d.jung]);const[g,b]=l.useState(n?.resetOnMount?!!n?.defaultImageOnly:r?.excludeNoImage??!0),[k,D]=l.useState(n?.resetOnMount?!1:r?.sameStructureOnly??!0),[R,v]=l.useState(Array.isArray(r?.gradeFilter)?r.gradeFilter:[]),[j,H]=l.useState(Array.isArray(r?.posFilter)?r.posFilter:[]),[G,F]=l.useState(Array.isArray(r?.wordTypeFilter)?r.wordTypeFilter:[]),J=l.useRef(n?.resetKey);l.useEffect(()=>{J.current!==n?.resetKey&&(J.current=n?.resetKey,m(S()),b(!1),D(!1),v([]),H([]),F([]),C(1))},[n?.resetKey]);const Y=Fu(),[W,z]=l.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[B,O]=l.useState(!1),[Ce,X]=l.useState(null),Q=1,M=Math.max(1,[d.cho,d.jung,d.jong].filter(Boolean).length);l.useEffect(()=>{c<M&&C(M)},[M,c]),l.useEffect(()=>{if(!n?.resetOnMount)try{localStorage.setItem(Zu(e),JSON.stringify({contrastCount:c,composition:d,excludeNoImage:g,sameStructureOnly:k,phonemeView:f,gradeFilter:R,posFilter:j,wordTypeFilter:G}))}catch{}},[n?.resetOnMount,e,c,d,g,k,f,R,j,G]);const[P,ne]=l.useState(0);Oo("wordpool:update",()=>ne(A=>A+1));const oe=l.useRef(u.language);l.useEffect(()=>{oe.current!==u.language&&(oe.current=u.language,ne(A=>A+1))},[u.language]),l.useEffect(()=>{if(!t.choseong)return;let A=!1;return La({difficulty:w,excludeNoImage:g}).then(L=>{A||(z(L),L.cho.size+L.jung.size+L.jong.size>0&&O(!0))}).catch(()=>{A||z({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{A=!0}},[t.choseong,w,g,P]),l.useEffect(()=>{let A=!1;const L=d,$=L.cho?st(L.cho):null,K=L.jung?st(L.jung):null,te=L.jong===Ze,Ne=te?null:L.jong?st(L.jong):null,we=L.syllable!=null?ao(L.syllable):null,Ge=!!($||K||Ne||te||we);return Oa({difficulty:t.difficulty?w:null,contrastCount:t.difficulty?c:1,composition:t.choseong&&Ge?{cho:$,jung:K,jong:Ne,jongNone:te,syllable:we}:null,excludeNoImage:g,sameStructureOnly:k,phonemeView:f==="pron"?"pron":"char",grade:R.length>0?R:null}).then(Fe=>{A||X(Fe)}).catch(()=>{A||X(null)}),()=>{A=!0}},[t.choseong,t.difficulty,w,c,d,f,g,k,P,R]),l.useEffect(()=>{B&&m(A=>{const L={...A};let $=!1;return["cho","jung","jong"].forEach(K=>{const te=A[K];!te||te===Ze||st(te).some(Ne=>W[K].has(Ne))||(L[K]=null,$=!0)}),A.syllable!=null&&t.fixedSyllable==null&&(A.syllable>=Je?[...W.syllable].some(K=>K>=Je)||(L.syllable=null,$=!0):(!W.syllable.has(A.syllable)||A.syllable<Q)&&(L.syllable=null,$=!0)),$?L:A})},[W,B,Q,t.fixedSyllable]);const q=l.useMemo(()=>{const A=L=>{const $=new Set;for(const K of Yu[L])W[L].has(K)&&$.add(K);return $};return{cho:A("cho"),jung:A("jung"),jong:A("jong")}},[W]),be=l.useMemo(()=>({exact:new Set(Uu.filter(A=>W.syllable.has(A))),min:[...W.syllable].some(A=>A>=Je)}),[W]),T=l.useMemo(()=>({diffPhonemeCount:o("training.contrast.diffPhonemeCount",{defaultValue:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218"}),composition:o("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:o("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:o("wordPairs.onset","\uCD08\uC131"),vowel:o("wordPairs.vowel","\uBAA8\uC74C"),coda:o("wordPairs.coda","\uC885\uC131"),phonemeGroup:o("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:o("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:o("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:o("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:o("training.filter.random","\uBB34\uC791\uC704"),exclude:o("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:o("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:o("common.none","\uC5C6\uC74C"),noImage:o("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:o("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:o("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:o("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:o("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:o("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}),[o]),he=l.useMemo(()=>({[T.trainOnset]:"cho",[T.trainVowel]:"jung",[T.trainCoda]:"jong"}),[T]),fe=l.useCallback((A,L)=>l.createElement(gd,{title:L,items:A}),[]),Ie=l.useMemo(()=>[o("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."}),o("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."})],[o]),lt=l.useMemo(()=>{const A=[];if(t.choseong){const L={value:Ze,displayLabel:T.codaExclude},$=t.fixedNoCoda===!0,K=(te,Ne)=>{const we=$&&te==="jong",Ge={label:Ne,groupLabel:T.phonemeGroup,allOption:!t.requireSyllable,allLabel:T.noLimit,allOptionDisabled:we};if(f==="pron"){const ye=so[te].map(je=>je.map(({v:De,tooltip:ct})=>{const Ye=st(De),tt=we||!Ye.some(nt=>W[te].has(nt));return Ye.length>1?{value:De,labels:Ye,tooltip:ct,disabled:tt}:{value:De,tooltip:ct,disabled:tt}}));return te==="jong"&&!t.requireCoda&&ye.unshift([L]),{...Ge,groups:ye}}const Fe=Yu[te].map(ye=>!we&&q[te].has(ye)?ye:{value:ye,disabled:!0});return{...Ge,items:te==="jong"&&!t.requireCoda?[L,...Fe]:Fe}};A.push(K("cho",T.trainOnset)),A.push(K("jung",T.trainVowel)),A.push(K("jong",T.trainCoda))}if(A.push({...Hu(o,Y,{labelAction:fe([o("wordPairs.filter.difficultyInfo",{defaultValue:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4."})])}),label:T.gradeLabel}),t.partOfSpeech&&A.push(zu(Y)),t.wordType&&A.push(Vu(Y)),t.choseong||t.fixedSyllable!=null){const L=t.fixedSyllable;A.push({label:T.syllableCount,items:[...Uu.map($=>({value:ro($),displayLabel:o("wordPairs.syllableN",{n:$,defaultValue:"{{n}}\uC74C\uC808"}),disabled:L!=null?$!==L:!be.exact.has($)||$<Q})),{value:ro(Je),displayLabel:o("wordPairs.syllableNPlus",{n:Je,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:L!=null?Je!==L:!be.min}],allOption:!0,allOptionDisabled:L!=null})}return t.choseong?A.push({label:T.exclude,displayLabel:T.selectLabel,multiple:!0,items:[T.excludeImage,T.sameStructure],labelAction:fe(Ie)}):A.push({label:T.exclude,displayLabel:T.selectLabel,multiple:!0,items:[T.excludeImage],labelAction:fe([Ie[0]])}),A},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,Q,q,W,f,be,T,o,fe,Ie,Y]),Ue={...t.difficulty?{[T.diffPhonemeCount]:String(c)}:{},...(t.choseong||t.fixedSyllable!=null)&&d.syllable!=null?{[T.syllableCount]:ro(d.syllable)}:{},...t.choseong&&d.cho?{[T.trainOnset]:d.cho}:{},...t.choseong&&d.jung?{[T.trainVowel]:d.jung}:{},...t.choseong&&d.jong?{[T.trainCoda]:d.jong}:{},[T.exclude]:[...g?[T.excludeImage]:[],...k?[T.sameStructure]:[]],[T.gradeLabel]:R.map(A=>o("wordSearch.filter.grade",{n:Number(A),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[Y.partOfSpeech]:j}:{},...t.wordType?{[Y.wordType]:G}:{}},Qe=l.useCallback((A,L)=>{if(L===T.diffPhonemeCount){const $=Number(A);$>=1&&C($)}else if(L===T.exclude)A===T.excludeImage?b($=>!$):A===T.sameStructure&&D($=>!$);else if(L===T.syllableCount)m($=>{if(!A||A===Et)return{...$,syllable:null};const K=Dd(A);return{...$,syllable:$.syllable===K?null:K}});else if(L===T.gradeLabel){if(!A||A===Et){v([]);return}const $=A.replace(/\D/g,"");v(K=>K.includes($)?K.filter(te=>te!==$):[...K,$])}else if(L===Y.partOfSpeech){if(!A||A===Et){H([]);return}H($=>$.includes(A)?$.filter(K=>K!==A):[...$,A])}else if(L===Y.wordType){if(!A||A===Et){F([]);return}F($=>$.includes(A)?$.filter(K=>K!==A):[...$,A])}else{const $=he[L];if(!$)return;m(K=>t.requireSyllable?A&&A!==Et?{...K,[$]:A}:K:!A||A===Et||K[$]===A?{...K,[$]:null}:{...K,[$]:A})}},[T,he,Y,t.requireSyllable]),$e=l.useCallback(A=>!t.partOfSpeech&&!t.wordType?!0:Md(A,{...t.partOfSpeech?{[Y.partOfSpeech]:j}:{},...t.wordType?{[Y.wordType]:G}:{}},Y),[t.partOfSpeech,t.wordType,j,G,Y]),ee=l.useCallback(A=>{A!==f&&(A!=="direct"&&f!=="direct"&&m(L=>Xu(L,A,_.current)),p(A))},[f]),et=l.useCallback(()=>({composition:d,contrastCount:c,excludeNoImage:g,sameStructureOnly:k,phonemeView:f,gradeFilter:R}),[d,c,g,k,f,R]),ue=l.useCallback(A=>{m(A.composition),C(A.contrastCount),b(A.excludeNoImage),D(A.sameStructureOnly??!0),p(A.phonemeView),v(Array.isArray(A.gradeFilter)?A.gradeFilter:[])},[]);return{difficulty:w,contrastCount:c,composition:d,choseong:d.cho,excludeNoImage:g,sameStructureOnly:k,gradeFilter:R,posFilter:j,wordTypeFilter:G,matchesWordAttributes:$e,poolVersion:P,filterSections:lt,filterSelected:Ue,handleFilterSelect:Qe,phonemeView:f,setPhonemeView:ee,phonemeGroupLabel:T.phonemeGroup,wordCount:Ce,getFilterSnapshot:et,restoreFilterSnapshot:ue}}function jd(e){const t=s=>s?st(s):null,n=t(e.cho),o=t(e.jung),u=e.jong===Ze,r=u?null:t(e.jong),i=e.syllable!=null?ao(e.syllable):null;return!n&&!o&&!r&&!u&&!i?null:{cho:n,jung:o,jong:r,jongNone:u,syllable:i}}function Pd(e,t,n,o,u,r,i=!0,s="char",c=[]){const[C,f]=l.useState({}),[p,d]=l.useState(!1),{cho:m=null,jung:S=null,jong:w=null,syllable:_=null}=o??{},g=c.length>0?c.slice().sort().join(","):"";return l.useEffect(()=>{r>0&&va(u).catch(()=>{})},[r,u]),l.useEffect(()=>{let b=!1;return d(!0),(async()=>{const k=jd({cho:m,jung:S,jong:w,syllable:_}),D=`${m??""}_${S??""}_${w??""}_${_??""}_${g}`,R={};await Promise.all(e.map(async v=>{const j=Fn[v.key];try{const H=await iu(v.key,{difficulty:j.difficulty?t:null,contrastCount:j.difficulty?n:1,composition:j.choseong?k:null,count:5,excludeNoImage:u,sameStructureOnly:i,phonemeView:s,grade:c.length>0?c:null});H&&H.length>0?R[v.key]={id:`wt-${v.key}-${t}-${D}-${Date.now()}`,name:v.label,training_type:v.key,category_main_code:"WORD",iconColor:v.color,subTitle:v.subTitle,items:H,itemCount:H.length}:R[v.key]={id:`wt-${v.key}-empty`,name:v.label,training_type:v.key,category_main_code:"WORD",iconColor:v.color,subTitle:v.subTitle,items:[],itemCount:0,__empty:!0}}catch{R[v.key]=null}})),b||(f(R),d(!1))})(),()=>{b=!0}},[t,n,m,S,w,_,u,i,s,r,g]),{perTypeData:C,generating:p}}function $d(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 Fd(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 Mn=at;function co(e,t){const n=t?Fd($d(t)):Math.random;return{LISTEN_IN_NOISE:Mn(Zt,Math.max(0,e.LISTEN_IN_NOISE||0),n),SHORT_STORY:Mn(Jt,Math.max(0,e.SHORT_STORY||0),n),LONG_STORY:Mn(Qt,Math.max(0,e.LONG_STORY||0),n),ORDERING_SENTENCE:Mn(en,Math.max(0,e.ORDERING_SENTENCE||0),n)}}function Ju(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const Hd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function Qu(e=!1,t=Hd,n){const o=kn(Date.now()),u=kn(Date.now()-864e5),r=`${n??""}|${o}`,i=`${n??""}|${u}`;return Zt.length>0||Jt.length>0||Qt.length>0||en.length>0?{today:co(t,r),yesterday:co(t,i)}:{today:co(t,r),yesterday:null}}function zd(e){const t=l.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=l.useRef(null),[o,u]=l.useState(!1),[r,i]=l.useState(!1),[s,c]=l.useState(0);l.useEffect(()=>{let f=!1,p,d=0;const m=40,S=()=>{p!==void 0&&(clearInterval(p),p=void 0)};let w=!1;try{const b=new URLSearchParams(window.location.search),k=b.get("forceRefresh")||b.get("force");w=k==="1"||k==="true"}catch{}const _=b=>{t.current=b.today,n.current=b.yesterday,u(!0),c(k=>k+1),f=!0,S()},g=async()=>{if(f)return;if(!w){const k=Qu(!1,void 0,e);if(Ju(k.today)){_(k);return}}try{await sd(3e3)}catch{}if(f)return;const b=Qu(w,void 0,e);if(Ju(b.today)){_(b);return}++d>=m&&(u(!0),f=!0,S())};return g(),p=setInterval(g,250),()=>{f=!0,S()}},[e]);const C=l.useCallback(f=>{const p=r?n.current:t.current,d=r?t.current:n.current;return p?.[f]?.length?p[f]:d?.[f]?.length?d[f]:void 0},[r,s]);return{loaded:o,showYesterday:r,setShowYesterday:i,getTrainingPerType:C}}const Lt=[];let Nn=!1;function er(e){if(e.key!=="Escape"||e.defaultPrevented)return;const t=Lt[Lt.length-1];t&&(e.stopPropagation(),t())}function Vd(e){return Lt.push(e),!Nn&&typeof document<"u"&&(document.addEventListener("keydown",er),Nn=!0),()=>{const t=Lt.lastIndexOf(e);t>=0&&Lt.splice(t,1),Lt.length===0&&Nn&&typeof document<"u"&&(document.removeEventListener("keydown",er),Nn=!1)}}function Ud(e,t=!0){const n=vo(e);l.useEffect(()=>{if(t)return Vd(()=>{n.current?.()})},[t,n])}const ho=(e,t)=>`${e}:${t??1}`,fo=new Map;function Gd(e,t){const[n,o]=l.useState(0),u=e.map(r=>ho(r.word,r.homonum)).join("|");return l.useEffect(()=>{const r=(u?u.split("|"):[]).filter(c=>!fo.has(c));if(r.length===0)return;let i=!1;const s=Array.from(new Set(r.map(c=>c.slice(0,c.lastIndexOf(":")))));return t(s).then(c=>{if(!(i||c.length===0)){for(const C of c)C.Meaning&&fo.set(ho(C.Word,C.Homonum??void 0),C.Meaning);o(C=>C+1)}}),()=>{i=!0}},[u,t]),l.useMemo(()=>{const r=u?u.split("|"):[],i=new Map;for(const s of r){const c=fo.get(s);c!=null&&i.set(s,c)}return i},[u,n])}function Yd(e,t,n){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,u=Math.max(1,Math.ceil(e.length/o)),r=Number.isFinite(n)?Math.min(Math.max(1,Math.floor(n)),u):1;return{pageItems:l.useMemo(()=>e.slice((r-1)*o,r*o),[e,r,o]),totalPages:u,curPage:r}}function qd(e="warning"){const[t,n]=l.useState(""),[o,u]=l.useState(e),[r,i]=l.useState(0),s=l.useCallback((p,d)=>{u(d),n(p),i(m=>m+1)},[]),c=l.useCallback(p=>s(p,"warning"),[s]),C=l.useCallback(p=>s(p,"normal"),[s]),f=l.useCallback(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:r,showToast:s,showWarning:c,showNormal:C,clearToast:f}}const nn={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},on=nn.blue,Tn=nn.green,un=nn.amber,xn=nn.purple,Wd=nn.pink,Kd=[{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:on,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:on,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:on,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:on,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:on,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:Tn,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:Tn,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:Tn,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:Tn,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:un,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:un,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:un,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:un,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:un,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:xn,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:xn,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:xn,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:xn,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:Wd,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function Xd(){const{t:e}=mt.useTranslation();return l.useMemo(()=>{const t=Object.fromEntries(dd(e).map(o=>[o.key,o.label])),n={...t};return Kd.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}exports.CACHE_GROUPS=Ho,exports.DocumentTitleSuppressContext=Ro,exports.EMPTY_COMPOSITION=lo,exports.MediaQueryOverrideContext=Do,exports.NO_CODA=Ze,exports.SYLLABLE_MIN=Je,exports.VAP_PAGE_SIZE_OPTIONS=Go,exports.buildGradeSection=Hu,exports.buildPartOfSpeechSection=zu,exports.buildPositionSection=bd,exports.buildSelectSection=Ed,exports.buildSyllableSection=_d,exports.buildWordTypeSection=Vu,exports.charToPronValue=Wu,exports.convertComposition=Xu,exports.fmtBytes=jr,exports.lsBytes=zo,exports.meaningKey=ho,exports.pronToCharValue=Ku,exports.syllableToFilter=ao,exports.today=zt,exports.toggleAttributeFilter=Sd,exports.useCacheManagement=Pr,exports.useDailyTrainingSelection=zd,exports.useDelayedHoverAnchor=md,exports.useDeviceManagement=qr,exports.useDocumentTitle=Er,exports.useEscToClose=Ud,exports.useFontScale=mr,exports.useHoverAnchor=$u,exports.useMediaQuery=_r,exports.usePagedList=Yd,exports.usePasswordChange=Sr,exports.useRelativeDay=br,exports.useTablePaging=Gr,exports.useTableSort=Yr,exports.useToastState=qd,exports.useTrainingTypeLabels=Xd,exports.useVisitAllPanel=Ur,exports.useVisitHistory=Hr,exports.useVisitSchedule=Vr,exports.useWindowEvent=Oo,exports.useWordAttributeFilterKeys=Fu,exports.useWordDataStats=$r,exports.useWordMeanings=Gd,exports.useWordTrainingDataGeneration=Pd,exports.useWordTrainingFilter=Id,exports.valueToJamos=st;
781
+ */const h0=[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]],f0=y("thumbs-up",h0),fu={"alert-triangle":cu,"align-start-vertical":Ga,anchor:w1,"arrow-down":qa,"arrow-left":Ka,"arrow-right":Za,"arrow-right-left":Qa,"arrow-up-a-z":N1,"audio-lines":ti,baby:oi,ban:ri,"bar-chart-2":x1,bell:ii,"book-marked":li,"book-open":di,"bow-arrow":fi,braces:Ci,bug:mi,calendar:D1,"calendar-check":_i,"calendar-days":bi,camera:ki,car:O1,"chart-column":wi,"chart-line":Ni,"chart-pie":xi,check:Di,"chevron-down":t0,"chevron-left":Oi,"chevron-right":Ri,"chevron-up":o0,circle:r0,"clipboard-list":ji,coffee:R1,combine:$i,copy:Hi,"credit-card":Vi,database:Gi,diff:qi,download:Ki,ear:Zi,edit:Qi,"edit-2":ts,"edit-3":os,ellipsis:du,eraser:as,"external-link":ss,eye:cs,"file-text":hs,"flip-horizontal":ps,"folder-open":ys,"folder-plus":gs,gamepad:Es,"gamepad-2":j1,gavel:Ss,"git-merge":As,globe:Ms,headphones:Ts,heart:Bs,home:vs,inbox:$1,info:Ls,"key-round":Is,landmark:Ps,layers:Fs,"layout-dashboard":zs,leaf:Us,lightbulb:Ys,link:Ws,"link-2":Xs,"link-2-off":Js,list:el,"list-checks":nl,"list-ordered":ul,"list-tree":H1,loader:al,"log-out":sl,mail:cl,"map-pin":hl,menu:l0,"message-circle":pl,"message-circle-question-mark":yl,"message-square":gl,"message-square-more":V1,"message-square-text":El,minus:G1,"minus-circle":Sl,moon:d0,"more-horizontal":du,package:Al,palette:Ml,"party-popper":Tl,pause:Bl,pencil:vl,phone:Ll,play:Il,"play-circle":Pl,plus:Fl,printer:zl,"refresh-cw":Ul,repeat:Yl,replace:Wl,rocket:Xl,"rotate-ccw":Jl,"rotate-cw":ec,salad:nc,"scan-search":uc,search:lc,"circle-alert":hu,"alert-circle":hu,"check-circle":ic,scissors:dc,"search-x":fc,send:Cc,settings:mc,"share-2":q1,"shield-check":_c,"shopping-cart":bc,shuffle:kc,"skip-back":wc,"skip-forward":Nc,sparkles:K1,square:xc,star:Dc,store:Oc,"sun-medium":Rc,table:jc,"table-2":$c,terminal:Hc,"text-cursor-input":Vc,"text-initial":Gc,"thumbs-up":f0,ticket:qc,triangle:i0,"trash-2":Kc,"trending-up":Zc,"triangle-alert":cu,trophy:Qc,type:Z1,unlink:t1,upload:o1,user:r1,"user-plus":i1,"user-round":l1,"user-round-check":d1,users:f1,"users-round":C1,volume:Q1,"volume-2":m1,wrench:_1,x:b1,zap:k1};function p0(e){return fu[e]??null}const pu=new Set,C0=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function y0(e){return C0&&!(e in fu)&&!pu.has(e)&&(pu.add(e),console.warn(`[ihabdevteam-core] lucide \uC544\uC774\uCF58 '${e}' \uC774 \uC815\uC801 \uBAA9\uB85D\uC5D0 \uC5C6\uC5B4 \uB80C\uB354\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. utils/lucideIconSet.ts \uC758 STATIC_LUCIDE_ICONS \uC5D0 \uCD94\uAC00\uD558\uC138\uC694.`)),Promise.resolve(null)}const m0=e=>e.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Za-z])([0-9])/g,"$1-$2").replace(/[_ ]+/g,"-").toLowerCase();function g0(e){const t=e.toLowerCase();if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")||e.includes("/assets/"))return null;const n=(e.split("/").pop()||"").replace(/\.svg$/,"");return n?m0(n):null}const Cu=new Map;function _0(e){const t=typeof e=="string"?g0(e):null,n=t?p0(t)??Cu.get(t)??null:null,[o,u]=l.useState(null);return l.useEffect(()=>{if(!t||n)return;let r=!1;return y0(t).then(i=>{Cu.set(t,i),r||u(i)}),()=>{r=!0}},[t,n]),n??o}/*! @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 yu(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 E0(e){if(Array.isArray(e))return e}function b0(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,u,r,i,s=[],c=!0,C=!1;try{if(r=(n=n.call(e)).next,t!==0)for(;!(c=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(f){C=!0,u=f}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(C)throw u}}return s}}function S0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
782
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k0(e,t){return E0(e)||b0(e,t)||A0(e,t)||S0()}function A0(e,t){if(e){if(typeof e=="string")return yu(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)?yu(e,t):void 0}}const mu=Object.entries,gu=Object.setPrototypeOf,w0=Object.isFrozen,M0=Object.getPrototypeOf,N0=Object.getOwnPropertyDescriptor;let Ce=Object.freeze,ge=Object.seal,vt=Object.create,_u=typeof Reflect<"u"&&Reflect,Wn=_u.apply,Kn=_u.construct;Ce||(Ce=function(t){return t}),ge||(ge=function(t){return t}),Wn||(Wn=function(t,n){for(var o=arguments.length,u=new Array(o>2?o-2:0),r=2;r<o;r++)u[r-2]=arguments[r];return t.apply(n,u)}),Kn||(Kn=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),u=1;u<n;u++)o[u-1]=arguments[u];return new t(...o)});const St=fe(Array.prototype.forEach),T0=fe(Array.prototype.lastIndexOf),Eu=fe(Array.prototype.pop),qt=fe(Array.prototype.push),x0=fe(Array.prototype.splice),Ot=Array.isArray,Wt=fe(String.prototype.toLowerCase),Xn=fe(String.prototype.toString),bu=fe(String.prototype.match),Kt=fe(String.prototype.replace),Su=fe(String.prototype.indexOf),B0=fe(String.prototype.trim),D0=fe(Number.prototype.toString),v0=fe(Boolean.prototype.toString),ku=typeof BigInt>"u"?null:fe(BigInt.prototype.toString),Au=typeof Symbol>"u"?null:fe(Symbol.prototype.toString),De=fe(Object.prototype.hasOwnProperty),Xt=fe(Object.prototype.toString),we=fe(RegExp.prototype.test),kt=O0(TypeError);function fe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),u=1;u<n;u++)o[u-1]=arguments[u];return Wn(e,t,o)}}function O0(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Kn(e,n)}}function J(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wt;if(gu&&gu(e,null),!Ot(t))return e;let o=t.length;for(;o--;){let u=t[o];if(typeof u=="string"){const r=n(u);r!==u&&(w0(t)||(t[o]=r),u=r)}e[u]=!0}return e}function L0(e){for(let t=0;t<e.length;t++)De(e,t)||(e[t]=null);return e}function Re(e){const t=vt(null);for(const o of mu(e)){var n=k0(o,2);const u=n[0],r=n[1];De(e,u)&&(Ot(r)?t[u]=L0(r):r&&typeof r=="object"&&r.constructor===Object?t[u]=Re(r):t[u]=r)}return t}function R0(e){switch(typeof e){case"string":return e;case"number":return D0(e);case"boolean":return v0(e);case"bigint":return ku?ku(e):"0";case"symbol":return Au?Au(e):"Symbol()";case"undefined":return Xt(e);case"function":case"object":{if(e===null)return Xt(e);const t=e,n=qe(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 qe(e,t){for(;e!==null;){const o=N0(e,t);if(o){if(o.get)return fe(o.get);if(typeof o.value=="function")return fe(o.value)}e=M0(e)}function n(){return null}return n}function I0(e){try{return we(e,""),!0}catch{return!1}}const wu=Ce(["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"]),Zn=Ce(["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"]),Jn=Ce(["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"]),j0=Ce(["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"]),Qn=Ce(["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"]),P0=Ce(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mu=Ce(["#text"]),Nu=Ce(["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"]),eo=Ce(["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"]),Tu=Ce(["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"]),Sn=Ce(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$0=ge(/{{[\w\W]*|^[\w\W]*}}/g),F0=ge(/<%[\w\W]*|^[\w\W]*%>/g),H0=ge(/\${[\w\W]*/g),z0=ge(/^data-[\-\w.\u00B7-\uFFFF]+$/),V0=ge(/^aria-[\-\w]+$/),xu=ge(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U0=ge(/^(?:\w+script|data):/i),G0=ge(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y0=ge(/^html$/i),q0=ge(/^[a-z][.\w]*(-[.\w]+)+$/i),Bu=ge(/<[/\w!]/g),Du=ge(/<[/\w]/g),W0=ge(/<\/no(script|embed|frames)/i),K0=ge(/\/>/i),Ie={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},vu=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],X0=Ce(J({},vu)),Z0=(function(){const e={};return St(vu,t=>{e[t]=ge(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),Ce(e)})(),J0=function(){return typeof window>"u"?null:window},Q0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const u="data-tt-policy-suffix";n&&n.hasAttribute(u)&&(o=n.getAttribute(u));const r="dompurify"+(o?"#"+o:"");try{return t.createPolicy(r,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Ou=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ht=function(t,n,o,u){return De(t,n)&&Ot(t[n])?J(u.base?Re(u.base):{},t[n],u.transform):o},to=function(t,n,o){const u=De(t,n)?t[n]:void 0;return u&&typeof u=="object"?Re(u):o()};function Lu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J0();const t=N=>Lu(N);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Ie.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,u=o.currentScript;e.DocumentFragment;const r=e.HTMLTemplateElement,i=e.Node,s=e.Element,c=e.NodeFilter,C=e.NamedNodeMap;C===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const f=e.DOMParser,p=e.trustedTypes,d=s.prototype,m=qe(d,"cloneNode"),k=qe(d,"remove"),w=qe(d,"nextSibling"),E=qe(d,"childNodes"),g=qe(d,"parentNode"),S=qe(d,"shadowRoot"),A=qe(d,"attributes"),B=i&&i.prototype?qe(i.prototype,"nodeType"):null,L=i&&i.prototype?qe(i.prototype,"nodeName"):null,D=i&&i.prototype?qe(i.prototype,"ownerDocument"):null,I=function(a){return B?B(a):a.nodeType},$=function(a){return L?L(a):a.nodeName};if(typeof r=="function"){const N=n.createElement("template");N.content&&N.content.ownerDocument&&(n=N.content.ownerDocument)}let G,P="",Q,Y=!1,W=0;const F=function(){if(W>0)throw kt('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.')},x=function(a){F(),W++;try{return G.createHTML(a)}finally{W--}},v=function(a){F(),W++;try{return G.createScriptURL(a)}finally{W--}},ye=function(){return Y||(Q=Q0(p,u),Y=!0),Q},Z=n,ee=Z.implementation,M=Z.createNodeIterator,j=Z.createDocumentFragment,ae=Z.getElementsByTagName,ne=o.importNode;let q=Ou();t.isSupported=typeof mu=="function"&&typeof g=="function"&&ee&&ee.createHTMLDocument!==void 0;const Me=$0,X=F0,he=H0,H=z0,He=V0,ze=U0,je=G0,tt=q0;let Ve=xu,te=null;const nt=J({},[...wu,...Zn,...Jn,...Qn,...Mu]);let oe=null;const pt=J({},[...Nu,...eo,...Tu,...Sn]);let pe=Object.seal(vt(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}})),_=null,z=null;const O=Object.seal(vt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,ie=!0,Pe=!1,ve=!0,be=!1,Ne=!0,Se=!1,Ct=!1,We=null,ot=null,Ue=!1,$e=!1,lt=!1,yt=!1,Rt=!0,me=!1;const At="user-content-";let wt=!0,ut=!1,ct={},Ke=null;const ue=J({},["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 Xe=null;const It=J({},["audio","video","img","source","image","track"]);let Mt=null;const po=J({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rn="http://www.w3.org/1998/Math/MathML",an="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml";let Nt=Ze,Bn=!1,Dn=null;const nr=J({},[rn,an,Ze],Xn),Co=Ce(["mi","mo","mn","ms","mtext"]);let vn=J({},Co);const yo=Ce(["annotation-xml"]);let On=J({},yo);const or=J({},["title","style","font","a","script"]);let jt=null;const ur=["application/xhtml+xml","text/html"],rr="text/html";let de=null,Tt=null;const ar=n.createElement("form"),mo=function(a){return a instanceof RegExp||a instanceof Function},Ln=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tt&&Tt===a)return;(!a||typeof a!="object")&&(a={}),a=Re(a),jt=ur.indexOf(a.PARSER_MEDIA_TYPE)===-1?rr:a.PARSER_MEDIA_TYPE,de=jt==="application/xhtml+xml"?Xn:Wt,te=ht(a,"ALLOWED_TAGS",nt,{transform:de}),oe=ht(a,"ALLOWED_ATTR",pt,{transform:de}),Dn=ht(a,"ALLOWED_NAMESPACES",nr,{transform:Xn}),Mt=ht(a,"ADD_URI_SAFE_ATTR",po,{transform:de,base:po}),Xe=ht(a,"ADD_DATA_URI_TAGS",It,{transform:de,base:It}),Ke=ht(a,"FORBID_CONTENTS",ue,{transform:de}),_=ht(a,"FORBID_TAGS",Re({}),{transform:de}),z=ht(a,"FORBID_ATTR",Re({}),{transform:de}),ct=De(a,"USE_PROFILES")?a.USE_PROFILES&&typeof a.USE_PROFILES=="object"?Re(a.USE_PROFILES):a.USE_PROFILES:!1,K=a.ALLOW_ARIA_ATTR!==!1,ie=a.ALLOW_DATA_ATTR!==!1,Pe=a.ALLOW_UNKNOWN_PROTOCOLS||!1,ve=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,be=a.SAFE_FOR_TEMPLATES||!1,Ne=a.SAFE_FOR_XML!==!1,Se=a.WHOLE_DOCUMENT||!1,$e=a.RETURN_DOM||!1,lt=a.RETURN_DOM_FRAGMENT||!1,yt=a.RETURN_TRUSTED_TYPE||!1,Ue=a.FORCE_BODY||!1,Rt=a.SANITIZE_DOM!==!1,me=a.SANITIZE_NAMED_PROPS||!1,wt=a.KEEP_CONTENT!==!1,ut=a.IN_PLACE||!1,Ve=I0(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:xu,Nt=typeof a.NAMESPACE=="string"?a.NAMESPACE:Ze,vn=to(a,"MATHML_TEXT_INTEGRATION_POINTS",()=>J({},Co)),On=to(a,"HTML_INTEGRATION_POINTS",()=>J({},yo));const h=to(a,"CUSTOM_ELEMENT_HANDLING",()=>vt(null));if(pe=vt(null),De(h,"tagNameCheck")&&mo(h.tagNameCheck)&&(pe.tagNameCheck=h.tagNameCheck),De(h,"attributeNameCheck")&&mo(h.attributeNameCheck)&&(pe.attributeNameCheck=h.attributeNameCheck),De(h,"allowCustomizedBuiltInElements")&&typeof h.allowCustomizedBuiltInElements=="boolean"&&(pe.allowCustomizedBuiltInElements=h.allowCustomizedBuiltInElements),ge(pe),be&&(ie=!1),lt&&($e=!0),ct&&(te=J({},Mu),oe=vt(null),ct.html===!0&&(J(te,wu),J(oe,Nu)),ct.svg===!0&&(J(te,Zn),J(oe,eo),J(oe,Sn)),ct.svgFilters===!0&&(J(te,Jn),J(oe,eo),J(oe,Sn)),ct.mathMl===!0&&(J(te,Qn),J(oe,Tu),J(oe,Sn))),O.tagCheck=null,O.attributeCheck=null,De(a,"ADD_TAGS")&&(typeof a.ADD_TAGS=="function"?O.tagCheck=a.ADD_TAGS:Ot(a.ADD_TAGS)&&(te===nt&&(te=Re(te)),J(te,a.ADD_TAGS,de))),De(a,"ADD_ATTR")&&(typeof a.ADD_ATTR=="function"?O.attributeCheck=a.ADD_ATTR:Ot(a.ADD_ATTR)&&(oe===pt&&(oe=Re(oe)),J(oe,a.ADD_ATTR,de))),De(a,"ADD_FORBID_CONTENTS")&&Ot(a.ADD_FORBID_CONTENTS)&&(Ke===ue&&(Ke=Re(Ke)),J(Ke,a.ADD_FORBID_CONTENTS,de)),wt&&(te["#text"]=!0),Se&&J(te,["html","head","body"]),te.table&&(J(te,["tbody"]),delete _.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const b=G;G=a.TRUSTED_TYPES_POLICY;try{P=x("")}catch(T){throw G=b,T}}else a.TRUSTED_TYPES_POLICY===null?(G=void 0,P=""):(G===void 0&&(G=ye()),G&&typeof P=="string"&&(P=x("")));Ce&&Ce(a),Tt=a},go=J({},[...Zn,...Jn,...j0]),_o=J({},[...Qn,...P0]),ir=function(a,h,b){return h.namespaceURI===Ze?a==="svg":h.namespaceURI===rn?a==="svg"&&(b==="annotation-xml"||vn[b]):!!go[a]},sr=function(a,h,b){return h.namespaceURI===Ze?a==="math":h.namespaceURI===an?a==="math"&&On[b]:!!_o[a]},lr=function(a,h,b){return h.namespaceURI===an&&!On[b]||h.namespaceURI===rn&&!vn[b]?!1:!_o[a]&&(or[a]||!go[a])},cr=function(a){let h=g(a);(!h||!h.tagName)&&(h={namespaceURI:Nt,tagName:"template"});const b=Wt(a.tagName),T=Wt(h.tagName);return Dn[a.namespaceURI]?a.namespaceURI===an?ir(b,h,T):a.namespaceURI===rn?sr(b,h,T):a.namespaceURI===Ze?lr(b,h,T):!!(jt==="application/xhtml+xml"&&Dn[a.namespaceURI]):!1},dt=function(a){qt(t.removed,{element:a});try{g(a).removeChild(a)}catch{if(k(a),!g(a))throw kt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Eo=function(a,h,b){try{a.removeAttributeNode(h)}catch{try{a.removeAttribute(b)}catch{}}},sn=function(a){ln(a);const h=E(a);if(h){const T=[];St(h,R=>{qt(T,R)}),St(T,R=>{try{k(R)}catch{}})}const b=A(a);if(b)for(let T=b.length-1;T>=0;--T){const R=b[T],U=R&&R.name;typeof U=="string"&&Eo(a,R,U)}},mt=function(a,h,b){if(!b)try{b=h.getAttributeNode(a)}catch{b=null}qt(t.removed,{attribute:b||null,from:h});try{b?h.removeAttributeNode(b):h.removeAttribute(a)}catch{try{h.removeAttribute(a)}catch{}}if(a==="is")if($e||lt)try{dt(h)}catch{}else try{h.setAttribute(a,"")}catch{}},dr=function(a){const h=A(a);if(h)for(let b=h.length-1;b>=0;--b){const T=h[b],R=T&&T.name;typeof R!="string"||oe[de(R)]||Eo(a,T,R)}},ln=function(a){const h=[a];for(;h.length>0;){const b=h.pop();I(b)===Ie.element&&dr(b);const R=E(b);if(R)for(let U=R.length-1;U>=0;--U)h.push(R[U])}},bo=function(a,h){return Ne?a==="patchsrc"?!0:a==="for"&&h!=="label"&&h!=="output":!1},hr=function(a){if(!Ne)return;const h=[a];for(;h.length>0;){const b=h.pop(),T=I(b);if(T===Ie.processingInstruction||T===Ie.comment&&we(Du,b.data)){try{k(b)}catch{}continue}if(T===Ie.element){const U=b,se=de($(b));try{U.hasAttribute&&U.hasAttribute("patchsrc")&&U.removeAttribute("patchsrc"),U.hasAttribute&&U.hasAttribute("for")&&bo("for",se)&&U.removeAttribute("for")}catch{}}const R=E(b);if(R)for(let U=R.length-1;U>=0;--U)h.push(R[U])}},So=function(a){let h=null,b=null;if(Ue)a="<remove></remove>"+a;else{const U=bu(a,/^[\r\n\t ]+/);b=U&&U[0]}jt==="application/xhtml+xml"&&Nt===Ze&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const T=G?x(a):a;if(Nt===Ze)try{h=new f().parseFromString(T,jt)}catch{}if(!h||!h.documentElement){h=ee.createDocument(Nt,"template",null);try{h.documentElement.innerHTML=Bn?P:T}catch{}}const R=h.body||h.documentElement;return a&&b&&R.insertBefore(n.createTextNode(b),R.childNodes[0]||null),Nt===Ze?ae.call(h,Se?"html":"body")[0]:Se?h.documentElement:R},ko=function(a){const h=D?D(a):a.ownerDocument;return M.call(h||a,a,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},cn=function(a){return a=Kt(a,Me," "),a=Kt(a,X," "),a=Kt(a,he," "),a},Rn=function(a){var h;a.normalize();const b=D?D(a):a.ownerDocument,T=M.call(b||a,a,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let R=T.nextNode();for(;R;)R.data=cn(R.data),R=T.nextNode();const U=(h=a.querySelectorAll)===null||h===void 0?void 0:h.call(a,"template");U&&St(U,se=>{xt(se.content)&&Rn(se.content)})},dn=function(a){const h=L?L(a):null;return typeof h!="string"||de(h)!=="form"?!1:typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||a.attributes!==A(a)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function"||a.nodeType!==B(a)||a.childNodes!==E(a)},xt=function(a){if(!B||typeof a!="object"||a===null)return!1;try{return B(a)===Ie.documentFragment}catch{return!1}},Pt=function(a){if(!B||typeof a!="object"||a===null)return!1;try{return typeof B(a)=="number"}catch{return!1}};function Je(N,a,h){N.length!==0&&St(N,b=>{b.call(t,a,h,Tt)})}const fr=function(a,h){return!!(Ne&&a.hasChildNodes()&&!Pt(a.firstElementChild)&&we(Bu,a.textContent)&&we(Bu,a.innerHTML)||Ne&&a.namespaceURI===Ze&&X0[h]&&(Pt(a.firstElementChild)||typeof a.textContent=="string"&&we(Z0[h],a.textContent))||a.nodeType===Ie.processingInstruction||Ne&&a.nodeType===Ie.comment&&we(Du,a.data))},hn=function(a,h){if(a instanceof RegExp)return we(a,h);if(a instanceof Function){for(var b=arguments.length,T=new Array(b>2?b-2:0),R=2;R<b;R++)T[R-2]=arguments[R];return!!a(h,...T)}return!1},pr=function(a,h,b){if(!_[h]&&To(h)&&hn(pe.tagNameCheck,h))return!1;if(wt&&!Ke[h]){const T=g(a),R=E(a);if(R&&T){const U=R.length;for(let se=U-1;se>=0;--se){const ce=a===b?m(R[se],!0):R[se];T.insertBefore(ce,w(a))}}}return dt(a),!0},Ao=function(a,h,b,T){return a.length===0?h:h===b||h===T?Re(h):h},wo=function(a,h){return a===h||g(a)!==null?!1:(ut&&ln(a),!0)},Mo=function(a,h){if(Je(q.beforeSanitizeElements,a,null),wo(a,h))return!0;if(dn(a))return dt(a),!0;const b=de($(a));if(te=Ao(q.uponSanitizeElement,te,nt,We),Je(q.uponSanitizeElement,a,{tagName:b,allowedTags:te}),wo(a,h))return!0;if(fr(a,b))return dt(a),!0;if(_[b]||!(O.tagCheck instanceof Function&&O.tagCheck(b))&&!te[b]){const R=pr(a,b,h);return R===!1&&Je(q.afterSanitizeElements,a,null),R}if(I(a)===Ie.element&&!cr(a)||(b==="noscript"||b==="noembed"||b==="noframes")&&we(W0,a.innerHTML))return dt(a),!0;if(be&&a.nodeType===Ie.text){const R=cn(a.textContent);a.textContent!==R&&(qt(t.removed,{element:a.cloneNode()}),a.textContent=R)}return Je(q.afterSanitizeElements,a,null),!1},No=function(a,h,b){if(z[h]||bo(h,a)||Rt&&(h==="id"||h==="name")&&(b in n||b in ar))return!1;const T=oe[h]||O.attributeCheck instanceof Function&&O.attributeCheck(h,a);return ie&&we(H,h)||K&&we(He,h)?!0:T?Mt[h]||we(Ve,Kt(b,je,""))||(h==="src"||h==="xlink:href"||h==="href")&&a!=="script"&&Su(b,"data:")===0&&Xe[a]||Pe&&!we(ze,Kt(b,je,""))?!0:!b:To(a)&&hn(pe.tagNameCheck,a)&&hn(pe.attributeNameCheck,h,a)||h==="is"&&pe.allowCustomizedBuiltInElements&&hn(pe.tagNameCheck,b)},Cr=J({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),To=function(a){return!Cr[Wt(a)]&&we(tt,a)},yr=function(a,h,b,T){if(G&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!b)switch(p.getAttributeType(a,h)){case"TrustedHTML":return x(T);case"TrustedScriptURL":return v(T)}return T},mr=function(a,h,b,T){try{b?a.setAttributeNS(b,h,T):a.setAttribute(h,T),dn(a)?dt(a):Eu(t.removed)}catch{mt(h,a)}},xo=function(a){Je(q.beforeSanitizeAttributes,a,null);const h=a.attributes;if(!h||dn(a))return;oe=Ao(q.uponSanitizeAttribute,oe,pt,ot);const b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:oe,forceKeepAttr:void 0};let T=h.length;const R=de(a.nodeName);for(;T--;){const U=h[T],se=U.name,ce=U.namespaceURI,xe=U.value,Be=de(se),jn=xe;let Te=se==="value"?jn:B0(jn);if(b.attrName=Be,b.attrValue=Te,b.keepAttr=!0,b.forceKeepAttr=void 0,Je(q.uponSanitizeAttribute,a,b),Te=b.attrValue,me&&(Be==="id"||Be==="name")&&Su(Te,At)!==0&&(mt(se,a,U),Te=At+Te),Ne&&we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Te)){mt(se,a,U);continue}if(Be==="attributename"&&bu(Te,"href")){mt(se,a,U);continue}if(!b.forceKeepAttr){if(!b.keepAttr){mt(se,a,U);continue}if(!ve&&we(K0,Te)){mt(se,a,U);continue}if(be&&(Te=cn(Te)),!No(R,Be,Te)){mt(se,a,U);continue}Te=yr(R,Be,ce,Te),Te!==jn&&mr(a,se,ce,Te)}}Je(q.afterSanitizeAttributes,a,null)},fn=function(a){let h=null;const b=ko(a);for(Je(q.beforeSanitizeShadowDOM,a,null);h=b.nextNode();)if(Je(q.uponSanitizeShadowNode,h,null),Mo(h,a),xo(h),xt(h.content)&&fn(h.content),I(h)===Ie.element){const T=S(h);xt(T)&&(In(T),fn(T))}Je(q.afterSanitizeShadowDOM,a,null)},In=function(a){const h=[{node:a,shadow:null}];for(;h.length>0;){const b=h.pop();if(b.shadow){fn(b.shadow);continue}const T=b.node,U=I(T)===Ie.element,se=E(T);if(se)for(let ce=se.length-1;ce>=0;--ce)h.push({node:se[ce],shadow:null});if(U){const ce=L?L(T):null;if(typeof ce=="string"&&de(ce)==="template"){const xe=T.content;xt(xe)&&h.push({node:xe,shadow:null})}}if(U){const ce=S(T);xt(ce)&&h.push({node:null,shadow:ce},{node:ce,shadow:null})}}};return t.sanitize=function(N){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=null,b=null,T=null,R=null;if(Bn=!N,Bn&&(N="<!-->"),typeof N!="string"&&!Pt(N)&&(N=R0(N),typeof N!="string"))throw kt("dirty is not a string, aborting");if(!t.isSupported)return N;Ct?(te=We,oe=ot):Ln(a),(q.uponSanitizeElement.length>0||q.uponSanitizeAttribute.length>0)&&(te=Re(te)),q.uponSanitizeAttribute.length>0&&(oe=Re(oe)),t.removed=[];const U=ut&&typeof N!="string"&&Pt(N);if(U){hr(N);const xe=$(N);if(typeof xe=="string"){const Be=de(xe);if(!te[Be]||_[Be])throw sn(N),kt("root node is forbidden and cannot be sanitized in-place")}if(dn(N))throw sn(N),kt("root node is clobbered and cannot be sanitized in-place");try{In(N)}catch(Be){throw sn(N),Be}}else if(Pt(N))h=So("<!---->"),b=h.ownerDocument.importNode(N,!0),b.nodeType===Ie.element&&b.nodeName==="BODY"||b.nodeName==="HTML"?h=b:h.appendChild(b),In(b);else{if(!$e&&!be&&!Se&&N.indexOf("<")===-1)return G&&yt?x(N):N;if(h=So(N),!h)return $e?null:yt?P:""}h&&Ue&&dt(h.firstChild);const se=U?N:h;try{const xe=ko(se);for(;T=xe.nextNode();)Mo(T,se),xo(T),xt(T.content)&&fn(T.content)}catch(xe){throw U&&(sn(N),St(t.removed,Be=>{Be.element&&ln(Be.element)})),xe}if(U)return St(t.removed,xe=>{xe.element&&ln(xe.element)}),be&&Rn(N),N;if($e){if(be&&Rn(h),lt)for(R=j.call(h.ownerDocument);h.firstChild;)R.appendChild(h.firstChild);else R=h;return(oe.shadowroot||oe.shadowrootmode)&&(R=ne.call(o,R,!0)),R}let ce=Se?h.outerHTML:h.innerHTML;return Se&&te["!doctype"]&&h.ownerDocument&&h.ownerDocument.doctype&&h.ownerDocument.doctype.name&&we(Y0,h.ownerDocument.doctype.name)&&(ce="<!DOCTYPE "+h.ownerDocument.doctype.name+`>
783
+ `+ce),be&&(ce=cn(ce)),G&&yt?x(ce):ce},t.setConfig=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ln(N),Ct=!0,We=te,ot=oe},t.clearConfig=function(){Tt=null,Ct=!1,We=null,ot=null,G=Q,P=""},t.isValidAttribute=function(N,a,h){Tt||Ln({});const b=de(N),T=de(a);return No(b,T,h)},t.addHook=function(N,a){typeof a=="function"&&De(q,N)&&qt(q[N],a)},t.removeHook=function(N,a){if(De(q,N)){if(a!==void 0){const h=T0(q[N],a);return h===-1?void 0:x0(q[N],h,1)[0]}return Eu(q[N])}},t.removeHooks=function(N){De(q,N)&&(q[N]=[])},t.removeAllHooks=function(){q=Ou()},t}var ed=Lu();const td=/^(?:[a-z]+:)?\/\//i;let nd="";function od(){return nd}function no(e){const t=String(e||"").trim();if(!t)return"";if(td.test(t)||t.startsWith("data:")||t.startsWith("blob:"))return t;const n=t.startsWith("/")?t:`/${t}`,o=od();return o?`${o}${n}`:n}function ud(){return kn(new Date)}function kn(e){if(e==null||e==="")return"";const t=e instanceof Date?e:new Date(e);return isNaN(t.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t)}const Zt=[],Jt=[],Qt=[],en=[],An={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},wn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},rd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let oo=null,Ru=null,ft=null;function ad({counts:e,forceRefresh:t}={}){const n=Object.assign({},rd,e||{}),o=ud(),u=kn(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),r=JSON.stringify(n);if(!t&&Ru===o&&oo===r&&ft)return Object.assign(An,ft.today),Object.assign(wn,ft.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:An,yesterday:wn};const i={LISTEN_IN_NOISE:at(Zt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:at(Jt,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:at(Qt,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:at(en,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let s=null;return ft&&oo===r&&ft.yesterday&&ft.yesterday.date===u&&(s=ft.yesterday.selection),s||(s={LISTEN_IN_NOISE:at(Zt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:at(Jt,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:at(Qt,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:at(en,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(An,i),Object.assign(wn,s),Ru=o,oo=r,ft={today:i,yesterday:{date:u,countsKey:r,selection:s}},{today:An,yesterday:wn}}let Iu=!1,tn=null;async function id(){try{const e={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Pn&&Pn.tagName.toUpperCase()==="SCRIPT"&&Pn.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 sd(){if(!Iu)return tn||(tn=(async()=>{const e=await id();if(!e){tn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{for(const t of Object.keys(e||{})){const n=e[t]||[];for(const o of n){const u=o,r=String(u.training_type||t),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:r,category_0:i,category_1:s});r==="LISTEN_IN_NOISE"?Zt.push(c):r==="SHORT_STORY"?Jt.push(c):r==="LONG_STORY"?Qt.push(c):r==="ORDERING_SENTENCE"&&en.push(c)}}}catch{tn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{ad()}catch{}Iu=!0})(),tn)}async function ld(e=3e3){const t=sd();return Promise.race([t,new Promise(n=>setTimeout(n,e))])}const cd=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uB2E4\uC218\uC758 \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC5EC\uB7EC\uAC1C\uC758 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uADF8 \uC21C\uC11C\uC5D0 \uB9DE\uAC8C \uBC30\uC5F4\uD569\uB2C8\uB2E4."}],dd={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function hd(e){return cd.map(t=>{const n=dd[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}function fd(e){return typeof window>"u"?"":ed.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function pd(e){const[t,n]=l.useState(null),[o,u]=l.useState(null),[r,i]=l.useState(null),[s,c]=l.useState(null);return l.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){n(null),u(null),i(null);return}const C=e.split("/").pop();let f=e;C&&(e.startsWith("/")?f=no(e):/^(Logo|Symbol)/i.test(C)?f=no(`logo/${C}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),f=e)),n(f)},[e]),l.useEffect(()=>{if(!t)return;let C=!1;async function f(){try{let p=await fetch(t);p.ok||(p=await fetch(t));const d=p.headers.get("content-type")||"";if(C)return;if(d.includes("svg")){u("mask");return}if(d.startsWith("image/")){u("img");return}const m=await fetch(t);if(!m.ok)throw new Error("not ok");const k=await m.text();if(C)return;if(/^\s*<svg[\s>]/i.test(k)){const w=fd(k);if(!w){u("none");return}i(w),u("inline");return}u("none")}catch{C||u("none")}}return f(),()=>{C=!0}},[t]),l.useEffect(()=>{let C=!1,f=null;return o==="mask"&&t&&fetch(t).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{C||(f=URL.createObjectURL(p),c(f))}).catch(()=>{C||u("img")}),()=>{C=!0,f&&URL.revokeObjectURL(f),c(null)}},[o,t]),{iconToUse:t,mode:o,svgText:r,blobUrl:s}}function Cd(e){const{icon:t,label:n,className:o,imgClassName:u,maskClassName:r,svgClassName:i,wrapperStyle:s,size:c}=e||{},C=o??"iconRenderer-icon",f=u??"iconRenderer-icon-image",p=r??"iconRenderer-icon-mask",d=i??"iconRenderer-icon-svg",m=typeof t=="string"?t:null,k=_0(m),{iconToUse:w,mode:E,svgText:g,blobUrl:S}=pd(m),A=(I,$={})=>V.jsx("span",{className:C,style:s,...$,children:I}),B=(I,$={})=>V.jsx("img",{src:I,alt:typeof n=="string"?n:n?String(n):"",className:f,...$});if(!t)return null;if(typeof t!="string")return A(t);if(t==="none")return A(V.jsx("span",{className:d,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(k)try{return A(l.createElement(k,{className:d,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(w&&w.endsWith(".svg")){if(E==="mask"){const I={"--icon-url":S?`url(${S})`:`url(${w})`};return A(V.jsx("span",{className:p,style:I}),{"aria-hidden":"true"})}return E==="img"?A(B(w,{onError:I=>{I.currentTarget.onerror=null,I.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):E==="inline"?A(V.jsx("span",{className:d,dangerouslySetInnerHTML:g?{__html:g}:void 0}),{"aria-hidden":"true"}):A(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return B(no(t),{style:s,onError:I=>{I.currentTarget.onerror=null,I.currentTarget.style.display="none"}});const L=typeof c=="number"?c:20,D=`<svg width="${L}" height="${L}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return A(V.jsx("span",{className:d,dangerouslySetInnerHTML:{__html:D}}),{"aria-hidden":"true"})}function ju(e){const{anchorRect:t,anchorEl:n,offset:o=20,edgeMargin:u=20,onClose:r,closeOnOutsideClick:i=!0,className:s="",role:c="dialog",ariaLabel:C="",children:f,backdrop:p=!1,isMobilePopup:d=!1,useBorder:m=!0,header:k}=e||{},w=l.useRef(null),[E,g]=l.useState({position:"fixed",left:0,top:-9999}),[S,A]=l.useState(!1),[B,L]=l.useState("bottom"),[D,I]=l.useState(!1),[$,G]=l.useState(!1),P=!t&&!n,Q=l.useCallback((x=!1)=>{if($&&d)return;const v=n?n.getBoundingClientRect():t;if(!v||!w.current)return;const ye=w.current,{offsetWidth:Z,offsetHeight:ee}=ye,M=window.innerWidth,j=window.innerHeight,ae=M-v.right,ne=v.left,q=v.top,Me=j-v.bottom;let X=0,he=0,H="top";if(q>=ee+o)H="top",he=v.top-o-ee,X=v.left+v.width/2-Z/2;else if(Me>=ee+o)H="bottom",he=v.bottom+o,X=v.left+v.width/2-Z/2;else if(ae>=Z+o)H="right",X=v.right+o,he=v.top+v.height/2-ee/2;else if(ne>=Z+o)H="left",X=v.left-o-Z,he=v.top+v.height/2-ee/2;else{const tt=Math.max(q,Me,ae,ne);tt===q?(H="top",he=v.top-o-ee,X=v.left+v.width/2-Z/2):tt===Me?(H="bottom",he=v.bottom+o,X=v.left+v.width/2-Z/2):tt===ae?(H="right",X=v.right+o,he=v.top+v.height/2-ee/2):(H="left",X=v.left-o-Z,he=v.top+v.height/2-ee/2)}const He=Number(u)||8;X=Math.min(Math.max(X,He),M-Z-He),he=Math.min(Math.max(he,He),j-ee-He);const ze=Math.round(X),je=Math.round(he);x&&w.current?(w.current.style.left=`${ze}px`,w.current.style.top=`${je}px`,w.current.dataset.placement=H):(L(H||B),g({position:"fixed",left:ze,top:je}),I(!0))},[$,d,n,t,o,u,B]);l.useLayoutEffect(()=>{if(P)return;if($&&d){g({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),I(!0);return}Q();const x=requestAnimationFrame(()=>Q());return()=>cancelAnimationFrame(x)},[t,n,o,f,u,P,$,d,Q]),l.useEffect(()=>{if(P||$&&d||!w.current||typeof ResizeObserver>"u")return;const x=new ResizeObserver(()=>{t&&Q()});return x.observe(w.current),()=>x.disconnect()},[t,f,u,P,$,d,Q]),l.useEffect(()=>{if(P||$&&d)return;const x=()=>Q(!0);return window.addEventListener("resize",x),document.addEventListener("scroll",x,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",x),document.removeEventListener("scroll",x,{capture:!0})}},[t,o,f,u,P,$,d,Q]),l.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const x=window.matchMedia("(max-width: 768px)"),v=()=>G(!!x.matches);v();try{x.addEventListener?x.addEventListener("change",v):x.addListener(v)}catch{try{x.addListener(v)}catch{}}return()=>{try{x.removeEventListener?x.removeEventListener("change",v):x.removeListener(v)}catch{}}},[]);const Y=l.useRef(!1),W=l.useCallback((x=!1)=>{if(!(S||Y.current)){if(Y.current=!0,x){A(!0);try{r&&r()}catch{}return}A(!0),setTimeout(()=>{r&&r()},200)}},[S,r,A]);l.useEffect(()=>{const x=Z=>{const ee=w.current;if(!ee)return;const M=Z.target;if(M&&!ee.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},v=Z=>{const ee=w.current;if(!ee)return;const M=Z.target;if(M&&!ee.contains(M)){try{if(M.closest&&M.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},ye=Z=>{if(Z.key==="Escape"){Z.stopPropagation(),W();return}if(Z.key==="Tab"){const ee=w.current;if(!ee)return;const M=ee.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!M||M.length===0)return;const j=M[0],ae=M[M.length-1],ne=document.activeElement;Z.shiftKey?ne===j&&(Z.preventDefault(),ae.focus()):ne===ae&&(Z.preventDefault(),j.focus())}};return document.addEventListener("pointerdown",x,!0),document.addEventListener("click",v,!0),document.addEventListener("keydown",ye),()=>{document.removeEventListener("pointerdown",x,!0),document.removeEventListener("click",v,!0),document.removeEventListener("keydown",ye)}},[r,i,W]),l.useEffect(()=>{const x=()=>{W(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",x),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",x)}},[W]);const F=V.jsxs("div",{ref:w,className:`tooltip-content ${m?"tooltip-content--bordered":""} ${S?"is-closing":""} ${s} ${$&&d?"is-mobile":""}`,role:c,"aria-label":C||void 0,style:P?{}:{...E,visibility:D?"visible":"hidden"},tabIndex:-1,"data-placement":B,"data-left":P?"":E.left,"data-top":P?"":E.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[k!=null&&V.jsx("div",{className:"tooltip-content__header h5",children:k}),f]});if(P||typeof document>"u")return F;if(p||$&&d){const x=V.jsxs("div",{className:"tooltip-portal",children:[V.jsx("div",{className:"tooltip-backdrop",onClick:()=>{i&&W(!0)}}),F]});return Bo.createPortal(x,document.body)}return Bo.createPortal(F,document.body)}function yd(e){const{anchorRect:t,text:n,offset:o=8,onClose:u,className:r="",ariaLabel:i}=e||{};return n?V.jsx(ju,{anchorRect:t,offset:o,onClose:u,closeOnOutsideClick:!1,className:`tooltip-info ${r}`,ariaLabel:i||n,children:V.jsx("div",{className:"tooltip-info__content body-3",children:n})}):null}function Pu(e){const{anchorRect:t,title:n,items:o,activeIndex:u=-1,showIndex:r=!0,onClose:i,offset:s=12}=e||{},c=Array.isArray(o)?o:o?[o]:[];return!c.length&&!n?null:V.jsx(ju,{anchorRect:t,offset:s,onClose:i,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:V.jsxs("div",{className:"tooltip-description__box",children:[n&&V.jsx("span",{className:"tooltip-description__title body-2",children:n}),V.jsx("ol",{className:"tooltip-description__items",children:c.map((C,f)=>V.jsxs("li",{className:`tooltip-description__item body-3${f===u?" tooltip-description__item--active":""}`,children:[r&&c.length>1&&V.jsxs("span",{className:"tooltip-description__index button-1",children:[f+1,"."]}),V.jsx("span",{children:C})]},f))})]})})}function md(e){const{size:t=48,type:n,htmlType:o,href:u,target:r,rel:i,icon:s,rightIcon:c,label:C,count:f,subLabel:p,children:d,ariaLabel:m,variant:k="default",align:w="center",selected:E,toggleable:g=!1,disabled:S=!1,useLabel:A=!0,useBorder:B=!0,useBG:L=!0,useDisabledCovered:D=!1,useDisabledInvisible:I=!1,width:$,minWidth:G,onClick:P,onDisabledClick:Q,showTooltipInfo:Y=!1,tooltipInfoText:W=null,tooltipDescription:F=null,iconSize:x="medium",iconColor:v,shape:ye="rounded",color:Z,className:ee,...M}=e,j=typeof t=="string"&&isNaN(Number(t))?t.toLowerCase():String(Number(t)||48),ae=j.match(/^\d+$/)?`button${j}`:`button-${j}`,ne=Number(t),q=!isNaN(ne)&&ne<40?"button-2":"button-1",Me=C??d,X=S||!!M.disabled,he=X?D?"disabled-covered":I?"disabled-invisibled":"disabled":k,H=he?`button--variant-${he}`:"",He=w?`button--align-${w}`:"",ze=ye?`button--shape-${ye}`:"",je=typeof v=="string"&&v.startsWith("--")?`var(${v})`:v,tt={...$?{width:typeof $=="number"?`${$}px`:$}:{},...G?{minWidth:typeof G=="number"?`${G}px`:G}:{},...B?{}:{"--button-border":X?"0":"1px solid transparent"},...je?{"--button-icon-color":je}:{},...Z?{"--color-main":Z}:{}},Ve=A===!1?"":Me,te=Array.isArray(Ve)?Ve.length>0:!!Ve,nt=!!c,oe=n??(te||s||nt?"bar":"dot"),pt=`${ae}--${oe}`,pe=l.useRef(null),_=l.useRef(X),[z,O]=l.useState(!!E),[K,ie]=l.useState(!1),[Pe,ve]=l.useState(null),be=l.useCallback(()=>ie(!1),[]);l.useEffect(()=>{(Y||F)&&X&&K&&(ie(!1),ve(null))},[X,Y,F,K]),l.useEffect(()=>{typeof E=="boolean"&&O(E)},[E]),l.useEffect(()=>{if(_.current&&!X&&pe.current){const ue=pe.current;ue.blur(),ue.style.pointerEvents="none";const Xe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{pe.current&&(pe.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Xe)}_.current=X},[X]);const Ne=typeof E=="boolean"?!!E:z,Se=g||typeof E=="boolean"?Ne?"true":"false":void 0,Ct=Ia("button",ae,pt,H,He,ze,Ne?"is-selected":null,L?null:"button--no-bg",ee),We=`button__icon button__icon--${x}`,ot=Array.isArray(p)?p:p!==void 0?[p]:[],Ue=()=>{if(Array.isArray(Ve))return Ve.map((Xe,It)=>{const Mt=ot[It];return V.jsxs("span",{className:`button__label-text${Mt!==void 0?" button__label-text--has-sub":""}`,children:[Xe,Mt!==void 0&&V.jsx("span",{className:"button__sub-label-text caption-1",children:Mt})]},It)});const ue=p!==void 0;return V.jsxs("span",{className:`button__label-text${ue?" button__label-text--has-sub":""}`,children:[Ve,f!=null&&V.jsx("span",{className:"button__count",children:f}),ue&&V.jsx("span",{className:"button__sub-label-text caption-1",children:p})]})},$e=ue=>{X||(typeof M.onMouseLeave=="function"&&M.onMouseLeave(ue),typeof E!="boolean"&&O(!1),ue.currentTarget.blur())},lt=ue=>{if(X){Q?.(ue);return}typeof E!="boolean"&&g&&O(Xe=>!Xe),P?.(ue)},yt=l.useCallback(()=>{!X&&(Y||F)&&(ie(!0),ve(pe.current?.getBoundingClientRect()??null))},[X,Y,F]),Rt=l.useCallback(()=>{(Y||F)&&(ie(!1),ve(null))},[Y,F]),me={...M};delete me.disabled,delete me.className,delete me.faded,delete me.useFaded,delete me.loading,delete me.onMouseLeave,delete me.onPointerEnter,delete me.onPointerLeave,delete me.onFocus,delete me.onBlur,X&&(Object.keys(me).forEach(ue=>{/^on[A-Z]/.test(ue)&&typeof me[ue]=="function"&&delete me[ue]}),me["aria-disabled"]="true");const At=(typeof Y=="string"?Y:null)??(typeof W=="string"?W:null)??(typeof m=="string"?m:null)??(typeof Me=="string"?Me:null)??void 0,wt=typeof m=="string"?m:typeof Me=="string"?Me:At,ut=(ue,Xe)=>V.jsx(Cd,{icon:ue,label:Xe??wt,className:We,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),ct=()=>oe==="dot"?V.jsxs(V.Fragment,{children:[ut(s),te&&V.jsx("span",{className:`button__label ${q}`,children:Ue()})]}):w==="center"&&s?V.jsxs(V.Fragment,{children:[V.jsxs("span",{className:"button__center-group",children:[V.jsx("span",{className:"button__left",children:ut(s)}),te&&V.jsx("span",{className:`button__label ${q}`,children:Ue()})]}),nt&&V.jsx("span",{className:"button__right",children:ut(c)})]}):V.jsxs(V.Fragment,{children:[s&&V.jsx("span",{className:"button__left",children:ut(s,m??Me)}),te&&V.jsx("span",{className:`button__label ${q}`,children:Ue()}),nt&&V.jsx("span",{className:"button__right",children:ut(c)})]}),Ke=!!u&&!X;return V.jsxs(V.Fragment,{children:[V.jsx(Ke?"a":"button",{...me,ref:pe,...Ke?{href:u,target:r,rel:i??(r==="_blank"?"noreferrer":void 0)}:{type:o,disabled:X&&!Q},className:Ct,"aria-pressed":Se,"aria-label":wt,"aria-disabled":Ke&&X?!0:void 0,style:tt,onClick:lt,onMouseLeave:$e,onPointerEnter:ue=>{yt(),!X&&typeof M.onPointerEnter=="function"&&M.onPointerEnter(ue)},onPointerLeave:ue=>{Rt(),!X&&typeof M.onPointerLeave=="function"&&M.onPointerLeave(ue)},onFocus:ue=>{yt(),!X&&typeof M.onFocus=="function"&&M.onFocus(ue)},onBlur:ue=>{$e(ue),Rt(),!X&&typeof M.onBlur=="function"&&M.onBlur(ue)},children:ct()}),K&&F?V.jsx(Pu,{anchorRect:Pe,title:F.title,items:F.items,onClose:be}):K&&At?V.jsx(yd,{anchorRect:Pe,text:At,onClose:be}):null]})}function $u(){const[e,t]=l.useState(null),n=l.useCallback(r=>t(r.getBoundingClientRect()),[]),o=l.useCallback(()=>t(null),[]),u=l.useCallback(r=>{const i=r.getBoundingClientRect();t(s=>s?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:u}}function gd(e){const[t,n]=l.useState(null),[o,u]=l.useState(null),r=l.useRef(null);l.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[]);const i=l.useCallback((c,C)=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{n(c),u(C)},e)},[e]),s=l.useCallback(()=>{r.current&&clearTimeout(r.current),n(null),u(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:i,close:s}}function _d({title:e,items:t}){const{t:n}=gt.useTranslation(),{anchorRect:o,openAt:u,close:r}=$u();return V.jsxs(V.Fragment,{children:[V.jsx(md,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:n("common.info","\uC124\uBA85"),onPointerEnter:i=>u(i.currentTarget),onPointerLeave:r,onFocus:i=>u(i.currentTarget),onBlur:r}),o&&V.jsx(Pu,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:r})]})}function Fu(){const{t:e}=gt.useTranslation();return l.useMemo(()=>({difficulty:e("wordSearch.filter.difficulty","\uB4F1\uAE09"),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 Hu(e,t,n){return{label:t.difficulty,items:[1,2,3,4].map(o=>e("wordSearch.filter.grade",{n:o})),multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction}}function zu(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function Vu(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function Ed(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 bd(e,t){const n=[e("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \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}}function Sd(e,t){const{label:n,headValue:o,midValue:u,tailValue:r,includeMid:i=!0,headDisabled:s,midDisabled:c,tailDisabled:C,allOptionDisabled:f,groupLabel:p,labelAction:d}=t;return{label:n,...p?{groupLabel:p}:{},...d?{labelAction:d}:{},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:s},...i?[{value:u,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:c}]:[],{value:r,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:C}]}}function kd(e,t,n){if(t===bt){const{[n]:r,...i}=e;return i}const o=e[n]??[],u=o.includes(t)?o.filter(r=>r!==t):[...o,t];if(u.length===0){const{[n]:r,...i}=e;return i}return{...e,[n]:u}}Object.fromEntries(Object.entries(Jr).map(([e,{nucleus:t}])=>[e,t]));const Ad={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},wd={"\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"]},Md={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:wd,typeMap:Ad};function Nd(e,t,n=Md){const o=t[n.difficulty];if(o?.length&&!o.some(s=>e.grade===s.replace(/\D/g,"")))return!1;const u=t[n.syllables];if(u?.length){const s=e.syllables??0;if(!u.some(c=>c===n.syllable5plus?s>=5:s===parseInt(c)))return!1}const r=t[n.partOfSpeech];if(r?.length&&!r.flatMap(s=>n.posMap[s]??[s]).some(s=>(e.pos??"").includes(s)))return!1;const i=t[n.wordType];return!(i?.length&&!i.some(s=>e.wordType===n.typeMap[s]))}const it=(e,t)=>t.map(n=>({jamos:[n],tooltip:e})),Ee=(e,t)=>({jamos:[...e],tooltip:t}),uo={cho:[it("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),it("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),it("\uCE58\uC870\uC74C",["\u3145","\u3146"]),it("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),it("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),it("\uC131\uBB38\uC74C",["\u314E"])],jung:[[Ee("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),Ee("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),Ee("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[Ee("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[Ee("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),Ee("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ee("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),Ee("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ee("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[Ee("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),Ee("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),Ee("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[Ee("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),Ee("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ee("\u314F","\uC800\uBAA8\uC74C"),Ee("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ee("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[it("\uC591\uC21C\uC74C",["\u3142","\u3141"]),it("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),it("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},Td=[...ke],xd=[...rt],Bd=Fe.filter(e=>e!==""),st=e=>e===Qe?[]:Array.from(e),Qe="__NO_CODA__",Uu=[1,2,3,4],et=5,Dd=12,Gu="SYL_",ro=e=>`${Gu}${e}`,vd=e=>Number(e.slice(Gu.length));function ao(e){return e>=et?Array.from({length:Dd-et+1},(t,n)=>et+n):[e]}const Yu={cho:Td,jung:xd,jong:Bd},io=e=>e.map(t=>t.map(({jamos:n,tooltip:o})=>({v:n.join(""),tooltip:o}))),so={cho:io(uo.cho),jung:io(uo.jung),jong:io(uo.jong)},qu={};so.jung.flat().forEach(({v:e})=>{for(const t of st(e))qu[t]=e});const Od=new Set(so.cho.flat().map(e=>e.v));function Wu(e,t){return e==="cho"?Od.has(t)?t:null:e==="jung"?qu[t]??t:qo(t)}function Ku(e,t,n){if(e==="jung"){const o=st(t);return n&&o.includes(n)?n:o[0]??t}return t}function Xu(e,t,n){const o=(u,r)=>r?u==="jong"&&r===Qe?Qe:t==="pron"?Wu(u,r):Ku(u,r,u==="jung"?n:null):null;return{...e,cho:o("cho",e.cho),jung:o("jung",e.jung),jong:o("jong",e.jong)}}const lo={cho:null,jung:null,jong:null,syllable:null},Ld="wt_filter",Zu=e=>`wt_filter_${e}`;function Ju(e){try{const t=localStorage.getItem(Zu(e))??localStorage.getItem(Ld);if(t)return JSON.parse(t)}catch{}return null}function Rd(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?{...lo,cho:t.choseong}:lo}function Id(e,t,n){const{t:o,i18n:u}=gt.useTranslation(),[r]=l.useState(()=>n?.resetOnMount?null:Ju(e)),i=r?.contrastCount,s=typeof i=="number"&&Number.isFinite(i)?i:1,[c,C]=l.useState(Math.min(5,Math.max(1,s))),[f,p]=l.useState(r?.phonemeView==="pron"?"pron":r?.phonemeView==="direct"?"direct":"char"),[d,m]=l.useState(()=>Rd(r)),k=l.useCallback(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:Qe,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?Qe:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);l.useEffect(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||m(_=>_.cho||_.jung||_.syllable!=null||_.jong?_:k())},[]);const w=l.useMemo(()=>_e(d.cho)||_e(d.jung)||_e(d.jong)?"count":"random",[d.cho,d.jung,d.jong]),E=l.useRef(f==="char"?d.jung:null);l.useEffect(()=>{f==="char"&&(E.current=d.jung)},[f,d.jung]);const[g,S]=l.useState(n?.resetOnMount?!!n?.defaultImageOnly:r?.excludeNoImage??!0),[A,B]=l.useState(n?.resetOnMount?!1:r?.sameStructureOnly??!0),[L,D]=l.useState(Array.isArray(r?.gradeFilter)?r.gradeFilter:[]),[I,$]=l.useState(Array.isArray(r?.posFilter)?r.posFilter:[]),[G,P]=l.useState(Array.isArray(r?.wordTypeFilter)?r.wordTypeFilter:[]),Q=l.useRef(n?.resetKey);l.useEffect(()=>{Q.current!==n?.resetKey&&(Q.current=n?.resetKey,m(k()),S(!1),B(!1),D([]),$([]),P([]),C(1))},[n?.resetKey]);const Y=Fu(),[W,F]=l.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[x,v]=l.useState(!1),[ye,Z]=l.useState(null),ee=1,M=Math.max(1,[d.cho,d.jung,d.jong].filter(Boolean).length);l.useEffect(()=>{c<M&&C(M)},[M,c]);const[j,ae]=l.useState(e);l.useEffect(()=>{if(j!==e){if(!n?.resetOnMount){const _=Ju(e),z=typeof _?.contrastCount=="number"&&Number.isFinite(_.contrastCount)?_.contrastCount:1;C(Math.min(5,Math.max(1,z))),m(_?.composition??k()),S(_?.excludeNoImage??!0),B(_?.sameStructureOnly??!0),p(_?.phonemeView==="pron"?"pron":"char"),D(Array.isArray(_?.gradeFilter)?_.gradeFilter:[]),$(Array.isArray(_?.posFilter)?_.posFilter:[]),P(Array.isArray(_?.wordTypeFilter)?_.wordTypeFilter:[])}ae(e)}},[e,j,n?.resetOnMount]),l.useEffect(()=>{if(!n?.resetOnMount&&j===e)try{localStorage.setItem(Zu(e),JSON.stringify({contrastCount:c,composition:d,excludeNoImage:g,sameStructureOnly:A,phonemeView:f,gradeFilter:L,posFilter:I,wordTypeFilter:G}))}catch{}},[n?.resetOnMount,e,j,c,d,g,A,f,L,I,G]);const[ne,q]=l.useState(0);Oo("wordpool:update",()=>q(_=>_+1));const Me=l.useRef(u.language);l.useEffect(()=>{Me.current!==u.language&&(Me.current=u.language,q(_=>_+1))},[u.language]),l.useEffect(()=>{if(!t.choseong)return;let _=!1;return Ra({difficulty:w,excludeNoImage:g}).then(z=>{_||(F(z),z.cho.size+z.jung.size+z.jong.size>0&&v(!0))}).catch(()=>{_||F({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{_=!0}},[t.choseong,w,g,ne]),l.useEffect(()=>{let _=!1;const z=d,O=z.cho?st(z.cho):null,K=z.jung?st(z.jung):null,ie=z.jong===Qe,Pe=ie?null:z.jong?st(z.jong):null,ve=z.syllable!=null?ao(z.syllable):null,be=!!(O||K||Pe||ie||ve);return La({difficulty:t.difficulty?w:null,contrastCount:t.difficulty?c:1,composition:t.choseong&&be?{cho:O,jung:K,jong:Pe,jongNone:ie,syllable:ve}:null,excludeNoImage:g,sameStructureOnly:A,phonemeView:f==="pron"?"pron":"char",grade:L.length>0?L:null}).then(Ne=>{_||Z(Ne)}).catch(()=>{_||Z(null)}),()=>{_=!0}},[t.choseong,t.difficulty,w,c,d,f,g,A,ne,L]),l.useEffect(()=>{x&&m(_=>{const z={..._};let O=!1;return["cho","jung","jong"].forEach(K=>{const ie=_[K];!ie||ie===Qe||st(ie).some(Pe=>W[K].has(Pe))||(z[K]=null,O=!0)}),_.syllable!=null&&t.fixedSyllable==null&&(_.syllable>=et?[...W.syllable].some(K=>K>=et)||(z.syllable=null,O=!0):(!W.syllable.has(_.syllable)||_.syllable<ee)&&(z.syllable=null,O=!0)),O?z:_})},[W,x,ee,t.fixedSyllable]);const X=l.useMemo(()=>{const _=z=>{const O=new Set;for(const K of Yu[z])W[z].has(K)&&O.add(K);return O};return{cho:_("cho"),jung:_("jung"),jong:_("jong")}},[W]),he=l.useMemo(()=>({exact:new Set(Uu.filter(_=>W.syllable.has(_))),min:[...W.syllable].some(_=>_>=et)}),[W]),H=l.useMemo(()=>({diffPhonemeCount:o("training.contrast.diffPhonemeCount",{defaultValue:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218"}),composition:o("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:o("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:o("wordPairs.onset","\uCD08\uC131"),vowel:o("wordPairs.vowel","\uBAA8\uC74C"),coda:o("wordPairs.coda","\uC885\uC131"),phonemeGroup:o("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:o("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:o("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:o("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:o("training.filter.random","\uBB34\uC791\uC704"),exclude:o("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:o("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:o("common.none","\uC5C6\uC74C"),noImage:o("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:o("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:o("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:o("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:o("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:o("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}),[o]),He=l.useMemo(()=>({[H.trainOnset]:"cho",[H.trainVowel]:"jung",[H.trainCoda]:"jong"}),[H]),ze=l.useCallback((_,z)=>l.createElement(_d,{title:z,items:_}),[]),je=l.useMemo(()=>[o("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."}),o("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."})],[o]),tt=l.useMemo(()=>{const _=[];if(t.choseong){const z={value:Qe,displayLabel:H.codaExclude},O=t.fixedNoCoda===!0,K=(ie,Pe)=>{const ve=O&&ie==="jong",be={label:Pe,groupLabel:H.phonemeGroup,allOption:!t.requireSyllable,allLabel:H.noLimit,allOptionDisabled:ve};if(f==="pron"){const Se=so[ie].map(Ct=>Ct.map(({v:We,tooltip:ot})=>{const Ue=st(We),$e=ve||!Ue.some(lt=>W[ie].has(lt));return Ue.length>1?{value:We,labels:Ue,tooltip:ot,disabled:$e}:{value:We,tooltip:ot,disabled:$e}}));return ie==="jong"&&!t.requireCoda&&Se.unshift([z]),{...be,groups:Se}}const Ne=Yu[ie].map(Se=>!ve&&X[ie].has(Se)?Se:{value:Se,disabled:!0});return{...be,items:ie==="jong"&&!t.requireCoda?[z,...Ne]:Ne}};_.push(K("cho",H.trainOnset)),_.push(K("jung",H.trainVowel)),_.push(K("jong",H.trainCoda))}if(_.push({...Hu(o,Y,{labelAction:ze([o("wordPairs.filter.difficultyInfo",{defaultValue:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4."})])}),label:H.gradeLabel}),t.partOfSpeech&&_.push(zu(Y)),t.wordType&&_.push(Vu(Y)),t.choseong||t.fixedSyllable!=null){const z=t.fixedSyllable;_.push({label:H.syllableCount,items:[...Uu.map(O=>({value:ro(O),displayLabel:o("wordPairs.syllableN",{n:O,defaultValue:"{{n}}\uC74C\uC808"}),disabled:z!=null?O!==z:!he.exact.has(O)||O<ee})),{value:ro(et),displayLabel:o("wordPairs.syllableNPlus",{n:et,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:z!=null?et!==z:!he.min}],allOption:!0,allOptionDisabled:z!=null})}return t.choseong?_.push({label:H.exclude,displayLabel:H.selectLabel,multiple:!0,items:[H.excludeImage,H.sameStructure],labelAction:ze(je)}):_.push({label:H.exclude,displayLabel:H.selectLabel,multiple:!0,items:[H.excludeImage],labelAction:ze([je[0]])}),_},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,ee,X,W,f,he,H,o,ze,je,Y]),Ve={...t.difficulty?{[H.diffPhonemeCount]:String(c)}:{},...(t.choseong||t.fixedSyllable!=null)&&d.syllable!=null?{[H.syllableCount]:ro(d.syllable)}:{},...t.choseong&&d.cho?{[H.trainOnset]:d.cho}:{},...t.choseong&&d.jung?{[H.trainVowel]:d.jung}:{},...t.choseong&&d.jong?{[H.trainCoda]:d.jong}:{},[H.exclude]:[...g?[H.excludeImage]:[],...A?[H.sameStructure]:[]],[H.gradeLabel]:L.map(_=>o("wordSearch.filter.grade",{n:Number(_),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[Y.partOfSpeech]:I}:{},...t.wordType?{[Y.wordType]:G}:{}},te=l.useCallback((_,z)=>{if(z===H.diffPhonemeCount){const O=Number(_);O>=1&&C(O)}else if(z===H.exclude)_===H.excludeImage?S(O=>!O):_===H.sameStructure&&B(O=>!O);else if(z===H.syllableCount)m(O=>{if(!_||_===bt)return{...O,syllable:null};const K=vd(_);return{...O,syllable:O.syllable===K?null:K}});else if(z===H.gradeLabel){if(!_||_===bt){D([]);return}const O=_.replace(/\D/g,"");D(K=>K.includes(O)?K.filter(ie=>ie!==O):[...K,O])}else if(z===Y.partOfSpeech){if(!_||_===bt){$([]);return}$(O=>O.includes(_)?O.filter(K=>K!==_):[...O,_])}else if(z===Y.wordType){if(!_||_===bt){P([]);return}P(O=>O.includes(_)?O.filter(K=>K!==_):[...O,_])}else{const O=He[z];if(!O)return;m(K=>t.requireSyllable?_&&_!==bt?{...K,[O]:_}:K:!_||_===bt||K[O]===_?{...K,[O]:null}:{...K,[O]:_})}},[H,He,Y,t.requireSyllable]),nt=l.useCallback(_=>!t.partOfSpeech&&!t.wordType?!0:Nd(_,{...t.partOfSpeech?{[Y.partOfSpeech]:I}:{},...t.wordType?{[Y.wordType]:G}:{}},Y),[t.partOfSpeech,t.wordType,I,G,Y]),oe=l.useCallback(_=>{_!==f&&(_!=="direct"&&f!=="direct"&&m(z=>Xu(z,_,E.current)),p(_))},[f]),pt=l.useCallback(()=>({composition:d,contrastCount:c,excludeNoImage:g,sameStructureOnly:A,phonemeView:f,gradeFilter:L}),[d,c,g,A,f,L]),pe=l.useCallback(_=>{m(_.composition),C(_.contrastCount),S(_.excludeNoImage),B(_.sameStructureOnly??!0),p(_.phonemeView),D(Array.isArray(_.gradeFilter)?_.gradeFilter:[])},[]);return{difficulty:w,contrastCount:c,composition:d,choseong:d.cho,excludeNoImage:g,sameStructureOnly:A,gradeFilter:L,posFilter:I,wordTypeFilter:G,matchesWordAttributes:nt,poolVersion:ne,filterSections:tt,filterSelected:Ve,handleFilterSelect:te,phonemeView:f,setPhonemeView:oe,phonemeGroupLabel:H.phonemeGroup,wordCount:ye,getFilterSnapshot:pt,restoreFilterSnapshot:pe}}function jd(e){const t=s=>s?st(s):null,n=t(e.cho),o=t(e.jung),u=e.jong===Qe,r=u?null:t(e.jong),i=e.syllable!=null?ao(e.syllable):null;return!n&&!o&&!r&&!u&&!i?null:{cho:n,jung:o,jong:r,jongNone:u,syllable:i}}function Pd(e,t,n,o,u,r,i=!0,s="char",c=[]){const[C,f]=l.useState({}),[p,d]=l.useState(!1),{cho:m=null,jung:k=null,jong:w=null,syllable:E=null}=o??{},g=c.length>0?c.slice().sort().join(","):"";return l.useEffect(()=>{r>0&&Oa(u).catch(()=>{})},[r,u]),l.useEffect(()=>{let S=!1;return d(!0),(async()=>{const A=jd({cho:m,jung:k,jong:w,syllable:E}),B=`${m??""}_${k??""}_${w??""}_${E??""}_${g}`,L={};await Promise.all(e.map(async D=>{const I=Fn[D.key];try{const $=await iu(D.key,{difficulty:I.difficulty?t:null,contrastCount:I.difficulty?n:1,composition:I.choseong?A:null,count:5,excludeNoImage:u,sameStructureOnly:i,phonemeView:s,grade:c.length>0?c:null});$&&$.length>0?L[D.key]={id:`wt-${D.key}-${t}-${B}-${Date.now()}`,name:D.label,training_type:D.key,category_main_code:"WORD",iconColor:D.color,subTitle:D.subTitle,items:$,itemCount:$.length}:L[D.key]={id:`wt-${D.key}-empty`,name:D.label,training_type:D.key,category_main_code:"WORD",iconColor:D.color,subTitle:D.subTitle,items:[],itemCount:0,__empty:!0}}catch{L[D.key]=null}})),S||(f(L),d(!1))})(),()=>{S=!0}},[t,n,m,k,w,E,u,i,s,r,g]),{perTypeData:C,generating:p}}function $d(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 Fd(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 Mn=at;function co(e,t){const n=t?Fd($d(t)):Math.random;return{LISTEN_IN_NOISE:Mn(Zt,Math.max(0,e.LISTEN_IN_NOISE||0),n),SHORT_STORY:Mn(Jt,Math.max(0,e.SHORT_STORY||0),n),LONG_STORY:Mn(Qt,Math.max(0,e.LONG_STORY||0),n),ORDERING_SENTENCE:Mn(en,Math.max(0,e.ORDERING_SENTENCE||0),n)}}function Qu(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const Hd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function er(e=!1,t=Hd,n){const o=kn(Date.now()),u=kn(Date.now()-864e5),r=`${n??""}|${o}`,i=`${n??""}|${u}`;return Zt.length>0||Jt.length>0||Qt.length>0||en.length>0?{today:co(t,r),yesterday:co(t,i)}:{today:co(t,r),yesterday:null}}function zd(e){const t=l.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=l.useRef(null),[o,u]=l.useState(!1),[r,i]=l.useState(!1),[s,c]=l.useState(0);l.useEffect(()=>{let f=!1,p,d=0;const m=40,k=()=>{p!==void 0&&(clearInterval(p),p=void 0)};let w=!1;try{const S=new URLSearchParams(window.location.search),A=S.get("forceRefresh")||S.get("force");w=A==="1"||A==="true"}catch{}const E=S=>{t.current=S.today,n.current=S.yesterday,u(!0),c(A=>A+1),f=!0,k()},g=async()=>{if(f)return;if(!w){const A=er(!1,void 0,e);if(Qu(A.today)){E(A);return}}try{await ld(3e3)}catch{}if(f)return;const S=er(w,void 0,e);if(Qu(S.today)){E(S);return}++d>=m&&(u(!0),f=!0,k())};return g(),p=setInterval(g,250),()=>{f=!0,k()}},[e]);const C=l.useCallback(f=>{const p=r?n.current:t.current,d=r?t.current:n.current;return p?.[f]?.length?p[f]:d?.[f]?.length?d[f]:void 0},[r,s]);return{loaded:o,showYesterday:r,setShowYesterday:i,getTrainingPerType:C}}const Lt=[];let Nn=!1;function tr(e){if(e.key!=="Escape"||e.defaultPrevented)return;const t=Lt[Lt.length-1];t&&(e.stopPropagation(),t())}function Vd(e){return Lt.push(e),!Nn&&typeof document<"u"&&(document.addEventListener("keydown",tr),Nn=!0),()=>{const t=Lt.lastIndexOf(e);t>=0&&Lt.splice(t,1),Lt.length===0&&Nn&&typeof document<"u"&&(document.removeEventListener("keydown",tr),Nn=!1)}}function Ud(e,t=!0){const n=vo(e);l.useEffect(()=>{if(t)return Vd(()=>{n.current?.()})},[t,n])}const ho=(e,t)=>`${e}:${t??1}`,fo=new Map;function Gd(e,t){const[n,o]=l.useState(0),u=e.map(r=>ho(r.word,r.homonum)).join("|");return l.useEffect(()=>{const r=(u?u.split("|"):[]).filter(c=>!fo.has(c));if(r.length===0)return;let i=!1;const s=Array.from(new Set(r.map(c=>c.slice(0,c.lastIndexOf(":")))));return t(s).then(c=>{if(!(i||c.length===0)){for(const C of c)C.Meaning&&fo.set(ho(C.Word,C.Homonum??void 0),C.Meaning);o(C=>C+1)}}),()=>{i=!0}},[u,t]),l.useMemo(()=>{const r=u?u.split("|"):[],i=new Map;for(const s of r){const c=fo.get(s);c!=null&&i.set(s,c)}return i},[u,n])}function Yd(e,t,n){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,u=Math.max(1,Math.ceil(e.length/o)),r=Number.isFinite(n)?Math.min(Math.max(1,Math.floor(n)),u):1;return{pageItems:l.useMemo(()=>e.slice((r-1)*o,r*o),[e,r,o]),totalPages:u,curPage:r}}function qd(e="warning"){const[t,n]=l.useState(""),[o,u]=l.useState(e),[r,i]=l.useState(0),s=l.useCallback((p,d)=>{u(d),n(p),i(m=>m+1)},[]),c=l.useCallback(p=>s(p,"warning"),[s]),C=l.useCallback(p=>s(p,"normal"),[s]),f=l.useCallback(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:r,showToast:s,showWarning:c,showNormal:C,clearToast:f}}const nn={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},on=nn.blue,Tn=nn.green,un=nn.amber,xn=nn.purple,Wd=nn.pink,Kd=[{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:on,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:on,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:on,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:on,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:on,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:Tn,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:Tn,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:Tn,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:Tn,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:un,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:un,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:un,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:un,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:un,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:xn,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:xn,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:xn,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:xn,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:Wd,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function Xd(){const{t:e}=gt.useTranslation();return l.useMemo(()=>{const t=Object.fromEntries(hd(e).map(o=>[o.key,o.label])),n={...t};return Kd.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}exports.CACHE_GROUPS=Ho,exports.DocumentTitleSuppressContext=Ro,exports.EMPTY_COMPOSITION=lo,exports.MediaQueryOverrideContext=Do,exports.NO_CODA=Qe,exports.SYLLABLE_MIN=et,exports.VAP_PAGE_SIZE_OPTIONS=Go,exports.buildGradeSection=Hu,exports.buildPartOfSpeechSection=zu,exports.buildPositionSection=Sd,exports.buildSelectSection=bd,exports.buildSyllableSection=Ed,exports.buildWordTypeSection=Vu,exports.charToPronValue=Wu,exports.convertComposition=Xu,exports.fmtBytes=Pr,exports.lsBytes=zo,exports.meaningKey=ho,exports.pronToCharValue=Ku,exports.syllableToFilter=ao,exports.today=zt,exports.toggleAttributeFilter=kd,exports.useCacheManagement=$r,exports.useDailyTrainingSelection=zd,exports.useDelayedHoverAnchor=gd,exports.useDeviceManagement=Wr,exports.useDocumentTitle=br,exports.useEscToClose=Ud,exports.useFontScale=gr,exports.useHoverAnchor=$u,exports.useMediaQuery=Er,exports.usePagedList=Yd,exports.usePasswordChange=kr,exports.useRelativeDay=Sr,exports.useTablePaging=Yr,exports.useTableSort=qr,exports.useToastState=qd,exports.useTrainingTypeLabels=Xd,exports.useVisitAllPanel=Gr,exports.useVisitHistory=zr,exports.useVisitSchedule=Ur,exports.useWindowEvent=Oo,exports.useWordAttributeFilterKeys=Fu,exports.useWordDataStats=Fr,exports.useWordMeanings=Gd,exports.useWordTrainingDataGeneration=Pd,exports.useWordTrainingFilter=Id,exports.valueToJamos=st;