@ihabdevteam/core 0.8.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hooks.cjs.js CHANGED
@@ -1,799 +1,783 @@
1
- "use strict";var c=require("react"),Y=require("react/jsx-runtime"),Io=require("react-dom"),Fn=typeof document<"u"?document.currentScript:null;function Tu({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:u=1.4}={}){const s=_=>Math.max(n,Math.min(o,Number(_))),[i,l]=c.useState(()=>{try{const _=localStorage.getItem(e),g=_?Number(_):1;return Number.isFinite(g)?g:1}catch{return 1}});c.useEffect(()=>{try{localStorage.setItem(e,String(i))}catch{}},[e,i]);const C=_=>{l(typeof _=="function"?g=>s(_(g)):s(_))},p=()=>C(_=>+(_+r).toFixed(6)),h=()=>C(_=>+(_-r).toFixed(6)),d=i<o-Number.EPSILON,y=i>n+Number.EPSILON,E=Math.round(t*i),b=Math.round(E*u);return{scale:i,setScale:C,increase:p,decrease:h,canIncrease:d,canDecrease:y,fontSize:E,lineHeight:b}}const jo=c.createContext(null);function xu(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Bu(e){const t=c.useContext(jo),n=u=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(u).matches,[o,r]=c.useState(n(e));return c.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const u=window.matchMedia(e),s=l=>r(l.matches),i=u;return i.addEventListener?i.addEventListener("change",s):i.addListener&&i.addListener(s),r(u.matches),()=>{i.removeEventListener?i.removeEventListener("change",s):i.removeListener&&i.removeListener(s)}},[e]),t&&typeof t.mobile=="boolean"&&xu(e)?t.mobile:o}function Po(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),t}function $o(e,t){const n=Po(t);c.useEffect(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const Hn=" \xB7 ",Fo=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(Hn)?e.split(Hn).pop()??e:e})(),Ho=c.createContext(!1);function vu(e){const t=c.useContext(Ho);c.useEffect(()=>{if(t||typeof e!="string"||!e)return;const n=document.title;return document.title=Fo?`${e}${Hn}${Fo}`:e,()=>{document.title=n}},[e,t])}const Du=(e,t,n,o)=>{const r=[n,{code:t,...o||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(r,"warn","react-i18next::",!0);mt(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...r):console?.warn&&console.warn(...r)},zo={},Cn=(e,t,n,o)=>{mt(n)&&zo[n]||(mt(n)&&(zo[n]=new Date),Du(e,t,n,o))},Vo=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},zn=(e,t,n)=>{e.loadNamespaces(t,Vo(e,n))},Uo=(e,t,n,o)=>{if(mt(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return zn(e,n,o);n.forEach(r=>{e.options.ns.indexOf(r)<0&&e.options.ns.push(r)}),e.loadLanguages(t,Vo(e,o))},Ou=(e,t,n={})=>!t.languages||!t.languages.length?(Cn(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(o,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!r(o.isLanguageChangingTo,e))return!1}}),mt=e=>typeof e=="string",Lu=e=>typeof e=="object"&&e!==null,Ru=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Iu={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xA9","&#169;":"\xA9","&reg;":"\xAE","&#174;":"\xAE","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},ju=e=>Iu[e],Pu=e=>e.replace(Ru,ju);let $u={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Pu,transDefaultProps:void 0};const Fu=()=>$u;let Hu;const zu=()=>Hu,Vu=c.createContext();class Uu{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Vn={exports:{}},Un={};/**
2
- * @license React
3
- * use-sync-external-store-shim.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Go;function Gu(){if(Go)return Un;Go=1;var e=c;function t(h,d){return h===d&&(h!==0||1/h===1/d)||h!==h&&d!==d}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,r=e.useEffect,u=e.useLayoutEffect,s=e.useDebugValue;function i(h,d){var y=d(),E=o({inst:{value:y,getSnapshot:d}}),b=E[0].inst,_=E[1];return u(function(){b.value=y,b.getSnapshot=d,l(b)&&_({inst:b})},[h,y,d]),r(function(){return l(b)&&_({inst:b}),h(function(){l(b)&&_({inst:b})})},[h]),s(y),y}function l(h){var d=h.getSnapshot;h=h.value;try{var y=d();return!n(h,y)}catch{return!0}}function C(h,d){return d()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?C:i;return Un.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Un}var Gn={};/**
10
- * @license React
11
- * use-sync-external-store-shim.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var qo;function qu(){return qo||(qo=1,process.env.NODE_ENV!=="production"&&(function(){function e(y,E){return y===E&&(y!==0||1/y===1/E)||y!==y&&E!==E}function t(y,E){p||r.startTransition===void 0||(p=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var b=E();if(!h){var _=E();u(b,_)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}_=s({inst:{value:b,getSnapshot:E}});var g=_[0].inst,k=_[1];return l(function(){g.value=b,g.getSnapshot=E,n(g)&&k({inst:g})},[y,b,E]),i(function(){return n(g)&&k({inst:g}),y(function(){n(g)&&k({inst:g})})},[y]),C(b),b}function n(y){var E=y.getSnapshot;y=y.value;try{var b=E();return!u(y,b)}catch{return!0}}function o(y,E){return E()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=c,u=typeof Object.is=="function"?Object.is:e,s=r.useState,i=r.useEffect,l=r.useLayoutEffect,C=r.useDebugValue,p=!1,h=!1,d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:t;Gn.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:d,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Gn}process.env.NODE_ENV==="production"?Vn.exports=Gu():Vn.exports=qu();var Yu=Vn.exports;const Wu=(e,t)=>{if(mt(t))return t;if(Lu(t)&&mt(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const n=e[e.length-1];return typeof n=="function"?"":n}return e},Ku={t:Wu,ready:!1},Xu=()=>()=>{},gt=(e,t={})=>{const{i18n:n}=t,{i18n:o,defaultNS:r}=c.useContext(Vu)||{},u=n||o||zu();u&&!u.reportNamespaces&&(u.reportNamespaces=new Uu),u||Cn(u,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.");const s=c.useMemo(()=>({...Fu(),...u?.options?.react,...t}),[u,t]),{useSuspense:i,keyPrefix:l}=s,C=e||r||u?.options?.defaultNS,p=mt(C)?[C]:C||["translation"],h=c.useMemo(()=>p,p);u?.reportNamespaces?.addUsedNamespaces?.(h);const d=c.useRef(0),y=c.useCallback(L=>{if(!u)return Xu;const{bindI18n:T,bindI18nStore:U}=s,$=()=>{d.current+=1,L()};return T&&u.on(T,$),U&&u.store.on(U,$),()=>{T&&T.split(" ").forEach(q=>u.off(q,$)),U&&U.split(" ").forEach(q=>u.store.off(q,$))}},[u,s]),E=c.useRef(),b=c.useCallback(()=>{if(!u)return Ku;const L=!!(u.isInitialized||u.initializedStoreOnce)&&h.every(O=>Ou(O,u,s)),T=t.lng||u.language,U=d.current,$=E.current;if($&&$.ready===L&&$.lng===T&&$.keyPrefix===l&&$.revision===U)return $;const H={t:u.getFixedT(T,s.nsMode==="fallback"?h:h[0],l,{scopeNs:h}),ready:L,lng:T,keyPrefix:l,revision:U};return E.current=H,H},[u,h,l,s,t.lng]),[_,g]=c.useState(0),{t:k,ready:w}=Yu.useSyncExternalStore(y,b,b);c.useEffect(()=>{if(u&&!w&&!i){const L=()=>g(T=>T+1);t.lng?Uo(u,t.lng,h,L):zn(u,h,L)}},[u,t.lng,h,w,i,_]);const x=u||{},R=c.useRef(null),D=c.useRef(),P=L=>{const T=Object.getOwnPropertyDescriptors(L);T.__original&&delete T.__original;const U=Object.create(Object.getPrototypeOf(L),T);if(!Object.prototype.hasOwnProperty.call(U,"__original"))try{Object.defineProperty(U,"__original",{value:L,writable:!1,enumerable:!1,configurable:!1})}catch{}return U},G=c.useMemo(()=>{const L=x,T=L?.language;let U=L;L&&(R.current&&R.current.__original===L?D.current!==T?(U=P(L),R.current=U,D.current=T):U=R.current:(U=P(L),R.current=U,D.current=T));const $=!w&&!i?(...H)=>(Cn(u,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),k(...H)):k,q=[$,U,w];return q.t=$,q.i18n=U,q.ready=w,q},[k,x,w,x.resolvedLanguage,x.language,x.languages]);if(u&&i&&!w){let L=!1;try{L=process.env.NODE_ENV!=="production"}catch{}throw L&&Cn(u,"SUSPENDED_WHILE_LOADING","useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook"),new Promise(T=>{const U=()=>T();t.lng?Uo(u,t.lng,h,U):zn(u,h,U)})}return G};function Zu(){const{t:e}=gt();return c.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 Ju(e){const[t,n]=c.useState({current:"",next:"",confirm:""}),[o,r]=c.useState(null),[u,s]=c.useState(!1),i=c.useRef(null);c.useEffect(()=>()=>{i.current!==null&&clearTimeout(i.current)},[]);const l=c.useCallback(()=>{n({current:"",next:"",confirm:""}),r(null)},[]),C=c.useCallback(async()=>{if(!t.current){r({type:"error",text:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(!t.next){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(t.next!==t.confirm){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."});return}s(!0);const p=e?await e(t.current,t.next):null;if(s(!1),p){r({type:"error",text:p});return}r({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),n({current:"",next:"",confirm:""}),i.current!==null&&clearTimeout(i.current),i.current=setTimeout(()=>r(null),1500)},[t,e]);return{pw:t,setPw:n,pwMsg:o,setPwMsg:r,pwLoading:u,handleChangePw:C,reset:l}}const Se=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],ut=["\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 ie(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 Qu(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>ie(o)),e.set(t,n)),n}}function _t(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function ea(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let n=0,o=null;for(let r=0;r<e.length;r++){const u=ie(e[r]),s=ie(t[r]);if(!u||!s)return"random";if(u.cho===s.cho&&u.jung===s.jung&&u.jong===s.jong)continue;n++;const i=u.cho!==s.cho,l=u.jung!==s.jung,C=u.jong!==s.jong;(i?1:0)+(l?1:0)+(C?1:0)>1?o="multi":i?o="cho":l?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const Ft={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(Ft).map(([e,t])=>[t.join(""),Pe[Number(e)]]));function ta(e,t){if(!e||!t)return!1;for(const n of e){const o=ie(n);if(o){if(Se[o.cho]===t)return!0;if(o.jong>0){if(Pe[o.jong]===t)return!0;const r=Ft[o.jong];if(r&&r.includes(t))return!0}}}return!1}function yn(e){if(!e)return 0;let t=0;for(const n of e)ie(n)&&t++;return t}function na(e){if(!e)return!1;let t=!1;for(const n of e){const o=ie(n);if(o&&(t=!0,o.jong>0))return!1}return t}function oa(e,t){if(e.jong<=0)return!1;if(t.includes(Pe[e.jong]))return!0;const n=Ft[e.jong];return!!n&&n.some(o=>t.includes(o))}function ra(e,t,n){if(!e)return!1;const o=[...e],r=u=>{const s=ie(o[u]);if(!s||t.cho&&!t.cho.includes(Se[s.cho])||t.jung&&!t.jung.includes(ut[s.jung]))return!1;if(t.jongNone){if(s.jong>0)return!1}else if(t.jong&&!oa(s,t.jong))return!1;return!0};if(n==="head")return r(0);if(n==="tail")return r(o.length-1);if(n==="mid"){for(let u=1;u<o.length-1;u++)if(r(u))return!0;return!1}for(let u=0;u<o.length;u++)if(r(u))return!0;return!1}const ua={cho:Se.length,jung:ut.length,jong:Pe.length};function aa(e,t,n,o,r=1/0){if(!e||n<1)return[];const u=[...e].map(h=>ie(h));if(u.some(h=>!h))return[];const s=u,i=s.length;if(n>i)return[];const l=ua[t],C=new Set,p=[];(function h(d,y){if(y.length===n){p.push([...y]);return}for(let E=d;E<i;E++)y.push(E),h(E+1,y),y.pop()})(0,[]);for(const h of p)if((function d(y,E){if(C.size>=r)return;if(y===h.length){const g=E.map(k=>_t(k.cho,k.jung,k.jong)).join("");g!==e&&o.has(g)&&C.add(g);return}const b=h[y],_=s[b][t];for(let g=0;g<l;g++){if(g===_)continue;const k=E.slice();if(k[b]={...E[b],[t]:g},d(y+1,k),C.size>=r)return}})(0,s),C.size>=r)break;return[...C]}function sa(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const r=ie(e[o]),u=ie(t[o]);if(!r||!u)return-1;r.cho!==u.cho&&n++,r.jung!==u.jung&&n++,r.jong!==u.jong&&n++}return n}const Yo="word_pair_index_v2",Wo="word_pair_index_sig_v2";let Ht=null;function ia(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Yo),t=localStorage.getItem(Wo);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function zt(){if(Ht)return Ht;const e=ia();return e?(Ht=e.index,e.sig,Ht):null}function ca(){Ht=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Yo),localStorage.removeItem(Wo))}catch{}}const Ko="word_image_existence_map_v1";let vt=null;function Xo(){if(vt)return vt;try{const e=typeof localStorage<"u"?localStorage.getItem(Ko):null;vt=e?JSON.parse(e):{}}catch{vt={}}return vt}function la(e,t){return`${e}_${t??1}`}function da(e,t){const n=Xo(),o=la(e,t);return o in n?n[o]:void 0}function Zo(){const e=Xo(),t=Object.values(e);return t.length===0?null:{total:t.length,exists:t.filter(Boolean).length}}function ha(){vt={};try{typeof localStorage<"u"&&localStorage.removeItem(Ko)}catch{}}const Jo=[{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 Qo(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 fa(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 pa(e){const{t}=gt(),[n,o]=c.useState({}),[r,u]=c.useState(null),[s,i]=c.useState(null),[l,C]=c.useState(null),p=c.useCallback(()=>{const d={};Jo.forEach(y=>{d[y.id]=Qo([...y.keys])}),o(d),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(y=>{C({usage:y.usage??0,quota:y.quota??0})}).catch(()=>{})},[]);c.useEffect(()=>{p()},[p]);const h=c.useCallback(async d=>{u(d);try{d==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):d==="pairIndex"?ca():d==="imageCache"&&ha(),p(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{u(null)}},[p,e,t]);return{cacheSizes:n,clearingId:r,confirmCacheId:s,setConfirmCacheId:i,storageEstimate:l,refreshCacheSizes:p,handleClearCache:h}}function Ca(e){const[t,n]=c.useState(null),[o,r]=c.useState(null),u=c.useCallback(()=>{const s=zt();if(s){const l=Object.values(s),C=l.filter(p=>p.cho.length+p.jung.length+p.jong.length>0).length;n({matched:C,total:l.length})}else n(null);const i=Zo();r(i?{exists:i.exists,total:i.total}:null)},[]);return c.useEffect(()=>{u();const s=setTimeout(u,1e3);return()=>clearTimeout(s)},[e,u]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:r,refreshStats:u}}function er(e,t=[]){const[n,o]=c.useState(t),[r,u]=c.useState(null),[s,i]=c.useState(!1),[l,C]=c.useState(e),p=c.useRef(s);c.useEffect(()=>{p.current=s});const h=c.useRef(null);c.useEffect(()=>{if(p.current)return;const g=h.current;g!==null&&g.length===t.length&&g.every((k,w)=>k===t[w])||(h.current=t,o(t))},[t]);const d=c.useCallback(g=>{u(g),i(!1),C({...g})},[]),y=c.useCallback(()=>i(!0),[]),E=c.useCallback(()=>i(!1),[]),b=c.useCallback((g,k)=>{o(g),u(k),i(!1)},[]),_=c.useCallback(g=>{o(k=>k.filter(w=>w!==g)),u(null)},[]);return{list:n,setList:o,selected:r,setSelected:u,isEditing:s,setIsEditing:i,editForm:l,setEditForm:C,openDetail:d,startEditing:y,cancelEditing:E,commitEdit:b,remove:_}}const Vt=()=>{const e=new Date;return{year:String(e.getFullYear()),month:String(e.getMonth()+1).padStart(2,"0"),day:String(e.getDate()).padStart(2,"0")}},ya={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function ma(e=[]){const{list:t,setList:n,selected:o,setSelected:r,isEditing:u,setIsEditing:s,editForm:i,setEditForm:l,openDetail:C,commitEdit:p}=er(ya,e),{year:h,month:d,day:y}=Vt(),[E,b]=c.useState({year:h,month:d,day:y,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:E,setVisitForm:b,setVisit:_=>g=>b(k=>({...k,[_]:g})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:u,setIsEditingVisit:s,editVisitForm:i,setEditVisitForm:l,openVisitDetail:C,handleVisitSave:_=>{n(x=>[E,...x]);const{year:g,month:k,day:w}=Vt();b({year:g,month:k,day:w,hour:"09",minute:"00",memo:""}),_?.()},handleVisitEditSave:()=>{p(_=>_.map(g=>g===o?i:g),i)},addVisit:_=>{n(g=>[_,...g])},removeVisit:_=>{n(g=>g.filter(k=>k!==_))},revertVisitEdit:(_,g)=>{n(k=>k.map(w=>w===g?_:w)),r(k=>k===g?_:k)}}}const tr=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")}`,mn=e=>[...e].sort((t,n)=>{const o=tr(t),r=tr(n);return o<r?-1:o>r?1:0}),ga={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function _a(e,t=[]){const n=c.useMemo(()=>mn(t),[t]),{list:o,setList:r,selected:u,setSelected:s,isEditing:i,setIsEditing:l,editForm:C,setEditForm:p,openDetail:h,commitEdit:d,remove:y}=er(ga,n),[E,b]=c.useState([]),{year:_,month:g,day:k}=Vt(),[w,x]=c.useState({year:_,month:g,day:k,hour:"09",minute:"00",memo:""}),R=H=>O=>x(I=>({...I,[H]:O})),D=H=>{r(Z=>mn([...Z,w]));const{year:O,month:I,day:Ce}=Vt();x({year:O,month:I,day:Ce,hour:"09",minute:"00",memo:""}),H?.()},P=()=>{d(H=>mn(H.map(O=>O===u?C:O)),C)},G=c.useCallback(H=>{y(H)},[y]),L=c.useCallback(H=>{e({year:H.year,month:H.month,day:H.day,hour:H.hour,minute:H.minute,memo:H.memo}),y(H)},[e,y]),T=c.useCallback(H=>{r(O=>O.filter(I=>I!==H)),b(O=>[H,...O]),s(null)},[r,s]),U=c.useCallback(H=>{r(O=>mn([...O,H]))},[r]),$=c.useCallback(H=>{r(O=>O.filter(I=>I!==H))},[r]),q=c.useCallback((H,O)=>{r(I=>I.map(Ce=>Ce===O?H:Ce)),s(I=>I===O?H:I)},[r,s]);return{scheduleList:o,noShowList:E,addSchedule:U,removeSchedule:$,revertScheduleEdit:q,scheduleForm:w,setScheduleForm:x,setSchedule:R,selectedSchedule:u,setSelectedSchedule:s,isEditingSchedule:i,setIsEditingSchedule:l,editScheduleForm:C,setEditScheduleForm:p,openScheduleDetail:h,handleScheduleSave:D,handleScheduleEditSave:P,handleScheduleDelete:G,handleScheduleToVisit:L,handleScheduleNoVisit:T}}const nr=[{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 Ea(e){const[t,n]=c.useState(""),[o,r]=c.useState("25"),[u,s]=c.useState("all"),[i,l]=c.useState(1),C=c.useMemo(()=>e.filter(({item:d,status:y})=>!(t&&!d.memo.includes(t)||u!=="all"&&y!==u)),[e,t,u]),p=Math.max(1,Math.ceil(C.length/Number(o))),h=c.useMemo(()=>{const d=Math.min(i,p);return C.slice((d-1)*Number(o),d*Number(o))},[C,i,o,p]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:r,vapStatus:u,setVapStatus:s,vapPage:i,setVapPage:l,vapFiltered:C,vapTotal:p,vapPageItems:h}}function ba(e,t){const{t:n}=gt(),[o,r]=c.useState("25"),[u,s]=c.useState(1),[i,l]=c.useState(t);i!==t&&(l(t),u!==1&&s(1));const C=c.useMemo(()=>nr.map(y=>({...y,label:n("visits.showN",{n:y.value})})),[n]),p=c.useCallback(y=>{r(y),s(1)},[]),h=Math.max(1,Math.ceil(e.length/Number(o))),d=Math.min(u,h);return{pageRows:c.useMemo(()=>e.slice((d-1)*Number(o),d*Number(o)),[e,d,o]),pageSizeProps:{options:C,value:o,onChange:p},paginationProps:{page:d,total:h,onChange:s},setPage:s}}function Sa(){const[e,t]=c.useState(null),n=c.useCallback(r=>{t(u=>u?.key===r?{key:r,asc:!u.asc}:{key:r,asc:!0})},[]),o=c.useCallback((r,u)=>({label:r,sortDir:e?.key===u?e.asc?"asc":"desc":null,onClick:()=>n(u)}),[e,n]);return{\uC815\uB82C:e,\uCE78:o}}function ka(){const[e,t]=c.useState(!1),[n,o]=c.useState("\uC88C"),[r,u]=c.useState({\uC88C:null,\uC6B0:null}),[s,i]=c.useState({\uC88C:[],\uC6B0:[]}),[l,C]=c.useState(!1),[p,h]=c.useState("\uC88C"),d=c.useCallback(E=>{const b=E.direction;u(_=>({..._,[b]:E})),i(_=>({..._,[b]:[E,..._[b]]})),t(!1)},[]),y=c.useCallback(E=>{const b=E.direction;u(_=>({..._,[b]:E})),C(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:r,setDevices:u,deviceHistory:s,setDeviceHistory:i,showDeviceList:l,setShowDeviceList:C,listForSide:p,setListForSide:h,handleDeviceSubmit:d,handleSelectFromList:y}}const wa="__ihab_core_word_pool__";function gn(){return globalThis[wa]??null}function ae(e,t=Math.random){const n=e.slice();for(let o=n.length-1;o>0;o--){const r=Math.floor(t()*(o+1));[n[o],n[r]]=[n[r],n[o]]}return n}function 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 qn={SAME_SOUND_PICK:{difficulty:!0,choseong:!0,group:"discrimination"},SAME_OR_DIFF:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_SAME:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_INCLUDED:{difficulty:!0,choseong:!0,group:"discrimination"},STARTS_WITH_SAME_SOUND:{difficulty:!1,choseong:!0,group:"discrimination"},LISTEN_AND_REMEMBER_ORDER:{difficulty:!1,choseong:!0,group:"attention"},MERGE_2_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_2_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},DROP_1_FROM_2SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_1_FROM_3SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_PART_FROM_COMPOUND:{difficulty:!1,choseong:!0,group:"deletion"},DROP_FINAL_CONSONANT_FROM_1SYLL:{difficulty:!1,choseong:!0,group:"deletion"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{difficulty:!1,choseong:!0,group:"deletion"},CHANGE_1_SYLL_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_SYLL_IN_3SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_1SYLL:{difficulty:!1,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"}},Aa=Se.indexOf("\u3147"),or={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!==Aa},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}},Na={\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"},Ma={\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 rr(e){return Na[e]??e}const Yn={cho:Se,jung:ut,jong:Pe},_e=e=>Array.isArray(e)?e.length>0:!!e;function Wn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],r=t[n];if(!(!o||!r)&&(o.cho!==r.cho&&Se[o.cho]==="\u3147"!=(Se[r.cho]==="\u3147")||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function Ta(e,t,n){const o=n.pronOf(e),r=n.decompOf,u=n.sameStructureOnly&&r?r(o):null,s=[];for(const i of t)i!==e&&(n.okSet&&!n.okSet.has(i)||n.pronOf(i)!==o&&(u&&r&&Wn(u,r(n.pronOf(i)))||s.push(i)));return s}function ur(e,t,n){const o=t?.[e];if(!o)return[];const r=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return Ta(e,r,n)}function xa(e,t,n,o,r,u,s){const i=["cho","jung","jong"].filter(d=>_e(e[d])),l={};for(const d of i){const y=e[d];l[d]=new Set(Array.isArray(y)?y:[y])}const C=r==="pron",p=new Map;for(const d of t){const y=n(u(d));if(y.some(g=>!g))continue;let E=y;if(!C&&(E=n(d),E.length!==y.length||E.some(g=>!g)))continue;const b=y.length,_=p.get(b);_?_.push({w:d,dPron:y,dPos:E}):p.set(b,[{w:d,dPron:y,dPos:E}])}const h=new Map;for(const[d,y]of p){const E=new Map,b=(_,g)=>{const k=_.dPos[g];return k!=null&&i.every(w=>l[w].has(Yn[w][k[w]]))};for(const _ of y){let g;if(s==="head")g=b(_,0)?0:-1;else if(s==="tail")g=b(_,d-1)?d-1:-1;else if(s==="mid"){g=-1;for(let w=1;w<d-1;w++)if(b(_,w)){g=w;break}}else g=_.dPos.findIndex(w=>w!=null&&i.every(x=>l[x].has(Yn[x][w[x]])));if(g<0)continue;const k=E.get(g);k?k.push(_):E.set(g,[_])}for(const[_,g]of E){const k=new Set(i.map(R=>_+":"+R)),w=R=>{let D="";for(let P=0;P<d;P++){const G=R[P];for(const L of["cho","jung","jong"])D+=(k.has(P+":"+L)?"*":G[L])+"."}return D},x=new Map;for(const R of y){const D=w(R.dPron),P=x.get(D);P?P.push(R):x.set(D,[R])}for(const R of g){const D=x.get(w(R.dPron))??[],P=[];for(const G of D){if(G.w===R.w)continue;let L=!0;for(const T of i){const U=R.dPron[_][T],$=G.dPron[_][T];if($===U){L=!1;break}if(C&&l[T].has(Yn[T][$])){L=!1;break}}L&&(o&&Wn(R.dPron,G.dPron)||P.push(G.w))}h.set(R.w,P)}}}return h}const Ba=e=>e==null?[]:Array.isArray(e)?e:[e];function va(e){if([...e].length!==1)return"";const t=ie(e);if(!t)return"";const n=rr(Pe[t.jong]),o=n===""?0:Pe.indexOf(n);return _t(t.cho,t.jung,o<0?0:o)}function ar(e,t){return t.get(e)||va(e)||e}function Kn(e){return e?_e(e.cho)?"cho":_e(e.jung)?"jung":_e(e.jong)?"jong":null:null}function Dt(e,t){const n=(o,r)=>!_e(o)||Ba(o).includes(r);return n(t.cho,Se[e.cho])&&n(t.jung,ut[e.jung])&&n(t.jong,Pe[e.jong])}function Ut(e,t,n){const o=[...e];if(n!=="pron")return o.map(u=>ie(u));const r=[...t.get(e)||e];return r.length!==o.length?o.map(u=>ie(u)):r.map(u=>ie(u))}function Gt(e,t,n,o,r){const u=t==="cho"?Se:t==="jung"?ut:Pe,s=e[t],i=[],l=new Set([ar(n,r)]),C=ae(u.map((p,h)=>h).filter(p=>p!==s&&(t!=="cho"||u[p]!=="\u3147")&&(t!=="jong"||p!==0)));for(const p of C){if(i.length>=o)break;const h=t==="cho"?_t(p,e.jung,e.jong):t==="jung"?_t(e.cho,p,e.jong):_t(e.cho,e.jung,p),d=ar(h,r);l.has(d)||(l.add(d),i.push(h))}return i}function Da(e,t,n,o,r,u=null){const s=[...e];if(s.length!==2)return null;const i=s.map(h=>ie(h));if(i.some(h=>!h))return null;const l=Ut(e,n,o);if(l.some(h=>!h))return null;const C=Kn(t);let p=C&&t?l.map((h,d)=>Dt(h,t)?d:-1).filter(h=>h>=0):[0,1];if(u!=null&&(p=p.filter(h=>h!==u)),!p.length)return null;for(const h of ae(p)){const d=s[h];if(!r.has(d))continue;const y=Gt(i[h],C??"cho",d,40,n),E=[];for(const b of y)if(b!==d&&r.has(b)&&!E.includes(b)&&E.push(b),E.length>=2)break;if(!(E.length<2))return{question:e,distractors:[d,...E]}}return null}function Oa(e,t,n,o,r,u=null){const s=[...e];if(s.length!==3)return null;const i=s.map(h=>ie(h));if(i.some(h=>!h))return null;const l=Ut(e,n,o);if(l.some(h=>!h))return null;const C=Kn(t),p=C&&t?l.map((h,d)=>Dt(h,t)?d:-1).filter(h=>h>=0):[0,1,2];if(!p.length)return null;for(const h of ae(p))for(const d of ae([0,1,2].filter(y=>y!==h&&(u==null||y===u)))){const y=[0,1,2].filter(k=>k!==d),E=y.map(k=>s[k]).join("");if(!r.has(E))continue;const b=y.indexOf(h),_=Gt(i[h],C??"cho",s[h],40,n),g=[];for(const k of _){const w=y.map(R=>s[R]);w[b]=k;const x=w.join("");if(x!==E&&r.has(x)&&!g.includes(x)&&g.push(x),g.length>=2)break}if(!(g.length<2))return{question:e,distractors:[E,...g]}}return null}function La(e,t,n,o,r,u=null){const s=[...e],i=s.length;if(i<2)return null;const l=[];for(let p=1;p<=i-1;p++)l.push({remain:s.slice(0,p).join(""),dropped:s.slice(p).join(""),droppedEnd:1}),l.push({remain:s.slice(i-p).join(""),dropped:s.slice(0,i-p).join(""),droppedEnd:0});const C=Kn(t);for(const{remain:p,dropped:h,droppedEnd:d}of ae(l)){if(u!=null&&d!==u||p===e||!r.has(p)||!r.has(h))continue;const y=[...p],E=y.map(g=>ie(g));if(E.some(g=>!g))continue;const b=Ut(p,n,o);if(b.some(g=>!g))continue;const _=C&&t?b.map((g,k)=>Dt(g,t)?k:-1).filter(g=>g>=0):y.map((g,k)=>k);if(_.length)for(const g of ae(_)){const k=Gt(E[g],C??"cho",y[g],40,n),w=[];for(const x of k){const R=[...y];R[g]=x;const D=R.join("");if(D!==p&&r.has(D)&&!w.includes(D)&&w.push(D),w.length>=2)break}if(w.length>=2)return{question:e,distractors:[p,...w]}}}return null}function Ra(e,t,n,o,r,u=null){if([...e].length!==1)return null;const s=ie(n.get(e)||e);if(!s||s.jong===0)return null;const i=_t(s.cho,s.jung,0),l=Gt({cho:s.cho,jung:s.jung,jong:0},"cho",i,2,n);return l.length<2?null:{question:e,distractors:[i,...l]}}const Xn=Se.indexOf("\u3147");function Ia(e,t,n,o,r,u=null){if([...e].length!==1)return null;const s=ie(n.get(e)||e);if(!s||s.jong!==0||s.cho===Xn)return null;const i=_t(Xn,s.jung,0),l=Gt({cho:Xn,jung:s.jung,jong:0},"jung",i,2,n);return l.length<2?null:{question:e,distractors:[i,...l]}}function ja(e){const t=new Map;for(const n of e){const o=[...n],r=o.length;if(!(r<2||r>3))for(let u=0;u<r;u++){let s=r+"|"+u+"|";for(let l=0;l<r;l++)s+=l===u?"*":o[l];const i=t.get(s);i?i.push(n):t.set(s,[n])}}return t}function Pa(e,t,n,o,r,u=null,s=null,i=2){const l=[...e],C=l.length;if(C<2||C>3)return null;const p=l.map(k=>ie(k));if(p.some(k=>!k))return null;const h=Ut(e,n,o);if(h.some(k=>!k))return null;const d=k=>n.get(k)??k,y=d(e),E=!!t&&(_e(t.cho)||_e(t.jung)||_e(t.jong)),b=!!s&&(_e(s.cho)||_e(s.jung)||_e(s.jong)),_=k=>{let w=C+"|"+k+"|";for(let x=0;x<C;x++)w+=x===k?"*":l[x];return w};let g;if(u!=null){if(u>=C||E&&!Dt(h[u],t))return null;g=[u]}else E?g=h.map((k,w)=>Dt(k,t)?w:-1).filter(k=>k>=0):g=Array.from({length:C},(k,w)=>w);for(const k of ae(g)){const w=r.get(_(k))??[],x=[],R=[];for(const T of w){if(T===e)continue;const U=[...T].map(O=>ie(O)),$=p[k],q=U[k];if(!$||!q)continue;let H=0;if($.cho!==q.cho&&H++,$.jung!==q.jung&&H++,$.jong!==q.jong&&H++,!(H<i||d(T)===y))if(b){const O=Ut(T,n,o)[k];O&&Dt(O,s)?x.push(T):R.push(T)}else x.push(T)}if(!x.length)continue;const D=ae(x)[0],P=[],G=new Set([y,d(D)]),L=b?R:x.filter(T=>T!==D);for(const T of ae(L)){const U=d(T);if(!G.has(U)&&(G.add(U),P.push(T),P.length>=2))break}if(!b&&P.length<2)for(const T of ae(w)){if(T===e||T===D)continue;const U=d(T);if(!G.has(U)&&(G.add(U),P.push(T),P.length>=2))break}if(!(P.length<2))return{question:e,distractors:[D,...P]}}return null}let _n=null,sr=null,ir=null;function $a(){const e=gn();if(e&&e.entries.length>0){const t=zt();if(_n&&sr===e&&ir===t)return _n;const n=new Set,o=[];for(const r of e.entries)!r.word||n.has(r.word)||(n.add(r.word),o.push({w:r.word,s:r.syllables,p:t?.[r.word]?[...t[r.word].cho??[],...t[r.word].jung??[],...t[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return _n=o,sr=e,ir=t,_n}return[]}const He=new Proxy([],{get(e,t){const n=$a(),o=n[t];return typeof o=="function"?o.bind(n):o}});function En(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 r=o+Math.floor(Math.random()*(n.length-o)),u=n[o];n[o]=n[r],n[r]=u}return n.slice(0,t)}let Zn=null,cr=null;function Et(){const e=gn();if(Zn&&cr===e)return Zn;const t=new Map;for(const n of He)n.w&&t.set(n.w,n.pron);return Zn=t,cr=e,t}function De(e){return Et().get(e)||e}function Jn(e,t,n=new Set){const o=[];for(const r of ae(e)){if(o.length>=t)break;const u=De(r);n.has(u)||(n.add(u),o.push(r))}return o}let Fa=0;function ke(e){return`${e}-rt-${++Fa}`}function qt(e){const t=Zo();if(!t||t.total===0){const o=new Set;for(const r of e)o.add(r);return o}const n=new Set;for(const o of e)da(o)===!0&&n.add(o);return n}const bn=new Map;let lr=null,dr=null;function Yt(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function hr(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),r=n?`${Yt(n.cho)}/${Yt(n.jung)}/${Yt(n.jong)}/${n.jongNone?"N":""}/${o}`:"",u=Yt(e.grade);return`${e.difficulty??""}|${t}|${r}|${e.excludeNoImage?"1":"0"}|${e.count??""}|x${e.contrastCount??1}|${e.fullCount?"F":""}|s${e.sameStructureOnly===!1?"0":"1"}|v${e.phonemeView==="pron"?"p":"c"}|g${u}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}async function Oe(e){const t=gn(),n=zt();(t!==lr||n!==dr)&&(bn.clear(),lr=t,dr=n);const o=hr(e);return bn.has(o)||bn.set(o,za(e)),bn.get(o)}function Ha(e){if(!e)return null;const t=s=>s==null?null:Array.isArray(s)?s.length?s:null:[s],n=t(e.cho),o=t(e.jung),r=!!e.jongNone,u=r?null:t(e.jong);return n||o||u||r?r&&!n&&!o&&!u?s=>na(s):s=>ra(s,{cho:n,jung:o,jong:u,jongNone:r}):null}async function za(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:r=null,excludeNoImage:u=!1}=e,s=e.grade&&e.grade.length>0?new Set(e.grade):null,i=e.sameStructureOnly??!0,l=e.phonemeView==="pron"?"pron":"char",C=Math.max(1,e.contrastCount??1),p=t==="cho"||t==="jung"||t==="jong",h=p&&C>=2,d=t==="count",y=n?new Set(Array.isArray(n)?n:[n]):null,E=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,b=o?[Ha(o),E?N=>E.has(yn(N)):null].filter(N=>N!=null):[],_=t==="random"||t===null,g=_||d,k=_||h||d;let w=He.filter(N=>!N.w||s&&(!N.grade||!s.has(N.grade))?!1:k?!0:Array.isArray(N.p)&&N.p.length>0);y&&(w=w.filter(N=>{for(const z of y)if(ta(N.w,z))return!0;return!1})),b.length>0&&(w=w.filter(N=>{const z=l==="pron"?De(N.w):N.w;return b.every(ne=>ne(z))})),r&&(w=w.filter(N=>N.w[0]===r));let x;if(u){const N=new Set;for(const z of w)if(N.add(z.w),Array.isArray(z.p))for(const ne of z.p)N.add(ne);if(g)for(const z of He)z.w&&N.add(z.w);x=qt(N)}else{const N=new Set;for(const z of w)if(N.add(z.w),Array.isArray(z.p))for(const ne of z.p)N.add(ne);if(g)for(const z of He)z.w&&N.add(z.w);x=N}let R=null;if(h){const N=new Set;for(const z of He)z.w&&N.add(z.w);R=u?qt(N):N}const D=w.filter(N=>x.has(N.w)),P=600,G=Array.from(x),L=G.length>P?ze(G,P):G,T=d&&o!=null&&(_e(o.cho)||_e(o.jung)||_e(o.jong)),U=2500,$=new Map;if(d&&!T&&C>=2){for(const N of G){const z=yn(N),ne=$.get(z);ne?ne.push(N):$.set(z,[N])}for(const[N,z]of $)z.length>U&&$.set(N,ze(z,U))}const q=Qu(),H=T?xa(o,G,q,i,l,De):null,O=500,I=1500,Ce=e.fullCount?D:t==="random"?D.length>O?ze(D,O):D:D.length>I?ze(D,I):D,Z=zt(),Q=[];for(const N of Ce){let z;const ne=De(N.w);if(h)z=aa(N.w,t,C,R,24).filter(oe=>De(oe)!==ne);else if(d)T?z=(H.get(N.w)??[]).filter(oe=>De(oe)!==ne):C<=1?z=ur(N.w,Z,{okSet:x,pronOf:De,decompOf:q,sameStructureOnly:!1}):z=($.get(yn(N.w))??[]).filter(oe=>{if(oe===N.w||De(oe)===ne)return!1;const K=sa(N.w,oe);return C>=5?K>=5:K===C});else if(_)z=L.filter(oe=>oe!==N.w&&oe.length===N.w.length&&De(oe)!==ne);else{const oe=t;z=ur(N.w,Z,{kind:oe,okSet:x,pronOf:De,decompOf:q,sameStructureOnly:!1}),z.length===0&&(z=(L.length>30?ze(L,30):L).filter(K=>K!==N.w&&ea(N.w,K)===t&&De(K)!==ne))}if(i&&z.length>0&&(p||d&&!T)){const oe=q(De(N.w));z=z.filter(K=>!Wn(oe,q(De(K))))}z.length!==0&&Q.push({word:N,usable:z})}return Q}async function fr(e,t){const{choicesPerItem:n=3,count:o=10}=t,r=n-1,u=(await Oe(t)).filter(i=>i.usable.length>=r),s=[];for(const i of ae(u)){if(s.length>=o)break;const l=Jn(i.usable,r);if(l.length<r)continue;const C=ae([i.word.w,...l]);s.push({id:ke(e+"-item"),index:s.length+1,word:i.word.w,syllables:i.word.s,choices:C,answerIndex:C.indexOf(i.word.w)})}return s}async function Va(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Oe({...e,difficulty:null});if(r.length<t)return[];const u=[],s=ae([...r]);for(const i of s){if(u.length>=n)break;const l=i.word.w,C=[...i.word.pron||l],p=En(C);if(!p)continue;const h=r.filter(E=>E.word.w!==l&&E.word.s===i.word.s&&!(E.word.pron||E.word.w).includes(p)&&E.word.pron!==i.word.pron);if(h.length<o)continue;const d=Jn(h.map(E=>E.word.w),o);if(d.length<o)continue;const y=ae([l,...d]);u.push({id:ke("HPI-item"),index:u.length+1,targetSyllable:p,word:l,choices:y,answerIndex:y.indexOf(l)})}return u}async function Ua(e){const{count:t=10}=e,n=(await Oe(e)).filter(o=>o.usable.length>=1);return Array.from({length:t},(o,r)=>{const u=En(n);if(!u)return null;const s=r%2===0;let i;if(s)i=[u.word.w,u.word.w];else{const l=En(u.usable);i=Math.random()<.5?[u.word.w,l]:[l,u.word.w]}return{id:ke("SOD-item"),index:r+1,word:u.word.w,pair:i,same:s}}).filter(o=>!!o)}async function Ga(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Oe({...e,difficulty:null});if(r.length<t+1)return[];const u=r.map(d=>d.word.w),s=new Map(r.map(d=>[d.word.w,d.word.pron])),i=d=>(s.get(d)||d)[0]??"",l={};for(const d of r){const y=i(d.word.w);y&&(l[y]||(l[y]=[]),l[y].push(d.word.w))}const C=Object.entries(l).filter(([,d])=>d.length>=2).map(([d])=>d);if(C.length===0)return[];const p=[],h=ae([...C]);for(let d=0;p.length<n&&d<n*4;d++){const y=h[d%h.length],E=l[y];if(E.length<2)continue;const b=ae([...E]),_=b[0],g=b[1];if(!_||!g||_===g||(s.get(_)||_)===(s.get(g)||g))continue;const k=s.get(g)||g,w=u.filter(D=>i(D)!==y&&D!==_&&D!==g&&D.length===g.length&&(s.get(D)||D)!==k);if(w.length<o)continue;const x=Jn(w,o);if(x.length<o)continue;const R=ae([g,...x]);p.push({id:ke("SWS-item"),index:p.length+1,sourceWord:_,targetSyllable:y,word:g,choices:R,answerIndex:R.indexOf(g)})}return p}function pr(e,t,n){return ze(e,t).map((o,r)=>{const u=En(o.usable)??"",s=[...o.word.w],i=[...u],l=s.findIndex((p,h)=>p!==i[h]),C=ae(o.usable.filter(p=>p&&p!==u)).slice(0,2);return{id:ke(n),index:r+1,word:o.word.w,original:o.word.w,changed:u,changedFrom:l>=0?s[l]:"",changedTo:l>=0?i[l]:"",distractors:C}})}async function Cr(e,t,n){const{count:o=10}=t,r=Et(),u=He.filter(y=>y.w&&y.s===e),s=t.excludeNoImage?qt(u.map(y=>y.w)):null,i=s?u.filter(y=>s.has(y.w)):u,l=new Set(i.map(y=>y.w)),C=ja(l),p=t.phonemeView??"char",h=t.composition??null,d=[];for(const y of ae(i)){if(d.length>=o)break;const E=Pa(y.w,h,r,p,C,null,null);if(!E)continue;const b=E.distractors[0],_=[...y.w],g=[...b],k=_.findIndex((w,x)=>w!==g[x]);d.push({id:ke(n),index:d.length+1,word:y.w,original:y.w,changed:b,changedFrom:k>=0?_[k]:"",changedTo:k>=0?g[k]:"",distractors:E.distractors.slice(1)})}return d}async function qa(e){return Cr(2,e,"CS2-item")}async function Ya(e){return Cr(3,e,"CS3-item")}async function Wa(e){const t=(await Oe({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return pr(t,e.count??10,"CP1-item")}async function Ka(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 pr(n,e.count??10,"CP2-item")}async function Xa(e){const{count:t=10}=e,n=(await Oe({...e})).filter(o=>o.word.s===2);return ze(n,t).map((o,r)=>({id:ke("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Za(e){const{count:t=10}=e,n=(await Oe({...e})).filter(o=>o.word.s===3);return ze(n,t).map((o,r)=>({id:ke("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Ja(e){const{count:t=10}=e,n=(await Oe({...e})).filter(i=>i.word.s===2),o=Et(),r=new Set(He.map(i=>i.w)),u=e.phonemeView??"char",s=[];for(const i of ae(n)){if(s.length>=t)break;const l=Da(i.word.w,e.composition??null,o,u,r);if(!l)continue;const[C,...p]=l.distractors,h=[...i.word.w],d=h[0]===C?h[1]:h[0];s.push({id:ke("D2-item"),index:s.length+1,original:i.word.w,word:i.word.w,dropped:d,missingResult:C,distractors:p})}return s}async function Qa(e){const{count:t=10}=e,n=(await Oe({...e})).filter(i=>i.word.s===3),o=Et(),r=new Set(He.map(i=>i.w)),u=e.phonemeView??"char",s=[];for(const i of ae(n)){if(s.length>=t)break;const l=Oa(i.word.w,e.composition??null,o,u,r);if(!l)continue;const[C,...p]=l.distractors,h=[...i.word.w];let d="";for(let y=0;y<h.length;y++)if(h.filter((E,b)=>b!==y).join("")===C){d=h[y];break}s.push({id:ke("D3-item"),index:s.length+1,original:i.word.w,word:i.word.w,dropped:d,missingResult:C,distractors:p})}return s}async function es(e){const{count:t=10}=e,n=(await Oe({...e})).filter(i=>i.word.s>=2),o=Et(),r=new Set(He.map(i=>i.w)),u=e.phonemeView??"char",s=[];for(const i of ae(n)){if(s.length>=t)break;const l=La(i.word.w,e.composition??null,o,u,r);if(!l)continue;const[C,...p]=l.distractors,h=i.word.w,d=h.startsWith(C)?h.slice(C.length):h.endsWith(C)?h.slice(0,h.length-C.length):"";s.push({id:ke("DPC-item"),index:s.length+1,original:h,word:h,dropped:d,missingResult:C,distractors:p})}return s}async function ts(e){const{count:t=10}=e,n=(await Oe({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,r)=>{const u=ze(n,3);return{id:ke("LRO-item"),index:r+1,sequence:u,choices:ae(u)}})}function Sn(e,t,n){const o=He.filter(s=>s.w&&s.s===e),r=t?qt(o.map(s=>s.w)):null,u=[];for(const s of o)if(!(r&&!r.has(s.w))){if(n){const i=ie(s.w);if(!i||!n(i))continue}u.push(s)}return u}function ns(e){const t=Sn(1,e.excludeNoImage??!1,n=>n.jong===0);return ze(t,e.count??10).map((n,o)=>{const r=ie(n.w);return{id:ke("M2P-item"),index:o+1,parts:[Se[r.cho],ut[r.jung]],answer:n.w,word:n.w}})}function os(e){const t=Sn(1,e.excludeNoImage??!1,n=>n.jong>0&&!Ft[n.jong]);return ze(t,e.count??10).map((n,o)=>{const r=ie(n.w);return{id:ke("M3P-item"),index:o+1,parts:[Se[r.cho],ut[r.jung],Pe[r.jong]],answer:n.w,word:n.w}})}function rs(e){const t=or.DROP_FINAL_CONSONANT_FROM_1SYLL,n=Sn(t.syllables,e.excludeNoImage??!1,t.syllable),o=Et(),r=[];for(const u of ae(n)){if(r.length>=(e.count??10))break;const s=Ra(u.w,null,o);if(!s)continue;const[i,...l]=s.distractors;r.push({id:ke("DFC-item"),index:r.length+1,original:u.w,word:u.w,result:i,distractors:l})}return r}function us(e){const t=or.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=Sn(t.syllables,e.excludeNoImage??!1,t.syllable),o=Et(),r=[];for(const u of ae(n)){if(r.length>=(e.count??10))break;const s=Ia(u.w,null,o);if(!s)continue;const i=ie(o.get(u.w)||u.w);if(!i)continue;const[l,...C]=s.distractors;r.push({id:ke("RCP-item"),index:r.length+1,base:u.w,word:u.w,missingConsonant:Se[i.cho],remaining:l,distractors:C})}return r}const kn=new Map;let yr=null,mr=null;async function gr(e,t={}){const n=gn(),o=zt();(n!==yr||o!==mr)&&(kn.clear(),yr=n,mr=o);const r=`${e}:${hr(t)}`;if(kn.has(r))return kn.get(r);const u=await ss(e,t);return kn.set(r,u),u}const as={SAME_SOUND_PICK:e=>fr("SSP",e),HEAR_AND_PICK_SAME:e=>fr("HPS",e),HEAR_AND_PICK_INCLUDED:e=>Va(e),SAME_OR_DIFF:e=>Ua(e),STARTS_WITH_SAME_SOUND:e=>Ga(e),LISTEN_AND_REMEMBER_ORDER:e=>ts(e),MERGE_2_SYLLABLES:e=>Xa(e),MERGE_3_SYLLABLES:e=>Za(e),MERGE_2_PHONEMES:e=>ns(e),MERGE_3_PHONEMES:e=>os(e),DROP_1_FROM_2SYLL:e=>Ja(e),DROP_1_FROM_3SYLL:e=>Qa(e),DROP_PART_FROM_COMPOUND:e=>es(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>rs(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>us(e),CHANGE_1_SYLL_IN_2SYLL:e=>qa(e),CHANGE_1_SYLL_IN_3SYLL:e=>Ya(e),CHANGE_1_PHONEME_IN_1SYLL:e=>Wa(e),CHANGE_1_PHONEME_IN_2SYLL:e=>Ka(e)};async function ss(e,t={}){const n=as[e];return n?await n(t):[]}async function is(e){const t=[null,"count"],n=Object.keys(qn);let o=0;for(const r of t)for(const u of n){const s=qn[u];gr(u,{difficulty:s.difficulty?r:null,choseong:null,count:10,excludeNoImage:e}).catch(()=>{}),++o%6===0&&await new Promise(i=>setTimeout(i,0))}}async function cs(e){return(await Oe({...e,fullCount:!0})).length}async function ls(e={}){const t=[];for(const i of He)i.w&&t.push(i.w);const n=e.excludeNoImage?qt(t):t,o=new Set,r=new Set,u=new Set,s=new Set;for(const i of n){s.add(yn(i));for(const l of i){const C=ie(l);if(C&&(Se[C.cho]!=="\u3147"&&o.add(Se[C.cho]),r.add(ut[C.jung]),C.jong>0)){u.add(Pe[C.jong]);const p=Ft[C.jong];p&&p.forEach(h=>u.add(h))}}}return{cho:o,jung:r,jong:u,syllable:s}}const bt="\uC804\uCCB4";function ds(...e){return e.filter(Boolean).join(" ")}/**
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),m=_?Number(_):1;return Number.isFinite(m)?m:1}catch{return 1}});l.useEffect(()=>{try{localStorage.setItem(e,String(s))}catch{}},[e,s]);const p=_=>{c(typeof _=="function"?m=>i(_(m)):i(_))},f=()=>p(_=>+(_+u).toFixed(6)),y=()=>p(_=>+(_-u).toFixed(6)),d=s<o-Number.EPSILON,g=s>n+Number.EPSILON,b=Math.round(t*s),A=Math.round(b*r);return{scale:s,setScale:p,increase:f,decrease:y,canIncrease:d,canDecrease:g,fontSize:b,lineHeight:A}}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)},[]),p=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:p,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,p=r.jong!==i.jong;(s?1:0)+(c?1:0)+(p?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(y=>se(y));if(r.some(y=>!y))return[];const i=r,s=i.length;if(n>s)return[];const c=xr[t],p=new Set,f=[];(function y(d,g){if(g.length===n){f.push([...g]);return}for(let b=d;b<s;b++)g.push(b),y(b+1,g),g.pop()})(0,[]);for(const y of f)if((function d(g,b){if(p.size>=u)return;if(g===y.length){const m=b.map(k=>gt(k.cho,k.jung,k.jong)).join("");m!==e&&o.has(m)&&p.add(m);return}const A=y[g],_=i[A][t];for(let m=0;m<c;m++){if(m===_)continue;const k=b.slice();if(k[A]={...b[A],[t]:m},d(g+1,k),p.size>=u)return}})(0,i),p.size>=u)break;return[...p]}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,p]=l.useState(null),f=l.useCallback(()=>{const d={};Ho.forEach(g=>{d[g.id]=zo([...g.keys])}),o(d),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(g=>{p({usage:g.usage??0,quota:g.quota??0})}).catch(()=>{})},[]);l.useEffect(()=>{f()},[f]);const y=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:y}}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),p=c.filter(f=>f.cho.length+f.jung.length+f.jong.length>0).length;n({matched:p,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,p]=l.useState(e),f=l.useRef(i);l.useEffect(()=>{f.current=i});const y=l.useRef(null);l.useEffect(()=>{if(f.current)return;const m=y.current;m!==null&&m.length===t.length&&m.every((k,N)=>k===t[N])||(y.current=t,o(t))},[t]);const d=l.useCallback(m=>{r(m),s(!1),p({...m})},[]),g=l.useCallback(()=>s(!0),[]),b=l.useCallback(()=>s(!1),[]),A=l.useCallback((m,k)=>{o(m),r(k),s(!1)},[]),_=l.useCallback(m=>{o(k=>k.filter(N=>N!==m)),r(null)},[]);return{list:n,setList:o,selected:u,setSelected:r,isEditing:i,setIsEditing:s,editForm:c,setEditForm:p,openDetail:d,startEditing:g,cancelEditing:b,commitEdit:A,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:p,commitEdit:f}=Vo(Fr,e),{year:y,month:d,day:g}=zt(),[b,A]=l.useState({year:y,month:d,day:g,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:b,setVisitForm:A,setVisit:_=>m=>A(k=>({...k,[_]:m})),selectedVisit:o,setSelectedVisit:u,isEditingVisit:r,setIsEditingVisit:i,editVisitForm:s,setEditVisitForm:c,openVisitDetail:p,handleVisitSave:_=>{n(D=>[b,...D]);const{year:m,month:k,day:N}=zt();A({year:m,month:k,day:N,hour:"09",minute:"00",memo:""}),_?.()},handleVisitEditSave:()=>{f(_=>_.map(m=>m===o?s:m),s)},addVisit:_=>{n(m=>[_,...m])},removeVisit:_=>{n(m=>m.filter(k=>k!==_))},revertVisitEdit:(_,m)=>{n(k=>k.map(N=>N===m?_:N)),u(k=>k===m?_:k)}}}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:p,setEditForm:f,openDetail:y,commitEdit:d,remove:g}=Vo(zr,n),[b,A]=l.useState([]),{year:_,month:m,day:k}=zt(),[N,D]=l.useState({year:_,month:m,day:k,hour:"09",minute:"00",memo:""}),R=z=>B=>D(O=>({...O,[z]:B})),v=z=>{u(X=>Cn([...X,N]));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?p:B)),p)},H=l.useCallback(z=>{g(z)},[g]),G=l.useCallback(z=>{e({year:z.year,month:z.month,day:z.day,hour:z.hour,minute:z.minute,memo:z.memo}),g(z)},[e,g]),F=l.useCallback(z=>{u(B=>B.filter(O=>O!==z)),A(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:b,addSchedule:J,removeSchedule:Y,revertScheduleEdit:W,scheduleForm:N,setScheduleForm:D,setSchedule:R,selectedSchedule:r,setSelectedSchedule:i,isEditingSchedule:s,setIsEditingSchedule:c,editScheduleForm:p,setEditScheduleForm:f,openScheduleDetail:y,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),p=l.useMemo(()=>e.filter(({item:d,status:g})=>!(t&&!d.memo.includes(t)||r!=="all"&&g!==r)),[e,t,r]),f=Math.max(1,Math.ceil(p.length/Number(o))),y=l.useMemo(()=>{const d=Math.min(s,f);return p.slice((d-1)*Number(o),d*Number(o))},[p,s,o,f]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:u,vapStatus:r,setVapStatus:i,vapPage:s,setVapPage:c,vapFiltered:p,vapTotal:f,vapPageItems:y}}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 p=l.useMemo(()=>Go.map(g=>({...g,label:n("visits.showN",{n:g.value})})),[n]),f=l.useCallback(g=>{u(g),i(1)},[]),y=Math.max(1,Math.ceil(e.length/Number(o))),d=Math.min(r,y);return{pageRows:l.useMemo(()=>e.slice((d-1)*Number(o),d*Number(o)),[e,d,o]),pageSizeProps:{options:p,value:o,onChange:f},paginationProps:{page:d,total:y,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,p]=l.useState(!1),[f,y]=l.useState("\uC88C"),d=l.useCallback(b=>{const A=b.direction;r(_=>({..._,[A]:b})),s(_=>({..._,[A]:[b,..._[A]]})),t(!1)},[]),g=l.useCallback(b=>{const A=b.direction;r(_=>({..._,[A]:b})),p(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:u,setDevices:r,deviceHistory:i,setDeviceHistory:s,showDeviceList:c,setShowDeviceList:p,listForSide:f,setListForSide:y,handleDeviceSubmit:d,handleSelectFromList:g}}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 g=e[d];c[d]=new Set(Array.isArray(g)?g:[g])}const p=u==="pron",f=new Map;for(const d of t){const g=n(r(d));if(g.some(m=>!m))continue;let b=g;if(!p&&(b=n(d),b.length!==g.length||b.some(m=>!m)))continue;const A=g.length,_=f.get(A);_?_.push({w:d,dPron:g,dPos:b}):f.set(A,[{w:d,dPron:g,dPos:b}])}const y=new Map;for(const[d,g]of f){const b=new Map,A=(_,m)=>{const k=_.dPos[m];return k!=null&&s.every(N=>c[N].has(Hn[N][k[N]]))};for(const _ of g){let m;if(i==="head")m=A(_,0)?0:-1;else if(i==="tail")m=A(_,d-1)?d-1:-1;else if(i==="mid"){m=-1;for(let N=1;N<d-1;N++)if(A(_,N)){m=N;break}}else m=_.dPos.findIndex(N=>N!=null&&s.every(D=>c[D].has(Hn[D][N[D]])));if(m<0)continue;const k=b.get(m);k?k.push(_):b.set(m,[_])}for(const[_,m]of b){const k=new Set(s.map(R=>_+":"+R)),N=R=>{let v="";for(let j=0;j<d;j++){const H=R[j];for(const G of["cho","jung","jong"])v+=(k.has(j+":"+G)?"*":H[G])+"."}return v},D=new Map;for(const R of g){const v=N(R.dPron),j=D.get(v);j?j.push(R):D.set(v,[R])}for(const R of m){const v=D.get(N(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(p&&c[F].has(Hn[F][Y])){G=!1;break}}G&&(o&&zn(R.dPron,H.dPron)||j.push(H.w))}y.set(R.w,j)}}}return y}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)]),p=ae(r.map((f,y)=>y).filter(f=>f!==i&&(t!=="cho"||r[f]!=="\u3147")&&(t!=="jong"||f!==0)));for(const f of p){if(s.length>=o)break;const y=t==="cho"?gt(f,e.jung,e.jong):t==="jung"?gt(e.cho,f,e.jong):gt(e.cho,e.jung,f),d=Ko(y,u);c.has(d)||(c.add(d),s.push(y))}return s}function na(e,t,n,o,u,r=null){const i=[...e];if(i.length!==2)return null;const s=i.map(y=>se(y));if(s.some(y=>!y))return null;const c=Vt(e,n,o);if(c.some(y=>!y))return null;const p=Vn(t);let f=p&&t?c.map((y,d)=>Dt(y,t)?d:-1).filter(y=>y>=0):[0,1];if(r!=null&&(f=f.filter(y=>y!==r)),!f.length)return null;for(const y of ae(f)){const d=i[y];if(!u.has(d))continue;const g=Ut(s[y],p??"cho",d,40,n),b=[];for(const A of g)if(A!==d&&u.has(A)&&!b.includes(A)&&b.push(A),b.length>=2)break;if(!(b.length<2))return{question:e,distractors:[d,...b]}}return null}function oa(e,t,n,o,u,r=null){const i=[...e];if(i.length!==3)return null;const s=i.map(y=>se(y));if(s.some(y=>!y))return null;const c=Vt(e,n,o);if(c.some(y=>!y))return null;const p=Vn(t),f=p&&t?c.map((y,d)=>Dt(y,t)?d:-1).filter(y=>y>=0):[0,1,2];if(!f.length)return null;for(const y of ae(f))for(const d of ae([0,1,2].filter(g=>g!==y&&(r==null||g===r)))){const g=[0,1,2].filter(k=>k!==d),b=g.map(k=>i[k]).join("");if(!u.has(b))continue;const A=g.indexOf(y),_=Ut(s[y],p??"cho",i[y],40,n),m=[];for(const k of _){const N=g.map(R=>i[R]);N[A]=k;const D=N.join("");if(D!==b&&u.has(D)&&!m.includes(D)&&m.push(D),m.length>=2)break}if(!(m.length<2))return{question:e,distractors:[b,...m]}}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 p=Vn(t);for(const{remain:f,dropped:y,droppedEnd:d}of ae(c)){if(r!=null&&d!==r||f===e||!u.has(f)||!u.has(y))continue;const g=[...f],b=g.map(m=>se(m));if(b.some(m=>!m))continue;const A=Vt(f,n,o);if(A.some(m=>!m))continue;const _=p&&t?A.map((m,k)=>Dt(m,t)?k:-1).filter(m=>m>=0):g.map((m,k)=>k);if(_.length)for(const m of ae(_)){const k=Ut(b[m],p??"cho",g[m],40,n),N=[];for(const D of k){const R=[...g];R[m]=D;const v=R.join("");if(v!==f&&u.has(v)&&!N.includes(v)&&N.push(v),N.length>=2)break}if(N.length>=2)return{question:e,distractors:[f,...N]}}}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],p=c.length;if(p<2||p>3)return null;const f=c.map(k=>se(k));if(f.some(k=>!k))return null;const y=Vt(e,n,o);if(y.some(k=>!k))return null;const d=k=>n.get(k)??k,g=d(e),b=!!t&&(_e(t.cho)||_e(t.jung)||_e(t.jong)),A=!!i&&(_e(i.cho)||_e(i.jung)||_e(i.jong)),_=k=>{let N=p+"|"+k+"|";for(let D=0;D<p;D++)N+=D===k?"*":c[D];return N};let m;if(r!=null){if(r>=p||b&&!Dt(y[r],t))return null;m=[r]}else b?m=y.map((k,N)=>Dt(k,t)?N:-1).filter(k=>k>=0):m=Array.from({length:p},(k,N)=>N);for(const k of ae(m)){const N=u.get(_(k))??[],D=[],R=[];for(const F of N){if(F===e)continue;const J=[...F].map(B=>se(B)),Y=f[k],W=J[k];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)===g))if(A){const B=Vt(F,n,o)[k];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([g,d(v)]),G=A?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(!A&&j.length<2)for(const F of ae(N)){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",p=Math.max(1,e.contrastCount??1),f=t==="cho"||t==="jung"||t==="jong",y=f&&p>=2,d=t==="count",g=n?new Set(Array.isArray(n)?n:[n]):null,b=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,A=o?[da(o),b?w=>b.has(pn(w)):null].filter(w=>w!=null):[],_=t==="random"||t===null,m=_||d,k=_||y||d;let N=He.filter(w=>!w.w||i&&(!w.grade||!i.has(w.grade))?!1:k?!0:Array.isArray(w.p)&&w.p.length>0);g&&(N=N.filter(w=>{for(const P of g)if(wr(w.w,P))return!0;return!1})),A.length>0&&(N=N.filter(w=>{const P=c==="pron"?ve(w.w):w.w;return A.every(ne=>ne(P))})),u&&(N=N.filter(w=>w.w[0]===u));let D;if(r){const w=new Set;for(const P of N)if(w.add(P.w),Array.isArray(P.p))for(const ne of P.p)w.add(ne);if(m)for(const P of He)P.w&&w.add(P.w);D=Gt(w)}else{const w=new Set;for(const P of N)if(w.add(P.w),Array.isArray(P.p))for(const ne of P.p)w.add(ne);if(m)for(const P of He)P.w&&w.add(P.w);D=w}let R=null;if(y){const w=new Set;for(const P of He)P.w&&w.add(P.w);R=r?Gt(w):w}const v=N.filter(w=>D.has(w.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&&p>=2){for(const w of H){const P=pn(w),ne=Y.get(P);ne?ne.push(w):Y.set(P,[w])}for(const[w,P]of Y)P.length>J&&Y.set(w,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 w of Ce){let P;const ne=ve(w.w);if(y)P=Br(w.w,t,p,R,24).filter(oe=>ve(oe)!==ne);else if(d)F?P=(z.get(w.w)??[]).filter(oe=>ve(oe)!==ne):p<=1?P=Wo(w.w,X,{okSet:D,pronOf:ve,decompOf:W,sameStructureOnly:!1}):P=(Y.get(pn(w.w))??[]).filter(oe=>{if(oe===w.w||ve(oe)===ne)return!1;const q=Dr(w.w,oe);return p>=5?q>=5:q===p});else if(_)P=G.filter(oe=>oe!==w.w&&oe.length===w.w.length&&ve(oe)!==ne);else{const oe=t;P=Wo(w.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!==w.w&&Ar(w.w,q)===t&&ve(q)!==ne))}if(s&&P.length>0&&(f||d&&!F)){const oe=W(ve(w.w));P=P.filter(q=>!zn(oe,W(ve(q))))}P.length!==0&&Q.push({word:w,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 p=ae([s.word.w,...c]);i.push({id:ke(e+"-item"),index:i.length+1,word:s.word.w,syllables:s.word.s,choices:p,answerIndex:p.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,p=[...s.word.pron||c],f=gn(p);if(!f)continue;const y=u.filter(b=>b.word.w!==c&&b.word.s===s.word.s&&!(b.word.pron||b.word.w).includes(f)&&b.word.pron!==s.word.pron);if(y.length<o)continue;const d=Yn(y.map(b=>b.word.w),o);if(d.length<o)continue;const g=ae([c,...d]);r.push({id:ke("HPI-item"),index:r.length+1,targetSyllable:f,word:c,choices:g,answerIndex:g.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 g=s(d.word.w);g&&(c[g]||(c[g]=[]),c[g].push(d.word.w))}const p=Object.entries(c).filter(([,d])=>d.length>=2).map(([d])=>d);if(p.length===0)return[];const f=[],y=ae([...p]);for(let d=0;f.length<n&&d<n*4;d++){const g=y[d%y.length],b=c[g];if(b.length<2)continue;const A=ae([...b]),_=A[0],m=A[1];if(!_||!m||_===m||(i.get(_)||_)===(i.get(m)||m))continue;const k=i.get(m)||m,N=r.filter(v=>s(v)!==g&&v!==_&&v!==m&&v.length===m.length&&(i.get(v)||v)!==k);if(N.length<o)continue;const D=Yn(N,o);if(D.length<o)continue;const R=ae([m,...D]);f.push({id:ke("SWS-item"),index:f.length+1,sourceWord:_,targetSyllable:g,word:m,choices:R,answerIndex:R.indexOf(m)})}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,y)=>f!==s[y]),p=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:p}})}async function uu(e,t,n){const{count:o=10}=t,u=_t(),r=He.filter(g=>g.w&&g.s===e),i=t.excludeNoImage?Gt(r.map(g=>g.w)):null,s=i?r.filter(g=>i.has(g.w)):r,c=new Set(s.map(g=>g.w)),p=ia(c),f=t.phonemeView??"char",y=t.composition??null,d=[];for(const g of ae(s)){if(d.length>=o)break;const b=sa(g.w,y,u,f,p,null,null);if(!b)continue;const A=b.distractors[0],_=[...g.w],m=[...A],k=_.findIndex((N,D)=>N!==m[D]);d.push({id:ke(n),index:d.length+1,word:g.w,original:g.w,changed:A,changedFrom:k>=0?_[k]:"",changedTo:k>=0?m[k]:"",distractors:b.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[p,...f]=c.distractors,y=[...s.word.w],d=y[0]===p?y[1]:y[0];i.push({id:ke("D2-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:d,missingResult:p,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[p,...f]=c.distractors,y=[...s.word.w];let d="";for(let g=0;g<y.length;g++)if(y.filter((b,A)=>A!==g).join("")===p){d=y[g];break}i.push({id:ke("D3-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:d,missingResult:p,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[p,...f]=c.distractors,y=s.word.w,d=y.startsWith(p)?y.slice(p.length):y.endsWith(p)?y.slice(0,y.length-p.length):"";i.push({id:ke("DPC-item"),index:i.length+1,original:y,word:y,dropped:d,missingResult:p,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,...p]=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:p})}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 p=se(c);if(p&&(Se[p.cho]!=="\u3147"&&o.add(Se[p.cho]),u.add(rt[p.jung]),p.jong>0)){r.add(Pe[p.jong]);const f=$t[p.jong];f&&f.forEach(y=>r.add(y))}}}return{cho:o,jung:u,jong:r,syllable:i}}const Et="\uC804\uCCB4";function Ra(...e){return e.filter(Boolean).join(" ")}/**
18
2
  * @license lucide-react v1.38.0 - ISC
19
3
  *
20
4
  * This source code is licensed under the ISC license.
21
5
  * See the LICENSE file in the root directory of this source tree.
22
- */const _r=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();/**
6
+ */const su=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();/**
23
7
  * @license lucide-react v1.38.0 - ISC
24
8
  *
25
9
  * This source code is licensed under the ISC license.
26
10
  * See the LICENSE file in the root directory of this source tree.
27
- */const hs=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
11
+ */const Ia=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
28
12
  * @license lucide-react v1.38.0 - ISC
29
13
  *
30
14
  * This source code is licensed under the ISC license.
31
15
  * See the LICENSE file in the root directory of this source tree.
32
- */const fs=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
16
+ */const ja=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
33
17
  * @license lucide-react v1.38.0 - ISC
34
18
  *
35
19
  * This source code is licensed under the ISC license.
36
20
  * See the LICENSE file in the root directory of this source tree.
37
- */const Er=e=>{const t=fs(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
21
+ */const lu=e=>{const t=ja(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
38
22
  * @license lucide-react v1.38.0 - ISC
39
23
  *
40
24
  * This source code is licensed under the ISC license.
41
25
  * See the LICENSE file in the root directory of this source tree.
42
- */var Qn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
26
+ */var qn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
43
27
  * @license lucide-react v1.38.0 - ISC
44
28
  *
45
29
  * This source code is licensed under the ISC license.
46
30
  * See the LICENSE file in the root directory of this source tree.
47
- */const ps=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Cs=c.createContext({}),ys=()=>c.useContext(Cs),ms=c.forwardRef(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:o,className:r="",children:u,iconNode:s,...i},l)=>{const{size:C=24,strokeWidth:p=2,absoluteStrokeWidth:h=!1,color:d="currentColor",className:y=""}=ys()??{},E=o??h?Number(n??p)*24/Number(t??C):n??p;return c.createElement("svg",{ref:l,...Qn,width:t??C??Qn.width,height:t??C??Qn.height,stroke:e??d,strokeWidth:E,className:_r("lucide",y,r),...!u&&!ps(i)&&{"aria-hidden":"true"},...i},[...s.map(([b,_])=>c.createElement(b,_)),...Array.isArray(u)?u:[u]])});/**
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:p=24,strokeWidth:f=2,absoluteStrokeWidth:y=!1,color:d="currentColor",className:g=""}=Fa()??{},b=o??y?Number(n??f)*24/Number(t??p):n??f;return l.createElement("svg",{ref:c,...qn,width:t??p??qn.width,height:t??p??qn.height,stroke:e??d,strokeWidth:b,className:su("lucide",g,u),...!r&&!Pa(s)&&{"aria-hidden":"true"},...s},[...i.map(([A,_])=>l.createElement(A,_)),...Array.isArray(r)?r:[r]])});/**
48
32
  * @license lucide-react v1.38.0 - ISC
49
33
  *
50
34
  * This source code is licensed under the ISC license.
51
35
  * See the LICENSE file in the root directory of this source tree.
52
- */const m=(e,t)=>{const n=c.forwardRef(({className:o,...r},u)=>c.createElement(ms,{ref:u,iconNode:t,className:_r(`lucide-${hs(Er(e))}`,`lucide-${e}`,o),...r}));return n.displayName=Er(e),n};/**
36
+ */const C=(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};/**
53
37
  * @license lucide-react v1.38.0 - ISC
54
38
  *
55
39
  * This source code is licensed under the ISC license.
56
40
  * See the LICENSE file in the root directory of this source tree.
57
- */const gs=[["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"}]],br=m("triangle-alert",gs);/**
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=C("triangle-alert",za);/**
58
42
  * @license lucide-react v1.38.0 - ISC
59
43
  *
60
44
  * This source code is licensed under the ISC license.
61
45
  * See the LICENSE file in the root directory of this source tree.
62
- */const _s=[["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"}]],Es=m("align-start-vertical",_s);/**
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=C("align-start-vertical",Va);/**
63
47
  * @license lucide-react v1.38.0 - ISC
64
48
  *
65
49
  * This source code is licensed under the ISC license.
66
50
  * See the LICENSE file in the root directory of this source tree.
67
- */const bs=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Ss=m("arrow-down",bs);/**
51
+ */const Ga=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Ya=C("arrow-down",Ga);/**
68
52
  * @license lucide-react v1.38.0 - ISC
69
53
  *
70
54
  * This source code is licensed under the ISC license.
71
55
  * See the LICENSE file in the root directory of this source tree.
72
- */const ks=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],ws=m("arrow-left",ks);/**
56
+ */const qa=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Wa=C("arrow-left",qa);/**
73
57
  * @license lucide-react v1.38.0 - ISC
74
58
  *
75
59
  * This source code is licensed under the ISC license.
76
60
  * See the LICENSE file in the root directory of this source tree.
77
- */const As=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ns=m("arrow-right",As);/**
61
+ */const Ka=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xa=C("arrow-right",Ka);/**
78
62
  * @license lucide-react v1.38.0 - ISC
79
63
  *
80
64
  * This source code is licensed under the ISC license.
81
65
  * See the LICENSE file in the root directory of this source tree.
82
- */const Ms=[["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"}]],Ts=m("arrow-right-left",Ms);/**
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=C("arrow-right-left",Za);/**
83
67
  * @license lucide-react v1.38.0 - ISC
84
68
  *
85
69
  * This source code is licensed under the ISC license.
86
70
  * See the LICENSE file in the root directory of this source tree.
87
- */const xs=[["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"}]],Bs=m("audio-lines",xs);/**
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=C("audio-lines",Qa);/**
88
72
  * @license lucide-react v1.38.0 - ISC
89
73
  *
90
74
  * This source code is licensed under the ISC license.
91
75
  * See the LICENSE file in the root directory of this source tree.
92
- */const vs=[["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"}]],Ds=m("baby",vs);/**
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=C("baby",ti);/**
93
77
  * @license lucide-react v1.38.0 - ISC
94
78
  *
95
79
  * This source code is licensed under the ISC license.
96
80
  * See the LICENSE file in the root directory of this source tree.
97
- */const Os=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],Ls=m("ban",Os);/**
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=C("ban",oi);/**
98
82
  * @license lucide-react v1.38.0 - ISC
99
83
  *
100
84
  * This source code is licensed under the ISC license.
101
85
  * See the LICENSE file in the root directory of this source tree.
102
- */const Rs=[["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"}]],Is=m("bell",Rs);/**
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=C("bell",ri);/**
103
87
  * @license lucide-react v1.38.0 - ISC
104
88
  *
105
89
  * This source code is licensed under the ISC license.
106
90
  * See the LICENSE file in the root directory of this source tree.
107
- */const js=[["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"}]],Ps=m("book-marked",js);/**
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=C("book-marked",ii);/**
108
92
  * @license lucide-react v1.38.0 - ISC
109
93
  *
110
94
  * This source code is licensed under the ISC license.
111
95
  * See the LICENSE file in the root directory of this source tree.
112
- */const $s=[["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"}]],Fs=m("book-open",$s);/**
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=C("book-open",li);/**
113
97
  * @license lucide-react v1.38.0 - ISC
114
98
  *
115
99
  * This source code is licensed under the ISC license.
116
100
  * See the LICENSE file in the root directory of this source tree.
117
- */const Hs=[["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"}]],zs=m("bow-arrow",Hs);/**
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=C("bow-arrow",di);/**
118
102
  * @license lucide-react v1.38.0 - ISC
119
103
  *
120
104
  * This source code is licensed under the ISC license.
121
105
  * See the LICENSE file in the root directory of this source tree.
122
- */const Vs=[["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"}]],Us=m("braces",Vs);/**
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=C("braces",fi);/**
123
107
  * @license lucide-react v1.38.0 - ISC
124
108
  *
125
109
  * This source code is licensed under the ISC license.
126
110
  * See the LICENSE file in the root directory of this source tree.
127
- */const Gs=[["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"}]],qs=m("bug",Gs);/**
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=C("bug",Ci);/**
128
112
  * @license lucide-react v1.38.0 - ISC
129
113
  *
130
114
  * This source code is licensed under the ISC license.
131
115
  * See the LICENSE file in the root directory of this source tree.
132
- */const Ys=[["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"}]],Ws=m("calendar-check",Ys);/**
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=C("calendar-check",mi);/**
133
117
  * @license lucide-react v1.38.0 - ISC
134
118
  *
135
119
  * This source code is licensed under the ISC license.
136
120
  * See the LICENSE file in the root directory of this source tree.
137
- */const Ks=[["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"}]],Xs=m("calendar-days",Ks);/**
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=C("calendar-days",_i);/**
138
122
  * @license lucide-react v1.38.0 - ISC
139
123
  *
140
124
  * This source code is licensed under the ISC license.
141
125
  * See the LICENSE file in the root directory of this source tree.
142
- */const Zs=[["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"}]],Js=m("camera",Zs);/**
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=C("camera",bi);/**
143
127
  * @license lucide-react v1.38.0 - ISC
144
128
  *
145
129
  * This source code is licensed under the ISC license.
146
130
  * See the LICENSE file in the root directory of this source tree.
147
- */const Qs=[["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"}]],ei=m("chart-column",Qs);/**
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=C("chart-column",ki);/**
148
132
  * @license lucide-react v1.38.0 - ISC
149
133
  *
150
134
  * This source code is licensed under the ISC license.
151
135
  * See the LICENSE file in the root directory of this source tree.
152
- */const ti=[["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=m("chart-line",ti);/**
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=C("chart-line",wi);/**
153
137
  * @license lucide-react v1.38.0 - ISC
154
138
  *
155
139
  * This source code is licensed under the ISC license.
156
140
  * See the LICENSE file in the root directory of this source tree.
157
- */const oi=[["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"}]],ri=m("chart-pie",oi);/**
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=C("chart-pie",Ni);/**
158
142
  * @license lucide-react v1.38.0 - ISC
159
143
  *
160
144
  * This source code is licensed under the ISC license.
161
145
  * See the LICENSE file in the root directory of this source tree.
162
- */const ui=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ai=m("check",ui);/**
146
+ */const xi=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Bi=C("check",xi);/**
163
147
  * @license lucide-react v1.38.0 - ISC
164
148
  *
165
149
  * This source code is licensed under the ISC license.
166
150
  * See the LICENSE file in the root directory of this source tree.
167
- */const si=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ii=m("chevron-left",si);/**
151
+ */const Di=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],vi=C("chevron-left",Di);/**
168
152
  * @license lucide-react v1.38.0 - ISC
169
153
  *
170
154
  * This source code is licensed under the ISC license.
171
155
  * See the LICENSE file in the root directory of this source tree.
172
- */const ci=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],li=m("chevron-right",ci);/**
156
+ */const Oi=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Li=C("chevron-right",Oi);/**
173
157
  * @license lucide-react v1.38.0 - ISC
174
158
  *
175
159
  * This source code is licensed under the ISC license.
176
160
  * See the LICENSE file in the root directory of this source tree.
177
- */const di=[["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"}]],hi=m("clipboard-list",di);/**
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=C("clipboard-list",Ri);/**
178
162
  * @license lucide-react v1.38.0 - ISC
179
163
  *
180
164
  * This source code is licensed under the ISC license.
181
165
  * See the LICENSE file in the root directory of this source tree.
182
- */const fi=[["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=m("combine",fi);/**
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=C("combine",ji);/**
183
167
  * @license lucide-react v1.38.0 - ISC
184
168
  *
185
169
  * This source code is licensed under the ISC license.
186
170
  * See the LICENSE file in the root directory of this source tree.
187
- */const Ci=[["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"}]],yi=m("copy",Ci);/**
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=C("copy",$i);/**
188
172
  * @license lucide-react v1.38.0 - ISC
189
173
  *
190
174
  * This source code is licensed under the ISC license.
191
175
  * See the LICENSE file in the root directory of this source tree.
192
- */const mi=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],gi=m("credit-card",mi);/**
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=C("credit-card",Hi);/**
193
177
  * @license lucide-react v1.38.0 - ISC
194
178
  *
195
179
  * This source code is licensed under the ISC license.
196
180
  * See the LICENSE file in the root directory of this source tree.
197
- */const _i=[["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"}]],Ei=m("database",_i);/**
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=C("database",Vi);/**
198
182
  * @license lucide-react v1.38.0 - ISC
199
183
  *
200
184
  * This source code is licensed under the ISC license.
201
185
  * See the LICENSE file in the root directory of this source tree.
202
- */const bi=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],Si=m("diff",bi);/**
186
+ */const Gi=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],Yi=C("diff",Gi);/**
203
187
  * @license lucide-react v1.38.0 - ISC
204
188
  *
205
189
  * This source code is licensed under the ISC license.
206
190
  * See the LICENSE file in the root directory of this source tree.
207
- */const ki=[["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=m("download",ki);/**
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=C("download",qi);/**
208
192
  * @license lucide-react v1.38.0 - ISC
209
193
  *
210
194
  * This source code is licensed under the ISC license.
211
195
  * See the LICENSE file in the root directory of this source tree.
212
- */const Ai=[["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"}]],Ni=m("ear",Ai);/**
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=C("ear",Ki);/**
213
197
  * @license lucide-react v1.38.0 - ISC
214
198
  *
215
199
  * This source code is licensed under the ISC license.
216
200
  * See the LICENSE file in the root directory of this source tree.
217
- */const Mi=[["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"}]],Ti=m("square-pen",Mi);/**
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=C("square-pen",Zi);/**
218
202
  * @license lucide-react v1.38.0 - ISC
219
203
  *
220
204
  * This source code is licensed under the ISC license.
221
205
  * See the LICENSE file in the root directory of this source tree.
222
- */const xi=[["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"}]],Bi=m("pen",xi);/**
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=C("pen",Qi);/**
223
207
  * @license lucide-react v1.38.0 - ISC
224
208
  *
225
209
  * This source code is licensed under the ISC license.
226
210
  * See the LICENSE file in the root directory of this source tree.
227
- */const vi=[["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"}]],Di=m("pen-line",vi);/**
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=C("pen-line",ts);/**
228
212
  * @license lucide-react v1.38.0 - ISC
229
213
  *
230
214
  * This source code is licensed under the ISC license.
231
215
  * See the LICENSE file in the root directory of this source tree.
232
- */const Oi=[["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"}]],Sr=m("ellipsis",Oi);/**
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=C("ellipsis",os);/**
233
217
  * @license lucide-react v1.38.0 - ISC
234
218
  *
235
219
  * This source code is licensed under the ISC license.
236
220
  * See the LICENSE file in the root directory of this source tree.
237
- */const Li=[["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"}]],Ri=m("eraser",Li);/**
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=C("eraser",us);/**
238
222
  * @license lucide-react v1.38.0 - ISC
239
223
  *
240
224
  * This source code is licensed under the ISC license.
241
225
  * See the LICENSE file in the root directory of this source tree.
242
- */const Ii=[["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"}]],ji=m("external-link",Ii);/**
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=C("external-link",as);/**
243
227
  * @license lucide-react v1.38.0 - ISC
244
228
  *
245
229
  * This source code is licensed under the ISC license.
246
230
  * See the LICENSE file in the root directory of this source tree.
247
- */const Pi=[["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"}]],$i=m("eye",Pi);/**
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=C("eye",ss);/**
248
232
  * @license lucide-react v1.38.0 - ISC
249
233
  *
250
234
  * This source code is licensed under the ISC license.
251
235
  * See the LICENSE file in the root directory of this source tree.
252
- */const Fi=[["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"}]],Hi=m("file-text",Fi);/**
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=C("file-text",cs);/**
253
237
  * @license lucide-react v1.38.0 - ISC
254
238
  *
255
239
  * This source code is licensed under the ISC license.
256
240
  * See the LICENSE file in the root directory of this source tree.
257
- */const zi=[["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"}]],Vi=m("square-centerline-dashed-horizontal",zi);/**
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=C("square-centerline-dashed-horizontal",hs);/**
258
242
  * @license lucide-react v1.38.0 - ISC
259
243
  *
260
244
  * This source code is licensed under the ISC license.
261
245
  * See the LICENSE file in the root directory of this source tree.
262
- */const Ui=[["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"}]],Gi=m("folder-open",Ui);/**
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=C("folder-open",ps);/**
263
247
  * @license lucide-react v1.38.0 - ISC
264
248
  *
265
249
  * This source code is licensed under the ISC license.
266
250
  * See the LICENSE file in the root directory of this source tree.
267
- */const qi=[["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"}]],Yi=m("folder-plus",qi);/**
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=C("folder-plus",ys);/**
268
252
  * @license lucide-react v1.38.0 - ISC
269
253
  *
270
254
  * This source code is licensed under the ISC license.
271
255
  * See the LICENSE file in the root directory of this source tree.
272
- */const Wi=[["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"}]],Ki=m("gamepad",Wi);/**
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=C("gamepad",gs);/**
273
257
  * @license lucide-react v1.38.0 - ISC
274
258
  *
275
259
  * This source code is licensed under the ISC license.
276
260
  * See the LICENSE file in the root directory of this source tree.
277
- */const Xi=[["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"}]],Zi=m("gavel",Xi);/**
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=C("gavel",Es);/**
278
262
  * @license lucide-react v1.38.0 - ISC
279
263
  *
280
264
  * This source code is licensed under the ISC license.
281
265
  * See the LICENSE file in the root directory of this source tree.
282
- */const Ji=[["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"}]],Qi=m("git-merge",Ji);/**
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=C("git-merge",Ss);/**
283
267
  * @license lucide-react v1.38.0 - ISC
284
268
  *
285
269
  * This source code is licensed under the ISC license.
286
270
  * See the LICENSE file in the root directory of this source tree.
287
- */const ec=[["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"}]],tc=m("globe",ec);/**
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=C("globe",As);/**
288
272
  * @license lucide-react v1.38.0 - ISC
289
273
  *
290
274
  * This source code is licensed under the ISC license.
291
275
  * See the LICENSE file in the root directory of this source tree.
292
- */const nc=[["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"}]],oc=m("headphones",nc);/**
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=C("headphones",Ms);/**
293
277
  * @license lucide-react v1.38.0 - ISC
294
278
  *
295
279
  * This source code is licensed under the ISC license.
296
280
  * See the LICENSE file in the root directory of this source tree.
297
- */const rc=[["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"}]],uc=m("heart",rc);/**
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=C("heart",Ts);/**
298
282
  * @license lucide-react v1.38.0 - ISC
299
283
  *
300
284
  * This source code is licensed under the ISC license.
301
285
  * See the LICENSE file in the root directory of this source tree.
302
- */const ac=[["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"}]],sc=m("house",ac);/**
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=C("house",Bs);/**
303
287
  * @license lucide-react v1.38.0 - ISC
304
288
  *
305
289
  * This source code is licensed under the ISC license.
306
290
  * See the LICENSE file in the root directory of this source tree.
307
- */const ic=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],cc=m("info",ic);/**
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=C("info",vs);/**
308
292
  * @license lucide-react v1.38.0 - ISC
309
293
  *
310
294
  * This source code is licensed under the ISC license.
311
295
  * See the LICENSE file in the root directory of this source tree.
312
- */const lc=[["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"}]],dc=m("key-round",lc);/**
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=C("key-round",Ls);/**
313
297
  * @license lucide-react v1.38.0 - ISC
314
298
  *
315
299
  * This source code is licensed under the ISC license.
316
300
  * See the LICENSE file in the root directory of this source tree.
317
- */const hc=[["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"}]],fc=m("landmark",hc);/**
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=C("landmark",Is);/**
318
302
  * @license lucide-react v1.38.0 - ISC
319
303
  *
320
304
  * This source code is licensed under the ISC license.
321
305
  * See the LICENSE file in the root directory of this source tree.
322
- */const pc=[["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"}]],Cc=m("layers",pc);/**
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=C("layers",Ps);/**
323
307
  * @license lucide-react v1.38.0 - ISC
324
308
  *
325
309
  * This source code is licensed under the ISC license.
326
310
  * See the LICENSE file in the root directory of this source tree.
327
- */const yc=[["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"}]],mc=m("layout-dashboard",yc);/**
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=C("layout-dashboard",Fs);/**
328
312
  * @license lucide-react v1.38.0 - ISC
329
313
  *
330
314
  * This source code is licensed under the ISC license.
331
315
  * See the LICENSE file in the root directory of this source tree.
332
- */const gc=[["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"}]],_c=m("leaf",gc);/**
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=C("leaf",zs);/**
333
317
  * @license lucide-react v1.38.0 - ISC
334
318
  *
335
319
  * This source code is licensed under the ISC license.
336
320
  * See the LICENSE file in the root directory of this source tree.
337
- */const Ec=[["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"}]],bc=m("lightbulb",Ec);/**
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=C("lightbulb",Us);/**
338
322
  * @license lucide-react v1.38.0 - ISC
339
323
  *
340
324
  * This source code is licensed under the ISC license.
341
325
  * See the LICENSE file in the root directory of this source tree.
342
- */const Sc=[["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"}]],kc=m("link",Sc);/**
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=C("link",Ys);/**
343
327
  * @license lucide-react v1.38.0 - ISC
344
328
  *
345
329
  * This source code is licensed under the ISC license.
346
330
  * See the LICENSE file in the root directory of this source tree.
347
- */const wc=[["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"}]],Ac=m("link-2",wc);/**
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=C("link-2",Ws);/**
348
332
  * @license lucide-react v1.38.0 - ISC
349
333
  *
350
334
  * This source code is licensed under the ISC license.
351
335
  * See the LICENSE file in the root directory of this source tree.
352
- */const Nc=[["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"}]],Mc=m("link-2-off",Nc);/**
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=C("link-2-off",Xs);/**
353
337
  * @license lucide-react v1.38.0 - ISC
354
338
  *
355
339
  * This source code is licensed under the ISC license.
356
340
  * See the LICENSE file in the root directory of this source tree.
357
- */const Tc=[["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"}]],xc=m("list",Tc);/**
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=C("list",Js);/**
358
342
  * @license lucide-react v1.38.0 - ISC
359
343
  *
360
344
  * This source code is licensed under the ISC license.
361
345
  * See the LICENSE file in the root directory of this source tree.
362
- */const Bc=[["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"}]],vc=m("list-checks",Bc);/**
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=C("list-checks",el);/**
363
347
  * @license lucide-react v1.38.0 - ISC
364
348
  *
365
349
  * This source code is licensed under the ISC license.
366
350
  * See the LICENSE file in the root directory of this source tree.
367
- */const Dc=[["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"}]],Oc=m("list-ordered",Dc);/**
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=C("list-ordered",nl);/**
368
352
  * @license lucide-react v1.38.0 - ISC
369
353
  *
370
354
  * This source code is licensed under the ISC license.
371
355
  * See the LICENSE file in the root directory of this source tree.
372
- */const Lc=[["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"}]],Rc=m("loader",Lc);/**
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=C("loader",ul);/**
373
357
  * @license lucide-react v1.38.0 - ISC
374
358
  *
375
359
  * This source code is licensed under the ISC license.
376
360
  * See the LICENSE file in the root directory of this source tree.
377
- */const Ic=[["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"}]],jc=m("log-out",Ic);/**
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=C("log-out",al);/**
378
362
  * @license lucide-react v1.38.0 - ISC
379
363
  *
380
364
  * This source code is licensed under the ISC license.
381
365
  * See the LICENSE file in the root directory of this source tree.
382
- */const Pc=[["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"}]],$c=m("mail",Pc);/**
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=C("mail",sl);/**
383
367
  * @license lucide-react v1.38.0 - ISC
384
368
  *
385
369
  * This source code is licensed under the ISC license.
386
370
  * See the LICENSE file in the root directory of this source tree.
387
- */const Fc=[["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"}]],Hc=m("map-pin",Fc);/**
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=C("map-pin",cl);/**
388
372
  * @license lucide-react v1.38.0 - ISC
389
373
  *
390
374
  * This source code is licensed under the ISC license.
391
375
  * See the LICENSE file in the root directory of this source tree.
392
- */const zc=[["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"}]],Vc=m("message-circle",zc);/**
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=C("message-circle",hl);/**
393
377
  * @license lucide-react v1.38.0 - ISC
394
378
  *
395
379
  * This source code is licensed under the ISC license.
396
380
  * See the LICENSE file in the root directory of this source tree.
397
- */const Uc=[["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"}]],Gc=m("message-circle-question-mark",Uc);/**
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=C("message-circle-question-mark",pl);/**
398
382
  * @license lucide-react v1.38.0 - ISC
399
383
  *
400
384
  * This source code is licensed under the ISC license.
401
385
  * See the LICENSE file in the root directory of this source tree.
402
- */const qc=[["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"}]],Yc=m("message-square",qc);/**
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=C("message-square",yl);/**
403
387
  * @license lucide-react v1.38.0 - ISC
404
388
  *
405
389
  * This source code is licensed under the ISC license.
406
390
  * See the LICENSE file in the root directory of this source tree.
407
- */const Wc=[["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"}]],Kc=m("message-square-text",Wc);/**
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=C("message-square-text",gl);/**
408
392
  * @license lucide-react v1.38.0 - ISC
409
393
  *
410
394
  * This source code is licensed under the ISC license.
411
395
  * See the LICENSE file in the root directory of this source tree.
412
- */const Xc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],Zc=m("circle-minus",Xc);/**
396
+ */const El=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],bl=C("circle-minus",El);/**
413
397
  * @license lucide-react v1.38.0 - ISC
414
398
  *
415
399
  * This source code is licensed under the ISC license.
416
400
  * See the LICENSE file in the root directory of this source tree.
417
- */const Jc=[["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"}]],Qc=m("package",Jc);/**
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=C("package",Sl);/**
418
402
  * @license lucide-react v1.38.0 - ISC
419
403
  *
420
404
  * This source code is licensed under the ISC license.
421
405
  * See the LICENSE file in the root directory of this source tree.
422
- */const el=[["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"}]],tl=m("palette",el);/**
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=C("palette",Al);/**
423
407
  * @license lucide-react v1.38.0 - ISC
424
408
  *
425
409
  * This source code is licensed under the ISC license.
426
410
  * See the LICENSE file in the root directory of this source tree.
427
- */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"}]],ol=m("party-popper",nl);/**
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=C("party-popper",Ml);/**
428
412
  * @license lucide-react v1.38.0 - ISC
429
413
  *
430
414
  * This source code is licensed under the ISC license.
431
415
  * See the LICENSE file in the root directory of this source tree.
432
- */const rl=[["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"}]],ul=m("pause",rl);/**
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=C("pause",Tl);/**
433
417
  * @license lucide-react v1.38.0 - ISC
434
418
  *
435
419
  * This source code is licensed under the ISC license.
436
420
  * See the LICENSE file in the root directory of this source tree.
437
- */const al=[["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"}]],sl=m("pencil",al);/**
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=C("pencil",Bl);/**
438
422
  * @license lucide-react v1.38.0 - ISC
439
423
  *
440
424
  * This source code is licensed under the ISC license.
441
425
  * See the LICENSE file in the root directory of this source tree.
442
- */const il=[["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"}]],cl=m("phone",il);/**
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=C("phone",vl);/**
443
427
  * @license lucide-react v1.38.0 - ISC
444
428
  *
445
429
  * This source code is licensed under the ISC license.
446
430
  * See the LICENSE file in the root directory of this source tree.
447
- */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"}]],dl=m("play",ll);/**
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=C("play",Ll);/**
448
432
  * @license lucide-react v1.38.0 - ISC
449
433
  *
450
434
  * This source code is licensed under the ISC license.
451
435
  * See the LICENSE file in the root directory of this source tree.
452
- */const hl=[["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"}]],fl=m("circle-play",hl);/**
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=C("circle-play",Il);/**
453
437
  * @license lucide-react v1.38.0 - ISC
454
438
  *
455
439
  * This source code is licensed under the ISC license.
456
440
  * See the LICENSE file in the root directory of this source tree.
457
- */const pl=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Cl=m("plus",pl);/**
441
+ */const Pl=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],$l=C("plus",Pl);/**
458
442
  * @license lucide-react v1.38.0 - ISC
459
443
  *
460
444
  * This source code is licensed under the ISC license.
461
445
  * See the LICENSE file in the root directory of this source tree.
462
- */const yl=[["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"}]],ml=m("printer",yl);/**
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=C("printer",Fl);/**
463
447
  * @license lucide-react v1.38.0 - ISC
464
448
  *
465
449
  * This source code is licensed under the ISC license.
466
450
  * See the LICENSE file in the root directory of this source tree.
467
- */const gl=[["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"}]],_l=m("refresh-cw",gl);/**
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=C("refresh-cw",zl);/**
468
452
  * @license lucide-react v1.38.0 - ISC
469
453
  *
470
454
  * This source code is licensed under the ISC license.
471
455
  * See the LICENSE file in the root directory of this source tree.
472
- */const El=[["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"}]],bl=m("repeat",El);/**
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=C("repeat",Ul);/**
473
457
  * @license lucide-react v1.38.0 - ISC
474
458
  *
475
459
  * This source code is licensed under the ISC license.
476
460
  * See the LICENSE file in the root directory of this source tree.
477
- */const Sl=[["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"}]],kl=m("replace",Sl);/**
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=C("replace",Yl);/**
478
462
  * @license lucide-react v1.38.0 - ISC
479
463
  *
480
464
  * This source code is licensed under the ISC license.
481
465
  * See the LICENSE file in the root directory of this source tree.
482
- */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"}]],Al=m("rocket",wl);/**
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=C("rocket",Wl);/**
483
467
  * @license lucide-react v1.38.0 - ISC
484
468
  *
485
469
  * This source code is licensed under the ISC license.
486
470
  * See the LICENSE file in the root directory of this source tree.
487
- */const Nl=[["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"}]],Ml=m("rotate-ccw",Nl);/**
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=C("rotate-ccw",Xl);/**
488
472
  * @license lucide-react v1.38.0 - ISC
489
473
  *
490
474
  * This source code is licensed under the ISC license.
491
475
  * See the LICENSE file in the root directory of this source tree.
492
- */const Tl=[["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"}]],xl=m("rotate-cw",Tl);/**
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=C("rotate-cw",Jl);/**
493
477
  * @license lucide-react v1.38.0 - ISC
494
478
  *
495
479
  * This source code is licensed under the ISC license.
496
480
  * See the LICENSE file in the root directory of this source tree.
497
- */const Bl=[["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"}]],vl=m("salad",Bl);/**
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=C("salad",ec);/**
498
482
  * @license lucide-react v1.38.0 - ISC
499
483
  *
500
484
  * This source code is licensed under the ISC license.
501
485
  * See the LICENSE file in the root directory of this source tree.
502
- */const Dl=[["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"}]],Ol=m("scan-search",Dl);/**
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=C("scan-search",nc);/**
503
487
  * @license lucide-react v1.38.0 - ISC
504
488
  *
505
489
  * This source code is licensed under the ISC license.
506
490
  * See the LICENSE file in the root directory of this source tree.
507
- */const Ll=[["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"}]],kr=m("circle-alert",Ll);/**
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=C("circle-alert",uc);/**
508
492
  * @license lucide-react v1.38.0 - ISC
509
493
  *
510
494
  * This source code is licensed under the ISC license.
511
495
  * See the LICENSE file in the root directory of this source tree.
512
- */const Rl=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Il=m("circle-check-big",Rl);/**
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=C("circle-check-big",rc);/**
513
497
  * @license lucide-react v1.38.0 - ISC
514
498
  *
515
499
  * This source code is licensed under the ISC license.
516
500
  * See the LICENSE file in the root directory of this source tree.
517
- */const jl=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Pl=m("search",jl);/**
501
+ */const ic=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],sc=C("search",ic);/**
518
502
  * @license lucide-react v1.38.0 - ISC
519
503
  *
520
504
  * This source code is licensed under the ISC license.
521
505
  * See the LICENSE file in the root directory of this source tree.
522
- */const $l=[["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"}]],Fl=m("scissors",$l);/**
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=C("scissors",lc);/**
523
507
  * @license lucide-react v1.38.0 - ISC
524
508
  *
525
509
  * This source code is licensed under the ISC license.
526
510
  * See the LICENSE file in the root directory of this source tree.
527
- */const Hl=[["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"}]],zl=m("search-x",Hl);/**
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=C("search-x",dc);/**
528
512
  * @license lucide-react v1.38.0 - ISC
529
513
  *
530
514
  * This source code is licensed under the ISC license.
531
515
  * See the LICENSE file in the root directory of this source tree.
532
- */const Vl=[["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"}]],Ul=m("send",Vl);/**
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=C("send",fc);/**
533
517
  * @license lucide-react v1.38.0 - ISC
534
518
  *
535
519
  * This source code is licensed under the ISC license.
536
520
  * See the LICENSE file in the root directory of this source tree.
537
- */const Gl=[["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"}]],ql=m("settings",Gl);/**
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=C("settings",Cc);/**
538
522
  * @license lucide-react v1.38.0 - ISC
539
523
  *
540
524
  * This source code is licensed under the ISC license.
541
525
  * See the LICENSE file in the root directory of this source tree.
542
- */const Yl=[["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"}]],Wl=m("shield-check",Yl);/**
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=C("shield-check",mc);/**
543
527
  * @license lucide-react v1.38.0 - ISC
544
528
  *
545
529
  * This source code is licensed under the ISC license.
546
530
  * See the LICENSE file in the root directory of this source tree.
547
- */const Kl=[["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"}]],Xl=m("shopping-cart",Kl);/**
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=C("shopping-cart",_c);/**
548
532
  * @license lucide-react v1.38.0 - ISC
549
533
  *
550
534
  * This source code is licensed under the ISC license.
551
535
  * See the LICENSE file in the root directory of this source tree.
552
- */const Zl=[["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"}]],Jl=m("shuffle",Zl);/**
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=C("shuffle",bc);/**
553
537
  * @license lucide-react v1.38.0 - ISC
554
538
  *
555
539
  * This source code is licensed under the ISC license.
556
540
  * See the LICENSE file in the root directory of this source tree.
557
- */const Ql=[["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"}]],e1=m("skip-back",Ql);/**
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=C("skip-back",kc);/**
558
542
  * @license lucide-react v1.38.0 - ISC
559
543
  *
560
544
  * This source code is licensed under the ISC license.
561
545
  * See the LICENSE file in the root directory of this source tree.
562
- */const t1=[["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"}]],n1=m("skip-forward",t1);/**
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=C("skip-forward",wc);/**
563
547
  * @license lucide-react v1.38.0 - ISC
564
548
  *
565
549
  * This source code is licensed under the ISC license.
566
550
  * See the LICENSE file in the root directory of this source tree.
567
- */const o1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],r1=m("square",o1);/**
551
+ */const Nc=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Tc=C("square",Nc);/**
568
552
  * @license lucide-react v1.38.0 - ISC
569
553
  *
570
554
  * This source code is licensed under the ISC license.
571
555
  * See the LICENSE file in the root directory of this source tree.
572
- */const u1=[["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"}]],a1=m("star",u1);/**
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=C("star",xc);/**
573
557
  * @license lucide-react v1.38.0 - ISC
574
558
  *
575
559
  * This source code is licensed under the ISC license.
576
560
  * See the LICENSE file in the root directory of this source tree.
577
- */const s1=[["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"}]],i1=m("store",s1);/**
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=C("store",Dc);/**
578
562
  * @license lucide-react v1.38.0 - ISC
579
563
  *
580
564
  * This source code is licensed under the ISC license.
581
565
  * See the LICENSE file in the root directory of this source tree.
582
- */const c1=[["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"}]],l1=m("sun-medium",c1);/**
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=C("sun-medium",Oc);/**
583
567
  * @license lucide-react v1.38.0 - ISC
584
568
  *
585
569
  * This source code is licensed under the ISC license.
586
570
  * See the LICENSE file in the root directory of this source tree.
587
- */const d1=[["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"}]],h1=m("table",d1);/**
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=C("table",Rc);/**
588
572
  * @license lucide-react v1.38.0 - ISC
589
573
  *
590
574
  * This source code is licensed under the ISC license.
591
575
  * See the LICENSE file in the root directory of this source tree.
592
- */const f1=[["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"}]],p1=m("table-2",f1);/**
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=C("table-2",jc);/**
593
577
  * @license lucide-react v1.38.0 - ISC
594
578
  *
595
579
  * This source code is licensed under the ISC license.
596
580
  * See the LICENSE file in the root directory of this source tree.
597
- */const C1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],y1=m("terminal",C1);/**
581
+ */const $c=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Fc=C("terminal",$c);/**
598
582
  * @license lucide-react v1.38.0 - ISC
599
583
  *
600
584
  * This source code is licensed under the ISC license.
601
585
  * See the LICENSE file in the root directory of this source tree.
602
- */const m1=[["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"}]],g1=m("text-cursor-input",m1);/**
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=C("text-cursor-input",Hc);/**
603
587
  * @license lucide-react v1.38.0 - ISC
604
588
  *
605
589
  * This source code is licensed under the ISC license.
606
590
  * See the LICENSE file in the root directory of this source tree.
607
- */const _1=[["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"}]],E1=m("text-initial",_1);/**
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=C("text-initial",Vc);/**
608
592
  * @license lucide-react v1.38.0 - ISC
609
593
  *
610
594
  * This source code is licensed under the ISC license.
611
595
  * See the LICENSE file in the root directory of this source tree.
612
- */const b1=[["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"}]],S1=m("ticket",b1);/**
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=C("ticket",Gc);/**
613
597
  * @license lucide-react v1.38.0 - ISC
614
598
  *
615
599
  * This source code is licensed under the ISC license.
616
600
  * See the LICENSE file in the root directory of this source tree.
617
- */const k1=[["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"}]],w1=m("trash-2",k1);/**
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=C("trash-2",qc);/**
618
602
  * @license lucide-react v1.38.0 - ISC
619
603
  *
620
604
  * This source code is licensed under the ISC license.
621
605
  * See the LICENSE file in the root directory of this source tree.
622
- */const A1=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],N1=m("trending-up",A1);/**
606
+ */const Kc=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Xc=C("trending-up",Kc);/**
623
607
  * @license lucide-react v1.38.0 - ISC
624
608
  *
625
609
  * This source code is licensed under the ISC license.
626
610
  * See the LICENSE file in the root directory of this source tree.
627
- */const M1=[["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"}]],T1=m("trophy",M1);/**
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=C("trophy",Zc);/**
628
612
  * @license lucide-react v1.38.0 - ISC
629
613
  *
630
614
  * This source code is licensed under the ISC license.
631
615
  * See the LICENSE file in the root directory of this source tree.
632
- */const x1=[["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"}]],B1=m("unlink",x1);/**
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=C("unlink",Qc);/**
633
617
  * @license lucide-react v1.38.0 - ISC
634
618
  *
635
619
  * This source code is licensed under the ISC license.
636
620
  * See the LICENSE file in the root directory of this source tree.
637
- */const v1=[["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"}]],D1=m("upload",v1);/**
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=C("upload",t1);/**
638
622
  * @license lucide-react v1.38.0 - ISC
639
623
  *
640
624
  * This source code is licensed under the ISC license.
641
625
  * See the LICENSE file in the root directory of this source tree.
642
- */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"}]],L1=m("user",O1);/**
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=C("user",o1);/**
643
627
  * @license lucide-react v1.38.0 - ISC
644
628
  *
645
629
  * This source code is licensed under the ISC license.
646
630
  * See the LICENSE file in the root directory of this source tree.
647
- */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"}]],I1=m("user-plus",R1);/**
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=C("user-plus",r1);/**
648
632
  * @license lucide-react v1.38.0 - ISC
649
633
  *
650
634
  * This source code is licensed under the ISC license.
651
635
  * See the LICENSE file in the root directory of this source tree.
652
- */const j1=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],P1=m("user-round",j1);/**
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=C("user-round",i1);/**
653
637
  * @license lucide-react v1.38.0 - ISC
654
638
  *
655
639
  * This source code is licensed under the ISC license.
656
640
  * See the LICENSE file in the root directory of this source tree.
657
- */const $1=[["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"}]],F1=m("user-round-check",$1);/**
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=C("user-round-check",l1);/**
658
642
  * @license lucide-react v1.38.0 - ISC
659
643
  *
660
644
  * This source code is licensed under the ISC license.
661
645
  * See the LICENSE file in the root directory of this source tree.
662
- */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"}]],z1=m("users",H1);/**
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=C("users",d1);/**
663
647
  * @license lucide-react v1.38.0 - ISC
664
648
  *
665
649
  * This source code is licensed under the ISC license.
666
650
  * See the LICENSE file in the root directory of this source tree.
667
- */const V1=[["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"}]],U1=m("users-round",V1);/**
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=C("users-round",f1);/**
668
652
  * @license lucide-react v1.38.0 - ISC
669
653
  *
670
654
  * This source code is licensed under the ISC license.
671
655
  * See the LICENSE file in the root directory of this source tree.
672
- */const G1=[["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"}]],q1=m("volume-2",G1);/**
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=C("volume-2",C1);/**
673
657
  * @license lucide-react v1.38.0 - ISC
674
658
  *
675
659
  * This source code is licensed under the ISC license.
676
660
  * See the LICENSE file in the root directory of this source tree.
677
- */const Y1=[["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"}]],W1=m("wrench",Y1);/**
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=C("wrench",m1);/**
678
662
  * @license lucide-react v1.38.0 - ISC
679
663
  *
680
664
  * This source code is licensed under the ISC license.
681
665
  * See the LICENSE file in the root directory of this source tree.
682
- */const K1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],X1=m("x",K1);/**
666
+ */const _1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],E1=C("x",_1);/**
683
667
  * @license lucide-react v1.38.0 - ISC
684
668
  *
685
669
  * This source code is licensed under the ISC license.
686
670
  * See the LICENSE file in the root directory of this source tree.
687
- */const Z1=[["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"}]],J1=m("zap",Z1);/**
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=C("zap",b1);/**
688
672
  * @license lucide-react v1.38.0 - ISC
689
673
  *
690
674
  * This source code is licensed under the ISC license.
691
675
  * See the LICENSE file in the root directory of this source tree.
692
- */const Q1=[["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"}]],ed=m("anchor",Q1);/**
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=C("anchor",k1);/**
693
677
  * @license lucide-react v1.38.0 - ISC
694
678
  *
695
679
  * This source code is licensed under the ISC license.
696
680
  * See the LICENSE file in the root directory of this source tree.
697
- */const td=[["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"}]],nd=m("arrow-up-a-z",td);/**
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=C("arrow-up-a-z",w1);/**
698
682
  * @license lucide-react v1.38.0 - ISC
699
683
  *
700
684
  * This source code is licensed under the ISC license.
701
685
  * See the LICENSE file in the root directory of this source tree.
702
- */const od=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],rd=m("chart-no-axes-column",od);/**
686
+ */const N1=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],T1=C("chart-no-axes-column",N1);/**
703
687
  * @license lucide-react v1.38.0 - ISC
704
688
  *
705
689
  * This source code is licensed under the ISC license.
706
690
  * See the LICENSE file in the root directory of this source tree.
707
- */const ud=[["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"}]],ad=m("calendar",ud);/**
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=C("calendar",x1);/**
708
692
  * @license lucide-react v1.38.0 - ISC
709
693
  *
710
694
  * This source code is licensed under the ISC license.
711
695
  * See the LICENSE file in the root directory of this source tree.
712
- */const sd=[["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"}]],id=m("car",sd);/**
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=C("car",D1);/**
713
697
  * @license lucide-react v1.38.0 - ISC
714
698
  *
715
699
  * This source code is licensed under the ISC license.
716
700
  * See the LICENSE file in the root directory of this source tree.
717
- */const cd=[["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"}]],ld=m("coffee",cd);/**
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=C("coffee",O1);/**
718
702
  * @license lucide-react v1.38.0 - ISC
719
703
  *
720
704
  * This source code is licensed under the ISC license.
721
705
  * See the LICENSE file in the root directory of this source tree.
722
- */const dd=[["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"}]],hd=m("gamepad-2",dd);/**
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=C("gamepad-2",R1);/**
723
707
  * @license lucide-react v1.38.0 - ISC
724
708
  *
725
709
  * This source code is licensed under the ISC license.
726
710
  * See the LICENSE file in the root directory of this source tree.
727
- */const fd=[["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"}]],pd=m("inbox",fd);/**
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=C("inbox",j1);/**
728
712
  * @license lucide-react v1.38.0 - ISC
729
713
  *
730
714
  * This source code is licensed under the ISC license.
731
715
  * See the LICENSE file in the root directory of this source tree.
732
- */const Cd=[["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"}]],yd=m("list-tree",Cd);/**
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=C("list-tree",$1);/**
733
717
  * @license lucide-react v1.38.0 - ISC
734
718
  *
735
719
  * This source code is licensed under the ISC license.
736
720
  * See the LICENSE file in the root directory of this source tree.
737
- */const md=[["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"}]],gd=m("message-square-more",md);/**
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=C("message-square-more",H1);/**
738
722
  * @license lucide-react v1.38.0 - ISC
739
723
  *
740
724
  * This source code is licensed under the ISC license.
741
725
  * See the LICENSE file in the root directory of this source tree.
742
- */const _d=[["path",{d:"M5 12h14",key:"1ays0h"}]],Ed=m("minus",_d);/**
726
+ */const V1=[["path",{d:"M5 12h14",key:"1ays0h"}]],U1=C("minus",V1);/**
743
727
  * @license lucide-react v1.38.0 - ISC
744
728
  *
745
729
  * This source code is licensed under the ISC license.
746
730
  * See the LICENSE file in the root directory of this source tree.
747
- */const bd=[["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"}]],Sd=m("share-2",bd);/**
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=C("share-2",G1);/**
748
732
  * @license lucide-react v1.38.0 - ISC
749
733
  *
750
734
  * This source code is licensed under the ISC license.
751
735
  * See the LICENSE file in the root directory of this source tree.
752
- */const kd=[["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"}]],wd=m("sparkles",kd);/**
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=C("sparkles",q1);/**
753
737
  * @license lucide-react v1.38.0 - ISC
754
738
  *
755
739
  * This source code is licensed under the ISC license.
756
740
  * See the LICENSE file in the root directory of this source tree.
757
- */const Ad=[["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"}]],Nd=m("type",Ad);/**
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=C("type",K1);/**
758
742
  * @license lucide-react v1.38.0 - ISC
759
743
  *
760
744
  * This source code is licensed under the ISC license.
761
745
  * See the LICENSE file in the root directory of this source tree.
762
- */const Md=[["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"}]],Td=m("volume",Md);/**
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=C("volume",Z1);/**
763
747
  * @license lucide-react v1.38.0 - ISC
764
748
  *
765
749
  * This source code is licensed under the ISC license.
766
750
  * See the LICENSE file in the root directory of this source tree.
767
- */const xd=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Bd=m("chevron-down",xd);/**
751
+ */const Q1=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],e0=C("chevron-down",Q1);/**
768
752
  * @license lucide-react v1.38.0 - ISC
769
753
  *
770
754
  * This source code is licensed under the ISC license.
771
755
  * See the LICENSE file in the root directory of this source tree.
772
- */const vd=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Dd=m("chevron-up",vd);/**
756
+ */const t0=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],n0=C("chevron-up",t0);/**
773
757
  * @license lucide-react v1.38.0 - ISC
774
758
  *
775
759
  * This source code is licensed under the ISC license.
776
760
  * See the LICENSE file in the root directory of this source tree.
777
- */const Od=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ld=m("circle",Od);/**
761
+ */const o0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],u0=C("circle",o0);/**
778
762
  * @license lucide-react v1.38.0 - ISC
779
763
  *
780
764
  * This source code is licensed under the ISC license.
781
765
  * See the LICENSE file in the root directory of this source tree.
782
- */const Rd=[["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"}]],Id=m("triangle",Rd);/**
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=C("triangle",r0);/**
783
767
  * @license lucide-react v1.38.0 - ISC
784
768
  *
785
769
  * This source code is licensed under the ISC license.
786
770
  * See the LICENSE file in the root directory of this source tree.
787
- */const jd=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Pd=m("menu",jd);/**
771
+ */const i0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],s0=C("menu",i0);/**
788
772
  * @license lucide-react v1.38.0 - ISC
789
773
  *
790
774
  * This source code is licensed under the ISC license.
791
775
  * See the LICENSE file in the root directory of this source tree.
792
- */const $d=[["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"}]],Fd=m("moon",$d);/**
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=C("moon",l0);/**
793
777
  * @license lucide-react v1.38.0 - ISC
794
778
  *
795
779
  * This source code is licensed under the ISC license.
796
780
  * See the LICENSE file in the root directory of this source tree.
797
- */const Hd=[["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"}]],zd=m("thumbs-up",Hd),wr={"alert-triangle":br,"align-start-vertical":Es,anchor:ed,"arrow-down":Ss,"arrow-left":ws,"arrow-right":Ns,"arrow-right-left":Ts,"arrow-up-a-z":nd,"audio-lines":Bs,baby:Ds,ban:Ls,"bar-chart-2":rd,bell:Is,"book-marked":Ps,"book-open":Fs,"bow-arrow":zs,braces:Us,bug:qs,calendar:ad,"calendar-check":Ws,"calendar-days":Xs,camera:Js,car:id,"chart-column":ei,"chart-line":ni,"chart-pie":ri,check:ai,"chevron-down":Bd,"chevron-left":ii,"chevron-right":li,"chevron-up":Dd,circle:Ld,"clipboard-list":hi,coffee:ld,combine:pi,copy:yi,"credit-card":gi,database:Ei,diff:Si,download:wi,ear:Ni,edit:Ti,"edit-2":Bi,"edit-3":Di,ellipsis:Sr,eraser:Ri,"external-link":ji,eye:$i,"file-text":Hi,"flip-horizontal":Vi,"folder-open":Gi,"folder-plus":Yi,gamepad:Ki,"gamepad-2":hd,gavel:Zi,"git-merge":Qi,globe:tc,headphones:oc,heart:uc,home:sc,inbox:pd,info:cc,"key-round":dc,landmark:fc,layers:Cc,"layout-dashboard":mc,leaf:_c,lightbulb:bc,link:kc,"link-2":Ac,"link-2-off":Mc,list:xc,"list-checks":vc,"list-ordered":Oc,"list-tree":yd,loader:Rc,"log-out":jc,mail:$c,"map-pin":Hc,menu:Pd,"message-circle":Vc,"message-circle-question-mark":Gc,"message-square":Yc,"message-square-more":gd,"message-square-text":Kc,minus:Ed,"minus-circle":Zc,moon:Fd,"more-horizontal":Sr,package:Qc,palette:tl,"party-popper":ol,pause:ul,pencil:sl,phone:cl,play:dl,"play-circle":fl,plus:Cl,printer:ml,"refresh-cw":_l,repeat:bl,replace:kl,rocket:Al,"rotate-ccw":Ml,"rotate-cw":xl,salad:vl,"scan-search":Ol,search:Pl,"circle-alert":kr,"alert-circle":kr,"check-circle":Il,scissors:Fl,"search-x":zl,send:Ul,settings:ql,"share-2":Sd,"shield-check":Wl,"shopping-cart":Xl,shuffle:Jl,"skip-back":e1,"skip-forward":n1,sparkles:wd,square:r1,star:a1,store:i1,"sun-medium":l1,table:h1,"table-2":p1,terminal:y1,"text-cursor-input":g1,"text-initial":E1,"thumbs-up":zd,ticket:S1,triangle:Id,"trash-2":w1,"trending-up":N1,"triangle-alert":br,trophy:T1,type:Nd,unlink:B1,upload:D1,user:L1,"user-plus":I1,"user-round":P1,"user-round-check":F1,users:z1,"users-round":U1,volume:Td,"volume-2":q1,wrench:W1,x:X1,zap:J1};function Vd(e){return wr[e]??null}const Ar=new Set,Ud=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function Gd(e){return Ud&&!(e in wr)&&!Ar.has(e)&&(Ar.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 qd=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 Yd(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?qd(n):null}const Nr=new Map;function Wd(e){const t=typeof e=="string"?Yd(e):null,n=t?Vd(t)??Nr.get(t)??null:null,[o,r]=c.useState(null);return c.useEffect(()=>{if(!t||n)return;let u=!1;return Gd(t).then(s=>{Nr.set(t,s),u||r(s)}),()=>{u=!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 Mr(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 Kd(e){if(Array.isArray(e))return e}function Xd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,u,s,i=[],l=!0,C=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(l=(o=u.call(n)).done)&&(i.push(o.value),i.length!==t);l=!0);}catch(p){C=!0,r=p}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(C)throw r}}return i}}function Zd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
798
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jd(e,t){return Kd(e)||Xd(e,t)||Qd(e,t)||Zd()}function Qd(e,t){if(e){if(typeof e=="string")return Mr(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)?Mr(e,t):void 0}}const Tr=Object.entries,xr=Object.setPrototypeOf,e0=Object.isFrozen,t0=Object.getPrototypeOf,n0=Object.getOwnPropertyDescriptor;let pe=Object.freeze,ge=Object.seal,Ot=Object.create,Br=typeof Reflect<"u"&&Reflect,eo=Br.apply,to=Br.construct;pe||(pe=function(t){return t}),ge||(ge=function(t){return t}),eo||(eo=function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),u=2;u<o;u++)r[u-2]=arguments[u];return t.apply(n,r)}),to||(to=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return new t(...o)});const St=de(Array.prototype.forEach),o0=de(Array.prototype.lastIndexOf),vr=de(Array.prototype.pop),Wt=de(Array.prototype.push),r0=de(Array.prototype.splice),Lt=Array.isArray,Kt=de(String.prototype.toLowerCase),no=de(String.prototype.toString),Dr=de(String.prototype.match),Xt=de(String.prototype.replace),Or=de(String.prototype.indexOf),u0=de(String.prototype.trim),a0=de(Number.prototype.toString),s0=de(Boolean.prototype.toString),Lr=typeof BigInt>"u"?null:de(BigInt.prototype.toString),Rr=typeof Symbol>"u"?null:de(Symbol.prototype.toString),Be=de(Object.prototype.hasOwnProperty),Zt=de(Object.prototype.toString),we=de(RegExp.prototype.test),kt=i0(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),r=1;r<n;r++)o[r-1]=arguments[r];return eo(e,t,o)}}function i0(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return to(e,n)}}function J(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Kt;if(xr&&xr(e,null),!Lt(t))return e;let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const u=n(r);u!==r&&(e0(t)||(t[o]=u),r=u)}e[r]=!0}return e}function c0(e){for(let t=0;t<e.length;t++)Be(e,t)||(e[t]=null);return e}function Le(e){const t=Ot(null);for(const o of Tr(e)){var n=Jd(o,2);const r=n[0],u=n[1];Be(e,r)&&(Lt(u)?t[r]=c0(u):u&&typeof u=="object"&&u.constructor===Object?t[r]=Le(u):t[r]=u)}return t}function l0(e){switch(typeof e){case"string":return e;case"number":return a0(e);case"boolean":return s0(e);case"bigint":return Lr?Lr(e):"0";case"symbol":return Rr?Rr(e):"Symbol()";case"undefined":return Zt(e);case"function":case"object":{if(e===null)return Zt(e);const t=e,n=Ve(t,"toString");if(typeof n=="function"){const o=n(t);return typeof o=="string"?o:Zt(o)}return Zt(e)}default:return Zt(e)}}function Ve(e,t){for(;e!==null;){const o=n0(e,t);if(o){if(o.get)return de(o.get);if(typeof o.value=="function")return de(o.value)}e=t0(e)}function n(){return null}return n}function d0(e){try{return we(e,""),!0}catch{return!1}}const Ir=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"]),oo=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"]),ro=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"]),h0=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"]),uo=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"]),f0=pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),jr=pe(["#text"]),Pr=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"]),ao=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"]),$r=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"]),wn=pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),p0=ge(/{{[\w\W]*|^[\w\W]*}}/g),C0=ge(/<%[\w\W]*|^[\w\W]*%>/g),y0=ge(/\${[\w\W]*/g),m0=ge(/^data-[\-\w.\u00B7-\uFFFF]+$/),g0=ge(/^aria-[\-\w]+$/),Fr=ge(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_0=ge(/^(?:\w+script|data):/i),E0=ge(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),b0=ge(/^html$/i),S0=ge(/^[a-z][.\w]*(-[.\w]+)+$/i),Hr=ge(/<[/\w!]/g),zr=ge(/<[/\w]/g),k0=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},Vr=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],A0=pe(J({},Vr)),N0=(function(){const e={};return St(Vr,t=>{e[t]=ge(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),pe(e)})(),M0=function(){return typeof window>"u"?null:window},T0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(o=n.getAttribute(r));const u="dompurify"+(o?"#"+o:"");try{return t.createPolicy(u,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},Ur=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ft=function(t,n,o,r){return Be(t,n)&&Lt(t[n])?J(r.base?Le(r.base):{},t[n],r.transform):o},so=function(t,n,o){const r=Be(t,n)?t[n]:void 0;return r&&typeof r=="object"?Le(r):o()};function Gr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M0();const t=M=>Gr(M);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,r=o.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,s=e.Node,i=e.Element,l=e.NodeFilter,C=e.NamedNodeMap;C===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const p=e.DOMParser,h=e.trustedTypes,d=i.prototype,y=Ve(d,"cloneNode"),E=Ve(d,"remove"),b=Ve(d,"nextSibling"),_=Ve(d,"childNodes"),g=Ve(d,"parentNode"),k=Ve(d,"shadowRoot"),w=Ve(d,"attributes"),x=s&&s.prototype?Ve(s.prototype,"nodeType"):null,R=s&&s.prototype?Ve(s.prototype,"nodeName"):null,D=s&&s.prototype?Ve(s.prototype,"ownerDocument"):null,P=function(a){return x?x(a):a.nodeType},G=function(a){return R?R(a):a.nodeName};if(typeof u=="function"){const M=n.createElement("template");M.content&&M.content.ownerDocument&&(n=M.content.ownerDocument)}let L,T="",U,$=!1,q=0;const H=function(){if(q>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.')},O=function(a){H(),q++;try{return L.createHTML(a)}finally{q--}},I=function(a){H(),q++;try{return L.createScriptURL(a)}finally{q--}},Ce=function(){return $||(U=T0(h,r),$=!0),U},Z=n,Q=Z.implementation,N=Z.createNodeIterator,z=Z.createDocumentFragment,ne=Z.getElementsByTagName,oe=o.importNode;let K=Ur();t.isSupported=typeof Tr=="function"&&typeof g=="function"&&Q&&Q.createHTMLDocument!==void 0;const be=p0,B=C0,he=y0,fe=m0,Ie=g0,ct=_0,Ue=E0,Qe=S0;let $e=Fr,ee=null;const et=J({},[...Ir,...oo,...ro,...uo,...jr]);let re=null;const A=J({},[...Pr,...ao,...$r,...wn]);let j=Object.seal(Ot(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}})),V=null,X=null;const te=Object.seal(Ot(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Me=!0,Ae=!0,Ge=!1,Fe=!0,ye=!1,je=!0,ve=!1,lt=!1,qe=null,tt=null,nt=!1,ot=!1,wt=!1,Ct=!1,It=!0,me=!1;const At="user-content-";let Nt=!0,rt=!1,dt={},Ye=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 We=null;const jt=J({},["audio","video","img","source","image","track"]);let Mt=null;const Eo=J({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),an="http://www.w3.org/1998/Math/MathML",sn="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml";let Tt=Ke,Dn=!1,On=null;const hu=J({},[an,sn,Ke],no),bo=pe(["mi","mo","mn","ms","mtext"]);let Ln=J({},bo);const So=pe(["annotation-xml"]);let Rn=J({},So);const fu=J({},["title","style","font","a","script"]);let Pt=null;const pu=["application/xhtml+xml","text/html"],Cu="text/html";let le=null,xt=null;const yu=n.createElement("form"),ko=function(a){return a instanceof RegExp||a instanceof Function},In=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(xt&&xt===a)return;(!a||typeof a!="object")&&(a={}),a=Le(a),Pt=pu.indexOf(a.PARSER_MEDIA_TYPE)===-1?Cu:a.PARSER_MEDIA_TYPE,le=Pt==="application/xhtml+xml"?no:Kt,ee=ft(a,"ALLOWED_TAGS",et,{transform:le}),re=ft(a,"ALLOWED_ATTR",A,{transform:le}),On=ft(a,"ALLOWED_NAMESPACES",hu,{transform:no}),Mt=ft(a,"ADD_URI_SAFE_ATTR",Eo,{transform:le,base:Eo}),We=ft(a,"ADD_DATA_URI_TAGS",jt,{transform:le,base:jt}),Ye=ft(a,"FORBID_CONTENTS",ue,{transform:le}),V=ft(a,"FORBID_TAGS",Le({}),{transform:le}),X=ft(a,"FORBID_ATTR",Le({}),{transform:le}),dt=Be(a,"USE_PROFILES")?a.USE_PROFILES&&typeof a.USE_PROFILES=="object"?Le(a.USE_PROFILES):a.USE_PROFILES:!1,Me=a.ALLOW_ARIA_ATTR!==!1,Ae=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,ve=a.WHOLE_DOCUMENT||!1,ot=a.RETURN_DOM||!1,wt=a.RETURN_DOM_FRAGMENT||!1,Ct=a.RETURN_TRUSTED_TYPE||!1,nt=a.FORCE_BODY||!1,It=a.SANITIZE_DOM!==!1,me=a.SANITIZE_NAMED_PROPS||!1,Nt=a.KEEP_CONTENT!==!1,rt=a.IN_PLACE||!1,$e=d0(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:Fr,Tt=typeof a.NAMESPACE=="string"?a.NAMESPACE:Ke,Ln=so(a,"MATHML_TEXT_INTEGRATION_POINTS",()=>J({},bo)),Rn=so(a,"HTML_INTEGRATION_POINTS",()=>J({},So));const f=so(a,"CUSTOM_ELEMENT_HANDLING",()=>Ot(null));if(j=Ot(null),Be(f,"tagNameCheck")&&ko(f.tagNameCheck)&&(j.tagNameCheck=f.tagNameCheck),Be(f,"attributeNameCheck")&&ko(f.attributeNameCheck)&&(j.attributeNameCheck=f.attributeNameCheck),Be(f,"allowCustomizedBuiltInElements")&&typeof f.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=f.allowCustomizedBuiltInElements),ge(j),ye&&(Ae=!1),wt&&(ot=!0),dt&&(ee=J({},jr),re=Ot(null),dt.html===!0&&(J(ee,Ir),J(re,Pr)),dt.svg===!0&&(J(ee,oo),J(re,ao),J(re,wn)),dt.svgFilters===!0&&(J(ee,ro),J(re,ao),J(re,wn)),dt.mathMl===!0&&(J(ee,uo),J(re,$r),J(re,wn))),te.tagCheck=null,te.attributeCheck=null,Be(a,"ADD_TAGS")&&(typeof a.ADD_TAGS=="function"?te.tagCheck=a.ADD_TAGS:Lt(a.ADD_TAGS)&&(ee===et&&(ee=Le(ee)),J(ee,a.ADD_TAGS,le))),Be(a,"ADD_ATTR")&&(typeof a.ADD_ATTR=="function"?te.attributeCheck=a.ADD_ATTR:Lt(a.ADD_ATTR)&&(re===A&&(re=Le(re)),J(re,a.ADD_ATTR,le))),Be(a,"ADD_FORBID_CONTENTS")&&Lt(a.ADD_FORBID_CONTENTS)&&(Ye===ue&&(Ye=Le(Ye)),J(Ye,a.ADD_FORBID_CONTENTS,le)),Nt&&(ee["#text"]=!0),ve&&J(ee,["html","head","body"]),ee.table&&(J(ee,["tbody"]),delete V.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 S=L;L=a.TRUSTED_TYPES_POLICY;try{T=O("")}catch(v){throw L=S,v}}else a.TRUSTED_TYPES_POLICY===null?(L=void 0,T=""):(L===void 0&&(L=Ce()),L&&typeof T=="string"&&(T=O("")));pe&&pe(a),xt=a},wo=J({},[...oo,...ro,...h0]),Ao=J({},[...uo,...f0]),mu=function(a,f,S){return f.namespaceURI===Ke?a==="svg":f.namespaceURI===an?a==="svg"&&(S==="annotation-xml"||Ln[S]):!!wo[a]},gu=function(a,f,S){return f.namespaceURI===Ke?a==="math":f.namespaceURI===sn?a==="math"&&Rn[S]:!!Ao[a]},_u=function(a,f,S){return f.namespaceURI===sn&&!Rn[S]||f.namespaceURI===an&&!Ln[S]?!1:!Ao[a]&&(fu[a]||!wo[a])},Eu=function(a){let f=g(a);(!f||!f.tagName)&&(f={namespaceURI:Tt,tagName:"template"});const S=Kt(a.tagName),v=Kt(f.tagName);return On[a.namespaceURI]?a.namespaceURI===sn?mu(S,f,v):a.namespaceURI===an?gu(S,f,v):a.namespaceURI===Ke?_u(S,f,v):!!(Pt==="application/xhtml+xml"&&On[a.namespaceURI]):!1},ht=function(a){Wt(t.removed,{element:a});try{g(a).removeChild(a)}catch{if(E(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")}},No=function(a,f,S){try{a.removeAttributeNode(f)}catch{try{a.removeAttribute(S)}catch{}}},cn=function(a){ln(a);const f=_(a);if(f){const v=[];St(f,F=>{Wt(v,F)}),St(v,F=>{try{E(F)}catch{}})}const S=w(a);if(S)for(let v=S.length-1;v>=0;--v){const F=S[v],W=F&&F.name;typeof W=="string"&&No(a,F,W)}},yt=function(a,f,S){if(!S)try{S=f.getAttributeNode(a)}catch{S=null}Wt(t.removed,{attribute:S||null,from:f});try{S?f.removeAttributeNode(S):f.removeAttribute(a)}catch{try{f.removeAttribute(a)}catch{}}if(a==="is")if(ot||wt)try{ht(f)}catch{}else try{f.setAttribute(a,"")}catch{}},bu=function(a){const f=w(a);if(f)for(let S=f.length-1;S>=0;--S){const v=f[S],F=v&&v.name;typeof F!="string"||re[le(F)]||No(a,v,F)}},ln=function(a){const f=[a];for(;f.length>0;){const S=f.pop();P(S)===Re.element&&bu(S);const F=_(S);if(F)for(let W=F.length-1;W>=0;--W)f.push(F[W])}},Mo=function(a,f){return je?a==="patchsrc"?!0:a==="for"&&f!=="label"&&f!=="output":!1},Su=function(a){if(!je)return;const f=[a];for(;f.length>0;){const S=f.pop(),v=P(S);if(v===Re.processingInstruction||v===Re.comment&&we(zr,S.data)){try{E(S)}catch{}continue}if(v===Re.element){const W=S,se=le(G(S));try{W.hasAttribute&&W.hasAttribute("patchsrc")&&W.removeAttribute("patchsrc"),W.hasAttribute&&W.hasAttribute("for")&&Mo("for",se)&&W.removeAttribute("for")}catch{}}const F=_(S);if(F)for(let W=F.length-1;W>=0;--W)f.push(F[W])}},To=function(a){let f=null,S=null;if(nt)a="<remove></remove>"+a;else{const W=Dr(a,/^[\r\n\t ]+/);S=W&&W[0]}Pt==="application/xhtml+xml"&&Tt===Ke&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const v=L?O(a):a;if(Tt===Ke)try{f=new p().parseFromString(v,Pt)}catch{}if(!f||!f.documentElement){f=Q.createDocument(Tt,"template",null);try{f.documentElement.innerHTML=Dn?T:v}catch{}}const F=f.body||f.documentElement;return a&&S&&F.insertBefore(n.createTextNode(S),F.childNodes[0]||null),Tt===Ke?ne.call(f,ve?"html":"body")[0]:ve?f.documentElement:F},xo=function(a){const f=D?D(a):a.ownerDocument;return N.call(f||a,a,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},dn=function(a){return a=Xt(a,be," "),a=Xt(a,B," "),a=Xt(a,he," "),a},jn=function(a){var f;a.normalize();const S=D?D(a):a.ownerDocument,v=N.call(S||a,a,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let F=v.nextNode();for(;F;)F.data=dn(F.data),F=v.nextNode();const W=(f=a.querySelectorAll)===null||f===void 0?void 0:f.call(a,"template");W&&St(W,se=>{Bt(se.content)&&jn(se.content)})},hn=function(a){const f=R?R(a):null;return typeof f!="string"||le(f)!=="form"?!1:typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||a.attributes!==w(a)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function"||a.nodeType!==x(a)||a.childNodes!==_(a)},Bt=function(a){if(!x||typeof a!="object"||a===null)return!1;try{return x(a)===Re.documentFragment}catch{return!1}},$t=function(a){if(!x||typeof a!="object"||a===null)return!1;try{return typeof x(a)=="number"}catch{return!1}};function Xe(M,a,f){M.length!==0&&St(M,S=>{S.call(t,a,f,xt)})}const ku=function(a,f){return!!(je&&a.hasChildNodes()&&!$t(a.firstElementChild)&&we(Hr,a.textContent)&&we(Hr,a.innerHTML)||je&&a.namespaceURI===Ke&&A0[f]&&($t(a.firstElementChild)||typeof a.textContent=="string"&&we(N0[f],a.textContent))||a.nodeType===Re.processingInstruction||je&&a.nodeType===Re.comment&&we(zr,a.data))},fn=function(a,f){if(a instanceof RegExp)return we(a,f);if(a instanceof Function){for(var S=arguments.length,v=new Array(S>2?S-2:0),F=2;F<S;F++)v[F-2]=arguments[F];return!!a(f,...v)}return!1},wu=function(a,f,S){if(!V[f]&&Lo(f)&&fn(j.tagNameCheck,f))return!1;if(Nt&&!Ye[f]){const v=g(a),F=_(a);if(F&&v){const W=F.length;for(let se=W-1;se>=0;--se){const ce=a===S?y(F[se],!0):F[se];v.insertBefore(ce,b(a))}}}return ht(a),!0},Bo=function(a,f,S,v){return a.length===0?f:f===S||f===v?Le(f):f},vo=function(a,f){return a===f||g(a)!==null?!1:(rt&&ln(a),!0)},Do=function(a,f){if(Xe(K.beforeSanitizeElements,a,null),vo(a,f))return!0;if(hn(a))return ht(a),!0;const S=le(G(a));if(ee=Bo(K.uponSanitizeElement,ee,et,qe),Xe(K.uponSanitizeElement,a,{tagName:S,allowedTags:ee}),vo(a,f))return!0;if(ku(a,S))return ht(a),!0;if(V[S]||!(te.tagCheck instanceof Function&&te.tagCheck(S))&&!ee[S]){const F=wu(a,S,f);return F===!1&&Xe(K.afterSanitizeElements,a,null),F}if(P(a)===Re.element&&!Eu(a)||(S==="noscript"||S==="noembed"||S==="noframes")&&we(k0,a.innerHTML))return ht(a),!0;if(ye&&a.nodeType===Re.text){const F=dn(a.textContent);a.textContent!==F&&(Wt(t.removed,{element:a.cloneNode()}),a.textContent=F)}return Xe(K.afterSanitizeElements,a,null),!1},Oo=function(a,f,S){if(X[f]||Mo(f,a)||It&&(f==="id"||f==="name")&&(S in n||S in yu))return!1;const v=re[f]||te.attributeCheck instanceof Function&&te.attributeCheck(f,a);return Ae&&we(fe,f)||Me&&we(Ie,f)?!0:v?Mt[f]||we($e,Xt(S,Ue,""))||(f==="src"||f==="xlink:href"||f==="href")&&a!=="script"&&Or(S,"data:")===0&&We[a]||Ge&&!we(ct,Xt(S,Ue,""))?!0:!S:Lo(a)&&fn(j.tagNameCheck,a)&&fn(j.attributeNameCheck,f,a)||f==="is"&&j.allowCustomizedBuiltInElements&&fn(j.tagNameCheck,S)},Au=J({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Lo=function(a){return!Au[Kt(a)]&&we(Qe,a)},Nu=function(a,f,S,v){if(L&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!S)switch(h.getAttributeType(a,f)){case"TrustedHTML":return O(v);case"TrustedScriptURL":return I(v)}return v},Mu=function(a,f,S,v){try{S?a.setAttributeNS(S,f,v):a.setAttribute(f,v),hn(a)?ht(a):vr(t.removed)}catch{yt(f,a)}},Ro=function(a){Xe(K.beforeSanitizeAttributes,a,null);const f=a.attributes;if(!f||hn(a))return;re=Bo(K.uponSanitizeAttribute,re,A,tt);const S={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:re,forceKeepAttr:void 0};let v=f.length;const F=le(a.nodeName);for(;v--;){const W=f[v],se=W.name,ce=W.namespaceURI,Te=W.value,xe=le(se),$n=Te;let Ne=se==="value"?$n:u0($n);if(S.attrName=xe,S.attrValue=Ne,S.keepAttr=!0,S.forceKeepAttr=void 0,Xe(K.uponSanitizeAttribute,a,S),Ne=S.attrValue,me&&(xe==="id"||xe==="name")&&Or(Ne,At)!==0&&(yt(se,a,W),Ne=At+Ne),je&&we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Ne)){yt(se,a,W);continue}if(xe==="attributename"&&Dr(Ne,"href")){yt(se,a,W);continue}if(!S.forceKeepAttr){if(!S.keepAttr){yt(se,a,W);continue}if(!Fe&&we(w0,Ne)){yt(se,a,W);continue}if(ye&&(Ne=dn(Ne)),!Oo(F,xe,Ne)){yt(se,a,W);continue}Ne=Nu(F,xe,ce,Ne),Ne!==$n&&Mu(a,se,ce,Ne)}}Xe(K.afterSanitizeAttributes,a,null)},pn=function(a){let f=null;const S=xo(a);for(Xe(K.beforeSanitizeShadowDOM,a,null);f=S.nextNode();)if(Xe(K.uponSanitizeShadowNode,f,null),Do(f,a),Ro(f),Bt(f.content)&&pn(f.content),P(f)===Re.element){const v=k(f);Bt(v)&&(Pn(v),pn(v))}Xe(K.afterSanitizeShadowDOM,a,null)},Pn=function(a){const f=[{node:a,shadow:null}];for(;f.length>0;){const S=f.pop();if(S.shadow){pn(S.shadow);continue}const v=S.node,W=P(v)===Re.element,se=_(v);if(se)for(let ce=se.length-1;ce>=0;--ce)f.push({node:se[ce],shadow:null});if(W){const ce=R?R(v):null;if(typeof ce=="string"&&le(ce)==="template"){const Te=v.content;Bt(Te)&&f.push({node:Te,shadow:null})}}if(W){const ce=k(v);Bt(ce)&&f.push({node:null,shadow:ce},{node:ce,shadow:null})}}};return t.sanitize=function(M){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=null,S=null,v=null,F=null;if(Dn=!M,Dn&&(M="<!-->"),typeof M!="string"&&!$t(M)&&(M=l0(M),typeof M!="string"))throw kt("dirty is not a string, aborting");if(!t.isSupported)return M;lt?(ee=qe,re=tt):In(a),(K.uponSanitizeElement.length>0||K.uponSanitizeAttribute.length>0)&&(ee=Le(ee)),K.uponSanitizeAttribute.length>0&&(re=Le(re)),t.removed=[];const W=rt&&typeof M!="string"&&$t(M);if(W){Su(M);const Te=G(M);if(typeof Te=="string"){const xe=le(Te);if(!ee[xe]||V[xe])throw cn(M),kt("root node is forbidden and cannot be sanitized in-place")}if(hn(M))throw cn(M),kt("root node is clobbered and cannot be sanitized in-place");try{Pn(M)}catch(xe){throw cn(M),xe}}else if($t(M))f=To("<!---->"),S=f.ownerDocument.importNode(M,!0),S.nodeType===Re.element&&S.nodeName==="BODY"||S.nodeName==="HTML"?f=S:f.appendChild(S),Pn(S);else{if(!ot&&!ye&&!ve&&M.indexOf("<")===-1)return L&&Ct?O(M):M;if(f=To(M),!f)return ot?null:Ct?T:""}f&&nt&&ht(f.firstChild);const se=W?M:f;try{const Te=xo(se);for(;v=Te.nextNode();)Do(v,se),Ro(v),Bt(v.content)&&pn(v.content)}catch(Te){throw W&&(cn(M),St(t.removed,xe=>{xe.element&&ln(xe.element)})),Te}if(W)return St(t.removed,Te=>{Te.element&&ln(Te.element)}),ye&&jn(M),M;if(ot){if(ye&&jn(f),wt)for(F=z.call(f.ownerDocument);f.firstChild;)F.appendChild(f.firstChild);else F=f;return(re.shadowroot||re.shadowrootmode)&&(F=oe.call(o,F,!0)),F}let ce=ve?f.outerHTML:f.innerHTML;return ve&&ee["!doctype"]&&f.ownerDocument&&f.ownerDocument.doctype&&f.ownerDocument.doctype.name&&we(b0,f.ownerDocument.doctype.name)&&(ce="<!DOCTYPE "+f.ownerDocument.doctype.name+`>
799
- `+ce),ye&&(ce=dn(ce)),L&&Ct?O(ce):ce},t.setConfig=function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};In(M),lt=!0,qe=ee,tt=re},t.clearConfig=function(){xt=null,lt=!1,qe=null,tt=null,L=U,T=""},t.isValidAttribute=function(M,a,f){xt||In({});const S=le(M),v=le(a);return Oo(S,v,f)},t.addHook=function(M,a){typeof a=="function"&&Be(K,M)&&Wt(K[M],a)},t.removeHook=function(M,a){if(Be(K,M)){if(a!==void 0){const f=o0(K[M],a);return f===-1?void 0:r0(K[M],f,1)[0]}return vr(K[M])}},t.removeHooks=function(M){Be(K,M)&&(K[M]=[])},t.removeAllHooks=function(){K=Ur()},t}var x0=Gr();const B0=/^(?:[a-z]+:)?\/\//i;let v0="";function D0(){return v0}function io(e){const t=String(e||"").trim();if(!t)return"";if(B0.test(t)||t.startsWith("data:")||t.startsWith("blob:"))return t;const n=t.startsWith("/")?t:`/${t}`,o=D0();return o?`${o}${n}`:n}function O0(){return An(new Date)}function An(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 Jt=[],Qt=[],en=[],tn=[],Nn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},Mn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},L0={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let co=null,qr=null,pt=null;function R0({counts:e,forceRefresh:t}={}){const n=Object.assign({},L0,e||{}),o=O0(),r=An(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),u=JSON.stringify(n);if(!t&&qr===o&&co===u&&pt)return Object.assign(Nn,pt.today),Object.assign(Mn,pt.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:Nn,yesterday:Mn};const s={LISTEN_IN_NOISE:at(Jt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:at(Qt,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:at(en,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:at(tn,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let i=null;return pt&&co===u&&pt.yesterday&&pt.yesterday.date===r&&(i=pt.yesterday.selection),i||(i={LISTEN_IN_NOISE:at(Jt,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:at(Qt,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:at(en,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:at(tn,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(Nn,s),Object.assign(Mn,i),qr=o,co=u,pt={today:s,yesterday:{date:r,countsKey:u,selection:i}},{today:Nn,yesterday:Mn}}let Yr=!1,nn=null;async function I0(){try{const e={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Fn&&Fn.tagName.toUpperCase()==="SCRIPT"&&Fn.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 j0(){if(!Yr)return nn||(nn=(async()=>{const e=await I0();if(!e){nn=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 r=o,u=String(r.training_type||t),s=String(r.category_main_code||r.category_main||r.category_0||""),i=String(r.category_sub_code||r.category_sub||r.category_1||""),l=Object.assign({},r,{training_type:u,category_0:s,category_1:i});u==="LISTEN_IN_NOISE"?Jt.push(l):u==="SHORT_STORY"?Qt.push(l):u==="LONG_STORY"?en.push(l):u==="ORDERING_SENTENCE"&&tn.push(l)}}}catch{nn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{R0()}catch{}Yr=!0})(),nn)}async function P0(e=3e3){const t=j0();return Promise.race([t,new Promise(n=>setTimeout(n,e))])}const $0=[{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."}],F0={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function H0(e){return $0.map(t=>{const n=F0[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}function z0(e){return typeof window>"u"?"":x0.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function V0(e){const[t,n]=c.useState(null),[o,r]=c.useState(null),[u,s]=c.useState(null),[i,l]=c.useState(null);return c.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){n(null),r(null),s(null);return}const C=e.split("/").pop();let p=e;C&&(e.startsWith("/")?p=io(e):/^(Logo|Symbol)/i.test(C)?p=io(`logo/${C}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),n(p)},[e]),c.useEffect(()=>{if(!t)return;let C=!1;async function p(){try{let h=await fetch(t);h.ok||(h=await fetch(t));const d=h.headers.get("content-type")||"";if(C)return;if(d.includes("svg")){r("mask");return}if(d.startsWith("image/")){r("img");return}const y=await fetch(t);if(!y.ok)throw new Error("not ok");const E=await y.text();if(C)return;if(/^\s*<svg[\s>]/i.test(E)){const b=z0(E);if(!b){r("none");return}s(b),r("inline");return}r("none")}catch{C||r("none")}}return p(),()=>{C=!0}},[t]),c.useEffect(()=>{let C=!1,p=null;return o==="mask"&&t&&fetch(t).then(h=>{if(!h.ok)throw new Error("fetch failed");return h.blob()}).then(h=>{C||(p=URL.createObjectURL(h),l(p))}).catch(()=>{C||r("img")}),()=>{C=!0,p&&URL.revokeObjectURL(p),l(null)}},[o,t]),{iconToUse:t,mode:o,svgText:u,blobUrl:i}}function U0(e){const{icon:t,label:n,className:o,imgClassName:r,maskClassName:u,svgClassName:s,wrapperStyle:i,size:l}=e||{},C=o??"iconRenderer-icon",p=r??"iconRenderer-icon-image",h=u??"iconRenderer-icon-mask",d=s??"iconRenderer-icon-svg",y=typeof t=="string"?t:null,E=Wd(y),{iconToUse:b,mode:_,svgText:g,blobUrl:k}=V0(y),w=(P,G={})=>Y.jsx("span",{className:C,style:i,...G,children:P}),x=(P,G={})=>Y.jsx("img",{src:P,alt:typeof n=="string"?n:n?String(n):"",className:p,...G});if(!t)return null;if(typeof t!="string")return w(t);if(t==="none")return w(Y.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(E)try{return w(c.createElement(E,{className:d,size:typeof l=="number"?l:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(_==="mask"){const P={"--icon-url":k?`url(${k})`:`url(${b})`};return w(Y.jsx("span",{className:h,style:P}),{"aria-hidden":"true"})}return _==="img"?w(x(b,{onError:P=>{P.currentTarget.onerror=null,P.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?w(Y.jsx("span",{className:d,dangerouslySetInnerHTML:g?{__html:g}:void 0}),{"aria-hidden":"true"}):w(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return x(io(t),{style:i,onError:P=>{P.currentTarget.onerror=null,P.currentTarget.style.display="none"}});const R=typeof l=="number"?l:20,D=`<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 w(Y.jsx("span",{className:d,dangerouslySetInnerHTML:{__html:D}}),{"aria-hidden":"true"})}function Wr(e){const{anchorRect:t,anchorEl:n,offset:o=20,edgeMargin:r=20,onClose:u,closeOnOutsideClick:s=!0,className:i="",role:l="dialog",ariaLabel:C="",children:p,backdrop:h=!1,isMobilePopup:d=!1,useBorder:y=!0,header:E}=e||{},b=c.useRef(null),[_,g]=c.useState({position:"fixed",left:0,top:-9999}),[k,w]=c.useState(!1),[x,R]=c.useState("bottom"),[D,P]=c.useState(!1),[G,L]=c.useState(!1),T=!t&&!n,U=c.useCallback((O=!1)=>{if(G&&d)return;const I=n?n.getBoundingClientRect():t;if(!I||!b.current)return;const Ce=b.current,{offsetWidth:Z,offsetHeight:Q}=Ce,N=window.innerWidth,z=window.innerHeight,ne=N-I.right,oe=I.left,K=I.top,be=z-I.bottom;let B=0,he=0,fe="top";if(K>=Q+o)fe="top",he=I.top-o-Q,B=I.left+I.width/2-Z/2;else if(be>=Q+o)fe="bottom",he=I.bottom+o,B=I.left+I.width/2-Z/2;else if(ne>=Z+o)fe="right",B=I.right+o,he=I.top+I.height/2-Q/2;else if(oe>=Z+o)fe="left",B=I.left-o-Z,he=I.top+I.height/2-Q/2;else{const Qe=Math.max(K,be,ne,oe);Qe===K?(fe="top",he=I.top-o-Q,B=I.left+I.width/2-Z/2):Qe===be?(fe="bottom",he=I.bottom+o,B=I.left+I.width/2-Z/2):Qe===ne?(fe="right",B=I.right+o,he=I.top+I.height/2-Q/2):(fe="left",B=I.left-o-Z,he=I.top+I.height/2-Q/2)}const Ie=Number(r)||8;B=Math.min(Math.max(B,Ie),N-Z-Ie),he=Math.min(Math.max(he,Ie),z-Q-Ie);const ct=Math.round(B),Ue=Math.round(he);O&&b.current?(b.current.style.left=`${ct}px`,b.current.style.top=`${Ue}px`,b.current.dataset.placement=fe):(R(fe||x),g({position:"fixed",left:ct,top:Ue}),P(!0))},[G,d,n,t,o,r,x]);c.useLayoutEffect(()=>{if(T)return;if(G&&d){g({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),P(!0);return}U();const O=requestAnimationFrame(()=>U());return()=>cancelAnimationFrame(O)},[t,n,o,p,r,T,G,d,U]),c.useEffect(()=>{if(T||G&&d||!b.current||typeof ResizeObserver>"u")return;const O=new ResizeObserver(()=>{t&&U()});return O.observe(b.current),()=>O.disconnect()},[t,p,r,T,G,d,U]),c.useEffect(()=>{if(T||G&&d)return;const O=()=>U(!0);return window.addEventListener("resize",O),document.addEventListener("scroll",O,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",O),document.removeEventListener("scroll",O,{capture:!0})}},[t,o,p,r,T,G,d,U]),c.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const O=window.matchMedia("(max-width: 768px)"),I=()=>L(!!O.matches);I();try{O.addEventListener?O.addEventListener("change",I):O.addListener(I)}catch{try{O.addListener(I)}catch{}}return()=>{try{O.removeEventListener?O.removeEventListener("change",I):O.removeListener(I)}catch{}}},[]);const $=c.useRef(!1),q=c.useCallback((O=!1)=>{if(!(k||$.current)){if($.current=!0,O){w(!0);try{u&&u()}catch{}return}w(!0),setTimeout(()=>{u&&u()},200)}},[k,u,w]);c.useEffect(()=>{const O=Z=>{const Q=b.current;if(!Q)return;const N=Z.target;if(N&&!Q.contains(N)){try{if(N.closest&&N.closest("[data-tooltip-ignore]"))return}catch{}s&&q(!0)}},I=Z=>{const Q=b.current;if(!Q)return;const N=Z.target;if(N&&!Q.contains(N)){try{if(N.closest&&N.closest("[data-tooltip-ignore]"))return}catch{}s&&q(!0)}},Ce=Z=>{if(Z.key==="Escape"){Z.stopPropagation(),q();return}if(Z.key==="Tab"){const Q=b.current;if(!Q)return;const N=Q.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!N||N.length===0)return;const z=N[0],ne=N[N.length-1],oe=document.activeElement;Z.shiftKey?oe===z&&(Z.preventDefault(),ne.focus()):oe===ne&&(Z.preventDefault(),z.focus())}};return document.addEventListener("pointerdown",O,!0),document.addEventListener("click",I,!0),document.addEventListener("keydown",Ce),()=>{document.removeEventListener("pointerdown",O,!0),document.removeEventListener("click",I,!0),document.removeEventListener("keydown",Ce)}},[u,s,q]),c.useEffect(()=>{const O=()=>{q(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",O),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",O)}},[q]);const H=Y.jsxs("div",{ref:b,className:`tooltip-content ${y?"tooltip-content--bordered":""} ${k?"is-closing":""} ${i} ${G&&d?"is-mobile":""}`,role:l,"aria-label":C||void 0,style:T?{}:{..._,visibility:D?"visible":"hidden"},tabIndex:-1,"data-placement":x,"data-left":T?"":_.left,"data-top":T?"":_.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:[E!=null&&Y.jsx("div",{className:"tooltip-content__header h5",children:E}),p]});if(T||typeof document>"u")return H;if(h||G&&d){const O=Y.jsxs("div",{className:"tooltip-portal",children:[Y.jsx("div",{className:"tooltip-backdrop",onClick:()=>{s&&q(!0)}}),H]});return Io.createPortal(O,document.body)}return Io.createPortal(H,document.body)}function G0(e){const{anchorRect:t,text:n,offset:o=8,onClose:r,className:u="",ariaLabel:s}=e||{};return n?Y.jsx(Wr,{anchorRect:t,offset:o,onClose:r,closeOnOutsideClick:!1,className:`tooltip-info ${u}`,ariaLabel:s||n,children:Y.jsx("div",{className:"tooltip-info__content body-3",children:n})}):null}function Kr(e){const{anchorRect:t,title:n,items:o,activeIndex:r=-1,showIndex:u=!0,onClose:s,offset:i=12}=e||{},l=Array.isArray(o)?o:o?[o]:[];return!l.length&&!n?null:Y.jsx(Wr,{anchorRect:t,offset:i,onClose:s,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:Y.jsxs("div",{className:"tooltip-description__box",children:[n&&Y.jsx("span",{className:"tooltip-description__title body-2",children:n}),Y.jsx("ol",{className:"tooltip-description__items",children:l.map((C,p)=>Y.jsxs("li",{className:`tooltip-description__item body-3${p===r?" tooltip-description__item--active":""}`,children:[u&&l.length>1&&Y.jsxs("span",{className:"tooltip-description__index button-1",children:[p+1,"."]}),Y.jsx("span",{children:C})]},p))})]})})}function q0(e){const{size:t=48,type:n,htmlType:o,href:r,target:u,rel:s,icon:i,rightIcon:l,label:C,count:p,subLabel:h,children:d,ariaLabel:y,variant:E="default",align:b="center",selected:_,toggleable:g=!1,disabled:k=!1,useLabel:w=!0,useBorder:x=!0,useBG:R=!0,useDisabledCovered:D=!1,useDisabledInvisible:P=!1,width:G,minWidth:L,onClick:T,onDisabledClick:U,showTooltipInfo:$=!1,tooltipInfoText:q=null,tooltipDescription:H=null,iconSize:O="medium",iconColor:I,shape:Ce="rounded",color:Z,className:Q,...N}=e,z=typeof t=="string"&&isNaN(Number(t))?t.toLowerCase():String(Number(t)||48),ne=z.match(/^\d+$/)?`button${z}`:`button-${z}`,oe=Number(t),K=!isNaN(oe)&&oe<40?"button-2":"button-1",be=C??d,B=k||!!N.disabled,he=B?D?"disabled-covered":P?"disabled-invisibled":"disabled":E,fe=he?`button--variant-${he}`:"",Ie=b?`button--align-${b}`:"",ct=Ce?`button--shape-${Ce}`:"",Ue=typeof I=="string"&&I.startsWith("--")?`var(${I})`:I,Qe={...G?{width:typeof G=="number"?`${G}px`:G}:{},...L?{minWidth:typeof L=="number"?`${L}px`:L}:{},...x?{}:{"--button-border":B?"0":"1px solid transparent"},...Ue?{"--button-icon-color":Ue}:{},...Z?{"--color-main":Z}:{}},$e=w===!1?"":be,ee=Array.isArray($e)?$e.length>0:!!$e,et=!!l,re=n??(ee||i||et?"bar":"dot"),A=`${ne}--${re}`,j=c.useRef(null),V=c.useRef(B),[X,te]=c.useState(!!_),[Me,Ae]=c.useState(!1),[Ge,Fe]=c.useState(null),ye=c.useCallback(()=>Ae(!1),[]);c.useEffect(()=>{($||H)&&B&&Me&&(Ae(!1),Fe(null))},[B,$,H,Me]),c.useEffect(()=>{typeof _=="boolean"&&te(_)},[_]),c.useEffect(()=>{if(V.current&&!B&&j.current){const ue=j.current;ue.blur(),ue.style.pointerEvents="none";const We=requestAnimationFrame(()=>{requestAnimationFrame(()=>{j.current&&(j.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(We)}V.current=B},[B]);const je=typeof _=="boolean"?!!_:X,ve=g||typeof _=="boolean"?je?"true":"false":void 0,lt=ds("button",ne,A,fe,Ie,ct,je?"is-selected":null,R?null:"button--no-bg",Q),qe=`button__icon button__icon--${O}`,tt=Array.isArray(h)?h:h!==void 0?[h]:[],nt=()=>{if(Array.isArray($e))return $e.map((We,jt)=>{const Mt=tt[jt];return Y.jsxs("span",{className:`button__label-text${Mt!==void 0?" button__label-text--has-sub":""}`,children:[We,Mt!==void 0&&Y.jsx("span",{className:"button__sub-label-text caption-1",children:Mt})]},jt)});const ue=h!==void 0;return Y.jsxs("span",{className:`button__label-text${ue?" button__label-text--has-sub":""}`,children:[$e,p!=null&&Y.jsx("span",{className:"button__count",children:p}),ue&&Y.jsx("span",{className:"button__sub-label-text caption-1",children:h})]})},ot=ue=>{B||(typeof N.onMouseLeave=="function"&&N.onMouseLeave(ue),typeof _!="boolean"&&te(!1),ue.currentTarget.blur())},wt=ue=>{if(B){U?.(ue);return}typeof _!="boolean"&&g&&te(We=>!We),T?.(ue)},Ct=c.useCallback(()=>{!B&&($||H)&&(Ae(!0),Fe(j.current?.getBoundingClientRect()??null))},[B,$,H]),It=c.useCallback(()=>{($||H)&&(Ae(!1),Fe(null))},[$,H]),me={...N};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,B&&(Object.keys(me).forEach(ue=>{/^on[A-Z]/.test(ue)&&typeof me[ue]=="function"&&delete me[ue]}),me["aria-disabled"]="true");const At=(typeof $=="string"?$:null)??(typeof q=="string"?q:null)??(typeof y=="string"?y:null)??(typeof be=="string"?be:null)??void 0,Nt=typeof y=="string"?y:typeof be=="string"?be:At,rt=(ue,We)=>Y.jsx(U0,{icon:ue,label:We??Nt,className:qe,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),dt=()=>re==="dot"?Y.jsxs(Y.Fragment,{children:[rt(i),ee&&Y.jsx("span",{className:`button__label ${K}`,children:nt()})]}):b==="center"&&i?Y.jsxs(Y.Fragment,{children:[Y.jsxs("span",{className:"button__center-group",children:[Y.jsx("span",{className:"button__left",children:rt(i)}),ee&&Y.jsx("span",{className:`button__label ${K}`,children:nt()})]}),et&&Y.jsx("span",{className:"button__right",children:rt(l)})]}):Y.jsxs(Y.Fragment,{children:[i&&Y.jsx("span",{className:"button__left",children:rt(i,y??be)}),ee&&Y.jsx("span",{className:`button__label ${K}`,children:nt()}),et&&Y.jsx("span",{className:"button__right",children:rt(l)})]}),Ye=!!r&&!B;return Y.jsxs(Y.Fragment,{children:[Y.jsx(Ye?"a":"button",{...me,ref:j,...Ye?{href:r,target:u,rel:s??(u==="_blank"?"noreferrer":void 0)}:{type:o,disabled:B&&!U},className:lt,"aria-pressed":ve,"aria-label":Nt,"aria-disabled":Ye&&B?!0:void 0,style:Qe,onClick:wt,onMouseLeave:ot,onPointerEnter:ue=>{Ct(),!B&&typeof N.onPointerEnter=="function"&&N.onPointerEnter(ue)},onPointerLeave:ue=>{It(),!B&&typeof N.onPointerLeave=="function"&&N.onPointerLeave(ue)},onFocus:ue=>{Ct(),!B&&typeof N.onFocus=="function"&&N.onFocus(ue)},onBlur:ue=>{ot(ue),It(),!B&&typeof N.onBlur=="function"&&N.onBlur(ue)},children:dt()}),Me&&H?Y.jsx(Kr,{anchorRect:Ge,title:H.title,items:H.items,onClose:ye}):Me&&At?Y.jsx(G0,{anchorRect:Ge,text:At,onClose:ye}):null]})}function Xr(){const[e,t]=c.useState(null),n=c.useCallback(u=>t(u.getBoundingClientRect()),[]),o=c.useCallback(()=>t(null),[]),r=c.useCallback(u=>{const s=u.getBoundingClientRect();t(i=>i?null:s)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:r}}function Y0(e){const[t,n]=c.useState(null),[o,r]=c.useState(null),u=c.useRef(null);c.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const s=c.useCallback((l,C)=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{n(l),r(C)},e)},[e]),i=c.useCallback(()=>{u.current&&clearTimeout(u.current),n(null),r(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:s,close:i}}function W0({title:e,items:t}){const{t:n}=gt(),{anchorRect:o,openAt:r,close:u}=Xr();return Y.jsxs(Y.Fragment,{children:[Y.jsx(q0,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:n("common.info","\uC124\uBA85"),onPointerEnter:s=>r(s.currentTarget),onPointerLeave:u,onFocus:s=>r(s.currentTarget),onBlur:u}),o&&Y.jsx(Kr,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:u})]})}function Zr(){const{t:e}=gt();return c.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 Jr(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 Qr(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function eu(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function K0(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 X0(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 Z0(e,t){const{label:n,headValue:o,midValue:r,tailValue:u,includeMid:s=!0,headDisabled:i,midDisabled:l,tailDisabled:C,allOptionDisabled:p,groupLabel:h,labelAction:d}=t;return{label:n,...h?{groupLabel:h}:{},...d?{labelAction:d}:{},allOption:!0,allLabel:e("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...p?{allOptionDisabled:p}:{},items:[{value:o,displayLabel:e("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:i},...s?[{value:r,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:l}]:[],{value:u,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:C}]}}function J0(e,t,n){if(t===bt){const{[n]:u,...s}=e;return s}const o=e[n]??[],r=o.includes(t)?o.filter(u=>u!==t):[...o,t];if(r.length===0){const{[n]:u,...s}=e;return s}return{...e,[n]:r}}Object.fromEntries(Object.entries(Ma).map(([e,{nucleus:t}])=>[e,t]));const Q0={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},eh={"\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"]},th={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:eh,typeMap:Q0};function nh(e,t,n=th){const o=t[n.difficulty];if(o?.length&&!o.some(i=>e.grade===i.replace(/\D/g,"")))return!1;const r=t[n.syllables];if(r?.length){const i=e.syllables??0;if(!r.some(l=>l===n.syllable5plus?i>=5:i===parseInt(l)))return!1}const u=t[n.partOfSpeech];if(u?.length&&!u.flatMap(i=>n.posMap[i]??[i]).some(i=>(e.pos??"").includes(i)))return!1;const s=t[n.wordType];return!(s?.length&&!s.some(i=>e.wordType===n.typeMap[i]))}const st=(e,t)=>t.map(n=>({jamos:[n],tooltip:e})),Ee=(e,t)=>({jamos:[...e],tooltip:t}),lo={cho:[st("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),st("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),st("\uCE58\uC870\uC74C",["\u3145","\u3146"]),st("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),st("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),st("\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:[st("\uC591\uC21C\uC74C",["\u3142","\u3141"]),st("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),st("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},oh=[...Se],rh=[...ut],uh=Pe.filter(e=>e!==""),it=e=>e===Ze?[]:Array.from(e),Ze="__NO_CODA__",tu=[1,2,3,4],Je=5,ah=12,nu="SYL_",ho=e=>`${nu}${e}`,sh=e=>Number(e.slice(nu.length));function fo(e){return e>=Je?Array.from({length:ah-Je+1},(t,n)=>Je+n):[e]}const ou={cho:oh,jung:rh,jong:uh},po=e=>e.map(t=>t.map(({jamos:n,tooltip:o})=>({v:n.join(""),tooltip:o}))),Co={cho:po(lo.cho),jung:po(lo.jung),jong:po(lo.jong)},ru={};Co.jung.flat().forEach(({v:e})=>{for(const t of it(e))ru[t]=e});const ih=new Set(Co.cho.flat().map(e=>e.v));function uu(e,t){return e==="cho"?ih.has(t)?t:null:e==="jung"?ru[t]??t:rr(t)}function au(e,t,n){if(e==="jung"){const o=it(t);return n&&o.includes(n)?n:o[0]??t}return t}function su(e,t,n){const o=(r,u)=>u?r==="jong"&&u===Ze?Ze:t==="pron"?uu(r,u):au(r,u,r==="jung"?n:null):null;return{...e,cho:o("cho",e.cho),jung:o("jung",e.jung),jong:o("jong",e.jong)}}const yo={cho:null,jung:null,jong:null,syllable:null},ch="wt_filter",iu=e=>`wt_filter_${e}`;function lh(e){try{const t=localStorage.getItem(iu(e))??localStorage.getItem(ch);if(t)return JSON.parse(t)}catch{}return null}function dh(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?{...yo,cho:t.choseong}:yo}function hh(e,t,n){const{t:o,i18n:r}=gt(),[u]=c.useState(()=>n?.resetOnMount?null:lh(e)),s=u?.contrastCount,i=typeof s=="number"&&Number.isFinite(s)?s:1,[l,C]=c.useState(Math.min(5,Math.max(1,i))),[p,h]=c.useState(u?.phonemeView==="pron"?"pron":u?.phonemeView==="direct"?"direct":"char"),[d,y]=c.useState(()=>dh(u)),E=c.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]);c.useEffect(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||y(A=>A.cho||A.jung||A.syllable!=null||A.jong?A:E())},[]);const b=c.useMemo(()=>_e(d.cho)||_e(d.jung)||_e(d.jong)?"count":"random",[d.cho,d.jung,d.jong]),_=c.useRef(p==="char"?d.jung:null);c.useEffect(()=>{p==="char"&&(_.current=d.jung)},[p,d.jung]);const[g,k]=c.useState(n?.resetOnMount?!!n?.defaultImageOnly:u?.excludeNoImage??!0),[w,x]=c.useState(n?.resetOnMount?!1:u?.sameStructureOnly??!0),[R,D]=c.useState(Array.isArray(u?.gradeFilter)?u.gradeFilter:[]),[P,G]=c.useState(Array.isArray(u?.posFilter)?u.posFilter:[]),[L,T]=c.useState(Array.isArray(u?.wordTypeFilter)?u.wordTypeFilter:[]),U=c.useRef(n?.resetKey);c.useEffect(()=>{U.current!==n?.resetKey&&(U.current=n?.resetKey,y(E()),k(!1),x(!1),D([]),G([]),T([]),C(1))},[n?.resetKey]);const $=Zr(),[q,H]=c.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[O,I]=c.useState(!1),[Ce,Z]=c.useState(null),Q=1,N=Math.max(1,[d.cho,d.jung,d.jong].filter(Boolean).length);c.useEffect(()=>{l<N&&C(N)},[N,l]),c.useEffect(()=>{if(!n?.resetOnMount)try{localStorage.setItem(iu(e),JSON.stringify({contrastCount:l,composition:d,excludeNoImage:g,sameStructureOnly:w,phonemeView:p,gradeFilter:R,posFilter:P,wordTypeFilter:L}))}catch{}},[n?.resetOnMount,e,l,d,g,w,p,R,P,L]);const[z,ne]=c.useState(0);$o("wordpool:update",()=>ne(A=>A+1));const oe=c.useRef(r.language);c.useEffect(()=>{oe.current!==r.language&&(oe.current=r.language,ne(A=>A+1))},[r.language]),c.useEffect(()=>{if(!t.choseong)return;let A=!1;return ls({difficulty:b,excludeNoImage:g}).then(j=>{A||(H(j),j.cho.size+j.jung.size+j.jong.size>0&&I(!0))}).catch(()=>{A||H({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{A=!0}},[t.choseong,b,g,z]),c.useEffect(()=>{let A=!1;const j=d,V=j.cho?it(j.cho):null,X=j.jung?it(j.jung):null,te=j.jong===Ze,Me=te?null:j.jong?it(j.jong):null,Ae=j.syllable!=null?fo(j.syllable):null,Ge=!!(V||X||Me||te||Ae);return cs({difficulty:t.difficulty?b:null,contrastCount:t.difficulty?l:1,composition:t.choseong&&Ge?{cho:V,jung:X,jong:Me,jongNone:te,syllable:Ae}:null,excludeNoImage:g,sameStructureOnly:w,phonemeView:p==="pron"?"pron":"char",grade:R.length>0?R:null}).then(Fe=>{A||Z(Fe)}).catch(()=>{A||Z(null)}),()=>{A=!0}},[t.choseong,t.difficulty,b,l,d,p,g,w,z,R]),c.useEffect(()=>{O&&y(A=>{const j={...A};let V=!1;return["cho","jung","jong"].forEach(X=>{const te=A[X];!te||te===Ze||it(te).some(Me=>q[X].has(Me))||(j[X]=null,V=!0)}),A.syllable!=null&&t.fixedSyllable==null&&(A.syllable>=Je?[...q.syllable].some(X=>X>=Je)||(j.syllable=null,V=!0):(!q.syllable.has(A.syllable)||A.syllable<Q)&&(j.syllable=null,V=!0)),V?j:A})},[q,O,Q,t.fixedSyllable]);const K=c.useMemo(()=>{const A=j=>{const V=new Set;for(const X of ou[j])q[j].has(X)&&V.add(X);return V};return{cho:A("cho"),jung:A("jung"),jong:A("jong")}},[q]),be=c.useMemo(()=>({exact:new Set(tu.filter(A=>q.syllable.has(A))),min:[...q.syllable].some(A=>A>=Je)}),[q]),B=c.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=c.useMemo(()=>({[B.trainOnset]:"cho",[B.trainVowel]:"jung",[B.trainCoda]:"jong"}),[B]),fe=c.useCallback((A,j)=>c.createElement(W0,{title:j,items:A}),[]),Ie=c.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]),ct=c.useMemo(()=>{const A=[];if(t.choseong){const j={value:Ze,displayLabel:B.codaExclude},V=t.fixedNoCoda===!0,X=(te,Me)=>{const Ae=V&&te==="jong",Ge={label:Me,groupLabel:B.phonemeGroup,allOption:!t.requireSyllable,allLabel:B.noLimit,allOptionDisabled:Ae};if(p==="pron"){const ye=Co[te].map(je=>je.map(({v:ve,tooltip:lt})=>{const qe=it(ve),tt=Ae||!qe.some(nt=>q[te].has(nt));return qe.length>1?{value:ve,labels:qe,tooltip:lt,disabled:tt}:{value:ve,tooltip:lt,disabled:tt}}));return te==="jong"&&!t.requireCoda&&ye.unshift([j]),{...Ge,groups:ye}}const Fe=ou[te].map(ye=>!Ae&&K[te].has(ye)?ye:{value:ye,disabled:!0});return{...Ge,items:te==="jong"&&!t.requireCoda?[j,...Fe]:Fe}};A.push(X("cho",B.trainOnset)),A.push(X("jung",B.trainVowel)),A.push(X("jong",B.trainCoda))}if(A.push({...Jr(o,$,{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:B.gradeLabel}),t.partOfSpeech&&A.push(Qr($)),t.wordType&&A.push(eu($)),t.choseong||t.fixedSyllable!=null){const j=t.fixedSyllable;A.push({label:B.syllableCount,items:[...tu.map(V=>({value:ho(V),displayLabel:o("wordPairs.syllableN",{n:V,defaultValue:"{{n}}\uC74C\uC808"}),disabled:j!=null?V!==j:!be.exact.has(V)||V<Q})),{value:ho(Je),displayLabel:o("wordPairs.syllableNPlus",{n:Je,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:j!=null?Je!==j:!be.min}],allOption:!0,allOptionDisabled:j!=null})}return t.choseong?A.push({label:B.exclude,displayLabel:B.selectLabel,multiple:!0,items:[B.excludeImage,B.sameStructure],labelAction:fe(Ie)}):A.push({label:B.exclude,displayLabel:B.selectLabel,multiple:!0,items:[B.excludeImage],labelAction:fe([Ie[0]])}),A},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,Q,K,q,p,be,B,o,fe,Ie,$]),Ue={...t.difficulty?{[B.diffPhonemeCount]:String(l)}:{},...(t.choseong||t.fixedSyllable!=null)&&d.syllable!=null?{[B.syllableCount]:ho(d.syllable)}:{},...t.choseong&&d.cho?{[B.trainOnset]:d.cho}:{},...t.choseong&&d.jung?{[B.trainVowel]:d.jung}:{},...t.choseong&&d.jong?{[B.trainCoda]:d.jong}:{},[B.exclude]:[...g?[B.excludeImage]:[],...w?[B.sameStructure]:[]],[B.gradeLabel]:R.map(A=>o("wordSearch.filter.grade",{n:Number(A),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[$.partOfSpeech]:P}:{},...t.wordType?{[$.wordType]:L}:{}},Qe=c.useCallback((A,j)=>{if(j===B.diffPhonemeCount){const V=Number(A);V>=1&&C(V)}else if(j===B.exclude)A===B.excludeImage?k(V=>!V):A===B.sameStructure&&x(V=>!V);else if(j===B.syllableCount)y(V=>{if(!A||A===bt)return{...V,syllable:null};const X=sh(A);return{...V,syllable:V.syllable===X?null:X}});else if(j===B.gradeLabel){if(!A||A===bt){D([]);return}const V=A.replace(/\D/g,"");D(X=>X.includes(V)?X.filter(te=>te!==V):[...X,V])}else if(j===$.partOfSpeech){if(!A||A===bt){G([]);return}G(V=>V.includes(A)?V.filter(X=>X!==A):[...V,A])}else if(j===$.wordType){if(!A||A===bt){T([]);return}T(V=>V.includes(A)?V.filter(X=>X!==A):[...V,A])}else{const V=he[j];if(!V)return;y(X=>t.requireSyllable?A&&A!==bt?{...X,[V]:A}:X:!A||A===bt||X[V]===A?{...X,[V]:null}:{...X,[V]:A})}},[B,he,$,t.requireSyllable]),$e=c.useCallback(A=>!t.partOfSpeech&&!t.wordType?!0:nh(A,{...t.partOfSpeech?{[$.partOfSpeech]:P}:{},...t.wordType?{[$.wordType]:L}:{}},$),[t.partOfSpeech,t.wordType,P,L,$]),ee=c.useCallback(A=>{A!==p&&(A!=="direct"&&p!=="direct"&&y(j=>su(j,A,_.current)),h(A))},[p]),et=c.useCallback(()=>({composition:d,contrastCount:l,excludeNoImage:g,sameStructureOnly:w,phonemeView:p,gradeFilter:R}),[d,l,g,w,p,R]),re=c.useCallback(A=>{y(A.composition),C(A.contrastCount),k(A.excludeNoImage),x(A.sameStructureOnly??!0),h(A.phonemeView),D(Array.isArray(A.gradeFilter)?A.gradeFilter:[])},[]);return{difficulty:b,contrastCount:l,composition:d,choseong:d.cho,excludeNoImage:g,sameStructureOnly:w,gradeFilter:R,posFilter:P,wordTypeFilter:L,matchesWordAttributes:$e,poolVersion:z,filterSections:ct,filterSelected:Ue,handleFilterSelect:Qe,phonemeView:p,setPhonemeView:ee,phonemeGroupLabel:B.phonemeGroup,wordCount:Ce,getFilterSnapshot:et,restoreFilterSnapshot:re}}function fh(e){const t=i=>i?it(i):null,n=t(e.cho),o=t(e.jung),r=e.jong===Ze,u=r?null:t(e.jong),s=e.syllable!=null?fo(e.syllable):null;return!n&&!o&&!u&&!r&&!s?null:{cho:n,jung:o,jong:u,jongNone:r,syllable:s}}function ph(e,t,n,o,r,u,s=!0,i="char",l=[]){const[C,p]=c.useState({}),[h,d]=c.useState(!1),{cho:y=null,jung:E=null,jong:b=null,syllable:_=null}=o??{};return c.useEffect(()=>{u>0&&is(r).catch(()=>{})},[u,r]),c.useEffect(()=>{let g=!1;return d(!0),(async()=>{const k=fh({cho:y,jung:E,jong:b,syllable:_}),w=l.length>0?l.slice().sort().join(","):"",x=`${y??""}_${E??""}_${b??""}_${_??""}_${w}`,R={};await Promise.all(e.map(async D=>{const P=qn[D.key];try{const G=await gr(D.key,{difficulty:P.difficulty?t:null,contrastCount:P.difficulty?n:1,composition:P.choseong?k:null,count:5,excludeNoImage:r,sameStructureOnly:s,phonemeView:i,grade:l.length>0?l:null});G&&G.length>0?R[D.key]={id:`wt-${D.key}-${t}-${x}-${Date.now()}`,name:D.label,training_type:D.key,category_main_code:"WORD",iconColor:D.color,subTitle:D.subTitle,items:G,itemCount:G.length}:R[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{R[D.key]=null}})),g||(p(R),d(!1))})(),()=>{g=!0}},[t,n,y,E,b,_,r,s,i,u,l]),{perTypeData:C,generating:h}}function Ch(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 yh(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 Tn=at;function mo(e,t){const n=t?yh(Ch(t)):Math.random;return{LISTEN_IN_NOISE:Tn(Jt,Math.max(0,e.LISTEN_IN_NOISE||0),n),SHORT_STORY:Tn(Qt,Math.max(0,e.SHORT_STORY||0),n),LONG_STORY:Tn(en,Math.max(0,e.LONG_STORY||0),n),ORDERING_SENTENCE:Tn(tn,Math.max(0,e.ORDERING_SENTENCE||0),n)}}function cu(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const mh={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function lu(e=!1,t=mh,n){const o=An(Date.now()),r=An(Date.now()-864e5),u=`${n??""}|${o}`,s=`${n??""}|${r}`;return Jt.length>0||Qt.length>0||en.length>0||tn.length>0?{today:mo(t,u),yesterday:mo(t,s)}:{today:mo(t,u),yesterday:null}}function gh(e){const t=c.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=c.useRef(null),[o,r]=c.useState(!1),[u,s]=c.useState(!1);c.useEffect(()=>{let l=!1,C,p=0;const h=40,d=()=>{C!==void 0&&(clearInterval(C),C=void 0)};let y=!1;try{const _=new URLSearchParams(window.location.search),g=_.get("forceRefresh")||_.get("force");y=g==="1"||g==="true"}catch{}const E=_=>{t.current=_.today,n.current=_.yesterday,r(!0),l=!0,d()},b=async()=>{if(l)return;if(!y){const g=lu(!1,void 0,e);if(cu(g.today)){E(g);return}}try{await P0(3e3)}catch{}if(l)return;const _=lu(y,void 0,e);if(cu(_.today)){E(_);return}++p>=h&&(r(!0),l=!0,d())};return b(),C=setInterval(b,250),()=>{l=!0,d()}},[e]);const i=c.useCallback(l=>{const C=u?n.current:t.current,p=u?t.current:n.current;return C?.[l]?.length?C[l]:p?.[l]?.length?p[l]:void 0},[u]);return{loaded:o,showYesterday:u,setShowYesterday:s,getTrainingPerType:i}}const Rt=[];let xn=!1;function du(e){if(e.key!=="Escape"||e.defaultPrevented)return;const t=Rt[Rt.length-1];t&&(e.stopPropagation(),t())}function _h(e){return Rt.push(e),!xn&&typeof document<"u"&&(document.addEventListener("keydown",du),xn=!0),()=>{const t=Rt.lastIndexOf(e);t>=0&&Rt.splice(t,1),Rt.length===0&&xn&&typeof document<"u"&&(document.removeEventListener("keydown",du),xn=!1)}}function Eh(e,t=!0){const n=Po(e);c.useEffect(()=>{if(t)return _h(()=>{n.current?.()})},[t,n])}const go=(e,t)=>`${e}:${t??1}`,_o=new Map;function bh(e,t){const[n,o]=c.useState(0),r=e.map(u=>go(u.word,u.homonum)).join("|");return c.useEffect(()=>{const u=(r?r.split("|"):[]).filter(l=>!_o.has(l));if(u.length===0)return;let s=!1;const i=Array.from(new Set(u.map(l=>l.slice(0,l.lastIndexOf(":")))));return t(i).then(l=>{if(!(s||l.length===0)){for(const C of l)C.Meaning&&_o.set(go(C.Word,C.Homonum??void 0),C.Meaning);o(C=>C+1)}}),()=>{s=!0}},[r,t]),c.useMemo(()=>{const u=r?r.split("|"):[],s=new Map;for(const i of u){const l=_o.get(i);l!=null&&s.set(i,l)}return s},[r,n])}function Sh(e,t,n){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,r=Math.max(1,Math.ceil(e.length/o)),u=Number.isFinite(n)?Math.min(Math.max(1,Math.floor(n)),r):1;return{pageItems:c.useMemo(()=>e.slice((u-1)*o,u*o),[e,u,o]),totalPages:r,curPage:u}}function kh(e="warning"){const[t,n]=c.useState(""),[o,r]=c.useState(e),[u,s]=c.useState(0),i=c.useCallback((h,d)=>{r(d),n(h),s(y=>y+1)},[]),l=c.useCallback(h=>i(h,"warning"),[i]),C=c.useCallback(h=>i(h,"normal"),[i]),p=c.useCallback(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:u,showToast:i,showWarning:l,showNormal:C,clearToast:p}}const on={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},rn=on.blue,Bn=on.green,un=on.amber,vn=on.purple,wh=on.pink,Ah=[{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:rn,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:rn,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:rn,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:rn,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:rn,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:Bn,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:Bn,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:Bn,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:Bn,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:vn,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:vn,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:vn,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:vn,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:wh,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function Nh(){const{t:e}=gt();return c.useMemo(()=>{const t=Object.fromEntries(H0(e).map(o=>[o.key,o.label])),n={...t};return Ah.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=Jo,exports.DocumentTitleSuppressContext=Ho,exports.EMPTY_COMPOSITION=yo,exports.MediaQueryOverrideContext=jo,exports.NO_CODA=Ze,exports.SYLLABLE_MIN=Je,exports.VAP_PAGE_SIZE_OPTIONS=nr,exports.buildGradeSection=Jr,exports.buildPartOfSpeechSection=Qr,exports.buildPositionSection=Z0,exports.buildSelectSection=X0,exports.buildSyllableSection=K0,exports.buildWordTypeSection=eu,exports.charToPronValue=uu,exports.convertComposition=su,exports.fmtBytes=fa,exports.lsBytes=Qo,exports.meaningKey=go,exports.pronToCharValue=au,exports.syllableToFilter=fo,exports.today=Vt,exports.toggleAttributeFilter=J0,exports.useCacheManagement=pa,exports.useDailyTrainingSelection=gh,exports.useDelayedHoverAnchor=Y0,exports.useDeviceManagement=ka,exports.useDocumentTitle=vu,exports.useEscToClose=Eh,exports.useFontScale=Tu,exports.useHoverAnchor=Xr,exports.useMediaQuery=Bu,exports.usePagedList=Sh,exports.usePasswordChange=Ju,exports.useRelativeDay=Zu,exports.useTablePaging=ba,exports.useTableSort=Sa,exports.useToastState=kh,exports.useTrainingTypeLabels=Nh,exports.useVisitAllPanel=Ea,exports.useVisitHistory=ma,exports.useVisitSchedule=_a,exports.useWindowEvent=$o,exports.useWordAttributeFilterKeys=Zr,exports.useWordDataStats=Ca,exports.useWordMeanings=bh,exports.useWordTrainingDataGeneration=ph,exports.useWordTrainingFilter=hh,exports.valueToJamos=it;
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=C("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,p=!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){p=!0,u=f}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(p)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=M=>Lu(M);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,p=e.NamedNodeMap;p===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const f=e.DOMParser,y=e.trustedTypes,d=s.prototype,g=Ve(d,"cloneNode"),b=Ve(d,"remove"),A=Ve(d,"nextSibling"),_=Ve(d,"childNodes"),m=Ve(d,"parentNode"),k=Ve(d,"shadowRoot"),N=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 M=n.createElement("template");M.content&&M.content.ownerDocument&&(n=M.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(y,u),Y=!0),J},X=n,Q=X.implementation,w=X.createNodeIterator,P=X.createDocumentFragment,ne=X.getElementsByTagName,oe=o.importNode;let q=Ou();t.isSupported=typeof mu=="function"&&typeof m=="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 S=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",S,{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===S&&(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=m(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{m(a).removeChild(a)}catch{if(b(a),!m(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{b(I)}catch{}})}const E=N(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=N(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{b(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 w.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=w.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!==N(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(M,a,h){M.length!==0&&bt(M,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=m(a),I=_(a);if(I&&x){const U=I.length;for(let ie=U-1;ie>=0;--ie){const le=a===E?g(I[ie],!0):I[ie];x.insertBefore(le,A(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||m(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 y=="object"&&typeof y.getAttributeType=="function"&&!E)switch(y.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,S,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=k(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=k(x);xt(le)&&h.push({node:null,shadow:le},{node:le,shadow:null})}}};return t.sanitize=function(M){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=null,E=null,x=null,I=null;if(Bn=!M,Bn&&(M="<!-->"),typeof M!="string"&&!Pt(M)&&(M=L0(M),typeof M!="string"))throw St("dirty is not a string, aborting");if(!t.isSupported)return M;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 M!="string"&&Pt(M);if(U){dr(M);const Te=H(M);if(typeof Te=="string"){const xe=ce(Te);if(!ee[xe]||$[xe])throw sn(M),St("root node is forbidden and cannot be sanitized in-place")}if(dn(M))throw sn(M),St("root node is clobbered and cannot be sanitized in-place");try{In(M)}catch(xe){throw sn(M),xe}}else if(Pt(M))h=So("<!---->"),E=h.ownerDocument.importNode(M,!0),E.nodeType===Re.element&&E.nodeName==="BODY"||E.nodeName==="HTML"?h=E:h.appendChild(E),In(E);else{if(!ot&&!ye&&!De&&M.indexOf("<")===-1)return G&&Ct?B(M):M;if(h=So(M),!h)return ot?null:Ct?F:""}h&&nt&&ht(h.firstChild);const ie=U?M: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(M),bt(t.removed,xe=>{xe.element&&ln(xe.element)})),Te}if(U)return bt(t.removed,Te=>{Te.element&&ln(Te.element)}),ye&&Rn(M),M;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 M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ln(M),ct=!0,Ye=ee,tt=ue},t.clearConfig=function(){Tt=null,ct=!1,Ye=null,tt=null,G=J,F=""},t.isValidAttribute=function(M,a,h){Tt||Ln({});const E=ce(M),x=ce(a);return No(E,x,h)},t.addHook=function(M,a){typeof a=="function"&&Be(q,M)&&qt(q[M],a)},t.removeHook=function(M,a){if(Be(q,M)){if(a!==void 0){const h=N0(q[M],a);return h===-1?void 0:T0(q[M],h,1)[0]}return Eu(q[M])}},t.removeHooks=function(M){Be(q,M)&&(q[M]=[])},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 p=e.split("/").pop();let f=e;p&&(e.startsWith("/")?f=no(e):/^(Logo|Symbol)/i.test(p)?f=no(`logo/${p}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),f=e)),n(f)},[e]),l.useEffect(()=>{if(!t)return;let p=!1;async function f(){try{let y=await fetch(t);y.ok||(y=await fetch(t));const d=y.headers.get("content-type")||"";if(p)return;if(d.includes("svg")){u("mask");return}if(d.startsWith("image/")){u("img");return}const g=await fetch(t);if(!g.ok)throw new Error("not ok");const b=await g.text();if(p)return;if(/^\s*<svg[\s>]/i.test(b)){const A=hd(b);if(!A){u("none");return}i(A),u("inline");return}u("none")}catch{p||u("none")}}return f(),()=>{p=!0}},[t]),l.useEffect(()=>{let p=!1,f=null;return o==="mask"&&t&&fetch(t).then(y=>{if(!y.ok)throw new Error("fetch failed");return y.blob()}).then(y=>{p||(f=URL.createObjectURL(y),c(f))}).catch(()=>{p||u("img")}),()=>{p=!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||{},p=o??"iconRenderer-icon",f=u??"iconRenderer-icon-image",y=r??"iconRenderer-icon-mask",d=i??"iconRenderer-icon-svg",g=typeof t=="string"?t:null,b=g0(g),{iconToUse:A,mode:_,svgText:m,blobUrl:k}=fd(g),N=(j,H={})=>V.jsx("span",{className:p,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 N(t);if(t==="none")return N(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(b)try{return N(l.createElement(b,{className:d,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(A&&A.endsWith(".svg")){if(_==="mask"){const j={"--icon-url":k?`url(${k})`:`url(${A})`};return N(V.jsx("span",{className:y,style:j}),{"aria-hidden":"true"})}return _==="img"?N(D(A,{onError:j=>{j.currentTarget.onerror=null,j.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?N(V.jsx("span",{className:d,dangerouslySetInnerHTML:m?{__html:m}:void 0}),{"aria-hidden":"true"}):N(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 N(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:p="",children:f,backdrop:y=!1,isMobilePopup:d=!1,useBorder:g=!0,header:b}=e||{},A=l.useRef(null),[_,m]=l.useState({position:"fixed",left:0,top:-9999}),[k,N]=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||!A.current)return;const Ce=A.current,{offsetWidth:X,offsetHeight:Q}=Ce,w=window.innerWidth,P=window.innerHeight,ne=w-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),w-X-Ie),he=Math.min(Math.max(he,Ie),P-Q-Ie);const lt=Math.round(T),Ue=Math.round(he);B&&A.current?(A.current.style.left=`${lt}px`,A.current.style.top=`${Ue}px`,A.current.dataset.placement=fe):(R(fe||D),m({position:"fixed",left:lt,top:Ue}),j(!0))},[H,d,n,t,o,u,D]);l.useLayoutEffect(()=>{if(F)return;if(H&&d){m({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||!A.current||typeof ResizeObserver>"u")return;const B=new ResizeObserver(()=>{t&&J()});return B.observe(A.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(!(k||Y.current)){if(Y.current=!0,B){N(!0);try{r&&r()}catch{}return}N(!0),setTimeout(()=>{r&&r()},200)}},[k,r,N]);l.useEffect(()=>{const B=X=>{const Q=A.current;if(!Q)return;const w=X.target;if(w&&!Q.contains(w)){try{if(w.closest&&w.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},O=X=>{const Q=A.current;if(!Q)return;const w=X.target;if(w&&!Q.contains(w)){try{if(w.closest&&w.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=A.current;if(!Q)return;const w=Q.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!w||w.length===0)return;const P=w[0],ne=w[w.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:A,className:`tooltip-content ${g?"tooltip-content--bordered":""} ${k?"is-closing":""} ${s} ${H&&d?"is-mobile":""}`,role:c,"aria-label":p||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:[b!=null&&V.jsx("div",{className:"tooltip-content__header h5",children:b}),f]});if(F||typeof document>"u")return z;if(y||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((p,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:p})]},f))})]})})}function yd(e){const{size:t=48,type:n,htmlType:o,href:u,target:r,rel:i,icon:s,rightIcon:c,label:p,count:f,subLabel:y,children:d,ariaLabel:g,variant:b="default",align:A="center",selected:_,toggleable:m=!1,disabled:k=!1,useLabel:N=!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,...w}=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=p??d,T=k||!!w.disabled,he=T?v?"disabled-covered":j?"disabled-invisibled":"disabled":b,fe=he?`button--variant-${he}`:"",Ie=A?`button--align-${A}`:"",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=N===!1?"":be,ee=Array.isArray($e)?$e.length>0:!!$e,et=!!c,ue=n??(ee||s||et?"bar":"dot"),S=`${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=m||typeof _=="boolean"?je?"true":"false":void 0,ct=Ra("button",ne,S,fe,Ie,lt,je?"is-selected":null,R?null:"button--no-bg",Q),Ye=`button__icon button__icon--${B}`,tt=Array.isArray(y)?y:y!==void 0?[y]:[],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=y!==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:y})]})},ot=re=>{T||(typeof w.onMouseLeave=="function"&&w.onMouseLeave(re),typeof _!="boolean"&&te(!1),re.currentTarget.blur())},kt=re=>{if(T){J?.(re);return}typeof _!="boolean"&&m&&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={...w};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 g=="string"?g:null)??(typeof be=="string"?be:null)??void 0,wt=typeof g=="string"?g: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()})]}):A==="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,g??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 w.onPointerEnter=="function"&&w.onPointerEnter(re)},onPointerLeave:re=>{Rt(),!T&&typeof w.onPointerLeave=="function"&&w.onPointerLeave(re)},onFocus:re=>{Ct(),!T&&typeof w.onFocus=="function"&&w.onFocus(re)},onBlur:re=>{ot(re),Rt(),!T&&typeof w.onBlur=="function"&&w.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,p)=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{n(c),u(p)},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:p,allOptionDisabled:f,groupLabel:y,labelAction:d}=t;return{label:n,...y?{groupLabel:y}:{},...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:p}]}}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,p]=l.useState(Math.min(5,Math.max(1,s))),[f,y]=l.useState(r?.phonemeView==="pron"?"pron":r?.phonemeView==="direct"?"direct":"char"),[d,g]=l.useState(()=>Rd(r)),b=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||g(S=>S.cho||S.jung||S.syllable!=null||S.jong?S:b())},[]);const A=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[m,k]=l.useState(n?.resetOnMount?!!n?.defaultImageOnly:r?.excludeNoImage??!0),[N,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,g(b()),k(!1),D(!1),v([]),H([]),F([]),p(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,w=Math.max(1,[d.cho,d.jung,d.jong].filter(Boolean).length);l.useEffect(()=>{c<w&&p(w)},[w,c]),l.useEffect(()=>{if(!n?.resetOnMount)try{localStorage.setItem(Zu(e),JSON.stringify({contrastCount:c,composition:d,excludeNoImage:m,sameStructureOnly:N,phonemeView:f,gradeFilter:R,posFilter:j,wordTypeFilter:G}))}catch{}},[n?.resetOnMount,e,c,d,m,N,f,R,j,G]);const[P,ne]=l.useState(0);Oo("wordpool:update",()=>ne(S=>S+1));const oe=l.useRef(u.language);l.useEffect(()=>{oe.current!==u.language&&(oe.current=u.language,ne(S=>S+1))},[u.language]),l.useEffect(()=>{if(!t.choseong)return;let S=!1;return La({difficulty:A,excludeNoImage:m}).then(L=>{S||(z(L),L.cho.size+L.jung.size+L.jong.size>0&&O(!0))}).catch(()=>{S||z({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{S=!0}},[t.choseong,A,m,P]),l.useEffect(()=>{let S=!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?A:null,contrastCount:t.difficulty?c:1,composition:t.choseong&&Ge?{cho:$,jung:K,jong:Ne,jongNone:te,syllable:we}:null,excludeNoImage:m,sameStructureOnly:N,phonemeView:f==="pron"?"pron":"char",grade:R.length>0?R:null}).then(Fe=>{S||X(Fe)}).catch(()=>{S||X(null)}),()=>{S=!0}},[t.choseong,t.difficulty,A,c,d,f,m,N,P,R]),l.useEffect(()=>{B&&g(S=>{const L={...S};let $=!1;return["cho","jung","jong"].forEach(K=>{const te=S[K];!te||te===Ze||st(te).some(Ne=>W[K].has(Ne))||(L[K]=null,$=!0)}),S.syllable!=null&&t.fixedSyllable==null&&(S.syllable>=Je?[...W.syllable].some(K=>K>=Je)||(L.syllable=null,$=!0):(!W.syllable.has(S.syllable)||S.syllable<Q)&&(L.syllable=null,$=!0)),$?L:S})},[W,B,Q,t.fixedSyllable]);const q=l.useMemo(()=>{const S=L=>{const $=new Set;for(const K of Yu[L])W[L].has(K)&&$.add(K);return $};return{cho:S("cho"),jung:S("jung"),jong:S("jong")}},[W]),be=l.useMemo(()=>({exact:new Set(Uu.filter(S=>W.syllable.has(S))),min:[...W.syllable].some(S=>S>=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((S,L)=>l.createElement(gd,{title:L,items:S}),[]),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 S=[];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}};S.push(K("cho",T.trainOnset)),S.push(K("jung",T.trainVowel)),S.push(K("jong",T.trainCoda))}if(S.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&&S.push(zu(Y)),t.wordType&&S.push(Vu(Y)),t.choseong||t.fixedSyllable!=null){const L=t.fixedSyllable;S.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?S.push({label:T.exclude,displayLabel:T.selectLabel,multiple:!0,items:[T.excludeImage,T.sameStructure],labelAction:fe(Ie)}):S.push({label:T.exclude,displayLabel:T.selectLabel,multiple:!0,items:[T.excludeImage],labelAction:fe([Ie[0]])}),S},[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]:[...m?[T.excludeImage]:[],...N?[T.sameStructure]:[]],[T.gradeLabel]:R.map(S=>o("wordSearch.filter.grade",{n:Number(S),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[Y.partOfSpeech]:j}:{},...t.wordType?{[Y.wordType]:G}:{}},Qe=l.useCallback((S,L)=>{if(L===T.diffPhonemeCount){const $=Number(S);$>=1&&p($)}else if(L===T.exclude)S===T.excludeImage?k($=>!$):S===T.sameStructure&&D($=>!$);else if(L===T.syllableCount)g($=>{if(!S||S===Et)return{...$,syllable:null};const K=Dd(S);return{...$,syllable:$.syllable===K?null:K}});else if(L===T.gradeLabel){if(!S||S===Et){v([]);return}const $=S.replace(/\D/g,"");v(K=>K.includes($)?K.filter(te=>te!==$):[...K,$])}else if(L===Y.partOfSpeech){if(!S||S===Et){H([]);return}H($=>$.includes(S)?$.filter(K=>K!==S):[...$,S])}else if(L===Y.wordType){if(!S||S===Et){F([]);return}F($=>$.includes(S)?$.filter(K=>K!==S):[...$,S])}else{const $=he[L];if(!$)return;g(K=>t.requireSyllable?S&&S!==Et?{...K,[$]:S}:K:!S||S===Et||K[$]===S?{...K,[$]:null}:{...K,[$]:S})}},[T,he,Y,t.requireSyllable]),$e=l.useCallback(S=>!t.partOfSpeech&&!t.wordType?!0:Md(S,{...t.partOfSpeech?{[Y.partOfSpeech]:j}:{},...t.wordType?{[Y.wordType]:G}:{}},Y),[t.partOfSpeech,t.wordType,j,G,Y]),ee=l.useCallback(S=>{S!==f&&(S!=="direct"&&f!=="direct"&&g(L=>Xu(L,S,_.current)),y(S))},[f]),et=l.useCallback(()=>({composition:d,contrastCount:c,excludeNoImage:m,sameStructureOnly:N,phonemeView:f,gradeFilter:R}),[d,c,m,N,f,R]),ue=l.useCallback(S=>{g(S.composition),p(S.contrastCount),k(S.excludeNoImage),D(S.sameStructureOnly??!0),y(S.phonemeView),v(Array.isArray(S.gradeFilter)?S.gradeFilter:[])},[]);return{difficulty:A,contrastCount:c,composition:d,choseong:d.cho,excludeNoImage:m,sameStructureOnly:N,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[p,f]=l.useState({}),[y,d]=l.useState(!1),{cho:g=null,jung:b=null,jong:A=null,syllable:_=null}=o??{};return l.useEffect(()=>{r>0&&va(u).catch(()=>{})},[r,u]),l.useEffect(()=>{let m=!1;return d(!0),(async()=>{const k=jd({cho:g,jung:b,jong:A,syllable:_}),N=c.length>0?c.slice().sort().join(","):"",D=`${g??""}_${b??""}_${A??""}_${_??""}_${N}`,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}})),m||(f(R),d(!1))})(),()=>{m=!0}},[t,n,g,b,A,_,u,i,s,r,c]),{perTypeData:p,generating:y}}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);l.useEffect(()=>{let c=!1,p,f=0;const y=40,d=()=>{p!==void 0&&(clearInterval(p),p=void 0)};let g=!1;try{const _=new URLSearchParams(window.location.search),m=_.get("forceRefresh")||_.get("force");g=m==="1"||m==="true"}catch{}const b=_=>{t.current=_.today,n.current=_.yesterday,u(!0),c=!0,d()},A=async()=>{if(c)return;if(!g){const m=Qu(!1,void 0,e);if(Ju(m.today)){b(m);return}}try{await sd(3e3)}catch{}if(c)return;const _=Qu(g,void 0,e);if(Ju(_.today)){b(_);return}++f>=y&&(u(!0),c=!0,d())};return A(),p=setInterval(A,250),()=>{c=!0,d()}},[e]);const s=l.useCallback(c=>{const p=r?n.current:t.current,f=r?t.current:n.current;return p?.[c]?.length?p[c]:f?.[c]?.length?f[c]:void 0},[r]);return{loaded:o,showYesterday:r,setShowYesterday:i,getTrainingPerType:s}}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 p of c)p.Meaning&&fo.set(ho(p.Word,p.Homonum??void 0),p.Meaning);o(p=>p+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((y,d)=>{u(d),n(y),i(g=>g+1)},[]),c=l.useCallback(y=>s(y,"warning"),[s]),p=l.useCallback(y=>s(y,"normal"),[s]),f=l.useCallback(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:r,showToast:s,showWarning:c,showNormal:p,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;