@ihabdevteam/core 0.8.3 → 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/components.cjs.js +186 -202
- package/dist/components.esm.js +187 -203
- package/dist/hooks.cjs.js +159 -175
- package/dist/hooks.esm.js +159 -175
- package/dist/i18n.cjs.js +9 -9
- package/dist/i18n.esm.js +9 -9
- package/dist/ihabdevteam-core.cjs.js +191 -207
- package/dist/ihabdevteam-core.esm.js +189 -205
- package/dist/packages/core/src/i18n/index.js +2 -2
- package/package.json +1 -1
package/dist/hooks.esm.js
CHANGED
|
@@ -1,799 +1,783 @@
|
|
|
1
|
-
import Uo,{useState as O,useEffect as X,createContext as Sn,useContext as wn,useRef as be,useMemo as ye,useCallback as W,forwardRef as Go,createElement as Gt,useLayoutEffect as Pu}from"react";import{jsx as oe,jsxs as Ie,Fragment as Yt}from"react/jsx-runtime";import{createPortal as Yo}from"react-dom";function $u({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:u=1.4}={}){const i=g=>Math.max(n,Math.min(o,Number(g))),[s,c]=O(()=>{try{const g=localStorage.getItem(e),m=g?Number(g):1;return Number.isFinite(m)?m:1}catch{return 1}});X(()=>{try{localStorage.setItem(e,String(s))}catch{}},[e,s]);const p=g=>{c(typeof g=="function"?m=>i(g(m)):i(g))},f=()=>p(g=>+(g+r).toFixed(6)),d=()=>p(g=>+(g-r).toFixed(6)),l=s<o-Number.EPSILON,C=s>n+Number.EPSILON,_=Math.round(t*s),E=Math.round(_*u);return{scale:s,setScale:p,increase:f,decrease:d,canIncrease:l,canDecrease:C,fontSize:_,lineHeight:E}}const qo=Sn(null);function Fu(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Hu(e){const t=wn(qo),n=u=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(u).matches,[o,r]=O(n(e));return X(()=>{if(typeof window>"u"||!window.matchMedia)return;const u=window.matchMedia(e),i=c=>r(c.matches),s=u;return s.addEventListener?s.addEventListener("change",i):s.addListener&&s.addListener(i),r(u.matches),()=>{s.removeEventListener?s.removeEventListener("change",i):s.removeListener&&s.removeListener(i)}},[e]),t&&typeof t.mobile=="boolean"&&Fu(e)?t.mobile:o}function Wo(e){const t=be(e);return X(()=>{t.current=e}),t}function Ko(e,t){const n=Wo(t);X(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const Kn=" \xB7 ",Xo=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(Kn)?e.split(Kn).pop()??e:e})(),Zo=Sn(!1);function zu(e){const t=wn(Zo);X(()=>{if(t||typeof e!="string"||!e)return;const n=document.title;return document.title=Xo?`${e}${Kn}${Xo}`:e,()=>{document.title=n}},[e,t])}const Vu=(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);St(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...r):console?.warn&&console.warn(...r)},Jo={},An=(e,t,n,o)=>{St(n)&&Jo[n]||(St(n)&&(Jo[n]=new Date),Vu(e,t,n,o))},Qo=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Xn=(e,t,n)=>{e.loadNamespaces(t,Qo(e,n))},er=(e,t,n,o)=>{if(St(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Xn(e,n,o);n.forEach(r=>{e.options.ns.indexOf(r)<0&&e.options.ns.push(r)}),e.loadLanguages(t,Qo(e,o))},Uu=(e,t,n={})=>!t.languages||!t.languages.length?(An(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}}),St=e=>typeof e=="string",Gu=e=>typeof e=="object"&&e!==null,Yu=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,qu={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xA9","©":"\xA9","®":"\xAE","®":"\xAE","…":"\u2026","…":"\u2026","/":"/","/":"/"},Wu=e=>qu[e],Ku=e=>e.replace(Yu,Wu);let Xu={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Ku,transDefaultProps:void 0};const Zu=()=>Xu;let Ju;const Qu=()=>Ju,ea=Sn();class ta{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Zn={exports:{}},Jn={};/**
|
|
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 tr;function na(){if(tr)return Jn;tr=1;var e=Uo;function t(d,l){return d===l&&(d!==0||1/d===1/l)||d!==d&&l!==l}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,r=e.useEffect,u=e.useLayoutEffect,i=e.useDebugValue;function s(d,l){var C=l(),_=o({inst:{value:C,getSnapshot:l}}),E=_[0].inst,g=_[1];return u(function(){E.value=C,E.getSnapshot=l,c(E)&&g({inst:E})},[d,C,l]),r(function(){return c(E)&&g({inst:E}),d(function(){c(E)&&g({inst:E})})},[d]),i(C),C}function c(d){var l=d.getSnapshot;d=d.value;try{var C=l();return!n(d,C)}catch{return!0}}function p(d,l){return l()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:s;return Jn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Jn}var Qn={};/**
|
|
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 nr;function oa(){return nr||(nr=1,process.env.NODE_ENV!=="production"&&(function(){function e(C,_){return C===_&&(C!==0||1/C===1/_)||C!==C&&_!==_}function t(C,_){f||r.startTransition===void 0||(f=!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 E=_();if(!d){var g=_();u(E,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}g=i({inst:{value:E,getSnapshot:_}});var m=g[0].inst,S=g[1];return c(function(){m.value=E,m.getSnapshot=_,n(m)&&S({inst:m})},[C,E,_]),s(function(){return n(m)&&S({inst:m}),C(function(){n(m)&&S({inst:m})})},[C]),p(E),E}function n(C){var _=C.getSnapshot;C=C.value;try{var E=_();return!u(C,E)}catch{return!0}}function o(C,_){return _()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=Uo,u=typeof Object.is=="function"?Object.is:e,i=r.useState,s=r.useEffect,c=r.useLayoutEffect,p=r.useDebugValue,f=!1,d=!1,l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:t;Qn.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:l,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Qn}process.env.NODE_ENV==="production"?Zn.exports=na():Zn.exports=oa();var ra=Zn.exports;const ua=(e,t)=>{if(St(t))return t;if(Gu(t)&&St(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},aa={t:ua,ready:!1},ia=()=>()=>{},wt=(e,t={})=>{const{i18n:n}=t,{i18n:o,defaultNS:r}=wn(ea)||{},u=n||o||Qu();u&&!u.reportNamespaces&&(u.reportNamespaces=new ta),u||An(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 i=ye(()=>({...Zu(),...u?.options?.react,...t}),[u,t]),{useSuspense:s,keyPrefix:c}=i,p=e||r||u?.options?.defaultNS,f=St(p)?[p]:p||["translation"],d=ye(()=>f,f);u?.reportNamespaces?.addUsedNamespaces?.(d);const l=be(0),C=W(L=>{if(!u)return ia;const{bindI18n:M,bindI18nStore:U}=i,$=()=>{l.current+=1,L()};return M&&u.on(M,$),U&&u.store.on(U,$),()=>{M&&M.split(" ").forEach(Y=>u.off(Y,$)),U&&U.split(" ").forEach(Y=>u.store.off(Y,$))}},[u,i]),_=be(),E=W(()=>{if(!u)return aa;const L=!!(u.isInitialized||u.initializedStoreOnce)&&d.every(D=>Uu(D,u,i)),M=t.lng||u.language,U=l.current,$=_.current;if($&&$.ready===L&&$.lng===M&&$.keyPrefix===c&&$.revision===U)return $;const H={t:u.getFixedT(M,i.nsMode==="fallback"?d:d[0],c,{scopeNs:d}),ready:L,lng:M,keyPrefix:c,revision:U};return _.current=H,H},[u,d,c,i,t.lng]),[g,m]=O(0),{t:S,ready:w}=ra.useSyncExternalStore(C,E,E);X(()=>{if(u&&!w&&!s){const L=()=>m(M=>M+1);t.lng?er(u,t.lng,d,L):Xn(u,d,L)}},[u,t.lng,d,w,s,g]);const T=u||{},R=be(null),x=be(),P=L=>{const M=Object.getOwnPropertyDescriptors(L);M.__original&&delete M.__original;const U=Object.create(Object.getPrototypeOf(L),M);if(!Object.prototype.hasOwnProperty.call(U,"__original"))try{Object.defineProperty(U,"__original",{value:L,writable:!1,enumerable:!1,configurable:!1})}catch{}return U},G=ye(()=>{const L=T,M=L?.language;let U=L;L&&(R.current&&R.current.__original===L?x.current!==M?(U=P(L),R.current=U,x.current=M):U=R.current:(U=P(L),R.current=U,x.current=M));const $=!w&&!s?(...H)=>(An(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."),S(...H)):S,Y=[$,U,w];return Y.t=$,Y.i18n=U,Y.ready=w,Y},[S,T,w,T.resolvedLanguage,T.language,T.languages]);if(u&&s&&!w){let L=!1;try{L=process.env.NODE_ENV!=="production"}catch{}throw L&&An(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(M=>{const U=()=>M();t.lng?er(u,t.lng,d,U):Xn(u,d,U)})}return G};function sa(){const{t:e}=wt();return W(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 ca(e){const[t,n]=O({current:"",next:"",confirm:""}),[o,r]=O(null),[u,i]=O(!1),s=be(null);X(()=>()=>{s.current!==null&&clearTimeout(s.current)},[]);const c=W(()=>{n({current:"",next:"",confirm:""}),r(null)},[]),p=W(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}i(!0);const f=e?await e(t.current,t.next):null;if(i(!1),f){r({type:"error",text:f});return}r({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(()=>r(null),1500)},[t,e]);return{pw:t,setPw:n,pwMsg:o,setPwMsg:r,pwLoading:u,handleChangePw:p,reset:c}}const Ne=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],lt=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Ve=["","\u3131","\u3132","\u3133","\u3134","\u3135","\u3136","\u3137","\u3139","\u313A","\u313B","\u313C","\u313D","\u313E","\u313F","\u3140","\u3141","\u3142","\u3144","\u3145","\u3146","\u3147","\u3148","\u314A","\u314B","\u314C","\u314D","\u314E"];function le(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function la(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>le(o)),e.set(t,n)),n}}function At(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function da(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=le(e[r]),i=le(t[r]);if(!u||!i)return"random";if(u.cho===i.cho&&u.jung===i.jung&&u.jong===i.jong)continue;n++;const s=u.cho!==i.cho,c=u.jung!==i.jung,p=u.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 qt={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(qt).map(([e,t])=>[t.join(""),Ve[Number(e)]]));function ha(e,t){if(!e||!t)return!1;for(const n of e){const o=le(n);if(o){if(Ne[o.cho]===t)return!0;if(o.jong>0){if(Ve[o.jong]===t)return!0;const r=qt[o.jong];if(r&&r.includes(t))return!0}}}return!1}function kn(e){if(!e)return 0;let t=0;for(const n of e)le(n)&&t++;return t}function fa(e){if(!e)return!1;let t=!1;for(const n of e){const o=le(n);if(o&&(t=!0,o.jong>0))return!1}return t}function pa(e,t){if(e.jong<=0)return!1;if(t.includes(Ve[e.jong]))return!0;const n=qt[e.jong];return!!n&&n.some(o=>t.includes(o))}function Ca(e,t,n){if(!e)return!1;const o=[...e],r=u=>{const i=le(o[u]);if(!i||t.cho&&!t.cho.includes(Ne[i.cho])||t.jung&&!t.jung.includes(lt[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!pa(i,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 ya={cho:Ne.length,jung:lt.length,jong:Ve.length};function ma(e,t,n,o,r=1/0){if(!e||n<1)return[];const u=[...e].map(d=>le(d));if(u.some(d=>!d))return[];const i=u,s=i.length;if(n>s)return[];const c=ya[t],p=new Set,f=[];(function d(l,C){if(C.length===n){f.push([...C]);return}for(let _=l;_<s;_++)C.push(_),d(_+1,C),C.pop()})(0,[]);for(const d of f)if((function l(C,_){if(p.size>=r)return;if(C===d.length){const m=_.map(S=>At(S.cho,S.jung,S.jong)).join("");m!==e&&o.has(m)&&p.add(m);return}const E=d[C],g=i[E][t];for(let m=0;m<c;m++){if(m===g)continue;const S=_.slice();if(S[E]={..._[E],[t]:m},l(C+1,S),p.size>=r)return}})(0,i),p.size>=r)break;return[...p]}function ga(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const r=le(e[o]),u=le(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 or="word_pair_index_v2",rr="word_pair_index_sig_v2";let Wt=null;function _a(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(or),t=localStorage.getItem(rr);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function Kt(){if(Wt)return Wt;const e=_a();return e?(Wt=e.index,e.sig,Wt):null}function Ea(){Wt=null;try{typeof localStorage<"u"&&(localStorage.removeItem(or),localStorage.removeItem(rr))}catch{}}const ur="word_image_existence_map_v1";let It=null;function ar(){if(It)return It;try{const e=typeof localStorage<"u"?localStorage.getItem(ur):null;It=e?JSON.parse(e):{}}catch{It={}}return It}function ba(e,t){return`${e}_${t??1}`}function Sa(e,t){const n=ar(),o=ba(e,t);return o in n?n[o]:void 0}function ir(){const e=ar(),t=Object.values(e);return t.length===0?null:{total:t.length,exists:t.filter(Boolean).length}}function wa(){It={};try{typeof localStorage<"u"&&localStorage.removeItem(ur)}catch{}}const sr=[{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 cr(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 Aa(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 ka(e){const{t}=wt(),[n,o]=O({}),[r,u]=O(null),[i,s]=O(null),[c,p]=O(null),f=W(()=>{const l={};sr.forEach(C=>{l[C.id]=cr([...C.keys])}),o(l),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(C=>{p({usage:C.usage??0,quota:C.quota??0})}).catch(()=>{})},[]);X(()=>{f()},[f]);const d=W(async l=>{u(l);try{l==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):l==="pairIndex"?Ea():l==="imageCache"&&wa(),f(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{u(null)}},[f,e,t]);return{cacheSizes:n,clearingId:r,confirmCacheId:i,setConfirmCacheId:s,storageEstimate:c,refreshCacheSizes:f,handleClearCache:d}}function Na(e){const[t,n]=O(null),[o,r]=O(null),u=W(()=>{const i=Kt();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=ir();r(s?{exists:s.exists,total:s.total}:null)},[]);return X(()=>{u();const i=setTimeout(u,1e3);return()=>clearTimeout(i)},[e,u]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:r,refreshStats:u}}function lr(e,t=[]){const[n,o]=O(t),[r,u]=O(null),[i,s]=O(!1),[c,p]=O(e),f=be(i);X(()=>{f.current=i});const d=be(null);X(()=>{if(f.current)return;const m=d.current;m!==null&&m.length===t.length&&m.every((S,w)=>S===t[w])||(d.current=t,o(t))},[t]);const l=W(m=>{u(m),s(!1),p({...m})},[]),C=W(()=>s(!0),[]),_=W(()=>s(!1),[]),E=W((m,S)=>{o(m),u(S),s(!1)},[]),g=W(m=>{o(S=>S.filter(w=>w!==m)),u(null)},[]);return{list:n,setList:o,selected:r,setSelected:u,isEditing:i,setIsEditing:s,editForm:c,setEditForm:p,openDetail:l,startEditing:C,cancelEditing:_,commitEdit:E,remove:g}}const Xt=()=>{const e=new Date;return{year:String(e.getFullYear()),month:String(e.getMonth()+1).padStart(2,"0"),day:String(e.getDate()).padStart(2,"0")}},Ma={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Ta(e=[]){const{list:t,setList:n,selected:o,setSelected:r,isEditing:u,setIsEditing:i,editForm:s,setEditForm:c,openDetail:p,commitEdit:f}=lr(Ma,e),{year:d,month:l,day:C}=Xt(),[_,E]=O({year:d,month:l,day:C,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:_,setVisitForm:E,setVisit:g=>m=>E(S=>({...S,[g]:m})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:u,setIsEditingVisit:i,editVisitForm:s,setEditVisitForm:c,openVisitDetail:p,handleVisitSave:g=>{n(T=>[_,...T]);const{year:m,month:S,day:w}=Xt();E({year:m,month:S,day:w,hour:"09",minute:"00",memo:""}),g?.()},handleVisitEditSave:()=>{f(g=>g.map(m=>m===o?s:m),s)},addVisit:g=>{n(m=>[g,...m])},removeVisit:g=>{n(m=>m.filter(S=>S!==g))},revertVisitEdit:(g,m)=>{n(S=>S.map(w=>w===m?g:w)),r(S=>S===m?g:S)}}}const dr=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")}`,Nn=e=>[...e].sort((t,n)=>{const o=dr(t),r=dr(n);return o<r?-1:o>r?1:0}),Ba={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function va(e,t=[]){const n=ye(()=>Nn(t),[t]),{list:o,setList:r,selected:u,setSelected:i,isEditing:s,setIsEditing:c,editForm:p,setEditForm:f,openDetail:d,commitEdit:l,remove:C}=lr(Ba,n),[_,E]=O([]),{year:g,month:m,day:S}=Xt(),[w,T]=O({year:g,month:m,day:S,hour:"09",minute:"00",memo:""}),R=H=>D=>T(I=>({...I,[H]:D})),x=H=>{r(J=>Nn([...J,w]));const{year:D,month:I,day:ge}=Xt();T({year:D,month:I,day:ge,hour:"09",minute:"00",memo:""}),H?.()},P=()=>{l(H=>Nn(H.map(D=>D===u?p:D)),p)},G=W(H=>{C(H)},[C]),L=W(H=>{e({year:H.year,month:H.month,day:H.day,hour:H.hour,minute:H.minute,memo:H.memo}),C(H)},[e,C]),M=W(H=>{r(D=>D.filter(I=>I!==H)),E(D=>[H,...D]),i(null)},[r,i]),U=W(H=>{r(D=>Nn([...D,H]))},[r]),$=W(H=>{r(D=>D.filter(I=>I!==H))},[r]),Y=W((H,D)=>{r(I=>I.map(ge=>ge===D?H:ge)),i(I=>I===D?H:I)},[r,i]);return{scheduleList:o,noShowList:_,addSchedule:U,removeSchedule:$,revertScheduleEdit:Y,scheduleForm:w,setScheduleForm:T,setSchedule:R,selectedSchedule:u,setSelectedSchedule:i,isEditingSchedule:s,setIsEditingSchedule:c,editScheduleForm:p,setEditScheduleForm:f,openScheduleDetail:d,handleScheduleSave:x,handleScheduleEditSave:P,handleScheduleDelete:G,handleScheduleToVisit:L,handleScheduleNoVisit:M}}const hr=[{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 xa(e){const[t,n]=O(""),[o,r]=O("25"),[u,i]=O("all"),[s,c]=O(1),p=ye(()=>e.filter(({item:l,status:C})=>!(t&&!l.memo.includes(t)||u!=="all"&&C!==u)),[e,t,u]),f=Math.max(1,Math.ceil(p.length/Number(o))),d=ye(()=>{const l=Math.min(s,f);return p.slice((l-1)*Number(o),l*Number(o))},[p,s,o,f]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:r,vapStatus:u,setVapStatus:i,vapPage:s,setVapPage:c,vapFiltered:p,vapTotal:f,vapPageItems:d}}function Da(e,t){const{t:n}=wt(),[o,r]=O("25"),[u,i]=O(1),[s,c]=O(t);s!==t&&(c(t),u!==1&&i(1));const p=ye(()=>hr.map(C=>({...C,label:n("visits.showN",{n:C.value})})),[n]),f=W(C=>{r(C),i(1)},[]),d=Math.max(1,Math.ceil(e.length/Number(o))),l=Math.min(u,d);return{pageRows:ye(()=>e.slice((l-1)*Number(o),l*Number(o)),[e,l,o]),pageSizeProps:{options:p,value:o,onChange:f},paginationProps:{page:l,total:d,onChange:i},setPage:i}}function Oa(){const[e,t]=O(null),n=W(r=>{t(u=>u?.key===r?{key:r,asc:!u.asc}:{key:r,asc:!0})},[]),o=W((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 La(){const[e,t]=O(!1),[n,o]=O("\uC88C"),[r,u]=O({\uC88C:null,\uC6B0:null}),[i,s]=O({\uC88C:[],\uC6B0:[]}),[c,p]=O(!1),[f,d]=O("\uC88C"),l=W(_=>{const E=_.direction;u(g=>({...g,[E]:_})),s(g=>({...g,[E]:[_,...g[E]]})),t(!1)},[]),C=W(_=>{const E=_.direction;u(g=>({...g,[E]:_})),p(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:r,setDevices:u,deviceHistory:i,setDeviceHistory:s,showDeviceList:c,setShowDeviceList:p,listForSide:f,setListForSide:d,handleDeviceSubmit:l,handleSelectFromList:C}}const Ra="__ihab_core_word_pool__";function Mn(){return globalThis[Ra]??null}function se(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 dt(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?se(e,n):se(e,n).slice(0,t)}const eo={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"}},Ia=Ne.indexOf("\u3147"),fr={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!==Ia},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}},ja={\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"},Pa={\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 pr(e){return ja[e]??e}const to={cho:Ne,jung:lt,jong:Ve},we=e=>Array.isArray(e)?e.length>0:!!e;function no(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],r=t[n];if(!(!o||!r)&&(o.cho!==r.cho&&Ne[o.cho]==="\u3147"!=(Ne[r.cho]==="\u3147")||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function $a(e,t,n){const o=n.pronOf(e),r=n.decompOf,u=n.sameStructureOnly&&r?r(o):null,i=[];for(const s of t)s!==e&&(n.okSet&&!n.okSet.has(s)||n.pronOf(s)!==o&&(u&&r&&no(u,r(n.pronOf(s)))||i.push(s)));return i}function Cr(e,t,n){const o=t?.[e];if(!o)return[];const r=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return $a(e,r,n)}function Fa(e,t,n,o,r,u,i){const s=["cho","jung","jong"].filter(l=>we(e[l])),c={};for(const l of s){const C=e[l];c[l]=new Set(Array.isArray(C)?C:[C])}const p=r==="pron",f=new Map;for(const l of t){const C=n(u(l));if(C.some(m=>!m))continue;let _=C;if(!p&&(_=n(l),_.length!==C.length||_.some(m=>!m)))continue;const E=C.length,g=f.get(E);g?g.push({w:l,dPron:C,dPos:_}):f.set(E,[{w:l,dPron:C,dPos:_}])}const d=new Map;for(const[l,C]of f){const _=new Map,E=(g,m)=>{const S=g.dPos[m];return S!=null&&s.every(w=>c[w].has(to[w][S[w]]))};for(const g of C){let m;if(i==="head")m=E(g,0)?0:-1;else if(i==="tail")m=E(g,l-1)?l-1:-1;else if(i==="mid"){m=-1;for(let w=1;w<l-1;w++)if(E(g,w)){m=w;break}}else m=g.dPos.findIndex(w=>w!=null&&s.every(T=>c[T].has(to[T][w[T]])));if(m<0)continue;const S=_.get(m);S?S.push(g):_.set(m,[g])}for(const[g,m]of _){const S=new Set(s.map(R=>g+":"+R)),w=R=>{let x="";for(let P=0;P<l;P++){const G=R[P];for(const L of["cho","jung","jong"])x+=(S.has(P+":"+L)?"*":G[L])+"."}return x},T=new Map;for(const R of C){const x=w(R.dPron),P=T.get(x);P?P.push(R):T.set(x,[R])}for(const R of m){const x=T.get(w(R.dPron))??[],P=[];for(const G of x){if(G.w===R.w)continue;let L=!0;for(const M of s){const U=R.dPron[g][M],$=G.dPron[g][M];if($===U){L=!1;break}if(p&&c[M].has(to[M][$])){L=!1;break}}L&&(o&&no(R.dPron,G.dPron)||P.push(G.w))}d.set(R.w,P)}}}return d}const Ha=e=>e==null?[]:Array.isArray(e)?e:[e];function za(e){if([...e].length!==1)return"";const t=le(e);if(!t)return"";const n=pr(Ve[t.jong]),o=n===""?0:Ve.indexOf(n);return At(t.cho,t.jung,o<0?0:o)}function yr(e,t){return t.get(e)||za(e)||e}function oo(e){return e?we(e.cho)?"cho":we(e.jung)?"jung":we(e.jong)?"jong":null:null}function jt(e,t){const n=(o,r)=>!we(o)||Ha(o).includes(r);return n(t.cho,Ne[e.cho])&&n(t.jung,lt[e.jung])&&n(t.jong,Ve[e.jong])}function Zt(e,t,n){const o=[...e];if(n!=="pron")return o.map(u=>le(u));const r=[...t.get(e)||e];return r.length!==o.length?o.map(u=>le(u)):r.map(u=>le(u))}function Jt(e,t,n,o,r){const u=t==="cho"?Ne:t==="jung"?lt:Ve,i=e[t],s=[],c=new Set([yr(n,r)]),p=se(u.map((f,d)=>d).filter(f=>f!==i&&(t!=="cho"||u[f]!=="\u3147")&&(t!=="jong"||f!==0)));for(const f of p){if(s.length>=o)break;const d=t==="cho"?At(f,e.jung,e.jong):t==="jung"?At(e.cho,f,e.jong):At(e.cho,e.jung,f),l=yr(d,r);c.has(l)||(c.add(l),s.push(d))}return s}function Va(e,t,n,o,r,u=null){const i=[...e];if(i.length!==2)return null;const s=i.map(d=>le(d));if(s.some(d=>!d))return null;const c=Zt(e,n,o);if(c.some(d=>!d))return null;const p=oo(t);let f=p&&t?c.map((d,l)=>jt(d,t)?l:-1).filter(d=>d>=0):[0,1];if(u!=null&&(f=f.filter(d=>d!==u)),!f.length)return null;for(const d of se(f)){const l=i[d];if(!r.has(l))continue;const C=Jt(s[d],p??"cho",l,40,n),_=[];for(const E of C)if(E!==l&&r.has(E)&&!_.includes(E)&&_.push(E),_.length>=2)break;if(!(_.length<2))return{question:e,distractors:[l,..._]}}return null}function Ua(e,t,n,o,r,u=null){const i=[...e];if(i.length!==3)return null;const s=i.map(d=>le(d));if(s.some(d=>!d))return null;const c=Zt(e,n,o);if(c.some(d=>!d))return null;const p=oo(t),f=p&&t?c.map((d,l)=>jt(d,t)?l:-1).filter(d=>d>=0):[0,1,2];if(!f.length)return null;for(const d of se(f))for(const l of se([0,1,2].filter(C=>C!==d&&(u==null||C===u)))){const C=[0,1,2].filter(S=>S!==l),_=C.map(S=>i[S]).join("");if(!r.has(_))continue;const E=C.indexOf(d),g=Jt(s[d],p??"cho",i[d],40,n),m=[];for(const S of g){const w=C.map(R=>i[R]);w[E]=S;const T=w.join("");if(T!==_&&r.has(T)&&!m.includes(T)&&m.push(T),m.length>=2)break}if(!(m.length<2))return{question:e,distractors:[_,...m]}}return null}function Ga(e,t,n,o,r,u=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=oo(t);for(const{remain:f,dropped:d,droppedEnd:l}of se(c)){if(u!=null&&l!==u||f===e||!r.has(f)||!r.has(d))continue;const C=[...f],_=C.map(m=>le(m));if(_.some(m=>!m))continue;const E=Zt(f,n,o);if(E.some(m=>!m))continue;const g=p&&t?E.map((m,S)=>jt(m,t)?S:-1).filter(m=>m>=0):C.map((m,S)=>S);if(g.length)for(const m of se(g)){const S=Jt(_[m],p??"cho",C[m],40,n),w=[];for(const T of S){const R=[...C];R[m]=T;const x=R.join("");if(x!==f&&r.has(x)&&!w.includes(x)&&w.push(x),w.length>=2)break}if(w.length>=2)return{question:e,distractors:[f,...w]}}}return null}function Ya(e,t,n,o,r,u=null){if([...e].length!==1)return null;const i=le(n.get(e)||e);if(!i||i.jong===0)return null;const s=At(i.cho,i.jung,0),c=Jt({cho:i.cho,jung:i.jung,jong:0},"cho",s,2,n);return c.length<2?null:{question:e,distractors:[s,...c]}}const ro=Ne.indexOf("\u3147");function qa(e,t,n,o,r,u=null){if([...e].length!==1)return null;const i=le(n.get(e)||e);if(!i||i.jong!==0||i.cho===ro)return null;const s=At(ro,i.jung,0),c=Jt({cho:ro,jung:i.jung,jong:0},"jung",s,2,n);return c.length<2?null:{question:e,distractors:[s,...c]}}function Wa(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 i=r+"|"+u+"|";for(let c=0;c<r;c++)i+=c===u?"*":o[c];const s=t.get(i);s?s.push(n):t.set(i,[n])}}return t}function Ka(e,t,n,o,r,u=null,i=null,s=2){const c=[...e],p=c.length;if(p<2||p>3)return null;const f=c.map(S=>le(S));if(f.some(S=>!S))return null;const d=Zt(e,n,o);if(d.some(S=>!S))return null;const l=S=>n.get(S)??S,C=l(e),_=!!t&&(we(t.cho)||we(t.jung)||we(t.jong)),E=!!i&&(we(i.cho)||we(i.jung)||we(i.jong)),g=S=>{let w=p+"|"+S+"|";for(let T=0;T<p;T++)w+=T===S?"*":c[T];return w};let m;if(u!=null){if(u>=p||_&&!jt(d[u],t))return null;m=[u]}else _?m=d.map((S,w)=>jt(S,t)?w:-1).filter(S=>S>=0):m=Array.from({length:p},(S,w)=>w);for(const S of se(m)){const w=r.get(g(S))??[],T=[],R=[];for(const M of w){if(M===e)continue;const U=[...M].map(D=>le(D)),$=f[S],Y=U[S];if(!$||!Y)continue;let H=0;if($.cho!==Y.cho&&H++,$.jung!==Y.jung&&H++,$.jong!==Y.jong&&H++,!(H<s||l(M)===C))if(E){const D=Zt(M,n,o)[S];D&&jt(D,i)?T.push(M):R.push(M)}else T.push(M)}if(!T.length)continue;const x=se(T)[0],P=[],G=new Set([C,l(x)]),L=E?R:T.filter(M=>M!==x);for(const M of se(L)){const U=l(M);if(!G.has(U)&&(G.add(U),P.push(M),P.length>=2))break}if(!E&&P.length<2)for(const M of se(w)){if(M===e||M===x)continue;const U=l(M);if(!G.has(U)&&(G.add(U),P.push(M),P.length>=2))break}if(!(P.length<2))return{question:e,distractors:[x,...P]}}return null}let Tn=null,mr=null,gr=null;function Xa(){const e=Mn();if(e&&e.entries.length>0){const t=Kt();if(Tn&&mr===e&&gr===t)return Tn;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 Tn=o,mr=e,gr=t,Tn}return[]}const Ye=new Proxy([],{get(e,t){const n=Xa(),o=n[t];return typeof o=="function"?o.bind(n):o}});function Bn(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function qe(e,t){if(t>=e.length)return se(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 uo=null,_r=null;function kt(){const e=Mn();if(uo&&_r===e)return uo;const t=new Map;for(const n of Ye)n.w&&t.set(n.w,n.pron);return uo=t,_r=e,t}function je(e){return kt().get(e)||e}function ao(e,t,n=new Set){const o=[];for(const r of se(e)){if(o.length>=t)break;const u=je(r);n.has(u)||(n.add(u),o.push(r))}return o}let Za=0;function Me(e){return`${e}-rt-${++Za}`}function Qt(e){const t=ir();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)Sa(o)===!0&&n.add(o);return n}const vn=new Map;let Er=null,br=null;function en(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function Sr(e){const t=en(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),r=n?`${en(n.cho)}/${en(n.jung)}/${en(n.jong)}/${n.jongNone?"N":""}/${o}`:"",u=en(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 Pe(e){const t=Mn(),n=Kt();(t!==Er||n!==br)&&(vn.clear(),Er=t,br=n);const o=Sr(e);return vn.has(o)||vn.set(o,Qa(e)),vn.get(o)}function Ja(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),r=!!e.jongNone,u=r?null:t(e.jong);return n||o||u||r?r&&!n&&!o&&!u?i=>fa(i):i=>Ca(i,{cho:n,jung:o,jong:u,jongNone:r}):null}async function Qa(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:r=null,excludeNoImage:u=!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",d=f&&p>=2,l=t==="count",C=n?new Set(Array.isArray(n)?n:[n]):null,_=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,E=o?[Ja(o),_?k=>_.has(kn(k)):null].filter(k=>k!=null):[],g=t==="random"||t===null,m=g||l,S=g||d||l;let w=Ye.filter(k=>!k.w||i&&(!k.grade||!i.has(k.grade))?!1:S?!0:Array.isArray(k.p)&&k.p.length>0);C&&(w=w.filter(k=>{for(const z of C)if(ha(k.w,z))return!0;return!1})),E.length>0&&(w=w.filter(k=>{const z=c==="pron"?je(k.w):k.w;return E.every(re=>re(z))})),r&&(w=w.filter(k=>k.w[0]===r));let T;if(u){const k=new Set;for(const z of w)if(k.add(z.w),Array.isArray(z.p))for(const re of z.p)k.add(re);if(m)for(const z of Ye)z.w&&k.add(z.w);T=Qt(k)}else{const k=new Set;for(const z of w)if(k.add(z.w),Array.isArray(z.p))for(const re of z.p)k.add(re);if(m)for(const z of Ye)z.w&&k.add(z.w);T=k}let R=null;if(d){const k=new Set;for(const z of Ye)z.w&&k.add(z.w);R=u?Qt(k):k}const x=w.filter(k=>T.has(k.w)),P=600,G=Array.from(T),L=G.length>P?qe(G,P):G,M=l&&o!=null&&(we(o.cho)||we(o.jung)||we(o.jong)),U=2500,$=new Map;if(l&&!M&&p>=2){for(const k of G){const z=kn(k),re=$.get(z);re?re.push(k):$.set(z,[k])}for(const[k,z]of $)z.length>U&&$.set(k,qe(z,U))}const Y=la(),H=M?Fa(o,G,Y,s,c,je):null,D=500,I=1500,ge=e.fullCount?x:t==="random"?x.length>D?qe(x,D):x:x.length>I?qe(x,I):x,J=Kt(),ee=[];for(const k of ge){let z;const re=je(k.w);if(d)z=ma(k.w,t,p,R,24).filter(ue=>je(ue)!==re);else if(l)M?z=(H.get(k.w)??[]).filter(ue=>je(ue)!==re):p<=1?z=Cr(k.w,J,{okSet:T,pronOf:je,decompOf:Y,sameStructureOnly:!1}):z=($.get(kn(k.w))??[]).filter(ue=>{if(ue===k.w||je(ue)===re)return!1;const K=ga(k.w,ue);return p>=5?K>=5:K===p});else if(g)z=L.filter(ue=>ue!==k.w&&ue.length===k.w.length&&je(ue)!==re);else{const ue=t;z=Cr(k.w,J,{kind:ue,okSet:T,pronOf:je,decompOf:Y,sameStructureOnly:!1}),z.length===0&&(z=(L.length>30?qe(L,30):L).filter(K=>K!==k.w&&da(k.w,K)===t&&je(K)!==re))}if(s&&z.length>0&&(f||l&&!M)){const ue=Y(je(k.w));z=z.filter(K=>!no(ue,Y(je(K))))}z.length!==0&&ee.push({word:k,usable:z})}return ee}async function wr(e,t){const{choicesPerItem:n=3,count:o=10}=t,r=n-1,u=(await Pe(t)).filter(s=>s.usable.length>=r),i=[];for(const s of se(u)){if(i.length>=o)break;const c=ao(s.usable,r);if(c.length<r)continue;const p=se([s.word.w,...c]);i.push({id:Me(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 ei(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Pe({...e,difficulty:null});if(r.length<t)return[];const u=[],i=se([...r]);for(const s of i){if(u.length>=n)break;const c=s.word.w,p=[...s.word.pron||c],f=Bn(p);if(!f)continue;const d=r.filter(_=>_.word.w!==c&&_.word.s===s.word.s&&!(_.word.pron||_.word.w).includes(f)&&_.word.pron!==s.word.pron);if(d.length<o)continue;const l=ao(d.map(_=>_.word.w),o);if(l.length<o)continue;const C=se([c,...l]);u.push({id:Me("HPI-item"),index:u.length+1,targetSyllable:f,word:c,choices:C,answerIndex:C.indexOf(c)})}return u}async function ti(e){const{count:t=10}=e,n=(await Pe(e)).filter(o=>o.usable.length>=1);return Array.from({length:t},(o,r)=>{const u=Bn(n);if(!u)return null;const i=r%2===0;let s;if(i)s=[u.word.w,u.word.w];else{const c=Bn(u.usable);s=Math.random()<.5?[u.word.w,c]:[c,u.word.w]}return{id:Me("SOD-item"),index:r+1,word:u.word.w,pair:s,same:i}}).filter(o=>!!o)}async function ni(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Pe({...e,difficulty:null});if(r.length<t+1)return[];const u=r.map(l=>l.word.w),i=new Map(r.map(l=>[l.word.w,l.word.pron])),s=l=>(i.get(l)||l)[0]??"",c={};for(const l of r){const C=s(l.word.w);C&&(c[C]||(c[C]=[]),c[C].push(l.word.w))}const p=Object.entries(c).filter(([,l])=>l.length>=2).map(([l])=>l);if(p.length===0)return[];const f=[],d=se([...p]);for(let l=0;f.length<n&&l<n*4;l++){const C=d[l%d.length],_=c[C];if(_.length<2)continue;const E=se([..._]),g=E[0],m=E[1];if(!g||!m||g===m||(i.get(g)||g)===(i.get(m)||m))continue;const S=i.get(m)||m,w=u.filter(x=>s(x)!==C&&x!==g&&x!==m&&x.length===m.length&&(i.get(x)||x)!==S);if(w.length<o)continue;const T=ao(w,o);if(T.length<o)continue;const R=se([m,...T]);f.push({id:Me("SWS-item"),index:f.length+1,sourceWord:g,targetSyllable:C,word:m,choices:R,answerIndex:R.indexOf(m)})}return f}function Ar(e,t,n){return qe(e,t).map((o,r)=>{const u=Bn(o.usable)??"",i=[...o.word.w],s=[...u],c=i.findIndex((f,d)=>f!==s[d]),p=se(o.usable.filter(f=>f&&f!==u)).slice(0,2);return{id:Me(n),index:r+1,word:o.word.w,original:o.word.w,changed:u,changedFrom:c>=0?i[c]:"",changedTo:c>=0?s[c]:"",distractors:p}})}async function kr(e,t,n){const{count:o=10}=t,r=kt(),u=Ye.filter(C=>C.w&&C.s===e),i=t.excludeNoImage?Qt(u.map(C=>C.w)):null,s=i?u.filter(C=>i.has(C.w)):u,c=new Set(s.map(C=>C.w)),p=Wa(c),f=t.phonemeView??"char",d=t.composition??null,l=[];for(const C of se(s)){if(l.length>=o)break;const _=Ka(C.w,d,r,f,p,null,null);if(!_)continue;const E=_.distractors[0],g=[...C.w],m=[...E],S=g.findIndex((w,T)=>w!==m[T]);l.push({id:Me(n),index:l.length+1,word:C.w,original:C.w,changed:E,changedFrom:S>=0?g[S]:"",changedTo:S>=0?m[S]:"",distractors:_.distractors.slice(1)})}return l}async function oi(e){return kr(2,e,"CS2-item")}async function ri(e){return kr(3,e,"CS3-item")}async function ui(e){const t=(await Pe({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return Ar(t,e.count??10,"CP1-item")}async function ai(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await Pe({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return Ar(n,e.count??10,"CP2-item")}async function ii(e){const{count:t=10}=e,n=(await Pe({...e})).filter(o=>o.word.s===2);return qe(n,t).map((o,r)=>({id:Me("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function si(e){const{count:t=10}=e,n=(await Pe({...e})).filter(o=>o.word.s===3);return qe(n,t).map((o,r)=>({id:Me("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function ci(e){const{count:t=10}=e,n=(await Pe({...e})).filter(s=>s.word.s===2),o=kt(),r=new Set(Ye.map(s=>s.w)),u=e.phonemeView??"char",i=[];for(const s of se(n)){if(i.length>=t)break;const c=Va(s.word.w,e.composition??null,o,u,r);if(!c)continue;const[p,...f]=c.distractors,d=[...s.word.w],l=d[0]===p?d[1]:d[0];i.push({id:Me("D2-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:l,missingResult:p,distractors:f})}return i}async function li(e){const{count:t=10}=e,n=(await Pe({...e})).filter(s=>s.word.s===3),o=kt(),r=new Set(Ye.map(s=>s.w)),u=e.phonemeView??"char",i=[];for(const s of se(n)){if(i.length>=t)break;const c=Ua(s.word.w,e.composition??null,o,u,r);if(!c)continue;const[p,...f]=c.distractors,d=[...s.word.w];let l="";for(let C=0;C<d.length;C++)if(d.filter((_,E)=>E!==C).join("")===p){l=d[C];break}i.push({id:Me("D3-item"),index:i.length+1,original:s.word.w,word:s.word.w,dropped:l,missingResult:p,distractors:f})}return i}async function di(e){const{count:t=10}=e,n=(await Pe({...e})).filter(s=>s.word.s>=2),o=kt(),r=new Set(Ye.map(s=>s.w)),u=e.phonemeView??"char",i=[];for(const s of se(n)){if(i.length>=t)break;const c=Ga(s.word.w,e.composition??null,o,u,r);if(!c)continue;const[p,...f]=c.distractors,d=s.word.w,l=d.startsWith(p)?d.slice(p.length):d.endsWith(p)?d.slice(0,d.length-p.length):"";i.push({id:Me("DPC-item"),index:i.length+1,original:d,word:d,dropped:l,missingResult:p,distractors:f})}return i}async function hi(e){const{count:t=10}=e,n=(await Pe({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,r)=>{const u=qe(n,3);return{id:Me("LRO-item"),index:r+1,sequence:u,choices:se(u)}})}function xn(e,t,n){const o=Ye.filter(i=>i.w&&i.s===e),r=t?Qt(o.map(i=>i.w)):null,u=[];for(const i of o)if(!(r&&!r.has(i.w))){if(n){const s=le(i.w);if(!s||!n(s))continue}u.push(i)}return u}function fi(e){const t=xn(1,e.excludeNoImage??!1,n=>n.jong===0);return qe(t,e.count??10).map((n,o)=>{const r=le(n.w);return{id:Me("M2P-item"),index:o+1,parts:[Ne[r.cho],lt[r.jung]],answer:n.w,word:n.w}})}function pi(e){const t=xn(1,e.excludeNoImage??!1,n=>n.jong>0&&!qt[n.jong]);return qe(t,e.count??10).map((n,o)=>{const r=le(n.w);return{id:Me("M3P-item"),index:o+1,parts:[Ne[r.cho],lt[r.jung],Ve[r.jong]],answer:n.w,word:n.w}})}function Ci(e){const t=fr.DROP_FINAL_CONSONANT_FROM_1SYLL,n=xn(t.syllables,e.excludeNoImage??!1,t.syllable),o=kt(),r=[];for(const u of se(n)){if(r.length>=(e.count??10))break;const i=Ya(u.w,null,o);if(!i)continue;const[s,...c]=i.distractors;r.push({id:Me("DFC-item"),index:r.length+1,original:u.w,word:u.w,result:s,distractors:c})}return r}function yi(e){const t=fr.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=xn(t.syllables,e.excludeNoImage??!1,t.syllable),o=kt(),r=[];for(const u of se(n)){if(r.length>=(e.count??10))break;const i=qa(u.w,null,o);if(!i)continue;const s=le(o.get(u.w)||u.w);if(!s)continue;const[c,...p]=i.distractors;r.push({id:Me("RCP-item"),index:r.length+1,base:u.w,word:u.w,missingConsonant:Ne[s.cho],remaining:c,distractors:p})}return r}const Dn=new Map;let Nr=null,Mr=null;async function Tr(e,t={}){const n=Mn(),o=Kt();(n!==Nr||o!==Mr)&&(Dn.clear(),Nr=n,Mr=o);const r=`${e}:${Sr(t)}`;if(Dn.has(r))return Dn.get(r);const u=await gi(e,t);return Dn.set(r,u),u}const mi={SAME_SOUND_PICK:e=>wr("SSP",e),HEAR_AND_PICK_SAME:e=>wr("HPS",e),HEAR_AND_PICK_INCLUDED:e=>ei(e),SAME_OR_DIFF:e=>ti(e),STARTS_WITH_SAME_SOUND:e=>ni(e),LISTEN_AND_REMEMBER_ORDER:e=>hi(e),MERGE_2_SYLLABLES:e=>ii(e),MERGE_3_SYLLABLES:e=>si(e),MERGE_2_PHONEMES:e=>fi(e),MERGE_3_PHONEMES:e=>pi(e),DROP_1_FROM_2SYLL:e=>ci(e),DROP_1_FROM_3SYLL:e=>li(e),DROP_PART_FROM_COMPOUND:e=>di(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>Ci(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>yi(e),CHANGE_1_SYLL_IN_2SYLL:e=>oi(e),CHANGE_1_SYLL_IN_3SYLL:e=>ri(e),CHANGE_1_PHONEME_IN_1SYLL:e=>ui(e),CHANGE_1_PHONEME_IN_2SYLL:e=>ai(e)};async function gi(e,t={}){const n=mi[e];return n?await n(t):[]}async function _i(e){const t=[null,"count"],n=Object.keys(eo);let o=0;for(const r of t)for(const u of n){const i=eo[u];Tr(u,{difficulty:i.difficulty?r:null,choseong:null,count:10,excludeNoImage:e}).catch(()=>{}),++o%6===0&&await new Promise(s=>setTimeout(s,0))}}async function Ei(e){return(await Pe({...e,fullCount:!0})).length}async function bi(e={}){const t=[];for(const s of Ye)s.w&&t.push(s.w);const n=e.excludeNoImage?Qt(t):t,o=new Set,r=new Set,u=new Set,i=new Set;for(const s of n){i.add(kn(s));for(const c of s){const p=le(c);if(p&&(Ne[p.cho]!=="\u3147"&&o.add(Ne[p.cho]),r.add(lt[p.jung]),p.jong>0)){u.add(Ve[p.jong]);const f=qt[p.jong];f&&f.forEach(d=>u.add(d))}}}return{cho:o,jung:r,jong:u,syllable:i}}const Nt="\uC804\uCCB4";function Si(...e){return e.filter(Boolean).join(" ")}/**
|
|
1
|
+
import{useState as B,useEffect as X,createContext as Gn,useContext as Yn,useRef as Oe,useCallback as q,useMemo as we,forwardRef as Po,createElement as Ut,useLayoutEffect as Nu}from"react";import{useTranslation as kt}from"react-i18next";import{jsx as oe,jsxs as Ie,Fragment as Gt}from"react/jsx-runtime";import{createPortal as $o}from"react-dom";function Mu({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:u=1.4}={}){const i=g=>Math.max(n,Math.min(o,Number(g))),[l,c]=B(()=>{try{const g=localStorage.getItem(e),y=g?Number(g):1;return Number.isFinite(y)?y:1}catch{return 1}});X(()=>{try{localStorage.setItem(e,String(l))}catch{}},[e,l]);const p=g=>{c(typeof g=="function"?y=>i(g(y)):i(g))},h=()=>p(g=>+(g+r).toFixed(6)),C=()=>p(g=>+(g-r).toFixed(6)),s=l<o-Number.EPSILON,m=l>n+Number.EPSILON,E=Math.round(t*l),A=Math.round(E*u);return{scale:l,setScale:p,increase:h,decrease:C,canIncrease:s,canDecrease:m,fontSize:E,lineHeight:A}}const Fo=Gn(null);function Tu(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Bu(e){const t=Yn(Fo),n=u=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(u).matches,[o,r]=B(n(e));return X(()=>{if(typeof window>"u"||!window.matchMedia)return;const u=window.matchMedia(e),i=c=>r(c.matches),l=u;return l.addEventListener?l.addEventListener("change",i):l.addListener&&l.addListener(i),r(u.matches),()=>{l.removeEventListener?l.removeEventListener("change",i):l.removeListener&&l.removeListener(i)}},[e]),t&&typeof t.mobile=="boolean"&&Tu(e)?t.mobile:o}function Ho(e){const t=Oe(e);return X(()=>{t.current=e}),t}function zo(e,t){const n=Ho(t);X(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const qn=" \xB7 ",Vo=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(qn)?e.split(qn).pop()??e:e})(),Uo=Gn(!1);function Du(e){const t=Yn(Uo);X(()=>{if(t||typeof e!="string"||!e)return;const n=document.title;return document.title=Vo?`${e}${qn}${Vo}`:e,()=>{document.title=n}},[e,t])}function xu(){const{t:e}=kt();return q(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 vu(e){const[t,n]=B({current:"",next:"",confirm:""}),[o,r]=B(null),[u,i]=B(!1),l=Oe(null);X(()=>()=>{l.current!==null&&clearTimeout(l.current)},[]);const c=q(()=>{n({current:"",next:"",confirm:""}),r(null)},[]),p=q(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}i(!0);const h=e?await e(t.current,t.next):null;if(i(!1),h){r({type:"error",text:h});return}r({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),n({current:"",next:"",confirm:""}),l.current!==null&&clearTimeout(l.current),l.current=setTimeout(()=>r(null),1500)},[t,e]);return{pw:t,setPw:n,pwMsg:o,setPwMsg:r,pwLoading:u,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"],st=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Ve=["","\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 Ou(){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 At(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function Lu(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=se(e[r]),i=se(t[r]);if(!u||!i)return"random";if(u.cho===i.cho&&u.jung===i.jung&&u.jong===i.jong)continue;n++;const l=u.cho!==i.cho,c=u.jung!==i.jung,p=u.jong!==i.jong;(l?1:0)+(c?1:0)+(p?1:0)>1?o="multi":l?o="cho":c?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const Yt={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(Yt).map(([e,t])=>[t.join(""),Ve[Number(e)]]));function Ru(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(Ve[o.jong]===t)return!0;const r=Yt[o.jong];if(r&&r.includes(t))return!0}}}return!1}function bn(e){if(!e)return 0;let t=0;for(const n of e)se(n)&&t++;return t}function Iu(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 ju(e,t){if(e.jong<=0)return!1;if(t.includes(Ve[e.jong]))return!0;const n=Yt[e.jong];return!!n&&n.some(o=>t.includes(o))}function Pu(e,t,n){if(!e)return!1;const o=[...e],r=u=>{const i=se(o[u]);if(!i||t.cho&&!t.cho.includes(Se[i.cho])||t.jung&&!t.jung.includes(st[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!ju(i,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 $u={cho:Se.length,jung:st.length,jong:Ve.length};function Fu(e,t,n,o,r=1/0){if(!e||n<1)return[];const u=[...e].map(C=>se(C));if(u.some(C=>!C))return[];const i=u,l=i.length;if(n>l)return[];const c=$u[t],p=new Set,h=[];(function C(s,m){if(m.length===n){h.push([...m]);return}for(let E=s;E<l;E++)m.push(E),C(E+1,m),m.pop()})(0,[]);for(const C of h)if((function s(m,E){if(p.size>=r)return;if(m===C.length){const y=E.map(k=>At(k.cho,k.jung,k.jong)).join("");y!==e&&o.has(y)&&p.add(y);return}const A=C[m],g=i[A][t];for(let y=0;y<c;y++){if(y===g)continue;const k=E.slice();if(k[A]={...E[A],[t]:y},s(m+1,k),p.size>=r)return}})(0,i),p.size>=r)break;return[...p]}function Hu(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const r=se(e[o]),u=se(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 Go="word_pair_index_v2",Yo="word_pair_index_sig_v2";let qt=null;function zu(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Go),t=localStorage.getItem(Yo);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function Wt(){if(qt)return qt;const e=zu();return e?(qt=e.index,e.sig,qt):null}function Vu(){qt=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Go),localStorage.removeItem(Yo))}catch{}}const qo="word_image_existence_map_v1";let Rt=null;function Wo(){if(Rt)return Rt;try{const e=typeof localStorage<"u"?localStorage.getItem(qo):null;Rt=e?JSON.parse(e):{}}catch{Rt={}}return Rt}function Uu(e,t){return`${e}_${t??1}`}function Gu(e,t){const n=Wo(),o=Uu(e,t);return o in n?n[o]:void 0}function Ko(){const e=Wo(),t=Object.values(e);return t.length===0?null:{total:t.length,exists:t.filter(Boolean).length}}function Yu(){Rt={};try{typeof localStorage<"u"&&localStorage.removeItem(qo)}catch{}}const Xo=[{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 qu(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 Wu(e){const{t}=kt(),[n,o]=B({}),[r,u]=B(null),[i,l]=B(null),[c,p]=B(null),h=q(()=>{const s={};Xo.forEach(m=>{s[m.id]=Zo([...m.keys])}),o(s),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(m=>{p({usage:m.usage??0,quota:m.quota??0})}).catch(()=>{})},[]);X(()=>{h()},[h]);const C=q(async s=>{u(s);try{s==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):s==="pairIndex"?Vu():s==="imageCache"&&Yu(),h(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{u(null)}},[h,e,t]);return{cacheSizes:n,clearingId:r,confirmCacheId:i,setConfirmCacheId:l,storageEstimate:c,refreshCacheSizes:h,handleClearCache:C}}function Ku(e){const[t,n]=B(null),[o,r]=B(null),u=q(()=>{const i=Wt();if(i){const c=Object.values(i),p=c.filter(h=>h.cho.length+h.jung.length+h.jong.length>0).length;n({matched:p,total:c.length})}else n(null);const l=Ko();r(l?{exists:l.exists,total:l.total}:null)},[]);return X(()=>{u();const i=setTimeout(u,1e3);return()=>clearTimeout(i)},[e,u]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:r,refreshStats:u}}function Jo(e,t=[]){const[n,o]=B(t),[r,u]=B(null),[i,l]=B(!1),[c,p]=B(e),h=Oe(i);X(()=>{h.current=i});const C=Oe(null);X(()=>{if(h.current)return;const y=C.current;y!==null&&y.length===t.length&&y.every((k,N)=>k===t[N])||(C.current=t,o(t))},[t]);const s=q(y=>{u(y),l(!1),p({...y})},[]),m=q(()=>l(!0),[]),E=q(()=>l(!1),[]),A=q((y,k)=>{o(y),u(k),l(!1)},[]),g=q(y=>{o(k=>k.filter(N=>N!==y)),u(null)},[]);return{list:n,setList:o,selected:r,setSelected:u,isEditing:i,setIsEditing:l,editForm:c,setEditForm:p,openDetail:s,startEditing:m,cancelEditing:E,commitEdit:A,remove:g}}const Kt=()=>{const e=new Date;return{year:String(e.getFullYear()),month:String(e.getMonth()+1).padStart(2,"0"),day:String(e.getDate()).padStart(2,"0")}},Xu={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Zu(e=[]){const{list:t,setList:n,selected:o,setSelected:r,isEditing:u,setIsEditing:i,editForm:l,setEditForm:c,openDetail:p,commitEdit:h}=Jo(Xu,e),{year:C,month:s,day:m}=Kt(),[E,A]=B({year:C,month:s,day:m,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:E,setVisitForm:A,setVisit:g=>y=>A(k=>({...k,[g]:y})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:u,setIsEditingVisit:i,editVisitForm:l,setEditVisitForm:c,openVisitDetail:p,handleVisitSave:g=>{n(x=>[E,...x]);const{year:y,month:k,day:N}=Kt();A({year:y,month:k,day:N,hour:"09",minute:"00",memo:""}),g?.()},handleVisitEditSave:()=>{h(g=>g.map(y=>y===o?l:y),l)},addVisit:g=>{n(y=>[g,...y])},removeVisit:g=>{n(y=>y.filter(k=>k!==g))},revertVisitEdit:(g,y)=>{n(k=>k.map(N=>N===y?g:N)),r(k=>k===y?g:k)}}}const Qo=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")}`,kn=e=>[...e].sort((t,n)=>{const o=Qo(t),r=Qo(n);return o<r?-1:o>r?1:0}),Ju={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Qu(e,t=[]){const n=we(()=>kn(t),[t]),{list:o,setList:r,selected:u,setSelected:i,isEditing:l,setIsEditing:c,editForm:p,setEditForm:h,openDetail:C,commitEdit:s,remove:m}=Jo(Ju,n),[E,A]=B([]),{year:g,month:y,day:k}=Kt(),[N,x]=B({year:g,month:y,day:k,hour:"09",minute:"00",memo:""}),R=z=>D=>x(O=>({...O,[z]:D})),v=z=>{r(Z=>kn([...Z,N]));const{year:D,month:O,day:me}=Kt();x({year:D,month:O,day:me,hour:"09",minute:"00",memo:""}),z?.()},j=()=>{s(z=>kn(z.map(D=>D===u?p:D)),p)},H=q(z=>{m(z)},[m]),U=q(z=>{e({year:z.year,month:z.month,day:z.day,hour:z.hour,minute:z.minute,memo:z.memo}),m(z)},[e,m]),F=q(z=>{r(D=>D.filter(O=>O!==z)),A(D=>[z,...D]),i(null)},[r,i]),Q=q(z=>{r(D=>kn([...D,z]))},[r]),G=q(z=>{r(D=>D.filter(O=>O!==z))},[r]),W=q((z,D)=>{r(O=>O.map(me=>me===D?z:me)),i(O=>O===D?z:O)},[r,i]);return{scheduleList:o,noShowList:E,addSchedule:Q,removeSchedule:G,revertScheduleEdit:W,scheduleForm:N,setScheduleForm:x,setSchedule:R,selectedSchedule:u,setSelectedSchedule:i,isEditingSchedule:l,setIsEditingSchedule:c,editScheduleForm:p,setEditScheduleForm:h,openScheduleDetail:C,handleScheduleSave:v,handleScheduleEditSave:j,handleScheduleDelete:H,handleScheduleToVisit:U,handleScheduleNoVisit:F}}const er=[{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]=B(""),[o,r]=B("25"),[u,i]=B("all"),[l,c]=B(1),p=we(()=>e.filter(({item:s,status:m})=>!(t&&!s.memo.includes(t)||u!=="all"&&m!==u)),[e,t,u]),h=Math.max(1,Math.ceil(p.length/Number(o))),C=we(()=>{const s=Math.min(l,h);return p.slice((s-1)*Number(o),s*Number(o))},[p,l,o,h]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:r,vapStatus:u,setVapStatus:i,vapPage:l,setVapPage:c,vapFiltered:p,vapTotal:h,vapPageItems:C}}function ta(e,t){const{t:n}=kt(),[o,r]=B("25"),[u,i]=B(1),[l,c]=B(t);l!==t&&(c(t),u!==1&&i(1));const p=we(()=>er.map(m=>({...m,label:n("visits.showN",{n:m.value})})),[n]),h=q(m=>{r(m),i(1)},[]),C=Math.max(1,Math.ceil(e.length/Number(o))),s=Math.min(u,C);return{pageRows:we(()=>e.slice((s-1)*Number(o),s*Number(o)),[e,s,o]),pageSizeProps:{options:p,value:o,onChange:h},paginationProps:{page:s,total:C,onChange:i},setPage:i}}function na(){const[e,t]=B(null),n=q(r=>{t(u=>u?.key===r?{key:r,asc:!u.asc}:{key:r,asc:!0})},[]),o=q((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 oa(){const[e,t]=B(!1),[n,o]=B("\uC88C"),[r,u]=B({\uC88C:null,\uC6B0:null}),[i,l]=B({\uC88C:[],\uC6B0:[]}),[c,p]=B(!1),[h,C]=B("\uC88C"),s=q(E=>{const A=E.direction;u(g=>({...g,[A]:E})),l(g=>({...g,[A]:[E,...g[A]]})),t(!1)},[]),m=q(E=>{const A=E.direction;u(g=>({...g,[A]:E})),p(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:r,setDevices:u,deviceHistory:i,setDeviceHistory:l,showDeviceList:c,setShowDeviceList:p,listForSide:h,setListForSide:C,handleDeviceSubmit:s,handleSelectFromList:m}}const ra="__ihab_core_word_pool__";function An(){return globalThis[ra]??null}function le(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 dt(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?le(e,n):le(e,n).slice(0,t)}const Wn={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"}},ua=Se.indexOf("\u3147"),tr={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!==ua},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}},aa={\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"},ia={\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 nr(e){return aa[e]??e}const Kn={cho:Se,jung:st,jong:Ve},be=e=>Array.isArray(e)?e.length>0:!!e;function Xn(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 la(e,t,n){const o=n.pronOf(e),r=n.decompOf,u=n.sameStructureOnly&&r?r(o):null,i=[];for(const l of t)l!==e&&(n.okSet&&!n.okSet.has(l)||n.pronOf(l)!==o&&(u&&r&&Xn(u,r(n.pronOf(l)))||i.push(l)));return i}function or(e,t,n){const o=t?.[e];if(!o)return[];const r=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return la(e,r,n)}function ca(e,t,n,o,r,u,i){const l=["cho","jung","jong"].filter(s=>be(e[s])),c={};for(const s of l){const m=e[s];c[s]=new Set(Array.isArray(m)?m:[m])}const p=r==="pron",h=new Map;for(const s of t){const m=n(u(s));if(m.some(y=>!y))continue;let E=m;if(!p&&(E=n(s),E.length!==m.length||E.some(y=>!y)))continue;const A=m.length,g=h.get(A);g?g.push({w:s,dPron:m,dPos:E}):h.set(A,[{w:s,dPron:m,dPos:E}])}const C=new Map;for(const[s,m]of h){const E=new Map,A=(g,y)=>{const k=g.dPos[y];return k!=null&&l.every(N=>c[N].has(Kn[N][k[N]]))};for(const g of m){let y;if(i==="head")y=A(g,0)?0:-1;else if(i==="tail")y=A(g,s-1)?s-1:-1;else if(i==="mid"){y=-1;for(let N=1;N<s-1;N++)if(A(g,N)){y=N;break}}else y=g.dPos.findIndex(N=>N!=null&&l.every(x=>c[x].has(Kn[x][N[x]])));if(y<0)continue;const k=E.get(y);k?k.push(g):E.set(y,[g])}for(const[g,y]of E){const k=new Set(l.map(R=>g+":"+R)),N=R=>{let v="";for(let j=0;j<s;j++){const H=R[j];for(const U of["cho","jung","jong"])v+=(k.has(j+":"+U)?"*":H[U])+"."}return v},x=new Map;for(const R of m){const v=N(R.dPron),j=x.get(v);j?j.push(R):x.set(v,[R])}for(const R of y){const v=x.get(N(R.dPron))??[],j=[];for(const H of v){if(H.w===R.w)continue;let U=!0;for(const F of l){const Q=R.dPron[g][F],G=H.dPron[g][F];if(G===Q){U=!1;break}if(p&&c[F].has(Kn[F][G])){U=!1;break}}U&&(o&&Xn(R.dPron,H.dPron)||j.push(H.w))}C.set(R.w,j)}}}return C}const sa=e=>e==null?[]:Array.isArray(e)?e:[e];function da(e){if([...e].length!==1)return"";const t=se(e);if(!t)return"";const n=nr(Ve[t.jong]),o=n===""?0:Ve.indexOf(n);return At(t.cho,t.jung,o<0?0:o)}function rr(e,t){return t.get(e)||da(e)||e}function Zn(e){return e?be(e.cho)?"cho":be(e.jung)?"jung":be(e.jong)?"jong":null:null}function It(e,t){const n=(o,r)=>!be(o)||sa(o).includes(r);return n(t.cho,Se[e.cho])&&n(t.jung,st[e.jung])&&n(t.jong,Ve[e.jong])}function Xt(e,t,n){const o=[...e];if(n!=="pron")return o.map(u=>se(u));const r=[...t.get(e)||e];return r.length!==o.length?o.map(u=>se(u)):r.map(u=>se(u))}function Zt(e,t,n,o,r){const u=t==="cho"?Se:t==="jung"?st:Ve,i=e[t],l=[],c=new Set([rr(n,r)]),p=le(u.map((h,C)=>C).filter(h=>h!==i&&(t!=="cho"||u[h]!=="\u3147")&&(t!=="jong"||h!==0)));for(const h of p){if(l.length>=o)break;const C=t==="cho"?At(h,e.jung,e.jong):t==="jung"?At(e.cho,h,e.jong):At(e.cho,e.jung,h),s=rr(C,r);c.has(s)||(c.add(s),l.push(C))}return l}function ha(e,t,n,o,r,u=null){const i=[...e];if(i.length!==2)return null;const l=i.map(C=>se(C));if(l.some(C=>!C))return null;const c=Xt(e,n,o);if(c.some(C=>!C))return null;const p=Zn(t);let h=p&&t?c.map((C,s)=>It(C,t)?s:-1).filter(C=>C>=0):[0,1];if(u!=null&&(h=h.filter(C=>C!==u)),!h.length)return null;for(const C of le(h)){const s=i[C];if(!r.has(s))continue;const m=Zt(l[C],p??"cho",s,40,n),E=[];for(const A of m)if(A!==s&&r.has(A)&&!E.includes(A)&&E.push(A),E.length>=2)break;if(!(E.length<2))return{question:e,distractors:[s,...E]}}return null}function pa(e,t,n,o,r,u=null){const i=[...e];if(i.length!==3)return null;const l=i.map(C=>se(C));if(l.some(C=>!C))return null;const c=Xt(e,n,o);if(c.some(C=>!C))return null;const p=Zn(t),h=p&&t?c.map((C,s)=>It(C,t)?s:-1).filter(C=>C>=0):[0,1,2];if(!h.length)return null;for(const C of le(h))for(const s of le([0,1,2].filter(m=>m!==C&&(u==null||m===u)))){const m=[0,1,2].filter(k=>k!==s),E=m.map(k=>i[k]).join("");if(!r.has(E))continue;const A=m.indexOf(C),g=Zt(l[C],p??"cho",i[C],40,n),y=[];for(const k of g){const N=m.map(R=>i[R]);N[A]=k;const x=N.join("");if(x!==E&&r.has(x)&&!y.includes(x)&&y.push(x),y.length>=2)break}if(!(y.length<2))return{question:e,distractors:[E,...y]}}return null}function fa(e,t,n,o,r,u=null){const i=[...e],l=i.length;if(l<2)return null;const c=[];for(let h=1;h<=l-1;h++)c.push({remain:i.slice(0,h).join(""),dropped:i.slice(h).join(""),droppedEnd:1}),c.push({remain:i.slice(l-h).join(""),dropped:i.slice(0,l-h).join(""),droppedEnd:0});const p=Zn(t);for(const{remain:h,dropped:C,droppedEnd:s}of le(c)){if(u!=null&&s!==u||h===e||!r.has(h)||!r.has(C))continue;const m=[...h],E=m.map(y=>se(y));if(E.some(y=>!y))continue;const A=Xt(h,n,o);if(A.some(y=>!y))continue;const g=p&&t?A.map((y,k)=>It(y,t)?k:-1).filter(y=>y>=0):m.map((y,k)=>k);if(g.length)for(const y of le(g)){const k=Zt(E[y],p??"cho",m[y],40,n),N=[];for(const x of k){const R=[...m];R[y]=x;const v=R.join("");if(v!==h&&r.has(v)&&!N.includes(v)&&N.push(v),N.length>=2)break}if(N.length>=2)return{question:e,distractors:[h,...N]}}}return null}function Ca(e,t,n,o,r,u=null){if([...e].length!==1)return null;const i=se(n.get(e)||e);if(!i||i.jong===0)return null;const l=At(i.cho,i.jung,0),c=Zt({cho:i.cho,jung:i.jung,jong:0},"cho",l,2,n);return c.length<2?null:{question:e,distractors:[l,...c]}}const Jn=Se.indexOf("\u3147");function ya(e,t,n,o,r,u=null){if([...e].length!==1)return null;const i=se(n.get(e)||e);if(!i||i.jong!==0||i.cho===Jn)return null;const l=At(Jn,i.jung,0),c=Zt({cho:Jn,jung:i.jung,jong:0},"jung",l,2,n);return c.length<2?null:{question:e,distractors:[l,...c]}}function ma(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 i=r+"|"+u+"|";for(let c=0;c<r;c++)i+=c===u?"*":o[c];const l=t.get(i);l?l.push(n):t.set(i,[n])}}return t}function ga(e,t,n,o,r,u=null,i=null,l=2){const c=[...e],p=c.length;if(p<2||p>3)return null;const h=c.map(k=>se(k));if(h.some(k=>!k))return null;const C=Xt(e,n,o);if(C.some(k=>!k))return null;const s=k=>n.get(k)??k,m=s(e),E=!!t&&(be(t.cho)||be(t.jung)||be(t.jong)),A=!!i&&(be(i.cho)||be(i.jung)||be(i.jong)),g=k=>{let N=p+"|"+k+"|";for(let x=0;x<p;x++)N+=x===k?"*":c[x];return N};let y;if(u!=null){if(u>=p||E&&!It(C[u],t))return null;y=[u]}else E?y=C.map((k,N)=>It(k,t)?N:-1).filter(k=>k>=0):y=Array.from({length:p},(k,N)=>N);for(const k of le(y)){const N=r.get(g(k))??[],x=[],R=[];for(const F of N){if(F===e)continue;const Q=[...F].map(D=>se(D)),G=h[k],W=Q[k];if(!G||!W)continue;let z=0;if(G.cho!==W.cho&&z++,G.jung!==W.jung&&z++,G.jong!==W.jong&&z++,!(z<l||s(F)===m))if(A){const D=Xt(F,n,o)[k];D&&It(D,i)?x.push(F):R.push(F)}else x.push(F)}if(!x.length)continue;const v=le(x)[0],j=[],H=new Set([m,s(v)]),U=A?R:x.filter(F=>F!==v);for(const F of le(U)){const Q=s(F);if(!H.has(Q)&&(H.add(Q),j.push(F),j.length>=2))break}if(!A&&j.length<2)for(const F of le(N)){if(F===e||F===v)continue;const Q=s(F);if(!H.has(Q)&&(H.add(Q),j.push(F),j.length>=2))break}if(!(j.length<2))return{question:e,distractors:[v,...j]}}return null}let wn=null,ur=null,ar=null;function _a(){const e=An();if(e&&e.entries.length>0){const t=Wt();if(wn&&ur===e&&ar===t)return wn;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 wn=o,ur=e,ar=t,wn}return[]}const Ye=new Proxy([],{get(e,t){const n=_a(),o=n[t];return typeof o=="function"?o.bind(n):o}});function Sn(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function qe(e,t){if(t>=e.length)return le(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 Qn=null,ir=null;function wt(){const e=An();if(Qn&&ir===e)return Qn;const t=new Map;for(const n of Ye)n.w&&t.set(n.w,n.pron);return Qn=t,ir=e,t}function je(e){return wt().get(e)||e}function eo(e,t,n=new Set){const o=[];for(const r of le(e)){if(o.length>=t)break;const u=je(r);n.has(u)||(n.add(u),o.push(r))}return o}let Ea=0;function Ne(e){return`${e}-rt-${++Ea}`}function Jt(e){const t=Ko();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)Gu(o)===!0&&n.add(o);return n}const Nn=new Map;let lr=null,cr=null;function Qt(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function sr(e){const t=Qt(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),r=n?`${Qt(n.cho)}/${Qt(n.jung)}/${Qt(n.jong)}/${n.jongNone?"N":""}/${o}`:"",u=Qt(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 Pe(e){const t=An(),n=Wt();(t!==lr||n!==cr)&&(Nn.clear(),lr=t,cr=n);const o=sr(e);return Nn.has(o)||Nn.set(o,ka(e)),Nn.get(o)}function ba(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),r=!!e.jongNone,u=r?null:t(e.jong);return n||o||u||r?r&&!n&&!o&&!u?i=>Iu(i):i=>Pu(i,{cho:n,jung:o,jong:u,jongNone:r}):null}async function ka(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:r=null,excludeNoImage:u=!1}=e,i=e.grade&&e.grade.length>0?new Set(e.grade):null,l=e.sameStructureOnly??!0,c=e.phonemeView==="pron"?"pron":"char",p=Math.max(1,e.contrastCount??1),h=t==="cho"||t==="jung"||t==="jong",C=h&&p>=2,s=t==="count",m=n?new Set(Array.isArray(n)?n:[n]):null,E=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,A=o?[ba(o),E?w=>E.has(bn(w)):null].filter(w=>w!=null):[],g=t==="random"||t===null,y=g||s,k=g||C||s;let N=Ye.filter(w=>!w.w||i&&(!w.grade||!i.has(w.grade))?!1:k?!0:Array.isArray(w.p)&&w.p.length>0);m&&(N=N.filter(w=>{for(const P of m)if(Ru(w.w,P))return!0;return!1})),A.length>0&&(N=N.filter(w=>{const P=c==="pron"?je(w.w):w.w;return A.every(re=>re(P))})),r&&(N=N.filter(w=>w.w[0]===r));let x;if(u){const w=new Set;for(const P of N)if(w.add(P.w),Array.isArray(P.p))for(const re of P.p)w.add(re);if(y)for(const P of Ye)P.w&&w.add(P.w);x=Jt(w)}else{const w=new Set;for(const P of N)if(w.add(P.w),Array.isArray(P.p))for(const re of P.p)w.add(re);if(y)for(const P of Ye)P.w&&w.add(P.w);x=w}let R=null;if(C){const w=new Set;for(const P of Ye)P.w&&w.add(P.w);R=u?Jt(w):w}const v=N.filter(w=>x.has(w.w)),j=600,H=Array.from(x),U=H.length>j?qe(H,j):H,F=s&&o!=null&&(be(o.cho)||be(o.jung)||be(o.jong)),Q=2500,G=new Map;if(s&&!F&&p>=2){for(const w of H){const P=bn(w),re=G.get(P);re?re.push(w):G.set(P,[w])}for(const[w,P]of G)P.length>Q&&G.set(w,qe(P,Q))}const W=Ou(),z=F?ca(o,H,W,l,c,je):null,D=500,O=1500,me=e.fullCount?v:t==="random"?v.length>D?qe(v,D):v:v.length>O?qe(v,O):v,Z=Wt(),ee=[];for(const w of me){let P;const re=je(w.w);if(C)P=Fu(w.w,t,p,R,24).filter(ue=>je(ue)!==re);else if(s)F?P=(z.get(w.w)??[]).filter(ue=>je(ue)!==re):p<=1?P=or(w.w,Z,{okSet:x,pronOf:je,decompOf:W,sameStructureOnly:!1}):P=(G.get(bn(w.w))??[]).filter(ue=>{if(ue===w.w||je(ue)===re)return!1;const Y=Hu(w.w,ue);return p>=5?Y>=5:Y===p});else if(g)P=U.filter(ue=>ue!==w.w&&ue.length===w.w.length&&je(ue)!==re);else{const ue=t;P=or(w.w,Z,{kind:ue,okSet:x,pronOf:je,decompOf:W,sameStructureOnly:!1}),P.length===0&&(P=(U.length>30?qe(U,30):U).filter(Y=>Y!==w.w&&Lu(w.w,Y)===t&&je(Y)!==re))}if(l&&P.length>0&&(h||s&&!F)){const ue=W(je(w.w));P=P.filter(Y=>!Xn(ue,W(je(Y))))}P.length!==0&&ee.push({word:w,usable:P})}return ee}async function dr(e,t){const{choicesPerItem:n=3,count:o=10}=t,r=n-1,u=(await Pe(t)).filter(l=>l.usable.length>=r),i=[];for(const l of le(u)){if(i.length>=o)break;const c=eo(l.usable,r);if(c.length<r)continue;const p=le([l.word.w,...c]);i.push({id:Ne(e+"-item"),index:i.length+1,word:l.word.w,syllables:l.word.s,choices:p,answerIndex:p.indexOf(l.word.w)})}return i}async function Aa(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Pe({...e,difficulty:null});if(r.length<t)return[];const u=[],i=le([...r]);for(const l of i){if(u.length>=n)break;const c=l.word.w,p=[...l.word.pron||c],h=Sn(p);if(!h)continue;const C=r.filter(E=>E.word.w!==c&&E.word.s===l.word.s&&!(E.word.pron||E.word.w).includes(h)&&E.word.pron!==l.word.pron);if(C.length<o)continue;const s=eo(C.map(E=>E.word.w),o);if(s.length<o)continue;const m=le([c,...s]);u.push({id:Ne("HPI-item"),index:u.length+1,targetSyllable:h,word:c,choices:m,answerIndex:m.indexOf(c)})}return u}async function wa(e){const{count:t=10}=e,n=(await Pe(e)).filter(o=>o.usable.length>=1);return Array.from({length:t},(o,r)=>{const u=Sn(n);if(!u)return null;const i=r%2===0;let l;if(i)l=[u.word.w,u.word.w];else{const c=Sn(u.usable);l=Math.random()<.5?[u.word.w,c]:[c,u.word.w]}return{id:Ne("SOD-item"),index:r+1,word:u.word.w,pair:l,same:i}}).filter(o=>!!o)}async function Sa(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await Pe({...e,difficulty:null});if(r.length<t+1)return[];const u=r.map(s=>s.word.w),i=new Map(r.map(s=>[s.word.w,s.word.pron])),l=s=>(i.get(s)||s)[0]??"",c={};for(const s of r){const m=l(s.word.w);m&&(c[m]||(c[m]=[]),c[m].push(s.word.w))}const p=Object.entries(c).filter(([,s])=>s.length>=2).map(([s])=>s);if(p.length===0)return[];const h=[],C=le([...p]);for(let s=0;h.length<n&&s<n*4;s++){const m=C[s%C.length],E=c[m];if(E.length<2)continue;const A=le([...E]),g=A[0],y=A[1];if(!g||!y||g===y||(i.get(g)||g)===(i.get(y)||y))continue;const k=i.get(y)||y,N=u.filter(v=>l(v)!==m&&v!==g&&v!==y&&v.length===y.length&&(i.get(v)||v)!==k);if(N.length<o)continue;const x=eo(N,o);if(x.length<o)continue;const R=le([y,...x]);h.push({id:Ne("SWS-item"),index:h.length+1,sourceWord:g,targetSyllable:m,word:y,choices:R,answerIndex:R.indexOf(y)})}return h}function hr(e,t,n){return qe(e,t).map((o,r)=>{const u=Sn(o.usable)??"",i=[...o.word.w],l=[...u],c=i.findIndex((h,C)=>h!==l[C]),p=le(o.usable.filter(h=>h&&h!==u)).slice(0,2);return{id:Ne(n),index:r+1,word:o.word.w,original:o.word.w,changed:u,changedFrom:c>=0?i[c]:"",changedTo:c>=0?l[c]:"",distractors:p}})}async function pr(e,t,n){const{count:o=10}=t,r=wt(),u=Ye.filter(m=>m.w&&m.s===e),i=t.excludeNoImage?Jt(u.map(m=>m.w)):null,l=i?u.filter(m=>i.has(m.w)):u,c=new Set(l.map(m=>m.w)),p=ma(c),h=t.phonemeView??"char",C=t.composition??null,s=[];for(const m of le(l)){if(s.length>=o)break;const E=ga(m.w,C,r,h,p,null,null);if(!E)continue;const A=E.distractors[0],g=[...m.w],y=[...A],k=g.findIndex((N,x)=>N!==y[x]);s.push({id:Ne(n),index:s.length+1,word:m.w,original:m.w,changed:A,changedFrom:k>=0?g[k]:"",changedTo:k>=0?y[k]:"",distractors:E.distractors.slice(1)})}return s}async function Na(e){return pr(2,e,"CS2-item")}async function Ma(e){return pr(3,e,"CS3-item")}async function Ta(e){const t=(await Pe({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return hr(t,e.count??10,"CP1-item")}async function Ba(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await Pe({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return hr(n,e.count??10,"CP2-item")}async function Da(e){const{count:t=10}=e,n=(await Pe({...e})).filter(o=>o.word.s===2);return qe(n,t).map((o,r)=>({id:Ne("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function xa(e){const{count:t=10}=e,n=(await Pe({...e})).filter(o=>o.word.s===3);return qe(n,t).map((o,r)=>({id:Ne("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function va(e){const{count:t=10}=e,n=(await Pe({...e})).filter(l=>l.word.s===2),o=wt(),r=new Set(Ye.map(l=>l.w)),u=e.phonemeView??"char",i=[];for(const l of le(n)){if(i.length>=t)break;const c=ha(l.word.w,e.composition??null,o,u,r);if(!c)continue;const[p,...h]=c.distractors,C=[...l.word.w],s=C[0]===p?C[1]:C[0];i.push({id:Ne("D2-item"),index:i.length+1,original:l.word.w,word:l.word.w,dropped:s,missingResult:p,distractors:h})}return i}async function Oa(e){const{count:t=10}=e,n=(await Pe({...e})).filter(l=>l.word.s===3),o=wt(),r=new Set(Ye.map(l=>l.w)),u=e.phonemeView??"char",i=[];for(const l of le(n)){if(i.length>=t)break;const c=pa(l.word.w,e.composition??null,o,u,r);if(!c)continue;const[p,...h]=c.distractors,C=[...l.word.w];let s="";for(let m=0;m<C.length;m++)if(C.filter((E,A)=>A!==m).join("")===p){s=C[m];break}i.push({id:Ne("D3-item"),index:i.length+1,original:l.word.w,word:l.word.w,dropped:s,missingResult:p,distractors:h})}return i}async function La(e){const{count:t=10}=e,n=(await Pe({...e})).filter(l=>l.word.s>=2),o=wt(),r=new Set(Ye.map(l=>l.w)),u=e.phonemeView??"char",i=[];for(const l of le(n)){if(i.length>=t)break;const c=fa(l.word.w,e.composition??null,o,u,r);if(!c)continue;const[p,...h]=c.distractors,C=l.word.w,s=C.startsWith(p)?C.slice(p.length):C.endsWith(p)?C.slice(0,C.length-p.length):"";i.push({id:Ne("DPC-item"),index:i.length+1,original:C,word:C,dropped:s,missingResult:p,distractors:h})}return i}async function Ra(e){const{count:t=10}=e,n=(await Pe({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,r)=>{const u=qe(n,3);return{id:Ne("LRO-item"),index:r+1,sequence:u,choices:le(u)}})}function Mn(e,t,n){const o=Ye.filter(i=>i.w&&i.s===e),r=t?Jt(o.map(i=>i.w)):null,u=[];for(const i of o)if(!(r&&!r.has(i.w))){if(n){const l=se(i.w);if(!l||!n(l))continue}u.push(i)}return u}function Ia(e){const t=Mn(1,e.excludeNoImage??!1,n=>n.jong===0);return qe(t,e.count??10).map((n,o)=>{const r=se(n.w);return{id:Ne("M2P-item"),index:o+1,parts:[Se[r.cho],st[r.jung]],answer:n.w,word:n.w}})}function ja(e){const t=Mn(1,e.excludeNoImage??!1,n=>n.jong>0&&!Yt[n.jong]);return qe(t,e.count??10).map((n,o)=>{const r=se(n.w);return{id:Ne("M3P-item"),index:o+1,parts:[Se[r.cho],st[r.jung],Ve[r.jong]],answer:n.w,word:n.w}})}function Pa(e){const t=tr.DROP_FINAL_CONSONANT_FROM_1SYLL,n=Mn(t.syllables,e.excludeNoImage??!1,t.syllable),o=wt(),r=[];for(const u of le(n)){if(r.length>=(e.count??10))break;const i=Ca(u.w,null,o);if(!i)continue;const[l,...c]=i.distractors;r.push({id:Ne("DFC-item"),index:r.length+1,original:u.w,word:u.w,result:l,distractors:c})}return r}function $a(e){const t=tr.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=Mn(t.syllables,e.excludeNoImage??!1,t.syllable),o=wt(),r=[];for(const u of le(n)){if(r.length>=(e.count??10))break;const i=ya(u.w,null,o);if(!i)continue;const l=se(o.get(u.w)||u.w);if(!l)continue;const[c,...p]=i.distractors;r.push({id:Ne("RCP-item"),index:r.length+1,base:u.w,word:u.w,missingConsonant:Se[l.cho],remaining:c,distractors:p})}return r}const Tn=new Map;let fr=null,Cr=null;async function yr(e,t={}){const n=An(),o=Wt();(n!==fr||o!==Cr)&&(Tn.clear(),fr=n,Cr=o);const r=`${e}:${sr(t)}`;if(Tn.has(r))return Tn.get(r);const u=await Ha(e,t);return Tn.set(r,u),u}const Fa={SAME_SOUND_PICK:e=>dr("SSP",e),HEAR_AND_PICK_SAME:e=>dr("HPS",e),HEAR_AND_PICK_INCLUDED:e=>Aa(e),SAME_OR_DIFF:e=>wa(e),STARTS_WITH_SAME_SOUND:e=>Sa(e),LISTEN_AND_REMEMBER_ORDER:e=>Ra(e),MERGE_2_SYLLABLES:e=>Da(e),MERGE_3_SYLLABLES:e=>xa(e),MERGE_2_PHONEMES:e=>Ia(e),MERGE_3_PHONEMES:e=>ja(e),DROP_1_FROM_2SYLL:e=>va(e),DROP_1_FROM_3SYLL:e=>Oa(e),DROP_PART_FROM_COMPOUND:e=>La(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>Pa(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>$a(e),CHANGE_1_SYLL_IN_2SYLL:e=>Na(e),CHANGE_1_SYLL_IN_3SYLL:e=>Ma(e),CHANGE_1_PHONEME_IN_1SYLL:e=>Ta(e),CHANGE_1_PHONEME_IN_2SYLL:e=>Ba(e)};async function Ha(e,t={}){const n=Fa[e];return n?await n(t):[]}async function za(e){const t=[null,"count"],n=Object.keys(Wn);let o=0;for(const r of t)for(const u of n){const i=Wn[u];yr(u,{difficulty:i.difficulty?r:null,choseong:null,count:10,excludeNoImage:e}).catch(()=>{}),++o%6===0&&await new Promise(l=>setTimeout(l,0))}}async function Va(e){return(await Pe({...e,fullCount:!0})).length}async function Ua(e={}){const t=[];for(const l of Ye)l.w&&t.push(l.w);const n=e.excludeNoImage?Jt(t):t,o=new Set,r=new Set,u=new Set,i=new Set;for(const l of n){i.add(bn(l));for(const c of l){const p=se(c);if(p&&(Se[p.cho]!=="\u3147"&&o.add(Se[p.cho]),r.add(st[p.jung]),p.jong>0)){u.add(Ve[p.jong]);const h=Yt[p.jong];h&&h.forEach(C=>u.add(C))}}}return{cho:o,jung:r,jong:u,syllable:i}}const St="\uC804\uCCB4";function Ga(...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
|
|
6
|
+
*/const mr=(...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
|
|
11
|
+
*/const Ya=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
|
|
16
|
+
*/const qa=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
|
|
21
|
+
*/const gr=e=>{const t=qa(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
|
|
26
|
+
*/var to={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
|
|
31
|
+
*/const Wa=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Ka=Gn({}),Xa=()=>Yn(Ka),Za=Po(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:o,className:r="",children:u,iconNode:i,...l},c)=>{const{size:p=24,strokeWidth:h=2,absoluteStrokeWidth:C=!1,color:s="currentColor",className:m=""}=Xa()??{},E=o??C?Number(n??h)*24/Number(t??p):n??h;return Ut("svg",{ref:c,...to,width:t??p??to.width,height:t??p??to.height,stroke:e??s,strokeWidth:E,className:mr("lucide",m,r),...!u&&!Wa(l)&&{"aria-hidden":"true"},...l},[...i.map(([A,g])=>Ut(A,g)),...Array.isArray(u)?u:[u]])});/**
|
|
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
|
|
36
|
+
*/const f=(e,t)=>{const n=Po(({className:o,...r},u)=>Ut(Za,{ref:u,iconNode:t,className:mr(`lucide-${Ya(gr(e))}`,`lucide-${e}`,o),...r}));return n.displayName=gr(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
|
|
41
|
+
*/const Ja=[["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"}]],_r=f("triangle-alert",Ja);/**
|
|
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
|
|
46
|
+
*/const Qa=[["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"}]],ei=f("align-start-vertical",Qa);/**
|
|
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
|
|
51
|
+
*/const ti=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],ni=f("arrow-down",ti);/**
|
|
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
|
|
56
|
+
*/const oi=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],ri=f("arrow-left",oi);/**
|
|
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
|
|
61
|
+
*/const ui=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ai=f("arrow-right",ui);/**
|
|
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
|
|
66
|
+
*/const ii=[["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"}]],li=f("arrow-right-left",ii);/**
|
|
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
|
|
71
|
+
*/const ci=[["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"}]],si=f("audio-lines",ci);/**
|
|
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
|
|
76
|
+
*/const di=[["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"}]],hi=f("baby",di);/**
|
|
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
|
|
81
|
+
*/const pi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],fi=f("ban",pi);/**
|
|
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
|
|
86
|
+
*/const Ci=[["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"}]],yi=f("bell",Ci);/**
|
|
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
|
|
91
|
+
*/const mi=[["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"}]],gi=f("book-marked",mi);/**
|
|
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
|
|
96
|
+
*/const _i=[["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"}]],Ei=f("book-open",_i);/**
|
|
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
|
|
101
|
+
*/const bi=[["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"}]],ki=f("bow-arrow",bi);/**
|
|
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
|
|
106
|
+
*/const Ai=[["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"}]],wi=f("braces",Ai);/**
|
|
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
|
|
111
|
+
*/const Si=[["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"}]],Ni=f("bug",Si);/**
|
|
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
|
|
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"}]],Ti=f("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
|
|
121
|
+
*/const Bi=[["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"}]],Di=f("calendar-days",Bi);/**
|
|
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
|
|
126
|
+
*/const xi=[["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"}]],vi=f("camera",xi);/**
|
|
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
|
|
131
|
+
*/const Oi=[["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"}]],Li=f("chart-column",Oi);/**
|
|
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
|
|
136
|
+
*/const Ri=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Ii=f("chart-line",Ri);/**
|
|
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
|
|
141
|
+
*/const ji=[["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"}]],Pi=f("chart-pie",ji);/**
|
|
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
|
|
146
|
+
*/const $i=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Fi=f("check",$i);/**
|
|
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
|
|
151
|
+
*/const Hi=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],zi=f("chevron-left",Hi);/**
|
|
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
|
|
156
|
+
*/const Vi=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ui=f("chevron-right",Vi);/**
|
|
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
|
|
161
|
+
*/const Gi=[["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"}]],Yi=f("clipboard-list",Gi);/**
|
|
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
|
|
166
|
+
*/const qi=[["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"}]],Wi=f("combine",qi);/**
|
|
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
|
|
171
|
+
*/const Ki=[["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"}]],Xi=f("copy",Ki);/**
|
|
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
|
|
176
|
+
*/const Zi=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Ji=f("credit-card",Zi);/**
|
|
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
|
|
181
|
+
*/const Qi=[["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"}]],el=f("database",Qi);/**
|
|
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
|
|
186
|
+
*/const tl=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],nl=f("diff",tl);/**
|
|
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
|
|
191
|
+
*/const ol=[["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"}]],rl=f("download",ol);/**
|
|
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
|
|
196
|
+
*/const ul=[["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"}]],al=f("ear",ul);/**
|
|
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
|
|
201
|
+
*/const il=[["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"}]],ll=f("square-pen",il);/**
|
|
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
|
|
206
|
+
*/const cl=[["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"}]],sl=f("pen",cl);/**
|
|
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
|
|
211
|
+
*/const dl=[["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"}]],hl=f("pen-line",dl);/**
|
|
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
|
|
216
|
+
*/const pl=[["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"}]],Er=f("ellipsis",pl);/**
|
|
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
|
|
221
|
+
*/const fl=[["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"}]],Cl=f("eraser",fl);/**
|
|
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
|
|
226
|
+
*/const yl=[["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"}]],ml=f("external-link",yl);/**
|
|
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
|
|
231
|
+
*/const gl=[["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"}]],_l=f("eye",gl);/**
|
|
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
|
|
236
|
+
*/const El=[["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"}]],bl=f("file-text",El);/**
|
|
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
|
|
241
|
+
*/const kl=[["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"}]],Al=f("square-centerline-dashed-horizontal",kl);/**
|
|
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
|
|
246
|
+
*/const wl=[["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"}]],Sl=f("folder-open",wl);/**
|
|
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
|
|
251
|
+
*/const Nl=[["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"}]],Ml=f("folder-plus",Nl);/**
|
|
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
|
|
256
|
+
*/const Tl=[["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"}]],Bl=f("gamepad",Tl);/**
|
|
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
|
|
261
|
+
*/const Dl=[["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"}]],xl=f("gavel",Dl);/**
|
|
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
|
|
266
|
+
*/const vl=[["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"}]],Ol=f("git-merge",vl);/**
|
|
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
|
|
271
|
+
*/const Ll=[["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"}]],Rl=f("globe",Ll);/**
|
|
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
|
|
276
|
+
*/const Il=[["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"}]],jl=f("headphones",Il);/**
|
|
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
|
|
281
|
+
*/const Pl=[["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"}]],$l=f("heart",Pl);/**
|
|
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
|
|
286
|
+
*/const Fl=[["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"}]],Hl=f("house",Fl);/**
|
|
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
|
|
291
|
+
*/const zl=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Vl=f("info",zl);/**
|
|
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
|
|
296
|
+
*/const Ul=[["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"}]],Gl=f("key-round",Ul);/**
|
|
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
|
|
301
|
+
*/const Yl=[["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"}]],ql=f("landmark",Yl);/**
|
|
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
|
|
306
|
+
*/const Wl=[["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"}]],Kl=f("layers",Wl);/**
|
|
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
|
|
311
|
+
*/const Xl=[["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"}]],Zl=f("layout-dashboard",Xl);/**
|
|
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
|
|
316
|
+
*/const Jl=[["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"}]],Ql=f("leaf",Jl);/**
|
|
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
|
|
321
|
+
*/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"}]],tc=f("lightbulb",ec);/**
|
|
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
|
|
326
|
+
*/const nc=[["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"}]],oc=f("link",nc);/**
|
|
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
|
|
331
|
+
*/const rc=[["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"}]],uc=f("link-2",rc);/**
|
|
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
|
|
336
|
+
*/const ac=[["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"}]],ic=f("link-2-off",ac);/**
|
|
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
|
|
341
|
+
*/const lc=[["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"}]],cc=f("list",lc);/**
|
|
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
|
|
346
|
+
*/const sc=[["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"}]],dc=f("list-checks",sc);/**
|
|
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
|
|
351
|
+
*/const hc=[["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"}]],pc=f("list-ordered",hc);/**
|
|
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
|
|
356
|
+
*/const fc=[["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"}]],Cc=f("loader",fc);/**
|
|
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
|
|
361
|
+
*/const yc=[["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"}]],mc=f("log-out",yc);/**
|
|
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
|
|
366
|
+
*/const gc=[["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=f("mail",gc);/**
|
|
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
|
|
371
|
+
*/const Ec=[["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"}]],bc=f("map-pin",Ec);/**
|
|
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
|
|
376
|
+
*/const kc=[["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"}]],Ac=f("message-circle",kc);/**
|
|
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
|
|
381
|
+
*/const wc=[["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"}]],Sc=f("message-circle-question-mark",wc);/**
|
|
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
|
|
386
|
+
*/const Nc=[["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"}]],Mc=f("message-square",Nc);/**
|
|
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
|
|
391
|
+
*/const Tc=[["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"}]],Bc=f("message-square-text",Tc);/**
|
|
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
|
|
396
|
+
*/const Dc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],xc=f("circle-minus",Dc);/**
|
|
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
|
|
401
|
+
*/const vc=[["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"}]],Oc=f("package",vc);/**
|
|
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
|
|
406
|
+
*/const Lc=[["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"}]],Rc=f("palette",Lc);/**
|
|
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
|
|
411
|
+
*/const Ic=[["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"}]],jc=f("party-popper",Ic);/**
|
|
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
|
|
416
|
+
*/const Pc=[["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"}]],$c=f("pause",Pc);/**
|
|
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
|
|
421
|
+
*/const Fc=[["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"}]],Hc=f("pencil",Fc);/**
|
|
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
|
|
426
|
+
*/const zc=[["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"}]],Vc=f("phone",zc);/**
|
|
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
|
|
431
|
+
*/const Uc=[["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"}]],Gc=f("play",Uc);/**
|
|
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
|
|
436
|
+
*/const Yc=[["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"}]],qc=f("circle-play",Yc);/**
|
|
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
|
|
441
|
+
*/const Wc=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Kc=f("plus",Wc);/**
|
|
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
|
|
446
|
+
*/const Xc=[["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"}]],Zc=f("printer",Xc);/**
|
|
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
|
|
451
|
+
*/const Jc=[["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"}]],Qc=f("refresh-cw",Jc);/**
|
|
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
|
|
456
|
+
*/const es=[["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"}]],ts=f("repeat",es);/**
|
|
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
|
|
461
|
+
*/const ns=[["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"}]],os=f("replace",ns);/**
|
|
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
|
|
466
|
+
*/const rs=[["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"}]],us=f("rocket",rs);/**
|
|
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
|
|
471
|
+
*/const as=[["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"}]],is=f("rotate-ccw",as);/**
|
|
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
|
|
476
|
+
*/const ls=[["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"}]],cs=f("rotate-cw",ls);/**
|
|
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
|
|
481
|
+
*/const ss=[["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"}]],ds=f("salad",ss);/**
|
|
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
|
|
486
|
+
*/const hs=[["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"}]],ps=f("scan-search",hs);/**
|
|
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
|
|
491
|
+
*/const fs=[["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"}]],br=f("circle-alert",fs);/**
|
|
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
|
|
496
|
+
*/const Cs=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],ys=f("circle-check-big",Cs);/**
|
|
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
|
|
501
|
+
*/const ms=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],gs=f("search",ms);/**
|
|
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
|
|
506
|
+
*/const _s=[["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"}]],Es=f("scissors",_s);/**
|
|
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
|
|
511
|
+
*/const bs=[["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"}]],ks=f("search-x",bs);/**
|
|
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
|
|
516
|
+
*/const As=[["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"}]],ws=f("send",As);/**
|
|
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
|
|
521
|
+
*/const Ss=[["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"}]],Ns=f("settings",Ss);/**
|
|
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
|
|
526
|
+
*/const Ms=[["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"}]],Ts=f("shield-check",Ms);/**
|
|
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
|
|
531
|
+
*/const Bs=[["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"}]],Ds=f("shopping-cart",Bs);/**
|
|
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
|
|
536
|
+
*/const xs=[["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"}]],vs=f("shuffle",xs);/**
|
|
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
|
|
541
|
+
*/const Os=[["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"}]],Ls=f("skip-back",Os);/**
|
|
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
|
|
546
|
+
*/const Rs=[["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"}]],Is=f("skip-forward",Rs);/**
|
|
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
|
|
551
|
+
*/const js=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Ps=f("square",js);/**
|
|
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
|
|
556
|
+
*/const $s=[["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"}]],Fs=f("star",$s);/**
|
|
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
|
|
561
|
+
*/const Hs=[["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"}]],zs=f("store",Hs);/**
|
|
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
|
|
566
|
+
*/const Vs=[["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"}]],Us=f("sun-medium",Vs);/**
|
|
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
|
|
571
|
+
*/const Gs=[["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"}]],Ys=f("table",Gs);/**
|
|
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
|
|
576
|
+
*/const qs=[["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"}]],Ws=f("table-2",qs);/**
|
|
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
|
|
581
|
+
*/const Ks=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Xs=f("terminal",Ks);/**
|
|
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
|
|
586
|
+
*/const Zs=[["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"}]],Js=f("text-cursor-input",Zs);/**
|
|
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
|
|
591
|
+
*/const Qs=[["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=f("text-initial",Qs);/**
|
|
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
|
|
596
|
+
*/const t1=[["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"}]],n1=f("ticket",t1);/**
|
|
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
|
|
601
|
+
*/const o1=[["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"}]],r1=f("trash-2",o1);/**
|
|
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
|
|
606
|
+
*/const u1=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],a1=f("trending-up",u1);/**
|
|
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
|
|
611
|
+
*/const i1=[["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"}]],l1=f("trophy",i1);/**
|
|
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
|
|
616
|
+
*/const c1=[["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"}]],s1=f("unlink",c1);/**
|
|
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
|
|
621
|
+
*/const d1=[["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"}]],h1=f("upload",d1);/**
|
|
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
|
|
626
|
+
*/const p1=[["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"}]],f1=f("user",p1);/**
|
|
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
|
|
631
|
+
*/const C1=[["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"}]],y1=f("user-plus",C1);/**
|
|
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
|
|
636
|
+
*/const m1=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],g1=f("user-round",m1);/**
|
|
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
|
|
641
|
+
*/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"}]],E1=f("user-round-check",_1);/**
|
|
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
|
|
646
|
+
*/const b1=[["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"}]],k1=f("users",b1);/**
|
|
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
|
|
651
|
+
*/const A1=[["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"}]],w1=f("users-round",A1);/**
|
|
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
|
|
656
|
+
*/const S1=[["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"}]],N1=f("volume-2",S1);/**
|
|
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
|
|
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"}]],T1=f("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
|
|
666
|
+
*/const B1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],D1=f("x",B1);/**
|
|
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
|
|
671
|
+
*/const x1=[["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"}]],v1=f("zap",x1);/**
|
|
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
|
|
676
|
+
*/const O1=[["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"}]],L1=f("anchor",O1);/**
|
|
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
|
|
681
|
+
*/const R1=[["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"}]],I1=f("arrow-up-a-z",R1);/**
|
|
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
|
|
686
|
+
*/const j1=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],P1=f("chart-no-axes-column",j1);/**
|
|
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
|
|
691
|
+
*/const $1=[["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"}]],F1=f("calendar",$1);/**
|
|
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
|
|
696
|
+
*/const H1=[["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"}]],z1=f("car",H1);/**
|
|
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
|
|
701
|
+
*/const V1=[["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"}]],U1=f("coffee",V1);/**
|
|
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
|
|
706
|
+
*/const G1=[["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"}]],Y1=f("gamepad-2",G1);/**
|
|
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
|
|
711
|
+
*/const q1=[["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"}]],W1=f("inbox",q1);/**
|
|
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
|
|
716
|
+
*/const K1=[["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"}]],X1=f("list-tree",K1);/**
|
|
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
|
|
721
|
+
*/const Z1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],J1=f("message-square-more",Z1);/**
|
|
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
|
|
726
|
+
*/const Q1=[["path",{d:"M5 12h14",key:"1ays0h"}]],e0=f("minus",Q1);/**
|
|
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
|
|
731
|
+
*/const t0=[["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"}]],n0=f("share-2",t0);/**
|
|
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
|
|
736
|
+
*/const o0=[["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"}]],r0=f("sparkles",o0);/**
|
|
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
|
|
741
|
+
*/const u0=[["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"}]],a0=f("type",u0);/**
|
|
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
|
|
746
|
+
*/const i0=[["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"}]],l0=f("volume",i0);/**
|
|
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
|
|
751
|
+
*/const c0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],s0=f("chevron-down",c0);/**
|
|
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
|
|
756
|
+
*/const d0=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],h0=f("chevron-up",d0);/**
|
|
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
|
|
761
|
+
*/const p0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],f0=f("circle",p0);/**
|
|
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
|
|
766
|
+
*/const C0=[["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"}]],y0=f("triangle",C0);/**
|
|
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
|
|
771
|
+
*/const m0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],g0=f("menu",m0);/**
|
|
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
|
|
776
|
+
*/const _0=[["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"}]],E0=f("moon",_0);/**
|
|
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
|
|
798
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c0(e,t){return a0(e)||i0(e,t)||l0(e,t)||s0()}function l0(e,t){if(e){if(typeof e=="string")return jr(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)?jr(e,t):void 0}}const Pr=Object.entries,$r=Object.setPrototypeOf,d0=Object.isFrozen,h0=Object.getPrototypeOf,f0=Object.getOwnPropertyDescriptor;let me=Object.freeze,Se=Object.seal,Pt=Object.create,Fr=typeof Reflect<"u"&&Reflect,so=Fr.apply,co=Fr.construct;me||(me=function(t){return t}),Se||(Se=function(t){return t}),so||(so=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)}),co||(co=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 Mt=fe(Array.prototype.forEach),p0=fe(Array.prototype.lastIndexOf),Hr=fe(Array.prototype.pop),tn=fe(Array.prototype.push),C0=fe(Array.prototype.splice),$t=Array.isArray,nn=fe(String.prototype.toLowerCase),lo=fe(String.prototype.toString),zr=fe(String.prototype.match),on=fe(String.prototype.replace),Vr=fe(String.prototype.indexOf),y0=fe(String.prototype.trim),m0=fe(Number.prototype.toString),g0=fe(Boolean.prototype.toString),Ur=typeof BigInt>"u"?null:fe(BigInt.prototype.toString),Gr=typeof Symbol>"u"?null:fe(Symbol.prototype.toString),Le=fe(Object.prototype.hasOwnProperty),rn=fe(Object.prototype.toString),Te=fe(RegExp.prototype.test),Tt=_0(TypeError);function fe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return so(e,t,o)}}function _0(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return co(e,n)}}function Q(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:nn;if($r&&$r(e,null),!$t(t))return e;let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const u=n(r);u!==r&&(d0(t)||(t[o]=u),r=u)}e[r]=!0}return e}function E0(e){for(let t=0;t<e.length;t++)Le(e,t)||(e[t]=null);return e}function $e(e){const t=Pt(null);for(const o of Pr(e)){var n=c0(o,2);const r=n[0],u=n[1];Le(e,r)&&($t(u)?t[r]=E0(u):u&&typeof u=="object"&&u.constructor===Object?t[r]=$e(u):t[r]=u)}return t}function b0(e){switch(typeof e){case"string":return e;case"number":return m0(e);case"boolean":return g0(e);case"bigint":return Ur?Ur(e):"0";case"symbol":return Gr?Gr(e):"Symbol()";case"undefined":return rn(e);case"function":case"object":{if(e===null)return rn(e);const t=e,n=We(t,"toString");if(typeof n=="function"){const o=n(t);return typeof o=="string"?o:rn(o)}return rn(e)}default:return rn(e)}}function We(e,t){for(;e!==null;){const o=f0(e,t);if(o){if(o.get)return fe(o.get);if(typeof o.value=="function")return fe(o.value)}e=h0(e)}function n(){return null}return n}function S0(e){try{return Te(e,""),!0}catch{return!1}}const Yr=me(["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"]),ho=me(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),fo=me(["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"]),w0=me(["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"]),po=me(["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"]),A0=me(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),qr=me(["#text"]),Wr=me(["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"]),Co=me(["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"]),Kr=me(["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"]),On=me(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),k0=Se(/{{[\w\W]*|^[\w\W]*}}/g),N0=Se(/<%[\w\W]*|^[\w\W]*%>/g),M0=Se(/\${[\w\W]*/g),T0=Se(/^data-[\-\w.\u00B7-\uFFFF]+$/),B0=Se(/^aria-[\-\w]+$/),Xr=Se(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),v0=Se(/^(?:\w+script|data):/i),x0=Se(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),D0=Se(/^html$/i),O0=Se(/^[a-z][.\w]*(-[.\w]+)+$/i),Zr=Se(/<[/\w!]/g),Jr=Se(/<[/\w]/g),L0=Se(/<\/no(script|embed|frames)/i),R0=Se(/\/>/i),Fe={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Qr=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],I0=me(Q({},Qr)),j0=(function(){const e={};return Mt(Qr,t=>{e[t]=Se(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),me(e)})(),P0=function(){return typeof window>"u"?null:window},$0=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(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},eu=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},gt=function(t,n,o,r){return Le(t,n)&&$t(t[n])?Q(r.base?$e(r.base):{},t[n],r.transform):o},yo=function(t,n,o){const r=Le(t,n)?t[n]:void 0;return r&&typeof r=="object"?$e(r):o()};function tu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P0();const t=N=>tu(N);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Fe.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,r=o.currentScript;e.DocumentFragment;const u=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,d=e.trustedTypes,l=s.prototype,C=We(l,"cloneNode"),_=We(l,"remove"),E=We(l,"nextSibling"),g=We(l,"childNodes"),m=We(l,"parentNode"),S=We(l,"shadowRoot"),w=We(l,"attributes"),T=i&&i.prototype?We(i.prototype,"nodeType"):null,R=i&&i.prototype?We(i.prototype,"nodeName"):null,x=i&&i.prototype?We(i.prototype,"ownerDocument"):null,P=function(a){return T?T(a):a.nodeType},G=function(a){return R?R(a):a.nodeName};if(typeof u=="function"){const N=n.createElement("template");N.content&&N.content.ownerDocument&&(n=N.content.ownerDocument)}let L,M="",U,$=!1,Y=0;const H=function(){if(Y>0)throw Tt('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.')},D=function(a){H(),Y++;try{return L.createHTML(a)}finally{Y--}},I=function(a){H(),Y++;try{return L.createScriptURL(a)}finally{Y--}},ge=function(){return $||(U=$0(d,r),$=!0),U},J=n,ee=J.implementation,k=J.createNodeIterator,z=J.createDocumentFragment,re=J.getElementsByTagName,ue=o.importNode;let K=eu();t.isSupported=typeof Pr=="function"&&typeof m=="function"&&ee&&ee.createHTMLDocument!==void 0;const ke=k0,B=N0,pe=M0,Ce=T0,He=B0,pt=v0,Ke=x0,rt=O0;let Ue=Xr,te=null;const ut=Q({},[...Yr,...ho,...fo,...po,...qr]);let ae=null;const A=Q({},[...Wr,...Co,...Kr,...On]);let j=Object.seal(Pt(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,Z=null;const ne=Object.seal(Pt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let xe=!0,Be=!0,Xe=!1,Ge=!0,_e=!1,ze=!0,Re=!1,Ct=!1,Ze=null,at=null,it=!1,st=!1,Bt=!1,Et=!1,Ht=!0,Ee=!1;const vt="user-content-";let xt=!0,ct=!1,yt={},Je=null;const ie=Q({},["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 Qe=null;const zt=Q({},["audio","video","img","source","image","track"]);let Dt=null;const To=Q({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pn="http://www.w3.org/1998/Math/MathML",Cn="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let Ot=et,Hn=!1,zn=null;const Su=Q({},[pn,Cn,et],lo),Bo=me(["mi","mo","mn","ms","mtext"]);let Vn=Q({},Bo);const vo=me(["annotation-xml"]);let Un=Q({},vo);const wu=Q({},["title","style","font","a","script"]);let Vt=null;const Au=["application/xhtml+xml","text/html"],ku="text/html";let he=null,Lt=null;const Nu=n.createElement("form"),xo=function(a){return a instanceof RegExp||a instanceof Function},Gn=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Lt&&Lt===a)return;(!a||typeof a!="object")&&(a={}),a=$e(a),Vt=Au.indexOf(a.PARSER_MEDIA_TYPE)===-1?ku:a.PARSER_MEDIA_TYPE,he=Vt==="application/xhtml+xml"?lo:nn,te=gt(a,"ALLOWED_TAGS",ut,{transform:he}),ae=gt(a,"ALLOWED_ATTR",A,{transform:he}),zn=gt(a,"ALLOWED_NAMESPACES",Su,{transform:lo}),Dt=gt(a,"ADD_URI_SAFE_ATTR",To,{transform:he,base:To}),Qe=gt(a,"ADD_DATA_URI_TAGS",zt,{transform:he,base:zt}),Je=gt(a,"FORBID_CONTENTS",ie,{transform:he}),V=gt(a,"FORBID_TAGS",$e({}),{transform:he}),Z=gt(a,"FORBID_ATTR",$e({}),{transform:he}),yt=Le(a,"USE_PROFILES")?a.USE_PROFILES&&typeof a.USE_PROFILES=="object"?$e(a.USE_PROFILES):a.USE_PROFILES:!1,xe=a.ALLOW_ARIA_ATTR!==!1,Be=a.ALLOW_DATA_ATTR!==!1,Xe=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,_e=a.SAFE_FOR_TEMPLATES||!1,ze=a.SAFE_FOR_XML!==!1,Re=a.WHOLE_DOCUMENT||!1,st=a.RETURN_DOM||!1,Bt=a.RETURN_DOM_FRAGMENT||!1,Et=a.RETURN_TRUSTED_TYPE||!1,it=a.FORCE_BODY||!1,Ht=a.SANITIZE_DOM!==!1,Ee=a.SANITIZE_NAMED_PROPS||!1,xt=a.KEEP_CONTENT!==!1,ct=a.IN_PLACE||!1,Ue=S0(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:Xr,Ot=typeof a.NAMESPACE=="string"?a.NAMESPACE:et,Vn=yo(a,"MATHML_TEXT_INTEGRATION_POINTS",()=>Q({},Bo)),Un=yo(a,"HTML_INTEGRATION_POINTS",()=>Q({},vo));const h=yo(a,"CUSTOM_ELEMENT_HANDLING",()=>Pt(null));if(j=Pt(null),Le(h,"tagNameCheck")&&xo(h.tagNameCheck)&&(j.tagNameCheck=h.tagNameCheck),Le(h,"attributeNameCheck")&&xo(h.attributeNameCheck)&&(j.attributeNameCheck=h.attributeNameCheck),Le(h,"allowCustomizedBuiltInElements")&&typeof h.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=h.allowCustomizedBuiltInElements),Se(j),_e&&(Be=!1),Bt&&(st=!0),yt&&(te=Q({},qr),ae=Pt(null),yt.html===!0&&(Q(te,Yr),Q(ae,Wr)),yt.svg===!0&&(Q(te,ho),Q(ae,Co),Q(ae,On)),yt.svgFilters===!0&&(Q(te,fo),Q(ae,Co),Q(ae,On)),yt.mathMl===!0&&(Q(te,po),Q(ae,Kr),Q(ae,On))),ne.tagCheck=null,ne.attributeCheck=null,Le(a,"ADD_TAGS")&&(typeof a.ADD_TAGS=="function"?ne.tagCheck=a.ADD_TAGS:$t(a.ADD_TAGS)&&(te===ut&&(te=$e(te)),Q(te,a.ADD_TAGS,he))),Le(a,"ADD_ATTR")&&(typeof a.ADD_ATTR=="function"?ne.attributeCheck=a.ADD_ATTR:$t(a.ADD_ATTR)&&(ae===A&&(ae=$e(ae)),Q(ae,a.ADD_ATTR,he))),Le(a,"ADD_FORBID_CONTENTS")&&$t(a.ADD_FORBID_CONTENTS)&&(Je===ie&&(Je=$e(Je)),Q(Je,a.ADD_FORBID_CONTENTS,he)),xt&&(te["#text"]=!0),Re&&Q(te,["html","head","body"]),te.table&&(Q(te,["tbody"]),delete V.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw Tt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Tt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const b=L;L=a.TRUSTED_TYPES_POLICY;try{M=D("")}catch(v){throw L=b,v}}else a.TRUSTED_TYPES_POLICY===null?(L=void 0,M=""):(L===void 0&&(L=ge()),L&&typeof M=="string"&&(M=D("")));me&&me(a),Lt=a},Do=Q({},[...ho,...fo,...w0]),Oo=Q({},[...po,...A0]),Mu=function(a,h,b){return h.namespaceURI===et?a==="svg":h.namespaceURI===pn?a==="svg"&&(b==="annotation-xml"||Vn[b]):!!Do[a]},Tu=function(a,h,b){return h.namespaceURI===et?a==="math":h.namespaceURI===Cn?a==="math"&&Un[b]:!!Oo[a]},Bu=function(a,h,b){return h.namespaceURI===Cn&&!Un[b]||h.namespaceURI===pn&&!Vn[b]?!1:!Oo[a]&&(wu[a]||!Do[a])},vu=function(a){let h=m(a);(!h||!h.tagName)&&(h={namespaceURI:Ot,tagName:"template"});const b=nn(a.tagName),v=nn(h.tagName);return zn[a.namespaceURI]?a.namespaceURI===Cn?Mu(b,h,v):a.namespaceURI===pn?Tu(b,h,v):a.namespaceURI===et?Bu(b,h,v):!!(Vt==="application/xhtml+xml"&&zn[a.namespaceURI]):!1},mt=function(a){tn(t.removed,{element:a});try{m(a).removeChild(a)}catch{if(_(a),!m(a))throw Tt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Lo=function(a,h,b){try{a.removeAttributeNode(h)}catch{try{a.removeAttribute(b)}catch{}}},yn=function(a){mn(a);const h=g(a);if(h){const v=[];Mt(h,F=>{tn(v,F)}),Mt(v,F=>{try{_(F)}catch{}})}const b=w(a);if(b)for(let v=b.length-1;v>=0;--v){const F=b[v],q=F&&F.name;typeof q=="string"&&Lo(a,F,q)}},bt=function(a,h,b){if(!b)try{b=h.getAttributeNode(a)}catch{b=null}tn(t.removed,{attribute:b||null,from:h});try{b?h.removeAttributeNode(b):h.removeAttribute(a)}catch{try{h.removeAttribute(a)}catch{}}if(a==="is")if(st||Bt)try{mt(h)}catch{}else try{h.setAttribute(a,"")}catch{}},xu=function(a){const h=w(a);if(h)for(let b=h.length-1;b>=0;--b){const v=h[b],F=v&&v.name;typeof F!="string"||ae[he(F)]||Lo(a,v,F)}},mn=function(a){const h=[a];for(;h.length>0;){const b=h.pop();P(b)===Fe.element&&xu(b);const F=g(b);if(F)for(let q=F.length-1;q>=0;--q)h.push(F[q])}},Ro=function(a,h){return ze?a==="patchsrc"?!0:a==="for"&&h!=="label"&&h!=="output":!1},Du=function(a){if(!ze)return;const h=[a];for(;h.length>0;){const b=h.pop(),v=P(b);if(v===Fe.processingInstruction||v===Fe.comment&&Te(Jr,b.data)){try{_(b)}catch{}continue}if(v===Fe.element){const q=b,ce=he(G(b));try{q.hasAttribute&&q.hasAttribute("patchsrc")&&q.removeAttribute("patchsrc"),q.hasAttribute&&q.hasAttribute("for")&&Ro("for",ce)&&q.removeAttribute("for")}catch{}}const F=g(b);if(F)for(let q=F.length-1;q>=0;--q)h.push(F[q])}},Io=function(a){let h=null,b=null;if(it)a="<remove></remove>"+a;else{const q=zr(a,/^[\r\n\t ]+/);b=q&&q[0]}Vt==="application/xhtml+xml"&&Ot===et&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const v=L?D(a):a;if(Ot===et)try{h=new f().parseFromString(v,Vt)}catch{}if(!h||!h.documentElement){h=ee.createDocument(Ot,"template",null);try{h.documentElement.innerHTML=Hn?M:v}catch{}}const F=h.body||h.documentElement;return a&&b&&F.insertBefore(n.createTextNode(b),F.childNodes[0]||null),Ot===et?re.call(h,Re?"html":"body")[0]:Re?h.documentElement:F},jo=function(a){const h=x?x(a):a.ownerDocument;return k.call(h||a,a,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},gn=function(a){return a=on(a,ke," "),a=on(a,B," "),a=on(a,pe," "),a},Yn=function(a){var h;a.normalize();const b=x?x(a):a.ownerDocument,v=k.call(b||a,a,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let F=v.nextNode();for(;F;)F.data=gn(F.data),F=v.nextNode();const q=(h=a.querySelectorAll)===null||h===void 0?void 0:h.call(a,"template");q&&Mt(q,ce=>{Rt(ce.content)&&Yn(ce.content)})},_n=function(a){const h=R?R(a):null;return typeof h!="string"||he(h)!=="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!==T(a)||a.childNodes!==g(a)},Rt=function(a){if(!T||typeof a!="object"||a===null)return!1;try{return T(a)===Fe.documentFragment}catch{return!1}},Ut=function(a){if(!T||typeof a!="object"||a===null)return!1;try{return typeof T(a)=="number"}catch{return!1}};function tt(N,a,h){N.length!==0&&Mt(N,b=>{b.call(t,a,h,Lt)})}const Ou=function(a,h){return!!(ze&&a.hasChildNodes()&&!Ut(a.firstElementChild)&&Te(Zr,a.textContent)&&Te(Zr,a.innerHTML)||ze&&a.namespaceURI===et&&I0[h]&&(Ut(a.firstElementChild)||typeof a.textContent=="string"&&Te(j0[h],a.textContent))||a.nodeType===Fe.processingInstruction||ze&&a.nodeType===Fe.comment&&Te(Jr,a.data))},En=function(a,h){if(a instanceof RegExp)return Te(a,h);if(a instanceof Function){for(var b=arguments.length,v=new Array(b>2?b-2:0),F=2;F<b;F++)v[F-2]=arguments[F];return!!a(h,...v)}return!1},Lu=function(a,h,b){if(!V[h]&&zo(h)&&En(j.tagNameCheck,h))return!1;if(xt&&!Je[h]){const v=m(a),F=g(a);if(F&&v){const q=F.length;for(let ce=q-1;ce>=0;--ce){const de=a===b?C(F[ce],!0):F[ce];v.insertBefore(de,E(a))}}}return mt(a),!0},Po=function(a,h,b,v){return a.length===0?h:h===b||h===v?$e(h):h},$o=function(a,h){return a===h||m(a)!==null?!1:(ct&&mn(a),!0)},Fo=function(a,h){if(tt(K.beforeSanitizeElements,a,null),$o(a,h))return!0;if(_n(a))return mt(a),!0;const b=he(G(a));if(te=Po(K.uponSanitizeElement,te,ut,Ze),tt(K.uponSanitizeElement,a,{tagName:b,allowedTags:te}),$o(a,h))return!0;if(Ou(a,b))return mt(a),!0;if(V[b]||!(ne.tagCheck instanceof Function&&ne.tagCheck(b))&&!te[b]){const F=Lu(a,b,h);return F===!1&&tt(K.afterSanitizeElements,a,null),F}if(P(a)===Fe.element&&!vu(a)||(b==="noscript"||b==="noembed"||b==="noframes")&&Te(L0,a.innerHTML))return mt(a),!0;if(_e&&a.nodeType===Fe.text){const F=gn(a.textContent);a.textContent!==F&&(tn(t.removed,{element:a.cloneNode()}),a.textContent=F)}return tt(K.afterSanitizeElements,a,null),!1},Ho=function(a,h,b){if(Z[h]||Ro(h,a)||Ht&&(h==="id"||h==="name")&&(b in n||b in Nu))return!1;const v=ae[h]||ne.attributeCheck instanceof Function&&ne.attributeCheck(h,a);return Be&&Te(Ce,h)||xe&&Te(He,h)?!0:v?Dt[h]||Te(Ue,on(b,Ke,""))||(h==="src"||h==="xlink:href"||h==="href")&&a!=="script"&&Vr(b,"data:")===0&&Qe[a]||Xe&&!Te(pt,on(b,Ke,""))?!0:!b:zo(a)&&En(j.tagNameCheck,a)&&En(j.attributeNameCheck,h,a)||h==="is"&&j.allowCustomizedBuiltInElements&&En(j.tagNameCheck,b)},Ru=Q({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),zo=function(a){return!Ru[nn(a)]&&Te(rt,a)},Iu=function(a,h,b,v){if(L&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!b)switch(d.getAttributeType(a,h)){case"TrustedHTML":return D(v);case"TrustedScriptURL":return I(v)}return v},ju=function(a,h,b,v){try{b?a.setAttributeNS(b,h,v):a.setAttribute(h,v),_n(a)?mt(a):Hr(t.removed)}catch{bt(h,a)}},Vo=function(a){tt(K.beforeSanitizeAttributes,a,null);const h=a.attributes;if(!h||_n(a))return;ae=Po(K.uponSanitizeAttribute,ae,A,at);const b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let v=h.length;const F=he(a.nodeName);for(;v--;){const q=h[v],ce=q.name,de=q.namespaceURI,De=q.value,Oe=he(ce),Wn=De;let ve=ce==="value"?Wn:y0(Wn);if(b.attrName=Oe,b.attrValue=ve,b.keepAttr=!0,b.forceKeepAttr=void 0,tt(K.uponSanitizeAttribute,a,b),ve=b.attrValue,Ee&&(Oe==="id"||Oe==="name")&&Vr(ve,vt)!==0&&(bt(ce,a,q),ve=vt+ve),ze&&Te(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ve)){bt(ce,a,q);continue}if(Oe==="attributename"&&zr(ve,"href")){bt(ce,a,q);continue}if(!b.forceKeepAttr){if(!b.keepAttr){bt(ce,a,q);continue}if(!Ge&&Te(R0,ve)){bt(ce,a,q);continue}if(_e&&(ve=gn(ve)),!Ho(F,Oe,ve)){bt(ce,a,q);continue}ve=Iu(F,Oe,de,ve),ve!==Wn&&ju(a,ce,de,ve)}}tt(K.afterSanitizeAttributes,a,null)},bn=function(a){let h=null;const b=jo(a);for(tt(K.beforeSanitizeShadowDOM,a,null);h=b.nextNode();)if(tt(K.uponSanitizeShadowNode,h,null),Fo(h,a),Vo(h),Rt(h.content)&&bn(h.content),P(h)===Fe.element){const v=S(h);Rt(v)&&(qn(v),bn(v))}tt(K.afterSanitizeShadowDOM,a,null)},qn=function(a){const h=[{node:a,shadow:null}];for(;h.length>0;){const b=h.pop();if(b.shadow){bn(b.shadow);continue}const v=b.node,q=P(v)===Fe.element,ce=g(v);if(ce)for(let de=ce.length-1;de>=0;--de)h.push({node:ce[de],shadow:null});if(q){const de=R?R(v):null;if(typeof de=="string"&&he(de)==="template"){const De=v.content;Rt(De)&&h.push({node:De,shadow:null})}}if(q){const de=S(v);Rt(de)&&h.push({node:null,shadow:de},{node:de,shadow:null})}}};return t.sanitize=function(N){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=null,b=null,v=null,F=null;if(Hn=!N,Hn&&(N="<!-->"),typeof N!="string"&&!Ut(N)&&(N=b0(N),typeof N!="string"))throw Tt("dirty is not a string, aborting");if(!t.isSupported)return N;Ct?(te=Ze,ae=at):Gn(a),(K.uponSanitizeElement.length>0||K.uponSanitizeAttribute.length>0)&&(te=$e(te)),K.uponSanitizeAttribute.length>0&&(ae=$e(ae)),t.removed=[];const q=ct&&typeof N!="string"&&Ut(N);if(q){Du(N);const De=G(N);if(typeof De=="string"){const Oe=he(De);if(!te[Oe]||V[Oe])throw yn(N),Tt("root node is forbidden and cannot be sanitized in-place")}if(_n(N))throw yn(N),Tt("root node is clobbered and cannot be sanitized in-place");try{qn(N)}catch(Oe){throw yn(N),Oe}}else if(Ut(N))h=Io("<!---->"),b=h.ownerDocument.importNode(N,!0),b.nodeType===Fe.element&&b.nodeName==="BODY"||b.nodeName==="HTML"?h=b:h.appendChild(b),qn(b);else{if(!st&&!_e&&!Re&&N.indexOf("<")===-1)return L&&Et?D(N):N;if(h=Io(N),!h)return st?null:Et?M:""}h&&it&&mt(h.firstChild);const ce=q?N:h;try{const De=jo(ce);for(;v=De.nextNode();)Fo(v,ce),Vo(v),Rt(v.content)&&bn(v.content)}catch(De){throw q&&(yn(N),Mt(t.removed,Oe=>{Oe.element&&mn(Oe.element)})),De}if(q)return Mt(t.removed,De=>{De.element&&mn(De.element)}),_e&&Yn(N),N;if(st){if(_e&&Yn(h),Bt)for(F=z.call(h.ownerDocument);h.firstChild;)F.appendChild(h.firstChild);else F=h;return(ae.shadowroot||ae.shadowrootmode)&&(F=ue.call(o,F,!0)),F}let de=Re?h.outerHTML:h.innerHTML;return Re&&te["!doctype"]&&h.ownerDocument&&h.ownerDocument.doctype&&h.ownerDocument.doctype.name&&Te(D0,h.ownerDocument.doctype.name)&&(de="<!DOCTYPE "+h.ownerDocument.doctype.name+`>
|
|
799
|
-
`+de),_e&&(de=gn(de)),L&&Et?D(de):de},t.setConfig=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Gn(N),Ct=!0,Ze=te,at=ae},t.clearConfig=function(){Lt=null,Ct=!1,Ze=null,at=null,L=U,M=""},t.isValidAttribute=function(N,a,h){Lt||Gn({});const b=he(N),v=he(a);return Ho(b,v,h)},t.addHook=function(N,a){typeof a=="function"&&Le(K,N)&&tn(K[N],a)},t.removeHook=function(N,a){if(Le(K,N)){if(a!==void 0){const h=p0(K[N],a);return h===-1?void 0:C0(K[N],h,1)[0]}return Hr(K[N])}},t.removeHooks=function(N){Le(K,N)&&(K[N]=[])},t.removeAllHooks=function(){K=eu()},t}var F0=tu();const H0=/^(?:[a-z]+:)?\/\//i;let z0="";function V0(){return z0}function mo(e){const t=String(e||"").trim();if(!t)return"";if(H0.test(t)||t.startsWith("data:")||t.startsWith("blob:"))return t;const n=t.startsWith("/")?t:`/${t}`,o=V0();return o?`${o}${n}`:n}function U0(){return Ln(new Date)}function Ln(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 un=[],an=[],sn=[],cn=[],Rn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},In={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},G0={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let go=null,nu=null,_t=null;function Y0({counts:e,forceRefresh:t}={}){const n=Object.assign({},G0,e||{}),o=U0(),r=Ln(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),u=JSON.stringify(n);if(!t&&nu===o&&go===u&&_t)return Object.assign(Rn,_t.today),Object.assign(In,_t.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:Rn,yesterday:In};const i={LISTEN_IN_NOISE:dt(un,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:dt(an,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:dt(sn,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:dt(cn,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let s=null;return _t&&go===u&&_t.yesterday&&_t.yesterday.date===r&&(s=_t.yesterday.selection),s||(s={LISTEN_IN_NOISE:dt(un,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:dt(an,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:dt(sn,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:dt(cn,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(Rn,i),Object.assign(In,s),nu=o,go=u,_t={today:i,yesterday:{date:r,countsKey:u,selection:s}},{today:Rn,yesterday:In}}let ou=!1,ln=null;async function q0(){try{const e=import.meta&&import.meta.env&&import.meta.env.BASE_URL||"/",t=await fetch(`${e}data/allTrainingData.json`);return t.ok?await t.json():null}catch{return null}}async function W0(){if(!ou)return ln||(ln=(async()=>{const e=await q0();if(!e){ln=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),i=String(r.category_main_code||r.category_main||r.category_0||""),s=String(r.category_sub_code||r.category_sub||r.category_1||""),c=Object.assign({},r,{training_type:u,category_0:i,category_1:s});u==="LISTEN_IN_NOISE"?un.push(c):u==="SHORT_STORY"?an.push(c):u==="LONG_STORY"?sn.push(c):u==="ORDERING_SENTENCE"&&cn.push(c)}}}catch{ln=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{Y0()}catch{}ou=!0})(),ln)}async function K0(e=3e3){const t=W0();return Promise.race([t,new Promise(n=>setTimeout(n,e))])}const X0=[{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."}],Z0={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function J0(e){return X0.map(t=>{const n=Z0[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}function Q0(e){return typeof window>"u"?"":F0.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function eh(e){const[t,n]=O(null),[o,r]=O(null),[u,i]=O(null),[s,c]=O(null);return X(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){n(null),r(null),i(null);return}const p=e.split("/").pop();let f=e;p&&(e.startsWith("/")?f=mo(e):/^(Logo|Symbol)/i.test(p)?f=mo(`logo/${p}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),f=e)),n(f)},[e]),X(()=>{if(!t)return;let p=!1;async function f(){try{let d=await fetch(t);d.ok||(d=await fetch(t));const l=d.headers.get("content-type")||"";if(p)return;if(l.includes("svg")){r("mask");return}if(l.startsWith("image/")){r("img");return}const C=await fetch(t);if(!C.ok)throw new Error("not ok");const _=await C.text();if(p)return;if(/^\s*<svg[\s>]/i.test(_)){const E=Q0(_);if(!E){r("none");return}i(E),r("inline");return}r("none")}catch{p||r("none")}}return f(),()=>{p=!0}},[t]),X(()=>{let p=!1,f=null;return o==="mask"&&t&&fetch(t).then(d=>{if(!d.ok)throw new Error("fetch failed");return d.blob()}).then(d=>{p||(f=URL.createObjectURL(d),c(f))}).catch(()=>{p||r("img")}),()=>{p=!0,f&&URL.revokeObjectURL(f),c(null)}},[o,t]),{iconToUse:t,mode:o,svgText:u,blobUrl:s}}function th(e){const{icon:t,label:n,className:o,imgClassName:r,maskClassName:u,svgClassName:i,wrapperStyle:s,size:c}=e||{},p=o??"iconRenderer-icon",f=r??"iconRenderer-icon-image",d=u??"iconRenderer-icon-mask",l=i??"iconRenderer-icon-svg",C=typeof t=="string"?t:null,_=u0(C),{iconToUse:E,mode:g,svgText:m,blobUrl:S}=eh(C),w=(P,G={})=>oe("span",{className:p,style:s,...G,children:P}),T=(P,G={})=>oe("img",{src:P,alt:typeof n=="string"?n:n?String(n):"",className:f,...G});if(!t)return null;if(typeof t!="string")return w(t);if(t==="none")return w(oe("span",{className:l,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(_)try{return w(Gt(_,{className:l,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(E&&E.endsWith(".svg")){if(g==="mask"){const P={"--icon-url":S?`url(${S})`:`url(${E})`};return w(oe("span",{className:d,style:P}),{"aria-hidden":"true"})}return g==="img"?w(T(E,{onError:P=>{P.currentTarget.onerror=null,P.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):g==="inline"?w(oe("span",{className:l,dangerouslySetInnerHTML:m?{__html:m}: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 T(mo(t),{style:s,onError:P=>{P.currentTarget.onerror=null,P.currentTarget.style.display="none"}});const R=typeof c=="number"?c:20,x=`<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(oe("span",{className:l,dangerouslySetInnerHTML:{__html:x}}),{"aria-hidden":"true"})}function ru(e){const{anchorRect:t,anchorEl:n,offset:o=20,edgeMargin:r=20,onClose:u,closeOnOutsideClick:i=!0,className:s="",role:c="dialog",ariaLabel:p="",children:f,backdrop:d=!1,isMobilePopup:l=!1,useBorder:C=!0,header:_}=e||{},E=be(null),[g,m]=O({position:"fixed",left:0,top:-9999}),[S,w]=O(!1),[T,R]=O("bottom"),[x,P]=O(!1),[G,L]=O(!1),M=!t&&!n,U=W((D=!1)=>{if(G&&l)return;const I=n?n.getBoundingClientRect():t;if(!I||!E.current)return;const ge=E.current,{offsetWidth:J,offsetHeight:ee}=ge,k=window.innerWidth,z=window.innerHeight,re=k-I.right,ue=I.left,K=I.top,ke=z-I.bottom;let B=0,pe=0,Ce="top";if(K>=ee+o)Ce="top",pe=I.top-o-ee,B=I.left+I.width/2-J/2;else if(ke>=ee+o)Ce="bottom",pe=I.bottom+o,B=I.left+I.width/2-J/2;else if(re>=J+o)Ce="right",B=I.right+o,pe=I.top+I.height/2-ee/2;else if(ue>=J+o)Ce="left",B=I.left-o-J,pe=I.top+I.height/2-ee/2;else{const rt=Math.max(K,ke,re,ue);rt===K?(Ce="top",pe=I.top-o-ee,B=I.left+I.width/2-J/2):rt===ke?(Ce="bottom",pe=I.bottom+o,B=I.left+I.width/2-J/2):rt===re?(Ce="right",B=I.right+o,pe=I.top+I.height/2-ee/2):(Ce="left",B=I.left-o-J,pe=I.top+I.height/2-ee/2)}const He=Number(r)||8;B=Math.min(Math.max(B,He),k-J-He),pe=Math.min(Math.max(pe,He),z-ee-He);const pt=Math.round(B),Ke=Math.round(pe);D&&E.current?(E.current.style.left=`${pt}px`,E.current.style.top=`${Ke}px`,E.current.dataset.placement=Ce):(R(Ce||T),m({position:"fixed",left:pt,top:Ke}),P(!0))},[G,l,n,t,o,r,T]);Pu(()=>{if(M)return;if(G&&l){m({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),P(!0);return}U();const D=requestAnimationFrame(()=>U());return()=>cancelAnimationFrame(D)},[t,n,o,f,r,M,G,l,U]),X(()=>{if(M||G&&l||!E.current||typeof ResizeObserver>"u")return;const D=new ResizeObserver(()=>{t&&U()});return D.observe(E.current),()=>D.disconnect()},[t,f,r,M,G,l,U]),X(()=>{if(M||G&&l)return;const D=()=>U(!0);return window.addEventListener("resize",D),document.addEventListener("scroll",D,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",D),document.removeEventListener("scroll",D,{capture:!0})}},[t,o,f,r,M,G,l,U]),X(()=>{if(typeof window>"u"||!window.matchMedia)return;const D=window.matchMedia("(max-width: 768px)"),I=()=>L(!!D.matches);I();try{D.addEventListener?D.addEventListener("change",I):D.addListener(I)}catch{try{D.addListener(I)}catch{}}return()=>{try{D.removeEventListener?D.removeEventListener("change",I):D.removeListener(I)}catch{}}},[]);const $=be(!1),Y=W((D=!1)=>{if(!(S||$.current)){if($.current=!0,D){w(!0);try{u&&u()}catch{}return}w(!0),setTimeout(()=>{u&&u()},200)}},[S,u,w]);X(()=>{const D=J=>{const ee=E.current;if(!ee)return;const k=J.target;if(k&&!ee.contains(k)){try{if(k.closest&&k.closest("[data-tooltip-ignore]"))return}catch{}i&&Y(!0)}},I=J=>{const ee=E.current;if(!ee)return;const k=J.target;if(k&&!ee.contains(k)){try{if(k.closest&&k.closest("[data-tooltip-ignore]"))return}catch{}i&&Y(!0)}},ge=J=>{if(J.key==="Escape"){J.stopPropagation(),Y();return}if(J.key==="Tab"){const ee=E.current;if(!ee)return;const k=ee.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!k||k.length===0)return;const z=k[0],re=k[k.length-1],ue=document.activeElement;J.shiftKey?ue===z&&(J.preventDefault(),re.focus()):ue===re&&(J.preventDefault(),z.focus())}};return document.addEventListener("pointerdown",D,!0),document.addEventListener("click",I,!0),document.addEventListener("keydown",ge),()=>{document.removeEventListener("pointerdown",D,!0),document.removeEventListener("click",I,!0),document.removeEventListener("keydown",ge)}},[u,i,Y]),X(()=>{const D=()=>{Y(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",D),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",D)}},[Y]);const H=Ie("div",{ref:E,className:`tooltip-content ${C?"tooltip-content--bordered":""} ${S?"is-closing":""} ${s} ${G&&l?"is-mobile":""}`,role:c,"aria-label":p||void 0,style:M?{}:{...g,visibility:x?"visible":"hidden"},tabIndex:-1,"data-placement":T,"data-left":M?"":g.left,"data-top":M?"":g.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:[_!=null&&oe("div",{className:"tooltip-content__header h5",children:_}),f]});if(M||typeof document>"u")return H;if(d||G&&l){const D=Ie("div",{className:"tooltip-portal",children:[oe("div",{className:"tooltip-backdrop",onClick:()=>{i&&Y(!0)}}),H]});return Yo(D,document.body)}return Yo(H,document.body)}function nh(e){const{anchorRect:t,text:n,offset:o=8,onClose:r,className:u="",ariaLabel:i}=e||{};return n?oe(ru,{anchorRect:t,offset:o,onClose:r,closeOnOutsideClick:!1,className:`tooltip-info ${u}`,ariaLabel:i||n,children:oe("div",{className:"tooltip-info__content body-3",children:n})}):null}function uu(e){const{anchorRect:t,title:n,items:o,activeIndex:r=-1,showIndex:u=!0,onClose:i,offset:s=12}=e||{},c=Array.isArray(o)?o:o?[o]:[];return!c.length&&!n?null:oe(ru,{anchorRect:t,offset:s,onClose:i,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:Ie("div",{className:"tooltip-description__box",children:[n&&oe("span",{className:"tooltip-description__title body-2",children:n}),oe("ol",{className:"tooltip-description__items",children:c.map((p,f)=>Ie("li",{className:`tooltip-description__item body-3${f===r?" tooltip-description__item--active":""}`,children:[u&&c.length>1&&Ie("span",{className:"tooltip-description__index button-1",children:[f+1,"."]}),oe("span",{children:p})]},f))})]})})}function oh(e){const{size:t=48,type:n,htmlType:o,href:r,target:u,rel:i,icon:s,rightIcon:c,label:p,count:f,subLabel:d,children:l,ariaLabel:C,variant:_="default",align:E="center",selected:g,toggleable:m=!1,disabled:S=!1,useLabel:w=!0,useBorder:T=!0,useBG:R=!0,useDisabledCovered:x=!1,useDisabledInvisible:P=!1,width:G,minWidth:L,onClick:M,onDisabledClick:U,showTooltipInfo:$=!1,tooltipInfoText:Y=null,tooltipDescription:H=null,iconSize:D="medium",iconColor:I,shape:ge="rounded",color:J,className:ee,...k}=e,z=typeof t=="string"&&isNaN(Number(t))?t.toLowerCase():String(Number(t)||48),re=z.match(/^\d+$/)?`button${z}`:`button-${z}`,ue=Number(t),K=!isNaN(ue)&&ue<40?"button-2":"button-1",ke=p??l,B=S||!!k.disabled,pe=B?x?"disabled-covered":P?"disabled-invisibled":"disabled":_,Ce=pe?`button--variant-${pe}`:"",He=E?`button--align-${E}`:"",pt=ge?`button--shape-${ge}`:"",Ke=typeof I=="string"&&I.startsWith("--")?`var(${I})`:I,rt={...G?{width:typeof G=="number"?`${G}px`:G}:{},...L?{minWidth:typeof L=="number"?`${L}px`:L}:{},...T?{}:{"--button-border":B?"0":"1px solid transparent"},...Ke?{"--button-icon-color":Ke}:{},...J?{"--color-main":J}:{}},Ue=w===!1?"":ke,te=Array.isArray(Ue)?Ue.length>0:!!Ue,ut=!!c,ae=n??(te||s||ut?"bar":"dot"),A=`${re}--${ae}`,j=be(null),V=be(B),[Z,ne]=O(!!g),[xe,Be]=O(!1),[Xe,Ge]=O(null),_e=W(()=>Be(!1),[]);X(()=>{($||H)&&B&&xe&&(Be(!1),Ge(null))},[B,$,H,xe]),X(()=>{typeof g=="boolean"&&ne(g)},[g]),X(()=>{if(V.current&&!B&&j.current){const ie=j.current;ie.blur(),ie.style.pointerEvents="none";const Qe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{j.current&&(j.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Qe)}V.current=B},[B]);const ze=typeof g=="boolean"?!!g:Z,Re=m||typeof g=="boolean"?ze?"true":"false":void 0,Ct=Si("button",re,A,Ce,He,pt,ze?"is-selected":null,R?null:"button--no-bg",ee),Ze=`button__icon button__icon--${D}`,at=Array.isArray(d)?d:d!==void 0?[d]:[],it=()=>{if(Array.isArray(Ue))return Ue.map((Qe,zt)=>{const Dt=at[zt];return Ie("span",{className:`button__label-text${Dt!==void 0?" button__label-text--has-sub":""}`,children:[Qe,Dt!==void 0&&oe("span",{className:"button__sub-label-text caption-1",children:Dt})]},zt)});const ie=d!==void 0;return Ie("span",{className:`button__label-text${ie?" button__label-text--has-sub":""}`,children:[Ue,f!=null&&oe("span",{className:"button__count",children:f}),ie&&oe("span",{className:"button__sub-label-text caption-1",children:d})]})},st=ie=>{B||(typeof k.onMouseLeave=="function"&&k.onMouseLeave(ie),typeof g!="boolean"&&ne(!1),ie.currentTarget.blur())},Bt=ie=>{if(B){U?.(ie);return}typeof g!="boolean"&&m&&ne(Qe=>!Qe),M?.(ie)},Et=W(()=>{!B&&($||H)&&(Be(!0),Ge(j.current?.getBoundingClientRect()??null))},[B,$,H]),Ht=W(()=>{($||H)&&(Be(!1),Ge(null))},[$,H]),Ee={...k};delete Ee.disabled,delete Ee.className,delete Ee.faded,delete Ee.useFaded,delete Ee.loading,delete Ee.onMouseLeave,delete Ee.onPointerEnter,delete Ee.onPointerLeave,delete Ee.onFocus,delete Ee.onBlur,B&&(Object.keys(Ee).forEach(ie=>{/^on[A-Z]/.test(ie)&&typeof Ee[ie]=="function"&&delete Ee[ie]}),Ee["aria-disabled"]="true");const vt=(typeof $=="string"?$:null)??(typeof Y=="string"?Y:null)??(typeof C=="string"?C:null)??(typeof ke=="string"?ke:null)??void 0,xt=typeof C=="string"?C:typeof ke=="string"?ke:vt,ct=(ie,Qe)=>oe(th,{icon:ie,label:Qe??xt,className:Ze,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),yt=()=>ae==="dot"?Ie(Yt,{children:[ct(s),te&&oe("span",{className:`button__label ${K}`,children:it()})]}):E==="center"&&s?Ie(Yt,{children:[Ie("span",{className:"button__center-group",children:[oe("span",{className:"button__left",children:ct(s)}),te&&oe("span",{className:`button__label ${K}`,children:it()})]}),ut&&oe("span",{className:"button__right",children:ct(c)})]}):Ie(Yt,{children:[s&&oe("span",{className:"button__left",children:ct(s,C??ke)}),te&&oe("span",{className:`button__label ${K}`,children:it()}),ut&&oe("span",{className:"button__right",children:ct(c)})]}),Je=!!r&&!B;return Ie(Yt,{children:[oe(Je?"a":"button",{...Ee,ref:j,...Je?{href:r,target:u,rel:i??(u==="_blank"?"noreferrer":void 0)}:{type:o,disabled:B&&!U},className:Ct,"aria-pressed":Re,"aria-label":xt,"aria-disabled":Je&&B?!0:void 0,style:rt,onClick:Bt,onMouseLeave:st,onPointerEnter:ie=>{Et(),!B&&typeof k.onPointerEnter=="function"&&k.onPointerEnter(ie)},onPointerLeave:ie=>{Ht(),!B&&typeof k.onPointerLeave=="function"&&k.onPointerLeave(ie)},onFocus:ie=>{Et(),!B&&typeof k.onFocus=="function"&&k.onFocus(ie)},onBlur:ie=>{st(ie),Ht(),!B&&typeof k.onBlur=="function"&&k.onBlur(ie)},children:yt()}),xe&&H?oe(uu,{anchorRect:Xe,title:H.title,items:H.items,onClose:_e}):xe&&vt?oe(nh,{anchorRect:Xe,text:vt,onClose:_e}):null]})}function au(){const[e,t]=O(null),n=W(u=>t(u.getBoundingClientRect()),[]),o=W(()=>t(null),[]),r=W(u=>{const i=u.getBoundingClientRect();t(s=>s?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:r}}function rh(e){const[t,n]=O(null),[o,r]=O(null),u=be(null);X(()=>()=>{u.current&&clearTimeout(u.current)},[]);const i=W((c,p)=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{n(c),r(p)},e)},[e]),s=W(()=>{u.current&&clearTimeout(u.current),n(null),r(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:i,close:s}}function uh({title:e,items:t}){const{t:n}=wt(),{anchorRect:o,openAt:r,close:u}=au();return Ie(Yt,{children:[oe(oh,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:n("common.info","\uC124\uBA85"),onPointerEnter:i=>r(i.currentTarget),onPointerLeave:u,onFocus:i=>r(i.currentTarget),onBlur:u}),o&&oe(uu,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:u})]})}function iu(){const{t:e}=wt();return ye(()=>({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 su(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 cu(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function lu(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function ah(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 ih(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 sh(e,t){const{label:n,headValue:o,midValue:r,tailValue:u,includeMid:i=!0,headDisabled:s,midDisabled:c,tailDisabled:p,allOptionDisabled:f,groupLabel:d,labelAction:l}=t;return{label:n,...d?{groupLabel:d}:{},...l?{labelAction:l}:{},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:r,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:c}]:[],{value:u,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:p}]}}function ch(e,t,n){if(t===Nt){const{[n]:u,...i}=e;return i}const o=e[n]??[],r=o.includes(t)?o.filter(u=>u!==t):[...o,t];if(r.length===0){const{[n]:u,...i}=e;return i}return{...e,[n]:r}}Object.fromEntries(Object.entries(Pa).map(([e,{nucleus:t}])=>[e,t]));const lh={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},dh={"\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"]},hh={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:dh,typeMap:lh};function fh(e,t,n=hh){const o=t[n.difficulty];if(o?.length&&!o.some(s=>e.grade===s.replace(/\D/g,"")))return!1;const r=t[n.syllables];if(r?.length){const s=e.syllables??0;if(!r.some(c=>c===n.syllable5plus?s>=5:s===parseInt(c)))return!1}const u=t[n.partOfSpeech];if(u?.length&&!u.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 ht=(e,t)=>t.map(n=>({jamos:[n],tooltip:e})),Ae=(e,t)=>({jamos:[...e],tooltip:t}),_o={cho:[ht("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),ht("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),ht("\uCE58\uC870\uC74C",["\u3145","\u3146"]),ht("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),ht("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),ht("\uC131\uBB38\uC74C",["\u314E"])],jung:[[Ae("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),Ae("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),Ae("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[Ae("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[Ae("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),Ae("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ae("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),Ae("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ae("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[Ae("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),Ae("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),Ae("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[Ae("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),Ae("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ae("\u314F","\uC800\uBAA8\uC74C"),Ae("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ae("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[ht("\uC591\uC21C\uC74C",["\u3142","\u3141"]),ht("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),ht("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},ph=[...Ne],Ch=[...lt],yh=Ve.filter(e=>e!==""),ft=e=>e===nt?[]:Array.from(e),nt="__NO_CODA__",du=[1,2,3,4],ot=5,mh=12,hu="SYL_",Eo=e=>`${hu}${e}`,gh=e=>Number(e.slice(hu.length));function bo(e){return e>=ot?Array.from({length:mh-ot+1},(t,n)=>ot+n):[e]}const fu={cho:ph,jung:Ch,jong:yh},So=e=>e.map(t=>t.map(({jamos:n,tooltip:o})=>({v:n.join(""),tooltip:o}))),wo={cho:So(_o.cho),jung:So(_o.jung),jong:So(_o.jong)},pu={};wo.jung.flat().forEach(({v:e})=>{for(const t of ft(e))pu[t]=e});const _h=new Set(wo.cho.flat().map(e=>e.v));function Cu(e,t){return e==="cho"?_h.has(t)?t:null:e==="jung"?pu[t]??t:pr(t)}function yu(e,t,n){if(e==="jung"){const o=ft(t);return n&&o.includes(n)?n:o[0]??t}return t}function mu(e,t,n){const o=(r,u)=>u?r==="jong"&&u===nt?nt:t==="pron"?Cu(r,u):yu(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 Ao={cho:null,jung:null,jong:null,syllable:null},Eh="wt_filter",gu=e=>`wt_filter_${e}`;function bh(e){try{const t=localStorage.getItem(gu(e))??localStorage.getItem(Eh);if(t)return JSON.parse(t)}catch{}return null}function Sh(e){const t=e;return t?.composition?{cho:t.composition.cho??null,jung:t.composition.jung??null,jong:t.composition.jong??null,syllable:t.composition.syllable??null}:t?.choseong?{...Ao,cho:t.choseong}:Ao}function wh(e,t,n){const{t:o,i18n:r}=wt(),[u]=O(()=>n?.resetOnMount?null:bh(e)),i=u?.contrastCount,s=typeof i=="number"&&Number.isFinite(i)?i:1,[c,p]=O(Math.min(5,Math.max(1,s))),[f,d]=O(u?.phonemeView==="pron"?"pron":u?.phonemeView==="direct"?"direct":"char"),[l,C]=O(()=>Sh(u)),_=W(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:nt,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?nt:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);X(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||C(A=>A.cho||A.jung||A.syllable!=null||A.jong?A:_())},[]);const E=ye(()=>we(l.cho)||we(l.jung)||we(l.jong)?"count":"random",[l.cho,l.jung,l.jong]),g=be(f==="char"?l.jung:null);X(()=>{f==="char"&&(g.current=l.jung)},[f,l.jung]);const[m,S]=O(n?.resetOnMount?!!n?.defaultImageOnly:u?.excludeNoImage??!0),[w,T]=O(n?.resetOnMount?!1:u?.sameStructureOnly??!0),[R,x]=O(Array.isArray(u?.gradeFilter)?u.gradeFilter:[]),[P,G]=O(Array.isArray(u?.posFilter)?u.posFilter:[]),[L,M]=O(Array.isArray(u?.wordTypeFilter)?u.wordTypeFilter:[]),U=be(n?.resetKey);X(()=>{U.current!==n?.resetKey&&(U.current=n?.resetKey,C(_()),S(!1),T(!1),x([]),G([]),M([]),p(1))},[n?.resetKey]);const $=iu(),[Y,H]=O({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[D,I]=O(!1),[ge,J]=O(null),ee=1,k=Math.max(1,[l.cho,l.jung,l.jong].filter(Boolean).length);X(()=>{c<k&&p(k)},[k,c]),X(()=>{if(!n?.resetOnMount)try{localStorage.setItem(gu(e),JSON.stringify({contrastCount:c,composition:l,excludeNoImage:m,sameStructureOnly:w,phonemeView:f,gradeFilter:R,posFilter:P,wordTypeFilter:L}))}catch{}},[n?.resetOnMount,e,c,l,m,w,f,R,P,L]);const[z,re]=O(0);Ko("wordpool:update",()=>re(A=>A+1));const ue=be(r.language);X(()=>{ue.current!==r.language&&(ue.current=r.language,re(A=>A+1))},[r.language]),X(()=>{if(!t.choseong)return;let A=!1;return bi({difficulty:E,excludeNoImage:m}).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,E,m,z]),X(()=>{let A=!1;const j=l,V=j.cho?ft(j.cho):null,Z=j.jung?ft(j.jung):null,ne=j.jong===nt,xe=ne?null:j.jong?ft(j.jong):null,Be=j.syllable!=null?bo(j.syllable):null,Xe=!!(V||Z||xe||ne||Be);return Ei({difficulty:t.difficulty?E:null,contrastCount:t.difficulty?c:1,composition:t.choseong&&Xe?{cho:V,jung:Z,jong:xe,jongNone:ne,syllable:Be}:null,excludeNoImage:m,sameStructureOnly:w,phonemeView:f==="pron"?"pron":"char",grade:R.length>0?R:null}).then(Ge=>{A||J(Ge)}).catch(()=>{A||J(null)}),()=>{A=!0}},[t.choseong,t.difficulty,E,c,l,f,m,w,z,R]),X(()=>{D&&C(A=>{const j={...A};let V=!1;return["cho","jung","jong"].forEach(Z=>{const ne=A[Z];!ne||ne===nt||ft(ne).some(xe=>Y[Z].has(xe))||(j[Z]=null,V=!0)}),A.syllable!=null&&t.fixedSyllable==null&&(A.syllable>=ot?[...Y.syllable].some(Z=>Z>=ot)||(j.syllable=null,V=!0):(!Y.syllable.has(A.syllable)||A.syllable<ee)&&(j.syllable=null,V=!0)),V?j:A})},[Y,D,ee,t.fixedSyllable]);const K=ye(()=>{const A=j=>{const V=new Set;for(const Z of fu[j])Y[j].has(Z)&&V.add(Z);return V};return{cho:A("cho"),jung:A("jung"),jong:A("jong")}},[Y]),ke=ye(()=>({exact:new Set(du.filter(A=>Y.syllable.has(A))),min:[...Y.syllable].some(A=>A>=ot)}),[Y]),B=ye(()=>({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]),pe=ye(()=>({[B.trainOnset]:"cho",[B.trainVowel]:"jung",[B.trainCoda]:"jong"}),[B]),Ce=W((A,j)=>Gt(uh,{title:j,items:A}),[]),He=ye(()=>[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]),pt=ye(()=>{const A=[];if(t.choseong){const j={value:nt,displayLabel:B.codaExclude},V=t.fixedNoCoda===!0,Z=(ne,xe)=>{const Be=V&&ne==="jong",Xe={label:xe,groupLabel:B.phonemeGroup,allOption:!t.requireSyllable,allLabel:B.noLimit,allOptionDisabled:Be};if(f==="pron"){const _e=wo[ne].map(ze=>ze.map(({v:Re,tooltip:Ct})=>{const Ze=ft(Re),at=Be||!Ze.some(it=>Y[ne].has(it));return Ze.length>1?{value:Re,labels:Ze,tooltip:Ct,disabled:at}:{value:Re,tooltip:Ct,disabled:at}}));return ne==="jong"&&!t.requireCoda&&_e.unshift([j]),{...Xe,groups:_e}}const Ge=fu[ne].map(_e=>!Be&&K[ne].has(_e)?_e:{value:_e,disabled:!0});return{...Xe,items:ne==="jong"&&!t.requireCoda?[j,...Ge]:Ge}};A.push(Z("cho",B.trainOnset)),A.push(Z("jung",B.trainVowel)),A.push(Z("jong",B.trainCoda))}if(A.push({...su(o,$,{labelAction:Ce([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(cu($)),t.wordType&&A.push(lu($)),t.choseong||t.fixedSyllable!=null){const j=t.fixedSyllable;A.push({label:B.syllableCount,items:[...du.map(V=>({value:Eo(V),displayLabel:o("wordPairs.syllableN",{n:V,defaultValue:"{{n}}\uC74C\uC808"}),disabled:j!=null?V!==j:!ke.exact.has(V)||V<ee})),{value:Eo(ot),displayLabel:o("wordPairs.syllableNPlus",{n:ot,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:j!=null?ot!==j:!ke.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:Ce(He)}):A.push({label:B.exclude,displayLabel:B.selectLabel,multiple:!0,items:[B.excludeImage],labelAction:Ce([He[0]])}),A},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,ee,K,Y,f,ke,B,o,Ce,He,$]),Ke={...t.difficulty?{[B.diffPhonemeCount]:String(c)}:{},...(t.choseong||t.fixedSyllable!=null)&&l.syllable!=null?{[B.syllableCount]:Eo(l.syllable)}:{},...t.choseong&&l.cho?{[B.trainOnset]:l.cho}:{},...t.choseong&&l.jung?{[B.trainVowel]:l.jung}:{},...t.choseong&&l.jong?{[B.trainCoda]:l.jong}:{},[B.exclude]:[...m?[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}:{}},rt=W((A,j)=>{if(j===B.diffPhonemeCount){const V=Number(A);V>=1&&p(V)}else if(j===B.exclude)A===B.excludeImage?S(V=>!V):A===B.sameStructure&&T(V=>!V);else if(j===B.syllableCount)C(V=>{if(!A||A===Nt)return{...V,syllable:null};const Z=gh(A);return{...V,syllable:V.syllable===Z?null:Z}});else if(j===B.gradeLabel){if(!A||A===Nt){x([]);return}const V=A.replace(/\D/g,"");x(Z=>Z.includes(V)?Z.filter(ne=>ne!==V):[...Z,V])}else if(j===$.partOfSpeech){if(!A||A===Nt){G([]);return}G(V=>V.includes(A)?V.filter(Z=>Z!==A):[...V,A])}else if(j===$.wordType){if(!A||A===Nt){M([]);return}M(V=>V.includes(A)?V.filter(Z=>Z!==A):[...V,A])}else{const V=pe[j];if(!V)return;C(Z=>t.requireSyllable?A&&A!==Nt?{...Z,[V]:A}:Z:!A||A===Nt||Z[V]===A?{...Z,[V]:null}:{...Z,[V]:A})}},[B,pe,$,t.requireSyllable]),Ue=W(A=>!t.partOfSpeech&&!t.wordType?!0:fh(A,{...t.partOfSpeech?{[$.partOfSpeech]:P}:{},...t.wordType?{[$.wordType]:L}:{}},$),[t.partOfSpeech,t.wordType,P,L,$]),te=W(A=>{A!==f&&(A!=="direct"&&f!=="direct"&&C(j=>mu(j,A,g.current)),d(A))},[f]),ut=W(()=>({composition:l,contrastCount:c,excludeNoImage:m,sameStructureOnly:w,phonemeView:f,gradeFilter:R}),[l,c,m,w,f,R]),ae=W(A=>{C(A.composition),p(A.contrastCount),S(A.excludeNoImage),T(A.sameStructureOnly??!0),d(A.phonemeView),x(Array.isArray(A.gradeFilter)?A.gradeFilter:[])},[]);return{difficulty:E,contrastCount:c,composition:l,choseong:l.cho,excludeNoImage:m,sameStructureOnly:w,gradeFilter:R,posFilter:P,wordTypeFilter:L,matchesWordAttributes:Ue,poolVersion:z,filterSections:pt,filterSelected:Ke,handleFilterSelect:rt,phonemeView:f,setPhonemeView:te,phonemeGroupLabel:B.phonemeGroup,wordCount:ge,getFilterSnapshot:ut,restoreFilterSnapshot:ae}}function Ah(e){const t=s=>s?ft(s):null,n=t(e.cho),o=t(e.jung),r=e.jong===nt,u=r?null:t(e.jong),i=e.syllable!=null?bo(e.syllable):null;return!n&&!o&&!u&&!r&&!i?null:{cho:n,jung:o,jong:u,jongNone:r,syllable:i}}function kh(e,t,n,o,r,u,i=!0,s="char",c=[]){const[p,f]=O({}),[d,l]=O(!1),{cho:C=null,jung:_=null,jong:E=null,syllable:g=null}=o??{};return X(()=>{u>0&&_i(r).catch(()=>{})},[u,r]),X(()=>{let m=!1;return l(!0),(async()=>{const S=Ah({cho:C,jung:_,jong:E,syllable:g}),w=c.length>0?c.slice().sort().join(","):"",T=`${C??""}_${_??""}_${E??""}_${g??""}_${w}`,R={};await Promise.all(e.map(async x=>{const P=eo[x.key];try{const G=await Tr(x.key,{difficulty:P.difficulty?t:null,contrastCount:P.difficulty?n:1,composition:P.choseong?S:null,count:5,excludeNoImage:r,sameStructureOnly:i,phonemeView:s,grade:c.length>0?c:null});G&&G.length>0?R[x.key]={id:`wt-${x.key}-${t}-${T}-${Date.now()}`,name:x.label,training_type:x.key,category_main_code:"WORD",iconColor:x.color,subTitle:x.subTitle,items:G,itemCount:G.length}:R[x.key]={id:`wt-${x.key}-empty`,name:x.label,training_type:x.key,category_main_code:"WORD",iconColor:x.color,subTitle:x.subTitle,items:[],itemCount:0,__empty:!0}}catch{R[x.key]=null}})),m||(f(R),l(!1))})(),()=>{m=!0}},[t,n,C,_,E,g,r,i,s,u,c]),{perTypeData:p,generating:d}}function Nh(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 Mh(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 jn=dt;function ko(e,t){const n=t?Mh(Nh(t)):Math.random;return{LISTEN_IN_NOISE:jn(un,Math.max(0,e.LISTEN_IN_NOISE||0),n),SHORT_STORY:jn(an,Math.max(0,e.SHORT_STORY||0),n),LONG_STORY:jn(sn,Math.max(0,e.LONG_STORY||0),n),ORDERING_SENTENCE:jn(cn,Math.max(0,e.ORDERING_SENTENCE||0),n)}}function _u(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const Th={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function Eu(e=!1,t=Th,n){const o=Ln(Date.now()),r=Ln(Date.now()-864e5),u=`${n??""}|${o}`,i=`${n??""}|${r}`;return un.length>0||an.length>0||sn.length>0||cn.length>0?{today:ko(t,u),yesterday:ko(t,i)}:{today:ko(t,u),yesterday:null}}function Bh(e){const t=be({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=be(null),[o,r]=O(!1),[u,i]=O(!1);X(()=>{let c=!1,p,f=0;const d=40,l=()=>{p!==void 0&&(clearInterval(p),p=void 0)};let C=!1;try{const g=new URLSearchParams(window.location.search),m=g.get("forceRefresh")||g.get("force");C=m==="1"||m==="true"}catch{}const _=g=>{t.current=g.today,n.current=g.yesterday,r(!0),c=!0,l()},E=async()=>{if(c)return;if(!C){const m=Eu(!1,void 0,e);if(_u(m.today)){_(m);return}}try{await K0(3e3)}catch{}if(c)return;const g=Eu(C,void 0,e);if(_u(g.today)){_(g);return}++f>=d&&(r(!0),c=!0,l())};return E(),p=setInterval(E,250),()=>{c=!0,l()}},[e]);const s=W(c=>{const p=u?n.current:t.current,f=u?t.current:n.current;return p?.[c]?.length?p[c]:f?.[c]?.length?f[c]:void 0},[u]);return{loaded:o,showYesterday:u,setShowYesterday:i,getTrainingPerType:s}}const Ft=[];let Pn=!1;function bu(e){if(e.key!=="Escape"||e.defaultPrevented)return;const t=Ft[Ft.length-1];t&&(e.stopPropagation(),t())}function vh(e){return Ft.push(e),!Pn&&typeof document<"u"&&(document.addEventListener("keydown",bu),Pn=!0),()=>{const t=Ft.lastIndexOf(e);t>=0&&Ft.splice(t,1),Ft.length===0&&Pn&&typeof document<"u"&&(document.removeEventListener("keydown",bu),Pn=!1)}}function xh(e,t=!0){const n=Wo(e);X(()=>{if(t)return vh(()=>{n.current?.()})},[t,n])}const No=(e,t)=>`${e}:${t??1}`,Mo=new Map;function Dh(e,t){const[n,o]=O(0),r=e.map(u=>No(u.word,u.homonum)).join("|");return X(()=>{const u=(r?r.split("|"):[]).filter(c=>!Mo.has(c));if(u.length===0)return;let i=!1;const s=Array.from(new Set(u.map(c=>c.slice(0,c.lastIndexOf(":")))));return t(s).then(c=>{if(!(i||c.length===0)){for(const p of c)p.Meaning&&Mo.set(No(p.Word,p.Homonum??void 0),p.Meaning);o(p=>p+1)}}),()=>{i=!0}},[r,t]),ye(()=>{const u=r?r.split("|"):[],i=new Map;for(const s of u){const c=Mo.get(s);c!=null&&i.set(s,c)}return i},[r,n])}function Oh(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:ye(()=>e.slice((u-1)*o,u*o),[e,u,o]),totalPages:r,curPage:u}}function Lh(e="warning"){const[t,n]=O(""),[o,r]=O(e),[u,i]=O(0),s=W((d,l)=>{r(l),n(d),i(C=>C+1)},[]),c=W(d=>s(d,"warning"),[s]),p=W(d=>s(d,"normal"),[s]),f=W(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:u,showToast:s,showWarning:c,showNormal:p,clearToast:f}}const dn={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},hn=dn.blue,$n=dn.green,fn=dn.amber,Fn=dn.purple,Rh=dn.pink,Ih=[{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:hn,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:hn,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:hn,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:hn,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:hn,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:$n,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:$n,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:$n,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:$n,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:fn,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:fn,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:fn,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:fn,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:fn,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:Fn,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:Fn,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:Fn,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:Fn,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:Rh,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function jh(){const{t:e}=wt();return ye(()=>{const t=Object.fromEntries(J0(e).map(o=>[o.key,o.label])),n={...t};return Ih.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}export{sr as CACHE_GROUPS,Zo as DocumentTitleSuppressContext,Ao as EMPTY_COMPOSITION,qo as MediaQueryOverrideContext,nt as NO_CODA,ot as SYLLABLE_MIN,hr as VAP_PAGE_SIZE_OPTIONS,su as buildGradeSection,cu as buildPartOfSpeechSection,sh as buildPositionSection,ih as buildSelectSection,ah as buildSyllableSection,lu as buildWordTypeSection,Cu as charToPronValue,mu as convertComposition,Aa as fmtBytes,cr as lsBytes,No as meaningKey,yu as pronToCharValue,bo as syllableToFilter,Xt as today,ch as toggleAttributeFilter,ka as useCacheManagement,Bh as useDailyTrainingSelection,rh as useDelayedHoverAnchor,La as useDeviceManagement,zu as useDocumentTitle,xh as useEscToClose,$u as useFontScale,au as useHoverAnchor,Hu as useMediaQuery,Oh as usePagedList,ca as usePasswordChange,sa as useRelativeDay,Da as useTablePaging,Oa as useTableSort,Lh as useToastState,jh as useTrainingTypeLabels,xa as useVisitAllPanel,Ta as useVisitHistory,va as useVisitSchedule,Ko as useWindowEvent,iu as useWordAttributeFilterKeys,Na as useWordDataStats,Dh as useWordMeanings,kh as useWordTrainingDataGeneration,wh as useWordTrainingFilter,ft as valueToJamos};
|
|
781
|
+
*/const b0=[["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"}]],k0=f("thumbs-up",b0),kr={"alert-triangle":_r,"align-start-vertical":ei,anchor:L1,"arrow-down":ni,"arrow-left":ri,"arrow-right":ai,"arrow-right-left":li,"arrow-up-a-z":I1,"audio-lines":si,baby:hi,ban:fi,"bar-chart-2":P1,bell:yi,"book-marked":gi,"book-open":Ei,"bow-arrow":ki,braces:wi,bug:Ni,calendar:F1,"calendar-check":Ti,"calendar-days":Di,camera:vi,car:z1,"chart-column":Li,"chart-line":Ii,"chart-pie":Pi,check:Fi,"chevron-down":s0,"chevron-left":zi,"chevron-right":Ui,"chevron-up":h0,circle:f0,"clipboard-list":Yi,coffee:U1,combine:Wi,copy:Xi,"credit-card":Ji,database:el,diff:nl,download:rl,ear:al,edit:ll,"edit-2":sl,"edit-3":hl,ellipsis:Er,eraser:Cl,"external-link":ml,eye:_l,"file-text":bl,"flip-horizontal":Al,"folder-open":Sl,"folder-plus":Ml,gamepad:Bl,"gamepad-2":Y1,gavel:xl,"git-merge":Ol,globe:Rl,headphones:jl,heart:$l,home:Hl,inbox:W1,info:Vl,"key-round":Gl,landmark:ql,layers:Kl,"layout-dashboard":Zl,leaf:Ql,lightbulb:tc,link:oc,"link-2":uc,"link-2-off":ic,list:cc,"list-checks":dc,"list-ordered":pc,"list-tree":X1,loader:Cc,"log-out":mc,mail:_c,"map-pin":bc,menu:g0,"message-circle":Ac,"message-circle-question-mark":Sc,"message-square":Mc,"message-square-more":J1,"message-square-text":Bc,minus:e0,"minus-circle":xc,moon:E0,"more-horizontal":Er,package:Oc,palette:Rc,"party-popper":jc,pause:$c,pencil:Hc,phone:Vc,play:Gc,"play-circle":qc,plus:Kc,printer:Zc,"refresh-cw":Qc,repeat:ts,replace:os,rocket:us,"rotate-ccw":is,"rotate-cw":cs,salad:ds,"scan-search":ps,search:gs,"circle-alert":br,"alert-circle":br,"check-circle":ys,scissors:Es,"search-x":ks,send:ws,settings:Ns,"share-2":n0,"shield-check":Ts,"shopping-cart":Ds,shuffle:vs,"skip-back":Ls,"skip-forward":Is,sparkles:r0,square:Ps,star:Fs,store:zs,"sun-medium":Us,table:Ys,"table-2":Ws,terminal:Xs,"text-cursor-input":Js,"text-initial":e1,"thumbs-up":k0,ticket:n1,triangle:y0,"trash-2":r1,"trending-up":a1,"triangle-alert":_r,trophy:l1,type:a0,unlink:s1,upload:h1,user:f1,"user-plus":y1,"user-round":g1,"user-round-check":E1,users:k1,"users-round":w1,volume:l0,"volume-2":N1,wrench:T1,x:D1,zap:v1};function A0(e){return kr[e]??null}const Ar=new Set,w0=(()=>{try{if(import.meta.env?.DEV)return!0}catch{}try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function S0(e){return w0&&!(e in kr)&&!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 N0=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?N0(n):null}const wr=new Map;function T0(e){const t=typeof e=="string"?M0(e):null,n=t?A0(t)??wr.get(t)??null:null,[o,r]=B(null);return X(()=>{if(!t||n)return;let u=!1;return S0(t).then(i=>{wr.set(t,i),u||r(i)}),()=>{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 Sr(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 B0(e){if(Array.isArray(e))return e}function D0(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,u,i,l=[],c=!0,p=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(c=(o=u.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(h){p=!0,r=h}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw r}}return l}}function x0(){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 v0(e,t){return B0(e)||D0(e,t)||O0(e,t)||x0()}function O0(e,t){if(e){if(typeof e=="string")return Sr(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)?Sr(e,t):void 0}}const Nr=Object.entries,Mr=Object.setPrototypeOf,L0=Object.isFrozen,R0=Object.getPrototypeOf,I0=Object.getOwnPropertyDescriptor;let ye=Object.freeze,Ee=Object.seal,jt=Object.create,Tr=typeof Reflect<"u"&&Reflect,no=Tr.apply,oo=Tr.construct;ye||(ye=function(t){return t}),Ee||(Ee=function(t){return t}),no||(no=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)}),oo||(oo=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 Nt=pe(Array.prototype.forEach),j0=pe(Array.prototype.lastIndexOf),Br=pe(Array.prototype.pop),en=pe(Array.prototype.push),P0=pe(Array.prototype.splice),Pt=Array.isArray,tn=pe(String.prototype.toLowerCase),ro=pe(String.prototype.toString),Dr=pe(String.prototype.match),nn=pe(String.prototype.replace),xr=pe(String.prototype.indexOf),$0=pe(String.prototype.trim),F0=pe(Number.prototype.toString),H0=pe(Boolean.prototype.toString),vr=typeof BigInt>"u"?null:pe(BigInt.prototype.toString),Or=typeof Symbol>"u"?null:pe(Symbol.prototype.toString),Le=pe(Object.prototype.hasOwnProperty),on=pe(Object.prototype.toString),Me=pe(RegExp.prototype.test),Mt=z0(TypeError);function pe(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 no(e,t,o)}}function z0(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return oo(e,n)}}function J(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:tn;if(Mr&&Mr(e,null),!Pt(t))return e;let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const u=n(r);u!==r&&(L0(t)||(t[o]=u),r=u)}e[r]=!0}return e}function V0(e){for(let t=0;t<e.length;t++)Le(e,t)||(e[t]=null);return e}function $e(e){const t=jt(null);for(const o of Nr(e)){var n=v0(o,2);const r=n[0],u=n[1];Le(e,r)&&(Pt(u)?t[r]=V0(u):u&&typeof u=="object"&&u.constructor===Object?t[r]=$e(u):t[r]=u)}return t}function U0(e){switch(typeof e){case"string":return e;case"number":return F0(e);case"boolean":return H0(e);case"bigint":return vr?vr(e):"0";case"symbol":return Or?Or(e):"Symbol()";case"undefined":return on(e);case"function":case"object":{if(e===null)return on(e);const t=e,n=We(t,"toString");if(typeof n=="function"){const o=n(t);return typeof o=="string"?o:on(o)}return on(e)}default:return on(e)}}function We(e,t){for(;e!==null;){const o=I0(e,t);if(o){if(o.get)return pe(o.get);if(typeof o.value=="function")return pe(o.value)}e=R0(e)}function n(){return null}return n}function G0(e){try{return Me(e,""),!0}catch{return!1}}const Lr=ye(["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"]),uo=ye(["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"]),ao=ye(["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"]),Y0=ye(["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"]),io=ye(["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"]),q0=ye(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Rr=ye(["#text"]),Ir=ye(["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"]),lo=ye(["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"]),jr=ye(["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"]),Bn=ye(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),W0=Ee(/{{[\w\W]*|^[\w\W]*}}/g),K0=Ee(/<%[\w\W]*|^[\w\W]*%>/g),X0=Ee(/\${[\w\W]*/g),Z0=Ee(/^data-[\-\w.\u00B7-\uFFFF]+$/),J0=Ee(/^aria-[\-\w]+$/),Pr=Ee(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q0=Ee(/^(?:\w+script|data):/i),ed=Ee(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),td=Ee(/^html$/i),nd=Ee(/^[a-z][.\w]*(-[.\w]+)+$/i),$r=Ee(/<[/\w!]/g),Fr=Ee(/<[/\w]/g),od=Ee(/<\/no(script|embed|frames)/i),rd=Ee(/\/>/i),Fe={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Hr=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ud=ye(J({},Hr)),ad=(function(){const e={};return Nt(Hr,t=>{e[t]=Ee(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),ye(e)})(),id=function(){return typeof window>"u"?null:window},ld=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(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},zr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},gt=function(t,n,o,r){return Le(t,n)&&Pt(t[n])?J(r.base?$e(r.base):{},t[n],r.transform):o},co=function(t,n,o){const r=Le(t,n)?t[n]:void 0;return r&&typeof r=="object"?$e(r):o()};function Vr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:id();const t=S=>Vr(S);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Fe.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,r=o.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,i=e.Node,l=e.Element,c=e.NodeFilter,p=e.NamedNodeMap;p===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const h=e.DOMParser,C=e.trustedTypes,s=l.prototype,m=We(s,"cloneNode"),E=We(s,"remove"),A=We(s,"nextSibling"),g=We(s,"childNodes"),y=We(s,"parentNode"),k=We(s,"shadowRoot"),N=We(s,"attributes"),x=i&&i.prototype?We(i.prototype,"nodeType"):null,R=i&&i.prototype?We(i.prototype,"nodeName"):null,v=i&&i.prototype?We(i.prototype,"ownerDocument"):null,j=function(a){return x?x(a):a.nodeType},H=function(a){return R?R(a):a.nodeName};if(typeof u=="function"){const S=n.createElement("template");S.content&&S.content.ownerDocument&&(n=S.content.ownerDocument)}let U,F="",Q,G=!1,W=0;const z=function(){if(W>0)throw Mt('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.')},D=function(a){z(),W++;try{return U.createHTML(a)}finally{W--}},O=function(a){z(),W++;try{return U.createScriptURL(a)}finally{W--}},me=function(){return G||(Q=ld(C,r),G=!0),Q},Z=n,ee=Z.implementation,w=Z.createNodeIterator,P=Z.createDocumentFragment,re=Z.getElementsByTagName,ue=o.importNode;let Y=zr();t.isSupported=typeof Nr=="function"&&typeof y=="function"&&ee&&ee.createHTMLDocument!==void 0;const Ae=W0,M=K0,fe=X0,Ce=Z0,He=J0,ft=Q0,Ke=ed,rt=nd;let Ue=Pr,te=null;const ut=J({},[...Lr,...uo,...ao,...io,...Rr]);let ae=null;const b=J({},[...Ir,...lo,...jr,...Bn]);let L=Object.seal(jt(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 ne=Object.seal(jt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let De=!0,Te=!0,Xe=!1,Ge=!0,ge=!1,ze=!0,Re=!1,Ct=!1,Ze=null,at=null,it=!1,lt=!1,Tt=!1,Et=!1,Ft=!0,_e=!1;const Bt="user-content-";let Dt=!0,ct=!1,yt={},Je=null;const ie=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 Qe=null;const Ht=J({},["audio","video","img","source","image","track"]);let xt=null;const ko=J({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pn="http://www.w3.org/1998/Math/MathML",fn="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let vt=et,jn=!1,Pn=null;const su=J({},[pn,fn,et],ro),Ao=ye(["mi","mo","mn","ms","mtext"]);let $n=J({},Ao);const wo=ye(["annotation-xml"]);let Fn=J({},wo);const du=J({},["title","style","font","a","script"]);let zt=null;const hu=["application/xhtml+xml","text/html"],pu="text/html";let he=null,Ot=null;const fu=n.createElement("form"),So=function(a){return a instanceof RegExp||a instanceof Function},Hn=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ot&&Ot===a)return;(!a||typeof a!="object")&&(a={}),a=$e(a),zt=hu.indexOf(a.PARSER_MEDIA_TYPE)===-1?pu:a.PARSER_MEDIA_TYPE,he=zt==="application/xhtml+xml"?ro:tn,te=gt(a,"ALLOWED_TAGS",ut,{transform:he}),ae=gt(a,"ALLOWED_ATTR",b,{transform:he}),Pn=gt(a,"ALLOWED_NAMESPACES",su,{transform:ro}),xt=gt(a,"ADD_URI_SAFE_ATTR",ko,{transform:he,base:ko}),Qe=gt(a,"ADD_DATA_URI_TAGS",Ht,{transform:he,base:Ht}),Je=gt(a,"FORBID_CONTENTS",ie,{transform:he}),$=gt(a,"FORBID_TAGS",$e({}),{transform:he}),K=gt(a,"FORBID_ATTR",$e({}),{transform:he}),yt=Le(a,"USE_PROFILES")?a.USE_PROFILES&&typeof a.USE_PROFILES=="object"?$e(a.USE_PROFILES):a.USE_PROFILES:!1,De=a.ALLOW_ARIA_ATTR!==!1,Te=a.ALLOW_DATA_ATTR!==!1,Xe=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ge=a.SAFE_FOR_TEMPLATES||!1,ze=a.SAFE_FOR_XML!==!1,Re=a.WHOLE_DOCUMENT||!1,lt=a.RETURN_DOM||!1,Tt=a.RETURN_DOM_FRAGMENT||!1,Et=a.RETURN_TRUSTED_TYPE||!1,it=a.FORCE_BODY||!1,Ft=a.SANITIZE_DOM!==!1,_e=a.SANITIZE_NAMED_PROPS||!1,Dt=a.KEEP_CONTENT!==!1,ct=a.IN_PLACE||!1,Ue=G0(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:Pr,vt=typeof a.NAMESPACE=="string"?a.NAMESPACE:et,$n=co(a,"MATHML_TEXT_INTEGRATION_POINTS",()=>J({},Ao)),Fn=co(a,"HTML_INTEGRATION_POINTS",()=>J({},wo));const d=co(a,"CUSTOM_ELEMENT_HANDLING",()=>jt(null));if(L=jt(null),Le(d,"tagNameCheck")&&So(d.tagNameCheck)&&(L.tagNameCheck=d.tagNameCheck),Le(d,"attributeNameCheck")&&So(d.attributeNameCheck)&&(L.attributeNameCheck=d.attributeNameCheck),Le(d,"allowCustomizedBuiltInElements")&&typeof d.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=d.allowCustomizedBuiltInElements),Ee(L),ge&&(Te=!1),Tt&&(lt=!0),yt&&(te=J({},Rr),ae=jt(null),yt.html===!0&&(J(te,Lr),J(ae,Ir)),yt.svg===!0&&(J(te,uo),J(ae,lo),J(ae,Bn)),yt.svgFilters===!0&&(J(te,ao),J(ae,lo),J(ae,Bn)),yt.mathMl===!0&&(J(te,io),J(ae,jr),J(ae,Bn))),ne.tagCheck=null,ne.attributeCheck=null,Le(a,"ADD_TAGS")&&(typeof a.ADD_TAGS=="function"?ne.tagCheck=a.ADD_TAGS:Pt(a.ADD_TAGS)&&(te===ut&&(te=$e(te)),J(te,a.ADD_TAGS,he))),Le(a,"ADD_ATTR")&&(typeof a.ADD_ATTR=="function"?ne.attributeCheck=a.ADD_ATTR:Pt(a.ADD_ATTR)&&(ae===b&&(ae=$e(ae)),J(ae,a.ADD_ATTR,he))),Le(a,"ADD_FORBID_CONTENTS")&&Pt(a.ADD_FORBID_CONTENTS)&&(Je===ie&&(Je=$e(Je)),J(Je,a.ADD_FORBID_CONTENTS,he)),Dt&&(te["#text"]=!0),Re&&J(te,["html","head","body"]),te.table&&(J(te,["tbody"]),delete $.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw Mt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Mt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const _=U;U=a.TRUSTED_TYPES_POLICY;try{F=D("")}catch(T){throw U=_,T}}else a.TRUSTED_TYPES_POLICY===null?(U=void 0,F=""):(U===void 0&&(U=me()),U&&typeof F=="string"&&(F=D("")));ye&&ye(a),Ot=a},No=J({},[...uo,...ao,...Y0]),Mo=J({},[...io,...q0]),Cu=function(a,d,_){return d.namespaceURI===et?a==="svg":d.namespaceURI===pn?a==="svg"&&(_==="annotation-xml"||$n[_]):!!No[a]},yu=function(a,d,_){return d.namespaceURI===et?a==="math":d.namespaceURI===fn?a==="math"&&Fn[_]:!!Mo[a]},mu=function(a,d,_){return d.namespaceURI===fn&&!Fn[_]||d.namespaceURI===pn&&!$n[_]?!1:!Mo[a]&&(du[a]||!No[a])},gu=function(a){let d=y(a);(!d||!d.tagName)&&(d={namespaceURI:vt,tagName:"template"});const _=tn(a.tagName),T=tn(d.tagName);return Pn[a.namespaceURI]?a.namespaceURI===fn?Cu(_,d,T):a.namespaceURI===pn?yu(_,d,T):a.namespaceURI===et?mu(_,d,T):!!(zt==="application/xhtml+xml"&&Pn[a.namespaceURI]):!1},mt=function(a){en(t.removed,{element:a});try{y(a).removeChild(a)}catch{if(E(a),!y(a))throw Mt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},To=function(a,d,_){try{a.removeAttributeNode(d)}catch{try{a.removeAttribute(_)}catch{}}},Cn=function(a){yn(a);const d=g(a);if(d){const T=[];Nt(d,I=>{en(T,I)}),Nt(T,I=>{try{E(I)}catch{}})}const _=N(a);if(_)for(let T=_.length-1;T>=0;--T){const I=_[T],V=I&&I.name;typeof V=="string"&&To(a,I,V)}},bt=function(a,d,_){if(!_)try{_=d.getAttributeNode(a)}catch{_=null}en(t.removed,{attribute:_||null,from:d});try{_?d.removeAttributeNode(_):d.removeAttribute(a)}catch{try{d.removeAttribute(a)}catch{}}if(a==="is")if(lt||Tt)try{mt(d)}catch{}else try{d.setAttribute(a,"")}catch{}},_u=function(a){const d=N(a);if(d)for(let _=d.length-1;_>=0;--_){const T=d[_],I=T&&T.name;typeof I!="string"||ae[he(I)]||To(a,T,I)}},yn=function(a){const d=[a];for(;d.length>0;){const _=d.pop();j(_)===Fe.element&&_u(_);const I=g(_);if(I)for(let V=I.length-1;V>=0;--V)d.push(I[V])}},Bo=function(a,d){return ze?a==="patchsrc"?!0:a==="for"&&d!=="label"&&d!=="output":!1},Eu=function(a){if(!ze)return;const d=[a];for(;d.length>0;){const _=d.pop(),T=j(_);if(T===Fe.processingInstruction||T===Fe.comment&&Me(Fr,_.data)){try{E(_)}catch{}continue}if(T===Fe.element){const V=_,ce=he(H(_));try{V.hasAttribute&&V.hasAttribute("patchsrc")&&V.removeAttribute("patchsrc"),V.hasAttribute&&V.hasAttribute("for")&&Bo("for",ce)&&V.removeAttribute("for")}catch{}}const I=g(_);if(I)for(let V=I.length-1;V>=0;--V)d.push(I[V])}},Do=function(a){let d=null,_=null;if(it)a="<remove></remove>"+a;else{const V=Dr(a,/^[\r\n\t ]+/);_=V&&V[0]}zt==="application/xhtml+xml"&&vt===et&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const T=U?D(a):a;if(vt===et)try{d=new h().parseFromString(T,zt)}catch{}if(!d||!d.documentElement){d=ee.createDocument(vt,"template",null);try{d.documentElement.innerHTML=jn?F:T}catch{}}const I=d.body||d.documentElement;return a&&_&&I.insertBefore(n.createTextNode(_),I.childNodes[0]||null),vt===et?re.call(d,Re?"html":"body")[0]:Re?d.documentElement:I},xo=function(a){const d=v?v(a):a.ownerDocument;return w.call(d||a,a,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},mn=function(a){return a=nn(a,Ae," "),a=nn(a,M," "),a=nn(a,fe," "),a},zn=function(a){var d;a.normalize();const _=v?v(a):a.ownerDocument,T=w.call(_||a,a,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let I=T.nextNode();for(;I;)I.data=mn(I.data),I=T.nextNode();const V=(d=a.querySelectorAll)===null||d===void 0?void 0:d.call(a,"template");V&&Nt(V,ce=>{Lt(ce.content)&&zn(ce.content)})},gn=function(a){const d=R?R(a):null;return typeof d!="string"||he(d)!=="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!==x(a)||a.childNodes!==g(a)},Lt=function(a){if(!x||typeof a!="object"||a===null)return!1;try{return x(a)===Fe.documentFragment}catch{return!1}},Vt=function(a){if(!x||typeof a!="object"||a===null)return!1;try{return typeof x(a)=="number"}catch{return!1}};function tt(S,a,d){S.length!==0&&Nt(S,_=>{_.call(t,a,d,Ot)})}const bu=function(a,d){return!!(ze&&a.hasChildNodes()&&!Vt(a.firstElementChild)&&Me($r,a.textContent)&&Me($r,a.innerHTML)||ze&&a.namespaceURI===et&&ud[d]&&(Vt(a.firstElementChild)||typeof a.textContent=="string"&&Me(ad[d],a.textContent))||a.nodeType===Fe.processingInstruction||ze&&a.nodeType===Fe.comment&&Me(Fr,a.data))},_n=function(a,d){if(a instanceof RegExp)return Me(a,d);if(a instanceof Function){for(var _=arguments.length,T=new Array(_>2?_-2:0),I=2;I<_;I++)T[I-2]=arguments[I];return!!a(d,...T)}return!1},ku=function(a,d,_){if(!$[d]&&Io(d)&&_n(L.tagNameCheck,d))return!1;if(Dt&&!Je[d]){const T=y(a),I=g(a);if(I&&T){const V=I.length;for(let ce=V-1;ce>=0;--ce){const de=a===_?m(I[ce],!0):I[ce];T.insertBefore(de,A(a))}}}return mt(a),!0},vo=function(a,d,_,T){return a.length===0?d:d===_||d===T?$e(d):d},Oo=function(a,d){return a===d||y(a)!==null?!1:(ct&&yn(a),!0)},Lo=function(a,d){if(tt(Y.beforeSanitizeElements,a,null),Oo(a,d))return!0;if(gn(a))return mt(a),!0;const _=he(H(a));if(te=vo(Y.uponSanitizeElement,te,ut,Ze),tt(Y.uponSanitizeElement,a,{tagName:_,allowedTags:te}),Oo(a,d))return!0;if(bu(a,_))return mt(a),!0;if($[_]||!(ne.tagCheck instanceof Function&&ne.tagCheck(_))&&!te[_]){const I=ku(a,_,d);return I===!1&&tt(Y.afterSanitizeElements,a,null),I}if(j(a)===Fe.element&&!gu(a)||(_==="noscript"||_==="noembed"||_==="noframes")&&Me(od,a.innerHTML))return mt(a),!0;if(ge&&a.nodeType===Fe.text){const I=mn(a.textContent);a.textContent!==I&&(en(t.removed,{element:a.cloneNode()}),a.textContent=I)}return tt(Y.afterSanitizeElements,a,null),!1},Ro=function(a,d,_){if(K[d]||Bo(d,a)||Ft&&(d==="id"||d==="name")&&(_ in n||_ in fu))return!1;const T=ae[d]||ne.attributeCheck instanceof Function&&ne.attributeCheck(d,a);return Te&&Me(Ce,d)||De&&Me(He,d)?!0:T?xt[d]||Me(Ue,nn(_,Ke,""))||(d==="src"||d==="xlink:href"||d==="href")&&a!=="script"&&xr(_,"data:")===0&&Qe[a]||Xe&&!Me(ft,nn(_,Ke,""))?!0:!_:Io(a)&&_n(L.tagNameCheck,a)&&_n(L.attributeNameCheck,d,a)||d==="is"&&L.allowCustomizedBuiltInElements&&_n(L.tagNameCheck,_)},Au=J({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Io=function(a){return!Au[tn(a)]&&Me(rt,a)},wu=function(a,d,_,T){if(U&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!_)switch(C.getAttributeType(a,d)){case"TrustedHTML":return D(T);case"TrustedScriptURL":return O(T)}return T},Su=function(a,d,_,T){try{_?a.setAttributeNS(_,d,T):a.setAttribute(d,T),gn(a)?mt(a):Br(t.removed)}catch{bt(d,a)}},jo=function(a){tt(Y.beforeSanitizeAttributes,a,null);const d=a.attributes;if(!d||gn(a))return;ae=vo(Y.uponSanitizeAttribute,ae,b,at);const _={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let T=d.length;const I=he(a.nodeName);for(;T--;){const V=d[T],ce=V.name,de=V.namespaceURI,xe=V.value,ve=he(ce),Un=xe;let Be=ce==="value"?Un:$0(Un);if(_.attrName=ve,_.attrValue=Be,_.keepAttr=!0,_.forceKeepAttr=void 0,tt(Y.uponSanitizeAttribute,a,_),Be=_.attrValue,_e&&(ve==="id"||ve==="name")&&xr(Be,Bt)!==0&&(bt(ce,a,V),Be=Bt+Be),ze&&Me(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Be)){bt(ce,a,V);continue}if(ve==="attributename"&&Dr(Be,"href")){bt(ce,a,V);continue}if(!_.forceKeepAttr){if(!_.keepAttr){bt(ce,a,V);continue}if(!Ge&&Me(rd,Be)){bt(ce,a,V);continue}if(ge&&(Be=mn(Be)),!Ro(I,ve,Be)){bt(ce,a,V);continue}Be=wu(I,ve,de,Be),Be!==Un&&Su(a,ce,de,Be)}}tt(Y.afterSanitizeAttributes,a,null)},En=function(a){let d=null;const _=xo(a);for(tt(Y.beforeSanitizeShadowDOM,a,null);d=_.nextNode();)if(tt(Y.uponSanitizeShadowNode,d,null),Lo(d,a),jo(d),Lt(d.content)&&En(d.content),j(d)===Fe.element){const T=k(d);Lt(T)&&(Vn(T),En(T))}tt(Y.afterSanitizeShadowDOM,a,null)},Vn=function(a){const d=[{node:a,shadow:null}];for(;d.length>0;){const _=d.pop();if(_.shadow){En(_.shadow);continue}const T=_.node,V=j(T)===Fe.element,ce=g(T);if(ce)for(let de=ce.length-1;de>=0;--de)d.push({node:ce[de],shadow:null});if(V){const de=R?R(T):null;if(typeof de=="string"&&he(de)==="template"){const xe=T.content;Lt(xe)&&d.push({node:xe,shadow:null})}}if(V){const de=k(T);Lt(de)&&d.push({node:null,shadow:de},{node:de,shadow:null})}}};return t.sanitize=function(S){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=null,_=null,T=null,I=null;if(jn=!S,jn&&(S="<!-->"),typeof S!="string"&&!Vt(S)&&(S=U0(S),typeof S!="string"))throw Mt("dirty is not a string, aborting");if(!t.isSupported)return S;Ct?(te=Ze,ae=at):Hn(a),(Y.uponSanitizeElement.length>0||Y.uponSanitizeAttribute.length>0)&&(te=$e(te)),Y.uponSanitizeAttribute.length>0&&(ae=$e(ae)),t.removed=[];const V=ct&&typeof S!="string"&&Vt(S);if(V){Eu(S);const xe=H(S);if(typeof xe=="string"){const ve=he(xe);if(!te[ve]||$[ve])throw Cn(S),Mt("root node is forbidden and cannot be sanitized in-place")}if(gn(S))throw Cn(S),Mt("root node is clobbered and cannot be sanitized in-place");try{Vn(S)}catch(ve){throw Cn(S),ve}}else if(Vt(S))d=Do("<!---->"),_=d.ownerDocument.importNode(S,!0),_.nodeType===Fe.element&&_.nodeName==="BODY"||_.nodeName==="HTML"?d=_:d.appendChild(_),Vn(_);else{if(!lt&&!ge&&!Re&&S.indexOf("<")===-1)return U&&Et?D(S):S;if(d=Do(S),!d)return lt?null:Et?F:""}d&&it&&mt(d.firstChild);const ce=V?S:d;try{const xe=xo(ce);for(;T=xe.nextNode();)Lo(T,ce),jo(T),Lt(T.content)&&En(T.content)}catch(xe){throw V&&(Cn(S),Nt(t.removed,ve=>{ve.element&&yn(ve.element)})),xe}if(V)return Nt(t.removed,xe=>{xe.element&&yn(xe.element)}),ge&&zn(S),S;if(lt){if(ge&&zn(d),Tt)for(I=P.call(d.ownerDocument);d.firstChild;)I.appendChild(d.firstChild);else I=d;return(ae.shadowroot||ae.shadowrootmode)&&(I=ue.call(o,I,!0)),I}let de=Re?d.outerHTML:d.innerHTML;return Re&&te["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&Me(td,d.ownerDocument.doctype.name)&&(de="<!DOCTYPE "+d.ownerDocument.doctype.name+`>
|
|
783
|
+
`+de),ge&&(de=mn(de)),U&&Et?D(de):de},t.setConfig=function(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hn(S),Ct=!0,Ze=te,at=ae},t.clearConfig=function(){Ot=null,Ct=!1,Ze=null,at=null,U=Q,F=""},t.isValidAttribute=function(S,a,d){Ot||Hn({});const _=he(S),T=he(a);return Ro(_,T,d)},t.addHook=function(S,a){typeof a=="function"&&Le(Y,S)&&en(Y[S],a)},t.removeHook=function(S,a){if(Le(Y,S)){if(a!==void 0){const d=j0(Y[S],a);return d===-1?void 0:P0(Y[S],d,1)[0]}return Br(Y[S])}},t.removeHooks=function(S){Le(Y,S)&&(Y[S]=[])},t.removeAllHooks=function(){Y=zr()},t}var cd=Vr();const sd=/^(?:[a-z]+:)?\/\//i;let dd="";function hd(){return dd}function so(e){const t=String(e||"").trim();if(!t)return"";if(sd.test(t)||t.startsWith("data:")||t.startsWith("blob:"))return t;const n=t.startsWith("/")?t:`/${t}`,o=hd();return o?`${o}${n}`:n}function pd(){return Dn(new Date)}function Dn(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 rn=[],un=[],an=[],ln=[],xn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},vn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},fd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let ho=null,Ur=null,_t=null;function Cd({counts:e,forceRefresh:t}={}){const n=Object.assign({},fd,e||{}),o=pd(),r=Dn(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),u=JSON.stringify(n);if(!t&&Ur===o&&ho===u&&_t)return Object.assign(xn,_t.today),Object.assign(vn,_t.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:xn,yesterday:vn};const i={LISTEN_IN_NOISE:dt(rn,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:dt(un,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:dt(an,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:dt(ln,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let l=null;return _t&&ho===u&&_t.yesterday&&_t.yesterday.date===r&&(l=_t.yesterday.selection),l||(l={LISTEN_IN_NOISE:dt(rn,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:dt(un,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:dt(an,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:dt(ln,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(xn,i),Object.assign(vn,l),Ur=o,ho=u,_t={today:i,yesterday:{date:r,countsKey:u,selection:l}},{today:xn,yesterday:vn}}let Gr=!1,cn=null;async function yd(){try{const e=import.meta&&import.meta.env&&import.meta.env.BASE_URL||"/",t=await fetch(`${e}data/allTrainingData.json`);return t.ok?await t.json():null}catch{return null}}async function md(){if(!Gr)return cn||(cn=(async()=>{const e=await yd();if(!e){cn=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),i=String(r.category_main_code||r.category_main||r.category_0||""),l=String(r.category_sub_code||r.category_sub||r.category_1||""),c=Object.assign({},r,{training_type:u,category_0:i,category_1:l});u==="LISTEN_IN_NOISE"?rn.push(c):u==="SHORT_STORY"?un.push(c):u==="LONG_STORY"?an.push(c):u==="ORDERING_SENTENCE"&&ln.push(c)}}}catch{cn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{Cd()}catch{}Gr=!0})(),cn)}async function gd(e=3e3){const t=md();return Promise.race([t,new Promise(n=>setTimeout(n,e))])}const _d=[{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."}],Ed={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function bd(e){return _d.map(t=>{const n=Ed[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}function kd(e){return typeof window>"u"?"":cd.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function Ad(e){const[t,n]=B(null),[o,r]=B(null),[u,i]=B(null),[l,c]=B(null);return X(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){n(null),r(null),i(null);return}const p=e.split("/").pop();let h=e;p&&(e.startsWith("/")?h=so(e):/^(Logo|Symbol)/i.test(p)?h=so(`logo/${p}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),h=e)),n(h)},[e]),X(()=>{if(!t)return;let p=!1;async function h(){try{let C=await fetch(t);C.ok||(C=await fetch(t));const s=C.headers.get("content-type")||"";if(p)return;if(s.includes("svg")){r("mask");return}if(s.startsWith("image/")){r("img");return}const m=await fetch(t);if(!m.ok)throw new Error("not ok");const E=await m.text();if(p)return;if(/^\s*<svg[\s>]/i.test(E)){const A=kd(E);if(!A){r("none");return}i(A),r("inline");return}r("none")}catch{p||r("none")}}return h(),()=>{p=!0}},[t]),X(()=>{let p=!1,h=null;return o==="mask"&&t&&fetch(t).then(C=>{if(!C.ok)throw new Error("fetch failed");return C.blob()}).then(C=>{p||(h=URL.createObjectURL(C),c(h))}).catch(()=>{p||r("img")}),()=>{p=!0,h&&URL.revokeObjectURL(h),c(null)}},[o,t]),{iconToUse:t,mode:o,svgText:u,blobUrl:l}}function wd(e){const{icon:t,label:n,className:o,imgClassName:r,maskClassName:u,svgClassName:i,wrapperStyle:l,size:c}=e||{},p=o??"iconRenderer-icon",h=r??"iconRenderer-icon-image",C=u??"iconRenderer-icon-mask",s=i??"iconRenderer-icon-svg",m=typeof t=="string"?t:null,E=T0(m),{iconToUse:A,mode:g,svgText:y,blobUrl:k}=Ad(m),N=(j,H={})=>oe("span",{className:p,style:l,...H,children:j}),x=(j,H={})=>oe("img",{src:j,alt:typeof n=="string"?n:n?String(n):"",className:h,...H});if(!t)return null;if(typeof t!="string")return N(t);if(t==="none")return N(oe("span",{className:s,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 N(Ut(E,{className:s,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(A&&A.endsWith(".svg")){if(g==="mask"){const j={"--icon-url":k?`url(${k})`:`url(${A})`};return N(oe("span",{className:C,style:j}),{"aria-hidden":"true"})}return g==="img"?N(x(A,{onError:j=>{j.currentTarget.onerror=null,j.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):g==="inline"?N(oe("span",{className:s,dangerouslySetInnerHTML:y?{__html:y}: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 x(so(t),{style:l,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(oe("span",{className:s,dangerouslySetInnerHTML:{__html:v}}),{"aria-hidden":"true"})}function Yr(e){const{anchorRect:t,anchorEl:n,offset:o=20,edgeMargin:r=20,onClose:u,closeOnOutsideClick:i=!0,className:l="",role:c="dialog",ariaLabel:p="",children:h,backdrop:C=!1,isMobilePopup:s=!1,useBorder:m=!0,header:E}=e||{},A=Oe(null),[g,y]=B({position:"fixed",left:0,top:-9999}),[k,N]=B(!1),[x,R]=B("bottom"),[v,j]=B(!1),[H,U]=B(!1),F=!t&&!n,Q=q((D=!1)=>{if(H&&s)return;const O=n?n.getBoundingClientRect():t;if(!O||!A.current)return;const me=A.current,{offsetWidth:Z,offsetHeight:ee}=me,w=window.innerWidth,P=window.innerHeight,re=w-O.right,ue=O.left,Y=O.top,Ae=P-O.bottom;let M=0,fe=0,Ce="top";if(Y>=ee+o)Ce="top",fe=O.top-o-ee,M=O.left+O.width/2-Z/2;else if(Ae>=ee+o)Ce="bottom",fe=O.bottom+o,M=O.left+O.width/2-Z/2;else if(re>=Z+o)Ce="right",M=O.right+o,fe=O.top+O.height/2-ee/2;else if(ue>=Z+o)Ce="left",M=O.left-o-Z,fe=O.top+O.height/2-ee/2;else{const rt=Math.max(Y,Ae,re,ue);rt===Y?(Ce="top",fe=O.top-o-ee,M=O.left+O.width/2-Z/2):rt===Ae?(Ce="bottom",fe=O.bottom+o,M=O.left+O.width/2-Z/2):rt===re?(Ce="right",M=O.right+o,fe=O.top+O.height/2-ee/2):(Ce="left",M=O.left-o-Z,fe=O.top+O.height/2-ee/2)}const He=Number(r)||8;M=Math.min(Math.max(M,He),w-Z-He),fe=Math.min(Math.max(fe,He),P-ee-He);const ft=Math.round(M),Ke=Math.round(fe);D&&A.current?(A.current.style.left=`${ft}px`,A.current.style.top=`${Ke}px`,A.current.dataset.placement=Ce):(R(Ce||x),y({position:"fixed",left:ft,top:Ke}),j(!0))},[H,s,n,t,o,r,x]);Nu(()=>{if(F)return;if(H&&s){y({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),j(!0);return}Q();const D=requestAnimationFrame(()=>Q());return()=>cancelAnimationFrame(D)},[t,n,o,h,r,F,H,s,Q]),X(()=>{if(F||H&&s||!A.current||typeof ResizeObserver>"u")return;const D=new ResizeObserver(()=>{t&&Q()});return D.observe(A.current),()=>D.disconnect()},[t,h,r,F,H,s,Q]),X(()=>{if(F||H&&s)return;const D=()=>Q(!0);return window.addEventListener("resize",D),document.addEventListener("scroll",D,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",D),document.removeEventListener("scroll",D,{capture:!0})}},[t,o,h,r,F,H,s,Q]),X(()=>{if(typeof window>"u"||!window.matchMedia)return;const D=window.matchMedia("(max-width: 768px)"),O=()=>U(!!D.matches);O();try{D.addEventListener?D.addEventListener("change",O):D.addListener(O)}catch{try{D.addListener(O)}catch{}}return()=>{try{D.removeEventListener?D.removeEventListener("change",O):D.removeListener(O)}catch{}}},[]);const G=Oe(!1),W=q((D=!1)=>{if(!(k||G.current)){if(G.current=!0,D){N(!0);try{u&&u()}catch{}return}N(!0),setTimeout(()=>{u&&u()},200)}},[k,u,N]);X(()=>{const D=Z=>{const ee=A.current;if(!ee)return;const w=Z.target;if(w&&!ee.contains(w)){try{if(w.closest&&w.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},O=Z=>{const ee=A.current;if(!ee)return;const w=Z.target;if(w&&!ee.contains(w)){try{if(w.closest&&w.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},me=Z=>{if(Z.key==="Escape"){Z.stopPropagation(),W();return}if(Z.key==="Tab"){const ee=A.current;if(!ee)return;const w=ee.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!w||w.length===0)return;const P=w[0],re=w[w.length-1],ue=document.activeElement;Z.shiftKey?ue===P&&(Z.preventDefault(),re.focus()):ue===re&&(Z.preventDefault(),P.focus())}};return document.addEventListener("pointerdown",D,!0),document.addEventListener("click",O,!0),document.addEventListener("keydown",me),()=>{document.removeEventListener("pointerdown",D,!0),document.removeEventListener("click",O,!0),document.removeEventListener("keydown",me)}},[u,i,W]),X(()=>{const D=()=>{W(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",D),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",D)}},[W]);const z=Ie("div",{ref:A,className:`tooltip-content ${m?"tooltip-content--bordered":""} ${k?"is-closing":""} ${l} ${H&&s?"is-mobile":""}`,role:c,"aria-label":p||void 0,style:F?{}:{...g,visibility:v?"visible":"hidden"},tabIndex:-1,"data-placement":x,"data-left":F?"":g.left,"data-top":F?"":g.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&&oe("div",{className:"tooltip-content__header h5",children:E}),h]});if(F||typeof document>"u")return z;if(C||H&&s){const D=Ie("div",{className:"tooltip-portal",children:[oe("div",{className:"tooltip-backdrop",onClick:()=>{i&&W(!0)}}),z]});return $o(D,document.body)}return $o(z,document.body)}function Sd(e){const{anchorRect:t,text:n,offset:o=8,onClose:r,className:u="",ariaLabel:i}=e||{};return n?oe(Yr,{anchorRect:t,offset:o,onClose:r,closeOnOutsideClick:!1,className:`tooltip-info ${u}`,ariaLabel:i||n,children:oe("div",{className:"tooltip-info__content body-3",children:n})}):null}function qr(e){const{anchorRect:t,title:n,items:o,activeIndex:r=-1,showIndex:u=!0,onClose:i,offset:l=12}=e||{},c=Array.isArray(o)?o:o?[o]:[];return!c.length&&!n?null:oe(Yr,{anchorRect:t,offset:l,onClose:i,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:Ie("div",{className:"tooltip-description__box",children:[n&&oe("span",{className:"tooltip-description__title body-2",children:n}),oe("ol",{className:"tooltip-description__items",children:c.map((p,h)=>Ie("li",{className:`tooltip-description__item body-3${h===r?" tooltip-description__item--active":""}`,children:[u&&c.length>1&&Ie("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),oe("span",{children:p})]},h))})]})})}function Nd(e){const{size:t=48,type:n,htmlType:o,href:r,target:u,rel:i,icon:l,rightIcon:c,label:p,count:h,subLabel:C,children:s,ariaLabel:m,variant:E="default",align:A="center",selected:g,toggleable:y=!1,disabled:k=!1,useLabel:N=!0,useBorder:x=!0,useBG:R=!0,useDisabledCovered:v=!1,useDisabledInvisible:j=!1,width:H,minWidth:U,onClick:F,onDisabledClick:Q,showTooltipInfo:G=!1,tooltipInfoText:W=null,tooltipDescription:z=null,iconSize:D="medium",iconColor:O,shape:me="rounded",color:Z,className:ee,...w}=e,P=typeof t=="string"&&isNaN(Number(t))?t.toLowerCase():String(Number(t)||48),re=P.match(/^\d+$/)?`button${P}`:`button-${P}`,ue=Number(t),Y=!isNaN(ue)&&ue<40?"button-2":"button-1",Ae=p??s,M=k||!!w.disabled,fe=M?v?"disabled-covered":j?"disabled-invisibled":"disabled":E,Ce=fe?`button--variant-${fe}`:"",He=A?`button--align-${A}`:"",ft=me?`button--shape-${me}`:"",Ke=typeof O=="string"&&O.startsWith("--")?`var(${O})`:O,rt={...H?{width:typeof H=="number"?`${H}px`:H}:{},...U?{minWidth:typeof U=="number"?`${U}px`:U}:{},...x?{}:{"--button-border":M?"0":"1px solid transparent"},...Ke?{"--button-icon-color":Ke}:{},...Z?{"--color-main":Z}:{}},Ue=N===!1?"":Ae,te=Array.isArray(Ue)?Ue.length>0:!!Ue,ut=!!c,ae=n??(te||l||ut?"bar":"dot"),b=`${re}--${ae}`,L=Oe(null),$=Oe(M),[K,ne]=B(!!g),[De,Te]=B(!1),[Xe,Ge]=B(null),ge=q(()=>Te(!1),[]);X(()=>{(G||z)&&M&&De&&(Te(!1),Ge(null))},[M,G,z,De]),X(()=>{typeof g=="boolean"&&ne(g)},[g]),X(()=>{if($.current&&!M&&L.current){const ie=L.current;ie.blur(),ie.style.pointerEvents="none";const Qe=requestAnimationFrame(()=>{requestAnimationFrame(()=>{L.current&&(L.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(Qe)}$.current=M},[M]);const ze=typeof g=="boolean"?!!g:K,Re=y||typeof g=="boolean"?ze?"true":"false":void 0,Ct=Ga("button",re,b,Ce,He,ft,ze?"is-selected":null,R?null:"button--no-bg",ee),Ze=`button__icon button__icon--${D}`,at=Array.isArray(C)?C:C!==void 0?[C]:[],it=()=>{if(Array.isArray(Ue))return Ue.map((Qe,Ht)=>{const xt=at[Ht];return Ie("span",{className:`button__label-text${xt!==void 0?" button__label-text--has-sub":""}`,children:[Qe,xt!==void 0&&oe("span",{className:"button__sub-label-text caption-1",children:xt})]},Ht)});const ie=C!==void 0;return Ie("span",{className:`button__label-text${ie?" button__label-text--has-sub":""}`,children:[Ue,h!=null&&oe("span",{className:"button__count",children:h}),ie&&oe("span",{className:"button__sub-label-text caption-1",children:C})]})},lt=ie=>{M||(typeof w.onMouseLeave=="function"&&w.onMouseLeave(ie),typeof g!="boolean"&&ne(!1),ie.currentTarget.blur())},Tt=ie=>{if(M){Q?.(ie);return}typeof g!="boolean"&&y&&ne(Qe=>!Qe),F?.(ie)},Et=q(()=>{!M&&(G||z)&&(Te(!0),Ge(L.current?.getBoundingClientRect()??null))},[M,G,z]),Ft=q(()=>{(G||z)&&(Te(!1),Ge(null))},[G,z]),_e={...w};delete _e.disabled,delete _e.className,delete _e.faded,delete _e.useFaded,delete _e.loading,delete _e.onMouseLeave,delete _e.onPointerEnter,delete _e.onPointerLeave,delete _e.onFocus,delete _e.onBlur,M&&(Object.keys(_e).forEach(ie=>{/^on[A-Z]/.test(ie)&&typeof _e[ie]=="function"&&delete _e[ie]}),_e["aria-disabled"]="true");const Bt=(typeof G=="string"?G:null)??(typeof W=="string"?W:null)??(typeof m=="string"?m:null)??(typeof Ae=="string"?Ae:null)??void 0,Dt=typeof m=="string"?m:typeof Ae=="string"?Ae:Bt,ct=(ie,Qe)=>oe(wd,{icon:ie,label:Qe??Dt,className:Ze,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),yt=()=>ae==="dot"?Ie(Gt,{children:[ct(l),te&&oe("span",{className:`button__label ${Y}`,children:it()})]}):A==="center"&&l?Ie(Gt,{children:[Ie("span",{className:"button__center-group",children:[oe("span",{className:"button__left",children:ct(l)}),te&&oe("span",{className:`button__label ${Y}`,children:it()})]}),ut&&oe("span",{className:"button__right",children:ct(c)})]}):Ie(Gt,{children:[l&&oe("span",{className:"button__left",children:ct(l,m??Ae)}),te&&oe("span",{className:`button__label ${Y}`,children:it()}),ut&&oe("span",{className:"button__right",children:ct(c)})]}),Je=!!r&&!M;return Ie(Gt,{children:[oe(Je?"a":"button",{..._e,ref:L,...Je?{href:r,target:u,rel:i??(u==="_blank"?"noreferrer":void 0)}:{type:o,disabled:M&&!Q},className:Ct,"aria-pressed":Re,"aria-label":Dt,"aria-disabled":Je&&M?!0:void 0,style:rt,onClick:Tt,onMouseLeave:lt,onPointerEnter:ie=>{Et(),!M&&typeof w.onPointerEnter=="function"&&w.onPointerEnter(ie)},onPointerLeave:ie=>{Ft(),!M&&typeof w.onPointerLeave=="function"&&w.onPointerLeave(ie)},onFocus:ie=>{Et(),!M&&typeof w.onFocus=="function"&&w.onFocus(ie)},onBlur:ie=>{lt(ie),Ft(),!M&&typeof w.onBlur=="function"&&w.onBlur(ie)},children:yt()}),De&&z?oe(qr,{anchorRect:Xe,title:z.title,items:z.items,onClose:ge}):De&&Bt?oe(Sd,{anchorRect:Xe,text:Bt,onClose:ge}):null]})}function Wr(){const[e,t]=B(null),n=q(u=>t(u.getBoundingClientRect()),[]),o=q(()=>t(null),[]),r=q(u=>{const i=u.getBoundingClientRect();t(l=>l?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:r}}function Md(e){const[t,n]=B(null),[o,r]=B(null),u=Oe(null);X(()=>()=>{u.current&&clearTimeout(u.current)},[]);const i=q((c,p)=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{n(c),r(p)},e)},[e]),l=q(()=>{u.current&&clearTimeout(u.current),n(null),r(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:i,close:l}}function Td({title:e,items:t}){const{t:n}=kt(),{anchorRect:o,openAt:r,close:u}=Wr();return Ie(Gt,{children:[oe(Nd,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:n("common.info","\uC124\uBA85"),onPointerEnter:i=>r(i.currentTarget),onPointerLeave:u,onFocus:i=>r(i.currentTarget),onBlur:u}),o&&oe(qr,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:u})]})}function Kr(){const{t:e}=kt();return we(()=>({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 Xr(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 Zr(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function Jr(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function Bd(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 Dd(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 xd(e,t){const{label:n,headValue:o,midValue:r,tailValue:u,includeMid:i=!0,headDisabled:l,midDisabled:c,tailDisabled:p,allOptionDisabled:h,groupLabel:C,labelAction:s}=t;return{label:n,...C?{groupLabel:C}:{},...s?{labelAction:s}:{},allOption:!0,allLabel:e("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...h?{allOptionDisabled:h}:{},items:[{value:o,displayLabel:e("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:l},...i?[{value:r,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:c}]:[],{value:u,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:p}]}}function vd(e,t,n){if(t===St){const{[n]:u,...i}=e;return i}const o=e[n]??[],r=o.includes(t)?o.filter(u=>u!==t):[...o,t];if(r.length===0){const{[n]:u,...i}=e;return i}return{...e,[n]:r}}Object.fromEntries(Object.entries(ia).map(([e,{nucleus:t}])=>[e,t]));const Od={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},Ld={"\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"]},Rd={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:Ld,typeMap:Od};function Id(e,t,n=Rd){const o=t[n.difficulty];if(o?.length&&!o.some(l=>e.grade===l.replace(/\D/g,"")))return!1;const r=t[n.syllables];if(r?.length){const l=e.syllables??0;if(!r.some(c=>c===n.syllable5plus?l>=5:l===parseInt(c)))return!1}const u=t[n.partOfSpeech];if(u?.length&&!u.flatMap(l=>n.posMap[l]??[l]).some(l=>(e.pos??"").includes(l)))return!1;const i=t[n.wordType];return!(i?.length&&!i.some(l=>e.wordType===n.typeMap[l]))}const ht=(e,t)=>t.map(n=>({jamos:[n],tooltip:e})),ke=(e,t)=>({jamos:[...e],tooltip:t}),po={cho:[ht("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),ht("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),ht("\uCE58\uC870\uC74C",["\u3145","\u3146"]),ht("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),ht("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),ht("\uC131\uBB38\uC74C",["\u314E"])],jung:[[ke("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),ke("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),ke("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[ke("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[ke("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),ke("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[ke("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),ke("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),ke("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[ke("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),ke("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),ke("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[ke("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),ke("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[ke("\u314F","\uC800\uBAA8\uC74C"),ke("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),ke("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[ht("\uC591\uC21C\uC74C",["\u3142","\u3141"]),ht("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),ht("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},jd=[...Se],Pd=[...st],$d=Ve.filter(e=>e!==""),pt=e=>e===nt?[]:Array.from(e),nt="__NO_CODA__",Qr=[1,2,3,4],ot=5,Fd=12,eu="SYL_",fo=e=>`${eu}${e}`,Hd=e=>Number(e.slice(eu.length));function Co(e){return e>=ot?Array.from({length:Fd-ot+1},(t,n)=>ot+n):[e]}const tu={cho:jd,jung:Pd,jong:$d},yo=e=>e.map(t=>t.map(({jamos:n,tooltip:o})=>({v:n.join(""),tooltip:o}))),mo={cho:yo(po.cho),jung:yo(po.jung),jong:yo(po.jong)},nu={};mo.jung.flat().forEach(({v:e})=>{for(const t of pt(e))nu[t]=e});const zd=new Set(mo.cho.flat().map(e=>e.v));function ou(e,t){return e==="cho"?zd.has(t)?t:null:e==="jung"?nu[t]??t:nr(t)}function ru(e,t,n){if(e==="jung"){const o=pt(t);return n&&o.includes(n)?n:o[0]??t}return t}function uu(e,t,n){const o=(r,u)=>u?r==="jong"&&u===nt?nt:t==="pron"?ou(r,u):ru(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 go={cho:null,jung:null,jong:null,syllable:null},Vd="wt_filter",au=e=>`wt_filter_${e}`;function Ud(e){try{const t=localStorage.getItem(au(e))??localStorage.getItem(Vd);if(t)return JSON.parse(t)}catch{}return null}function Gd(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?{...go,cho:t.choseong}:go}function Yd(e,t,n){const{t:o,i18n:r}=kt(),[u]=B(()=>n?.resetOnMount?null:Ud(e)),i=u?.contrastCount,l=typeof i=="number"&&Number.isFinite(i)?i:1,[c,p]=B(Math.min(5,Math.max(1,l))),[h,C]=B(u?.phonemeView==="pron"?"pron":u?.phonemeView==="direct"?"direct":"char"),[s,m]=B(()=>Gd(u)),E=q(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:nt,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?nt:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);X(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||m(b=>b.cho||b.jung||b.syllable!=null||b.jong?b:E())},[]);const A=we(()=>be(s.cho)||be(s.jung)||be(s.jong)?"count":"random",[s.cho,s.jung,s.jong]),g=Oe(h==="char"?s.jung:null);X(()=>{h==="char"&&(g.current=s.jung)},[h,s.jung]);const[y,k]=B(n?.resetOnMount?!!n?.defaultImageOnly:u?.excludeNoImage??!0),[N,x]=B(n?.resetOnMount?!1:u?.sameStructureOnly??!0),[R,v]=B(Array.isArray(u?.gradeFilter)?u.gradeFilter:[]),[j,H]=B(Array.isArray(u?.posFilter)?u.posFilter:[]),[U,F]=B(Array.isArray(u?.wordTypeFilter)?u.wordTypeFilter:[]),Q=Oe(n?.resetKey);X(()=>{Q.current!==n?.resetKey&&(Q.current=n?.resetKey,m(E()),k(!1),x(!1),v([]),H([]),F([]),p(1))},[n?.resetKey]);const G=Kr(),[W,z]=B({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[D,O]=B(!1),[me,Z]=B(null),ee=1,w=Math.max(1,[s.cho,s.jung,s.jong].filter(Boolean).length);X(()=>{c<w&&p(w)},[w,c]),X(()=>{if(!n?.resetOnMount)try{localStorage.setItem(au(e),JSON.stringify({contrastCount:c,composition:s,excludeNoImage:y,sameStructureOnly:N,phonemeView:h,gradeFilter:R,posFilter:j,wordTypeFilter:U}))}catch{}},[n?.resetOnMount,e,c,s,y,N,h,R,j,U]);const[P,re]=B(0);zo("wordpool:update",()=>re(b=>b+1));const ue=Oe(r.language);X(()=>{ue.current!==r.language&&(ue.current=r.language,re(b=>b+1))},[r.language]),X(()=>{if(!t.choseong)return;let b=!1;return Ua({difficulty:A,excludeNoImage:y}).then(L=>{b||(z(L),L.cho.size+L.jung.size+L.jong.size>0&&O(!0))}).catch(()=>{b||z({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{b=!0}},[t.choseong,A,y,P]),X(()=>{let b=!1;const L=s,$=L.cho?pt(L.cho):null,K=L.jung?pt(L.jung):null,ne=L.jong===nt,De=ne?null:L.jong?pt(L.jong):null,Te=L.syllable!=null?Co(L.syllable):null,Xe=!!($||K||De||ne||Te);return Va({difficulty:t.difficulty?A:null,contrastCount:t.difficulty?c:1,composition:t.choseong&&Xe?{cho:$,jung:K,jong:De,jongNone:ne,syllable:Te}:null,excludeNoImage:y,sameStructureOnly:N,phonemeView:h==="pron"?"pron":"char",grade:R.length>0?R:null}).then(Ge=>{b||Z(Ge)}).catch(()=>{b||Z(null)}),()=>{b=!0}},[t.choseong,t.difficulty,A,c,s,h,y,N,P,R]),X(()=>{D&&m(b=>{const L={...b};let $=!1;return["cho","jung","jong"].forEach(K=>{const ne=b[K];!ne||ne===nt||pt(ne).some(De=>W[K].has(De))||(L[K]=null,$=!0)}),b.syllable!=null&&t.fixedSyllable==null&&(b.syllable>=ot?[...W.syllable].some(K=>K>=ot)||(L.syllable=null,$=!0):(!W.syllable.has(b.syllable)||b.syllable<ee)&&(L.syllable=null,$=!0)),$?L:b})},[W,D,ee,t.fixedSyllable]);const Y=we(()=>{const b=L=>{const $=new Set;for(const K of tu[L])W[L].has(K)&&$.add(K);return $};return{cho:b("cho"),jung:b("jung"),jong:b("jong")}},[W]),Ae=we(()=>({exact:new Set(Qr.filter(b=>W.syllable.has(b))),min:[...W.syllable].some(b=>b>=ot)}),[W]),M=we(()=>({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]),fe=we(()=>({[M.trainOnset]:"cho",[M.trainVowel]:"jung",[M.trainCoda]:"jong"}),[M]),Ce=q((b,L)=>Ut(Td,{title:L,items:b}),[]),He=we(()=>[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]),ft=we(()=>{const b=[];if(t.choseong){const L={value:nt,displayLabel:M.codaExclude},$=t.fixedNoCoda===!0,K=(ne,De)=>{const Te=$&&ne==="jong",Xe={label:De,groupLabel:M.phonemeGroup,allOption:!t.requireSyllable,allLabel:M.noLimit,allOptionDisabled:Te};if(h==="pron"){const ge=mo[ne].map(ze=>ze.map(({v:Re,tooltip:Ct})=>{const Ze=pt(Re),at=Te||!Ze.some(it=>W[ne].has(it));return Ze.length>1?{value:Re,labels:Ze,tooltip:Ct,disabled:at}:{value:Re,tooltip:Ct,disabled:at}}));return ne==="jong"&&!t.requireCoda&&ge.unshift([L]),{...Xe,groups:ge}}const Ge=tu[ne].map(ge=>!Te&&Y[ne].has(ge)?ge:{value:ge,disabled:!0});return{...Xe,items:ne==="jong"&&!t.requireCoda?[L,...Ge]:Ge}};b.push(K("cho",M.trainOnset)),b.push(K("jung",M.trainVowel)),b.push(K("jong",M.trainCoda))}if(b.push({...Xr(o,G,{labelAction:Ce([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:M.gradeLabel}),t.partOfSpeech&&b.push(Zr(G)),t.wordType&&b.push(Jr(G)),t.choseong||t.fixedSyllable!=null){const L=t.fixedSyllable;b.push({label:M.syllableCount,items:[...Qr.map($=>({value:fo($),displayLabel:o("wordPairs.syllableN",{n:$,defaultValue:"{{n}}\uC74C\uC808"}),disabled:L!=null?$!==L:!Ae.exact.has($)||$<ee})),{value:fo(ot),displayLabel:o("wordPairs.syllableNPlus",{n:ot,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:L!=null?ot!==L:!Ae.min}],allOption:!0,allOptionDisabled:L!=null})}return t.choseong?b.push({label:M.exclude,displayLabel:M.selectLabel,multiple:!0,items:[M.excludeImage,M.sameStructure],labelAction:Ce(He)}):b.push({label:M.exclude,displayLabel:M.selectLabel,multiple:!0,items:[M.excludeImage],labelAction:Ce([He[0]])}),b},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,ee,Y,W,h,Ae,M,o,Ce,He,G]),Ke={...t.difficulty?{[M.diffPhonemeCount]:String(c)}:{},...(t.choseong||t.fixedSyllable!=null)&&s.syllable!=null?{[M.syllableCount]:fo(s.syllable)}:{},...t.choseong&&s.cho?{[M.trainOnset]:s.cho}:{},...t.choseong&&s.jung?{[M.trainVowel]:s.jung}:{},...t.choseong&&s.jong?{[M.trainCoda]:s.jong}:{},[M.exclude]:[...y?[M.excludeImage]:[],...N?[M.sameStructure]:[]],[M.gradeLabel]:R.map(b=>o("wordSearch.filter.grade",{n:Number(b),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[G.partOfSpeech]:j}:{},...t.wordType?{[G.wordType]:U}:{}},rt=q((b,L)=>{if(L===M.diffPhonemeCount){const $=Number(b);$>=1&&p($)}else if(L===M.exclude)b===M.excludeImage?k($=>!$):b===M.sameStructure&&x($=>!$);else if(L===M.syllableCount)m($=>{if(!b||b===St)return{...$,syllable:null};const K=Hd(b);return{...$,syllable:$.syllable===K?null:K}});else if(L===M.gradeLabel){if(!b||b===St){v([]);return}const $=b.replace(/\D/g,"");v(K=>K.includes($)?K.filter(ne=>ne!==$):[...K,$])}else if(L===G.partOfSpeech){if(!b||b===St){H([]);return}H($=>$.includes(b)?$.filter(K=>K!==b):[...$,b])}else if(L===G.wordType){if(!b||b===St){F([]);return}F($=>$.includes(b)?$.filter(K=>K!==b):[...$,b])}else{const $=fe[L];if(!$)return;m(K=>t.requireSyllable?b&&b!==St?{...K,[$]:b}:K:!b||b===St||K[$]===b?{...K,[$]:null}:{...K,[$]:b})}},[M,fe,G,t.requireSyllable]),Ue=q(b=>!t.partOfSpeech&&!t.wordType?!0:Id(b,{...t.partOfSpeech?{[G.partOfSpeech]:j}:{},...t.wordType?{[G.wordType]:U}:{}},G),[t.partOfSpeech,t.wordType,j,U,G]),te=q(b=>{b!==h&&(b!=="direct"&&h!=="direct"&&m(L=>uu(L,b,g.current)),C(b))},[h]),ut=q(()=>({composition:s,contrastCount:c,excludeNoImage:y,sameStructureOnly:N,phonemeView:h,gradeFilter:R}),[s,c,y,N,h,R]),ae=q(b=>{m(b.composition),p(b.contrastCount),k(b.excludeNoImage),x(b.sameStructureOnly??!0),C(b.phonemeView),v(Array.isArray(b.gradeFilter)?b.gradeFilter:[])},[]);return{difficulty:A,contrastCount:c,composition:s,choseong:s.cho,excludeNoImage:y,sameStructureOnly:N,gradeFilter:R,posFilter:j,wordTypeFilter:U,matchesWordAttributes:Ue,poolVersion:P,filterSections:ft,filterSelected:Ke,handleFilterSelect:rt,phonemeView:h,setPhonemeView:te,phonemeGroupLabel:M.phonemeGroup,wordCount:me,getFilterSnapshot:ut,restoreFilterSnapshot:ae}}function qd(e){const t=l=>l?pt(l):null,n=t(e.cho),o=t(e.jung),r=e.jong===nt,u=r?null:t(e.jong),i=e.syllable!=null?Co(e.syllable):null;return!n&&!o&&!u&&!r&&!i?null:{cho:n,jung:o,jong:u,jongNone:r,syllable:i}}function Wd(e,t,n,o,r,u,i=!0,l="char",c=[]){const[p,h]=B({}),[C,s]=B(!1),{cho:m=null,jung:E=null,jong:A=null,syllable:g=null}=o??{};return X(()=>{u>0&&za(r).catch(()=>{})},[u,r]),X(()=>{let y=!1;return s(!0),(async()=>{const k=qd({cho:m,jung:E,jong:A,syllable:g}),N=c.length>0?c.slice().sort().join(","):"",x=`${m??""}_${E??""}_${A??""}_${g??""}_${N}`,R={};await Promise.all(e.map(async v=>{const j=Wn[v.key];try{const H=await yr(v.key,{difficulty:j.difficulty?t:null,contrastCount:j.difficulty?n:1,composition:j.choseong?k:null,count:5,excludeNoImage:r,sameStructureOnly:i,phonemeView:l,grade:c.length>0?c:null});H&&H.length>0?R[v.key]={id:`wt-${v.key}-${t}-${x}-${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}})),y||(h(R),s(!1))})(),()=>{y=!0}},[t,n,m,E,A,g,r,i,l,u,c]),{perTypeData:p,generating:C}}function Kd(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 Xd(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 On=dt;function _o(e,t){const n=t?Xd(Kd(t)):Math.random;return{LISTEN_IN_NOISE:On(rn,Math.max(0,e.LISTEN_IN_NOISE||0),n),SHORT_STORY:On(un,Math.max(0,e.SHORT_STORY||0),n),LONG_STORY:On(an,Math.max(0,e.LONG_STORY||0),n),ORDERING_SENTENCE:On(ln,Math.max(0,e.ORDERING_SENTENCE||0),n)}}function iu(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const Zd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function lu(e=!1,t=Zd,n){const o=Dn(Date.now()),r=Dn(Date.now()-864e5),u=`${n??""}|${o}`,i=`${n??""}|${r}`;return rn.length>0||un.length>0||an.length>0||ln.length>0?{today:_o(t,u),yesterday:_o(t,i)}:{today:_o(t,u),yesterday:null}}function Jd(e){const t=Oe({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=Oe(null),[o,r]=B(!1),[u,i]=B(!1);X(()=>{let c=!1,p,h=0;const C=40,s=()=>{p!==void 0&&(clearInterval(p),p=void 0)};let m=!1;try{const g=new URLSearchParams(window.location.search),y=g.get("forceRefresh")||g.get("force");m=y==="1"||y==="true"}catch{}const E=g=>{t.current=g.today,n.current=g.yesterday,r(!0),c=!0,s()},A=async()=>{if(c)return;if(!m){const y=lu(!1,void 0,e);if(iu(y.today)){E(y);return}}try{await gd(3e3)}catch{}if(c)return;const g=lu(m,void 0,e);if(iu(g.today)){E(g);return}++h>=C&&(r(!0),c=!0,s())};return A(),p=setInterval(A,250),()=>{c=!0,s()}},[e]);const l=q(c=>{const p=u?n.current:t.current,h=u?t.current:n.current;return p?.[c]?.length?p[c]:h?.[c]?.length?h[c]:void 0},[u]);return{loaded:o,showYesterday:u,setShowYesterday:i,getTrainingPerType:l}}const $t=[];let Ln=!1;function cu(e){if(e.key!=="Escape"||e.defaultPrevented)return;const t=$t[$t.length-1];t&&(e.stopPropagation(),t())}function Qd(e){return $t.push(e),!Ln&&typeof document<"u"&&(document.addEventListener("keydown",cu),Ln=!0),()=>{const t=$t.lastIndexOf(e);t>=0&&$t.splice(t,1),$t.length===0&&Ln&&typeof document<"u"&&(document.removeEventListener("keydown",cu),Ln=!1)}}function eh(e,t=!0){const n=Ho(e);X(()=>{if(t)return Qd(()=>{n.current?.()})},[t,n])}const Eo=(e,t)=>`${e}:${t??1}`,bo=new Map;function th(e,t){const[n,o]=B(0),r=e.map(u=>Eo(u.word,u.homonum)).join("|");return X(()=>{const u=(r?r.split("|"):[]).filter(c=>!bo.has(c));if(u.length===0)return;let i=!1;const l=Array.from(new Set(u.map(c=>c.slice(0,c.lastIndexOf(":")))));return t(l).then(c=>{if(!(i||c.length===0)){for(const p of c)p.Meaning&&bo.set(Eo(p.Word,p.Homonum??void 0),p.Meaning);o(p=>p+1)}}),()=>{i=!0}},[r,t]),we(()=>{const u=r?r.split("|"):[],i=new Map;for(const l of u){const c=bo.get(l);c!=null&&i.set(l,c)}return i},[r,n])}function nh(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:we(()=>e.slice((u-1)*o,u*o),[e,u,o]),totalPages:r,curPage:u}}function oh(e="warning"){const[t,n]=B(""),[o,r]=B(e),[u,i]=B(0),l=q((C,s)=>{r(s),n(C),i(m=>m+1)},[]),c=q(C=>l(C,"warning"),[l]),p=q(C=>l(C,"normal"),[l]),h=q(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:u,showToast:l,showWarning:c,showNormal:p,clearToast:h}}const sn={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},dn=sn.blue,Rn=sn.green,hn=sn.amber,In=sn.purple,rh=sn.pink,uh=[{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:dn,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:dn,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:dn,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:dn,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:dn,subTitle:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."}]},{key:"synthesis",label:"\uD569\uC131\uD6C8\uB828",disc:"\uB450 \uAC1C \uC774\uC0C1\uC758 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uD569\uCCD0 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"git-merge",types:[{key:"MERGE_2_SYLLABLES",label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",icon:"link-2",color:Rn,subTitle:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_SYLLABLES",label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",icon:"git-merge",color:Rn,subTitle:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_2_PHONEMES",label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",icon:"combine",color:Rn,subTitle:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_PHONEMES",label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",icon:"braces",color:Rn,subTitle:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"}]},{key:"deletion",label:"\uD0C8\uB77D\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC5D0\uC11C \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uC81C\uAC70\uD588\uC744 \uB54C \uB0A8\uB294 \uC18C\uB9AC\uB97C \uC778\uC2DD\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"scissors",types:[{key:"DROP_1_FROM_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"scissors",color:hn,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:hn,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:hn,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:hn,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:hn,subTitle:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"}]},{key:"substitution",label:"\uB300\uCE58\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC758 \uC77C\uBD80 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uBC14\uAFB8\uC5B4 \uC0C8\uB85C\uC6B4 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"replace",types:[{key:"CHANGE_1_SYLL_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"replace",color:In,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_SYLL_IN_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"shuffle",color:In,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"arrow-right-left",color:In,subTitle:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"flip-horizontal",color:In,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}]},{key:"attention",label:"\uCCAD\uAC01\uC801\uC8FC\uC758\uB825\uD6C8\uB828",disc:"\uC5EC\uB7EC \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uC21C\uC11C\uB97C \uAE30\uC5B5\uD558\uB294 \uC8FC\uC758\uB825\uACFC \uB2E8\uAE30 \uAE30\uC5B5 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"list-ordered",types:[{key:"LISTEN_AND_REMEMBER_ORDER",label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",icon:"list-ordered",color:rh,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function ah(){const{t:e}=kt();return we(()=>{const t=Object.fromEntries(bd(e).map(o=>[o.key,o.label])),n={...t};return uh.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}export{Xo as CACHE_GROUPS,Uo as DocumentTitleSuppressContext,go as EMPTY_COMPOSITION,Fo as MediaQueryOverrideContext,nt as NO_CODA,ot as SYLLABLE_MIN,er as VAP_PAGE_SIZE_OPTIONS,Xr as buildGradeSection,Zr as buildPartOfSpeechSection,xd as buildPositionSection,Dd as buildSelectSection,Bd as buildSyllableSection,Jr as buildWordTypeSection,ou as charToPronValue,uu as convertComposition,qu as fmtBytes,Zo as lsBytes,Eo as meaningKey,ru as pronToCharValue,Co as syllableToFilter,Kt as today,vd as toggleAttributeFilter,Wu as useCacheManagement,Jd as useDailyTrainingSelection,Md as useDelayedHoverAnchor,oa as useDeviceManagement,Du as useDocumentTitle,eh as useEscToClose,Mu as useFontScale,Wr as useHoverAnchor,Bu as useMediaQuery,nh as usePagedList,vu as usePasswordChange,xu as useRelativeDay,ta as useTablePaging,na as useTableSort,oh as useToastState,ah as useTrainingTypeLabels,ea as useVisitAllPanel,Zu as useVisitHistory,Qu as useVisitSchedule,zo as useWindowEvent,Kr as useWordAttributeFilterKeys,Ku as useWordDataStats,th as useWordMeanings,Wd as useWordTrainingDataGeneration,Yd as useWordTrainingFilter,pt as valueToJamos};
|