@ihabdevteam/core 0.232.0 → 0.234.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.
@@ -1,8 +1,8 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var bt=require("i18next"),Ce=require("react-i18next"),l=require("react"),r=require("react/jsx-runtime"),ca=require("react-dom"),ma=typeof document<"u"?document.currentScript:null;function j1(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(a){if(a!=="default"){var o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:function(){return e[a]}})}}),t.default=e,Object.freeze(t)}var Zu=j1(l);function oe(e,t){t===void 0&&(t={});var a=t.insertAt;if(!(!e||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",a==="top"&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}var L1=':where(.ihabdevteam-core-scope){--brand-main:#499cdf;--brand-sub:#4dcdc0;--color-lightMain:var(--brand-lightMain,#d2e2ef);--color-softMain:var(--brand-softMain,#8bbce4);--color-main:var(--brand-main);--color-main-a10:color-mix(in srgb,var(--color-main) 10%,transparent);--color-main-a20:color-mix(in srgb,var(--color-main) 20%,transparent);--color-deepMain:var(--brand-deepMain,#418ecd);--color-darkMain:var(--brand-darkMain,#1e5a8f);--color-lightSub:var(--brand-lightSub,#d5ecea);--color-softSub:var(--brand-softSub,#92ddd5);--color-sub:var(--brand-sub);--color-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--color-deepSub:var(--brand-deepSub,#45bbaf);--color-darkSub:var(--brand-darkSub,#257e76);--color-text-main:var(--color-darkMain);--color-text-sub:var(--color-darkSub);--color-infoLink:#2f7fd1;--color-uiAccent:#32bbae;--color-success:#2fae9e;--color-warn:#e6b94e;--color-warn-a10:#e6b94e1a;--color-error:#d9534f;--color-error-a10:#d9534f1a;--color-like:#e06b68;--color-disabled:#bfc7d1;--color-pureWhite:#fff;--color-white:#fbfdff;--color-white-a10:#fbfdff1a;--color-white-a30:#fbfdff4d;--color-white-a60:#fbfdff99;--color-white-a80:#fbfdffcc;--color-deepWhite:#f8fafc;--color-darkWhite:#eef2f6;--color-whiteLine:#dde3ec;--color-lightGray:#96a4b8;--color-lightGray-a10:#96a4b81a;--color-lightGray-a80:#96a4b8cc;--color-softGray:#7b8ca3;--color-gray:#64748b;--color-gray-a10:#64748b1a;--color-gray-a60:#64748b99;--color-gray-a80:#64748bcc;--color-deepGray:#546170;--color-darkGray:#434d56;--color-darkGray-a10:#434d561a;--color-lightBlack:#32393f;--color-softBlack:#222528;--color-black:#111;--color-pureBlack:#000;--color-popupBlock:rgba(16,24,32,.6);--color-onDark-title:var(--color-pureWhite);--color-onDark-text:hsla(0,0%,100%,.58);--color-onDark-muted:hsla(0,0%,100%,.5);--color-onDark-surface:hsla(0,0%,100%,.04);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);--color-overlay:var(--color-popupBlock);--shadow-popup:20px 20px 20px rgba(0,0,0,.05);--shadow-tooltip:8px 8px 8px rgba(0,0,0,.05);--shadow-button:4px 4px 4px rgba(0,0,0,.05);--shadow-menu:20px 20px 20px rgba(0,0,0,.05);--shadow-card:2px 2px 8px rgba(0,0,0,.06);--shadow-dropdown:8px 8px 24px rgba(0,0,0,.06);--shadow-panel:4px 4px 20px rgba(0,0,0,.06);--font-family:"Pretendard Variable","Pretendard",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,"Roboto Mono","Courier New",monospace;--text-display-1-size:clamp(44px,6.6vw,72px);--text-display-1-line:1.05;--text-display-1-spacing:-0.04em;--text-display-1-weight:800;--text-display-1-weight-bold:900;--text-display-2-size:clamp(38px,5.2vw,56px);--text-display-2-line:1.12;--text-display-2-spacing:-0.03em;--text-display-2-weight:700;--text-display-2-weight-bold:800;--text-display-3-size:clamp(34px,4.1vw,44px);--text-display-3-line:1.2;--text-display-3-spacing:-0.02em;--text-display-3-weight:700;--text-display-3-weight-bold:800;--text-h0-size:40px;--text-h0-line:52px;--text-h0-spacing:-1px;--text-h0-weight:700;--text-h0-weight-bold:800;--text-h1-size:32px;--text-h1-line:44px;--text-h1-spacing:-0.5px;--text-h1-weight:700;--text-h1-weight-bold:800;--text-h2-size:24px;--text-h2-line:34px;--text-h2-spacing:-0.25px;--text-h2-weight:500;--text-h2-weight-bold:600;--text-h3-size:20px;--text-h3-line:30px;--text-h3-spacing:normal;--text-h3-weight:500;--text-h3-weight-bold:600;--text-h4-size:17px;--text-h4-line:26px;--text-h4-spacing:normal;--text-h4-weight:500;--text-h4-weight-bold:600;--text-h5-size:15px;--text-h5-line:23px;--text-h5-spacing:normal;--text-h5-weight:500;--text-h5-weight-bold:600;--text-body-1-size:18px;--text-body-1-line:28px;--text-body-1-weight:400;--text-body-1-weight-bold:600;--text-body-2-size:16px;--text-body-2-line:26px;--text-body-2-weight:400;--text-body-2-weight-bold:600;--text-body-3-size:14px;--text-body-3-line:22px;--text-body-3-weight:400;--text-body-3-weight-bold:600;--text-button-1-size:14px;--text-button-1-line:20px;--text-button-1-weight:500;--text-button-2-size:13px;--text-button-2-line:18px;--text-button-2-weight:400;--text-caption-1-size:12px;--text-caption-1-line:17px;--text-caption-1-weight:400;--text-caption-1-weight-bold:600;--text-caption-2-size:11px;--text-caption-2-line:15px;--text-caption-2-weight:400;--text-caption-2-weight-bold:600;--spacing-xs:8px;--spacing-s:12px;--spacing-m:16px;--spacing-l:20px;--spacing-xl:24px;--spacing-page:60px;--spacing-content:20px;--container-page:1920px;--margin-page:var(--spacing-page);--margin-content:var(--spacing-content);--duration-fast:120ms;--duration-base:200ms;--duration-slow:320ms;--ease-out:cubic-bezier(0.22,0.9,0.3,1);--ease-in-out:cubic-bezier(0.4,0,0.2,1);--bp-tablet:768px;--bp-desktop:1024px;--radius-xs:4px;--radius-sm:8px;--radius-s:10px;--radius-card:12px;--radius-m:20px;--radius-l:40px;--radius-full:999px;--radius-dialog:var(--radius-m);--z-base:0;--z-content:1;--z-dropdown:200;--z-sticky:500;--z-bulk-bar:600;--z-nav:1000;--z-sidebar:1100;--z-menu:1500;--z-overlay:2000;--z-page-popup:2100;--z-fab:2150;--z-modal:2200;--focus-ring:var(--color-main);--z-popover:2300;--z-tooltip:3000;--z-alert:3100;--z-toast:3200;color-scheme:light}@media (min-width:768px) and (max-width:1023px){:where(.ihabdevteam-core-scope){--spacing-page:40px;--spacing-content:15px;--text-h0-size:32px;--text-h0-line:44px;--text-h0-spacing:-0.75px;--text-h1-size:28px;--text-h1-line:40px;--text-h1-spacing:-0.4px;--text-h2-size:22px;--text-h2-line:32px;--text-h2-spacing:-0.2px;--text-h4-size:16px;--text-h4-line:24px;--text-h5-size:14px;--text-h5-line:21px;--text-body-1-size:17px;--text-body-1-line:27px;--text-body-2-size:15px;--text-body-2-line:24px;--text-body-3-size:14px;--text-body-3-line:22px}}@media (max-width:767px){:where(.ihabdevteam-core-scope){--spacing-page:20px;--spacing-content:10px;--text-h0-size:28px;--text-h0-line:38px;--text-h0-spacing:-0.5px;--text-h1-size:24px;--text-h1-line:34px;--text-h1-spacing:-0.3px;--text-h2-size:20px;--text-h2-line:29px;--text-h2-spacing:-0.2px;--text-h3-size:17px;--text-h3-line:26px;--text-h4-size:15px;--text-h4-line:23px;--text-h5-size:13px;--text-h5-line:20px;--text-body-1-size:17px;--text-body-1-line:27px;--text-body-2-size:15px;--text-body-2-line:23px;--text-body-3-size:13px;--text-body-3-line:21px}}.ihabdevteam-core-scope [data-font-scale=large1],.ihabdevteam-core-scope[data-font-scale=large1],[data-font-scale=large1] .ihabdevteam-core-scope{--text-h4-size:19px;--text-h4-line:29px;--text-h5-size:17px;--text-h5-line:26px;--text-body-1-size:20px;--text-body-1-line:31px;--text-body-2-size:18px;--text-body-2-line:28px;--text-body-3-size:16px;--text-body-3-line:25px;--text-button-1-size:16px;--text-button-1-line:23px;--text-button-2-size:15px;--text-button-2-line:21px;--text-caption-1-size:14px;--text-caption-1-line:20px;--text-caption-2-size:12px;--text-caption-2-line:17px}.ihabdevteam-core-scope [data-font-scale=large2],.ihabdevteam-core-scope[data-font-scale=large2],[data-font-scale=large2] .ihabdevteam-core-scope{--text-h4-size:21px;--text-h4-line:32px;--text-h5-size:19px;--text-h5-line:29px;--text-body-1-size:23px;--text-body-1-line:36px;--text-body-2-size:20px;--text-body-2-line:31px;--text-body-3-size:18px;--text-body-3-line:28px;--text-button-1-size:18px;--text-button-1-line:26px;--text-button-2-size:16px;--text-button-2-line:23px;--text-caption-1-size:15px;--text-caption-1-line:21px;--text-caption-2-size:14px;--text-caption-2-line:19px}.ihabdevteam-core-scope [data-font-scale=large3],.ihabdevteam-core-scope[data-font-scale=large3],[data-font-scale=large3] .ihabdevteam-core-scope{--text-h4-size:23px;--text-h4-line:35px;--text-h5-size:21px;--text-h5-line:32px;--text-body-1-size:25px;--text-body-1-line:39px;--text-body-2-size:22px;--text-body-2-line:34px;--text-body-3-size:19px;--text-body-3-line:30px;--text-button-1-size:19px;--text-button-1-line:27px;--text-button-2-size:18px;--text-button-2-line:26px;--text-caption-1-size:17px;--text-caption-1-line:24px;--text-caption-2-size:15px;--text-caption-2-line:21px}.ihabdevteam-core-scope [data-theme=dark],.ihabdevteam-core-scope[data-theme=dark],[data-theme=dark] .ihabdevteam-core-scope{--color-white:#1e2227;--color-deepWhite:#252a30;--color-darkWhite:#2d3238;--color-whiteLine:hsla(0,0%,100%,.08);--color-black:#f0f2f5;--color-softBlack:#dde1e7;--color-lightBlack:#cbd1da;--color-darkGray:#b8c0cc;--color-deepGray:#a1aab7;--color-gray:#8b95a1;--color-softGray:#737f90;--color-lightGray:#60697a;--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);--color-pureWhite:#0f1215;--color-pureBlack:#f0f2f5;--color-disabled:#3f4650;color-scheme:dark}@media (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark]),.ihabdevteam-core-scope [data-theme=auto],.ihabdevteam-core-scope[data-theme=auto],[data-theme=auto] .ihabdevteam-core-scope{--color-white:#1e2227;--color-deepWhite:#252a30;--color-darkWhite:#2d3238;--color-whiteLine:hsla(0,0%,100%,.08);--color-black:#f0f2f5;--color-softBlack:#dde1e7;--color-lightBlack:#cbd1da;--color-darkGray:#b8c0cc;--color-deepGray:#a1aab7;--color-gray:#8b95a1;--color-softGray:#737f90;--color-lightGray:#60697a;--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);--color-pureWhite:#0f1215;--color-pureBlack:#f0f2f5;--color-disabled:#3f4650;color-scheme:dark}}.force-light-scheme .ihabdevteam-core-scope,.ihabdevteam-core-scope .force-light-scheme,.ihabdevteam-core-scope.force-light-scheme{--color-pureWhite:#fff;--color-white:#fbfdff;--color-deepWhite:#f8fafc;--color-darkWhite:#eef2f6;--color-whiteLine:#dde3ec;--color-lightGray:#96a4b8;--color-softGray:#7b8ca3;--color-gray:#64748b;--color-deepGray:#546170;--color-darkGray:#434d56;--color-lightBlack:#32393f;--color-softBlack:#222528;--color-black:#111;--color-pureBlack:#000;--color-disabled:#bfc7d1;--color-text-main:var(--color-darkMain);--color-text-sub:var(--color-darkSub);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);color-scheme:light}.ihabdevteam-core-scope .game-overlay{align-items:center;background:rgba(0,0,0,.5);background:var(--game-overlay-bg,rgba(0,0,0,.5));display:flex;inset:0;justify-content:center;position:fixed;z-index:2200;z-index:var(--z-modal)}@media (max-width:767px){.ihabdevteam-core-scope .game-overlay:has(.game-sheet--play){padding:0}.ihabdevteam-core-scope .game-sheet.game-sheet--play{border:none;border-radius:0;box-shadow:none;height:100%;justify-content:center;max-height:none;max-width:none;padding:calc(28px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));width:100%}}@media (max-height:500px){.ihabdevteam-core-scope .game-sheet.game-sheet--play{gap:6px;padding-bottom:calc(10px + env(safe-area-inset-bottom));padding-top:calc(10px + env(safe-area-inset-top))}.ihabdevteam-core-scope .game-sheet--play .game-play-header{gap:8px}.ihabdevteam-core-scope .game-sheet--play .game-play-header__icon{font-size:18px;height:32px;width:32px}}.ihabdevteam-core-scope .game-play-header,.ihabdevteam-core-scope .game-timer{align-items:center;display:flex;gap:10px}.ihabdevteam-core-scope .game-timer__label{min-width:30px;text-align:right;transition:color .3s}.ihabdevteam-core-scope .game-timer-slider-wrap{display:flex;flex:1}.ihabdevteam-core-scope .game-rounds{align-items:center;display:flex;gap:7px}.ihabdevteam-core-scope .game-rounds__dot{background:hsla(0,0%,100%,.14);background:var(--game-dot,var(--game-dot-bg,hsla(0,0%,100%,.14)));border-radius:50%;height:8px;transition:background .25s,transform .25s,box-shadow .25s;width:8px}.ihabdevteam-core-scope .game-rounds__dot--correct{--game-dot:var(--game-dot-correct,#34d399)}.ihabdevteam-core-scope .game-rounds__dot--wrong{--game-dot:var(--game-dot-wrong,#f87171)}.ihabdevteam-core-scope .game-rounds__label{color:hsla(0,0%,100%,.45);color:var(--game-muted,hsla(0,0%,100%,.45));margin-left:auto}.ihabdevteam-core-scope .game-feedback{align-items:center;border-radius:10px;border-radius:var(--radius-s);display:flex;justify-content:center;padding:12px 16px;text-align:center}.ihabdevteam-core-scope .game-feedback--hidden{visibility:hidden}.ihabdevteam-core-scope .game-result{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--spacing-xs)}.ihabdevteam-core-scope .game-result__emoji{font-size:42px}.ihabdevteam-core-scope .game-result__item{align-items:center;border-radius:8px;border-radius:var(--radius-sm);box-sizing:border-box;display:flex;gap:10px;padding:8px 12px;width:100%}.ihabdevteam-core-scope .game-result__status{flex-shrink:0;width:18px}.ihabdevteam-core-scope .game-result__pct-row{align-items:center;display:flex;flex-direction:column;gap:6px;margin-bottom:8px;margin-bottom:var(--spacing-xs);width:100%}.ihabdevteam-core-scope .game-result__footer{display:flex;gap:10px;margin-top:4px;width:100%}@media (max-height:700px){.ihabdevteam-core-scope .game-result{gap:10px}.ihabdevteam-core-scope .game-result__emoji-ring{font-size:30px;height:64px;width:64px}}@media (max-height:500px) and (min-width:520px){.ihabdevteam-core-scope .game-result{grid-column-gap:20px;grid-column-gap:var(--spacing-l);grid-row-gap:4px;align-content:center;align-items:center;-moz-column-gap:20px;column-gap:20px;-moz-column-gap:var(--spacing-l);column-gap:var(--spacing-l);display:grid;grid-template-columns:auto minmax(190px,1fr);height:100%;min-height:0;padding-right:44px;row-gap:4px;width:100%}.ihabdevteam-core-scope .game-result__emoji-ring{font-size:24px;height:52px;width:52px}.ihabdevteam-core-scope .game-result__list{align-self:stretch;grid-column:2;grid-row:1/span 5;max-height:100%;min-height:0}.ihabdevteam-core-scope .game-result__footer{background:none;grid-column:2;grid-row:6;margin-top:0;padding-top:0;position:static}}@media (hover:none){.ihabdevteam-core-scope [role=button]:hover,.ihabdevteam-core-scope a:hover,.ihabdevteam-core-scope button:hover{opacity:1}}.ihabdevteam-core-scope *,.ihabdevteam-core-scope :after,.ihabdevteam-core-scope :before{box-sizing:border-box}.ihabdevteam-core-scope{margin:0}.ihabdevteam-core-scope button,.ihabdevteam-core-scope input,.ihabdevteam-core-scope select,.ihabdevteam-core-scope textarea{font-family:inherit}:where(.ihabdevteam-core-scope) :where(.display-1),:where(.ihabdevteam-core-scope) :where(.display-1b){font-size:clamp(44px,6.6vw,72px);font-size:var(--text-display-1-size);letter-spacing:-.04em;letter-spacing:var(--text-display-1-spacing);line-height:1.05;line-height:var(--text-display-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.display-2),:where(.ihabdevteam-core-scope) :where(.display-2b){font-size:clamp(38px,5.2vw,56px);font-size:var(--text-display-2-size);letter-spacing:-.03em;letter-spacing:var(--text-display-2-spacing);line-height:1.12;line-height:var(--text-display-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.display-3),:where(.ihabdevteam-core-scope) :where(.display-3b){font-size:clamp(34px,4.1vw,44px);font-size:var(--text-display-3-size);letter-spacing:-.02em;letter-spacing:var(--text-display-3-spacing);line-height:1.2;line-height:var(--text-display-3-line);margin:0}:where(.ihabdevteam-core-scope) :where(.display-1){font-weight:800;font-weight:var(--text-display-1-weight)}:where(.ihabdevteam-core-scope) :where(.display-2){font-weight:700;font-weight:var(--text-display-2-weight)}:where(.ihabdevteam-core-scope) :where(.display-3){font-weight:700;font-weight:var(--text-display-3-weight)}:where(.ihabdevteam-core-scope) :where(.display-1b){font-weight:900;font-weight:var(--text-display-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.display-2b){font-weight:800;font-weight:var(--text-display-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(.display-3b){font-weight:800;font-weight:var(--text-display-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h0),:where(.ihabdevteam-core-scope) :where(.h0b){font-size:40px;font-size:var(--text-h0-size);letter-spacing:-1px;letter-spacing:var(--text-h0-spacing);line-height:52px;line-height:var(--text-h0-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h1),:where(.ihabdevteam-core-scope) :where(.h1b){font-size:32px;font-size:var(--text-h1-size);letter-spacing:-.5px;letter-spacing:var(--text-h1-spacing);line-height:44px;line-height:var(--text-h1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h2),:where(.ihabdevteam-core-scope) :where(.h2b){font-size:24px;font-size:var(--text-h2-size);letter-spacing:-.25px;letter-spacing:var(--text-h2-spacing);line-height:34px;line-height:var(--text-h2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h3),:where(.ihabdevteam-core-scope) :where(.h3b){font-size:20px;font-size:var(--text-h3-size);letter-spacing:normal;letter-spacing:var(--text-h3-spacing);line-height:30px;line-height:var(--text-h3-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h4),:where(.ihabdevteam-core-scope) :where(.h4b){font-size:17px;font-size:var(--text-h4-size);letter-spacing:normal;letter-spacing:var(--text-h4-spacing);line-height:26px;line-height:var(--text-h4-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h5),:where(.ihabdevteam-core-scope) :where(.h5b){font-size:15px;font-size:var(--text-h5-size);letter-spacing:normal;letter-spacing:var(--text-h5-spacing);line-height:23px;line-height:var(--text-h5-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h0){font-weight:700;font-weight:var(--text-h0-weight)}:where(.ihabdevteam-core-scope) :where(.h1){font-weight:700;font-weight:var(--text-h1-weight)}:where(.ihabdevteam-core-scope) :where(.h2){font-weight:500;font-weight:var(--text-h2-weight)}:where(.ihabdevteam-core-scope) :where(.h3){font-weight:500;font-weight:var(--text-h3-weight)}:where(.ihabdevteam-core-scope) :where(.h4){font-weight:500;font-weight:var(--text-h4-weight)}:where(.ihabdevteam-core-scope) :where(.h5){font-weight:500;font-weight:var(--text-h5-weight)}:where(.ihabdevteam-core-scope) :where(.h0b){font-weight:800;font-weight:var(--text-h0-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h1b){font-weight:800;font-weight:var(--text-h1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h2b){font-weight:600;font-weight:var(--text-h2-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h3b){font-weight:600;font-weight:var(--text-h3-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h4b){font-weight:600;font-weight:var(--text-h4-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h5b){font-weight:600;font-weight:var(--text-h5-weight-bold)}:where(.ihabdevteam-core-scope) :where(.body-1),:where(.ihabdevteam-core-scope) :where(.body-1b){font-size:18px;font-size:var(--text-body-1-size);font-weight:400;font-weight:var(--text-body-1-weight);line-height:28px;line-height:var(--text-body-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.body-2),:where(.ihabdevteam-core-scope) :where(.body-2b){font-size:16px;font-size:var(--text-body-2-size);font-weight:400;font-weight:var(--text-body-2-weight);line-height:26px;line-height:var(--text-body-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.body-3),:where(.ihabdevteam-core-scope) :where(.body-3b){font-size:14px;font-size:var(--text-body-3-size);font-weight:400;font-weight:var(--text-body-3-weight);line-height:22px;line-height:var(--text-body-3-line);margin:0}:where(.ihabdevteam-core-scope) :where(.body-1b){font-weight:600;font-weight:var(--text-body-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.body-2b){font-weight:600;font-weight:var(--text-body-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(.body-3b){font-weight:600;font-weight:var(--text-body-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(.button-1){font-size:14px;font-size:var(--text-button-1-size);font-weight:500;font-weight:var(--text-button-1-weight);line-height:20px;line-height:var(--text-button-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.button-2){font-size:13px;font-size:var(--text-button-2-size);font-weight:400;font-weight:var(--text-button-2-weight);line-height:18px;line-height:var(--text-button-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.caption-1),:where(.ihabdevteam-core-scope) :where(.caption-1b){font-size:12px;font-size:var(--text-caption-1-size);font-weight:400;font-weight:var(--text-caption-1-weight);line-height:17px;line-height:var(--text-caption-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.caption-2),:where(.ihabdevteam-core-scope) :where(.caption-2b){font-size:11px;font-size:var(--text-caption-2-size);font-weight:400;font-weight:var(--text-caption-2-weight);line-height:15px;line-height:var(--text-caption-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.caption-1b){font-weight:600;font-weight:var(--text-caption-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.caption-2b){font-weight:600;font-weight:var(--text-caption-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-1{font-size:clamp(44px,6.6vw,72px);font-size:var(--text-display-1-size);font-weight:800;font-weight:var(--text-display-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-1b{font-size:clamp(44px,6.6vw,72px);font-size:var(--text-display-1-size);font-weight:900;font-weight:var(--text-display-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-2{font-size:clamp(38px,5.2vw,56px);font-size:var(--text-display-2-size);font-weight:700;font-weight:var(--text-display-2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-2b{font-size:clamp(38px,5.2vw,56px);font-size:var(--text-display-2-size);font-weight:800;font-weight:var(--text-display-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-3{font-size:clamp(34px,4.1vw,44px);font-size:var(--text-display-3-size);font-weight:700;font-weight:var(--text-display-3-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-3b{font-size:clamp(34px,4.1vw,44px);font-size:var(--text-display-3-size);font-weight:800;font-weight:var(--text-display-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h0{font-size:40px;font-size:var(--text-h0-size);font-weight:700;font-weight:var(--text-h0-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h0b{font-size:40px;font-size:var(--text-h0-size);font-weight:800;font-weight:var(--text-h0-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h1{font-size:32px;font-size:var(--text-h1-size);font-weight:700;font-weight:var(--text-h1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h1b{font-size:32px;font-size:var(--text-h1-size);font-weight:800;font-weight:var(--text-h1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h2{font-size:24px;font-size:var(--text-h2-size);font-weight:500;font-weight:var(--text-h2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h2b{font-size:24px;font-size:var(--text-h2-size);font-weight:600;font-weight:var(--text-h2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h3{font-size:20px;font-size:var(--text-h3-size);font-weight:500;font-weight:var(--text-h3-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h3b{font-size:20px;font-size:var(--text-h3-size);font-weight:600;font-weight:var(--text-h3-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h4{font-size:17px;font-size:var(--text-h4-size);font-weight:500;font-weight:var(--text-h4-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h4b{font-size:17px;font-size:var(--text-h4-size);font-weight:600;font-weight:var(--text-h4-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h5{font-size:15px;font-size:var(--text-h5-size);font-weight:500;font-weight:var(--text-h5-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h5b{font-size:15px;font-size:var(--text-h5-size);font-weight:600;font-weight:var(--text-h5-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-1{font-size:18px;font-size:var(--text-body-1-size);font-weight:400;font-weight:var(--text-body-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-1b{font-size:18px;font-size:var(--text-body-1-size);font-weight:600;font-weight:var(--text-body-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-2{font-size:16px;font-size:var(--text-body-2-size);font-weight:400;font-weight:var(--text-body-2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-2b{font-size:16px;font-size:var(--text-body-2-size);font-weight:600;font-weight:var(--text-body-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-3{font-size:14px;font-size:var(--text-body-3-size);font-weight:400;font-weight:var(--text-body-3-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-3b{font-size:14px;font-size:var(--text-body-3-size);font-weight:600;font-weight:var(--text-body-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-1{font-size:12px;font-size:var(--text-caption-1-size);font-weight:400;font-weight:var(--text-caption-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-1b{font-size:12px;font-size:var(--text-caption-1-size);font-weight:600;font-weight:var(--text-caption-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-2{font-size:11px;font-size:var(--text-caption-2-size);font-weight:400;font-weight:var(--text-caption-2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-2b{font-size:11px;font-size:var(--text-caption-2-size);font-weight:600;font-weight:var(--text-caption-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).button-1{font-size:14px;font-size:var(--text-button-1-size);font-weight:500;font-weight:var(--text-button-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).button-2{font-size:13px;font-size:var(--text-button-2-size);font-weight:400;font-weight:var(--text-button-2-weight)}.ihabdevteam-core-scope ::-webkit-scrollbar{height:6px;width:6px}.ihabdevteam-core-scope ::-webkit-scrollbar-track{background:transparent}.ihabdevteam-core-scope ::-webkit-scrollbar-thumb{background:#eef2f6;background:var(--color-darkWhite);border-radius:3px}.ihabdevteam-core-scope ::-webkit-scrollbar-thumb:hover{background:#96a4b8;background:var(--color-lightGray)}.ihabdevteam-core-scope *{scrollbar-color:#eef2f6 transparent;scrollbar-color:var(--color-darkWhite) transparent;scrollbar-width:thin}@keyframes sub-to-main{0%{background-color:#4dcdc0;background-color:var(--color-sub)}to{background-color:#499cdf;background-color:var(--color-main)}}.ihabdevteam-core-scope .safearea{margin:0 auto;max-width:1920px;max-width:var(--container-page);width:100%}.ihabdevteam-core-scope{color:#111;color:var(--color-black);font-family:Pretendard Variable,Pretendard,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-family:var(--font-family);overflow-wrap:anywhere;white-space:normal;word-break:keep-all}.ihabdevteam-core-scope :focus-visible{outline:2px solid #499cdf;outline:2px solid var(--focus-ring);outline-offset:2px}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope *,.ihabdevteam-core-scope :after,.ihabdevteam-core-scope :before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}';oe(L1);var M1={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",discardConfirm:{title:"\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?",body:"\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",confirm:"\uC785\uB825 \uCDE8\uC18C"},close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",noMatches:"\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",networkError:"\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694."},$1={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704",visitCount:"\uBC29\uBB38 {{count}}\uAC74"},R1={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},P1={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},z1={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},I1={selected:"\uC120\uD0DD\uB428"},O1={placeholder:"\uC120\uD0DD"},F1={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},H1={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274",menuClose:"\uBA54\uB274 \uB2EB\uAE30"},V1={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",feedback:"\uBC84\uADF8\uC2E0\uACE0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274",badgeLabel:"{{label}}, {{count}}\uAC1C"},W1={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},G1={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},U1={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},q1={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Y1={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",n:"{{n}}\uAC1C"},filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB4F1\uAE09",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",comingSoon:"\uC900\uBE44 \uC911",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",selectInOrder:"\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",ttsUnavailable:"\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{pendingDone:"\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30",audioStatus:{idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"}},K1={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},Z1={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},X1={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},J1={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},Q1={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},ev={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},tv={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},av={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},ov={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},rv={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},nv={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",topInfo:"\uC0C1\uB2E8 \uC815\uBCF4",bottomInfo:"\uD558\uB2E8 \uC815\uBCF4",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)",copyName:"{{name}} (\uBCF5\uC0AC)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"{{name}} \uC0AD\uC81C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",markName:{o:"\uB9DE\uC74C",triangle:"\uC560\uB9E4",x:"\uD2C0\uB9BC"},button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78 \uC544\uB798 \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB20C\uB7EC \uB9E4\uAE30\uC138\uC694. \uB9C8\uC6B0\uC2A4\uB85C\uB294 \uCE78\uC5D0 \uC190\uC744 \uC5B9\uC73C\uBA74 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"},info:{grade:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808",pos:"\uD488\uC0AC: {{v}}",wordType:"\uC720\uD615: {{v}}"},pos:{noun:"\uBA85\uC0AC",verb:"\uB3D9\uC0AC",adjective:"\uD615\uC6A9\uC0AC",adverb:"\uBD80\uC0AC",numeral:"\uC218\uC0AC",determiner:"\uAD00\uD615\uC0AC",interjection:"\uAC10\uD0C4\uC0AC",particle:"\uC870\uC0AC",affix:"\uC811\uC0AC",dependentNoun:"\uC758\uC874\uBA85\uC0AC",pronoun:"\uB300\uBA85\uC0AC",auxVerb:"\uBCF4\uC870\uB3D9\uC0AC",auxAdjective:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},reorder:{moved:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40",handle:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)",hint:"Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"}},iv={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193",original:"\uBC1B\uC740 \uC21C\uC11C"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},sv={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},lv={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},cv={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},dv={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},uv={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},pv={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C",type:{hearingAid:"\uBCF4\uCCAD\uAE30",cochlearImplant:"\uC778\uACF5\uC640\uC6B0"}},hv={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",daily:"\uC77C\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},mv={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},bv={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},gv={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var bt=require("i18next"),Ce=require("react-i18next"),l=require("react"),r=require("react/jsx-runtime"),ca=require("react-dom"),ma=typeof document<"u"?document.currentScript:null;function j1(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(a){if(a!=="default"){var o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:function(){return e[a]}})}}),t.default=e,Object.freeze(t)}var Zu=j1(l);function oe(e,t){t===void 0&&(t={});var a=t.insertAt;if(!(!e||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",a==="top"&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}var L1=':where(.ihabdevteam-core-scope){--brand-main:#499cdf;--brand-sub:#4dcdc0;--color-lightMain:var(--brand-lightMain,#d2e2ef);--color-softMain:var(--brand-softMain,#8bbce4);--color-main:var(--brand-main);--color-main-a10:color-mix(in srgb,var(--color-main) 10%,transparent);--color-main-a20:color-mix(in srgb,var(--color-main) 20%,transparent);--color-deepMain:var(--brand-deepMain,#418ecd);--color-darkMain:var(--brand-darkMain,#1e5a8f);--color-lightSub:var(--brand-lightSub,#d5ecea);--color-softSub:var(--brand-softSub,#92ddd5);--color-sub:var(--brand-sub);--color-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--color-deepSub:var(--brand-deepSub,#45bbaf);--color-darkSub:var(--brand-darkSub,#257e76);--color-text-main:var(--color-darkMain);--color-text-sub:var(--color-darkSub);--color-infoLink:#2f7fd1;--color-uiAccent:#32bbae;--color-success:#2fae9e;--color-warn:#e6b94e;--color-warn-a10:#e6b94e1a;--color-error:#d9534f;--color-error-a10:#d9534f1a;--color-like:#e06b68;--color-disabled:#bfc7d1;--color-pureWhite:#fff;--color-white:#fbfdff;--color-white-a10:#fbfdff1a;--color-white-a30:#fbfdff4d;--color-white-a60:#fbfdff99;--color-white-a80:#fbfdffcc;--color-deepWhite:#f8fafc;--color-darkWhite:#eef2f6;--color-whiteLine:#dde3ec;--color-lightGray:#96a4b8;--color-lightGray-a10:#96a4b81a;--color-lightGray-a80:#96a4b8cc;--color-softGray:#7b8ca3;--color-gray:#64748b;--color-gray-a10:#64748b1a;--color-gray-a60:#64748b99;--color-gray-a80:#64748bcc;--color-deepGray:#546170;--color-darkGray:#434d56;--color-darkGray-a10:#434d561a;--color-lightBlack:#32393f;--color-softBlack:#222528;--color-black:#111;--color-pureBlack:#000;--color-popupBlock:rgba(16,24,32,.6);--color-onDark-title:var(--color-pureWhite);--color-onDark-text:hsla(0,0%,100%,.58);--color-onDark-muted:hsla(0,0%,100%,.5);--color-onDark-surface:hsla(0,0%,100%,.04);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);--color-overlay:var(--color-popupBlock);--shadow-popup:20px 20px 20px rgba(0,0,0,.05);--shadow-tooltip:8px 8px 8px rgba(0,0,0,.05);--shadow-button:4px 4px 4px rgba(0,0,0,.05);--shadow-menu:20px 20px 20px rgba(0,0,0,.05);--shadow-card:2px 2px 8px rgba(0,0,0,.06);--shadow-dropdown:8px 8px 24px rgba(0,0,0,.06);--shadow-panel:4px 4px 20px rgba(0,0,0,.06);--font-family:"Pretendard Variable","Pretendard",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,"Roboto Mono","Courier New",monospace;--text-display-1-size:clamp(44px,6.6vw,72px);--text-display-1-line:1.05;--text-display-1-spacing:-0.04em;--text-display-1-weight:800;--text-display-1-weight-bold:900;--text-display-2-size:clamp(38px,5.2vw,56px);--text-display-2-line:1.12;--text-display-2-spacing:-0.03em;--text-display-2-weight:700;--text-display-2-weight-bold:800;--text-display-3-size:clamp(34px,4.1vw,44px);--text-display-3-line:1.2;--text-display-3-spacing:-0.02em;--text-display-3-weight:700;--text-display-3-weight-bold:800;--text-h0-size:40px;--text-h0-line:52px;--text-h0-spacing:-1px;--text-h0-weight:700;--text-h0-weight-bold:800;--text-h1-size:32px;--text-h1-line:44px;--text-h1-spacing:-0.5px;--text-h1-weight:700;--text-h1-weight-bold:800;--text-h2-size:24px;--text-h2-line:34px;--text-h2-spacing:-0.25px;--text-h2-weight:500;--text-h2-weight-bold:600;--text-h3-size:20px;--text-h3-line:30px;--text-h3-spacing:normal;--text-h3-weight:500;--text-h3-weight-bold:600;--text-h4-size:17px;--text-h4-line:26px;--text-h4-spacing:normal;--text-h4-weight:500;--text-h4-weight-bold:600;--text-h5-size:15px;--text-h5-line:23px;--text-h5-spacing:normal;--text-h5-weight:500;--text-h5-weight-bold:600;--text-body-1-size:18px;--text-body-1-line:28px;--text-body-1-weight:400;--text-body-1-weight-bold:600;--text-body-2-size:16px;--text-body-2-line:26px;--text-body-2-weight:400;--text-body-2-weight-bold:600;--text-body-3-size:14px;--text-body-3-line:22px;--text-body-3-weight:400;--text-body-3-weight-bold:600;--text-button-1-size:14px;--text-button-1-line:20px;--text-button-1-weight:500;--text-button-2-size:13px;--text-button-2-line:18px;--text-button-2-weight:400;--text-caption-1-size:12px;--text-caption-1-line:17px;--text-caption-1-weight:400;--text-caption-1-weight-bold:600;--text-caption-2-size:11px;--text-caption-2-line:15px;--text-caption-2-weight:400;--text-caption-2-weight-bold:600;--spacing-xs:8px;--spacing-s:12px;--spacing-m:16px;--spacing-l:20px;--spacing-xl:24px;--spacing-page:60px;--spacing-content:20px;--container-page:1920px;--margin-page:var(--spacing-page);--margin-content:var(--spacing-content);--duration-fast:120ms;--duration-base:200ms;--duration-slow:320ms;--ease-out:cubic-bezier(0.22,0.9,0.3,1);--ease-in-out:cubic-bezier(0.4,0,0.2,1);--bp-tablet:768px;--bp-desktop:1024px;--radius-xs:4px;--radius-sm:8px;--radius-s:10px;--radius-card:12px;--radius-m:20px;--radius-l:40px;--radius-full:999px;--radius-dialog:var(--radius-m);--z-base:0;--z-content:1;--z-dropdown:200;--z-sticky:500;--z-bulk-bar:600;--z-nav:1000;--z-sidebar:1100;--z-menu:1500;--z-overlay:2000;--z-page-popup:2100;--z-fab:2150;--z-modal:2200;--focus-ring:var(--color-main);--z-popover:2300;--z-tooltip:3000;--z-alert:3100;--z-toast:3200;color-scheme:light}@media (min-width:768px) and (max-width:1023px){:where(.ihabdevteam-core-scope){--spacing-page:40px;--spacing-content:15px;--text-h0-size:32px;--text-h0-line:44px;--text-h0-spacing:-0.75px;--text-h1-size:28px;--text-h1-line:40px;--text-h1-spacing:-0.4px;--text-h2-size:22px;--text-h2-line:32px;--text-h2-spacing:-0.2px;--text-h4-size:16px;--text-h4-line:24px;--text-h5-size:14px;--text-h5-line:21px;--text-body-1-size:17px;--text-body-1-line:27px;--text-body-2-size:15px;--text-body-2-line:24px;--text-body-3-size:14px;--text-body-3-line:22px}}@media (max-width:767px){:where(.ihabdevteam-core-scope){--spacing-page:20px;--spacing-content:10px;--text-h0-size:28px;--text-h0-line:38px;--text-h0-spacing:-0.5px;--text-h1-size:24px;--text-h1-line:34px;--text-h1-spacing:-0.3px;--text-h2-size:20px;--text-h2-line:29px;--text-h2-spacing:-0.2px;--text-h3-size:17px;--text-h3-line:26px;--text-h4-size:15px;--text-h4-line:23px;--text-h5-size:13px;--text-h5-line:20px;--text-body-1-size:17px;--text-body-1-line:27px;--text-body-2-size:15px;--text-body-2-line:23px;--text-body-3-size:13px;--text-body-3-line:21px}}.ihabdevteam-core-scope [data-font-scale=large1],.ihabdevteam-core-scope[data-font-scale=large1],[data-font-scale=large1] .ihabdevteam-core-scope{--text-h4-size:19px;--text-h4-line:29px;--text-h5-size:17px;--text-h5-line:26px;--text-body-1-size:20px;--text-body-1-line:31px;--text-body-2-size:18px;--text-body-2-line:28px;--text-body-3-size:16px;--text-body-3-line:25px;--text-button-1-size:16px;--text-button-1-line:23px;--text-button-2-size:15px;--text-button-2-line:21px;--text-caption-1-size:14px;--text-caption-1-line:20px;--text-caption-2-size:12px;--text-caption-2-line:17px}.ihabdevteam-core-scope [data-font-scale=large2],.ihabdevteam-core-scope[data-font-scale=large2],[data-font-scale=large2] .ihabdevteam-core-scope{--text-h4-size:21px;--text-h4-line:32px;--text-h5-size:19px;--text-h5-line:29px;--text-body-1-size:23px;--text-body-1-line:36px;--text-body-2-size:20px;--text-body-2-line:31px;--text-body-3-size:18px;--text-body-3-line:28px;--text-button-1-size:18px;--text-button-1-line:26px;--text-button-2-size:16px;--text-button-2-line:23px;--text-caption-1-size:15px;--text-caption-1-line:21px;--text-caption-2-size:14px;--text-caption-2-line:19px}.ihabdevteam-core-scope [data-font-scale=large3],.ihabdevteam-core-scope[data-font-scale=large3],[data-font-scale=large3] .ihabdevteam-core-scope{--text-h4-size:23px;--text-h4-line:35px;--text-h5-size:21px;--text-h5-line:32px;--text-body-1-size:25px;--text-body-1-line:39px;--text-body-2-size:22px;--text-body-2-line:34px;--text-body-3-size:19px;--text-body-3-line:30px;--text-button-1-size:19px;--text-button-1-line:27px;--text-button-2-size:18px;--text-button-2-line:26px;--text-caption-1-size:17px;--text-caption-1-line:24px;--text-caption-2-size:15px;--text-caption-2-line:21px}.ihabdevteam-core-scope [data-theme=dark],.ihabdevteam-core-scope[data-theme=dark],[data-theme=dark] .ihabdevteam-core-scope{--color-white:#1e2227;--color-deepWhite:#252a30;--color-darkWhite:#2d3238;--color-whiteLine:hsla(0,0%,100%,.08);--color-black:#f0f2f5;--color-softBlack:#dde1e7;--color-lightBlack:#cbd1da;--color-darkGray:#b8c0cc;--color-deepGray:#a1aab7;--color-gray:#8b95a1;--color-softGray:#737f90;--color-lightGray:#60697a;--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);--color-pureWhite:#0f1215;--color-pureBlack:#f0f2f5;--color-disabled:#3f4650;color-scheme:dark}@media (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark]),.ihabdevteam-core-scope [data-theme=auto],.ihabdevteam-core-scope[data-theme=auto],[data-theme=auto] .ihabdevteam-core-scope{--color-white:#1e2227;--color-deepWhite:#252a30;--color-darkWhite:#2d3238;--color-whiteLine:hsla(0,0%,100%,.08);--color-black:#f0f2f5;--color-softBlack:#dde1e7;--color-lightBlack:#cbd1da;--color-darkGray:#b8c0cc;--color-deepGray:#a1aab7;--color-gray:#8b95a1;--color-softGray:#737f90;--color-lightGray:#60697a;--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);--color-pureWhite:#0f1215;--color-pureBlack:#f0f2f5;--color-disabled:#3f4650;color-scheme:dark}}.force-light-scheme .ihabdevteam-core-scope,.ihabdevteam-core-scope .force-light-scheme,.ihabdevteam-core-scope.force-light-scheme{--color-pureWhite:#fff;--color-white:#fbfdff;--color-deepWhite:#f8fafc;--color-darkWhite:#eef2f6;--color-whiteLine:#dde3ec;--color-lightGray:#96a4b8;--color-softGray:#7b8ca3;--color-gray:#64748b;--color-deepGray:#546170;--color-darkGray:#434d56;--color-lightBlack:#32393f;--color-softBlack:#222528;--color-black:#111;--color-pureBlack:#000;--color-disabled:#bfc7d1;--color-text-main:var(--color-darkMain);--color-text-sub:var(--color-darkSub);--color-text-primary:var(--color-black);--color-text-secondary:var(--color-gray);--color-text-muted:var(--color-lightGray);--color-text-on-brand:var(--color-pureWhite);--color-surface:var(--color-white);--color-surface-raised:var(--color-deepWhite);--color-surface-sunken:var(--color-darkWhite);--color-border:var(--color-whiteLine);color-scheme:light}.ihabdevteam-core-scope .game-overlay{align-items:center;background:rgba(0,0,0,.5);background:var(--game-overlay-bg,rgba(0,0,0,.5));display:flex;inset:0;justify-content:center;position:fixed;z-index:2200;z-index:var(--z-modal)}@media (max-width:767px){.ihabdevteam-core-scope .game-overlay:has(.game-sheet--play){padding:0}.ihabdevteam-core-scope .game-sheet.game-sheet--play{border:none;border-radius:0;box-shadow:none;height:100%;justify-content:center;max-height:none;max-width:none;padding:calc(28px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));width:100%}}@media (max-height:500px){.ihabdevteam-core-scope .game-sheet.game-sheet--play{gap:6px;padding-bottom:calc(10px + env(safe-area-inset-bottom));padding-top:calc(10px + env(safe-area-inset-top))}.ihabdevteam-core-scope .game-sheet--play .game-play-header{gap:8px}.ihabdevteam-core-scope .game-sheet--play .game-play-header__icon{font-size:18px;height:32px;width:32px}}.ihabdevteam-core-scope .game-play-header,.ihabdevteam-core-scope .game-timer{align-items:center;display:flex;gap:10px}.ihabdevteam-core-scope .game-timer__label{min-width:30px;text-align:right;transition:color .3s}.ihabdevteam-core-scope .game-timer-slider-wrap{display:flex;flex:1}.ihabdevteam-core-scope .game-rounds{align-items:center;display:flex;gap:7px}.ihabdevteam-core-scope .game-rounds__dot{background:hsla(0,0%,100%,.14);background:var(--game-dot,var(--game-dot-bg,hsla(0,0%,100%,.14)));border-radius:50%;height:8px;transition:background .25s,transform .25s,box-shadow .25s;width:8px}.ihabdevteam-core-scope .game-rounds__dot--correct{--game-dot:var(--game-dot-correct,#34d399)}.ihabdevteam-core-scope .game-rounds__dot--wrong{--game-dot:var(--game-dot-wrong,#f87171)}.ihabdevteam-core-scope .game-rounds__label{color:hsla(0,0%,100%,.45);color:var(--game-muted,hsla(0,0%,100%,.45));margin-left:auto}.ihabdevteam-core-scope .game-feedback{align-items:center;border-radius:10px;border-radius:var(--radius-s);display:flex;justify-content:center;padding:12px 16px;text-align:center}.ihabdevteam-core-scope .game-feedback--hidden{visibility:hidden}.ihabdevteam-core-scope .game-result{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--spacing-xs)}.ihabdevteam-core-scope .game-result__emoji{font-size:42px}.ihabdevteam-core-scope .game-result__item{align-items:center;border-radius:8px;border-radius:var(--radius-sm);box-sizing:border-box;display:flex;gap:10px;padding:8px 12px;width:100%}.ihabdevteam-core-scope .game-result__status{flex-shrink:0;width:18px}.ihabdevteam-core-scope .game-result__pct-row{align-items:center;display:flex;flex-direction:column;gap:6px;margin-bottom:8px;margin-bottom:var(--spacing-xs);width:100%}.ihabdevteam-core-scope .game-result__footer{display:flex;gap:10px;margin-top:4px;width:100%}@media (max-height:700px){.ihabdevteam-core-scope .game-result{gap:10px}.ihabdevteam-core-scope .game-result__emoji-ring{font-size:30px;height:64px;width:64px}}@media (max-height:500px) and (min-width:520px){.ihabdevteam-core-scope .game-result{grid-column-gap:20px;grid-column-gap:var(--spacing-l);grid-row-gap:4px;align-content:center;align-items:center;-moz-column-gap:20px;column-gap:20px;-moz-column-gap:var(--spacing-l);column-gap:var(--spacing-l);display:grid;grid-template-columns:auto minmax(190px,1fr);height:100%;min-height:0;padding-right:44px;row-gap:4px;width:100%}.ihabdevteam-core-scope .game-result__emoji-ring{font-size:24px;height:52px;width:52px}.ihabdevteam-core-scope .game-result__list{align-self:stretch;grid-column:2;grid-row:1/span 5;max-height:100%;min-height:0}.ihabdevteam-core-scope .game-result__footer{background:none;grid-column:2;grid-row:6;margin-top:0;padding-top:0;position:static}}@media (hover:none){.ihabdevteam-core-scope [role=button]:hover,.ihabdevteam-core-scope a:hover,.ihabdevteam-core-scope button:hover{opacity:1}}.ihabdevteam-core-scope *,.ihabdevteam-core-scope :after,.ihabdevteam-core-scope :before{box-sizing:border-box}.ihabdevteam-core-scope{margin:0}.ihabdevteam-core-scope button,.ihabdevteam-core-scope input,.ihabdevteam-core-scope select,.ihabdevteam-core-scope textarea{font-family:inherit}:where(.ihabdevteam-core-scope) :where(.display-1),:where(.ihabdevteam-core-scope) :where(.display-1b){font-size:clamp(44px,6.6vw,72px);font-size:var(--text-display-1-size);letter-spacing:-.04em;letter-spacing:var(--text-display-1-spacing);line-height:1.05;line-height:var(--text-display-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.display-2),:where(.ihabdevteam-core-scope) :where(.display-2b){font-size:clamp(38px,5.2vw,56px);font-size:var(--text-display-2-size);letter-spacing:-.03em;letter-spacing:var(--text-display-2-spacing);line-height:1.12;line-height:var(--text-display-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.display-3),:where(.ihabdevteam-core-scope) :where(.display-3b){font-size:clamp(34px,4.1vw,44px);font-size:var(--text-display-3-size);letter-spacing:-.02em;letter-spacing:var(--text-display-3-spacing);line-height:1.2;line-height:var(--text-display-3-line);margin:0}:where(.ihabdevteam-core-scope) :where(.display-1){font-weight:800;font-weight:var(--text-display-1-weight)}:where(.ihabdevteam-core-scope) :where(.display-2){font-weight:700;font-weight:var(--text-display-2-weight)}:where(.ihabdevteam-core-scope) :where(.display-3){font-weight:700;font-weight:var(--text-display-3-weight)}:where(.ihabdevteam-core-scope) :where(.display-1b){font-weight:900;font-weight:var(--text-display-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.display-2b){font-weight:800;font-weight:var(--text-display-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(.display-3b){font-weight:800;font-weight:var(--text-display-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h0),:where(.ihabdevteam-core-scope) :where(.h0b){font-size:40px;font-size:var(--text-h0-size);letter-spacing:-1px;letter-spacing:var(--text-h0-spacing);line-height:52px;line-height:var(--text-h0-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h1),:where(.ihabdevteam-core-scope) :where(.h1b){font-size:32px;font-size:var(--text-h1-size);letter-spacing:-.5px;letter-spacing:var(--text-h1-spacing);line-height:44px;line-height:var(--text-h1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h2),:where(.ihabdevteam-core-scope) :where(.h2b){font-size:24px;font-size:var(--text-h2-size);letter-spacing:-.25px;letter-spacing:var(--text-h2-spacing);line-height:34px;line-height:var(--text-h2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h3),:where(.ihabdevteam-core-scope) :where(.h3b){font-size:20px;font-size:var(--text-h3-size);letter-spacing:normal;letter-spacing:var(--text-h3-spacing);line-height:30px;line-height:var(--text-h3-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h4),:where(.ihabdevteam-core-scope) :where(.h4b){font-size:17px;font-size:var(--text-h4-size);letter-spacing:normal;letter-spacing:var(--text-h4-spacing);line-height:26px;line-height:var(--text-h4-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h5),:where(.ihabdevteam-core-scope) :where(.h5b){font-size:15px;font-size:var(--text-h5-size);letter-spacing:normal;letter-spacing:var(--text-h5-spacing);line-height:23px;line-height:var(--text-h5-line);margin:0}:where(.ihabdevteam-core-scope) :where(.h0){font-weight:700;font-weight:var(--text-h0-weight)}:where(.ihabdevteam-core-scope) :where(.h1){font-weight:700;font-weight:var(--text-h1-weight)}:where(.ihabdevteam-core-scope) :where(.h2){font-weight:500;font-weight:var(--text-h2-weight)}:where(.ihabdevteam-core-scope) :where(.h3){font-weight:500;font-weight:var(--text-h3-weight)}:where(.ihabdevteam-core-scope) :where(.h4){font-weight:500;font-weight:var(--text-h4-weight)}:where(.ihabdevteam-core-scope) :where(.h5){font-weight:500;font-weight:var(--text-h5-weight)}:where(.ihabdevteam-core-scope) :where(.h0b){font-weight:800;font-weight:var(--text-h0-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h1b){font-weight:800;font-weight:var(--text-h1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h2b){font-weight:600;font-weight:var(--text-h2-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h3b){font-weight:600;font-weight:var(--text-h3-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h4b){font-weight:600;font-weight:var(--text-h4-weight-bold)}:where(.ihabdevteam-core-scope) :where(.h5b){font-weight:600;font-weight:var(--text-h5-weight-bold)}:where(.ihabdevteam-core-scope) :where(.body-1),:where(.ihabdevteam-core-scope) :where(.body-1b){font-size:18px;font-size:var(--text-body-1-size);font-weight:400;font-weight:var(--text-body-1-weight);line-height:28px;line-height:var(--text-body-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.body-2),:where(.ihabdevteam-core-scope) :where(.body-2b){font-size:16px;font-size:var(--text-body-2-size);font-weight:400;font-weight:var(--text-body-2-weight);line-height:26px;line-height:var(--text-body-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.body-3),:where(.ihabdevteam-core-scope) :where(.body-3b){font-size:14px;font-size:var(--text-body-3-size);font-weight:400;font-weight:var(--text-body-3-weight);line-height:22px;line-height:var(--text-body-3-line);margin:0}:where(.ihabdevteam-core-scope) :where(.body-1b){font-weight:600;font-weight:var(--text-body-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.body-2b){font-weight:600;font-weight:var(--text-body-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(.body-3b){font-weight:600;font-weight:var(--text-body-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(.button-1){font-size:14px;font-size:var(--text-button-1-size);font-weight:500;font-weight:var(--text-button-1-weight);line-height:20px;line-height:var(--text-button-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.button-2){font-size:13px;font-size:var(--text-button-2-size);font-weight:400;font-weight:var(--text-button-2-weight);line-height:18px;line-height:var(--text-button-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.caption-1),:where(.ihabdevteam-core-scope) :where(.caption-1b){font-size:12px;font-size:var(--text-caption-1-size);font-weight:400;font-weight:var(--text-caption-1-weight);line-height:17px;line-height:var(--text-caption-1-line);margin:0}:where(.ihabdevteam-core-scope) :where(.caption-2),:where(.ihabdevteam-core-scope) :where(.caption-2b){font-size:11px;font-size:var(--text-caption-2-size);font-weight:400;font-weight:var(--text-caption-2-weight);line-height:15px;line-height:var(--text-caption-2-line);margin:0}:where(.ihabdevteam-core-scope) :where(.caption-1b){font-weight:600;font-weight:var(--text-caption-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(.caption-2b){font-weight:600;font-weight:var(--text-caption-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-1{font-size:clamp(44px,6.6vw,72px);font-size:var(--text-display-1-size);font-weight:800;font-weight:var(--text-display-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-1b{font-size:clamp(44px,6.6vw,72px);font-size:var(--text-display-1-size);font-weight:900;font-weight:var(--text-display-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-2{font-size:clamp(38px,5.2vw,56px);font-size:var(--text-display-2-size);font-weight:700;font-weight:var(--text-display-2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-2b{font-size:clamp(38px,5.2vw,56px);font-size:var(--text-display-2-size);font-weight:800;font-weight:var(--text-display-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-3{font-size:clamp(34px,4.1vw,44px);font-size:var(--text-display-3-size);font-weight:700;font-weight:var(--text-display-3-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-3b{font-size:clamp(34px,4.1vw,44px);font-size:var(--text-display-3-size);font-weight:800;font-weight:var(--text-display-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h0{font-size:40px;font-size:var(--text-h0-size);font-weight:700;font-weight:var(--text-h0-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h0b{font-size:40px;font-size:var(--text-h0-size);font-weight:800;font-weight:var(--text-h0-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h1{font-size:32px;font-size:var(--text-h1-size);font-weight:700;font-weight:var(--text-h1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h1b{font-size:32px;font-size:var(--text-h1-size);font-weight:800;font-weight:var(--text-h1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h2{font-size:24px;font-size:var(--text-h2-size);font-weight:500;font-weight:var(--text-h2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h2b{font-size:24px;font-size:var(--text-h2-size);font-weight:600;font-weight:var(--text-h2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h3{font-size:20px;font-size:var(--text-h3-size);font-weight:500;font-weight:var(--text-h3-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h3b{font-size:20px;font-size:var(--text-h3-size);font-weight:600;font-weight:var(--text-h3-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h4{font-size:17px;font-size:var(--text-h4-size);font-weight:500;font-weight:var(--text-h4-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h4b{font-size:17px;font-size:var(--text-h4-size);font-weight:600;font-weight:var(--text-h4-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h5{font-size:15px;font-size:var(--text-h5-size);font-weight:500;font-weight:var(--text-h5-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).h5b{font-size:15px;font-size:var(--text-h5-size);font-weight:600;font-weight:var(--text-h5-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-1{font-size:18px;font-size:var(--text-body-1-size);font-weight:400;font-weight:var(--text-body-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-1b{font-size:18px;font-size:var(--text-body-1-size);font-weight:600;font-weight:var(--text-body-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-2{font-size:16px;font-size:var(--text-body-2-size);font-weight:400;font-weight:var(--text-body-2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-2b{font-size:16px;font-size:var(--text-body-2-size);font-weight:600;font-weight:var(--text-body-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-3{font-size:14px;font-size:var(--text-body-3-size);font-weight:400;font-weight:var(--text-body-3-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).body-3b{font-size:14px;font-size:var(--text-body-3-size);font-weight:600;font-weight:var(--text-body-3-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-1{font-size:12px;font-size:var(--text-caption-1-size);font-weight:400;font-weight:var(--text-caption-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-1b{font-size:12px;font-size:var(--text-caption-1-size);font-weight:600;font-weight:var(--text-caption-1-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-2{font-size:11px;font-size:var(--text-caption-2-size);font-weight:400;font-weight:var(--text-caption-2-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).caption-2b{font-size:11px;font-size:var(--text-caption-2-size);font-weight:600;font-weight:var(--text-caption-2-weight-bold)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).button-1{font-size:14px;font-size:var(--text-button-1-size);font-weight:500;font-weight:var(--text-button-1-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).button-2{font-size:13px;font-size:var(--text-button-2-size);font-weight:400;font-weight:var(--text-button-2-weight)}.ihabdevteam-core-scope ::-webkit-scrollbar{height:6px;width:6px}.ihabdevteam-core-scope ::-webkit-scrollbar-track{background:transparent}.ihabdevteam-core-scope ::-webkit-scrollbar-thumb{background:#eef2f6;background:var(--color-darkWhite);border-radius:3px}.ihabdevteam-core-scope ::-webkit-scrollbar-thumb:hover{background:#96a4b8;background:var(--color-lightGray)}.ihabdevteam-core-scope *{scrollbar-color:#eef2f6 transparent;scrollbar-color:var(--color-darkWhite) transparent;scrollbar-width:thin}@keyframes sub-to-main{0%{background-color:#4dcdc0;background-color:var(--color-sub)}to{background-color:#499cdf;background-color:var(--color-main)}}.ihabdevteam-core-scope .safearea{margin:0 auto;max-width:1920px;max-width:var(--container-page);width:100%}.ihabdevteam-core-scope{color:#111;color:var(--color-black);font-family:Pretendard Variable,Pretendard,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-family:var(--font-family);overflow-wrap:anywhere;white-space:normal;word-break:keep-all}.ihabdevteam-core-scope :focus-visible{outline:2px solid #499cdf;outline:2px solid var(--focus-ring);outline-offset:2px}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope *,.ihabdevteam-core-scope :after,.ihabdevteam-core-scope :before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}';oe(L1);var M1={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",selectedOfMax:"\uCD5C\uB300 {{max}}\uAC1C \uC911 {{count}}\uAC1C",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",discardConfirm:{title:"\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?",body:"\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",confirm:"\uC785\uB825 \uCDE8\uC18C"},close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",likeCount:"\uC88B\uC544\uC694 {{count}}",downloadCount:"\uAC00\uC838\uAC04 \uC218 {{count}}",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",noMatches:"\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",networkError:"\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694."},$1={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],yearMonth:"{{year}}\uB144 {{month}}\uC6D4",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704",visitCount:"\uBC29\uBB38 {{count}}\uAC74"},R1={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},P1={clearAriaLabel:"\uAC80\uC0C9\uC5B4 \uC9C0\uC6B0\uAE30"},z1={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},I1={selected:"\uC120\uD0DD\uB428"},O1={placeholder:"\uC120\uD0DD"},F1={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},H1={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274",menuClose:"\uBA54\uB274 \uB2EB\uAE30"},V1={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",feedback:"\uBC84\uADF8\uC2E0\uACE0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274",badgeLabel:"{{label}}, {{count}}\uAC1C"},W1={language:{training:{label:"\uD6C8\uB828 \uC5B8\uC5B4",sub:"\uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uB418\uB294 \uB2E8\uC5B4\uC640 \uC74C\uC131 \uC5B8\uC5B4"}},notifications:{title:"\uC54C\uB9BC"},display:{fontSize:{small:"\uC791\uAC8C",large:"\uD06C\uAC8C"}},cache:{title:"\uCE90\uC2DC \uAD00\uB9AC",confirmMessage:"\uCE90\uC2DC({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",delete:"\uC0AD\uC81C",deleting:"\uC0AD\uC81C \uC911",cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"},trainingRecord:{label:"\uD6C8\uB828 \uAE30\uB85D",sub:"\uC624\uB298\uC758 \uD6C8\uB828 \uC9C4\uD589\uB960 \uBC0F \uD559\uC2B5 \uC77C\uC218"}}},button:{save:"\uC124\uC815 \uC800\uC7A5"},popup:{clear:{confirm:"\uCD08\uAE30\uD654"},update:{confirm:"\uC5C5\uB370\uC774\uD2B8"},cache:{title:"{{label}} \uC0AD\uC81C",message:"{{label}}({{size}})\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?"}},saved:"\u2713 \uC800\uC7A5\uB428",account:{title:"\uACC4\uC815",delete:{sub:"\uD0C8\uD1F4 \uD6C4 30\uC77C \uC774\uB0B4 \uC7AC\uAC00\uC785 \uC2DC \uBCF5\uAD6C \uAC00\uB2A5\uD569\uB2C8\uB2E4."}}},G1={addButton:"\uC774\uC6A9\uAD8C \uCD94\uAC00\uD558\uAE30",couponButton:"\uCFE0\uD3F0 \uC785\uB825",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",segment:{personal:"\uB9D0\uADC0",org:"\uB9D0\uADC0\uB9E4\uB2C8\uC800"},org:{title:"\uD604\uC7AC \uC774\uC6A9\uAD8C",disc:"\uAE30\uAD00\uC5D0\uC11C \uC0AC\uC6A9 \uC911\uC778 \uC774\uC6A9\uAD8C \uC815\uBCF4\uC785\uB2C8\uB2E4.",empty:"\uB4F1\uB85D\uB41C \uAE30\uAD00 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",fallbackTitle:"\uAE30\uAD00 \uC774\uC6A9\uAD8C",startDate:"\uC2DC\uC791\uC77C",endDate:"\uB9CC\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04",duration:"\uC774\uC6A9 \uAE30\uAC04"},active:{infoTitle:"\uC774\uC6A9 \uC815\uBCF4",refund:"\uD658\uBD88 \uC694\uCCAD",startDate:"\uC0AC\uC6A9 \uC2DC\uC791\uC77C",endDate:"\uC885\uB8CC\uC77C",remaining:"\uB0A8\uC740 \uAE30\uAC04"},pending:{title:"\uBCF4\uC720",empty:"\uB300\uAE30 \uC911\uC778 \uC774\uC6A9\uAD8C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."}},U1={profile:{planSuffix:"\uD50C\uB79C",plan:"\uD50C\uB79C"},basicInfo:{name:{placeholder:"\uD64D\uAE38\uB3D9"}},security:{title:"\uBCF4\uC548",password:{label:"\uBE44\uBC00\uBC88\uD638",currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},twoFactor:{label:"2\uB2E8\uACC4 \uC778\uC99D",sub:"\uACC4\uC815 \uBCF4\uC548\uC744 \uAC15\uD654\uD558\uC138\uC694"}}},q1={guide:{faq:{title:"\uC790\uC8FC \uBB3B\uB294 \uC9C8\uBB38",desc:"FAQ \uBAA8\uC544\uBCF4\uAE30"}}},Y1={settings:"\uC124\uC815",start:{title:"\uB2E8\uC5B4\uD6C8\uB828 \uC2DC\uC791",description:"\uC544\uB798 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD574 \uC2DC\uC791\uD558\uC138\uC694"},difficulty:{tooltip:"\uAC00\uC7A5 \uC26C\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uBB34\uC791\uC704', \uAC00\uC7A5 \uC5B4\uB824\uC6B4 \uB09C\uC774\uB3C4\uB294 '\uCD08\uC131\uCC28\uC774' \uC785\uB2C8\uB2E4."},contrast:{label:"\uB300\uB9BD",type:"\uB300\uB9BD \uC885\uB958",count:"\uB300\uB9BD \uAC2F\uC218",n:"{{n}}\uAC1C"},filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB4F1\uAE09",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",comingSoon:"\uC900\uBE44 \uC911",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",selectInOrder:"\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",ttsUnavailable:"\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{pendingDone:"\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",summary:"{{correct}}\uAC1C\uC758 \uBB38\uD56D\uC744 \uC798 \uB4E4\uC5C8\uC2B5\uB2C8\uB2E4.",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",done:"\uC644\uB8CC",viewResult:"\uACB0\uACFC \uD655\uC778",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30",audioStatus:{idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"}},K1={totalCount:"\uAC1C\uC758 \uD6C8\uB828 \uBB36\uC74C",renameGroup:"\uADF8\uB8F9 \uC774\uB984 \uBC14\uAFB8\uAE30",itemCount:"\uD6C8\uB828 \uAC1C\uC218",menu:{edit:"\uD6C8\uB828 \uBB36\uC74C \uC218\uC815",rename:"\uC774\uB984 \uBC14\uAFB8\uAE30",move:"\uADF8\uB8F9 \uC774\uB3D9",duplicate:"\uD6C8\uB828 \uBB36\uC74C \uBCF5\uC0AC",publish:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30"},sort:{customers:"\uD6C8\uB828 \uACE0\uAC1D"},copyLink:"\uB9C1\uD06C \uBCF5\uC0AC",removeLink:"\uB9C1\uD06C \uC81C\uAC70",linkRemoved:"\uB9C1\uD06C\uAC00 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",linkSaveFirst:"\uBA3C\uC800 \uD6C8\uB828 \uBB36\uC74C\uC744 \uC800\uC7A5\uD574\uC8FC\uC138\uC694.",linkSaveFirstHint:"\uC800\uC7A5\uB41C \uD6C8\uB828 \uBB36\uC74C\uC5D0\uC11C\uB9CC \uACF5\uC720 \uB9C1\uD06C\uB97C \uC0DD\uC131\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",linkCopySelect:"\uBCF5\uC0AC\uAC00 \uB9C9\uD600 \uB9C1\uD06C\uB97C \uC120\uD0DD\uD588\uC2B5\uB2C8\uB2E4. Ctrl/\u2318+C\uB85C \uBCF5\uC0AC\uD558\uC138\uC694.",nameRequired:"\uD6C8\uB828 \uBB36\uC74C \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694.",itemRequired:"\uD6C8\uB828\uC744 1\uAC1C \uC774\uC0C1 \uB2F4\uC544\uC8FC\uC138\uC694.",randomAdd:"\uBB34\uC791\uC704 \uCD94\uAC00"},Z1={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",basicInfo:{editTooltip:"\uC218\uC815\uD558\uAE30"},member:{placeholder:"\uC774\uBA54\uC77C \uB610\uB294 \uC804\uD654",link:"\uC5F0\uACB0",linking:"\uC5F0\uACB0 \uC911\u2026"},device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addTooltip:"\uC0C8\uB85C \uC0DD\uC131",addButton:"\uAE30\uAE30 \uCD94\uAC00",listTooltip:"\uBAA9\uB85D \uBCF4\uAE30",listTitle:"\uCE21 \uAE30\uAE30 \uBAA9\uB85D",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",release:"\uD574\uC81C",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{title:"\uBC29\uBB38 \uC608\uC815",addTooltip:"\uC608\uC815 \uB4F1\uB85D",listTooltip:"\uC804\uCCB4 \uBCF4\uAE30",empty:"\uC608\uC815\uB41C \uBC29\uBB38\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D",memoPlaceholder:"\uBC29\uBB38 \uC608\uC815 \uAD00\uB828 \uBA54\uBAA8\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694."},visitHistory:{title:"\uBC29\uBB38 \uC774\uB825",addTooltip:"\uC2E0\uADDC \uB4F1\uB85D",empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uC0C1\uD669",active:"\uD65C\uC131",inactive:"\uBE44\uD65C\uC131",copy:"\uB9C1\uD06C \uBCF5\uC0AC",copied:"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",visits:{title:"\uBC29\uBB38"},trainingRecord:{title:"\uACE0\uAC1D \uD6C8\uB828 \uAE30\uB85D"},status:{trainingSubtitle:"\uD6C8\uB828 \uD604\uD669"},detail:{session:{completedFmt:"\uC644\uB8CC {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:"\uC758 \uBC29\uBB38"},duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"}},X1={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},J1={title:"\uCFE0\uD3F0",subtitle:"\uCFE0\uD3F0 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBCF4\uC720 \uCFE0\uD3F0\uC744 \uD655\uC778\uD558\uC138\uC694.",input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9",error:{invalid:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uCFE0\uD3F0 \uCF54\uB4DC\uC785\uB2C8\uB2E4.",alreadyUsed:"\uC774\uBBF8 \uC0AC\uC6A9\uB41C \uCFE0\uD3F0\uC785\uB2C8\uB2E4."},success:{applied:'"{{name}}" \uCFE0\uD3F0\uC774 \uC801\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.'},section:{owned:"\uBCF4\uC720 \uCFE0\uD3F0"},status:{used:"\uC0AC\uC6A9 \uC644\uB8CC",available:"\uC0AC\uC6A9 \uAC00\uB2A5"}},Q1={unitVisit:"\uAC74",periodAll:"\uC804\uCCB4",showN:"{{n}}\uAC1C\uC529"},ev={subtitle:"\uC5C5\uCCB4 \uBC0F \uBC95\uC778 \uC815\uBCF4\uB97C \uAD00\uB9AC\uD558\uC138\uC694.",editButton:"\uC815\uBCF4 \uC218\uC815",basicInfo:{title:"\uAE30\uBCF8 \uC815\uBCF4"},contactInfo:{title:"\uC5F0\uB77D\uCC98 \uC815\uBCF4"}},tv={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},av={comingSoon:"\uB2E8\uC5B4\uD6C8\uB828 \uAE30\uB2A5\uC744 \uC900\uBE44 \uC911\uC785\uB2C8\uB2E4."},ov={colName:"\uB2E8\uC5B4\uD45C \uC774\uB984",open:"\uC5F4\uAE30",countSuffix:"\uAC1C\uC758 \uB2E8\uC5B4\uD45C",tab:{cards:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",tables:"\uB2E8\uC5B4\uD45C"},cardsEmpty:"\uC544\uC9C1 \uB9CC\uB4E0 \uB2E8\uC5B4\uD45C \uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",addCard:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC \uCD94\uAC00",menu:{publishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uC62C\uB9AC\uAE30",unpublishStore:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0\uC11C \uB0B4\uB9AC\uAE30"},newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},rv={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},nv={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",topInfo:"\uC0C1\uB2E8 \uC815\uBCF4",bottomInfo:"\uD558\uB2E8 \uC815\uBCF4",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)",copyName:"{{name}} (\uBCF5\uC0AC)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"{{name}} \uC0AD\uC81C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",store:{badge:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"},card:{sub:"\uB2E8\uC5B4\uD45C \uCE74\uB4DC",empty:"\uC774 \uCE74\uB4DC\uC5D0 \uB2E8\uC5B4\uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},toast:{renameError:"\uC774\uB984 \uBCC0\uACBD\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveError:"\uC800\uC7A5\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",deleteError:"\uC0AD\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",duplicateError:"\uBCF5\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",saveSuccess:"\uB2E8\uC5B4\uD45C\uAC00 \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",markName:{o:"\uB9DE\uC74C",triangle:"\uC560\uB9E4",x:"\uD2C0\uB9BC"},button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78 \uC544\uB798 \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB20C\uB7EC \uB9E4\uAE30\uC138\uC694. \uB9C8\uC6B0\uC2A4\uB85C\uB294 \uCE78\uC5D0 \uC190\uC744 \uC5B9\uC73C\uBA74 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"},info:{grade:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808",pos:"\uD488\uC0AC: {{v}}",wordType:"\uC720\uD615: {{v}}"},pos:{noun:"\uBA85\uC0AC",verb:"\uB3D9\uC0AC",adjective:"\uD615\uC6A9\uC0AC",adverb:"\uBD80\uC0AC",numeral:"\uC218\uC0AC",determiner:"\uAD00\uD615\uC0AC",interjection:"\uAC10\uD0C4\uC0AC",particle:"\uC870\uC0AC",affix:"\uC811\uC0AC",dependentNoun:"\uC758\uC874\uBA85\uC0AC",pronoun:"\uB300\uBA85\uC0AC",auxVerb:"\uBCF4\uC870\uB3D9\uC0AC",auxAdjective:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},reorder:{moved:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40",handle:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)",hint:"Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"}},iv={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB2E8\uC5B4\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB4F1\uAE09",grade:"{{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193",original:"\uBC1B\uC740 \uC21C\uC11C"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30",popup:{title:"{{n}}\uBC88 \uCE78\uC5D0 \uB123\uC744 \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uC138\uC694"}},sv={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30"},lv={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},cv={maxUses:"\uCD5C\uB300 \uC0AC\uC6A9 \uD69F\uC218 (\uBE44\uC6CC\uB450\uBA74 \uBB34\uC81C\uD55C)",redirect:"\uC774\uB3D9\uD560 \uD398\uC774\uC9C0 URL (\uBE44\uC6CC\uB450\uBA74 \uC571 \uBA54\uC778)",creating:"\uC0DD\uC131 \uC911\u2026",create:"\uB9C1\uD06C \uC0DD\uC131",created:"\u2713 \uB9C1\uD06C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",copied:"\uBCF5\uC0AC\uB428!",copy:"\uBCF5\uC0AC",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026",empty:"\uC0DD\uC131\uB41C \uB9C1\uD06C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",uses:"{{count}}\uD68C \uC0AC\uC6A9",expiresAt:"\uB9CC\uB8CC: {{date}}",createdAt:"\uC0DD\uC131: {{date}}",confirmDelete:"\uC0AD\uC81C\uD560\uAE4C\uC694?",deactivate:"\uBE44\uD65C\uC131\uD654",delete:"\uC0AD\uC81C",status:{active:"\uC720\uD6A8",expired:"\uB9CC\uB8CC",inactive:"\uBE44\uD65C\uC131"}},dv={passwordPlaceholder:"\uBE44\uBC00\uBC88\uD638 \uC785\uB825"},uv={subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uC5EC \uB4E3\uAE30 \uC5F0\uC2B5\uC744 \uC9C4\uD589\uD558\uC138\uC694."},pv={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",validationError:{brandAndProduct:"\uBE0C\uB79C\uB4DC\uC640 \uC81C\uD488\uBA85\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."},addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C",type:{hearingAid:"\uBCF4\uCCAD\uAE30",cochlearImplant:"\uC778\uACF5\uC640\uC6B0"}},hv={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",daily:"\uC77C\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"},subscriptionStatus:{active:"{{pct}}% \uD65C\uC131",expired:"{{pct}}% \uB9CC\uB8CC",unused:"{{pct}}% \uBBF8\uC0AC\uC6A9"}},mv={editBanner:{message:"\uC800\uC7A5\uD558\uBA74 \uC9C0\uAE08 \uC218\uC815 \uC911\uC778 \uB300\uB9BD\uC30D\uD45C\uAC00 \uAC31\uC2E0\uB429\uB2C8\uB2E4."},phonemeSelect:{title:"\uC74C\uC18C \uC120\uD0DD",vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},searchLabel:{error:"\uB370\uC774\uD130 \uBD88\uB7EC\uC624\uAE30 \uC2E4\uD328",loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},bv={sentenceTyping:{roundCount:"{{rounds}}\uBB38\uC81C \xB7 \uBB38\uC81C\uB2F9 {{timeLimit}}\uCD08"},wordDefense:{me:"\uB098"},dictation:{title:"\uBC1B\uC544\uC4F0\uAE30",desc:"\uBB38\uC7A5\uC744 \uB4E3\uACE0 \uC815\uD655\uD788 \uBC1B\uC544\uC801\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC131 \uC7AC\uC0DD, \uC785\uB825 \uD544\uB4DC, \uC815\uB2F5 \uBE44\uAD50"},result:{heading:"{{number}}\uB2E8\uACC4 \uD574\uB2F5",retry:"\uB2E4\uC2DC \uD480\uAE30"},common:{accuracy:"{{pct}}% \uC815\uD655\uB3C4"},soundMatch:{title:"\uC18C\uB9AC \uB9E4\uCE6D",desc:"\uAC19\uC740 \uC18C\uB9AC\uB97C \uAC00\uC9C4 \uB2E8\uC5B4 \uB610\uB294 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB9E4\uCE6D\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uD50C\uB808\uC774 \uBC84\uD2BC, \uD0C0\uC774\uBA38, \uC810\uC218 \uC9D1\uACC4"},orderSequence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uD769\uC5B4\uC9C4 \uBB38\uC7A5 \uC870\uAC01\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uBB38\uC7A5 \uC138\uD2B8, \uC21C\uC11C \uD655\uC778 \uC778\uD130\uD398\uC774\uC2A4"},speedListen:{title:"\uC18D\uB3C4 \uB4E3\uAE30",desc:"\uC2DC\uAC04 \uC81C\uD55C \uB0B4\uC5D0 \uBB38\uC7A5\uC758 \uB2E8\uC5B4 \uC218\uB97C \uB9DE\uCD94\uB294 \uB3C4\uC804\uD615 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC81C\uD55C\uC2DC\uAC04, \uC810\uC218\uD310"},noiseChallenge:{title:"\uC18C\uC74C \uCC4C\uB9B0\uC9C0",desc:"\uBC30\uACBD \uC18C\uC74C \uC18D\uC5D0\uC11C \uBB38\uC7A5\uC744 \uBD84\uBCC4\uD558\uB294 \uC5F0\uC2B5\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB2E4\uC591\uD55C \uC18C\uC74C \uB808\uBCA8, \uC810\uC218 \uC9D1\uACC4"},fastListen:{title:"\uBE60\uB978 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uBB38\uC7A5\uC744 \uBE60\uB974\uAC8C \uB4E4\uB824\uC8FC\uACE0 \uD575\uC2EC \uB2E8\uC5B4\uB97C \uC120\uD0DD\uD558\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uB09C\uC774\uB3C4\uBCC4 \uC18D\uB3C4, \uD0C0\uC774\uBA38"},shadowing:{title:"\uC250\uB3C4\uC789",desc:"\uBB38\uC7A5\uC744 \uB530\uB77C \uB9D0\uD558\uBA70 \uBC1C\uC74C\uACFC \uC5B5\uC591\uC744 \uC5F0\uC2B5\uD558\uB294 \uBAA8\uB4DC\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC7AC\uC0DD, \uB179\uC74C, \uBE44\uAD50 \uD53C\uB4DC\uBC31"},phonemeHunt:{title:"\uC74C\uC6B4 \uCC3E\uAE30",desc:"\uD2B9\uC815 \uC74C\uC6B4(\uBC1C\uC74C)\uC744 \uD3EC\uD568\uD55C \uB2E8\uC5B4\uB97C \uCC3E\uC544\uB0B4\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4.",comingSoon:"\uAD6C\uD604 \uC608\uC815: \uC74C\uC6B4 \uD544\uD130, \uD78C\uD2B8 \uAE30\uB2A5"}},gv={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
2
2
  \uC2E0\uB8B0\uB97C \uC313\uACE0
3
- \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638"},fv={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},vv={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},xv={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},Cv={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},_v={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},yv={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},wv={ariaLabel:"\uC120\uD0DD \uD0ED"},kv={ariaLabel:"\uD0ED"},Bv={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},Av={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},Sv={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},Ev={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},Nv={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},Dv={manage:{unit:"\uAC74"}},Tv={cancelLabel:"\uCDE8\uC18C"},jv={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},Lv={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},Mv={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},$v={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},Rv={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},Pv={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},zv={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},Iv={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},Ov={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},Fv={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Hv={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},Vv={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},Wv={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},Gv={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},Uv={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},qv={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Yv={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},Kv={common:M1,calendar:$1,passCard:R1,searchField:P1,rating:z1,colorPicker:I1,dropdown:O1,accordion:F1,header:H1,nav:V1,settings:W1,usage:G1,account:U1,help:q1,training:Y1,trainingSettings:K1,customers:Z1,payment:X1,coupons:J1,visits:Q1,company:ev,trainingType:tv,myWordTraining:av,myWordTable:ov,keyWords:rv,wordTable:nv,wordSearch:iv,wordPrint:sv,topic:lv,accessLinkManager:cv,login:dv,trainingPlanRun:uv,device:pv,manager:hv,wordPairs:mv,game:bv,footer:gv,landing:fv,date:vv,trainingSetPage:xv,wordTrainingPreview:Cv,wordData:_v,textField:yv,segmentedControl:wv,tabs:kv,fileUpload:Bv,avatar:Av,myHomework:Sv,trainingStatus:Ev,store:Nv,homework:Dv,inquiry:Tv,progress:jv,trainingMiss:Lv,table:Mv,wordScore:$v,topBanner:Rv,datePicker:Pv,report:zv,tooltip:Iv,phonemeProfile:Ov,bulkBar:Fv,debug:Hv,badge:Vv,loader:Wv,soundCompass:Gv,breadcrumb:Uv,board:qv,promoBannerBg:Yv},Zv={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},Xv={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount:"{{count}} visit(s)"},Jv={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},Qv={clearAriaLabel:"Clear search"},ex={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},tx={selected:"selected"},ax={placeholder:"Select"},ox={collapse:"Collapse",expand:"Expand"},rx={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},nx={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}"},ix={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},sx={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},lx={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password",currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},cx={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},dx={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",n:"{{n}}"},filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",done:"Done",viewResult:"View Results",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{idle:"Idle",resolving:"Resolving\u2026",checking_exists:"Checking file\u2026",getting_signed_url:"Getting URL\u2026",downloading:"Downloading\u2026",measuring_duration:"Measuring length\u2026",ready:"Ready",error:"Error"}},ux={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},px={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"},duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},hx={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},mx={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},bx={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},gx={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},fx={title:"Training by Type",subtitle:"Select the training type you want",listenInNoise:{title:"Sentence Listening in Noise",desc:"Train sentence comprehension in various noise environments."},shortStory:{title:"Short Story Listening",desc:"Listen to short stories and understand the content."},longStory:{title:"Long Story Listening",desc:"Focus on listening to long stories and grasp the content."},orderingSentence:{title:"Sentence Ordering",desc:"Arrange heard sentences in the correct order."},SAME_SOUND_PICK:{label:"Listen & Pick Same Sound",sub:"Pick the word card that matches what you heard."},SAME_OR_DIFF:{label:"Same or Different?",sub:"Decide whether the two sounds are the same or different."},HEAR_AND_PICK_SAME:{label:"Hear & Match Word",sub:"Pick the word card that matches the sound you heard."},HEAR_AND_PICK_INCLUDED:{label:"Find Word Containing Sound",sub:"Pick the word card that contains the syllable you heard."},STARTS_WITH_SAME_SOUND:{label:"Find Word Starting with Same Sound",sub:"Pick a word that starts with the same sound as what you heard."},LISTEN_AND_REMEMBER_ORDER:{label:"Listen & Recall Order",sub:"Select the cards in the order you heard the three words."},MERGE_2_SYLLABLES:{label:"Combine 2 Syllables",sub:"What word do two syllables make?"},MERGE_3_SYLLABLES:{label:"Combine 3 Syllables",sub:"What word do three syllables make?"},MERGE_2_PHONEMES:{label:"Combine 2 Phonemes",sub:"What sound do two phonemes make?"},MERGE_3_PHONEMES:{label:"Combine 3 Phonemes",sub:"What sound do three phonemes make?"},DROP_1_FROM_2SYLL:{label:"Drop 1 Syllable from 2-Syllable",sub:"What sound remains when you remove a syllable from a 2-syllable word?"},DROP_1_FROM_3SYLL:{label:"Drop 1 Syllable from 3-Syllable",sub:"What sound remains when you remove a syllable from a 3-syllable word?"},DROP_PART_FROM_COMPOUND:{label:"Drop Part of Compound Word",sub:"What word remains when you remove part of a compound word?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"Drop Final Consonant",sub:"What sound remains when you remove the final consonant?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"Drop Consonant",sub:"What sound remains when you remove the consonant?"},CHANGE_1_SYLL_IN_2SYLL:{label:"Change 1 Syllable (2-Syllable)",sub:"Change one syllable in a 2-syllable word to make a new word."},CHANGE_1_SYLL_IN_3SYLL:{label:"Change 1 Syllable (3-Syllable)",sub:"Change one syllable in a 3-syllable word to make a new word."},CHANGE_1_PHONEME_IN_1SYLL:{label:"Change 1 Phoneme (1-Syllable)",sub:"Change one phoneme in a 1-syllable word to make a new sound."},CHANGE_1_PHONEME_IN_2SYLL:{label:"Change 1 Phoneme (2-Syllable)",sub:"Change one phoneme in a 2-syllable word to make a new word."}},vx={comingSoon:"Word training is coming soon."},xx={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"},publishedBadge:"Published",sharedBadge:"Shared"},Cx={title:"Key Words",empty:"No key words available."},_x={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete {{name}}",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse, hover the cell to reveal them.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"}},yx={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},wx={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},kx={title:"By Topic",subtitle:"Select a topic to start listening training",noiseTitle:"Sentence Listening in Noise",shortStoryTitle:"Short Story Listening",FOOD:"Food",HLTH:"Health",WETH:"Weather",PRSN:"People",KRCT:"Korean Culture",STRY:"Stories",LOCA:"Locations",SOAR:"Society & Arts",NTSC:"Nature & Science",SPRT:"Sports",sub:{TRKRFD:"Traditional Korean Food",MDKRFD:"Modern Korean Food",WRLDFD:"World Cuisine",MTRFRT:"Ingredients & Fruits",GEFDKL:"Food Facts",HTETHB:"Healthy Eating",DISILL:"Diseases",EXCISE:"Exercise",GEHTKL:"Health Facts",GESSKL:"Seasons",SNWRAN:"Snow & Rain",WTHFCT:"Weather Forecast",GEWTKL:"Weather Facts",JODYPS:"Joseon Dynasty",MDKRPS:"Modern Korea",THKDPS:"Three Kingdoms",WRLART:"World Artists",WRLPSN:"World Figures",KRLANG:"Korean Language",TRPLCT:"Traditional Games",HERITG:"Heritage",EVTFES:"Events & Festivals",GECTKL:"General Knowledge",FRYTAL:"Fairy Tales",AMZING:"Amazing Stories",DAYSTR:"Everyday Stories",KRLDMK:"Korean Landmarks",SELNMK:"Seoul Landmarks",WRDTRB:"World Travel",NAVIGT:"Navigation",KRSOCI:"Korea",ECONEW:"Economy & News",GENART:"Arts",GELFKL:"Life Tips",ANIMAL:"Animals",PLANTS:"Plants",ETHPLT:"Earth",TOLELC:"Tools & Electronics",GESCKL:"Science Facts",INVDSP:"Individual Sports",MARART:"Martial Arts",TEAMSP:"Team Sports",FOOTBL:"Soccer",GESPKL:"Sports Facts"}},Bx={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},Ax={passwordPlaceholder:"Enter password"},Sx={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant"}},Ex={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},Nx={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},Dx={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},Tx={lead:`IHAB builds trust
3
+ \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8",kakao:"KAKAO Talk \uC624\uD508\uCC44\uD305"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638"},fv={trainingPhone:{topic:"\uD143\uBC2D\uAC00\uAFB8\uAE30",prev:"\uC774\uC804",next:"\uB2E4\uC74C",speed:"\uBE60\uB974\uAE30 3",noiseType:"\uC640\uAE00\uC640\uAE00",settings:"\uC124\uC815",start:{caption:"\uC544\uB798 \uD50C\uB808\uC774(\u25B6) \uBC84\uD2BC\uC744 \uB20C\uB7EC \uBB38\uC7A5\uC744 \uC798 \uB4E4\uC5B4\uBCF4\uC138\uC694. \uC798 \uB4E4\uC73C\uC2E0 \uB4A4 \uBB38\uC7A5\uC744 \uD655\uC778\uD558\uC138\uC694."},feedback:{caption:"\uC798 \uD0A4\uC6B4 \uBAA8\uC885\uC744 \uD143\uBC2D\uC5D0 \uC2EC\uACE0 \uBE44\uB2D0\uC744 \uC798 \uB36E\uC5B4 \uC90D\uB2C8\uB2E4."},done:{heardWell:"\uC798 \uB4E4\uB9B0 \uBB38\uC7A5",listenAgain:"\uD55C \uBC88 \uB354 \uB4E3\uAE30"}}},vv={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},xv={options:"\uD6C8\uB828 \uC635\uC158",difficulty:"\uB09C\uC774\uB3C4",exclude:"\uC81C\uC678",chosung:"\uCD08\uC131",excludeOptions:{none:"\uC5C6\uC74C",noImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"}},Cv={answer:"\uC815\uB2F5",distractor:"\uC624\uB2F5"},_v={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},yv={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"},wv={ariaLabel:"\uC120\uD0DD \uD0ED"},kv={ariaLabel:"\uD0ED"},Bv={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},Av={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},Sv={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"},reason:{notLoggedIn:"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},list:{title:"\uBC1B\uC740 \uC219\uC81C"},status:{expired:"\uB9CC\uB8CC\uB428",done:"\uC644\uB8CC {{count}}\uD68C \xB7 {{date}}",notDone:"\uBBF8\uC644\uB8CC"}},Ev={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30",crossword:"\uAC00\uB85C\uC138\uB85C"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",count:"\uC804\uCCB4",done:"\uC644\uB8CC",remaining:"\uBBF8\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},filter:{countSuffix:" \uD6C8\uB828"},time:{countLabel:"{{n}}\uD68C \uD6C8\uB828",empty:"\uD6C8\uB828 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},daily:{title:"\uC624\uB298\uC758 \uB4E3\uAE30 \uAE30\uB85D",empty:"\uC644\uB8CC\uD55C \uD68C\uCC28\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},crossword:{title:"\uAC00\uB85C\uC138\uB85C\uD034\uC988",empty:"\uC644\uB8CC\uD55C \uB808\uBCA8\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",trainingType:{LISTEN_IN_NOISE:"\uC18C\uC74C \uD558 \uBB38\uC7A5",SHORT_STORY:"\uC9E7\uC740 \uC774\uC57C\uAE30",LONG_STORY:"\uAE34 \uC774\uC57C\uAE30",ORDERING_SENTENCE:"\uBB38\uC7A5 \uC21C\uC11C\uD654"}},Nv={publish:{descPlaceholder:"\uB9D0\uADC0\uC790\uB8CC\uC2E4\uC5D0 \uD45C\uC2DC\uD560 \uD55C \uC904 \uC124\uBA85 (\uC120\uD0DD)"},import:"\uB0B4 \uD6C8\uB828\uC5D0 \uAC00\uC838\uC624\uAE30",publisher:"\uAC8C\uC2DC\uC790",time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"},badge:{shared:"\uB9D0\uADC0\uC790\uB8CC\uC2E4"}},Dv={manage:{unit:"\uAC74"}},Tv={cancelLabel:"\uCDE8\uC18C"},jv={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},Lv={panelTitle:"\uD6C8\uB828 \uC624\uB2F5",viewItems:"\uBB38\uD56D",viewTypes:"\uC720\uD615",colPending:"\uB0A8\uC740 \uAC83",colTrend:"\uBCC0\uD654",colRuns:"\uD310",unitItem:"\uAC1C",skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",summaryLabel:"\uC313\uC778 \uAE30\uB85D",summaryValue:"{{items}}\uBB38\uD56D \xB7 \uC544\uC9C1 \uBABB \uC7A1\uC740 \uAC83 {{pending}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C",picked:"\u2192 {{what}}",typeClear:"\uB2E4 \uC7A1\uC558\uC5B4\uC694",typePending:"{{total}}\uAC1C \uC911 {{pending}}\uAC1C \uB0A8\uC74C",flat:"\uBCC0\uD654 \uC5C6\uC74C",runs:"{{count}}\uD310",avgDuration:"\uD3C9\uADE0 {{sec}}\uCD08"},Mv={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"},$v={panelTitle:"\uB2E8\uC5B4\uD45C \uCC44\uC810",viewWords:"\uB0B1\uB9D0",viewTables:"\uD45C",colLatest:"\uB9C8\uC9C0\uB9C9",colTrend:"\uBCC0\uD654",unitTime:"\uD68C",summaryLabel:"\uC313\uC778 \uCC44\uC810",summaryValue:"{{times}}\uD68C \xB7 \uB0B1\uB9D0 {{words}}\uAC1C",nextLabel:"\uB2E4\uC74C\uC5D0 \uBCFC \uAC83",nextCount:"{{count}}\uAC1C",allClear:"\uC9C0\uB09C\uBC88\uC5D0 \uBAA8\uB450 \uB9DE\uD614\uC2B5\uB2C8\uB2E4.",times:"{{count}}\uD68C",flat:"\uBCC0\uD654 \uC5C6\uC74C",recentLabel:"\uCD5C\uADFC \uCC44\uC810",nextCountCapped:"{{total}}\uAC1C \uC911 {{shown}}\uAC1C"},Rv={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},Pv={selectYearMonth:"\uC5F0\uC6D4 \uC120\uD0DD",chooseDate:"\uB0A0\uC9DC \uC120\uD0DD"},zv={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},Iv={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},Ov={devNone:"\uBC1C\uB2EC \uC790\uB8CC \uC5C6\uC74C",place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},Fv={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Hv={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},Vv={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},Wv={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},Gv={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},Uv={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},qv={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Yv={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},Kv={common:M1,calendar:$1,passCard:R1,searchField:P1,rating:z1,colorPicker:I1,dropdown:O1,accordion:F1,header:H1,nav:V1,settings:W1,usage:G1,account:U1,help:q1,training:Y1,trainingSettings:K1,customers:Z1,payment:X1,coupons:J1,visits:Q1,company:ev,trainingType:tv,myWordTraining:av,myWordTable:ov,keyWords:rv,wordTable:nv,wordSearch:iv,wordPrint:sv,topic:lv,accessLinkManager:cv,login:dv,trainingPlanRun:uv,device:pv,manager:hv,wordPairs:mv,game:bv,footer:gv,landing:fv,date:vv,trainingSetPage:xv,wordTrainingPreview:Cv,wordData:_v,textField:yv,segmentedControl:wv,tabs:kv,fileUpload:Bv,avatar:Av,myHomework:Sv,trainingStatus:Ev,store:Nv,homework:Dv,inquiry:Tv,progress:jv,trainingMiss:Lv,table:Mv,wordScore:$v,topBanner:Rv,datePicker:Pv,report:zv,tooltip:Iv,phonemeProfile:Ov,bulkBar:Fv,debug:Hv,badge:Vv,loader:Wv,soundCompass:Gv,breadcrumb:Uv,board:qv,promoBannerBg:Yv},Zv={statusFilter:"Filter by status",pageSizeSelect:"Items per page",selectedCount_one:"{{count}} selected",selectedCount_other:"{{count}} selected",moreFor:"More options for {{name}}",cancel:"Cancel",info:"Info",errorState:{message:"Couldn't load this.",retry:"Try again"},save:"Save",confirm:"Confirm",discardConfirm:{title:"Discard your changes?",body:"If you do not save, everything you have entered will be lost.",confirm:"Discard"},close:"Close",back:"Back",emptyTrainingName:"Training name is empty.",remove:"Remove",image:"Image",delete:"Delete",reset:"Reset",update:"Update",download:"Download",likeCount:"{{count}} likes",selectedOfMax:"{{count}} of {{max}}",downloadCount:"{{count}} downloads",search:"Search",empty:"No data.",yes:"Yes",no:"No",all:"All",none:"None",days_one:"{{count}} day",days_other:"{{count}} days",loadMore:"Load More",retry:"Try Again",prevPage:"Previous page",nextPage:"Next page",play:"Play",pause:"Pause",playPause:"Play / Pause",replay:"Replay",subscription:"Subscription",done:"Done",failed:"Failed",continue:"Continue",notification:"Notice",emptyList:"No items",noMatches:"No matching items",menu:"Menu",resetSelection:"Reset Selection",pageSizeLabel:"Show {{n}}",totalCountPrefix:"Total: ",totalCountSuffix:"",expand:"Expand",collapse:"Collapse",popup:"Popup",more:"More",codeBlock:"Code block",totalPrefix:"",copyCode:"Copy code",copied:"Copied",col:{problem:"Question"},phonetics:{place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"},vowel:{frontHigh:"Front high vowel",backHighUnrounded:"Back high unrounded vowel",backHighRounded:"Back high rounded vowel",frontMid:"Front mid vowel",backMidUnrounded:"Back mid unrounded vowel",backMidRounded:"Back mid rounded vowel",low:"Low vowel"},glide:{j:"j-glide",w:"w-glide",velar:"\u0270-glide"}},unknownError:"Unknown error",networkError:"The network connection is unstable. Check your connection and try again."},Xv={rangeSelect:"Select period",dow:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yearMonth:"{{month}}/{{year}}",prevMonth:"Previous month",addOnDate:"Add a visit on {{date}}",nextMonth:"Next month",prevWeek:"Previous week",nextWeek:"Next week",legend:{visited:"Visited",scheduled:"Scheduled",noVisit:"No Show"},periodSelect:"Period unit",visitCount:"{{count}} visit(s)"},Jv={planSuffix:"Plan",labeledPlan:"{{label}} Plan",couponCode:"Pass Code",specialLabel:"Open Special",unitDay:"d",unitYear:"yr",remainingDay:"{{n}}d left",remainingHour:"{{n}}h left",remainingMinute:"{{n}}m left",remainingSecond:"{{n}}s left",menu:{use:"Activate",refund:"Refund",delete:"Delete"}},Qv={clearAriaLabel:"Clear search"},ex={starLabel:"Select star {{n}}",valueLabel:"{{value}} out of {{max}}",groupLabel:"Rating"},tx={selected:"selected"},ax={placeholder:"Select"},ox={collapse:"Collapse",expand:"Expand"},rx={biArea:"BI area",biSymbol:"BI symbol",logoMalgwi:"Malgwi logo",logoManager:"Malgwi Manager logo",menuOpen:"Open menu",utilMenu:"Utility menu",menuClose:"Close menu"},nx={mainMenu:"Main menu",bottomNav:"Bottom navigation",goToManager:"Go to Malgwi Manager",goToMalgwi:"Go to Malgwi",modeLabelManager:"Malgwi Manager",modeLabelMalgwi:"Malgwi",training:"Training",settings:"Settings",notifications:"Notifications",account:"Account",help:"Help",feedback:"Report a bug",debug:"Debug",coupons:"Coupons",topic:"By Topic",trainingType:"By Training Type",wordPairs:"Word Pairs",wordSearch:"Word Search",wordTable:"Word Table Creator",company:"Company Info",more:"More",moreMenu:"More menu",badgeLabel:"{{label}}, {{count}}"},ix={language:{training:{label:"Training Language",sub:"Language used for training words and speech"}},notifications:{title:"Notifications"},display:{fontSize:{small:"Small",large:"Large"}},cache:{title:"Cache Management",confirmMessage:"Delete cache ({{size}}). Do you want to continue?",delete:"Delete",deleting:"Deleting",cleared:"Cache cleared successfully.",group:{wordData:{label:"Word Data",sub:"Word list and version info"},pairIndex:{label:"Pair Index",sub:"Onset\xB7vowel\xB7coda minimal pair analysis cache"},imageCache:{label:"Image Cache",sub:"Word image existence check results"},trainingRecord:{label:"Training Record",sub:"Daily training progress and streak"}}},button:{save:"Save Settings"},popup:{clear:{confirm:"Reset"},update:{confirm:"Update"},cache:{title:"Delete {{label}}",message:"Delete {{label}} ({{size}}). Do you want to continue?"}},saved:"\u2713 Saved",account:{title:"Account",delete:{sub:"You can restore your account within 30 days of withdrawal."}}},sx={addButton:"Add Subscription",couponButton:"Enter Coupon",active:{infoTitle:"Subscription Info",refund:"Request Refund",startDate:"Start Date",endDate:"End Date",remaining:"Remaining"},pending:{title:"Pending",empty:"No pending subscriptions."},loading:"Loading\u2026",segment:{personal:"Malgwi",org:"Malgwi Manager"},org:{title:"Current Plan",disc:"Subscription plan in use by your organization.",empty:"No organization plan registered.",fallbackTitle:"Organization Plan",startDate:"Start Date",endDate:"End Date",remaining:"Remaining",duration:"Duration"}},lx={profile:{planSuffix:"",plan:"Plan"},basicInfo:{name:{placeholder:"John Doe"}},security:{title:"Security",password:{label:"Password",currentRequired:"Enter your current password.",newRequired:"Enter a new password.",mismatch:"The new passwords do not match.",changed:"Your password has been changed."},twoFactor:{label:"Two-Factor Authentication",sub:"Strengthen your account security"}}},cx={guide:{faq:{title:"FAQ",desc:"View all frequently asked questions"}}},dx={settings:"Settings",start:{title:"Start Word Training",description:"Select a training type below to begin"},difficulty:{tooltip:"The easiest difficulty is 'Random', the hardest is 'Initial Consonant Difference'."},contrast:{label:"Contrast",type:"Contrast Type",count:"Contrast Count",n:"{{n}}"},filter:{random:"Random",trainOnset:"Onset",trainVowel:"Vowel",trainCoda:"Coda",phonemeGroup:"Training phonemes",noLimit:"Any",codaExclude:"Exclude",gradeLabel:"Grade",excludeImageInfo:"Only words with images: keeps only results with a registered word image.",sameStructureInfo:"Only same phoneme structure: keeps only pairs where the correct and wrong answers share the same syllable structure (length, batchim, etc.).",selectSection:"Select",excludeImage:"Only words with images",sameStructure:"Only same phoneme structure"},noQuestions:"No questions available.",countQuestions:"{{n}} questions",countSentences:"{{n}} sentences",comingSoon:"Coming Soon",nextQuestion:"Next",noiseRatioTitle:"Noise Ratio",noiseRatioValue:"{{ratio}}\xD7",noiseTypeTitle:"Noise Type",playVolumeTitle:"Volume",playSpeedTitle:"Speed",meter:{sentence:"Playback",noise:"Noise",toggle:"Show Audio Meter"},viewResult:"View Results",problemNotice:"Problem {{n}}.",trainingSettingsTitle:"Training Settings",sentencePreview:"Sentence Preview",notHeard:"Didn't hear it.",heardWell:"Heard it well.",confirmTitle:"Check the sentence and select whether you heard it.",noSoundWaveform:"Waveform is not shown for sound-comparison questions.",noise:{level:{none:"None",weak:"Weak",medium:"Medium",strong:"Strong",veryStrong:"Very Strong"},type:{none:"None",default:"Default",street:"Street",buzz:"Buzzing",restaurant:"Restaurant"}},listenTitle:"Please listen to the sentence.",listenButton:"Listen",playSound:"Play Sound",playAll:"Play All",selectInOrder:"Select the cards in the order you heard.",stop:"Stop",preview:"Preview",next:"Next",completed:"Completed",selected:"Selected",nthSelected:"Selection {{n}}",fontSizeMin:"Font size is at the minimum.",fontSizeMax:"Font size is at the maximum.",fontSizeDecrease:"Decrease font size",fontSizeIncrease:"Increase font size",toggleBackground:"Toggle background",cardInstructions:"Look at the word card, listen to the sound, and check it.",noCards:"No cards.",audioFetchError:"Failed to load the sound source.",ttsUnavailable:"Speech playback isn't available on this device.",selectConfirm:"Look at the question and select the answer.",orderListDefault:"Arrange the sentences in the order you heard.",result:{pendingDone:"Results are still being calculated, so you can't finish yet.",eyebrow:"Training Complete",title:"You've finished all the training!",scoreAria:"{{correct}} / {{total}} questions",elapsed:"Time Elapsed",summary:"You heard {{correct}} item(s) correctly.",tableAriaLabel:"Per-question judgement",colJudge:"Judgement",colAnswerSelected:"Answer \xB7 Selected",colAnswer:"Answer",colSelected:"Selected",heardWell:"Heard well",notHeard:"Didn't hear",notJudged:"Not judged",replay:"Replay",done:"Done",viewResult:"View Results",noContent:"(No content)"},up:"Move up",down:"Move down",prev:"Previous",listenLabel:"Listen",sourcePlay:"Play source {{n}}",listen:"Listen",audioStatus:{idle:"Idle",resolving:"Resolving\u2026",checking_exists:"Checking file\u2026",getting_signed_url:"Getting URL\u2026",downloading:"Downloading\u2026",measuring_duration:"Measuring length\u2026",ready:"Ready",error:"Error"}},ux={totalCount:" training bundles",sort:{customers:"Customers"},copyLink:"Copy Link",removeLink:"Remove Link",linkRemoved:"Link removed.",linkSaveFirst:"Please save the training bundle first.",linkSaveFirstHint:"You can only create a shared link from a saved training bundle.",linkCopySelect:"Copy blocked \u2014 link selected. Press Ctrl/\u2318+C to copy.",nameRequired:"Please enter a training bundle name.",itemRequired:"Please add at least one training item.",randomAdd:"Random Add",menu:{publish:"Post to Store",duplicate:"Duplicate Training Bundle",edit:"Edit Training Bundle",move:"Move Group",rename:"Rename"},itemCount:"Number of Items",renameGroup:"Rename Group"},px={totalCount:" customers",loadError:"Failed to load list",basicInfo:{editTooltip:"Edit"},member:{placeholder:"Email or phone",link:"Link",linking:"Linking\u2026"},device:{title:"Hearing Devices",addTooltip:"Add New",addButton:"Add device",listTooltip:"View List",listTitle:" Device List",historyEmpty:"No device history registered",wearing:" in use",notRegistered:"Not registered",unit:"",wearingNow:"In use",wear:"Wear",unwear:"Remove",wornSince:"Since {{date}}",release:"Release",historyTitle:"Hearing device history"},schedule:{title:"Upcoming Visits",addTooltip:"Add Schedule",listTooltip:"View All",empty:"No upcoming visits",registerTitle:" Register Schedule",memoPlaceholder:"Enter a memo for this visit."},visitHistory:{title:"Visit History",addTooltip:"Add Visit",empty:"No visit history yet",popupTitle:" Visit History",registerTitle:" Register Visit"},moreItems:"more",viewAll:"View All",visits:{title:"Visits"},trainingRecord:{title:"Customer Training Records"},status:{trainingSubtitle:"Training Status"},detail:{session:{completedFmt:"Done {{done}}/{{total}} \xB7 {{duration}}"},visitSuffix:" visits"},homework:{active:"Active",copied:"Link copied.",copy:"Copy Link",inactive:"Inactive",title:"Homework Progress"},duration:{minSec:"{{m}}m {{s}}s",min:"{{m}}m",sec:"{{s}}s"}},hx={plan:{recommendedFor:"Recommended for",features:"Key Features",freePrice:"Free",contact:"Contact Us",tierFallback:"Plan",openPromo:"Launch offer"},products:{mgrEnterprise:{tier:{price:"Contact us"}}}},mx={title:"Coupons",subtitle:"Enter a coupon code or view your coupons",input:{label:"Coupon code",placeholder:"Enter coupon code"},applyButton:"Apply",error:{invalid:"Invalid coupon code.",alreadyUsed:"This coupon has already been used."},success:{applied:'"{{name}}" coupon applied.'},section:{owned:"My Coupons"},status:{used:"Used",available:"Available"}},bx={unitVisit:"",periodAll:"All",showN:"Show {{n}}"},gx={subtitle:"Manage company and business information",editButton:"Edit Info",basicInfo:{title:"Basic Info"},contactInfo:{title:"Contact Info"}},fx={title:"Training by Type",subtitle:"Select the training type you want",listenInNoise:{title:"Sentence Listening in Noise",desc:"Train sentence comprehension in various noise environments."},shortStory:{title:"Short Story Listening",desc:"Listen to short stories and understand the content."},longStory:{title:"Long Story Listening",desc:"Focus on listening to long stories and grasp the content."},orderingSentence:{title:"Sentence Ordering",desc:"Arrange heard sentences in the correct order."},SAME_SOUND_PICK:{label:"Listen & Pick Same Sound",sub:"Pick the word card that matches what you heard."},SAME_OR_DIFF:{label:"Same or Different?",sub:"Decide whether the two sounds are the same or different."},HEAR_AND_PICK_SAME:{label:"Hear & Match Word",sub:"Pick the word card that matches the sound you heard."},HEAR_AND_PICK_INCLUDED:{label:"Find Word Containing Sound",sub:"Pick the word card that contains the syllable you heard."},STARTS_WITH_SAME_SOUND:{label:"Find Word Starting with Same Sound",sub:"Pick a word that starts with the same sound as what you heard."},LISTEN_AND_REMEMBER_ORDER:{label:"Listen & Recall Order",sub:"Select the cards in the order you heard the three words."},MERGE_2_SYLLABLES:{label:"Combine 2 Syllables",sub:"What word do two syllables make?"},MERGE_3_SYLLABLES:{label:"Combine 3 Syllables",sub:"What word do three syllables make?"},MERGE_2_PHONEMES:{label:"Combine 2 Phonemes",sub:"What sound do two phonemes make?"},MERGE_3_PHONEMES:{label:"Combine 3 Phonemes",sub:"What sound do three phonemes make?"},DROP_1_FROM_2SYLL:{label:"Drop 1 Syllable from 2-Syllable",sub:"What sound remains when you remove a syllable from a 2-syllable word?"},DROP_1_FROM_3SYLL:{label:"Drop 1 Syllable from 3-Syllable",sub:"What sound remains when you remove a syllable from a 3-syllable word?"},DROP_PART_FROM_COMPOUND:{label:"Drop Part of Compound Word",sub:"What word remains when you remove part of a compound word?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"Drop Final Consonant",sub:"What sound remains when you remove the final consonant?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"Drop Consonant",sub:"What sound remains when you remove the consonant?"},CHANGE_1_SYLL_IN_2SYLL:{label:"Change 1 Syllable (2-Syllable)",sub:"Change one syllable in a 2-syllable word to make a new word."},CHANGE_1_SYLL_IN_3SYLL:{label:"Change 1 Syllable (3-Syllable)",sub:"Change one syllable in a 3-syllable word to make a new word."},CHANGE_1_PHONEME_IN_1SYLL:{label:"Change 1 Phoneme (1-Syllable)",sub:"Change one phoneme in a 1-syllable word to make a new sound."},CHANGE_1_PHONEME_IN_2SYLL:{label:"Change 1 Phoneme (2-Syllable)",sub:"Change one phoneme in a 2-syllable word to make a new word."}},vx={comingSoon:"Word training is coming soon."},xx={colName:"Table Name",open:"Open",countSuffix:" tables",addCard:"Add Word Table Card",cardsEmpty:"No word table cards created yet.",menu:{publishStore:"Post to Training Store",unpublishStore:"Remove from Training Store"},newBadge:"Newly created",tab:{cards:"Word Table Cards",tables:"Word Tables"},publishedBadge:"Published",sharedBadge:"Shared"},Cx={title:"Key Words",empty:"No key words available."},_x={defaultName:"Word Table",title:"Word Table Builder",subtitle:"Set columns and add words to build a table.",filterTitle:"Table Settings",filter:{composition:"Composition",image:"Image",word:"Word",standardPron:"Standard Pronunciation",colloquialPron:"Colloquial Pronunciation",paperOrientation:"Paper Orientation",landscape:"Landscape",portrait:"Portrait",columns:"Columns",column:"{{count}} col",itemsPerPageWord:"Words per page",itemsPerPagePair:"Pairs per page",itemsPerPageOption:"{{count}}",pageIndicator:"{{current}} / {{total}}",pageNumber:"Page Number",pageNumberLeft:"Left",pageNumberCenter:"Center",pageNumberRight:"Right",border:"Border",topInfo:"Header",bottomInfo:"Footer",cutLine:"Cut Line",show:"Show",hide:"Hide",dotted:"Dotted",corner:"Corner"},addWord:"Add",wordInfo:"Info for {{word}}",emptyItems:"Please add at least one word.",load:"Load",openNewWindow:"Open in New Window",saveButton:"Save",saveAsNewButton:"Save as New",print:"Print",popupBlocked:"Popup was blocked. Please allow popups in your browser settings.",printFileNameSingle:"Word Table",printFileNamePair:"Contrast Pair Table",save:{title:"Save Word Table",nameLabel:"Name",desc:"Enter a name for the word table.",placeholder:"Enter a title for this word table.",descriptionLabel:"Description",descriptionPlaceholder:"Enter a description for this word table.",duplicateName:"This name is already in use.",nameRequired:"Please enter a table name.",autoFillHint:" (Press Tab or Space to autofill)",copyName:"{{name}} (copy)"},loadTable:{title:"Load Saved Word Table",empty:"No saved word tables.",loadButton:"Load",itemCount:"{{count}} words",deleteAriaLabel:"Delete {{name}}",sort:{newest:"Newest",oldest:"Oldest",name:"Name",count:"Word Count"},view:{grid:"Grid View",list:"List View"}},groupDeleteMessage:"Word tables in this group will be moved to 'No Group'.",groupNamePlaceholder:"Group name",store:{badge:"Training Store"},card:{sub:"Word Table Card",empty:"No word tables in this card."},toast:{renameError:"Failed to rename",saveError:"Failed to save",deleteError:"Failed to delete",duplicateError:"Failed to duplicate",saveSuccess:"Word table saved."},scoring:{o:"{{word}} correct",triangle:"{{word}} partial",x:"{{word}} incorrect",markName:{o:"Correct",triangle:"Partial",x:"Incorrect"},button:"Score",pickTitle:"Who are you scoring?",pickSubtitle:"Choose the customer who trained with \u201C{{name}}\u201D.",pickSearch:"Search by name or phone",pickEmpty:"No customers registered.",pickNoMatch:"No matching customer.",pickAgain:"Choose another",scoringFor:"Scoring {{name}}",none:"Tap \u25CB \xB7 \u25B3 \xB7 \u2715 under a cell to mark it. With a mouse, hover the cell to reveal them.",tally:"{{marked}} scored \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 {{rate}}%",save:"Save score",saved:"Saved {{count}} marks for {{name}}.",reviewTitle:"Create a review table?",reviewMessage:"Builds a new table from the {{count}} cells {{name}} got wrong or partial. Correct ones are left out.",reviewConfirm:"Create review table",reviewDescription:"Cells marked wrong or partial in \u201C{{name}}\u201D \u2014 {{count}} of them.",reviewCreated:"Created \u201C{{name}}\u201D \u2014 {{count}} cells.",discardTitle:"Discard this scoring?",discardMessage:"You marked {{count}} cells but have not saved. Leaving discards them.",discardConfirm:"Discard and leave"},info:{grade:"Grade: {{n}}",syllables:"Syllables: {{n}}",pos:"Part of speech: {{v}}",wordType:"Type: {{v}}"},pos:{noun:"Noun",verb:"Verb",adjective:"Adjective",adverb:"Adverb",numeral:"Numeral",determiner:"Determiner",interjection:"Interjection",particle:"Particle",affix:"Affix",dependentNoun:"Dependent noun",pronoun:"Pronoun",auxVerb:"Auxiliary verb",auxAdjective:"Auxiliary adjective"},reorder:{moved:"Moved to position {{n}} of {{total}}",handle:"Reorder {{word}} (Alt + arrow keys)",hint:"Alt + \u2190 \u2192 to reorder"}},yx={editBanner:{message:"Saving will update the word table you're editing."},filterTitle:"Word Search Settings",filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Grade",grade:"Grade {{n}}",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"},searchButton:"Search",resultUnit:"words",remaining:"{{count}} remaining",resultDisc:"Select {{unit}}. Up to {{max}} items. ({{selected}}/{{max}})",resultTitlePrefix:"",resultTitleSuffix:" {{unit}} found.",emptyResult:"No results found.",groupCount:"{{count}}",sort:{aria:"Sort",match:"Best Match",ganada:"A\u2013Z \u2191",ganadaDesc:"A\u2013Z \u2193",syllable:"Syllables \u2191",syllableDesc:"Syllables \u2193",grade:"Grade \u2191",gradeDesc:"Grade \u2193",original:"Original order"},pageSize:"Show {{count}}",pageSizeAria:"Page size",popup:{title:"Select a word for cell {{n}}"}},wx={clearAllSelection:"Clear All Selections",divLine:"Contrast Line",removePair:"Remove pair",removeWord:"Remove word"},kx={title:"By Topic",subtitle:"Select a topic to start listening training",noiseTitle:"Sentence Listening in Noise",shortStoryTitle:"Short Story Listening",FOOD:"Food",HLTH:"Health",WETH:"Weather",PRSN:"People",KRCT:"Korean Culture",STRY:"Stories",LOCA:"Locations",SOAR:"Society & Arts",NTSC:"Nature & Science",SPRT:"Sports",sub:{TRKRFD:"Traditional Korean Food",MDKRFD:"Modern Korean Food",WRLDFD:"World Cuisine",MTRFRT:"Ingredients & Fruits",GEFDKL:"Food Facts",HTETHB:"Healthy Eating",DISILL:"Diseases",EXCISE:"Exercise",GEHTKL:"Health Facts",GESSKL:"Seasons",SNWRAN:"Snow & Rain",WTHFCT:"Weather Forecast",GEWTKL:"Weather Facts",JODYPS:"Joseon Dynasty",MDKRPS:"Modern Korea",THKDPS:"Three Kingdoms",WRLART:"World Artists",WRLPSN:"World Figures",KRLANG:"Korean Language",TRPLCT:"Traditional Games",HERITG:"Heritage",EVTFES:"Events & Festivals",GECTKL:"General Knowledge",FRYTAL:"Fairy Tales",AMZING:"Amazing Stories",DAYSTR:"Everyday Stories",KRLDMK:"Korean Landmarks",SELNMK:"Seoul Landmarks",WRDTRB:"World Travel",NAVIGT:"Navigation",KRSOCI:"Korea",ECONEW:"Economy & News",GENART:"Arts",GELFKL:"Life Tips",ANIMAL:"Animals",PLANTS:"Plants",ETHPLT:"Earth",TOLELC:"Tools & Electronics",GESCKL:"Science Facts",INVDSP:"Individual Sports",MARART:"Martial Arts",TEAMSP:"Team Sports",FOOTBL:"Soccer",GESPKL:"Sports Facts"}},Bx={maxUses:"Max uses (leave blank for unlimited)",redirect:"Redirect URL (leave blank for app home)",creating:"Creating\u2026",create:"Create link",created:"\u2713 Link created",copied:"Copied!",copy:"Copy",loading:"Loading\u2026",empty:"No links created yet.",uses:"Used {{count}} times",expiresAt:"Expires: {{date}}",createdAt:"Created: {{date}}",confirmDelete:"Delete this link?",deactivate:"Deactivate",delete:"Delete",status:{active:"Active",expired:"Expired",inactive:"Inactive"}},Ax={passwordPlaceholder:"Enter password"},Sx={direction:{left:"L",right:"R",label:"Side"},wornDate:"Date Worn",deviceType:"Device Type",brand:"Brand",fitType:"Fit Type",productName:"Product Name",validationError:{brandAndProduct:"Please enter brand and product name."},addNew:"Add New Device",selectFromList:"Select from List",removeDevice:"Remove",type:{hearingAid:"Hearing Aid",cochlearImplant:"Cochlear Implant"}},Ex={stat:{totalCustomers:"Total Customers",monthlyVisits:"This Month's Visits"},chart:{visitDetail:"Visit Details",trainingDetail:"Training Details",weekly:"Weekly",daily:"Daily",periodMonth:"Month",periodWeek:"Week",weeklyPrefix:"Weekly",monthlyPrefix:"Monthly",visit:"Visits",reservation:"Reservations",trainingDone:"Completed",trainingInProgress:"In Progress",weekRange:"{{start}}\u2013{{end}}",week:"W{{n}}"},subscriptionStatus:{active:"{{pct}}% Active",expired:"{{pct}}% Expired",unused:"{{pct}}% Unused"}},Nx={editBanner:{message:"Saving will update the contrast pair table you're editing."},phonemeSelect:{title:"Phoneme Selection",vs:"vs"},caution:"Caution",mode:{include:"Phoneme Include",pick:"Phoneme Contrast",contrast:"Specify Contrast",infoTitle:"Contrast Mode",infoInclude:"Include \u2014 finds words containing all selected phonemes, plus their minimal pair.",infoPick:"Contrast \u2014 matches only if the selected phoneme is the actual point of difference in the pair.",infoContrast:"Specify Contrast \u2014 directly choose phonemes for the base word and the contrasting word to find pairs."},count:"{{n}}",input:{char:"Choose Letters",pron:"Choose Sound",infoTitle:"Input mode",infoChar:"Choose Letters \u2014 finds words by the selected phonemes (spelling), then finds their standard-pronunciation contrast pairs.",infoPron:"Choose Sound \u2014 finds standard-pronunciation contrast pairs directly from the selected phonemes."},phonemeN:"Syllable {{n}}",phonemeSingleLabel:"Syllable",phonemeContrastSingleLabel:"Contrast Syllable",ordinals:["First","Second","Third","Fourth"],phonemeOrdinalLabel:"{{ordinal}} Syllable",phonemeContrastOrdinalLabel:"Contrast {{ordinal}} Syllable",composition:"Answer Word Composition",syllableCount:"Syllables",syllableN:"{{n}} syll.",syllableNPlus:"{{n}}+ syll.",onset:"Onset",vowel:"Vowel",coda:"Coda",filter:{searchOptionsTitle:"Contrast Settings",searchModeLabel:"Contrast Mode",countLabel:"Input Syllable Count",inputModeLabel:"Input mode",phonemeOrder:"Input Syllable Position",phonemeOrderInfo:["Match: the pair must differ at exactly the same position (syllable).","Any: the differing position doesn't matter."],orderAny:"Any",orderMatch:"Match",difficultyInfo:"Reflects the National Institute of Korean Language's basic vocabulary grade.",selectLabel:"Select",onlyHasImage:"Only words with images",onlySameStructure:"Only same phoneme structure"},searchLabel:{error:"Failed to load data",loading:"Loading\u2026"},confirmMessage:"The word table with {{count}} selected {{unit}} will be lost.",resetOptions:"Reset Options",phonemeContrast:"Contrast Syllable {{n}}",infoNotes:["The preview character is an example of the selected phoneme combination. The actual search covers all words containing the phoneme.","Initial consonant '\u3147' cannot be selected. \u3147 at the start of a word is effectively silent.","If only onset and coda are selected, the vowel is automatically displayed as '\u314F'.","Increasing the phoneme count searches for minimal pairs between each phoneme."]},Dx={sentenceTyping:{roundCount:"{{rounds}} rounds \xB7 {{timeLimit}}s each"},wordDefense:{me:"Me"},dictation:{title:"Dictation",desc:"Practice writing down exactly what you hear.",comingSoon:"Coming soon: audio playback, input field, answer comparison"},result:{heading:"Level {{number}} Answer",retry:"Try Again"},common:{accuracy:"{{pct}}% accuracy"},soundMatch:{title:"Sound Match",desc:"Quickly match words or sentences that share the same sound.",comingSoon:"Coming soon: play button, timer, score tracking"},orderSequence:{title:"Sentence Ordering",desc:"Arrange scattered sentence fragments in the correct order.",comingSoon:"Coming soon: sentence sets, ordering interface"},speedListen:{title:"Speed Listen",desc:"A challenge game to count the number of words in a sentence within a time limit.",comingSoon:"Coming soon: time limit, scoreboard"},noiseChallenge:{title:"Noise Challenge",desc:"Practice distinguishing sentences amid background noise.",comingSoon:"Coming soon: various noise levels, score tracking"},fastListen:{title:"Fast Listen",desc:"Listen to short sentences at speed and select the key word.",comingSoon:"Coming soon: speed by difficulty, timer"},shadowing:{title:"Shadowing",desc:"Practice pronunciation and intonation by repeating sentences aloud.",comingSoon:"Coming soon: playback, recording, comparison feedback"},phonemeHunt:{title:"Phoneme Hunt",desc:"Find words that contain a specific phoneme (sound).",comingSoon:"Coming soon: phoneme filter, hint feature"}},Tx={lead:`IHAB builds trust
4
4
  through sound
5
- and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},jx={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},Lx={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},Mx={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},$x={answer:"Answer",distractor:"Distractor"},Rx={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},Px={clearAriaLabel:"Clear input"},zx={ariaLabel:"Select tab"},Ix={ariaLabel:"Tabs"},Ox={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},Fx={ariaLabel:"User avatar"},Hx={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},Vx={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},Wx={import:"Add to my trainings",publisher:"Publisher",time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},Gx={manage:{unit:"item(s)"}},Ux={cancelLabel:"Cancel"},qx={subtitle:"Select a topic to start listening practice."},Yx={steps:"Step {{current}} of {{total}}"},Kx={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},Zx={resetColumns:"Reset column widths"},Xx={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},Jx={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},Qx={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},eC={previewRegion:"Report preview \u2014 scrollable sideways"},tC={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},aC={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},oC={clearSelection:"Clear selection"},rC={showResult:"Show {{type}} result"},nC={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},iC={loading:"Loading"},sC={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},lC={ariaLabel:"Breadcrumb"},cC={empty:"No items yet."},dC={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},uC={common:Zv,calendar:Xv,passCard:Jv,searchField:Qv,rating:ex,colorPicker:tx,dropdown:ax,accordion:ox,header:rx,nav:nx,settings:ix,usage:sx,account:lx,help:cx,training:dx,trainingSettings:ux,customers:px,payment:hx,coupons:mx,visits:bx,company:gx,trainingType:fx,myWordTraining:vx,myWordTable:xx,keyWords:Cx,wordTable:_x,wordSearch:yx,wordPrint:wx,topic:kx,accessLinkManager:Bx,login:Ax,device:Sx,manager:Ex,wordPairs:Nx,game:Dx,footer:Tx,landing:jx,date:Lx,trainingSetPage:Mx,wordTrainingPreview:$x,wordData:Rx,textField:Px,segmentedControl:zx,tabs:Ix,fileUpload:Ox,avatar:Fx,myHomework:Hx,trainingStatus:Vx,store:Wx,homework:Gx,inquiry:Ux,trainingPlanRun:qx,progress:Yx,trainingMiss:Kx,table:Zx,wordScore:Xx,topBanner:Jx,datePicker:Qx,report:eC,tooltip:tC,phonemeProfile:aC,bulkBar:oC,debug:rC,badge:nC,loader:iC,soundCompass:sC,breadcrumb:lC,board:cC,promoBannerBg:dC};const En="0.232.0",Dr=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Bo="ko",cs="ihab_display_language";function Xu(){if(typeof window>"u")return Bo;try{const e=localStorage.getItem(cs);if(e&&Dr.some(t=>t.code===e))return e}catch{}return Bo}function pC(e){try{localStorage.setItem(cs,e)}catch{}}function Ju(e){try{document.documentElement.lang=e}catch{}}bt.on("languageChanged",Ju),Ju(Xu()),bt.use(Ce.initReactI18next).init({resources:{ko:{translation:Kv},en:{translation:uC}},lng:Xu(),fallbackLng:Bo,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Qu=l.createContext({locale:Bo,supportedLocales:Dr});function hC(){return l.useContext(Qu)}function mC(e){const t=o=>Dr.some(n=>n.code===o);if(t(e))return e;const a=e.split(/[-_]/)[0]?.toLowerCase()??"";return t(a)?a:Bo}function bC({locale:e=Bo,children:t}){const a=mC(e);return l.useEffect(()=>{bt.language!==a&&bt.changeLanguage(a)},[a]),r.jsx(Qu.Provider,{value:{locale:a,supportedLocales:Dr},children:t})}function Te(...e){return e.filter(Boolean).join(" ")}var gC=".ihabdevteam-core-scope .empty-state{align-items:center;border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);display:flex;flex-direction:column;gap:10px;justify-content:center;margin-block:auto;padding:var(--spacing-page) var(--spacing-xl);text-align:center}.ihabdevteam-core-scope .empty-state__icon{color:var(--color-lightGray);display:inline-flex}.ihabdevteam-core-scope .empty-state__message,.ihabdevteam-core-scope .empty-state__title{color:var(--color-gray);margin:0}.ihabdevteam-core-scope .empty-state__title+.empty-state__message{margin-top:-6px}.ihabdevteam-core-scope .empty-state__action{margin-top:var(--spacing-xs);min-width:120px}";oe(gC);const ep=new Set,tp=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function Ua(e,...t){!tp||ep.has(e)||(ep.add(e),console.warn(...t))}/**
5
+ and aids recovery.`,site:{title:"Site",malgwi:"Malgwi",soundDirection:"Sound Direction System",vrSoundDirection:"VR Sound Direction System",hearingTest:"Hearing Test Pro"},sns:{title:"SNS",naverBlog:"Naver Blog",kakao:"KAKAO Talk Open Chat"},policy:{title:"Policy",terms:"Terms of Service",privacy:"Privacy Policy"},ceo:"CEO",address:"Address",support:"Support",ceoName:"Ji-hye Han",addressValue:"302, 3F, Haechan Bldg, 32 Siocheong-gil, Chuncheon, Gangwon, Korea"},jx={trainingPhone:{topic:"Gardening",prev:"Prev",next:"Next",speed:"Speed 3",noiseType:"Crowd noise",settings:"Settings",start:{caption:"Press the play (\u25B6) button below and listen carefully. After listening, check the sentence."},feedback:{caption:"Plant the well-grown seedlings in the garden bed and cover them carefully with plastic film."},done:{heardWell:"Heard clearly",listenAgain:"Listen again"}}},Lx={timeHM:"{{hh}}:{{mm}}",timeH:"{{hh}}:{{mm}}"},Mx={options:"Training Options",difficulty:"Difficulty",exclude:"Exclude",chosung:"Initial Consonant",excludeOptions:{none:"None",noImage:"No Image"}},$x={answer:"Answer",distractor:"Distractor"},Rx={phaseWordDownload:"Download Word Data",phaseImageCheck:"Check Images",phasePairAnalysis:"Analyze Word Pairs",downloadingCount:"Downloading {{n}} words",checkingPage:"Checking page {{page}} list",imageCount:"{{done}} / {{total}} items"},Px={clearAriaLabel:"Clear input"},zx={ariaLabel:"Select tab"},Ix={ariaLabel:"Tabs"},Ox={dragPrompt:"Drag and drop files here",browseButton:"Choose Files",removeAriaLabel:"Remove {{name}}"},Fx={ariaLabel:"User avatar"},Hx={relativeDay:{today:"Today",yesterday:"Yesterday",daysAgo:"{{n}}d ago"},reason:{notLoggedIn:"Login required."},list:{title:"Received Homework"},status:{expired:"Expired",done:"Done {{count}}\xD7 \xB7 {{date}}",notDone:"Not done"}},Vx={weekly:{title:"Weekly Training",daily:"Daily Listening",crossword:"Crossword"},homework:{title:"Homework Progress",totalRate:"Overall rate",count:"Total",done:"Done",remaining:"Remaining"},today:{tooltipTotal:"Total",tooltipDone:"Done"},filter:{countSuffix:" sessions"},time:{countLabel:"{{n}} sessions",empty:"No training records"},daily:{title:"Today's Listening Record",empty:"No completed sessions"},crossword:{title:"Crossword Quiz",empty:"No completed levels"},visit:{title:"Linked Visit Records"},detail:"Details",trainingType:{LISTEN_IN_NOISE:"Sentence in Noise",SHORT_STORY:"Short Story",LONG_STORY:"Long Story",ORDERING_SENTENCE:"Sentence Ordering"}},Wx={import:"Add to my trainings",publisher:"Publisher",time:{justNow:"just now",minutesAgo:"{{n}}m ago",hoursAgo:"{{n}}h ago",daysAgo:"{{n}}d ago",weeksAgo:"{{n}}w ago",monthsAgo:"{{n}}mo ago",yearsAgo:"{{n}}y ago"},badge:{shared:"Store"},publish:{descPlaceholder:"One-line description for the Training Store (optional)"}},Gx={manage:{unit:"item(s)"}},Ux={cancelLabel:"Cancel"},qx={subtitle:"Select a topic to start listening practice."},Yx={steps:"Step {{current}} of {{total}}"},Kx={panelTitle:"Training misses",viewItems:"Items",viewTypes:"Types",colPending:"Left",colTrend:"Change",colRuns:"Runs",unitItem:" items",skippedOnly:"{{n}} older record(s) were excluded \u2014 they do not say what was answered.",summaryLabel:"Recorded",summaryValue:"{{items}} items \xB7 {{pending}} still missed",nextLabel:"Next to work on",nextCount:"{{count}}",nextCountCapped:"{{shown}} of {{total}}",picked:"\u2192 {{what}}",typeClear:"All caught up",typePending:"{{pending}} of {{total}} left",flat:"no change",runs:"{{count}} run(s)",avgDuration:"{{sec}}s avg"},Zx={resetColumns:"Reset column widths"},Xx={panelTitle:"Word table scores",viewWords:"Words",viewTables:"Tables",colLatest:"When",colTrend:"Change",unitTime:" times",summaryLabel:"Scored",summaryValue:"{{times}} times \xB7 {{words}} words",nextLabel:"Focus next",nextCount:"{{count}}",allClear:"All correct last time.",times:"{{count}}x",flat:"no change",recentLabel:"Recent scorings",nextCountCapped:"{{shown}} of {{total}}"},Jx={ariaLabel:"Banner",dotAriaLabel:"Banner {{index}} of {{count}}"},Qx={selectYearMonth:"Select year and month",chooseDate:"Choose a date"},eC={previewRegion:"Report preview \u2014 scrollable sideways"},tC={description:"Description",textbox:"Text",training:"Training guide",menu:"Menu"},aC={devNone:"No acquisition data",place:{labial:"Bilabial",alveolar:"Alveolar",palatal:"Palatal",velar:"Velar",glottal:"Glottal"}},oC={clearSelection:"Clear selection"},rC={showResult:"Show {{type}} result"},nC={selected:"Selected",remove:"Remove",exclude:"Excluded",nthSelected:"Selection {{n}}"},iC={loading:"Loading"},sC={state:{active:"playing",played:"heard",correct:"correct",wrong:"wrong"}},lC={ariaLabel:"Breadcrumb"},cC={empty:"No items yet."},dC={main:"Main gradient",soft:"Soft",sub:"Sub color",deep:"Deep gradient",softSub:"Soft sub",warm:"Warm (accent)",dark:"Dark",radial:"Radial gradient",diagonal:"Diagonal pattern",dots:"Dot pattern",outline:"Outline",success:"Success / done",naver:"Naver blog notice",instagram:"Instagram notice"},uC={common:Zv,calendar:Xv,passCard:Jv,searchField:Qv,rating:ex,colorPicker:tx,dropdown:ax,accordion:ox,header:rx,nav:nx,settings:ix,usage:sx,account:lx,help:cx,training:dx,trainingSettings:ux,customers:px,payment:hx,coupons:mx,visits:bx,company:gx,trainingType:fx,myWordTraining:vx,myWordTable:xx,keyWords:Cx,wordTable:_x,wordSearch:yx,wordPrint:wx,topic:kx,accessLinkManager:Bx,login:Ax,device:Sx,manager:Ex,wordPairs:Nx,game:Dx,footer:Tx,landing:jx,date:Lx,trainingSetPage:Mx,wordTrainingPreview:$x,wordData:Rx,textField:Px,segmentedControl:zx,tabs:Ix,fileUpload:Ox,avatar:Fx,myHomework:Hx,trainingStatus:Vx,store:Wx,homework:Gx,inquiry:Ux,trainingPlanRun:qx,progress:Yx,trainingMiss:Kx,table:Zx,wordScore:Xx,topBanner:Jx,datePicker:Qx,report:eC,tooltip:tC,phonemeProfile:aC,bulkBar:oC,debug:rC,badge:nC,loader:iC,soundCompass:sC,breadcrumb:lC,board:cC,promoBannerBg:dC};const En="0.234.0",Dr=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Bo="ko",cs="ihab_display_language";function Xu(){if(typeof window>"u")return Bo;try{const e=localStorage.getItem(cs);if(e&&Dr.some(t=>t.code===e))return e}catch{}return Bo}function pC(e){try{localStorage.setItem(cs,e)}catch{}}function Ju(e){try{document.documentElement.lang=e}catch{}}bt.on("languageChanged",Ju),Ju(Xu()),bt.use(Ce.initReactI18next).init({resources:{ko:{translation:Kv},en:{translation:uC}},lng:Xu(),fallbackLng:Bo,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Qu=l.createContext({locale:Bo,supportedLocales:Dr});function hC(){return l.useContext(Qu)}function mC(e){const t=o=>Dr.some(n=>n.code===o);if(t(e))return e;const a=e.split(/[-_]/)[0]?.toLowerCase()??"";return t(a)?a:Bo}function bC({locale:e=Bo,children:t}){const a=mC(e);return l.useEffect(()=>{bt.language!==a&&bt.changeLanguage(a)},[a]),r.jsx(Qu.Provider,{value:{locale:a,supportedLocales:Dr},children:t})}function Te(...e){return e.filter(Boolean).join(" ")}var gC=".ihabdevteam-core-scope .empty-state{align-items:center;border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);display:flex;flex-direction:column;gap:10px;justify-content:center;margin-block:auto;padding:var(--spacing-page) var(--spacing-xl);text-align:center}.ihabdevteam-core-scope .empty-state__icon{color:var(--color-lightGray);display:inline-flex}.ihabdevteam-core-scope .empty-state__message,.ihabdevteam-core-scope .empty-state__title{color:var(--color-gray);margin:0}.ihabdevteam-core-scope .empty-state__title+.empty-state__message{margin-top:-6px}.ihabdevteam-core-scope .empty-state__action{margin-top:var(--spacing-xs);min-width:120px}";oe(gC);const ep=new Set,tp=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function Ua(e,...t){!tp||ep.has(e)||(ep.add(e),console.warn(...t))}/**
6
6
  * @license lucide-react v1.38.0 - ISC
7
7
  *
8
8
  * This source code is licensed under the ISC license.
@@ -850,13 +850,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
850
850
  pnpm add @supabase/supabase-js
851
851
  `),this.name="StorageNotConfiguredError"}};function Bs(e){F5(e)}function Dn(e,t){if(!e)return null;const a=Ko();return a?.resolvePath?a.resolvePath(e,t):t?`${t}/${e}.mp3`:null}async function As(e){if(!e)return!1;const t=Ko();if(!t)throw new ks("fileExists");if(t.exists)return t.exists(e);try{return await t.resolveUrl(e)!==null}catch{return!1}}async function Rr(e){if(!e)return null;const t=Ko();if(!t)throw new ks("getSignedOrPublicUrl");try{return await t.resolveUrl(e)}catch{return null}}async function Tn(e){const t=Ko();if(!t)throw new ks("downloadSound");return t.download(e)}function Ss(){return Ko()?.noiseBaseUrl??"/sounds/noise"}function jn(){const e=Number(Ko()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function H5(e){const t=AbortSignal.timeout;if(typeof t=="function")return t.call(AbortSignal,e);const a=new AbortController;return setTimeout(()=>a.abort(),e),a.signal}const Es="__ihab_core_tts_config__";function Up(e){globalThis[Es]=e}function Pr(){return globalThis[Es]?.urlResolver??null}function Ns(){return globalThis[Es]?.fallbackUrlResolver??null}const V5=new Map;function qp(){V5.clear()}const Yp="__ihab_core_pronunciation_resolver__";function Kp(e){globalThis[Yp]=e}function Ds(){return globalThis[Yp]??null}let no=null;const zr=new WeakMap,Ts=new WeakMap,js=new WeakMap;let Zp=!1;const Xp=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function W5(){if(Zp||typeof document>"u")return;Zp=!0;const e=()=>{try{no&&no.state!=="running"&&no.resume()}catch{}};for(const t of["pointerdown","touchend","keydown"])document.addEventListener(t,e,{capture:!0,passive:!0})}function Jp(){if(no)return no;try{const e=window.AudioContext||window.webkitAudioContext;return e?(no=new e,W5(),no):null}catch{return null}}function Ir(){try{no?.resume()}catch{}}function Ls(e,t){const a=zr.get(t);if(a)return a;try{const o=e.createMediaElementSource(t),n=e.createGain(),i=e.createAnalyser();i.fftSize=1024,i.smoothingTimeConstant=.6,n.gain.value=Xp(Ts.get(t)??t.volume),o.connect(n),n.connect(i),n.connect(e.destination);try{t.volume=1}catch{}const s={gain:n,analyser:i};return zr.set(t,s),s}catch{return null}}function Zo(e){if(!e)return Promise.resolve(null);const t=zr.get(e);if(t)return Promise.resolve(t.analyser);const a=Jp();if(!a)return Promise.resolve(null);if(a.state==="running")return Promise.resolve(Ls(a,e)?.analyser??null);const o=js.get(e);if(o)return o;const n=Promise.resolve().then(()=>a.resume()).then(()=>a.state==="running"?Ls(a,e)?.analyser??null:null).catch(()=>null).finally(()=>{js.delete(e)});return js.set(e,n),n}function Ms(e){if(!e)return null;const t=zr.get(e);if(t)return t.analyser;const a=Jp();return a?a.state==="running"?Ls(a,e)?.analyser??null:(Zo(e),null):null}function Ta(e,t){const a=Xp(t);Ts.set(e,a);const o=zr.get(e);if(o){try{e.volume!==1&&(e.volume=1)}catch{}const n=o.gain.gain;try{const i=o.gain.context.currentTime;n.cancelScheduledValues(i),n.setTargetAtTime(a,i,.01)}catch{try{n.value=a}catch{}}return"gain"}try{e.volume=a}catch{}return"element"}function Xo(e){return Ts.get(e)??e.volume}function $s(e,t){e.getFloatTimeDomainData(t);let a=0;for(let o=0;o<t.length;o++){const n=t[o];a+=n*n}return Math.sqrt(a/t.length)}const Qp="__ihab_core_image_config__";function eh(e){globalThis[Qp]=e}function io(){return globalThis[Qp]??null}const Or="word_image_existence_map_v1";let ja=null,Eo=0,th=-1,Fr=null,ah=-1,oh=new Set;const Ln=new Map;function Jo(){if(ja)return ja;try{const e=typeof localStorage<"u"?localStorage.getItem(Or):null,t=e?JSON.parse(e):null;ja=t&&typeof t=="object"&&!Array.isArray(t)?t:{}}catch{ja={}}return ja}let Rs=null;function G5(){Rs||(Rs=setTimeout(()=>{Rs=null;try{typeof localStorage<"u"&&ja&&localStorage.setItem(Or,JSON.stringify(ja))}catch{}},200))}function Mn(e,t){return`${e}_${t??1}`}async function Hr(e,t){const a=Jo(),o=Mn(e,t);if(o in a)return a[o];if(Ln.has(o))return Ln.get(o);const n=io();if(!n)return!1;const i=n(e,t);if(!i)return!1;const s=fetch(i,{method:"HEAD",signal:H5(8e3)}).then(c=>c.status>=500?null:c.ok,()=>null).then(c=>(Ln.delete(o),c===null?!1:(a[o]=c,Eo++,G5(),c)));return Ln.set(o,s),s}function rh(e,t){const a=Jo(),o=Mn(e,t);return o in a?a[o]:void 0}async function nh(e,t={}){const{force:a=!1,concurrency:o=16,onProgress:n}=t,i=Jo(),s=a?Array.from(new Set(e)):Array.from(new Set(e)).filter(d=>!(Mn(d)in i));let c=0;if(s.length>0){let d=0;const u=Array.from({length:Math.min(o,s.length)},async()=>{for(;d<s.length;){const p=d++,h=s[p],m=Mn(h);if(!a&&m in i){c++,n?.(c,s.length);continue}try{await Hr(h)}catch{}c++,n?.(c,s.length)}});await Promise.all(u)}try{typeof localStorage<"u"&&ja&&localStorage.setItem(Or,JSON.stringify(ja))}catch{}return{checked:s.length,cached:Object.keys(i).length,total:e.length}}function $n(){const e=Jo();if(th===Eo)return Fr?{...Fr}:null;const t=Object.values(e);return Fr=t.length===0?null:{total:t.length,exists:t.filter(Boolean).length},th=Eo,Fr?{...Fr}:null}function ih(){const e=Jo();if(ah===Eo)return oh;const t=new Set;for(const a in e)e[a]===!0&&a.endsWith("_1")&&t.add(a.slice(0,-2));return oh=t,ah=Eo,t}function sh(e){const t=Jo();Object.assign(t,e),Eo++;try{typeof localStorage<"u"&&localStorage.setItem(Or,JSON.stringify(t))}catch{}}function Ps(){ja={},Eo++;try{typeof localStorage<"u"&&localStorage.removeItem(Or)}catch{}}const U5={\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"},zs={\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 q5(e,t){return(zs[e]?.glide??"")!==(zs[t]?.glide??"")}function No(e){return U5[e]??e}const st=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],gt=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Tt=["","\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 We(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 Is(){const e=new Map;return t=>{let a=e.get(t);return a||(a=[...t].map(o=>We(o)),e.set(t,a)),a}}function Ca(e,t,a=0){return String.fromCharCode(44032+(e*21+t)*28+a)}function Os(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let a=0,o=null;for(let n=0;n<e.length;n++){const i=We(e[n]),s=We(t[n]);if(!i||!s)return"random";if(i.cho===s.cho&&i.jung===s.jung&&i.jong===s.jong)continue;a++;const c=i.cho!==s.cho,d=i.jung!==s.jung,u=i.jong!==s.jong;(c?1:0)+(d?1:0)+(u?1:0)>1?o="multi":c?o="cho":d?o="jung":o="jong"}return a!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}function Fs(e){const t=We(e[0]||"");return t?st[t.cho]:""}function Hs(e){return[...e].map(t=>{const a=We(t);return a?st[a.cho]:t}).join("")}function Vs(e){return!!e&&[...e].every(t=>st.includes(t))}function lh(e,t){return t?(e=e.normalize("NFC"),t=t.normalize("NFC"),Vs(t)?Hs(e).includes(t):e.toLowerCase().includes(t.toLowerCase())):!0}function ch(e,t){return Ws(t)(e)}function Ws(e){if(!e)return()=>!0;e=e.normalize("NFC");const t=[...e],a=s=>st.includes(s),o=s=>gt.includes(s),n=t.map(s=>a(s)?"cho":o(s)?"jung":We(s)?"syl":"other"),i=t.map(s=>We(s));if(n.includes("other")){const s=e.toLowerCase();return c=>c.normalize("NFC").toLowerCase().includes(s)}return s=>{const c=[...s.normalize("NFC")];for(let d=0;d+t.length<=c.length;d++){let u=!0;for(let p=0;p<t.length;p++){const h=c[d+p],m=n[p];if(m==="cho"){if(Fs(h)!==t[p]){u=!1;break}}else if(m==="jung"){const b=We(h);if(!b||gt[b.jung]!==t[p]){u=!1;break}}else{const b=i[p];if(b&&b.jong===0){const x=We(h);if(!x||x.cho!==b.cho||x.jung!==b.jung){u=!1;break}}else if(h!==t[p]){u=!1;break}}}if(u)return!0}return!1}}const Rn={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"]},dh=Object.fromEntries(Object.entries(Rn).map(([e,t])=>[t.join(""),Tt[Number(e)]]));function Y5(e,t){if(!e||!t)return!1;for(const a of e){const o=We(a);if(o){if(st[o.cho]===t)return!0;if(o.jong>0){if(Tt[o.jong]===t)return!0;const n=Rn[o.jong];if(n&&n.includes(t))return!0}}}return!1}function uh(e,t){if(!e||!t)return!1;for(const a of e){const o=We(a);if(o&&st[o.cho]===t)return!0}return!1}function ph(e,t){if(!e||!t)return!1;for(const a of e){const o=We(a);if(o&&gt[o.jung]===t)return!0}return!1}function hh(e,t,a){const o=Tt[e];return o===t?!0:a==="phoneme"&&No(o)===No(t)}function mh(e,t,a="glyph"){if(!e||!t)return!1;for(const o of e){const n=We(o);if(!(!n||n.jong<=0)&&hh(n.jong,t,a))return!0}return!1}function Do(e){if(!e)return 0;let t=0;for(const a of e)We(a)&&t++;return t}function Gs(e){if(!e)return!1;let t=!1;for(const a of e){const o=We(a);if(o&&(t=!0,o.jong>0))return!1}return t}function K5(e,t,a){return e.jong<=0?!1:t.some(o=>hh(e.jong,o,a))}function Us(e,t,a,o="glyph"){if(!e)return!1;const n=[...e],i=s=>{const c=We(n[s]);if(!c||t.cho&&!t.cho.includes(st[c.cho])||t.jung&&!t.jung.includes(gt[c.jung]))return!1;if(t.jongNone){if(c.jong>0)return!1}else if(t.jong&&!K5(c,t.jong,o))return!1;return!0};if(a==="head")return i(0);if(a==="tail")return i(n.length-1);if(a==="mid"){for(let s=1;s<n.length-1;s++)if(i(s))return!0;return!1}for(let s=0;s<n.length;s++)if(i(s))return!0;return!1}function qs(e){return e.includes(",")||e.includes("_")}function bh(e){if(e==="")return[{kind:"any"}];if(e.includes("_")){const t=[...e];if(t.length>4)return[{kind:"invalid"}];const a=t[0]??"_",o=t[1]??"_";let n=t.slice(2).join("");if(n.length===2){const i=dh[n];if(!i)return[{kind:"invalid"}];n=i}return[{kind:"template",cho:a,jung:o,jong:n||"_"}]}return[...e].map(t=>We(t)?{kind:"syllable",ch:t}:st.includes(t)?{kind:"cho",jamo:t}:gt.includes(t)?{kind:"jung",jamo:t}:{kind:"invalid"})}function Z5(e,t){switch(t.kind){case"any":return!0;case"syllable":{const a=We(t.ch);if(!a)return e===t.ch;if(a.jong===0){const o=We(e);return!!o&&o.cho===a.cho&&o.jung===a.jung}return e===t.ch}case"cho":{const a=We(e);return!!a&&st[a.cho]===t.jamo}case"jung":{const a=We(e);return!!a&&gt[a.jung]===t.jamo}case"template":{const a=We(e);return!(!a||t.cho!=="_"&&st[a.cho]!==t.cho||t.jung!=="_"&&gt[a.jung]!==t.jung||t.jong!=="_"&&Tt[a.jong]!==t.jong)}case"invalid":return!1}}function Ys(e,t){e=e.normalize("NFC"),t=t.normalize("NFC");const a=t.split(",").flatMap(n=>bh(n.trim()));if(a.length===0)return!0;const o=[...e];if(o.length<a.length)return!1;for(let n=0;n+a.length<=o.length;n++)if(a.every((i,s)=>Z5(o[n+s],i)))return!0;return!1}function gh(e){const t=e.split(",").flatMap(i=>bh(i.trim())),a=new Set,o=new Set,n=new Set;for(const i of t)switch(i.kind){case"cho":a.add(i.jamo);break;case"jung":o.add(i.jamo);break;case"template":i.cho!=="_"&&a.add(i.cho),i.jung!=="_"&&o.add(i.jung),i.jong!=="_"&&n.add(i.jong);break;case"syllable":{const s=We(i.ch);s&&(a.add(st[s.cho]),o.add(gt[s.jung]),s.jong!==0&&n.add(Tt[s.jong]));break}}return a.size===0&&o.size===0&&n.size===0?null:{cho:a.size?[...a]:null,jung:o.size?[...o]:null,jong:n.size?[...n]:null}}function X5(e){return!!We(e)||st.includes(e)||gt.includes(e)}function fh(e){const t=e.normalize("NFC").trim();if(!t)return{ok:!0};for(const a of t.split(",")){const o=a.trim();if(o!==""){if(o.includes("_")){const n=[...o];if(n.length>4)return{ok:!1};const i=n[0],s=n[1],c=n.slice(2).join(""),d=i===void 0||i==="_"||st.includes(i),u=s===void 0||s==="_"||gt.includes(s),p=c===""||c==="_"||Tt.filter(Boolean).includes(c)||!!dh[c];if(d&&u&&p)continue;return{ok:!1}}if(![...o].every(X5))return{ok:!1}}}return{ok:!0}}const J5={cho:st.length,jung:gt.length,jong:Tt.length};function Q5(e,t,a,o,n=1/0){if(!e||a<1)return[];const i=[...e].map(h=>We(h));if(i.some(h=>!h))return[];const s=i,c=s.length;if(a>c)return[];const d=J5[t],u=new Set,p=[];(function h(m,b){if(b.length===a){p.push([...b]);return}for(let x=m;x<c;x++)b.push(x),h(x+1,b),b.pop()})(0,[]);for(const h of p)if((function m(b,x){if(u.size>=n)return;if(b===h.length){const g=x.map(v=>Ca(v.cho,v.jung,v.jong)).join("");g!==e&&o.has(g)&&u.add(g);return}const f=h[b],C=s[f][t];for(let g=0;g<d;g++){if(g===C)continue;const v=x.slice();if(v[f]={...x[f],[t]:g},m(b+1,v),u.size>=n)return}})(0,s),u.size>=n)break;return[...u]}function e3(e,t){if(!e||!t||e.length!==t.length)return-1;let a=0;for(let o=0;o<e.length;o++){const n=We(e[o]),i=We(t[o]);if(!n||!i)return-1;n.cho!==i.cho&&a++,n.jung!==i.jung&&a++,n.jong!==i.jong&&a++}return a}function vh(e,t){const a=t.normalize("NFC").trim();if(!a||!/[^\s,_]/.test(a))return e;if(qs(a))return e.filter(d=>Ys(d.word,a));const o=Ws(a),n=[...a].length,i=d=>!!d&&o(d.normalize("NFC").slice(0,n)),s=[],c=[];for(const d of e)(o(d.word)||o(d.pronunciation??""))&&(i(d.word)||i(d.pronunciation??"")?s:c).push(d);return s.concat(c)}const Ks="word_pair_index_v2",Zs="word_pair_index_sig_v2";let La=null,Vr=null;function xh(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Ks),t=localStorage.getItem(Zs);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function t3(e,t){try{if(typeof localStorage>"u")return;localStorage.setItem(Ks,JSON.stringify(e)),localStorage.setItem(Zs,t)}catch{}}function a3(e){const t=e.map(o=>`${o.word}|${o.pron??""}`).sort();let a=0;for(const o of t)for(let n=0;n<o.length;n++)a=(a<<5)-a+o.charCodeAt(n)|0;return`${t.length}-${a}`}async function o3(e,t){const a=new Set,o=[];for(const u of e){if(!u.word||a.has(u.word))continue;const p=u.pron||u.word,h=Array.from(p).map(We);h.some(m=>m===null)||h.length===Array.from(u.word).length&&(a.add(u.word),o.push({word:u.word,syls:h}))}const n={},i=o.length,s=new Map;for(const u of o){const p=u.syls.length;s.has(p)||s.set(p,[]),s.get(p).push(u)}let c=0;const d=["cho","jung","jong"];for(const u of s.values()){const p=u[0].syls.length;for(let h=0;h<p;h++)for(const m of d){const b=new Map;for(const x of u){let f="";for(let g=0;g<p;g++){g>0&&(f+="~");const v=x.syls[g];g===h?m==="cho"?f+=`*:${v.jung}:${v.jong}`:m==="jung"?f+=`${v.cho}:*:${v.jong}`:f+=`${v.cho}:${v.jung}:*`:f+=`${v.cho}:${v.jung}:${v.jong}`}let C=b.get(f);C||(C=[],b.set(f,C)),C.push(x)}for(const x of b.values())if(!(x.length<2))for(let f=0;f<x.length;f++){const C=x[f];for(let g=f+1;g<x.length;g++){const v=x[g];C.syls[h][m]!==v.syls[h][m]&&(n[C.word]||(n[C.word]={cho:[],jung:[],jong:[]}),n[v.word]||(n[v.word]={cho:[],jung:[],jong:[]}),n[C.word][m].push(v.word),n[v.word][m].push(C.word))}}}c+=u.length,t?.(c,i),await new Promise(h=>setTimeout(h,0))}return i>0&&t?.(i,i),n}let Xs=0;async function Ch(e,t={}){const a=a3(e);if(!t.force){if(La&&Vr===a)return La;const i=xh();if(i&&i.sig===a)return La=i.index,Vr=a,La}const o=++Xs,n=await o3(e,t.onProgress);return o===Xs&&(La=n,Vr=a,t3(n,a)),n}function To(){if(La)return La;const e=xh();return e?(La=e.index,Vr=e.sig,La):null}function Js(){Xs+=1,La=null,Vr=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Ks),localStorage.removeItem(Zs))}catch{}}const Qs={cho:st,jung:gt,jong:Tt},jt=e=>Array.isArray(e)?e.length>0:!!e;function Wr(e,t){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){const o=e[a],n=t[a];if(!(!o||!n)&&(o.cho!==n.cho&&st[o.cho]==="\u3147"!=(st[n.cho]==="\u3147")||o.jung!==n.jung&&q5(gt[o.jung],gt[n.jung])||o.jong!==n.jong&&o.jong===0!=(n.jong===0)))return!0}return!1}function el(e,t,a){const o=a.pronOf(e),n=a.decompOf,i=a.sameStructureOnly&&n?n(o):null,s=[];for(const c of t)c!==e&&(a.okSet&&!a.okSet.has(c)||a.pronOf(c)!==o&&(i&&n&&Wr(i,n(a.pronOf(c)))||s.push(c)));return s}function Pn(e,t,a){const o=t?.[e];if(!o)return[];const n=a.kind?o[a.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return el(e,n,a)}function tl(e,t,a,o,n,i,s){const c=["cho","jung","jong"].filter(m=>jt(e[m])),d={};for(const m of c){const b=e[m];d[m]=new Set(Array.isArray(b)?b:[b])}const u=n==="pron",p=new Map;for(const m of t){const b=a(i(m));if(b.some(g=>!g))continue;let x=b;if(!u&&(x=a(m),x.length!==b.length||x.some(g=>!g)))continue;const f=b.length,C=p.get(f);C?C.push({w:m,dPron:b,dPos:x}):p.set(f,[{w:m,dPron:b,dPos:x}])}const h=new Map;for(const[m,b]of p){const x=new Map,f=(C,g)=>{const v=C.dPos[g];return v!=null&&c.every(y=>d[y].has(Qs[y][v[y]]))};for(const C of b){let g;if(s==="head")g=f(C,0)?0:-1;else if(s==="tail")g=f(C,m-1)?m-1:-1;else if(s==="mid"){g=-1;for(let y=1;y<m-1;y++)if(f(C,y)){g=y;break}}else g=C.dPos.findIndex(y=>y!=null&&c.every(_=>d[_].has(Qs[_][y[_]])));if(g<0)continue;const v=x.get(g);v?v.push(C):x.set(g,[C])}for(const[C,g]of x){const v=c.includes("cho"),y=c.includes("jung"),_=c.includes("jong"),B=S=>{let w="";for(let A=0;A<m;A++){const E=S[A];A===C?w+=(v?"*":E.cho)+"."+(y?"*":E.jung)+"."+(_?"*":E.jong)+".":w+=E.cho+"."+E.jung+"."+E.jong+"."}return w},k=new Map;for(const S of b){const w=B(S.dPron),A=k.get(w);A?A.push(S):k.set(w,[S])}for(const S of g){const w=k.get(B(S.dPron))??[],A=[];for(const E of w){if(E.w===S.w)continue;let L=!0;for(const z of c){const j=S.dPron[C][z],I=E.dPron[C][z];if(I===j){L=!1;break}if(u&&d[z].has(Qs[z][I])){L=!1;break}}L&&(o&&Wr(S.dPron,E.dPron)||A.push(E.w))}h.set(S.w,A)}}}return h}const zn=0,_h=1,jo=2,al=3,r3=4,In=5,ol=6,On=7,n3=8,rl=9,Qo=10,i3=11,Gr=12,s3=13,Ur=14,Fn=15,Hn=16,qr=17,l3=18,_a=0,qa=1,c3=3,so=4,nl=5,Yr=6,Ma=7,Pt=8,yh=9,wh=10,Vn=11,kh=12,il=13,er=15,Wn=16,Ya=17,Bh=18,sl=21,ll=27,d3=20,u3={1:zn,2:_h,4:jo,7:al,8:In,16:ol,17:On,19:rl,20:Qo,22:Gr,23:Ur,24:Fn,25:Hn,26:qr},p3={[c3]:[qa,Qo],[nl]:[so,Gr],[yh]:[Pt,zn],[wh]:[Pt,ol],[Vn]:[Pt,On],[kh]:[Pt,Qo],[il]:[Pt,Hn],14:[Pt,qr],[Bh]:[Ya,Qo]},h3={[Yr]:jo,[er]:In},cl={2:qa,24:qa,3:qa,9:qa,5:so,6:so,19:Ma,20:Ma,22:Ma,23:Ma,25:Ma,27:Ma,11:Pt,12:Pt,13:Pt,15:Pt,10:Wn,14:Ya,18:Ya,26:Ya},Ah={[zn]:Fn,[al]:Hn,[On]:qr,[Gr]:Ur},Sh={[zn]:_h,[al]:r3,[On]:n3,[rl]:Qo,[Gr]:s3},m3=new Set([nl,wh,Vn,kh,il,er,Bh]),b3=new Set(["\uBC1F"]);function Eh(e){const t=(e??"").trim();if(!t)return"";const a=[...t],o=a.map(We);if(o.some(i=>i===null))return t;const n=o;for(let i=0;i<n.length;i++){const s=n[i],c=n[i+1],d=s.jong;if(!c){s.jong=cl[s.jong]??s.jong;break}if(s.jong===_a)continue;if(c.cho===i3){if(c.jung===d3){if(s.jong===Ma){s.jong=_a,c.cho=Gr;continue}if(s.jong===25){s.jong=_a,c.cho=Ur;continue}if(s.jong===il){s.jong=Pt,c.cho=Ur;continue}}if(s.jong===ll){s.jong=_a;continue}const p=h3[s.jong];if(p!==void 0){s.jong=_a,c.cho=p;continue}const h=p3[s.jong];if(h){s.jong=h[0],c.cho=h[1];continue}const m=u3[s.jong];m!==void 0&&(s.jong=_a,c.cho=m);continue}if((s.jong===ll||s.jong===Yr||s.jong===er)&&Ah[c.cho]!==void 0){c.cho=Ah[c.cho],s.jong=s.jong===Yr?so:s.jong===er?Pt:_a;continue}if((s.jong===ll||s.jong===Yr||s.jong===er)&&c.cho===rl){c.cho=Qo,s.jong=s.jong===Yr?so:s.jong===er?Pt:_a;continue}if(c.cho===l3){if(s.jong===nl){s.jong=so,c.cho=Ur;continue}if(s.jong===yh){s.jong=Pt,c.cho=Fn;continue}if(s.jong===Vn){s.jong=Pt,c.cho=qr;continue}const p=cl[s.jong]??s.jong;if(p===qa){s.jong=_a,c.cho=Fn;continue}if(p===Ma){s.jong=_a,c.cho=Hn;continue}if(p===Ya){s.jong=_a,c.cho=qr;continue}}let u=cl[s.jong]??s.jong;d===Vn&&b3.has(a[i])&&(u=Ya),s.jong=u,Sh[c.cho]!==void 0&&(u===qa||u===Ma||u===Ya||m3.has(d))&&(c.cho=Sh[c.cho]),(c.cho===jo||c.cho===ol)&&(s.jong===qa?s.jong=sl:s.jong===Ma?s.jong=so:s.jong===Ya&&(s.jong=Wn)),c.cho===In?s.jong===so?s.jong=Pt:s.jong===Wn||s.jong===sl?c.cho=jo:s.jong===qa?(s.jong=sl,c.cho=jo):s.jong===Ya&&(s.jong=Wn,c.cho=jo):s.jong===Pt&&c.cho===jo&&(c.cho=In)}return n.map(i=>Ca(i.cho,i.jung,i.jong)).join("")}const tr=/[ㄱ-ㅎ]/,g3=/[ㅏ-ㅣ]/;function Kr(e){e=e.normalize("NFC");for(let t=e.length-1;t>=0;t--){const a=e[t],o=a.charCodeAt(0);if(o>=44032&&o<=55203||tr.test(a)||g3.test(a))return a}return null}function dl(e){const t=Kr(e);if(!t)return"\uAC00";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC774":"\uAC00":tr.test(t)?"\uC774":"\uAC00"}function ul(e){return`${e}${dl(e)}`}function pl(e){const t=Kr(e);if(!t)return"\uB97C";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC744":"\uB97C":tr.test(t)?"\uC744":"\uB97C"}function hl(e){return`${e}${pl(e)}`}function ml(e){const t=Kr(e);if(!t)return"\uB294";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uC740":"\uB294":tr.test(t)?"\uC740":"\uB294"}function Nh(e){return`${e}${ml(e)}`}function bl(e){const t=Kr(e);if(!t)return"\uC640";const a=t.charCodeAt(0);return a>=44032&&a<=55203?(a-44032)%28!==0?"\uACFC":"\uC640":tr.test(t)?"\uACFC":"\uC640"}function Dh(e){return`${e}${bl(e)}`}function gl(e){const t=Kr(e);if(!t)return"\uB85C";const a=t.charCodeAt(0);if(a>=44032&&a<=55203){const o=(a-44032)%28;return o===0||o===8?"\uB85C":"\uC73C\uB85C"}return t==="\u3139"?"\uB85C":tr.test(t)?"\uC73C\uB85C":"\uB85C"}function Th(e){return`${e}${gl(e)}`}function fl(e,t,a){const o=e.slice(),[n]=o.splice(t,1);return o.splice(a,0,n),o}function tt(e,t=Math.random){const a=e.slice();for(let o=a.length-1;o>0;o--){const n=Math.floor(t()*(o+1));[a[o],a[n]]=[a[n],a[o]]}return a}function ya(e,t,a=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?tt(e,a):tt(e,a).slice(0,t)}const ar={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"}};function f3(e){const t=e?ar[e]?.group:void 0;return t==="synthesis"||t==="deletion"||t==="substitution"?t:null}const vl=st.indexOf("\u3147"),or={DROP_FINAL_CONSONANT_FROM_1SYLL:{syllables:1,syllable:e=>e.jong>0},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{syllables:1,syllable:e=>e.jong===0&&e.cho!==vl},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:e=>e.jong===0&&e.cho!==vl},MERGE_3_PHONEMES:{syllables:1,syllable:e=>e.jong>0&&!Rn[e.jong]&&e.cho!==vl}},v3=new Set([]);function jh(e){return e in or}function Lh(e,t){const a=or[e];if(!a)return!0;const o=[...t];if(o.length!==a.syllables)return!1;const n=We(o[0]);return!!n&&a.syllable(n)}function Mh(e){return v3.has(e)}function x3(e){const t=e.charCodeAt((e.length||1)-1)||0;return t<44032||t>55203||(t-44032)%28===0?"\uC640":"\uACFC"}function Zr(e){const t=e.charCodeAt((e.length||1)-1)||0;return t<44032||t>55203||(t-44032)%28===0?"\uB97C":"\uC744"}function xl(e){const t=e.charCodeAt((e.length||1)-1)||0;if(t<44032||t>55203)return"\uB85C";const a=(t-44032)%28;return a===0||a===8?"\uB85C":"\uC73C\uB85C"}function $h(e){const t=e.charAt((e.length||1)-1),a=t.charCodeAt(0)||0;return a>=44032&&a<=55203?(a-44032)%28===0?"\uAC00":"\uC774":/[ㄱ-ㅎ]/.test(t)?"\uC774":"\uAC00"}const Cl={\u3131:"\uAE30\uC5ED",\u3132:"\uC30D\uAE30\uC5ED",\u3134:"\uB2C8\uC740",\u3137:"\uB514\uADFF",\u3138:"\uC30D\uB514\uADFF",\u3139:"\uB9AC\uC744",\u3141:"\uBBF8\uC74C",\u3142:"\uBE44\uC74D",\u3143:"\uC30D\uBE44\uC74D",\u3145:"\uC2DC\uC637",\u3146:"\uC30D\uC2DC\uC637",\u3147:"\uC774\uC751",\u3148:"\uC9C0\uC752",\u3149:"\uC30D\uC9C0\uC752",\u314A:"\uCE58\uC753",\u314B:"\uD0A4\uC754",\u314C:"\uD2F0\uC755",\u314D:"\uD53C\uC756",\u314E:"\uD788\uC757",\u3133:"\uAE30\uC5ED\uC2DC\uC637",\u3135:"\uB2C8\uC740\uC9C0\uC752",\u3136:"\uB2C8\uC740\uD788\uC757",\u313A:"\uB9AC\uC744\uAE30\uC5ED",\u313B:"\uB9AC\uC744\uBBF8\uC74C",\u313C:"\uB9AC\uC744\uBE44\uC74D",\u313D:"\uB9AC\uC744\uC2DC\uC637",\u313E:"\uB9AC\uC744\uD2F0\uC755",\u313F:"\uB9AC\uC744\uD53C\uC756",\u3140:"\uB9AC\uC744\uD788\uC757",\u3144:"\uBE44\uC74D\uC2DC\uC637",\u314F:"\uC544",\u3150:"\uC560",\u3151:"\uC57C",\u3152:"\uC598",\u3153:"\uC5B4",\u3154:"\uC5D0",\u3155:"\uC5EC",\u3156:"\uC608",\u3157:"\uC624",\u3158:"\uC640",\u3159:"\uC65C",\u315A:"\uC678",\u315B:"\uC694",\u315C:"\uC6B0",\u315D:"\uC6CC",\u315E:"\uC6E8",\u315F:"\uC704",\u3160:"\uC720",\u3161:"\uC73C",\u3162:"\uC758",\u3163:"\uC774"};function Rh(e){if([...e].length!==1)return[e];const t=We(e);if(!t)return[e];const a=[st[t.cho],gt[t.jung]];return t.jong!==0&&a.push(Tt[t.jong]),a}function _l(e,t=!1){const a=e.filter(Boolean);if(a.length<2)return"";const o=c=>Cl[c]??c,n=a.slice(0,-1).map(c=>`"${c}"${x3(o(c))}`).join(" "),i=a[a.length-1],s=`"${i}"${Zr(o(i))}`;return`${n} ${s} \uD569\uCE58\uBA74 \uC5B4\uB5A4 ${t?"\uC18C\uB9AC":"\uB2E8\uC5B4"}\uAC00 \uB418\uB098\uC694?`}function C3(e,t){return _l(t,e==="MERGE_2_PHONEMES"||e==="MERGE_3_PHONEMES")}const yl=e=>Cl[e]??e,_3={cho:"\uCD08\uC131",jung:"\uBAA8\uC74C",jong:"\uBC1B\uCE68"};function y3(e,t){const a=(d,u)=>{const p=[...d].length===1?We(d):null,h=[...u].length===1?We(u):null;if(!p||!h)return null;const m=["cho","jung","jong"].filter(b=>p[b]!==h[b]);return m.length===1?{part:m[0],sx:p,sy:h}:null},o=a(e,t)??a(Xr(e),Xr(t));if(!o)return null;const n=o.part==="cho"?st:o.part==="jung"?gt:Tt,i=n[o.sx[o.part]],s=n[o.sy[o.part]],c=o.part==="jong"&&!i?"add":o.part==="jong"&&!s?"remove":"swap";return{part:o.part,from:i,to:s,kind:c}}function w3(e,t){const a=String(t?.word??t?.original??""),o=String(t?.changedFrom??""),n=String(t?.changedTo??"");if(e==="CHANGE_1_PHONEME_IN_1SYLL"||e==="CHANGE_1_PHONEME_IN_2SYLL"){const i=e==="CHANGE_1_PHONEME_IN_1SYLL",s=i?o||a:o,c=y3(s,n);if(c){const d=i?`"${a}"`:`"${a}"\uC758 "${s}"`,u=c.kind==="add"?"\uC5D0":"\uC5D0\uC11C",p=`"${c.from}"${Zr(yl(c.from))}`,h=`"${c.to}"${xl(yl(c.to))}`;return c.kind==="add"?`${d}${u} \uBC1B\uCE68 "${c.to}"${Zr(yl(c.to))} \uB354\uD558\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`:c.kind==="remove"?`${d}${u} \uBC1B\uCE68 ${p} \uBE7C\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`:`${d}${u} ${_3[c.part]} ${p} ${h} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`}}return e==="CHANGE_1_PHONEME_IN_1SYLL"?`"${a}"${Zr(a)} "${n}"${xl(n)} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`:`"${a}"\uC5D0\uC11C "${o}"${Zr(o)} "${n}"${xl(n)} \uBC14\uAFB8\uBA74 \uBB34\uC5C7\uC774 \uB418\uB098\uC694?`}function k3(e,t){const a=String(t?.word??t?.original??t?.base??""),o=String(t?.dropped??"");if(e==="DROP_FINAL_CONSONANT_FROM_1SYLL")return`"${a}"\uC5D0\uC11C \uBC1B\uCE68\uC774 \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uB9D0\uC774 \uB418\uB098\uC694?`;if(e==="REMOVE_CONSONANT_AND_IDENTIFY_PHONEME"){const n=String(t?.missingConsonant??"");return`"${a}"\uC5D0\uC11C "${n}"${$h(n)} \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB418\uB098\uC694?`}return`"${a}"\uC5D0\uC11C "${o}"${$h(o)} \uC5C6\uC5B4\uC9C0\uBA74 \uC5B4\uB5A4 \uB9D0\uC774 \uB418\uB098\uC694?`}function Ph(e,t,a){switch(f3(e)){case"synthesis":return C3(e,a);case"substitution":return w3(e,t);case"deletion":return k3(e,t);default:return""}}function zh(e){return e.replace(/"([ㄱ-ㅣ])"(으로|와|과|을|를|이|가|은|는|로)?/g,(t,a,o)=>{const n=Cl[a];if(!n)return t;if(!o)return`"${n}"`;const i=(n.charCodeAt(n.length-1)-44032)%28,s=i!==0;let c=o;return o==="\uC640"||o==="\uACFC"?c=s?"\uACFC":"\uC640":o==="\uC744"||o==="\uB97C"?c=s?"\uC744":"\uB97C":o==="\uC774"||o==="\uAC00"?c=s?"\uC774":"\uAC00":o==="\uC740"||o==="\uB294"?c=s?"\uC740":"\uB294":(o==="\uC73C\uB85C"||o==="\uB85C")&&(c=i===0||i===8?"\uB85C":"\uC73C\uB85C"),`"${n}"${c}`})}const B3=e=>e==null?[]:Array.isArray(e)?e:[e];function Xr(e){if([...e].length!==1)return"";const t=We(e);if(!t)return"";const a=No(Tt[t.jong]),o=a===""?0:Tt.indexOf(a);return Ca(t.cho,t.jung,o<0?0:o)}function Gn(e,t){return t.get(e)||Xr(e)||e}function rr(e){return e?jt(e.cho)?"cho":jt(e.jung)?"jung":jt(e.jong)?"jong":null:null}function Ka(e,t){const a=(n,i)=>!jt(n)||B3(n).includes(i),o=t.jongNone?e.jong===0:a(t.jong,Tt[e.jong]);return a(t.cho,st[e.cho])&&a(t.jung,gt[e.jung])&&o}function Lo(e,t,a){const o=[...e];if(a!=="pron")return o.map(i=>We(i));const n=[...t.get(e)||e];return n.length!==o.length?o.map(i=>We(i)):n.map(i=>We(i))}function Mo(e,t,a,o,n){const i=t==="cho"?st:t==="jung"?gt:Tt,s=e[t],c=[],d=h=>t==="jung"?S3(Gn(h,n)):Gn(h,n),u=new Map([[d(a),-1]]),p=tt(i.map((h,m)=>m).filter(h=>h!==s&&(t!=="cho"||i[h]!=="\u3147")&&(t!=="jong"||h!==0)));for(const h of p){if(c.length>=o)break;const m=t==="cho"?Ca(h,e.jung,e.jong):t==="jung"?Ca(e.cho,h,e.jong):Ca(e.cho,e.jung,h),b=d(m),x=u.get(b);if(x!==void 0){t==="jung"&&x>=0&&n.has(m)&&!n.has(c[x])&&(c[x]=m);continue}u.set(b,c.length),c.push(m)}return c}const A3={\u3154:"\u3150",\u3156:"\u3152",\u315A:"\u3159",\u315E:"\u3159"};function S3(e){if([...e].length!==1)return e;const t=We(e);if(!t)return e;const a=A3[gt[t.jung]];return a?Ca(t.cho,gt.indexOf(a),t.jong):e}function wl(e,t,a,o,n,i=null){const s=[...e];if(s.length!==2)return null;const c=s.map(h=>We(h));if(c.some(h=>!h))return null;const d=Lo(e,a,o);if(d.some(h=>!h))return null;const u=rr(t);let p=u&&t?d.map((h,m)=>Ka(h,t)?m:-1).filter(h=>h>=0):[0,1];if(i!=null&&(p=p.filter(h=>h!==i)),!p.length)return null;for(const h of tt(p)){const m=s[h];if(!n.has(m))continue;const b=Mo(c[h],u??"cho",m,40,a),x=[];for(const f of b)if(f!==m&&n.has(f)&&!x.includes(f)&&x.push(f),x.length>=2)break;if(!(x.length<2))return{question:e,distractors:[m,...x]}}return null}function kl(e,t,a,o,n,i=null){const s=[...e];if(s.length!==3)return null;const c=s.map(h=>We(h));if(c.some(h=>!h))return null;const d=Lo(e,a,o);if(d.some(h=>!h))return null;const u=rr(t),p=u&&t?d.map((h,m)=>Ka(h,t)?m:-1).filter(h=>h>=0):[0,1,2];if(!p.length)return null;for(const h of tt(p))for(const m of tt([0,1,2].filter(b=>b!==h&&(i==null||b===i)))){const b=[0,1,2].filter(v=>v!==m),x=b.map(v=>s[v]).join("");if(!n.has(x))continue;const f=b.indexOf(h),C=Mo(c[h],u??"cho",s[h],40,a),g=[];for(const v of C){const y=b.map(B=>s[B]);y[f]=v;const _=y.join("");if(_!==x&&n.has(_)&&!g.includes(_)&&g.push(_),g.length>=2)break}if(!(g.length<2))return{question:e,distractors:[x,...g]}}return null}function Bl(e,t,a,o,n,i=null){const s=[...e],c=s.length;if(c<2)return null;const d=[];for(let p=1;p<=c-1;p++)d.push({remain:s.slice(0,p).join(""),dropped:s.slice(p).join(""),droppedEnd:1}),d.push({remain:s.slice(c-p).join(""),dropped:s.slice(0,c-p).join(""),droppedEnd:0});const u=rr(t);for(const{remain:p,dropped:h,droppedEnd:m}of tt(d)){if(i!=null&&m!==i||[...p].length===1&&[...h].length===1||p===e||!n.has(p)||!n.has(h))continue;const b=[...p],x=b.map(g=>We(g));if(x.some(g=>!g))continue;const f=Lo(p,a,o);if(f.some(g=>!g))continue;const C=u&&t?f.map((g,v)=>Ka(g,t)?v:-1).filter(g=>g>=0):b.map((g,v)=>v);if(C.length)for(const g of tt(C)){const v=Mo(x[g],u??"cho",b[g],40,a),y=[];for(const _ of v){const B=[...b];B[g]=_;const k=B.join("");if(k!==p&&n.has(k)&&!y.includes(k)&&y.push(k),y.length>=2)break}if(y.length>=2)return{question:e,distractors:[p,...y],dropped:h}}}return null}function Al(e,t,a,o,n,i=null){if([...e].length!==1)return null;const s=We(a.get(e)||e);if(!s||s.jong===0)return null;const c=Ca(s.cho,s.jung,0),d=Mo({cho:s.cho,jung:s.jung,jong:0},"cho",c,2,a);return d.length<2?null:{question:e,distractors:[c,...d]}}const Sl=st.indexOf("\u3147");function El(e,t,a,o,n,i=null){if([...e].length!==1)return null;const s=We(a.get(e)||e);if(!s||s.jong!==0||s.cho===Sl)return null;const c=Ca(Sl,s.jung,0),d=Mo({cho:Sl,jung:s.jung,jong:0},"jung",c,2,a);return d.length<2?null:{question:e,distractors:[c,...d]}}function Nl(e){const t=new Map;for(const a of e){const o=[...a],n=o.length;if(!(n<2||n>3))for(let i=0;i<n;i++){let s=n+"|"+i+"|";for(let d=0;d<n;d++)s+=d===i?"*":o[d];const c=t.get(s);c?c.push(a):t.set(s,[a])}}return t}function Dl(e,t,a,o,n,i=null,s=null,c=2){const d=[...e],u=d.length;if(u<2||u>3)return null;const p=d.map(v=>We(v));if(p.some(v=>!v))return null;const h=Lo(e,a,o);if(h.some(v=>!v))return null;const m=v=>a.get(v)??v,b=m(e),x=!!t&&(jt(t.cho)||jt(t.jung)||jt(t.jong)),f=!!s&&(jt(s.cho)||jt(s.jung)||jt(s.jong)),C=v=>{let y=u+"|"+v+"|";for(let _=0;_<u;_++)y+=_===v?"*":d[_];return y};let g;if(i!=null){if(i>=u||x&&!Ka(h[i],t))return null;g=[i]}else x?g=h.map((v,y)=>Ka(v,t)?y:-1).filter(v=>v>=0):g=Array.from({length:u},(v,y)=>y);for(const v of tt(g)){const y=n.get(C(v))??[],_=[],B=[];for(const E of y){if(E===e)continue;const L=[...E].map(D=>We(D)),z=p[v],j=L[v];if(!z||!j)continue;let I=0;if(z.cho!==j.cho&&I++,z.jung!==j.jung&&I++,z.jong!==j.jong&&I++,!(I<c||m(E)===b))if(f){const D=Lo(E,a,o)[v];D&&Ka(D,s)?_.push(E):B.push(E)}else _.push(E)}if(!_.length)continue;const k=tt(_)[0],S=[],w=new Set([b,m(k)]),A=f?B:_.filter(E=>E!==k);for(const E of tt(A)){const L=m(E);if(!w.has(L)&&(w.add(L),S.push(E),S.length>=2))break}if(!f&&S.length<2)for(const E of tt(y)){if(E===e||E===k)continue;const L=m(E);if(!w.has(L)&&(w.add(L),S.push(E),S.length>=2))break}if(!(S.length<2))return{question:e,distractors:[k,...S]}}return null}const E3=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",t=typeof bt?.t=="function"?bt.t("common.unknownError",{defaultValue:e}):void 0;return typeof t=="string"&&t?t:e};function Jr(e,t){if(t===void 0&&(t=E3()),e instanceof Error)return e.message||t;if(typeof e=="string")return e||t;if(e&&typeof e=="object"){const a=e;for(const o of[a.message,a.error_description,a.error])if(typeof o=="string"&&o)return o}return t}const Un="\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.",N3=()=>{const e=typeof bt?.t=="function"?bt.t("common.networkError",{defaultValue:Un}):void 0;return typeof e=="string"&&e?e:Un};function Tl(e){return e?/failed to fetch|load failed|networkerror|network request failed|fetcherror/i.test(e):!1}function Ih(e){return Tl(e)?N3():e}function Oh(e,t){return e==="id"?void 0:`${e}|${t?"asc":"desc"}`}function Fh(e){const[t,a]=e.split("|");return{key:t,asc:a==="asc"}}function Hh(e){let t=e==null?"":String(e);return!(typeof e=="number"&&Number.isFinite(e))&&/^[=+\-@\t\r]/.test(t)&&(t="'"+t),/[",\n\r]/.test(t)?`"${t.replaceAll('"','""')}"`:t}const D3=1e3;function Vh(e,t){const a=new Blob([t.startsWith("\uFEFF")?t:"\uFEFF"+t],{type:"text/csv;charset=utf-8"}),o=URL.createObjectURL(a),n=document.createElement("a");n.href=o,n.download=e,n.click(),setTimeout(()=>URL.revokeObjectURL(o),D3)}const Wh="__ihab_core_word_pool__";function T3(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("wordpool:update"))}function Gh(e,t){const a=new Map;for(const n of e)a.set(n.word,n);const o={entries:e,pairIndex:t??null,byWord:a};globalThis[Wh]=o,T3()}function $o(){return globalThis[Wh]??null}const nr=globalThis;function jl(e,t){const a=o=>{};try{const o=t();o&&typeof o.catch=="function"&&o.catch(a)}catch(o){a(o)}}function Uh(e){nr.__ihabTrainingTimeLogger=e}function Ll(e){jl("time",()=>nr.__ihabTrainingTimeLogger?.(e))}function qh(e){nr.__ihabTrainingCompletionLogger=e}function Ml(e){jl("completion",()=>nr.__ihabTrainingCompletionLogger?.(e))}function Yh(e){nr.__ihabCrosswordLogger=e}function Kh(e){jl("crossword",()=>nr.__ihabCrosswordLogger?.(e))}function ra(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function $l(e){for(const t of["correct","isCorrect","heard","judgement"])if(typeof e[t]=="boolean")return e[t];return e.score===1?!0:e.score===0?!1:null}function Rl(e){return Array.isArray(e)?e.map((t,a)=>{const o=t??{};return{index:a,itemId:ra(o.contextCode)??ra(o.itemId)??ra(o.itemCode)??ra(o.id),question:ra(o.question)??ra(o.q)??ra(o.sentence)??ra(o.text)??ra(o.prompt)??ra(o.word)??ra(o.targetSyllable),answer:ra(o.answer),selected:ra(o.selectedText)??ra(o.selected),correct:$l(o)}}):[]}function Zh(e){return e.filter(t=>t.correct===!1)}let Xh=null,Jh=null,Qh=null;function em(e){Xh=e}function tm(e){Jh=e}function am(e){Qh=e}async function om(e,t){try{return await Xh?.(e,t)??null}catch{return null}}async function rm(){try{return await Jh?.()??null}catch{return null}}async function nm(e,t){try{return await Qh?.(e,t)??null}catch{return null}}const qn=globalThis;function im(e){qn.__ihabNoiseSettingsStore=e}async function Pl(){try{return await qn.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function Yn(e){const t=a=>{};try{const a=qn.__ihabNoiseSettingsStore?.save(e);a&&typeof a.catch=="function"&&a.catch(t)}catch(a){t(a)}}function ir(e){try{qn.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}function Qr(e){const t=new TextEncoder().encode(String(e).normalize("NFC"));let a="";return t.forEach(o=>{a+=o.toString(16).padStart(2,"0")}),a}const sm=Qr;function lm(e,t){return`${e}/${Qr(t)}.mp3`}function cm(e={}){const t=e.storagePrefix??"audio-cache",a=e.voice??"ko-f",o=typeof e.speed=="number"?e.speed:1,n=e.filenameSanitizer??Qr;return async function(i){const s=String(i||"").trim();if(!s)return"";const c=`${n(s)}_${a}.mp3`,d=`${t}/${c}`;try{if(await As(d)){const u=await Rr(d);if(u)return u}}catch{}if(e.generator)try{const u=await e.generator(s,d,e);if(u)return u}catch{}try{const u=`/api/tts?word=${encodeURIComponent(s)}&voice=${encodeURIComponent(a)}&speed=${encodeURIComponent(String(o))}`;return await fetch(u,{method:"GET"}),`/audio-cache/${c}`}catch{return`/audio-cache/${c}`}}}async function zl(e){if(typeof document<"u"){const t=document.activeElement;let a=null;try{if(a=document.createElement("textarea"),a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",a.style.pointerEvents="none",document.body.appendChild(a),a.focus(),a.select(),a.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(a?.parentNode&&a.parentNode.removeChild(a),t&&t!==document.activeElement&&typeof t.focus=="function"&&t.isConnected)try{t.focus({preventScroll:!0})}catch{}}}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}const sr="Asia/Seoul",j3=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function Kn(e){let t;if(e instanceof Date)t=e;else if(typeof e=="string"){const a=e.trim(),o=j3.exec(a);t=new Date(o?`${o[1]}T${o[2]}:${o[3]??"00"}${o[4]?`.${o[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:a)}else t=new Date(e);return Number.isNaN(t.getTime())?null:t}const en=e=>Kn(e);function dm(e){const t=en(e);return t?t.toLocaleDateString("ko-KR",{timeZone:sr,year:"numeric",month:"short",day:"numeric"}):""}function um(e){const t=en(e);return t?t.toLocaleString("ko-KR",{timeZone:sr,year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):""}function pm(e,t){const a=t.startsWith("ko")?"ko-KR":"en-US",o=en(e);return o?o.toLocaleDateString(a,{timeZone:sr,year:"numeric",month:"short",day:"numeric"}):""}function hm(e,t){const a=t.startsWith("ko")?"ko-KR":"en-US",o=en(e);return o?o.toLocaleString(a,{timeZone:sr,year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):""}function mm(e){const t=en(e);return t?t.toLocaleString("ko-KR",{timeZone:sr,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):""}function bm(e){if(e==null||e==="")return"";const t=Kn(e);return t?new Intl.DateTimeFormat("en-GB",{timeZone:sr,hour:"2-digit",minute:"2-digit",hour12:!1}).format(t):""}function ba(){return $a(new Date)}function Il(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:ba()}function lo(){return Ol(ba())}const L3=540*60*1e3;function Zn(e,t,a){return new Date(Date.UTC(e,t,a)-L3)}function Ol(e){const[t,a,o]=e.split("-").map(Number);return new Date(t,(a||1)-1,o||1)}function $a(e){if(e==null||e==="")return"";const t=Kn(e);return t?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t):""}function Xn(e,t){if(!e)return"";const a=Kn(e);if(!a)return"";const o=a.getTime(),n=Math.max(0,Math.floor((Date.now()-o)/1e3)),i=Math.floor(n/60),s=Math.floor(i/60),c=Math.floor(s/24),d=Math.floor(c/7),u=Math.floor(c/30),p=Math.floor(c/365);return i<1?t("store.time.justNow","\uBC29\uAE08 \uC804"):i<60?t("store.time.minutesAgo",{n:i}):s<24?t("store.time.hoursAgo",{n:s}):c<7?t("store.time.daysAgo",{n:c}):d<5?t("store.time.weeksAgo",{n:d}):c<365?t("store.time.monthsAgo",{n:Math.min(u,11)}):t("store.time.yearsAgo",{n:p})}function Jn(e,t={}){const{sep:a=".",pad:o=!0,trailingDot:n=!1,fallback:i="\u2014"}=t;if(!e)return i;const s=$a(e instanceof Date?e:String(e));if(!s)return i;const[c,d,u]=s.split("-"),p=o?d:String(Number(d)),h=o?u:String(Number(u));return`${c}${a}${p}${a}${h}${n?".":""}`}function gm(e){const t=e.normalize("NFKC").replace(/\D/g,"");if(/^(050\d|0303)/.test(t)){const o=t.slice(0,12);return o.length<=4?o:o.length<=8?`${o.slice(0,4)}-${o.slice(4)}`:`${o.slice(0,4)}-${o.slice(4,o.length-4)}-${o.slice(o.length-4)}`}if(/^1[5-9]\d{2}/.test(t)&&t.length<=8)return t.length<=4?t:`${t.slice(0,4)}-${t.slice(4)}`;const a=t.slice(0,11);return a.startsWith("02")?a.length<=2?a:a.length<=6?`${a.slice(0,2)}-${a.slice(2)}`:`${a.slice(0,2)}-${a.slice(2,a.length-4)}-${a.slice(a.length-4)}`:a.length<=3?a:a.length<=7?`${a.slice(0,3)}-${a.slice(3)}`:`${a.slice(0,3)}-${a.slice(3,a.length-4)}-${a.slice(a.length-4)}`}const fm=String.raw`(?:0\d{1,2}|050\d|0303)-\d{3,4}-\d{4}`,M3=String.raw`1[5-9]\d{2}-\d{4}`,Fl=new RegExp(`^(?:${fm}|${M3})$`),Hl=new RegExp(`^${fm}$`);function vm(e){return Fl.test(e)}function xm(e){return Hl.test(e)}function Cm(e){if(e){if(/^\d{4}\.\d{2}\.\d{2}$/.test(e))return e;if(/^\d{8}$/.test(e))return`${e.slice(0,4)}.${e.slice(4,6)}.${e.slice(6,8)}`;if(/^\d{4}-\d{2}-\d{2}$/.test(e))return e.replace(/-/g,".");if(/^\d{4}-\d{2}-\d{2}[T ]/.test(e)){const t=$a(e);return t?t.replace(/-/g,"."):void 0}}}function _m(e){if(e)return/^\d{4}\.\d{2}\.\d{2}$/.test(e)?e.replace(/\./g,"-"):e}function lr(e){if(!e)return e;const t=e.trim();return/^[₩$]/.test(t)?t:/원\s*$/.test(t)?"\u20A9"+t.replace(/\s*원\s*$/,"").trim():t}function Qn(e,t){if(!e)return"-";const a=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!a)return e;const o=Number(a[1]),n=Number(a[2]),i=a[1].padStart(2,"0");return n===0?t("date.timeH",{h:o,hh:i,mm:a[2]}):t("date.timeHM",{h:o,hh:i,m:n,mm:a[2]})}function tn(e){return(e??0).toLocaleString("ko-KR")}const $3=[{key:"FOOD",label:"\uC74C\uC2DD",icon:"salad",color:"#FF8A65",subs:[{key:"TRKRFD",label:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD"},{key:"MDKRFD",label:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD"},{key:"WRLDFD",label:"\uC138\uACC4\uC758 \uC74C\uC2DD"},{key:"MTRFRT",label:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C"},{key:"GEFDKL",label:"\uC74C\uC2DD \uC0C1\uC2DD"}]},{key:"HLTH",label:"\uAC74\uAC15",icon:"heart",color:"#66BB6A",subs:[{key:"HTETHB",label:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00"},{key:"DISILL",label:"\uBCD1\uACFC \uC9C8\uD658"},{key:"EXCISE",label:"\uC6B4\uB3D9"},{key:"GEHTKL",label:"\uAC74\uAC15\uC0C1\uC2DD"}]},{key:"WETH",label:"\uB0A0\uC528",icon:"sun-medium",color:"#42A5F5",subs:[{key:"GESSKL",label:"\uACC4\uC808\uC0C1\uC2DD"},{key:"SNWRAN",label:"\uB208\uACFC \uBE44"},{key:"WTHFCT",label:"\uC77C\uAE30\uC608\uBCF4"},{key:"GEWTKL",label:"\uB0A0\uC528\uC0C1\uC2DD"}]},{key:"PRSN",label:"\uC778\uBB3C",icon:"user-round",color:"#AB47BC",subs:[{key:"JODYPS",label:"\uC870\uC120\uC2DC\uB300"},{key:"MDKRPS",label:"\uD55C\uAD6D \uADFC\uD604\uB300"},{key:"THKDPS",label:"\uC0BC\uAD6D\uC2DC\uB300"},{key:"WRLART",label:"\uC138\uACC4\uC758 \uC608\uC220\uAC00"},{key:"WRLPSN",label:"\uC138\uACC4\uC758 \uC778\uBB3C"}]},{key:"KRCT",label:"\uD55C\uAD6D\uBB38\uD654",icon:"bow-arrow",color:"#EC407A",subs:[{key:"KRLANG",label:"\uC6B0\uB9AC\uB9D0"},{key:"TRPLCT",label:"\uC804\uD1B5\uB180\uC774"},{key:"HERITG",label:"\uBB38\uD654\uC7AC"},{key:"EVTFES",label:"\uD589\uC0AC\uC640 \uCD95\uC81C"},{key:"GECTKL",label:"\uC0C1\uC2DD"}]},{key:"STRY",label:"\uC774\uC57C\uAE30",icon:"message-circle",color:"#8D6E63",subs:[{key:"FRYTAL",label:"\uB3D9\uD654"},{key:"AMZING",label:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30"},{key:"DAYSTR",label:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30"}]},{key:"LOCA",label:"\uC9C0\uC5ED",icon:"map-pin",color:"#26A69A",subs:[{key:"KRLDMK",label:"\uD55C\uAD6D\uC758 \uBA85\uC18C"},{key:"SELNMK",label:"\uC11C\uC6B8\uC758 \uBA85\uC18C"},{key:"WRDTRB",label:"\uC138\uACC4\uC5EC\uD589"},{key:"NAVIGT",label:"\uAE38 \uCC3E\uAE30"}]},{key:"SOAR",label:"\uC0AC\uD68C\uC640 \uC608\uC220",icon:"landmark",color:"#5C6BC0",subs:[{key:"KRSOCI",label:"\uD55C\uAD6D"},{key:"ECONEW",label:"\uACBD\uC81C\uC640 \uB274\uC2A4"},{key:"GENART",label:"\uC608\uC220"},{key:"GELFKL",label:"\uC0DD\uD65C \uC0C1\uC2DD"}]},{key:"NTSC",label:"\uC790\uC5F0\uACFC \uACFC\uD559",icon:"leaf",color:"#9CCC65",subs:[{key:"ANIMAL",label:"\uB3D9\uBB3C"},{key:"PLANTS",label:"\uC2DD\uBB3C"},{key:"ETHPLT",label:"\uC9C0\uAD6C"},{key:"TOLELC",label:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488"},{key:"GESCKL",label:"\uACFC\uD559\uC0C1\uC2DD"}]},{key:"SPRT",label:"\uC2A4\uD3EC\uCE20",icon:"trophy",color:"#FFCA28",subs:[{key:"INVDSP",label:"\uAC1C\uC778\uACBD\uAE30"},{key:"MARART",label:"\uACA9\uD22C\uAE30"},{key:"TEAMSP",label:"\uB2E8\uCCB4\uACBD\uAE30"},{key:"FOOTBL",label:"\uCD95\uAD6C"},{key:"GESPKL",label:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}]}],R3=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828"},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30 + 4\uBB38\uC81C"},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30 \uC2EC\uD654 \uD6C8\uB828"},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC21C\uC11C \uBC30\uC5F4 \uD6C8\uB828"}];let Vl=null;function ym(e){Vl=e}function ei(){return Vl?.topicTypes??$3}function Wl(){return Vl?.trainingTypes??R3}const wm="ihab_theme",km="light";function Gl(){try{const e=localStorage.getItem(wm);if(e==="light"||e==="dark"||e==="auto")return e}catch{}return km}function Ul(e){const t=e==="light"||e==="dark"||e==="auto"?e:km;try{document.documentElement.setAttribute("data-theme",t),localStorage.setItem(wm,t)}catch{}}function Bm(){Ul(Gl())}const Am="ihab_font_scale",P3="medium",z3=["medium","large1","large2","large3"];function ql(){try{const e=localStorage.getItem(Am);if(z3.includes(e))return e}catch{}return P3}function Yl(e){try{document.documentElement.setAttribute("data-font-scale",e),localStorage.setItem(Am,e)}catch{}}function Sm(){Yl(ql())}const co=[],uo=[],po=[],ho=[],an={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},on={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},I3={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let Kl=null,Em=null,mo=null;function Zl({counts:e,forceRefresh:t}={}){const a=Object.assign({},I3,e||{}),o=ba(),n=$a(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),i=JSON.stringify(a);if(!t&&Em===o&&Kl===i&&mo)return Object.assign(an,mo.today),Object.assign(on,mo.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:an,yesterday:on};const s={LISTEN_IN_NOISE:ya(co,Math.max(0,Number(a.LISTEN_IN_NOISE)||0)),SHORT_STORY:ya(uo,Math.max(0,Number(a.SHORT_STORY)||0)),LONG_STORY:ya(po,Math.max(0,Number(a.LONG_STORY)||0)),ORDERING_SENTENCE:ya(ho,Math.max(0,Number(a.ORDERING_SENTENCE)||0))};let c=null;return mo&&Kl===i&&mo.yesterday&&mo.yesterday.date===n&&(c=mo.yesterday.selection),c||(c={LISTEN_IN_NOISE:ya(co,Math.max(0,Number(a.LISTEN_IN_NOISE)||0)),SHORT_STORY:ya(uo,Math.max(0,Number(a.SHORT_STORY)||0)),LONG_STORY:ya(po,Math.max(0,Number(a.LONG_STORY)||0)),ORDERING_SENTENCE:ya(ho,Math.max(0,Number(a.ORDERING_SENTENCE)||0))}),Object.assign(an,s),Object.assign(on,c),Em=o,Kl=i,mo={today:s,yesterday:{date:n,countsKey:i,selection:c}},{today:an,yesterday:on}}function Nm(){return{today:an,yesterday:on}}function Xl(){return{LISTEN_IN_NOISE:co,SHORT_STORY:uo,LONG_STORY:po,ORDERING_SENTENCE:ho}}let ti=!1,rn=null;async function O3(){try{const e={url:typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}&&void 0||"/",t=await fetch(`${e}data/allTrainingData.json`);return t.ok?await t.json():null}catch{return null}}async function Jl(){if(!ti)return rn||(rn=(async()=>{const e=await O3();if(!e){rn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}const t={noise:[],short:[],long:[],order:[]};try{for(const a of Object.keys(e||{})){const o=e[a]||[];for(const n of o){if(!n||typeof n!="object")continue;const i=n,s=String(i.training_type||a),c=String(i.category_main_code||i.category_main||i.category_0||""),d=String(i.category_sub_code||i.category_sub||i.category_1||""),u=Object.assign({},i,{training_type:s,category_0:c,category_1:d});s==="LISTEN_IN_NOISE"?t.noise.push(u):s==="SHORT_STORY"?t.short.push(u):s==="LONG_STORY"?t.long.push(u):s==="ORDERING_SENTENCE"&&t.order.push(u)}}}catch{rn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}co.push(...t.noise),uo.push(...t.short),po.push(...t.long),ho.push(...t.order),ti=!0;try{Zl()}catch{}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}})(),rn)}function Dm(){return ti}async function Ql(e=3e3){const t=Jl();let a;try{await Promise.race([t,new Promise(o=>{a=setTimeout(o,e)})])}finally{a!==void 0&&clearTimeout(a)}return ti}const ec=[{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."}],Tm=[{key:"FOOD",label:"\uC74C\uC2DD",icon:"salad",color:"#FF8A65",subs:[{key:"TRKRFD",label:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD"},{key:"MDKRFD",label:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD"},{key:"WRLDFD",label:"\uC138\uACC4\uC758 \uC74C\uC2DD"},{key:"MTRFRT",label:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C"},{key:"GEFDKL",label:"\uC74C\uC2DD \uC0C1\uC2DD"}]},{key:"HLTH",label:"\uAC74\uAC15",icon:"heart",color:"#66BB6A",subs:[{key:"HTETHB",label:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00"},{key:"DISILL",label:"\uBCD1\uACFC \uC9C8\uD658"},{key:"EXCISE",label:"\uC6B4\uB3D9"},{key:"GEHTKL",label:"\uAC74\uAC15\uC0C1\uC2DD"}]},{key:"WETH",label:"\uB0A0\uC528",icon:"sun-medium",color:"#42A5F5",subs:[{key:"GESSKL",label:"\uACC4\uC808\uC0C1\uC2DD"},{key:"SNWRAN",label:"\uB208\uACFC \uBE44"},{key:"WTHFCT",label:"\uC77C\uAE30\uC608\uBCF4"},{key:"GEWTKL",label:"\uB0A0\uC528\uC0C1\uC2DD"}]},{key:"PRSN",label:"\uC778\uBB3C",icon:"user-round",color:"#AB47BC",subs:[{key:"JODYPS",label:"\uC870\uC120\uC2DC\uB300"},{key:"MDKRPS",label:"\uD55C\uAD6D \uADFC\uD604\uB300"},{key:"THKDPS",label:"\uC0BC\uAD6D\uC2DC\uB300"},{key:"WRLART",label:"\uC138\uACC4\uC758 \uC608\uC220\uAC00"},{key:"WRLPSN",label:"\uC138\uACC4\uC758 \uC778\uBB3C"}]},{key:"KRCT",label:"\uD55C\uAD6D\uBB38\uD654",icon:"bow-arrow",color:"#EC407A",subs:[{key:"KRLANG",label:"\uC6B0\uB9AC\uB9D0"},{key:"TRPLCT",label:"\uC804\uD1B5\uB180\uC774"},{key:"HERITG",label:"\uBB38\uD654\uC7AC"},{key:"EVTFES",label:"\uD589\uC0AC\uC640 \uCD95\uC81C"},{key:"GECTKL",label:"\uC0C1\uC2DD"}]},{key:"STRY",label:"\uC774\uC57C\uAE30",icon:"message-circle",color:"#8D6E63",subs:[{key:"FRYTAL",label:"\uB3D9\uD654"},{key:"AMZING",label:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30"},{key:"DAYSTR",label:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30"}]},{key:"LOCA",label:"\uC9C0\uC5ED",icon:"map-pin",color:"#26A69A",subs:[{key:"KRLDMK",label:"\uD55C\uAD6D\uC758 \uBA85\uC18C"},{key:"SELNMK",label:"\uC11C\uC6B8\uC758 \uBA85\uC18C"},{key:"WRDTRB",label:"\uC138\uACC4\uC5EC\uD589"},{key:"NAVIGT",label:"\uAE38 \uCC3E\uAE30"}]},{key:"SOAR",label:"\uC0AC\uD68C\uC640 \uC608\uC220",icon:"landmark",color:"#5C6BC0",subs:[{key:"KRSOCI",label:"\uD55C\uAD6D"},{key:"ECONEW",label:"\uACBD\uC81C\uC640 \uB274\uC2A4"},{key:"GENART",label:"\uC608\uC220"},{key:"GELFKL",label:"\uC0DD\uD65C \uC0C1\uC2DD"}]},{key:"NTSC",label:"\uC790\uC5F0\uACFC \uACFC\uD559",icon:"leaf",color:"#9CCC65",subs:[{key:"ANIMAL",label:"\uB3D9\uBB3C"},{key:"PLANTS",label:"\uC2DD\uBB3C"},{key:"ETHPLT",label:"\uC9C0\uAD6C"},{key:"TOLELC",label:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488"},{key:"GESCKL",label:"\uACFC\uD559\uC0C1\uC2DD"}]},{key:"SPRT",label:"\uC2A4\uD3EC\uCE20",icon:"trophy",color:"#FFCA28",subs:[{key:"INVDSP",label:"\uAC1C\uC778\uACBD\uAE30"},{key:"MARART",label:"\uACA9\uD22C\uAE30"},{key:"TEAMSP",label:"\uB2E8\uCCB4\uACBD\uAE30"},{key:"FOOTBL",label:"\uCD95\uAD6C"},{key:"GESPKL",label:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}]}],ai={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function jm(e){return ec.map(t=>{const a=ai[t.key];return a?{...t,label:e(`trainingType.${a}.title`),desc:e(`trainingType.${a}.desc`)}:t})}let oi=null,Lm=null,Mm=null;function F3(){const e=$o();if(e&&e.entries.length>0){const t=To();if(oi&&Lm===e&&Mm===t)return oi;const a=new Set,o=[];for(const n of e.entries)!n.word||a.has(n.word)||(a.add(n.word),o.push({w:n.word,s:n.syllables,p:t?.[n.word]?[...t[n.word].cho??[],...t[n.word].jung??[],...t[n.word].jong??[]]:[],pron:n.pronunciation||n.word,grade:n.grade}));return oi=o,Lm=e,Mm=t,oi}return[]}const Za=new Proxy([],{get(e,t){const a=F3(),o=a[t];return typeof o=="function"?o.bind(a):o}});function tc(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function wa(e,t){if(t>=e.length)return tt(e);if(t===0)return[];const a=e.slice();for(let o=0;o<t;o++){const n=o+Math.floor(Math.random()*(a.length-o)),i=a[o];a[o]=a[n],a[n]=i}return a.slice(0,t)}let ac=null,$m=null;function bo(){const e=$o();if(ac&&$m===e)return ac;const t=new Map;for(const a of Za)a.w&&t.set(a.w,a.pron);return ac=t,$m=e,t}function zt(e){return bo().get(e)||e}function ri(e,t,a=new Set){const o=[];for(const n of tt(e)){if(o.length>=t)break;const i=zt(n);a.has(i)||(a.add(i),o.push(n))}return o}let H3=0;function Gt(e){return`${e}-rt-${++H3}`}function cr(e){const t=$n();if(!t||t.total===0){const n=new Set;for(const i of e)n.add(i);return n}const a=ih(),o=new Set;for(const n of e)a.has(n)&&o.add(n);return o}const ni=new Map;let Rm=null,Pm=null;function nn(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function oc(e){const t=nn(e.choseong),a=e.composition,o=a?.syllable==null?"":Array.isArray(a.syllable)?a.syllable.slice().sort().join(","):String(a.syllable),n=a?`${nn(a.cho)}/${nn(a.jung)}/${nn(a.jong)}/${a.jongNone?"N":""}/${o}`:"",i=nn(e.grade);return`${e.difficulty??""}|${t}|${n}|${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${i}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}const rc=new Map;function V3(e){return oc({...e,count:void 0,choicesPerItem:void 0,fullCount:!1})}async function pa(e){const t=$o(),a=To();(t!==Rm||a!==Pm)&&(ni.clear(),rc.clear(),Rm=t,Pm=a);const o=oc(e);return ni.has(o)||ni.set(o,W3(e)),ni.get(o)}function zm(e){if(!e)return null;const t=s=>s==null?null:Array.isArray(s)?s.length?s:null:[s],a=t(e.cho),o=t(e.jung),n=!!e.jongNone,i=n?null:t(e.jong);return a||o||i||n?n&&!a&&!o&&!i?s=>Gs(s):s=>Us(s,{cho:a,jung:o,jong:i,jongNone:n}):null}function Im(e){const t=e.grade&&e.grade.length>0?new Set(e.grade):null,a=e.composition??null,o=a?.syllable!=null?new Set(Array.isArray(a.syllable)?a.syllable:[a.syllable]):null,n=a?[zm(a),o?s=>o.has(Do(s)):null].filter(s=>s!=null):[];if(!t&&n.length===0)return null;const i=e.phonemeView==="pron";return s=>{if(t&&(!s.grade||!t.has(s.grade)))return!1;if(n.length===0)return!0;const c=i?zt(s.w):s.w;return n.every(d=>d(c))}}async function W3(e){const{difficulty:t=null,choseong:a=null,composition:o=null,targetSyllable:n=null,excludeNoImage:i=!1}=e,s=e.grade&&e.grade.length>0?new Set(e.grade):null,c=e.sameStructureOnly??!0,d=e.phonemeView==="pron"?"pron":"char",u=Math.max(1,e.contrastCount??1),p=t==="cho"||t==="jung"||t==="jong",h=p&&u>=2,m=t==="count",b=a?new Set(Array.isArray(a)?a:[a]):null,x=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,f=o?[zm(o),x?H=>x.has(Do(H)):null].filter(H=>H!=null):[],C=t==="random"||t===null,g=C||m,v=C||h||m;let y=Za.filter(H=>!H.w||s&&(!H.grade||!s.has(H.grade))?!1:v?!0:Array.isArray(H.p)&&H.p.length>0);b&&(y=y.filter(H=>{for(const V of b)if(Y5(H.w,V))return!0;return!1})),f.length>0&&(y=y.filter(H=>{const V=d==="pron"?zt(H.w):H.w;return f.every(q=>q(V))})),n&&(y=y.filter(H=>H.w[0]===n));let _;if(i){const H=new Set;for(const V of y)if(H.add(V.w),Array.isArray(V.p))for(const q of V.p)H.add(q);if(g)for(const V of Za)V.w&&H.add(V.w);_=cr(H)}else{const H=new Set;for(const V of y)if(H.add(V.w),Array.isArray(V.p))for(const q of V.p)H.add(q);if(g)for(const V of Za)V.w&&H.add(V.w);_=H}let B=null;if(h){const H=new Set;for(const V of Za)V.w&&H.add(V.w);B=i?cr(H):H}const k=y.filter(H=>_.has(H.w)),S=600,w=Array.from(_),A=w.length>S?wa(w,S):w,E=m&&o!=null&&(jt(o.cho)||jt(o.jung)||jt(o.jong)),L=2500,z=new Map;if(m&&!E&&u>=2){for(const H of w){const V=Do(H),q=z.get(V);q?q.push(H):z.set(V,[H])}for(const[H,V]of z)V.length>L&&z.set(H,wa(V,L))}const j=Is();let I=null;if(E){const H=V3(e),V=i?ih():null,q=rc.get(H);I=q&&q.\uC774\uBBF8\uC9C0\uC9D1\uD569===V?q.map:tl(o,w,j,c,d,zt),rc.set(H,{\uC774\uBBF8\uC9C0\uC9D1\uD569:V,map:I})}const D=500,T=1500,O=e.fullCount?k:t==="random"?k.length>D?wa(k,D):k:k.length>T?wa(k,T):k,G=To(),Z=[];for(const H of O){let V;const q=zt(H.w);if(h)V=Q5(H.w,t,u,B,24).filter($=>zt($)!==q);else if(m)E?V=(I.get(H.w)??[]).filter($=>zt($)!==q):u<=1?V=Pn(H.w,G,{okSet:_,pronOf:zt,decompOf:j,sameStructureOnly:!1}):V=(z.get(Do(H.w))??[]).filter($=>{if($===H.w||zt($)===q)return!1;const N=e3(q,zt($));return u>=5?N>=5:N===u});else if(C){const $=N=>N!==H.w&&N.length===H.w.length&&zt(N)!==q;if(e.fullCount){const N=Math.max(1,(e.choicesPerItem??3)-1),F=[],R=new Set;for(const W of A){if(!$(W))continue;const P=zt(W);if(!R.has(P)&&(R.add(P),F.push(W),F.length>=N))break}V=F}else V=A.filter($)}else{const $=t;V=Pn(H.w,G,{kind:$,okSet:_,pronOf:zt,decompOf:j,sameStructureOnly:!1}),V.length===0&&(V=(A.length>30?wa(A,30):A).filter(N=>N!==H.w&&Os(H.w,N)===t&&zt(N)!==q))}if(c&&V.length>0&&(p||m&&!E)){const $=j(zt(H.w));V=V.filter(N=>!Wr($,j(zt(N))))}V.length!==0&&Z.push({word:H,usable:V})}return Z}async function Om(e,t){const{choicesPerItem:a=3,count:o=10}=t,n=a-1,i=(await pa(t)).filter(c=>c.usable.length>=n),s=[];for(const c of tt(i)){if(s.length>=o)break;const d=ri(c.usable,n);if(d.length<n)continue;const u=tt([c.word.w,...d]);s.push({id:Gt(e+"-item"),index:s.length+1,word:c.word.w,syllables:c.word.s,choices:u,answerIndex:u.indexOf(c.word.w)})}return s}async function G3(e){const{choicesPerItem:t=3,count:a=10}=e,o=t-1,n=await pa({...e,difficulty:null});if(n.length<t)return[];const i=e.composition??null,s=[],c=tt([...n]);for(const d of c){if(s.length>=a)break;const u=d.word.w,p=[...d.word.pron||u],h=i&&rr(i)?p.filter(C=>{const g=We(C);return!!g&&Ka(g,i)}):[],m=tc(h.length?h:p);if(!m)continue;const b=n.filter(C=>C.word.w!==u&&C.word.s===d.word.s&&!(C.word.pron||C.word.w).includes(m)&&C.word.pron!==d.word.pron);if(b.length<o)continue;const x=ri(b.map(C=>C.word.w),o);if(x.length<o)continue;const f=tt([u,...x]);s.push({id:Gt("HPI-item"),index:s.length+1,targetSyllable:m,word:u,choices:f,answerIndex:f.indexOf(u)})}return s}async function U3(e){const{count:t=10}=e,a=(await pa(e)).filter(i=>i.usable.length>=1);if(!a.length)return[];const o=a.length>=t?wa(a,t):tt(Array.from({length:t},(i,s)=>a[s%a.length])),n=tt(Array.from({length:t},(i,s)=>s<Math.ceil(t/2)));return o.map((i,s)=>{const c=n[s];let d;if(c)d=[i.word.w,i.word.w];else{const u=tc(i.usable);d=Math.random()<.5?[i.word.w,u]:[u,i.word.w]}return{id:Gt("SOD-item"),index:s+1,word:i.word.w,pair:d,same:c}})}async function q3(e){const{choicesPerItem:t=3,count:a=10}=e,o=t-1,n=await pa({...e,difficulty:null});if(n.length<t+1)return[];const i=n.map(m=>m.word.w),s=new Map(n.map(m=>[m.word.w,m.word.pron])),c=m=>(s.get(m)||m)[0]??"",d={};for(const m of n){const b=c(m.word.w);b&&(d[b]||(d[b]=[]),d[b].push(m.word.w))}const u=Object.entries(d).filter(([,m])=>m.length>=2).map(([m])=>m);if(u.length===0)return[];const p=[],h=tt([...u]);for(let m=0;p.length<a&&m<a*4;m++){const b=h[m%h.length],x=d[b];if(x.length<2)continue;const f=tt([...x]),C=f[0],g=f[1];if(!C||!g||C===g||(s.get(C)||C)===(s.get(g)||g))continue;const v=s.get(g)||g,y=i.filter(k=>c(k)!==b&&k!==C&&k!==g&&k.length===g.length&&(s.get(k)||k)!==v);if(y.length<o)continue;const _=ri(y,o);if(_.length<o)continue;const B=tt([g,..._]);p.push({id:Gt("SWS-item"),index:p.length+1,sourceWord:C,targetSyllable:b,word:g,choices:B,answerIndex:B.indexOf(g)})}return p}function Fm(e,t,a){const o=bo(),n=d=>o.get(d)||d,i=(d,u)=>{const p=[...d],h=[...u];if(p.length!==h.length)return-1;let m=-1;for(let b=0;b<p.length;b++)if(p[b]!==h[b]){if(m>=0)return-1;m=b}return m},s=e.map(d=>({e:d,swaps:d.usable.filter(u=>!!u&&i(d.word.w,u)>=0&&n(u)!==n(d.word.w))})).filter(d=>d.swaps.length>0),c=[];for(const{e:d,swaps:u}of tt(s)){if(c.length>=t)break;const p=tc(u)??"",h=[...d.word.w],m=[...p],b=i(d.word.w,p),x=ri(d.usable.filter(f=>f&&f!==p),2,new Set([n(p),n(d.word.w)]));x.length<2||c.push({id:Gt(a),index:c.length+1,word:d.word.w,original:d.word.w,changed:p,changedFrom:b>=0?h[b]:"",changedTo:b>=0?m[b]:"",distractors:x})}return c}async function Hm(e,t,a){const{count:o=10}=t,n=bo(),i=Za.filter(x=>x.w&&x.s===e),s=t.excludeNoImage?cr(i.map(x=>x.w)):null,c=s?i.filter(x=>s.has(x.w)):i,d=new Set(c.map(x=>x.w)),u=Nl(d),p=t.phonemeView??"char",h=t.composition??null,m=Im(t),b=[];for(const x of tt(c)){if(b.length>=o)break;if(m&&!m(x))continue;const f=Dl(x.w,h,n,p,u,null,null);if(!f)continue;const C=f.distractors[0],g=[...x.w],v=[...C],y=g.findIndex((_,B)=>_!==v[B]);b.push({id:Gt(a),index:b.length+1,word:x.w,original:x.w,changed:C,changedFrom:y>=0?g[y]:"",changedTo:y>=0?v[y]:"",distractors:f.distractors.slice(1)})}return b}async function Y3(e){return Hm(2,e,"CS2-item")}async function K3(e){return Hm(3,e,"CS3-item")}async function Z3(e){const t=(await pa({...e,difficulty:"count",contrastCount:1})).filter(a=>a.word.s===1&&a.usable.length>=1);return Fm(t,e.count??10,"CP1-item")}async function X3(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",a=(await pa({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return Fm(a,e.count??10,"CP2-item")}async function J3(e){const{count:t=10}=e,a=(await pa({...e})).filter(o=>o.word.s===2);return wa(a,t).map((o,n)=>({id:Gt("M2S-item"),index:n+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Q3(e){const{count:t=10}=e,a=(await pa({...e})).filter(o=>o.word.s===3);return wa(a,t).map((o,n)=>({id:Gt("M3S-item"),index:n+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}function nc(e){const t=Za.map(a=>a.w);return e.excludeNoImage?cr(t):new Set(t)}async function e8(e){const{count:t=10}=e,a=(await pa({...e})).filter(c=>c.word.s===2),o=bo(),n=nc(e),i=e.phonemeView??"char",s=[];for(const c of tt(a)){if(s.length>=t)break;const d=wl(c.word.w,e.composition??null,o,i,n);if(!d)continue;const[u,...p]=d.distractors,h=[...c.word.w],m=h[0]===u?h[1]:h[0];s.push({id:Gt("D2-item"),index:s.length+1,original:c.word.w,word:c.word.w,dropped:m,missingResult:u,distractors:p})}return s}async function t8(e){const{count:t=10}=e,a=(await pa({...e})).filter(c=>c.word.s===3),o=bo(),n=nc(e),i=e.phonemeView??"char",s=[];for(const c of tt(a)){if(s.length>=t)break;const d=kl(c.word.w,e.composition??null,o,i,n);if(!d)continue;const[u,...p]=d.distractors,h=[...c.word.w];let m="";for(let b=0;b<h.length;b++)if(h.filter((x,f)=>f!==b).join("")===u){m=h[b];break}s.push({id:Gt("D3-item"),index:s.length+1,original:c.word.w,word:c.word.w,dropped:m,missingResult:u,distractors:p})}return s}async function a8(e){const{count:t=10}=e,a=(await pa({...e})).filter(c=>c.word.s>=3),o=bo(),n=nc(e),i=e.phonemeView??"char",s=[];for(const c of tt(a)){if(s.length>=t)break;const d=Bl(c.word.w,e.composition??null,o,i,n);if(!d)continue;const[u,...p]=d.distractors,h=c.word.w,m=d.dropped??(h.startsWith(u)?h.slice(u.length):h.endsWith(u)?h.slice(0,h.length-u.length):"");s.push({id:Gt("DPC-item"),index:s.length+1,original:h,word:h,dropped:m,missingResult:u,distractors:p})}return s}async function o8(e){const{count:t=10}=e,a=(await pa({...e})).map(o=>o.word.w);return a.length<3?[]:Array.from({length:t},(o,n)=>{const i=wa(a,3);return{id:Gt("LRO-item"),index:n+1,sequence:i,choices:tt(i)}})}function ii(e,t,a){const o=Za.filter(c=>c.w&&c.s===e),n=t.excludeNoImage?cr(o.map(c=>c.w)):null,i=Im(t),s=[];for(const c of o)if(!(n&&!n.has(c.w))&&!(i&&!i(c))){if(a){const d=We(c.w);if(!d||!a(d))continue}s.push(c)}return s}function r8(e){const t=ii(1,e,or.MERGE_2_PHONEMES.syllable);return wa(t,e.count??10).map((a,o)=>{const n=We(a.w);return{id:Gt("M2P-item"),index:o+1,parts:[st[n.cho],gt[n.jung]],answer:a.w,word:a.w}})}function n8(e){const t=ii(1,e,or.MERGE_3_PHONEMES.syllable);return wa(t,e.count??10).map((a,o)=>{const n=We(a.w);return{id:Gt("M3P-item"),index:o+1,parts:[st[n.cho],gt[n.jung],Tt[n.jong]],answer:a.w,word:a.w}})}function i8(e){const t=or.DROP_FINAL_CONSONANT_FROM_1SYLL,a=ii(t.syllables,e,t.syllable),o=bo(),n=[];for(const i of tt(a)){if(n.length>=(e.count??10))break;const s=Al(i.w,null,o);if(!s)continue;const[c,...d]=s.distractors;n.push({id:Gt("DFC-item"),index:n.length+1,original:i.w,word:i.w,result:c,distractors:d})}return n}function s8(e){const t=or.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,a=ii(t.syllables,e,t.syllable),o=bo(),n=[];for(const i of tt(a)){if(n.length>=(e.count??10))break;const s=El(i.w,null,o);if(!s)continue;const c=We(o.get(i.w)||i.w);if(!c)continue;const[d,...u]=s.distractors;n.push({id:Gt("RCP-item"),index:n.length+1,base:i.w,word:i.w,missingConsonant:st[c.cho],remaining:d,distractors:u})}return n}const si=new Map;let Vm=null,Wm=null;async function Gm(e,t={}){const a=$o(),o=To();(a!==Vm||o!==Wm)&&(si.clear(),Vm=a,Wm=o);const n=`${e}:${oc(t)}`;if(si.has(n))return si.get(n);const i=await c8(e,t);return si.set(n,i),i}const l8={SAME_SOUND_PICK:e=>Om("SSP",e),HEAR_AND_PICK_SAME:e=>Om("HPS",e),HEAR_AND_PICK_INCLUDED:e=>G3(e),SAME_OR_DIFF:e=>U3(e),STARTS_WITH_SAME_SOUND:e=>q3(e),LISTEN_AND_REMEMBER_ORDER:e=>o8(e),MERGE_2_SYLLABLES:e=>J3(e),MERGE_3_SYLLABLES:e=>Q3(e),MERGE_2_PHONEMES:e=>r8(e),MERGE_3_PHONEMES:e=>n8(e),DROP_1_FROM_2SYLL:e=>e8(e),DROP_1_FROM_3SYLL:e=>t8(e),DROP_PART_FROM_COMPOUND:e=>a8(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>i8(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>s8(e),CHANGE_1_SYLL_IN_2SYLL:e=>Y3(e),CHANGE_1_SYLL_IN_3SYLL:e=>K3(e),CHANGE_1_PHONEME_IN_1SYLL:e=>Z3(e),CHANGE_1_PHONEME_IN_2SYLL:e=>X3(e)};async function c8(e,t={}){const a=l8[e];return a?await a(t):[]}async function d8(e){const t=["random","count"],a=Object.keys(ar);let o=0;for(const n of t)for(const i of a){const s=ar[i];Gm(i,{difficulty:s.difficulty?n:null,contrastCount:1,composition:null,count:5,excludeNoImage:e,sameStructureOnly:!0,phonemeView:"char",grade:null}).catch(()=>{}),++o%6===0&&await new Promise(c=>setTimeout(c,0))}}async function u8(e){const t=await pa({...e,fullCount:!0}),a=e.choicesPerItem!=null?Math.max(1,e.choicesPerItem-1):1;return t.filter(o=>new Set(o.usable.map(n=>zt(n))).size>=a).length}async function p8(e={}){const t=[];for(const c of Za)c.w&&t.push(c.w);const a=e.excludeNoImage?cr(t):t,o=new Set,n=new Set,i=new Set,s=new Set;for(const c of a){s.add(Do(c));for(const d of c){const u=We(d);if(u&&(st[u.cho]!=="\u3147"&&o.add(st[u.cho]),n.add(gt[u.jung]),u.jong>0)){i.add(Tt[u.jong]);const p=Rn[u.jong];p&&p.forEach(h=>i.add(h))}}}return{cho:o,jung:n,jong:i,syllable:s}}const Um={free:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},personal_standard:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},mgr_free:{maxCustomers:5,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},none:{maxCustomers:0,visitWord:!1,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!1,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!1,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:0,crossword:!1,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!1},lite_word:{maxCustomers:10,visitWord:!0,visitSentence:!1,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:0,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!1},lite_sentence:{maxCustomers:10,visitWord:!1,visitSentence:!0,homework:!1,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!1,wordTableSetting:!1,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!1,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:0,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!1,sentenceTrainingView:!0},lite:{maxCustomers:10,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!1,wordTrainingSetting:!1,myWordList:!1,wordListShare:!1,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!1,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!1,wordSearchAddToGroupList:!1,wordDataLevel:1,sentenceDataLevel:1,crossword:!0,crosswordMid:!1,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},standard:{maxCustomers:30,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!1,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:2,sentenceDataLevel:2,crossword:!0,crosswordMid:!0,crosswordHigh:!1,wordTrainingView:!0,sentenceTrainingView:!0},pro:{maxCustomers:50,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!1,managerManagement:!1,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!1,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!1,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!1,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0},enterprise:{maxCustomers:1/0,visitWord:!0,visitSentence:!0,homework:!0,customerStats:!0,managerCustomerSplit:!0,managerManagement:!0,sentenceTrainingSetting:!0,wordTrainingSetting:!0,myWordList:!0,wordListShare:!0,groupTrainingSetting:!0,minimalPairSearch:!0,wordTableSetting:!0,wordTablePrint:!0,addToMyList:!0,addToGroupList:!0,wordSearch:!0,wordSearchPrint:!0,wordSearchAddToMyList:!0,wordSearchAddToGroupList:!0,wordDataLevel:3,sentenceDataLevel:3,crossword:!0,crosswordMid:!0,crosswordHigh:!0,wordTrainingView:!0,sentenceTrainingView:!0}},qm={none:0,free:1,personal_standard:2,mgr_free:10,lite_word:11,lite_sentence:11,lite:12,standard:13,pro:14,enterprise:15},h8=new Set(["mgr_free","lite_word","lite_sentence","lite","standard","pro","enterprise"]);function Ym(e){return h8.has(e)}const Km={free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1},personal_standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null},mgr_free:{sentenceTrainingDaily:2,wordTrainingDaily:2,gameDaily:1,trainingItemMax:5,customerMax:5,homeworkSendDaily:1},lite:{sentenceTrainingDaily:5,wordTrainingDaily:5,gameDaily:5,trainingItemMax:10,customerMax:10,homeworkSendDaily:10},standard:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:30,customerMax:30,homeworkSendDaily:30},pro:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:50,homeworkSendDaily:50},enterprise:{sentenceTrainingDaily:null,wordTrainingDaily:null,gameDaily:null,trainingItemMax:null,customerMax:null,homeworkSendDaily:null}};function Zm(e){const t=(e??"").toLowerCase();return t==="speechear_free"||t==="free"?"free":t.startsWith("manager_free")||t.startsWith("mgr_free")?"mgr_free":t.startsWith("manager_enterprise")?"enterprise":t.startsWith("manager_pro")?"pro":t.startsWith("manager_standard")?"standard":t.startsWith("manager_lite_word")?"lite_word":t.startsWith("manager_lite_sentence")?"lite_sentence":t.startsWith("manager_lite")||t.startsWith("mgr_lite")?"lite":t.startsWith("mgr_standard")?"standard":t.startsWith("mgr_pro")?"pro":t.startsWith("content_")||t.startsWith("speechear_")||t.startsWith("light_")||t==="light"?"personal_standard":"none"}const Xm=5,Jm=5;function Qm({rank:e,voteCount:t,quota:a=5}){return e<a&&t>0}const eb={selected:"ALREADY_SELECTED",added:"ALREADY_ADDED",rejected:"ALREADY_REJECTED"},tb="chunk-reload-ts";function ab(){try{return Number(sessionStorage.getItem(tb)||0)}catch{return 0}}function li(e=Date.now()){if(e-ab()<=1e4)return!1;try{sessionStorage.setItem(tb,String(e))}catch{}return window.location.reload(),!0}function ic(e=Date.now()){const t=ab();return t>0&&e-t<=1e4}function ob(){if(typeof window>"u")return()=>{};const e=a=>{li()&&a.preventDefault()},t=a=>{const o=a.target;o instanceof HTMLLinkElement&&o.rel==="stylesheet"&&li()};return window.addEventListener("vite:preloadError",e),window.addEventListener("error",t,!0),()=>{window.removeEventListener("vite:preloadError",e),window.removeEventListener("error",t,!0)}}function rb(e,t){return e?!!t&&t.access_token===e.access_token:!0}function nb(e,t){return l.lazy(async()=>{const a=await t();if(a&&typeof a=="object"&&"default"in a)return a;if(ic())return new Promise(()=>{});throw new Error(`[lazyPage] ${e}: \uD654\uBA74 \uBAA8\uB4C8\uC744 \uBC1B\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4(default \uB0B4\uBCF4\uB0B4\uAE30 \uC5C6\uC74C). \uBC30\uD3EC \uC9C1\uD6C4\uB77C\uBA74 \uC0C8\uB85C\uACE0\uCE68\uC73C\uB85C \uD480\uB9BD\uB2C8\uB2E4.`)})}function ib(...e){let t=!1;const a=()=>{if(!t)for(const i of e)i().catch(()=>{})},o=globalThis.requestIdleCallback;if(o){const i=o(a,{timeout:2e3});return()=>{t=!0;const s=globalThis.cancelIdleCallback;s?.(i)}}const n=setTimeout(a,300);return()=>{t=!0,clearTimeout(n)}}const sb=e=>({word:e.Word,pronunciation:e.SP,colloquialPronunciation:e.CP??void 0,grade:String(e.Grade),pos:e.POS,wordType:e.Class,homonum:e.Homonum!=null?Number(e.Homonum):void 0});var m8=Object.freeze({__proto__:null,CAPABILITY:ar,CHOSEONG:st,CORE_VERSION:En,JONGSEONG:Tt,JUNGSEONG:gt,LONG_STORIES:po,NETWORK_ERROR_MESSAGE:Un,NOISE_DATAS:co,ORDER_SETS:ho,PERSONAL_PHONE_REGEX:Hl,PHONE_REGEX:Fl,PLAN_FEATURES:Um,PLAN_LIMITS:Km,SHORT_STORIES:uo,TIER_RANK:qm,TOPIC_TYPES:Tm,TRAINING_TYPES:ec,TRAINING_TYPE_I18N_KEY:ai,WORD_SUGGESTION_ACCOUNT_LIMIT:Jm,WORD_SUGGESTION_EXISTING_ERROR:eb,WORD_SUGGESTION_WEEKLY_QUOTA:Xm,applyFontScale:Yl,applyTheme:Ul,buildChangeWholeSyllableProblem:Dl,buildDropCompoundProblem:Bl,buildDropContrast3Problem:kl,buildDropContrastProblem:wl,buildDropFinalConsonantProblem:Al,buildMultiPartPosContrast:tl,buildPairIndex:Ch,buildRemoveConsonantProblem:El,buildSyllableMaskIndex:Nl,bulkSetImageExistence:sh,cardQuestionTitle:Ph,checkImageExists:Hr,classifyPairDifficulty:Os,clearAudioExistsCache:qp,clearImageExistenceCache:Ps,clearPairIndexCache:Js,composeSyllable:Ca,computeDailySelection:Zl,configureImageResolver:eh,configureNoiseSettingsStore:im,configurePronunciationResolver:Kp,configureStorage:Bs,configureTTS:Up,configureTrainingCategories:ym,copyText:zl,createDecompCache:Is,createTTSUrlResolver:cm,dateToDb:_m,downloadCsvText:Vh,downloadSound:Tn,ensureTrainingDataLoaded:Ql,escapeCsvField:Hh,fileExists:As,filterContrastCandidates:el,finalToPhoneme:No,firstChoseongOf:Fs,formatCount:tn,formatDateKo:dm,formatDateLocale:pm,formatDateLongKo:um,formatDateLongLocale:hm,formatDatetimeKo:mm,formatPhone:gm,formatRelativeTime:Xn,formatTimeHM:Qn,formatYmd:Jn,getAssetBaseUrl:ws,getDailySelection:Nm,getElementAnalyser:Ms,getElementVolume:Xo,getErrorMessage:Jr,getImageExistenceStats:$n,getImageExistsCached:rh,getImageResolver:io,getNoiseBaseUrl:Ss,getNoiseFileGain:jn,getPairIndex:To,getPlanTier:Zm,getPronunciationResolver:Ds,getSavedFontScale:ql,getSavedTheme:Gl,getSignedOrPublicUrl:Rr,getTTSFallbackUrlResolver:Ns,getTTSUrlResolver:Pr,getTodayKst:ba,getTodayKstDate:lo,getTopicTypes:ei,getTrainingPools:Xl,getTrainingTypes:Wl,getWordPool:$o,hasQuestionWordConstraint:jh,hasSel:jt,hasStructureContrast:Wr,initFontScale:Sm,initTheme:Bm,installSkewRecovery:ob,isAllChoseong:Vs,isManagerTier:Ym,isManualOnlyType:Mh,isNetworkErrorMessage:Tl,isPersonalPhone:xm,isSessionForThisTab:rb,isSyllablePattern:qs,isThisWeekPick:Qm,isTrainingDataLoaded:Dm,isValidPhone:vm,isValidQuestionWord:Lh,itemCorrectness:$l,jamoToNamesForSpeech:zh,kstStartOfDay:Zn,lazyPage:nb,loadGameLeaderboard:nm,loadMyGameRanks:rm,loadNoiseSettings:Pl,loadTrainingData:Jl,logCrossword:Kh,logTrainingCompletion:Ml,logTrainingTime:Ll,matchSyllables:Lo,matchesChoseongSearch:lh,matchesSyllablePattern:Ys,matchesWordQuery:ch,mergeQuestionText:_l,minimalPairDistractors:Pn,normalizeDate:Cm,officialSoundPath:lm,parseLocalYmd:Ol,parseSortValue:Fh,parseSyllable:We,patternToComposition:gh,phonemePartsOf:Rh,pickEuRo:gl,pickEulReul:pl,pickEunNeun:ml,pickIga:dl,pickWaGwa:bl,prefetchChunk:ib,prewarmImageCache:nh,primarySelPart:rr,readLevel:$s,recoverFromSkew:li,reorderArray:fl,reportAppliedNoiseSettings:ir,resolveAssetUrl:$r,resolveSoundPath:Dn,resumeAudioMeter:Ir,routeElementAudio:Zo,sample:ya,saveNoiseSettings:Yn,searchAndRankWords:vh,setAssetBaseUrl:Wp,setCrosswordLogger:Yh,setElementVolume:Ta,setGameLeaderboardLoader:am,setGameRanksLoader:tm,setGameScoreSubmitter:em,setTrainingCompletionLogger:qh,setTrainingTimeLogger:Uh,setWordPool:Gh,shuffle:tt,skewReloadPending:ic,sortToValue:Oh,soundOf:Gn,speak:Fp,stopSpeaking:Hp,submitGameScore:om,syllMatchesComp:Ka,syllableContrasts:Mo,syllableLength:Do,syllablePron:Xr,toBase64UrlSafe:sm,toChoseong:Hs,toItemResults:Rl,toKstHm:bm,toKstYmd:$a,toStandardPronunciation:Eh,toStorageName:Qr,toUserErrorMessage:Ih,toWordEntry:sb,validateSyllableSearchInput:fh,withEuRo:Th,withEulReul:hl,withEunNeun:Nh,withIga:ul,withWaGwa:Dh,wordContainsChoseong:uh,wordContainsJongseong:mh,wordContainsJungseong:ph,wordHasNoCoda:Gs,wordHasSyllableMatching:Us,wrongItems:Zh});function b8(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const t=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(t)}function g8(e){if(typeof window>"u")return"";const t=(a,o)=>{typeof o.attrValue=="string"&&b8(o.attrValue)&&(o.keepAttr=!1)};Cs.addHook("uponSanitizeAttribute",t);try{return Cs.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{Cs.removeHook("uponSanitizeAttribute",t)}}function f8(e){const[t,a]=l.useState(null),[o,n]=l.useState(null),[i,s]=l.useState(null),[c,d]=l.useState(null);return l.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){a(null),n(null),s(null);return}const u=e.split("/").pop();let p=e;u&&(e.startsWith("/")?p=$r(e):/^(Logo|Symbol)/i.test(u)?p=$r(`logo/${u}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),p=e)),n(null),s(null),a(p)},[e]),l.useEffect(()=>{if(!t)return;let u=!1;async function p(){try{let h=await fetch(t);h.ok||(h=await fetch(t));const m=h.headers.get("content-type")||"";if(u)return;if(m.includes("svg")){n("mask");return}if(m.startsWith("image/")){n("img");return}const b=await fetch(t);if(!b.ok)throw new Error("not ok");const x=await b.text();if(u)return;if(/^\s*<svg[\s>]/i.test(x)){const f=g8(x);if(!f){n("none");return}s(f),n("inline");return}n("none")}catch{u||n("none")}}return p(),()=>{u=!0}},[t]),l.useEffect(()=>{let u=!1,p=null;return o==="mask"&&t&&fetch(t).then(h=>{if(!h.ok)throw new Error("fetch failed");return h.blob()}).then(h=>{u||(p=URL.createObjectURL(h),d(p))}).catch(()=>{u||n("img")}),()=>{u=!0,p&&URL.revokeObjectURL(p),d(null)}},[o,t]),{iconToUse:t,mode:o,svgText:i,blobUrl:c}}var v8=".ihabdevteam-core-scope .iconRenderer-icon-mask{background-color:currentColor;display:inline-block;height:20px;height:var(--icon-size,20px);-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:20px;width:var(--icon-size,20px)}";oe(v8);function Je(e){const{icon:t,label:a,className:o,imgClassName:n,maskClassName:i,svgClassName:s,wrapperStyle:c,size:d}=e||{},u=o??"iconRenderer-icon",p=n??"iconRenderer-icon-image",h=i??"iconRenderer-icon-mask",m=s??"iconRenderer-icon-svg",b=typeof t=="string"?t:null,x=o5(b),{iconToUse:f,mode:C,svgText:g,blobUrl:v}=f8(b),y=(w,A={})=>r.jsx("span",{className:u,style:c,...A,children:w}),_=typeof d=="number"?{width:d,height:d,objectFit:"contain"}:null,B=(w,A={})=>r.jsx("img",{src:w,alt:typeof a=="string"?a:typeof a=="number"?String(a):"",className:p,...A,style:_?{...A.style,..._}:A.style});if(!t)return null;if(typeof t!="string")return y(t);if(t==="none")return y(r.jsx("span",{className:m,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(x)try{return y(l.createElement(x,{className:m,size:typeof d=="number"?d:20}),{"aria-hidden":"true"})}catch{}if(f&&f.endsWith(".svg")){if(C==="mask"){const w={"--icon-url":v?`url(${v})`:`url(${f})`,...typeof d=="number"?{"--icon-size":`${d}px`}:null};return y(r.jsx("span",{className:h,style:w}),{"aria-hidden":"true"})}return C==="img"?y(B(f,{onError:w=>{w.currentTarget.onerror=null,w.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):C==="inline"?y(r.jsx("span",{className:m,dangerouslySetInnerHTML:g?{__html:g}:void 0}),{"aria-hidden":"true"}):y(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return B($r(t),{style:c,onError:w=>{w.currentTarget.onerror=null,w.currentTarget.style.display="none"}});const k=typeof d=="number"?d:20,S=`<svg width="${k}" height="${k}" 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 y(r.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:S}}),{"aria-hidden":"true"})}function lb(e){const[t,a]=l.useState(!1),o=l.useRef(!1),n=l.useRef(!0);l.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]);const i=l.useCallback(()=>{if(!e||o.current)return;const s=e();if(s&&typeof s.then=="function"){o.current=!0,a(!0);const c=()=>{o.current=!1,n.current&&a(!1)};s.then(c,c)}},[e]);return{pending:t,press:i}}function cb({icon:e,title:t,message:a,action:o,className:n}){const{pending:i,press:s}=lb(o?.onClick);return r.jsxs("div",{className:Te("empty-state",n),children:[e&&r.jsx(Je,{icon:e,size:48,className:"empty-state__icon"}),t&&r.jsx("p",{className:"empty-state__title h4",children:t}),a&&r.jsx("p",{className:"empty-state__message body-3",children:a}),o&&r.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:s,disabled:i,"aria-busy":i||void 0,children:[o.icon&&r.jsx(Je,{icon:o.icon,className:"button__icon"}),r.jsx("span",{className:"button__label button-1",children:o.label})]})]})}var x8=".ihabdevteam-core-scope .error-state__icon{color:var(--color-error)}.ihabdevteam-core-scope .error-state__hint{color:var(--color-lightGray);margin:0}";oe(x8);function db({message:e,hint:t,icon:a="triangle-alert",onRetry:o,retryLabel:n,className:i}){const{t:s}=Ce.useTranslation(),{pending:c,press:d}=lb(o);return r.jsxs("div",{className:Te("empty-state","error-state",i),role:"alert",children:[r.jsx(Je,{icon:a,size:48,className:"empty-state__icon error-state__icon"}),r.jsx("p",{className:"empty-state__message body-3",children:e??s("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),t&&r.jsx("p",{className:"error-state__hint caption-1",children:t}),o&&r.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:d,disabled:c,"aria-busy":c||void 0,children:[r.jsx(Je,{icon:"rotate-cw",className:"button__icon"}),r.jsx("span",{className:"button__label button-1",children:n??s("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}var C8=".ihabdevteam-core-scope .action-card{--ac-color:var(--color-main);--ac-color-a10:var(--color-main-a10);aspect-ratio:1/1;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-l);box-shadow:var(--shadow-card);cursor:pointer;display:block;overflow:hidden;transition:transform .2s ease-out,box-shadow .2s ease-out,border-color .2s ease-out;width:100%}.ihabdevteam-core-scope .action-card--sub{--ac-color:var(--color-sub);--ac-color-a10:var(--color-sub-a10)}.ihabdevteam-core-scope .action-card:focus-visible{outline:none}.ihabdevteam-core-scope .action-card:not(.action-card--disabled):focus-visible,.ihabdevteam-core-scope .action-card:not(.action-card--disabled):hover{border-color:var(--ac-color);box-shadow:var(--shadow-panel);transform:translateY(-4px)}.ihabdevteam-core-scope .action-card--disabled{cursor:wait;opacity:.6}.ihabdevteam-core-scope .action-card__body{display:flex;flex-direction:column;gap:var(--spacing-m);height:100%;padding:var(--spacing-l)}.ihabdevteam-core-scope .action-card__chip{align-items:center;background:var(--ac-color-a10);border-radius:var(--radius-m);color:var(--ac-color);display:flex;height:64px;justify-content:center;width:64px}.ihabdevteam-core-scope .action-card__text{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .action-card__title{color:var(--color-text-primary);font-size:var(--text-h2-size);font-weight:var(--text-h2-weight-bold);letter-spacing:var(--text-h2-spacing);line-height:var(--text-h2-line);margin:0}.ihabdevteam-core-scope .action-card__desc{color:var(--color-lightGray);font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight);line-height:var(--text-body-2-line);margin:0}.ihabdevteam-core-scope .action-card__cta{align-items:center;color:var(--ac-color);display:flex;font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight-bold);gap:var(--spacing-xs);justify-content:flex-end;line-height:var(--text-body-2-line);margin-top:auto;padding-right:var(--spacing-s);padding-top:var(--spacing-s)}.ihabdevteam-core-scope .action-card__arrow{display:flex;transition:transform .2s}.ihabdevteam-core-scope .action-card:not(.action-card--disabled):hover .action-card__arrow{transform:translateX(4px)}";oe(C8);function ub({icon:e,title:t,description:a,cta:o,tone:n="main",disabled:i=!1,onClick:s,className:c=""}){const d=l.useId(),u=`${d}-title`,p=`${d}-desc`,h=`${d}-cta`,m=()=>{i||s?.()};return r.jsx("section",{role:"button",tabIndex:i?-1:0,"aria-disabled":i||void 0,"aria-labelledby":u,"aria-describedby":`${p} ${h}`,onClick:m,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),m())},className:Te("action-card",`action-card--${n}`,i&&"action-card--disabled",c),children:r.jsxs("div",{className:"action-card__body",children:[r.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:r.jsx(Je,{icon:e,size:34})}),r.jsxs("div",{className:"action-card__text",children:[r.jsx("h2",{id:u,className:"action-card__title",children:t}),r.jsx("p",{id:p,className:"action-card__desc",children:a})]}),r.jsxs("div",{className:"action-card__cta",children:[r.jsx("span",{id:h,children:o}),r.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:r.jsx(Je,{icon:"arrow-right",size:18})})]})]})})}function pb({as:e="div",className:t="",children:a,storage:o,...n}){o&&Bs({resolveUrl:o.resolveUrl,download:o.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:o.exists,resolvePath:o.resolvePath,noiseBaseUrl:o.noiseBaseUrl,noiseFileGain:o.noiseFileGain});const i=Te("ihabdevteam-core-scope",t);return r.jsx(e,{className:i,...n,children:a})}function sc(e,t=!0){l.useEffect(()=>{if(!t)return;const a=e.current;if(!a)return;const o=n=>{if(n.key!=="Tab")return;const i=Array.from(a.querySelectorAll(Xa)).filter(p=>!p.closest('[aria-hidden="true"]'));if(!i.length){n.preventDefault();return}const s=i[0],c=i[i.length-1],d=document.activeElement,u=d===a;n.shiftKey&&(d===s||u)?(n.preventDefault(),c.focus()):!n.shiftKey&&d===c&&(n.preventDefault(),s.focus())};return a.addEventListener("keydown",o),()=>a.removeEventListener("keydown",o)},[e,t])}const Xa='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',lc=new WeakMap;function cc(e,t){e&&lc.set(e,t)}function dc(e){let t=e;for(let a=0;t&&!t.isConnected&&a<10;a++){let o=t;for(;o&&!lc.has(o);)o=o.parentElement;if(!o)return t;t=lc.get(o)??null}return t}function hb(e){return!(!e||!e.isConnected||e===document.body||typeof e.focus!="function"||e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e.closest('[inert],[aria-hidden="true"],[hidden]'))}function ci(e,t,a){const o=e?.isConnected?e:a?.isConnected?a:null;if(hb(t)&&!(e&&e.contains(t)))return t.focus(),t;if(!o)return null;const n=Array.from(document.querySelectorAll(Xa)).filter(d=>!(e&&e.contains(d))&&hb(d));let i=null,s=null;for(const d of n)o.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_PRECEDING?i=d:s||(s=d);const c=i??s;return c?.focus(),c}var _8=".ihabdevteam-core-scope .notice-box{background:var(--color-darkWhite);border-radius:var(--radius-m);color:var(--color-gray);margin:0 auto var(--spacing-page);padding:var(--spacing-l);position:relative;text-align:left}.ihabdevteam-core-scope .notice-box ul{margin:0;padding:0 0 0 18px}.ihabdevteam-core-scope .notice-box__inner{border-radius:var(--radius-s);padding:12px 14px;text-align:left}.ihabdevteam-core-scope .notice-box__title{color:var(--color-darkGray);margin:0 0 10px}.ihabdevteam-core-scope .notice-box__body,.ihabdevteam-core-scope .notice-box__line{color:var(--color-deepGray)}.ihabdevteam-core-scope .notice-box--default{border-color:var(--color-whiteLine)}.ihabdevteam-core-scope .notice-box--dashed{background:var(--color-deepWhite);border:1px dashed var(--color-whiteLine)}.ihabdevteam-core-scope .notice-box--important{border:1px solid var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .notice-box__dismiss{background:none;border:none;border-radius:var(--radius-xs);color:var(--color-lightGray);cursor:pointer;font-size:18px;line-height:1;padding:2px 6px;position:absolute;right:10px;top:8px;transition:color .12s}.ihabdevteam-core-scope .notice-box__dismiss:hover{color:var(--color-gray)}@media (max-width:767px){.ihabdevteam-core-scope .notice-box,.ihabdevteam-core-scope .notice-box__inner{padding:var(--spacing-s)}}";oe(_8);function mb({title:e="",lines:t=[],notices:a=null,children:o,variant:n="default",dismissible:i=!1,className:s=""}){const{t:c}=Ce.useTranslation(),[d,u]=l.useState(!1),p=l.useRef(null),h=l.useCallback(()=>{const f=p.current;f&&f.contains(document.activeElement)&&ci(f),u(!0)},[]);if(d)return null;const m=`notice-box notice-box--${n} body-2 ${s}`.trim(),b=i&&r.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:h,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"});if(a&&Array.isArray(a)&&a.length)return r.jsxs("div",{className:m,role:"note",children:[a.map((f,C)=>r.jsxs("div",{className:"notice-box__inner",children:[f.title?r.jsx("span",{className:"notice-box__title body-3",children:f.title}):null,r.jsx("div",{className:"notice-box__body",children:f.lines&&f.lines.length?r.jsx("div",{children:f.lines.map((g,v)=>r.jsx("span",{className:"notice-box__line body-3",children:g},v))}):f.children??null})]},C)),b]});const x=e||t.length?r.jsxs("div",{className:"notice-box__inner",children:[e?r.jsx("span",{className:"notice-box__title body-1",children:e}):null,r.jsx("div",{className:"notice-box__body",children:t.length?r.jsx("ul",{children:t.map((f,C)=>r.jsx("li",{className:"notice-box__line",children:f},C))}):o})]}):r.jsx("div",{className:"notice-box__inner",children:o});return r.jsxs("div",{ref:p,className:m,role:"note",children:[x,b]})}var y8=".ihabdevteam-core-scope .button{align-items:center;background:var(--color-white);border:0;border:var(--button-border,0);box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);padding:0 12px;transition:background-color .14s ease,color .14s ease,transform .1s ease,box-shadow .14s ease}.ihabdevteam-core-scope .button__icon,.ihabdevteam-core-scope .button__left,.ihabdevteam-core-scope .button__right{align-items:center;color:inherit;display:inline-flex;justify-content:center}.ihabdevteam-core-scope .button--align-center .button__label,.ihabdevteam-core-scope .button--align-right .button__label{flex:1 1 auto;text-align:center}.ihabdevteam-core-scope .button__icon{height:24px;width:24px}.ihabdevteam-core-scope .button__icon--small{height:16px;width:16px}.ihabdevteam-core-scope .button__icon--medium{height:24px;width:24px}.ihabdevteam-core-scope .button__icon--large{height:36px;width:36px}.ihabdevteam-core-scope .button__center-group{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .button__center-group .button__label{display:inline-block;flex:0 1 auto;text-align:center}.ihabdevteam-core-scope .button__label{display:block;white-space:normal}.ihabdevteam-core-scope .button__label-text{align-items:center;display:inline-flex;justify-content:center;max-width:100%;vertical-align:middle;white-space:normal;word-break:break-word}.ihabdevteam-core-scope .button__label-text--has-sub{flex-direction:column;gap:3px}.ihabdevteam-core-scope .button--nowrap .button__label-text{white-space:nowrap}.ihabdevteam-core-scope .button--align-left .button__label-text--has-sub{align-items:flex-start;text-align:left}.ihabdevteam-core-scope .button__count{color:var(--color-main);font-weight:700;margin-left:4px}.ihabdevteam-core-scope .button--variant-main .button__count,.ihabdevteam-core-scope .is-selected .button__count,.ihabdevteam-core-scope [aria-pressed=true] .button__count{color:#fff}.ihabdevteam-core-scope .button__label:has(>.button__label-text+.button__label-text){gap:5px}.ihabdevteam-core-scope .button__sub-label-text{color:var(--button-subLabel-color,var(--color-gray));display:block}.ihabdevteam-core-scope .button__icon-img{display:block;height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.ihabdevteam-core-scope .button__icon-mask{background-color:currentColor;display:block;height:100%;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:100%}.ihabdevteam-core-scope .button__icon-svg{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.ihabdevteam-core-scope .button__icon-svg svg{display:block;height:100%;width:100%}.ihabdevteam-core-scope .button__icon-svg svg,.ihabdevteam-core-scope .button__icon-svg svg *{fill:currentColor;stroke:currentColor}.ihabdevteam-core-scope .button .button__label{color:currentColor;color:var(--button-text-color,currentColor);min-height:20px;min-width:20px}.ihabdevteam-core-scope .button .button__icon,.ihabdevteam-core-scope .button .button__left,.ihabdevteam-core-scope .button .button__right{color:currentColor;color:var(--button-icon-color,currentColor)}.ihabdevteam-core-scope .button--align-left{justify-content:flex-start}.ihabdevteam-core-scope .button--align-center{justify-content:center}.ihabdevteam-core-scope .button--align-right{justify-content:flex-end}.ihabdevteam-core-scope .button--align-left .button__label{align-items:center;display:inline-flex;flex:1 1 auto}.ihabdevteam-core-scope .button--align-left .button__label-text{justify-content:flex-start;text-align:left}.ihabdevteam-core-scope .button--align-center .button__label{align-items:center;display:flex;flex:1 1 auto;justify-content:center;text-align:center}.ihabdevteam-core-scope .button--align-right .button__label{flex:1 1 auto;text-align:right}.ihabdevteam-core-scope .button--align-grid{justify-content:center}.ihabdevteam-core-scope .button--align-grid .button__label{display:grid;flex:1 1 auto;grid-auto-columns:1fr;grid-auto-flow:column;text-align:center}.ihabdevteam-core-scope .button.button--no-bg{background:transparent;border-color:transparent}.ihabdevteam-core-scope .button--variant-danger{--button-text-color:var(--color-error);--button-icon-color:var(--color-error);--button-subLabel-color:var(--color-error);background:var(--color-deepWhite);border:var(--button-border,1px solid var(--color-error))}.ihabdevteam-core-scope .button--variant-danger:focus-visible,.ihabdevteam-core-scope .button--variant-danger:hover{--button-text-color:var(--color-error);--button-icon-color:var(--color-error);--button-subLabel-color:var(--color-error);background:var(--color-error-a10);border-color:var(--color-error)}.ihabdevteam-core-scope .button--variant-danger.is-selected,.ihabdevteam-core-scope .button--variant-danger[aria-pressed=true]{--button-text-color:#fff;--button-icon-color:#fff;--button-subLabel-color:#fff;background:var(--color-error);border-color:var(--color-error)}.ihabdevteam-core-scope .button--variant-default{--button-text-color:var(--color-darkGray);--button-icon-color:var(--color-lightGray);--button-subLabel-color:var(--color-gray);background:var(--color-deepWhite);border:var(--button-border,1px solid var(--color-whiteLine))}.ihabdevteam-core-scope .button--variant-default:focus-visible,.ihabdevteam-core-scope .button--variant-default:hover{--button-text-color:var(--color-black);--button-icon-color:var(--color-main);--button-subLabel-color:var(--color-black);background:var(--color-white);border-color:var(--color-main)}.ihabdevteam-core-scope .button--variant-default.is-selected,.ihabdevteam-core-scope .button--variant-default[aria-pressed=true]{--button-text-color:#fff;--button-icon-color:#fff;--button-subLabel-color:#fff;background:var(--color-main);border-color:var(--color-main)}.ihabdevteam-core-scope .button--variant-main{--button-subLabel-color:var(--color-white-a80);background:var(--color-main);border:var(--button-border,1px solid var(--color-main));color:#fff}.ihabdevteam-core-scope .button--variant-main:focus-visible,.ihabdevteam-core-scope .button--variant-main:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-sub);border-color:var(--color-sub);color:#fff}.ihabdevteam-core-scope .button--variant-main.is-selected,.ihabdevteam-core-scope .button--variant-main[aria-pressed=true]{--button-subLabel-color:var(--color-white-a80);background:var(--color-sub);color:#fff}.ihabdevteam-core-scope .button--variant-sub{--button-subLabel-color:var(--color-white-a80);background:var(--color-primary,var(--color-sub));color:#fff}.ihabdevteam-core-scope .button--variant-sub:focus-visible,.ihabdevteam-core-scope .button--variant-sub:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-uiAccent);color:#fff}.ihabdevteam-core-scope .button--variant-transparent-white{--button-subLabel-color:var(--color-white-a60);background:transparent;border:var(--button-border,1px solid var(--color-white-a80));color:#fbfdff}.ihabdevteam-core-scope .button--variant-transparent-white:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-white:hover{--button-subLabel-color:var(--color-white-a80);background:var(--color-white-a10);color:#fff}.ihabdevteam-core-scope .button--variant-transparent-white.is-selected,.ihabdevteam-core-scope .button--variant-transparent-white[aria-pressed=true]{--button-subLabel-color:var(--color-lightGray);background:var(--color-white);color:var(--color-main)}.ihabdevteam-core-scope .button--variant-transparent-gray{--button-subLabel-color:var(--color-gray-a60);background:transparent;border:var(--button-border,1px solid var(--color-gray-a80));color:var(--color-gray-a80)}.ihabdevteam-core-scope .button--variant-transparent-gray:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-gray:hover{--button-subLabel-color:var(--color-gray-a60);background:var(--color-gray-a10);color:var(--color-gray)}.ihabdevteam-core-scope .button--variant-transparent-lightGray{--button-subLabel-color:var(--color-gray-a60);background:transparent;border:var(--button-border,1px solid var(--color-lightGray-a80));color:var(--color-gray)}.ihabdevteam-core-scope .button--variant-transparent-lightGray:focus-visible,.ihabdevteam-core-scope .button--variant-transparent-lightGray:hover{--button-subLabel-color:var(--color-gray-a60);background:var(--color-lightGray-a10);color:var(--color-deepGray)}.ihabdevteam-core-scope .button--variant-disabled{--button-subLabel-color:var(--color-disabled);background-color:transparent;border:var(--button-border,1px solid var(--color-whiteLine));color:var(--color-disabled)}.ihabdevteam-core-scope .button--variant-disabled .button__icon,.ihabdevteam-core-scope .button--variant-disabled .button__left,.ihabdevteam-core-scope .button--variant-disabled .button__right{color:var(--color-disabled)}.ihabdevteam-core-scope .button--variant-disabled-covered{background-color:var(--color-darkWhite);border:var(--button-border,1px solid var(--color-darkWhite));border-color:var(--color-whiteLine);color:transparent}.ihabdevteam-core-scope .button--variant-disabled-covered .button__icon,.ihabdevteam-core-scope .button--variant-disabled-covered .button__left,.ihabdevteam-core-scope .button--variant-disabled-covered .button__right{color:transparent}.ihabdevteam-core-scope .button--variant-disabled-faded,.ihabdevteam-core-scope .button--variant-disabled-invisibled{background:transparent}.ihabdevteam-core-scope .button--variant-disabled-faded .button__icon,.ihabdevteam-core-scope .button--variant-disabled-faded .button__left,.ihabdevteam-core-scope .button--variant-disabled-faded .button__right,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__icon,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__label,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__left,.ihabdevteam-core-scope .button--variant-disabled-invisibled .button__right{color:transparent}.ihabdevteam-core-scope .button.button--tooltip-only,.ihabdevteam-core-scope .button:disabled,.ihabdevteam-core-scope .button[disabled]{cursor:default}.ihabdevteam-core-scope .button--shape-rounded{border-radius:8px!important;border-radius:var(--button-rounded-radius,8px)!important}.ihabdevteam-core-scope .button--shape-pill{border-radius:9999px!important}.ihabdevteam-core-scope .button72{--button-rounded-radius:18px;border-radius:36px;height:72px;justify-content:center}.ihabdevteam-core-scope .button72--bar{min-width:220px}.ihabdevteam-core-scope .button72--dot{padding:0;width:72px}.ihabdevteam-core-scope .button56{--button-rounded-radius:14px;border-radius:28px;height:56px;justify-content:center}.ihabdevteam-core-scope .button56--bar{min-width:190px}.ihabdevteam-core-scope .button56--dot{padding:0;width:56px}.ihabdevteam-core-scope .button52{--button-rounded-radius:13px;border-radius:26px;height:52px;justify-content:center}.ihabdevteam-core-scope .button52--bar{min-width:175px}.ihabdevteam-core-scope .button52--dot{padding:0;width:52px}.ihabdevteam-core-scope .button48{--button-rounded-radius:12px;border-radius:24px;height:48px;justify-content:center}.ihabdevteam-core-scope .button48--bar{min-width:160px}.ihabdevteam-core-scope .button48--dot{padding:0;width:48px}.ihabdevteam-core-scope .button40{--button-rounded-radius:10px;border-radius:20px;height:40px;justify-content:center}.ihabdevteam-core-scope .button40--bar{min-width:100px}.ihabdevteam-core-scope .button40--dot{padding:0;width:40px}.ihabdevteam-core-scope .button40 .button__icon,.ihabdevteam-core-scope .button40--bar .button__icon,.ihabdevteam-core-scope .button40--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button32{--button-rounded-radius:8px;border-radius:16px;height:32px;justify-content:center}.ihabdevteam-core-scope .button32--bar{min-width:72px}.ihabdevteam-core-scope .button32--dot{padding:0;width:32px}.ihabdevteam-core-scope .button32 .button__icon,.ihabdevteam-core-scope .button32--bar .button__icon,.ihabdevteam-core-scope .button32--dot .button__icon{height:18px;width:18px}.ihabdevteam-core-scope .button28{--button-rounded-radius:7px;border-radius:14px;height:28px;justify-content:center}.ihabdevteam-core-scope .button28--bar{min-width:60px}.ihabdevteam-core-scope .button28--dot{padding:0;width:28px}.ihabdevteam-core-scope .button28 .button__icon,.ihabdevteam-core-scope .button28--bar .button__icon,.ihabdevteam-core-scope .button28--dot .button__icon{height:16px;width:16px}.ihabdevteam-core-scope .button24{--button-rounded-radius:6px;border-radius:12px;height:24px;justify-content:center}.ihabdevteam-core-scope .button24--bar{min-width:48px}.ihabdevteam-core-scope .button24--dot{padding:0;width:24px}.ihabdevteam-core-scope .button24 .button__icon,.ihabdevteam-core-scope .button24--bar .button__icon,.ihabdevteam-core-scope .button24--dot .button__icon{height:14px;width:14px}.ihabdevteam-core-scope .button-keyboard{border-radius:12px;height:32px;justify-content:center}.ihabdevteam-core-scope .button-keyboard--bar{min-width:32px;padding:0 12px}.ihabdevteam-core-scope .button-keyboard--dot{padding:0;width:32px}.ihabdevteam-core-scope .button-word{border-radius:12px;height:72px;justify-content:center;padding:0 16px}.ihabdevteam-core-scope .button-word--bar{min-width:120px}.ihabdevteam-core-scope .button-word--dot{padding:0;width:72px}@media (max-width:1024px){.ihabdevteam-core-scope .button56{--button-rounded-radius:13px;border-radius:25px;height:50px}.ihabdevteam-core-scope .button56--bar{min-width:170px}.ihabdevteam-core-scope .button56--dot{width:50px}.ihabdevteam-core-scope .button48{--button-rounded-radius:11px;border-radius:22px;height:44px}.ihabdevteam-core-scope .button48--bar{min-width:140px}.ihabdevteam-core-scope .button48--dot{width:44px}.ihabdevteam-core-scope .button40{--button-rounded-radius:9px;border-radius:18px;height:36px}.ihabdevteam-core-scope .button40--bar{min-width:88px}.ihabdevteam-core-scope .button40--dot{width:36px}.ihabdevteam-core-scope .button32{--button-rounded-radius:8px;border-radius:15px;height:30px}.ihabdevteam-core-scope .button32--bar{min-width:64px}.ihabdevteam-core-scope .button32--dot{width:30px}.ihabdevteam-core-scope .button24--bar{min-width:44px}}@media (max-width:768px){.ihabdevteam-core-scope .button56{--button-rounded-radius:12px;border-radius:23px;height:46px}.ihabdevteam-core-scope .button56--bar{min-width:150px}.ihabdevteam-core-scope .button56--dot{width:46px}.ihabdevteam-core-scope .button56 .button__icon,.ihabdevteam-core-scope .button56--bar .button__icon,.ihabdevteam-core-scope .button56--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button48{--button-rounded-radius:10px;border-radius:20px;height:40px}.ihabdevteam-core-scope .button48--bar{min-width:120px}.ihabdevteam-core-scope .button48--dot{width:40px}.ihabdevteam-core-scope .button48 .button__icon,.ihabdevteam-core-scope .button48--bar .button__icon,.ihabdevteam-core-scope .button48--dot .button__icon{height:20px;width:20px}.ihabdevteam-core-scope .button40{--button-rounded-radius:8px;border-radius:17px;height:34px}.ihabdevteam-core-scope .button40--bar{min-width:80px}.ihabdevteam-core-scope .button40--dot{width:34px}.ihabdevteam-core-scope .button32{--button-rounded-radius:7px;border-radius:14px;height:28px}.ihabdevteam-core-scope .button32--bar{min-width:60px}.ihabdevteam-core-scope .button32--dot{width:28px}.ihabdevteam-core-scope .button24--bar{min-width:40px}}";oe(y8);var w8=".ihabdevteam-core-scope .tooltip-content{animation:tooltip-pop .2s cubic-bezier(.2,.9,.2,1) both;background-color:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);box-sizing:border-box;pointer-events:auto;position:absolute;transform-origin:left center;white-space:normal;will-change:transform,opacity;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-content--inline{position:static}.ihabdevteam-core-scope .tooltip-content--bordered{border:1px solid var(--color-whiteLine)}.ihabdevteam-core-scope .tooltip-content.tooltip-description,.ihabdevteam-core-scope .tooltip-content.tooltip-info,.ihabdevteam-core-scope .tooltip-content.tooltip-training{background:transparent;box-shadow:none}.ihabdevteam-core-scope .tooltip-content__header{align-items:center;color:var(--color-gray);display:flex;height:40px;padding:0 2px 10px}.ihabdevteam-core-scope .tooltip-content.is-closing{animation:tooltip-fade-out .2s ease both;opacity:0}.ihabdevteam-core-scope .tooltip-content[data-placement=top]{transform:translateY(-6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=bottom]{transform:translateY(6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=left]{transform:translateX(-6px)}.ihabdevteam-core-scope .tooltip-content[data-placement=right]{transform:translateX(6px)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=top]{transform:translateY(-6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=bottom]{transform:translateY(6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=left]{transform:translateX(-6px) scale(.98)}.ihabdevteam-core-scope .tooltip-content.is-closing[data-placement=right]{transform:translateX(6px) scale(.98)}@keyframes tooltip-pop{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes tooltip-fade-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-6px) scale(.98)}}.ihabdevteam-core-scope .tooltip-backdrop{background:var(--color-popupBlock);inset:0;position:fixed;z-index:calc(var(--z-tooltip) - 1)}.ihabdevteam-core-scope .tooltip-portal{inset:0;position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-content.is-mobile{left:50%!important;max-width:calc(100% - 40px)!important;top:50%!important;transform:translate(-50%,-50%)!important;visibility:visible!important;width:calc(100% - 40px)!important;z-index:var(--z-tooltip)!important}";oe(w8);const dr=[];let di=!1;function bb(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=dr[dr.length-1];t&&(e.stopPropagation(),t())}function Ro(e){return dr.push(e),!di&&typeof document<"u"&&(document.addEventListener("keydown",bb),di=!0),()=>{const t=dr.lastIndexOf(e);t>=0&&dr.splice(t,1),dr.length===0&&di&&typeof document<"u"&&(document.removeEventListener("keydown",bb),di=!1)}}const ui=l.createContext(null);function k8(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const gb=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function B8(e){const t=l.useCallback(a=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const o=window.matchMedia(e);return o.addEventListener?o.addEventListener("change",a):o.addListener&&o.addListener(a),()=>{o.removeEventListener?o.removeEventListener("change",a):o.removeListener&&o.removeListener(a)}},[e]);return Zu.useSyncExternalStore(t,()=>gb(e),()=>!1)}function A8(e){const[t,a]=l.useState(gb(e));return l.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const o=window.matchMedia(e),n=s=>a(s.matches),i=o;return i.addEventListener?i.addEventListener("change",n):i.addListener&&i.addListener(n),a(o.matches),()=>{i.removeEventListener?i.removeEventListener("change",n):i.removeListener&&i.removeListener(n)}},[e]),t}const S8=typeof Zu.useSyncExternalStore=="function"?B8:A8;function na(e){const t=l.useContext(ui),a=S8(e);return t&&typeof t.mobile=="boolean"&&k8(e)?t.mobile:a}const E8="(prefers-reduced-motion: reduce)";function uc(){return na(E8)}function ga(e){const{anchorRect:t,anchorEl:a,offset:o=20,edgeMargin:n=20,onClose:i,closeOnOutsideClick:s=!0,className:c="",role:d="dialog",ariaLabel:u="",children:p,backdrop:h=!1,isMobilePopup:m=!1,useBorder:b=!0,header:x}=e||{},f=l.useRef(null),[C,g]=l.useState({position:"fixed",left:0,top:-9999}),[v,y]=l.useState(!1),[_,B]=l.useState("bottom"),[k,S]=l.useState(!1),[w,A]=l.useState(!1),E=!t&&!a,L=l.useCallback((Z=!1)=>{if(w&&m)return;const H=a?a.getBoundingClientRect():t;if(!H||!f.current)return;const V=f.current,{offsetWidth:q,offsetHeight:$}=V,N=window.innerWidth,F=window.innerHeight,R=N-H.right,W=H.left,P=H.top,Q=F-H.bottom;let ee=0,Y=0,ne="top";if(P>=$+o)ne="top",Y=H.top-o-$,ee=H.left+H.width/2-q/2;else if(Q>=$+o)ne="bottom",Y=H.bottom+o,ee=H.left+H.width/2-q/2;else if(R>=q+o)ne="right",ee=H.right+o,Y=H.top+H.height/2-$/2;else if(W>=q+o)ne="left",ee=H.left-o-q,Y=H.top+H.height/2-$/2;else{const U=Math.max(P,Q,R,W);U===P?(ne="top",Y=H.top-o-$,ee=H.left+H.width/2-q/2):U===Q?(ne="bottom",Y=H.bottom+o,ee=H.left+H.width/2-q/2):U===R?(ne="right",ee=H.right+o,Y=H.top+H.height/2-$/2):(ne="left",ee=H.left-o-q,Y=H.top+H.height/2-$/2)}const ie=Number.isFinite(Number(n))?Number(n):8;ee=Math.min(Math.max(ee,ie),N-q-ie),Y=Math.min(Math.max(Y,ie),F-$-ie);const se=Math.round(ee),ce=Math.round(Y);Z&&f.current?(f.current.style.left=`${se}px`,f.current.style.top=`${ce}px`,f.current.dataset.placement=ne):(B(ne||_),g({position:"fixed",left:se,top:ce}),S(!0))},[w,m,a,t,o,n,_]);l.useLayoutEffect(()=>{if(E)return;if(w&&m){g({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),S(!0);return}L();const Z=requestAnimationFrame(()=>L());return()=>cancelAnimationFrame(Z)},[t,a,o,p,n,E,w,m,L]),l.useEffect(()=>{if(E||w&&m||!f.current||typeof ResizeObserver>"u")return;const Z=new ResizeObserver(()=>{t&&L()});return Z.observe(f.current),()=>Z.disconnect()},[t,p,n,E,w,m,L]),l.useEffect(()=>{if(E||w&&m)return;const Z=()=>L(!0),H=V=>{if(!a&&i){const q=V.target;if(q&&f.current&&f.current.contains(q))return;try{if(q&&q.closest&&q.closest("[data-tooltip-ignore]"))return}catch{}T.current(!0);return}Z()};return window.addEventListener("resize",Z),document.addEventListener("scroll",H,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",Z),document.removeEventListener("scroll",H,{capture:!0})}},[t,a,i,o,p,n,E,w,m,L]),l.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const Z=window.matchMedia("(max-width: 768px)"),H=()=>A(!!Z.matches);H();try{Z.addEventListener?Z.addEventListener("change",H):Z.addListener(H)}catch{try{Z.addListener(H)}catch{}}return()=>{try{Z.removeEventListener?Z.removeEventListener("change",H):Z.removeListener(H)}catch{}}},[]);const z=l.useRef(!1),j=l.useRef(null),I=uc(),D=l.useCallback((Z=!1)=>{if(i&&!(v||z.current)){if(z.current=!0,Z){y(!0);try{i&&i()}catch{z.current=!1,y(!1)}return}y(!0),j.current=setTimeout(()=>{j.current=null;try{i&&i()}catch{z.current=!1,y(!1)}},I?0:200)}},[v,i,y,I]);l.useEffect(()=>()=>{j.current&&clearTimeout(j.current)},[]),l.useEffect(()=>{if(E)return;const Z=q=>{const $=f.current;if(!$)return;const N=q.target;if(N&&!$.contains(N)){try{if(N.closest&&N.closest("[data-tooltip-ignore]"))return}catch{}s&&D(!0)}},H=q=>{const $=f.current;if(!$)return;const N=q.target;if(N&&!$.contains(N)){try{if(N.closest&&N.closest("[data-tooltip-ignore]"))return}catch{}s&&D(!0)}},V=q=>{if(q.key==="Tab"){const $=f.current;if(!$)return;const N=$.querySelectorAll(Xa);if(!N||N.length===0)return;const F=N[0],R=N[N.length-1],W=document.activeElement;q.shiftKey?W===F&&(q.preventDefault(),R.focus()):W===R&&(q.preventDefault(),F.focus())}};return document.addEventListener("pointerdown",Z,!0),document.addEventListener("click",H,!0),document.addEventListener("keydown",V),()=>{document.removeEventListener("pointerdown",Z,!0),document.removeEventListener("click",H,!0),document.removeEventListener("keydown",V)}},[i,s,D,E]);const T=l.useRef(D);l.useEffect(()=>{T.current=D});const O=!!i;l.useEffect(()=>{if(!(E||!O))return Ro(()=>T.current())},[E,O]),l.useEffect(()=>{const Z=()=>{D(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",Z),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",Z)}},[D]);const G=r.jsxs("div",{ref:f,className:`tooltip-content ${E?"tooltip-content--inline":""} ${b?"tooltip-content--bordered":""} ${v?"is-closing":""} ${c} ${w&&m?"is-mobile":""}`,role:d,"aria-label":u||void 0,style:E?{}:{...C,visibility:k?"visible":"hidden"},tabIndex:-1,"data-placement":_,"data-left":E?"":C.left,"data-top":E?"":C.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:[x!=null&&r.jsx("div",{className:"tooltip-content__header h5",children:x}),p]});if(E||typeof document>"u")return G;if(h||w&&m){const Z=r.jsxs("div",{className:"tooltip-portal",children:[r.jsx("div",{className:"tooltip-backdrop",onClick:()=>{s&&D(!0)}}),G]});return ca.createPortal(Z,document.body)}return ca.createPortal(G,document.body)}var N8='.ihabdevteam-core-scope .tooltip-info__content{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-main);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);color:var(--color-black);display:inline-flex;justify-content:center;line-height:1;overflow:hidden;padding:4px 12px;position:relative;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .tooltip-content.tooltip-info{pointer-events:none}.ihabdevteam-core-scope .tooltip-content.tooltip-info .tooltip-info__content{box-shadow:var(--shadow-tooltip)}.ihabdevteam-core-scope .tooltip-info[data-placement=bottom] .tooltip-info__content:after,.ihabdevteam-core-scope .tooltip-info[data-placement=top] .tooltip-info__content:after{content:"";height:0;margin:0;padding:0;position:absolute;width:0}';oe(N8);function ka(e){const{anchorRect:t,text:a,offset:o=8,onClose:n,className:i="",ariaLabel:s}=e||{};return a?r.jsx(ga,{anchorRect:t,offset:o,onClose:n,closeOnOutsideClick:!1,className:`tooltip-info ${i}`,ariaLabel:s||a,children:r.jsx("div",{className:"tooltip-info__content body-3",children:a})}):null}var D8=".ihabdevteam-core-scope .tooltip-description__box{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);display:flex;flex-direction:column;gap:10px;max-width:640px;padding:16px 20px}.ihabdevteam-core-scope .tooltip-description__title{color:var(--color-black);margin:0}.ihabdevteam-core-scope .tooltip-description__items{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .tooltip-description__item{align-items:flex-start;color:var(--color-darkGray);display:flex;gap:var(--spacing-xs);margin:0}.ihabdevteam-core-scope .tooltip-description__index{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .tooltip-description__dot{border-radius:50%;flex-shrink:0;height:8px;margin-top:6px;width:8px}.ihabdevteam-core-scope .tooltip-description__item--active{color:var(--color-main);font-weight:600}.ihabdevteam-core-scope .tooltip-description__item--active .tooltip-description__index{color:var(--color-main)}";oe(D8);function go(e){const{t}=Ce.useTranslation(),{anchorRect:a,title:o,items:n,activeIndex:i=-1,showIndex:s=!0,onClose:c,offset:d=12,closeOnOutsideClick:u=!0}=e||{},p=(Array.isArray(n)?n:n?[n]:[]).map(h=>typeof h=="string"?{text:h}:h);return!p.length&&!o?null:r.jsx(ga,{anchorRect:a,offset:d,onClose:c,closeOnOutsideClick:u,useBorder:!1,className:"tooltip-description",ariaLabel:o||t("tooltip.description","\uC124\uBA85"),children:r.jsxs("div",{className:"tooltip-description__box",children:[o&&r.jsx("span",{className:"tooltip-description__title body-2",children:o}),r.jsx("ol",{className:"tooltip-description__items",children:p.map((h,m)=>r.jsxs("li",{className:`tooltip-description__item body-3${m===i?" tooltip-description__item--active":""}`,children:[s&&p.length>1&&r.jsxs("span",{className:"tooltip-description__index button-1",children:[m+1,"."]}),h.color&&r.jsx("span",{className:"tooltip-description__dot",style:{background:h.color},"aria-hidden":"true"}),r.jsx("span",{children:h.text})]},m))})]})})}function sn(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),t}let pc=0,fb=!1;function vb(){fb||typeof document>"u"||(fb=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(pc=Date.now())},!0),document.addEventListener("touchstart",()=>{pc=Date.now()},{capture:!0,passive:!0}))}vb();function ur(e){return!!e&&e.pointerType==="touch"}function pr(e=1e3){return vb(),Date.now()-pc<e}function hc(e,t,a,{enabled:o=!0,fallbackOnParent:n=!1}={}){const i=sn(e),s=sn(t),c=l.useRef(null),d=l.useRef(0);l.useEffect(()=>{if(!o||typeof document>"u")return;const p=h=>{const m=h,b=h.target,x=a.current,f=!!(b&&x&&x.contains(b));if(m.pointerType!=="touch"){f&&(c.current=null);return}if(f){c.current=i.current;return}c.current=null,i.current&&!(b&&b.closest?.(".tooltip-content"))&&s.current(!1,x)};return document.addEventListener("pointerdown",p,!0),()=>document.removeEventListener("pointerdown",p,!0)},[o,a,i,s]);const u=l.useCallback(p=>{const h=c.current;return h===null?!1:(c.current=null,d.current=Date.now(),s.current(!h,p??a.current),!0)},[a,s]);return l.useEffect(()=>{if(!o||!n)return;const p=a.current,h=p?.parentElement;if(!p||!h)return;let m=null;const b=C=>{const g=C.changedTouches?.[0];if(!g)return!1;const v=p.getBoundingClientRect();return g.clientX>=v.left&&g.clientX<=v.right&&g.clientY>=v.top&&g.clientY<=v.bottom},x=C=>{m=b(C)?i.current:null},f=C=>{const g=m;m=null,!(g===null||Date.now()-d.current<700||!b(C))&&(c.current=null,d.current=Date.now(),s.current(!g,p))};return h.addEventListener("touchstart",x,{passive:!0}),h.addEventListener("touchend",f),()=>{h.removeEventListener("touchstart",x),h.removeEventListener("touchend",f)}},[o,n,a,i,s]),{touchPress:u}}function T8(e,t){const{size:a=48,type:o,htmlType:n,href:i,target:s,rel:c,icon:d,rightIcon:u,label:p,count:h,subLabel:m,children:b,ariaLabel:x,variant:f="default",align:C="center",nowrap:g=!1,selected:v,toggleable:y=!1,ariaExpanded:_,ariaControls:B,disabled:k=!1,useLabel:S=!0,useBorder:w=!0,useBG:A=!0,useDisabledCovered:E=!1,useDisabledInvisible:L=!1,width:z,minWidth:j,onClick:I,onDisabledClick:D,showTooltipInfo:T=!1,tooltipInfoText:O=null,tooltipDescription:G=null,tooltipOnly:Z=!1,iconSize:H="medium",iconColor:V,shape:q="rounded",color:$,className:N,...F}=e,R=typeof a=="string"&&isNaN(Number(a))?a.toLowerCase():String(Number(a)||48),W=R.match(/^\d+$/)?`button${R}`:`button-${R}`,P=Number(a),Q=!isNaN(P)&&P<40?"button-2":"button-1",ee=p??b,Y=k||!!F.disabled,ne=Y?E?"disabled-covered":L?"disabled-invisibled":"disabled":f,ie=ne?`button--variant-${ne}`:"",se=C?`button--align-${C}`:"",ce=g?"button--nowrap":"",U=q?`button--shape-${q}`:"",le=typeof V=="string"&&V.startsWith("--")?`var(${V})`:V,be={...z?{width:typeof z=="number"?`${z}px`:z}:{},...j?{minWidth:typeof j=="number"?`${j}px`:j}:{},...w?{}:{"--button-border":Y?"0":"1px solid transparent"},...le?{"--button-icon-color":le}:{},...$?{"--color-main":$}:{}},ye=S===!1?"":ee,xe=Array.isArray(ye)?ye.length>0:!!ye,ue=!!u,_e=o??(xe||d||ue?"bar":"dot"),Ae=`${W}--${_e}`,X=l.useRef(null),we=l.useRef(t);we.current=t;const fe=l.useCallback(Ve=>{X.current=Ve;const rt=we.current;typeof rt=="function"?rt(Ve):rt&&(rt.current=Ve)},[]),ae=l.useRef(Y),[ge,Me]=l.useState(!!v),[$e,Ye]=l.useState(!1),[ze,Ue]=l.useState(null),re=l.useCallback(()=>Ye(!1),[]),[Oe,Fe]=l.useState(!1),Ze=l.useId();l.useEffect(()=>{typeof v=="boolean"&&Me(v)},[v]),l.useEffect(()=>{if(ae.current&&!Y&&X.current){const Ve=X.current;let rt=!1;try{rt=Ve.matches(":focus:not(:focus-visible)")}catch{rt=!1}rt&&Ve.blur(),Ve.style.pointerEvents="none";const xt=requestAnimationFrame(()=>{requestAnimationFrame(()=>{X.current&&(X.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(xt)}ae.current=Y},[Y]);const Qe=typeof v=="boolean"?!!v:ge,De=typeof _=="boolean"?void 0:y||typeof v=="boolean"?Qe?"true":"false":F["aria-pressed"],Le=Te("button",W,Ae,ie,se,ce,U,Qe?"is-selected":null,A?null:"button--no-bg",Z?"button--tooltip-only":null,N),ke=`button__icon button__icon--${H}`,Ie=Array.isArray(m)?m:m!==void 0?[m]:[],pt=()=>{if(Array.isArray(ye))return ye.map((rt,xt)=>{const Xt=Ie[xt];return r.jsxs("span",{className:`button__label-text${Xt!==void 0?" button__label-text--has-sub":""}`,children:[rt,Xt!==void 0&&r.jsx("span",{className:"button__sub-label-text caption-1",children:Xt})]},xt)});const Ve=m!==void 0;return r.jsxs("span",{className:`button__label-text${Ve?" button__label-text--has-sub":""}`,children:[ye,h!=null&&r.jsx("span",{className:"button__count",children:h}),Ve&&r.jsx("span",{className:"button__sub-label-text caption-1",children:m})]})},Lt=Ve=>{typeof v!="boolean"&&!y&&Me(!1),Ve.currentTarget.blur()},Yt=Ve=>{Y||(typeof F.onMouseLeave=="function"&&F.onMouseLeave(Ve),Lt(Ve))},At=Ve=>{if(Z&&et&&lt.touchPress(Ve.currentTarget),Y){et&&lt.touchPress(Ve.currentTarget),Ve.preventDefault(),D?.(Ve);return}typeof v!="boolean"&&y&&Me(rt=>!rt),I?.(Ve)},ct=l.useCallback(()=>{(T||G)&&(Ye(!0),Ue(X.current?.getBoundingClientRect()??null))},[T,G]),ot=l.useCallback(()=>{(T||G)&&(Ye(!1),Ue(null))},[T,G]),et=!!(T||G),lt=hc($e,Ve=>{Ve?ct():ot()},X,{enabled:et&&(Y||Z),fallbackOnParent:et&&Y}),Ke={...F};delete Ke.disabled,delete Ke.className,delete Ke.faded,delete Ke.useFaded,delete Ke.loading,delete Ke.onMouseLeave,delete Ke.onPointerEnter,delete Ke.onPointerLeave,delete Ke.onPointerUp,delete Ke.onFocus,delete Ke.onBlur,Y&&(Object.keys(Ke).forEach(Ve=>{/^on[A-Z]/.test(Ve)&&typeof Ke[Ve]=="function"&&delete Ke[Ve]}),Ke["aria-disabled"]="true");const dt=(typeof T=="string"?T:null)??(typeof O=="string"?O:null)??(typeof x=="string"?x:null)??(typeof ee=="string"?ee:null)??void 0,Xe=typeof x=="string"?x:typeof ee=="string"?ee:dt,yt=G?[G.title,...G.items??[]].filter(Boolean).join(". "):T&&dt&&dt!==Xe?dt:"",Ot=[typeof F["aria-describedby"]=="string"?F["aria-describedby"]:void 0,yt?Ze:null].filter(Boolean).join(" ")||void 0,Mt=(Ve,rt)=>r.jsx(Je,{icon:Ve,label:rt??Xe,className:ke,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),vt=()=>_e==="dot"?r.jsxs(r.Fragment,{children:[Mt(d),xe&&r.jsx("span",{className:`button__label ${Q}`,children:pt()})]}):C==="center"&&d?r.jsxs(r.Fragment,{children:[r.jsxs("span",{className:"button__center-group",children:[r.jsx("span",{className:"button__left",children:Mt(d)}),xe&&r.jsx("span",{className:`button__label ${Q}`,children:pt()})]}),ue&&r.jsx("span",{className:"button__right",children:Mt(u)})]}):r.jsxs(r.Fragment,{children:[d&&r.jsx("span",{className:"button__left",children:Mt(d,x??ee)}),xe&&r.jsx("span",{className:`button__label ${Q}`,children:pt()}),ue&&r.jsx("span",{className:"button__right",children:Mt(u)})]}),ut=!!i&&!Y;return r.jsxs(r.Fragment,{children:[r.jsxs(ut?"a":"button",{...Ke,ref:fe,...ut?{href:i,target:s,rel:c??(s==="_blank"?"noreferrer":void 0)}:{type:n,disabled:Y&&!D&&!Oe},className:Le,"aria-pressed":De,"aria-expanded":typeof _=="boolean"?_:F["aria-expanded"],"aria-controls":B??F["aria-controls"],"aria-label":Xe,"aria-disabled":Y&&(ut||D||Oe)?!0:void 0,"aria-describedby":Ot,style:be,onClick:At,onMouseLeave:Yt,onPointerEnter:Ve=>{ur(Ve)||ct(),!Y&&typeof F.onPointerEnter=="function"&&F.onPointerEnter(Ve)},onPointerLeave:Ve=>{ur(Ve)||ot(),!Y&&typeof F.onPointerLeave=="function"&&F.onPointerLeave(Ve)},onPointerUp:Ve=>{Y&&et&&lt.touchPress(Ve.currentTarget),!Y&&typeof F.onPointerUp=="function"&&F.onPointerUp(Ve)},onFocus:Ve=>{Fe(!0),pr()||ct(),!Y&&typeof F.onFocus=="function"&&F.onFocus(Ve)},onBlur:Ve=>{Fe(!1),Y||Lt(Ve),ot(),!Y&&typeof F.onBlur=="function"&&F.onBlur(Ve)},children:[vt(),yt?r.jsx("span",{id:Ze,hidden:!0,"aria-label":yt}):null]}),$e&&G?r.jsx(go,{anchorRect:ze,title:G.title,items:G.items,onClose:re}):$e&&dt?r.jsx(ka,{anchorRect:ze,text:dt,onClose:re}):null]})}const he=l.forwardRef(T8);he.displayName="Button";function kt(e,t,a){const o=l.useRef(null);return l.useLayoutEffect(()=>{const n=o.current?.parentElement??null;return t(n,e),()=>a(n)},[e,t,a]),o}var j8=".ihabdevteam-core-scope .promo-banner-bg{border-radius:inherit;inset:0;pointer-events:none;position:absolute}";oe(j8);var L8=".ihabdevteam-core-scope .promo-banner-bg-main{background:linear-gradient(45deg,var(--color-main),var(--color-sub))}";oe(L8);const hr={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},mc=new WeakMap;function pi(e){if(e)return mc.get(e)}function Ut(e,t){e&&(e.style.setProperty(hr.title,t.title),e.style.setProperty(hr.description,t.description),mc.set(e,t))}function qt(e){e&&(e.style.removeProperty(hr.title),e.style.removeProperty(hr.description),mc.delete(e))}const bc={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function gc(){const e=kt(bc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}var M8=".ihabdevteam-core-scope .promo-banner-bg-soft{background:var(--color-main-a10)}";oe(M8);const fc={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function vc(){const e=kt(fc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}var $8=".ihabdevteam-core-scope .promo-banner-bg-sub{background:var(--color-sub)}";oe($8);const xc={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Cc(){const e=kt(xc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}var R8=".ihabdevteam-core-scope .promo-banner-bg-deep{background:linear-gradient(135deg,var(--color-darkMain),var(--color-darkSub))}";oe(R8);const _c={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function yc(){const e=kt(_c,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}var P8=".ihabdevteam-core-scope .promo-banner-bg-soft-sub{background:var(--color-sub-a10)}";oe(P8);const wc={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function kc(){const e=kt(wc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}var z8=".ihabdevteam-core-scope .promo-banner-bg-warm{background:var(--color-warn)}";oe(z8);const Bc={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function Ac(){const e=kt(Bc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}var I8=".ihabdevteam-core-scope .promo-banner-bg-dark{background:var(--color-lightBlack)}";oe(I8);const Sc={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function Ec(){const e=kt(Sc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}var O8=".ihabdevteam-core-scope .promo-banner-bg-radial{background:radial-gradient(circle at 15% 20%,var(--color-main) 0,var(--color-sub) 100%)}";oe(O8);const Nc={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function Dc(){const e=kt(Nc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}var F8=".ihabdevteam-core-scope .promo-banner-bg-diagonal{background-color:var(--color-lightMain);background-image:repeating-linear-gradient(45deg,var(--color-main-a10) 0,var(--color-main-a10) 10px,transparent 10px,transparent 20px)}";oe(F8);const Tc={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function jc(){const e=kt(Tc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}var H8=".ihabdevteam-core-scope .promo-banner-bg-dots{background-color:var(--color-lightSub);background-image:radial-gradient(var(--color-sub-a10) 2px,transparent 2px);background-size:14px 14px}";oe(H8);const Lc={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function Mc(){const e=kt(Lc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}var V8=".ihabdevteam-core-scope .promo-banner-bg-outline{background:var(--color-white);border:1px solid var(--color-whiteLine);box-sizing:border-box}.ihabdevteam-core-scope .promo-banner-bg-outline__dot{background:linear-gradient(45deg,var(--color-main),var(--color-sub));border-radius:50%;bottom:-40px;height:140px;opacity:.12;position:absolute;right:-40px;width:140px}";oe(V8);const $c={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function Rc(){const e=kt($c,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:r.jsx("span",{className:"promo-banner-bg-outline__dot"})})}var W8=".ihabdevteam-core-scope .promo-banner-bg-success{background:var(--color-success)}";oe(W8);const Pc={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function zc(){const e=kt(Pc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}var G8=".ihabdevteam-core-scope .promo-banner-bg-naver{background:linear-gradient(90deg,#03c75a 0,var(--color-main) 100%)}";oe(G8);const Ic={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function Oc(){const e=kt(Ic,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}var U8=".ihabdevteam-core-scope .promo-banner-bg-instagram{background:linear-gradient(45deg,#f9ce34,#ee2a7b 50%,#6228d7)}";oe(U8);const Fc={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function Hc(){const e=kt(Fc,Ut,qt);return r.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const ia=(e,t,a)=>({key:e,get label(){return bt.t(`promoBannerBg.${e}`,t)},textTone:a}),xb=[ia("main","\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),ia("soft","\uC18C\uD504\uD2B8","dark"),ia("sub","\uC11C\uBE0C \uCEEC\uB7EC","light"),ia("deep","\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),ia("softSub","\uC18C\uD504\uD2B8 \uC11C\uBE0C","dark"),ia("warm","\uC6DC(\uAC15\uC870)","dark"),ia("dark","\uB2E4\uD06C","light"),ia("radial","\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),ia("diagonal","\uB300\uAC01\uC120 \uD328\uD134","dark"),ia("dots","\uB3C4\uD2B8 \uD328\uD134","dark"),ia("outline","\uC544\uC6C3\uB77C\uC778","dark"),ia("success","\uC131\uACF5/\uC644\uB8CC","light"),ia("naver","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4","light"),ia("instagram","\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4","light")],Vc={main:gc,soft:vc,sub:Cc,deep:yc,softSub:kc,warm:Ac,dark:Ec,radial:Dc,diagonal:jc,dots:Mc,outline:Rc,success:zc,naver:Oc,instagram:Hc};function hi({storageKey:e="fontScale",baseFont:t=20,minScale:a=.8,maxScale:o=1.4,step:n=.1,lineHeightRatio:i=1.4}={}){const s=y=>Math.max(a,Math.min(o,Number(y))),c=y=>{try{const _=localStorage.getItem(y),B=_?Number(_):1;return Number.isFinite(B)?s(B):s(1)}catch{return s(1)}},[d,u]=l.useState(()=>c(e)),[p,h]=l.useState(e);p!==e&&(h(e),u(c(e))),l.useEffect(()=>{try{localStorage.setItem(e,String(d))}catch{}},[e,d]);const m=y=>{u(typeof y=="function"?_=>s(y(_)):s(y))},b=()=>m(y=>+(y+n).toFixed(6)),x=()=>m(y=>+(y-n).toFixed(6)),f=d<o-Number.EPSILON,C=d>a+Number.EPSILON,g=Math.round(t*d),v=Math.round(g*i);return{scale:d,setScale:m,increase:b,decrease:x,canIncrease:f,canDecrease:C,fontSize:g,lineHeight:v}}function ln(e,t){const a=sn(t);l.useEffect(()=>{const o=()=>a.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,a])}const Wc=" \xB7 ",Cb=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(Wc)?e.split(Wc).pop()??e:e})(),Gc=l.createContext(!1),Po=[];let _b=null;function Uc(e){const t=l.useContext(Gc);l.useEffect(()=>{if(t||typeof e!="string"||!e)return;Po.length===0&&(_b=document.title);const a={text:Cb?`${e}${Wc}${Cb}`:e};return Po.push(a),document.title=a.text,()=>{const o=Po.lastIndexOf(a);o>=0&&Po.splice(o,1),document.title=Po.length?Po[Po.length-1].text:_b??document.title}},[e,t])}function q8(e,t){const[a,o,n]=e.split("-").map(Number),[i,s,c]=t.split("-").map(Number);return Math.round((Date.UTC(i,s-1,c)-Date.UTC(a,o-1,n))/864e5)}function yb(){const{t:e}=Ce.useTranslation();return l.useCallback(t=>{if(!t)return"";const a=$a(t);if(!a)return"";const o=q8(a,ba());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 wb(e){const{t}=Ce.useTranslation(),[a,o]=l.useState({current:"",next:"",confirm:""}),[n,i]=l.useState(null),[s,c]=l.useState(!1),d=l.useRef(null),u=l.useRef(!1);l.useEffect(()=>()=>{d.current!==null&&clearTimeout(d.current)},[]);const p=l.useCallback(()=>{o({current:"",next:"",confirm:""}),i(null)},[]),h=l.useCallback(async()=>{if(u.current)return;if(!a.current){i({type:"error",text:t("account.security.password.currentRequired","\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.")});return}if(!a.next){i({type:"error",text:t("account.security.password.newRequired","\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.")});return}if(a.next!==a.confirm){i({type:"error",text:t("account.security.password.mismatch","\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")});return}c(!0),u.current=!0;let m;try{m=e?await e(a.current,a.next):null}catch(b){m=Jr(b)}finally{u.current=!1,c(!1)}if(m){i({type:"error",text:m});return}i({type:"success",text:t("account.security.password.changed","\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.")}),o({current:"",next:"",confirm:""}),d.current!==null&&clearTimeout(d.current),d.current=setTimeout(()=>i(null),1500)},[a,e,t]);return{pw:a,setPw:o,pwMsg:n,setPwMsg:i,pwLoading:s,handleChangePw:h,reset:p}}const qc=[{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 Yc(e){return e.reduce((t,a)=>{try{const o=localStorage.getItem(a);return t+(o?new Blob([o]).size:0)}catch{return t}},0)}function kb(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 Bb(e){const{t}=Ce.useTranslation(),[a,o]=l.useState({}),[n,i]=l.useState(null),[s,c]=l.useState(null),[d,u]=l.useState(null),p=l.useCallback(()=>{const m={};qc.forEach(b=>{m[b.id]=Yc([...b.keys])}),o(m),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(b=>{u({usage:b.usage??0,quota:b.quota??0})}).catch(()=>{})},[]);l.useEffect(()=>{p()},[p]);const h=l.useCallback(async m=>{i(m);try{m==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):m==="pairIndex"?Js():m==="imageCache"&&Ps(),p(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{i(null)}},[p,e,t]);return{cacheSizes:a,clearingId:n,confirmCacheId:s,setConfirmCacheId:c,storageEstimate:d,refreshCacheSizes:p,handleClearCache:h}}function Ab(e){const[t,a]=l.useState(null),[o,n]=l.useState(null),i=l.useCallback(()=>{const s=To();if(s){const d=Object.values(s),u=d.filter(p=>p.cho.length+p.jung.length+p.jong.length>0).length;a({matched:u,total:d.length})}else a(null);const c=$n();n(c?{exists:c.exists,total:c.total}:null)},[]);return l.useEffect(()=>{i();const s=setTimeout(i,1e3);return()=>clearTimeout(s)},[e?.length,i]),{pairStats:t,imgStats:o,setPairStats:a,setImgStats:n,refreshStats:i}}function zo(e,t){if(e===t)return!0;const a=e?.id,o=t?.id;return a!=null&&a!==""&&a===o}function Sb(e,t=[]){const[a,o]=l.useState(t),[n,i]=l.useState(null),[s,c]=l.useState(!1),[d,u]=l.useState(e),p=l.useRef(!1),h=l.useRef(null);l.useEffect(()=>{if(s)return;if(p.current){p.current=!1;return}const g=h.current;g!==null&&g.length===t.length&&g.every((v,y)=>v===t[y])||(h.current=t,o(t),i(v=>v==null?v:t.find(y=>zo(y,v))??v))},[t,s]),l.useEffect(()=>{!s&&n!=null&&u({...n})},[s,n]);const m=l.useCallback(g=>{i(g),c(!1),u({...g})},[]),b=l.useCallback(()=>c(!0),[]),x=l.useCallback(()=>c(!1),[]),f=l.useCallback((g,v)=>{o(g),i(v),c(y=>(y&&(p.current=!0),!1))},[]),C=l.useCallback(g=>{o(v=>v.filter(y=>!zo(y,g))),i(null)},[]);return{list:a,setList:o,selected:n,setSelected:i,isEditing:s,setIsEditing:c,editForm:d,setEditForm:u,openDetail:m,startEditing:b,cancelEditing:x,commitEdit:f,remove:C}}const mr=()=>{const[e,t,a]=ba().split("-");return{year:e,month:t,day:a}},Y8={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Eb(e=[]){const{list:t,setList:a,selected:o,setSelected:n,isEditing:i,setIsEditing:s,editForm:c,setEditForm:d,openDetail:u,commitEdit:p}=Sb(Y8,e),{year:h,month:m,day:b}=mr(),[x,f]=l.useState({year:h,month:m,day:b,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:x,setVisitForm:f,setVisit:C=>g=>f(v=>({...v,[C]:g})),selectedVisit:o,setSelectedVisit:n,isEditingVisit:i,setIsEditingVisit:s,editVisitForm:c,setEditVisitForm:d,openVisitDetail:u,handleVisitSave:C=>{a(_=>[x,..._]);const{year:g,month:v,day:y}=mr();f({year:g,month:v,day:y,hour:"09",minute:"00",memo:""}),C?.()},handleVisitEditSave:()=>{p(C=>C.map(g=>o!=null&&zo(g,o)?c:g),c)},addVisit:C=>{a(g=>[C,...g])},removeVisit:C=>{a(g=>g.filter(v=>!zo(v,C)))},revertVisitEdit:(C,g)=>{a(v=>v.map(y=>y===g?C:y)),n(v=>v===g?C:v)}}}const Nb=e=>`${e.year.padStart(4,"0")}-${e.month.padStart(2,"0")}-${e.day.padStart(2,"0")} ${e.hour.padStart(2,"0")}:${e.minute.padStart(2,"0")}`,cn=e=>[...e].sort((t,a)=>{const o=Nb(t),n=Nb(a);return o<n?-1:o>n?1:0}),K8={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Db(e,t=[]){const a=l.useMemo(()=>cn(t),[t]),{list:o,setList:n,selected:i,setSelected:s,isEditing:c,setIsEditing:d,editForm:u,setEditForm:p,openDetail:h,commitEdit:m,remove:b}=Sb(K8,a),[x,f]=l.useState([]),{year:C,month:g,day:v}=mr(),[y,_]=l.useState({year:C,month:g,day:v,hour:"09",minute:"00",memo:""}),B=I=>D=>_(T=>({...T,[I]:D})),k=I=>{n(G=>cn([...G,y]));const{year:D,month:T,day:O}=mr();_({year:D,month:T,day:O,hour:"09",minute:"00",memo:""}),I?.()},S=()=>{m(I=>cn(I.map(D=>i!=null&&zo(D,i)?u:D)),u)},w=l.useCallback(I=>{b(I)},[b]),A=l.useCallback(I=>{e({year:I.year,month:I.month,day:I.day,hour:I.hour,minute:I.minute,memo:I.memo,...I.id!=null?{id:I.id}:{}}),b(I)},[e,b]),E=l.useCallback(I=>{n(D=>D.filter(T=>!zo(T,I))),f(D=>[I,...D]),s(null)},[n,s]),L=l.useCallback(I=>{n(D=>cn([...D,I]))},[n]),z=l.useCallback(I=>{n(D=>D.filter(T=>!zo(T,I)))},[n]),j=l.useCallback((I,D)=>{n(T=>cn(T.map(O=>O===D?I:O))),s(T=>T===D?I:T)},[n,s]);return{scheduleList:o,noShowList:x,addSchedule:L,removeSchedule:z,revertScheduleEdit:j,scheduleForm:y,setScheduleForm:_,setSchedule:B,selectedSchedule:i,setSelectedSchedule:s,isEditingSchedule:c,setIsEditingSchedule:d,editScheduleForm:u,setEditScheduleForm:p,openScheduleDetail:h,handleScheduleSave:k,handleScheduleEditSave:S,handleScheduleDelete:w,handleScheduleToVisit:A,handleScheduleNoVisit:E}}const dn=[{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 Tb(e){const{t}=Ce.useTranslation(),[a,o]=l.useState(""),[n,i]=l.useState("25"),[s,c]=l.useState("all"),[d,u]=l.useState(1),p=l.useMemo(()=>e.filter(({item:f,status:C})=>!(a&&!f.memo.includes(a)||s!=="all"&&C!==s)),[e,a,s]),h=Math.max(1,Math.ceil(p.length/Number(n))),m=Math.min(d,h),b=l.useMemo(()=>p.slice((m-1)*Number(n),m*Number(n)),[p,m,n]),x=l.useMemo(()=>dn.map(f=>({...f,label:t("common.pageSizeLabel",{n:f.value,defaultValue:f.label})})),[t]);return{vapSearch:a,setVapSearch:o,vapPageSize:n,setVapPageSize:i,vapPageSizeOptions:x,vapStatus:s,setVapStatus:c,vapPage:m,setVapPage:u,vapFiltered:p,vapTotal:h,vapPageItems:b}}const Z8=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function br(e,t){return Z8().compare(e,t)}const mi=new Map;function X8(e){const t=mi.get(e);if(t)return t;const a=[],o=/-?\d+(?:\.\d+)?/g;let n=0;for(let i=o.exec(e);i;i=o.exec(e)){let s=i.index,c=i[0];c[0]==="-"&&s>0&&!/\s/.test(e[s-1])&&(s+=1,c=c.slice(1)),s>n&&a.push(e.slice(n,s)),a.push(Number(c)),n=i.index+i[0].length}return n<e.length&&a.push(e.slice(n)),mi.size>5e3&&mi.clear(),mi.set(e,a),a}function J8(e){if(!/^[\d\s-]+$/.test(e))return null;const t=e.replace(/\D/g,"");return t.length<9||t.length>11?null:t[0]==="0"||t[0]==="1"&&e!==t?t:null}function Q8(e,t){const a=u=>u==null||typeof u=="number"&&Number.isNaN(u)?"":String(u).trim(),o=a(e),n=a(t);if(o===n)return 0;const i=(u,p)=>{if(typeof u=="number"&&!Number.isNaN(u))return[u];const h=J8(p);return h!==null?[h]:X8(p)},s=i(e,o),c=i(t,n),d=Math.min(s.length,c.length);for(let u=0;u<d;u++){const p=s[u],h=c[u];if(typeof p=="number"&&typeof h=="number"){if(p!==h)return p-h;continue}if(typeof p=="number")return-1;if(typeof h=="number")return 1;const m=br(p,h);if(m!==0)return m}return s.length!==c.length?s.length-c.length:br(o,n)}const jb=e=>e==null||typeof e=="number"&&Number.isNaN(e)||typeof e=="string"&&e.trim()==="";function Kc(e,t,a){const o=jb(e),n=jb(t);if(o||n)return o===n?0:o?1:-1;const i=Q8(e,t);return a?i:-i}function Zc(e,t,a){const{t:o}=Ce.useTranslation(),[n,i]=l.useState(()=>{const x=a?.initialPageSize;return x&&dn.some(f=>f.value===x)?x:"25"}),[s,c]=l.useState(1),[d,u]=l.useState(t);Object.is(d,t)||(u(t),s!==1&&c(1));const p=l.useMemo(()=>dn.map(x=>({...x,label:o("visits.showN",{n:x.value})})),[o]),h=l.useCallback(x=>{i(x),c(1)},[]),m=Math.max(1,Math.ceil(e.length/Number(n)));(s>m||s<1||!Number.isFinite(s))&&c(Math.min(Math.max(1,Number.isFinite(s)?s:1),m));const b=Math.min(Math.max(1,Number.isFinite(s)?s:1),m);return{pageRows:l.useMemo(()=>e.slice((b-1)*Number(n),b*Number(n)),[e,b,n]),pageSizeProps:{options:p,value:n,onChange:h},paginationProps:{page:b,total:m,onChange:c},setPage:c}}function Xc(e){const[t,a]=l.useState(null),o=l.useRef(t),n=l.useRef(e?.onSortChange);n.current=e?.onSortChange;const i=l.useCallback(d=>{const u=o.current,p=u?.key===d?{key:d,asc:!u.asc}:{key:d,asc:!0};o.current=p,a(p),n.current?.(p)},[]),s=l.useCallback((d,u)=>({label:d,sortDir:t?.key===u?t.asc?"asc":"desc":null,onClick:()=>i(u)}),[t,i]),c=l.useCallback((d,u)=>{if(!t)return d;const{key:p,asc:h}=t;return[...d].sort((m,b)=>Kc(u(m,p),u(b,p),h))},[t]);return{\uC815\uB82C:t,\uCE78:s,sortRows:c}}const Lb=e=>e==="\uC88C"||e==="\uC6B0"?e:null;function Mb(){const[e,t]=l.useState(!1),[a,o]=l.useState("\uC88C"),[n,i]=l.useState({\uC88C:null,\uC6B0:null}),[s,c]=l.useState({\uC88C:[],\uC6B0:[]}),[d,u]=l.useState(!1),[p,h]=l.useState("\uC88C"),m=l.useCallback(x=>{const f=Lb(x.direction);f&&(i(C=>({...C,[f]:x})),c(C=>({...C,[f]:[x,...C[f]]})),t(!1))},[]),b=l.useCallback(x=>{const f=Lb(x.direction);f&&(i(C=>({...C,[f]:x})),u(!1))},[]);return{showDevice:e,setShowDevice:t,deviceDirection:a,setDeviceDirection:o,devices:n,setDevices:i,deviceHistory:s,setDeviceHistory:c,showDeviceList:d,setShowDeviceList:u,listForSide:p,setListForSide:h,handleDeviceSubmit:m,handleSelectFromList:b}}const Bt="\uC804\uCCB4",un=["grade","syllables","pos","wordType"],$b=["1","2","3","4"],e7=["1","2","3","4","5+"],t7=["noun","verb","modifier"],a7=["native","sino","foreign","mixed"],o7={grade:$b,syllables:e7,pos:t7,wordType:a7},r7={noun:["\uBA85","\uC218"],verb:["\uB3D9","\uD615"],modifier:["\uBD80","\uAD00"]},n7={native:"\uACE0\uC720",sino:"\uD55C\uC790",foreign:"\uC678\uB798",mixed:"\uD63C\uC885"},i7={grade:["\uB09C\uC774\uB3C4 \uB4F1\uAE09"]},s7={pos:{noun:["\uCCB4\uC5B8(\uBA85\uC0AC,\uC218\uC0AC)"],verb:["\uC6A9\uC5B8(\uB3D9\uC0AC,\uD615\uC6A9\uC0AC)"],modifier:["\uC218\uC2DD\uC5B8(\uBD80\uC0AC,\uAD00\uD615\uC0AC)"]}},Jc=new Map;try{bt.store?.on?.("added",()=>Jc.clear())}catch{}function bi(e){const t=Jc.get(e);if(t)return t;const a=bt.getFixedT(e),o={\uC139\uC158:{grade:a("wordSearch.filter.difficulty","\uB4F1\uAE09"),syllables:a("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),pos:a("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:a("wordSearch.filter.wordType","\uC720\uD615")},\uAC12:{grade:Object.fromEntries($b.map(n=>[n,a("wordSearch.filter.grade",{n:Number(n),defaultValue:`${n}\uB4F1\uAE09`})])),syllables:{...Object.fromEntries(["1","2","3","4"].map(n=>[n,a("wordSearch.filter.syllable",{n:Number(n),defaultValue:`${n}\uC74C\uC808`})])),"5+":a("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1")},pos:{noun:a("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)"),verb:a("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)"),modifier:a("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")},wordType:{native:a("wordSearch.filter.type.native","\uACE0\uC720\uC5B4"),sino:a("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4"),foreign:a("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4"),mixed:a("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")}}};return Jc.set(e,o),o}const Qc=()=>Array.from(new Set([bt.language,"ko","en"].filter(e=>!!e)));function pn(e){if(un.includes(e))return e;for(const t of Qc()){const a=bi(t);for(const o of un)if(a.\uC139\uC158[o]===e)return o}for(const t of un)if(i7[t]?.includes(e))return t;return null}function gr(e,t){if(o7[e].includes(t))return t;for(const a of Qc()){const o=bi(a).\uAC12[e];for(const[n,i]of Object.entries(o))if(i===t)return n}for(const[a,o]of Object.entries(s7[e]??{}))if(o.includes(t))return a;if(e==="grade"||e==="syllables"){const a=parseInt(t.replace(/\D/g,""),10);if(Number.isFinite(a)&&a>=1)return e==="grade"?a<=4?String(a):null:a>=5?"5+":String(a)}return null}const l7=e=>Array.isArray(e)?e.filter(t=>typeof t=="string"):typeof e=="string"&&e?[e]:[];function gi(e){const t={};for(const[a,o]of Object.entries(e??{})){const n=pn(a);if(n)for(const i of l7(o)){const s=gr(n,i);if(!s)continue;const c=t[n]??(t[n]=[]);c.includes(s)||c.push(s)}}return t}function fi(e,t=bt.language){const a=bi(t||"ko"),o={};for(const n of un){const i=(e?.[n]??[]).map(s=>a.\uAC12[n][s]).filter(s=>!!s);i.length&&(o[a.\uC139\uC158[n]]=i)}return o}function Rb(e,t=bt.language){const a={};for(const[o,n]of Object.entries(e??{}))pn(o)||(a[o]=n);return{...a,...fi(gi(e),t)}}function c7(e){for(const t of Qc()){const a=bi(t);if(un.some(o=>a.\uC139\uC158[o]===e))return t}return bt.language||"ko"}function ed(){const{t:e}=Ce.useTranslation();return l.useMemo(()=>({difficulty:e("wordSearch.filter.difficulty","\uB4F1\uAE09"),syllables:e("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),syllable5plus:e("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1"),partOfSpeech:e("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:e("wordSearch.filter.wordType","\uC720\uD615"),posMap:{[e("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)")]:["\uBA85","\uC218"],[e("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)")]:["\uB3D9","\uD615"],[e("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")]:["\uBD80","\uAD00"]},typeMap:{[e("wordSearch.filter.type.native","\uACE0\uC720\uC5B4")]:"\uACE0\uC720",[e("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4")]:"\uD55C\uC790",[e("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4")]:"\uC678\uB798",[e("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")]:"\uD63C\uC885"}}),[e])}function td(e,t,a){return{label:t.difficulty,items:[1,2,3,4].map(o=>e("wordSearch.filter.grade",{n:o})),multiple:!0,allOption:!0,allLabel:a?.allLabel,labelAction:a?.labelAction,labelInfo:a?.labelInfo}}function ad(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function od(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function Pb(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 zb(e,t){const a=[e("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC")];return t?.includeStructure&&a.push(e("wordPairs.filter.onlySameStructure","\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC")),{label:e("wordPairs.filter.selectLabel","\uC120\uD0DD"),items:a,multiple:!0,labelAction:t?.labelAction,labelInfo:t?.labelInfo}}function Ib(e,t){const{label:a,headValue:o,midValue:n,tailValue:i,includeMid:s=!0,headDisabled:c,midDisabled:d,tailDisabled:u,allOptionDisabled:p,groupLabel:h,labelAction:m}=t;return{label:a,...h?{groupLabel:h}:{},...m?{labelAction:m}:{},allOption:!0,allLabel:e("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...p?{allOptionDisabled:p}:{},items:[{value:o,displayLabel:e("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:c},...s?[{value:n,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:d}]:[],{value:i,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:u}]}}function Ob(e,t,a){const o=pn(a),n=o&&t!==Bt?gr(o,t):null;if(o&&(t===Bt||n)){const c={},d={};for(const[b,x]of Object.entries(e))(pn(b)===o?d:c)[b]=x;if(t===Bt)return c;const u=gi(d)[o]??[],p=u.includes(n)?u.filter(b=>b!==n):[...u,n];if(p.length===0)return c;const h=fi({[o]:p},c7(a)),m=Object.values(h)[0]??[];return{...c,[a]:m}}if(t===Bt){const{[a]:c,...d}=e;return d}const i=e[a]??[],s=i.includes(t)?i.filter(c=>c!==t):[...i,t];if(s.length===0){const{[a]:c,...d}=e;return d}return{...e,[a]:s}}Object.fromEntries(Object.entries(zs).map(([e,{nucleus:t}])=>[e,t]));const d7={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},u7={"\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"]},p7={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:u7,typeMap:d7},Fb=new WeakMap;function h7(e,t){const a=Fb.get(e);if(a&&a.keys===t)return a.\uAC12;const o={grades:[],syls:[],poses:[],types:[]},n={grade:o.grades,syllables:o.syls,pos:o.poses,wordType:o.types};for(const[i,s]of Object.entries(e??{})){const c=i===t.difficulty?"grade":i===t.syllables?"syllables":i===t.partOfSpeech?"pos":i===t.wordType?"wordType":pn(i);if(c)for(const d of Array.isArray(s)?s:typeof s=="string"?[s]:[])n[c].includes(d)||n[c].push(d)}return Fb.set(e,{keys:t,\uAC12:o}),o}function m7(e,t,a=p7){const{grades:o,syls:n,poses:i,types:s}=h7(t,a);if(o.length&&!o.some(c=>e.grade===(gr("grade",c)??c.replace(/\D/g,""))))return!1;if(n.length){const c=e.syllables??0;if(!n.some(d=>{const u=d===a.syllable5plus?"5+":gr("syllables",d);return u==="5+"?c>=5:c===parseInt(u??d)}))return!1}return!(i.length&&!i.flatMap(c=>a.posMap[c]??r7[gr("pos",c)??""]??[c]).some(c=>(e.pos??"").includes(c))||s.length&&!s.some(c=>e.wordType===(a.typeMap[c]??n7[gr("wordType",c)??""])))}const b7={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},g7={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},f7={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function Hb(e,t){if("place"in t)return b7[t.place](e);const a=g7[t.vowel](e);return t.glide?`${a} \xB7 ${f7[t.glide](e)}`:a}const v7=(e,{defaultValue:t})=>t,Vb=(e,t)=>({jamos:e,phonetic:t,tooltip:Hb(v7,t)}),Ja=(e,t)=>t.map(a=>Vb([a],{place:e})),It=(e,t,a)=>Vb([...e],a?{vowel:t,glide:a}:{vowel:t}),rd={cho:[Ja("labial",["\u3142","\u3143","\u314D","\u3141"]),Ja("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Ja("alveolar",["\u3145","\u3146"]),Ja("palatal",["\u3148","\u3149","\u314A"]),Ja("velar",["\u3131","\u3132","\u314B"]),Ja("glottal",["\u314E"])],jung:[[It("\u3163","frontHigh"),It("\u315F","frontHigh","w"),It("\u3162","frontHigh","velar")],[It("\u3161","backHighUnrounded")],[It("\u315C","backHighRounded"),It("\u3160","backHighRounded","j")],[It("\u3154\u3150","frontMid"),It("\u3156\u3152","frontMid","j"),It("\u3159\u315A\u315E","frontMid","w")],[It("\u3153","backMidUnrounded"),It("\u3155","backMidUnrounded","j"),It("\u315D","backMidUnrounded","w")],[It("\u3157","backMidRounded"),It("\u315B","backMidRounded","j")],[It("\u314F","low"),It("\u3151","low","j"),It("\u3158","low","w")]],jong:[Ja("labial",["\u3142","\u3141"]),Ja("alveolar",["\u3137","\u3134","\u3139"]),Ja("velar",["\u3131","\u3147"])]},x7=[...st],C7=[...gt],_7=Tt.filter(e=>e!==""),Ra=e=>e===Ba?[]:Array.from(e),Ba="__NO_CODA__",Wb=[1,2,3,4],Aa=5,y7=12,Gb="SYL_",nd=e=>`${Gb}${e}`,w7=e=>Number(e.slice(Gb.length));function vi(e){return e>=Aa?Array.from({length:y7-Aa+1},(t,a)=>Aa+a):[e]}const Ub={cho:x7,jung:C7,jong:_7},id=e=>e.map(t=>t.map(({jamos:a,phonetic:o,tooltip:n})=>({v:a.join(""),phonetic:o,tooltip:n}))),sd={cho:id(rd.cho),jung:id(rd.jung),jong:id(rd.jong)},qb={};sd.jung.flat().forEach(({v:e})=>{for(const t of Ra(e))qb[t]=e});const k7=new Set(sd.cho.flat().map(e=>e.v));function ld(e,t){return e==="cho"?k7.has(t)?t:null:e==="jung"?qb[t]??t:No(t)}function cd(e,t,a){if(e==="jung"){const o=Ra(t);return a&&o.includes(a)?a:o[0]??t}return e==="jong"&&a&&No(a)===t?a:t}function dd(e,t,a,o){const n=(i,s)=>s?i==="jong"&&s===Ba?Ba:t==="pron"?ld(i,s):cd(i,s,i==="jung"?a:i==="jong"?o:null):null;return{...e,cho:n("cho",e.cho),jung:n("jung",e.jung),jong:n("jong",e.jong)}}const xi={cho:null,jung:null,jong:null,syllable:null},B7="wt_filter",Yb=e=>`wt_filter_${e}`,ud=["noun","verb","modifier"],pd=["native","sino","foreign","mixed"];function Kb(e,t,a,o,n){if(!Array.isArray(e))return[];const i=[];for(const s of e){if(typeof s!="string")continue;const c=t.includes(s)?s:t.find(d=>n.some(u=>o(u,a(d))===s));c&&!i.includes(c)&&i.push(c)}return i}function Zb(e){try{const t=localStorage.getItem(Yb(e))??localStorage.getItem(B7);if(t)return JSON.parse(t)}catch{}return null}function Xb(e){const t=e?.phonemeView;return t==="pron"?"pron":t==="direct"?"direct":"char"}function A7(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?{...xi,cho:t.choseong}:xi}function Jb(e,t,a){const{t:o,i18n:n}=Ce.useTranslation(),[i]=l.useState(()=>a?.resetOnMount?null:Zb(e)),[s,c]=l.useState(Xb(i)),[d,u]=l.useState(()=>A7(i)),p=l.useCallback(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:Ba,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?Ba:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);l.useEffect(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||u(X=>X.cho||X.jung||X.syllable!=null||X.jong?X:p())},[]);const h=l.useMemo(()=>jt(d.cho)||jt(d.jung)||jt(d.jong)?"count":"random",[d.cho,d.jung,d.jong]),m=l.useRef(s==="char"?d.jung:null),b=l.useRef(s==="char"?d.jong:null);l.useEffect(()=>{s==="char"&&(m.current=d.jung,b.current=d.jong)},[s,d.jung,d.jong]);const[x,f]=l.useState(a?.resetOnMount?!!a?.defaultImageOnly:i?.excludeNoImage??!0),[C,g]=l.useState(a?.resetOnMount?!1:i?.sameStructureOnly??!0),[v,y]=l.useState(Array.isArray(i?.gradeFilter)?i.gradeFilter:[]),_=Array.from(new Set([n.language,"ko","en"].filter(Boolean))),B=(X,we)=>n.getFixedT(X)(we),k=X=>Kb(X,ud,we=>`wordSearch.filter.pos.${we}`,B,_),S=X=>Kb(X,pd,we=>`wordSearch.filter.type.${we}`,B,_),[w,A]=l.useState(()=>k(i?.posFilter)),[E,L]=l.useState(()=>S(i?.wordTypeFilter)),z=l.useRef(a?.resetKey);l.useEffect(()=>{z.current!==a?.resetKey&&(z.current=a?.resetKey,u(p()),f(!!a?.defaultImageOnly),g(!1),y([]),A([]),L([]))},[a?.resetKey]);const j=ed(),I=l.useMemo(()=>Object.keys(j.posMap),[j]),D=l.useMemo(()=>Object.keys(j.typeMap),[j]),T=l.useMemo(()=>w.map(X=>I[ud.indexOf(X)]).filter(Boolean),[w,I]),O=l.useMemo(()=>E.map(X=>D[pd.indexOf(X)]).filter(Boolean),[E,D]),[G,Z]=l.useState({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[H,V]=l.useState(!1),[q,$]=l.useState(null),N=1,F=Math.max(1,[d.cho,d.jung,d.jong].filter(Boolean).length),[R,W]=l.useState(e);l.useEffect(()=>{if(R!==e){if(!a?.resetOnMount){const X=Zb(e);u(X?.composition??p()),f(X?.excludeNoImage??!0),g(X?.sameStructureOnly??!0),c(Xb(X)),y(Array.isArray(X?.gradeFilter)?X.gradeFilter:[]),A(k(X?.posFilter)),L(S(X?.wordTypeFilter))}W(e)}},[e,R,a?.resetOnMount]),l.useEffect(()=>{if(!a?.resetOnMount&&R===e)try{localStorage.setItem(Yb(e),JSON.stringify({contrastCount:F,composition:d,excludeNoImage:x,sameStructureOnly:C,phonemeView:s,gradeFilter:v,posFilter:w,wordTypeFilter:E}))}catch{}},[a?.resetOnMount,e,R,F,d,x,C,s,v,w,E]);const[P,Q]=l.useState(0);ln("wordpool:update",()=>Q(X=>X+1));const ee=l.useRef(n.language);l.useEffect(()=>{ee.current!==n.language&&(ee.current=n.language,Q(X=>X+1))},[n.language]),l.useEffect(()=>{if(!t.choseong)return;let X=!1;return p8({difficulty:h,excludeNoImage:x}).then(we=>{X||(Z(we),we.cho.size+we.jung.size+we.jong.size>0&&V(!0))}).catch(()=>{X||Z({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{X=!0}},[t.choseong,h,x,P]),l.useEffect(()=>{let X=!1;const we=d,fe=we.cho?Ra(we.cho):null,ae=we.jung?Ra(we.jung):null,ge=we.jong===Ba,Me=ge?null:we.jong?Ra(we.jong):null,$e=we.syllable!=null?vi(we.syllable):null,Ye=!!(fe||ae||Me||ge||$e);return u8({difficulty:t.difficulty?h:null,contrastCount:t.difficulty?F:1,composition:t.choseong&&Ye?{cho:fe,jung:ae,jong:Me,jongNone:ge,syllable:$e}:null,excludeNoImage:x,sameStructureOnly:C,phonemeView:s==="pron"?"pron":"char",grade:v.length>0?v:null}).then(ze=>{X||$(ze)}).catch(()=>{X||$(null)}),()=>{X=!0}},[t.choseong,t.difficulty,h,F,d,s,x,C,P,v]),l.useEffect(()=>{H&&u(X=>{const we={...X};let fe=!1;return["cho","jung","jong"].forEach(ae=>{const ge=X[ae];!ge||ge===Ba||Ra(ge).some(Me=>G[ae].has(Me))||(we[ae]=null,fe=!0)}),X.syllable!=null&&t.fixedSyllable==null&&(X.syllable>=Aa?[...G.syllable].some(ae=>ae>=Aa)||(we.syllable=null,fe=!0):(!G.syllable.has(X.syllable)||X.syllable<N)&&(we.syllable=null,fe=!0)),fe?we:X})},[G,H,N,t.fixedSyllable]);const Y=l.useMemo(()=>{const X=we=>{const fe=new Set;for(const ae of Ub[we])G[we].has(ae)&&fe.add(ae);return fe};return{cho:X("cho"),jung:X("jung"),jong:X("jong")}},[G]),ne=l.useMemo(()=>({exact:new Set(Wb.filter(X=>G.syllable.has(X))),min:[...G.syllable].some(X=>X>=Aa)}),[G]),ie=l.useMemo(()=>({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]),se=l.useMemo(()=>({[ie.trainOnset]:"cho",[ie.trainVowel]:"jung",[ie.trainCoda]:"jong"}),[ie]),ce=l.useCallback((X,we)=>({title:we,items:X}),[]),U=l.useMemo(()=>[o("training.filter.excludeImageInfo",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4."}),o("training.filter.sameStructureInfo",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694."})],[o]),le=l.useMemo(()=>{const X=[];if(t.choseong){const we={value:Ba,displayLabel:ie.codaExclude},fe=t.fixedNoCoda===!0,ae=(ge,Me)=>{const $e=fe&&ge==="jong",Ye={label:Me,groupLabel:ie.phonemeGroup,allOption:!t.requireSyllable,allLabel:ie.noLimit,allOptionDisabled:$e};if(s==="pron"){const Ue=sd[ge].map(re=>re.map(({v:Oe,phonetic:Fe})=>{const Ze=Ra(Oe),Qe=Hb(o,Fe),De=$e||!Ze.some(Le=>G[ge].has(Le));return Ze.length>1?{value:Oe,labels:Ze,tooltip:Qe,disabled:De}:{value:Oe,tooltip:Qe,disabled:De}}));return ge==="jong"&&!t.requireCoda&&Ue.unshift([we]),{...Ye,groups:Ue}}const ze=Ub[ge].map(Ue=>!$e&&Y[ge].has(Ue)?Ue:{value:Ue,disabled:!0});return{...Ye,items:ge==="jong"&&!t.requireCoda?[we,...ze]:ze}};X.push(ae("cho",ie.trainOnset)),X.push(ae("jung",ie.trainVowel)),X.push(ae("jong",ie.trainCoda))}if(X.push({...td(o,j,{labelInfo: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:ie.gradeLabel}),t.partOfSpeech&&X.push(ad(j)),t.wordType&&X.push(od(j)),t.choseong||t.fixedSyllable!=null){const we=t.fixedSyllable;X.push({label:ie.syllableCount,items:[...Wb.map(fe=>({value:nd(fe),displayLabel:o("wordPairs.syllableN",{n:fe,defaultValue:"{{n}}\uC74C\uC808"}),disabled:we!=null?fe!==we:!ne.exact.has(fe)||fe<N})),{value:nd(Aa),displayLabel:o("wordPairs.syllableNPlus",{n:Aa,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:we!=null?Aa!==we:!ne.min}],allOption:!0,allOptionDisabled:we!=null})}return t.choseong?X.push({label:ie.exclude,displayLabel:ie.selectLabel,multiple:!0,items:[ie.excludeImage,ie.sameStructure],labelInfo:ce(U)}):X.push({label:ie.exclude,displayLabel:ie.selectLabel,multiple:!0,items:[ie.excludeImage],labelInfo:ce([U[0]])}),X},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,N,Y,G,s,ne,ie,o,ce,U,j]),be={...(t.choseong||t.fixedSyllable!=null)&&d.syllable!=null?{[ie.syllableCount]:nd(d.syllable)}:{},...t.choseong&&d.cho?{[ie.trainOnset]:d.cho}:{},...t.choseong&&d.jung?{[ie.trainVowel]:d.jung}:{},...t.choseong&&d.jong?{[ie.trainCoda]:d.jong}:{},[ie.exclude]:[...x?[ie.excludeImage]:[],...C?[ie.sameStructure]:[]],[ie.gradeLabel]:v.map(X=>o("wordSearch.filter.grade",{n:Number(X),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[j.partOfSpeech]:T}:{},...t.wordType?{[j.wordType]:O}:{}},ye=l.useCallback((X,we)=>{if(we===ie.exclude)X===ie.excludeImage?f(fe=>!fe):X===ie.sameStructure&&g(fe=>!fe);else if(we===ie.syllableCount)u(fe=>{if(!X||X===Bt)return{...fe,syllable:null};const ae=w7(X);return{...fe,syllable:fe.syllable===ae?null:ae}});else if(we===ie.gradeLabel){if(!X||X===Bt){y([]);return}const fe=X.replace(/\D/g,"");y(ae=>ae.includes(fe)?ae.filter(ge=>ge!==fe):[...ae,fe])}else if(we===j.partOfSpeech){if(!X||X===Bt){A([]);return}const fe=ud[I.indexOf(X)]??k([X])[0];if(!fe)return;A(ae=>ae.includes(fe)?ae.filter(ge=>ge!==fe):[...ae,fe])}else if(we===j.wordType){if(!X||X===Bt){L([]);return}const fe=pd[D.indexOf(X)]??S([X])[0];if(!fe)return;L(ae=>ae.includes(fe)?ae.filter(ge=>ge!==fe):[...ae,fe])}else{const fe=se[we];if(!fe)return;u(ae=>t.requireSyllable?X&&X!==Bt?{...ae,[fe]:X}:ae:!X||X===Bt||ae[fe]===X?{...ae,[fe]:null}:{...ae,[fe]:X})}},[ie,se,j,I,D,t.requireSyllable]),xe=l.useCallback(X=>!t.partOfSpeech&&!t.wordType?!0:m7(X,{...t.partOfSpeech?{[j.partOfSpeech]:T}:{},...t.wordType?{[j.wordType]:O}:{}},j),[t.partOfSpeech,t.wordType,T,O,j]),ue=l.useCallback(X=>{X!==s&&(X!=="direct"&&s!=="direct"&&u(we=>dd(we,X,m.current,b.current)),c(X))},[s]),_e=l.useCallback(()=>({composition:d,contrastCount:F,excludeNoImage:x,sameStructureOnly:C,phonemeView:s,gradeFilter:v,posFilter:w,wordTypeFilter:E}),[d,F,x,C,s,v,w,E]),Ae=l.useCallback(X=>{u(X.composition),f(X.excludeNoImage),g(X.sameStructureOnly??!0),c(X.phonemeView),y(Array.isArray(X.gradeFilter)?X.gradeFilter:[]),Array.isArray(X.posFilter)&&A(k(X.posFilter)),Array.isArray(X.wordTypeFilter)&&L(S(X.wordTypeFilter))},[]);return{difficulty:h,contrastCount:F,composition:d,choseong:d.cho,excludeNoImage:x,sameStructureOnly:C,gradeFilter:v,posFilter:T,wordTypeFilter:O,matchesWordAttributes:xe,poolVersion:P,filterSections:le,filterSelected:be,handleFilterSelect:ye,phonemeView:s,setPhonemeView:ue,phonemeGroupLabel:ie.phonemeGroup,wordCount:q,getFilterSnapshot:_e,restoreFilterSnapshot:Ae}}function S7(e){const t=c=>c?Ra(c):null,a=t(e.cho),o=t(e.jung),n=e.jong===Ba,i=n?null:t(e.jong),s=e.syllable!=null?vi(e.syllable):null;return!a&&!o&&!i&&!n&&!s?null:{cho:a,jung:o,jong:i,jongNone:n,syllable:s}}function Qb(e,t,a,o,n,i,s=!0,c="char",d=[]){const[u,p]=l.useState({}),[h,m]=l.useState(!1),{cho:b=null,jung:x=null,jong:f=null,syllable:C=null}=o??{},g=d.length>0?d.slice().sort().join(","):"",v=e.map(_=>_.key).join("|");l.useEffect(()=>{i>0&&d8(n).catch(()=>{})},[i,n]),l.useEffect(()=>{let _=!1;return m(!0),(async()=>{const B=S7({cho:b,jung:x,jong:f,syllable:C}),k=`${b??""}_${x??""}_${f??""}_${C??""}_${g}`,S={};await Promise.all(e.map(async w=>{const A=ar[w.key];try{const E=await Gm(w.key,{difficulty:A.difficulty?t:null,contrastCount:A.difficulty?a:1,composition:A.choseong?B:null,count:5,excludeNoImage:n,sameStructureOnly:s,phonemeView:c,grade:d.length>0?d:null});E&&E.length>0?S[w.key]={id:`wt-${w.key}-${t}-${k}-${Date.now()}`,name:w.label,training_type:w.key,category_main_code:"WORD",iconColor:w.color,subTitle:w.subTitle,items:E,itemCount:E.length}:S[w.key]={id:`wt-${w.key}-empty`,name:w.label,training_type:w.key,category_main_code:"WORD",iconColor:w.color,subTitle:w.subTitle,items:[],itemCount:0,__empty:!0}}catch{S[w.key]=null}})),_||(p(S),m(!1))})(),()=>{_=!0}},[t,a,b,x,f,C,n,s,c,i,g,v]);const y=JSON.stringify(e.map(_=>[_.key,_.label,_.color,_.subTitle]));return{perTypeData:l.useMemo(()=>{const _={};for(const[B,k]of Object.entries(u)){const S=e.find(w=>w.key===B);_[B]=k&&S?{...k,name:S.label,iconColor:S.color,subTitle:S.subTitle}:k}return _},[u,y]),generating:h}}function eg(e){let t=2166136261;for(let a=0;a<e.length;a++)t^=e.charCodeAt(a),t=Math.imul(t,16777619);return t>>>0}function E7(e){let t=e>>>0;return()=>{t|=0,t=t+1831565813|0;let a=Math.imul(t^t>>>15,1|t);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}const N7=ya,D7=e=>{const[t,a,o]=e.split("-").map(Number);return Math.round(Date.UTC(t,(a||1)-1,o||1)/864e5)},T7=(e,t)=>{const a=e??{};return String(a.id??a.name??t)};function Ci(e,t,a,o,n){if(!e.length||t<=0)return[];const i=E7(eg(`${a}|${o}|${n}`)),s=D7(o)&1,c=e.filter((u,p)=>(eg(`${a}|${n}|${T7(u,p)}`)>>>7&1)===s),d=c.length>=t&&e.length-c.length>=t;return N7(d?c:e,t,i)}function hd(e,t,a){const o=n=>Math.max(0,e[n]||0);return{LISTEN_IN_NOISE:Ci(co,o("LISTEN_IN_NOISE"),t,a,"LISTEN_IN_NOISE"),SHORT_STORY:Ci(uo,o("SHORT_STORY"),t,a,"SHORT_STORY"),LONG_STORY:Ci(po,o("LONG_STORY"),t,a,"LONG_STORY"),ORDERING_SENTENCE:Ci(ho,o("ORDERING_SENTENCE"),t,a,"ORDERING_SENTENCE")}}function md(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const j7={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function bd(e=!1,t=j7,a){const o=$a(Date.now()),n=$a(Date.now()-864e5),i=a??"";return co.length>0||uo.length>0||po.length>0||ho.length>0?{today:hd(t,i,o),yesterday:hd(t,i,n)}:{today:hd(t,i,o),yesterday:null}}function tg(e){const t=l.useRef({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),a=l.useRef(null),[o,n]=l.useState(!1),[i,s]=l.useState(!1),[c,d]=l.useState(0),[u,p]=l.useState(!1),[h,m]=l.useState(()=>ba());l.useEffect(()=>{const x=()=>{const C=Date.now(),g=new Date(C+9*36e5),v=Date.UTC(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()+1)-9*36e5;return Math.max(1e3,v-C+1e3)};let f=setTimeout(function C(){m(ba()),f=setTimeout(C,x())},x());return()=>clearTimeout(f)},[]),l.useEffect(()=>{let x=!1,f=!1,C=!1,g,v=0,y=null,_=0;const B=40,k=()=>{g!==void 0&&(clearInterval(g),g=void 0)};let S=!1;try{const z=new URLSearchParams(window.location.search),j=z.get("forceRefresh")||z.get("force");S=j==="1"||j==="true"}catch{}const w=z=>{f||(C=!0,t.current=z.today,a.current=z.yesterday,n(!0),p(!0),d(j=>j+1),x=!0,k())},A=async()=>{if(x)return;if(!S){const j=bd(!1,void 0,e);if(md(j.today)){w(j);return}}if(y){++v>=B&&E();return}if(v>=_){_=v+8,y=Ql(3e3).catch(()=>!1);try{await y}finally{y=null}if(x)return}const z=bd(S,void 0,e);if(md(z.today)){w(z);return}++v>=B&&E()};function E(){n(!0),p(!1),x=!0,k()}const L=()=>{if(f||C)return;const z=bd(S,void 0,e);md(z.today)&&w(z)};try{window.addEventListener("speechear.data.updated",L)}catch{}return A(),g=setInterval(A,250),()=>{x=!0,f=!0,k();try{window.removeEventListener("speechear.data.updated",L)}catch{}}},[e,h]);const b=l.useCallback(x=>{const f=i?a.current:t.current,C=i?t.current:a.current;return f?.[x]?.length?f[x]:C?.[x]?.length?C[x]:void 0},[i,c]);return{loaded:o,hasData:u,showYesterday:i,setShowYesterday:s,getTrainingPerType:b}}function gd(e,t=!0){const a=sn(e);l.useEffect(()=>{if(t)return Ro(()=>{a.current?.()})},[t,a])}const _i=(e,t)=>`${e}:${t??1}`,yi=new Map,ag=new Set,og=new Map,L7=6e4;function rg(e,t){const[a,o]=l.useState(0),n=Array.from(new Set(e.map(i=>_i(i.word,i.homonum)))).sort().join("|");return l.useEffect(()=>{const i=n?n.split("|"):[],s=Date.now(),c=i.filter(p=>!yi.has(p)&&!ag.has(p)&&!(s-(og.get(p)??-1/0)<L7));if(c.length===0)return;let d=!1;const u=Array.from(new Set(c.map(p=>p.slice(0,p.lastIndexOf(":")))));return t(u).then(p=>{for(const h of p)h.Meaning&&yi.set(_i(h.Word,h.Homonum??void 0),h.Meaning);if(p.length>0)for(const h of c)yi.has(h)||ag.add(h);else{const h=Date.now();for(const m of c)og.set(m,h)}d||p.length===0||o(h=>h+1)}).catch(()=>{}),()=>{d=!0}},[n,t]),l.useMemo(()=>{const i=n?n.split("|"):[],s=new Map;for(const c of i){const d=yi.get(c);d!=null&&s.set(c,d)}return s},[n,a])}function Io(){const[e,t]=l.useState(null),a=l.useCallback(i=>t(i.getBoundingClientRect()),[]),o=l.useCallback(()=>t(null),[]),n=l.useCallback(i=>{const s=i.getBoundingClientRect();t(c=>c?null:s)},[]);return{anchorRect:e,isOpen:e!=null,openAt:a,close:o,toggleAt:n}}function fd(e){const[t,a]=l.useState(null),[o,n]=l.useState(null),i=l.useRef(null);l.useEffect(()=>()=>{i.current&&clearTimeout(i.current)},[]);const s=l.useCallback((d,u)=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{a(d),n(u)},e)},[e]),c=l.useCallback(()=>{i.current&&clearTimeout(i.current),a(null),n(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:s,close:c}}function ng(e,t,a){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,n=Math.max(1,Math.ceil(e.length/o)),i=Number.isFinite(a)?Math.min(Math.max(1,Math.floor(a)),n):1;return{pageItems:l.useMemo(()=>e.slice((i-1)*o,i*o),[e,i,o]),totalPages:n,curPage:i}}function vd(e,t){const[a,o]=l.useState(e);a!==e&&(o(e),t(1))}function ig(e={}){const{defaultPageSize:t="25",resetOn:a}=e,[o,n]=l.useState(""),[i,s]=l.useState(t),[c,d]=l.useState(1),u=Number(t)||25,p=Number(i)||u;return vd([o,i,...a??[]].map(String).join("|"),d),{query:o,setQuery:n,pageSize:i,setPageSize:s,perPage:p,page:c,setPage:d}}function wi(e="warning"){const[t,a]=l.useState(""),[o,n]=l.useState(e),[i,s]=l.useState(0),c=l.useCallback((h,m)=>{n(m),a(h),s(b=>b+1)},[]),d=l.useCallback(h=>c(h,"warning"),[c]),u=l.useCallback(h=>c(h,"normal"),[c]),p=l.useCallback(()=>a(""),[]);return{toastMessage:t,toastType:o,toastKey:i,showToast:c,showWarning:d,showNormal:u,clearToast:p}}const hn={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},mn=hn.blue,ki=hn.green,bn=hn.amber,Bi=hn.purple,M7=hn.pink,$7=[{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:mn,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:mn,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:mn,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:mn,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:mn,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:ki,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:ki,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:ki,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:ki,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:bn,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:bn,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:bn,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:bn,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:bn,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:Bi,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:Bi,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:Bi,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:Bi,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:M7,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function sg(){const{t:e}=Ce.useTranslation();return l.useMemo(()=>{const t=Object.fromEntries(jm(e).map(o=>[o.key,o.label])),a={...t};return $7.flatMap(o=>o.types).forEach(o=>{a[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:a}},[e])}function gn(e){let t=0;if(e&&typeof window<"u"&&typeof window.getComputedStyle=="function")for(let a=e;a&&a!==document.body&&a!==document.documentElement;a=a.parentElement){const o=parseInt(window.getComputedStyle(a).zIndex,10);!Number.isNaN(o)&&o>t&&(t=o)}return t>0?`max(var(--z-menu, 1500), ${t+1})`:"var(--z-menu, 1500)"}function Oo({computeStyle:e,onScroll:t="close",onResize:a="close",ignoreOutsideClickSelector:o}){const[n,i]=l.useState(!1),[s,c]=l.useState({}),d=l.useRef(null),u=l.useRef(null),p=l.useCallback(()=>{d.current&&c(e(d.current.getBoundingClientRect(),d.current))},[e]);l.useEffect(()=>{if(!n)return;p();let b=u.current?.offsetHeight??0;b>0&&p();let x=0,f=null;typeof ResizeObserver<"u"&&u.current&&(f=new ResizeObserver(()=>{const B=u.current?.offsetHeight??0;if(B!==b){if(b=B,++x>4){f?.disconnect(),f=null;return}p()}}),f.observe(u.current));const C=B=>{const k=B.target;o&&k.closest?.(o)||d.current?.contains(k)||u.current?.contains(k)||i(!1)};document.addEventListener("mousedown",C),document.addEventListener("pointerdown",C);const g=B=>{u.current?.contains(B.target)||(t==="reposition"?p():t==="close"&&i(!1))};t!=="ignore"&&window.addEventListener("scroll",g,!0);const v=()=>{a==="reposition"?p():a==="close"&&i(!1)};let y=null;const _=()=>{v(),y&&clearTimeout(y),y=setTimeout(()=>{y=null,a==="reposition"&&p()},250)};return a!=="ignore"&&(window.addEventListener("resize",v),window.addEventListener("orientationchange",_)),()=>{f?.disconnect(),document.removeEventListener("mousedown",C),document.removeEventListener("pointerdown",C),t!=="ignore"&&window.removeEventListener("scroll",g,!0),a!=="ignore"&&(window.removeEventListener("resize",v),window.removeEventListener("orientationchange",_)),y&&clearTimeout(y)}},[n,p,t,a,o]),l.useEffect(()=>{if(n)return Ro(()=>i(!1))},[n]);const h=l.useCallback(()=>i(b=>!b),[]),m=l.useCallback(()=>i(!1),[]);return{open:n,setOpen:i,toggle:h,close:m,style:s,triggerRef:d,menuRef:u}}function xd(e,{mode:t="playback",autoStart:a=!1,onPlaySpeaker:o,onComplete:n,playMs:i=1100,feedbackMs:s=1500}={}){const[c,d]=l.useState([]),[u,p]=l.useState(0),[h,m]=l.useState("idle"),[b,x]=l.useState(null),[f,C]=l.useState([]),[g,v]=l.useState(null),[y,_]=l.useState(0),B=l.useRef(0),k=l.useCallback(q=>{B.current=typeof q=="function"?q(B.current):q,_(B.current)},[]),S=l.useRef(o),w=l.useRef(n);l.useEffect(()=>{S.current=o,w.current=n},[o,n]);const A=l.useRef([]),E=()=>{A.current.forEach(clearTimeout),A.current=[]},L=(q,$)=>{A.current.push(setTimeout($,q))};l.useEffect(()=>()=>E(),[]);const z=c[u]?.id??null,j=l.useRef(null),I=l.useCallback(()=>{E(),m("playing"),C([]),v(null),k(0);let q=0;e.forEach(($,N)=>{L(q,()=>{p(N),x($.id),S.current?.($)}),L(q+1e3,()=>{x(null),C(F=>[...F,$.id])}),q+=1300}),L(q,()=>{m("done"),w.current?.({score:0,total:e.length})})},[e,k]),D=l.useCallback((q,$)=>{if($>=q.length){m("done"),w.current?.({score:B.current,total:q.length});return}j.current=null,p($),v(null),m("playing"),x(q[$].id),S.current?.(q[$]),L(i,()=>{x(null),m("waiting")})},[i]),T=l.useCallback(()=>{E();const q=tt(e);d(q),k(0),C([]),D(q,0)},[e,D,k]),O=l.useCallback(()=>{t==="playback"?(d(e),I()):T()},[t,e,I,T]),G=l.useCallback(()=>{E(),m("idle"),x(null),C([]),v(null),p(0),k(0),d([])},[k]),Z=e.map(q=>q.id).join("|");l.useEffect(()=>(a?O():G(),()=>E()),[t,Z,a]);const H=l.useCallback(q=>{h!=="waiting"||t==="playback"||j.current===u||(j.current=u,v(q),q===c[u]?.id&&k($=>$+1),t==="exam"?(m("playing"),L(400,()=>D(c,u+1))):(m("feedback"),L(s,()=>D(c,u+1))))},[h,t,c,u,D,s,k]),V=t==="playback"?e.length:c.length;return{bind:{activeSpeakerId:b,playedIds:f,selectedId:g,answerId:z,showFeedback:h==="feedback",clickable:h==="waiting",onSelectSpeaker:H},index:u,total:V,score:y,phase:h,done:h==="done",start:O,reset:G}}var R7=Object.freeze({__proto__:null,CACHE_GROUPS:qc,CORE_VERSION:En,DocumentTitleSuppressContext:Gc,EMPTY_COMPOSITION:xi,MediaQueryOverrideContext:ui,NO_CODA:Ba,SYLLABLE_MIN:Aa,VAP_PAGE_SIZE_OPTIONS:dn,buildGradeSection:td,buildPartOfSpeechSection:ad,buildPositionSection:Ib,buildSelectSection:zb,buildSyllableSection:Pb,buildWordTypeSection:od,charToPronValue:ld,convertComposition:dd,fmtBytes:kb,lsBytes:Yc,meaningKey:_i,normalizeWordAttributeFilter:Rb,pronToCharValue:cd,syllableToFilter:vi,toWordAttributeFilterCodes:gi,today:mr,toggleAttributeFilter:Ob,useAnchoredMenu:Oo,useCacheManagement:Bb,useDailyTrainingSelection:tg,useDelayedHoverAnchor:fd,useDeviceManagement:Mb,useDocumentTitle:Uc,useEscToClose:gd,useFontScale:hi,useHoverAnchor:Io,useListControls:ig,useMediaQuery:na,usePageResetOnChange:vd,usePagedList:ng,usePasswordChange:wb,useRelativeDay:yb,useSoundCompassExam:xd,useTablePaging:Zc,useTableSort:Xc,useToastState:wi,useTrainingTypeLabels:sg,useVisitAllPanel:Tb,useVisitHistory:Eb,useVisitSchedule:Db,useWindowEvent:ln,useWordAttributeFilterKeys:ed,useWordDataStats:Ab,useWordMeanings:rg,useWordTrainingDataGeneration:Qb,useWordTrainingFilter:Jb,valueToJamos:Ra,wordAttributeFilterFromCodes:fi}),P7=".ihabdevteam-core-scope .promo-banner{align-items:center;border-radius:var(--radius-s);box-sizing:border-box;display:flex;gap:var(--spacing-m);justify-content:space-between;overflow:hidden;position:relative;text-align:left}.ihabdevteam-core-scope .promo-banner--medium{min-height:120px;padding:20px 24px}.ihabdevteam-core-scope .promo-banner--small{padding:14px 16px}.ihabdevteam-core-scope .promo-banner__title{color:inherit;color:var(--promo-banner-bg-title,inherit)}.ihabdevteam-core-scope .promo-banner__description{color:inherit;color:var(--promo-banner-bg-description,inherit)}.ihabdevteam-core-scope .promo-banner__text{display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;z-index:1}.ihabdevteam-core-scope .promo-banner__description{margin-left:2px;margin-top:1px}.ihabdevteam-core-scope .promo-banner>.button{flex-shrink:0;position:relative;z-index:1}";oe(P7);function lg({title:e,description:t,actionLabel:a,onAction:o,bg:n,color:i,size:s="medium",actionVariant:c,titleColor:d,descriptionColor:u,className:p=""}){const h=n??i??"main",m=l.useRef(null),[b,x]=l.useState("main"),f=na("(max-width: 767px)"),C=l.useRef({title:!1,description:!1});l.useLayoutEffect(()=>{const y=m.current;if(!y)return;const _=pi(y),B=(k,S,w)=>{if(w!==void 0)y.style.setProperty(S,w),C.current[k]=!0;else if(C.current[k]){const A=_?.[k];A?y.style.setProperty(S,A):y.style.removeProperty(S),C.current[k]=!1}};B("title","--promo-banner-bg-title",d),B("description","--promo-banner-bg-description",u)},[d,u,h]),l.useLayoutEffect(()=>{const y=m.current;if(!y)return;const _=pi(y);x(_?.actionVariant??"main")},[h]);const g=Te("promo-banner",`promo-banner--${s}`,p),v=Vc[h];return r.jsxs("div",{ref:m,className:g,role:"note",children:[r.jsx(v,{}),r.jsxs("div",{className:"promo-banner__text",children:[r.jsx("span",{className:`promo-banner__title ${s==="small"?"body-2":"h2"}`,children:e}),t&&r.jsx("span",{className:"promo-banner__description body-3",children:t})]}),a&&o&&r.jsx(he,{htmlType:"button",size:40,variant:c??b,shape:"pill",useBorder:!0,onClick:o,ariaLabel:a,...f?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:a,minWidth:140}})]})}var z7='.ihabdevteam-core-scope .top-banner{--top-banner-min-h:120px;display:flex;flex-direction:column;padding-bottom:var(--spacing-page);position:relative}.ihabdevteam-core-scope .top-banner__viewport{border-radius:var(--radius-m);min-height:var(--top-banner-min-h);overflow:hidden}.ihabdevteam-core-scope .top-banner__track{align-items:stretch;display:flex;min-height:var(--top-banner-min-h);transition:transform .4s ease}.ihabdevteam-core-scope .top-banner__slide{flex:0 0 100%;min-width:0}.ihabdevteam-core-scope .top-banner__slide>*{box-sizing:border-box;min-height:100%;width:100%}.ihabdevteam-core-scope .top-banner__dots{bottom:calc(var(--spacing-page) + 12px);display:flex;gap:6px;left:50%;position:absolute;transform:translateX(-50%)}.ihabdevteam-core-scope .top-banner__dot{background:var(--color-white-a30);border:none;border-radius:3px;cursor:pointer;height:6px;padding:0;position:relative;transition:width .25s ease,background-color .25s ease;width:6px}.ihabdevteam-core-scope .top-banner__dot:after{content:"";height:24px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:calc(100% + 6px)}.ihabdevteam-core-scope .top-banner__dot--active{background:var(--color-white);width:18px}.ihabdevteam-core-scope .top-banner__dots--dark .top-banner__dot{background:var(--color-lightGray-a80)}.ihabdevteam-core-scope .top-banner__dots--dark .top-banner__dot--active{background:var(--color-main)}';oe(z7);function cg({children:e,interval:t=5e3,dotTone:a,className:o="","aria-label":n}){const{t:i}=Ce.useTranslation(),s=n??i("topBanner.ariaLabel","\uBC30\uB108"),c=l.Children.toArray(e),d=c.length,[u,p]=l.useState(0),[h,m]=l.useState(!1),[b,x]=l.useState(!1),[f,C]=l.useState(!1),g=l.useRef(null),v=l.useRef(null),y=l.useRef(null),_=uc(),B=h||b||f,k=d>0?Math.min(u,d-1):0;l.useEffect(()=>{if(d<2||t<=0||B||_)return;const w=window.setInterval(()=>p(A=>(Math.min(A,d-1)+1)%d),t);return()=>window.clearInterval(w)},[d,t,B,_]);const S=w=>{v.current!=null&&window.clearTimeout(v.current),v.current=window.setTimeout(()=>{v.current=null,C(!1)},w)};return l.useEffect(()=>()=>{v.current!=null&&window.clearTimeout(v.current)},[]),l.useEffect(()=>{if(!f)return;const w=A=>{A.pointerType==="touch"&&(y.current&&y.current.contains(A.target)||(v.current!=null&&(window.clearTimeout(v.current),v.current=null),C(!1)))};return document.addEventListener("pointerdown",w,!0),()=>document.removeEventListener("pointerdown",w,!0)},[f]),d===0?null:r.jsxs("section",{ref:y,className:Te("top-banner",o),"aria-label":s,"aria-roledescription":"carousel",onPointerEnter:w=>{g.current=w.pointerType},onPointerDown:w=>{g.current=w.pointerType,w.pointerType==="touch"&&(v.current!=null&&(window.clearTimeout(v.current),v.current=null),C(!0))},onPointerUp:w=>{w.pointerType==="touch"&&S(5e3)},onPointerCancel:w=>{w.pointerType==="touch"&&S(5e3)},onMouseEnter:()=>{g.current!=="touch"&&m(!0)},onMouseLeave:()=>m(!1),onFocus:w=>{let A=!0;try{A=w.target.matches(":focus-visible")}catch{A=!0}x(A)},onBlur:w=>{w.currentTarget.contains(w.relatedTarget)||x(!1)},children:[r.jsx("div",{className:"top-banner__viewport",children:r.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${k*100}%)`},children:c.map((w,A)=>r.jsx("div",{className:"top-banner__slide","aria-hidden":A!==k,...A!==k?{inert:!0}:{},children:w},A))})}),d>1&&r.jsx("div",{className:`top-banner__dots${(a?.[k]??"light")==="dark"?" top-banner__dots--dark":""}`,children:c.map((w,A)=>r.jsx("button",{type:"button",className:`top-banner__dot${A===k?" top-banner__dot--active":""}`,"aria-label":i("topBanner.dotAriaLabel",{count:d,index:A+1,defaultValue:`${d}\uAC1C \uC911 ${A+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":A===k,onClick:()=>p(A)},A))})]})}var I7=".ihabdevteam-core-scope .accordion-item{background:transparent;border-radius:var(--radius-m)}.ihabdevteam-core-scope .accordion-item__header{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;cursor:pointer;display:flex;gap:var(--spacing-s);min-height:56px;outline:none;padding:0 20px;transition:background-color .2s ease,border-color .2s ease}.ihabdevteam-core-scope .accordion-item__header:hover{background:var(--color-deepWhite);border-color:var(--color-main)}.ihabdevteam-core-scope .accordion-item__header:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .accordion-item__avatar{align-items:center;display:inline-flex;flex:none}.ihabdevteam-core-scope .accordion-item__title{flex:1;text-align:left}.ihabdevteam-core-scope .accordion-item__chevron{align-items:center;display:inline-flex;flex:none}.ihabdevteam-core-scope .accordion-item__chevron-icon{align-items:center;color:var(--color-lightGray);display:inline-flex}.ihabdevteam-core-scope .accordion-item__chevron-image{height:18px;opacity:.7;transition:transform .18s ease;width:18px}.ihabdevteam-core-scope .accordion-item.accordion-item--open{background:var(--color-main-a10);border-radius:var(--radius-m);overflow:hidden}.ihabdevteam-core-scope .accordion-item.accordion-item--open .accordion-item__header{background:var(--color-white);border:1px solid var(--color-main)}.ihabdevteam-core-scope .accordion-item.accordion-item--open .accordion-item__chevron-image{transform:rotate(180deg)}.ihabdevteam-core-scope .accordion-item__body p{margin:0}.ihabdevteam-core-scope .accordion-item__body{background:transparent;box-sizing:border-box;color:var(--color-darkGray);max-width:100%;overflow-wrap:break-word;padding:40px 32px;text-align:left;word-break:break-word}.ihabdevteam-core-scope .accordion-group--s48 .accordion-item__header{min-height:48px}.ihabdevteam-core-scope .accordion-group--s56 .accordion-item__header{min-height:56px}.ihabdevteam-core-scope .accordion-group--s72 .accordion-item__header{min-height:72px}.ihabdevteam-core-scope .accordion-group--s48 .accordion-item,.ihabdevteam-core-scope .accordion-group--s48 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s48 .accordion-item__header{border-radius:12px}.ihabdevteam-core-scope .accordion-group--s56 .accordion-item,.ihabdevteam-core-scope .accordion-group--s56 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s56 .accordion-item__header{border-radius:14px}.ihabdevteam-core-scope .accordion-group--s72 .accordion-item,.ihabdevteam-core-scope .accordion-group--s72 .accordion-item.accordion-item--open,.ihabdevteam-core-scope .accordion-group--s72 .accordion-item__header{border-radius:18px}.ihabdevteam-core-scope .accordion-group,.ihabdevteam-core-scope .accordion-group>.accordion-item{box-sizing:border-box;display:block;width:100%}.ihabdevteam-core-scope .accordion-group>.accordion-item+.accordion-item{margin-top:var(--spacing-s)}";oe(I7);function O7({title:e,body:t,open:a=!1,onToggle:o,avatar:n,titleClassName:i="body-2",bodyClassName:s="body-2",className:c=""}){const{t:d}=Ce.useTranslation();return r.jsxs("div",{className:`accordion-item ${a?"accordion-item--open":""} ${c}`.trim(),role:"listitem",children:[r.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":a,"data-accordion-header":!0,onClick:o,onKeyDown:u=>{if(u.key==="Enter"||u.key===" ")u.preventDefault(),o?.();else if(u.key==="ArrowDown"||u.key==="ArrowUp"){u.preventDefault();const p=u.currentTarget.closest('[role="list"]');if(!p)return;const h=Array.from(p.querySelectorAll("[data-accordion-header]")),m=h.indexOf(u.currentTarget);(u.key==="ArrowDown"?h[m+1]:h[m-1])?.focus()}},children:[n&&r.jsx("div",{className:"accordion-item__avatar",children:n}),r.jsx("div",{className:`accordion-item__title ${i}`,children:e}),r.jsx("div",{className:"accordion-item__chevron",children:r.jsx(Je,{icon:a?"chevron-up":"chevron-down",label:a?d("accordion.collapse","\uC811\uAE30"):d("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),a&&r.jsx("div",{className:`accordion-item__body ${s}`,children:typeof t=="string"?r.jsx("p",{children:t}):t})]})}function dg({items:e=[],defaultOpenIndex:t=0,size:a=72,className:o="",bodyClassName:n}){const[i,s]=l.useState({index:t}),c=(d,u)=>i.id!=null&&d.id!=null?d.id===i.id:i.id==null&&u===i.index;return r.jsx("div",{className:`accordion-group accordion-group--s${a} ${o}`.trim(),role:"list",children:e.map((d,u)=>r.jsx(O7,{title:d.title,body:d.body,avatar:d.avatar,open:c(d,u),onToggle:()=>s(c(d,u)?{index:-1}:{index:u,id:d.id}),bodyClassName:n},d.id??u))})}var F7=".ihabdevteam-core-scope .bottom-nav{align-items:flex-start;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);bottom:0;display:none;height:calc(72px + env(safe-area-inset-bottom));left:0;padding:8px calc(10px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(10px + env(safe-area-inset-left));position:fixed;right:0;z-index:var(--z-nav)}.ihabdevteam-core-scope .bottom-nav__left{align-items:center;display:flex;flex-shrink:0}.ihabdevteam-core-scope .bottom-nav__divider{align-self:flex-start;background:var(--color-whiteLine);border-radius:1px;flex-shrink:0;height:24px;margin:14px 0 0;width:1px}.ihabdevteam-core-scope .bottom-nav__items{align-items:center;display:flex;flex:1;gap:10px;justify-content:center;overflow:hidden}.ihabdevteam-core-scope .bottom-nav__slot{display:flex;flex-shrink:0;height:52px;position:relative;width:52px}.ihabdevteam-core-scope .bottom-nav__slot .circle-badge--top-right{right:0;top:0}.ihabdevteam-core-scope .bottom-nav__right{align-items:center;display:flex;flex-shrink:0}@media (max-width:767px){.ihabdevteam-core-scope .bottom-nav{display:flex}}@media (min-width:768px){.ihabdevteam-core-scope .bottom-nav{display:none}}.ihabdevteam-core-scope .bottom-nav-item{align-items:center;background:transparent!important;border:none!important;border-radius:10px!important;color:var(--color-lightGray);cursor:pointer;display:flex!important;flex-direction:column;height:52px!important;justify-content:center;padding:0!important;transition:background .16s ease,color .16s ease!important;width:52px!important}.ihabdevteam-core-scope .bottom-nav-item:hover:not(.is-selected){background:var(--color-darkWhite)!important}.ihabdevteam-core-scope .bottom-nav-item.is-selected{animation:bottom-nav-active-bg .36s cubic-bezier(.4,0,.2,1) forwards;background-color:var(--color-sub)!important;box-shadow:0 6px 12px rgba(12,24,36,.06);color:#fff!important}.ihabdevteam-core-scope .bottom-nav-item.is-selected *{color:#fff!important}.ihabdevteam-core-scope .bottom-nav-item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .bottom-nav-item:disabled,.ihabdevteam-core-scope .bottom-nav-item[disabled]{opacity:.6;pointer-events:none}@keyframes bottom-nav-active-bg{0%{background-color:var(--color-sub)}to{background-color:var(--color-main)}}";oe(F7);var H7=".ihabdevteam-core-scope .badge{align-items:center;background:var(--badge-color,var(--color-main));border-radius:999px;box-shadow:none;box-shadow:var(--badge-shadow,none);color:#fff;color:var(--badge-on-color,#fff);display:inline-flex;gap:6px;justify-content:center;line-height:1;vertical-align:middle;white-space:nowrap}.ihabdevteam-core-scope .badge--small{font-size:12px;height:20px;padding:0 10px}.ihabdevteam-core-scope .badge--medium{font-size:14px;height:28px;padding:0 14px}.ihabdevteam-core-scope .badge--large{font-size:16px;height:32px;padding:0 18px}.ihabdevteam-core-scope .badge__icon{align-items:center;display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .badge--default{--badge-color:var(--color-lightGray);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--main{--badge-color:var(--color-main);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--sub{--badge-color:var(--color-sub);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--danger{--badge-color:var(--color-error);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--disabled{--badge-color:var(--color-disabled);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--like{--badge-color:var(--color-like);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--success{--badge-color:var(--color-success);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--warning{--badge-color:var(--color-warn);--badge-on-color:#fff}.ihabdevteam-core-scope .badge--critical{--badge-color:#7c3aed;--badge-on-color:#fff}.ihabdevteam-core-scope .badge--outline{background:transparent;border:1px solid var(--badge-color);box-shadow:none;color:var(--badge-color)}.ihabdevteam-core-scope .badge--soft{background:color-mix(in srgb,var(--badge-color) 10%,transparent);box-shadow:none;color:var(--badge-color)}.ihabdevteam-core-scope .circle-badge{align-items:center;border:2px solid var(--color-pureWhite);border-radius:50%;box-sizing:border-box;display:inline-flex;flex-shrink:0;font-weight:700;justify-content:center;line-height:1;pointer-events:none;position:absolute;transition:background .12s,transform .12s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}@keyframes circle-badge-pop{0%{opacity:0;transform:scale(.3)}60%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}.ihabdevteam-core-scope .circle-badge--animate{animation:circle-badge-pop .24s cubic-bezier(.34,1.56,.64,1)}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .circle-badge--animate{animation:none}}.ihabdevteam-core-scope .circle-badge--clickable{cursor:pointer;pointer-events:auto}.ihabdevteam-core-scope .circle-badge--clickable:hover{transform:scale(1.12)}.ihabdevteam-core-scope .circle-badge--top-right{right:-6px;top:-6px}.ihabdevteam-core-scope .circle-badge--top-left{left:-6px;top:-6px}.ihabdevteam-core-scope .circle-badge--inline{border:none;position:static}.ihabdevteam-core-scope .circle-badge--24{border-width:1px;font-size:11px;height:24px;width:24px}.ihabdevteam-core-scope .circle-badge--32{border-width:2px;font-size:14px;height:32px;width:32px}.ihabdevteam-core-scope .circle-badge--40{border-width:2px;font-size:16px;height:40px;width:40px}.ihabdevteam-core-scope .circle-badge--check,.ihabdevteam-core-scope .circle-badge--number{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .circle-badge--remove{background:var(--color-error);color:#fff}.ihabdevteam-core-scope .circle-badge--minus{background:var(--color-lightGray);color:#fff}.ihabdevteam-core-scope .circle-badge--24 svg{height:11px;width:11px}.ihabdevteam-core-scope .circle-badge--32 svg{height:15px;width:15px}.ihabdevteam-core-scope .circle-badge--40 svg{height:19px;width:19px}";oe(H7);function V7(){return r.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:r.jsx("polyline",{points:"2,6 5,9 10,3"})})}function W7(){return r.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[r.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),r.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function G7(){return r.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:r.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function _t(e){const{t}=Ce.useTranslation(),{type:a="bar",size:o,className:n="","aria-label":i,"aria-hidden":s}=e;if(a==="dot"){const{icon:B,number:k,position:S="top-right",onClick:w,animate:A=!1}=e,E=B??"check",L=k!==void 0?"number":E,z=typeof o=="number"?o:32,j=Te("circle-badge",`circle-badge--${L}`,`circle-badge--${S}`,`circle-badge--${z}`,A?"circle-badge--animate":"",w?"circle-badge--clickable":"",n),I=k!==void 0?t("badge.nthSelected",{n:k,defaultValue:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"}):{check:t("badge.selected","\uC120\uD0DD\uB428"),remove:t("badge.remove","\uC81C\uAC70"),minus:t("badge.exclude","\uC81C\uC678")}[E];return r.jsxs("span",{className:j,onClick:w,onKeyDown:w?D=>{D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),D.currentTarget.click())}:void 0,"aria-label":s?void 0:i??I,"aria-hidden":s||void 0,role:w?"button":s?void 0:"img",tabIndex:w?0:void 0,children:[k!==void 0&&k,k===void 0&&E==="check"&&r.jsx(V7,{}),k===void 0&&E==="remove"&&r.jsx(W7,{}),k===void 0&&E==="minus"&&r.jsx(G7,{})]})}const{label:c,children:d,variant:u="default",fill:p="filled",minWidth:h,iconLeft:m,iconRight:b,color:x}=e,f=typeof o=="number"?"medium":o??"medium",C={small:"caption-2b",medium:"body-3b",large:"body-2b"}[f]??"body-2b",g={small:12,medium:14,large:16}[f]??14,v=Te("badge",`badge--${u}`,`badge--${f}`,p!=="filled"?`badge--${p}`:"",C,n),y=x?.startsWith("--")?`var(${x})`:x,_=h!==void 0||y?{...h!==void 0?{minWidth:typeof h=="number"?`${h}px`:h}:{},...y?{"--badge-color":y}:{}}:void 0;return r.jsxs("span",{className:v,style:_,"aria-label":s?void 0:i,role:i&&!s?"img":void 0,"aria-hidden":s||void 0,children:[m&&r.jsx(Je,{icon:m,size:g,className:"badge__icon"}),c??d,b&&r.jsx(Je,{icon:b,size:g,className:"badge__icon"})]})}var U7=".ihabdevteam-core-scope .tooltip-menu{display:flex;flex-direction:column;gap:var(--spacing-xs);min-width:160px;padding:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-menu__header{align-items:center;border-bottom:1px solid var(--color-darkWhite);display:flex;gap:var(--spacing-xs);height:52px;padding:8px 12px}.ihabdevteam-core-scope .tooltip-menu__title{font-weight:600}.ihabdevteam-core-scope .tooltip-menu__columns{display:flex;gap:var(--spacing-s);padding:4px}.ihabdevteam-core-scope .tooltip-menu__column{display:flex;flex:1;flex-direction:column;gap:var(--spacing-xs);min-width:0}.ihabdevteam-core-scope .tooltip-menu__column-title{color:var(--color-lightGray);margin-bottom:4px}.ihabdevteam-core-scope .tooltip-menu__items{display:flex;flex-direction:column;gap:var(--spacing-l)}.ihabdevteam-core-scope .tooltip-menu--small{gap:2px;min-width:140px}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__items{gap:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__columns{gap:var(--spacing-xs);padding:2px}.ihabdevteam-core-scope .tooltip-menu--small .tooltip-menu__header{height:44px;padding:6px 10px}.ihabdevteam-core-scope .tooltip-menu__separator{background:var(--color-whiteLine);height:1px;margin:4px 0}.ihabdevteam-core-scope .tooltip-menu__item{width:100%}@media (max-width:600px){.ihabdevteam-core-scope .tooltip-menu__columns{flex-direction:column}}";oe(U7);function fr({columns:e=[],onClose:t,className:a="",size:o="medium"}){const{t:n}=Ce.useTranslation(),i=o==="small"?40:48,[s,c]=l.useState([]),d=l.useMemo(()=>{const C=[{title:null,columns:e}];let g=e;for(const v of s){const y=g?.[v.ci]?.items?.[v.ii];if(!y||!Array.isArray(y.children)||!y.children.length)break;g=[{title:null,items:y.children}],C.push({title:y.label||null,columns:g})}return C},[e,s]),u=d[d.length-1],p=d.length-1,h=l.useCallback(()=>c(C=>C.slice(0,Math.max(0,Math.min(C.length,p)-1))),[p]),m=l.useRef(null),b=l.useRef(null),x=d.length;l.useEffect(()=>{b.current||(b.current=document.activeElement);let C=0,g=0;const v=()=>{const y=m.current?.querySelector("button:not([disabled])");if(y&&y.offsetParent){y.focus({preventScroll:!0});return}g++<20&&(C=requestAnimationFrame(v))};return C=requestAnimationFrame(v),()=>cancelAnimationFrame(C)},[x]),l.useEffect(()=>()=>{b.current?.focus?.({preventScroll:!0})},[]);const f=l.useCallback((C,g,v)=>{if(C){if(Array.isArray(C.children)&&C.children.length){c(y=>[...y.slice(0,p),{ci:g,ii:v}]);return}try{typeof C.onClick=="function"&&C.onClick()}catch{}try{C&&C.closeOnSelect&&typeof t=="function"&&t()}catch{}}},[t,p]);return r.jsxs("div",{className:`tooltip-menu tooltip-menu--${o} ${a}`,children:[(d.length>1||u.title)&&r.jsxs("div",{className:"tooltip-menu__header",children:[d.length>1?r.jsx(he,{htmlType:"button",size:i,type:"dot",icon:"chevron-left",ariaLabel:n("common.back","\uB4A4\uB85C"),onClick:h,variant:"transparent-gray",useBorder:!1}):null,r.jsx("div",{className:"tooltip-menu__title button-1",children:u.title})]}),r.jsx("div",{className:"tooltip-menu__columns",ref:m,children:u.columns&&u.columns.map((C,g)=>r.jsxs("div",{className:"tooltip-menu__column",children:[C.title?r.jsx("div",{className:"tooltip-menu__column-title body-3",children:C.title}):null,r.jsx("div",{className:"tooltip-menu__items",children:(C.items||[]).map((v,y)=>r.jsxs(l.Fragment,{children:[v.separatorBefore&&y>0&&r.jsx("div",{className:"tooltip-menu__separator",role:"separator"}),r.jsx(he,{htmlType:"button",className:"tooltip-menu__item",size:i,type:v.label?"bar":"dot",icon:v.selected?"check":v.icon||"none",rightIcon:Array.isArray(v.children)&&v.children.length?"chevron-right":v.badgeCount?r.jsx(_t,{type:"dot",position:"inline",number:Math.min(v.badgeCount,99),size:24,"aria-hidden":!0}):void 0,label:v.label,ariaLabel:v.label&&v.badgeCount&&v.badgeCount>0?n("nav.badgeLabel",{label:v.label,count:v.badgeCount,defaultValue:"{{label}}, {{count}}\uAC1C"}):v.label,onClick:()=>f(v,g,y),selected:v.selected,disabled:v.disabled,showTooltipInfo:v.tooltip||!1,useBorder:!1,align:"left"})]},y))})]},g))})]})}const ug=".content-area";function Cd(e,t="Nav"){try{const a=typeof e=="string"?document.querySelector(e):e?.current??document.querySelector(ug);if(a){a.scrollTop=0;return}const o=document.scrollingElement??document.documentElement;o&&o.scrollHeight<=o.clientHeight&&Ua("nav-scroll-container",`[${t}] \uBCF8\uBB38\uC744 \uB9E8 \uC704\uB85C \uB418\uB3CC\uB9B4 \uD1B5\uC744 \uBABB \uCC3E\uC558\uB2E4(\uAE30\uBCF8 ${ug}) \u2014 \uCC3D\uB3C4 \uAD6C\uB97C \uC218 \uC5C6\uC5B4 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4. scrollContainer \uB85C \uD1B5\uC744 \uC54C\uB824 \uC900\uB2E4.`),window.scrollTo({top:0})}catch{}}const _d=52,Ai=10,pg=e=>e&&e>0?e:0;function yd({items:e=[],activeKey:t,onChange:a,appMode:o,onAppModeChange:n,moreItems:i=[],scrollContainer:s}){const{t:c}=Ce.useTranslation(),d=o==="manager"?"malgwi":"manager",u=o==="manager"?"arrow-left":"arrow-right",p=o==="manager"?c("nav.modeLabelMalgwi","\uB9D0\uADC0"):c("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),h=l.useRef(null),[m,b]=l.useState(0),x=e.length;l.useEffect(()=>{const V=h.current;if(!V)return;const q=()=>{const N=typeof getComputedStyle=="function"?getComputedStyle(V):null,F=V.clientWidth-(parseFloat(N?.paddingLeft??"")||0)-(parseFloat(N?.paddingRight??"")||0),R=V.querySelector(".bottom-nav__left"),W=R?.nextElementSibling,P=(R?.offsetWidth??0)+(R&&W?.classList.contains("bottom-nav__divider")?W.offsetWidth:0);b(Math.max(0,F-P))};if(q(),typeof ResizeObserver>"u")return;const $=new ResizeObserver(q);return $.observe(V),()=>$.disconnect()},[]);const f=_d+1,C=V=>Math.max(0,Math.floor((V+Ai)/(_d+Ai))),g=x*(_d+Ai)-Ai<=m,v=m<=0||i.length===0&&g?x:Math.min(x,C(m-f)),y=m>0&&v<x,_=y?v:x,B=e.slice(0,_),k=e.slice(_),S=y||i.length>0,w=l.useCallback((V,q)=>({position:"fixed",bottom:window.innerHeight-V.top+8,right:window.innerWidth-V.right,zIndex:gn(q)}),[]),A=l.useId(),{open:E,toggle:L,close:z,style:j,triggerRef:I,menuRef:D}=Oo({computeStyle:w,onScroll:"ignore",onResize:"reposition"}),T=l.useCallback((V,q)=>q>0?c("nav.badgeLabel",{label:V,count:q,defaultValue:"{{label}}, {{count}}\uAC1C"}):V,[c]),O=l.useCallback(()=>n?.(d),[n,d]),G=l.useMemo(()=>k.find(V=>!!V.key&&V.key===t)??i.find(V=>V.selected||V.key&&V.key===t),[k,t,i]),Z=l.useMemo(()=>[{items:[...k.map(V=>({label:V.label,icon:V.icon,badgeCount:V.badgeCount,selected:!!V.key&&V.key===t,closeOnSelect:!0,disabled:V.state==="disabled",onClick:()=>{V.state!=="disabled"&&(V.key&&a&&(a(V.key),Cd(s,"BottomNav")),z())}})),...i.map(V=>({label:V.label,icon:V.icon,badgeCount:V.badgeCount,selected:V.selected??(!!V.key&&V.key===t),closeOnSelect:!0,onClick:()=>{V.onClick?.(),z()}}))]}],[k,i,t,a,z]),H=[...k,...i].reduce((V,q)=>V+pg(q.badgeCount),0);return r.jsxs("nav",{className:"bottom-nav",ref:h,"aria-label":c("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[n&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"bottom-nav__left",children:r.jsx(he,{htmlType:"button",size:52,type:"dot",icon:u,ariaLabel:p,className:"bottom-nav-item",onClick:O})}),r.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),r.jsx("div",{className:"bottom-nav__items",children:B.map((V,q)=>{const $=pg(V.badgeCount);return r.jsxs("span",{className:"bottom-nav__slot",children:[r.jsx(he,{htmlType:"button",size:52,type:"dot",icon:V.icon,ariaLabel:T(V.label,$),selected:!!V.key&&V.key===t,disabled:V.state==="disabled",className:"bottom-nav-item",onClick:()=>{V.key&&(a?.(V.key),Cd(s,"BottomNav"))}}),$>0&&r.jsx("span",{"aria-hidden":"true",children:r.jsx(_t,{type:"dot",position:"top-right",number:Math.min($,99),size:24})})]},V.key??`__slot-${q}`)})}),S&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),r.jsx("div",{className:"bottom-nav__right",children:r.jsxs("div",{ref:I,className:"bottom-nav__slot",children:[r.jsx(he,{htmlType:"button",size:52,type:"dot",icon:G?.icon??"ellipsis",ariaLabel:T(G?.label??c("nav.more","\uB354\uBCF4\uAE30"),H),selected:!!G,className:"bottom-nav-item",onClick:L,"aria-expanded":E,"aria-controls":E?A:void 0}),H>0&&r.jsx("span",{"aria-hidden":"true",children:r.jsx(_t,{type:"dot",position:"top-right",number:Math.min(H,99),size:24})}),E&&ca.createPortal(r.jsx("div",{id:A,role:"group","aria-label":c("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:"tooltip-content",style:j,ref:D,children:r.jsx(fr,{columns:Z,onClose:z})}),document.body)]})})]})]})}var q7='.ihabdevteam-core-scope .side-nav__menu{-webkit-overflow-scrolling:touch;background-clip:padding-box;border-left:1px solid transparent;border-right:1px solid transparent;display:flex;flex:1;flex-direction:column;margin-bottom:var(--spacing-s);margin-top:4px;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-left:calc(var(--spacing-s) - 1px);padding-right:calc(var(--spacing-s) - 1px);scrollbar-width:none}.ihabdevteam-core-scope .side-nav__menu::-webkit-scrollbar{display:none}.ihabdevteam-core-scope .side-nav__scroll{height:0;margin-left:calc((var(--spacing-s) - 1px)*-1);margin-right:calc((var(--spacing-s) - 1px)*-1);overflow:visible;pointer-events:none;position:sticky;top:0;z-index:1}.ihabdevteam-core-scope .side-nav__scroll-thumb{background:var(--color-darkWhite);border-radius:3px;pointer-events:auto;position:absolute;right:calc(var(--spacing-s)/2 - 4.5px);touch-action:none;transition:background-color .16s ease,opacity .18s ease;width:6px}.ihabdevteam-core-scope .side-nav__scroll-thumb:before{content:"";inset:0 -4px;position:absolute}.ihabdevteam-core-scope .side-nav__scroll-thumb:active,.ihabdevteam-core-scope .side-nav__scroll-thumb:hover{background:var(--color-lightGray)}.ihabdevteam-core-scope .side-nav__menu-list{display:flex;flex:1 0 auto;flex-direction:column;gap:4px;overflow:visible;padding:0 0 4px}.ihabdevteam-core-scope .side-nav__notification-wrap{display:inline-flex;position:relative;width:-moz-fit-content;width:fit-content}.ihabdevteam-core-scope .side-nav__footer{align-items:stretch;display:flex;flex-direction:column;flex-shrink:0;gap:var(--spacing-s);margin-top:var(--spacing-s);padding:0}.ihabdevteam-core-scope .side-nav__separator{background:var(--color-whiteLine);height:1px;margin:0 var(--spacing-s) var(--spacing-xs)}.ihabdevteam-core-scope .side-nav__separator--short{margin:4px var(--spacing-m);width:var(--spacing-xl)}@media (max-width:767px){.ihabdevteam-core-scope .side-nav__footer,.ihabdevteam-core-scope .side-nav__menu{display:none}}.ihabdevteam-core-scope .side-nav__item{align-items:center;background:transparent;border:none;border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;flex-shrink:0;font-family:var(--font-family);gap:var(--spacing-s);height:52px;justify-content:flex-start;padding:0 var(--spacing-m);text-align:left;width:100%}@keyframes ihabCoreSnSweep{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ihabCoreSnIconBounce{0%{transform:scale(1)}40%{transform:scale(1.12)}to{transform:scale(1)}}.ihabdevteam-core-scope .side-nav__item.active{animation:ihabCoreSnSweep 1s cubic-bezier(.4,0,.2,1) forwards;background:linear-gradient(90deg,var(--color-main) 50%,var(--color-sub) 100%);background-position:0 0;background-size:200% 100%;box-shadow:var(--shadow-button);color:#fff}.ihabdevteam-core-scope .side-nav__item.active .side-nav__icon{animation:ihabCoreSnIconBounce .48s cubic-bezier(.4,0,.2,1) forwards;color:#fff}.ihabdevteam-core-scope .side-nav__icon{align-items:center;color:var(--color-lightGray);display:inline-flex;height:24px;justify-content:center;width:24px}.ihabdevteam-core-scope .side-nav__item.active .circle-badge{background:var(--color-pureWhite);color:var(--color-main)}.ihabdevteam-core-scope .side-nav__item .circle-badge--inline{border:1px solid var(--color-pureWhite)}.ihabdevteam-core-scope .side-nav__icon-wrap{display:inline-flex;flex:0 0 24px;position:relative}.ihabdevteam-core-scope .side-nav__icon{flex:0 0 24px}.ihabdevteam-core-scope .side-nav__icon img{display:block;height:20px;-o-object-fit:contain;object-fit:contain;width:20px}.ihabdevteam-core-scope .side-nav__icon-image{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:contain;display:inline-block;height:20px;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:20px}.ihabdevteam-core-scope .side-nav__item .side-nav__icon img{filter:brightness(0) saturate(0) opacity(.45);transition:filter .16s ease,opacity .16s ease}.ihabdevteam-core-scope .side-nav__item.active .side-nav__icon img{filter:brightness(0) invert(1)}.ihabdevteam-core-scope .side-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .side-nav__item{transition:background-color .16s ease,color .16s ease,transform 80ms ease}.ihabdevteam-core-scope .side-nav__item:focus-visible:not(.active),.ihabdevteam-core-scope .side-nav__item:focus:not(.active),.ihabdevteam-core-scope .side-nav__item:hover:not(.active){background:var(--color-darkWhite)}.ihabdevteam-core-scope .side-nav__item:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .side-nav__item.disabled,.ihabdevteam-core-scope .side-nav__item.disabled:focus,.ihabdevteam-core-scope .side-nav__item.disabled:hover{background:transparent;color:var(--color-lightGray);cursor:default;opacity:.6;pointer-events:none;transform:none}.ihabdevteam-core-scope .side-nav__item.disabled .side-nav__icon{color:var(--color-lightGray)}.ihabdevteam-core-scope .side-nav__item.disabled .side-nav__icon img{filter:none;opacity:.8}.ihabdevteam-core-scope .side-nav__item--child{height:40px;padding-left:30px}.ihabdevteam-core-scope .side-nav__item--child .side-nav__icon{height:20px;width:20px}.ihabdevteam-core-scope .side-nav__item--child .side-nav__label{font-weight:400}';oe(q7);function hg(e){if(typeof e!="string")return!1;let t="";for(const o of e){const n=o.charCodeAt(0);n<=32||n>=127&&n<=159||(t+=o)}if(!t)return!1;const a=/^([a-zA-Z][a-zA-Z0-9+.-]*):/.exec(t);return a?["http","https","mailto","tel"].includes(a[1].toLowerCase()):!0}function mg(e,t,a){return a&&a>0?e("nav.badgeLabel",{label:t,count:a,defaultValue:"{{label}}, {{count}}\uAC1C"}):t}function Y7(e){const{t}=Ce.useTranslation(),{activeKey:a,unreadCount:o,onDebug:n,onNotification:i,onSetting:s,onHelp:c,onFeedback:d,onAccount:u}=e||{},p="default";return n||i||s||c||d||u?r.jsxs("div",{className:"side-nav__footer",children:[n&&r.jsx(he,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"terminal",ariaLabel:t("nav.debug","\uB514\uBC84\uADF8"),onClick:n,selected:a==="debug"}),i&&r.jsxs("span",{className:"side-nav__notification-wrap",children:[r.jsx(he,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"bell",ariaLabel:mg(t,t("nav.notifications","\uC54C\uB9BC"),o),onClick:i,selected:a==="notifications"}),!!o&&o>0&&r.jsx(_t,{type:"dot",number:Math.min(o,99),size:24,"aria-hidden":!0})]}),s&&r.jsx(he,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"settings",ariaLabel:t("nav.settings","\uC124\uC815"),onClick:s,selected:a==="settings"}),c&&r.jsx(he,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"message-circle-question-mark",ariaLabel:t("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:c,selected:a==="help"}),d&&r.jsx(he,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"bug",ariaLabel:t("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:d,selected:a==="feedback"}),u&&r.jsx(he,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:p,icon:"user-round",ariaLabel:t("nav.account","\uACC4\uC815"),onClick:u,selected:a==="account"})]}):null}function bg(e){const{t}=Ce.useTranslation(),{item:a,itemKey:o,label:n,icon:i,active:s,onClick:c,style:d,state:u,labelStyle:p}=e||{},h=a?.key??o??"",m=a?.label??n??"",b=a?.icon??i??"",x=a?.badge??0,f=r.jsx("span",{className:"side-nav__icon-wrap",children:r.jsx(Je,{icon:b,label:typeof m=="string"?m:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),C=u==="disabled",g=`side-nav__item ${s?"active":""} ${u||""} ${C?"disabled":""} ${a?.child?"side-nav__item--child":""}`,v=l.useCallback(y=>{if(C)return;const _=y.detail>0;if(_)try{y.currentTarget.blur()}catch{}c?.(h,y.currentTarget,_)},[C,h,c]);return r.jsxs("button",{type:"button",className:g,onClick:v,"aria-label":typeof m=="string"?mg(t,m,x):void 0,"aria-current":s?"page":void 0,style:d,"aria-disabled":C,children:[f,r.jsx("span",{className:"side-nav__label button-1 f",style:p,children:m}),x>0&&r.jsx(_t,{type:"dot",position:"inline",number:Math.min(x,99),size:24,"aria-hidden":!0}),u==="loading"&&r.jsx("span",{className:"side-nav__spinner",role:"img","aria-label":t("loader.loading","\uBD88\uB7EC\uC624\uB294 \uC911\u2026")})]})}function wd(e){const{t}=Ce.useTranslation(),{items:a=[],activeKey:o,onChange:n,unreadCount:i,onDebug:s,onNotification:c,onAccount:d,onSetting:u,onHelp:p,onFeedback:h,appMode:m,onAppModeChange:b,scrollContainer:x}=e||{},f=m==="manager",C=l.useCallback(()=>b?.(f?"malgwi":"manager"),[b,f]),g=l.useRef(null),[v,y]=l.useState(null);l.useEffect(()=>{const w=g.current;if(!w)return;const A=()=>{const{scrollHeight:L,clientHeight:z,scrollTop:j}=w;if(L<=z+1){y(null);return}const I=Math.max(24,z/L*z),D=z-I,T=L-z;y({top:Math.round(j/T*D),height:Math.round(I)})};A(),w.addEventListener("scroll",A,{passive:!0});const E=typeof ResizeObserver<"u"?new ResizeObserver(A):null;E?.observe(w);for(const L of Array.from(w.children))E?.observe(L);return()=>{w.removeEventListener("scroll",A),E?.disconnect()}},[a]);const _=l.useRef(null),B=l.useCallback(w=>{const A=g.current;A&&(w.preventDefault(),_.current={y:w.clientY,top:A.scrollTop},w.currentTarget.setPointerCapture(w.pointerId))},[]),k=l.useCallback(w=>{const A=g.current,E=_.current;!A||!E||(A.scrollTop=E.top+(w.clientY-E.y)*(A.scrollHeight/A.clientHeight))},[]),S=l.useCallback(w=>{_.current=null,w.currentTarget.hasPointerCapture(w.pointerId)&&w.currentTarget.releasePointerCapture(w.pointerId)},[]);return r.jsxs("nav",{ref:g,"aria-label":t("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[v&&r.jsx("div",{className:"side-nav__scroll","aria-hidden":"true",children:r.jsx("div",{className:"side-nav__scroll-thumb",style:{top:v.top,height:v.height},onPointerDown:B,onPointerMove:k,onPointerUp:S,onPointerCancel:S})}),r.jsxs("div",{className:"side-nav__menu-list",children:[(a||[]).filter(w=>!w.section&&(w.key||w.label)).map((w,A)=>r.jsxs(l.Fragment,{children:[w.divider&&r.jsx("div",{className:"side-nav__separator"}),r.jsx(bg,{item:w,active:!!w.key&&w.key===o,state:w.disabled?"disabled":void 0,onClick:(E,L,z)=>{if(w.disabled)return;if(w.href){if(hg(w.href)&&window.open(w.href,"_blank","noopener,noreferrer"),z)try{L?.blur()}catch{}return}if(n?.(w.key),Cd(x,"SideNav"),!z)return;try{L?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const j=document.querySelector(".header");if(j){const I=typeof j.matches=="function";if(!(window.matchMedia("(hover: hover)").matches&&I&&j.matches(":hover"))){j.classList.add("header--force-collapsed");const D=()=>{j.classList.remove("header--force-collapsed"),j.removeEventListener("mouseenter",D)};j.addEventListener("mouseenter",D)}}}})]},w.key??`side-nav__item-${A}`)),b&&r.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),b&&r.jsx(bg,{item:{key:"__mode-switch__",label:f?t("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"):t("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"),icon:f?"arrow-left":"arrow-right"},onClick:C})]}),r.jsx(Y7,{activeKey:o,unreadCount:i,onDebug:s,onNotification:c,onAccount:d,onSetting:u,onHelp:p,onFeedback:h})]})}var Si='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2080_3066)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="black"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="black"/>%0A<path d="M46.4288 17.8571H25.0002C15.138 17.8571 7.14307 25.852 7.14307 35.7143V57.1428C7.14307 67.0051 15.138 75 25.0002 75H46.4288C56.291 75 64.2859 67.0051 64.2859 57.1428V35.7143C64.2859 25.852 56.291 17.8571 46.4288 17.8571Z" fill="%234DCDC0"/>%0A<path d="M34.8607 50.7393C25.8285 60.6821 10.6142 61.6678 0.385667 53.1643C-0.0821902 52.775 -0.13219 52.0678 0.278524 51.6178L16.3535 33.925L34.8607 50.7393Z" fill="%234DCDC0"/>%0A<path d="M53.5714 25H32.1428C22.2821 25 14.2856 32.9964 14.2856 42.8571V64.2857C14.2856 74.1464 22.2821 82.1429 32.1428 82.1429H48.2535C49.2178 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7214 51.8928 85.6321C62.8392 84.675 71.4285 75.4821 71.4285 64.2857V42.8571C71.4285 32.9964 63.4321 25 53.5714 25Z" fill="%234DCDC0"/>%0A<path d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23499CDF"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="white"/>%0A<path d="M36.0715 57.1429C35.0287 57.1429 33.9822 56.875 33.0358 56.3286C32.1822 55.8357 31.8894 54.7429 32.3858 53.8893C32.8787 53.0357 33.9715 52.7429 34.8251 53.2393C35.8037 53.8036 37.043 53.6429 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3536 40.4322 35.9107 37.5072 35.7286C36.5215 35.6679 35.5715 35.8464 34.693 36.2679C33.8037 36.6929 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0429C34.5751 32.3714 36.1537 32.0679 37.7322 32.1643C42.4894 32.4607 46.3072 36.4286 46.4251 41.1964C46.4822 43.5286 45.6715 45.7786 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9357C41.8965 53.2464 41.3037 54.4357 40.368 55.375C39.2001 56.5429 37.6465 57.15 36.0751 57.15L36.0715 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2080_3066">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',kd='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7374)">%0A<path d="M237.151 26.0393V72.7214H216.65V26.0393H237.151ZM234.408 70.0464V28.7179H219.254V70.0464H234.408ZM261.495 76.3607H258.819V48.9679H247.575V75.4679H244.899V23.9821H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3607Z" fill="black"/>%0A<path d="M299.722 69.2571C302.076 68.775 304.031 68.1464 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.789 72.0357C297.435 72.4929 295.045 72.7214 292.623 72.7214H272.257V25.6964H275V69.975H292.623C294.998 69.975 297.364 69.7357 299.722 69.2536V69.2571ZM311.69 76.4321V23.6393H314.433V76.3643L311.69 76.4321Z" fill="black"/>%0A<path d="M340.556 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.329 62.2643 333.632 65.925C330.935 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.33 63.1107C334.617 59.3572 336.354 54.5179 337.542 48.5893C338.73 42.6643 339.369 36.0393 339.461 28.7143H324.992V26.0357H356.602V28.7143H342.201C342.155 35.9 341.605 42.3072 340.556 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="black"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="black"/>%0A<path d="M181.886 47.8714V57.275C179.097 58.5571 174.73 59.1964 168.791 59.1964H168.174V76.3607H158.299V59.1964H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8714H181.886ZM148.971 34.2786V24.875H177.634V47.05H167.76V34.2821H148.971V34.2786ZM194.64 76.3607H184.765V23.6393H194.64V76.3643V76.3607Z" fill="black"/>%0A<path d="M48.1549 17.8571H26.7511C16.9002 17.8571 8.91455 25.852 8.91455 35.7143V57.1428C8.91455 67.0051 16.9002 75 26.7511 75H48.1549C58.0058 75 65.9915 67.0051 65.9915 57.1428V35.7143C65.9915 25.852 58.0058 17.8571 48.1549 17.8571Z" fill="%234DCDC0"/>%0A<path d="M36.6007 50.7393C27.579 60.6821 12.3823 61.6678 2.1655 53.1643C1.69818 52.775 1.64824 52.0678 2.05848 51.6178L18.1149 33.925L36.6007 50.7393Z" fill="%234DCDC0"/>%0A<path d="M55.2897 25H33.8859C24.0365 25 16.0493 32.9964 16.0493 42.8571V64.2857C16.0493 74.1464 24.0365 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7214 53.6131 85.6321C64.5469 84.675 73.1262 75.4821 73.1262 64.2857V42.8571C73.1262 32.9964 65.139 25 55.2897 25Z" fill="%234DCDC0"/>%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23499CDF"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="white"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7374">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',K7='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65214)">%0A<path d="M57.1427 17.8571H35.7141C25.8518 17.8571 17.8569 25.852 17.8569 35.7143V57.1428C17.8569 67.0051 25.8518 75 35.7141 75H57.1427C67.0049 75 74.9998 67.0051 74.9998 57.1428V35.7143C74.9998 25.852 67.0049 17.8571 57.1427 17.8571Z" fill="%234DCDC0"/>%0A<path d="M45.575 50.7393C36.5429 60.6821 21.3286 61.6678 11.1 53.1643C10.6322 52.775 10.5822 52.0678 10.9929 51.6178L27.0679 33.925L45.575 50.7393Z" fill="%234DCDC0"/>%0A<path d="M64.2857 25H42.8571C32.9964 25 25 32.9964 25 42.8571V64.2857C25 74.1464 32.9964 82.1429 42.8571 82.1429H58.9679C59.9321 82.1429 60.7143 82.925 60.7143 83.8893C60.7143 84.9107 61.5893 85.7214 62.6071 85.6321C73.5536 84.675 82.1429 75.4821 82.1429 64.2857V42.8571C82.1429 32.9964 74.1464 25 64.2857 25Z" fill="%234DCDC0"/>%0A<path d="M35.7143 25C29.7964 25 25 29.7964 25 35.7143V64.2857C25 67.3786 25.7893 70.2893 27.1714 72.8286C29.7071 74.2143 32.6179 75 35.7143 75H64.2857C70.2036 75 75 70.2036 75 64.2857V35.7143C75 32.6214 74.2107 29.7107 72.8286 27.1714C70.2929 25.7857 67.3821 25 64.2857 25H35.7143Z" fill="%23499CDF"/>%0A<path d="M36.0714 40.7143C36.0714 39.5308 35.112 38.5714 33.9285 38.5714C32.745 38.5714 31.7856 39.5308 31.7856 40.7143V45C31.7856 46.1834 32.745 47.1428 33.9285 47.1428C35.112 47.1428 36.0714 46.1834 36.0714 45V40.7143Z" fill="white"/>%0A<path d="M46.7859 57.1429C45.743 57.1429 44.6966 56.875 43.7502 56.3286C42.8966 55.8357 42.6037 54.7429 43.1002 53.8893C43.593 53.0357 44.6859 52.7429 45.5395 53.2393C46.518 53.8036 47.7573 53.6429 48.5537 52.8464C48.9395 52.4607 49.1823 51.9714 49.2573 51.4357C49.5787 49.1607 50.5823 47 52.1645 45.1857C53.1073 44.1071 53.6037 42.7214 53.568 41.2857C53.493 38.3536 51.1466 35.9107 48.2216 35.7286C47.2359 35.6679 46.2859 35.8464 45.4073 36.2679C44.5145 36.6929 43.4502 36.3107 43.0287 35.4214C42.6037 34.5321 42.9859 33.4643 43.8752 33.0429C45.2895 32.3714 46.868 32.0679 48.4466 32.1643C53.2002 32.4607 57.0216 36.4286 57.1395 41.1964C57.1966 43.5286 56.3859 45.7786 54.8573 47.5357C53.7323 48.825 53.018 50.3464 52.7966 51.9357C52.6109 53.2464 52.018 54.4357 51.0823 55.375C49.9145 56.5429 48.3609 57.15 46.7895 57.15L46.7859 57.1429Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2175_65214">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',Z7='.ihabdevteam-core-scope .header{background:var(--color-deepWhite);border-left:1px solid var(--color-whiteLine);border-right:1px solid var(--color-whiteLine);bottom:0;display:flex;flex-direction:column;isolation:isolate;left:0;overflow:visible;overscroll-behavior:none;position:fixed;top:0;z-index:var(--z-sidebar)}.ihabdevteam-core-scope .header__menu-button{background:transparent;border:none;display:none;position:relative}.ihabdevteam-core-scope .header__bottom{align-items:center;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);bottom:0;display:flex;height:56px;justify-content:center;left:0;padding:0;padding-bottom:calc(var(--spacing-content) + env(safe-area-inset-bottom));position:fixed;right:0}.ihabdevteam-core-scope .header__category-button{background:transparent;border:none}.ihabdevteam-core-scope .header:before{background:linear-gradient(160deg,var(--color-main) 0,var(--color-sub) 100%);content:"";inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .2s ease;z-index:-1}.ihabdevteam-core-scope .header--manager{border-right-color:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .header--manager:before{opacity:1}.ihabdevteam-core-scope .header--manager .side-nav__separator{background:hsla(0,0%,100%,.25)}.ihabdevteam-core-scope .header--manager .side-nav__scroll-thumb{background:hsla(0,0%,100%,.4)}.ihabdevteam-core-scope .header--manager .side-nav__scroll-thumb:active,.ihabdevteam-core-scope .header--manager .side-nav__scroll-thumb:hover{background:hsla(0,0%,100%,.75)}.ihabdevteam-core-scope .header--manager .side-nav__icon,.ihabdevteam-core-scope .header--manager .side-nav__item,.ihabdevteam-core-scope .header--manager .side-nav__item.disabled,.ihabdevteam-core-scope .header--manager .side-nav__item.disabled .side-nav__icon{color:var(--color-deepWhite)}.ihabdevteam-core-scope .header--manager .side-nav__item:focus:not(.active),.ihabdevteam-core-scope .header--manager .side-nav__item:hover:not(.active){background:hsla(0,0%,100%,.15);color:#fff}.ihabdevteam-core-scope .header--manager .side-nav__item:focus:not(.active) .side-nav__icon,.ihabdevteam-core-scope .header--manager .side-nav__item:hover:not(.active) .side-nav__icon{color:#fff}.ihabdevteam-core-scope .header--manager .side-nav__item.active{animation:ihabCoreSnSweep 1s cubic-bezier(.4,0,.2,1) forwards;background:linear-gradient(90deg,var(--color-pureWhite) 50%,color-mix(in srgb,var(--color-main) 50%,#fff) 100%);background-position:0 0;background-size:200% 100%;box-shadow:var(--shadow-card);color:var(--color-darkGray)}.ihabdevteam-core-scope .header--manager .side-nav__item.active .side-nav__icon{animation:ihabCoreSnIconBounce .48s cubic-bezier(.4,0,.2,1) forwards;color:var(--color-lightGray)}.ihabdevteam-core-scope .header--manager .side-nav__item.active .side-nav__icon img{filter:none;opacity:1}.ihabdevteam-core-scope .header--manager .side-nav__footer [role=button],.ihabdevteam-core-scope .header--manager .side-nav__footer button{color:hsla(0,0%,100%,.55)}@media (min-width:1024px){.ihabdevteam-core-scope .header{width:220px}.ihabdevteam-core-scope .header__bottom,.ihabdevteam-core-scope .header__menu-button{display:none}}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .header{overflow:visible;transition:width .18s ease;width:72px}.ihabdevteam-core-scope .header:focus-within,.ihabdevteam-core-scope .header:hover{width:220px}.ihabdevteam-core-scope .header.header--force-collapsed,.ihabdevteam-core-scope .header.header--force-collapsed:focus-within,.ihabdevteam-core-scope .header.header--force-collapsed:hover{width:72px}.ihabdevteam-core-scope .header__branding{height:80px}.ihabdevteam-core-scope .header .side-nav__menu{scrollbar-gutter:auto;scrollbar-width:none;transition:padding .18s ease}.ihabdevteam-core-scope .header .side-nav__menu::-webkit-scrollbar{display:none}.ihabdevteam-core-scope .header .side-nav__item{transition:padding .18s ease,gap .18s ease,width .18s ease}.ihabdevteam-core-scope .header .side-nav__label{display:inline-block;overflow:hidden;transition:max-width .18s ease,opacity .18s ease,transform .18s ease;white-space:nowrap}.ihabdevteam-core-scope .header--force-collapsed .side-nav__menu,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .side-nav__menu{padding:0 var(--spacing-xs)}.ihabdevteam-core-scope .header--force-collapsed .side-nav__item,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .side-nav__item{border-radius:var(--radius-card);gap:0;margin:0 auto;padding:0 14px;position:relative;width:52px}.ihabdevteam-core-scope .header--force-collapsed .side-nav__item>.circle-badge,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .side-nav__item>.circle-badge{border:1px solid var(--color-pureWhite);position:absolute;right:0;top:0}.ihabdevteam-core-scope .header--force-collapsed .side-nav__footer,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .side-nav__footer{align-items:center}.ihabdevteam-core-scope .header--force-collapsed .side-nav__separator--short,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .side-nav__separator--short{margin-left:auto;margin-right:auto}.ihabdevteam-core-scope .header--force-collapsed .side-nav__label,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .side-nav__label{max-width:0;opacity:0;pointer-events:none;transform:translateX(-6px)}.ihabdevteam-core-scope .header--force-collapsed .brand-identity__image--symbol,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .brand-identity__image--symbol{display:block}.ihabdevteam-core-scope .header--force-collapsed .brand-identity__image--logo,.ihabdevteam-core-scope .header:not(:hover):not(:focus-within) .brand-identity__image--logo{display:none}}@media (max-width:767px){.ihabdevteam-core-scope .header{align-items:center;border-bottom:1px solid var(--color-whiteLine);border-left:none;border-right:none;flex-direction:row;height:64px;justify-content:space-between;left:0;position:fixed;right:0;top:0;width:100%}.ihabdevteam-core-scope .header__top{align-items:center;display:flex;flex:1}.ihabdevteam-core-scope .header__branding{height:auto}.ihabdevteam-core-scope .header__menu-button{display:inline-flex}.ihabdevteam-core-scope .header__bi{align-items:center;display:flex;gap:var(--spacing-xs);padding:0 calc(12px + env(safe-area-inset-right)) 0 calc(12px + env(safe-area-inset-left));width:100%}.ihabdevteam-core-scope .header__bi .header__menu-button{margin-left:auto}.ihabdevteam-core-scope .header__bottom{display:none}}.ihabdevteam-core-scope .brand-identity__root{align-items:center;display:flex;height:100px;justify-content:center}.ihabdevteam-core-scope .brand-identity__image{height:48px;-o-object-fit:contain;object-fit:contain;width:auto}.ihabdevteam-core-scope .brand-identity__image--symbol{display:none}@media (min-width:1024px){.ihabdevteam-core-scope .brand-identity__root{height:100px}}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .brand-identity__root{height:100px}}@media (max-width:767px){.ihabdevteam-core-scope .brand-identity__root{height:64px;padding:10px}.ihabdevteam-core-scope .brand-identity__image{height:40px}}';oe(Z7);function Bd({appMode:e}){const{t}=Ce.useTranslation(),a=e==="manager",o=a?kd:Si,n=K7;return r.jsxs("div",{className:"brand-identity__root","aria-label":t("header.biArea","BI \uC601\uC5ED"),children:[r.jsx("img",{src:n,alt:t("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image brand-identity__image--symbol"}),r.jsx("img",{src:o,alt:a?t("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):t("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),className:"brand-identity__image brand-identity__image--logo"})]})}function Ad({activeKey:e,onChange:t,items:a,malgwiItems:o,managerItems:n,unreadCount:i,onDebug:s,onNotification:c,onAccount:d,onSetting:u,onHelp:p,onFeedback:h,appMode:m,onAppModeChange:b,scrollContainer:x}){const{t:f}=Ce.useTranslation(),C=na("(max-width: 767px)"),g=l.useMemo(()=>(a??[]).filter(j=>!j.section&&(j.key||j.label)).map(j=>({key:j.key,label:typeof j.label=="string"?j.label:void 0,icon:j.icon,state:j.disabled?"disabled":void 0,badgeCount:j.badge})),[a]),v=l.useCallback(j=>{const I=a?.find(D=>D.key===j);if(!I?.disabled){if(I?.href){hg(I.href)&&window.open(I.href,"_blank","noopener,noreferrer");return}t?.(j)}},[a,t]),y=l.useMemo(()=>{const j=[];return s&&j.push({key:"debug",icon:"terminal",label:f("nav.debug","\uB514\uBC84\uADF8"),onClick:s}),c&&j.push({key:"notifications",icon:"bell",label:f("nav.notifications","\uC54C\uB9BC"),badgeCount:i,onClick:c}),u&&j.push({key:"settings",icon:"settings",label:f("nav.settings","\uC124\uC815"),onClick:u}),p&&j.push({key:"help",icon:"message-circle-question-mark",label:f("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:p}),h&&j.push({key:"feedback",icon:"bug",label:f("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:h}),d&&j.push({key:"account",icon:"user-round",label:f("nav.account","\uACC4\uC815"),onClick:d}),j},[f,s,c,u,p,h,d,i]),_=l.useCallback((j,I)=>({position:"fixed",top:j.bottom+8,right:Math.max(8,window.innerWidth-j.right),zIndex:gn(I)}),[]),B=l.useId(),{open:k,toggle:S,close:w,style:A,triggerRef:E,menuRef:L}=Oo({computeStyle:_,onScroll:"ignore",onResize:"reposition"}),z=l.useMemo(()=>[{items:y.map(j=>({label:j.label,icon:j.icon,badgeCount:j.badgeCount,selected:j.selected??(!!j.key&&j.key===e),closeOnSelect:!0,onClick:()=>{j.onClick?.(),w()}}))}],[y,e,w]);return r.jsxs("aside",{className:`header${m==="manager"?" header--manager":""}`,children:[r.jsxs("div",{className:"header__bi",children:[r.jsx(Bd,{appMode:m}),r.jsxs("div",{className:"header__menu-button",ref:E,children:[r.jsx(he,{htmlType:"button",size:48,type:"dot",shape:"pill",variant:"default",useBorder:!1,icon:"menu",ariaLabel:c&&i&&i>0?f("nav.badgeLabel",{label:f("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),count:i,defaultValue:"{{label}}, {{count}}\uAC1C"}):f("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:S,"aria-expanded":k,"aria-controls":k?B:void 0}),!!c&&!!i&&i>0&&r.jsx(_t,{type:"dot",number:Math.min(i,99),size:24,"aria-hidden":!0}),k&&ca.createPortal(r.jsx("div",{id:B,role:"group","aria-label":f("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:"tooltip-content",style:A,ref:L,children:r.jsx(fr,{columns:z,onClose:w})}),document.body)]})]}),r.jsx(wd,{scrollContainer:x,items:a,activeKey:e??void 0,onChange:t,unreadCount:i,onDebug:s,onNotification:c,onAccount:d,onSetting:u,onHelp:p,onFeedback:h,appMode:m,onAppModeChange:b}),C&&r.jsx(yd,{items:g,activeKey:e??void 0,onChange:v,scrollContainer:x,appMode:m,onAppModeChange:b})]})}const gg=Ad;var X7='.ihabdevteam-core-scope .payment-plan__card{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;display:flex;flex:1 1 340px;flex-direction:column;gap:28px;max-width:360px;min-width:min(340px,100%);padding:20px;position:relative;text-align:left;transition:box-shadow .2s ease,transform .2s ease;width:100%}.ihabdevteam-core-scope .payment-plan__card:hover{box-shadow:var(--shadow-dropdown);transform:translateY(-4px)}.ihabdevteam-core-scope .payment-plan__card-badge{position:absolute;right:32px;top:32px}.ihabdevteam-core-scope .payment-plan__pricing-card{cursor:pointer;display:flex;justify-content:center}.ihabdevteam-core-scope .payment-plan__title{color:var(--color-black);display:flex;flex-direction:column;margin:0}.ihabdevteam-core-scope .payment-plan__quote{color:var(--color-sub);margin:0 0 4px;min-height:1.4em}.ihabdevteam-core-scope .payment-plan__title-heading{margin:0}.ihabdevteam-core-scope .payment-plan__subtitle{color:var(--color-gray);line-height:1.5;margin:8px 0 0;text-align:left}.ihabdevteam-core-scope .payment-plan__box,.ihabdevteam-core-scope .payment-plan__box-title{display:block}.ihabdevteam-core-scope .payment-plan__contact-button{width:100%}.ihabdevteam-core-scope .payment-plan__feature-list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:12px 0 0;padding:0}.ihabdevteam-core-scope .payment-plan__feature-item{align-items:center;color:var(--color-darkGray);display:flex;gap:10px;line-height:1.45}.ihabdevteam-core-scope .payment-plan__feature-check{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center}.ihabdevteam-core-scope .payment-plan__card-pricing{display:flex;flex-direction:column;gap:6px;margin-top:auto;text-align:left;width:100%}.ihabdevteam-core-scope .payment-plan__pricing-list{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .payment-plan__pricing-row{grid-row-gap:4px;align-items:center;background:var(--plan-color,var(--color-darkWhite));border:1px solid transparent;border-radius:var(--radius-s);box-sizing:border-box;color:#fff;cursor:pointer;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:14px 18px;row-gap:4px;transition:filter .15s ease,transform .15s ease,box-shadow .15s ease;width:100%}.ihabdevteam-core-scope .payment-plan__pricing-row--static{cursor:default;pointer-events:none}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight{background:var(--color-white);border:1px solid var(--plan-color,var(--color-main));color:var(--color-darkGray)}.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-current,.ihabdevteam-core-scope .payment-plan__pricing-row--highlight .payment-plan__pricing-row-price{color:var(--plan-color,var(--color-main))}.ihabdevteam-core-scope .payment-plan__pricing-row:hover{box-shadow:var(--shadow-dropdown);filter:brightness(1.04);transform:translateY(-2px)}.ihabdevteam-core-scope .payment-plan__pricing-row-title{display:contents}.ihabdevteam-core-scope .payment-plan__pricing-row-label{grid-column:1;grid-row:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-row-price{align-items:center;color:#fff;display:flex;gap:var(--spacing-xs);grid-column:1/-1;grid-row:2;justify-content:flex-end;margin:0;text-align:right}.ihabdevteam-core-scope .payment-plan__pricing-current{color:#fff;margin:0;white-space:nowrap}.ihabdevteam-core-scope .payment-plan__pricing-symbol{font-weight:600;margin-right:2px}.ihabdevteam-core-scope .payment-plan__list{grid-gap:var(--spacing-l);align-items:stretch;display:grid;gap:var(--spacing-l);grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),360px));justify-content:center;margin:0 auto var(--spacing-page);width:100%}.ihabdevteam-core-scope .payment-plan__list>.payment-plan__card{align-self:stretch}.ihabdevteam-core-scope .payment-plan__card.recommended{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .payment-plan__feature{align-items:center;color:var(--color-darkGray);display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .payment-plan__feature:before{color:var(--color-success);content:"\u2713";font-weight:700}@media (max-width:767px){.ihabdevteam-core-scope .payment-plan__list{align-items:center;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .payment-plan__list>.payment-plan__card{align-self:center;flex:none;max-width:360px;width:100%}}';oe(X7);const J7=()=>bt.t("passCard.planSuffix","\uC774\uC6A9\uAD8C");function fg(e){if(!(e==null||e==="")){if(typeof e=="string"&&/^\s*\d[\d,]*\s*$/.test(e)){const t=Number(e.replace(/[,\s]/g,""));if(Number.isFinite(t))return lr(`${t.toLocaleString("ko-KR")}\uC6D0`)}return lr(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}}function Q7(e){const t=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(t)?"manager":"speechear"}function ek(e){if(e.durationDays&&e.durationDays>0){const i=e.durationDays;return i%365===0?`${i/365}\uB144`:`${i}\uC77C`}const t=(e.code??"").match(/(\d+)(d|y)\b/i);if(t)return t[2].toLowerCase()==="y"?`${t[1]}\uB144`:`${t[1]}\uC77C`;const a=e.name??"",o=a.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);if(o)return o[1].replace(/\s+/g,"");const n=a.match(/(\d+)\s*-?\s*(day|year)s?\b/i);return n?n[2].toLowerCase()==="year"?`${n[1]}\uB144`:`${n[1]}\uC77C`:a||J7()}function tk(e){const t=(e??"").match(/(\d+)(d|y)\b/i);if(!t)return null;const a=Number(t[1]);return t[2].toLowerCase()==="y"?a*365:a}function Sd(e){return{type:e.type??Q7(e),plan:ek(e),label:e.label,price:fg(e.price),originalPrice:fg(e.originalPrice),discountLabel:e.discountLabel}}var ak='.ihabdevteam-core-scope .pass-card-frame{container-type:inline-size;height:188px;max-width:100%;width:300px}.ihabdevteam-core-scope .pass-card{border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;height:188px;overflow:hidden;padding:var(--spacing-l);position:relative;width:300px}.ihabdevteam-core-scope .pass-card-frame>.pass-card{aspect-ratio:auto;border-radius:5.33cqw;height:100%;padding:6.67cqw;width:100%}.ihabdevteam-core-scope .pass-card--clickable{cursor:pointer}@media (max-width:360px){.ihabdevteam-core-scope .pass-card,.ihabdevteam-core-scope .pass-card-frame{max-width:300px;width:100%}}.ihabdevteam-core-scope .pass-card--active{box-shadow:0 4px 16px rgba(0,0,0,.08)}.ihabdevteam-core-scope .pass-card--pending{box-shadow:0 2px 8px rgba(0,0,0,.05)}.ihabdevteam-core-scope .pass-card--expired{--color-main:var(--color-disabled);--color-sub:var(--color-whiteLine);--pass-card-expired-shape:var(--color-whiteLine);box-shadow:none}.ihabdevteam-core-scope [data-theme=dark] .pass-card--expired,.ihabdevteam-core-scope[data-theme=dark] .pass-card--expired,[data-theme=dark] .pass-card--expired .ihabdevteam-core-scope{--pass-card-expired-shape:hsla(0,0%,100%,.18)}@media (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark]) .pass-card--expired{--pass-card-expired-shape:hsla(0,0%,100%,.18)}}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg{background:var(--color-darkWhite)}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg__symbol{background:var(--pass-card-expired-shape)}.ihabdevteam-core-scope .pass-card--expired .pass-card__copyright,.ihabdevteam-core-scope .pass-card--expired .pass-card__plan,.ihabdevteam-core-scope .pass-card--expired .pass-card__price-area,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage-percent,.ihabdevteam-core-scope .pass-card--expired .pass-card__usage-remaining{color:var(--color-gray)}.ihabdevteam-core-scope .pass-card.pass-card--expired:after{box-shadow:inset 1px 1px 0 hsla(0,0%,100%,.5),inset -1px -1px 0 color-mix(in srgb,var(--color-gray) 10%,transparent)}.ihabdevteam-core-scope .pass-card:after{border-radius:inherit;box-shadow:inset 1px 1px 0 hsla(0,0%,100%,.5),inset -1px -1px 0 rgba(73,156,223,.2);content:"";inset:0;pointer-events:none;position:absolute;z-index:2}.ihabdevteam-core-scope .pass-card__top{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;margin-top:-1.67cqw;position:relative;z-index:1}.ihabdevteam-core-scope .pass-card__top-left{align-items:flex-start;display:flex;flex-direction:column;gap:0}.ihabdevteam-core-scope .pass-card__logo{height:10.67cqw;-o-object-fit:contain;object-fit:contain;width:auto}.ihabdevteam-core-scope .pass-card__plan{color:var(--pass-card-text,var(--color-pureBlack));display:flex;flex-direction:column;gap:0;margin-top:-.67cqw;position:relative;text-align:left;z-index:1}.ihabdevteam-core-scope .pass-card__plan .h0{font-size:13.33cqw;line-height:1.3}.ihabdevteam-core-scope .pass-card .pass-card__plan-number{font-size:17.33cqw;letter-spacing:-1cqw;line-height:1}.ihabdevteam-core-scope .pass-card__plan .h5b{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__plan-unit{margin-left:.67cqw;position:relative;top:-.67cqw}.ihabdevteam-core-scope .pass-card__plan-suffix{margin-left:.67cqw;margin-top:0}.ihabdevteam-core-scope .pass-card .pass-card__copyright{color:var(--pass-card-text,var(--color-black));font-size:3.67cqw;line-height:1.36;margin:auto 0 0;position:relative;text-align:left;z-index:1}.ihabdevteam-core-scope .pass-card__price-area{align-items:flex-end;bottom:4.67cqw;display:flex;flex-direction:column;gap:0;position:absolute;right:6.67cqw;z-index:1}.ihabdevteam-core-scope .pass-card__price-area .h1{font-size:10.67cqw;line-height:1.375}.ihabdevteam-core-scope .pass-card__price-area .h5{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__usage{align-items:flex-end;bottom:4.67cqw;color:var(--pass-card-text,var(--color-black));display:flex;flex-direction:column;gap:0;position:absolute;right:6.67cqw;z-index:1}.ihabdevteam-core-scope .pass-card__usage-percent{align-items:baseline;display:inline-flex;font-size:3.67cqw;gap:0;line-height:1.36;opacity:.9}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-remaining{font-size:5cqw;line-height:1.53;opacity:.9}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-value{font-size:10.67cqw;line-height:1.2}.ihabdevteam-core-scope .pass-card__usage .pass-card__usage-symbol{font-size:5cqw;line-height:1.53}.ihabdevteam-core-scope .pass-card__discount{color:var(--pass-card-text,var(--color-pureBlack));font-size:4.67cqw;line-height:1.2;text-align:right;white-space:pre-line}.ihabdevteam-core-scope .pass-card__price{align-items:baseline;color:var(--pass-card-text,var(--color-pureBlack));display:inline-flex;gap:2cqw;text-align:right}.ihabdevteam-core-scope .pass-card__price-original{color:color-mix(in srgb,var(--pass-card-text,var(--color-pureBlack)) 75%,transparent);font-size:4.67cqw;line-height:1.57;text-decoration:line-through;text-decoration-thickness:1px}';oe(ak);var ok='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7326)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23FAFAFA"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23FAFAFA"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23FAFAFA"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23FAFAFA"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7326">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',rk='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 200 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="200" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M96.43,48.35v-24.1h30.62v24.1h-30.62ZM142.98,69.15v7.21h-44.76v-15.72h34.46v-2.13h-34.6v-7.21h44.35v15.72h-34.33v2.13h34.88,0ZM106.25,32.56v7.41h11.05v-7.41h-11.05ZM148.33,40.39h-5.9v9.06h-9.89v-25.81h9.89v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M185.54,47.87v9.4c-2.79,1.28-7.16,1.92-13.11,1.92h-.62v17.16h-9.89v-17.16h-12.22v-9.4h22.86c5.86,0,10.18-.64,12.98-1.92h0ZM152.59,34.28v-9.4h28.7v22.17h-9.89v-12.77h-18.81ZM198.31,76.36h-9.89V23.64h9.89v52.73h0Z"/>%0A <path class="st1" d="M46.43,17.86h-21.43c-9.86,0-17.86,7.99-17.86,17.86v21.43c0,9.86,7.99,17.86,17.86,17.86h21.43c9.86,0,17.86-7.99,17.86-17.86v-21.43c0-9.86-7.99-17.86-17.86-17.86Z"/>%0A <path class="st1" d="M34.86,50.74c-9.03,9.94-24.25,10.93-34.48,2.42-.47-.39-.52-1.1-.11-1.55l16.07-17.69,18.51,16.81Z"/>%0A <path class="st1" d="M53.57,25h-21.43c-9.86,0-17.86,8-17.86,17.86v21.43c0,9.86,8,17.86,17.86,17.86h16.11c.96,0,1.75.78,1.75,1.75,0,1.02.88,1.83,1.89,1.74,10.95-.96,19.54-10.15,19.54-21.35v-21.43c0-9.86-8-17.86-17.86-17.86Z"/>%0A <path class="st2" d="M25,25c-5.92,0-10.71,4.8-10.71,10.71v28.57c0,3.09.79,6,2.17,8.54,2.54,1.39,5.45,2.17,8.54,2.17h28.57c5.92,0,10.71-4.8,10.71-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.54-1.39-5.45-2.17-8.54-2.17h-28.57Z"/>%0A <path class="st3" d="M25.36,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M36.07,57.14c-1.04,0-2.09-.27-3.04-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.59-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.33-4.44,2.91-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.35-5.56-.99-.06-1.94.12-2.81.54-.89.43-1.96.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.76.3,8.58,4.26,8.69,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',nk='data:image/svg+xml,<svg width="200" height="100" viewBox="0 0 200 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7325)">%0A<path d="M96.4287 48.3536V24.2572H127.047V48.3536H96.4287ZM142.975 69.1536V76.3607H98.2144V60.6393H132.679V58.5107H98.0787V51.3036H142.429V67.025H108.104V69.1536H142.979H142.975ZM106.247 32.5643V39.9786H117.3V32.5643H106.247ZM148.329 40.3893H142.425V49.45H132.539V23.6357H142.425V30.8429H148.329V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M185.536 47.8714V57.275C182.743 58.5571 178.371 59.1964 172.425 59.1964H171.807V76.3607H161.921V59.1964H149.704V49.7929H172.564C178.421 49.7929 182.746 49.1536 185.539 47.8714H185.536ZM152.586 34.2786V24.875H181.282V47.05H171.396V34.2821H152.586V34.2786ZM198.307 76.3607H188.421V23.6393H198.307V76.3643V76.3607Z" fill="%23111111"/>%0A<path opacity="0.1" d="M24.9999 25C19.0821 25 14.2856 29.7964 14.2856 35.7143V64.2857C14.2856 67.3786 15.0749 70.2893 16.4571 72.8286C18.9928 74.2143 21.9035 75 24.9999 75H53.5714C59.4892 75 64.2856 70.2036 64.2856 64.2857V35.7143C64.2856 32.6214 63.4964 29.7107 62.1142 27.1714C59.5785 25.7857 56.6678 25 53.5714 25H24.9999Z" fill="%23111111"/>%0A<path d="M14.2859 64.2857V35.7143C14.2859 29.7964 19.0823 25 25.0002 25H53.5716C56.6645 25 59.5752 25.7893 62.1145 27.1714C59.0859 21.6214 53.1966 17.8571 46.4288 17.8571H25.0002C15.1395 17.8571 7.14304 25.8535 7.14304 35.7143V44.0643L0.278759 51.6214C-0.131955 52.0714 -0.0855263 52.7785 0.385902 53.1678C2.46447 54.8964 4.75019 56.225 7.14304 57.1714C7.15376 63.9285 10.9145 69.8035 16.4573 72.8285C15.0716 70.2928 14.2859 67.3821 14.2859 64.2857Z" fill="%23111111"/>%0A<path d="M25.357 40.7143C25.357 39.5308 24.3976 38.5714 23.2141 38.5714C22.0307 38.5714 21.0713 39.5308 21.0713 40.7143V45C21.0713 46.1834 22.0307 47.1428 23.2141 47.1428C24.3976 47.1428 25.357 46.1834 25.357 45V40.7143Z" fill="%23111111"/>%0A<path d="M36.0715 57.1428C35.0287 57.1428 33.9822 56.875 33.0358 56.3285C32.1822 55.8357 31.8894 54.7428 32.3858 53.8893C32.8787 53.0357 33.9715 52.7428 34.8251 53.2393C35.8037 53.8035 37.043 53.6428 37.8394 52.8464C38.2251 52.4607 38.468 51.9714 38.543 51.4357C38.8644 49.1607 39.868 47 41.4501 45.1857C42.393 44.1071 42.8894 42.7214 42.8537 41.2857C42.7787 38.3535 40.4322 35.9107 37.5072 35.7285C36.518 35.6678 35.5715 35.85 34.693 36.2678C33.8037 36.6893 32.7358 36.3107 32.3144 35.4214C31.8894 34.5321 32.2715 33.4643 33.1608 33.0428C34.5751 32.3714 36.1572 32.0643 37.7322 32.1643C42.4894 32.4607 46.3072 36.4285 46.4251 41.1964C46.4822 43.5285 45.6715 45.7785 44.143 47.5357C43.018 48.825 42.3037 50.3464 42.0822 51.9321C41.8965 53.2428 41.3037 54.4321 40.368 55.3714C39.2001 56.5393 37.6465 57.1464 36.0751 57.1464L36.0715 57.1428Z" fill="%23111111"/>%0A<path d="M62.1142 27.1714C63.4999 29.7072 64.2856 32.6179 64.2856 35.7143V64.2857C64.2856 70.2036 59.4892 75 53.5713 75H24.9999C21.907 75 18.9963 74.2107 16.457 72.8286C19.4856 78.3786 25.3749 82.1429 32.1427 82.1429H48.2535C49.2177 82.1429 49.9999 82.925 49.9999 83.8893C49.9999 84.9107 50.8749 85.7215 51.8927 85.6322C62.8392 84.675 71.4285 75.4822 71.4285 64.2857V42.8572C71.4285 36.0893 67.6642 30.2 62.1142 27.1714Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7325">%0A<rect width="200" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',ik='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7395)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23FAFAFA"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23FAFAFA"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23FAFAFA"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23FAFAFA"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23FAFAFA"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23FAFAFA"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23FAFAFA"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23FAFAFA"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7395">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',sk='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 371 100">%0A <!-- Generator: Adobe Illustrator 30.4.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 226) -->%0A <defs>%0A <style>%0A .st0 {%0A fill: none;%0A }%0A%0A .st1 {%0A fill: %234dcdc0;%0A }%0A%0A .st2 {%0A fill: %23499cdf;%0A }%0A%0A .st3 {%0A fill: %23fff;%0A }%0A%0A .st4 {%0A clip-path: url(%23clippath);%0A }%0A </style>%0A <clipPath id="clippath">%0A <rect class="st0" width="371" height="100"/>%0A </clipPath>%0A </defs>%0A <g class="st4">%0A <g>%0A <path class="st3" d="M237.15,26.04v46.68h-20.5V26.04h20.5ZM234.41,70.05V28.72h-15.15v41.33h15.15ZM261.49,76.36h-2.68v-27.39h-11.24v26.5h-2.68V23.98h2.68v22.31h11.24v-22.65h2.68v52.73h0Z"/>%0A <path class="st3" d="M299.72,69.26c2.35-.48,4.31-1.11,5.86-1.89v2.75c-1.51.82-3.44,1.46-5.79,1.92-2.35.46-4.74.69-7.17.69h-20.37V25.7h2.74v44.28h17.62c2.38,0,4.74-.24,7.1-.72h0ZM311.69,76.43V23.64h2.74v52.73l-2.74.07Z"/>%0A <path class="st3" d="M340.56,47.94l17.62,22.52-2.13,1.65-16.18-20.94c-1.46,6.18-3.54,11.1-6.24,14.76-2.7,3.66-5.9,5.93-9.6,6.8v-2.75c3.25-.82,6.01-3.11,8.3-6.86,2.29-3.75,4.02-8.59,5.21-14.52,1.19-5.92,1.83-12.55,1.92-19.87h-14.47v-2.68h31.61v2.68h-14.4c-.05,7.19-.6,13.59-1.64,19.22h0ZM369.22,76.36h-2.74v-28.9h-14.06v-2.68h14.06v-21.14h2.74v52.73Z"/>%0A <path class="st3" d="M92.88,48.35v-24.1h30.58v24.1h-30.58ZM139.37,69.15v7.21h-44.71v-15.72h34.42v-2.13h-34.56v-7.21h44.3v15.72h-34.28v2.13h34.83,0ZM102.68,32.56v7.41h11.04v-7.41h-11.04ZM144.72,40.39h-5.9v9.06h-9.88v-25.81h9.88v7.21h5.9v9.54h0Z"/>%0A <path class="st3" d="M181.89,47.87v9.4c-2.79,1.28-7.16,1.92-13.1,1.92h-.62v17.16h-9.88v-17.16h-12.2v-9.4h22.83c5.85,0,10.17-.64,12.96-1.92h0ZM148.97,34.28v-9.4h28.66v22.17h-9.87v-12.77h-18.79ZM194.64,76.36h-9.88V23.64h9.88v52.73h0Z"/>%0A <path class="st1" d="M48.15,17.86h-21.4c-9.85,0-17.84,7.99-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h21.4c9.85,0,17.84-7.99,17.84-17.86v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st1" d="M36.6,50.74c-9.02,9.94-24.22,10.93-34.44,2.42-.47-.39-.52-1.1-.11-1.55l16.06-17.69,18.49,16.81Z"/>%0A <path class="st1" d="M55.29,25h-21.4c-9.85,0-17.84,8-17.84,17.86v21.43c0,9.86,7.99,17.86,17.84,17.86h16.09c.96,0,1.74.78,1.74,1.75,0,1.02.87,1.83,1.89,1.74,10.93-.96,19.51-10.15,19.51-21.35v-21.43c0-9.86-7.99-17.86-17.84-17.86Z"/>%0A <path class="st2" d="M26.75,25c-5.91,0-10.7,4.8-10.7,10.71v28.57c0,3.09.79,6,2.17,8.54,2.53,1.39,5.44,2.17,8.53,2.17h28.54c5.91,0,10.7-4.8,10.7-10.71v-28.57c0-3.09-.79-6-2.17-8.54-2.53-1.39-5.44-2.17-8.53-2.17h-28.54Z"/>%0A <path class="st3" d="M27.11,40.71c0-1.18-.96-2.14-2.14-2.14s-2.14.96-2.14,2.14v4.29c0,1.18.96,2.14,2.14,2.14s2.14-.96,2.14-2.14v-4.29Z"/>%0A <path class="st3" d="M37.81,57.14c-1.04,0-2.09-.27-3.03-.81-.85-.49-1.15-1.59-.65-2.44.49-.85,1.58-1.15,2.44-.65.98.56,2.22.4,3.01-.39.39-.39.63-.88.7-1.41.32-2.27,1.32-4.44,2.9-6.25.94-1.08,1.44-2.46,1.4-3.9-.07-2.93-2.42-5.38-5.34-5.56-.99-.06-1.93.12-2.81.54-.89.43-1.95.04-2.38-.85-.42-.89-.04-1.96.85-2.38,1.41-.67,2.99-.97,4.57-.88,4.75.3,8.57,4.26,8.68,9.03.06,2.33-.75,4.58-2.28,6.34-1.12,1.29-1.84,2.81-2.06,4.4-.19,1.31-.78,2.5-1.71,3.44-1.17,1.17-2.72,1.78-4.29,1.78h0Z"/>%0A </g>%0A </g>%0A</svg>',lk='data:image/svg+xml,<svg width="371" height="100" viewBox="0 0 371 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7394)">%0A<path d="M237.151 26.0393V72.7215H216.65V26.0393H237.151ZM234.408 70.0465V28.7179H219.254V70.0465H234.408ZM261.495 76.3608H258.819V48.9679H247.575V75.4679H244.899V23.9822H247.575V46.2929H258.819V23.6393H261.495V76.3643V76.3608Z" fill="%23111111"/>%0A<path d="M299.722 69.2572C302.076 68.7751 304.031 68.1465 305.583 67.3679V70.1143C304.074 70.9393 302.144 71.5786 299.79 72.0358C297.435 72.4929 295.045 72.7215 292.623 72.7215H272.257V25.6965H275.001V69.9751H292.623C294.999 69.9751 297.364 69.7358 299.722 69.2536V69.2572ZM311.69 76.4322V23.6393H314.434V76.3643L311.69 76.4322Z" fill="%23111111"/>%0A<path d="M340.557 47.9393L358.179 70.4572L356.053 72.1036L339.872 51.1643C338.409 57.3429 336.33 62.2643 333.633 65.925C330.936 69.5857 327.736 71.8536 324.033 72.7215V69.975C327.279 69.15 330.044 66.8643 332.331 63.1107C334.617 59.3572 336.355 54.5179 337.543 48.5893C338.731 42.6643 339.369 36.0393 339.462 28.7143H324.993V26.0357H356.603V28.7143H342.201C342.155 35.9 341.606 42.3072 340.557 47.9357V47.9393ZM369.22 76.3607H366.477V47.4572H352.418V44.7786H366.477V23.6357H369.22V76.3607Z" fill="%23111111"/>%0A<path d="M92.8784 48.3536V24.2572H123.461V48.3536H92.8784ZM139.371 69.1536V76.3607H94.6621V60.6393H129.087V58.5107H94.5265V51.3036H138.825V67.025H104.54V69.1536H139.375H139.371ZM102.685 32.5643V39.9786H113.726V32.5643H102.685ZM144.719 40.3893H138.822V49.45H128.947V23.6357H138.822V30.8429H144.719V40.3857V40.3893Z" fill="%23111111"/>%0A<path d="M181.886 47.8715V57.2751C179.097 58.5572 174.73 59.1965 168.791 59.1965H168.174V76.3608H158.299V59.1965H146.096V49.7929H168.93C174.78 49.7929 179.1 49.1536 181.89 47.8715H181.886ZM148.971 34.2786V24.8751H177.634V47.0501H167.76V34.2822H148.971V34.2786ZM194.64 76.3608H184.765V23.6393H194.64V76.3643V76.3608Z" fill="%23111111"/>%0A<g opacity="0.1">%0A<path d="M26.7512 25C20.8402 25 16.0493 29.7964 16.0493 35.7143V64.2857C16.0493 67.3786 16.8377 70.2893 18.2182 72.8286C20.751 74.2143 23.6584 75 26.7512 75H55.2897C61.2007 75 65.9916 70.2036 65.9916 64.2857V35.7143C65.9916 32.6214 65.2032 29.7107 63.8227 27.1714C61.2899 25.7857 58.3826 25 55.2897 25H26.7512Z" fill="%23111111"/>%0A</g>%0A<path d="M48.155 17.8571H26.7511C16.9018 17.8571 8.91459 25.8536 8.91459 35.7143V44.0643L2.05822 51.6179C1.64798 52.0679 1.69436 52.775 2.16524 53.1643C4.24141 54.8929 6.52449 56.2214 8.91459 57.1679C8.92529 63.925 12.6817 69.8 18.2181 72.825C16.834 70.2893 16.0492 67.3786 16.0492 64.2821V35.7107C16.0492 29.7929 20.8401 24.9964 26.7511 24.9964H55.2896C58.3789 24.9964 61.2862 25.7857 63.8226 27.1679C60.7975 21.6179 54.915 17.8536 48.155 17.8536V17.8571Z" fill="%23111111"/>%0A<path d="M63.8227 27.1714C65.2068 29.7072 65.9916 32.6179 65.9916 35.7143V64.2857C65.9916 70.2036 61.2008 75 55.2897 75H26.7513C23.662 75 20.7546 74.2107 18.2183 72.8286C21.2433 78.3786 27.1258 82.1429 33.8859 82.1429H49.978C50.9412 82.1429 51.7224 82.925 51.7224 83.8893C51.7224 84.9107 52.5964 85.7215 53.6131 85.6322C64.5469 84.675 73.1263 75.4822 73.1263 64.2857V42.8572C73.1263 36.0893 69.3663 30.2 63.8227 27.1714Z" fill="%23111111"/>%0A<path d="M27.1079 40.7143C27.1079 39.5308 26.1496 38.5714 24.9675 38.5714C23.7854 38.5714 22.8271 39.5308 22.8271 40.7143V45C22.8271 46.1834 23.7854 47.1428 24.9675 47.1428C26.1496 47.1428 27.1079 46.1834 27.1079 45V40.7143Z" fill="%23111111"/>%0A<path d="M37.8097 57.1429C36.768 57.1429 35.7228 56.875 34.7775 56.3286C33.9249 55.8357 33.6323 54.7429 34.1282 53.8893C34.6205 53.0357 35.7121 52.7429 36.5647 53.2393C37.5421 53.8036 38.78 53.6429 39.5755 52.8464C39.9608 52.4607 40.2033 51.9714 40.2782 51.4357C40.5993 49.1607 41.6017 47 43.182 45.1857C44.1238 44.1071 44.6197 42.7214 44.584 41.2857C44.5091 38.3536 42.1653 35.9107 39.2437 35.7286C38.2556 35.6679 37.3102 35.8464 36.4327 36.2679C35.5444 36.6929 34.4778 36.3107 34.0569 35.4214C33.6323 34.5321 34.014 33.4643 34.9023 33.0429C36.315 32.3714 37.8917 32.0679 39.4685 32.1643C44.2201 32.4607 48.0336 36.4286 48.1513 41.1964C48.2084 43.5286 47.3986 45.7786 45.8718 47.5357C44.7481 48.825 44.0346 50.3464 43.8134 51.9357C43.6279 53.2464 43.0358 54.4357 42.1011 55.375C40.9346 56.5429 39.3828 57.15 37.8132 57.15L37.8097 57.1429Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7394">%0A<rect width="371" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A',ck=".ihabdevteam-core-scope .pass-card-bg{border-radius:inherit;inset:0;overflow:hidden;pointer-events:none;position:absolute}:where(.ihabdevteam-core-scope){--pass-card-symbol-opacity:1}.ihabdevteam-core-scope .pass-card-bg__symbol{background:var(--symbol-url) center /contain no-repeat;height:48px;-webkit-mask:var(--symbol-url) center /contain no-repeat;mask:var(--symbol-url) center /contain no-repeat;position:absolute;right:12px;top:12px;width:48px}.ihabdevteam-core-scope .pass-card-bg__circle{border-radius:50%;opacity:1;opacity:var(--pass-card-symbol-opacity,.75);position:absolute}.ihabdevteam-core-scope .pass-card-bg__circle--1{height:340px;right:-150px;top:-140px;width:340px}.ihabdevteam-core-scope .pass-card-bg__circle--2{bottom:-90px;height:220px;right:-50px;width:220px}.ihabdevteam-core-scope .pass-card-bg__circle--3{bottom:-70px;height:140px;left:-40px;width:140px}.ihabdevteam-core-scope .pass-card-bg--default{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg--default .pass-card-bg__circle--1{background:var(--color-main)}.ihabdevteam-core-scope .pass-card-bg--default .pass-card-bg__circle--2{background:var(--color-sub)}.ihabdevteam-core-scope .pass-card-bg--default .pass-card-bg__circle--3{background:var(--color-main-a20)}.ihabdevteam-core-scope .pass-card-bg--blue{background:var(--color-deepMain)}.ihabdevteam-core-scope .pass-card-bg--blue .pass-card-bg__circle--1{background:var(--color-white-a30)}.ihabdevteam-core-scope .pass-card-bg--blue .pass-card-bg__circle--2,.ihabdevteam-core-scope .pass-card-bg--blue .pass-card-bg__circle--3{background:var(--color-white-a10)}.ihabdevteam-core-scope .pass-card-bg--dark{background:var(--color-softBlack)}.ihabdevteam-core-scope .pass-card-bg--dark .pass-card-bg__circle--1{background:var(--color-main)}.ihabdevteam-core-scope .pass-card-bg--dark .pass-card-bg__circle--2{background:var(--color-sub)}.ihabdevteam-core-scope .pass-card-bg--dark .pass-card-bg__circle--3{background:var(--color-white-a10)}";oe(ck);var dk=".ihabdevteam-core-scope .pass-card-bg-two-circle{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg-two-circle__c1,.ihabdevteam-core-scope .pass-card-bg-two-circle__c3{border-radius:50%;opacity:.75;opacity:var(--pass-card-symbol-opacity,.75);position:absolute}.ihabdevteam-core-scope .pass-card-bg-two-circle__c1{background:var(--color-main);height:340px;right:-150px;top:-140px;width:340px}.ihabdevteam-core-scope .pass-card-bg-two-circle__c3{background:var(--color-sub);bottom:-90px;height:220px;right:-50px;width:220px}.ihabdevteam-core-scope .pass-card-bg-two-circle__symbol{background:var(--color-darkWhite)}";oe(dk);var vg='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2255_7305)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7179 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7179 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="%23FAFAFA"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2255_7305">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const fo={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Ed=new WeakMap;function uk(e){if(e)return Ed.get(e)}function Pa(e,t){e&&(e.style.setProperty(fo.text,t.text),e.style.setProperty(fo.sub,t.sub),t.copyrightColor&&e.style.setProperty(fo.copyright,t.copyrightColor),Ed.set(e,t))}function za(e){e&&(e.style.removeProperty(fo.text),e.style.removeProperty(fo.sub),e.style.removeProperty(fo.copyright),Ed.delete(e))}const Nd={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Dd(e={}){const t=kt(Nd,Pa,za);return r.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[r.jsx("div",{className:"pass-card-bg-two-circle__c1"}),r.jsx("div",{className:"pass-card-bg-two-circle__c3"}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${vg}")`}})]})}const xg="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464Z";var pk=".ihabdevteam-core-scope .pass-card-bg-sound-move{background:var(--color-pureWhite)}.ihabdevteam-core-scope .pass-card-bg-sound-move__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";oe(pk);var fn='data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2175_65181)">%0A<path d="M75.2535 24.7464C68.7892 18.2821 59.8606 14.2857 49.9999 14.2857C40.1392 14.2857 37.5214 24.5964 31.0606 31.0607C24.5964 37.525 14.2856 40.1893 14.2856 50C14.2856 59.8107 18.2821 68.7893 24.7464 75.2536C31.2106 81.7178 40.1392 85.7143 49.9999 85.7143C59.8606 85.7143 68.7892 81.7178 75.2535 75.2536C81.7178 68.7893 85.7142 59.8607 85.7142 50C85.7142 40.1393 81.7178 31.2107 75.2535 24.7464ZM62.6285 62.6286C59.3964 65.8607 54.9321 67.8571 49.9999 67.8571C45.0678 67.8571 40.6035 65.8571 37.3714 62.6286C34.1392 59.3964 32.1428 54.9321 32.1428 50C32.1428 45.0678 34.1428 40.6036 37.3714 37.3714C40.6035 34.1393 45.0678 32.1428 49.9999 32.1428C54.9321 32.1428 59.3964 34.1428 62.6285 37.3714C65.8606 40.6036 67.8571 45.0678 67.8571 50C67.8571 54.9321 65.8571 59.3964 62.6285 62.6286Z" fill="url(%23paint0_linear_2175_65181)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2175_65181" x1="29.6392" y1="29.6393" x2="75.2535" y2="75.2536" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2175_65181">%0A<rect width="100" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const hk={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"},mk=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function Cg(e={}){const t=kt(hk,Pa,za),a="var(--color-main)",o=270,n=170;return r.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[r.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:mk.map(({scale:i,opacity:s},c)=>r.jsx("g",{transform:`translate(${o} ${n}) scale(${i}) translate(-50 -50)`,opacity:s,children:r.jsx("path",{d:xg,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${fn}")`}})]})}var bk=".ihabdevteam-core-scope .pass-card-bg-sound-move-v1{background:linear-gradient(135deg,var(--color-main),var(--color-sub))}.ihabdevteam-core-scope .pass-card-bg-sound-move-v1__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";oe(bk);const gk={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",logoColor:"_white",copyrightColor:"#ffffff"},fk=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function vk(e={}){const t=kt(gk,Pa,za),a="#ffffff",o=270,n=170;return r.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[r.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:fk.map(({scale:i,opacity:s},c)=>r.jsx("g",{transform:`translate(${o} ${n}) scale(${i}) translate(-50 -50)`,opacity:s,children:r.jsx("path",{d:xg,fill:"none",stroke:a,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},c))}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${vg}")`}})]})}var xk=".ihabdevteam-core-scope .pass-card-bg-talk{align-items:center;background:var(--color-pureWhite);display:flex;justify-content:center}.ihabdevteam-core-scope .pass-card-bg-talk__shape{height:76px;position:absolute;width:76px}.ihabdevteam-core-scope .pass-card-bg-talk__shape--left{background:var(--color-main);border-radius:42px 42px 42px 4px;transform:translateX(-18px)}.ihabdevteam-core-scope .pass-card-bg-talk__shape--right{background:var(--color-sub);border-radius:50%;opacity:.7;transform:translateX(18px)}";oe(xk);const Ck={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function _k(e={}){const t=kt(Ck,Pa,za);return r.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[r.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),r.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${fn}")`}})]})}const yk={Logo_speechear_kr:{"":Si,_white:ok,_textWhite:rk,_black:nk},Logo_speechearManager_kr:{"":kd,_white:ik,_textWhite:sk,_black:lk}};function wk(e,t){if(e)return yk[e]?.[t??""]??void 0}const kk={speechear:Si,manager:kd},Bk={speechear:"Logo_speechear_kr",manager:"Logo_speechearManager_kr"},_g=10;function yg(e,t){if(e<=0)return t("passCard.remainingSecond",{n:0});const a=Math.floor(e/86400);if(a>0)return t("passCard.remainingDay",{n:a});const o=Math.floor(e/3600);if(o>0)return t("passCard.remainingHour",{n:o});const n=Math.floor(e/60);return n>0?t("passCard.remainingMinute",{n}):t("passCard.remainingSecond",{n:Math.floor(e)})}function Ak(e,t,a){if(e==="manager"){const o=/년/.test(t)||/yr|year/i.test(t)||/1년|365/.test(t),n=a==="\uC624\uD508\uD2B9\uAC00"||a===bt.t("passCard.specialLabel");return o?r.jsx(_k,{}):n?r.jsx(vk,{}):r.jsx(Cg,{})}return r.jsx(Dd,{})}function Td({product:e,showPrice:t=!1,plan:a,type:o,endDate:n,remainingSeconds:i,endInclusive:s=!1,state:c="active",bg:d,bgOnly:u=!1,textColor:p,subColor:h,copyrightColor:m,logoSrc:b,label:x,price:f,originalPrice:C,discountLabel:g,onUse:v,onRefund:y,onDelete:_}){const{t:B}=Ce.useTranslation(),k=e?Sd(e):void 0,S=o??k?.type??"speechear",w=a??k?.plan??B("passCard.planSuffix","\uC774\uC6A9\uAD8C"),A=x??k?.label,E=f??(t?k?.price:void 0),L=C??(t?k?.originalPrice:void 0),z=g??k?.discountLabel,j=l.useMemo(()=>{if(E)return null;const ce=e?.durationDays??tk(e?.code);if(!ce||ce<=0)return i!=null?{percent:null,remainingLabel:yg(i,B)}:null;const U=ce*86400;let le;if(i!=null)le=i;else if((c==="active"||c==="expired")&&n){const ye=new Date(n).getTime();if(Number.isNaN(ye))return null;const xe=/^(\d{4})-(\d{2})-(\d{2})/.exec(String(n)),ue=/^(\d{4})-(\d{2})-(\d{2})/.exec(ba()),_e=Math.round(xe&&ue?(Date.UTC(+xe[1],+xe[2]-1,+xe[3])-Date.UTC(+ue[1],+ue[2]-1,+ue[3]))/864e5:(ye-Date.now())/864e5);le=Math.max(0,s?_e+1:_e)*86400}else c==="expired"?le=0:le=U;const be=Math.max(0,Math.min(100,Math.floor(Math.min(le,U)/U*100)));return c==="pending"&&be>=100?null:{percent:be,remainingLabel:yg(le,B)}},[E,c,n,i,s,e?.durationDays,e?.code,B]),I=l.useRef(null),[D,T]=l.useState({}),[O,G]=l.useState(null),Z=!!(v||y||_),H=l.useRef(!1),V=l.useRef(void 0),[q,$]=l.useState(b);l.useLayoutEffect(()=>{$(b)},[b]),l.useLayoutEffect(()=>{const ce=I.current;ce&&(p!==void 0&&ce.style.setProperty("--pass-card-text",p),h!==void 0&&ce.style.setProperty("--pass-card-sub",h),m!==void 0&&ce.style.setProperty("--pass-card-copyright",m))},[p,h,m]),l.useLayoutEffect(()=>{const ce=I.current;if(!ce)return;const U=uk(ce);if(!b){const le=Bk[S],be=c==="expired"?"_black":U?.logoColor??"",ye=wk(le,be);$(ye)}},[d,b,S,c]);const N=ce=>{const U=I.current;if(!U)return null;const{left:le,top:be,width:ye,height:xe}=U.getBoundingClientRect(),ue=(ce.clientX-le)/ye-.5;return{rotateX:-((ce.clientY-be)/xe-.5)*_g,rotateY:ue*_g}},F=(ce,U)=>{const le=U*-.7,be=ce*.7+10,ye=20+(Math.abs(ce)+Math.abs(U))*.4;return`${le}px ${be}px ${ye}px rgba(0, 0, 0, 0.18)`},R=l.useCallback(ce=>{if(pr())return;H.current=!0,clearTimeout(V.current),V.current=setTimeout(()=>{H.current=!1},200);const U=N(ce);U&&T({transform:`perspective(800px) rotateX(${U.rotateX}deg) rotateY(${U.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:F(U.rotateX,U.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),W=l.useCallback(ce=>{if(pr())return;const U=N(ce);if(!U)return;const le=H.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";T({transform:`perspective(800px) rotateX(${U.rotateX}deg) rotateY(${U.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:F(U.rotateX,U.rotateY),transition:le})},[]),P=l.useCallback(()=>{clearTimeout(V.current),H.current=!1,T({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),Q=l.useCallback(()=>G(null),[]),ee=l.useMemo(()=>{const ce=B("passCard.planSuffix","\uC774\uC6A9\uAD8C"),U=w.replace("\uC774\uC6A9\uAD8C","").replace(ce==="\uC774\uC6A9\uAD8C"?"":ce,"").trim(),le=U.match(/^(.*?)(일|년)$/);return le?r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"h0 pass-card__plan-number",children:le[1]}),r.jsx("span",{className:"h5b pass-card__plan-unit",children:le[2]==="\uB144"?B("passCard.unitYear","\uB144"):B("passCard.unitDay","\uC77C")})]}):r.jsx("span",{className:"h0",children:U})},[w,B]),Y=l.useMemo(()=>{const ce=lr(E);if(!ce)return null;const U=ce.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!U)return r.jsx("span",{className:"h1",children:ce});const[,le,be,ye]=U;return r.jsxs(r.Fragment,{children:[le&&r.jsx("span",{className:"h5 pass-card__price-symbol",children:le}),r.jsx("span",{className:"h1 pass-card__price-amount",children:be}),ye.trim()&&r.jsx("span",{className:"h5 pass-card__price-symbol",children:ye.trim()})]})},[E]),ne=l.useCallback(()=>{Z&&G(ce=>{if(ce)return null;const U=I.current?.getBoundingClientRect();if(!U)return null;const le=50;return{left:U.left,right:U.right,width:U.width,height:U.height,x:U.x,y:U.y+le,top:U.top+le,bottom:U.bottom+le}})},[Z]),ie=l.useCallback(ce=>{Z&&(ce.key==="Enter"||ce.key===" ")&&(ce.preventDefault(),ne())},[Z,ne]),se=[{items:[...v?[{label:B("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",onClick:()=>{v(),G(null)},closeOnSelect:!0}]:[],...y?[{label:B("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",onClick:()=>{y(),G(null)},closeOnSelect:!0}]:[],..._?[{label:B("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",onClick:()=>{_(),G(null)},closeOnSelect:!0}]:[]]}];return r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"pass-card-frame",children:r.jsxs("div",{ref:I,className:`pass-card pass-card--${c}${Z?" pass-card--clickable":""}`,style:D,onMouseEnter:R,onMouseMove:W,onMouseLeave:P,onPointerUp:ce=>{ce.pointerType==="touch"&&P()},onPointerCancel:ce=>{ce.pointerType==="touch"&&P()},onClick:ne,onKeyDown:Z?ie:void 0,role:Z?"button":void 0,tabIndex:Z?0:void 0,"aria-haspopup":Z?"menu":void 0,"aria-expanded":Z?!!O:void 0,children:[d??Ak(S,w,A),!u&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"pass-card__top",children:r.jsxs("div",{className:"pass-card__top-left",children:[r.jsx("img",{src:q??kk[S],className:"pass-card__logo",alt:S==="manager"?B("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):B("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),r.jsxs("div",{className:"pass-card__plan",children:[r.jsx("div",{children:ee}),r.jsx("span",{className:"h5b pass-card__plan-suffix",children:A?B("passCard.labeledPlan",{label:A}):B("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),E?r.jsxs("div",{className:"pass-card__price-area",children:[z&&r.jsx("span",{className:"pass-card__discount body-3",children:z}),r.jsxs("div",{className:"pass-card__price",children:[L&&r.jsx("span",{className:"pass-card__price-original body-3",children:lr(L)}),Y]})]}):j?r.jsxs("div",{className:"pass-card__usage",children:[r.jsx("span",{className:"h5b pass-card__usage-remaining",children:j.remainingLabel}),j.percent!=null&&r.jsxs("span",{className:"pass-card__usage-percent",children:[r.jsx("span",{className:"h1 pass-card__usage-value",children:j.percent}),r.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):r.jsx("div",{className:"pass-card__copyright caption-2",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),O&&r.jsx(ga,{anchorRect:O,onClose:Q,ariaLabel:B("tooltip.menu","\uBA54\uB274"),children:r.jsx(fr,{columns:se,onClose:Q,size:"small"})})]})}var Sk=".ihabdevteam-core-scope .pass-card-bg-sound-line{background:linear-gradient(60deg,var(--color-pureWhite) 0,color-mix(in srgb,var(--color-sub) 15%,var(--color-pureWhite)) 100%)}.ihabdevteam-core-scope .pass-card-bg-sound-line__svg{height:100%;inset:0;pointer-events:none;position:absolute;width:100%}";oe(Sk);const Ek={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#1a1a1a"};function Nk(e={}){const t=`passcard-sound-line-grad-${l.useId()}`,a=kt(Ek,Pa,za);return r.jsxs("div",{ref:a,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[r.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("defs",{children:r.jsxs("linearGradient",{id:t,x1:"0",y1:"0",x2:"1",y2:"0",children:[r.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),r.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),r.jsx("g",{transform:"translate(25, 45)",children:r.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${t})`,strokeWidth:"50",strokeLinecap:"round"})})]}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${fn}")`}})]})}var Dk=".ihabdevteam-core-scope .pass-card-bg-talk-v1{align-items:center;background:var(--color-pureWhite);display:flex;justify-content:center}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape{height:76px;position:absolute;width:76px}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape--left{background:linear-gradient(70deg,var(--color-main),var(--color-sub));border-radius:999px;height:92px;transform:translateX(0) rotate(120deg);width:180px}.ihabdevteam-core-scope .pass-card-bg-talk-v1__shape--right{background:var(--color-sub);border-radius:50%;height:60px;opacity:1;transform:translate(38px,12px);width:60px}";oe(Dk);const Tk={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"var(--color-main)"};function jk(e={}){const t=kt(Tk,Pa,za);return r.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[r.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),r.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${fn}")`}})]})}function Lk(e,t){if(e){if(t==="manager_pro")return r.jsx(jk,{});if(t==="manager_standard")return r.jsx(Nk,{});if(t==="manager_lite")return r.jsx(Cg,{})}}function Mk(e){const t=lr(e);if(!t)return null;const a=t.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!a)return t;const[,o,n,i]=a;return r.jsxs(r.Fragment,{children:[o&&r.jsx("span",{className:"payment-plan__pricing-symbol h4",children:o}),n,i.trim()&&r.jsx("span",{className:"payment-plan__pricing-symbol h4",children:i.trim()})]})}function wg(e){const{t}=Ce.useTranslation(),a=t("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),o=t("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:n,onSelect:i,period:s="monthly",ownedCodes:c}=e||{},d=_=>!!_&&!!c?.includes(_),u=_=>_.onceOnly??/오픈\s*특가/.test(_.label??""),p=(n.tiers||[]).some(_=>u(_)&&d(_.code)),h=_=>{const B=_.prices?_.prices[s]:_.price;return B?(n.tiers||[]).some(k=>!!k.badge&&k.originals?.[s]===B):!1},m=n.colorToken?`var(--color-${n.colorToken})`:"var(--color-gray)",b=t("payment.plan.freePrice","\uBB34\uB8CC"),x=t("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),f=_=>_.prices?_.prices[s]:_.price,C=(n.tiers||[]).length>0&&(n.tiers||[]).every(_=>{const B=f(_);return B==="\uBB34\uB8CC"||B===b||B==="0\uC6D0"||typeof B=="string"&&/\d/.test(B)&&!/[1-9]/.test(B)}),g=(n.tiers||[]).length>0&&(n.tiers||[]).every(_=>{const B=f(_);return B==="\uBB38\uC758"||B===x}),v=n.group==="org",y=v?"manager":"speechear";return r.jsxs("div",{className:"payment-plan__card",style:{borderColor:m,"--plan-color":m},children:[n.cardBadge&&r.jsx("div",{className:"payment-plan__card-badge",children:r.jsx(_t,{label:n.cardBadge,variant:"main",size:"medium",fill:"soft"})}),r.jsxs("div",{className:"payment-plan__title",children:[r.jsx("p",{className:"payment-plan__quote body-3b",style:{color:m},children:n.quote||"\xA0"}),r.jsx("h3",{className:"payment-plan__title-heading h1",children:n.tier??n.title}),r.jsx("p",{className:"payment-plan__subtitle body-3",children:n.subtitle})]}),r.jsxs("div",{className:"payment-plan__box",children:[r.jsx("span",{className:"payment-plan__box-title body-3b",children:t("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),r.jsx("ul",{className:"payment-plan__feature-list",children:(n.recommendedFor||[]).map((_,B)=>r.jsxs("li",{className:"payment-plan__feature-item body-3",children:[r.jsx(Je,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:m}}),_]},B))})]}),r.jsxs("div",{className:"payment-plan__box",children:[r.jsx("span",{className:"payment-plan__box-title body-3b",children:t("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),r.jsx("ul",{className:"payment-plan__feature-list",children:(n.features||[]).map((_,B)=>r.jsxs("li",{className:"payment-plan__feature-item body-3",children:[r.jsx(Je,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:m}}),_]},B))})]}),r.jsx("div",{className:"payment-plan__card-pricing",children:C?null:g?r.jsx(he,{htmlType:"button",className:"payment-plan__contact-button",label:t("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>n.tiers?.[0]&&i?.({...n.tiers[0],productId:n.id,productTitle:n.title})}):r.jsx(r.Fragment,{children:r.jsx("div",{className:"payment-plan__pricing-list",children:(n.tiers||[]).map(_=>{const B=_.label||a,k=u(_),S=k||_.openPromo===!0,w=B.replace(/^오픈\s*특가\s*/,"")||a,A=_.prices?_.prices[s]:_.price,E=_.badge?S?`${o}
852
852
  ${_.badge}`:_.badge:void 0;if(k&&d(_.code))return null;if(!_.badge&&!p)return h(_)?null:r.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${_.highlight?" payment-plan__pricing-row--highlight":""}`,children:[r.jsx("div",{className:"payment-plan__pricing-row-title",children:r.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:_.label})}),r.jsx("div",{className:"payment-plan__pricing-row-price",children:r.jsx("span",{className:"payment-plan__pricing-current h1",children:Mk(A)})})]},_.id);const L=n.tier??(v?n.title:void 0),z=r.jsx(Td,{showPrice:!0,product:{type:y,code:_.code,name:w,label:L,price:A,originalPrice:_.originals?.[s]??void 0,discountLabel:E},bg:Lk(v,n.id)}),j=()=>i?.({..._,productId:n.id,productTitle:n.title,preview:z});return r.jsx("div",{className:"payment-plan__pricing-card",onClick:j,onKeyDown:i?I=>{I.target===I.currentTarget&&(I.key==="Enter"||I.key===" ")&&(I.preventDefault(),j())}:void 0,role:i?"button":void 0,tabIndex:i?0:void 0,children:z},_.id)})})})})]})}function kg({variant:e="default"}){return r.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[r.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),r.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),r.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var $k=".ihabdevteam-core-scope .pass-card-bg-ihab{background:var(--color-white)}.ihabdevteam-core-scope .pass-card-bg-ihab__symbol{bottom:-24px;height:140px;-o-object-fit:contain;object-fit:contain;opacity:.06;position:absolute;right:-24px;width:140px}.ihabdevteam-core-scope .pass-card-bg-ihab__symbol-top{transform:translate(-48px) rotate(-90deg);transform-origin:top right;width:126.72px}";oe($k);var jd='data:image/svg+xml,<svg width="264" height="100" viewBox="0 0 264 100" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2079_3030)">%0A<path d="M60.9019 24.7464C54.4446 18.2821 45.5257 14.2857 35.6757 14.2857C25.8256 14.2857 23.2106 24.5964 16.7569 31.0607C10.2996 37.5214 0 40.1857 0 50C0 59.8143 3.99211 68.7893 10.4494 75.2536C16.9067 81.7178 25.8256 85.7143 35.6757 85.7143C45.5257 85.7143 54.4446 81.7178 60.9019 75.2536C67.3592 68.7893 71.3513 59.8607 71.3513 50C71.3513 40.1393 67.3592 31.2107 60.9019 24.7464ZM48.2906 62.6286C45.0619 65.8607 40.6025 67.8571 35.6757 67.8571C30.7489 67.8571 26.2894 65.8571 23.0608 62.6286C19.8321 59.3964 17.8378 54.9321 17.8378 50C17.8378 45.0678 19.8357 40.6036 23.0608 37.3714C26.2894 34.1393 30.7489 32.1428 35.6757 32.1428C40.6025 32.1428 45.0619 34.1428 48.2906 37.3714C51.5192 40.6036 53.5135 45.0678 53.5135 50C53.5135 54.9321 51.5157 59.3964 48.2906 62.6286Z" fill="url(%23paint0_linear_2079_3030)"/>%0A<path d="M106.735 74.8322H93.6274V24.8322H106.735V74.8322Z" fill="%23111111"/>%0A<path d="M113.495 24.8322H126.602V44.5143H145.022V24.8322H158.197V74.8322H145.022V55.15H126.602V74.8322H113.495V24.8322Z" fill="%23111111"/>%0A<path d="M163.027 74.8322L179.652 24.8322H197.519L214.076 74.8322H199.934L196.969 65.025H180.205L177.241 74.8322H163.031H163.027ZM193.933 55.0786L188.76 38.2964H188.346L183.241 55.0786H193.933Z" fill="%23111111"/>%0A<path d="M218.906 24.8322H240.29C251.674 24.8322 257.675 29.7357 257.675 37.4C257.675 42.925 253.743 47.1393 248.085 48.3107V48.7929C254.364 49 259.605 53.6286 259.605 60.7393C259.605 68.8893 252.983 74.8286 242.081 74.8286H218.902V24.8322H218.906ZM244.157 40.1643C244.157 36.9857 241.674 35.1929 238.085 35.1929H232.013V45.1393H237.878C241.535 45.1393 244.157 43.3429 244.157 40.1679V40.1643ZM245.741 59.0857C245.741 55.425 243.119 53.3536 238.913 53.3536H232.013V64.2643H238.706C243.397 64.2643 245.741 62.4679 245.741 59.0857Z" fill="%23111111"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_2079_3030" x1="15.337" y1="29.6393" x2="60.9512" y2="75.2042" gradientUnits="userSpaceOnUse">%0A<stop offset="0.2" stop-color="%23499CDF"/>%0A<stop offset="0.8" stop-color="%234DCDC0"/>%0A</linearGradient>%0A<clipPath id="clip0_2079_3030">%0A<rect width="264" height="100" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';const Ld={text:"#1a1a1a",sub:"var(--color-lightGray)",logoBase:"Logo_speechear_kr",copyrightColor:"#c9c9c9"};function Bg(){const e=kt(Ld,Pa,za);return r.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${jd}")`}})})}var Rk=".ihabdevteam-core-scope .pass-card-bg-left-color-grid{background:var(--color-white)}.ihabdevteam-core-scope .pass-card-bg-left-color-grid__bar{background:linear-gradient(120deg,var(--color-main),var(--color-sub));border-radius:16px 0 0 16px;height:100%;left:0;position:absolute;top:0;width:76%}.ihabdevteam-core-scope .pass-card-bg-left-color-grid__grid{--grid-line:rgba(73,156,223,.06);background-image:linear-gradient(rgba(73,156,223,.06) 1px,transparent 0),linear-gradient(90deg,rgba(73,156,223,.06) 1px,transparent 0);background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:24px 24px;inset:0;position:absolute}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg-left-color-grid__grid{--grid-line:transparent}.ihabdevteam-core-scope .pass-card--expired .pass-card-bg-left-color-grid__bar{background:var(--pass-card-expired-shape)}";oe(Rk);const Md={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_speechearManager_kr",logoColor:"_white",copyrightColor:"#ffffff"};function Ag(e={}){const t=kt(Md,Pa,za);return r.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[r.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),r.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),r.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${fn}")`}})]})}var Pk=".ihabdevteam-core-scope .shortcut-badge{align-items:center;display:inline-flex;gap:4px;pointer-events:none;z-index:10}.ihabdevteam-core-scope .shortcut-badge--top-left{left:0;position:absolute;top:0;transform:translate(-25%,-25%) scale(1);transform:translate(-25%,-25%) scale(var(--shortcut-badge-scale,1))}.ihabdevteam-core-scope .shortcut-badge--top-right{position:absolute;right:0;top:0;transform:translate(25%,-25%) scale(1);transform:translate(25%,-25%) scale(var(--shortcut-badge-scale,1))}.ihabdevteam-core-scope .shortcut-badge--bottom-left{bottom:0;left:0;position:absolute;transform:translate(-25%,25%) scale(1);transform:translate(-25%,25%) scale(var(--shortcut-badge-scale,1))}.ihabdevteam-core-scope .shortcut-badge--bottom-right{bottom:0;position:absolute;right:0;transform:translate(25%,25%) scale(1);transform:translate(25%,25%) scale(var(--shortcut-badge-scale,1))}.ihabdevteam-core-scope .shortcut-badge--static,.ihabdevteam-core-scope .shortcut-badge--static .shortcut-badge__group{gap:4px;gap:calc(4px*var(--shortcut-badge-scale, 1))}.ihabdevteam-core-scope .shortcut-badge--static .shortcut-badge__key{border-width:2px;border-width:calc(2px*var(--shortcut-badge-scale, 1));font-size:11px;font-size:calc(11px*var(--shortcut-badge-scale, 1));min-height:24px;min-height:calc(24px*var(--shortcut-badge-scale, 1));min-width:24px;min-width:calc(24px*var(--shortcut-badge-scale, 1));padding:0 5px;padding:0 calc(5px*var(--shortcut-badge-scale, 1))}.ihabdevteam-core-scope .shortcut-badge--static .shortcut-badge__plus{font-size:11px;font-size:calc(11px*var(--shortcut-badge-scale, 1))}.ihabdevteam-core-scope .shortcut-badge__group{align-items:center;display:inline-flex;gap:4px}.ihabdevteam-core-scope .shortcut-badge__plus{color:var(--color-lightGray);font-size:11px;line-height:1}.ihabdevteam-core-scope .shortcut-badge__key{align-items:center;background:var(--color-lightBlack);border:2px solid var(--color-pureWhite);border-radius:var(--radius-sm);box-sizing:border-box;color:var(--color-white);display:inline-flex;font-family:inherit;font-size:11px;font-weight:400;justify-content:center;line-height:1;min-height:24px;min-width:24px;padding:0 5px;white-space:nowrap}";oe(Pk);function $d({keys:e,anchor:t="top-right",scale:a,className:o=""}){const n=Array.isArray(e)?e:[e];return r.jsx("span",{className:Te("shortcut-badge",`shortcut-badge--${t}`,o),style:a===void 0?void 0:{"--shortcut-badge-scale":String(a)},children:n.map((i,s)=>r.jsxs("span",{className:"shortcut-badge__group",children:[s>0&&r.jsx("span",{className:"shortcut-badge__plus",children:"+"}),r.jsx("kbd",{className:"shortcut-badge__key",children:i})]},`${i}-${s}`))})}var zk=".ihabdevteam-core-scope .sound-compass{--scb-idle-bg:var(--color-deepWhite);--scb-idle-border:var(--color-whiteLine);--scb-idle-fg:var(--color-lightGray);--scb-active-bg:var(--color-main);--scb-active-border:var(--color-main);--scb-active-fg:#fff;--scb-played-bg:var(--color-sub);--scb-played-border:var(--color-sub);--scb-played-fg:#fff;--scb-wrong-bg:#ef4444;--scb-wrong-border:#ef4444;--scb-wrong-fg:#fff;--scb-idle-hover-bg:var(--color-whiteLine);--scb-idle-hover-border:var(--color-lightGray);--scb-idle-hover-fg:var(--scb-idle-fg);--scb-focus-ring:var(--color-main);--scc-bg:var(--color-white);--scc-border:var(--color-whiteLine);--scc-fg:var(--color-lightGray);--scc-hover-bg:var(--color-deepWhite);--scc-hover-border:var(--color-lightGray);--scc-hover-fg:var(--color-darkGray);--scc-disabled-bg:var(--color-deepWhite);--scc-disabled-border:var(--color-whiteLine);--scc-disabled-fg:var(--color-whiteLine);align-items:center;display:flex;flex-direction:column;width:100%}.ihabdevteam-core-scope .sound-compass__svg{left:0;overflow:visible;position:absolute;top:0}.ihabdevteam-core-scope .sound-compass__speaker-btn{all:unset;align-items:center;border-radius:50%;border-style:solid;border-width:1px;box-sizing:border-box;display:flex;flex-direction:column;gap:1px;justify-content:center;position:relative;transition:background-color .15s,border-color .15s,color .15s;z-index:1}.ihabdevteam-core-scope .sound-compass__speaker-btn--idle{background:var(--scb-idle-bg);border-color:var(--scb-idle-border);color:var(--scb-idle-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn--active{background:var(--scb-active-bg);border-color:var(--scb-active-border);color:var(--scb-active-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn--correct,.ihabdevteam-core-scope .sound-compass__speaker-btn--played{background:var(--scb-played-bg);border-color:var(--scb-played-border);color:var(--scb-played-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn--wrong{background:var(--scb-wrong-bg);border-color:var(--scb-wrong-border);color:var(--scb-wrong-fg)}.ihabdevteam-core-scope .sound-compass__speaker-number{color:inherit;font-weight:700;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .sound-compass__compass-wrap{flex-shrink:0;margin-bottom:24px;overflow:visible;position:relative}.ihabdevteam-core-scope .sound-compass__center{align-items:center;background:var(--scc-bg);border:1px solid var(--scc-border);border-radius:50%;color:var(--scc-fg);display:flex;justify-content:center;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}@keyframes sound-compass-pulse{0%{opacity:0;transform:scale(.95)}8%{opacity:.45;transform:scale(1.05)}to{opacity:0;transform:scale(2.8);transform:scale(var(--sc-pulse-scale,2.8))}}.ihabdevteam-core-scope .sound-compass__center--button{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;font:inherit;padding:0;pointer-events:auto;transition:background-color .15s,border-color .15s,color .15s}.ihabdevteam-core-scope .sound-compass__center--button:hover{background:var(--scc-hover-bg);border-color:var(--scc-hover-border);color:var(--scc-hover-fg)}.ihabdevteam-core-scope .sound-compass__center--button:focus-visible{outline:2px solid var(--scb-focus-ring);outline-offset:2px}.ihabdevteam-core-scope .sound-compass__center--disabled{background:var(--scc-disabled-bg);border-color:var(--scc-disabled-border);color:var(--scc-disabled-fg);cursor:default;pointer-events:none}.ihabdevteam-core-scope .sound-compass__pulse--center{z-index:0}.ihabdevteam-core-scope .sound-compass__pulse{animation:sound-compass-pulse 1s cubic-bezier(.33,1,.68,1) infinite;background:var(--sc-pulse-color,var(--scb-active-bg));border-radius:50%;height:40px;left:0;pointer-events:none;position:absolute;top:0;width:40px}.ihabdevteam-core-scope .sound-compass__pulse--idle{background:var(--sc-pulse-color,var(--scb-idle-bg))}.ihabdevteam-core-scope .sound-compass__pulse--active{background:var(--sc-pulse-color,var(--scb-active-bg))}.ihabdevteam-core-scope .sound-compass__pulse--correct,.ihabdevteam-core-scope .sound-compass__pulse--played{background:var(--sc-pulse-color,var(--scb-played-bg))}.ihabdevteam-core-scope .sound-compass__pulse--wrong{background:var(--sc-pulse-color,var(--scb-wrong-bg))}.ihabdevteam-core-scope .sound-compass__pulse--once{animation-duration:1s;animation-duration:var(--sc-pulse-duration-once,1s);animation-iteration-count:1}.ihabdevteam-core-scope .sound-compass__speaker-btn:hover{box-shadow:0 0 0 4px color-mix(in srgb,var(--scb-focus-ring) 14%,transparent)}.ihabdevteam-core-scope .sound-compass__speaker-btn--idle:hover{background:var(--scb-idle-hover-bg);border-color:var(--scb-idle-hover-border);color:var(--scb-idle-hover-fg)}.ihabdevteam-core-scope .sound-compass__speaker-btn:focus-visible{outline:2px solid var(--scb-focus-ring);outline-offset:2px}.ihabdevteam-core-scope .sound-compass__speaker-shortcut{pointer-events:none;z-index:2}.ihabdevteam-core-scope .sound-compass__speaker-pos{position:absolute}";oe(zk);const vn=(e,t,a)=>e+(t-e)*a;function Sg({speakers:e,size:t=300,viewT:a=0,activeSpeakerId:o=null,playedIds:n,selectedId:i=null,answerId:s=null,showFeedback:c=!1,pulseSelected:d=!1,pulseSelectedDuration:u,pulseScale:p,clickable:h=!1,onSelectSpeaker:m,buttonSize:b=40,showIcon:x=!0,onCenterClick:f,centerLabel:C,centerDisabled:g=!1,centerAttention:v=!1,shortcutAnchor:y="top-right",shortcutScale:_,scaleShortcut:B=!1}){const{t:k}=Ce.useTranslation(),S=Math.max(0,Math.min(1,a)),w=t/2,A=110/300,E=.18,L=U=>t*(A+(U-1)*E),z=U=>{const le=L(U.row??1),be=U.angleDeg*Math.PI/180;return{x:w+le*Math.cos(be),y:w+le*Math.sin(be)}},j=Math.max(...e.map(U=>U.row??1),1),I=t*.08,D=t*.1,T=t*.24,O=t-2*I,G=t-D-T,Z=t-T/2,H=l.useMemo(()=>[...new Set(e.map(U=>U.deg))].sort((U,le)=>U-le),[e]),V=H.length,q=Math.max(68,V>1?O/(V-1):0),$=l.useMemo(()=>new Map(H.map((U,le)=>[U,le])),[H]),N=U=>{const le=$.get(U.deg)??0,be=w+(le-(V-1)/2)*q,ye=j>1?Math.min(68,G/(j-1)):0,xe=ye*(j-1),ue=D+(G-xe)/2,_e=j===1?D+G*.4:ue+(j-(U.row??1))*ye;return{x:be,y:_e}},F=U=>{const le=z(U),be=N(U);return{x:vn(le.x,be.x,S),y:vn(le.y,be.y,S)}},R={x:w,y:vn(w,Z,S)},W=Math.round(b*1.2),P=Math.round(Math.max(16,Math.min(80,b*.7))),Q=[],ee=new Map;for(const U of e){const le=U.row??1;ee.has(le)||ee.set(le,[]),ee.get(le).push(U)}for(const[U,le]of ee.entries()){if(le.length<2)continue;const be=[...le].sort(($e,Ye)=>$e.deg-Ye.deg),ye=be.map($e=>F($e)),xe=be.map($e=>$e.deg),ue=xe[xe.length-1]-xe[0],_e=ue/(xe.length-1),Ae=360-ue,X=be.length>=3&&_e>0&&Ae<=_e*1.5,we=Math.round(L(U)*1e3)/1e3,fe=($e,Ye,ze,Ue)=>{const re=(Ye.angleDeg-$e.angleDeg+540)%360-180;if(re===0)return`L ${Ue.x} ${Ue.y}`;if(S===0)return`A ${we} ${we} 0 0 ${re>0?1:0} ${Ue.x} ${Ue.y}`;const Oe=($e.angleDeg+re/2)*Math.PI/180,Fe={x:w+we*Math.cos(Oe),y:w+we*Math.sin(Oe)},Ze={x:(ze.x+Ue.x)/2,y:(ze.y+Ue.y)/2},Qe={x:vn(Fe.x,Ze.x,S),y:vn(Fe.y,Ze.y,S)},De={x:2*Qe.x-Ze.x,y:2*Qe.y-Ze.y};return`Q ${De.x} ${De.y} ${Ue.x} ${Ue.y}`},ae=X?[...be,be[0]]:be,ge=X?[...ye,ye[0]]:ye;let Me=`M ${ge[0].x} ${ge[0].y}`;for(let $e=1;$e<ge.length;$e++)Me+=" "+fe(ae[$e-1],ae[$e],ge[$e-1],ge[$e]);Q.push({key:`arc-${U}`,d:Me})}const Y=l.useMemo(()=>new Set(n??[]),[n]),ne=U=>({idle:"",active:k("soundCompass.state.active","\uC18C\uB9AC \uB098\uB294 \uC911"),played:k("soundCompass.state.played","\uB4E4\uC74C"),correct:k("soundCompass.state.correct","\uC815\uB2F5"),wrong:k("soundCompass.state.wrong","\uC624\uB2F5")})[U],ie=U=>{if(o===U.id)return"active";if(c){if(U.id===s)return"correct";if(U.id===i&&i!==s)return"wrong"}return Y.has(U.id)?"played":"idle"},se=U=>o===U.id?"loop":c?U.id===s?"loop":null:d&&U.id===i?"once":null,ce=(U,le)=>{switch(U){case"played":case"correct":return r.jsx(np,{size:le});case"wrong":return r.jsx(bp,{size:le});default:return r.jsx(mp,{size:le})}};return r.jsx("div",{className:"sound-compass",children:r.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:t,height:t},children:[r.jsxs("svg",{width:t,height:t,viewBox:`0 0 ${t} ${t}`,className:"sound-compass__svg",children:[S===0&&e.map(U=>{const{x:le,y:be}=F(U);return r.jsx("line",{x1:R.x,y1:R.y,x2:le,y2:be,stroke:"#dde3ec",strokeWidth:"1"},U.id)}),Q.map(U=>r.jsx("path",{d:U.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},U.key))]}),v&&!g&&r.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:W,height:W,left:R.x-W/2,top:R.y-W/2}}),f?r.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${g?" sound-compass__center--disabled":""}`,style:{width:W,height:W,left:R.x,top:R.y},"aria-label":C,"aria-disabled":g||void 0,tabIndex:g?-1:0,onClick:g?void 0:f,children:r.jsx(us,{size:P,color:"currentColor",strokeWidth:1.5})}):r.jsx("div",{className:"sound-compass__center",style:{width:W,height:W,left:R.x,top:R.y},children:r.jsx(us,{size:P,color:"currentColor",strokeWidth:1.5})}),e.map((U,le)=>{const{x:be,y:ye}=F(U),xe=ie(U),ue=se(U),_e={..._!==void 0||B?{"--shortcut-badge-scale":String(_??Math.max(.75,Math.min(3,b/56)))}:null,pointerEvents:h?"auto":"none",cursor:h?"pointer":"default",zIndex:xe!=="idle"?10:1},Ae=b,X=Math.round(Math.max(10,Math.min(56,Ae*.38))),we=Math.round(Math.max(7,Math.min(18,Ae*.2))),fe=Math.round(Math.max(10,Math.min(56,Ae*.4))),ae=x==="answered"&&(xe==="played"||xe==="correct"||xe==="wrong"),ge=x===!0||ae,Me=!ae;return r.jsxs("div",{className:"sound-compass__speaker-pos",style:{..._e,left:be-Ae/2,top:ye-Ae/2},children:[ue&&r.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${xe}`+(ue==="once"?" sound-compass__pulse--once":""),style:{width:Ae,height:Ae,...ue==="once"&&u!==void 0?{"--sc-pulse-duration-once":`${u}ms`}:null,...p!==void 0?{"--sc-pulse-scale":String(p)}:null}}),r.jsxs("button",{type:"button",tabIndex:h?0:-1,"aria-disabled":h?void 0:!0,onClick:h?()=>m?.(U.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${xe}`,style:{width:Ae,height:Ae},"aria-label":ne(xe)?`${U.label}, ${ne(xe)}`:U.label,"aria-pressed":i!=null?U.id===i:void 0,children:[ge&&ce(xe,X),Me&&r.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:x===!0?we:fe},children:le+1})]}),U.shortcut&&r.jsx($d,{keys:U.shortcut,anchor:y,className:"sound-compass__speaker-shortcut"})]},U.id)})]})})}function Eg({children:e,position:t="top-left",size:a=24,className:o=""}){return r.jsx("span",{className:Te("circle-badge","circle-badge--number",`circle-badge--${a}`,`circle-badge--${t}`,o),children:e})}var Ik=".ihabdevteam-core-scope .divider--horizontal{align-items:center;border:none;border-top:1px solid var(--color-whiteLine);display:flex;width:100%}.ihabdevteam-core-scope .divider--vertical{border:none;border-left:1px solid var(--color-whiteLine);display:inline-block;height:1em;vertical-align:middle;width:1px}.ihabdevteam-core-scope .divider--labeled{border-top:none;gap:var(--spacing-s)}.ihabdevteam-core-scope .divider__line{background:var(--color-whiteLine);flex:1 1 auto;height:1px}.ihabdevteam-core-scope .divider__label{color:var(--color-gray);flex:0 0 auto;white-space:nowrap}";oe(Ik);function Ng({orientation:e="horizontal",label:t,className:a=""}){const o=Te("divider",`divider--${e}`,t&&e==="horizontal"?"divider--labeled":"",a);return e==="vertical"?r.jsx("div",{className:o,role:"separator","aria-orientation":"vertical"}):t?r.jsxs("div",{className:o,role:"separator","aria-orientation":"horizontal",children:[r.jsx("span",{className:"divider__line"}),r.jsx("span",{className:"divider__label caption-1",children:t}),r.jsx("span",{className:"divider__line"})]}):r.jsx("div",{className:o,role:"separator","aria-orientation":"horizontal"})}var Ok='.ihabdevteam-core-scope .radio{align-items:center;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .radio input{height:0;opacity:0;position:absolute;width:0}.ihabdevteam-core-scope .radio__dot{background:var(--color-pureWhite);border:1.5px solid var(--color-whiteLine);border-radius:50%;display:inline-block;flex-shrink:0;height:20px;position:relative;transition:border-color .15s,background .15s;width:20px}.ihabdevteam-core-scope .radio__dot:before{background:var(--color-pureWhite);border-radius:50%;content:"";inset:4px;position:absolute;transform:scale(0);transition:transform .15s}.ihabdevteam-core-scope .radio input:checked+.radio__dot{background:var(--color-main);border-color:var(--color-main)}.ihabdevteam-core-scope .radio input:checked+.radio__dot:before{transform:scale(1)}.ihabdevteam-core-scope .radio:not(.radio--disabled):hover .radio__dot{border-color:var(--color-main)}.ihabdevteam-core-scope .radio input:focus-visible+.radio__dot{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .radio__label{color:var(--color-black)}.ihabdevteam-core-scope .radio--disabled{cursor:not-allowed;opacity:.45}';oe(Ok);function Rd({checked:e,onChange:t,name:a,value:o,disabled:n=!1,label:i,className:s=""}){const c=l.useId();return r.jsxs("label",{className:`radio${n?" radio--disabled":""} ${s}`.trim(),htmlFor:c,children:[r.jsx("input",{id:c,type:"radio",name:a,value:o,checked:e,disabled:n,onChange:d=>t?.(d.target.checked)}),r.jsx("span",{className:"radio__dot"}),i&&r.jsx("span",{className:"radio__label body-2",children:i})]})}var Fk=".ihabdevteam-core-scope .radio-group{display:flex}.ihabdevteam-core-scope .radio-group--vertical{flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .radio-group--horizontal{flex-direction:row;flex-wrap:wrap;gap:var(--spacing-l)}";oe(Fk);function Dg({options:e,value:t,onChange:a,name:o,disabled:n=!1,direction:i="vertical",className:s="",ariaLabel:c}){const d=l.useId(),u=o??`radio-group-${d}`;return r.jsx("div",{className:`radio-group radio-group--${i} ${s}`.trim(),role:"radiogroup","aria-label":c,children:e.map(p=>r.jsx(Rd,{name:u,value:p.value,checked:t===p.value,disabled:n||p.disabled,label:p.label,onChange:h=>{h&&a?.(p.value)}},p.value))})}var Hk=".ihabdevteam-core-scope .alert{align-items:flex-start;background:color-mix(in srgb,var(--alert-color) 10%,transparent);border:1px solid color-mix(in srgb,var(--alert-color) 25%,transparent);border-radius:var(--radius-sm);display:flex;gap:var(--spacing-s);padding:var(--spacing-m)}.ihabdevteam-core-scope .alert__icon{align-items:center;color:var(--alert-color);display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .alert__body{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}.ihabdevteam-core-scope .alert__header{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .alert__message--indented{margin-left:calc(20px + var(--spacing-xs))}.ihabdevteam-core-scope .alert__title{color:var(--color-black)}.ihabdevteam-core-scope .alert__message{color:var(--color-darkGray)}.ihabdevteam-core-scope .alert__dismiss{align-items:center;background:transparent;border:none;color:var(--color-gray);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:18px;height:20px;justify-content:center;line-height:1;padding:0;width:20px}.ihabdevteam-core-scope .alert__dismiss:hover{color:var(--color-darkGray)}.ihabdevteam-core-scope .alert--info{--alert-color:var(--color-main)}.ihabdevteam-core-scope .alert--success{--alert-color:var(--color-success)}.ihabdevteam-core-scope .alert--warning{--alert-color:var(--color-warn)}.ihabdevteam-core-scope .alert--danger{--alert-color:var(--color-error)}";oe(Hk);const Vk={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function Tg({tone:e="info",title:t,message:a,children:o,dismissible:n=!1,onDismiss:i,live:s,className:c=""}){const{t:d}=Ce.useTranslation(),[u,p]=l.useState(!1),h=l.useRef(null),m=l.useCallback(()=>{const v=h.current;v&&v.contains(document.activeElement)&&ci(v),p(!0),i?.()},[i]);if(u)return null;const b=Te("alert",`alert--${e}`,c),x=s??(e==="danger"||e==="warning"?"assertive":"polite"),f=x==="assertive"?"alert":x==="polite"?"status":void 0,C=!!t,g=!!(a||o);return r.jsxs("div",{ref:h,className:b,role:f,children:[r.jsxs("div",{className:"alert__body",children:[r.jsxs("div",{className:"alert__header",children:[r.jsx(Je,{icon:Vk[e],size:20,className:"alert__icon"}),C&&r.jsx("span",{className:"alert__title body-2",children:t}),!C&&g&&r.jsx("div",{className:"alert__message body-3",children:a||o})]}),C&&g&&r.jsx("div",{className:"alert__message alert__message--indented body-3",children:a||o})]}),n&&r.jsx("button",{type:"button",className:"alert__dismiss",onClick:m,"aria-label":d("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}var Wk=".ihabdevteam-core-scope .search-summary{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);box-shadow:var(--shadow-card);box-sizing:border-box;color:var(--color-gray);display:inline-flex;gap:var(--spacing-xs);max-width:100%;padding:30px 20px;text-align:left}.ihabdevteam-core-scope .search-summary__icon{color:currentColor;display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .search-summary__text{min-width:0;overflow-wrap:anywhere;word-break:keep-all}.ihabdevteam-core-scope .search-summary__em{color:var(--color-main)}.ihabdevteam-core-scope .search-summary--ready{background:var(--color-white);color:var(--color-deepGray)}.ihabdevteam-core-scope .search-summary--ready .search-summary__em{color:var(--color-main)}.ihabdevteam-core-scope .search-summary--guide{background:var(--color-deepWhite);color:var(--color-gray)}.ihabdevteam-core-scope .search-summary--error{background:var(--color-white);color:var(--color-error)}.ihabdevteam-core-scope .search-summary--error .search-summary__em{color:var(--color-error)}";oe(Wk);const Gk={ready:"search",guide:"info",error:"circle-alert"};function Uk(e,t){const a=t.filter(Boolean);if(a.length===0)return e;const o=[];let n=0,i=0;for(const s of a){const c=e.indexOf(s,n);c<0||(c>n&&o.push(e.slice(n,c)),o.push(r.jsx("strong",{className:"search-summary__em body-2",children:s},i++)),n=c+s.length)}return n<e.length&&o.push(e.slice(n)),o}function jg({status:e="guide",label:t,children:a,emphasis:o,icon:n,className:i=""}){const s=n===!1?null:n??Gk[e],c=Te("search-summary",`search-summary--${e}`,i),d=t??a,u=typeof d=="string"&&o&&o.length>0?Uk(d,o):d;return r.jsxs("div",{className:c,role:"status","aria-live":"polite",children:[s!=null&&r.jsx(Je,{icon:s,size:18,className:"search-summary__icon"}),r.jsx("span",{className:"search-summary__text body-2",children:u})]})}function vr({title:e,items:t}){const{t:a}=Ce.useTranslation(),{anchorRect:o,openAt:n,close:i}=Io(),s=l.useRef(null),c=hc(!!o,(d,u)=>{d&&u?n(s.current?.querySelector("button")??u):i()},s);return r.jsxs("span",{ref:s,style:{display:"contents"},children:[r.jsx(he,{htmlType:"button",size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:a("common.info","\uC124\uBA85"),onPointerEnter:d=>{ur(d)||n(d.currentTarget)},onPointerLeave:d=>{ur(d)||i()},onClick:d=>{c.touchPress(d.currentTarget)},onFocus:d=>{pr()||n(d.currentTarget)},onBlur:i}),o&&r.jsx(go,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:i})]})}var qk=".ihabdevteam-core-scope .tabs{display:flex;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .tabs__list{border-bottom:1px solid var(--color-whiteLine);display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .tabs__tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;border-bottom:2px solid transparent;color:var(--color-gray);cursor:pointer;padding:0 var(--spacing-xs);transition:color .15s,border-color .15s;white-space:nowrap}.ihabdevteam-core-scope .tabs__list--32 .tabs__tab{height:32px}.ihabdevteam-core-scope .tabs__list--40 .tabs__tab{height:40px}.ihabdevteam-core-scope .tabs__list--48 .tabs__tab{height:48px}.ihabdevteam-core-scope .tabs__tab:hover:not(:disabled){color:var(--color-darkGray)}.ihabdevteam-core-scope .tabs__tab:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .tabs__tab--active{border-bottom-color:var(--color-main);color:var(--color-main)}.ihabdevteam-core-scope .tabs__tab:disabled{color:var(--color-disabled);cursor:not-allowed}.ihabdevteam-core-scope .tabs__panel{outline:none}.ihabdevteam-core-scope .tabs__panel:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}";oe(qk);function Lg({items:e=[],value:t,onChange:a,className:o="",size:n=40}){const i=l.useId(),{t:s}=Ce.useTranslation(),c=l.useRef(null),d=e.find(f=>!f.disabled)?.key,u=e.some(f=>f.key===t)?t:d??e[0]?.key,p=e.find(f=>f.key===u&&!f.disabled)?.key??d,h=()=>Array.from(c.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),m=(f,C=h())=>{if(C.length===0)return;const g=(f%C.length+C.length)%C.length;C[g]?.focus(),C[g]?.click()},b=f=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(f.key))return;f.preventDefault();const C=h(),g=C.indexOf(f.currentTarget);f.key==="ArrowRight"||f.key==="ArrowDown"?m(g+1,C):f.key==="ArrowLeft"||f.key==="ArrowUp"?m(g-1,C):f.key==="Home"?m(0,C):m(C.length-1,C)},x=e.find(f=>f.key===u);return r.jsxs("div",{className:`tabs ${o}`.trim(),children:[r.jsx("div",{ref:c,className:`tabs__list tabs__list--${n}`,role:"tablist","aria-label":s("tabs.ariaLabel","\uD0ED"),children:e.map(f=>r.jsx("button",{id:`tabs__tab-${i}-${f.key}`,type:"button",role:"tab","aria-selected":f.key===u,"aria-controls":`tabs__panel-${i}-${f.key}`,disabled:f.disabled,tabIndex:f.key===p?0:-1,className:`tabs__tab body-2${f.key===u?" tabs__tab--active":""}`,onClick:()=>{f.key!==t&&a?.(f.key)},onKeyDown:b,children:f.label},f.key))}),x&&r.jsx("div",{id:`tabs__panel-${i}-${x.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${i}-${x.key}`,tabIndex:0,className:"tabs__panel",children:x.panel},x.key)]})}var Yk=".ihabdevteam-core-scope .avatar{align-items:center;background:var(--color-lightGray-a10);color:var(--color-gray);display:inline-flex;flex-shrink:0;height:var(--avatar-size);justify-content:center;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--avatar-size)}.ihabdevteam-core-scope .avatar--circle{border-radius:50%}.ihabdevteam-core-scope .avatar--rounded-square{border-radius:var(--radius-card)}.ihabdevteam-core-scope .avatar--xs{--avatar-size:24px}.ihabdevteam-core-scope .avatar--sm{--avatar-size:32px}.ihabdevteam-core-scope .avatar--md{--avatar-size:40px}.ihabdevteam-core-scope .avatar--lg{--avatar-size:56px}.ihabdevteam-core-scope .avatar--xl{--avatar-size:80px}.ihabdevteam-core-scope .avatar__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ihabdevteam-core-scope .avatar__initials{font-size:calc(var(--avatar-size)*.4);font-weight:600;line-height:1}.ihabdevteam-core-scope .avatar__icon{align-items:center;display:inline-flex;justify-content:center}";oe(Yk);const Kk={xs:12,sm:16,md:20,lg:28,xl:36};function Zk(e){const t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?"":t.length===1?[...t[0]].slice(0,2).join("").toUpperCase():([...t[0]][0]+[...t[t.length-1]][0]).toUpperCase()}function Mg({src:e,name:t,size:a="md",shape:o="circle",className:n=""}){const{t:i}=Ce.useTranslation(),[s,c]=l.useState(null),d=!!e&&s===e,u=t?Zk(t):"",p=!!e&&!d,h=!p&&!!u,m=t||i("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return r.jsxs("span",{className:`avatar avatar--${a} avatar--${o} ${n}`.trim(),role:"img","aria-label":m,children:[p&&r.jsx("img",{className:"avatar__image",src:e,alt:m,onError:()=>c(e??null)}),!p&&h&&r.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:u}),!p&&!h&&r.jsx(Je,{icon:"user-round",size:Kk[a],className:"avatar__icon"})]})}var Xk=".ihabdevteam-core-scope .file-upload{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .file-upload__dropzone{align-items:center;background:var(--color-deepWhite);border:1px dashed var(--color-whiteLine);border-radius:var(--radius-card);cursor:pointer;display:flex;flex-direction:column;gap:var(--spacing-xs);justify-content:center;padding:var(--spacing-xl);position:relative;transition:border-color .15s,background .15s}.ihabdevteam-core-scope .file-upload__dropzone:hover:not(.file-upload__dropzone--disabled){border-color:var(--color-main)}.ihabdevteam-core-scope .file-upload__dropzone:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .file-upload__dropzone--dragging{background:var(--color-main-a10);border-color:var(--color-main)}.ihabdevteam-core-scope .file-upload__dropzone--disabled{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .file-upload__icon{color:var(--color-gray)}.ihabdevteam-core-scope .file-upload__prompt{color:var(--color-gray);text-align:center}.ihabdevteam-core-scope .file-upload__browse-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--color-pureWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);color:var(--color-main);cursor:pointer;padding:var(--spacing-xs) var(--spacing-m)}.ihabdevteam-core-scope .file-upload__browse-button:disabled{color:var(--color-disabled);cursor:not-allowed}.ihabdevteam-core-scope .file-upload__input{height:1px;opacity:0;overflow:hidden;pointer-events:none;position:absolute;width:1px}.ihabdevteam-core-scope .file-upload__list{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .file-upload__list-item{align-items:center;background:var(--color-deepWhite);border-radius:var(--radius-sm);display:flex;gap:var(--spacing-s);justify-content:space-between;padding:var(--spacing-xs) var(--spacing-s)}.ihabdevteam-core-scope .file-upload__file-name{color:var(--color-darkGray);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .file-upload__remove-button{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:var(--color-gray);cursor:pointer;display:inline-flex;flex-shrink:0;justify-content:center}.ihabdevteam-core-scope .file-upload__remove-button:hover{color:var(--color-error)}";oe(Xk);function Jk(e,t){if(!t)return!0;const a=t.split(",").map(i=>i.trim()).filter(Boolean);if(a.length===0)return!0;const o=e.name.toLowerCase(),n=e.type.toLowerCase();return a.some(i=>{const s=i.toLowerCase();return s.startsWith(".")?o.endsWith(s):s.endsWith("/*")?n.startsWith(s.slice(0,-1)):n===s})}function $g({onFilesSelected:e,accept:t,multiple:a=!1,disabled:o=!1,showFileList:n=!0,files:i,onRemove:s,className:c=""}){const{t:d}=Ce.useTranslation(),u=l.useRef(null),[p,h]=l.useState(!1),[m,b]=l.useState([]),x=i??m,f=k=>{if(!k||k.length===0)return;const S=Array.from(k).filter(A=>Jk(A,t));if(S.length===0)return;const w=a?S:S.slice(0,1);if(i===void 0){const A=a?[...x,...w]:w;b(A),e?.(A)}else e?.(w)},C=k=>{k.preventDefault(),!o&&h(!0)},g=k=>{k.preventDefault(),h(!1)},v=k=>{k.preventDefault(),h(!1),!o&&f(k.dataTransfer.files)},y=k=>{const S=k.target;try{f(S.files)}finally{S.value=""}},_=()=>{o||u.current?.click()},B=k=>{if(!o&&(s?.(k),i===void 0)){const S=x.filter((w,A)=>A!==k);b(S),s||e?.(S)}};return r.jsxs("div",{className:`file-upload ${c}`.trim(),children:[r.jsxs("div",{className:Te("file-upload__dropzone",p&&"file-upload__dropzone--dragging",o&&"file-upload__dropzone--disabled"),role:"button",tabIndex:o?-1:0,"aria-disabled":o,onClick:_,onKeyDown:k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),_())},onDragOver:C,onDragLeave:g,onDrop:v,children:[r.jsx(Je,{icon:"upload",size:24,className:"file-upload__icon"}),r.jsx("span",{className:"file-upload__prompt body-2",children:d("fileUpload.dragPrompt","\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC")}),r.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:o,onClick:k=>{k.stopPropagation(),_()},children:d("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),r.jsx("input",{ref:u,type:"file",className:"file-upload__input",accept:t,multiple:a,disabled:o,onChange:y,tabIndex:-1})]}),n&&x.length>0&&r.jsx("ul",{className:"file-upload__list",children:x.map((k,S)=>r.jsxs("li",{className:"file-upload__list-item body-3",children:[r.jsx("span",{className:"file-upload__file-name body-3",children:k.name}),r.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":d("fileUpload.removeAriaLabel",{name:k.name}),disabled:o,onClick:()=>B(S),children:r.jsx(Je,{icon:"x",size:14})})]},`${k.name}-${S}`))})]})}var Qk=".ihabdevteam-core-scope .breadcrumb{align-items:center;display:inline-flex}.ihabdevteam-core-scope .breadcrumb__list{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .breadcrumb__item{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .breadcrumb__link{align-items:center;background:none;border:none;color:var(--color-gray);cursor:pointer;display:inline-flex;justify-content:center;margin:0;min-height:24px;min-width:24px;padding:0}.ihabdevteam-core-scope .breadcrumb__link:hover{color:var(--color-main);text-decoration:underline}.ihabdevteam-core-scope .breadcrumb__link:focus-visible{border-radius:var(--radius-xs);outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .breadcrumb__current{color:var(--color-darkGray)}.ihabdevteam-core-scope .breadcrumb__text{color:var(--color-gray)}.ihabdevteam-core-scope a.breadcrumb__link{text-decoration:none}.ihabdevteam-core-scope .breadcrumb__separator{align-items:center;color:var(--color-disabled);display:inline-flex;flex-shrink:0}";oe(Qk);function Rg({items:e,className:t=""}){const{t:a}=Ce.useTranslation();return r.jsx("nav",{className:`breadcrumb ${t}`.trim(),"aria-label":a("breadcrumb.ariaLabel","\uC774\uB3D9 \uACBD\uB85C"),children:r.jsx("ol",{className:"breadcrumb__list",children:e.map((o,n)=>{const i=n===e.length-1;return r.jsxs("li",{className:"breadcrumb__item",children:[i?r.jsx("span",{className:"breadcrumb__current body-3","aria-current":"page",children:o.label}):o.href?r.jsx("a",{className:"breadcrumb__link body-3",href:o.href,target:o.target,rel:o.rel??(o.target==="_blank"?"noopener noreferrer":void 0),onClick:o.onClick,children:o.label}):o.onClick?r.jsx("button",{type:"button",className:"breadcrumb__link body-3",onClick:o.onClick,children:o.label}):r.jsx("span",{className:"breadcrumb__text body-3",children:o.label}),!i&&r.jsx(Je,{icon:"chevron-right",size:14,className:"breadcrumb__separator"})]},n)})})})}var e6=".ihabdevteam-core-scope .rating{--rating-color:var(--color-warn);--rating-empty-color:var(--color-whiteLine);align-items:center;display:inline-flex;gap:2px}.ihabdevteam-core-scope .rating__item{align-items:center;background:none;border:none;display:inline-flex;justify-content:center;line-height:0;margin:0;padding:0}.ihabdevteam-core-scope .rating__item--interactive{cursor:pointer;min-height:24px;min-width:24px}.ihabdevteam-core-scope .rating__item--interactive:focus-visible{border-radius:var(--radius-xs);outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .rating--readOnly .rating__item{cursor:default}.ihabdevteam-core-scope .rating__star-wrap{display:inline-flex;line-height:0;position:relative}.ihabdevteam-core-scope .rating__star--empty{color:var(--rating-empty-color)}.ihabdevteam-core-scope .rating__star--empty svg{fill:var(--rating-empty-color)}.ihabdevteam-core-scope .rating__star-fill{display:inline-flex;height:100%;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap;width:100%}.ihabdevteam-core-scope .rating__star-fill--half{width:50%}.ihabdevteam-core-scope .rating__star--filled{color:var(--rating-color)}.ihabdevteam-core-scope .rating__star--filled svg{fill:var(--rating-color)}";oe(e6);const t6={small:14,medium:20,large:28};function Pg({value:e,onChange:t,max:a=5,readOnly:o=!1,size:n="medium",ariaLabel:i,className:s=""}){const{t:c}=Ce.useTranslation(),d=o||!t,[u,p]=l.useState(null),h=d?e:Number.isFinite(e)?Math.round(e):0,m=u??h,b=t6[n],x=k=>{k!==e&&t?.(k)},f=k=>{d||x(k)},C=k=>{d||pr()||p(k)},g=l.useRef(null),v=k=>{const S=Math.min(a,Math.max(1,k));x(S),Array.from(g.current?.querySelectorAll("[data-star]")??[]).find(w=>w.dataset.star===String(S))?.focus()},y=k=>{if(!d){switch(k.key){case"ArrowRight":case"ArrowUp":v((h||0)+1);break;case"ArrowLeft":case"ArrowDown":v((h||1)-1);break;case"Home":v(1);break;case"End":v(a);break;default:return}k.preventDefault()}},_=h>=1&&h<=a?Math.round(h):1,B=()=>{d||p(null)};return r.jsx("div",{className:`rating rating--${n}${d?" rating--readOnly":""} ${s}`.trim(),ref:g,onKeyDown:y,role:d?"img":"radiogroup","aria-label":d?c("rating.valueLabel",{value:e,max:a}):i??c("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:B,onPointerUp:k=>{k.pointerType==="touch"&&B()},onPointerCancel:k=>{k.pointerType==="touch"&&B()},children:Array.from({length:a},(k,S)=>{const w=S+1,A=Math.max(0,Math.min(1,m-S)),E=A>0&&A<1,L=r.jsxs("span",{className:"rating__star-wrap",children:[r.jsx(Je,{icon:"star",size:b,className:"rating__star rating__star--empty"}),A>0&&r.jsx("span",{className:`rating__star-fill${E?" rating__star-fill--half":""}`,style:E?{width:`${A*100}%`}:void 0,children:r.jsx(Je,{icon:"star",size:b,className:"rating__star rating__star--filled"})})]});return d?r.jsx("span",{className:"rating__item","aria-hidden":"true",children:L},w):r.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":h===w,"aria-label":c("rating.starLabel",{n:w}),"data-star":w,tabIndex:w===_?0:-1,onClick:()=>f(w),onMouseEnter:()=>C(w),children:L},w)})})}var a6=".ihabdevteam-core-scope .color-picker{display:flex;flex-wrap:wrap;gap:var(--spacing-xs)}.ihabdevteam-core-scope .color-picker__swatch{align-items:center;border:none;cursor:pointer;display:inline-flex;justify-content:center;padding:0;position:relative;transition:transform .12s,box-shadow .12s}.ihabdevteam-core-scope .color-picker__swatch--32{border-radius:8px;height:32px;width:32px}.ihabdevteam-core-scope .color-picker__swatch--40{border-radius:10px;height:40px;width:40px}.ihabdevteam-core-scope .color-picker__swatch--48{border-radius:12px;height:48px;width:48px}.ihabdevteam-core-scope .color-picker__swatch:hover{transform:scale(1.08)}.ihabdevteam-core-scope .color-picker__swatch:focus-visible{outline:2px solid var(--color-main);outline-offset:2px}.ihabdevteam-core-scope .color-picker__check{color:#fff}.ihabdevteam-core-scope .color-picker__check svg{display:block}";oe(a6);const o6=20,r6=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function zg({value:e,onChange:t,palette:a=r6,size:o=40,className:n="",ariaLabel:i}){const{t:s}=Ce.useTranslation();return r.jsx("div",{className:`color-picker ${n}`.trim(),role:"group","aria-label":i,children:a.map(c=>{const d=e?.toLowerCase()===c.toLowerCase();return r.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${o}`,style:{backgroundColor:c},onClick:()=>t(c),"aria-pressed":d,"aria-label":d?`${c} ${s("colorPicker.selected","\uC120\uD0DD\uB428")}`:c,children:d&&r.jsx(Je,{icon:"check",size:o6,className:"color-picker__check"})},c)})})}var n6=".ihabdevteam-core-scope .count-tile{background:var(--color-deepWhite);border:1px solid var(--color-darkWhite);border-radius:16px;box-sizing:border-box;flex-shrink:0;height:72px;padding:12px;position:relative;transition:border-color .15s,background .15s;width:72px}.ihabdevteam-core-scope .count-tile__icon{color:var(--color-main);left:12px;position:absolute;top:12px}.ihabdevteam-core-scope .count-tile__count{bottom:12px;color:var(--color-darkGray);line-height:1;position:absolute;right:12px}.ihabdevteam-core-scope .count-tile--clickable{cursor:pointer}.ihabdevteam-core-scope .count-tile--clickable:hover{background:var(--color-white)}@media (max-width:767px){.ihabdevteam-core-scope .count-tile{border-radius:14px;height:60px;padding:10px;width:60px}.ihabdevteam-core-scope .count-tile__icon{left:8px;top:8px}.ihabdevteam-core-scope .count-tile__count{bottom:8px;right:8px}}";oe(n6);var i6=".ihabdevteam-core-scope .tooltip-content.tooltip-training{pointer-events:none}.ihabdevteam-core-scope .tooltip-training__box{background:var(--color-white);border-radius:var(--radius-m);box-shadow:0 4px 16px rgba(0,0,0,.12);padding:10px 14px}.ihabdevteam-core-scope .tooltip-training__groups{align-items:stretch;display:flex;flex-direction:row;gap:0}.ihabdevteam-core-scope .tooltip-training__section{display:flex;flex-direction:column;flex-shrink:0;gap:6px;width:100px}.ihabdevteam-core-scope .tooltip-training__section-header{align-items:center;display:flex}.ihabdevteam-core-scope .tooltip-training__type-label{color:var(--color-darkGray);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .tooltip-training__divider{align-self:center;background:var(--color-whiteLine);flex-shrink:0;height:20px;margin:0 10px;width:1px}.ihabdevteam-core-scope .tooltip-training__items{display:flex;flex-direction:column;gap:2px;pointer-events:none}.ihabdevteam-core-scope .tooltip-training__items .training-block-button--compact{cursor:default}";oe(i6);var s6=".ihabdevteam-core-scope .category-icon{align-items:center;background:var(--t-item-bg,color-mix(in srgb,var(--t-item-fg,var(--color-lightGray)) 10%,transparent));border-radius:var(--radius-s);color:var(--t-item-fg,var(--color-lightGray));display:flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:40px}.ihabdevteam-core-scope .category-icon--small{border-radius:var(--radius-sm);height:28px;width:28px}.ihabdevteam-core-scope .category-icon__mask{background-color:currentColor;background-color:var(--t-item-fg,currentColor);border-radius:var(--radius-sm);display:inline-block;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.ihabdevteam-core-scope .category-icon__image{border-radius:var(--radius-sm);display:block;-o-object-fit:contain;object-fit:contain}.ihabdevteam-core-scope .category-icon__svg svg{fill:currentColor;display:block}.ihabdevteam-core-scope .category-icon__wrap{cursor:default;display:inline-flex;position:relative}.ihabdevteam-core-scope .category-icon__tooltip{pointer-events:none;white-space:nowrap}";oe(s6);function Ig({icon:e,label:t,tooltip:a,wrapperStyle:o,color:n,bgColor:i,useHover:s=!0,iconSize:c="medium"}){const d=c==="small",u=Te("category-icon",d?"category-icon--small":""),p=d?16:20,h=l.useRef(null),[m,b]=l.useState(!1),x=l.useMemo(()=>{const k=o&&typeof o=="object"?{...o}:{};return!n&&!i?k:{...k,...n?{color:n,"--t-item-fg":n}:{},...i?{"--t-item-bg":i}:{}}},[o,n,i]),f=a||t,[C,g]=l.useState(null);l.useLayoutEffect(()=>{m&&g(h.current?.getBoundingClientRect()??null)},[m]),l.useEffect(()=>{if(!s&&m)try{b(!1)}catch{}},[s,m]),l.useEffect(()=>{if(!m)return;const k=S=>{const w=h.current;if(!w)return;const A=S.target;A&&!w.contains(A)&&b(!1)};return document.addEventListener("pointerdown",k,!0),()=>document.removeEventListener("pointerdown",k,!0)},[m]);const v=l.useCallback(()=>{s&&b(!0)},[s]),y=l.useCallback(()=>{s&&b(!1)},[s]),_=l.useCallback(()=>b(!1),[]),B=l.useCallback(k=>{if(k.key==="Escape"){b(!1);return}(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),b(S=>!S))},[]);return r.jsxs("span",{ref:h,className:"category-icon__wrap",onPointerEnter:v,onPointerLeave:y,onFocus:v,onBlur:y,onKeyDown:B,role:"button",tabIndex:0,"aria-label":typeof f=="string"?f:void 0,"aria-haspopup":!!f,"aria-expanded":m,"data-tooltip-ignore":!0,children:[r.jsx(Je,{icon:e,label:t,className:u,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:x,size:p}),m&&f&&r.jsx(ka,{anchorRect:C,text:typeof f=="string"?f:void 0,offset:8,onClose:_,className:"category-icon__tooltip",ariaLabel:typeof f=="string"?f:void 0})]})}var l6='.ihabdevteam-core-scope .training-block-button{background:var(--color-white);border:1px solid rgba(0,0,0,.06);border-radius:var(--radius-m);box-shadow:var(--shadow-card);box-sizing:border-box;cursor:pointer;display:inline-block;height:200px;padding:var(--spacing-l);position:relative;text-align:left;transition:all .12s;vertical-align:top;width:200px}.ihabdevteam-core-scope .training-block-button:hover{border-color:var(--color-main);box-shadow:var(--shadow-card)}.ihabdevteam-core-scope .training-block-button--completed{box-shadow:var(--shadow-card)}.ihabdevteam-core-scope .training-block-button__more{position:absolute;right:var(--spacing-l);top:calc(var(--spacing-l) - 2px);z-index:2}@media (min-width:768px) and (max-width:1023px){.ihabdevteam-core-scope .training-block-button{height:190px;width:190px}}@media (max-width:767px){.ihabdevteam-core-scope .training-block-button{height:170px;width:calc(50% - 5px)}.ihabdevteam-core-scope .training-block-button__title.h3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;line-height:20px;overflow:hidden}}.ihabdevteam-core-scope .training-block-button__left{display:block}.ihabdevteam-core-scope .training-block-button__title.h3{color:var(--color-black);left:20px;margin:0;position:absolute;right:20px;top:68px}.ihabdevteam-core-scope .training-block-button__description{align-items:center;bottom:20px;display:flex;gap:var(--spacing-xs);height:20px;justify-content:space-between;left:20px;position:absolute;right:20px}.ihabdevteam-core-scope .training-block-button__count{color:var(--color-darkGray)}.ihabdevteam-core-scope .training-block-button__chevron{align-items:center;color:var(--color-lightGray);display:inline-flex;height:20px;justify-content:center;margin-left:auto}.ihabdevteam-core-scope .training-block-button__chevron-icon,.ihabdevteam-core-scope .training-block-button__chevron-icon-image,.ihabdevteam-core-scope .training-block-button__chevron-icon-mask,.ihabdevteam-core-scope .training-block-button__chevron-icon-svg{align-items:center;color:var(--color-lightGray);display:inline-flex;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .training-block-button__chevron-icon-mask{background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.ihabdevteam-core-scope .training-block-button__chevron-icon-image{display:block;-o-object-fit:contain;object-fit:contain}.ihabdevteam-core-scope .training-block-button__chevron-icon-svg svg{fill:currentColor;display:block;height:20px;width:20px}.ihabdevteam-core-scope .training-block-button .category-icon__wrap{left:18px;position:absolute;top:18px}.ihabdevteam-core-scope .training-block-button .category-icon{position:static}.ihabdevteam-core-scope .training-block-button__type-label{color:var(--color-gray);left:20px;overflow:hidden;position:absolute;right:20px;text-overflow:ellipsis;top:68px;white-space:nowrap}.ihabdevteam-core-scope .training-block-button--withType .training-block-button__title.h3{top:86px}.ihabdevteam-core-scope .training-block-button--small{height:120px;width:120px}.ihabdevteam-core-scope .training-block-button--small .category-icon__wrap{left:12px;top:12px}.ihabdevteam-core-scope .training-block-button--small .training-block-button__type-label{color:var(--color-gray);left:12px;overflow:hidden;position:absolute;right:12px;text-overflow:ellipsis;top:44px;white-space:nowrap}.ihabdevteam-core-scope .training-block-button--small .training-block-button__title{color:var(--color-black);left:12px;margin:0;overflow:hidden;position:absolute;right:12px;text-overflow:ellipsis;top:60px;white-space:nowrap}.ihabdevteam-core-scope .training-block-button--small.training-block-button--no-type-label .training-block-button__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;top:44px;white-space:normal}.ihabdevteam-core-scope .training-block-button--small .training-block-button__description{bottom:10px;height:16px;left:12px;right:12px}.ihabdevteam-core-scope .training-block-button--small .training-block-button__more{right:6px;top:6px}.ihabdevteam-core-scope .training-block-button--small .training-block-button__chevron-icon,.ihabdevteam-core-scope .training-block-button--small .training-block-button__chevron-icon-svg,.ihabdevteam-core-scope .training-block-button--small .training-block-button__chevron-icon-svg svg{height:12px;width:12px}.ihabdevteam-core-scope .training-block-button--list{box-shadow:none;min-height:68px;padding:0 12px;width:200px}.ihabdevteam-core-scope .training-block-button--list .training-block-button__left{align-items:center;display:flex;gap:var(--spacing-s);height:100%;width:100%}.ihabdevteam-core-scope .training-block-button--list .category-icon__wrap{flex-shrink:0;order:1;position:static}.ihabdevteam-core-scope .training-block-button--list .training-block-button__title{color:var(--color-black);flex:1;min-width:0;order:2;overflow:hidden;position:static;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-block-button--list .training-block-button__description{display:none}.ihabdevteam-core-scope .training-block-button--list .training-block-button__preview{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center;order:4}.ihabdevteam-core-scope .training-block-button--row{align-items:center;display:flex;height:auto;min-height:68px;width:100%}.ihabdevteam-core-scope .training-block-button--row .training-block-button__left{grid-column-gap:var(--spacing-s);grid-row-gap:4px;align-content:center;align-items:center;-moz-column-gap:var(--spacing-s);column-gap:var(--spacing-s);display:grid;grid-template-areas:"icon type count" "icon title count";grid-template-columns:auto 1fr auto;height:auto;padding:8px 0;row-gap:4px}.ihabdevteam-core-scope .training-block-button--row .category-icon__wrap{align-self:center;grid-area:icon}.ihabdevteam-core-scope .training-block-button--row .training-block-button__type-label{align-self:end;grid-area:type;inset:auto;position:static}.ihabdevteam-core-scope .training-block-button--row .training-block-button__title{align-self:start;grid-area:title;inset:auto;overflow:hidden;position:static;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-block-button--row .training-block-button__description{align-items:center;display:flex;gap:4px;grid-area:count;height:auto;inset:auto;position:static}.ihabdevteam-core-scope .training-block-button--row:not(.training-block-button--withType) .training-block-button__title{align-self:center;grid-row:1/span 2}.ihabdevteam-core-scope .training-block-button--small .training-block-button__preview{align-items:center;display:inline-flex;justify-content:center;position:absolute;right:12px;top:12px;z-index:1}.ihabdevteam-core-scope .training-block-button--compact{background:transparent;border-color:transparent;box-shadow:none;height:40px;padding:0;width:100%}.ihabdevteam-core-scope .training-block-button--compact:hover{background:var(--color-darkWhite);border-color:transparent;box-shadow:none}.ihabdevteam-core-scope .training-block-button--compact .training-block-button__left{align-items:center;display:flex;gap:var(--spacing-xs);height:100%;width:100%}.ihabdevteam-core-scope .training-block-button--compact .category-icon__wrap{flex-shrink:0;order:1;position:static}.ihabdevteam-core-scope .training-block-button--compact .training-block-button__title{color:var(--color-black);flex:1;min-width:0;order:2;overflow:hidden;position:static;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-block-button--compact .training-block-button__description{display:none}@media (hover:hover){.ihabdevteam-core-scope .training-block-button__remove:not(.is-hover){display:none}}@media (hover:none){.ihabdevteam-core-scope .training-block-button__check--removable{display:none}}';oe(l6);let vo=null;function Ei(e){if(vo&&vo!==e)try{vo()}catch{}return vo=e,()=>{vo===e&&(vo=null)}}function Ni(e){if(vo===e){vo=null;try{e()}catch{}}}function c6(e,t){if(!e)return{previewCodes:[],previewBucket:null};const a=e,o=s=>s.map(c=>c?.contextCode||c?.context_code).filter(Boolean).map(String);if(t==="LISTEN_IN_NOISE"){const s=a.sentences||a.items||[],c=Array.isArray(s)&&s.length>0?o(s):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}if(t==="SHORT_STORY"){const s=a.items||a.sentences||[],c=Array.isArray(s)&&s.length>0?o(s):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"SHORT_S"}}if(t==="LONG_STORY"){const s=a.items||a.sentences||[],c=Array.isArray(s)&&s.length>0?o(s):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LONG"}}if(t==="ORDERING_SENTENCE"){const s=a.sentences||a.items||[],c=Array.isArray(s)&&s.length>0?o(s):[];return c.length===0&&(a.contextCode||a.context_code)&&c.push(String(a.contextCode||a.context_code)),{previewCodes:c,previewBucket:"LIN_D"}}const n=a.sentences||a.items||[],i=o(Array.isArray(n)?n:[]);return i.length===0&&(a.contextCode||a.context_code)&&i.push(String(a.contextCode||a.context_code)),{previewCodes:i,previewBucket:null}}function d6(e,t){const[a,o]=l.useState(!1),[n,i]=l.useState(-1),[s,c]=l.useState({key:"",urls:[]}),d=l.useRef(null),u=l.useRef(!1),p=l.useRef(null),h=l.useRef(null),[m,b]=l.useState(!1),x=l.useRef([]),{previewCodes:f,previewBucket:C}=c6(e,t),g=`${f.join(",")}|${C??""}`,v=l.useMemo(()=>s.key===g?s.urls:[],[s,g]);l.useEffect(()=>{if(!f.length)return;let _=!1;return(async()=>{const B=[],k=[];for(const S of f)try{const w=Dn(S,C);if(!w){B.push("");continue}let A=null;try{A=await Rr(w)}catch{}if(!A)try{const E=await Tn(w);E&&(A=URL.createObjectURL(E),k.push(A))}catch{}B.push(A??"")}catch{B.push("")}_?k.forEach(S=>{try{URL.revokeObjectURL(S)}catch{}}):(x.current.forEach(S=>{try{URL.revokeObjectURL(S)}catch{}}),x.current=k,c({key:g,urls:B}))})(),()=>{_=!0}},[f.join(","),C]),l.useEffect(()=>()=>{x.current.forEach(_=>{try{URL.revokeObjectURL(_)}catch{}}),x.current=[]},[]);const y=l.useCallback(async _=>{if(_.stopPropagation(),_.preventDefault(),u.current){p.current&&Ni(p.current),u.current=!1;try{d.current?.pause()}catch{}o(!1),i(-1);return}if(!v.filter(Boolean).length)return;let B=null;const k=()=>{u.current=!1;try{d.current?.pause()}catch{}B?.()};p.current=k;const S=Ei(k);u.current=!0,o(!0);for(let w=0;w<v.length&&u.current;w++){const A=v[w];if(A){i(w);try{await new Promise((E,L)=>{B=E;const z=new Audio(A);d.current=z,z.onended=()=>E(),z.onerror=()=>L(),z.play().catch(L)})}catch{break}}}S(),p.current===k&&(p.current=null,u.current=!1,o(!1),i(-1))},[v]);return l.useEffect(()=>()=>{p.current&&Ni(p.current),u.current=!1;try{d.current?.pause()}catch{}d.current=null},[]),{playing:a,playingIndex:n,previewUrls:v,previewHover:m,setPreviewHover:b,previewBtnRef:h,handlePreview:y}}const u6=e=>{if(!e)return[];const t=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(t)return[String(t)];const a=e.sentences||e.items||e.questions||[];return Array.isArray(a)&&a.length>0?a.map(o=>{if(typeof o=="string")return o;if(o&&typeof o=="object"){const n=o;return n.sentence||n.text||n.context||n.question||n.title||""}return""}).filter(o=>typeof o=="string"&&o.trim().length>0).map(o=>o.trim()):[]};function Di(e){const{index:t,type:a,trainingData:o,ariaLabel:n,depth:i,renderPopup:s,completed:c,completedIds:d,selectedIds:u,tooltipText:p,useDescriptionTooltip:h=!1,onRemove:m,hideCheckBadge:b=!1,showTypeLabel:x=!1,onComplete:f,onSelect:C,onMore:g,countLabelOverride:v,size:y="square"}=e||{},{t:_}=Ce.useTranslation(),[B,k]=l.useState(!1),S=l.useRef(null),[w,A]=l.useState(!1);l.useEffect(()=>{S.current?.matches(":hover")&&A(!0)},[]);const{playing:E,playingIndex:L,previewUrls:z,previewHover:j,setPreviewHover:I,previewBtnRef:D,handlePreview:T}=d6(o,a?.key),O=l.useCallback(()=>{C?C():k(!0)},[C]),G=l.useCallback(()=>k(!1),[]),Z=l.useCallback(()=>A(!0),[]),H=l.useCallback(()=>A(!1),[]),V=l.useCallback(()=>I(!0),[I]),q=l.useCallback(()=>I(!1),[I]),[$,N]=l.useState(null);l.useLayoutEffect(()=>{j&&N(D.current?.getBoundingClientRect()??null)},[j,D]);const[F,R]=l.useState(null);l.useLayoutEffect(()=>{w&&!B&&h&&R(S.current?.getBoundingClientRect()??null)},[w,B,h]);const W=l.useCallback(re=>{re.target===re.currentTarget&&(re.key==="Enter"||re.key===" ")&&(re.preventDefault(),O())},[O]),P=o||null,Q=l.useMemo(()=>{if(!h)return null;const re=p?(Array.isArray(p)?p:[p]).filter(Boolean):null,Oe=re&&re.length>0?re:u6(P);return Oe&&Oe.length>0?Oe:null},[h,p,P]),ee=l.useCallback(re=>{re.stopPropagation(),m?.()},[m]),Y=l.useCallback(re=>re.stopPropagation(),[]),ne=l.useCallback(re=>{typeof f=="function"&&f(re)},[f]),ie=c||(d&&o?.id!=null?d.has(String(o.id)):!1),se=!ie&&(u!=null&&o?.id!=null?u.has(String(o.id)):!1);ln("speechear.popup.close",G);const ce=ei(),U=`${a?.label||""} ${t+1}`,le=P?.title||P?.name||U;let be=a?.icon,ye,xe="",ue="";try{const re=P?.category_0||P?.category_main_code||P?.category_main,Oe=P?.category_1||P?.category_sub_code||P?.category_sub,Fe=ce.find(Ze=>Ze.key===re);Fe?.icon&&(be=Fe.icon),!ye&&Fe?.color&&(ye={"--t-item-fg":Fe.color}),!ye&&P?.iconColor&&(ye={"--t-item-fg":P.iconColor}),xe=Fe?_(`topic.${Fe.key}`,{defaultValue:Fe.label||""}):"";try{const Ze=Fe?.subs?.find(Qe=>Qe.key===Oe);ue=Ze?_(`topic.sub.${Ze.key}`,{defaultValue:Ze.label||""}):""}catch{}}catch{}const _e=ue?`${xe} / ${ue}`:xe||a?.label||le,Ae=re=>_("training.countQuestions",{n:re}),X=re=>_("training.countSentences",{n:re});let we="";try{if(P)if(a?.key==="LISTEN_IN_NOISE"){let re=0;Array.isArray(P.items)&&P.items.length>0?re=P.items.length:Array.isArray(P.sentences)&&P.sentences.length>0?re=P.sentences.length:P.sentences&&(re=1),we=X(re)}else if(a?.key==="SHORT_STORY"){let re=1;Array.isArray(o?.items)?re=o.items.length:Array.isArray(o?.raw&&o.raw?.items)?re=o.raw.items.length:Array.isArray(P?.questions)?re=P.questions.length:Array.isArray(P?.sentences)&&(re=P.sentences.length),we=Ae(re)}else if(a?.key==="LONG_STORY"){let re=1;if(Array.isArray(P.items)&&P.items.length>0){const Oe=P.items.reduce((Fe,Ze)=>{const Qe=Ze.questionItems;return Array.isArray(Qe)?Fe+Qe.length:Array.isArray(Ze.questions)?Fe+Ze.questions.length:Fe},0);re=Oe>0?Oe:P.items.length}else Array.isArray(P.questions)&&P.questions.length>0?re=P.questions.length:Array.isArray(P.sentences)&&P.sentences.length>0&&(re=P.sentences.length);we=Ae(re)}else if(a?.key==="ORDERING_SENTENCE"){let re=1;Array.isArray(P.items)&&P.items.length>0?re=P.items.length:Array.isArray(P.sentences)&&P.sentences.length>0&&(re=P.sentences.length),we=X(re)}else Array.isArray(P.items)&&(we=P.items.length>0?Ae(P.items.length):"")}catch{}const fe=y==="row",ae=y==="list"||fe,ge=y==="compact",Me=y==="small",$e=Me&&a?.key?Wl().find(re=>re.key===a.key):void 0,Ye=$e?ai[$e.key]:void 0,ze=$e?Ye?_(`trainingType.${Ye}.title`,{defaultValue:$e.label}):$e.label??"":"",Ue=!!x&&!!a?.label&&a.label!==String(le)||Me&&!!ze&&ze!==String(le);return r.jsxs(r.Fragment,{children:[r.jsxs("div",{ref:S,className:`training-block-button${ae?" training-block-button--list":""}${fe?" training-block-button--row":""}${ge?" training-block-button--compact":""}${Me?" training-block-button--small":""}${ie?" training-block-button--completed":""}${se?" training-block-button--selected":""}${Ue&&!Me?" training-block-button--withType":""}${Me&&!Ue?" training-block-button--no-type-label":""}`,onClick:O,onPointerEnter:Z,onPointerLeave:H,role:"button",tabIndex:0,onKeyDown:W,"aria-label":typeof n=="string"?n:typeof le=="string"?le:void 0,title:!h&&p&&(Array.isArray(p)?p.filter(Boolean).join(`
853
- `):p)||void 0,children:[r.jsxs("div",{className:"training-block-button__left",children:[x&&a?.label&&a.label!==String(le)&&r.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),Me&&ze&&ze!==String(le)&&r.jsx("span",{className:"training-block-button__type-label caption-2",children:ze}),r.jsx(Ig,{icon:be,label:le,tooltip:_e,wrapperStyle:ye,iconSize:Me||ge?"small":"medium"}),!b&&(ie||se)&&!(m&&w)&&r.jsx(_t,{className:m?"training-block-button__check--removable":void 0,type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":ie?_("training.completed","\uD6C8\uB828 \uC644\uB8CC"):_("training.selected","\uC120\uD0DD\uB428")}),m&&r.jsx(_t,{className:`training-block-button__remove${w?" is-hover":""}`,type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":_("common.remove","\uC81C\uAC70"),onClick:ee}),r.jsx("div",{className:`training-block-button__title ${ge?"body-3":Me?"body-3b":"h3"}`,children:String(le)}),r.jsxs("div",{className:"training-block-button__description",children:[(()=>{const re=v!==void 0?v:we;return re?r.jsx("div",{className:`training-block-button__count ${Me?"caption-2":"caption-1"}`,children:re}):null})(),r.jsx("div",{className:"training-block-button__chevron",children:r.jsx(Je,{icon:"chevron-right",label:_("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:Me?12:20})})]}),(ae&&!fe||Me)&&z.length>0&&r.jsx("div",{ref:D,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:Y,onPointerEnter:V,onPointerLeave:q,children:r.jsx(he,{htmlType:"button",size:Me?28:32,type:"dot",icon:E?"pause":"play",variant:Me?"transparent-lightGray":"default",useBorder:!1,selected:E,ariaLabel:E?_("training.stop","\uC815\uC9C0"):_("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:T})})]}),g&&r.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:re=>{re.stopPropagation(),g(re)},children:r.jsx(he,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:String(le).trim()?_("common.moreFor",{name:le}):_("common.more","\uB354\uBCF4\uAE30")})})]}),j&&r.jsx(ka,{anchorRect:$,text:E?_("training.stop","\uC815\uC9C0"):_("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:q}),w&&!B&&h&&(Q?r.jsx(go,{anchorRect:F,items:Q,activeIndex:L,onClose:H}):P?.subTitle?r.jsx(ka,{anchorRect:F,text:P.subTitle,offset:8,onClose:H}):null),B&&s&&s({trainingData:P,typeKey:a?.key??"",onClose:G,onComplete:ne,popupTitle:String(le),popupSubTitle:a?.subTitle,depth:i!=null?String(i):void 0,popupIcon:be,popupIconTooltip:String(_e),popupWrapperStyle:ye})]})}const Pd=200;function p6(e){return e.itemId?(Xl()[e.trainingType]??[]).find(t=>t?.id!=null&&String(t.id)===String(e.itemId))??null:null}function zd({plan:e,anchorRect:t,offset:a=12,onClose:o}){const{t:n}=Ce.useTranslation(),i=l.useMemo(()=>jm(n).map(c=>({type:c,items:(e.items??[]).filter(d=>d.trainingType===c.key)})).filter(c=>c.items.length>0),[e.items,n]);if(i.length===0)return null;const s=r.jsx("div",{className:"tooltip-training__box",children:r.jsx("div",{className:"tooltip-training__groups",children:i.flatMap(({type:c,items:d},u)=>[u>0?r.jsx("div",{className:"tooltip-training__divider"},`div-${c.key}`):null,r.jsxs("div",{className:"tooltip-training__section",children:[r.jsx("div",{className:"tooltip-training__section-header",children:r.jsx("span",{className:"tooltip-training__type-label body-3b",children:c.label})}),r.jsx("div",{className:"tooltip-training__items",children:d.map((p,h)=>{const m=p6(p);return m?r.jsx(Di,{index:h,type:c,trainingData:m,size:"compact",hideCheckBadge:!0},p.itemId??h):null})})]},c.key)])})});return t?r.jsx(ga,{anchorRect:t,offset:a,onClose:o,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:n("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:s}):s}const h6=200;function Og({icon:e,count:t,title:a,plan:o,tooltip:n=!0,className:i="",onClick:s,onMouseEnter:c,onMouseLeave:d}){const u=Te("count-tile",s&&"count-tile--clickable",i),p=l.useRef(null),[h,m]=l.useState(null),b=l.useRef(null),x=l.useRef(null),f=!!(h&&o&&n),C=l.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),x.current&&(clearTimeout(x.current),x.current=null)},[]),g=l.useCallback(()=>{C(),m(null)},[C]),v=l.useCallback(()=>{!n||!o||(C(),b.current=setTimeout(()=>{b.current=null,m(p.current?.getBoundingClientRect()??null)},Pd))},[n,o,C]),y=l.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),!x.current&&(x.current=setTimeout(()=>{x.current=null,m(null)},h6))},[]);return l.useEffect(()=>()=>{C()},[C]),l.useEffect(()=>{(!n||!o)&&g()},[n,o,g]),l.useEffect(()=>{if(!f)return;const _=k=>k instanceof Element&&(p.current?.contains(k)||!!k.closest(".tooltip-training")),B=k=>{_(k.target)?C():y()};return document.addEventListener("pointerover",B,!0),()=>document.removeEventListener("pointerover",B,!0)},[f,C,y]),r.jsxs(r.Fragment,{children:[r.jsxs("div",{ref:p,className:u,onClick:s?_=>{g(),s(_)}:void 0,onKeyDown:s?_=>{_.key!=="Enter"&&_.key!==" "||(_.preventDefault(),_.currentTarget.click())}:void 0,onPointerEnter:_=>{_.pointerType==="touch"||_.pointerType==="pen"?g():v()},onMouseEnter:c,onMouseLeave:_=>{y(),d?.(_)},role:s?"button":"img",tabIndex:s?0:void 0,"aria-label":`${a} ${t}`,children:[r.jsx(Je,{icon:e,size:20,className:"count-tile__icon"}),r.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:t})]}),h&&o&&r.jsx(zd,{plan:o,anchorRect:h,onClose:g})]})}let xn=0,Fg="",Id="",Cn=0;function Hg(){return Vg(!1)}function m6(){return Vg(!0)}function Vg(e){const t=typeof document<"u";xn===0&&t&&(Fg=document.body.style.overflow,document.body.style.overflow="hidden"),e&&t&&(Cn===0&&(Id=document.body.style.paddingRight),Cn++,document.body.style.paddingRight="0px"),xn++;let a=!1;return()=>{a||(a=!0,xn=Math.max(0,xn-1),e&&t&&(Cn=Math.max(0,Cn-1),Cn===0&&(Id?document.body.style.paddingRight=Id:document.body.style.removeProperty("padding-right"))),xn===0&&t&&(document.body.style.overflow=Fg))}}var b6=".ihabdevteam-core-scope .dialog{align-items:center;background:rgba(16,24,32,.6);display:flex;inset:0;justify-content:center;padding:32px;position:fixed;z-index:2200;z-index:var(--z-modal,2200)}@supports (color:rgb(0 0 0/0)) and (top:var(--f )){.ihabdevteam-core-scope .dialog{background:var(--color-popupBlock,rgba(16,24,32,.6))}}.ihabdevteam-core-scope .dialog__surface{background:#fff;background:var(--color-pureWhite,#fff);border-radius:20px;border-radius:var(--radius-dialog,20px);box-shadow:var(--shadow-popup);max-height:calc(100vh - 64px);outline:none;overflow:auto;position:relative;width:100%}.ihabdevteam-core-scope .dialog__surface--sm{max-width:420px}.ihabdevteam-core-scope .dialog__surface--md{max-width:640px}.ihabdevteam-core-scope .dialog__surface--lg{max-width:1000px}.ihabdevteam-core-scope .dialog__surface--full{background:none;box-shadow:none;max-width:1000px;overflow:visible}.ihabdevteam-core-scope .dialog__header{padding:24px 24px 0}.ihabdevteam-core-scope .dialog__title{color:var(--color-black);margin:0}.ihabdevteam-core-scope .dialog__close{align-items:center;background:none;border:0;border-radius:999px;border-radius:var(--radius-full,999px);color:var(--color-gray);cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:12px;top:12px;transition:background .15s ease,color .15s ease;width:40px}.ihabdevteam-core-scope .dialog__close:hover{background:var(--color-darkWhite);color:var(--color-black)}.ihabdevteam-core-scope .dialog__close>svg{height:20px;width:20px}.ihabdevteam-core-scope .dialog__surface--full .dialog__close{background:hsla(0,0%,100%,.1);color:var(--color-pureWhite);right:0;top:-48px}.ihabdevteam-core-scope .dialog__surface--full .dialog__close:hover{background:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .dialog__body{padding:24px}.ihabdevteam-core-scope .dialog__surface--full .dialog__body{padding:0}@media (max-width:639px){.ihabdevteam-core-scope .dialog{padding:16px}.ihabdevteam-core-scope .dialog__body{padding:20px}}";oe(b6);function g6(){return r.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:r.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Wg({open:e,onClose:t,ariaLabel:a,title:o,children:n,size:i="md",closeOnBackdrop:s=!0,closeOnEscape:c=!0,showClose:d=!0,className:u,contentClassName:p}){const{t:h}=Ce.useTranslation(),m=l.useId(),b=l.useRef(null),x=l.useCallback(()=>t(),[t]);l.useEffect(()=>{if(!e)return;const v=document.activeElement,y=Hg(),_=b.current;return cc(_,v),_?.focus(),()=>{y();const B=document.activeElement;(!B||B===document.body||_&&_.contains(B))&&dc(v)?.focus?.()}},[e]);const f=l.useRef(x),C=l.useRef(c);l.useEffect(()=>{f.current=x,C.current=c}),l.useEffect(()=>{if(e)return Ro(()=>{C.current&&f.current()})},[e]);const g=l.useRef(!1);return sc(b,e),!e||typeof document>"u"?null:ca.createPortal(r.jsx("div",{className:Te("dialog",u),onPointerDown:s?v=>{g.current=v.target===v.currentTarget}:void 0,onMouseDown:v=>{v.target===v.currentTarget&&v.preventDefault()},onClick:s?v=>{const y=g.current;g.current=!1,y&&v.target===v.currentTarget&&x()}:void 0,children:r.jsxs("div",{ref:b,role:"dialog","aria-modal":"true","aria-label":o?void 0:a,"aria-labelledby":o?m:void 0,tabIndex:-1,className:Te("dialog__surface",`dialog__surface--${i}`,p),onClick:v=>v.stopPropagation(),children:[o?r.jsx("div",{className:"dialog__header",children:r.jsx("h2",{id:m,className:"dialog__title h4b",children:o})}):null,d?r.jsx("button",{type:"button",className:"dialog__close","aria-label":h("common.close","\uB2EB\uAE30"),onClick:x,children:r.jsx(g6,{})}):null,r.jsx("div",{className:"dialog__body",children:n})]})}),document.body)}var f6=".ihabdevteam-core-scope .board{width:100%}.ihabdevteam-core-scope .board__head{align-items:flex-end;display:flex;flex-wrap:wrap;gap:var(--spacing-m);justify-content:space-between;margin-bottom:var(--spacing-m)}.ihabdevteam-core-scope .board__title{color:var(--color-text-primary);font-size:var(--text-body-2-size);font-weight:500;line-height:var(--text-body-2-line);margin:0}.ihabdevteam-core-scope .board__toolbar{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .board__table{border-collapse:collapse;border-top:1px solid var(--color-text-primary);text-align:left;width:100%}.ihabdevteam-core-scope .board__caption{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ihabdevteam-core-scope .board__th{border-bottom:1px solid var(--color-border);color:var(--color-text-primary);font-size:var(--text-body-3-size);font-weight:500;line-height:var(--text-body-3-line);padding:14px 0}.ihabdevteam-core-scope .board__row{border-bottom:1px solid var(--color-border);transition:background .15s ease;transition:background var(--duration-fast,.15s) var(--ease-out,ease)}.ihabdevteam-core-scope .board__row:hover{background:var(--color-surface-raised)}.ihabdevteam-core-scope .board__td{color:var(--color-text-primary);font-size:var(--text-body-3-size);line-height:var(--text-body-3-line);padding:var(--spacing-m) 0}.ihabdevteam-core-scope .board__cell--left{text-align:left}.ihabdevteam-core-scope .board__cell--center{text-align:center}.ihabdevteam-core-scope .board__cell--right{text-align:right}.ihabdevteam-core-scope .board__state{color:var(--color-text-secondary);font-size:var(--text-body-3-size);padding:56px 0;text-align:center}";oe(f6);function Gg({columns:e,rows:t,rowKey:a,title:o,toolbar:n,empty:i,loading:s,caption:c,className:d=""}){const{t:u}=Ce.useTranslation(),p=!s&&t.length===0;return r.jsxs("div",{className:Te("board",d),children:[o||n?r.jsxs("div",{className:"board__head",children:[o?r.jsx("h2",{className:"board__title",children:o}):r.jsx("span",{}),n?r.jsx("div",{className:"board__toolbar",children:n}):null]}):null,r.jsxs("table",{className:"board__table",children:[c?r.jsx("caption",{className:"board__caption",children:c}):null,r.jsx("thead",{children:r.jsx("tr",{children:e.map(h=>r.jsx("th",{scope:"col",className:Te("board__th",`board__cell--${h.headerAlign??h.align??"left"}`),style:h.width?{width:h.width}:void 0,children:h.header},h.key))})}),r.jsx("tbody",{children:s?r.jsx("tr",{children:r.jsx("td",{className:"board__state",colSpan:e.length,children:s})}):p?r.jsx("tr",{children:r.jsx("td",{className:"board__state",colSpan:e.length,children:i??u("board.empty","\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):t.map((h,m)=>r.jsx("tr",{className:"board__row",children:e.map(b=>r.jsx("td",{className:Te("board__td",`board__cell--${b.align??"left"}`),children:b.render(h,m)},b.key))},a(h,m)))})]})]})}var v6=".ihabdevteam-core-scope .person-card{display:flex;flex-direction:column}.ihabdevteam-core-scope .person-card__photo{background:var(--color-surface-raised);border-radius:var(--radius-full);flex-shrink:0;margin-inline:auto;max-width:100%;overflow:hidden}.ihabdevteam-core-scope .person-card__photo>*,.ihabdevteam-core-scope .person-card__photo>img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ihabdevteam-core-scope .person-card__name{color:var(--color-text-primary);font-size:var(--text-h4-size);font-weight:var(--text-h4-weight-bold);line-height:var(--text-h4-line);margin-top:var(--spacing-xl);text-align:center}.ihabdevteam-core-scope .person-card__role{color:var(--color-darkGray);font-size:var(--text-body-3-size);font-weight:var(--text-body-3-weight);line-height:var(--text-body-3-line);margin-top:6px;text-align:center}.ihabdevteam-core-scope .person-card__credentials{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:var(--spacing-xl) auto 0;max-width:100%;padding:0;text-align:left;width:-moz-fit-content;width:fit-content}.ihabdevteam-core-scope .person-card__credentials>li{color:var(--color-darkGray);font-size:var(--text-body-3-size);line-height:var(--text-body-3-line)}@media (max-width:767px){.ihabdevteam-core-scope .person-card__credentials,.ihabdevteam-core-scope .person-card__name{margin-top:var(--spacing-l)}}";oe(v6);function Ug({name:e,role:t,photo:a,media:o,credentials:n,size:i=190,className:s=""}){return r.jsxs("div",{className:Te("person-card",s),children:[r.jsx("div",{className:"person-card__photo",style:{width:i,height:i},children:o??(a?r.jsx("img",{src:a,alt:t?`${e} ${t}`:e}):null)}),r.jsx("h3",{className:"person-card__name",children:e}),t?r.jsx("p",{className:"person-card__role",children:t}):null,n?.length?r.jsx("ul",{className:"person-card__credentials",children:n.map(c=>r.jsx("li",{children:c},c))}):null]})}var x6=".ihabdevteam-core-scope .timeline{display:flex;flex-direction:column;gap:56px}.ihabdevteam-core-scope .timeline__title{color:var(--color-text-primary);font-size:var(--text-h1-size);font-weight:var(--text-h1-weight);letter-spacing:var(--text-h1-spacing);line-height:var(--text-h1-line);margin:0}.ihabdevteam-core-scope .timeline__rows{border-top:1px solid var(--color-border);list-style:none;margin:var(--spacing-m) 0 0;padding:0}.ihabdevteam-core-scope .timeline__row{border-bottom:1px solid var(--color-border);display:flex;gap:40px;padding:var(--spacing-l) 0}.ihabdevteam-core-scope .timeline__label{color:var(--color-text-primary);flex-shrink:0;font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight-bold);line-height:var(--text-body-2-line);padding-top:1px;width:28px}.ihabdevteam-core-scope .timeline__items{display:flex;flex-direction:column;gap:4px}.ihabdevteam-core-scope .timeline__items>p{color:var(--color-text-primary);font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight);line-height:var(--text-body-2-line);margin:0}@media (max-width:767px){.ihabdevteam-core-scope .timeline{gap:40px}.ihabdevteam-core-scope .timeline__row{gap:var(--spacing-xl)}}";oe(x6);function qg({groups:e,className:t=""}){return r.jsx("div",{className:Te("timeline",t),children:e.map(a=>r.jsxs("section",{className:"timeline__group",children:[r.jsx("h3",{className:"timeline__title",children:a.title}),r.jsx("ul",{className:"timeline__rows",children:a.entries.map((o,n)=>r.jsxs("li",{className:"timeline__row",children:[o.label?r.jsx("span",{className:"timeline__label",children:o.label}):null,r.jsx("div",{className:"timeline__items",children:o.items.map((i,s)=>r.jsx("p",{children:i},s))})]},`${o.label??""}-${n}`))})]},a.title))})}var C6=".ihabdevteam-core-scope .publication-card{background:var(--color-surface-raised);border-radius:var(--radius-m);box-sizing:border-box;display:flex;flex-direction:column;padding:36px var(--spacing-xl) 32px;position:relative}.ihabdevteam-core-scope .publication-card__badge{height:88px;pointer-events:none;position:absolute;right:var(--spacing-xl);top:0}.ihabdevteam-core-scope .publication-card__badge>*,.ihabdevteam-core-scope .publication-card__badge>img{height:100%;width:auto}.ihabdevteam-core-scope .publication-card__title{color:var(--color-text-primary);font-size:var(--text-h4-size);font-weight:var(--text-h4-weight-bold);line-height:var(--text-h4-line);margin:0;padding-right:96px;position:relative;z-index:1}.ihabdevteam-core-scope .publication-card__kind{color:var(--color-darkGray);font-size:var(--text-body-3-size);font-weight:var(--text-body-3-weight);line-height:var(--text-body-3-line);margin:var(--spacing-m) 0 0}.ihabdevteam-core-scope .publication-card__body{color:var(--color-darkGray);font-size:var(--text-caption-1-size);line-height:1.65;margin:var(--spacing-m) 0 0}@media (max-width:767px){.ihabdevteam-core-scope .publication-card{padding:32px var(--spacing-l) 28px}.ihabdevteam-core-scope .publication-card__kind{margin-top:var(--spacing-m)}}.ihabdevteam-core-scope .publication-card__footer{margin-top:auto;padding-top:var(--spacing-l)}";oe(C6);function Yg({title:e,kind:t,body:a,badge:o,badgeSrc:n,footer:i,width:s,className:c=""}){const d=o??(n?r.jsx("img",{src:n,alt:""}):null);return r.jsxs("div",{className:Te("publication-card",c),style:s?{width:s,flexShrink:0}:void 0,children:[d?r.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:d}):null,r.jsx("h3",{className:"publication-card__title",children:e}),t?r.jsx("p",{className:"publication-card__kind",children:t}):null,r.jsx("p",{className:"publication-card__body",children:a}),i?r.jsx("div",{className:"publication-card__footer",children:i}):null]})}var _6="@keyframes splash-logo{0%{opacity:0;transform:scale(.92)}18%{opacity:1;transform:scale(1)}75%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.04)}}.ihabdevteam-core-scope .splash-logo{align-items:center;background:var(--color-pureWhite);display:flex;inset:0;justify-content:center;position:absolute;z-index:1000;z-index:var(--z-modal,1000)}.ihabdevteam-core-scope .splash-logo__image{animation:splash-logo 3s cubic-bezier(.4,0,.2,1) forwards;animation:splash-logo var(--splash-logo-duration,3s) cubic-bezier(.4,0,.2,1) forwards;height:80px;height:var(--splash-logo-height,80px);width:auto}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .splash-logo__image{animation:none;opacity:1}}";oe(_6);function Kg({logo:e,alt:t,onDone:a,durationMs:o=3e3}){const n=sn(a);return l.useEffect(()=>{const i=setTimeout(()=>n.current?.(),o);return()=>clearTimeout(i)},[o,n]),r.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${o}ms`},"aria-hidden":"true",children:r.jsx("img",{src:e,alt:t,className:"splash-logo__image"})})}var y6='.ihabdevteam-core-scope .section-header{text-align:center}.ihabdevteam-core-scope .section-header__eyebrow{align-items:center;display:flex;font-size:var(--text-caption-1-size);font-weight:600;gap:10px;justify-content:center;letter-spacing:.18em;line-height:var(--text-caption-1-line);margin:0}.ihabdevteam-core-scope .section-header__index{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;opacity:.6}.ihabdevteam-core-scope .section-header__rule{background:currentColor;height:1px;opacity:.3;width:24px}.ihabdevteam-core-scope .section-header__title{font-family:inherit;font-family:var(--font-display,inherit);font-size:clamp(2rem,1.35rem + 2.1vw,2.9rem);font-weight:700;letter-spacing:-.01em;line-height:1.15;margin:0}.ihabdevteam-core-scope .section-header__eyebrow+.section-header__title{margin-top:var(--spacing-xl)}.ihabdevteam-core-scope .section-header__description{font-size:var(--text-body-2-size);line-height:1.9;margin-top:var(--spacing-m)}.ihabdevteam-core-scope .section-header--dark .section-header__eyebrow{color:var(--color-main)}.ihabdevteam-core-scope .section-header--dark .section-header__title{color:var(--color-text-primary)}.ihabdevteam-core-scope .section-header--dark .section-header__description{color:var(--color-darkGray)}.ihabdevteam-core-scope .section-header--light .section-header__eyebrow{color:hsla(0,0%,100%,.85)}.ihabdevteam-core-scope .section-header--light .section-header__title{color:var(--color-pureWhite)}.ihabdevteam-core-scope .section-header--light .section-header__description{color:hsla(0,0%,100%,.85)}';oe(y6);function Zg({eyebrow:e,eyebrowIndex:t,title:a,description:o,level:n=2,tone:i="dark",className:s=""}){const c=n===1?"h1":"h2";return r.jsxs("div",{className:Te("section-header",`section-header--${i}`,s),children:[e?r.jsxs("p",{className:"section-header__eyebrow",children:[t?r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"section-header__index",children:t}),r.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?r.jsx(c,{className:"section-header__title",children:a}):null,o?r.jsx("div",{className:"section-header__description",children:o}):null]})}var w6=".ihabdevteam-core-scope .company-meta{align-items:center;color:var(--color-gray);display:flex;flex-direction:column;font-size:var(--text-caption-1-size);gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .company-meta__item{align-items:center;display:flex}.ihabdevteam-core-scope .company-meta__divider{color:var(--color-whiteLine);display:none;padding-inline:var(--spacing-m)}@media (min-width:640px){.ihabdevteam-core-scope .company-meta{flex-direction:row;gap:0}.ihabdevteam-core-scope .company-meta__divider{display:inline}}";oe(w6);function Xg({items:e,className:t=""}){return r.jsx("ul",{className:Te("company-meta",t),children:e.map((a,o)=>r.jsxs("li",{className:"company-meta__item",children:[o>0?r.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function Jg(e){return typeof e=="string"?e:e.label}function Od({value:e,onChange:t,suggestions:a,openOnFocus:o=!1,filterSuggestions:n,onSelectSuggestion:i,autoActiveFirst:s=!1}){const c=l.useId(),[d,u]=l.useState(!1),[p,h]=l.useState(-1),m=l.useRef(null),b=l.useMemo(()=>{if(!a.length)return[];const L=e??"";return n===!1?a:L?typeof n=="function"?n(a,L):a.filter(z=>Jg(z).toLowerCase().includes(L.toLowerCase())):o?a:[]},[a,e,o,n]),[x,f]=l.useState(!1),C=l.useRef([]),g=x&&b.length===0?C.current:b;l.useEffect(()=>{g.length&&(C.current=g)},[g]);const v=l.useCallback(()=>f(!0),[]),y=l.useCallback(()=>f(!1),[]),_=s?0:-1;l.useEffect(()=>{d||h(_)},[d,_]),l.useEffect(()=>()=>{m.current&&clearTimeout(m.current)},[]);const B=p<g.length?p:_<g.length?_:-1,k=l.useCallback(L=>{i?i(L):t?.(Jg(L)),u(!1)},[t,i]),S=l.useCallback(()=>u(!0),[]),w=l.useCallback(()=>{u(!0),h(_)},[_]),A=l.useCallback(()=>{m.current=setTimeout(()=>u(!1),120)},[]),E=l.useCallback(L=>{L.nativeEvent.isComposing||L.keyCode===229||(L.key==="ArrowDown"?(L.preventDefault(),u(!0),h(z=>Math.min(g.length-1,(z<g.length?z:_)+1))):L.key==="ArrowUp"?(L.preventDefault(),h(z=>Math.max(_,(z<g.length?z:g.length)-1))):L.key==="Enter"?B>=0&&k(g[B]):L.key==="Escape"&&d&&(L.preventDefault(),u(!1)))},[g,B,d,k,_]);return{listId:c,open:d,activeIdx:B,filtered:g,handleFocus:S,handleBlur:A,handleInput:w,handleKeyDown:E,handleSelect:k,handleCompositionStart:v,handleCompositionEnd:y}}const Fd=typeof window<"u"?l.useLayoutEffect:l.useEffect;var k6=".ihabdevteam-core-scope .text-field{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:6px;position:relative}.ihabdevteam-core-scope .text-field--full-width{display:flex;width:100%}.ihabdevteam-core-scope .text-field__label{align-items:center;color:var(--color-darkGray);display:flex;gap:4px}.ihabdevteam-core-scope .text-field__required{color:var(--color-main);line-height:1}.ihabdevteam-core-scope .text-field__wrap{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:12px;box-sizing:border-box;display:flex;overflow:hidden;position:relative;transition:border-color .12s,background .12s,box-shadow .12s}.ihabdevteam-core-scope .text-field--s32 .text-field__wrap{border-radius:8px}.ihabdevteam-core-scope .text-field--s40 .text-field__wrap{border-radius:10px}.ihabdevteam-core-scope .text-field--s48 .text-field__wrap{border-radius:12px}.ihabdevteam-core-scope .text-field--s64 .text-field__wrap{border-radius:14px}.ihabdevteam-core-scope .text-field__wrap:focus-within{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10)}.ihabdevteam-core-scope .text-field__input:focus-visible{outline:none}@media (forced-colors:active){.ihabdevteam-core-scope .text-field__input:focus-visible{outline:2px solid Highlight;outline-offset:-2px}}.ihabdevteam-core-scope .text-field--error .text-field__wrap{border-color:var(--color-error)}.ihabdevteam-core-scope .text-field--error .text-field__wrap:focus-within{box-shadow:0 0 0 3px var(--color-error-a10)}.ihabdevteam-core-scope .text-field--disabled .text-field__wrap{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .text-field--readonly .text-field__input{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .text-field--readonly .text-field__wrap{border-color:var(--color-darkWhite)}.ihabdevteam-core-scope .text-field__input{background:transparent;border:none;box-sizing:border-box;color:var(--color-darkGray);flex:1;margin:0;min-width:0;outline:none;padding:0 12px}.ihabdevteam-core-scope .text-field__input::-moz-placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .text-field__input::placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .text-field__input:disabled{cursor:not-allowed}.ihabdevteam-core-scope .text-field__input[readonly]{cursor:default}.ihabdevteam-core-scope .text-field__input--textarea{align-self:stretch;line-height:1.6;min-height:80px;padding:10px 12px;resize:vertical}.ihabdevteam-core-scope .text-field__input--auto{align-self:stretch;line-height:1.5;overflow:hidden;padding:0 12px;resize:none}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__wrap,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__wrap{align-items:flex-start}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__clear,.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__icon,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__clear,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__icon{margin-top:var(--spacing-s)}.ihabdevteam-core-scope .text-field--s32 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:30px}.ihabdevteam-core-scope .text-field--s40 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:38px}.ihabdevteam-core-scope .text-field--s48 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:46px}.ihabdevteam-core-scope .text-field--s64 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:62px;line-height:normal}.ihabdevteam-core-scope .text-field--display .text-field__input{font-weight:700;text-align:center}.ihabdevteam-core-scope .text-field--display .text-field__input::-moz-placeholder{color:transparent}.ihabdevteam-core-scope .text-field--display .text-field__input::placeholder{color:transparent}.ihabdevteam-core-scope .text-field--display .text-field__placeholder{align-items:center;color:var(--color-lightGray);display:flex;font-weight:400;inset:0;justify-content:center;pointer-events:none;position:absolute}.ihabdevteam-core-scope .text-field--display .text-field__input:not(:-moz-placeholder)~.text-field__placeholder{display:none}.ihabdevteam-core-scope .text-field--display .text-field__input:not(:placeholder-shown)~.text-field__placeholder{display:none}.ihabdevteam-core-scope .text-field--display.text-field--s48 .text-field__input{font-size:22px}.ihabdevteam-core-scope .text-field--display.text-field--s48 .text-field__placeholder{font-size:15px}.ihabdevteam-core-scope .text-field--display.text-field--s64 .text-field__input{font-size:28px;letter-spacing:-.3px}.ihabdevteam-core-scope .text-field--display.text-field--s64 .text-field__placeholder{font-size:16px}.ihabdevteam-core-scope .text-field--s32 .text-field__input--auto{height:30px;min-height:30px;padding-bottom:3px;padding-top:3px}.ihabdevteam-core-scope .text-field--s40 .text-field__input--auto{height:38px;min-height:38px;padding-bottom:7px;padding-top:7px}.ihabdevteam-core-scope .text-field--s48 .text-field__input--auto{height:46px;min-height:46px;padding-bottom:11px;padding-top:11px}.ihabdevteam-core-scope .text-field__icon{align-items:center;color:var(--color-lightGray);display:inline-flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .text-field__icon--left{margin-left:var(--spacing-s)}.ihabdevteam-core-scope .text-field__icon--right{margin-right:var(--spacing-s)}.ihabdevteam-core-scope .text-field__icon-svg{display:block}.ihabdevteam-core-scope .text-field--has-left-icon .text-field__input{padding-left:6px}.ihabdevteam-core-scope .text-field--has-right-icon .text-field__input{padding-right:6px}.ihabdevteam-core-scope .text-field--s32 .text-field__icon{height:16px;width:16px}.ihabdevteam-core-scope .text-field--s32 .text-field__input{font-size:14px;line-height:22px}.ihabdevteam-core-scope .text-field__clear{flex-shrink:0;margin-right:10px}.ihabdevteam-core-scope .text-field__suggestions{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);box-shadow:var(--shadow-dropdown);box-sizing:border-box;margin:0;max-height:220px;overflow:auto;padding:4px 0;position:fixed;z-index:var(--z-dropdown)}.ihabdevteam-core-scope .text-field__suggestion{align-items:center;color:var(--color-darkGray);cursor:pointer;display:flex;padding:8px 12px}.ihabdevteam-core-scope .text-field__suggestion.is-active,.ihabdevteam-core-scope .text-field__suggestion:hover{background:var(--color-deepWhite);color:var(--color-main)}.ihabdevteam-core-scope .text-field__footer{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .text-field__helper{color:var(--color-lightGray);flex:1}.ihabdevteam-core-scope .text-field--error .text-field__helper{color:var(--color-error)}.ihabdevteam-core-scope .text-field__count{color:var(--color-gray);flex-shrink:0;margin-right:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ihabdevteam-core-scope .text-field--has-right-icon .text-field__count,.ihabdevteam-core-scope .text-field:has(.text-field__clear) .text-field__count{margin-right:8px}.ihabdevteam-core-scope .text-field__count--over{color:var(--color-error)}.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__count{bottom:6px;margin:0;pointer-events:none;position:absolute;right:20px}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__count{align-self:flex-end;margin-bottom:var(--spacing-s)}.ihabdevteam-core-scope .text-field__suggestion-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .text-field__suggestion-hint{color:var(--color-lightGray);flex-shrink:0;margin-left:8px;white-space:nowrap}.ihabdevteam-core-scope .text-field__status{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";oe(k6);function xo(e){const{value:t,defaultValue:a,name:o,inputRef:n,onChange:i,label:s,ariaLabel:c,required:d,placeholder:u,ghostText:p,ghostHint:h,type:m="text",disabled:b=!1,readOnly:x=!1,error:f,helperText:C,maxLength:g,size:v=48,variant:y="input",fullWidth:_=!1,newline:B=!1,multiline:k=!1,rows:S=3,leftIcon:w,rightIcon:A,clearable:E=!1,list:L,showCount:z=!0,className:j="",onFocus:I,onBlur:D,onKeyDown:T,onEnter:O,inputMode:G,autoComplete:Z,autoFocus:H,suggestions:V,filterSuggestions:q,onSelectSuggestion:$,autoActiveFirst:N,openOnFocus:F=!1}=e,R=x||b?void 0:V,{t:W}=Ce.useTranslation(),P=l.useId();!s&&!c&&Ua(`TextField:unnamed:${P}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const Q=`tf-${P}`,ee=`tf-helper-${P}`,Y=l.useRef(null),ne=Od({value:t??"",onChange:i,suggestions:R??[],openOnFocus:F,filterSuggestions:q,onSelectSuggestion:$,autoActiveFirst:N}),ie=!!R&&ne.open&&ne.filtered.length>0,se=l.useRef(null),[ce,U]=l.useState(null),le=l.useCallback(()=>{const re=se.current;if(!re||typeof window>"u")return;const Oe=re.getBoundingClientRect(),Fe=230,Ze=window.innerHeight-Oe.bottom<Fe+8&&Oe.top>Fe+8;U({position:"fixed",left:Oe.left,width:Oe.width,...Ze?{bottom:window.innerHeight-Oe.top+8}:{top:Oe.bottom+8},zIndex:gn(re)})},[]);Fd(()=>{if(!ie)return;le();const re=Oe=>{const Fe=Oe.target;Fe&&Fe.nodeType===1&&Fe.closest?.(".text-field__suggestions")||le()};return window.addEventListener("scroll",re,!0),window.addEventListener("resize",le),()=>{window.removeEventListener("scroll",re,!0),window.removeEventListener("resize",le)}},[ie,le]);const be=l.useCallback(re=>{Y.current=re,typeof n=="function"?n(re):n&&(n.current=re)},[n]),ye=p?`${p}${h??W("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)")}`:u,xe=t!==void 0,ue=xe&&m==="password",[_e,Ae]=l.useState((a??"").length),X=xe?(t??"").length:_e,we=l.useRef(t);Fd(()=>{we.current=t}),l.useEffect(()=>{const re=Y.current;if(!ue||!re)return;const Oe=t??"";re.value!==Oe&&(re.value=Oe)},[ue,t]),l.useEffect(()=>{if(!B||!Y.current)return;const re=Y.current;re.style.height="",re.scrollHeight>re.clientHeight&&(re.style.height=`${re.scrollHeight}px`)},[t,_e,B]);const fe=g!=null&&X>g,ae=v===32?16:20,ge=Te("text-field",`text-field--s${v}`,y==="display"?"text-field--display":"",_?"text-field--full-width":"",b?"text-field--disabled":"",x?"text-field--readonly":"",f?"text-field--error":"",w?"text-field--has-left-icon":"",A||E?"text-field--has-right-icon":"",j),Me={id:Q,...ue?{}:xe?{value:t}:{defaultValue:a},ref:be,placeholder:ye,name:o,disabled:b,readOnly:x,autoFocus:H,maxLength:g,list:L,inputMode:G,autoComplete:Z,"aria-label":!s&&c?c:void 0,"aria-required":d,"aria-invalid":!!f,"aria-describedby":C||f?ee:void 0,role:R?"combobox":void 0,"aria-autocomplete":R?"list":void 0,"aria-haspopup":R?"listbox":void 0,"aria-expanded":R?ne.open:void 0,"aria-controls":ie?ne.listId:void 0,"aria-activedescendant":ie&&ne.activeIdx>=0?`${ne.listId}-option-${ne.activeIdx}`:void 0,onChange:re=>{const Oe=re.target;xe||Ae(Oe.value.length),i?.(Oe.value),R&&ne.handleInput(),ue&&queueMicrotask(()=>{const Fe=we.current??"";Oe.value!==Fe&&(Oe.value=Fe)})},onCompositionStart:R?ne.handleCompositionStart:void 0,onCompositionEnd:R?ne.handleCompositionEnd:void 0,onFocus:(re=>{I?.(re),R&&ne.handleFocus()}),onBlur:(re=>{D?.(re),R&&ne.handleBlur()}),onKeyDown:(re=>{const Oe=(re.key==="Tab"&&!re.shiftKey||re.key===" ")&&!re.nativeEvent.isComposing;if(p&&Oe&&!x&&!b&&!(re.currentTarget.value??"").trim()){re.preventDefault();const Fe=re.currentTarget;xe||(Fe.value=p,Ae(p.length)),i?.(p);return}R&&re.key==="Enter"&&!re.nativeEvent.isComposing&&ne.activeIdx>=0?re.preventDefault():O&&re.key==="Enter"&&!re.nativeEvent.isComposing&&(re.preventDefault(),O()),T?.(re),R&&ne.handleKeyDown(re)})},$e=E&&!b&&!x&&X>0,Ye=()=>B?r.jsx("textarea",{...Me,className:"text-field__input text-field__input--auto body-2",rows:1}):k?r.jsx("textarea",{...Me,className:"text-field__input text-field__input--textarea body-2",rows:S}):r.jsx("input",{...Me,type:m,className:"text-field__input body-2"}),ze=y==="display"&&!B&&!k&&!!ye,Ue=()=>r.jsxs(r.Fragment,{children:[Ye(),ze&&r.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:ye})]});return r.jsxs("div",{ref:se,className:ge,children:[s&&r.jsxs("label",{htmlFor:Q,className:"text-field__label caption-1",children:[s,d&&r.jsx("span",{className:"text-field__required",children:"*"})]}),r.jsxs("div",{className:"text-field__wrap",children:[w&&r.jsx("span",{className:"text-field__icon text-field__icon--left",children:r.jsx(Je,{icon:w,label:"",className:"",svgClassName:"text-field__icon-svg",size:ae})}),Ue(),g!=null&&z&&r.jsxs("span",{className:`text-field__count caption-2${fe?" text-field__count--over":""}`,children:[X,"/",g]}),$e&&r.jsx(he,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:W("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:re=>{re.preventDefault()},onClick:()=>{!xe&&Y.current&&(Y.current.value="",Ae(0)),i?.("")},tabIndex:-1}),A&&!$e&&r.jsx("span",{className:"text-field__icon text-field__icon--right",children:r.jsx(Je,{icon:A,label:"",className:"",svgClassName:"text-field__icon-svg",size:ae})})]}),!!R&&r.jsx("span",{className:"text-field__status",role:"status","aria-live":"polite",children:ne.open&&(t??"").length>0&&ne.filtered.length===0?W("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"):""}),ie&&(typeof document>"u"?null:ca.createPortal(r.jsx("ul",{id:ne.listId,className:"text-field__suggestions",role:"listbox",style:ce??{position:"fixed",visibility:"hidden"},"data-tooltip-ignore":!0,children:ne.filtered.map((re,Oe)=>r.jsx("li",{id:`${ne.listId}-option-${Oe}`,role:"option","aria-selected":Oe===ne.activeIdx,className:`text-field__suggestion body-2${Oe===ne.activeIdx?" is-active":""}`,onMouseDown:Fe=>Fe.preventDefault(),onClick:()=>{ne.handleSelect(re),Y.current?.focus()},children:typeof re=="string"?re:r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"text-field__suggestion-label",children:re.label}),re.hint&&r.jsx("span",{className:"text-field__suggestion-hint caption-1",children:re.hint})]})},typeof re=="string"?`${re}-${Oe}`:re.id))}),document.body)),(C||f)&&r.jsx("div",{className:"text-field__footer",children:r.jsx("span",{id:ee,className:"text-field__helper caption-1",role:f?"alert":void 0,children:f||C})})]})}var B6=".ihabdevteam-core-scope .dropdown{display:inline-block;position:relative}.ihabdevteam-core-scope .dropdown--block{display:block;width:100%}.ihabdevteam-core-scope .dropdown--block .dropdown__trigger{min-width:0}.ihabdevteam-core-scope .dropdown--s40 .dropdown__trigger{border-radius:10px;height:40px}.ihabdevteam-core-scope .dropdown--s48 .dropdown__trigger{border-radius:12px;height:48px}.ihabdevteam-core-scope .dropdown__trigger{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:12px;box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;font-family:var(--font-family);gap:var(--spacing-xs);height:48px;justify-content:space-between;min-width:120px;padding:0 12px;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s;white-space:nowrap;width:100%}.ihabdevteam-core-scope .dropdown__trigger:hover:not(:disabled){border-color:var(--color-main)}.ihabdevteam-core-scope .dropdown__trigger:focus-visible{border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10);outline:none}.ihabdevteam-core-scope .dropdown__trigger:disabled{background:var(--color-deepWhite);cursor:default;opacity:.5}.ihabdevteam-core-scope .dropdown--open .dropdown__trigger{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10)}.ihabdevteam-core-scope .dropdown--error .dropdown__trigger{border:1px solid var(--color-error)}.ihabdevteam-core-scope .dropdown--error .dropdown__trigger:hover:not(:disabled),.ihabdevteam-core-scope .dropdown--error.dropdown--open .dropdown__trigger{border-color:var(--color-error);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-error) 15%,transparent)}.ihabdevteam-core-scope .dropdown__trigger-label{flex:1;overflow:hidden;text-overflow:ellipsis}.ihabdevteam-core-scope .dropdown__trigger-label--placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .dropdown__chevron{color:var(--color-gray);flex-shrink:0;height:16px;transition:transform .2s;width:16px}.ihabdevteam-core-scope .dropdown--open .dropdown__chevron{transform:rotate(180deg)}.ihabdevteam-core-scope .dropdown__menu{animation:dropdown-appear .12s ease;background:var(--color-white);border:1.5px solid var(--color-whiteLine);border-radius:var(--radius-card);box-shadow:var(--shadow-dropdown);box-sizing:border-box;max-height:260px;overflow-y:auto;overscroll-behavior-y:contain;padding:6px}@keyframes dropdown-appear{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ihabdevteam-core-scope .dropdown__option{align-items:center;background:transparent;border:none;border-radius:var(--radius-sm);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;font-family:var(--font-family);gap:var(--spacing-xs);padding:9px 12px;text-align:left;transition:background .1s,color .1s;white-space:nowrap;width:100%}.ihabdevteam-core-scope .dropdown__option:hover{background:var(--color-deepWhite)}.ihabdevteam-core-scope .dropdown__option--active{background:var(--color-main-a10);color:var(--color-main)}.ihabdevteam-core-scope .dropdown__option--disabled{cursor:default;opacity:.4;pointer-events:none}.ihabdevteam-core-scope .dropdown__option-check{align-items:center;color:var(--color-main);display:flex;flex-shrink:0;height:14px;justify-content:center;width:14px}.ihabdevteam-core-scope .dropdown__option-check svg{height:14px;width:14px}";oe(B6);function fa({options:e,value:t,onChange:a,placeholder:o,disabled:n=!1,block:i=!1,size:s=48,error:c=!1,className:d="",ariaLabel:u,ariaDescribedBy:p}){const{t:h}=Ce.useTranslation(),m=o??h("dropdown.placeholder","\uC120\uD0DD"),b=l.useId(),x=l.useId(),f=l.useRef(null),C=l.useCallback((D,T)=>{const O=window.innerHeight-D.bottom<260&&D.top>260;return{position:"fixed",left:D.left,minWidth:D.width,...O?{bottom:window.innerHeight-D.top+6}:{top:D.bottom+6},zIndex:gn(T)}},[]),{open:g,setOpen:v,toggle:y,style:_,triggerRef:B,menuRef:k}=Oo({computeStyle:C}),[S,w]=l.useState(-1),A=l.useCallback(()=>w(-1),[]),E=e.find(D=>D.value===t);l.useEffect(()=>{if(g){const D=e.findIndex(T=>T.value===t);w(D>=0?D:e.length?0:-1),requestAnimationFrame(()=>{const T=k.current;if(!T)return;const O=T.querySelectorAll(".dropdown__option")[D];O&&(T.scrollTop=Math.max(0,O.offsetTop-T.clientHeight/2+O.clientHeight/2))})}},[g]),l.useEffect(()=>{g&&w(D=>{if(D>=0&&D<e.length)return D;const T=e.findIndex(O=>O.value===t);return T>=0?T:e.length?0:-1})},[g,e.length]);const L=l.useCallback(()=>{n||y()},[n,y]),z=l.useCallback(D=>{D.disabled||n||(D.value!==t&&a?.(D.value),v(!1))},[a,v,n,t]);l.useEffect(()=>{n&&v(!1)},[n,v]);const j=l.useCallback(D=>{if(!n){if(!g){(D.key==="Enter"||D.key===" "||D.key==="ArrowDown")&&(D.preventDefault(),v(!0));return}if(D.key==="Escape"){D.preventDefault(),v(!1);return}D.key==="ArrowDown"?(D.preventDefault(),w(T=>{let O=T+1;for(;O<e.length&&e[O].disabled;)O++;return O<e.length?O:T})):D.key==="ArrowUp"?(D.preventDefault(),w(T=>{let O=T-1;for(;O>=0&&e[O].disabled;)O--;return O>=0?O:T})):(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),e[S]?z(e[S]):v(!1))}},[n,g,e,S,z,v]),I=g?r.jsx("div",{ref:k,id:b,className:"dropdown__menu","data-tooltip-ignore":!0,role:"listbox",style:_,onMouseLeave:A,onMouseDown:D=>D.preventDefault(),children:e.map((D,T)=>r.jsxs("button",{id:`${b}-option-${T}`,type:"button",role:"option","aria-selected":D.value===t,className:Te("dropdown__option body-2",D.value===t?"dropdown__option--active":"",T===S?"dropdown__option--active":"",D.disabled?"dropdown__option--disabled":""),onMouseDown:O=>O.preventDefault(),onClick:()=>z(D),onMouseEnter:()=>w(T),disabled:D.disabled,children:[r.jsx("span",{className:"dropdown__option-check",children:D.value===t&&r.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:r.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),D.label]},D.value))}):null;return r.jsxs("div",{ref:f,className:Te("dropdown",`dropdown--s${s}`,g?"dropdown--open":"",i?"dropdown--block":"",c?"dropdown--error":"",d),onKeyDown:j,children:[r.jsxs("button",{ref:B,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":g,"aria-controls":g?b:void 0,"aria-activedescendant":g&&S>=0?`${b}-option-${S}`:void 0,"aria-label":u,"aria-describedby":[u&&E?x:"",p??""].filter(Boolean).join(" ")||void 0,"aria-invalid":c||void 0,disabled:n,onClick:L,onBlur:D=>{g&&!k.current?.contains(D.relatedTarget)&&v(!1)},children:[r.jsx("span",{id:x,className:`dropdown__trigger-label body-2${E?"":" dropdown__trigger-label--placeholder"}`,children:E?E.label:m}),r.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:r.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&ca.createPortal(I,f.current?.closest(".ihabdevteam-core-scope")??document.body)]})}var A6=".ihabdevteam-core-scope .pagination{align-items:center;display:flex;gap:4px}.ihabdevteam-core-scope .pagination__info{color:var(--color-darkGray);font-weight:600;min-width:48px;text-align:center}";oe(A6);function _n({page:e,totalPages:t,onChange:a,prevLabel:o,nextLabel:n,className:i=""}){const{t:s}=Ce.useTranslation(),c=o??s("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),d=n??s("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),u=Math.max(1,t),p=()=>a(Math.max(1,Math.min(u,e-1))),h=()=>a(Math.min(u,e+1));return r.jsxs("div",{className:Te("pagination",i),children:[r.jsx(he,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:c,disabled:e<=1,onClick:p}),r.jsxs("span",{className:"pagination__info body-3","aria-live":"polite","aria-atomic":"true",children:[Math.min(Math.max(1,e),u)," / ",u]}),r.jsx(he,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:d,disabled:e>=t,onClick:h})]})}var S6=".ihabdevteam-core-scope .segmented-control{background:var(--color-darkWhite);display:inline-flex;flex-shrink:0;flex-wrap:wrap;gap:0;overflow:hidden;padding:0}.ihabdevteam-core-scope .segmented-control--pill{border-radius:999px}.ihabdevteam-core-scope .segmented-control--rounded{border-radius:8px}.ihabdevteam-core-scope .segmented-control--24.segmented-control--rounded{border-radius:6px}.ihabdevteam-core-scope .segmented-control .button{min-width:96px}.ihabdevteam-core-scope .segmented-control.segmented-control--min .button{min-width:var(--segmented-min-button-w)}.ihabdevteam-core-scope .segmented-control--24 .button{min-width:48px}.ihabdevteam-core-scope .segmented-control--32 .button,.ihabdevteam-core-scope .segmented-control--40 .button{min-width:80px}.ihabdevteam-core-scope .segmented-control--48 .button{min-width:96px}.ihabdevteam-core-scope .segmented-control--no-bg{background:transparent}.ihabdevteam-core-scope .segmented-control--full{display:flex;flex-wrap:nowrap;width:100%}.ihabdevteam-core-scope .segmented-control--full .button{flex:1 1 0;min-width:0}@media (max-width:767px){.ihabdevteam-core-scope .segmented-control{flex-shrink:1;min-width:0}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(4):last-child){border-radius:8px;display:grid;grid-template-columns:repeat(2,1fr);width:100%}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(4):last-child)>.button{justify-content:center;width:100%}.ihabdevteam-core-scope .segmented-control--pill:has(>.button:nth-child(5)){border-radius:8px}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(5)){justify-content:center}}";oe(S6);function Ia(e){const{t}=Ce.useTranslation(),{options:a=[],value:o=a.find(v=>!v.disabled)?.key??a[0]?.key,onChange:n=v=>{},className:i="",size:s=40,shape:c="pill",useBG:d=!0,fullWidth:u=!1,minButtonWidth:p,ariaLabel:h}=e||{},m=l.useRef(null),b=a.filter(v=>!v.disabled),x=v=>{if(!b.length)return;const y=Math.max(0,b.findIndex(B=>B.key===o)),_=v==="first"?b[0]:v==="last"?b[b.length-1]:b[(y+v+b.length)%b.length];_&&(n(_.key),Array.from(m.current?.querySelectorAll("[data-segkey]")??[]).find(B=>B.dataset.segkey===_.key)?.focus())},f=v=>{switch(v.key){case"ArrowRight":case"ArrowDown":x(1);break;case"ArrowLeft":case"ArrowUp":x(-1);break;case"Home":x("first");break;case"End":x("last");break;default:return}v.preventDefault()},C=v=>{const y=_=>typeof _=="string"||typeof _=="number";if(!(!y(v.label)||v.count==null||v.count===!1||!y(v.count)))return`${v.label}, ${v.count}`},g=b.some(v=>v.key===o)?o:b[0]?.key;return r.jsx("div",{ref:m,onKeyDown:f,className:Te("segmented-control",`segmented-control--${c}`,`segmented-control--${s}`,u&&"segmented-control--full",!d&&"segmented-control--no-bg",p!=null&&"segmented-control--min",i),style:p!=null?{"--segmented-min-button-w":`${p}px`}:void 0,role:"radiogroup","aria-label":h??t("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(v=>r.jsx(he,{htmlType:"button",role:"radio","aria-checked":v.key===o,"data-segkey":v.key,tabIndex:v.key===g?0:-1,label:v.label,count:v.count,ariaLabel:C(v),disabled:v.disabled,className:v.key===o?"is-selected":"",onClick:()=>{v.disabled||n(v.key)},size:s,shape:c,useBorder:!1,useBG:!1},v.key))})}var E6=".ihabdevteam-core-scope .toolbar{align-items:center;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--spacing-s);min-height:64px;padding-bottom:8px;padding-top:8px;width:100%}.ihabdevteam-core-scope .toolbar__row{display:contents}.ihabdevteam-core-scope .toolbar__row-end{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-s);justify-content:flex-end;margin-left:auto}.ihabdevteam-core-scope .toolbar__row-end>*{justify-content:flex-end}.ihabdevteam-core-scope .toolbar__pager{align-items:center;display:flex;flex-shrink:0;flex-wrap:nowrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .toolbar__count{color:var(--color-gray);flex-shrink:0;margin:0;white-space:nowrap}.ihabdevteam-core-scope .toolbar .toolbar__search{flex-shrink:0;min-width:200px}@media (max-width:767px){.ihabdevteam-core-scope .toolbar{align-items:stretch;flex-direction:column;flex-wrap:wrap;padding-bottom:12px;padding-top:12px}.ihabdevteam-core-scope .toolbar__row{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .toolbar .toolbar__search{flex:1;min-width:150px}}.ihabdevteam-core-scope .toolbar__count-highlight{color:var(--color-main)}";oe(E6);function Ti({count:e,search:t,segment:a,filters:o,pageSize:n,pagination:i,actions:s,className:c}){const{t:d}=Ce.useTranslation(),u=e!=null&&r.jsxs("p",{className:"toolbar__count body-1",role:"status","aria-atomic":"true",children:[e.prefix??d("common.totalPrefix","\uCD1D "),r.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),p=!!(t||o?.length||n||i||s);return r.jsxs("div",{className:Te("toolbar",c),children:[r.jsxs("div",{className:"toolbar__row",children:[u,a&&(Array.isArray(a)?a:[a]).map((h,m)=>r.jsx(Ia,{size:40,...h},h.ariaLabel??m))]}),p&&r.jsx("div",{className:"toolbar__row",children:r.jsxs("div",{className:"toolbar__row-end",children:[t&&r.jsx(xo,{className:"toolbar__search",size:40,value:t.value,onChange:t.onChange,placeholder:t.placeholder??d("common.search","\uAC80\uC0C9"),ariaLabel:t.placeholder??d("common.search","\uAC80\uC0C9"),autoFocus:t.autoFocus,clearable:!0}),o?.map((h,m)=>r.jsx(fa,{size:40,options:h.options,value:h.value,onChange:h.onChange,ariaLabel:h.ariaLabel},m)),(n||i)&&r.jsxs("div",{className:"toolbar__pager",children:[n&&r.jsx(fa,{size:40,options:n.options,value:n.value,onChange:n.onChange,ariaLabel:n.ariaLabel??d("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),i&&r.jsx(_n,{page:i.page,totalPages:i.total,onChange:i.onChange,prevLabel:i.prevLabel,nextLabel:i.nextLabel})]}),s]})})]})}var N6=".ihabdevteam-core-scope .code-box{background:#eff8ff;background:var(--color-code-bg,#eff8ff);border:1px solid rgba(4,34,51,.06);border-radius:10px;color:#042233;color:var(--color-code-text,#042233);margin:0;overflow:hidden;padding:16px 20px}.ihabdevteam-core-scope .code-box__header{align-items:center;display:flex;gap:12px;justify-content:space-between;min-height:40px}.ihabdevteam-core-scope .code-box__title{align-items:center;color:rgba(4,34,51,.75);display:flex;letter-spacing:.02em}.ihabdevteam-core-scope .code-box__copy{flex-shrink:0}.ihabdevteam-core-scope .code-box__inner{background:transparent;color:#042233;color:var(--color-code-text,#042233);font-family:var(--font-mono);font-size:13px;line-height:1.6;margin:0;overflow-wrap:anywhere;overflow-x:auto;padding:8px 0 0;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-box__inner code{display:block;font-family:inherit;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-box--small .code-box__inner{font-size:12px}.ihabdevteam-core-scope .code-token{overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-token.keyword{color:#6b46ff;font-weight:600}.ihabdevteam-core-scope .code-token.string{color:#0a9d58}.ihabdevteam-core-scope .code-token.comment{color:#6b7280;font-style:italic}.ihabdevteam-core-scope .code-token.command{color:#0b78d1}.ihabdevteam-core-scope .code-token.number{color:#d97706}.ihabdevteam-core-scope .code-token.operator{color:#dc2626}.ihabdevteam-core-scope .code-token.identifier,.ihabdevteam-core-scope .code-token.punctuation{color:#042233;color:var(--color-code-text,#042233)}";oe(N6);function Qg(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(Qg).join(""):""}function D6(e){let t=e.replace(/\r\n/g,`
853
+ `):p)||void 0,children:[r.jsxs("div",{className:"training-block-button__left",children:[x&&a?.label&&a.label!==String(le)&&r.jsx("span",{className:"training-block-button__type-label caption-1",children:a.label}),Me&&ze&&ze!==String(le)&&r.jsx("span",{className:"training-block-button__type-label caption-2",children:ze}),r.jsx(Ig,{icon:be,label:le,tooltip:_e,wrapperStyle:ye,iconSize:Me||ge?"small":"medium"}),!b&&(ie||se)&&!(m&&w)&&r.jsx(_t,{className:m?"training-block-button__check--removable":void 0,type:"dot",icon:"check",position:"top-left",size:"medium","aria-label":ie?_("training.completed","\uD6C8\uB828 \uC644\uB8CC"):_("training.selected","\uC120\uD0DD\uB428")}),m&&r.jsx(_t,{className:`training-block-button__remove${w?" is-hover":""}`,type:"dot",icon:"remove",position:"top-left",size:"medium","aria-label":_("common.remove","\uC81C\uAC70"),onClick:ee}),r.jsx("div",{className:`training-block-button__title ${ge?"body-3":Me?"body-3b":"h3"}`,children:String(le)}),r.jsxs("div",{className:"training-block-button__description",children:[(()=>{const re=v!==void 0?v:we;return re?r.jsx("div",{className:`training-block-button__count ${Me?"caption-2":"caption-1"}`,children:re}):null})(),r.jsx("div",{className:"training-block-button__chevron",children:r.jsx(Je,{icon:"chevron-right",label:_("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:Me?12:20})})]}),(ae&&!fe||Me)&&z.length>0&&r.jsx("div",{ref:D,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:Y,onPointerEnter:V,onPointerLeave:q,children:r.jsx(he,{htmlType:"button",size:Me?28:32,type:"dot",icon:E?"pause":"play",variant:Me?"transparent-lightGray":"default",useBorder:!1,selected:E,ariaLabel:E?_("training.stop","\uC815\uC9C0"):_("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:T})})]}),g&&r.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:re=>{re.stopPropagation(),g(re)},children:r.jsx(he,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:String(le).trim()?_("common.moreFor",{name:le}):_("common.more","\uB354\uBCF4\uAE30")})})]}),j&&r.jsx(ka,{anchorRect:$,text:E?_("training.stop","\uC815\uC9C0"):_("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:q}),w&&!B&&h&&(Q?r.jsx(go,{anchorRect:F,items:Q,activeIndex:L,onClose:H}):P?.subTitle?r.jsx(ka,{anchorRect:F,text:P.subTitle,offset:8,onClose:H}):null),B&&s&&s({trainingData:P,typeKey:a?.key??"",onClose:G,onComplete:ne,popupTitle:String(le),popupSubTitle:a?.subTitle,depth:i!=null?String(i):void 0,popupIcon:be,popupIconTooltip:String(_e),popupWrapperStyle:ye})]})}const Pd=200;function p6(e){return e.itemId?(Xl()[e.trainingType]??[]).find(t=>t?.id!=null&&String(t.id)===String(e.itemId))??null:null}function zd({plan:e,anchorRect:t,offset:a=12,onClose:o}){const{t:n}=Ce.useTranslation(),i=l.useMemo(()=>jm(n).map(c=>({type:c,items:(e.items??[]).filter(d=>d.trainingType===c.key)})).filter(c=>c.items.length>0),[e.items,n]);if(i.length===0)return null;const s=r.jsx("div",{className:"tooltip-training__box",children:r.jsx("div",{className:"tooltip-training__groups",children:i.flatMap(({type:c,items:d},u)=>[u>0?r.jsx("div",{className:"tooltip-training__divider"},`div-${c.key}`):null,r.jsxs("div",{className:"tooltip-training__section",children:[r.jsx("div",{className:"tooltip-training__section-header",children:r.jsx("span",{className:"tooltip-training__type-label body-3b",children:c.label})}),r.jsx("div",{className:"tooltip-training__items",children:d.map((p,h)=>{const m=p6(p);return m?r.jsx(Di,{index:h,type:c,trainingData:m,size:"compact",hideCheckBadge:!0},p.itemId??h):null})})]},c.key)])})});return t?r.jsx(ga,{anchorRect:t,offset:a,onClose:o,closeOnOutsideClick:!1,className:"tooltip-training",ariaLabel:n("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:s}):s}const h6=200;function Og({icon:e,count:t,title:a,plan:o,tooltip:n=!0,className:i="",onClick:s,onMouseEnter:c,onMouseLeave:d}){const u=Te("count-tile",s&&"count-tile--clickable",i),p=l.useRef(null),[h,m]=l.useState(null),b=l.useRef(null),x=l.useRef(null),f=!!(h&&o&&n),C=l.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),x.current&&(clearTimeout(x.current),x.current=null)},[]),g=l.useCallback(()=>{C(),m(null)},[C]),v=l.useCallback(()=>{!n||!o||(C(),b.current=setTimeout(()=>{b.current=null,m(p.current?.getBoundingClientRect()??null)},Pd))},[n,o,C]),y=l.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),!x.current&&(x.current=setTimeout(()=>{x.current=null,m(null)},h6))},[]);return l.useEffect(()=>()=>{C()},[C]),l.useEffect(()=>{(!n||!o)&&g()},[n,o,g]),l.useEffect(()=>{if(!f)return;const _=k=>k instanceof Element&&(p.current?.contains(k)||!!k.closest(".tooltip-training")),B=k=>{_(k.target)?C():y()};return document.addEventListener("pointerover",B,!0),()=>document.removeEventListener("pointerover",B,!0)},[f,C,y]),r.jsxs(r.Fragment,{children:[r.jsxs("div",{ref:p,className:u,onClick:s?_=>{g(),s(_)}:void 0,onKeyDown:s?_=>{_.key!=="Enter"&&_.key!==" "||(_.preventDefault(),_.currentTarget.click())}:void 0,onPointerEnter:_=>{_.pointerType==="touch"||_.pointerType==="pen"?g():v()},onMouseEnter:c,onMouseLeave:_=>{y(),d?.(_)},role:s?"button":"img",tabIndex:s?0:void 0,"aria-label":`${a} ${t}`,children:[r.jsx(Je,{icon:e,size:20,className:"count-tile__icon"}),r.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:t})]}),h&&o&&r.jsx(zd,{plan:o,anchorRect:h,onClose:g})]})}let xn=0,Fg="",Id="",Cn=0;function Hg(){return Vg(!1)}function m6(){return Vg(!0)}function Vg(e){const t=typeof document<"u";xn===0&&t&&(Fg=document.body.style.overflow,document.body.style.overflow="hidden"),e&&t&&(Cn===0&&(Id=document.body.style.paddingRight),Cn++,document.body.style.paddingRight="0px"),xn++;let a=!1;return()=>{a||(a=!0,xn=Math.max(0,xn-1),e&&t&&(Cn=Math.max(0,Cn-1),Cn===0&&(Id?document.body.style.paddingRight=Id:document.body.style.removeProperty("padding-right"))),xn===0&&t&&(document.body.style.overflow=Fg))}}var b6=".ihabdevteam-core-scope .dialog{align-items:center;background:rgba(16,24,32,.6);display:flex;inset:0;justify-content:center;padding:32px;position:fixed;z-index:2200;z-index:var(--z-modal,2200)}@supports (color:rgb(0 0 0/0)) and (top:var(--f )){.ihabdevteam-core-scope .dialog{background:var(--color-popupBlock,rgba(16,24,32,.6))}}.ihabdevteam-core-scope .dialog__surface{background:#fff;background:var(--color-pureWhite,#fff);border-radius:20px;border-radius:var(--radius-dialog,20px);box-shadow:var(--shadow-popup);max-height:calc(100vh - 64px);outline:none;overflow:auto;position:relative;width:100%}.ihabdevteam-core-scope .dialog__surface--sm{max-width:420px}.ihabdevteam-core-scope .dialog__surface--md{max-width:640px}.ihabdevteam-core-scope .dialog__surface--lg{max-width:1000px}.ihabdevteam-core-scope .dialog__surface--full{background:none;box-shadow:none;max-width:1000px;overflow:visible}.ihabdevteam-core-scope .dialog__header{padding:24px 24px 0}.ihabdevteam-core-scope .dialog__title{color:var(--color-black);margin:0}.ihabdevteam-core-scope .dialog__close{align-items:center;background:none;border:0;border-radius:999px;border-radius:var(--radius-full,999px);color:var(--color-gray);cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:12px;top:12px;transition:background .15s ease,color .15s ease;width:40px}.ihabdevteam-core-scope .dialog__close:hover{background:var(--color-darkWhite);color:var(--color-black)}.ihabdevteam-core-scope .dialog__close>svg{height:20px;width:20px}.ihabdevteam-core-scope .dialog__surface--full .dialog__close{background:hsla(0,0%,100%,.1);color:var(--color-pureWhite);right:0;top:-48px}.ihabdevteam-core-scope .dialog__surface--full .dialog__close:hover{background:hsla(0,0%,100%,.2)}.ihabdevteam-core-scope .dialog__body{padding:24px}.ihabdevteam-core-scope .dialog__surface--full .dialog__body{padding:0}@media (max-width:639px){.ihabdevteam-core-scope .dialog{padding:16px}.ihabdevteam-core-scope .dialog__body{padding:20px}}";oe(b6);function g6(){return r.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:r.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function Wg({open:e,onClose:t,ariaLabel:a,title:o,children:n,size:i="md",closeOnBackdrop:s=!0,closeOnEscape:c=!0,showClose:d=!0,className:u,contentClassName:p}){const{t:h}=Ce.useTranslation(),m=l.useId(),b=l.useRef(null),x=l.useCallback(()=>t(),[t]);l.useEffect(()=>{if(!e)return;const v=document.activeElement,y=Hg(),_=b.current;return cc(_,v),_?.focus(),()=>{y();const B=document.activeElement;(!B||B===document.body||_&&_.contains(B))&&dc(v)?.focus?.()}},[e]);const f=l.useRef(x),C=l.useRef(c);l.useEffect(()=>{f.current=x,C.current=c}),l.useEffect(()=>{if(e)return Ro(()=>{C.current&&f.current()})},[e]);const g=l.useRef(!1);return sc(b,e),!e||typeof document>"u"?null:ca.createPortal(r.jsx("div",{className:Te("dialog",u),onPointerDown:s?v=>{g.current=v.target===v.currentTarget}:void 0,onMouseDown:v=>{v.target===v.currentTarget&&v.preventDefault()},onClick:s?v=>{const y=g.current;g.current=!1,y&&v.target===v.currentTarget&&x()}:void 0,children:r.jsxs("div",{ref:b,role:"dialog","aria-modal":"true","aria-label":o?void 0:a,"aria-labelledby":o?m:void 0,tabIndex:-1,className:Te("dialog__surface",`dialog__surface--${i}`,p),onClick:v=>v.stopPropagation(),children:[o?r.jsx("div",{className:"dialog__header",children:r.jsx("h2",{id:m,className:"dialog__title h4b",children:o})}):null,d?r.jsx("button",{type:"button",className:"dialog__close","aria-label":h("common.close","\uB2EB\uAE30"),onClick:x,children:r.jsx(g6,{})}):null,r.jsx("div",{className:"dialog__body",children:n})]})}),document.body)}var f6=".ihabdevteam-core-scope .board{width:100%}.ihabdevteam-core-scope .board__head{align-items:flex-end;display:flex;flex-wrap:wrap;gap:var(--spacing-m);justify-content:space-between;margin-bottom:var(--spacing-m)}.ihabdevteam-core-scope .board__title{color:var(--color-text-primary);font-size:var(--text-body-2-size);font-weight:500;line-height:var(--text-body-2-line);margin:0}.ihabdevteam-core-scope .board__toolbar{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .board__table{border-collapse:collapse;border-top:1px solid var(--color-text-primary);text-align:left;width:100%}.ihabdevteam-core-scope .board__caption{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ihabdevteam-core-scope .board__th{border-bottom:1px solid var(--color-border);color:var(--color-text-primary);font-size:var(--text-body-3-size);font-weight:500;line-height:var(--text-body-3-line);padding:14px 0}.ihabdevteam-core-scope .board__row{border-bottom:1px solid var(--color-border);transition:background .15s ease;transition:background var(--duration-fast,.15s) var(--ease-out,ease)}.ihabdevteam-core-scope .board__row:hover{background:var(--color-surface-raised)}.ihabdevteam-core-scope .board__td{color:var(--color-text-primary);font-size:var(--text-body-3-size);line-height:var(--text-body-3-line);padding:var(--spacing-m) 0}.ihabdevteam-core-scope .board__cell--left{text-align:left}.ihabdevteam-core-scope .board__cell--center{text-align:center}.ihabdevteam-core-scope .board__cell--right{text-align:right}.ihabdevteam-core-scope .board__state{color:var(--color-text-secondary);font-size:var(--text-body-3-size);padding:56px 0;text-align:center}";oe(f6);function Gg({columns:e,rows:t,rowKey:a,title:o,toolbar:n,empty:i,loading:s,caption:c,className:d=""}){const{t:u}=Ce.useTranslation(),p=!s&&t.length===0;return r.jsxs("div",{className:Te("board",d),children:[o||n?r.jsxs("div",{className:"board__head",children:[o?r.jsx("h2",{className:"board__title",children:o}):r.jsx("span",{}),n?r.jsx("div",{className:"board__toolbar",children:n}):null]}):null,r.jsxs("table",{className:"board__table",children:[c?r.jsx("caption",{className:"board__caption",children:c}):null,r.jsx("thead",{children:r.jsx("tr",{children:e.map(h=>r.jsx("th",{scope:"col",className:Te("board__th",`board__cell--${h.headerAlign??h.align??"left"}`),style:h.width?{width:h.width}:void 0,children:h.header},h.key))})}),r.jsx("tbody",{children:s?r.jsx("tr",{children:r.jsx("td",{className:"board__state",colSpan:e.length,children:s})}):p?r.jsx("tr",{children:r.jsx("td",{className:"board__state",colSpan:e.length,children:i??u("board.empty","\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):t.map((h,m)=>r.jsx("tr",{className:"board__row",children:e.map(b=>r.jsx("td",{className:Te("board__td",`board__cell--${b.align??"left"}`),children:b.render(h,m)},b.key))},a(h,m)))})]})]})}var v6=".ihabdevteam-core-scope .person-card{display:flex;flex-direction:column}.ihabdevteam-core-scope .person-card__photo{background:var(--color-surface-raised);border-radius:var(--radius-full);flex-shrink:0;margin-inline:auto;max-width:100%;overflow:hidden}.ihabdevteam-core-scope .person-card__photo>*,.ihabdevteam-core-scope .person-card__photo>img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ihabdevteam-core-scope .person-card__name{color:var(--color-text-primary);font-size:var(--text-h4-size);font-weight:var(--text-h4-weight-bold);line-height:var(--text-h4-line);margin-top:var(--spacing-xl);text-align:center}.ihabdevteam-core-scope .person-card__role{color:var(--color-darkGray);font-size:var(--text-body-3-size);font-weight:var(--text-body-3-weight);line-height:var(--text-body-3-line);margin-top:6px;text-align:center}.ihabdevteam-core-scope .person-card__credentials{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;margin:var(--spacing-xl) auto 0;max-width:100%;padding:0;text-align:left;width:-moz-fit-content;width:fit-content}.ihabdevteam-core-scope .person-card__credentials>li{color:var(--color-darkGray);font-size:var(--text-body-3-size);line-height:var(--text-body-3-line)}@media (max-width:767px){.ihabdevteam-core-scope .person-card__credentials,.ihabdevteam-core-scope .person-card__name{margin-top:var(--spacing-l)}}";oe(v6);function Ug({name:e,role:t,photo:a,media:o,credentials:n,size:i=190,className:s=""}){return r.jsxs("div",{className:Te("person-card",s),children:[r.jsx("div",{className:"person-card__photo",style:{width:i,height:i},children:o??(a?r.jsx("img",{src:a,alt:t?`${e} ${t}`:e}):null)}),r.jsx("h3",{className:"person-card__name",children:e}),t?r.jsx("p",{className:"person-card__role",children:t}):null,n?.length?r.jsx("ul",{className:"person-card__credentials",children:n.map(c=>r.jsx("li",{children:c},c))}):null]})}var x6=".ihabdevteam-core-scope .timeline{display:flex;flex-direction:column;gap:56px}.ihabdevteam-core-scope .timeline__title{color:var(--color-text-primary);font-size:var(--text-h1-size);font-weight:var(--text-h1-weight);letter-spacing:var(--text-h1-spacing);line-height:var(--text-h1-line);margin:0}.ihabdevteam-core-scope .timeline__rows{border-top:1px solid var(--color-border);list-style:none;margin:var(--spacing-m) 0 0;padding:0}.ihabdevteam-core-scope .timeline__row{border-bottom:1px solid var(--color-border);display:flex;gap:40px;padding:var(--spacing-l) 0}.ihabdevteam-core-scope .timeline__label{color:var(--color-text-primary);flex-shrink:0;font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight-bold);line-height:var(--text-body-2-line);padding-top:1px;width:28px}.ihabdevteam-core-scope .timeline__items{display:flex;flex-direction:column;gap:4px}.ihabdevteam-core-scope .timeline__items>p{color:var(--color-text-primary);font-size:var(--text-body-2-size);font-weight:var(--text-body-2-weight);line-height:var(--text-body-2-line);margin:0}@media (max-width:767px){.ihabdevteam-core-scope .timeline{gap:40px}.ihabdevteam-core-scope .timeline__row{gap:var(--spacing-xl)}}";oe(x6);function qg({groups:e,className:t=""}){return r.jsx("div",{className:Te("timeline",t),children:e.map(a=>r.jsxs("section",{className:"timeline__group",children:[r.jsx("h3",{className:"timeline__title",children:a.title}),r.jsx("ul",{className:"timeline__rows",children:a.entries.map((o,n)=>r.jsxs("li",{className:"timeline__row",children:[o.label?r.jsx("span",{className:"timeline__label",children:o.label}):null,r.jsx("div",{className:"timeline__items",children:o.items.map((i,s)=>r.jsx("p",{children:i},s))})]},`${o.label??""}-${n}`))})]},a.title))})}var C6=".ihabdevteam-core-scope .publication-card{background:var(--color-surface-raised);border-radius:var(--radius-m);box-sizing:border-box;display:flex;flex-direction:column;padding:36px var(--spacing-xl) 32px;position:relative}.ihabdevteam-core-scope .publication-card__badge{height:88px;pointer-events:none;position:absolute;right:var(--spacing-xl);top:0}.ihabdevteam-core-scope .publication-card__badge>*,.ihabdevteam-core-scope .publication-card__badge>img{height:100%;width:auto}.ihabdevteam-core-scope .publication-card__title{color:var(--color-text-primary);font-size:var(--text-h4-size);font-weight:var(--text-h4-weight-bold);line-height:var(--text-h4-line);margin:0;padding-right:96px;position:relative;z-index:1}.ihabdevteam-core-scope .publication-card__kind{color:var(--color-darkGray);font-size:var(--text-body-3-size);font-weight:var(--text-body-3-weight);line-height:var(--text-body-3-line);margin:var(--spacing-m) 0 0}.ihabdevteam-core-scope .publication-card__body{color:var(--color-darkGray);font-size:var(--text-caption-1-size);line-height:1.65;margin:var(--spacing-m) 0 0}@media (max-width:767px){.ihabdevteam-core-scope .publication-card{padding:32px var(--spacing-l) 28px}.ihabdevteam-core-scope .publication-card__kind{margin-top:var(--spacing-m)}}.ihabdevteam-core-scope .publication-card__footer{margin-top:auto;padding-top:var(--spacing-l)}";oe(C6);function Yg({title:e,kind:t,body:a,badge:o,badgeSrc:n,footer:i,width:s,className:c=""}){const d=o??(n?r.jsx("img",{src:n,alt:""}):null);return r.jsxs("div",{className:Te("publication-card",c),style:s?{width:s,flexShrink:0}:void 0,children:[d?r.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:d}):null,r.jsx("h3",{className:"publication-card__title",children:e}),t?r.jsx("p",{className:"publication-card__kind",children:t}):null,r.jsx("p",{className:"publication-card__body",children:a}),i?r.jsx("div",{className:"publication-card__footer",children:i}):null]})}var _6="@keyframes splash-logo{0%{opacity:0;transform:scale(.92)}18%{opacity:1;transform:scale(1)}75%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.04)}}.ihabdevteam-core-scope .splash-logo{align-items:center;background:var(--color-pureWhite);display:flex;inset:0;justify-content:center;position:absolute;z-index:1000;z-index:var(--z-modal,1000)}.ihabdevteam-core-scope .splash-logo__image{animation:splash-logo 3s cubic-bezier(.4,0,.2,1) forwards;animation:splash-logo var(--splash-logo-duration,3s) cubic-bezier(.4,0,.2,1) forwards;height:80px;height:var(--splash-logo-height,80px);width:auto}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .splash-logo__image{animation:none;opacity:1}}";oe(_6);function Kg({logo:e,alt:t,onDone:a,durationMs:o=3e3}){const n=sn(a);return l.useEffect(()=>{const i=setTimeout(()=>n.current?.(),o);return()=>clearTimeout(i)},[o,n]),r.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${o}ms`},"aria-hidden":"true",children:r.jsx("img",{src:e,alt:t,className:"splash-logo__image"})})}var y6='.ihabdevteam-core-scope .section-header{text-align:center}.ihabdevteam-core-scope .section-header__eyebrow{align-items:center;display:flex;font-size:var(--text-caption-1-size);font-weight:600;gap:10px;justify-content:center;letter-spacing:.18em;line-height:var(--text-caption-1-line);margin:0}.ihabdevteam-core-scope .section-header__index{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;opacity:.6}.ihabdevteam-core-scope .section-header__rule{background:currentColor;height:1px;opacity:.3;width:24px}.ihabdevteam-core-scope .section-header__title{font-family:inherit;font-family:var(--font-display,inherit);font-size:clamp(2rem,1.35rem + 2.1vw,2.9rem);font-weight:700;letter-spacing:-.01em;line-height:1.15;margin:0}.ihabdevteam-core-scope .section-header__eyebrow+.section-header__title{margin-top:var(--spacing-xl)}.ihabdevteam-core-scope .section-header__description{font-size:var(--text-body-2-size);line-height:1.9;margin-top:var(--spacing-m)}.ihabdevteam-core-scope .section-header--dark .section-header__eyebrow{color:var(--color-main)}.ihabdevteam-core-scope .section-header--dark .section-header__title{color:var(--color-text-primary)}.ihabdevteam-core-scope .section-header--dark .section-header__description{color:var(--color-darkGray)}.ihabdevteam-core-scope .section-header--light .section-header__eyebrow{color:hsla(0,0%,100%,.85)}.ihabdevteam-core-scope .section-header--light .section-header__title{color:var(--color-pureWhite)}.ihabdevteam-core-scope .section-header--light .section-header__description{color:hsla(0,0%,100%,.85)}';oe(y6);function Zg({eyebrow:e,eyebrowIndex:t,title:a,description:o,level:n=2,tone:i="dark",className:s=""}){const c=n===1?"h1":"h2";return r.jsxs("div",{className:Te("section-header",`section-header--${i}`,s),children:[e?r.jsxs("p",{className:"section-header__eyebrow",children:[t?r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"section-header__index",children:t}),r.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,a?r.jsx(c,{className:"section-header__title",children:a}):null,o?r.jsx("div",{className:"section-header__description",children:o}):null]})}var w6=".ihabdevteam-core-scope .company-meta{align-items:center;color:var(--color-gray);display:flex;flex-direction:column;font-size:var(--text-caption-1-size);gap:var(--spacing-xs);list-style:none;margin:0;padding:0}.ihabdevteam-core-scope .company-meta__item{align-items:center;display:flex}.ihabdevteam-core-scope .company-meta__divider{color:var(--color-whiteLine);display:none;padding-inline:var(--spacing-m)}@media (min-width:640px){.ihabdevteam-core-scope .company-meta{flex-direction:row;gap:0}.ihabdevteam-core-scope .company-meta__divider{display:inline}}";oe(w6);function Xg({items:e,className:t=""}){return r.jsx("ul",{className:Te("company-meta",t),children:e.map((a,o)=>r.jsxs("li",{className:"company-meta__item",children:[o>0?r.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,a]},a))})}function Jg(e){return typeof e=="string"?e:e.label}function Od({value:e,onChange:t,suggestions:a,openOnFocus:o=!1,filterSuggestions:n,onSelectSuggestion:i,autoActiveFirst:s=!1}){const c=l.useId(),[d,u]=l.useState(!1),[p,h]=l.useState(-1),m=l.useRef(null),b=l.useMemo(()=>{if(!a.length)return[];const L=e??"";return n===!1?a:L?typeof n=="function"?n(a,L):a.filter(z=>Jg(z).toLowerCase().includes(L.toLowerCase())):o?a:[]},[a,e,o,n]),[x,f]=l.useState(!1),C=l.useRef([]),g=x&&b.length===0?C.current:b;l.useEffect(()=>{g.length&&(C.current=g)},[g]);const v=l.useCallback(()=>f(!0),[]),y=l.useCallback(()=>f(!1),[]),_=s?0:-1;l.useEffect(()=>{d||h(_)},[d,_]),l.useEffect(()=>()=>{m.current&&clearTimeout(m.current)},[]);const B=p<g.length?p:_<g.length?_:-1,k=l.useCallback(L=>{i?i(L):t?.(Jg(L)),u(!1)},[t,i]),S=l.useCallback(()=>u(!0),[]),w=l.useCallback(()=>{u(!0),h(_)},[_]),A=l.useCallback(()=>{m.current=setTimeout(()=>u(!1),120)},[]),E=l.useCallback(L=>{L.nativeEvent.isComposing||L.keyCode===229||(L.key==="ArrowDown"?(L.preventDefault(),u(!0),h(z=>Math.min(g.length-1,(z<g.length?z:_)+1))):L.key==="ArrowUp"?(L.preventDefault(),h(z=>Math.max(_,(z<g.length?z:g.length)-1))):L.key==="Enter"?B>=0&&k(g[B]):L.key==="Escape"&&d&&(L.preventDefault(),u(!1)))},[g,B,d,k,_]);return{listId:c,open:d,activeIdx:B,filtered:g,handleFocus:S,handleBlur:A,handleInput:w,handleKeyDown:E,handleSelect:k,handleCompositionStart:v,handleCompositionEnd:y}}const Fd=typeof window<"u"?l.useLayoutEffect:l.useEffect;var k6=".ihabdevteam-core-scope .text-field{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:6px;position:relative}.ihabdevteam-core-scope .text-field--full-width{display:flex;width:100%}.ihabdevteam-core-scope .text-field__label{align-items:center;color:var(--color-darkGray);display:flex;gap:4px}.ihabdevteam-core-scope .text-field__required{color:var(--color-main);line-height:1}.ihabdevteam-core-scope .text-field__wrap{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:12px;box-sizing:border-box;display:flex;overflow:hidden;position:relative;transition:border-color .12s,background .12s,box-shadow .12s}.ihabdevteam-core-scope .text-field--s32 .text-field__wrap{border-radius:8px}.ihabdevteam-core-scope .text-field--s40 .text-field__wrap{border-radius:10px}.ihabdevteam-core-scope .text-field--s48 .text-field__wrap{border-radius:12px}.ihabdevteam-core-scope .text-field--s64 .text-field__wrap{border-radius:14px}.ihabdevteam-core-scope .text-field__wrap:focus-within{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10)}.ihabdevteam-core-scope .text-field__input:focus-visible{outline:none}@media (forced-colors:active){.ihabdevteam-core-scope .text-field__input:focus-visible{outline:2px solid Highlight;outline-offset:-2px}}.ihabdevteam-core-scope .text-field--error .text-field__wrap{border-color:var(--color-error)}.ihabdevteam-core-scope .text-field--error .text-field__wrap:focus-within{box-shadow:0 0 0 3px var(--color-error-a10)}.ihabdevteam-core-scope .text-field--disabled .text-field__wrap{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .text-field--readonly .text-field__input{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .text-field--readonly .text-field__wrap{border-color:var(--color-darkWhite)}.ihabdevteam-core-scope .text-field__input{background:transparent;border:none;box-sizing:border-box;color:var(--color-darkGray);flex:1;margin:0;min-width:0;outline:none;padding:0 12px}.ihabdevteam-core-scope .text-field__input::-moz-placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .text-field__input::placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .text-field__input:disabled{cursor:not-allowed}.ihabdevteam-core-scope .text-field__input[readonly]{cursor:default}.ihabdevteam-core-scope .text-field__input--textarea{align-self:stretch;line-height:1.6;min-height:80px;padding:10px 12px;resize:vertical}.ihabdevteam-core-scope .text-field__input--auto{align-self:stretch;line-height:1.5;overflow:hidden;padding:0 12px;resize:none}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__wrap,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__wrap{align-items:flex-start}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__clear,.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__icon,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__clear,.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__icon{margin-top:var(--spacing-s)}.ihabdevteam-core-scope .text-field--s32 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:30px}.ihabdevteam-core-scope .text-field--s40 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:38px}.ihabdevteam-core-scope .text-field--s48 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:46px}.ihabdevteam-core-scope .text-field--s64 .text-field__input:not(.text-field__input--textarea):not(.text-field__input--auto){height:62px;line-height:normal}.ihabdevteam-core-scope .text-field--display .text-field__input{font-weight:700;text-align:center}.ihabdevteam-core-scope .text-field--display .text-field__input::-moz-placeholder{color:transparent}.ihabdevteam-core-scope .text-field--display .text-field__input::placeholder{color:transparent}.ihabdevteam-core-scope .text-field--display .text-field__placeholder{align-items:center;color:var(--color-lightGray);display:flex;font-weight:400;inset:0;justify-content:center;pointer-events:none;position:absolute}.ihabdevteam-core-scope .text-field--display .text-field__input:not(:-moz-placeholder)~.text-field__placeholder{display:none}.ihabdevteam-core-scope .text-field--display .text-field__input:not(:placeholder-shown)~.text-field__placeholder{display:none}.ihabdevteam-core-scope .text-field--display.text-field--s48 .text-field__input{font-size:22px}.ihabdevteam-core-scope .text-field--display.text-field--s48 .text-field__placeholder{font-size:15px}.ihabdevteam-core-scope .text-field--display.text-field--s64 .text-field__input{font-size:28px;letter-spacing:-.3px}.ihabdevteam-core-scope .text-field--display.text-field--s64 .text-field__placeholder{font-size:16px}.ihabdevteam-core-scope .text-field--s32 .text-field__input--auto{height:30px;min-height:30px;padding-bottom:3px;padding-top:3px}.ihabdevteam-core-scope .text-field--s40 .text-field__input--auto{height:38px;min-height:38px;padding-bottom:7px;padding-top:7px}.ihabdevteam-core-scope .text-field--s48 .text-field__input--auto{height:46px;min-height:46px;padding-bottom:11px;padding-top:11px}.ihabdevteam-core-scope .text-field__icon{align-items:center;color:var(--color-lightGray);display:inline-flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .text-field__icon--left{margin-left:var(--spacing-s)}.ihabdevteam-core-scope .text-field__icon--right{margin-right:var(--spacing-s)}.ihabdevteam-core-scope .text-field__icon-svg{display:block}.ihabdevteam-core-scope .text-field--has-left-icon .text-field__input{padding-left:6px}.ihabdevteam-core-scope .text-field--has-right-icon .text-field__input{padding-right:6px}.ihabdevteam-core-scope .text-field--s32 .text-field__icon{height:16px;width:16px}.ihabdevteam-core-scope .text-field--s32 .text-field__input{font-size:14px;line-height:22px}.ihabdevteam-core-scope .text-field__clear{flex-shrink:0;margin-right:10px}.ihabdevteam-core-scope .text-field__suggestions{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);box-shadow:var(--shadow-dropdown);box-sizing:border-box;margin:0;max-height:220px;overflow:auto;padding:4px 0;position:fixed;z-index:var(--z-dropdown)}.ihabdevteam-core-scope .text-field__suggestion{align-items:center;color:var(--color-darkGray);cursor:pointer;display:flex;padding:8px 12px}.ihabdevteam-core-scope .text-field__suggestion.is-active,.ihabdevteam-core-scope .text-field__suggestion:hover{background:var(--color-deepWhite);color:var(--color-main)}.ihabdevteam-core-scope .text-field__footer{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .text-field__helper{color:var(--color-lightGray);flex:1}.ihabdevteam-core-scope .text-field--error .text-field__helper{color:var(--color-error)}.ihabdevteam-core-scope .text-field__count{color:var(--color-gray);flex-shrink:0;margin-right:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ihabdevteam-core-scope .text-field--has-right-icon .text-field__count,.ihabdevteam-core-scope .text-field:has(.text-field__clear) .text-field__count{margin-right:8px}.ihabdevteam-core-scope .text-field__count--over{color:var(--color-error)}.ihabdevteam-core-scope .text-field:has(.text-field__input--textarea) .text-field__count{bottom:6px;margin:0;pointer-events:none;position:absolute;right:20px}.ihabdevteam-core-scope .text-field:has(.text-field__input--auto) .text-field__count{align-self:flex-end;margin-bottom:var(--spacing-s)}.ihabdevteam-core-scope .text-field__suggestion-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .text-field__suggestion-hint{color:var(--color-lightGray);flex-shrink:0;margin-left:8px;white-space:nowrap}.ihabdevteam-core-scope .text-field__status{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";oe(k6);function xo(e){const{value:t,defaultValue:a,name:o,inputRef:n,onChange:i,label:s,ariaLabel:c,required:d,placeholder:u,ghostText:p,ghostHint:h,type:m="text",disabled:b=!1,readOnly:x=!1,error:f,helperText:C,maxLength:g,size:v=48,variant:y="input",fullWidth:_=!1,newline:B=!1,multiline:k=!1,rows:S=3,leftIcon:w,rightIcon:A,clearable:E=!1,list:L,showCount:z=!0,className:j="",onFocus:I,onBlur:D,onKeyDown:T,onEnter:O,inputMode:G,autoComplete:Z,autoFocus:H,suggestions:V,filterSuggestions:q,onSelectSuggestion:$,autoActiveFirst:N,openOnFocus:F=!1}=e,R=x||b?void 0:V,{t:W}=Ce.useTranslation(),P=l.useId();!s&&!c&&Ua(`TextField:unnamed:${P}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const Q=`tf-${P}`,ee=`tf-helper-${P}`,Y=l.useRef(null),ne=Od({value:t??"",onChange:i,suggestions:R??[],openOnFocus:F,filterSuggestions:q,onSelectSuggestion:$,autoActiveFirst:N}),ie=!!R&&ne.open&&ne.filtered.length>0,se=l.useRef(null),[ce,U]=l.useState(null),le=l.useCallback(()=>{const re=se.current;if(!re||typeof window>"u")return;const Oe=re.getBoundingClientRect(),Fe=230,Ze=window.innerHeight-Oe.bottom<Fe+8&&Oe.top>Fe+8;U({position:"fixed",left:Oe.left,width:Oe.width,...Ze?{bottom:window.innerHeight-Oe.top+8}:{top:Oe.bottom+8},zIndex:gn(re)})},[]);Fd(()=>{if(!ie)return;le();const re=Oe=>{const Fe=Oe.target;Fe&&Fe.nodeType===1&&Fe.closest?.(".text-field__suggestions")||le()};return window.addEventListener("scroll",re,!0),window.addEventListener("resize",le),()=>{window.removeEventListener("scroll",re,!0),window.removeEventListener("resize",le)}},[ie,le]);const be=l.useCallback(re=>{Y.current=re,typeof n=="function"?n(re):n&&(n.current=re)},[n]),ye=p?`${p}${h??W("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)")}`:u,xe=t!==void 0,ue=xe&&m==="password",[_e,Ae]=l.useState((a??"").length),X=xe?(t??"").length:_e,we=l.useRef(t);Fd(()=>{we.current=t}),l.useEffect(()=>{const re=Y.current;if(!ue||!re)return;const Oe=t??"";re.value!==Oe&&(re.value=Oe)},[ue,t]),l.useEffect(()=>{if(!B||!Y.current)return;const re=Y.current;re.style.height="",re.scrollHeight>re.clientHeight&&(re.style.height=`${re.scrollHeight}px`)},[t,_e,B]);const fe=g!=null&&X>g,ae=v===32?16:20,ge=Te("text-field",`text-field--s${v}`,y==="display"?"text-field--display":"",_?"text-field--full-width":"",b?"text-field--disabled":"",x?"text-field--readonly":"",f?"text-field--error":"",w?"text-field--has-left-icon":"",A||E?"text-field--has-right-icon":"",j),Me={id:Q,...ue?{}:xe?{value:t}:{defaultValue:a},ref:be,placeholder:ye,name:o,disabled:b,readOnly:x,autoFocus:H,maxLength:g,list:L,inputMode:G,autoComplete:Z,"aria-label":!s&&c?c:void 0,"aria-required":d,"aria-invalid":!!f,"aria-describedby":C||f?ee:void 0,role:R?"combobox":void 0,"aria-autocomplete":R?"list":void 0,"aria-haspopup":R?"listbox":void 0,"aria-expanded":R?ie:void 0,"aria-controls":ie?ne.listId:void 0,"aria-activedescendant":ie&&ne.activeIdx>=0?`${ne.listId}-option-${ne.activeIdx}`:void 0,onChange:re=>{const Oe=re.target;xe||Ae(Oe.value.length),i?.(Oe.value),R&&ne.handleInput(),ue&&queueMicrotask(()=>{const Fe=we.current??"";Oe.value!==Fe&&(Oe.value=Fe)})},onCompositionStart:R?ne.handleCompositionStart:void 0,onCompositionEnd:R?ne.handleCompositionEnd:void 0,onFocus:(re=>{I?.(re),R&&ne.handleFocus()}),onBlur:(re=>{D?.(re),R&&ne.handleBlur()}),onKeyDown:(re=>{const Oe=(re.key==="Tab"&&!re.shiftKey||re.key===" ")&&!re.nativeEvent.isComposing;if(p&&Oe&&!x&&!b&&!(re.currentTarget.value??"").trim()){re.preventDefault();const Fe=re.currentTarget;xe||(Fe.value=p,Ae(p.length)),i?.(p);return}R&&re.key==="Enter"&&!re.nativeEvent.isComposing&&ne.activeIdx>=0?re.preventDefault():O&&re.key==="Enter"&&!re.nativeEvent.isComposing&&(re.preventDefault(),O()),T?.(re),R&&ne.handleKeyDown(re)})},$e=E&&!b&&!x&&X>0,Ye=()=>B?r.jsx("textarea",{...Me,className:"text-field__input text-field__input--auto body-2",rows:1}):k?r.jsx("textarea",{...Me,className:"text-field__input text-field__input--textarea body-2",rows:S}):r.jsx("input",{...Me,type:m,className:"text-field__input body-2"}),ze=y==="display"&&!B&&!k&&!!ye,Ue=()=>r.jsxs(r.Fragment,{children:[Ye(),ze&&r.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:ye})]});return r.jsxs("div",{ref:se,className:ge,children:[s&&r.jsxs("label",{htmlFor:Q,className:"text-field__label caption-1",children:[s,d&&r.jsx("span",{className:"text-field__required",children:"*"})]}),r.jsxs("div",{className:"text-field__wrap",children:[w&&r.jsx("span",{className:"text-field__icon text-field__icon--left",children:r.jsx(Je,{icon:w,label:"",className:"",svgClassName:"text-field__icon-svg",size:ae})}),Ue(),g!=null&&z&&r.jsxs("span",{className:`text-field__count caption-2${fe?" text-field__count--over":""}`,children:[X,"/",g]}),$e&&r.jsx(he,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:W("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:re=>{re.preventDefault()},onClick:()=>{!xe&&Y.current&&(Y.current.value="",Ae(0)),i?.("")},tabIndex:-1}),A&&!$e&&r.jsx("span",{className:"text-field__icon text-field__icon--right",children:r.jsx(Je,{icon:A,label:"",className:"",svgClassName:"text-field__icon-svg",size:ae})})]}),!!R&&r.jsx("span",{className:"text-field__status",role:"status","aria-live":"polite",children:ne.open&&(t??"").length>0&&ne.filtered.length===0?W("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"):""}),ie&&(typeof document>"u"?null:ca.createPortal(r.jsx("ul",{id:ne.listId,className:"text-field__suggestions",role:"listbox",style:ce??{position:"fixed",visibility:"hidden"},"data-tooltip-ignore":!0,children:ne.filtered.map((re,Oe)=>r.jsx("li",{id:`${ne.listId}-option-${Oe}`,role:"option","aria-selected":Oe===ne.activeIdx,className:`text-field__suggestion body-2${Oe===ne.activeIdx?" is-active":""}`,onMouseDown:Fe=>Fe.preventDefault(),onClick:()=>{ne.handleSelect(re),Y.current?.focus()},children:typeof re=="string"?re:r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"text-field__suggestion-label",children:re.label}),re.hint&&r.jsx("span",{className:"text-field__suggestion-hint caption-1",children:re.hint})]})},typeof re=="string"?`${re}-${Oe}`:re.id))}),document.body)),(C||f)&&r.jsx("div",{className:"text-field__footer",children:r.jsx("span",{id:ee,className:"text-field__helper caption-1",role:f?"alert":void 0,children:f||C})})]})}var B6=".ihabdevteam-core-scope .dropdown{display:inline-block;position:relative}.ihabdevteam-core-scope .dropdown--block{display:block;width:100%}.ihabdevteam-core-scope .dropdown--block .dropdown__trigger{min-width:0}.ihabdevteam-core-scope .dropdown--s40 .dropdown__trigger{border-radius:10px;height:40px}.ihabdevteam-core-scope .dropdown--s48 .dropdown__trigger{border-radius:12px;height:48px}.ihabdevteam-core-scope .dropdown__trigger{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:12px;box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;font-family:var(--font-family);gap:var(--spacing-xs);height:48px;justify-content:space-between;min-width:120px;padding:0 12px;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s;white-space:nowrap;width:100%}.ihabdevteam-core-scope .dropdown__trigger:hover:not(:disabled){border-color:var(--color-main)}.ihabdevteam-core-scope .dropdown__trigger:focus-visible{border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10);outline:none}.ihabdevteam-core-scope .dropdown__trigger:disabled{background:var(--color-deepWhite);cursor:default;opacity:.5}.ihabdevteam-core-scope .dropdown--open .dropdown__trigger{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10)}.ihabdevteam-core-scope .dropdown--error .dropdown__trigger{border:1px solid var(--color-error)}.ihabdevteam-core-scope .dropdown--error .dropdown__trigger:hover:not(:disabled),.ihabdevteam-core-scope .dropdown--error.dropdown--open .dropdown__trigger{border-color:var(--color-error);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-error) 15%,transparent)}.ihabdevteam-core-scope .dropdown__trigger-label{flex:1;overflow:hidden;text-overflow:ellipsis}.ihabdevteam-core-scope .dropdown__trigger-label--placeholder{color:var(--color-lightGray)}.ihabdevteam-core-scope .dropdown__chevron{color:var(--color-gray);flex-shrink:0;height:16px;transition:transform .2s;width:16px}.ihabdevteam-core-scope .dropdown--open .dropdown__chevron{transform:rotate(180deg)}.ihabdevteam-core-scope .dropdown__menu{animation:dropdown-appear .12s ease;background:var(--color-white);border:1.5px solid var(--color-whiteLine);border-radius:var(--radius-card);box-shadow:var(--shadow-dropdown);box-sizing:border-box;max-height:260px;overflow-y:auto;overscroll-behavior-y:contain;padding:6px}@keyframes dropdown-appear{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ihabdevteam-core-scope .dropdown__option{align-items:center;background:transparent;border:none;border-radius:var(--radius-sm);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;font-family:var(--font-family);gap:var(--spacing-xs);padding:9px 12px;text-align:left;transition:background .1s,color .1s;white-space:nowrap;width:100%}.ihabdevteam-core-scope .dropdown__option:hover{background:var(--color-deepWhite)}.ihabdevteam-core-scope .dropdown__option--active{background:var(--color-main-a10);color:var(--color-main)}.ihabdevteam-core-scope .dropdown__option--disabled{cursor:default;opacity:.4;pointer-events:none}.ihabdevteam-core-scope .dropdown__option-check{align-items:center;color:var(--color-main);display:flex;flex-shrink:0;height:14px;justify-content:center;width:14px}.ihabdevteam-core-scope .dropdown__option-check svg{height:14px;width:14px}";oe(B6);function fa({options:e,value:t,onChange:a,placeholder:o,disabled:n=!1,block:i=!1,size:s=48,error:c=!1,className:d="",ariaLabel:u,ariaDescribedBy:p}){const{t:h}=Ce.useTranslation(),m=o??h("dropdown.placeholder","\uC120\uD0DD"),b=l.useId(),x=l.useId(),f=l.useRef(null),C=l.useCallback((D,T)=>{const O=window.innerHeight-D.bottom<260&&D.top>260;return{position:"fixed",left:D.left,minWidth:D.width,...O?{bottom:window.innerHeight-D.top+6}:{top:D.bottom+6},zIndex:gn(T)}},[]),{open:g,setOpen:v,toggle:y,style:_,triggerRef:B,menuRef:k}=Oo({computeStyle:C}),[S,w]=l.useState(-1),A=l.useCallback(()=>w(-1),[]),E=e.find(D=>D.value===t);l.useEffect(()=>{if(g){const D=e.findIndex(T=>T.value===t);w(D>=0?D:e.length?0:-1),requestAnimationFrame(()=>{const T=k.current;if(!T)return;const O=T.querySelectorAll(".dropdown__option")[D];O&&(T.scrollTop=Math.max(0,O.offsetTop-T.clientHeight/2+O.clientHeight/2))})}},[g]),l.useEffect(()=>{g&&w(D=>{if(D>=0&&D<e.length)return D;const T=e.findIndex(O=>O.value===t);return T>=0?T:e.length?0:-1})},[g,e.length]);const L=l.useCallback(()=>{n||y()},[n,y]),z=l.useCallback(D=>{D.disabled||n||(D.value!==t&&a?.(D.value),v(!1))},[a,v,n,t]);l.useEffect(()=>{n&&v(!1)},[n,v]);const j=l.useCallback(D=>{if(!n){if(!g){(D.key==="Enter"||D.key===" "||D.key==="ArrowDown")&&(D.preventDefault(),v(!0));return}if(D.key==="Escape"){D.preventDefault(),v(!1);return}D.key==="ArrowDown"?(D.preventDefault(),w(T=>{let O=T+1;for(;O<e.length&&e[O].disabled;)O++;return O<e.length?O:T})):D.key==="ArrowUp"?(D.preventDefault(),w(T=>{let O=T-1;for(;O>=0&&e[O].disabled;)O--;return O>=0?O:T})):(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),e[S]?z(e[S]):v(!1))}},[n,g,e,S,z,v]),I=g?r.jsx("div",{ref:k,id:b,className:"dropdown__menu","data-tooltip-ignore":!0,role:"listbox",style:_,onMouseLeave:A,onMouseDown:D=>D.preventDefault(),children:e.map((D,T)=>r.jsxs("button",{id:`${b}-option-${T}`,type:"button",role:"option","aria-selected":D.value===t,className:Te("dropdown__option body-2",D.value===t?"dropdown__option--active":"",T===S?"dropdown__option--active":"",D.disabled?"dropdown__option--disabled":""),onMouseDown:O=>O.preventDefault(),onClick:()=>z(D),onMouseEnter:()=>w(T),disabled:D.disabled,children:[r.jsx("span",{className:"dropdown__option-check",children:D.value===t&&r.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:r.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),D.label]},D.value))}):null;return r.jsxs("div",{ref:f,className:Te("dropdown",`dropdown--s${s}`,g?"dropdown--open":"",i?"dropdown--block":"",c?"dropdown--error":"",d),onKeyDown:j,children:[r.jsxs("button",{ref:B,type:"button",className:"dropdown__trigger","aria-haspopup":"listbox","aria-expanded":g,"aria-controls":g?b:void 0,"aria-activedescendant":g&&S>=0?`${b}-option-${S}`:void 0,"aria-label":u,"aria-describedby":[u&&E?x:"",p??""].filter(Boolean).join(" ")||void 0,"aria-invalid":c||void 0,disabled:n,onClick:L,onBlur:D=>{g&&!k.current?.contains(D.relatedTarget)&&v(!1)},children:[r.jsx("span",{id:x,className:`dropdown__trigger-label body-2${E?"":" dropdown__trigger-label--placeholder"}`,children:E?E.label:m}),r.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:r.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&ca.createPortal(I,f.current?.closest(".ihabdevteam-core-scope")??document.body)]})}var A6=".ihabdevteam-core-scope .pagination{align-items:center;display:flex;gap:4px}.ihabdevteam-core-scope .pagination__info{color:var(--color-darkGray);font-weight:600;min-width:48px;text-align:center}";oe(A6);function _n({page:e,totalPages:t,onChange:a,prevLabel:o,nextLabel:n,className:i=""}){const{t:s}=Ce.useTranslation(),c=o??s("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),d=n??s("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),u=Math.max(1,t),p=()=>a(Math.max(1,Math.min(u,e-1))),h=()=>a(Math.min(u,e+1));return r.jsxs("div",{className:Te("pagination",i),children:[r.jsx(he,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:c,disabled:e<=1,onClick:p}),r.jsxs("span",{className:"pagination__info body-3","aria-live":"polite","aria-atomic":"true",children:[Math.min(Math.max(1,e),u)," / ",u]}),r.jsx(he,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:d,disabled:e>=t,onClick:h})]})}var S6=".ihabdevteam-core-scope .segmented-control{background:var(--color-darkWhite);display:inline-flex;flex-shrink:0;flex-wrap:wrap;gap:0;overflow:hidden;padding:0}.ihabdevteam-core-scope .segmented-control--pill{border-radius:999px}.ihabdevteam-core-scope .segmented-control--rounded{border-radius:8px}.ihabdevteam-core-scope .segmented-control--24.segmented-control--rounded{border-radius:6px}.ihabdevteam-core-scope .segmented-control .button{min-width:96px}.ihabdevteam-core-scope .segmented-control.segmented-control--min .button{min-width:var(--segmented-min-button-w)}.ihabdevteam-core-scope .segmented-control--24 .button{min-width:48px}.ihabdevteam-core-scope .segmented-control--32 .button,.ihabdevteam-core-scope .segmented-control--40 .button{min-width:80px}.ihabdevteam-core-scope .segmented-control--48 .button{min-width:96px}.ihabdevteam-core-scope .segmented-control--no-bg{background:transparent}.ihabdevteam-core-scope .segmented-control--full{display:flex;flex-wrap:nowrap;width:100%}.ihabdevteam-core-scope .segmented-control--full .button{flex:1 1 0;min-width:0}@media (max-width:767px){.ihabdevteam-core-scope .segmented-control{flex-shrink:1;min-width:0}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(4):last-child){border-radius:8px;display:grid;grid-template-columns:repeat(2,1fr);width:100%}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(4):last-child)>.button{justify-content:center;width:100%}.ihabdevteam-core-scope .segmented-control--pill:has(>.button:nth-child(5)){border-radius:8px}.ihabdevteam-core-scope .segmented-control:has(>.button:nth-child(5)){justify-content:center}}";oe(S6);function Ia(e){const{t}=Ce.useTranslation(),{options:a=[],value:o=a.find(v=>!v.disabled)?.key??a[0]?.key,onChange:n=v=>{},className:i="",size:s=40,shape:c="pill",useBG:d=!0,fullWidth:u=!1,minButtonWidth:p,ariaLabel:h}=e||{},m=l.useRef(null),b=a.filter(v=>!v.disabled),x=v=>{if(!b.length)return;const y=Math.max(0,b.findIndex(B=>B.key===o)),_=v==="first"?b[0]:v==="last"?b[b.length-1]:b[(y+v+b.length)%b.length];_&&(n(_.key),Array.from(m.current?.querySelectorAll("[data-segkey]")??[]).find(B=>B.dataset.segkey===_.key)?.focus())},f=v=>{switch(v.key){case"ArrowRight":case"ArrowDown":x(1);break;case"ArrowLeft":case"ArrowUp":x(-1);break;case"Home":x("first");break;case"End":x("last");break;default:return}v.preventDefault()},C=v=>{const y=_=>typeof _=="string"||typeof _=="number";if(!(!y(v.label)||v.count==null||v.count===!1||!y(v.count)))return`${v.label}, ${v.count}`},g=b.some(v=>v.key===o)?o:b[0]?.key;return r.jsx("div",{ref:m,onKeyDown:f,className:Te("segmented-control",`segmented-control--${c}`,`segmented-control--${s}`,u&&"segmented-control--full",!d&&"segmented-control--no-bg",p!=null&&"segmented-control--min",i),style:p!=null?{"--segmented-min-button-w":`${p}px`}:void 0,role:"radiogroup","aria-label":h??t("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:a.map(v=>r.jsx(he,{htmlType:"button",role:"radio","aria-checked":v.key===o,"data-segkey":v.key,tabIndex:v.key===g?0:-1,label:v.label,count:v.count,ariaLabel:C(v),disabled:v.disabled,className:v.key===o?"is-selected":"",onClick:()=>{v.disabled||n(v.key)},size:s,shape:c,useBorder:!1,useBG:!1},v.key))})}var E6=".ihabdevteam-core-scope .toolbar{align-items:center;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--spacing-s);min-height:64px;padding-bottom:8px;padding-top:8px;width:100%}.ihabdevteam-core-scope .toolbar__row{display:contents}.ihabdevteam-core-scope .toolbar__row-end{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-s);justify-content:flex-end;margin-left:auto}.ihabdevteam-core-scope .toolbar__row-end>*{justify-content:flex-end}.ihabdevteam-core-scope .toolbar__pager{align-items:center;display:flex;flex-shrink:0;flex-wrap:nowrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .toolbar__count{color:var(--color-gray);flex-shrink:0;margin:0;white-space:nowrap}.ihabdevteam-core-scope .toolbar .toolbar__search{flex-shrink:0;min-width:200px}@media (max-width:767px){.ihabdevteam-core-scope .toolbar{align-items:stretch;flex-direction:column;flex-wrap:wrap;padding-bottom:12px;padding-top:12px}.ihabdevteam-core-scope .toolbar__row{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .toolbar .toolbar__search{flex:1;min-width:150px}}.ihabdevteam-core-scope .toolbar__count-highlight{color:var(--color-main)}";oe(E6);function Ti({count:e,search:t,segment:a,filters:o,pageSize:n,pagination:i,actions:s,className:c}){const{t:d}=Ce.useTranslation(),u=e!=null&&r.jsxs("p",{className:"toolbar__count body-1",role:"status","aria-atomic":"true",children:[e.prefix??d("common.totalPrefix","\uCD1D "),r.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),p=!!(t||o?.length||n||i||s);return r.jsxs("div",{className:Te("toolbar",c),children:[r.jsxs("div",{className:"toolbar__row",children:[u,a&&(Array.isArray(a)?a:[a]).map((h,m)=>r.jsx(Ia,{size:40,...h},h.ariaLabel??m))]}),p&&r.jsx("div",{className:"toolbar__row",children:r.jsxs("div",{className:"toolbar__row-end",children:[t&&r.jsx(xo,{className:"toolbar__search",size:40,value:t.value,onChange:t.onChange,placeholder:t.placeholder??d("common.search","\uAC80\uC0C9"),ariaLabel:t.placeholder??d("common.search","\uAC80\uC0C9"),autoFocus:t.autoFocus,clearable:!0}),o?.map((h,m)=>r.jsx(fa,{size:40,options:h.options,value:h.value,onChange:h.onChange,ariaLabel:h.ariaLabel},m)),(n||i)&&r.jsxs("div",{className:"toolbar__pager",children:[n&&r.jsx(fa,{size:40,options:n.options,value:n.value,onChange:n.onChange,ariaLabel:n.ariaLabel??d("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),i&&r.jsx(_n,{page:i.page,totalPages:i.total,onChange:i.onChange,prevLabel:i.prevLabel,nextLabel:i.nextLabel})]}),s]})})]})}var N6=".ihabdevteam-core-scope .code-box{background:#eff8ff;background:var(--color-code-bg,#eff8ff);border:1px solid rgba(4,34,51,.06);border-radius:10px;color:#042233;color:var(--color-code-text,#042233);margin:0;overflow:hidden;padding:16px 20px}.ihabdevteam-core-scope .code-box__header{align-items:center;display:flex;gap:12px;justify-content:space-between;min-height:40px}.ihabdevteam-core-scope .code-box__title{align-items:center;color:rgba(4,34,51,.75);display:flex;letter-spacing:.02em}.ihabdevteam-core-scope .code-box__copy{flex-shrink:0}.ihabdevteam-core-scope .code-box__inner{background:transparent;color:#042233;color:var(--color-code-text,#042233);font-family:var(--font-mono);font-size:13px;line-height:1.6;margin:0;overflow-wrap:anywhere;overflow-x:auto;padding:8px 0 0;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-box__inner code{display:block;font-family:inherit;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-box--small .code-box__inner{font-size:12px}.ihabdevteam-core-scope .code-token{overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.ihabdevteam-core-scope .code-token.keyword{color:#6b46ff;font-weight:600}.ihabdevteam-core-scope .code-token.string{color:#0a9d58}.ihabdevteam-core-scope .code-token.comment{color:#6b7280;font-style:italic}.ihabdevteam-core-scope .code-token.command{color:#0b78d1}.ihabdevteam-core-scope .code-token.number{color:#d97706}.ihabdevteam-core-scope .code-token.operator{color:#dc2626}.ihabdevteam-core-scope .code-token.identifier,.ihabdevteam-core-scope .code-token.punctuation{color:#042233;color:var(--color-code-text,#042233)}";oe(N6);function Qg(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(Qg).join(""):""}function D6(e){let t=e.replace(/\r\n/g,`
854
854
  `).replace(/\r/g,`
855
855
  `);t=t.replace(/^\n+/,"").replace(/\n+$/,"");const a=t.split(`
856
856
  `).map(i=>i.replace(/\t/g," ")),o=a.filter(i=>i.trim().length>0),n=o.length>0?Math.min(...o.map(i=>i.match(/^ */)?.[0].length??0)):0;return a.map(i=>i.slice(n)).join(`
857
857
  `)}const T6=new Set(["pnpm","npm","yarn","node","git","curl","docker","cat","ls","cd","rm","mv","cp","echo","export"]),j6=/^(?:const|let|var|function|return|if|else|for|while|switch|case|break|import|from|export|class|new|try|catch|finally|throw|await|async|null|true|false|this|typeof|instanceof)\b/;function L6(e,t){let a=e;const o=[],n=/^(?:sh|bash|zsh|shell|console)$/.test(t.toLowerCase()),i=(s,c)=>o.push({type:s,content:c});for(;a.length>0;){const s=a.match(/^\s+/);if(s){i("whitespace",s[0]),a=a.slice(s[0].length);continue}if(!n&&a.startsWith("//")){const x=a.indexOf(`
858
858
  `),f=x===-1?a:a.slice(0,x);i("comment",f),a=a.slice(f.length);continue}if(n&&a.startsWith("#")){const x=a.indexOf(`
859
- `),f=x===-1?a:a.slice(0,x);i("comment",f),a=a.slice(f.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){i("comment",c[0]),a=a.slice(c[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){i("string",d[0]),a=a.slice(d[0].length);continue}const u=a.match(/^\d+(?:\.\d+)?/);if(u){i("number",u[0]),a=a.slice(u[0].length);continue}const p=a.match(j6);if(p){i("keyword",p[0]),a=a.slice(p[0].length);continue}const h=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(h){const x=h[0];i(n&&T6.has(x)?"command":"identifier",x),a=a.slice(x.length);continue}const m=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(m){i("operator",m[0]),a=a.slice(m[0].length);continue}const b=a.match(/^[()[\]{};.,]/);if(b){i("punctuation",b[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return o}function ef({children:e,language:t="bash",title:a="",showCopy:o=!0,size:n="default",className:i=""}){const{t:s}=Ce.useTranslation(),[c,d]=l.useState(!1),u=D6(Qg(e)),p=l.useRef(null);l.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const h=async()=>{try{if(!await zl(u))return;d(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>d(!1),2e3)}catch{}},m=L6(u,t),b=n==="small"?"caption-1":"body-3";return r.jsxs("div",{className:Te("code-box",n==="small"?"code-box--small":"",i),children:[(a||o)&&r.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":s("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[r.jsx("div",{className:"code-box__title caption-1",children:a}),o&&r.jsx(he,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:h,ariaLabel:c?s("common.copied","\uBCF5\uC0AC\uB428"):s("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),r.jsx("pre",{className:"code-box__inner","data-lang":t,children:r.jsx("code",{children:m.map((x,f)=>r.jsx("span",{className:`code-token ${x.type} ${b}`,children:x.content},f))})})]})}var M6=".ihabdevteam-core-scope .loader-spinner{align-items:center;display:inline-flex;justify-content:center}.ihabdevteam-core-scope .loader-spinner__svg{animation:loader-rotate 1s linear infinite;transform-origin:center}.ihabdevteam-core-scope .loader-spinner__bg{stroke:rgba(0,0,0,.08)}.ihabdevteam-core-scope .loader-spinner__fg{stroke:var(--color-main);stroke-dasharray:125;stroke-dashoffset:80;animation:loader-dash 1.2s ease-in-out infinite}@keyframes loader-rotate{to{transform:rotate(1turn)}}@keyframes loader-dash{0%{stroke-dashoffset:125}50%{stroke-dashoffset:35}to{stroke-dashoffset:125}}.ihabdevteam-core-scope .loader-bar{background:rgba(0,0,0,.06);border-radius:999px;height:8px;overflow:hidden;width:100%}.ihabdevteam-core-scope .loader-bar__inner{background:var(--color-main);height:100%;transition:width .22s cubic-bezier(.2,.8,.2,1);width:0}.ihabdevteam-core-scope .loader-bar--indeterminate .loader-bar__inner{animation:loader-bar-indeterminate 1.4s ease-in-out infinite;width:40%}@keyframes loader-bar-indeterminate{0%{transform:translateX(-150%)}to{transform:translateX(400%)}}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .loader-spinner__svg{animation-duration:2.4s!important;animation-iteration-count:infinite!important}.ihabdevteam-core-scope .loader-spinner__fg{animation:none!important}.ihabdevteam-core-scope .loader-bar--indeterminate .loader-bar__inner{animation:none!important;transform:none;width:100%}}@keyframes core-loader-rotate{to{transform:rotate(1turn)}}@keyframes core-loader-dash{0%{stroke-dashoffset:125}50%{stroke-dashoffset:35}to{stroke-dashoffset:125}}.ihabdevteam-core-scope .page-loading-center{display:flex;justify-content:center;padding:40px 0}";oe(M6);const $6={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function xr(e){const{t}=Ce.useTranslation(),{variant:a="spinner",size:o=24,progress:n=null,label:i}=e||{},s=i||t("loader.loading","Loading");if(a==="bar"){const d=n==null||!Number.isFinite(Number(n)),u=d?0:Math.max(0,Math.min(100,Number(n)));return r.jsx("div",{className:`loader-bar${d?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d?void 0:u,"aria-label":s,children:r.jsx("div",{className:"loader-bar__inner",style:d?void 0:{width:`${u}%`}})})}const c=typeof o=="number"?`${o}px`:o;return r.jsxs("div",{className:"loader-spinner",style:{width:c,height:c},role:"status","aria-label":s,children:[r.jsx("span",{style:$6,children:s}),r.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:o,height:o,children:[r.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),r.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}var R6='.ihabdevteam-core-scope .toggle{align-items:center;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .toggle input{height:0;opacity:0;position:absolute;width:0}.ihabdevteam-core-scope .toggle__slider{background:#e2e8f0;background:var(--color-whiteLine,#e2e8f0);border-radius:26px;display:inline-block;flex-shrink:0;height:26px;position:relative;transition:background .2s;width:44px}.ihabdevteam-core-scope .toggle__slider:before{background:var(--color-pureWhite);border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.15);content:"";height:20px;left:3px;position:absolute;top:3px;transition:transform .2s;width:20px}.ihabdevteam-core-scope .toggle input:checked+.toggle__slider{background:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .toggle input:checked+.toggle__slider:before{transform:translateX(18px)}.ihabdevteam-core-scope .toggle input:focus-visible+.toggle__slider{outline:2px solid var(--color-main,var(--color-main));outline-offset:2px}.ihabdevteam-core-scope .toggle__label{color:var(--color-darkGray)}.ihabdevteam-core-scope .toggle--disabled{cursor:not-allowed;opacity:.45}';oe(R6);function Hd({checked:e,onChange:t,disabled:a=!1,label:o,ariaLabel:n,labelPosition:i="right",className:s="",id:c}){const d=o&&r.jsx("span",{className:"toggle__label body-3",children:o});return r.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${s}`.trim(),children:[i==="left"&&d,r.jsx("input",{id:c,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:u=>t?.(u.target.checked),"aria-label":!o&&n?n:void 0}),r.jsx("span",{className:"toggle__slider"}),i==="right"&&d]})}var P6=`.ihabdevteam-core-scope .checkbox{align-items:center;cursor:pointer;display:inline-flex;gap:8px;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .checkbox--disabled{cursor:not-allowed;opacity:.4}.ihabdevteam-core-scope .checkbox__input{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ihabdevteam-core-scope .checkbox__box{background:var(--color-white,var(--color-pureWhite));border:1.5px solid var(--color-whiteLine);border-radius:8px;border-radius:var(--radius-sm,8px);flex-shrink:0;height:24px;position:relative;transition:border-color .15s,background .15s;width:24px}.ihabdevteam-core-scope .checkbox__input:checked+.checkbox__box{background:var(--color-main,var(--color-main));border-color:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .checkbox__input:checked+.checkbox__box:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m4 9 3.5 3.5L14 6'/%3E%3C/svg%3E") 50%/cover no-repeat;content:"";inset:0;position:absolute}.ihabdevteam-core-scope .checkbox__input:indeterminate+.checkbox__box{background:var(--color-main,var(--color-main));border-color:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .checkbox__input:indeterminate+.checkbox__box:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='2' d='M4.5 9h9'/%3E%3C/svg%3E") 50%/cover no-repeat;content:"";inset:0;position:absolute}.ihabdevteam-core-scope .checkbox:not(.checkbox--disabled):hover .checkbox__box{border-color:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .checkbox__input:focus-visible+.checkbox__box{outline:2px solid var(--color-main,var(--color-main));outline-offset:2px}.ihabdevteam-core-scope .checkbox--large .checkbox__box{border-radius:10px;border-radius:var(--radius-s,10px);height:30px;width:30px}.ihabdevteam-core-scope .checkbox--small .checkbox__box{border-radius:4px;border-radius:var(--radius-xs,4px);height:16px;width:16px}.ihabdevteam-core-scope .checkbox__label{color:var(--color-darkGray)}.ihabdevteam-core-scope .checkbox--small .checkbox__label{font-size:13px}`;oe(P6);function Vd({checked:e=!1,onChange:t,disabled:a,indeterminate:o,label:n,size:i="medium",className:s,title:c,ariaLabel:d}){const u=l.useRef(null),p=l.useId(),h=l.useRef(!!o);return h.current=!!o,l.useEffect(()=>{u.current&&(u.current.indeterminate=!!o)}),r.jsxs("label",{className:Te("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",s),htmlFor:p,title:c,children:[r.jsx("input",{ref:u,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:m=>{t?.(m.target.checked),u.current&&(u.current.indeterminate=h.current)},disabled:a,"aria-label":!n&&d?d:void 0}),r.jsx("span",{className:"checkbox__box"}),n&&r.jsx("span",{className:"checkbox__label body-3",children:n})]})}var z6=".ihabdevteam-core-scope .bulk-bar{align-items:center;background:var(--color-pureWhite,var(--color-pureWhite));border:1px solid var(--color-main);border-radius:12px;border-radius:var(--radius-m,12px);bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.12);box-sizing:border-box;color:#1a1a1a;color:var(--color-gray900,#1a1a1a);display:flex;gap:12px;justify-content:space-between;margin-top:16px;min-height:60px;opacity:0;padding:10px 16px;pointer-events:none;position:sticky;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease;z-index:600;z-index:var(--z-bulk-bar,600)}.ihabdevteam-core-scope .bulk-bar--visible{opacity:1;pointer-events:auto;transform:translateY(0)}.ihabdevteam-core-scope .bulk-bar__count{color:#1a1a1a;color:var(--color-gray900,#1a1a1a);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .bulk-bar__count b{color:var(--color-main)}.ihabdevteam-core-scope .bulk-bar__actions{display:flex;flex-shrink:0;gap:8px}.ihabdevteam-core-scope .bulk-bar__chips{align-items:center;display:flex;flex-wrap:wrap;gap:8px;gap:var(--spacing-xs,8px);min-width:0}.ihabdevteam-core-scope .bulk-bar__chips .button{white-space:nowrap}@media (max-width:767px){.ihabdevteam-core-scope .bulk-bar{flex-wrap:wrap}.ihabdevteam-core-scope .bulk-bar__actions{flex-wrap:wrap;justify-content:flex-end;width:100%}}.ihabdevteam-core-scope .bulk-bar__actions--stacked{align-items:stretch;flex-direction:column}";oe(z6);function tf({count:e,actions:t,onClear:a,clearLabel:o,visible:n,content:i,max:s}){const{t:c}=Ce.useTranslation(),d=n!==void 0?n:e>0,u=o??c("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=l.useRef(null),h=l.useRef(null),m=l.useRef(null),b=l.useRef(d);l.useLayoutEffect(()=>{const v=h.current,y=b.current;if(b.current=d,d&&!y){const _=typeof document<"u"?document.activeElement:null;m.current=_&&_!==document.body&&!v?.contains(_)?_:null}else!d&&y&&v&&v.contains(document.activeElement)&&ci(v,m.current)},[d]);const[x,f]=l.useState(!1),C=l.useRef(!1),g=l.useRef(null);return l.useEffect(()=>{const v=p.current;if(!v)return;const y=A=>{C.current=A,f(A)},_=()=>{const A=v.firstElementChild??v,E=Array.from(A.children);if(E.length<2){y(!1);return}const L=E[0].offsetTop,z=E.some(O=>O.offsetTop!==L);if(!C.current){g.current=v.clientWidth,z&&y(!0);return}if(z)return;const j=E[0],I=E[E.length-1],D=I.offsetLeft+I.offsetWidth-j.offsetLeft,T=g.current;(T==null||D<=T)&&y(!1)};if(_(),typeof ResizeObserver>"u")return;const B=new ResizeObserver(_);B.observe(v);const k=v.parentElement;let S=k?.clientWidth??0;const w=new ResizeObserver(()=>{const A=k?.clientWidth??0;A!==S&&(S=A,g.current=null,_())});return k&&w.observe(k),()=>{B.disconnect(),w.disconnect()}},[i,e]),r.jsxs("div",{ref:h,className:`bulk-bar ${d?"bulk-bar--visible":""}`,inert:!d||void 0,"aria-hidden":d?void 0:!0,children:[r.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??r.jsx("b",{children:c("common.selectedCount",{count:e})})}),s!==void 0&&r.jsx(_t,{size:"small",fill:"soft",variant:"main",label:`${e} / ${s}`}),r.jsxs("div",{className:`bulk-bar__actions${x?" bulk-bar__actions--stacked":""}`,children:[r.jsx(he,{htmlType:"button",size:40,label:u,onClick:a}),t.map((v,y)=>r.jsx(he,{htmlType:"button",size:40,variant:v.variant??"default",icon:v.icon,label:v.label,onClick:v.onClick},y))]})]})}var I6=".ihabdevteam-core-scope .item-actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs)}";oe(I6);const O6=[{\uC5F4\uC1E0:"edit",icon:"edit-2",\uB2EB\uACE0\uD560\uAE4C:!0},{\uC5F4\uC1E0:"duplicate",icon:"copy",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"publish",icon:"book-marked",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"copyLink",icon:"link",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"remove",icon:"trash-2",\uB2EB\uACE0\uD560\uAE4C:!0}];function af(e){const{onClose:t,className:a}=e;return r.jsx("div",{className:Te("item-actions",a),children:O6.map(({\uC5F4\uC1E0:o,icon:n,\uB2EB\uACE0\uD560\uAE4C:i})=>{const s=e[o];if(!s)return null;const c=o==="publish"?s.published?s.unpublish:s.publish:s;return r.jsx(he,{htmlType:"button",size:40,type:"dot",icon:n,ariaLabel:c.label,showTooltipInfo:c.label,onClick:()=>{i&&t(),c.onClick()}},o)})})}function Wd(e,t){const a=()=>{if(e){const[f,C]=e.split("-");return{y:+f,m:+C-1}}const[b,x]=Il(t).split("-");return{y:+b,m:+x-1}},[o,n]=l.useState(()=>a().y),[i,s]=l.useState(()=>a().m),c=l.useRef(e);l.useEffect(()=>{if(e===c.current)return;c.current=e;const b=a();n(b.y),s(b.m)},[e]);const d=l.useRef({y:o,m:i});l.useEffect(()=>{d.current={y:o,m:i}},[o,i]);const u=l.useCallback(b=>{const x=d.current.y*12+d.current.m+b,f=Math.floor(x/12),C=x-f*12;d.current={y:f,m:C},n(f),s(C)},[]),p=l.useCallback(()=>u(-1),[u]),h=l.useCallback(()=>u(1),[u]),m=l.useCallback((b,x)=>{d.current={y:b,m:x},n(b),s(x)},[]);return{viewY:o,viewM:i,prevMonth:p,nextMonth:h,setViewYM:m}}var F6=".ihabdevteam-core-scope .date-picker{position:relative;width:100%}.ihabdevteam-core-scope .date-picker__trigger{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;justify-content:space-between;padding:0 12px;text-align:left;transition:border-color .12s,background .12s,box-shadow .12s;width:100%}.ihabdevteam-core-scope .date-picker--s40 .date-picker__trigger{border-radius:10px;height:40px}.ihabdevteam-core-scope .date-picker--s48 .date-picker__trigger{border-radius:12px;height:48px}.ihabdevteam-core-scope .date-picker--s64 .date-picker__trigger{border-radius:14px;height:64px}.ihabdevteam-core-scope .date-picker--open .date-picker__trigger,.ihabdevteam-core-scope .date-picker__trigger:focus{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10);outline:none}.ihabdevteam-core-scope .date-picker__trigger:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .date-picker__trigger:disabled{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .date-picker__placeholder{color:var(--color-lightGray);white-space:nowrap}.ihabdevteam-core-scope .date-picker__value{color:var(--color-darkGray);white-space:nowrap}.ihabdevteam-core-scope .date-picker__icon{color:var(--color-lightGray);flex-shrink:0;transition:color .12s}.ihabdevteam-core-scope .date-picker--open .date-picker__icon{color:var(--color-main)}.ihabdevteam-core-scope .date-picker__dropdown{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.1);box-sizing:border-box;min-width:260px;padding:12px;z-index:200}.ihabdevteam-core-scope .date-picker__nav{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.ihabdevteam-core-scope .date-picker__nav-dropdown{flex:1;margin:0 4px}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger{background:transparent!important;border:none!important;border-radius:6px!important;box-shadow:none!important;gap:4px!important;height:32px!important;justify-content:center!important;transition:background .12s,color .12s!important}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger:hover,.ihabdevteam-core-scope .date-picker__nav-dropdown.dropdown--open .dropdown__trigger{background:var(--color-deepWhite)!important}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger-label{color:var(--color-darkGray)!important;flex:initial!important;font-weight:600!important}.ihabdevteam-core-scope .date-picker__nav-btn{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:8px;color:var(--color-darkGray);cursor:pointer;display:flex;height:28px;justify-content:center;transition:border-color .12s,color .12s;width:28px}.ihabdevteam-core-scope .date-picker__nav-btn:hover{border-color:var(--color-main);color:var(--color-main)}.ihabdevteam-core-scope .date-picker__grid{grid-gap:2px;display:grid;gap:2px;grid-template-columns:repeat(7,1fr)}.ihabdevteam-core-scope .date-picker__dow{color:var(--color-lightGray);font-weight:600;padding:4px 0 6px;text-align:center}.ihabdevteam-core-scope .date-picker__dow:first-child{color:var(--color-error)}.ihabdevteam-core-scope .date-picker__dow:last-child{color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day{align-items:center;aspect-ratio:1;background:transparent;border:none;border-radius:6px;color:var(--color-darkGray);cursor:pointer;display:flex;justify-content:center;transition:background .1s,color .1s;width:100%}.ihabdevteam-core-scope .date-picker__day:hover:not(:disabled){background:var(--color-main-a10);color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day--sun:hover:not(:disabled){color:var(--color-error)}.ihabdevteam-core-scope .date-picker__day--sat:hover:not(:disabled){color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day--sun{color:var(--color-error)}.ihabdevteam-core-scope .date-picker__day--sat{color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day--today{font-weight:700;outline:1.5px solid var(--color-main);outline-offset:-1.5px}.ihabdevteam-core-scope .date-picker__day:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .date-picker__day--selected{background:var(--color-main)!important;color:#fff!important;font-weight:700}.ihabdevteam-core-scope .date-picker__day--disabled{cursor:not-allowed;opacity:.3}";oe(F6);function ji(e,t){return new Date(e,t+1,0).getDate()}function H6(e,t){return new Date(e,t,1).getDay()}function Li(e,t,a){return`${e}-${String(t+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function V6(e){if(!e)return"";const[t,a,o]=e.split("-");return`${t}. ${a}. ${o}.`}function W6(e,t,a,o){const n=a?+a.split("-")[0]:e-10,i=o?+o.split("-")[0]:e+10,s=[];for(let c=n;c<=i;c++)for(let d=0;d<12;d++){const u=`${c}-${String(d+1).padStart(2,"0")}`;a&&u<a.slice(0,7)||o&&u>o.slice(0,7)||s.push({value:u,label:t(c,d+1)})}return s}function of({value:e,onChange:t,size:a=48,min:o,max:n,disabled:i,placeholder:s,className:c,today:d}){const{t:u}=Ce.useTranslation(),p=s??u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),h=l.useMemo(()=>u("calendar.dow",{returnObjects:!0}),[u]),m=Il(d),{viewY:b,viewM:x,prevMonth:f,nextMonth:C,setViewYM:g}=Wd(e,d),v=l.useId(),y=l.useCallback((N,F)=>{const R=window.innerHeight,W=window.innerWidth,P=typeof document<"u"?document.getElementById(v):null,Q=Math.max(P?.offsetHeight||0,P?.scrollHeight||0)||300,ee=Math.max(N.width,P?.offsetWidth||0,260),Y=R-N.bottom,ne=N.top,ie=Y<Q&&ne>Y,se=8,ce=(U,le)=>Math.min(Math.max(se,U),Math.max(se,le));return{position:"fixed",left:ce(N.left,W-ee-se),width:N.width,minWidth:260,...ie?{top:"auto",bottom:ce(R-N.top+6,R-Q-se)}:{bottom:"auto",top:ce(N.bottom+6,R-Q-se)},zIndex:gn(F)}},[v]),{open:_,setOpen:B,toggle:k,style:S,triggerRef:w,menuRef:A}=Oo({computeStyle:y,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});l.useEffect(()=>{if(!_)return;const N=A.current;return(N?.querySelector(".date-picker__day--selected:not(:disabled)")??N?.querySelector(".date-picker__day--today:not(:disabled)")??N?.querySelector(".date-picker__day:not(:disabled)")??N?.querySelector(Xa)??N)?.focus?.(),()=>{const F=document.activeElement;(!F||F===document.body)&&w.current?.focus?.()}},[_,A,w]);const[E,L]=l.useState(1),z=l.useRef(null),j=l.useRef(null);l.useEffect(()=>{if(!_)return;const N=e&&e.slice(0,7)===`${b}-${String(x+1).padStart(2,"0")}`?+e.slice(8):m.slice(0,7)===`${b}-${String(x+1).padStart(2,"0")}`?+m.slice(8):1;L(N)},[_]),l.useEffect(()=>{if(j.current==null)return;const N=j.current;j.current=null,z.current?.querySelector(`[data-day="${N}"]`)?.focus()}),l.useEffect(()=>{L(N=>Math.min(N,ji(b,x)))},[b,x]);const I=l.useCallback(N=>{let F=Li(N.getFullYear(),N.getMonth(),N.getDate());o&&F<o&&(F=o),n&&F>n&&(F=n);const[R,W,P]=F.split("-").map(Number);(R!==b||W-1!==x)&&g(R,W-1),L(P),j.current=P},[o,n,b,x,g]),D=l.useCallback(N=>{const F=new Date(b,x,E),R=P=>{F.setDate(F.getDate()+P),I(F)},W=P=>{const Q=F.getFullYear()*12+F.getMonth()+P,ee=Math.floor(Q/12),Y=Q-ee*12;I(new Date(ee,Y,Math.min(F.getDate(),ji(ee,Y))))};switch(N.key){case"ArrowLeft":R(-1);break;case"ArrowRight":R(1);break;case"ArrowUp":R(-7);break;case"ArrowDown":R(7);break;case"Home":R(-F.getDay());break;case"End":R(6-F.getDay());break;case"PageUp":N.shiftKey?W(-12):W(-1);break;case"PageDown":N.shiftKey?W(12):W(1);break;default:return}N.preventDefault()},[b,x,E,I]),T=l.useCallback(N=>{i||(t(Li(b,x,N)),B(!1))},[b,x,t,B,i]);l.useEffect(()=>{i&&B(!1)},[i,B]);const O=N=>{const F=Li(b,x,N);return!!(o&&F<o||n&&F>n)},G=(()=>{const N=ji(b,x);if(E>=1&&E<=N&&!O(E))return E;for(let F=1;F<=N;F++)if(!O(F))return F;return-1})(),Z=[];for(let N=0;N<H6(b,x);N++)Z.push(null);for(let N=1;N<=ji(b,x);N++)Z.push(N);const H=a===64?20:a===40?16:18,V=W6(b,(N,F)=>u("calendar.yearMonth",{year:N,month:F,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),o,n),q=`${b}-${String(x+1).padStart(2,"0")}`,$=_?ca.createPortal(r.jsxs("div",{ref:A,id:v,className:"date-picker__dropdown",style:S,"data-tooltip-ignore":!0,role:"dialog","aria-label":u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[r.jsxs("div",{className:"date-picker__nav",children:[r.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:f,"aria-label":u("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:r.jsx(ip,{size:16,strokeWidth:2})}),r.jsx(fa,{className:"date-picker__nav-dropdown",ariaLabel:u("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:V,value:q,onChange:N=>{const[F,R]=N.split("-");g(+F,+R-1)},block:!0,size:40}),r.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:C,"aria-label":u("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:r.jsx(sp,{size:16,strokeWidth:2})})]}),r.jsxs("div",{className:"date-picker__grid",ref:z,onKeyDown:D,children:[h.map(N=>r.jsx("div",{className:"date-picker__dow caption-1",children:N},N)),Z.map((N,F)=>{if(N===null)return r.jsx("div",{},`e${F}`);const R=Li(b,x,N),W=R===e,P=R===m,Q=O(N),ee=F%7;return r.jsx("button",{type:"button",disabled:Q,"data-day":N,tabIndex:N===G?0:-1,"aria-current":P?"date":void 0,onClick:()=>!Q&&T(N),className:Te("date-picker__day caption-1",W&&"date-picker__day--selected",P&&!W&&"date-picker__day--today",Q&&"date-picker__day--disabled",ee===0&&"date-picker__day--sun",ee===6&&"date-picker__day--sat"),children:N},N)})]})]}),document.body):null;return r.jsxs("div",{className:Te("date-picker",`date-picker--s${a}`,_&&"date-picker--open",c),children:[r.jsxs("button",{ref:w,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&k(),disabled:i,"aria-haspopup":"true","aria-expanded":_,children:[r.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?V6(e):p}),r.jsx(gp,{size:H,className:"date-picker__icon",strokeWidth:1.5})]}),$]})}var G6=".ihabdevteam-core-scope .month-dropdown .dropdown__trigger{max-width:200px;min-width:200px;width:200px}.ihabdevteam-core-scope .month-dropdown .dropdown__menu{max-height:280px;overflow-y:auto;scrollbar-color:var(--color-darkWhite) transparent;scrollbar-width:thin}.ihabdevteam-core-scope .month-dropdown .dropdown__menu::-webkit-scrollbar{width:4px}.ihabdevteam-core-scope .month-dropdown .dropdown__menu::-webkit-scrollbar-thumb{background:var(--color-darkWhite);border-radius:var(--radius-xs)}.ihabdevteam-core-scope .manager-bar-chart-wrap{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .manager-bar-chart-gridline{background:var(--color-darkWhite);height:1px;left:0;pointer-events:none;position:absolute;right:0;z-index:-1}.ihabdevteam-core-scope .manager-bar-chart-gridline__label{color:var(--color-deepGray);font-size:11px;left:0;position:absolute;top:100%;white-space:nowrap}.ihabdevteam-core-scope .manager-bar-chart-inner{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .manager-bar-chart-scroll{-webkit-overflow-scrolling:touch;flex:1;overflow-x:auto;overflow-y:visible;scrollbar-width:none}.ihabdevteam-core-scope .manager-bar-chart-scroll::-webkit-scrollbar{display:none}.ihabdevteam-core-scope .manager-bar-chart-area{display:flex;flex-direction:column;min-width:-moz-max-content;min-width:max-content}.ihabdevteam-core-scope .manager-bar-chart-area svg{display:block}.ihabdevteam-core-scope .manager-bar-chart-x-axis{color:var(--color-deepGray);display:flex;font-size:11px;padding-top:6px}.ihabdevteam-core-scope .manager-bar-chart-x-axis__label{align-items:center;display:flex;flex:1;flex-direction:column;gap:1px;justify-content:flex-start;min-width:0;text-align:center;word-break:keep-all}.ihabdevteam-core-scope .manager-bar-chart-x-axis__label--future .caption-1{color:var(--color-whiteLine)}.ihabdevteam-core-scope .manager-bar-chart-x-axis__main{position:relative}.ihabdevteam-core-scope .manager-bar-chart-x-axis__today-dot{border-radius:50%;height:8px;position:absolute;right:calc(100% + 3px);top:50%;transform:translateY(-50%);width:8px}.ihabdevteam-core-scope .manager-bar-chart-plot{align-items:flex-end;display:flex;gap:0;isolation:isolate;position:relative}.ihabdevteam-core-scope .manager-bar-chart-col{align-items:flex-end;display:flex;flex:1;gap:2px;height:100%;justify-content:center}.ihabdevteam-core-scope .manager-bar-chart-bar,.ihabdevteam-core-scope .manager-bar-chart-stack{flex:0 1 var(--bar-width);max-width:var(--bar-width)}.ihabdevteam-core-scope .manager-bar-chart-stack{display:flex;flex-direction:column-reverse;min-width:0}.ihabdevteam-core-scope .manager-bar-chart-bar{border-radius:6px 6px 0 0;min-width:0}.ihabdevteam-core-scope .manager-bar-chart-stack-segment{width:100%}.ihabdevteam-core-scope .manager-bar-chart-detail-btn{margin-left:auto}.ihabdevteam-core-scope .manager-bar-chart-slot{display:flex;flex:0 1 var(--bar-width);flex-direction:column;height:100%;min-width:0}.ihabdevteam-core-scope .manager-bar-chart-slot__half{display:flex;height:50%;justify-content:center}.ihabdevteam-core-scope .manager-bar-chart-slot__half--up{align-items:flex-end}.ihabdevteam-core-scope .manager-bar-chart-slot__half--down{align-items:flex-start}.ihabdevteam-core-scope .manager-bar-chart-bar--full{flex:1 1 auto;width:100%}.ihabdevteam-core-scope .manager-bar-chart-bar--down{border-radius:0 0 6px 6px}.ihabdevteam-core-scope .manager-bar-chart-gridline--baseline{opacity:1}.ihabdevteam-core-scope .manager-bar-chart-col--group{gap:1px;gap:var(--bar-group-gap,1px);padding:0 4px}";oe(G6);var U6=".ihabdevteam-core-scope .manager-section{--card-pad:19px;background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:none;margin-bottom:14px;min-width:320px;padding:19px;padding:var(--card-pad);position:relative}.ihabdevteam-core-scope .manager-section--clickable{cursor:pointer;transition:box-shadow .12s ease,border-color .12s ease}.ihabdevteam-core-scope .manager-section--clickable:hover{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .manager-section__head{align-items:flex-start;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:space-between;margin-bottom:var(--spacing-xs)}.ihabdevteam-core-scope .manager-section__disc,.ihabdevteam-core-scope .manager-section__title-row{padding-right:0;padding-right:calc(var(--section-head-float-w, -12px) + 12px)}.ihabdevteam-core-scope .manager-section__title{min-width:0}.ihabdevteam-core-scope .manager-section__title-row{align-items:center;display:flex;flex:1 1 auto;gap:var(--spacing-s);min-width:0}.ihabdevteam-core-scope .manager-section__icon{align-items:center;color:var(--t-item-fg,var(--color-main));display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .manager-section__disc{color:var(--color-gray);flex:0 0 100%;margin:0;min-width:0}.ihabdevteam-core-scope .manager-section__head-right{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:flex-end;margin-left:auto}.ihabdevteam-core-scope .chart-section-icon{display:inline-flex;opacity:.35}.ihabdevteam-core-scope .chart-section-icon-inner{color:var(--color-darkGray);height:22px;width:22px}@media (max-width:767px){.ihabdevteam-core-scope .manager-section__head{align-items:flex-start;flex-direction:column;flex-wrap:nowrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .manager-section-controls{flex-wrap:wrap}.ihabdevteam-core-scope .manager-section-controls .segmented-control{flex-wrap:nowrap}.ihabdevteam-core-scope .manager-section{--card-pad:17px;min-width:0;padding:17px;padding:var(--card-pad)}}.ihabdevteam-core-scope .manager-section-controls{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .manager-bar-chart-plot--loading,.ihabdevteam-core-scope .ring-chart--loading{align-items:center;display:flex;justify-content:center}.ihabdevteam-core-scope .manager-bar-chart-area--loading .manager-bar-chart-x-axis{justify-content:center}.ihabdevteam-core-scope .barchart-sub-row{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:var(--spacing-l)}.ihabdevteam-core-scope .barchart-sub-row--center{align-items:center}.ihabdevteam-core-scope .barchart-sub-row--end{align-items:flex-end}.ihabdevteam-core-scope .barchart-total{align-items:baseline;display:flex;gap:4px}.ihabdevteam-core-scope .barchart-total--stacked{align-items:flex-start;flex-direction:column;gap:2px}.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__label,.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__num,.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__unit,.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__value{line-height:1.1;margin:0}.ihabdevteam-core-scope .barchart-total__label{color:var(--color-gray)}.ihabdevteam-core-scope .barchart-total__value{align-items:baseline;display:flex;gap:4px}.ihabdevteam-core-scope .barchart-total__num{color:var(--color-black)}.ihabdevteam-core-scope .barchart-total__unit{color:var(--color-gray)}.ihabdevteam-core-scope .manager-bar-chart-legend{align-items:flex-end;color:var(--color-gray);display:flex;flex-direction:column;font-size:12px;gap:6px;padding-right:var(--spacing-xs)}.ihabdevteam-core-scope .manager-bar-chart-legend-item{align-items:center;display:inline-flex}.ihabdevteam-core-scope .manager-bar-chart-legend-dot{border-radius:50%;display:inline-block;height:8px;margin-right:4px;width:8px}.ihabdevteam-core-scope .manager-section--compact{--card-pad:19px;min-width:160px;padding:19px;padding:var(--card-pad)}.ihabdevteam-core-scope .manager-section--compact .manager-section__head{margin-bottom:4px;min-height:28px}.ihabdevteam-core-scope .chart-section-title--small{color:var(--color-deepGray)}.ihabdevteam-core-scope .manager-section--compact .barchart-total__num{font-size:32px;line-height:1}.ihabdevteam-core-scope .manager-section--compact .barchart-total{flex-shrink:0}.ihabdevteam-core-scope .manager-section--compact .barchart-sub-row{margin-bottom:var(--spacing-s)}.ihabdevteam-core-scope .manager-section--compact .manager-bar-chart-legend{align-items:stretch;flex:1 1 auto;min-width:0}.ihabdevteam-core-scope .manager-section--compact .manager-bar-chart-legend-item{display:flex;justify-content:flex-end;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ihabdevteam-core-scope .manager-section--full{flex:1 1 100%;width:100%}@media (max-width:767px){.ihabdevteam-core-scope .manager-section--compact{min-width:0}}.ihabdevteam-core-scope .manager-section--grid{display:flex;flex-direction:column;margin-bottom:0;min-width:0}.ihabdevteam-core-scope .manager-section--grid>.manager-bar-chart-loading,.ihabdevteam-core-scope .manager-section--grid>.manager-bar-chart-wrap,.ihabdevteam-core-scope .manager-section--grid>.ring-chart-section-body{margin-top:auto}";oe(U6);var q6=".ihabdevteam-core-scope .section-head-float{align-items:center;display:flex;gap:var(--spacing-m);justify-content:flex-end;max-width:50%;position:absolute;right:19px;right:var(--card-pad,19px);top:19px;top:var(--card-pad,19px);z-index:1}@media (max-width:600px){.ihabdevteam-core-scope .section-head-float{flex-wrap:wrap;margin-top:var(--spacing-m);max-width:none;position:static}}";oe(q6);function Gd({children:e,className:t}){const a=l.useRef(null),[o,n]=l.useState(null);return l.useEffect(()=>{n(a.current?.parentElement??null)},[]),l.useEffect(()=>{const i=a.current;if(!i||!o)return;const s=()=>{const d=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;d>0?o.style.setProperty("--section-head-float-w",`${d}px`):o.style.removeProperty("--section-head-float-w")};if(s(),typeof ResizeObserver>"u")return()=>{o.style.removeProperty("--section-head-float-w")};const c=new ResizeObserver(()=>s());return c.observe(i),c.observe(o),()=>{c.disconnect(),o.style.removeProperty("--section-head-float-w")}},[o,e]),r.jsx("div",{ref:a,className:Te("section-head-float",t),children:e})}function Mi({items:e,className:t}){return r.jsx("div",{className:t?`manager-bar-chart-legend ${t}`:"manager-bar-chart-legend",children:e.map((a,o)=>r.jsxs("span",{className:"manager-bar-chart-legend-item",children:[r.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},o))})}function Cr({label:e,children:t}){return e?r.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[r.jsx("span",{className:"barchart-total__label body-3",children:e}),r.jsx("span",{className:"barchart-total__value",children:t})]}):r.jsx("div",{className:"barchart-total",children:t})}function $i({title:e,titleClassName:t="h3",icon:a,disc:o,headRight:n,headFloat:i,headSegment:s,headMenuItems:c,collapseBelow:d=420,onClick:u,ariaLabel:p,tooltip:h,totalNum:m,totalUnit:b,totalLabel:x,subRow:f,subRowAlign:C="start",className:g,inGrid:v=!1,children:y}){const{t:_}=Ce.useTranslation(),B=l.useRef(null),{anchorRect:k,openAt:S,close:w}=Io(),A=l.useCallback(()=>{h&&B.current&&S(B.current)},[h,S]),[E,L]=l.useState(!1);Fd(()=>{const $=B.current;if(!$||!s)return;const N=R=>L(R>0&&R<d);if(N($.clientWidth),typeof ResizeObserver>"u")return;const F=new ResizeObserver(R=>N(R[0].contentRect.width));return F.observe($),()=>F.disconnect()},[s,d]);const[z,j]=l.useState(null),I=l.useCallback(()=>j(null),[]),D=l.useCallback($=>{const N=$.currentTarget.getBoundingClientRect();j(F=>F?null:{left:N.left,right:N.right,top:N.top,bottom:N.bottom,width:N.width,height:N.height,x:N.x,y:N.y})},[]),T=!!s&&E;l.useEffect(()=>{T||j(null)},[T]);const O=s?[...s.options.map($=>({label:$.label,icon:$.icon,selected:$.key===s.value,disabled:$.disabled,onClick:()=>s.onChange($.key),closeOnSelect:!0})),...(c??[]).map(($,N)=>N===0?{...$,separatorBefore:!0}:$)]:[],G=l.useCallback($=>{if(!u)return;const N=$.target;N&&typeof N.closest=="function"&&N.closest('button, a, input, select, textarea, [role="radiogroup"]')||u()},[u]),Z=l.useCallback($=>{u&&$.target===$.currentTarget&&($.key==="Enter"||$.key===" ")&&($.preventDefault(),u())},[u]),H=typeof n=="function"?n({collapsed:T}):n,V=m!=null||x?r.jsxs(Cr,{label:x,children:[m!=null&&r.jsx("span",{className:"barchart-total__num h0",children:m}),b&&r.jsx("span",{className:"barchart-total__unit h5",children:b})]}):null,q=H||s?r.jsxs("div",{className:"manager-section__head-right",children:[s&&(T?r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:s.ariaLabel??_("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:s.ariaLabel??_("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!z,onClick:D}):r.jsx(Ia,{size:32,ariaLabel:s.ariaLabel,options:s.options.map($=>({key:$.key,label:$.label,disabled:$.disabled})),value:s.value,onChange:s.onChange})),H]}):null;return r.jsxs("section",{ref:B,className:["manager-section",v&&"manager-section--grid",u&&"manager-section--clickable",g].filter(Boolean).join(" "),onClick:u?G:void 0,onKeyDown:u?Z:void 0,onPointerEnter:h?A:void 0,onPointerLeave:h?w:void 0,onFocus:h?A:void 0,onBlur:h?w:void 0,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-label":u?p??(typeof e=="string"?e:void 0):void 0,children:[h&&k&&r.jsx(ka,{anchorRect:{left:k.left,top:k.top+21,right:k.right,bottom:k.bottom,width:k.width,height:k.height},text:h}),i&&r.jsx(Gd,{children:i}),r.jsxs("div",{className:"manager-section__head",children:[r.jsxs("div",{className:"manager-section__title-row",children:[a&&r.jsx(Je,{icon:a,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),r.jsx("div",{className:["manager-section__title",t].filter(Boolean).join(" "),children:e})]}),q,o&&r.jsx("div",{className:"manager-section__disc body-3",children:o})]}),(V||f)&&r.jsxs("div",{className:["barchart-sub-row",C!=="start"&&`barchart-sub-row--${C}`].filter(Boolean).join(" "),children:[V,f]}),y,z&&r.jsx(ga,{anchorRect:z,onClose:I,ariaLabel:s?.ariaLabel??_("tooltip.menu","\uBA54\uB274"),children:r.jsx(fr,{columns:[{items:O}],onClose:I,size:"small"})})]})}function Oa(e,t){const a=new Date(e,t,1).getDay();return 1+(8-(a===0?7:a))%7}function Y6(){const e=lo();let t=e.getFullYear(),a=e.getMonth(),o=e.getDate();if(o<Oa(t,a)){const s=new Date(t,a,0);t=s.getFullYear(),a=s.getMonth(),o=s.getDate()}const n=Math.floor((o-Oa(t,a))/7),i=`${t}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${n}`}}function rf(e){const t=lo(),a=`${t.getFullYear()}\uB144 ${t.getMonth()+1}\uC6D4`,o=(d,u)=>`${d}\uB144 ${u+1}\uC6D4`,n=new Map;n.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const u=o(d.date.getFullYear(),d.date.getMonth());n.has(u)||n.set(u,[]),n.get(u).push(d)}for(const[d,u]of[...n.entries()]){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const h=Number(p[1]),m=Number(p[2])-1,b=Oa(h,m);if(!(d===a&&t.getDate()<b)&&!u.some(C=>C.date.getDate()<b))continue;const x=new Date(h,m,0),f=o(x.getFullYear(),x.getMonth());n.has(f)||n.set(f,[])}const i=new Map;for(const[d,u]of n){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const h=Number(p[1]),m=Number(p[2])-1,b=new Date(h,m+1,0).getDate(),x=u.reduce((_,B)=>Math.max(_,B.parts?.length??0,B.partsB?.length??0),0),f=u.some(_=>_.partsB),C=new Array(b+1).fill(0),g=new Array(b+1).fill(0),v=Array.from({length:b+1},()=>new Array(x).fill(0)),y=Array.from({length:b+1},()=>new Array(x).fill(0));for(const _ of u){const B=_.date.getDate();if(C[B]+=_.a,g[B]+=_.b,_.parts)for(let k=0;k<x;k++)v[B][k]+=_.parts[k]??0;if(_.partsB)for(let k=0;k<x;k++)y[B][k]+=_.partsB[k]??0}i.set(d,{year:h,month:m,daysInMonth:b,partsLen:x,hasPartsB:f,dayA:C,dayB:g,dayParts:v,dayPartsB:y})}const s=(d,u,p)=>new Date(d,u,p).getTime()>new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),c={};for(const[d,u]of i){const{year:p,month:h,daysInMonth:m,dayA:b,dayB:x,dayParts:f,dayPartsB:C}=u,g=p===t.getFullYear()&&h===t.getMonth(),v=t.getDate(),y=i.get(o(h===11?p+1:p,(h+1)%12)),_=u.partsLen,B=[];for(let S=1;S<=m;S++){const w=g&&S>v;B.push({label:String(S),...w&&b[S]===0&&x[S]===0?{future:!0}:{},a:w&&b[S]===0&&x[S]===0?-1:b[S],b:x[S],..._?{parts:f[S]}:{},..._&&u.hasPartsB?{partsB:C[S]}:{}})}const k=[];for(let S=Oa(p,h);S<=m;S+=7){const w=Math.max(0,S+6-m),A=w&&y?Math.max(_,y.partsLen):_,E=u.hasPartsB||!!(w&&y?.hasPartsB);let L=0,z=0;const j=new Array(A).fill(0),I=new Array(A).fill(0);for(let T=S;T<=Math.min(S+6,m);T++){L+=b[T],z+=x[T];for(let O=0;O<_;O++)j[O]+=f[T][O],I[O]+=C[T][O]}if(w&&y)for(let T=1;T<=w&&!s(y.year,y.month,T);T++){L+=y.dayA[T],z+=y.dayB[T];for(let O=0;O<y.partsLen;O++)j[O]+=y.dayParts[T][O],I[O]+=y.dayPartsB[T][O]}const D=w?`${(h+1)%12+1}/${w}`:`${S+6}`;k.push({label:`${k.length+1}\uC8FC`,sublabel:`[${S}\uC77C~${D}\uC77C]`,a:L,b:z,...A?{parts:j}:{},...A&&E?{partsB:I}:{}})}c[d]={weekly:k,daily:B}}return c}function nf(){const e=lo(),t=e.getFullYear(),a=e.getMonth()+1,o=[];for(let n=2024;n<=t;n++){const i=n===t?a:12;for(let s=1;s<=i;s++){const c=`${n}\uB144 ${s}\uC6D4`;o.push({value:c,label:c,year:n,month:s})}}return o.reverse()}nf();function K6(){return nf()}const sf=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Ud(e){const{t,i18n:a}=Ce.useTranslation(),[o,n]=l.useState("week"),i=l.useMemo(()=>K6().filter(A=>A.value in e),[e]),s=l.useMemo(()=>{const A=[];for(const E of i){const L=new Date(E.year,E.month,0).getDate(),z=Oa(E.year,E.month-1),j=Math.ceil((L-z+1)/7);for(let I=j-1;I>=0;I--)A.push({value:`${E.value}#${I}`,monthKey:E.value,year:E.year,month:E.month,week:I})}return A},[i]),c=l.useCallback(A=>{const E=t("calendar.yearMonth",{year:A.year,month:A.month});return a.language?.startsWith("ko")?`${E} ${sf[A.week]??`${A.week+1}`}\uC8FC`:`${E} Week ${A.week+1}`},[t,a.language]),d=l.useMemo(()=>i.map(A=>({value:A.value,label:t("calendar.yearMonth",{year:A.year,month:A.month})})),[t,i]),u=l.useMemo(()=>s.map(A=>({value:A.value,label:c(A)})),[s,c]),p=l.useMemo(()=>Y6(),[e]),h=l.useMemo(()=>i.find(A=>A.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),m=l.useMemo(()=>s.find(A=>A.value===p.value)?.value??s[0]?.value??"",[s,p]),[b,x]=l.useState(""),[f,C]=l.useState("");l.useEffect(()=>{i.find(A=>A.value===b)||x(h)},[i,b,h]),l.useEffect(()=>{s.find(A=>A.value===f)||C(m)},[s,f,m]);const g=o==="month"?d:u,v=o==="month"?b:f,y=o==="month"?x:C,_=l.useMemo(()=>{const A=t("calendar.dow",{returnObjects:!0});return Array.isArray(A)?A:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[t]),B=g.findIndex(A=>A.value===v),k=l.useCallback(()=>{const A=g.findIndex(E=>E.value===v);A<g.length-1&&y(g[A+1].value)},[g,v,y]),S=l.useCallback(()=>{const A=g.findIndex(E=>E.value===v);A>0&&y(g[A-1].value)},[g,v,y]),w=l.useMemo(()=>[{key:"week",label:t("manager.chart.periodWeek","\uC8FC")},{key:"month",label:t("manager.chart.periodMonth","\uC6D4")}],[t]);return{period:o,setPeriod:n,range:v,setRange:y,activeOptions:g,activeIdx:B,handlePrev:k,handleNext:S,periodOptions:w,monthRange:b,weekRange:f,weekRanges:s,DOW:_}}const ft=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function Qa(e,t=!0){return e.future===!0||t&&e.a===-1}function Z6({data:e,colorA:t,colorB:a,labelA:o,labelB:n,barWidth:i=10,barGap:s=1,height:c=140,maxOverride:d,tightMax:u,seriesColors:p,seriesLabels:h,rateLabels:m,grouped:b=!1,baseline:x}){const f=!a,C=!!(p&&p.length>0),g=x,v=l.useMemo(()=>C?Math.max(0,...e.filter(T=>!Qa(T,g==null)).map(T=>b?Math.max(0,...(T.parts??[]).map(ft)):(T.parts??[]).reduce((O,G)=>O+Math.max(0,ft(G)),0))):Math.max(0,...e.filter(T=>!Qa(T,g==null)).flatMap(T=>f?[ft(T.a)]:[ft(T.a),ft(T.b)])),[e,f,C,b]),y=l.useMemo(()=>{if(g==null)return 0;const T=e.filter(O=>!Qa(O,g==null)).flatMap(O=>C?(O.parts??[]).map(ft):f?[ft(O.a)]:[ft(O.a),ft(O.b)]);return Math.max(0,...T.map(O=>Math.abs(O-g)))},[e,g,C,f]),_=l.useMemo(()=>{const T=g!=null?y:v;return d??(u?T>0?T:10:Math.ceil(T/10)*10||10)},[v,y,g,d,u]),B=c,k=C?b?Math.max(1,p.length):1:f?1:2,S={"--bar-width":`${l.useMemo(()=>{const T=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(T*k)+6)))},[e.length,k,i])}px`},w={"--bar-group-gap":`${Math.max(0,s)}px`},A=l.useMemo(()=>{const T=Math.round(_/2);return g!=null?[g+_,...T!==_?[g+T]:[],g,...T!==_?[g-T]:[],g-_]:T!==_?[_,T,0]:[_,0]},[_,g]),E=T=>g!=null?1-(T-(g-_))/(2*_):1-T/_,[L,z]=l.useState(null),j=l.useCallback(()=>z(null),[]),I=T=>g!=null&&T>g?`+${T}`:`${T}`,D=L!=null;return l.useEffect(()=>{if(!D)return;const T=()=>z(null),O=G=>{const Z=G.target;Z&&typeof Z.closest=="function"&&Z.closest(".manager-bar-chart-col")||z(null)};return window.addEventListener("scroll",T,!0),document.addEventListener("pointerdown",O,!0),()=>{window.removeEventListener("scroll",T,!0),document.removeEventListener("pointerdown",O,!0)}},[D]),r.jsxs("div",{className:"manager-bar-chart-wrap",style:w,children:[r.jsx("div",{className:"manager-bar-chart-inner",children:r.jsx("div",{className:"manager-bar-chart-scroll",children:r.jsxs("div",{className:"manager-bar-chart-area",children:[r.jsxs("div",{className:"manager-bar-chart-plot",style:{height:B},children:[A.slice(0,-1).map((T,O)=>r.jsx("div",{className:`manager-bar-chart-gridline${g!=null&&T===g?" manager-bar-chart-gridline--baseline":""}`,style:{top:E(T)*B},children:r.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:T})},O)),e.map((T,O)=>{const G=Qa(T,g==null),Z=B/2,H=N=>g!=null?Math.min(Z,Math.abs(ft(N)-g)/_*Z):Math.min(B,Math.max(0,ft(N)/_*B)),V=G?0:H(T.a),q=G?0:H(T.b),$=(T.parts??[]).map(ft);return r.jsx("div",{className:`manager-bar-chart-col${b&&C?" manager-bar-chart-col--group":""}`,style:{cursor:G?"default":"pointer"},onMouseEnter:G?void 0:N=>{const F=N.currentTarget.getBoundingClientRect(),R=[T.label,T.sublabel].filter(Boolean).join(" ");let W;if(C&&b&&T.rawPartsB)W=(h??[]).map((P,Q)=>{const ee=T.rawPartsB[Q]??0;return{text:ee>0?`${P}: ${$[Q]??0}% (${T.rawParts?.[Q]??0}/${ee})`:`${P}: -`,color:(p??[])[Q]}});else if(C&&b)W=(h??[]).map((P,Q)=>({text:`${P}: ${I($[Q]??0)}`,color:(p??[])[Q]}));else if(C){const P=(h??[]).map((ee,Y)=>({text:`${ee}: ${$[Y]??0}`,color:(p??[])[Y]})),Q=P.filter((ee,Y)=>($[Y]??0)>0);W=Q.length?Q:P}else m&&!f?W=[{text:`${o} ${ft(T.a)}%`,color:t},{text:`${n} ${ft(T.b)}%`,color:a}]:m&&T.rawB!==void 0?W=[{text:`${m.total} ${T.rawB}`},{text:`${m.done} ${T.rawA??0}`,color:t}]:f?W=[{text:`${o}: ${ft(T.a)}`,color:t}]:W=[{text:`${o}: ${ft(T.a)}`,color:t},{text:`${n}: ${ft(T.b)}`,color:a}];z({rect:{left:F.left,top:F.top,right:F.right,bottom:F.bottom,width:F.width,height:F.height},title:R,items:W})},onMouseLeave:j,children:!G&&(C&&b?(p??[]).map((N,F)=>{const R=$[F]??0;if(g==null)return r.jsx("div",{className:"manager-bar-chart-bar",style:{...S,height:H(R),background:N}},F);const W=ft(R)<g;return r.jsxs("div",{className:"manager-bar-chart-slot",style:S,children:[r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!W&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:H(R),background:N}})}),r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:W&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:H(R),background:N}})})]},F)}):C?r.jsx("div",{className:"manager-bar-chart-stack",style:S,children:(()=>{const N=$.reduce((R,W,P)=>W>0?P:R,-1);let F=B;return $.map((R,W)=>{if(R<=0)return null;const P=Math.min(F,R/_*B);return F-=P,r.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:P,background:(p??[])[W],borderRadius:W===N?"6px 6px 0 0":void 0}},W)})})()}):g!=null?r.jsx(r.Fragment,{children:[{v:ft(T.a),c:t},...f?[]:[{v:ft(T.b),c:a}]].map(({v:N,c:F},R)=>r.jsxs("div",{className:"manager-bar-chart-slot",style:S,children:[r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:N>=g&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:H(N),background:F}})}),r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:N<g&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:H(N),background:F}})})]},R))}):r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"manager-bar-chart-bar",style:{...S,height:V,background:t}}),!f&&r.jsx("div",{className:"manager-bar-chart-bar",style:{...S,height:q,background:a}})]}))},O)})]}),r.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((T,O)=>{const G=Qa(T,g==null);return r.jsxs("span",{className:`manager-bar-chart-x-axis__label${G?" manager-bar-chart-x-axis__label--future":""}`,children:[r.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[T.isToday&&r.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:t}}),T.label]}),T.sublabel&&r.jsx("span",{className:"caption-1",children:T.sublabel})]},O)})})]})})}),L&&r.jsx(go,{anchorRect:L.rect,title:L.title,items:L.items,showIndex:!1,closeOnOutsideClick:!1})]})}function qd({control:e}){const{t}=Ce.useTranslation(),{activeOptions:a,activeIdx:o,range:n,setRange:i,handlePrev:s,handleNext:c,periodOptions:d,period:u,setPeriod:p}=e,h=u==="week"?t("calendar.prevWeek","\uC774\uC804 \uC8FC"):t("calendar.prevMonth","\uC774\uC804 \uB2EC"),m=u==="week"?t("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):t("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return r.jsxs("div",{className:"manager-section-controls",children:[r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:h,showTooltipInfo:h,disabled:o===a.length-1,onClick:s}),r.jsx(fa,{value:n,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:t("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:m,showTooltipInfo:m,disabled:o<=0,onClick:c}),r.jsx(Ia,{ariaLabel:t("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:u,onChange:b=>p(b),size:40})]})}function Yd(e,t,a,o=!0){const n=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,s)=>{const c=new Date(t);c.setDate(t.getDate()+s);const d=(e[`${c.getFullYear()}\uB144 ${c.getMonth()+1}\uC6D4`]?.daily??[])[c.getDate()-1],u=d!=null&&Qa(d,o)||c>n;return{dt:c,entry:d,isFuture:u}})}function X6(e,t,a,o,n=!0){const{period:i,monthRange:s,weekRange:c,weekRanges:d,DOW:u}=t,p=o?.startsWith("ko"),h=lo(),m=h.getFullYear(),b=h.getMonth()+1,x=h.getDate();if(i==="month"){const g=e[s]??{weekly:[],daily:[]},v=s.match(/^(\d+)년 (\d+)월$/),y=v?Number(v[1]):null,_=v?Number(v[2]):null,B=y&&_?Oa(y,_-1):1;return g.weekly.map((k,S)=>{const w=S+1;let A=k.label,E=!1,L=!1;if(y&&_){const z=B+S*7,j=new Date(y,_-1,z+6),I=j.getMonth()+1,D=j.getDate(),T=I===_?`${D}`:`${I}/${D}`;A=a("manager.chart.weekRange",{start:z,end:T});const O=new Date(m,b-1,x).getTime();E=O>=new Date(y,_-1,z).getTime()&&O<=j.getTime(),L=y>m||y===m&&(_>b||_===b&&z>x)}return{...k,label:A,sublabel:p?`${sf[w-1]??w}\uC8FC`:`Week ${w}`,isToday:E,future:k.future===!0||L||void 0,a:L?-1:k.a,b:L?0:k.b}})}const f=d.find(g=>g.value===c);if(!f)return[];const C=new Date(f.year,f.month-1,Oa(f.year,f.month-1)+f.week*7);return Yd(e,C,h,n).map(({dt:g,entry:v,isFuture:y})=>{const _=g.getMonth()+1,B=g.getDate(),k=g.getFullYear();return{label:_===f.month&&k===f.year?`${B}`:`${_}/${B}`,sublabel:u[g.getDay()]??"",future:y||void 0,a:y?-1:v&&v.a>0?v.a:0,b:y?0:v&&v.b>0?v.b:0,isToday:k===m&&_===b&&B===x,...v?.parts?{parts:y?v.parts.map(()=>0):v.parts}:{},...v?.partsB?{partsB:y?v.partsB.map(()=>0):v.partsB}:{}}})}const J6={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function lf({size:e="medium",barWidth:t,titleKey:a,data:o,colorA:n,colorB:i,labelAKey:s,labelBKey:c,showTotal:d=!1,totalUnitKey:u,totalLabelKey:p,control:h,hideControls:m=!1,rate:b=!1,rateAgg:x="dayMean",tightMax:f=!1,avgMode:C=!1,totalFormat:g,series:v,seriesMode:y="stack",loading:_=!1,onDetail:B,headExtra:k,headSegment:S,icon:w,disc:A,onClick:E,cardAriaLabel:L,cardTooltip:z,detailSize:j=32,barGap:I,baseline:D,className:T,inGrid:O=!1}){const{t:G,i18n:Z}=Ce.useTranslation(),H=J6[e],V=Ud(o),q=h??V,$=l.useMemo(()=>X6(o,q,G,Z.language,D==null),[o,q,G,Z.language,D]),N=y==="group"&&!!v&&v.length>0;I!=null&&!N&&Ua("bar-chart-bargap-without-group","[BarChart] barGap \uC740 seriesMode='group' + series \uC5D0\uC11C\uB9CC \uC4F0\uC778\uB2E4 \u2014 \uADF8 \uBC16\uC5D0\uC11C\uB294 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4.");const F=l.useMemo(()=>{if(!b)return $;const ee=q.period==="month"?q.monthRange.match(/^(\d+)년 (\d+)월$/):null,Y=lo(),ne=v?.length??0,ie=se=>{const ce=[],U=[],le=[];for(let be=0;be<ne;be++){let ye=0,xe=0,ue=0;for(const _e of se){const Ae=ft(_e.a[be]),X=ft(_e.b[be]);X<=0||(ye+=Ae,xe+=X,ue+=Ae/X*100)}ce.push(x==="weighted"?xe>0?Math.round(ye/xe*100):0:se.length?Math.round(ue/se.length):0),U.push(ye),le.push(xe)}return{pct:ce,ra:U,rb:le}};return $.map((se,ce)=>{let U=se.a===-1?-1:se.b>0?Math.round(se.a/se.b*100):0;if(ee&&!Qa(se)){const be=Number(ee[1]),ye=Number(ee[2])-1,xe=Yd(o,new Date(be,ye,Oa(be,ye)+ce*7),Y).filter(ue=>!ue.isFuture);if(x==="weighted"){let ue=0,_e=0;for(const{entry:Ae}of xe)Ae&&Ae.b>0&&(ue+=Ae.a,_e+=Ae.b);U=_e>0?Math.round(ue/_e*100):0}else U=xe.length?Math.round(xe.reduce((ue,{entry:_e})=>ue+(_e&&_e.b>0?_e.a/_e.b*100:0),0)/xe.length):0}let le=null;if(N&&!Qa(se)){let be;if(ee){const xe=Number(ee[1]),ue=Number(ee[2])-1;be=Yd(o,new Date(xe,ue,Oa(xe,ue)+ce*7),Y).filter(_e=>!_e.isFuture).map(({entry:_e})=>({a:_e?.parts??[],b:_e?.partsB??[]}))}else be=[{a:se.parts??[],b:se.partsB??[]}];const ye=ie(be);le={parts:ye.pct,rawParts:ye.ra,rawPartsB:ye.rb}}return{...se,a:U,b:se.a===-1?0:c&&se.parts&&se.parts[1]>0?Math.round(se.parts[0]/se.parts[1]*100):0,rawA:se.a===-1?-1:se.a,rawB:se.b,...le??{}}})},[$,b,x,c,q.period,q.monthRange,o,N,v?.length]),R=l.useMemo(()=>{if(b||C){const Y=(q.period==="week"?$:o[q.monthRange]?.daily??[]).filter(ie=>ie.a!==-1);if(Y.length===0)return 0;if(b&&x==="weighted"){let ie=0,se=0;for(const ce of Y)ce.b>0&&(ie+=ce.a,se+=ce.b);return se>0?Math.round(ie/se*100):0}const ne=b?Y.reduce((ie,se)=>ie+(se.b>0?se.a/se.b*100:0),0):Y.reduce((ie,se)=>ie+(se.a>0?se.a:0),0);return Math.round(ne/Y.length)}const ee=q.period==="month"?o[q.monthRange]?.daily??[]:F;return D!=null?ee.reduce((Y,ne)=>Y+(Qa(ne,!1)?0:ft(ne.a)+(c?ft(ne.b):0)),0):ee.reduce((Y,ne)=>Y+(ne.a>0?ne.a:0)+(c&&ne.b>0?ne.b:0),0)},[F,$,b,x,C,D,c,q.period,q.monthRange,o]),W=v&&v.length>0?v.map(ee=>({color:ee.color,label:ee.label})):[{color:n,label:G(s)},...c?[{color:i,label:G(c)}]:[]],P=e==="small",Q=[P?"manager-section--compact":e==="large"?"manager-section--full":void 0,T].filter(Boolean).join(" ")||void 0;return r.jsx($i,{className:Q,inGrid:O,icon:w,disc:A,onClick:E,ariaLabel:L,tooltip:z,headSegment:S,headMenuItems:B?[{label:G("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:B,closeOnSelect:!0}]:void 0,title:G(a),titleClassName:P?"h5 chart-section-title--small":void 0,headRight:P?k??void 0:({collapsed:ee})=>r.jsxs(r.Fragment,{children:[!m&&r.jsx(qd,{control:q}),k,B&&!ee&&r.jsx("span",{className:"manager-bar-chart-detail-btn",children:r.jsx(he,{htmlType:"button",size:j,type:"dot",icon:"list",ariaLabel:G("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:G("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:B})})]}),subRow:r.jsxs(r.Fragment,{children:[d?b||C||p&&g?r.jsx(Cr,{label:P?void 0:`${G(q.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${G(p??s)}`,children:g?(g(R).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((ee,Y)=>/\d/.test(ee)?r.jsx("span",{className:"barchart-total__num h0",children:ee},Y):r.jsx("span",{className:"barchart-total__unit h5",children:ee},Y)):r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"barchart-total__num h0",children:R}),u&&r.jsx("span",{className:"barchart-total__unit h5",children:G(u)})]})}):r.jsxs(Cr,{children:[r.jsx("span",{className:"barchart-total__num h0",children:R}),r.jsx("span",{className:"barchart-total__unit h5",children:G(s)}),u&&r.jsx("span",{className:"barchart-total__unit h5",children:G(u)})]}):r.jsx("span",{}),r.jsx(Mi,{items:W,className:"caption-1"})]}),children:_?r.jsx("div",{className:"manager-bar-chart-wrap manager-bar-chart-loading","aria-busy":"true",children:r.jsx("div",{className:"manager-bar-chart-inner",children:r.jsxs("div",{className:"manager-bar-chart-area manager-bar-chart-area--loading",children:[r.jsx("div",{className:"manager-bar-chart-plot manager-bar-chart-plot--loading",style:{height:H.height},children:r.jsx(xr,{size:32})}),r.jsx("div",{className:"manager-bar-chart-x-axis","aria-hidden":"true",children:r.jsxs("span",{className:"manager-bar-chart-x-axis__label",children:[r.jsx("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:"\xA0"}),F.some(ee=>!!ee.sublabel)&&r.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):r.jsx(Z6,{data:F,colorA:n,colorB:c?i:void 0,labelA:G(s),labelB:c?G(c):void 0,barWidth:t??H.barWidth,barGap:I,baseline:D,height:H.height,maxOverride:b?100:void 0,tightMax:f,seriesColors:v?.map(ee=>ee.color),seriesLabels:v?.map(ee=>ee.label),rateLabels:b?{total:G("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:G("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:N})})}var Q6=".ihabdevteam-core-scope .line-chart{display:block;height:auto;overflow:visible;width:100%}.ihabdevteam-core-scope .line-chart__axis-title,.ihabdevteam-core-scope .line-chart__tick{fill:var(--color-gray);font-size:12px}.ihabdevteam-core-scope .line-chart__grid{stroke:var(--color-whiteLine);stroke-width:1}.ihabdevteam-core-scope .line-chart__line{stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ihabdevteam-core-scope .line-chart__dot-hit{fill:transparent}.ihabdevteam-core-scope .line-chart__dot-main{stroke-width:1.5}.ihabdevteam-core-scope .line-chart__dot-main.is-hollow{fill:var(--color-white)}.ihabdevteam-core-scope .line-chart__tip{max-width:220px;white-space:normal}.ihabdevteam-core-scope .line-chart__dot{cursor:default}";oe(Q6);const Kd=120,e9={left:38,right:16,top:26,bottom:24};function cf({points:e=[],range:t,ticks:a=[],axisTitle:o,color:n,height:i=156,fallbackWidth:s=320,insets:c,overlay:d,ariaLabel:u,className:p}){const[h,m]=l.useState(null),[b,x]=l.useState(null);l.useEffect(()=>{if(!b)return;const O=Z=>m(Math.round(Z)||null);if(O(b.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const G=new ResizeObserver(([Z])=>O(Z.contentRect.width));return G.observe(b),()=>{G.disconnect()}},[b]);const{payload:f,anchorRect:C,openAfterDelay:g,close:v}=fd(Kd),y=l.useCallback((O,G)=>{O&&g(O,G.getBoundingClientRect())},[g]),_=h??s,B=i,{left:k,right:S,top:w,bottom:A}={...e9,...c},[E,L]=t,z=O=>L===E?k:k+(_-k-S)*(O-E)/(L-E),j=O=>w+(B-w-A)*(100-O)/100,I={x:z,y:j,plot:{left:k,right:_-S,top:w,bottom:B-A,width:Math.max(0,_-k-S),height:Math.max(0,B-w-A)}},D=e.filter(O=>!O.hollow),T=n??"var(--color-main)";return r.jsxs(r.Fragment,{children:[r.jsxs("svg",{ref:x,className:Te("line-chart",p),viewBox:`0 0 ${_} ${B}`,role:"img","aria-label":u??e.map(O=>O.description).filter(Boolean).join(", "),children:[o&&r.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:o}),[0,100].map(O=>r.jsxs("g",{children:[r.jsx("line",{className:"line-chart__grid",x1:k,x2:_-S,y1:j(O),y2:j(O)}),r.jsxs("text",{className:"line-chart__tick",x:k-6,y:j(O)+4,textAnchor:"end",children:[O,"%"]})]},O)),d?.(I),a.map(O=>r.jsx("text",{className:"line-chart__tick",x:z(O.x),y:B-5,textAnchor:"middle",children:O.label},O.x)),D.length>1&&r.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:T,points:D.map(O=>`${z(O.x)},${j(O.pct)}`).join(" ")}),e.map(O=>r.jsxs("g",{className:"line-chart__dot",onPointerEnter:G=>y(O.description,G.currentTarget),onPointerLeave:v,children:[r.jsx("circle",{className:"line-chart__dot-hit",cx:z(O.x),cy:j(O.pct),r:12}),r.jsx("circle",{className:Te("line-chart__dot-main",O.hollow&&"is-hollow"),cx:z(O.x),cy:j(O.pct),r:4,stroke:T,fill:O.hollow?void 0:T})]},O.x))]}),f!=null&&r.jsx(ga,{anchorRect:C,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:f,children:f})]})}var t9=".ihabdevteam-core-scope .game-intro{align-items:center;display:flex;flex-direction:column;gap:14px;padding:0;text-align:center}.ihabdevteam-core-scope .game-intro__icon{font-size:56px;font-size:var(--game-intro-icon,56px)}.ihabdevteam-core-scope .game-intro__title{color:var(--color-onDark-title);margin:0}.ihabdevteam-core-scope .game-intro__description{color:var(--color-onDark-text);line-height:1.75;margin:0}.ihabdevteam-core-scope .game-intro__tips{background:var(--color-onDark-surface);border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-onDark-text);display:flex;flex-direction:column;gap:4px;padding:var(--spacing-l);text-align:left;width:100%}.ihabdevteam-core-scope .game-intro__tips-title{color:var(--color-onDark-muted);letter-spacing:.06em;margin-bottom:4px}.ihabdevteam-core-scope .game-intro__tip{align-items:flex-start;display:flex;gap:var(--spacing-xs)}";oe(t9);function df({icon:e,iconSize:t=56,title:a,titleClass:o="h2",description:n,tipGroups:i,start:s,className:c}){return r.jsxs("div",{className:Te("game-intro",c),children:[e!=null&&r.jsx("span",{className:"game-intro__icon","aria-hidden":"true",style:{"--game-intro-icon":`${t}px`},children:e}),r.jsx("h2",{className:Te("game-intro__title",o),children:a}),n!=null&&r.jsx("p",{className:"game-intro__description body-3",children:n}),i?.map((d,u)=>r.jsxs("div",{className:"game-intro__tips",children:[d.title!=null&&r.jsx("span",{className:"game-intro__tips-title body-3",children:d.title}),d.tips.map((p,h)=>r.jsxs("span",{className:"game-intro__tip body-3",children:[p.icon!=null&&r.jsx("span",{"aria-hidden":"true",children:p.icon}),r.jsx("span",{children:p.text})]},h))]},u)),s&&r.jsx(he,{htmlType:"button",className:s.className,variant:"main",color:s.color,size:48,width:"100%",disabled:s.disabled,onClick:s.onClick,children:s.label})]})}const uf=(e,t,a)=>{const o=new Date(Date.UTC(e,t,a));return`${o.getUTCFullYear()}-${String(o.getUTCMonth()+1).padStart(2,"0")}-${String(o.getUTCDate()).padStart(2,"0")}`},pf=(e,t,a,o)=>({from:Zn(e,t,a),to:new Date(Zn(e,t,a+o).getTime()-1),fromYmd:uf(e,t,a),toYmd:uf(e,t,a+o-1)});function hf(e,t=0){if(e.period==="month"){const n=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=lo(),s=n?Number(n[1]):i.getFullYear(),c=(n?Number(n[2]):i.getMonth()+1)-1+t,d=new Date(Date.UTC(s,c+1,0)).getUTCDate();return pf(s,c,1,d)}const a=e.weekRanges.find(n=>n.value===e.weekRange);if(!a){const n=new Date,i=ba();return{from:n,to:n,fromYmd:i,toYmd:i}}const o=Oa(a.year,a.month-1);return pf(a.year,a.month-1,o+(a.week+t)*7,7)}var a9=".ihabdevteam-core-scope .ring-chart{flex-shrink:0;position:relative}.ihabdevteam-core-scope .ring-chart svg{display:block}.ihabdevteam-core-scope .ring-chart__center{align-items:center;display:flex;flex-direction:column;inset:0;justify-content:center;pointer-events:none;position:absolute}.ihabdevteam-core-scope .ring-chart__center--small{transform:translateY(6.5px)}.ihabdevteam-core-scope .ring-chart__center--medium{transform:translateY(7.5px)}.ihabdevteam-core-scope .ring-chart__center--large{transform:translateY(8.5px)}.ihabdevteam-core-scope .ring-chart__pct{color:var(--color-darkGray);line-height:1}.ihabdevteam-core-scope .ring-chart__label{color:var(--color-lightGray)}.ihabdevteam-core-scope .ring-chart__label--tight{margin-top:-2px}.ihabdevteam-core-scope .ring-chart-section-body{display:flex;justify-content:center}.ihabdevteam-core-scope .ring-chart-section-body--offset{justify-content:flex-end}";oe(a9);const Zd={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function mf(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function bf({done:e,total:t,segments:a,color:o="var(--color-main)",size:n="medium",strokeWidth:i,label:s="%",hideCenter:c=!1,hideLabel:d=!1}){const u=typeof n=="number"?n:Zd[n].diameter,p=i??(typeof n=="number"?12:Zd[n].strokeWidth),h=u/2,m=(u-p)/2,b=2*Math.PI*m;if(a&&a.length>0){const g=a.reduce((v,y)=>{const _=v.length>0?v[v.length-1].acc:0,B=Number.isFinite(y.ratio)?y.ratio:0,k=Math.max(0,Math.min(B,1-_));return v.push({color:y.color,rotate:-90+_*360,dash:b*k,acc:_+k}),v},[]);return r.jsx("div",{className:"ring-chart",style:{width:u,height:u},children:r.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),g.map((v,y)=>v.dash>0&&r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:v.color,strokeWidth:p,strokeDasharray:`${v.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${v.rotate} ${h} ${h})`},y))]})})}const x=(t??0)>0?Math.min((e??0)/t,1):0,f=b*x,C=b-f;return r.jsxs("div",{className:"ring-chart",style:{width:u,height:u},children:[r.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),x>0&&r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:o,strokeWidth:p,strokeDasharray:`${f} ${C}`,strokeLinecap:x<.02||x>.98?"butt":"round",transform:`rotate(-90 ${h} ${h})`})]}),!c&&r.jsxs("div",{className:`ring-chart__center${d?"":` ${u<=96?"ring-chart__center--small":n==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[r.jsx("span",{className:`ring-chart__pct ${u<=96?"h2":"h1"}`,children:mf(x)}),!d&&r.jsx("span",{className:`ring-chart__label ${u<=96?"caption-2":"caption-1"}${u<=96||n==="medium"?" ring-chart__label--tight":""}`,children:s})]})]})}function gf({titleKey:e,headRight:t,icon:a,showTotal:o,totalLabelKey:n,legend:i,loading:s,className:c,inGrid:d=!1,onClick:u,ariaLabel:p,tooltip:h,...m}){const{t:b}=Ce.useTranslation();if(!e)return r.jsx(bf,{...m});const x=(m.total??0)>0?mf(Math.min((m.done??0)/m.total,1)):0,f=m.size==="small",C=typeof m.size=="number"?m.size:Zd[m.size??"medium"].diameter,g=m.size==="large",v=[c,f?"manager-section--compact":g?"manager-section--full":""].filter(Boolean).join(" ")||void 0,y=a&&r.jsx("span",{className:"chart-section-icon",children:r.jsx(Je,{icon:a,className:"chart-section-icon-inner"})});return r.jsx($i,{className:v,inGrid:d,onClick:u,ariaLabel:p,tooltip:h,title:b(e),titleClassName:f?"h5 chart-section-title--small":void 0,headRight:y||(f?void 0:t),subRow:(o||i)&&r.jsxs(r.Fragment,{children:[o?r.jsxs(Cr,{label:!f&&n?b(n):void 0,children:[r.jsx("span",{className:"barchart-total__num h0",children:x}),r.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):r.jsx("span",{}),i&&r.jsx(Mi,{items:i})]}),children:s?r.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:r.jsx("div",{className:"ring-chart ring-chart--loading",style:{width:C,height:C},"aria-busy":"true",children:r.jsx(xr,{size:32})})}):r.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:r.jsx(bf,{...m,hideCenter:m.hideCenter??f})})})}var o9=".ihabdevteam-core-scope .manager-stat-card{background:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-card);container-type:inline-size;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;min-width:160px;padding:20px}.ihabdevteam-core-scope .manager-stat-card--clickable{border:1px solid transparent;cursor:pointer;transition:box-shadow .12s ease,border-color .12s ease}.ihabdevteam-core-scope .manager-stat-card--clickable:hover{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .manager-stat-card__label-row{align-items:center;display:flex;justify-content:space-between;min-height:28px}.ihabdevteam-core-scope .manager-stat-card__label{color:var(--color-deepGray)}.ihabdevteam-core-scope .manager-stat-card__icon{display:inline-flex;opacity:.35}.ihabdevteam-core-scope .manager-stat-card__icon-inner{color:var(--color-darkGray);height:22px;width:22px}.ihabdevteam-core-scope .manager-stat-card__content{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:var(--spacing-xs);justify-content:space-between}.ihabdevteam-core-scope .manager-stat-card__body{align-items:stretch;display:flex;flex-direction:column;gap:4px;text-align:left;width:100%}.ihabdevteam-core-scope .manager-stat-card__left{align-items:flex-start;display:flex;flex:1;flex-direction:row;gap:8px;text-align:left}.ihabdevteam-core-scope .manager-stat-card__value{color:var(--color-black);flex-shrink:0;font-size:32px;font-weight:700;letter-spacing:-.5px;line-height:1;white-space:nowrap}.ihabdevteam-core-scope .manager-stat-card__change{font-size:12px;font-weight:500;line-height:1.2;margin-top:1px;min-width:0}.ihabdevteam-core-scope .manager-stat-card__change--up{color:var(--color-sub)}.ihabdevteam-core-scope .manager-stat-card__change--down{color:var(--color-error)}.ihabdevteam-core-scope .manager-stat-card__change--neutral{color:var(--color-gray)}@media (max-width:767px){.ihabdevteam-core-scope .manager-stat-card{padding:12px 14px 16px}.ihabdevteam-core-scope .manager-stat-card__value{font-size:24px}}";oe(o9);function ff({label:e,value:t,change:a,changeType:o,icon:n,tooltip:i,onClick:s,children:c}){const d=l.useRef(null),{anchorRect:u,openAt:p,close:h}=Io(),m=l.useCallback(()=>{i&&d.current&&p(d.current)},[i,p]),b=o??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),x=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=l.useCallback(C=>{s&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),s())},[s]);return r.jsxs("div",{ref:d,className:`manager-stat-card${s?" manager-stat-card--clickable":""}`,onClick:s,onKeyDown:s?f:void 0,onPointerEnter:m,onPointerLeave:h,onFocus:m,onBlur:h,role:s?"button":void 0,tabIndex:s?0:void 0,"aria-label":s?[e,t,x].filter(C=>C!==void 0&&C!=="").join(" "):void 0,children:[i&&u&&r.jsx(ka,{anchorRect:{left:u.left,top:u.top+21,right:u.right,bottom:u.bottom,width:u.width,height:u.height},text:i}),r.jsxs("div",{className:"manager-stat-card__label-row",children:[r.jsx("span",{className:"manager-stat-card__label h5",children:e}),n&&r.jsx("span",{className:"manager-stat-card__icon",children:r.jsx(Je,{icon:n,className:"manager-stat-card__icon-inner"})})]}),r.jsxs("div",{className:"manager-stat-card__content",children:[r.jsxs("div",{className:"manager-stat-card__left",children:[r.jsx("div",{className:"manager-stat-card__value h2",children:t}),x&&r.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${b??"neutral"} caption-1`,children:x})]}),c&&r.jsx("div",{className:"manager-stat-card__body",children:c})]})]})}var r9='.ihabdevteam-core-scope .slider{--slider-thumb:40px;--slider-fill:calc(var(--slider-thumb)/2 + var(--slider-ratio, 0)*(100% - var(--slider-thumb)));--slider-fill-color:var(--color-main);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border-radius:999px;cursor:pointer;margin:0;outline:none}.ihabdevteam-core-scope .slider:disabled{--slider-fill-color:var(--color-gray);cursor:not-allowed}.ihabdevteam-core-scope .slider:focus-visible{outline:2px solid var(--color-main);outline-offset:4px}.ihabdevteam-core-scope .slider--horizontal{background:linear-gradient(to right,var(--slider-fill-color) var(--slider-fill),var(--color-darkWhite) var(--slider-fill));height:var(--slider-thumb);width:100%}.ihabdevteam-core-scope .slider--vertical{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(to top,var(--slider-fill-color) var(--slider-fill),var(--color-darkWhite) var(--slider-fill));direction:rtl;height:160px;width:var(--slider-thumb);writing-mode:vertical-lr}.ihabdevteam-core-scope .slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--color-white);border:2px solid var(--slider-fill-color);border-radius:50%;box-shadow:var(--shadow-dropdown);cursor:pointer;height:var(--slider-thumb);width:var(--slider-thumb)}.ihabdevteam-core-scope .slider:disabled::-webkit-slider-thumb{cursor:not-allowed}.ihabdevteam-core-scope .slider::-moz-range-thumb{background:var(--color-white);border:2px solid var(--slider-fill-color);border-radius:50%;box-shadow:var(--shadow-dropdown);cursor:pointer;height:var(--slider-thumb);width:var(--slider-thumb)}.ihabdevteam-core-scope .slider::-moz-range-track{background:transparent}.ihabdevteam-core-scope .slider--static{pointer-events:none}.ihabdevteam-core-scope .slider--static::-webkit-slider-thumb{visibility:hidden}.ihabdevteam-core-scope .slider--static::-moz-range-thumb{visibility:hidden}.ihabdevteam-core-scope .slider-wrap{align-items:center;display:flex;gap:10px}.ihabdevteam-core-scope .slider-wrap--label-left,.ihabdevteam-core-scope .slider-wrap--label-right{flex-direction:row}.ihabdevteam-core-scope .slider-wrap--label-left>.slider,.ihabdevteam-core-scope .slider-wrap--label-left>.slider-track-group,.ihabdevteam-core-scope .slider-wrap--label-right>.slider,.ihabdevteam-core-scope .slider-wrap--label-right>.slider-track-group{flex:1;min-width:0}.ihabdevteam-core-scope .slider-wrap--label-bottom,.ihabdevteam-core-scope .slider-wrap--label-top{flex-direction:column;gap:6px}.ihabdevteam-core-scope .slider-wrap--label-left .slider-wrap__value,.ihabdevteam-core-scope .slider-wrap--label-top .slider-wrap__value{order:-1}.ihabdevteam-core-scope .slider-wrap--label-bottom.slider-wrap--align-left,.ihabdevteam-core-scope .slider-wrap--label-top.slider-wrap--align-left{align-items:flex-start}.ihabdevteam-core-scope .slider-wrap--label-bottom.slider-wrap--align-center,.ihabdevteam-core-scope .slider-wrap--label-top.slider-wrap--align-center{align-items:center}.ihabdevteam-core-scope .slider-wrap--label-bottom.slider-wrap--align-right,.ihabdevteam-core-scope .slider-wrap--label-top.slider-wrap--align-right{align-items:flex-end}.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-bottom>.slider,.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-bottom>.slider-track-group,.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-top>.slider,.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-top>.slider-track-group{align-self:stretch}.ihabdevteam-core-scope .slider-wrap__value{font-feature-settings:"tnum";color:var(--color-main);flex-shrink:0;font-variant-numeric:tabular-nums;white-space:nowrap}.ihabdevteam-core-scope .slider-wrap--label-left .slider-wrap__value,.ihabdevteam-core-scope .slider-wrap--label-right .slider-wrap__value{min-width:2.5em;text-align:right}.ihabdevteam-core-scope .slider-track-group{align-items:center;display:flex;gap:8px}.ihabdevteam-core-scope .slider-track-group--horizontal{flex-direction:row}.ihabdevteam-core-scope .slider-track-group--horizontal .slider{flex:1;min-width:0}.ihabdevteam-core-scope .slider-track-group--vertical{flex-direction:column}.ihabdevteam-core-scope .slider-wrap__minmax{font-feature-settings:"tnum";color:var(--color-lightGray);flex-shrink:0;font-variant-numeric:tabular-nums;white-space:nowrap}';oe(r9);function Xd({value:e,onChange:t,min:a=0,max:o=100,step:n=1,orientation:i="horizontal",size:s=24,disabled:c=!1,ariaLabel:d,length:u,className:p,label:h,formatValue:m,labelPos:b,labelAlign:x="right",showMinMax:f=!1,minLabel:C,maxLabel:g,showBgTick:v=!1,showFillTick:y=!1,tickStep:_,tickShape:B="dot"}){t&&!d&&Ua("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const k=Math.min(o,Math.max(a,e)),S=o>a?(k-a)/(o-a):0,w=i==="vertical",A=!t,E=N=>t?.(Number(N.target.value)),L=typeof u=="number"?`${u}px`:u,z={"--slider-ratio":String(S),"--slider-thumb":`${s}px`,...L?w?{height:L}:{width:L}:{}},j=_??n,I=(v||y)&&j>0&&o>a?Math.floor((o-a)/j+1e-6):0;if(I>0&&I<=100){const N=B!=="dash",F=ee=>N?`radial-gradient(circle, ${ee} 0.5px, transparent 1px)`:w?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`,R=N?"2px":"4px",W=[],P=[],Q=[];for(let ee=0;ee<=I;ee++){const Y=ee*j/(o-a);if(Y>1+1e-6)break;const ne=`${((w?1-Y:Y)*100).toFixed(4)}%`,ie=Y<=S+1e-6;if(ie?!y:!v)continue;const se=ie?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";W.push(F(se)),P.push(w?`${R} var(--slider-thumb)`:`var(--slider-thumb) ${R}`),Q.push(w?`center ${ne}`:`${ne} center`)}W.push(w?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),P.push("100% 100%"),Q.push("0 0"),z.backgroundImage=W.join(", "),z.backgroundSize=P.join(", "),z.backgroundPosition=Q.join(", "),z.backgroundRepeat="no-repeat"}const D=m?m(k):h==="percent"?`${Math.round(o>a?(k-a)/(o-a)*100:0)}%`:h==="count"?`${k} / ${o}`:k===a&&C?C:k===o&&g?g:void 0,T=r.jsx("input",{type:"range",className:Te("slider",`slider--${i}`,A&&"slider--static",!h&&!f&&p),min:a,max:o,step:n,value:k,disabled:c,readOnly:A,tabIndex:A?-1:void 0,"aria-label":d,"aria-valuetext":D,"aria-orientation":i,onChange:E,style:z});if(!h&&!f)return T;const O=r.jsx("span",{className:"slider-wrap__minmax caption-1",children:C??a}),G=r.jsx("span",{className:"slider-wrap__minmax caption-1",children:g??o}),Z=f?r.jsxs("div",{className:Te("slider-track-group",`slider-track-group--${i}`,!h&&p),children:[w?G:O,T,w?O:G]}):T;if(!h)return Z;const H=b??(w?"bottom":"right"),V=`${Math.round(o>a?(k-a)/(o-a)*100:0)}%`,q=m?m(k):h==="percent"?V:h==="count"?`${k} / ${o}`:String(k),$=r.jsx("span",{className:"slider-wrap__value body-3b",children:q});return r.jsxs("div",{className:Te("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${H}`,`slider-wrap--align-${x}`,p),children:[Z,$]})}var n9='.ihabdevteam-core-scope .audio-meter{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .audio-meter__track{--meter-level:0;background:var(--color-darkWhite);border-radius:999px;flex-shrink:0;overflow:hidden;position:relative}.ihabdevteam-core-scope .audio-meter__fill{inset:0;position:absolute}.ihabdevteam-core-scope .audio-meter__value{font-feature-settings:"tnum";color:var(--color-gray);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;width:40px}.ihabdevteam-core-scope .audio-meter--horizontal .audio-meter__track{height:8px;width:120px}.ihabdevteam-core-scope .audio-meter--horizontal .audio-meter__fill{background:linear-gradient(to right,var(--color-success) 0,var(--color-success) 55%,var(--color-warn) 80%,var(--color-error) 100%);transform:scaleX(var(--meter-level));transform-origin:left}.ihabdevteam-core-scope .audio-meter--vertical{flex-direction:column}.ihabdevteam-core-scope .audio-meter--vertical .audio-meter__track{height:120px;width:8px}.ihabdevteam-core-scope .audio-meter--vertical .audio-meter__fill{background:linear-gradient(to top,var(--color-success) 0,var(--color-success) 55%,var(--color-warn) 80%,var(--color-error) 100%);transform:scaleY(var(--meter-level));transform-origin:bottom}.ihabdevteam-core-scope .audio-meter.audio-meter--label-left,.ihabdevteam-core-scope .audio-meter.audio-meter--label-right{flex-direction:row}.ihabdevteam-core-scope .audio-meter.audio-meter--label-bottom,.ihabdevteam-core-scope .audio-meter.audio-meter--label-top{flex-direction:column}.ihabdevteam-core-scope .audio-meter--label-left .audio-meter__value,.ihabdevteam-core-scope .audio-meter--label-top .audio-meter__value{order:-1}.ihabdevteam-core-scope .audio-meter--label-bottom.audio-meter--align-left,.ihabdevteam-core-scope .audio-meter--label-top.audio-meter--align-left{align-items:flex-start}.ihabdevteam-core-scope .audio-meter--label-bottom.audio-meter--align-center,.ihabdevteam-core-scope .audio-meter--label-top.audio-meter--align-center{align-items:center}.ihabdevteam-core-scope .audio-meter--label-bottom.audio-meter--align-right,.ihabdevteam-core-scope .audio-meter--label-top.audio-meter--align-right{align-items:flex-end}';oe(n9);const i9=.86,s9=250,Jd=(e,t,a,o)=>Math.round(Math.min(o,Math.max(a,e-t))),Qd=(e,t,a,o)=>{const n=Jd(e,t,a,o);return`${n<0?"-":"+"}${Math.abs(n)} dB`};function Ri({analyser:e,audioElement:t,orientation:a="horizontal",length:o,label:n,labelPos:i,labelAlign:s="right",floorDb:c=-60,refDb:d=-35,displayMin:u=-5,displayMax:p=25,className:h,ariaLabel:m}){const b=l.useRef(null),x=l.useRef(null),f=l.useRef(null),C=l.useRef(null),[g,v]=l.useState(null);l.useEffect(()=>{const k=T=>{const O=Qd(T,d,u,p);f.current&&(f.current.textContent=O);const G=b.current;G&&(G.setAttribute("aria-valuenow",String(Jd(T,d,u,p))),G.setAttribute("aria-valuetext",O))},S=e??Ms(t)??(g&&g.el===t?g.node:null),w=x.current;if(!S||!w){w?.style.setProperty("--meter-level","0"),k(c);let T=!1;return!e&&t&&Zo(t).then(O=>{!T&&O&&v({el:t,node:O})}),()=>{T=!0}}Ir();const A=new Float32Array(S.fftSize);let E=0,L=0,z=0,j=0,I=null;const D=T=>{const O=$s(S,A);E=O>E?O:E*i9;const G=E>1e-5?20*Math.log10(E):-1/0,Z=Math.max(c,G),H=Z-d,V=Math.min(1,Math.max(0,(H-u)/(p-u)));if(w.style.setProperty("--meter-level",V.toFixed(3)),L+=Z,z+=1,T-j>=s9){const q=L/z;I=I==null?q:I*.6+q*.4,k(I),L=0,z=0,j=T}C.current=requestAnimationFrame(D)};return C.current=requestAnimationFrame(D),()=>{C.current!=null&&cancelAnimationFrame(C.current),C.current=null}},[e,t,g,c,d,u,p]);const y=typeof o=="number"?`${o}px`:o,_=r.jsx("div",{className:"audio-meter__track",style:y?a==="vertical"?{height:y}:{width:y}:{},children:r.jsx("div",{ref:x,className:"audio-meter__fill"})}),B=i??(a==="vertical"?"bottom":"right");return r.jsxs("div",{ref:b,className:Te("audio-meter",`audio-meter--${a}`,n&&`audio-meter--label-${B}`,n&&`audio-meter--align-${s}`,h),role:"meter","aria-label":m,"aria-valuemin":u,"aria-valuemax":p,"aria-valuenow":Jd(c,d,u,p),"aria-valuetext":Qd(c,d,u,p),children:[_,n&&r.jsx("span",{ref:f,className:"audio-meter__value caption-2",children:Qd(c,d,u,p)})]})}const vf=260;function eu({message:e,position:t,duration:a,onClose:o}){const[n,i]=l.useState(!1),[s,c]=l.useState(!1),d=l.useRef(s),u=l.useRef(n);l.useEffect(()=>{d.current=s},[s]),l.useEffect(()=>{u.current=n},[n]);const p=l.useRef(null),h=l.useRef(""),m=l.useRef(o);l.useEffect(()=>{m.current=o});const b=a,x=l.useRef(null),f=l.useRef(0),C=l.useRef(0),g=l.useRef(!1),v=l.useRef(null),y=l.useRef(null),_=l.useRef(null),B=l.useRef(null),k=l.useRef(()=>{});k.current=A=>{A<0||(f.current=Date.now(),C.current=A,x.current=setTimeout(()=>{x.current=null,i(!1),v.current=setTimeout(()=>{c(!1);try{m.current()}catch{}},vf)},A))};const S=l.useCallback(()=>{g.current||!x.current||(g.current=!0,clearTimeout(x.current),x.current=null,C.current=Math.max(0,C.current-(Date.now()-f.current)))},[]),w=l.useCallback(()=>{g.current&&(g.current=!1,k.current(C.current))},[]);return l.useEffect(()=>{if(e!==h.current&&(x.current&&(clearTimeout(x.current),x.current=null),v.current&&(clearTimeout(v.current),v.current=null)),e){if(u.current)return b>0&&!x.current&&(g.current?C.current=b:k.current(b)),h.current=e,()=>{x.current&&(clearTimeout(x.current),x.current=null),v.current&&(clearTimeout(v.current),v.current=null)};const A=()=>{const E=p.current;if(E)try{E.classList.remove("is-visible"),E.style.transition="none",t==="top"?E.style.transform="translateX(-50%) translateY(-16px)":E.style.transform="translateX(-50%) translateY(16px)",E.style.opacity="0",E.offsetWidth,E.style.transition="",E.classList.add("is-visible"),B.current&&clearTimeout(B.current),B.current=setTimeout(()=>{B.current=null;try{E.style.opacity="",E.style.transform="",E.style.transition=""}catch{}},60)}catch{}};d.current?(A(),i(!0)):(c(!0),y.current=requestAnimationFrame(()=>{_.current=requestAnimationFrame(()=>{A(),i(!0)})})),b>0&&(g.current=!1,k.current(b))}else i(!1),v.current=setTimeout(()=>c(!1),vf);return h.current=e,()=>{x.current&&clearTimeout(x.current),v.current&&clearTimeout(v.current),y.current&&cancelAnimationFrame(y.current),_.current&&cancelAnimationFrame(_.current),B.current&&clearTimeout(B.current),x.current=null,v.current=null,y.current=null,_.current=null,B.current=null}},[e,b,t]),{mounted:s,showing:n,popupRef:p,pause:S,resume:w}}var l9=".ihabdevteam-core-scope .toast{left:50%;pointer-events:none;position:fixed;transform:translateX(-50%);will-change:transform,opacity;z-index:var(--z-toast)}.ihabdevteam-core-scope .toast__inner{align-items:center;background:var(--color-main);border-radius:var(--radius-m);box-shadow:var(--shadow-popup);box-sizing:border-box;color:#fff;display:flex;justify-content:center;margin:0;max-width:min(520px,calc(100vw - 32px));min-height:60px;min-width:min(360px,calc(100vw - 32px));overflow:hidden;padding:var(--spacing-content);pointer-events:auto;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .toast__inner--normal{background:linear-gradient(var(--color-white),var(--color-white)) padding-box,linear-gradient(135deg,var(--color-main),var(--color-sub)) border-box;border:2px solid transparent;color:var(--color-black)}.ihabdevteam-core-scope .toast__inner--notice{background:linear-gradient(135deg,var(--color-main),var(--color-sub));color:#fff}.ihabdevteam-core-scope .toast__inner--warning{background:var(--color-error);color:#fff}.ihabdevteam-core-scope .toast--top{opacity:0;top:18px;transform:translateX(-50%) translateY(-100%);transition:transform .26s cubic-bezier(.22,.9,.3,1),opacity .18s ease-out}.ihabdevteam-core-scope .toast:not(.is-visible) .toast__inner{pointer-events:none}.ihabdevteam-core-scope .toast--top.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}.ihabdevteam-core-scope .toast--bottom{bottom:18px;opacity:0;transform:translateX(-50%) translateY(100%);transition:transform .26s cubic-bezier(.22,.9,.3,1),opacity .18s ease-out}.ihabdevteam-core-scope .toast--bottom.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}";oe(l9);function Fo({message:e="",position:t="top",type:a="normal",onClose:o=()=>{},duration:n=2e3}){const{mounted:i,showing:s,popupRef:c,pause:d,resume:u}=eu({message:e,position:t,duration:n,onClose:o}),p=l.useRef(null),[h,m]=l.useState(!1);if(l.useEffect(()=>{s?m(!0):i||m(!1)},[s,i]),!i)return null;const b=a==="notice"||a==="warning"?a:"normal",x=r.jsx("div",{ref:c,className:`toast toast--${t} ${s?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:f=>{p.current=f.pointerType},onMouseEnter:()=>{p.current!=="touch"&&d()},onMouseLeave:u,onFocusCapture:d,onBlurCapture:u,children:r.jsx("div",{className:`toast__inner toast__inner--${b} body-2`,"aria-hidden":h||s?void 0:!0,children:e})});return typeof document<"u"?ca.createPortal(x,document.body):x}var c9='.ihabdevteam-core-scope .progress-bar{flex-shrink:0}.ihabdevteam-core-scope .progress-bar__track{background:var(--progress-bar-track,var(--color-darkWhite));border-radius:999px;height:8px;height:var(--progress-bar-height,8px);overflow:hidden;width:100%}.ihabdevteam-core-scope .progress-bar__fill{background:var(--progress-bar-fill,var(--color-main));border-radius:inherit;height:100%;transition:width .3s ease;transition:width var(--progress-bar-duration,.3s) ease}.ihabdevteam-core-scope .progress-bar__label{font-feature-settings:"tnum";color:var(--progress-bar-label-color,var(--color-gray));font-variant-numeric:tabular-nums}.ihabdevteam-core-scope .progress-bar--4{--progress-bar-height:4px}.ihabdevteam-core-scope .progress-bar--8{--progress-bar-height:8px}.ihabdevteam-core-scope .progress-bar--16{--progress-bar-height:16px}.ihabdevteam-core-scope .progress-bar--24{--progress-bar-height:24px}.ihabdevteam-core-scope .progress-bar--32{--progress-bar-height:32px}.ihabdevteam-core-scope .progress-bar--label-left,.ihabdevteam-core-scope .progress-bar--label-right{align-items:center;display:flex;gap:10px}.ihabdevteam-core-scope .progress-bar--label-left>.progress-bar__track,.ihabdevteam-core-scope .progress-bar--label-right>.progress-bar__track{flex:1;min-width:0}.ihabdevteam-core-scope .progress-bar--label-left .progress-bar__label{order:-1}.ihabdevteam-core-scope .progress-bar--label-bottom,.ihabdevteam-core-scope .progress-bar--label-top{display:flex;flex-direction:column;gap:6px}.ihabdevteam-core-scope .progress-bar--label-top .progress-bar__label{order:-1}.ihabdevteam-core-scope .progress-bar--label-bottom.progress-bar--align-left,.ihabdevteam-core-scope .progress-bar--label-top.progress-bar--align-left{align-items:flex-start}.ihabdevteam-core-scope .progress-bar--label-bottom.progress-bar--align-center,.ihabdevteam-core-scope .progress-bar--label-top.progress-bar--align-center{align-items:center}.ihabdevteam-core-scope .progress-bar--label-bottom.progress-bar--align-right,.ihabdevteam-core-scope .progress-bar--label-top.progress-bar--align-right{align-items:flex-end}.ihabdevteam-core-scope .progress-bar--label-bottom>.progress-bar__track,.ihabdevteam-core-scope .progress-bar--label-top>.progress-bar__track{align-self:stretch}.ihabdevteam-core-scope .progress-bar--label-inside{position:relative}.ihabdevteam-core-scope .progress-bar--label-inside .progress-bar__label{pointer-events:none;position:absolute;top:50%}.ihabdevteam-core-scope .progress-bar--label-on-fill .progress-bar__label{color:var(--progress-bar-label-color-on-fill,var(--color-deepWhite))}.ihabdevteam-core-scope .progress-bar--label-inside.progress-bar--align-left .progress-bar__label{left:10px;transform:translateY(-50%)}.ihabdevteam-core-scope .progress-bar--label-inside.progress-bar--align-center .progress-bar__label{left:50%;transform:translate(-50%,-50%)}.ihabdevteam-core-scope .progress-bar--label-inside.progress-bar--align-right .progress-bar__label{right:10px;transform:translateY(-50%)}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .progress-bar__fill{transition:none}}';oe(c9);const d9=24;function xf({value:e,max:t=100,size:a=8,color:o,trackColor:n,label:i,formatValue:s,labelPos:c,labelAlign:d="right",ariaLabel:u,className:p}){const h=Number.isFinite(t)&&t>0?t:1,m=Math.max(0,Math.min(Number.isFinite(e)?e:0,h)),b=m/h*100,x=Number.isFinite(t)&&t>0?t:0,f=c??(a>=d9?"inside":"bottom"),C=f==="center"?"inside":f,g=C==="inside"&&(d==="left"?b>=15:d==="center"?b>=50:b>=85),v={};return o&&(v["--progress-bar-fill"]=o),n&&(v["--progress-bar-track"]=n),r.jsxs("div",{className:Te("progress-bar",`progress-bar--${a}`,`progress-bar--label-${C}`,i&&`progress-bar--align-${d}`,i&&g&&"progress-bar--label-on-fill",p),style:v,children:[r.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":m,"aria-valuemin":0,"aria-valuemax":x,"aria-valuetext":i?s?s(m):i==="percent"?void 0:i==="raw"?String(m):`${m} / ${x}`:void 0,"aria-label":u,children:r.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&r.jsx("span",{className:"progress-bar__label caption-1b",children:s?s(m):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(m):`${m} / ${x}`})]})}var u9=".ihabdevteam-core-scope .progress-indicator{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .progress-indicator-dot{align-items:center;background:var(--pi-inactive-bg,var(--color-whiteLine));border-radius:var(--radius-card);color:var(--pi-inactive-color,var(--color-gray));display:inline-flex;height:28px;justify-content:center;width:52px}.ihabdevteam-core-scope .progress-indicator-dot.done{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .progress-indicator-dot.active{background:var(--color-sub);color:#fff}@media (max-width:1024px){.ihabdevteam-core-scope .progress-indicator{gap:6px}.ihabdevteam-core-scope .progress-indicator-dot{height:28px;width:44px}}@media (max-width:767px){.ihabdevteam-core-scope .progress-indicator--mobile .progress-indicator-dot{height:28px;padding:0 12px;width:auto}}.ihabdevteam-core-scope .progress-indicator--dot{flex-wrap:wrap;gap:var(--spacing-xs);max-width:100%;min-width:0}.ihabdevteam-core-scope .progress-indicator-dot--dot{background:var(--pi-inactive-bg,var(--color-darkWhite));border-radius:var(--radius-full);height:8px;transition:width .2s ease-out,background .2s ease-out;width:8px}.ihabdevteam-core-scope .progress-indicator-dot--dot.done{background:color-mix(in srgb,var(--color-main) 40%,transparent)}.ihabdevteam-core-scope .progress-indicator-dot--dot.active{background:var(--color-main);width:24px}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .progress-indicator-dot--dot{transition:none}}";oe(u9);const Cf={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},p9="rgba(255, 255, 255, 0.16)";function tu({max:e,index:t,inactiveBg:a,inactiveColor:o,transparent:n,variant:i="numbered",announce:s=!1,ariaLabel:c}){const{t:d}=Ce.useTranslation(),u=na("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(t)?Math.max(0,Math.min(t,e-1)):0,h=c??d("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),m={};if(a&&(m["--pi-inactive-bg"]=a),o&&(m["--pi-inactive-color"]=o),n&&(a||(m["--pi-inactive-bg"]=p9),o||(m["--pi-inactive-color"]="var(--color-white)")),i==="dot")return r.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:m,role:s?"status":"img","aria-label":s?void 0:h,children:[s&&r.jsx("span",{style:Cf,children:h}),Array.from({length:e}).map((x,f)=>r.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<p?" done":f===p?" active":""}`},f))]});const b=s?r.jsx("span",{role:"status",style:Cf,children:h}):null;return u?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:m,role:"list","aria-label":h,children:r.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),b]}):r.jsxs(r.Fragment,{children:[b,r.jsx("div",{className:"progress-indicator",style:m,role:"list","aria-label":h,children:Array.from({length:e}).map((x,f)=>r.jsx("span",{role:"listitem","aria-current":f===p?"step":void 0,className:`progress-indicator-dot ${f<p?" done":f===p?" active":""} body-3`,children:f+1},f))})]})}function h9(e){if(!e)return[];const t=[];let a=0,o="";for(const n of e.trim()){if(n==="("?a++:n===")"&&a--,/\s/.test(n)&&a===0){o&&(t.push(o),o="");continue}o+=n}return o&&t.push(o),t}var m9=".ihabdevteam-core-scope .table-wrap{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);overflow-x:auto}.ihabdevteam-core-scope .table{width:100%}.ihabdevteam-core-scope .table-header{align-items:center;border-bottom:1px solid var(--color-whiteLine);box-sizing:border-box;display:flex;gap:8px;padding:0 16px;text-align:left;width:100%}.ihabdevteam-core-scope .table-header[role=button]{cursor:pointer;transition:background .15s}.ihabdevteam-core-scope .table-header[role=button]:hover{background:var(--color-darkWhite)}.ihabdevteam-core-scope .table-header__chevron{align-items:center;color:var(--color-gray);display:flex;flex-shrink:0}.ihabdevteam-core-scope .table-header__icon{align-items:center;color:var(--t-item-fg,var(--color-main));display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .table-header__title{color:var(--color-darkGray)}.ihabdevteam-core-scope .table-header__count{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .table-header__actions{align-items:center;display:flex;flex-shrink:0;gap:4px;margin-left:auto}.ihabdevteam-core-scope .table-wrap--collapsed .table-header{border-bottom:none}.ihabdevteam-core-scope .table-wrap--dragover{outline:2px dashed var(--color-main);outline-offset:-2px}.ihabdevteam-core-scope .table-wrap--dragover .table-header{background:var(--color-darkWhite)}.ihabdevteam-core-scope .table-fields-strip{position:relative}.ihabdevteam-core-scope .table-wrap--resizable .table-fields,.ihabdevteam-core-scope .table-wrap--resizable .table-row{padding-right:40px}.ihabdevteam-core-scope .table-fields__reset{position:absolute;right:2px;top:50%;transform:translateY(-50%)}.ihabdevteam-core-scope .table-fields{border-bottom:1px solid var(--color-whiteLine);display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));grid-template-columns:var(--table-grid-cols-override,var(--table-grid-cols,repeat(auto-fit,minmax(80px,1fr))))}.ihabdevteam-core-scope .table-body{display:flex;flex-direction:column}.ihabdevteam-core-scope .table-row-wrap{border-bottom:1px solid var(--color-darkWhite);display:flex;flex-direction:column}.ihabdevteam-core-scope .table-row-wrap:last-child{border-bottom:none}.ihabdevteam-core-scope .table-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));grid-template-columns:var(--table-grid-cols-override,var(--table-grid-cols,repeat(auto-fit,minmax(80px,1fr))))}.ihabdevteam-core-scope .table-row-expand{background:var(--color-darkWhite);border-top:1px solid var(--color-whiteLine);display:flex;flex-wrap:wrap;gap:12px;padding:16px 20px}.ihabdevteam-core-scope .table-wrap--small .table-fields,.ihabdevteam-core-scope .table-wrap--small .table-header,.ihabdevteam-core-scope .table-wrap--small .table-row{min-height:48px}.ihabdevteam-core-scope .table-wrap--medium .table-fields,.ihabdevteam-core-scope .table-wrap--medium .table-header,.ihabdevteam-core-scope .table-wrap--medium .table-row{min-height:56px}.ihabdevteam-core-scope .table-wrap--large .table-fields,.ihabdevteam-core-scope .table-wrap--large .table-header,.ihabdevteam-core-scope .table-wrap--large .table-row{min-height:64px}.ihabdevteam-core-scope .table-fields.table-fields--groups{min-height:34px}.ihabdevteam-core-scope .table-row--clickable{cursor:pointer;transition:background .1s,box-shadow .1s}.ihabdevteam-core-scope .table-row--clickable:hover{background:var(--color-darkWhite)}.ihabdevteam-core-scope .table-row--draggable{cursor:grab}.ihabdevteam-core-scope .table-row--draggable:active{cursor:grabbing}.ihabdevteam-core-scope .table-row--dragging{opacity:.4}.ihabdevteam-core-scope .table-row--empty,.ihabdevteam-core-scope .table-row--loading{align-items:center;display:flex;justify-content:center}.ihabdevteam-core-scope .table-row--empty{color:var(--color-lightGray);padding:0 20px}.ihabdevteam-core-scope .table-wrap--small .table-row--empty,.ihabdevteam-core-scope .table-wrap--small .table-row--loading{min-height:48px}.ihabdevteam-core-scope .table-wrap--medium .table-row--empty,.ihabdevteam-core-scope .table-wrap--medium .table-row--loading{min-height:56px}.ihabdevteam-core-scope .table-wrap--large .table-row--empty,.ihabdevteam-core-scope .table-wrap--large .table-row--loading{min-height:64px}";oe(m9);var b9=".ihabdevteam-core-scope .table-cell{align-items:center;color:var(--color-darkGray);display:flex;min-width:0;overflow:hidden;overflow-wrap:break-word;padding:0 16px;word-break:break-word}";oe(b9);var g9='.ihabdevteam-core-scope .table-field{color:var(--color-gray);padding:0 16px}.ihabdevteam-core-scope .table-field,.ihabdevteam-core-scope .table-field__button{align-items:center;cursor:pointer;display:flex;gap:0;min-width:0;overflow:hidden;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ihabdevteam-core-scope .table-field__button{align-self:stretch;background:none;border:0;color:inherit;flex:1 1 auto;font:inherit;margin:0;padding:0}.ihabdevteam-core-scope .table-field--resizable{position:relative}.ihabdevteam-core-scope .table-field__resizer{align-items:center;cursor:col-resize;display:flex;height:100%;justify-content:flex-end;position:absolute;right:0;top:0;touch-action:none;width:10px;z-index:3}.ihabdevteam-core-scope .table-field__resizer:after{background:var(--color-whiteLine);content:"";height:55%;transition:background-color .12s,width .12s,height .12s;width:1px}.ihabdevteam-core-scope .table-field__resizer:active:after,.ihabdevteam-core-scope .table-field__resizer:hover:after{background:var(--color-main);height:100%;width:2px}.ihabdevteam-core-scope .table-field--sorted,.ihabdevteam-core-scope .table-field:hover{color:var(--color-main)}.ihabdevteam-core-scope .table-field__sort-arrow{flex-shrink:0}';oe(g9);function f9({children:e,className:t,style:a}){return r.jsx("div",{className:t?`table-cell ${t}`:"table-cell",style:a,children:e})}function au({variant:e="default",children:t,className:a,draggable:o,onClick:n,onMouseEnter:i,onMouseLeave:s,onDragStart:c,onDragEnd:d,expandedContent:u}){const p=l.useCallback(h=>{n&&h.target===h.currentTarget&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),n())},[n]);return e==="loading"?r.jsx("div",{className:"table-row-wrap",children:r.jsx("div",{className:"table-row table-row--loading",children:r.jsx(xr,{size:28})})}):e==="empty"?r.jsx("div",{className:"table-row-wrap",children:r.jsx("div",{className:"table-row table-row--empty body-3",children:t})}):r.jsxs("div",{className:"table-row-wrap",children:[r.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:o,onClick:n,onKeyDown:n?p:void 0,onMouseEnter:i,onMouseLeave:s,onDragStart:c,onDragEnd:d,role:n?"button":void 0,tabIndex:n?0:void 0,children:t}),u&&r.jsx("div",{className:"table-row-expand",children:u})]})}function v9({dir:e}){return r.jsx(e==="asc"?vp:fp,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function x9({children:e,onClick:t,className:a,sortDir:o,ariaSort:n,onResizeStart:i}){const s=r.jsxs(r.Fragment,{children:[e,o&&r.jsx(v9,{dir:o})]});return r.jsxs("div",{onClick:t,role:"columnheader","aria-sort":n,className:Te("table-field body-3",a,o?"table-field--sorted":"",i?"table-field--resizable":""),children:[t?r.jsx("button",{type:"button",className:"table-field__button",children:s}):s,i&&r.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:c=>c.stopPropagation(),"aria-hidden":"true"})]})}function Pi({fields:e=[],headerGroups:t,items:a=[],renderRow:o,onRowClick:n,isRowClickable:i,onRowMouseEnter:s,onRowMouseLeave:c,onRowDragStart:d,onRowDragEnd:u,draggingId:p,gridTemplateColumns:h,mobileGridTemplateColumns:m,resizable:b=!1,resizeMode:x="grow",resizeStorageKey:f,size:C="small",title:g,icon:v,count:y,collapsed:_=!1,onToggleCollapse:B,headerActions:k,empty:S,loading:w,dragOver:A=!1,onDragOver:E,onDragLeave:L,onDrop:z,renderExpandedRow:j,expandedId:I}){const{t:D}=Ce.useTranslation(),T=na("(max-width: 767px)"),O=m&&T?m:null,G=b&&!T,Z=48,H=l.useRef(()=>Z),V=f?`table-cols:${f}`:null,q=l.useRef(null),$=l.useRef(()=>!1),N=l.useRef([]),F=l.useRef(null),R=ae=>{if(!ae||typeof window>"u")return null;try{const ge=JSON.parse(window.localStorage.getItem(ae)??"null");return Array.isArray(ge)&&ge.length>0&&ge.every(Me=>typeof Me=="number"&&Number.isFinite(Me)&&Me>0)?ge:null}catch{return null}},[W,P]=l.useState(()=>R(V)),[Q,ee]=l.useState(V);Q!==V&&(ee(V),P(R(V)));const Y=l.useRef(W);l.useEffect(()=>{Y.current=W},[W]);const ne=l.useCallback(ae=>{const ge=F.current;if(!ge)return;const Me=Y.current;if(Me){const $e=[...Me];if(ge.next!=null&&ge.startWNext!=null){const Ye=ae.clientX-ge.startX,ze=Math.max(H.current(ge.index)-ge.startW,Math.min(ge.startWNext-H.current(ge.next),Ye));$e[ge.index]=ge.startW+ze,$e[ge.next]=ge.startWNext-ze}else $e[ge.index]=Math.max(H.current(ge.index),ge.startW+(ae.clientX-ge.startX));Y.current=$e,P($e)}},[]),ie=l.useCallback(()=>{if(F.current=null,window.removeEventListener("pointermove",ne),window.removeEventListener("pointerup",ie),window.removeEventListener("pointercancel",ie),document.body.style.cursor="",document.body.style.userSelect="",V&&Y.current)try{window.localStorage.setItem(V,JSON.stringify(Y.current))}catch{}},[ne,V]),se=l.useCallback((ae,ge)=>{ge.preventDefault(),ge.stopPropagation();const Me=q.current;if(!Me)return;const $e=Array.from(Me.children).map(ze=>ze.getBoundingClientRect().width),Ye=x==="fit"?e.findIndex((ze,Ue)=>Ue>ae&&ze.resizable!==!1):-1;F.current=Ye>=0?{index:ae,startX:ge.clientX,startW:$e[ae],next:Ye,startWNext:$e[Ye]}:{index:ae,startX:ge.clientX,startW:$e[ae]},Y.current=$e,P($e),window.addEventListener("pointermove",ne),window.addEventListener("pointerup",ie),window.addEventListener("pointercancel",ie),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[ne,ie,x,e]),ce=l.useCallback(()=>{const ae=q.current,ge=ae?.closest(".table-wrap");if(!ae||!ge)return;const Me=ge.style.getPropertyValue("--table-grid-cols");ge.style.setProperty("--table-grid-cols",e.map((Qe,De)=>$.current(De)?N.current[De]:"max-content").join(" "));const $e=Array.from(ge.querySelectorAll(".table-row")).filter(Qe=>!Qe.classList.contains("table-row--loading")&&!Qe.classList.contains("table-row--empty")),Ye=e.map((Qe,De)=>{let Le=ae.children[De]?.getBoundingClientRect().width??0;for(const Ie of $e){const pt=Ie.children[De];pt&&(Le=Math.max(Le,pt.getBoundingClientRect().width))}const ke=$.current(De)?parseFloat(N.current[De]):NaN;return Number.isFinite(ke)?ke:Math.max(H.current(De),Math.ceil(Le))}),ze=window.getComputedStyle(ae),Ue=ae.clientWidth-(parseFloat(ze.paddingLeft)||0)-(parseFloat(ze.paddingRight)||0);Me?ge.style.setProperty("--table-grid-cols",Me):ge.style.removeProperty("--table-grid-cols");let re=Ye;const Oe=Ye.reduce((Qe,De,Le)=>Qe+($.current(Le)?De:0),0),Fe=Ye.reduce((Qe,De,Le)=>Qe+($.current(Le)?0:De),0),Ze=Ue-Oe;if(Ue>0&&Fe>0&&Ze>0){const Qe=Ze/Fe;re=Ye.map((Le,ke)=>$.current(ke)?Le:Math.max(H.current(ke),Math.round(Le*Qe)));const De=Math.round(Ze-re.reduce((Le,ke,Ie)=>Le+($.current(Ie)?0:ke),0));if(De!==0){let Le=-1;re.forEach((ke,Ie)=>{!$.current(Ie)&&(Le<0||ke>re[Le])&&(Le=Ie)}),Le>=0&&(re[Le]=Math.max(H.current(Le),re[Le]+De))}}if(P(re),V)try{window.localStorage.setItem(V,JSON.stringify(re))}catch{}},[e,x,V]);l.useEffect(()=>()=>{F.current&&(window.removeEventListener("pointermove",ne),window.removeEventListener("pointerup",ie),window.removeEventListener("pointercancel",ie),document.body.style.cursor="",document.body.style.userSelect="")},[ne,ie]);const U=h9(h),le=U.filter(ae=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(ae));le.length>0&&Ua(`table-content-track:${h}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${le.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${h})`);const be=e.findIndex(ae=>!!ae.sortDir);e.filter(ae=>!!ae.sortDir).length>1&&Ua("table-multi-sort","[ihabdevteam-core] Table \uC758 fields \uC5D0 sortDir \uC774 \uB458 \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. aria-sort \uB294 \uD45C \uD558\uB098\uC5D0 \uD55C \uCE78\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC5B4 \uCCAB \uCE78\uB9CC \uBC29\uD5A5\uC73C\uB85C \uC54C\uB9AC\uACE0 \uB098\uBA38\uC9C0\uB294 none \uC73C\uB85C \uB461\uB2C8\uB2E4.");const ye=ae=>ae===be?e[ae].sortDir==="asc"?"ascending":"descending":e[ae].onClick?"none":void 0,xe=ae=>/^\d+(\.\d+)?px$/.test(U[ae]??""),ue=ae=>{const ge=U[ae]??"",Me=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(ge)??/^(\d+(?:\.\d+)?)px$/.exec(ge);return Me?parseFloat(Me[1]):Z};$.current=xe,H.current=ue,N.current=U;const _e=ae=>x==="fit"&&!xe(ae)?"fr":"px",Ae=W&&W.length===e.length&&!T&&(x==="fit"||a.length>0),X=O??(Ae?e.map((ae,ge)=>ae.resizable===!1&&U[ge]?U[ge]:`${W[ge]}${_e(ge)}`).join(" "):h),we=X?{"--table-grid-cols":X}:void 0,fe=g!==void 0;return r.jsx("div",{className:`table-wrap table-wrap--${C}${G?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${_?" table-wrap--collapsed":""}`,style:we,onDragOver:E,onDragLeave:L,onDrop:z,children:r.jsxs("div",{className:"table body-2",children:[fe&&r.jsxs("div",{className:"table-header",onClick:B,role:B?"button":void 0,tabIndex:B?0:void 0,"aria-expanded":B?!_:void 0,onKeyDown:B?ae=>{ae.target===ae.currentTarget&&(ae.key==="Enter"||ae.key===" ")&&(ae.preventDefault(),B())}:void 0,children:[B&&r.jsx(he,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:_?"chevron-right":"chevron-down",ariaLabel:_?D("common.expand","\uD3BC\uCE58\uAE30"):D("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),v&&r.jsx(Je,{icon:v,label:typeof g=="string"?g:void 0,className:"table-header__icon"}),r.jsx("span",{className:"table-header__title h5b",children:g}),y!==void 0&&r.jsx("span",{className:"table-header__count body-3b",children:y}),k&&r.jsx("span",{className:"table-header__actions",onClick:ae=>ae.stopPropagation(),children:k})]}),!_&&r.jsxs(r.Fragment,{children:[t&&t.length>0&&r.jsx("div",{className:"table-fields table-fields--groups",children:t.map((ae,ge)=>r.jsx("div",{className:Te("table-field body-3",ae.className),style:{gridColumn:`span ${ae.span}`},children:ae.label},ge))}),r.jsxs("div",{className:Te("table-fields-strip",G&&"table-fields-strip--resizable"),children:[r.jsx("div",{className:"table-fields",ref:q,children:e.map((ae,ge)=>r.jsx(x9,{onClick:ae.onClick,className:ae.className,sortDir:ae.sortDir,ariaSort:ye(ge),onResizeStart:G&&ge<e.length-1&&ae.resizable!==!1&&(x!=="fit"||e.some((Me,$e)=>$e>ge&&Me.resizable!==!1))?Me=>se(ge,Me):void 0,children:ae.label},ge))}),G&&r.jsx(he,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:D("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:D("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:ce})]}),r.jsx("div",{className:"table-body",children:w?r.jsx(au,{variant:"loading"}):a.length===0&&S?r.jsx(au,{variant:"empty",children:S}):a.map((ae,ge)=>{const Me=p!=null&&ae.id===p,$e=!!n&&(i?i(ae):!0),Ye=I!=null&&ae.id!=null&&(I instanceof Set?I.has(ae.id)||[...I].some(ze=>String(ze)===String(ae.id)):String(ae.id)===String(I));return r.jsx(au,{className:`${$e?" table-row--clickable":""}${d?" table-row--draggable":""}${Me?" table-row--dragging":""}`.trim(),draggable:!!d,onClick:$e?()=>n(ae):void 0,onMouseEnter:s?ze=>s(ae,ze):void 0,onMouseLeave:c?ze=>c(ae,ze):void 0,onDragStart:d?ze=>d(ae,ze):void 0,onDragEnd:u?ze=>u(ae,ze):void 0,expandedContent:Ye&&j?j(ae):void 0,children:o(ae).map((ze,Ue)=>r.jsx(f9,{className:ze.className,style:ze.style,children:ze.content},Ue))},ae.id!=null?`${typeof ae.id}:${ae.id}`:`__idx:${ge}`)})})]})]})})}function _f(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const _r=e=>e==null?"":String(e).trim();function ou(e,t,a){const o=[_r(e),_r(t),_r(a)];for(;o.length>0&&o[o.length-1]==="";)o.pop();return o.join(".")}function C9(e,t,a){const o=_r(e);return o?`${o}-${_r(t).padStart(2,"0")}-${_r(a).padStart(2,"0")}`:""}var _9=".ihabdevteam-core-scope .dlp-popup .popup-panel{max-width:600px}.ihabdevteam-core-scope .dlp-row{border-bottom:1px solid var(--color-darkWhite);cursor:pointer;transition:background .1s}.ihabdevteam-core-scope .dlp-row:hover{background:#f5f5f5;background:var(--color-hoverBg,#f5f5f5)}.ihabdevteam-core-scope .dlp-row:last-child{border-bottom:none}.ihabdevteam-core-scope .dlp-date{color:var(--color-lightGray);white-space:nowrap}.ihabdevteam-core-scope .dlp-side-table{margin-top:0}.ihabdevteam-core-scope .dlp-worn-check{align-items:center;display:inline-flex}.ihabdevteam-core-scope .dlp-row-actions{align-items:center;display:flex;justify-content:flex-end}";oe(_9);const y9={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function w9(e,t){const a=y9[e];return a?t(`device.type.${a}`,{defaultValue:e}):e}function yf(e,t){return t!=="wornAt"?String(e[t]??""):C9(e.wornYear,e.wornMonth,e.wornDay)}function wf({rows:e,loading:t,onSelect:a,onDelete:o,onWear:n,onRelease:i,onAdd:s}){const{t:c}=Ce.useTranslation(),d=f=>f==="\uC88C"?c("device.direction.left","\uC88C"):c("device.direction.right","\uC6B0"),{\uC815\uB82C:u,\uCE78:p}=Xc(),h=l.useMemo(()=>{if(!u)return e;const{key:f,asc:C}=u;return[...e].sort((g,v)=>{if(f==="worn"){const y=Number(v.worn)-Number(g.worn);return C?y:-y}return Kc(yf(g,f),yf(v,f),C)})},[e,u]),{pageRows:m,pageSizeProps:b,paginationProps:x}=Zc(h,u);return r.jsxs("div",{className:"dlp-side-table",children:[r.jsx(Ti,{count:{value:e.length,unit:c("customers.device.unit","\uAC1C")},pageSize:b,pagination:x,actions:s&&r.jsx(he,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:c("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:s})}),r.jsx(Pi,{loading:t,resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...p(c("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},p(c("device.direction.label","\uBC29\uD5A5"),"side"),p(c("device.deviceType","\uC885\uB958"),"device"),p(c("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),p(c("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),p(c("device.productName","\uC81C\uD488\uBA85"),"productName"),p(c("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...o?[{label:"",resizable:!1}]:[]],items:m.map((f,C)=>({id:f.id??`${f.side}-${C}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${o?" 80px":""}`,renderRow:({row:f})=>[{content:r.jsx("span",{className:"dlp-worn-check",onClick:C=>C.stopPropagation(),children:r.jsx(Vd,{checked:f.worn,disabled:f.worn?!i:!n,ariaLabel:f.worn?c("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):c("customers.device.wear","\uCC29\uC6A9"),onChange:C=>{C?n?.(f):i?.(f)}})})},{content:r.jsx("span",{children:d(f.side)})},{content:f.device?r.jsx(_t,{size:"small",variant:_f(f.device),fill:"soft",label:w9(f.device,c)}):r.jsx("span",{})},{content:r.jsx("span",{children:f.brand})},{content:r.jsx("span",{children:f.fitType||"-"})},{content:r.jsx("span",{children:f.productName||"-"})},{content:r.jsx("span",{className:"dlp-date",children:ou(f.wornYear,f.wornMonth,f.wornDay)||"-"})},...o?[{content:r.jsx("span",{className:"dlp-row-actions",children:r.jsx(he,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:c("common.delete","\uC0AD\uC81C"),onClick:C=>{C?.stopPropagation(),o(f)}})})}]:[]],onRowClick:({row:f})=>a(f),empty:c("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}var k9=`.ihabdevteam-core-scope .calendar-nav{align-items:center;display:flex;gap:var(--spacing-m);justify-content:center;margin-bottom:var(--spacing-m);position:relative}.ihabdevteam-core-scope .calendar-nav__legend{align-items:center;color:var(--color-gray);display:flex;gap:6px;position:absolute;right:0}.ihabdevteam-core-scope .calendar-nav__legend-dot{border-radius:50%;display:inline-block;height:8px;width:8px}.ihabdevteam-core-scope .calendar-nav__legend-dot--main{background:var(--color-main)}.ihabdevteam-core-scope .calendar-nav__legend-dot--sub{background:var(--color-sub)}.ihabdevteam-core-scope .calendar-nav__legend-dot--disabled{background:var(--color-disabled)}.ihabdevteam-core-scope .calendar-nav__button{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);color:var(--color-darkGray);cursor:pointer;display:flex;font-size:18px;height:32px;line-height:1;transition:border-color .15s,color .15s;width:32px}.ihabdevteam-core-scope .calendar-nav__button:hover{border-color:var(--color-main);color:var(--color-main)}.ihabdevteam-core-scope .calendar-nav__title{color:var(--color-darkGray);font-weight:700;min-width:100px;text-align:center}.ihabdevteam-core-scope .calendar-grid{grid-gap:4px;display:grid;gap:4px;grid-template-columns:repeat(7,1fr)}.ihabdevteam-core-scope .calendar-day-header{color:var(--color-lightGray);font-weight:600;padding:6px 0;text-align:center}.ihabdevteam-core-scope .calendar-day-header:first-child{color:var(--color-error)}.ihabdevteam-core-scope .calendar-day-header:last-child{color:var(--color-main)}.ihabdevteam-core-scope .calendar-cell{background:transparent;border-radius:var(--radius-s);box-sizing:border-box;container-type:inline-size;cursor:default;min-height:118px;min-width:0;padding:8px}.ihabdevteam-core-scope .calendar-cell.empty{background:transparent;cursor:default}
859
+ `),f=x===-1?a:a.slice(0,x);i("comment",f),a=a.slice(f.length);continue}const c=a.match(/^\/\*[\s\S]*?\*\//);if(c){i("comment",c[0]),a=a.slice(c[0].length);continue}const d=a.match(/^(`(?:\\.|[^`])*`|"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')/);if(d){i("string",d[0]),a=a.slice(d[0].length);continue}const u=a.match(/^\d+(?:\.\d+)?/);if(u){i("number",u[0]),a=a.slice(u[0].length);continue}const p=a.match(j6);if(p){i("keyword",p[0]),a=a.slice(p[0].length);continue}const h=a.match(/^[A-Za-z_$][A-Za-z0-9_$-]*/);if(h){const x=h[0];i(n&&T6.has(x)?"command":"identifier",x),a=a.slice(x.length);continue}const m=a.match(/^[=+\-*/%<>!&|^~?:]+/);if(m){i("operator",m[0]),a=a.slice(m[0].length);continue}const b=a.match(/^[()[\]{};.,]/);if(b){i("punctuation",b[0]),a=a.slice(1);continue}i("other",a[0]),a=a.slice(1)}return o}function ef({children:e,language:t="bash",title:a="",showCopy:o=!0,size:n="default",className:i=""}){const{t:s}=Ce.useTranslation(),[c,d]=l.useState(!1),u=D6(Qg(e)),p=l.useRef(null);l.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const h=async()=>{try{if(!await zl(u))return;d(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>d(!1),2e3)}catch{}},m=L6(u,t),b=n==="small"?"caption-1":"body-3";return r.jsxs("div",{className:Te("code-box",n==="small"?"code-box--small":"",i),children:[(a||o)&&r.jsxs("div",{className:"code-box__header",role:"toolbar","aria-label":s("common.codeBlock","\uCF54\uB4DC \uBE14\uB85D"),children:[r.jsx("div",{className:"code-box__title caption-1",children:a}),o&&r.jsx(he,{htmlType:"button",className:"code-box__copy",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:c?"check":"copy",onClick:h,ariaLabel:c?s("common.copied","\uBCF5\uC0AC\uB428"):s("common.copyCode","\uCF54\uB4DC \uBCF5\uC0AC")})]}),r.jsx("pre",{className:"code-box__inner","data-lang":t,children:r.jsx("code",{children:m.map((x,f)=>r.jsx("span",{className:`code-token ${x.type} ${b}`,children:x.content},f))})})]})}var M6=".ihabdevteam-core-scope .loader-spinner{align-items:center;display:inline-flex;justify-content:center}.ihabdevteam-core-scope .loader-spinner__svg{animation:loader-rotate 1s linear infinite;transform-origin:center}.ihabdevteam-core-scope .loader-spinner__bg{stroke:rgba(0,0,0,.08)}.ihabdevteam-core-scope .loader-spinner__fg{stroke:var(--color-main);stroke-dasharray:125;stroke-dashoffset:80;animation:loader-dash 1.2s ease-in-out infinite}@keyframes loader-rotate{to{transform:rotate(1turn)}}@keyframes loader-dash{0%{stroke-dashoffset:125}50%{stroke-dashoffset:35}to{stroke-dashoffset:125}}.ihabdevteam-core-scope .loader-bar{background:rgba(0,0,0,.06);border-radius:999px;height:8px;overflow:hidden;width:100%}.ihabdevteam-core-scope .loader-bar__inner{background:var(--color-main);height:100%;transition:width .22s cubic-bezier(.2,.8,.2,1);width:0}.ihabdevteam-core-scope .loader-bar--indeterminate .loader-bar__inner{animation:loader-bar-indeterminate 1.4s ease-in-out infinite;width:40%}@keyframes loader-bar-indeterminate{0%{transform:translateX(-150%)}to{transform:translateX(400%)}}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .loader-spinner__svg{animation-duration:2.4s!important;animation-iteration-count:infinite!important}.ihabdevteam-core-scope .loader-spinner__fg{animation:none!important}.ihabdevteam-core-scope .loader-bar--indeterminate .loader-bar__inner{animation:none!important;transform:none;width:100%}}@keyframes core-loader-rotate{to{transform:rotate(1turn)}}@keyframes core-loader-dash{0%{stroke-dashoffset:125}50%{stroke-dashoffset:35}to{stroke-dashoffset:125}}.ihabdevteam-core-scope .page-loading-center{display:flex;justify-content:center;padding:40px 0}";oe(M6);const $6={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function xr(e){const{t}=Ce.useTranslation(),{variant:a="spinner",size:o=24,progress:n=null,label:i}=e||{},s=i||t("loader.loading","Loading");if(a==="bar"){const d=n==null||!Number.isFinite(Number(n)),u=d?0:Math.max(0,Math.min(100,Number(n)));return r.jsx("div",{className:`loader-bar${d?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d?void 0:u,"aria-label":s,children:r.jsx("div",{className:"loader-bar__inner",style:d?void 0:{width:`${u}%`}})})}const c=typeof o=="number"?`${o}px`:o;return r.jsxs("div",{className:"loader-spinner",style:{width:c,height:c},role:"status","aria-label":s,children:[r.jsx("span",{style:$6,children:s}),r.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:o,height:o,children:[r.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),r.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}var R6='.ihabdevteam-core-scope .toggle{align-items:center;cursor:pointer;display:inline-flex;gap:var(--spacing-xs);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .toggle input{height:0;opacity:0;position:absolute;width:0}.ihabdevteam-core-scope .toggle__slider{background:#e2e8f0;background:var(--color-whiteLine,#e2e8f0);border-radius:26px;display:inline-block;flex-shrink:0;height:26px;position:relative;transition:background .2s;width:44px}.ihabdevteam-core-scope .toggle__slider:before{background:var(--color-pureWhite);border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.15);content:"";height:20px;left:3px;position:absolute;top:3px;transition:transform .2s;width:20px}.ihabdevteam-core-scope .toggle input:checked+.toggle__slider{background:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .toggle input:checked+.toggle__slider:before{transform:translateX(18px)}.ihabdevteam-core-scope .toggle input:focus-visible+.toggle__slider{outline:2px solid var(--color-main,var(--color-main));outline-offset:2px}.ihabdevteam-core-scope .toggle__label{color:var(--color-darkGray)}.ihabdevteam-core-scope .toggle--disabled{cursor:not-allowed;opacity:.45}';oe(R6);function Hd({checked:e,onChange:t,disabled:a=!1,label:o,ariaLabel:n,labelPosition:i="right",className:s="",id:c}){const d=o&&r.jsx("span",{className:"toggle__label body-3",children:o});return r.jsxs("label",{className:`toggle${a?" toggle--disabled":""} ${s}`.trim(),children:[i==="left"&&d,r.jsx("input",{id:c,type:"checkbox",role:"switch",checked:e,disabled:a,onChange:u=>t?.(u.target.checked),"aria-label":!o&&n?n:void 0}),r.jsx("span",{className:"toggle__slider"}),i==="right"&&d]})}var P6=`.ihabdevteam-core-scope .checkbox{align-items:center;cursor:pointer;display:inline-flex;gap:8px;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .checkbox--disabled{cursor:not-allowed;opacity:.4}.ihabdevteam-core-scope .checkbox__input{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ihabdevteam-core-scope .checkbox__box{background:var(--color-white,var(--color-pureWhite));border:1.5px solid var(--color-whiteLine);border-radius:8px;border-radius:var(--radius-sm,8px);flex-shrink:0;height:24px;position:relative;transition:border-color .15s,background .15s;width:24px}.ihabdevteam-core-scope .checkbox__input:checked+.checkbox__box{background:var(--color-main,var(--color-main));border-color:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .checkbox__input:checked+.checkbox__box:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m4 9 3.5 3.5L14 6'/%3E%3C/svg%3E") 50%/cover no-repeat;content:"";inset:0;position:absolute}.ihabdevteam-core-scope .checkbox__input:indeterminate+.checkbox__box{background:var(--color-main,var(--color-main));border-color:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .checkbox__input:indeterminate+.checkbox__box:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='2' d='M4.5 9h9'/%3E%3C/svg%3E") 50%/cover no-repeat;content:"";inset:0;position:absolute}.ihabdevteam-core-scope .checkbox:not(.checkbox--disabled):hover .checkbox__box{border-color:var(--color-main,var(--color-main))}.ihabdevteam-core-scope .checkbox__input:focus-visible+.checkbox__box{outline:2px solid var(--color-main,var(--color-main));outline-offset:2px}.ihabdevteam-core-scope .checkbox--large .checkbox__box{border-radius:10px;border-radius:var(--radius-s,10px);height:30px;width:30px}.ihabdevteam-core-scope .checkbox--small .checkbox__box{border-radius:4px;border-radius:var(--radius-xs,4px);height:16px;width:16px}.ihabdevteam-core-scope .checkbox__label{color:var(--color-darkGray)}.ihabdevteam-core-scope .checkbox--small .checkbox__label{font-size:13px}`;oe(P6);function Vd({checked:e=!1,onChange:t,disabled:a,indeterminate:o,label:n,size:i="medium",className:s,title:c,ariaLabel:d}){const u=l.useRef(null),p=l.useId(),h=l.useRef(!!o);return h.current=!!o,l.useEffect(()=>{u.current&&(u.current.indeterminate=!!o)}),r.jsxs("label",{className:Te("checkbox",i==="small"&&"checkbox--small",i==="large"&&"checkbox--large",a&&"checkbox--disabled",s),htmlFor:p,title:c,children:[r.jsx("input",{ref:u,id:p,type:"checkbox",className:"checkbox__input",checked:e,onChange:m=>{t?.(m.target.checked),u.current&&(u.current.indeterminate=h.current)},disabled:a,"aria-label":!n&&d?d:void 0}),r.jsx("span",{className:"checkbox__box"}),n&&r.jsx("span",{className:"checkbox__label body-3",children:n})]})}var z6=".ihabdevteam-core-scope .bulk-bar{align-items:center;background:var(--color-pureWhite,var(--color-pureWhite));border:1px solid var(--color-main);border-radius:12px;border-radius:var(--radius-m,12px);bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.12);box-sizing:border-box;color:#1a1a1a;color:var(--color-gray900,#1a1a1a);display:flex;gap:12px;justify-content:space-between;margin-top:16px;min-height:60px;opacity:0;padding:10px 16px;pointer-events:none;position:sticky;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease;z-index:600;z-index:var(--z-bulk-bar,600)}.ihabdevteam-core-scope .bulk-bar--visible{opacity:1;pointer-events:auto;transform:translateY(0)}.ihabdevteam-core-scope .bulk-bar__count{color:#1a1a1a;color:var(--color-gray900,#1a1a1a);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .bulk-bar__count b{color:var(--color-main)}.ihabdevteam-core-scope .bulk-bar__actions{display:flex;flex-shrink:0;gap:8px}.ihabdevteam-core-scope .bulk-bar__chips{align-items:center;display:flex;flex-wrap:wrap;gap:8px;gap:var(--spacing-xs,8px);min-width:0}.ihabdevteam-core-scope .bulk-bar__chips .button{white-space:nowrap}@media (max-width:767px){.ihabdevteam-core-scope .bulk-bar{flex-wrap:wrap}.ihabdevteam-core-scope .bulk-bar__actions{flex-wrap:wrap;justify-content:flex-end;width:100%}}.ihabdevteam-core-scope .bulk-bar__actions--stacked{align-items:stretch;flex-direction:column}";oe(z6);function tf({count:e,actions:t,onClear:a,clearLabel:o,visible:n,content:i,max:s}){const{t:c}=Ce.useTranslation(),d=n!==void 0?n:e>0,u=o??c("bulkBar.clearSelection","\uC120\uD0DD \uD574\uC81C"),p=l.useRef(null),h=l.useRef(null),m=l.useRef(null),b=l.useRef(d);l.useLayoutEffect(()=>{const v=h.current,y=b.current;if(b.current=d,d&&!y){const _=typeof document<"u"?document.activeElement:null;m.current=_&&_!==document.body&&!v?.contains(_)?_:null}else!d&&y&&v&&v.contains(document.activeElement)&&ci(v,m.current)},[d]);const[x,f]=l.useState(!1),C=l.useRef(!1),g=l.useRef(null);return l.useEffect(()=>{const v=p.current;if(!v)return;const y=A=>{C.current=A,f(A)},_=()=>{const A=v.firstElementChild??v,E=Array.from(A.children);if(E.length<2){y(!1);return}const L=E[0].offsetTop,z=E.some(O=>O.offsetTop!==L);if(!C.current){g.current=v.clientWidth,z&&y(!0);return}if(z)return;const j=E[0],I=E[E.length-1],D=I.offsetLeft+I.offsetWidth-j.offsetLeft,T=g.current;(T==null||D<=T)&&y(!1)};if(_(),typeof ResizeObserver>"u")return;const B=new ResizeObserver(_);B.observe(v);const k=v.parentElement;let S=k?.clientWidth??0;const w=new ResizeObserver(()=>{const A=k?.clientWidth??0;A!==S&&(S=A,g.current=null,_())});return k&&w.observe(k),()=>{B.disconnect(),w.disconnect()}},[i,e]),r.jsxs("div",{ref:h,className:`bulk-bar ${d?"bulk-bar--visible":""}`,inert:!d||void 0,"aria-hidden":d?void 0:!0,children:[r.jsx("span",{ref:p,className:"bulk-bar__count body-2",role:"status",children:i??r.jsx("b",{children:c("common.selectedCount",{count:e})})}),s!==void 0&&r.jsx(_t,{size:"small",fill:"soft",variant:"main",label:`${e} / ${s}`,"aria-label":c("common.selectedOfMax",{count:e,max:s,defaultValue:`\uCD5C\uB300 ${s}\uAC1C \uC911 ${e}\uAC1C`})}),r.jsxs("div",{className:`bulk-bar__actions${x?" bulk-bar__actions--stacked":""}`,children:[r.jsx(he,{htmlType:"button",size:40,label:u,onClick:a}),t.map((v,y)=>r.jsx(he,{htmlType:"button",size:40,variant:v.variant??"default",icon:v.icon,label:v.label,onClick:v.onClick},y))]})]})}var I6=".ihabdevteam-core-scope .item-actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs)}";oe(I6);const O6=[{\uC5F4\uC1E0:"edit",icon:"edit-2",\uB2EB\uACE0\uD560\uAE4C:!0},{\uC5F4\uC1E0:"duplicate",icon:"copy",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"publish",icon:"book-marked",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"copyLink",icon:"link",\uB2EB\uACE0\uD560\uAE4C:!1},{\uC5F4\uC1E0:"remove",icon:"trash-2",\uB2EB\uACE0\uD560\uAE4C:!0}];function af(e){const{onClose:t,className:a}=e;return r.jsx("div",{className:Te("item-actions",a),children:O6.map(({\uC5F4\uC1E0:o,icon:n,\uB2EB\uACE0\uD560\uAE4C:i})=>{const s=e[o];if(!s)return null;const c=o==="publish"?s.published?s.unpublish:s.publish:s;return r.jsx(he,{htmlType:"button",size:40,type:"dot",icon:n,ariaLabel:c.label,showTooltipInfo:c.label,onClick:()=>{i&&t(),c.onClick()}},o)})})}function Wd(e,t){const a=()=>{if(e){const[f,C]=e.split("-");return{y:+f,m:+C-1}}const[b,x]=Il(t).split("-");return{y:+b,m:+x-1}},[o,n]=l.useState(()=>a().y),[i,s]=l.useState(()=>a().m),c=l.useRef(e);l.useEffect(()=>{if(e===c.current)return;c.current=e;const b=a();n(b.y),s(b.m)},[e]);const d=l.useRef({y:o,m:i});l.useEffect(()=>{d.current={y:o,m:i}},[o,i]);const u=l.useCallback(b=>{const x=d.current.y*12+d.current.m+b,f=Math.floor(x/12),C=x-f*12;d.current={y:f,m:C},n(f),s(C)},[]),p=l.useCallback(()=>u(-1),[u]),h=l.useCallback(()=>u(1),[u]),m=l.useCallback((b,x)=>{d.current={y:b,m:x},n(b),s(x)},[]);return{viewY:o,viewM:i,prevMonth:p,nextMonth:h,setViewYM:m}}var F6=".ihabdevteam-core-scope .date-picker{position:relative;width:100%}.ihabdevteam-core-scope .date-picker__trigger{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);box-sizing:border-box;color:var(--color-darkGray);cursor:pointer;display:flex;justify-content:space-between;padding:0 12px;text-align:left;transition:border-color .12s,background .12s,box-shadow .12s;width:100%}.ihabdevteam-core-scope .date-picker--s40 .date-picker__trigger{border-radius:10px;height:40px}.ihabdevteam-core-scope .date-picker--s48 .date-picker__trigger{border-radius:12px;height:48px}.ihabdevteam-core-scope .date-picker--s64 .date-picker__trigger{border-radius:14px;height:64px}.ihabdevteam-core-scope .date-picker--open .date-picker__trigger,.ihabdevteam-core-scope .date-picker__trigger:focus{background:var(--color-white);border-color:var(--color-main);box-shadow:0 0 0 3px var(--color-main-a10);outline:none}.ihabdevteam-core-scope .date-picker__trigger:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .date-picker__trigger:disabled{cursor:not-allowed;opacity:.5}.ihabdevteam-core-scope .date-picker__placeholder{color:var(--color-lightGray);white-space:nowrap}.ihabdevteam-core-scope .date-picker__value{color:var(--color-darkGray);white-space:nowrap}.ihabdevteam-core-scope .date-picker__icon{color:var(--color-lightGray);flex-shrink:0;transition:color .12s}.ihabdevteam-core-scope .date-picker--open .date-picker__icon{color:var(--color-main)}.ihabdevteam-core-scope .date-picker__dropdown{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.1);box-sizing:border-box;min-width:260px;padding:12px;z-index:200}.ihabdevteam-core-scope .date-picker__nav{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.ihabdevteam-core-scope .date-picker__nav-dropdown{flex:1;margin:0 4px}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger{background:transparent!important;border:none!important;border-radius:6px!important;box-shadow:none!important;gap:4px!important;height:32px!important;justify-content:center!important;transition:background .12s,color .12s!important}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger:hover,.ihabdevteam-core-scope .date-picker__nav-dropdown.dropdown--open .dropdown__trigger{background:var(--color-deepWhite)!important}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .date-picker__nav-dropdown .dropdown__trigger-label{color:var(--color-darkGray)!important;flex:initial!important;font-weight:600!important}.ihabdevteam-core-scope .date-picker__nav-btn{align-items:center;background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:8px;color:var(--color-darkGray);cursor:pointer;display:flex;height:28px;justify-content:center;transition:border-color .12s,color .12s;width:28px}.ihabdevteam-core-scope .date-picker__nav-btn:hover{border-color:var(--color-main);color:var(--color-main)}.ihabdevteam-core-scope .date-picker__grid{grid-gap:2px;display:grid;gap:2px;grid-template-columns:repeat(7,1fr)}.ihabdevteam-core-scope .date-picker__dow{color:var(--color-lightGray);font-weight:600;padding:4px 0 6px;text-align:center}.ihabdevteam-core-scope .date-picker__dow:first-child{color:var(--color-error)}.ihabdevteam-core-scope .date-picker__dow:last-child{color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day{align-items:center;aspect-ratio:1;background:transparent;border:none;border-radius:6px;color:var(--color-darkGray);cursor:pointer;display:flex;justify-content:center;transition:background .1s,color .1s;width:100%}.ihabdevteam-core-scope .date-picker__day:hover:not(:disabled){background:var(--color-main-a10);color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day--sun:hover:not(:disabled){color:var(--color-error)}.ihabdevteam-core-scope .date-picker__day--sat:hover:not(:disabled){color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day--sun{color:var(--color-error)}.ihabdevteam-core-scope .date-picker__day--sat{color:var(--color-main)}.ihabdevteam-core-scope .date-picker__day--today{font-weight:700;outline:1.5px solid var(--color-main);outline-offset:-1.5px}.ihabdevteam-core-scope .date-picker__day:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ihabdevteam-core-scope .date-picker__day--selected{background:var(--color-main)!important;color:#fff!important;font-weight:700}.ihabdevteam-core-scope .date-picker__day--disabled{cursor:not-allowed;opacity:.3}";oe(F6);function ji(e,t){return new Date(e,t+1,0).getDate()}function H6(e,t){return new Date(e,t,1).getDay()}function Li(e,t,a){return`${e}-${String(t+1).padStart(2,"0")}-${String(a).padStart(2,"0")}`}function V6(e){if(!e)return"";const[t,a,o]=e.split("-");return`${t}. ${a}. ${o}.`}function W6(e,t,a,o){const n=a?+a.split("-")[0]:e-10,i=o?+o.split("-")[0]:e+10,s=[];for(let c=n;c<=i;c++)for(let d=0;d<12;d++){const u=`${c}-${String(d+1).padStart(2,"0")}`;a&&u<a.slice(0,7)||o&&u>o.slice(0,7)||s.push({value:u,label:t(c,d+1)})}return s}function of({value:e,onChange:t,size:a=48,min:o,max:n,disabled:i,placeholder:s,className:c,today:d}){const{t:u}=Ce.useTranslation(),p=s??u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),h=l.useMemo(()=>u("calendar.dow",{returnObjects:!0}),[u]),m=Il(d),{viewY:b,viewM:x,prevMonth:f,nextMonth:C,setViewYM:g}=Wd(e,d),v=l.useId(),y=l.useCallback((N,F)=>{const R=window.innerHeight,W=window.innerWidth,P=typeof document<"u"?document.getElementById(v):null,Q=Math.max(P?.offsetHeight||0,P?.scrollHeight||0)||300,ee=Math.max(N.width,P?.offsetWidth||0,260),Y=R-N.bottom,ne=N.top,ie=Y<Q&&ne>Y,se=8,ce=(U,le)=>Math.min(Math.max(se,U),Math.max(se,le));return{position:"fixed",left:ce(N.left,W-ee-se),width:N.width,minWidth:260,...ie?{top:"auto",bottom:ce(R-N.top+6,R-Q-se)}:{bottom:"auto",top:ce(N.bottom+6,R-Q-se)},zIndex:gn(F)}},[v]),{open:_,setOpen:B,toggle:k,style:S,triggerRef:w,menuRef:A}=Oo({computeStyle:y,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});l.useEffect(()=>{if(!_)return;const N=A.current;return(N?.querySelector(".date-picker__day--selected:not(:disabled)")??N?.querySelector(".date-picker__day--today:not(:disabled)")??N?.querySelector(".date-picker__day:not(:disabled)")??N?.querySelector(Xa)??N)?.focus?.(),()=>{const F=document.activeElement;(!F||F===document.body)&&w.current?.focus?.()}},[_,A,w]);const[E,L]=l.useState(1),z=l.useRef(null),j=l.useRef(null);l.useEffect(()=>{if(!_)return;const N=e&&e.slice(0,7)===`${b}-${String(x+1).padStart(2,"0")}`?+e.slice(8):m.slice(0,7)===`${b}-${String(x+1).padStart(2,"0")}`?+m.slice(8):1;L(N)},[_]),l.useEffect(()=>{if(j.current==null)return;const N=j.current;j.current=null,z.current?.querySelector(`[data-day="${N}"]`)?.focus()}),l.useEffect(()=>{L(N=>Math.min(N,ji(b,x)))},[b,x]);const I=l.useCallback(N=>{let F=Li(N.getFullYear(),N.getMonth(),N.getDate());o&&F<o&&(F=o),n&&F>n&&(F=n);const[R,W,P]=F.split("-").map(Number);(R!==b||W-1!==x)&&g(R,W-1),L(P),j.current=P},[o,n,b,x,g]),D=l.useCallback(N=>{const F=new Date(b,x,E),R=P=>{F.setDate(F.getDate()+P),I(F)},W=P=>{const Q=F.getFullYear()*12+F.getMonth()+P,ee=Math.floor(Q/12),Y=Q-ee*12;I(new Date(ee,Y,Math.min(F.getDate(),ji(ee,Y))))};switch(N.key){case"ArrowLeft":R(-1);break;case"ArrowRight":R(1);break;case"ArrowUp":R(-7);break;case"ArrowDown":R(7);break;case"Home":R(-F.getDay());break;case"End":R(6-F.getDay());break;case"PageUp":N.shiftKey?W(-12):W(-1);break;case"PageDown":N.shiftKey?W(12):W(1);break;default:return}N.preventDefault()},[b,x,E,I]),T=l.useCallback(N=>{i||(t(Li(b,x,N)),B(!1))},[b,x,t,B,i]);l.useEffect(()=>{i&&B(!1)},[i,B]);const O=N=>{const F=Li(b,x,N);return!!(o&&F<o||n&&F>n)},G=(()=>{const N=ji(b,x);if(E>=1&&E<=N&&!O(E))return E;for(let F=1;F<=N;F++)if(!O(F))return F;return-1})(),Z=[];for(let N=0;N<H6(b,x);N++)Z.push(null);for(let N=1;N<=ji(b,x);N++)Z.push(N);const H=a===64?20:a===40?16:18,V=W6(b,(N,F)=>u("calendar.yearMonth",{year:N,month:F,defaultValue:"{{year}}\uB144 {{month}}\uC6D4"}),o,n),q=`${b}-${String(x+1).padStart(2,"0")}`,$=_?ca.createPortal(r.jsxs("div",{ref:A,id:v,className:"date-picker__dropdown",style:S,"data-tooltip-ignore":!0,role:"dialog","aria-label":u("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[r.jsxs("div",{className:"date-picker__nav",children:[r.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:f,"aria-label":u("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:r.jsx(ip,{size:16,strokeWidth:2})}),r.jsx(fa,{className:"date-picker__nav-dropdown",ariaLabel:u("datePicker.selectYearMonth","\uC5F0\uC6D4 \uC120\uD0DD"),options:V,value:q,onChange:N=>{const[F,R]=N.split("-");g(+F,+R-1)},block:!0,size:40}),r.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:C,"aria-label":u("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:r.jsx(sp,{size:16,strokeWidth:2})})]}),r.jsxs("div",{className:"date-picker__grid",ref:z,onKeyDown:D,children:[h.map(N=>r.jsx("div",{className:"date-picker__dow caption-1",children:N},N)),Z.map((N,F)=>{if(N===null)return r.jsx("div",{},`e${F}`);const R=Li(b,x,N),W=R===e,P=R===m,Q=O(N),ee=F%7;return r.jsx("button",{type:"button",disabled:Q,"data-day":N,tabIndex:N===G?0:-1,"aria-current":P?"date":void 0,onClick:()=>!Q&&T(N),className:Te("date-picker__day caption-1",W&&"date-picker__day--selected",P&&!W&&"date-picker__day--today",Q&&"date-picker__day--disabled",ee===0&&"date-picker__day--sun",ee===6&&"date-picker__day--sat"),children:N},N)})]})]}),document.body):null;return r.jsxs("div",{className:Te("date-picker",`date-picker--s${a}`,_&&"date-picker--open",c),children:[r.jsxs("button",{ref:w,type:"button",className:"date-picker__trigger body-2",onClick:()=>!i&&k(),disabled:i,"aria-haspopup":"true","aria-expanded":_,children:[r.jsx("span",{className:e?"date-picker__value":"date-picker__placeholder",children:e?V6(e):p}),r.jsx(gp,{size:H,className:"date-picker__icon",strokeWidth:1.5})]}),$]})}var G6=".ihabdevteam-core-scope .month-dropdown .dropdown__trigger{max-width:200px;min-width:200px;width:200px}.ihabdevteam-core-scope .month-dropdown .dropdown__menu{max-height:280px;overflow-y:auto;scrollbar-color:var(--color-darkWhite) transparent;scrollbar-width:thin}.ihabdevteam-core-scope .month-dropdown .dropdown__menu::-webkit-scrollbar{width:4px}.ihabdevteam-core-scope .month-dropdown .dropdown__menu::-webkit-scrollbar-thumb{background:var(--color-darkWhite);border-radius:var(--radius-xs)}.ihabdevteam-core-scope .manager-bar-chart-wrap{display:flex;flex-direction:column;gap:var(--spacing-s)}.ihabdevteam-core-scope .manager-bar-chart-gridline{background:var(--color-darkWhite);height:1px;left:0;pointer-events:none;position:absolute;right:0;z-index:-1}.ihabdevteam-core-scope .manager-bar-chart-gridline__label{color:var(--color-deepGray);font-size:11px;left:0;position:absolute;top:100%;white-space:nowrap}.ihabdevteam-core-scope .manager-bar-chart-inner{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .manager-bar-chart-scroll{-webkit-overflow-scrolling:touch;flex:1;overflow-x:auto;overflow-y:visible;scrollbar-width:none}.ihabdevteam-core-scope .manager-bar-chart-scroll::-webkit-scrollbar{display:none}.ihabdevteam-core-scope .manager-bar-chart-area{display:flex;flex-direction:column;min-width:-moz-max-content;min-width:max-content}.ihabdevteam-core-scope .manager-bar-chart-area svg{display:block}.ihabdevteam-core-scope .manager-bar-chart-x-axis{color:var(--color-deepGray);display:flex;font-size:11px;padding-top:6px}.ihabdevteam-core-scope .manager-bar-chart-x-axis__label{align-items:center;display:flex;flex:1;flex-direction:column;gap:1px;justify-content:flex-start;min-width:0;text-align:center;word-break:keep-all}.ihabdevteam-core-scope .manager-bar-chart-x-axis__label--future .caption-1{color:var(--color-whiteLine)}.ihabdevteam-core-scope .manager-bar-chart-x-axis__main{position:relative}.ihabdevteam-core-scope .manager-bar-chart-x-axis__today-dot{border-radius:50%;height:8px;position:absolute;right:calc(100% + 3px);top:50%;transform:translateY(-50%);width:8px}.ihabdevteam-core-scope .manager-bar-chart-plot{align-items:flex-end;display:flex;gap:0;isolation:isolate;position:relative}.ihabdevteam-core-scope .manager-bar-chart-col{align-items:flex-end;display:flex;flex:1;gap:2px;height:100%;justify-content:center}.ihabdevteam-core-scope .manager-bar-chart-bar,.ihabdevteam-core-scope .manager-bar-chart-stack{flex:0 1 var(--bar-width);max-width:var(--bar-width)}.ihabdevteam-core-scope .manager-bar-chart-stack{display:flex;flex-direction:column-reverse;min-width:0}.ihabdevteam-core-scope .manager-bar-chart-bar{border-radius:6px 6px 0 0;min-width:0}.ihabdevteam-core-scope .manager-bar-chart-stack-segment{width:100%}.ihabdevteam-core-scope .manager-bar-chart-detail-btn{margin-left:auto}.ihabdevteam-core-scope .manager-bar-chart-slot{display:flex;flex:0 1 var(--bar-width);flex-direction:column;height:100%;min-width:0}.ihabdevteam-core-scope .manager-bar-chart-slot__half{display:flex;height:50%;justify-content:center}.ihabdevteam-core-scope .manager-bar-chart-slot__half--up{align-items:flex-end}.ihabdevteam-core-scope .manager-bar-chart-slot__half--down{align-items:flex-start}.ihabdevteam-core-scope .manager-bar-chart-bar--full{flex:1 1 auto;width:100%}.ihabdevteam-core-scope .manager-bar-chart-bar--down{border-radius:0 0 6px 6px}.ihabdevteam-core-scope .manager-bar-chart-gridline--baseline{opacity:1}.ihabdevteam-core-scope .manager-bar-chart-col--group{gap:1px;gap:var(--bar-group-gap,1px);padding:0 4px}";oe(G6);var U6=".ihabdevteam-core-scope .manager-section{--card-pad:19px;background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:none;margin-bottom:14px;min-width:320px;padding:19px;padding:var(--card-pad);position:relative}.ihabdevteam-core-scope .manager-section--clickable{cursor:pointer;transition:box-shadow .12s ease,border-color .12s ease}.ihabdevteam-core-scope .manager-section--clickable:hover{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .manager-section__head{align-items:flex-start;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:space-between;margin-bottom:var(--spacing-xs)}.ihabdevteam-core-scope .manager-section__disc,.ihabdevteam-core-scope .manager-section__title-row{padding-right:0;padding-right:calc(var(--section-head-float-w, -12px) + 12px)}.ihabdevteam-core-scope .manager-section__title{min-width:0}.ihabdevteam-core-scope .manager-section__title-row{align-items:center;display:flex;flex:1 1 auto;gap:var(--spacing-s);min-width:0}.ihabdevteam-core-scope .manager-section__icon{align-items:center;color:var(--t-item-fg,var(--color-main));display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .manager-section__disc{color:var(--color-gray);flex:0 0 100%;margin:0;min-width:0}.ihabdevteam-core-scope .manager-section__head-right{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:flex-end;margin-left:auto}.ihabdevteam-core-scope .chart-section-icon{display:inline-flex;opacity:.35}.ihabdevteam-core-scope .chart-section-icon-inner{color:var(--color-darkGray);height:22px;width:22px}@media (max-width:767px){.ihabdevteam-core-scope .manager-section__head{align-items:flex-start;flex-direction:column;flex-wrap:nowrap;gap:var(--spacing-s)}.ihabdevteam-core-scope .manager-section-controls{flex-wrap:wrap}.ihabdevteam-core-scope .manager-section-controls .segmented-control{flex-wrap:nowrap}.ihabdevteam-core-scope .manager-section{--card-pad:17px;min-width:0;padding:17px;padding:var(--card-pad)}}.ihabdevteam-core-scope .manager-section-controls{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .manager-bar-chart-plot--loading,.ihabdevteam-core-scope .ring-chart--loading{align-items:center;display:flex;justify-content:center}.ihabdevteam-core-scope .manager-bar-chart-area--loading .manager-bar-chart-x-axis{justify-content:center}.ihabdevteam-core-scope .barchart-sub-row{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:var(--spacing-l)}.ihabdevteam-core-scope .barchart-sub-row--center{align-items:center}.ihabdevteam-core-scope .barchart-sub-row--end{align-items:flex-end}.ihabdevteam-core-scope .barchart-total{align-items:baseline;display:flex;gap:4px}.ihabdevteam-core-scope .barchart-total--stacked{align-items:flex-start;flex-direction:column;gap:2px}.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__label,.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__num,.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__unit,.ihabdevteam-core-scope .barchart-total--stacked .barchart-total__value{line-height:1.1;margin:0}.ihabdevteam-core-scope .barchart-total__label{color:var(--color-gray)}.ihabdevteam-core-scope .barchart-total__value{align-items:baseline;display:flex;gap:4px}.ihabdevteam-core-scope .barchart-total__num{color:var(--color-black)}.ihabdevteam-core-scope .barchart-total__unit{color:var(--color-gray)}.ihabdevteam-core-scope .manager-bar-chart-legend{align-items:flex-end;color:var(--color-gray);display:flex;flex-direction:column;font-size:12px;gap:6px;padding-right:var(--spacing-xs)}.ihabdevteam-core-scope .manager-bar-chart-legend-item{align-items:center;display:inline-flex}.ihabdevteam-core-scope .manager-bar-chart-legend-dot{border-radius:50%;display:inline-block;height:8px;margin-right:4px;width:8px}.ihabdevteam-core-scope .manager-section--compact{--card-pad:19px;min-width:160px;padding:19px;padding:var(--card-pad)}.ihabdevteam-core-scope .manager-section--compact .manager-section__head{margin-bottom:4px;min-height:28px}.ihabdevteam-core-scope .chart-section-title--small{color:var(--color-deepGray)}.ihabdevteam-core-scope .manager-section--compact .barchart-total__num{font-size:32px;line-height:1}.ihabdevteam-core-scope .manager-section--compact .barchart-total{flex-shrink:0}.ihabdevteam-core-scope .manager-section--compact .barchart-sub-row{margin-bottom:var(--spacing-s)}.ihabdevteam-core-scope .manager-section--compact .manager-bar-chart-legend{align-items:stretch;flex:1 1 auto;min-width:0}.ihabdevteam-core-scope .manager-section--compact .manager-bar-chart-legend-item{display:flex;justify-content:flex-end;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ihabdevteam-core-scope .manager-section--full{flex:1 1 100%;width:100%}@media (max-width:767px){.ihabdevteam-core-scope .manager-section--compact{min-width:0}}.ihabdevteam-core-scope .manager-section--grid{display:flex;flex-direction:column;margin-bottom:0;min-width:0}.ihabdevteam-core-scope .manager-section--grid>.manager-bar-chart-loading,.ihabdevteam-core-scope .manager-section--grid>.manager-bar-chart-wrap,.ihabdevteam-core-scope .manager-section--grid>.ring-chart-section-body{margin-top:auto}";oe(U6);var q6=".ihabdevteam-core-scope .section-head-float{align-items:center;display:flex;gap:var(--spacing-m);justify-content:flex-end;max-width:50%;position:absolute;right:19px;right:var(--card-pad,19px);top:19px;top:var(--card-pad,19px);z-index:1}@media (max-width:600px){.ihabdevteam-core-scope .section-head-float{flex-wrap:wrap;margin-top:var(--spacing-m);max-width:none;position:static}}";oe(q6);function Gd({children:e,className:t}){const a=l.useRef(null),[o,n]=l.useState(null);return l.useEffect(()=>{n(a.current?.parentElement??null)},[]),l.useEffect(()=>{const i=a.current;if(!i||!o)return;const s=()=>{const d=typeof window<"u"&&window.getComputedStyle(i).position==="absolute"?Math.ceil(i.getBoundingClientRect().width):0;d>0?o.style.setProperty("--section-head-float-w",`${d}px`):o.style.removeProperty("--section-head-float-w")};if(s(),typeof ResizeObserver>"u")return()=>{o.style.removeProperty("--section-head-float-w")};const c=new ResizeObserver(()=>s());return c.observe(i),c.observe(o),()=>{c.disconnect(),o.style.removeProperty("--section-head-float-w")}},[o,e]),r.jsx("div",{ref:a,className:Te("section-head-float",t),children:e})}function Mi({items:e,className:t}){return r.jsx("div",{className:t?`manager-bar-chart-legend ${t}`:"manager-bar-chart-legend",children:e.map((a,o)=>r.jsxs("span",{className:"manager-bar-chart-legend-item",children:[r.jsx("span",{className:"manager-bar-chart-legend-dot",style:{background:a.color}}),a.label]},o))})}function Cr({label:e,children:t}){return e?r.jsxs("div",{className:"barchart-total barchart-total--stacked",children:[r.jsx("span",{className:"barchart-total__label body-3",children:e}),r.jsx("span",{className:"barchart-total__value",children:t})]}):r.jsx("div",{className:"barchart-total",children:t})}function $i({title:e,titleClassName:t="h3",icon:a,disc:o,headRight:n,headFloat:i,headSegment:s,headMenuItems:c,collapseBelow:d=420,onClick:u,ariaLabel:p,tooltip:h,totalNum:m,totalUnit:b,totalLabel:x,subRow:f,subRowAlign:C="start",className:g,inGrid:v=!1,children:y}){const{t:_}=Ce.useTranslation(),B=l.useRef(null),{anchorRect:k,openAt:S,close:w}=Io(),A=l.useCallback(()=>{h&&B.current&&S(B.current)},[h,S]),[E,L]=l.useState(!1);Fd(()=>{const $=B.current;if(!$||!s)return;const N=R=>L(R>0&&R<d);if(N($.clientWidth),typeof ResizeObserver>"u")return;const F=new ResizeObserver(R=>N(R[0].contentRect.width));return F.observe($),()=>F.disconnect()},[s,d]);const[z,j]=l.useState(null),I=l.useCallback(()=>j(null),[]),D=l.useCallback($=>{const N=$.currentTarget.getBoundingClientRect();j(F=>F?null:{left:N.left,right:N.right,top:N.top,bottom:N.bottom,width:N.width,height:N.height,x:N.x,y:N.y})},[]),T=!!s&&E;l.useEffect(()=>{T||j(null)},[T]);const O=s?[...s.options.map($=>({label:$.label,icon:$.icon,selected:$.key===s.value,disabled:$.disabled,onClick:()=>s.onChange($.key),closeOnSelect:!0})),...(c??[]).map(($,N)=>N===0?{...$,separatorBefore:!0}:$)]:[],G=l.useCallback($=>{if(!u)return;const N=$.target;N&&typeof N.closest=="function"&&N.closest('button, a, input, select, textarea, [role="radiogroup"]')||u()},[u]),Z=l.useCallback($=>{u&&$.target===$.currentTarget&&($.key==="Enter"||$.key===" ")&&($.preventDefault(),u())},[u]),H=typeof n=="function"?n({collapsed:T}):n,V=m!=null||x?r.jsxs(Cr,{label:x,children:[m!=null&&r.jsx("span",{className:"barchart-total__num h0",children:m}),b&&r.jsx("span",{className:"barchart-total__unit h5",children:b})]}):null,q=H||s?r.jsxs("div",{className:"manager-section__head-right",children:[s&&(T?r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"ellipsis",ariaLabel:s.ariaLabel??_("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:s.ariaLabel??_("common.more","\uB354\uBCF4\uAE30"),"aria-haspopup":"menu","aria-expanded":!!z,onClick:D}):r.jsx(Ia,{size:32,ariaLabel:s.ariaLabel,options:s.options.map($=>({key:$.key,label:$.label,disabled:$.disabled})),value:s.value,onChange:s.onChange})),H]}):null;return r.jsxs("section",{ref:B,className:["manager-section",v&&"manager-section--grid",u&&"manager-section--clickable",g].filter(Boolean).join(" "),onClick:u?G:void 0,onKeyDown:u?Z:void 0,onPointerEnter:h?A:void 0,onPointerLeave:h?w:void 0,onFocus:h?A:void 0,onBlur:h?w:void 0,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-label":u?p??(typeof e=="string"?e:void 0):void 0,children:[h&&k&&r.jsx(ka,{anchorRect:{left:k.left,top:k.top+21,right:k.right,bottom:k.bottom,width:k.width,height:k.height},text:h}),i&&r.jsx(Gd,{children:i}),r.jsxs("div",{className:"manager-section__head",children:[r.jsxs("div",{className:"manager-section__title-row",children:[a&&r.jsx(Je,{icon:a,label:typeof e=="string"?e:void 0,className:"manager-section__icon"}),r.jsx("div",{className:["manager-section__title",t].filter(Boolean).join(" "),children:e})]}),q,o&&r.jsx("div",{className:"manager-section__disc body-3",children:o})]}),(V||f)&&r.jsxs("div",{className:["barchart-sub-row",C!=="start"&&`barchart-sub-row--${C}`].filter(Boolean).join(" "),children:[V,f]}),y,z&&r.jsx(ga,{anchorRect:z,onClose:I,ariaLabel:s?.ariaLabel??_("tooltip.menu","\uBA54\uB274"),children:r.jsx(fr,{columns:[{items:O}],onClose:I,size:"small"})})]})}function Oa(e,t){const a=new Date(e,t,1).getDay();return 1+(8-(a===0?7:a))%7}function Y6(){const e=lo();let t=e.getFullYear(),a=e.getMonth(),o=e.getDate();if(o<Oa(t,a)){const s=new Date(t,a,0);t=s.getFullYear(),a=s.getMonth(),o=s.getDate()}const n=Math.floor((o-Oa(t,a))/7),i=`${t}\uB144 ${a+1}\uC6D4`;return{monthKey:i,value:`${i}#${n}`}}function rf(e){const t=lo(),a=`${t.getFullYear()}\uB144 ${t.getMonth()+1}\uC6D4`,o=(d,u)=>`${d}\uB144 ${u+1}\uC6D4`,n=new Map;n.set(a,[]);for(const d of e){if(isNaN(d.date.getTime()))continue;const u=o(d.date.getFullYear(),d.date.getMonth());n.has(u)||n.set(u,[]),n.get(u).push(d)}for(const[d,u]of[...n.entries()]){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const h=Number(p[1]),m=Number(p[2])-1,b=Oa(h,m);if(!(d===a&&t.getDate()<b)&&!u.some(C=>C.date.getDate()<b))continue;const x=new Date(h,m,0),f=o(x.getFullYear(),x.getMonth());n.has(f)||n.set(f,[])}const i=new Map;for(const[d,u]of n){const p=d.match(/^(\d+)년 (\d+)월$/);if(!p)continue;const h=Number(p[1]),m=Number(p[2])-1,b=new Date(h,m+1,0).getDate(),x=u.reduce((_,B)=>Math.max(_,B.parts?.length??0,B.partsB?.length??0),0),f=u.some(_=>_.partsB),C=new Array(b+1).fill(0),g=new Array(b+1).fill(0),v=Array.from({length:b+1},()=>new Array(x).fill(0)),y=Array.from({length:b+1},()=>new Array(x).fill(0));for(const _ of u){const B=_.date.getDate();if(C[B]+=_.a,g[B]+=_.b,_.parts)for(let k=0;k<x;k++)v[B][k]+=_.parts[k]??0;if(_.partsB)for(let k=0;k<x;k++)y[B][k]+=_.partsB[k]??0}i.set(d,{year:h,month:m,daysInMonth:b,partsLen:x,hasPartsB:f,dayA:C,dayB:g,dayParts:v,dayPartsB:y})}const s=(d,u,p)=>new Date(d,u,p).getTime()>new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),c={};for(const[d,u]of i){const{year:p,month:h,daysInMonth:m,dayA:b,dayB:x,dayParts:f,dayPartsB:C}=u,g=p===t.getFullYear()&&h===t.getMonth(),v=t.getDate(),y=i.get(o(h===11?p+1:p,(h+1)%12)),_=u.partsLen,B=[];for(let S=1;S<=m;S++){const w=g&&S>v;B.push({label:String(S),...w&&b[S]===0&&x[S]===0?{future:!0}:{},a:w&&b[S]===0&&x[S]===0?-1:b[S],b:x[S],..._?{parts:f[S]}:{},..._&&u.hasPartsB?{partsB:C[S]}:{}})}const k=[];for(let S=Oa(p,h);S<=m;S+=7){const w=Math.max(0,S+6-m),A=w&&y?Math.max(_,y.partsLen):_,E=u.hasPartsB||!!(w&&y?.hasPartsB);let L=0,z=0;const j=new Array(A).fill(0),I=new Array(A).fill(0);for(let T=S;T<=Math.min(S+6,m);T++){L+=b[T],z+=x[T];for(let O=0;O<_;O++)j[O]+=f[T][O],I[O]+=C[T][O]}if(w&&y)for(let T=1;T<=w&&!s(y.year,y.month,T);T++){L+=y.dayA[T],z+=y.dayB[T];for(let O=0;O<y.partsLen;O++)j[O]+=y.dayParts[T][O],I[O]+=y.dayPartsB[T][O]}const D=w?`${(h+1)%12+1}/${w}`:`${S+6}`;k.push({label:`${k.length+1}\uC8FC`,sublabel:`[${S}\uC77C~${D}\uC77C]`,a:L,b:z,...A?{parts:j}:{},...A&&E?{partsB:I}:{}})}c[d]={weekly:k,daily:B}}return c}function nf(){const e=lo(),t=e.getFullYear(),a=e.getMonth()+1,o=[];for(let n=2024;n<=t;n++){const i=n===t?a:12;for(let s=1;s<=i;s++){const c=`${n}\uB144 ${s}\uC6D4`;o.push({value:c,label:c,year:n,month:s})}}return o.reverse()}nf();function K6(){return nf()}const sf=["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"];function Ud(e){const{t,i18n:a}=Ce.useTranslation(),[o,n]=l.useState("week"),i=l.useMemo(()=>K6().filter(A=>A.value in e),[e]),s=l.useMemo(()=>{const A=[];for(const E of i){const L=new Date(E.year,E.month,0).getDate(),z=Oa(E.year,E.month-1),j=Math.ceil((L-z+1)/7);for(let I=j-1;I>=0;I--)A.push({value:`${E.value}#${I}`,monthKey:E.value,year:E.year,month:E.month,week:I})}return A},[i]),c=l.useCallback(A=>{const E=t("calendar.yearMonth",{year:A.year,month:A.month});return a.language?.startsWith("ko")?`${E} ${sf[A.week]??`${A.week+1}`}\uC8FC`:`${E} Week ${A.week+1}`},[t,a.language]),d=l.useMemo(()=>i.map(A=>({value:A.value,label:t("calendar.yearMonth",{year:A.year,month:A.month})})),[t,i]),u=l.useMemo(()=>s.map(A=>({value:A.value,label:c(A)})),[s,c]),p=l.useMemo(()=>Y6(),[e]),h=l.useMemo(()=>i.find(A=>A.value===p.monthKey)?.value??i[0]?.value??"",[i,p]),m=l.useMemo(()=>s.find(A=>A.value===p.value)?.value??s[0]?.value??"",[s,p]),[b,x]=l.useState(""),[f,C]=l.useState("");l.useEffect(()=>{i.find(A=>A.value===b)||x(h)},[i,b,h]),l.useEffect(()=>{s.find(A=>A.value===f)||C(m)},[s,f,m]);const g=o==="month"?d:u,v=o==="month"?b:f,y=o==="month"?x:C,_=l.useMemo(()=>{const A=t("calendar.dow",{returnObjects:!0});return Array.isArray(A)?A:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"]},[t]),B=g.findIndex(A=>A.value===v),k=l.useCallback(()=>{const A=g.findIndex(E=>E.value===v);A<g.length-1&&y(g[A+1].value)},[g,v,y]),S=l.useCallback(()=>{const A=g.findIndex(E=>E.value===v);A>0&&y(g[A-1].value)},[g,v,y]),w=l.useMemo(()=>[{key:"week",label:t("manager.chart.periodWeek","\uC8FC")},{key:"month",label:t("manager.chart.periodMonth","\uC6D4")}],[t]);return{period:o,setPeriod:n,range:v,setRange:y,activeOptions:g,activeIdx:B,handlePrev:k,handleNext:S,periodOptions:w,monthRange:b,weekRange:f,weekRanges:s,DOW:_}}const ft=e=>typeof e=="number"&&Number.isFinite(e)?e:0;function Qa(e,t=!0){return e.future===!0||t&&e.a===-1}function Z6({data:e,colorA:t,colorB:a,labelA:o,labelB:n,barWidth:i=10,barGap:s=1,height:c=140,maxOverride:d,tightMax:u,seriesColors:p,seriesLabels:h,rateLabels:m,grouped:b=!1,baseline:x}){const f=!a,C=!!(p&&p.length>0),g=x,v=l.useMemo(()=>C?Math.max(0,...e.filter(T=>!Qa(T,g==null)).map(T=>b?Math.max(0,...(T.parts??[]).map(ft)):(T.parts??[]).reduce((O,G)=>O+Math.max(0,ft(G)),0))):Math.max(0,...e.filter(T=>!Qa(T,g==null)).flatMap(T=>f?[ft(T.a)]:[ft(T.a),ft(T.b)])),[e,f,C,b]),y=l.useMemo(()=>{if(g==null)return 0;const T=e.filter(O=>!Qa(O,g==null)).flatMap(O=>C?(O.parts??[]).map(ft):f?[ft(O.a)]:[ft(O.a),ft(O.b)]);return Math.max(0,...T.map(O=>Math.abs(O-g)))},[e,g,C,f]),_=l.useMemo(()=>{const T=g!=null?y:v;return d??(u?T>0?T:10:Math.ceil(T/10)*10||10)},[v,y,g,d,u]),B=c,k=C?b?Math.max(1,p.length):1:f?1:2,S={"--bar-width":`${l.useMemo(()=>{const T=Math.max(1,e.length);return Math.max(2,Math.min(i,Math.round(120/(T*k)+6)))},[e.length,k,i])}px`},w={"--bar-group-gap":`${Math.max(0,s)}px`},A=l.useMemo(()=>{const T=Math.round(_/2);return g!=null?[g+_,...T!==_?[g+T]:[],g,...T!==_?[g-T]:[],g-_]:T!==_?[_,T,0]:[_,0]},[_,g]),E=T=>g!=null?1-(T-(g-_))/(2*_):1-T/_,[L,z]=l.useState(null),j=l.useCallback(()=>z(null),[]),I=T=>g!=null&&T>g?`+${T}`:`${T}`,D=L!=null;return l.useEffect(()=>{if(!D)return;const T=()=>z(null),O=G=>{const Z=G.target;Z&&typeof Z.closest=="function"&&Z.closest(".manager-bar-chart-col")||z(null)};return window.addEventListener("scroll",T,!0),document.addEventListener("pointerdown",O,!0),()=>{window.removeEventListener("scroll",T,!0),document.removeEventListener("pointerdown",O,!0)}},[D]),r.jsxs("div",{className:"manager-bar-chart-wrap",style:w,children:[r.jsx("div",{className:"manager-bar-chart-inner",children:r.jsx("div",{className:"manager-bar-chart-scroll",children:r.jsxs("div",{className:"manager-bar-chart-area",children:[r.jsxs("div",{className:"manager-bar-chart-plot",style:{height:B},children:[A.slice(0,-1).map((T,O)=>r.jsx("div",{className:`manager-bar-chart-gridline${g!=null&&T===g?" manager-bar-chart-gridline--baseline":""}`,style:{top:E(T)*B},children:r.jsx("span",{className:"manager-bar-chart-gridline__label caption-1",children:T})},O)),e.map((T,O)=>{const G=Qa(T,g==null),Z=B/2,H=N=>g!=null?Math.min(Z,Math.abs(ft(N)-g)/_*Z):Math.min(B,Math.max(0,ft(N)/_*B)),V=G?0:H(T.a),q=G?0:H(T.b),$=(T.parts??[]).map(ft);return r.jsx("div",{className:`manager-bar-chart-col${b&&C?" manager-bar-chart-col--group":""}`,style:{cursor:G?"default":"pointer"},onMouseEnter:G?void 0:N=>{const F=N.currentTarget.getBoundingClientRect(),R=[T.label,T.sublabel].filter(Boolean).join(" ");let W;if(C&&b&&T.rawPartsB)W=(h??[]).map((P,Q)=>{const ee=T.rawPartsB[Q]??0;return{text:ee>0?`${P}: ${$[Q]??0}% (${T.rawParts?.[Q]??0}/${ee})`:`${P}: -`,color:(p??[])[Q]}});else if(C&&b)W=(h??[]).map((P,Q)=>({text:`${P}: ${I($[Q]??0)}`,color:(p??[])[Q]}));else if(C){const P=(h??[]).map((ee,Y)=>({text:`${ee}: ${$[Y]??0}`,color:(p??[])[Y]})),Q=P.filter((ee,Y)=>($[Y]??0)>0);W=Q.length?Q:P}else m&&!f?W=[{text:`${o} ${ft(T.a)}%`,color:t},{text:`${n} ${ft(T.b)}%`,color:a}]:m&&T.rawB!==void 0?W=[{text:`${m.total} ${T.rawB}`},{text:`${m.done} ${T.rawA??0}`,color:t}]:f?W=[{text:`${o}: ${ft(T.a)}`,color:t}]:W=[{text:`${o}: ${ft(T.a)}`,color:t},{text:`${n}: ${ft(T.b)}`,color:a}];z({rect:{left:F.left,top:F.top,right:F.right,bottom:F.bottom,width:F.width,height:F.height},title:R,items:W})},onMouseLeave:j,children:!G&&(C&&b?(p??[]).map((N,F)=>{const R=$[F]??0;if(g==null)return r.jsx("div",{className:"manager-bar-chart-bar",style:{...S,height:H(R),background:N}},F);const W=ft(R)<g;return r.jsxs("div",{className:"manager-bar-chart-slot",style:S,children:[r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:!W&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:H(R),background:N}})}),r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:W&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:H(R),background:N}})})]},F)}):C?r.jsx("div",{className:"manager-bar-chart-stack",style:S,children:(()=>{const N=$.reduce((R,W,P)=>W>0?P:R,-1);let F=B;return $.map((R,W)=>{if(R<=0)return null;const P=Math.min(F,R/_*B);return F-=P,r.jsx("div",{className:"manager-bar-chart-stack-segment",style:{height:P,background:(p??[])[W],borderRadius:W===N?"6px 6px 0 0":void 0}},W)})})()}):g!=null?r.jsx(r.Fragment,{children:[{v:ft(T.a),c:t},...f?[]:[{v:ft(T.b),c:a}]].map(({v:N,c:F},R)=>r.jsxs("div",{className:"manager-bar-chart-slot",style:S,children:[r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--up",children:N>=g&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full",style:{height:H(N),background:F}})}),r.jsx("div",{className:"manager-bar-chart-slot__half manager-bar-chart-slot__half--down",children:N<g&&r.jsx("div",{className:"manager-bar-chart-bar manager-bar-chart-bar--full manager-bar-chart-bar--down",style:{height:H(N),background:F}})})]},R))}):r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"manager-bar-chart-bar",style:{...S,height:V,background:t}}),!f&&r.jsx("div",{className:"manager-bar-chart-bar",style:{...S,height:q,background:a}})]}))},O)})]}),r.jsx("div",{className:"manager-bar-chart-x-axis",children:e.map((T,O)=>{const G=Qa(T,g==null);return r.jsxs("span",{className:`manager-bar-chart-x-axis__label${G?" manager-bar-chart-x-axis__label--future":""}`,children:[r.jsxs("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:[T.isToday&&r.jsx("span",{className:"manager-bar-chart-x-axis__today-dot",style:{background:t}}),T.label]}),T.sublabel&&r.jsx("span",{className:"caption-1",children:T.sublabel})]},O)})})]})})}),L&&r.jsx(go,{anchorRect:L.rect,title:L.title,items:L.items,showIndex:!1,closeOnOutsideClick:!1})]})}function qd({control:e}){const{t}=Ce.useTranslation(),{activeOptions:a,activeIdx:o,range:n,setRange:i,handlePrev:s,handleNext:c,periodOptions:d,period:u,setPeriod:p}=e,h=u==="week"?t("calendar.prevWeek","\uC774\uC804 \uC8FC"):t("calendar.prevMonth","\uC774\uC804 \uB2EC"),m=u==="week"?t("calendar.nextWeek","\uB2E4\uC74C \uC8FC"):t("calendar.nextMonth","\uB2E4\uC74C \uB2EC");return r.jsxs("div",{className:"manager-section-controls",children:[r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"chevron-left",ariaLabel:h,showTooltipInfo:h,disabled:o===a.length-1,onClick:s}),r.jsx(fa,{value:n,onChange:i,options:a,size:40,className:"month-dropdown",ariaLabel:t("calendar.rangeSelect","\uAE30\uAC04 \uC120\uD0DD")}),r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"chevron-right",ariaLabel:m,showTooltipInfo:m,disabled:o<=0,onClick:c}),r.jsx(Ia,{ariaLabel:t("calendar.periodSelect","\uAE30\uAC04 \uB2E8\uC704"),options:d,value:u,onChange:b=>p(b),size:40})]})}function Yd(e,t,a,o=!0){const n=new Date(a.getFullYear(),a.getMonth(),a.getDate());return Array.from({length:7},(i,s)=>{const c=new Date(t);c.setDate(t.getDate()+s);const d=(e[`${c.getFullYear()}\uB144 ${c.getMonth()+1}\uC6D4`]?.daily??[])[c.getDate()-1],u=d!=null&&Qa(d,o)||c>n;return{dt:c,entry:d,isFuture:u}})}function X6(e,t,a,o,n=!0){const{period:i,monthRange:s,weekRange:c,weekRanges:d,DOW:u}=t,p=o?.startsWith("ko"),h=lo(),m=h.getFullYear(),b=h.getMonth()+1,x=h.getDate();if(i==="month"){const g=e[s]??{weekly:[],daily:[]},v=s.match(/^(\d+)년 (\d+)월$/),y=v?Number(v[1]):null,_=v?Number(v[2]):null,B=y&&_?Oa(y,_-1):1;return g.weekly.map((k,S)=>{const w=S+1;let A=k.label,E=!1,L=!1;if(y&&_){const z=B+S*7,j=new Date(y,_-1,z+6),I=j.getMonth()+1,D=j.getDate(),T=I===_?`${D}`:`${I}/${D}`;A=a("manager.chart.weekRange",{start:z,end:T});const O=new Date(m,b-1,x).getTime();E=O>=new Date(y,_-1,z).getTime()&&O<=j.getTime(),L=y>m||y===m&&(_>b||_===b&&z>x)}return{...k,label:A,sublabel:p?`${sf[w-1]??w}\uC8FC`:`Week ${w}`,isToday:E,future:k.future===!0||L||void 0,a:L?-1:k.a,b:L?0:k.b}})}const f=d.find(g=>g.value===c);if(!f)return[];const C=new Date(f.year,f.month-1,Oa(f.year,f.month-1)+f.week*7);return Yd(e,C,h,n).map(({dt:g,entry:v,isFuture:y})=>{const _=g.getMonth()+1,B=g.getDate(),k=g.getFullYear();return{label:_===f.month&&k===f.year?`${B}`:`${_}/${B}`,sublabel:u[g.getDay()]??"",future:y||void 0,a:y?-1:v&&v.a>0?v.a:0,b:y?0:v&&v.b>0?v.b:0,isToday:k===m&&_===b&&B===x,...v?.parts?{parts:y?v.parts.map(()=>0):v.parts}:{},...v?.partsB?{partsB:y?v.partsB.map(()=>0):v.partsB}:{}}})}const J6={small:{height:100,barWidth:16},medium:{height:140,barWidth:20},large:{height:180,barWidth:24}};function lf({size:e="medium",barWidth:t,titleKey:a,data:o,colorA:n,colorB:i,labelAKey:s,labelBKey:c,showTotal:d=!1,totalUnitKey:u,totalLabelKey:p,control:h,hideControls:m=!1,rate:b=!1,rateAgg:x="dayMean",tightMax:f=!1,avgMode:C=!1,totalFormat:g,series:v,seriesMode:y="stack",loading:_=!1,onDetail:B,headExtra:k,headSegment:S,icon:w,disc:A,onClick:E,cardAriaLabel:L,cardTooltip:z,detailSize:j=32,barGap:I,baseline:D,className:T,inGrid:O=!1}){const{t:G,i18n:Z}=Ce.useTranslation(),H=J6[e],V=Ud(o),q=h??V,$=l.useMemo(()=>X6(o,q,G,Z.language,D==null),[o,q,G,Z.language,D]),N=y==="group"&&!!v&&v.length>0;I!=null&&!N&&Ua("bar-chart-bargap-without-group","[BarChart] barGap \uC740 seriesMode='group' + series \uC5D0\uC11C\uB9CC \uC4F0\uC778\uB2E4 \u2014 \uADF8 \uBC16\uC5D0\uC11C\uB294 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4.");const F=l.useMemo(()=>{if(!b)return $;const ee=q.period==="month"?q.monthRange.match(/^(\d+)년 (\d+)월$/):null,Y=lo(),ne=v?.length??0,ie=se=>{const ce=[],U=[],le=[];for(let be=0;be<ne;be++){let ye=0,xe=0,ue=0;for(const _e of se){const Ae=ft(_e.a[be]),X=ft(_e.b[be]);X<=0||(ye+=Ae,xe+=X,ue+=Ae/X*100)}ce.push(x==="weighted"?xe>0?Math.round(ye/xe*100):0:se.length?Math.round(ue/se.length):0),U.push(ye),le.push(xe)}return{pct:ce,ra:U,rb:le}};return $.map((se,ce)=>{let U=se.a===-1?-1:se.b>0?Math.round(se.a/se.b*100):0;if(ee&&!Qa(se)){const be=Number(ee[1]),ye=Number(ee[2])-1,xe=Yd(o,new Date(be,ye,Oa(be,ye)+ce*7),Y).filter(ue=>!ue.isFuture);if(x==="weighted"){let ue=0,_e=0;for(const{entry:Ae}of xe)Ae&&Ae.b>0&&(ue+=Ae.a,_e+=Ae.b);U=_e>0?Math.round(ue/_e*100):0}else U=xe.length?Math.round(xe.reduce((ue,{entry:_e})=>ue+(_e&&_e.b>0?_e.a/_e.b*100:0),0)/xe.length):0}let le=null;if(N&&!Qa(se)){let be;if(ee){const xe=Number(ee[1]),ue=Number(ee[2])-1;be=Yd(o,new Date(xe,ue,Oa(xe,ue)+ce*7),Y).filter(_e=>!_e.isFuture).map(({entry:_e})=>({a:_e?.parts??[],b:_e?.partsB??[]}))}else be=[{a:se.parts??[],b:se.partsB??[]}];const ye=ie(be);le={parts:ye.pct,rawParts:ye.ra,rawPartsB:ye.rb}}return{...se,a:U,b:se.a===-1?0:c&&se.parts&&se.parts[1]>0?Math.round(se.parts[0]/se.parts[1]*100):0,rawA:se.a===-1?-1:se.a,rawB:se.b,...le??{}}})},[$,b,x,c,q.period,q.monthRange,o,N,v?.length]),R=l.useMemo(()=>{if(b||C){const Y=(q.period==="week"?$:o[q.monthRange]?.daily??[]).filter(ie=>ie.a!==-1);if(Y.length===0)return 0;if(b&&x==="weighted"){let ie=0,se=0;for(const ce of Y)ce.b>0&&(ie+=ce.a,se+=ce.b);return se>0?Math.round(ie/se*100):0}const ne=b?Y.reduce((ie,se)=>ie+(se.b>0?se.a/se.b*100:0),0):Y.reduce((ie,se)=>ie+(se.a>0?se.a:0),0);return Math.round(ne/Y.length)}const ee=q.period==="month"?o[q.monthRange]?.daily??[]:F;return D!=null?ee.reduce((Y,ne)=>Y+(Qa(ne,!1)?0:ft(ne.a)+(c?ft(ne.b):0)),0):ee.reduce((Y,ne)=>Y+(ne.a>0?ne.a:0)+(c&&ne.b>0?ne.b:0),0)},[F,$,b,x,C,D,c,q.period,q.monthRange,o]),W=v&&v.length>0?v.map(ee=>({color:ee.color,label:ee.label})):[{color:n,label:G(s)},...c?[{color:i,label:G(c)}]:[]],P=e==="small",Q=[P?"manager-section--compact":e==="large"?"manager-section--full":void 0,T].filter(Boolean).join(" ")||void 0;return r.jsx($i,{className:Q,inGrid:O,icon:w,disc:A,onClick:E,ariaLabel:L,tooltip:z,headSegment:S,headMenuItems:B?[{label:G("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),icon:"list",onClick:B,closeOnSelect:!0}]:void 0,title:G(a),titleClassName:P?"h5 chart-section-title--small":void 0,headRight:P?k??void 0:({collapsed:ee})=>r.jsxs(r.Fragment,{children:[!m&&r.jsx(qd,{control:q}),k,B&&!ee&&r.jsx("span",{className:"manager-bar-chart-detail-btn",children:r.jsx(he,{htmlType:"button",size:j,type:"dot",icon:"list",ariaLabel:G("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),showTooltipInfo:G("trainingStatus.detail","\uC0C1\uC138\uBCF4\uAE30"),onClick:B})})]}),subRow:r.jsxs(r.Fragment,{children:[d?b||C||p&&g?r.jsx(Cr,{label:P?void 0:`${G(q.period==="week"?"manager.chart.weeklyPrefix":"manager.chart.monthlyPrefix")} ${G(p??s)}`,children:g?(g(R).match(/([+-]?\d[\d.,]*|[^\d]+)/g)??[]).map((ee,Y)=>/\d/.test(ee)?r.jsx("span",{className:"barchart-total__num h0",children:ee},Y):r.jsx("span",{className:"barchart-total__unit h5",children:ee},Y)):r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"barchart-total__num h0",children:R}),u&&r.jsx("span",{className:"barchart-total__unit h5",children:G(u)})]})}):r.jsxs(Cr,{children:[r.jsx("span",{className:"barchart-total__num h0",children:R}),r.jsx("span",{className:"barchart-total__unit h5",children:G(s)}),u&&r.jsx("span",{className:"barchart-total__unit h5",children:G(u)})]}):r.jsx("span",{}),r.jsx(Mi,{items:W,className:"caption-1"})]}),children:_?r.jsx("div",{className:"manager-bar-chart-wrap manager-bar-chart-loading","aria-busy":"true",children:r.jsx("div",{className:"manager-bar-chart-inner",children:r.jsxs("div",{className:"manager-bar-chart-area manager-bar-chart-area--loading",children:[r.jsx("div",{className:"manager-bar-chart-plot manager-bar-chart-plot--loading",style:{height:H.height},children:r.jsx(xr,{size:32})}),r.jsx("div",{className:"manager-bar-chart-x-axis","aria-hidden":"true",children:r.jsxs("span",{className:"manager-bar-chart-x-axis__label",children:[r.jsx("span",{className:"caption-1 manager-bar-chart-x-axis__main",children:"\xA0"}),F.some(ee=>!!ee.sublabel)&&r.jsx("span",{className:"caption-1",children:"\xA0"})]})})]})})}):r.jsx(Z6,{data:F,colorA:n,colorB:c?i:void 0,labelA:G(s),labelB:c?G(c):void 0,barWidth:t??H.barWidth,barGap:I,baseline:D,height:H.height,maxOverride:b?100:void 0,tightMax:f,seriesColors:v?.map(ee=>ee.color),seriesLabels:v?.map(ee=>ee.label),rateLabels:b?{total:G("trainingStatus.today.tooltipTotal","\uC804\uCCB4"),done:G("trainingStatus.today.tooltipDone","\uC644\uB8CC")}:void 0,grouped:N})})}var Q6=".ihabdevteam-core-scope .line-chart{display:block;height:auto;overflow:visible;width:100%}.ihabdevteam-core-scope .line-chart__axis-title,.ihabdevteam-core-scope .line-chart__tick{fill:var(--color-gray);font-size:12px}.ihabdevteam-core-scope .line-chart__grid{stroke:var(--color-whiteLine);stroke-width:1}.ihabdevteam-core-scope .line-chart__line{stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ihabdevteam-core-scope .line-chart__dot-hit{fill:transparent}.ihabdevteam-core-scope .line-chart__dot-main{stroke-width:1.5}.ihabdevteam-core-scope .line-chart__dot-main.is-hollow{fill:var(--color-white)}.ihabdevteam-core-scope .line-chart__tip{max-width:220px;white-space:normal}.ihabdevteam-core-scope .line-chart__dot{cursor:default}";oe(Q6);const Kd=120,e9={left:38,right:16,top:26,bottom:24};function cf({points:e=[],range:t,ticks:a=[],axisTitle:o,color:n,height:i=156,fallbackWidth:s=320,insets:c,overlay:d,ariaLabel:u,className:p}){const[h,m]=l.useState(null),[b,x]=l.useState(null);l.useEffect(()=>{if(!b)return;const O=Z=>m(Math.round(Z)||null);if(O(b.getBoundingClientRect().width),typeof ResizeObserver>"u")return;const G=new ResizeObserver(([Z])=>O(Z.contentRect.width));return G.observe(b),()=>{G.disconnect()}},[b]);const{payload:f,anchorRect:C,openAfterDelay:g,close:v}=fd(Kd),y=l.useCallback((O,G)=>{O&&g(O,G.getBoundingClientRect())},[g]),_=h??s,B=i,{left:k,right:S,top:w,bottom:A}={...e9,...c},[E,L]=t,z=O=>L===E?k:k+(_-k-S)*(O-E)/(L-E),j=O=>w+(B-w-A)*(100-O)/100,I={x:z,y:j,plot:{left:k,right:_-S,top:w,bottom:B-A,width:Math.max(0,_-k-S),height:Math.max(0,B-w-A)}},D=e.filter(O=>!O.hollow),T=n??"var(--color-main)";return r.jsxs(r.Fragment,{children:[r.jsxs("svg",{ref:x,className:Te("line-chart",p),viewBox:`0 0 ${_} ${B}`,role:"img","aria-label":u??e.map(O=>O.description).filter(Boolean).join(", "),children:[o&&r.jsx("text",{className:"line-chart__axis-title",x:0,y:12,children:o}),[0,100].map(O=>r.jsxs("g",{children:[r.jsx("line",{className:"line-chart__grid",x1:k,x2:_-S,y1:j(O),y2:j(O)}),r.jsxs("text",{className:"line-chart__tick",x:k-6,y:j(O)+4,textAnchor:"end",children:[O,"%"]})]},O)),d?.(I),a.map(O=>r.jsx("text",{className:"line-chart__tick",x:z(O.x),y:B-5,textAnchor:"middle",children:O.label},O.x)),D.length>1&&r.jsx("polyline",{className:"line-chart__line",fill:"none",stroke:T,points:D.map(O=>`${z(O.x)},${j(O.pct)}`).join(" ")}),e.map(O=>r.jsxs("g",{className:"line-chart__dot",onPointerEnter:G=>y(O.description,G.currentTarget),onPointerLeave:v,children:[r.jsx("circle",{className:"line-chart__dot-hit",cx:z(O.x),cy:j(O.pct),r:12}),r.jsx("circle",{className:Te("line-chart__dot-main",O.hollow&&"is-hollow"),cx:z(O.x),cy:j(O.pct),r:4,stroke:T,fill:O.hollow?void 0:T})]},O.x))]}),f!=null&&r.jsx(ga,{anchorRect:C,offset:10,closeOnOutsideClick:!1,className:"line-chart__tip",role:"tooltip",ariaLabel:f,children:f})]})}var t9=".ihabdevteam-core-scope .game-intro{align-items:center;display:flex;flex-direction:column;gap:14px;padding:0;text-align:center}.ihabdevteam-core-scope .game-intro__icon{font-size:56px;font-size:var(--game-intro-icon,56px)}.ihabdevteam-core-scope .game-intro__title{color:var(--color-onDark-title);margin:0}.ihabdevteam-core-scope .game-intro__description{color:var(--color-onDark-text);line-height:1.75;margin:0}.ihabdevteam-core-scope .game-intro__tips{background:var(--color-onDark-surface);border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-onDark-text);display:flex;flex-direction:column;gap:4px;padding:var(--spacing-l);text-align:left;width:100%}.ihabdevteam-core-scope .game-intro__tips-title{color:var(--color-onDark-muted);letter-spacing:.06em;margin-bottom:4px}.ihabdevteam-core-scope .game-intro__tip{align-items:flex-start;display:flex;gap:var(--spacing-xs)}";oe(t9);function df({icon:e,iconSize:t=56,title:a,titleClass:o="h2",description:n,tipGroups:i,start:s,className:c}){return r.jsxs("div",{className:Te("game-intro",c),children:[e!=null&&r.jsx("span",{className:"game-intro__icon","aria-hidden":"true",style:{"--game-intro-icon":`${t}px`},children:e}),r.jsx("h2",{className:Te("game-intro__title",o),children:a}),n!=null&&r.jsx("p",{className:"game-intro__description body-3",children:n}),i?.map((d,u)=>r.jsxs("div",{className:"game-intro__tips",children:[d.title!=null&&r.jsx("span",{className:"game-intro__tips-title body-3",children:d.title}),d.tips.map((p,h)=>r.jsxs("span",{className:"game-intro__tip body-3",children:[p.icon!=null&&r.jsx("span",{"aria-hidden":"true",children:p.icon}),r.jsx("span",{children:p.text})]},h))]},u)),s&&r.jsx(he,{htmlType:"button",className:s.className,variant:"main",color:s.color,size:48,width:"100%",disabled:s.disabled,onClick:s.onClick,children:s.label})]})}const uf=(e,t,a)=>{const o=new Date(Date.UTC(e,t,a));return`${o.getUTCFullYear()}-${String(o.getUTCMonth()+1).padStart(2,"0")}-${String(o.getUTCDate()).padStart(2,"0")}`},pf=(e,t,a,o)=>({from:Zn(e,t,a),to:new Date(Zn(e,t,a+o).getTime()-1),fromYmd:uf(e,t,a),toYmd:uf(e,t,a+o-1)});function hf(e,t=0){if(e.period==="month"){const n=e.monthRange.match(/^(\d+)년 (\d+)월$/),i=lo(),s=n?Number(n[1]):i.getFullYear(),c=(n?Number(n[2]):i.getMonth()+1)-1+t,d=new Date(Date.UTC(s,c+1,0)).getUTCDate();return pf(s,c,1,d)}const a=e.weekRanges.find(n=>n.value===e.weekRange);if(!a){const n=new Date,i=ba();return{from:n,to:n,fromYmd:i,toYmd:i}}const o=Oa(a.year,a.month-1);return pf(a.year,a.month-1,o+(a.week+t)*7,7)}var a9=".ihabdevteam-core-scope .ring-chart{flex-shrink:0;position:relative}.ihabdevteam-core-scope .ring-chart svg{display:block}.ihabdevteam-core-scope .ring-chart__center{align-items:center;display:flex;flex-direction:column;inset:0;justify-content:center;pointer-events:none;position:absolute}.ihabdevteam-core-scope .ring-chart__center--small{transform:translateY(6.5px)}.ihabdevteam-core-scope .ring-chart__center--medium{transform:translateY(7.5px)}.ihabdevteam-core-scope .ring-chart__center--large{transform:translateY(8.5px)}.ihabdevteam-core-scope .ring-chart__pct{color:var(--color-darkGray);line-height:1}.ihabdevteam-core-scope .ring-chart__label{color:var(--color-lightGray)}.ihabdevteam-core-scope .ring-chart__label--tight{margin-top:-2px}.ihabdevteam-core-scope .ring-chart-section-body{display:flex;justify-content:center}.ihabdevteam-core-scope .ring-chart-section-body--offset{justify-content:flex-end}";oe(a9);const Zd={small:{diameter:96,strokeWidth:16},medium:{diameter:120,strokeWidth:18},large:{diameter:160,strokeWidth:22}};function mf(e){return!Number.isFinite(e)||e<=0?0:e>=1?100:Math.min(99,Math.max(1,Math.round(e*100)))}function bf({done:e,total:t,segments:a,color:o="var(--color-main)",size:n="medium",strokeWidth:i,label:s="%",hideCenter:c=!1,hideLabel:d=!1}){const u=typeof n=="number"?n:Zd[n].diameter,p=i??(typeof n=="number"?12:Zd[n].strokeWidth),h=u/2,m=(u-p)/2,b=2*Math.PI*m;if(a&&a.length>0){const g=a.reduce((v,y)=>{const _=v.length>0?v[v.length-1].acc:0,B=Number.isFinite(y.ratio)?y.ratio:0,k=Math.max(0,Math.min(B,1-_));return v.push({color:y.color,rotate:-90+_*360,dash:b*k,acc:_+k}),v},[]);return r.jsx("div",{className:"ring-chart",style:{width:u,height:u},children:r.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),g.map((v,y)=>v.dash>0&&r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:v.color,strokeWidth:p,strokeDasharray:`${v.dash} ${b}`,strokeLinecap:"round",transform:`rotate(${v.rotate} ${h} ${h})`},y))]})})}const x=(t??0)>0?Math.min((e??0)/t,1):0,f=b*x,C=b-f;return r.jsxs("div",{className:"ring-chart",style:{width:u,height:u},children:[r.jsxs("svg",{width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",children:[r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:"var(--color-whiteLine)",strokeWidth:p}),x>0&&r.jsx("circle",{cx:h,cy:h,r:m,fill:"none",stroke:o,strokeWidth:p,strokeDasharray:`${f} ${C}`,strokeLinecap:x<.02||x>.98?"butt":"round",transform:`rotate(-90 ${h} ${h})`})]}),!c&&r.jsxs("div",{className:`ring-chart__center${d?"":` ${u<=96?"ring-chart__center--small":n==="medium"?"ring-chart__center--medium":"ring-chart__center--large"}`}`,children:[r.jsx("span",{className:`ring-chart__pct ${u<=96?"h2":"h1"}`,children:mf(x)}),!d&&r.jsx("span",{className:`ring-chart__label ${u<=96?"caption-2":"caption-1"}${u<=96||n==="medium"?" ring-chart__label--tight":""}`,children:s})]})]})}function gf({titleKey:e,headRight:t,icon:a,showTotal:o,totalLabelKey:n,legend:i,loading:s,className:c,inGrid:d=!1,onClick:u,ariaLabel:p,tooltip:h,...m}){const{t:b}=Ce.useTranslation();if(!e)return r.jsx(bf,{...m});const x=(m.total??0)>0?mf(Math.min((m.done??0)/m.total,1)):0,f=m.size==="small",C=typeof m.size=="number"?m.size:Zd[m.size??"medium"].diameter,g=m.size==="large",v=[c,f?"manager-section--compact":g?"manager-section--full":""].filter(Boolean).join(" ")||void 0,y=a&&r.jsx("span",{className:"chart-section-icon",children:r.jsx(Je,{icon:a,className:"chart-section-icon-inner"})});return r.jsx($i,{className:v,inGrid:d,onClick:u,ariaLabel:p,tooltip:h,title:b(e),titleClassName:f?"h5 chart-section-title--small":void 0,headRight:y||(f?void 0:t),subRow:(o||i)&&r.jsxs(r.Fragment,{children:[o?r.jsxs(Cr,{label:!f&&n?b(n):void 0,children:[r.jsx("span",{className:"barchart-total__num h0",children:x}),r.jsx("span",{className:"barchart-total__unit h5",children:"%"})]}):r.jsx("span",{}),i&&r.jsx(Mi,{items:i})]}),children:s?r.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:r.jsx("div",{className:"ring-chart ring-chart--loading",style:{width:C,height:C},"aria-busy":"true",children:r.jsx(xr,{size:32})})}):r.jsx("div",{className:"ring-chart-section-body ring-chart-section-body--offset",children:r.jsx(bf,{...m,hideCenter:m.hideCenter??f})})})}var o9=".ihabdevteam-core-scope .manager-stat-card{background:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-card);container-type:inline-size;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;min-width:160px;padding:20px}.ihabdevteam-core-scope .manager-stat-card--clickable{border:1px solid transparent;cursor:pointer;transition:box-shadow .12s ease,border-color .12s ease}.ihabdevteam-core-scope .manager-stat-card--clickable:hover{border-color:var(--color-main);box-shadow:var(--shadow-dropdown)}.ihabdevteam-core-scope .manager-stat-card__label-row{align-items:center;display:flex;justify-content:space-between;min-height:28px}.ihabdevteam-core-scope .manager-stat-card__label{color:var(--color-deepGray)}.ihabdevteam-core-scope .manager-stat-card__icon{display:inline-flex;opacity:.35}.ihabdevteam-core-scope .manager-stat-card__icon-inner{color:var(--color-darkGray);height:22px;width:22px}.ihabdevteam-core-scope .manager-stat-card__content{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:var(--spacing-xs);justify-content:space-between}.ihabdevteam-core-scope .manager-stat-card__body{align-items:stretch;display:flex;flex-direction:column;gap:4px;text-align:left;width:100%}.ihabdevteam-core-scope .manager-stat-card__left{align-items:flex-start;display:flex;flex:1;flex-direction:row;gap:8px;text-align:left}.ihabdevteam-core-scope .manager-stat-card__value{color:var(--color-black);flex-shrink:0;font-size:32px;font-weight:700;letter-spacing:-.5px;line-height:1;white-space:nowrap}.ihabdevteam-core-scope .manager-stat-card__change{font-size:12px;font-weight:500;line-height:1.2;margin-top:1px;min-width:0}.ihabdevteam-core-scope .manager-stat-card__change--up{color:var(--color-sub)}.ihabdevteam-core-scope .manager-stat-card__change--down{color:var(--color-error)}.ihabdevteam-core-scope .manager-stat-card__change--neutral{color:var(--color-gray)}@media (max-width:767px){.ihabdevteam-core-scope .manager-stat-card{padding:12px 14px 16px}.ihabdevteam-core-scope .manager-stat-card__value{font-size:24px}}";oe(o9);function ff({label:e,value:t,change:a,changeType:o,icon:n,tooltip:i,onClick:s,children:c}){const d=l.useRef(null),{anchorRect:u,openAt:p,close:h}=Io(),m=l.useCallback(()=>{i&&d.current&&p(d.current)},[i,p]),b=o??(a===void 0?void 0:a>0?"up":a<0?"down":"neutral"),x=a===void 0?void 0:a>0?`+${a}`:`${a}`,f=l.useCallback(C=>{s&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),s())},[s]);return r.jsxs("div",{ref:d,className:`manager-stat-card${s?" manager-stat-card--clickable":""}`,onClick:s,onKeyDown:s?f:void 0,onPointerEnter:m,onPointerLeave:h,onFocus:m,onBlur:h,role:s?"button":void 0,tabIndex:s?0:void 0,"aria-label":s?[e,t,x].filter(C=>C!==void 0&&C!=="").join(" "):void 0,children:[i&&u&&r.jsx(ka,{anchorRect:{left:u.left,top:u.top+21,right:u.right,bottom:u.bottom,width:u.width,height:u.height},text:i}),r.jsxs("div",{className:"manager-stat-card__label-row",children:[r.jsx("span",{className:"manager-stat-card__label h5",children:e}),n&&r.jsx("span",{className:"manager-stat-card__icon",children:r.jsx(Je,{icon:n,className:"manager-stat-card__icon-inner"})})]}),r.jsxs("div",{className:"manager-stat-card__content",children:[r.jsxs("div",{className:"manager-stat-card__left",children:[r.jsx("div",{className:"manager-stat-card__value h2",children:t}),x&&r.jsx("div",{className:`manager-stat-card__change manager-stat-card__change--${b??"neutral"} caption-1`,children:x})]}),c&&r.jsx("div",{className:"manager-stat-card__body",children:c})]})]})}var r9='.ihabdevteam-core-scope .slider{--slider-thumb:40px;--slider-fill:calc(var(--slider-thumb)/2 + var(--slider-ratio, 0)*(100% - var(--slider-thumb)));--slider-fill-color:var(--color-main);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border-radius:999px;cursor:pointer;margin:0;outline:none}.ihabdevteam-core-scope .slider:disabled{--slider-fill-color:var(--color-gray);cursor:not-allowed}.ihabdevteam-core-scope .slider:focus-visible{outline:2px solid var(--color-main);outline-offset:4px}.ihabdevteam-core-scope .slider--horizontal{background:linear-gradient(to right,var(--slider-fill-color) var(--slider-fill),var(--color-darkWhite) var(--slider-fill));height:var(--slider-thumb);width:100%}.ihabdevteam-core-scope .slider--vertical{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(to top,var(--slider-fill-color) var(--slider-fill),var(--color-darkWhite) var(--slider-fill));direction:rtl;height:160px;width:var(--slider-thumb);writing-mode:vertical-lr}.ihabdevteam-core-scope .slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--color-white);border:2px solid var(--slider-fill-color);border-radius:50%;box-shadow:var(--shadow-dropdown);cursor:pointer;height:var(--slider-thumb);width:var(--slider-thumb)}.ihabdevteam-core-scope .slider:disabled::-webkit-slider-thumb{cursor:not-allowed}.ihabdevteam-core-scope .slider::-moz-range-thumb{background:var(--color-white);border:2px solid var(--slider-fill-color);border-radius:50%;box-shadow:var(--shadow-dropdown);cursor:pointer;height:var(--slider-thumb);width:var(--slider-thumb)}.ihabdevteam-core-scope .slider::-moz-range-track{background:transparent}.ihabdevteam-core-scope .slider--static{pointer-events:none}.ihabdevteam-core-scope .slider--static::-webkit-slider-thumb{visibility:hidden}.ihabdevteam-core-scope .slider--static::-moz-range-thumb{visibility:hidden}.ihabdevteam-core-scope .slider-wrap{align-items:center;display:flex;gap:10px}.ihabdevteam-core-scope .slider-wrap--label-left,.ihabdevteam-core-scope .slider-wrap--label-right{flex-direction:row}.ihabdevteam-core-scope .slider-wrap--label-left>.slider,.ihabdevteam-core-scope .slider-wrap--label-left>.slider-track-group,.ihabdevteam-core-scope .slider-wrap--label-right>.slider,.ihabdevteam-core-scope .slider-wrap--label-right>.slider-track-group{flex:1;min-width:0}.ihabdevteam-core-scope .slider-wrap--label-bottom,.ihabdevteam-core-scope .slider-wrap--label-top{flex-direction:column;gap:6px}.ihabdevteam-core-scope .slider-wrap--label-left .slider-wrap__value,.ihabdevteam-core-scope .slider-wrap--label-top .slider-wrap__value{order:-1}.ihabdevteam-core-scope .slider-wrap--label-bottom.slider-wrap--align-left,.ihabdevteam-core-scope .slider-wrap--label-top.slider-wrap--align-left{align-items:flex-start}.ihabdevteam-core-scope .slider-wrap--label-bottom.slider-wrap--align-center,.ihabdevteam-core-scope .slider-wrap--label-top.slider-wrap--align-center{align-items:center}.ihabdevteam-core-scope .slider-wrap--label-bottom.slider-wrap--align-right,.ihabdevteam-core-scope .slider-wrap--label-top.slider-wrap--align-right{align-items:flex-end}.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-bottom>.slider,.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-bottom>.slider-track-group,.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-top>.slider,.ihabdevteam-core-scope .slider-wrap--horizontal.slider-wrap--label-top>.slider-track-group{align-self:stretch}.ihabdevteam-core-scope .slider-wrap__value{font-feature-settings:"tnum";color:var(--color-main);flex-shrink:0;font-variant-numeric:tabular-nums;white-space:nowrap}.ihabdevteam-core-scope .slider-wrap--label-left .slider-wrap__value,.ihabdevteam-core-scope .slider-wrap--label-right .slider-wrap__value{min-width:2.5em;text-align:right}.ihabdevteam-core-scope .slider-track-group{align-items:center;display:flex;gap:8px}.ihabdevteam-core-scope .slider-track-group--horizontal{flex-direction:row}.ihabdevteam-core-scope .slider-track-group--horizontal .slider{flex:1;min-width:0}.ihabdevteam-core-scope .slider-track-group--vertical{flex-direction:column}.ihabdevteam-core-scope .slider-wrap__minmax{font-feature-settings:"tnum";color:var(--color-lightGray);flex-shrink:0;font-variant-numeric:tabular-nums;white-space:nowrap}';oe(r9);function Xd({value:e,onChange:t,min:a=0,max:o=100,step:n=1,orientation:i="horizontal",size:s=24,disabled:c=!1,ariaLabel:d,length:u,className:p,label:h,formatValue:m,labelPos:b,labelAlign:x="right",showMinMax:f=!1,minLabel:C,maxLabel:g,showBgTick:v=!1,showFillTick:y=!1,tickStep:_,tickShape:B="dot"}){t&&!d&&Ua("Slider:unnamed","[ihab/Slider] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. label prop \uC740 \uAC12 \uD45C\uAE30 \uBC29\uC2DD\uC774\uC9C0 \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4.");const k=Math.min(o,Math.max(a,e)),S=o>a?(k-a)/(o-a):0,w=i==="vertical",A=!t,E=N=>t?.(Number(N.target.value)),L=typeof u=="number"?`${u}px`:u,z={"--slider-ratio":String(S),"--slider-thumb":`${s}px`,...L?w?{height:L}:{width:L}:{}},j=_??n,I=(v||y)&&j>0&&o>a?Math.floor((o-a)/j+1e-6):0;if(I>0&&I<=100){const N=B!=="dash",F=ee=>N?`radial-gradient(circle, ${ee} 0.5px, transparent 1px)`:w?`linear-gradient(to bottom, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`:`linear-gradient(to right, transparent calc(50% - 2px), ${ee} calc(50% - 2px), ${ee} calc(50% + 2px), transparent calc(50% + 2px))`,R=N?"2px":"4px",W=[],P=[],Q=[];for(let ee=0;ee<=I;ee++){const Y=ee*j/(o-a);if(Y>1+1e-6)break;const ne=`${((w?1-Y:Y)*100).toFixed(4)}%`,ie=Y<=S+1e-6;if(ie?!y:!v)continue;const se=ie?"var(--slider-tick-color-on-fill, var(--color-deepWhite))":"var(--slider-tick-color, var(--color-lightGray))";W.push(F(se)),P.push(w?`${R} var(--slider-thumb)`:`var(--slider-thumb) ${R}`),Q.push(w?`center ${ne}`:`${ne} center`)}W.push(w?"linear-gradient(to top, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))":"linear-gradient(to right, var(--slider-fill-color) var(--slider-fill), var(--color-darkWhite) var(--slider-fill))"),P.push("100% 100%"),Q.push("0 0"),z.backgroundImage=W.join(", "),z.backgroundSize=P.join(", "),z.backgroundPosition=Q.join(", "),z.backgroundRepeat="no-repeat"}const D=m?m(k):h==="percent"?`${Math.round(o>a?(k-a)/(o-a)*100:0)}%`:h==="count"?`${k} / ${o}`:k===a&&C?C:k===o&&g?g:void 0,T=r.jsx("input",{type:"range",className:Te("slider",`slider--${i}`,A&&"slider--static",!h&&!f&&p),min:a,max:o,step:n,value:k,disabled:c,readOnly:A,tabIndex:A?-1:void 0,"aria-label":d,"aria-valuetext":D,"aria-orientation":i,onChange:E,style:z});if(!h&&!f)return T;const O=r.jsx("span",{className:"slider-wrap__minmax caption-1",children:C??a}),G=r.jsx("span",{className:"slider-wrap__minmax caption-1",children:g??o}),Z=f?r.jsxs("div",{className:Te("slider-track-group",`slider-track-group--${i}`,!h&&p),children:[w?G:O,T,w?O:G]}):T;if(!h)return Z;const H=b??(w?"bottom":"right"),V=`${Math.round(o>a?(k-a)/(o-a)*100:0)}%`,q=m?m(k):h==="percent"?V:h==="count"?`${k} / ${o}`:String(k),$=r.jsx("span",{className:"slider-wrap__value body-3b",children:q});return r.jsxs("div",{className:Te("slider-wrap",`slider-wrap--${i}`,`slider-wrap--label-${H}`,`slider-wrap--align-${x}`,p),children:[Z,$]})}var n9='.ihabdevteam-core-scope .audio-meter{align-items:center;display:inline-flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .audio-meter__track{--meter-level:0;background:var(--color-darkWhite);border-radius:999px;flex-shrink:0;overflow:hidden;position:relative}.ihabdevteam-core-scope .audio-meter__fill{inset:0;position:absolute}.ihabdevteam-core-scope .audio-meter__value{font-feature-settings:"tnum";color:var(--color-gray);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;width:40px}.ihabdevteam-core-scope .audio-meter--horizontal .audio-meter__track{height:8px;width:120px}.ihabdevteam-core-scope .audio-meter--horizontal .audio-meter__fill{background:linear-gradient(to right,var(--color-success) 0,var(--color-success) 55%,var(--color-warn) 80%,var(--color-error) 100%);transform:scaleX(var(--meter-level));transform-origin:left}.ihabdevteam-core-scope .audio-meter--vertical{flex-direction:column}.ihabdevteam-core-scope .audio-meter--vertical .audio-meter__track{height:120px;width:8px}.ihabdevteam-core-scope .audio-meter--vertical .audio-meter__fill{background:linear-gradient(to top,var(--color-success) 0,var(--color-success) 55%,var(--color-warn) 80%,var(--color-error) 100%);transform:scaleY(var(--meter-level));transform-origin:bottom}.ihabdevteam-core-scope .audio-meter.audio-meter--label-left,.ihabdevteam-core-scope .audio-meter.audio-meter--label-right{flex-direction:row}.ihabdevteam-core-scope .audio-meter.audio-meter--label-bottom,.ihabdevteam-core-scope .audio-meter.audio-meter--label-top{flex-direction:column}.ihabdevteam-core-scope .audio-meter--label-left .audio-meter__value,.ihabdevteam-core-scope .audio-meter--label-top .audio-meter__value{order:-1}.ihabdevteam-core-scope .audio-meter--label-bottom.audio-meter--align-left,.ihabdevteam-core-scope .audio-meter--label-top.audio-meter--align-left{align-items:flex-start}.ihabdevteam-core-scope .audio-meter--label-bottom.audio-meter--align-center,.ihabdevteam-core-scope .audio-meter--label-top.audio-meter--align-center{align-items:center}.ihabdevteam-core-scope .audio-meter--label-bottom.audio-meter--align-right,.ihabdevteam-core-scope .audio-meter--label-top.audio-meter--align-right{align-items:flex-end}';oe(n9);const i9=.86,s9=250,Jd=(e,t,a,o)=>Math.round(Math.min(o,Math.max(a,e-t))),Qd=(e,t,a,o)=>{const n=Jd(e,t,a,o);return`${n<0?"-":"+"}${Math.abs(n)} dB`};function Ri({analyser:e,audioElement:t,orientation:a="horizontal",length:o,label:n,labelPos:i,labelAlign:s="right",floorDb:c=-60,refDb:d=-35,displayMin:u=-5,displayMax:p=25,className:h,ariaLabel:m}){const b=l.useRef(null),x=l.useRef(null),f=l.useRef(null),C=l.useRef(null),[g,v]=l.useState(null);l.useEffect(()=>{const k=T=>{const O=Qd(T,d,u,p);f.current&&(f.current.textContent=O);const G=b.current;G&&(G.setAttribute("aria-valuenow",String(Jd(T,d,u,p))),G.setAttribute("aria-valuetext",O))},S=e??Ms(t)??(g&&g.el===t?g.node:null),w=x.current;if(!S||!w){w?.style.setProperty("--meter-level","0"),k(c);let T=!1;return!e&&t&&Zo(t).then(O=>{!T&&O&&v({el:t,node:O})}),()=>{T=!0}}Ir();const A=new Float32Array(S.fftSize);let E=0,L=0,z=0,j=0,I=null;const D=T=>{const O=$s(S,A);E=O>E?O:E*i9;const G=E>1e-5?20*Math.log10(E):-1/0,Z=Math.max(c,G),H=Z-d,V=Math.min(1,Math.max(0,(H-u)/(p-u)));if(w.style.setProperty("--meter-level",V.toFixed(3)),L+=Z,z+=1,T-j>=s9){const q=L/z;I=I==null?q:I*.6+q*.4,k(I),L=0,z=0,j=T}C.current=requestAnimationFrame(D)};return C.current=requestAnimationFrame(D),()=>{C.current!=null&&cancelAnimationFrame(C.current),C.current=null}},[e,t,g,c,d,u,p]);const y=typeof o=="number"?`${o}px`:o,_=r.jsx("div",{className:"audio-meter__track",style:y?a==="vertical"?{height:y}:{width:y}:{},children:r.jsx("div",{ref:x,className:"audio-meter__fill"})}),B=i??(a==="vertical"?"bottom":"right");return r.jsxs("div",{ref:b,className:Te("audio-meter",`audio-meter--${a}`,n&&`audio-meter--label-${B}`,n&&`audio-meter--align-${s}`,h),role:"meter","aria-label":m,"aria-valuemin":u,"aria-valuemax":p,"aria-valuenow":Jd(c,d,u,p),"aria-valuetext":Qd(c,d,u,p),children:[_,n&&r.jsx("span",{ref:f,className:"audio-meter__value caption-2",children:Qd(c,d,u,p)})]})}const vf=260;function eu({message:e,position:t,duration:a,onClose:o}){const[n,i]=l.useState(!1),[s,c]=l.useState(!1),d=l.useRef(s),u=l.useRef(n);l.useEffect(()=>{d.current=s},[s]),l.useEffect(()=>{u.current=n},[n]);const p=l.useRef(null),h=l.useRef(""),m=l.useRef(o);l.useEffect(()=>{m.current=o});const b=a,x=l.useRef(null),f=l.useRef(0),C=l.useRef(0),g=l.useRef(!1),v=l.useRef(null),y=l.useRef(null),_=l.useRef(null),B=l.useRef(null),k=l.useRef(()=>{});k.current=A=>{A<0||(f.current=Date.now(),C.current=A,x.current=setTimeout(()=>{x.current=null,i(!1),v.current=setTimeout(()=>{c(!1);try{m.current()}catch{}},vf)},A))};const S=l.useCallback(()=>{g.current||!x.current||(g.current=!0,clearTimeout(x.current),x.current=null,C.current=Math.max(0,C.current-(Date.now()-f.current)))},[]),w=l.useCallback(()=>{g.current&&(g.current=!1,k.current(C.current))},[]);return l.useEffect(()=>{if(e!==h.current&&(x.current&&(clearTimeout(x.current),x.current=null),v.current&&(clearTimeout(v.current),v.current=null)),e){if(u.current)return b>0&&!x.current&&(g.current?C.current=b:k.current(b)),h.current=e,()=>{x.current&&(clearTimeout(x.current),x.current=null),v.current&&(clearTimeout(v.current),v.current=null)};const A=()=>{const E=p.current;if(E)try{E.classList.remove("is-visible"),E.style.transition="none",t==="top"?E.style.transform="translateX(-50%) translateY(-16px)":E.style.transform="translateX(-50%) translateY(16px)",E.style.opacity="0",E.offsetWidth,E.style.transition="",E.classList.add("is-visible"),B.current&&clearTimeout(B.current),B.current=setTimeout(()=>{B.current=null;try{E.style.opacity="",E.style.transform="",E.style.transition=""}catch{}},60)}catch{}};d.current?(A(),i(!0)):(c(!0),y.current=requestAnimationFrame(()=>{_.current=requestAnimationFrame(()=>{A(),i(!0)})})),b>0&&(g.current=!1,k.current(b))}else i(!1),v.current=setTimeout(()=>c(!1),vf);return h.current=e,()=>{x.current&&clearTimeout(x.current),v.current&&clearTimeout(v.current),y.current&&cancelAnimationFrame(y.current),_.current&&cancelAnimationFrame(_.current),B.current&&clearTimeout(B.current),x.current=null,v.current=null,y.current=null,_.current=null,B.current=null}},[e,b,t]),{mounted:s,showing:n,popupRef:p,pause:S,resume:w}}var l9=".ihabdevteam-core-scope .toast{left:50%;pointer-events:none;position:fixed;transform:translateX(-50%);will-change:transform,opacity;z-index:var(--z-toast)}.ihabdevteam-core-scope .toast__inner{align-items:center;background:var(--color-main);border-radius:var(--radius-m);box-shadow:var(--shadow-popup);box-sizing:border-box;color:#fff;display:flex;justify-content:center;margin:0;max-width:min(520px,calc(100vw - 32px));min-height:60px;min-width:min(360px,calc(100vw - 32px));overflow:hidden;padding:var(--spacing-content);pointer-events:auto;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .toast__inner--normal{background:linear-gradient(var(--color-white),var(--color-white)) padding-box,linear-gradient(135deg,var(--color-main),var(--color-sub)) border-box;border:2px solid transparent;color:var(--color-black)}.ihabdevteam-core-scope .toast__inner--notice{background:linear-gradient(135deg,var(--color-main),var(--color-sub));color:#fff}.ihabdevteam-core-scope .toast__inner--warning{background:var(--color-error);color:#fff}.ihabdevteam-core-scope .toast--top{opacity:0;top:18px;transform:translateX(-50%) translateY(-100%);transition:transform .26s cubic-bezier(.22,.9,.3,1),opacity .18s ease-out}.ihabdevteam-core-scope .toast:not(.is-visible) .toast__inner{pointer-events:none}.ihabdevteam-core-scope .toast--top.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}.ihabdevteam-core-scope .toast--bottom{bottom:18px;opacity:0;transform:translateX(-50%) translateY(100%);transition:transform .26s cubic-bezier(.22,.9,.3,1),opacity .18s ease-out}.ihabdevteam-core-scope .toast--bottom.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}";oe(l9);function Fo({message:e="",position:t="top",type:a="normal",onClose:o=()=>{},duration:n=2e3}){const{mounted:i,showing:s,popupRef:c,pause:d,resume:u}=eu({message:e,position:t,duration:n,onClose:o}),p=l.useRef(null),[h,m]=l.useState(!1);if(l.useEffect(()=>{s?m(!0):i||m(!1)},[s,i]),!i)return null;const b=a==="notice"||a==="warning"?a:"normal",x=r.jsx("div",{ref:c,className:`toast toast--${t} ${s?"is-visible":""}`,role:"status","aria-live":"polite",onPointerEnter:f=>{p.current=f.pointerType},onMouseEnter:()=>{p.current!=="touch"&&d()},onMouseLeave:u,onFocusCapture:d,onBlurCapture:u,children:r.jsx("div",{className:`toast__inner toast__inner--${b} body-2`,"aria-hidden":h||s?void 0:!0,children:e})});return typeof document<"u"?ca.createPortal(x,document.body):x}var c9='.ihabdevteam-core-scope .progress-bar{flex-shrink:0}.ihabdevteam-core-scope .progress-bar__track{background:var(--progress-bar-track,var(--color-darkWhite));border-radius:999px;height:8px;height:var(--progress-bar-height,8px);overflow:hidden;width:100%}.ihabdevteam-core-scope .progress-bar__fill{background:var(--progress-bar-fill,var(--color-main));border-radius:inherit;height:100%;transition:width .3s ease;transition:width var(--progress-bar-duration,.3s) ease}.ihabdevteam-core-scope .progress-bar__label{font-feature-settings:"tnum";color:var(--progress-bar-label-color,var(--color-gray));font-variant-numeric:tabular-nums}.ihabdevteam-core-scope .progress-bar--4{--progress-bar-height:4px}.ihabdevteam-core-scope .progress-bar--8{--progress-bar-height:8px}.ihabdevteam-core-scope .progress-bar--16{--progress-bar-height:16px}.ihabdevteam-core-scope .progress-bar--24{--progress-bar-height:24px}.ihabdevteam-core-scope .progress-bar--32{--progress-bar-height:32px}.ihabdevteam-core-scope .progress-bar--label-left,.ihabdevteam-core-scope .progress-bar--label-right{align-items:center;display:flex;gap:10px}.ihabdevteam-core-scope .progress-bar--label-left>.progress-bar__track,.ihabdevteam-core-scope .progress-bar--label-right>.progress-bar__track{flex:1;min-width:0}.ihabdevteam-core-scope .progress-bar--label-left .progress-bar__label{order:-1}.ihabdevteam-core-scope .progress-bar--label-bottom,.ihabdevteam-core-scope .progress-bar--label-top{display:flex;flex-direction:column;gap:6px}.ihabdevteam-core-scope .progress-bar--label-top .progress-bar__label{order:-1}.ihabdevteam-core-scope .progress-bar--label-bottom.progress-bar--align-left,.ihabdevteam-core-scope .progress-bar--label-top.progress-bar--align-left{align-items:flex-start}.ihabdevteam-core-scope .progress-bar--label-bottom.progress-bar--align-center,.ihabdevteam-core-scope .progress-bar--label-top.progress-bar--align-center{align-items:center}.ihabdevteam-core-scope .progress-bar--label-bottom.progress-bar--align-right,.ihabdevteam-core-scope .progress-bar--label-top.progress-bar--align-right{align-items:flex-end}.ihabdevteam-core-scope .progress-bar--label-bottom>.progress-bar__track,.ihabdevteam-core-scope .progress-bar--label-top>.progress-bar__track{align-self:stretch}.ihabdevteam-core-scope .progress-bar--label-inside{position:relative}.ihabdevteam-core-scope .progress-bar--label-inside .progress-bar__label{pointer-events:none;position:absolute;top:50%}.ihabdevteam-core-scope .progress-bar--label-on-fill .progress-bar__label{color:var(--progress-bar-label-color-on-fill,var(--color-deepWhite))}.ihabdevteam-core-scope .progress-bar--label-inside.progress-bar--align-left .progress-bar__label{left:10px;transform:translateY(-50%)}.ihabdevteam-core-scope .progress-bar--label-inside.progress-bar--align-center .progress-bar__label{left:50%;transform:translate(-50%,-50%)}.ihabdevteam-core-scope .progress-bar--label-inside.progress-bar--align-right .progress-bar__label{right:10px;transform:translateY(-50%)}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .progress-bar__fill{transition:none}}';oe(c9);const d9=24;function xf({value:e,max:t=100,size:a=8,color:o,trackColor:n,label:i,formatValue:s,labelPos:c,labelAlign:d="right",ariaLabel:u,className:p}){const h=Number.isFinite(t)&&t>0?t:1,m=Math.max(0,Math.min(Number.isFinite(e)?e:0,h)),b=m/h*100,x=Number.isFinite(t)&&t>0?t:0,f=c??(a>=d9?"inside":"bottom"),C=f==="center"?"inside":f,g=C==="inside"&&(d==="left"?b>=15:d==="center"?b>=50:b>=85),v={};return o&&(v["--progress-bar-fill"]=o),n&&(v["--progress-bar-track"]=n),r.jsxs("div",{className:Te("progress-bar",`progress-bar--${a}`,`progress-bar--label-${C}`,i&&`progress-bar--align-${d}`,i&&g&&"progress-bar--label-on-fill",p),style:v,children:[r.jsx("div",{className:"progress-bar__track",role:"progressbar","aria-valuenow":m,"aria-valuemin":0,"aria-valuemax":x,"aria-valuetext":i?s?s(m):i==="percent"?void 0:i==="raw"?String(m):`${m} / ${x}`:void 0,"aria-label":u,children:r.jsx("div",{className:"progress-bar__fill",style:{width:`${b}%`}})}),i&&r.jsx("span",{className:"progress-bar__label caption-1b",children:s?s(m):i==="percent"?`${Math.round(b)}%`:i==="raw"?String(m):`${m} / ${x}`})]})}var u9=".ihabdevteam-core-scope .progress-indicator{align-items:center;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .progress-indicator-dot{align-items:center;background:var(--pi-inactive-bg,var(--color-whiteLine));border-radius:var(--radius-card);color:var(--pi-inactive-color,var(--color-gray));display:inline-flex;height:28px;justify-content:center;width:52px}.ihabdevteam-core-scope .progress-indicator-dot.done{background:var(--color-main);color:#fff}.ihabdevteam-core-scope .progress-indicator-dot.active{background:var(--color-sub);color:#fff}@media (max-width:1024px){.ihabdevteam-core-scope .progress-indicator{gap:6px}.ihabdevteam-core-scope .progress-indicator-dot{height:28px;width:44px}}@media (max-width:767px){.ihabdevteam-core-scope .progress-indicator--mobile .progress-indicator-dot{height:28px;padding:0 12px;width:auto}}.ihabdevteam-core-scope .progress-indicator--dot{flex-wrap:wrap;gap:var(--spacing-xs);max-width:100%;min-width:0}.ihabdevteam-core-scope .progress-indicator-dot--dot{background:var(--pi-inactive-bg,var(--color-darkWhite));border-radius:var(--radius-full);height:8px;transition:width .2s ease-out,background .2s ease-out;width:8px}.ihabdevteam-core-scope .progress-indicator-dot--dot.done{background:color-mix(in srgb,var(--color-main) 40%,transparent)}.ihabdevteam-core-scope .progress-indicator-dot--dot.active{background:var(--color-main);width:24px}@media (prefers-reduced-motion:reduce){.ihabdevteam-core-scope .progress-indicator-dot--dot{transition:none}}";oe(u9);const Cf={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},p9="rgba(255, 255, 255, 0.16)";function tu({max:e,index:t,inactiveBg:a,inactiveColor:o,transparent:n,variant:i="numbered",announce:s=!1,ariaLabel:c}){const{t:d}=Ce.useTranslation(),u=na("(max-width: 767px)");if(!Number.isInteger(e)||e<=0)return null;const p=Number.isInteger(t)?Math.max(0,Math.min(t,e-1)):0,h=c??d("progress.steps",{current:p+1,total:e,defaultValue:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"}),m={};if(a&&(m["--pi-inactive-bg"]=a),o&&(m["--pi-inactive-color"]=o),n&&(a||(m["--pi-inactive-bg"]=p9),o||(m["--pi-inactive-color"]="var(--color-white)")),i==="dot")return r.jsxs("div",{className:"progress-indicator progress-indicator--dot",style:m,role:s?"status":"img","aria-label":s?void 0:h,children:[s&&r.jsx("span",{style:Cf,children:h}),Array.from({length:e}).map((x,f)=>r.jsx("span",{"aria-hidden":"true",className:`progress-indicator-dot--dot${f<p?" done":f===p?" active":""}`},f))]});const b=s?r.jsx("span",{role:"status",style:Cf,children:h}):null;return u?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"progress-indicator progress-indicator--mobile",style:m,role:"list","aria-label":h,children:r.jsxs("span",{role:"listitem",className:"progress-indicator-dot active body-3",children:[p+1," / ",e]})}),b]}):r.jsxs(r.Fragment,{children:[b,r.jsx("div",{className:"progress-indicator",style:m,role:"list","aria-label":h,children:Array.from({length:e}).map((x,f)=>r.jsx("span",{role:"listitem","aria-current":f===p?"step":void 0,className:`progress-indicator-dot ${f<p?" done":f===p?" active":""} body-3`,children:f+1},f))})]})}function h9(e){if(!e)return[];const t=[];let a=0,o="";for(const n of e.trim()){if(n==="("?a++:n===")"&&a--,/\s/.test(n)&&a===0){o&&(t.push(o),o="");continue}o+=n}return o&&t.push(o),t}var m9=".ihabdevteam-core-scope .table-wrap{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);overflow-x:auto}.ihabdevteam-core-scope .table{width:100%}.ihabdevteam-core-scope .table-header{align-items:center;border-bottom:1px solid var(--color-whiteLine);box-sizing:border-box;display:flex;gap:8px;padding:0 16px;text-align:left;width:100%}.ihabdevteam-core-scope .table-header[role=button]{cursor:pointer;transition:background .15s}.ihabdevteam-core-scope .table-header[role=button]:hover{background:var(--color-darkWhite)}.ihabdevteam-core-scope .table-header__chevron{align-items:center;color:var(--color-gray);display:flex;flex-shrink:0}.ihabdevteam-core-scope .table-header__icon{align-items:center;color:var(--t-item-fg,var(--color-main));display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.ihabdevteam-core-scope .table-header__title{color:var(--color-darkGray)}.ihabdevteam-core-scope .table-header__count{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .table-header__actions{align-items:center;display:flex;flex-shrink:0;gap:4px;margin-left:auto}.ihabdevteam-core-scope .table-wrap--collapsed .table-header{border-bottom:none}.ihabdevteam-core-scope .table-wrap--dragover{outline:2px dashed var(--color-main);outline-offset:-2px}.ihabdevteam-core-scope .table-wrap--dragover .table-header{background:var(--color-darkWhite)}.ihabdevteam-core-scope .table-fields-strip{position:relative}.ihabdevteam-core-scope .table-wrap--resizable .table-fields,.ihabdevteam-core-scope .table-wrap--resizable .table-row{padding-right:40px}.ihabdevteam-core-scope .table-fields__reset{position:absolute;right:2px;top:50%;transform:translateY(-50%)}.ihabdevteam-core-scope .table-fields{border-bottom:1px solid var(--color-whiteLine);display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));grid-template-columns:var(--table-grid-cols-override,var(--table-grid-cols,repeat(auto-fit,minmax(80px,1fr))))}.ihabdevteam-core-scope .table-body{display:flex;flex-direction:column}.ihabdevteam-core-scope .table-row-wrap{border-bottom:1px solid var(--color-darkWhite);display:flex;flex-direction:column}.ihabdevteam-core-scope .table-row-wrap:last-child{border-bottom:none}.ihabdevteam-core-scope .table-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));grid-template-columns:var(--table-grid-cols-override,var(--table-grid-cols,repeat(auto-fit,minmax(80px,1fr))))}.ihabdevteam-core-scope .table-row-expand{background:var(--color-darkWhite);border-top:1px solid var(--color-whiteLine);display:flex;flex-wrap:wrap;gap:12px;padding:16px 20px}.ihabdevteam-core-scope .table-wrap--small .table-fields,.ihabdevteam-core-scope .table-wrap--small .table-header,.ihabdevteam-core-scope .table-wrap--small .table-row{min-height:48px}.ihabdevteam-core-scope .table-wrap--medium .table-fields,.ihabdevteam-core-scope .table-wrap--medium .table-header,.ihabdevteam-core-scope .table-wrap--medium .table-row{min-height:56px}.ihabdevteam-core-scope .table-wrap--large .table-fields,.ihabdevteam-core-scope .table-wrap--large .table-header,.ihabdevteam-core-scope .table-wrap--large .table-row{min-height:64px}.ihabdevteam-core-scope .table-fields.table-fields--groups{min-height:34px}.ihabdevteam-core-scope .table-row--clickable{cursor:pointer;transition:background .1s,box-shadow .1s}.ihabdevteam-core-scope .table-row--clickable:hover{background:var(--color-darkWhite)}.ihabdevteam-core-scope .table-row--draggable{cursor:grab}.ihabdevteam-core-scope .table-row--draggable:active{cursor:grabbing}.ihabdevteam-core-scope .table-row--dragging{opacity:.4}.ihabdevteam-core-scope .table-row--empty,.ihabdevteam-core-scope .table-row--loading{align-items:center;display:flex;justify-content:center}.ihabdevteam-core-scope .table-row--empty{color:var(--color-lightGray);padding:0 20px}.ihabdevteam-core-scope .table-wrap--small .table-row--empty,.ihabdevteam-core-scope .table-wrap--small .table-row--loading{min-height:48px}.ihabdevteam-core-scope .table-wrap--medium .table-row--empty,.ihabdevteam-core-scope .table-wrap--medium .table-row--loading{min-height:56px}.ihabdevteam-core-scope .table-wrap--large .table-row--empty,.ihabdevteam-core-scope .table-wrap--large .table-row--loading{min-height:64px}";oe(m9);var b9=".ihabdevteam-core-scope .table-cell{align-items:center;color:var(--color-darkGray);display:flex;min-width:0;overflow:hidden;overflow-wrap:break-word;padding:0 16px;word-break:break-word}";oe(b9);var g9='.ihabdevteam-core-scope .table-field{color:var(--color-gray);padding:0 16px}.ihabdevteam-core-scope .table-field,.ihabdevteam-core-scope .table-field__button{align-items:center;cursor:pointer;display:flex;gap:0;min-width:0;overflow:hidden;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ihabdevteam-core-scope .table-field__button{align-self:stretch;background:none;border:0;color:inherit;flex:1 1 auto;font:inherit;margin:0;padding:0}.ihabdevteam-core-scope .table-field--resizable{position:relative}.ihabdevteam-core-scope .table-field__resizer{align-items:center;cursor:col-resize;display:flex;height:100%;justify-content:flex-end;position:absolute;right:0;top:0;touch-action:none;width:10px;z-index:3}.ihabdevteam-core-scope .table-field__resizer:after{background:var(--color-whiteLine);content:"";height:55%;transition:background-color .12s,width .12s,height .12s;width:1px}.ihabdevteam-core-scope .table-field__resizer:active:after,.ihabdevteam-core-scope .table-field__resizer:hover:after{background:var(--color-main);height:100%;width:2px}.ihabdevteam-core-scope .table-field--sorted,.ihabdevteam-core-scope .table-field:hover{color:var(--color-main)}.ihabdevteam-core-scope .table-field__sort-arrow{flex-shrink:0}';oe(g9);function f9({children:e,className:t,style:a}){return r.jsx("div",{className:t?`table-cell ${t}`:"table-cell",style:a,children:e})}function au({variant:e="default",children:t,className:a,draggable:o,onClick:n,onMouseEnter:i,onMouseLeave:s,onDragStart:c,onDragEnd:d,expandedContent:u}){const p=l.useCallback(h=>{n&&h.target===h.currentTarget&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),n())},[n]);return e==="loading"?r.jsx("div",{className:"table-row-wrap",children:r.jsx("div",{className:"table-row table-row--loading",children:r.jsx(xr,{size:28})})}):e==="empty"?r.jsx("div",{className:"table-row-wrap",children:r.jsx("div",{className:"table-row table-row--empty body-3",children:t})}):r.jsxs("div",{className:"table-row-wrap",children:[r.jsx("div",{className:a?`table-row ${a}`:"table-row",draggable:o,onClick:n,onKeyDown:n?p:void 0,onMouseEnter:i,onMouseLeave:s,onDragStart:c,onDragEnd:d,role:n?"button":void 0,tabIndex:n?0:void 0,children:t}),u&&r.jsx("div",{className:"table-row-expand",children:u})]})}function v9({dir:e}){return r.jsx(e==="asc"?vp:fp,{className:"table-field__sort-arrow",size:16,strokeWidth:2})}function x9({children:e,onClick:t,className:a,sortDir:o,ariaSort:n,onResizeStart:i}){const s=r.jsxs(r.Fragment,{children:[e,o&&r.jsx(v9,{dir:o})]});return r.jsxs("div",{onClick:t,role:"columnheader","aria-sort":n,className:Te("table-field body-3",a,o?"table-field--sorted":"",i?"table-field--resizable":""),children:[t?r.jsx("button",{type:"button",className:"table-field__button",children:s}):s,i&&r.jsx("span",{className:"table-field__resizer",onPointerDown:i,onClick:c=>c.stopPropagation(),"aria-hidden":"true"})]})}function Pi({fields:e=[],headerGroups:t,items:a=[],renderRow:o,onRowClick:n,isRowClickable:i,onRowMouseEnter:s,onRowMouseLeave:c,onRowDragStart:d,onRowDragEnd:u,draggingId:p,gridTemplateColumns:h,mobileGridTemplateColumns:m,resizable:b=!1,resizeMode:x="grow",resizeStorageKey:f,size:C="small",title:g,icon:v,count:y,collapsed:_=!1,onToggleCollapse:B,headerActions:k,empty:S,loading:w,dragOver:A=!1,onDragOver:E,onDragLeave:L,onDrop:z,renderExpandedRow:j,expandedId:I}){const{t:D}=Ce.useTranslation(),T=na("(max-width: 767px)"),O=m&&T?m:null,G=b&&!T,Z=48,H=l.useRef(()=>Z),V=f?`table-cols:${f}`:null,q=l.useRef(null),$=l.useRef(()=>!1),N=l.useRef([]),F=l.useRef(null),R=ae=>{if(!ae||typeof window>"u")return null;try{const ge=JSON.parse(window.localStorage.getItem(ae)??"null");return Array.isArray(ge)&&ge.length>0&&ge.every(Me=>typeof Me=="number"&&Number.isFinite(Me)&&Me>0)?ge:null}catch{return null}},[W,P]=l.useState(()=>R(V)),[Q,ee]=l.useState(V);Q!==V&&(ee(V),P(R(V)));const Y=l.useRef(W);l.useEffect(()=>{Y.current=W},[W]);const ne=l.useCallback(ae=>{const ge=F.current;if(!ge)return;const Me=Y.current;if(Me){const $e=[...Me];if(ge.next!=null&&ge.startWNext!=null){const Ye=ae.clientX-ge.startX,ze=Math.max(H.current(ge.index)-ge.startW,Math.min(ge.startWNext-H.current(ge.next),Ye));$e[ge.index]=ge.startW+ze,$e[ge.next]=ge.startWNext-ze}else $e[ge.index]=Math.max(H.current(ge.index),ge.startW+(ae.clientX-ge.startX));Y.current=$e,P($e)}},[]),ie=l.useCallback(()=>{if(F.current=null,window.removeEventListener("pointermove",ne),window.removeEventListener("pointerup",ie),window.removeEventListener("pointercancel",ie),document.body.style.cursor="",document.body.style.userSelect="",V&&Y.current)try{window.localStorage.setItem(V,JSON.stringify(Y.current))}catch{}},[ne,V]),se=l.useCallback((ae,ge)=>{ge.preventDefault(),ge.stopPropagation();const Me=q.current;if(!Me)return;const $e=Array.from(Me.children).map(ze=>ze.getBoundingClientRect().width),Ye=x==="fit"?e.findIndex((ze,Ue)=>Ue>ae&&ze.resizable!==!1):-1;F.current=Ye>=0?{index:ae,startX:ge.clientX,startW:$e[ae],next:Ye,startWNext:$e[Ye]}:{index:ae,startX:ge.clientX,startW:$e[ae]},Y.current=$e,P($e),window.addEventListener("pointermove",ne),window.addEventListener("pointerup",ie),window.addEventListener("pointercancel",ie),document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[ne,ie,x,e]),ce=l.useCallback(()=>{const ae=q.current,ge=ae?.closest(".table-wrap");if(!ae||!ge)return;const Me=ge.style.getPropertyValue("--table-grid-cols");ge.style.setProperty("--table-grid-cols",e.map((Qe,De)=>$.current(De)?N.current[De]:"max-content").join(" "));const $e=Array.from(ge.querySelectorAll(".table-row")).filter(Qe=>!Qe.classList.contains("table-row--loading")&&!Qe.classList.contains("table-row--empty")),Ye=e.map((Qe,De)=>{let Le=ae.children[De]?.getBoundingClientRect().width??0;for(const Ie of $e){const pt=Ie.children[De];pt&&(Le=Math.max(Le,pt.getBoundingClientRect().width))}const ke=$.current(De)?parseFloat(N.current[De]):NaN;return Number.isFinite(ke)?ke:Math.max(H.current(De),Math.ceil(Le))}),ze=window.getComputedStyle(ae),Ue=ae.clientWidth-(parseFloat(ze.paddingLeft)||0)-(parseFloat(ze.paddingRight)||0);Me?ge.style.setProperty("--table-grid-cols",Me):ge.style.removeProperty("--table-grid-cols");let re=Ye;const Oe=Ye.reduce((Qe,De,Le)=>Qe+($.current(Le)?De:0),0),Fe=Ye.reduce((Qe,De,Le)=>Qe+($.current(Le)?0:De),0),Ze=Ue-Oe;if(Ue>0&&Fe>0&&Ze>0){const Qe=Ze/Fe;re=Ye.map((Le,ke)=>$.current(ke)?Le:Math.max(H.current(ke),Math.round(Le*Qe)));const De=Math.round(Ze-re.reduce((Le,ke,Ie)=>Le+($.current(Ie)?0:ke),0));if(De!==0){let Le=-1;re.forEach((ke,Ie)=>{!$.current(Ie)&&(Le<0||ke>re[Le])&&(Le=Ie)}),Le>=0&&(re[Le]=Math.max(H.current(Le),re[Le]+De))}}if(P(re),V)try{window.localStorage.setItem(V,JSON.stringify(re))}catch{}},[e,x,V]);l.useEffect(()=>()=>{F.current&&(window.removeEventListener("pointermove",ne),window.removeEventListener("pointerup",ie),window.removeEventListener("pointercancel",ie),document.body.style.cursor="",document.body.style.userSelect="")},[ne,ie]);const U=h9(h),le=U.filter(ae=>/\b(auto|min-content|max-content)\b|fit-content\(/.test(ae));le.length>0&&Ua(`table-content-track:${h}`,`[ihabdevteam-core] Table \uC758 gridTemplateColumns \uC5D0 \uB0B4\uC6A9\uC73C\uB85C \uD06C\uAE30\uAC00 \uC815\uD574\uC9C0\uB294 \uD2B8\uB799(${le.join(", ")})\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uBA38\uB9AC\uC640 \uBAB8\uD1B5\uC740 \uC11C\uB85C \uB2E4\uB978 \uACA9\uC790\uB77C \uADF8 \uD2B8\uB799\uC774 \uAC01\uC790 \uB2E4\uB974\uAC8C \uD480\uB824 \uC5F4\uC774 \uC5B4\uAE0B\uB0A9\uB2C8\uB2E4. px \uC774\uB098 fr \uC744 \uC4F0\uC138\uC694. (\uBC1B\uC740 \uAC12: ${h})`);const be=e.findIndex(ae=>!!ae.sortDir);e.filter(ae=>!!ae.sortDir).length>1&&Ua("table-multi-sort","[ihabdevteam-core] Table \uC758 fields \uC5D0 sortDir \uC774 \uB458 \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. aria-sort \uB294 \uD45C \uD558\uB098\uC5D0 \uD55C \uCE78\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC5B4 \uCCAB \uCE78\uB9CC \uBC29\uD5A5\uC73C\uB85C \uC54C\uB9AC\uACE0 \uB098\uBA38\uC9C0\uB294 none \uC73C\uB85C \uB461\uB2C8\uB2E4.");const ye=ae=>ae===be?e[ae].sortDir==="asc"?"ascending":"descending":e[ae].onClick?"none":void 0,xe=ae=>/^\d+(\.\d+)?px$/.test(U[ae]??""),ue=ae=>{const ge=U[ae]??"",Me=/^minmax\(\s*(\d+(?:\.\d+)?)px\s*,/.exec(ge)??/^(\d+(?:\.\d+)?)px$/.exec(ge);return Me?parseFloat(Me[1]):Z};$.current=xe,H.current=ue,N.current=U;const _e=ae=>x==="fit"&&!xe(ae)?"fr":"px",Ae=W&&W.length===e.length&&!T&&(x==="fit"||a.length>0),X=O??(Ae?e.map((ae,ge)=>ae.resizable===!1&&U[ge]?U[ge]:`${W[ge]}${_e(ge)}`).join(" "):h),we=X?{"--table-grid-cols":X}:void 0,fe=g!==void 0;return r.jsx("div",{className:`table-wrap table-wrap--${C}${G?" table-wrap--resizable":""}${A?" table-wrap--dragover":""}${_?" table-wrap--collapsed":""}`,style:we,onDragOver:E,onDragLeave:L,onDrop:z,children:r.jsxs("div",{className:"table body-2",children:[fe&&r.jsxs("div",{className:"table-header",onClick:B,role:B?"button":void 0,tabIndex:B?0:void 0,"aria-expanded":B?!_:void 0,onKeyDown:B?ae=>{ae.target===ae.currentTarget&&(ae.key==="Enter"||ae.key===" ")&&(ae.preventDefault(),B())}:void 0,children:[B&&r.jsx(he,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:_?"chevron-right":"chevron-down",ariaLabel:_?D("common.expand","\uD3BC\uCE58\uAE30"):D("common.collapse","\uC811\uAE30"),className:"table-header__chevron"}),v&&r.jsx(Je,{icon:v,label:typeof g=="string"?g:void 0,className:"table-header__icon"}),r.jsx("span",{className:"table-header__title h5b",children:g}),y!==void 0&&r.jsx("span",{className:"table-header__count body-3b",children:y}),k&&r.jsx("span",{className:"table-header__actions",onClick:ae=>ae.stopPropagation(),children:k})]}),!_&&r.jsxs(r.Fragment,{children:[t&&t.length>0&&r.jsx("div",{className:"table-fields table-fields--groups",children:t.map((ae,ge)=>r.jsx("div",{className:Te("table-field body-3",ae.className),style:{gridColumn:`span ${ae.span}`},children:ae.label},ge))}),r.jsxs("div",{className:Te("table-fields-strip",G&&"table-fields-strip--resizable"),children:[r.jsx("div",{className:"table-fields",ref:q,children:e.map((ae,ge)=>r.jsx(x9,{onClick:ae.onClick,className:ae.className,sortDir:ae.sortDir,ariaSort:ye(ge),onResizeStart:G&&ge<e.length-1&&ae.resizable!==!1&&(x!=="fit"||e.some((Me,$e)=>$e>ge&&Me.resizable!==!1))?Me=>se(ge,Me):void 0,children:ae.label},ge))}),G&&r.jsx(he,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"chevrons-left-right-ellipsis",ariaLabel:D("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),showTooltipInfo:D("table.resetColumns","\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654"),className:"table-fields__reset",onClick:ce})]}),r.jsx("div",{className:"table-body",children:w?r.jsx(au,{variant:"loading"}):a.length===0&&S?r.jsx(au,{variant:"empty",children:S}):a.map((ae,ge)=>{const Me=p!=null&&ae.id===p,$e=!!n&&(i?i(ae):!0),Ye=I!=null&&ae.id!=null&&(I instanceof Set?I.has(ae.id)||[...I].some(ze=>String(ze)===String(ae.id)):String(ae.id)===String(I));return r.jsx(au,{className:`${$e?" table-row--clickable":""}${d?" table-row--draggable":""}${Me?" table-row--dragging":""}`.trim(),draggable:!!d,onClick:$e?()=>n(ae):void 0,onMouseEnter:s?ze=>s(ae,ze):void 0,onMouseLeave:c?ze=>c(ae,ze):void 0,onDragStart:d?ze=>d(ae,ze):void 0,onDragEnd:u?ze=>u(ae,ze):void 0,expandedContent:Ye&&j?j(ae):void 0,children:o(ae).map((ze,Ue)=>r.jsx(f9,{className:ze.className,style:ze.style,children:ze.content},Ue))},ae.id!=null?`${typeof ae.id}:${ae.id}`:`__idx:${ge}`)})})]})]})})}function _f(e){switch(e){case"\uBCF4\uCCAD\uAE30":return"main";case"\uC778\uACF5\uC640\uC6B0":return"sub";default:return"default"}}const _r=e=>e==null?"":String(e).trim();function ou(e,t,a){const o=[_r(e),_r(t),_r(a)];for(;o.length>0&&o[o.length-1]==="";)o.pop();return o.join(".")}function C9(e,t,a){const o=_r(e);return o?`${o}-${_r(t).padStart(2,"0")}-${_r(a).padStart(2,"0")}`:""}var _9=".ihabdevteam-core-scope .dlp-popup .popup-panel{max-width:600px}.ihabdevteam-core-scope .dlp-row{border-bottom:1px solid var(--color-darkWhite);cursor:pointer;transition:background .1s}.ihabdevteam-core-scope .dlp-row:hover{background:#f5f5f5;background:var(--color-hoverBg,#f5f5f5)}.ihabdevteam-core-scope .dlp-row:last-child{border-bottom:none}.ihabdevteam-core-scope .dlp-date{color:var(--color-lightGray);white-space:nowrap}.ihabdevteam-core-scope .dlp-side-table{margin-top:0}.ihabdevteam-core-scope .dlp-worn-check{align-items:center;display:inline-flex}.ihabdevteam-core-scope .dlp-row-actions{align-items:center;display:flex;justify-content:flex-end}";oe(_9);const y9={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function w9(e,t){const a=y9[e];return a?t(`device.type.${a}`,{defaultValue:e}):e}function yf(e,t){return t!=="wornAt"?String(e[t]??""):C9(e.wornYear,e.wornMonth,e.wornDay)}function wf({rows:e,loading:t,onSelect:a,onDelete:o,onWear:n,onRelease:i,onAdd:s}){const{t:c}=Ce.useTranslation(),d=f=>f==="\uC88C"?c("device.direction.left","\uC88C"):c("device.direction.right","\uC6B0"),{\uC815\uB82C:u,\uCE78:p}=Xc(),h=l.useMemo(()=>{if(!u)return e;const{key:f,asc:C}=u;return[...e].sort((g,v)=>{if(f==="worn"){const y=Number(v.worn)-Number(g.worn);return C?y:-y}return Kc(yf(g,f),yf(v,f),C)})},[e,u]),{pageRows:m,pageSizeProps:b,paginationProps:x}=Zc(h,u);return r.jsxs("div",{className:"dlp-side-table",children:[r.jsx(Ti,{count:{value:e.length,unit:c("customers.device.unit","\uAC1C")},pageSize:b,pagination:x,actions:s&&r.jsx(he,{htmlType:"button",size:40,type:"bar",variant:"main",icon:"plus",label:c("customers.device.addButton","\uAE30\uAE30 \uCD94\uAC00"),onClick:s})}),r.jsx(Pi,{loading:t,resizable:!0,resizeMode:"fit",resizeStorageKey:"customer-device-history-v2",fields:[{...p(c("customers.device.wearingNow","\uCC29\uC6A9"),"worn"),resizable:!1},p(c("device.direction.label","\uBC29\uD5A5"),"side"),p(c("device.deviceType","\uC885\uB958"),"device"),p(c("device.brand","\uBE0C\uB79C\uB4DC"),"brand"),p(c("device.fitType","\uCC29\uC6A9\uD615\uD0DC"),"fitType"),p(c("device.productName","\uC81C\uD488\uBA85"),"productName"),p(c("device.wornDate","\uCC29\uC6A9\uC77C"),"wornAt"),...o?[{label:"",resizable:!1}]:[]],items:m.map((f,C)=>({id:f.id??`${f.side}-${C}`,row:f})),gridTemplateColumns:`56px 110px 110px minmax(120px, 1fr) 100px minmax(120px, 1fr) 110px${o?" 80px":""}`,renderRow:({row:f})=>[{content:r.jsx("span",{className:"dlp-worn-check",onClick:C=>C.stopPropagation(),children:r.jsx(Vd,{checked:f.worn,disabled:f.worn?!i:!n,ariaLabel:f.worn?c("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"):c("customers.device.wear","\uCC29\uC6A9"),onChange:C=>{C?n?.(f):i?.(f)}})})},{content:r.jsx("span",{children:d(f.side)})},{content:f.device?r.jsx(_t,{size:"small",variant:_f(f.device),fill:"soft",label:w9(f.device,c)}):r.jsx("span",{})},{content:r.jsx("span",{children:f.brand})},{content:r.jsx("span",{children:f.fitType||"-"})},{content:r.jsx("span",{children:f.productName||"-"})},{content:r.jsx("span",{className:"dlp-date",children:ou(f.wornYear,f.wornMonth,f.wornDay)||"-"})},...o?[{content:r.jsx("span",{className:"dlp-row-actions",children:r.jsx(he,{htmlType:"button",size:28,type:"bar",variant:"transparent-gray",label:c("common.delete","\uC0AD\uC81C"),onClick:C=>{C?.stopPropagation(),o(f)}})})}]:[]],onRowClick:({row:f})=>a(f),empty:c("customers.device.historyEmpty","\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})]})}var k9=`.ihabdevteam-core-scope .calendar-nav{align-items:center;display:flex;gap:var(--spacing-m);justify-content:center;margin-bottom:var(--spacing-m);position:relative}.ihabdevteam-core-scope .calendar-nav__legend{align-items:center;color:var(--color-gray);display:flex;gap:6px;position:absolute;right:0}.ihabdevteam-core-scope .calendar-nav__legend-dot{border-radius:50%;display:inline-block;height:8px;width:8px}.ihabdevteam-core-scope .calendar-nav__legend-dot--main{background:var(--color-main)}.ihabdevteam-core-scope .calendar-nav__legend-dot--sub{background:var(--color-sub)}.ihabdevteam-core-scope .calendar-nav__legend-dot--disabled{background:var(--color-disabled)}.ihabdevteam-core-scope .calendar-nav__button{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-sm);color:var(--color-darkGray);cursor:pointer;display:flex;font-size:18px;height:32px;line-height:1;transition:border-color .15s,color .15s;width:32px}.ihabdevteam-core-scope .calendar-nav__button:hover{border-color:var(--color-main);color:var(--color-main)}.ihabdevteam-core-scope .calendar-nav__title{color:var(--color-darkGray);font-weight:700;min-width:100px;text-align:center}.ihabdevteam-core-scope .calendar-grid{grid-gap:4px;display:grid;gap:4px;grid-template-columns:repeat(7,1fr)}.ihabdevteam-core-scope .calendar-day-header{color:var(--color-lightGray);font-weight:600;padding:6px 0;text-align:center}.ihabdevteam-core-scope .calendar-day-header:first-child{color:var(--color-error)}.ihabdevteam-core-scope .calendar-day-header:last-child{color:var(--color-main)}.ihabdevteam-core-scope .calendar-cell{background:transparent;border-radius:var(--radius-s);box-sizing:border-box;container-type:inline-size;cursor:default;min-height:118px;min-width:0;padding:8px}.ihabdevteam-core-scope .calendar-cell.empty{background:transparent;cursor:default}
860
860
 
861
861
  /* !important \uD544\uC694 \u2014 \uC624\uB298\uC774 \uC77C\uC694\uC77C/\uD1A0\uC694\uC77C\uACFC \uACB9\uCE58\uBA74 \uC544\uB798 nth-child \uC8FC\uB9D0 \uC0C9\uC0C1 \uADDC\uCE59\uACFC
862
862
  \uD2B9\uC774\uB3C4\uAC00 \uB3D9\uC77C(3\uD074\uB798\uC2A4)\uD558\uACE0 \uC18C\uC2A4 \uC21C\uC11C\uC0C1 \uB4A4\uB77C !important \uC5C6\uC774\uB294 \uD770 \uAE00\uC790\uAC00 \uC8FC\uB9D0\uC0C9\uC73C\uB85C
@@ -1059,7 +1059,7 @@ ${_.badge}`:_.badge:void 0;if(k&&d(_.code))return null;if(!_.badge&&!p)return h(
1059
1059
  \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`).split(`
1060
1060
  `).map((s,c,d)=>r.jsxs(l.Fragment,{children:[s,c<d.length-1&&r.jsx("br",{})]},c))})}),r.jsxs("div",{className:"site-footer__links",children:[r.jsxs("div",{className:"site-footer__column",children:[r.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.site.title","\uC0AC\uC774\uD2B8")}),r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://www.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:"IHAB"})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://speechear.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.malgwi","\uB9D0\uADC0")})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/sound-localization",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.soundDirection","\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/vr-sound-localization",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.vrSoundDirection","VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C")})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://ihab-offcial-web.vercel.app/product/hearing-test-pro",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.hearingTest","\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C")})})]})]}),r.jsxs("div",{className:"site-footer__column",children:[r.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.sns.title","SNS")}),r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://blog.naver.com/ihab_official",target:"_blank",rel:"noopener noreferrer",children:i("footer.sns.naverBlog","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8")})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://www.instagram.com/ihab.official.yt/",target:"_blank",rel:"noopener noreferrer",children:"Instagram"})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"https://www.youtube.com/@%EC%95%84%EC%9D%B4%ED%95%B4%EB%B8%8C-%EA%B3%B5%EC%8B%9D%EC%B1%84%EB%84%90",target:"_blank",rel:"noopener noreferrer",children:"Youtube"})})]})]}),r.jsxs("div",{className:"site-footer__column",children:[r.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.policy.title","\uC815\uCC45")}),r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"#",onClick:s=>{e&&(s.preventDefault(),e())},children:i("footer.policy.terms","\uC774\uC6A9\uC57D\uAD00")})}),r.jsx("li",{children:r.jsx("a",{className:"footer-link",href:"#",onClick:s=>{t&&(s.preventDefault(),t())},children:i("footer.policy.privacy","\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68")})})]})]})]})]}),r.jsx("hr",{className:"site-footer__rule"}),r.jsxs("div",{className:"site-footer__bottom",children:[r.jsx("div",{className:"site-footer__brand",children:r.jsx("img",{src:jd,alt:"IHAB",className:"site-footer__logo"})}),r.jsxs("div",{className:"site-footer__meta",children:[r.jsxs("div",{children:[r.jsx("span",{className:"footer-title",children:i("footer.ceo","\uB300\uD45C")}),r.jsx("span",{className:"footer-meta caption-1",children:i("footer.ceoName","\uD55C\uC9C0\uD61C")})]}),r.jsxs("div",{children:[r.jsx("span",{className:"footer-title",children:i("footer.address","\uC8FC\uC18C")}),r.jsx("span",{className:"footer-meta caption-1",children:i("footer.addressValue","\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638")})]}),r.jsxs("div",{children:[r.jsx("span",{className:"footer-title",children:i("footer.support","\uACE0\uAC1D\uC13C\uD130")}),r.jsxs("span",{className:"footer-meta caption-1",children:[o," \xA0 ",n]})]})]})]}),r.jsx("div",{className:"site-footer__copyright footer-copyright caption-1",children:"\xA9 IHAB, Inc. All rights reserved."})]})})}var pB='.ihabdevteam-core-scope .landing-header{background:var(--landing-header-bg,var(--color-deepWhite));border-bottom:1px solid rgba(15,18,60,.05);border-bottom:1px solid var(--landing-header-border,rgba(15,18,60,.05));position:sticky;top:0;transform:translateZ(0);will-change:transform;z-index:500;z-index:var(--z-sticky,500)}.ihabdevteam-core-scope .landing-header__inner{align-items:center;display:flex;height:72px;height:var(--landing-header-height,72px);justify-content:space-between;position:relative}.ihabdevteam-core-scope .landing-header__brand{align-items:center;display:flex;flex:0 0 auto;margin-right:auto;text-decoration:none}.ihabdevteam-core-scope .landing-header__logo{display:block;height:40px;height:var(--landing-header-logo-height,40px);max-width:none;transform-origin:left center;transition:transform .3s cubic-bezier(.2,.9,.2,1.2),filter .3s;width:auto}.ihabdevteam-core-scope .landing-header__brand:hover .landing-header__logo{filter:brightness(1.08);transform:scale(1.05)}.ihabdevteam-core-scope .landing-header__links{align-items:center;color:var(--landing-header-link-color,var(--color-deepGray));display:flex;font-size:15px;font-weight:500;gap:36px;left:50%;position:absolute;transform:translateX(-50%)}.ihabdevteam-core-scope .landing-header__links a{color:inherit;padding:6px 0;position:relative;text-decoration:none;transition:color .2s}.ihabdevteam-core-scope .landing-header__links a:hover{color:var(--landing-header-link-hover,var(--color-main))}.ihabdevteam-core-scope .landing-header__links a:after{background:linear-gradient(90deg,var(--color-main),var(--color-sub));border-radius:1px;bottom:0;content:"";height:2px;left:0;position:absolute;right:100%;transition:right .35s cubic-bezier(.2,.7,.2,1)}.ihabdevteam-core-scope .landing-header__links a:hover:after{right:0}.ihabdevteam-core-scope .landing-header__actions{align-items:center;display:flex;gap:8px;gap:var(--spacing-xs,8px)}.ihabdevteam-core-scope .landing-header__toggle{align-items:center;background:none;border:0;color:var(--landing-header-link-color,var(--color-deepGray));cursor:pointer;display:none;height:44px;justify-content:center;margin-right:-10px;width:44px}.ihabdevteam-core-scope .landing-header__burger{display:block;height:14px;position:relative;width:22px}.ihabdevteam-core-scope .landing-header__burger>span{background:currentColor;border-radius:1px;height:2px;inset-inline:0;position:absolute;transition:transform .2s cubic-bezier(.2,.7,.2,1),opacity .2s cubic-bezier(.2,.7,.2,1)}.ihabdevteam-core-scope .landing-header__burger>span:first-child{top:0}.ihabdevteam-core-scope .landing-header__burger>span:nth-child(2){top:6px}.ihabdevteam-core-scope .landing-header__burger>span:nth-child(3){top:12px}.ihabdevteam-core-scope .landing-header__toggle--open .landing-header__burger>span:first-child{transform:translateY(6px) rotate(45deg)}.ihabdevteam-core-scope .landing-header__toggle--open .landing-header__burger>span:nth-child(2){opacity:0}.ihabdevteam-core-scope .landing-header__toggle--open .landing-header__burger>span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.ihabdevteam-core-scope .landing-header__drawer{background:var(--landing-header-bg,var(--color-deepWhite));border-top:1px solid rgba(15,18,60,.05)}.ihabdevteam-core-scope .landing-header__drawer-item{display:block}.ihabdevteam-core-scope .landing-header__drawer-item a{align-items:center;color:var(--landing-header-link-color,var(--color-deepGray));display:flex;font-size:15px;font-weight:500;min-height:48px;text-decoration:none;transition:color .2s}.ihabdevteam-core-scope .landing-header__drawer-item a:hover,.ihabdevteam-core-scope .landing-header__drawer-item a[aria-current=page]{color:var(--landing-header-link-hover,var(--color-main))}@media (max-width:960px){.ihabdevteam-core-scope .landing-header__links{display:none}.ihabdevteam-core-scope .landing-header__toggle{display:flex}}@media (min-width:961px){.ihabdevteam-core-scope .landing-header__drawer{display:none}}';oe(pB);function E0({logo:e,logoAlt:t="",logoHref:a,links:o=[],actions:n,className:i,containerClassName:s,renderLink:c,menuLabel:d}){const{t:u}=Ce.useTranslation(),p=d??{open:u("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),close:u("header.menuClose","\uBA54\uB274 \uB2EB\uAE30")},[h,m]=l.useState(!1),b=l.useId(),x=l.useRef(null);l.useEffect(()=>{if(!h)return;const g=Ro(()=>{const _=document.getElementById(b);_&&_.contains(document.activeElement)&&x.current?.focus(),m(!1)}),v=typeof window<"u"&&window.matchMedia?window.matchMedia("(min-width: 961px)"):null,y=_=>{_.matches&&m(!1)};return v&&(v.matches&&m(!1),v.addEventListener?.("change",y)),()=>{g(),v?.removeEventListener?.("change",y)}},[h,b]);const f=s?`${s} landing-header__inner`:"landing-header__inner",C=(g,v)=>c?c(g,{onClick:v}):r.jsx("a",{href:g.href,onClick:v,"aria-current":g.current?"page":void 0,children:g.label});return r.jsxs("header",{className:i?`landing-header ${i}`:"landing-header",children:[r.jsxs("div",{className:f,children:[e!=null&&(()=>{const g=typeof e=="string"?r.jsx("img",{src:e,alt:t,className:"landing-header__logo"}):e;return a?r.jsx("a",{href:a,className:"landing-header__brand",children:g}):r.jsx("div",{className:"landing-header__brand",children:g})})(),o.length>0&&r.jsx("nav",{className:"landing-header__links",children:o.map((g,v)=>r.jsx("span",{children:C(g)},`${v}:${g.href}`))}),r.jsxs("div",{className:"landing-header__actions",children:[n,o.length>0&&r.jsx("button",{ref:x,type:"button",onClick:()=>m(g=>!g),"aria-expanded":h,"aria-controls":b,"aria-label":h?p.close:p.open,className:h?"landing-header__toggle landing-header__toggle--open":"landing-header__toggle",children:r.jsxs("span",{className:"landing-header__burger",children:[r.jsx("span",{}),r.jsx("span",{}),r.jsx("span",{})]})})]})]}),o.length>0&&r.jsx("nav",{id:b,hidden:!h,className:"landing-header__drawer",children:r.jsx("div",{className:s??void 0,children:o.map((g,v)=>r.jsx("span",{className:"landing-header__drawer-item",children:C(g,()=>m(!1))},`${v}:${g.href}`))})})]})}var hB=".ihabdevteam-core-scope .bottom-sticky{animation:bottom-sticky-in .4s cubic-bezier(.2,.9,.2,1) both;bottom:24px;bottom:var(--bottom-sticky-offset,24px);left:50%;max-width:680px;max-width:var(--bottom-sticky-max-width,680px);position:fixed;transform:translateX(-50%);width:calc(100% - 48px);z-index:500;z-index:var(--z-sticky,500)}@keyframes bottom-sticky-in{0%{opacity:0;transform:translateX(-50%) translateY(16px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.ihabdevteam-core-scope .bottom-sticky__inner{align-items:center;background:var(--bottom-sticky-bg,var(--color-pureWhite));border-radius:20px;border-radius:var(--radius-m,20px);box-shadow:0 8px 40px rgba(15,18,60,.18),0 2px 8px rgba(15,18,60,.06);display:flex;gap:16px;gap:var(--spacing-m,16px);justify-content:space-between;padding:12px 12px 12px 24px;transition:box-shadow .2s,transform .2s}.ihabdevteam-core-scope .bottom-sticky__inner--clickable{cursor:pointer}.ihabdevteam-core-scope .bottom-sticky__inner--clickable:hover{border:1px solid var(--color-main);box-shadow:0 16px 56px color-mix(in srgb,var(--color-main) 30%,transparent),0 4px 12px color-mix(in srgb,var(--color-main) 15%,transparent);transform:translateY(-4px)}.ihabdevteam-core-scope .bottom-sticky__content{align-items:center;display:flex;flex:1;gap:12px;gap:var(--spacing-s,12px);justify-content:center}.ihabdevteam-core-scope .bottom-sticky__tagline{align-items:center;color:var(--color-black);display:flex;gap:0;margin:0;white-space:nowrap}.ihabdevteam-core-scope .bottom-sticky__tagline-highlight{background:linear-gradient(90deg,var(--color-main),var(--color-sub),var(--color-infoLink));-webkit-background-clip:text;background-clip:text;color:transparent;display:inline}.ihabdevteam-core-scope .bottom-sticky__tagline-part{align-items:center;display:flex;white-space:nowrap}.ihabdevteam-core-scope .bottom-sticky__tagline-logo{display:block;height:32px;width:auto}@media (max-width:600px){.ihabdevteam-core-scope .bottom-sticky{bottom:16px;bottom:var(--bottom-sticky-offset,16px);width:calc(100% - 32px)}.ihabdevteam-core-scope .bottom-sticky__inner{align-items:stretch;flex-direction:column;gap:12px;gap:var(--spacing-s,12px);padding:16px;padding:var(--spacing-m,16px)}.ihabdevteam-core-scope .bottom-sticky__content{flex:none;gap:6px;justify-content:center}.ihabdevteam-core-scope .bottom-sticky__tagline{flex-wrap:wrap;justify-content:center;text-align:center;white-space:normal}.ihabdevteam-core-scope .bottom-sticky__tagline-logo{height:26px}}";oe(hB);function N0({children:e,action:t,onClick:a,className:o}){const n=a?"bottom-sticky__inner bottom-sticky__inner--clickable":"bottom-sticky__inner";return r.jsx("div",{className:o?`bottom-sticky ${o}`:"bottom-sticky",children:r.jsxs("div",{className:n,onClick:a,...kf(a),children:[r.jsx("div",{className:"bottom-sticky__content",children:e}),t]})})}const Go=9,D0=e=>Math.round(Math.min(Go,Math.max(0,e))/Go*100),T0=e=>e/100*Go,wr=2,vu=.1,mB=e=>Math.min(wr,Math.max(0,e)),bB=.1,gB=e=>Math.round(e*1e6)/1e6;function kr(e){const{noiseRatio:t}=e;if(typeof t=="number"&&Number.isFinite(t))return mB(t);const a=Math.min(Go,Math.max(0,Number(e.level)||0))/Go,o=Number(e.mainVolume);return o>0?a>0?gB(Math.min(wr,Math.max(bB,a/o))):0:1}const j0=e=>Math.min(1,Math.max(0,Number(e.mainVolume)||0));function xu(e){return j0(e)}function qi(e){return j0(e)*kr(e)}function Yi(e,t=jn()){const a=Number.isFinite(t)&&t>0?t:1;return Math.min(1,qi(e)/a)}function Br(e,t){const a={...e,...t??{}};return t&&"level"in t&&typeof t.noiseRatio!="number"&&(a.noiseRatio=kr({level:a.level,mainVolume:a.mainVolume})),a}const Ar={enabled:!0,type:"defaultNoise",level:4.5,noiseRatio:1,speed:1,mainVolume:1,mainSpeed:1},Ki=l.createContext(null);function kn(){return l.useContext(Ki)}const Cu=e=>`${Ss()}/${e}`,L0=e=>Array.from({length:10},(t,a)=>Cu(`${e}-${String(a+1).padStart(2,"0")}.mp3`)),Zi={get defaultNoise(){return Cu("noise1.mp3")},get street(){return L0("noise2")},get restaurant(){return L0("noise3")},get buzz(){return Cu("noise4.mp3")}};function fB(e){const t=Math.floor(Math.random()*10);switch(e){case"defaultNoise":return Zi.defaultNoise;case"street":return Zi.street[t];case"restaurant":return Zi.restaurant[t];case"buzz":return Zi.buzz;default:return null}}function vB({noisePlayer:e,audioRef:t,playbackStateRef:a}){const o=l.useRef(e?.registerAnalyser);o.current=e?.registerAnalyser;const n=l.useRef(null),[i,s]=l.useState(null),c=l.useRef(null),d=l.useRef(null),u=l.useRef(null),p=l.useRef(null),h=l.useRef(0),m=l.useRef(null),b=l.useCallback(()=>{p.current!==null&&(cancelAnimationFrame(p.current),p.current=null),m.current!==null&&(clearTimeout(m.current),m.current=null)},[]),x=l.useCallback((y,_=250)=>{const B=n.current;if(!B)return;const k=d.current;if(k){d.current=null;try{B.pause()}catch{}B.src=k,B.load()}if(!B.src)return;h.current+=1,b();try{Ir(),Zo(B).then(E=>{if(n.current===B)try{o.current?.("noise",E)}catch{}})}catch{}const S=B.paused?0:Xo(B);B.paused&&Ta(B,0),B.play().catch(()=>{});const w=performance.now(),A=()=>{const E=Math.min(1,(performance.now()-w)/_);try{Ta(B,S+(y-S)*E)}catch{}E<1?p.current=requestAnimationFrame(A):p.current=null};p.current=requestAnimationFrame(A)},[b]),f=l.useCallback((y=250,_)=>{const B=n.current;if(!B||B.paused){_?.();return}const k=++h.current;b();const S=performance.now(),w=Xo(B),A=()=>{const E=Math.min(1,(performance.now()-S)/y);try{Ta(B,w*(1-E))}catch{}if(E<1)p.current=requestAnimationFrame(A);else{p.current=null,m.current!==null&&(clearTimeout(m.current),m.current=null);try{B.pause()}catch{}_?.()}};p.current=requestAnimationFrame(A),m.current=setTimeout(()=>{if(m.current=null,h.current===k){p.current!==null&&(cancelAnimationFrame(p.current),p.current=null);try{B.paused||(Ta(B,0),B.pause(),_?.())}catch{}}},y+150)},[b]);l.useEffect(()=>{const y=document.createElement("audio");return y.loop=!0,y.crossOrigin="anonymous",n.current=y,()=>{b();try{y.pause(),y.src=""}catch{}n.current=null,c.current=null,d.current=null}},[b]);const C=e?Yi(e.settings):0,g=!!e?.settings.enabled&&C>0;l.useEffect(()=>{if(!g)return;let y=0;const _=setInterval(()=>{const B=n.current;if(!B||B.paused){y=0;return}const k=t.current;if(k&&!k.paused&&!k.ended||a.current==="playing"){y=0;return}y+=1,y>=2&&(y=0,f())},400);return()=>clearInterval(_)},[f,g,t,a]),l.useEffect(()=>{const y=()=>{const _=n.current;if(document.hidden){if(_&&!_.paused){b();try{_.pause()}catch{}}return}if(!_||!_.paused)return;const B=t.current,k=!!B&&!B.paused&&!B.ended||a.current==="playing",S=u.current;k&&S?.enabled&&S.volume>0&&x(S.volume)};return document.addEventListener("visibilitychange",y),()=>document.removeEventListener("visibilitychange",y)},[b,x,t,a]),l.useEffect(()=>{u.current=e?{enabled:e.settings.enabled,volume:C,type:e.settings.type}:null},[e,e?.settings.enabled,C,e?.settings.type]);const v=l.useRef(null);return l.useEffect(()=>()=>{v.current?.(),v.current=null},[]),l.useEffect(()=>{const y=e?.settings,_=n.current;if(!_)return;const B=y?Yi(y):0;if(!y||!y.enabled||B===0){f();return}if(c.current!==y.type){const k=fB(y.type);k&&(c.current=y.type,s(k),d.current=k,f(150,()=>{if(d.current!==k)return;d.current=null,_.src=k,_.load();const S=t.current;if(S&&!S.paused){v.current?.();const w=()=>{_.removeEventListener("canplay",w),v.current===A&&(v.current=null);const E=t.current,L=u.current;E&&!E.paused&&!E.ended&&L?.enabled&&L.volume>0&&x(L.volume)},A=()=>_.removeEventListener("canplay",w);v.current=A,_.addEventListener("canplay",w)}}))}else{const k=t.current,S=!!k&&!k.paused&&!k.ended||a.current==="playing";if(S&&d.current)x(B);else if(S&&_.paused&&_.src)x(B);else if(!_.paused)if(!S)f();else{b();const w=Xo(_),A=performance.now(),E=()=>{const L=Math.min(1,(performance.now()-A)/150);try{Ta(_,w+(B-w)*L)}catch{}L<1?p.current=requestAnimationFrame(E):p.current=null};p.current=requestAnimationFrame(E)}}},[e?.settings,e?.settings.enabled,C,e?.settings.type,b,x,f,t,a,u]),l.useEffect(()=>{const y=n.current;if(y)try{y.playbackRate=Math.min(1.25,Math.max(.75,e?.settings.speed??1))}catch{}},[e?.settings.speed]),{noiseAudioRef:n,activeNoiseUrl:i,noiseSettingsRef:u,cancelNoiseFade:b,fadeInNoise:x,fadeOutNoise:f}}function xB({ttsText:e,playbackRate:t,mainVolume:a,fillRef:o,waveProgressRef:n,setProgress:i,setPlaybackState:s,setStateLocal:c,fadeInNoise:d,fadeOutNoise:u,noiseSettingsRef:p,onDoneRef:h,handleEndRef:m}){const b=l.useRef(null),x=l.useRef(0),f=l.useRef(null),C=l.useRef(0),g=l.useRef(!1);l.useEffect(()=>()=>{C.current++;try{if(f.current&&(cancelAnimationFrame(f.current),f.current=null),g.current&&window.speechSynthesis){try{window.speechSynthesis.cancel()}catch{}g.current=!1}}catch{}},[]);const v=(B,k=1)=>{try{const S=(B||"").trim().split(/\s+/).filter(Boolean).length||Math.max(1,(B||"").length);return Math.max(700,Math.round(S*300/Math.max(.25,k)))}catch{return 1200}},y=l.useCallback(B=>{if(typeof window>"u"||!window.speechSynthesis){try{typeof h.current=="function"&&h.current(!1)}catch{}return}const k=window.speechSynthesis,S=++C.current;try{try{k.cancel()}catch{}const w=B??e,A=Array.isArray(w)?w.filter(D=>!!D):[w||""];A.length===0&&A.push("");const E=Math.max(.3,Math.min(3,t));x.current=A.reduce((D,T)=>D+v(T,E||1),0),b.current=performance.now(),i(0),s("playing"),c("playMode");const L=p.current;L?.enabled&&(L?.volume??0)>0&&d(L.volume);const z=()=>{try{const D=b.current||performance.now(),T=performance.now()-D,O=x.current||1200,G=Math.min(1,T/O);try{o.current&&(o.current.style.left=`${G*100}%`),n.current&&n.current.style.setProperty("--progress",String(G))}catch{}G<1&&(f.current=requestAnimationFrame(z))}catch{}},j=()=>{if(S===C.current)try{f.current&&(cancelAnimationFrame(f.current),f.current=null),i(1),s("stopped");try{m.current?.()}catch{try{typeof h.current=="function"&&h.current(!0)}catch{}}}catch{}},I=D=>{const T=new SpeechSynthesisUtterance(A[D]);try{T.rate=E}catch{}try{T.volume=Math.max(0,Math.min(1,a))}catch{}T.onend=()=>{if(S===C.current){if(D<A.length-1){try{I(D+1)}catch{j()}return}j()}},T.onerror=()=>{j()},T.onstart=()=>{if(!(D>0))try{f.current&&(cancelAnimationFrame(f.current),f.current=null),f.current=requestAnimationFrame(z)}catch{}},g.current=!0,k.speak(T)};try{I(0)}catch{try{typeof h.current=="function"&&h.current(!0)}catch{}}}catch{try{typeof h.current=="function"&&h.current(!0)}catch{}}},[e,t,a,d,o,n,i,s,c,p,h,m]),_=l.useCallback(()=>{C.current++;try{if(window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}f.current&&(cancelAnimationFrame(f.current),f.current=null),u(),b.current=null}catch{}s("stopped"),c("active"),i(0)},[u,s,c,i]);return{startTTS:y,stopTTS:_}}var CB='.ihabdevteam-core-scope .audio-player{align-items:center;display:flex;flex-direction:column;width:100%}.ihabdevteam-core-scope .audio-player__no-waveform{align-items:center;align-self:flex-start;color:var(--color-lightGray);display:flex;gap:4px;margin:6px 0 0}.ihabdevteam-core-scope .audio-player__no-waveform .iconRenderer-icon{align-items:center;display:inline-flex}.ihabdevteam-core-scope .audio-player__panel{align-items:center;background:linear-gradient(90deg,var(--color-main),var(--color-sub));background:linear-gradient(var(--angle,90deg),var(--color-main),var(--color-sub));border-radius:var(--radius-m);display:flex;height:120px;position:relative;width:100%}.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__panel{background:var(--color-darkWhite);border:1px solid var(--color-darkWhite)}.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__buttons,.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__play,.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__wave{pointer-events:none}.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__buttons .button,.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__play .button{opacity:.7}.ihabdevteam-core-scope .audio-player__play{align-items:center;bottom:0;display:flex;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:relative;right:0;top:0;transition:opacity .16s ease,transform .16s ease;width:100%;z-index:10}.ihabdevteam-core-scope .audio-player__play.is-visible{opacity:1;pointer-events:auto}.ihabdevteam-core-scope .audio-player__panel>.button{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:opacity .16s ease,transform .16s ease;will-change:opacity,transform;z-index:35}.ihabdevteam-core-scope .audio-player__button{align-items:center;background:transparent;border:0;cursor:pointer;display:flex;inset:0;justify-content:center;padding:0;position:absolute;z-index:35}.ihabdevteam-core-scope .audio-player__button-triangle-wrap{align-items:center;display:flex;height:90px;justify-content:center;transition:transform .32s cubic-bezier(.2,.7,.2,1);width:90px}.ihabdevteam-core-scope .audio-player__button:hover .audio-player__button-triangle-wrap{transform:scale(1.18)}.ihabdevteam-core-scope .audio-player__button:active .audio-player__button-triangle-wrap{transform:scale(1.06)}.ihabdevteam-core-scope .audio-player__button-triangle{height:100%;width:100%}.ihabdevteam-core-scope .audio-player__button-triangle path{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.6}.ihabdevteam-core-scope .audio-player.is-disabled .audio-player__button{cursor:default;opacity:.5;pointer-events:none}.ihabdevteam-core-scope .audio-player__slider{align-items:center;bottom:50px;box-sizing:border-box;display:flex;left:20px;pointer-events:none;position:absolute;right:20px;top:20px}.ihabdevteam-core-scope .audio-player__buttons{align-items:center;border-radius:999px;bottom:10px;box-sizing:border-box;display:flex;gap:0;height:28px;justify-content:center;left:0;pointer-events:auto;position:absolute;right:0;z-index:40}.ihabdevteam-core-scope .audio-player__source-buttons{align-items:center;border:1px solid var(--color-white-a30);border-radius:var(--radius-m);display:inline-flex;justify-content:center;overflow:visible}.ihabdevteam-core-scope .audio-player__source-buttons .button{flex:0 0 auto;max-width:60px}.ihabdevteam-core-scope .audio-player__buttons .button[aria-label=\\B2E4\\C74C],.ihabdevteam-core-scope .audio-player__buttons .button[aria-label=\\C774\\C804],.ihabdevteam-core-scope .audio-player__buttons .button[aria-label=\\C815\\C9C0]{display:none}.ihabdevteam-core-scope .audio-player__buttons>.button{align-items:center;display:inline-flex;justify-content:center;margin:0;width:auto}.ihabdevteam-core-scope .audio-player__fill{backface-visibility:hidden;background:var(--color-pureWhite);border-radius:var(--radius-sm);height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scaleY(0);transform-origin:center center;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .16s ease;width:8px;will-change:transform,opacity;z-index:70}.ihabdevteam-core-scope .audio-player__fill.is-visible{opacity:1}.ihabdevteam-core-scope .audio-player__fill.is-expanded{transform:translateX(-50%) translateY(-50%) scaleY(1)}.ihabdevteam-core-scope .audio-player__fill.is-paused{transition:opacity .16s ease}.ihabdevteam-core-scope .audio-player__fill.is-out{animation:audio-player-fill-out .28s cubic-bezier(.2,.8,.2,1) forwards}@keyframes audio-player-fill-out{0%{opacity:1;transform:translateX(-50%) translateY(-50%) scaleY(1)}to{opacity:0;transform:translateX(-50%) translateY(-50%) scaleY(0)}}.ihabdevteam-core-scope .audio-player__loading{align-items:center;background:transparent;border-radius:var(--radius-sm);color:rgba(0,0,0,.85);color:var(--audio-loading-foreground,rgba(0,0,0,.85));display:inline-flex;font-size:13px;gap:var(--spacing-xs);left:50%;padding:0;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:999}.ihabdevteam-core-scope .audio-player__debug{align-items:center;background:hsla(0,0%,100%,.06);border-radius:18px;color:#fff;display:flex;font-size:12px;gap:8px;padding:6px 10px;pointer-events:none;position:absolute;right:12px;top:12px}.ihabdevteam-core-scope .audio-player__debug-dot{border-radius:10px;box-shadow:0 0 6px rgba(0,0,0,.4);display:inline-block;height:10px;width:10px}.ihabdevteam-core-scope .audio-player__loading .audio-player__loading-text,.ihabdevteam-core-scope .audio-player__panel.is-loading .audio-player__loading-text{display:none}.ihabdevteam-core-scope .audio-player__loading-spinner{animation:audio-player-spinner .9s linear infinite;border:4px solid hsla(0,0%,100%,.2);border-radius:50%;border-top-color:#fff;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));height:40px;width:40px}@keyframes audio-player-spinner{to{transform:rotate(1turn)}}.ihabdevteam-core-scope .audio-player__wave{height:90%;height:var(--wave-h,90%);position:absolute;transition:height .35s cubic-bezier(.22,.9,.3,1)}.ihabdevteam-core-scope .audio-player__wave,.ihabdevteam-core-scope .audio-player__wave-inner{align-items:center;display:flex;justify-content:center;pointer-events:none;width:100%;z-index:60}.ihabdevteam-core-scope .audio-player__wave-inner{cursor:default;gap:3px;gap:var(--bar-gap,3px);height:100%;margin:0 auto;padding:0}.ihabdevteam-core-scope .audio-player__wave-inner:not(.is-ready) .audio-player__bar:after{opacity:0}.ihabdevteam-core-scope .audio-player__wave-inner.is-ready .audio-player__bar:after{animation:wave-bar-in .35s cubic-bezier(.22,.9,.3,1) backwards;animation-delay:0ms;animation-delay:calc(var(--i, 0)*2ms)}@keyframes wave-bar-in{0%{opacity:0;transform:translateY(-50%) scaleY(.05)}to{opacity:1;transform:translateY(-50%) scaleY(.15);transform:translateY(-50%) scaleY(var(--val,.15))}}.ihabdevteam-core-scope .audio-player__wave-inner.is-ready .audio-player__bar--hidden:after,.ihabdevteam-core-scope .audio-player__wave-noise.is-ready .audio-player__bar--hidden:after{animation:none;opacity:0}.ihabdevteam-core-scope .audio-player__wave-played{bottom:0;clip-path:inset(0 100% 0 0);clip-path:inset(0 calc((1 - var(--progress, 0))*100%) 0 0);left:0;pointer-events:none;position:absolute;right:0;top:0}.ihabdevteam-core-scope .audio-player__bar{box-sizing:border-box;flex:0 0 3px;flex:0 0 var(--bar-w,3px);height:100%;position:relative}.ihabdevteam-core-scope .audio-player__wave-unplayed .audio-player__bar:after{background:color-mix(in srgb,var(--color-lightMain),var(--color-lightSub) 0);border-radius:999px;content:"";height:100%;height:var(--wave-h1,100%);left:0;opacity:1;position:absolute;right:0;top:50%;transform:translateY(-50%) scaleY(.15);transform:translateY(-50%) scaleY(var(--val,.15));transform-origin:center center;transition:transform .35s cubic-bezier(.22,.9,.3,1);z-index:61}@supports (color:color-mix(in lch,red,blue)) and (top:var(--f )){.ihabdevteam-core-scope .audio-player__wave-unplayed .audio-player__bar:after{background:color-mix(in srgb,var(--color-lightMain),var(--color-lightSub) calc(var(--mix, 0)*100%))}}.ihabdevteam-core-scope .audio-player__wave-played .audio-player__bar:after{background:color-mix(in srgb,var(--color-lightMain),var(--color-lightSub) 0);border-radius:999px;content:"";height:100%;height:var(--wave-h1,100%);left:0;opacity:1;position:absolute;right:0;top:50%;transform:translateY(-50%) scaleY(.15);transform:translateY(-50%) scaleY(var(--val,.15));transform-origin:center center;transition:transform .35s cubic-bezier(.22,.9,.3,1);z-index:62}@supports (color:color-mix(in lch,red,blue)) and (top:var(--f )){.ihabdevteam-core-scope .audio-player__wave-played .audio-player__bar:after{background:color-mix(in srgb,var(--color-lightMain),var(--color-lightSub) calc(var(--mix, 0)*100%))}}.ihabdevteam-core-scope .audio-player__wave-noise{align-items:center;bottom:0;display:flex;gap:3px;gap:var(--bar-gap,3px);justify-content:center;left:0;margin:0 auto;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:58}.ihabdevteam-core-scope .audio-player__wave-noise .audio-player__bar:after{background:color-mix(in srgb,var(--color-deepMain),var(--color-deepSub) 0);border-radius:999px;content:"";height:100%;height:var(--wave-h1,100%);left:0;opacity:1;position:absolute;right:0;top:50%;transform:translateY(-50%) scaleY(.1);transform:translateY(-50%) scaleY(var(--val,.1));transform-origin:center center;transition:transform .35s cubic-bezier(.22,.9,.3,1);z-index:58}@supports (color:color-mix(in lch,red,blue)) and (top:var(--f )){.ihabdevteam-core-scope .audio-player__wave-noise .audio-player__bar:after{background:color-mix(in srgb,var(--color-deepMain),var(--color-deepSub) calc(var(--mix, 0)*100%))}}.ihabdevteam-core-scope .audio-player__wave-noise:not(.is-ready) .audio-player__bar:after{opacity:0}.ihabdevteam-core-scope .audio-player__wave-noise.is-ready .audio-player__bar:after{animation:wave-bar-in .35s cubic-bezier(.22,.9,.3,1) backwards;animation-delay:0ms;animation-delay:calc(var(--i, 0)*2ms)}.ihabdevteam-core-scope .audio-player__segments{align-items:center;display:flex;gap:3px;gap:var(--bar-gap,3px);height:100%;position:relative;width:100%}.ihabdevteam-core-scope .audio-player__segment{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;padding:10px 0;pointer-events:auto;position:relative}.ihabdevteam-core-scope .audio-player__segment-inner{align-items:center;display:flex;gap:3px;gap:var(--bar-gap,3px);height:100%;justify-content:center;width:100%}.ihabdevteam-core-scope .audio-player__buttons .button--variant-transparent-white[aria-pressed=true]:not(:hover):not(:focus-visible){background:transparent;color:#fbfdff}';oe(CB);async function _B(e,t,a){let o=null;try{const n=window.AudioContext||window.webkitAudioContext;o=new n;const i=await o.decodeAudioData(e.slice(0)),s=i.numberOfChannels>0?i.getChannelData(0):null;if(!s)return null;const c=a&&a>0?Math.min(s.length,Math.floor(a*i.sampleRate)):s.length,d=Math.max(t,c),u=Math.floor(d/t)||1;return new Array(t).fill(0).map((p,h)=>{const m=h*u,b=Math.min(m+u,d);let x=0;for(let f=m;f<b;f++){const C=Math.abs(s[f]);C>x&&(x=C)}return x})}catch{return null}finally{try{o?.close?.()}catch{}}}async function M0(e,t,a){try{const o=await fetch(e);if(o.ok===!1)return null;const n=await o.arrayBuffer();return await _B(n,t,a)}catch(o){try{const n=Jr(o)}catch{}return null}}const _u=45,$0=74,R0=2;function Sr(e){const t=Math.min(2,Math.max(0,Number(e)||0));return t<=1?t*45:45+(t-1)*29}function Xi(e){return Sr(e)/45}const P0=4;function yB(e){const{src:t,segments:a,progress:o=0,waveProgressRef:n,noiseSrc:i,noiseRatio:s=0,noiseSpeed:c=1,totalDuration:d=0,mainVolume:u=1,onReadyChange:p,showSoundWaveForm:h=!0}=e,m=l.useRef(null),b=l.useRef(null),[x,f]=l.useState(null),[C,g]=l.useState(!1),[v,y]=l.useState(null),[_,B]=l.useState(2),[k,S]=l.useState(0),[w,A]=l.useState(null),[E,L]=l.useState(!1),[z,j]=l.useState(!1),I=3,D=3,T=1,O=300,G=l.useRef(0),Z=l.useCallback(()=>{const ce=m.current,U=b&&b.current?b.current:ce?ce.closest(".audio-player__wave"):null,le=U?U.getBoundingClientRect():ce?ce.getBoundingClientRect():null,be=le?le.width:0,ye=le?Math.max(100,le.width):320,xe=le?le.height:0,ue=Math.max(T,Math.min(O,Math.floor((ye+D)/(I+D)))),_e=ue*I,Ae=Math.max(0,ue-1),X=Math.max(0,Ae>0?(ye-_e)/Ae:D);return{bars:ue,gap:X,height:xe,width:be}},[]),H=l.useRef(void 0),V=l.useRef(null),q=l.useCallback(async(ce,U,{quiet:le=!1}={})=>{const be=++G.current,ye=()=>G.current===be;try{if(le||g(!1),H.current=ce,!ce){ye()&&f(null);return}let xe=U;if(!xe)try{for(let Ae=0;Ae<4&&!(m.current||b.current);Ae++)await new Promise(X=>requestAnimationFrame(X));await new Promise(Ae=>requestAnimationFrame(Ae));const _e=Z();_e.height>0&&S(_e.height),xe=_e.bars,B(_e.gap)}catch{xe=120}V.current=xe;const ue=await M0(ce,xe);if(!ye())return;if(!ue){f(null),g(!1);return}f(ue),y(xe),g(!0)}catch{if(!ye())return;f(null),g(!1)}},[g,f,S,B,y,Z]);l.useEffect(()=>{const ce=b.current;if(!ce||typeof ResizeObserver>"u")return;let U=null;const le=new ResizeObserver(()=>{U!==null&&cancelAnimationFrame(U),U=requestAnimationFrame(()=>{U=null;try{const be=Z();if(be.width<=0||(be.height>0&&S(be.height),V.current===null||be.bars===V.current))return;const ye=H.current;B(be.gap),ye?q(ye,be.bars,{quiet:!0}).catch(()=>{}):V.current=be.bars}catch{}})});return le.observe(ce),()=>{le.disconnect(),U!==null&&cancelAnimationFrame(U)}},[Z,q]),l.useEffect(()=>{const ce=a&&a[0]&&a[0].src||t||a&&a.length===1&&a[0]&&a[0].src;q(typeof ce=="string"?ce:void 0).catch(()=>{}),j(!1)},[t,a,q]),l.useEffect(()=>{let ce=!1;if(L(!1),!i||!v){A(null);return}const U=d>0?d*(c||1):void 0;return M0(i,v,U).then(le=>{ce||(A(le),le||L(!0))}).catch(()=>{ce||(A(null),L(!0))}),()=>{ce=!0}},[i,v,d,c]);const $=Math.max(0,Math.min(1,u)),N=l.useMemo(()=>x&&x.length&&Math.max(...x)||1,[x]),F=v||40,R=l.useMemo(()=>Array.from({length:F}).map((ce,U)=>{const le=x&&x[U]!=null?x[U]:null,be=le==null?null:Math.min(1,le/N*$),ye=be!=null&&k>0&&Sr(be)<=P0,xe=be==null?.15:ye?0:Xi(be),ue=F>1?U/(F-1):0;return r.jsx("div",{className:ye?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":xe,"--i":U,"--mix":ue}},U)}),[F,x,N,$,k]),W={"--progress":String(Math.max(0,Math.min(1,o)))},P=i?Math.max(1,s):1,Q={"--bar-gap":`${_}px`,"--wave-h":`${Sr(P)}px`,"--wave-h1":`${_u}px`},ee=$*Math.max(0,s)/jn(),Y=C&&(i?!!w||E:!0);l.useEffect(()=>{Y&&j(!0)},[Y]);const ne=z?C:Y;l.useEffect(()=>{p?.(ne)},[ne,p]);const ie=v||40,se=l.useMemo(()=>Array.from({length:ie}).map((ce,U)=>{const le=w&&w[U]!=null?w[U]:null,be=le==null?0:le/N*ee,ye=k>0&&Sr(be)<=P0,xe=ye?0:Xi(be),ue=ie>1?U/(ie-1):0;return r.jsx("div",{className:ye?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":xe,"--i":U,"--mix":ue}},U)}),[ie,w,N,ee,k]);return r.jsxs("div",{className:"audio-player__wave",ref:b,style:Q,children:[i&&r.jsx("div",{className:`audio-player__wave-noise ${Y?"is-ready":""}`,"aria-hidden":"true",children:se}),h&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:`audio-player__wave-inner audio-player__wave-unplayed ${ne?"is-ready":""}`,ref:m,children:R}),r.jsx("div",{className:`audio-player__wave-inner audio-player__wave-played ${ne?"is-ready":""}`,ref:n,style:W,children:R})]})]})}const wB={idle:"\uB300\uAE30",resolving:"\uB9AC\uC18C\uC2A4 \uB9E4\uD551 \uC911\u2026",checking_exists:"\uD30C\uC77C \uC874\uC7AC \uD655\uC778\u2026",getting_signed_url:"\uC11C\uBA85 URL \uC870\uD68C\u2026",downloading:"\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",measuring_duration:"\uC624\uB514\uC624 \uAE38\uC774 \uCE21\uC815\u2026",ready:"\uC900\uBE44 \uC644\uB8CC",error:"\uC624\uB958 \uBC1C\uC0DD"};function yu(e,t){return new Promise((a,o)=>{const n=document.createElement("audio");let i=!1;const s=()=>{try{n.src=""}catch{}},c=()=>{if(i)return;i=!0;const u=isFinite(n.duration)&&n.duration||0;s(),a(u)},d=u=>{i||(i=!0,s(),t.rejectOnError?o(new Error(u)):a(0))};n.addEventListener("loadedmetadata",c),n.addEventListener("error",()=>d("audio load failed")),setTimeout(()=>d("audio load timeout"),t.timeoutMs),n.src=e})}const kB=2e3;function z0(e,t=kB){return new Promise(a=>{let o=!1;const n=()=>{o||(o=!0,a())};e.addEventListener("canplay",n,{once:!0}),e.addEventListener("error",n,{once:!0}),setTimeout(n,t)})}function BB({showSoundWaveForm:e,showNoiseWaveForm:t,timeoutMs:a=2500}){const o=l.useRef(!1),n=l.useRef([]),i=l.useCallback(d=>{if(o.current=d,!d||!n.current.length)return;const u=n.current;n.current=[];for(const p of u)p(!0)},[]),s=l.useCallback(()=>{o.current=!1},[]),c=l.useCallback(()=>!e&&!t||o.current?Promise.resolve(!0):new Promise(d=>{const u=h=>{clearTimeout(p),n.current=n.current.filter(m=>m!==u),d(h)},p=setTimeout(()=>u(!0),a);n.current.push(u)}),[e,t,a]);return l.useEffect(()=>()=>{const d=n.current;n.current=[];for(const u of d)u(!1)},[]),{onReadyChange:i,waitForReady:c,markNotReady:s}}function AB(){const e=l.useRef([]),t=l.useCallback(n=>(e.current.push(n),n),[]),a=l.useCallback(n=>{const i=new Set([...n].filter(Boolean));e.current=e.current.filter(s=>{if(i.has(s))return!0;try{URL.revokeObjectURL(s)}catch{}return!1})},[]),o=l.useCallback(()=>{a([])},[a]);return l.useEffect(()=>()=>{for(const n of e.current)try{URL.revokeObjectURL(n)}catch{}e.current=[]},[]),{track:t,keepOnly:a,revokeAll:o}}function SB({offsetY:e=8}={}){const t=l.useRef(null),[a,o]=l.useState(null),n=l.useCallback(()=>o(null),[]),i=l.useCallback(()=>{try{const s=t.current?.getBoundingClientRect();if(!s)return;o({left:s.left,right:s.right,width:s.width,height:s.height,x:s.x,top:s.top+e,bottom:s.bottom+e,y:s.y+e,toJSON:s.toJSON.bind(s)})}catch{}},[e]);return l.useEffect(()=>{if(a)return document.addEventListener("mousedown",n),()=>document.removeEventListener("mousedown",n)},[a,n]),{ref:t,rect:a,show:i,hide:n}}function EB({currentTime:e,sources:t,index:a,audioDuration:o}){const n=a||0,i=Array.isArray(t)&&t.length>0?t[n]:void 0,s=i?i.duration||o||0:o||0;if(!(s>0))return 0;const c=Number.isFinite(e)?e:0;return Math.max(0,Math.min(1,c/s))}function NB(e,t){if(!Array.isArray(e))return null;const a=t||0;return a<e.length-1?a+1:null}function DB({ended:e,completedByEnd:t}){return!!e||!!t}function TB(e){return e.map((t,a)=>({src:t.src,label:String(a+1),color:void 0,duration:t.duration||0}))}function jB(e){return e.reduce((t,a)=>t+(a.duration||0),0)}function LB(e,t,a){const o=Array.isArray(e)?e:e?[e]:[],n=[];for(const i of o)if(i){if(typeof i=="object"&&i!==null&&"src"in i&&i.src){const s=i;n.push({code:s.code??null,src:s.src});continue}if(typeof i=="string"&&(i.startsWith("http")||i.includes("/"))){n.push({code:null,src:i});continue}if(typeof i=="string"||typeof i=="number"){const s=String(i),c=a(s,t);c&&n.push({code:s,resolvedPath:c})}}return n}function MB(e){if(!e)return 0;const t=e.duration;if(Number.isFinite(t)&&t>0)return t;if(t===0)return 0;try{const a=e.seekable;if(a&&a.length>0){const o=a.end(a.length-1);if(Number.isFinite(o)&&o>0)return o}}catch{}return null}function $B({audioRef:e,fillRef:t,waveProgressRef:a,sourcesRef:o,currentIndexRef:n}){const i=l.useRef(null),s=l.useCallback(()=>{i.current!==null&&(cancelAnimationFrame(i.current),i.current=null)},[]),c=l.useCallback(()=>{if(i.current!==null)return;const u=()=>{try{const p=e.current,h=Array.isArray(o.current)?o.current[n.current||0]:void 0,m=h&&Number.isFinite(h.duration)&&(h.duration??0)>0?0:MB(p),b=t.current;if(m===null)try{b&&b.style.visibility!=="hidden"&&(b.style.visibility="hidden")}catch{}else{const x=EB({currentTime:p&&typeof p.currentTime=="number"?p.currentTime:0,sources:o.current,index:n.current,audioDuration:m});try{b&&(b.style.visibility&&(b.style.visibility=""),b.style.left=`${x*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(x))}catch{}}}catch{}i.current=requestAnimationFrame(u)};i.current=requestAnimationFrame(u)},[e,t,a,o,n]),d=l.useCallback(u=>{s();try{t.current&&(t.current.style.visibility="",t.current.style.left=`${u*100}%`)}catch{}try{a.current?.style.setProperty("--progress",String(u))}catch{}},[s,t,a]);return l.useEffect(()=>s,[s]),{start:c,stop:s,settleTo:d}}function Bn({btnLabel:e,soundSrc:t,bucketPath:a,onDone:o,disabled:n=!1,ttsText:i=null,className:s,showSoundWaveForm:c=!0,showNoiseWaveForm:d=!0}){const{t:u}=Ce.useTranslation(),p=e,h=kn(),m=l.useRef(h?.registerAnalyser);l.useEffect(()=>{m.current=h?.registerAnalyser});const b=l.useRef(null),x=l.useRef(null),f=l.useRef(null),C=AB(),g=l.useRef(null),v=l.useRef(!1),y=l.useRef(0),_=l.useRef(null),{ref:B,rect:k,show:S,hide:w}=SB();l.useEffect(()=>()=>{m.current?.("main",null),m.current?.("noise",null)},[]);const[A,E]=l.useState(!1),[L,z]=l.useState("idle"),[j,I]=l.useState("stopped"),D=l.useRef("stopped");l.useEffect(()=>{D.current=j},[j]);const[T,O]=l.useState(0),[G,Z]=l.useState("active"),H=l.useRef(!1);l.useEffect(()=>{if(G!=="playMode"||!H.current)return;H.current=!1;const K=typeof document<"u"?document.activeElement:null;if(K&&K!==document.body)return;const pe=f.current?.querySelectorAll("button")[1];try{pe?.focus()}catch{}},[G]);const[V,q]=l.useState(null),[$,N]=l.useState(null),[F,R]=l.useState(0),[W,P]=l.useState(!1),[Q,ee]=l.useState(0),Y=h?.playbackRate??1,ne=h?.mainVolume??1,ie=h?qi(h.settings):0,se=h?xu(h.settings):ne,[ce,U]=l.useState("idle"),[le,be]=l.useState(""),[ye]=l.useState("top"),xe=l.useRef(null),ue=l.useRef(0),_e=l.useRef(null),{start:Ae,stop:X,settleTo:we}=$B({audioRef:b,fillRef:x,waveProgressRef:_e,sourcesRef:xe,currentIndexRef:ue}),{onReadyChange:fe,waitForReady:ae,markNotReady:ge}=BB({showSoundWaveForm:c,showNoiseWaveForm:d}),Me=l.useRef(null),$e=l.useRef(n),Ye=l.useRef(o),ze=l.useRef(null),Ue=l.useRef(!1),[re,Oe]=l.useState(!1),Fe=l.useCallback(K=>{Ue.current=K,Oe(K)},[]),Ze=l.useRef(null),{activeNoiseUrl:Qe,noiseSettingsRef:De,fadeInNoise:Le,fadeOutNoise:ke}=vB({noisePlayer:h,audioRef:b,playbackStateRef:D}),{startTTS:Ie,stopTTS:pt}=xB({ttsText:i,playbackRate:Y,mainVolume:se,fillRef:x,waveProgressRef:_e,setProgress:O,setPlaybackState:I,setStateLocal:Z,fadeInNoise:Le,fadeOutNoise:ke,noiseSettingsRef:De,onDoneRef:Ye,handleEndRef:Ze});l.useEffect(()=>{dt.current=pt});const Lt=K=>{if(typeof window>"u"||!window.speechSynthesis){try{be(u("training.ttsUnavailable","\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."))}catch{}Ie(K);return}Mt("tts"),Ie(K)},Yt=Array.isArray(t)?t.filter(Boolean):t?[t]:[],At=(!Yt||Yt.length===0)&&!!i,ct=Array.isArray(V)&&V.length>0?V:Array.isArray($)&&$.length>0?$:null,ot=Math.max(Array.isArray(ct)?ct.length:0,Yt.length),et=l.useRef(!0);l.useEffect(()=>(et.current=!0,()=>{et.current=!1}),[]);const lt=l.useRef(0),Ke=()=>{lt.current+=1,y.current+=1},dt=l.useRef(null),Xe=l.useRef(null),yt=l.useRef(null),Ot=l.useRef(null);Ot.current||(Ot.current=()=>{yt.current=null;const K=b.current;if(Xe.current==="audio"&&K&&!K.paused){lt.current+=1,y.current+=1;try{K.pause()}catch{}et.current&&I("paused")}else if(Xe.current==="tts")try{dt.current?.()}catch{}});const Mt=K=>{Xe.current=K,yt.current=Ei(Ot.current)},vt=()=>{yt.current?.(),yt.current=null};l.useEffect(()=>()=>{Ot.current&&Ni(Ot.current)},[]);const ut=l.useCallback(async(K,pe=3,me=50)=>{const Se=lt.current;for(let Ee=0;Ee<pe;Ee++){if(!et.current||Se!==lt.current)return!1;try{return Mt("audio"),await K.play(),!0}catch(Re){if((Re instanceof Error||typeof Re=="object"&&Re&&"name"in Re?Re.name:void 0)==="AbortError"){if(Se!==lt.current)return!1;await new Promise(nt=>setTimeout(nt,me));continue}try{be(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1}}try{be(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1},[u]),Ve=l.useCallback(()=>{const K=b.current;if(!K)return;const pe=()=>{I("playing"),Z("playMode"),P(!0),Ae();try{Ir(),Zo(K).then(Re=>{if(et.current)try{m.current?.("main",Re)}catch{}})}catch{}const Ee=De.current;Ee?.enabled&&(Ee?.volume??0)>0&&Le(Ee.volume)},me=()=>{DB({ended:!!K?.ended,completedByEnd:Ue.current})||(I("paused"),X(),ke())},Se=()=>{try{const Ee=xe.current,Re=NB(Ee,ue.current);if(Re!==null){ue.current=Re,R(Re),P(!0);const nt=Ee?.[Re]&&Ee[Re].src;if(nt&&K){K.src=nt,K.load(),ut(K).catch(()=>{});return}}}catch{}I("stopped"),O(1);try{if(K)try{K.currentTime=0}catch{}}catch{}X(),P(!1),ke();try{!$e.current&&Ze.current&&Ze.current()}catch{}};return K.addEventListener("play",pe),K.addEventListener("pause",me),K.addEventListener("ended",Se),()=>{try{K.removeEventListener("play",pe),K.removeEventListener("pause",me),K.removeEventListener("ended",Se),X()}catch{}}},[Le,ke,ut,De,Ae,X]);l.useEffect(()=>Ve(),[Ve]),l.useEffect(()=>{$e.current=n},[n]),l.useEffect(()=>{Ye.current=o},[o]),l.useEffect(()=>{if(n||G!=="active")return;const K=_.current;if(!K)return;let pe=null;const me=requestAnimationFrame(()=>{try{const Se=K.getTotalLength();if(!Se)return;const Ee=Se*.2;K.style.strokeDasharray=`${Se-Ee} ${Ee}`;const Re="triFlow_"+Math.random().toString(36).slice(2);pe=document.createElement("style"),pe.textContent=`@keyframes ${Re}{from{stroke-dashoffset:0}to{stroke-dashoffset:-${Se}}}`,document.head.appendChild(pe),K.style.animation=`${Re} 2.4s linear infinite`}catch{}});return()=>{cancelAnimationFrame(me),pe?.remove()}},[G,n]),l.useEffect(()=>{xe.current=V},[V]),l.useEffect(()=>{ue.current=F},[F]),l.useEffect(()=>{const K=f.current,pe=g.current;if(!K||!pe)return;let me=null;const Se=32,Ee=60,Re=()=>{try{const wt=Array.from(K.querySelectorAll(":scope > .button"));let ht=0;wt.forEach(je=>{if(je===pe)return;const Ge=je.getBoundingClientRect();ht+=Ge.width});const St=K.getBoundingClientRect().width,Kt=Math.max(0,Math.floor(St-ht-8)),Vt=ot;if(!Vt||Kt<=0){Array.from(pe.children).forEach(je=>{try{je.style.width=""}catch{}});return}let va=Math.floor(Kt/Vt);va>Ee&&(va=Ee),va<Se&&(va=Math.max(Se,Math.floor(Kt/Vt))),Array.from(pe.querySelectorAll(".button")).forEach(je=>{try{je.style.width=`${va}px`}catch{}})}catch{}},nt=requestAnimationFrame(Re);try{me=new ResizeObserver(()=>{requestAnimationFrame(Re)}),me.observe(K),me.observe(pe),window.addEventListener("resize",Re)}catch{}return()=>{try{cancelAnimationFrame(nt)}catch{}try{me&&(me.disconnect(),me=null)}catch{}try{window.removeEventListener("resize",Re)}catch{}}},[V,$,ot]),l.useEffect(()=>()=>{try{Me.current&&(clearTimeout(Me.current),Me.current=null),ze.current&&(clearTimeout(ze.current),ze.current=null)}catch{}},[]);const rt=(K,pe)=>{q(K),ee(pe),ge(),N(TB(K)),xe.current=K},xt=async(K,pe)=>{Fe(!1),v.current=!1,K.src=pe,K.load(),await z0(K),await ae()!==!1&&(E(!1),await ut(K),Z("playMode"),R(0),P(!0))},Xt=async(K,pe=!1)=>{const me=b.current;E(!0),z("measuring_duration");try{const Se=await yu(K,{timeoutMs:1e4,rejectOnError:!0});rt([{src:K,objectUrl:null,duration:Se}],Se),z("ready"),pe&&me&&await xt(me,K)}finally{v.current=!1,E(!1)}},at=async(K,pe=!1)=>{const me=b.current;E(!0),z("measuring_duration");try{const Se=await Promise.all(K.map(Re=>yu(Re,{timeoutMs:1e4})));if(!et.current)return;const Ee=K.map((Re,nt)=>({src:Re,objectUrl:null,duration:Se[nt]||0}));rt(Ee,jB(Ee)),z("ready"),pe&&me&&Ee.length>0&&await xt(me,Ee[0].src)}finally{v.current=!1,E(!1)}},Ft=async(K=!1,pe=!0)=>{const me=b.current,Se=t?Array.isArray(t)?t:[t]:[];if(!Se||Se.length===0||!Se.some(Boolean))return!1;if(v.current)return null;v.current=!0,pe&&E(!0),z("resolving");try{const Ee=LB(t,a,Dn),Re=[];let nt=0;for(const wt of Ee){let ht=wt.src??null,St=null;if(!ht&&wt.resolvedPath){try{z("getting_signed_url"),ht=await Rr(wt.resolvedPath)}catch{ht=null}if(!et.current)return!1;if(!ht)try{z("downloading");const Vt=await Tn(wt.resolvedPath);if(!et.current)return!1;if(Vt){const va=Vt instanceof Blob?Vt:new Blob([Vt]);St=C.track(URL.createObjectURL(va)),ht=St}}catch{z("error");try{be(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.")),Z("active")}catch{}}}if(!ht)continue;let Kt=0;try{z("measuring_duration"),Kt=await yu(ht,{timeoutMs:3e3})}catch{Kt=0}if(!et.current){if(St)try{URL.revokeObjectURL(St)}catch{}for(const Vt of Re)if(Vt.objectUrl)try{URL.revokeObjectURL(Vt.objectUrl)}catch{}return!1}nt+=Kt||0,Re.push({...wt,src:ht,objectUrl:St,duration:Kt})}if(rt(Re,nt),Re.length>0&&K&&me){const wt=Re[0];Fe(!1);try{C.keepOnly(Re.map(ht=>ht.objectUrl))}catch{}if(z("ready"),v.current=!1,wt.src&&me)try{if(me.src=wt.src,me.load(),await z0(me),await ae()===!1)return!1;pe&&E(!1),me&&await ut(me)}catch{pe&&E(!1)}else pe&&E(!1);Z("playMode"),R(0),P(!0)}return Re.length>0}finally{v.current=!1,pe&&E(!1),z(Ee=>Ee==="ready"?"ready":"idle")}},sa=async()=>{const K=b.current;if(!(!K&&!At)){if(At){const pe=window.speechSynthesis;if(G==="active"){const me=Pr(),Se=Array.isArray(i)?i.filter(Boolean):i?[i]:[];if(me&&Se.length>0){Z("load"),E(!0),z("resolving"),v.current=!0;try{const Ee=await Promise.all(Se.map(Re=>Promise.resolve(me(Re))));Ee.length>1?await at(Ee,!0):await Xt(Ee[0],!0)}catch{v.current=!1,E(!1),Z("active"),Lt(Se.length>0?Se:void 0)}return}Lt(Se.length>0?Se:void 0);return}if(G==="playMode"){const me=!!pe&&(pe.speaking||pe.paused)&&!(K&&(K.currentSrc||K.getAttribute("src")));if(K&&!me){if(K.paused){if(Ue.current){await Ht();return}await ut(K),I("playing")}else Ke(),K.pause(),I("paused");return}try{if(pe&&pe.paused)try{Mt("tts"),pe.resume(),I("playing")}catch{}else try{pe.pause(),I("paused")}catch{}}catch{}}return}if(G==="active"){if(n&&Array.isArray(xe.current)&&xe.current.length>0){const me=xe.current[0];try{if(me.src&&K)try{K.src=me.src,K.load(),K&&await ut(K)}catch{}Z("playMode"),R(0),P(!0);return}catch{}}Z("load");let pe;try{pe=await Ft(!0)}catch{pe=!1}if(pe===!1&&et.current){try{be(u("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}Z("active")}return}if(G!=="load"&&(G==="playMode"||G==="active"))try{if(K&&K.paused){if(Ue.current){await Ht();return}K&&await ut(K),I("playing")}else K&&(Ke(),K.pause(),I("paused"))}catch(pe){(pe instanceof Error||typeof pe=="object"&&pe&&"name"in pe)&&pe.name}}},Ht=async()=>{const K=b.current;if(K)try{const pe=xe.current;if(Array.isArray(pe)&&pe.length>1){await oo(0);return}Fe(!1);try{K.currentTime=0}catch{}K&&await ut(K),I("playing"),Z("playMode")}catch{}},Sa=()=>{if(Ke(),vt(),At){pt();return}const K=b.current;try{if(K){try{K.pause()}catch{}try{K.currentTime=0}catch{}}}catch{}ke(),I("stopped"),Z("active"),O(0),P(!1)},Ea=async(K,{sameSegment:pe=!1}={})=>{const me=++y.current,Se=b.current,Ee=xe.current?.[K]?.src;try{if(Fe(!1),R(K),P(!0),ue.current=K,!Ee||!Se||(pe||ge(),Se.src=Ee,Se.load(),!pe&&await ae()===!1)||me!==y.current||(await ut(Se),me!==y.current))return;I("playing"),Z("playMode")}catch{}},Na=async()=>{const K=xe.current,pe=ue.current||0;if(!K||pe<=0){await Ht();return}await Ea(pe-1)},yo=async()=>{const K=xe.current,pe=ue.current||0;if(!K||pe>=K.length-1){Sa();return}await Ea(pe+1)},Da=()=>{if(Ue.current)return;const K=200,pe=340;Fe(!0),Ke(),vt();try{O(1)}catch{}we(1);try{U("hold")}catch{}try{const me=b.current,Se=At&&!!me?.src;if(!At||Se){if(me){me.pause();try{me.currentTime=0}catch{}}}else pt();ke()}catch{}try{I("stopped")}catch{}if(P(!1),!$e.current)try{ze.current&&(clearTimeout(ze.current),ze.current=null),ze.current=setTimeout(()=>{try{U("out")}catch{}ze.current=setTimeout(()=>{try{typeof Ye.current=="function"&&Ye.current(!0)}catch{}try{U("idle")}catch{}ze.current=null},pe)},K)}catch{}};l.useEffect(()=>{Ze.current=Da});const wo=l.useCallback(()=>be(""),[]),oo=async K=>{(xe.current||[])[K]&&await Ea(K,{sameSegment:K===ue.current})},$t=j==="playing",Ha=l.useMemo(()=>{if(!$||$.length<=1)return $;const K=$[F];return K?[K]:$},[$,F]),Jt=n===!0;l.useEffect(()=>{try{const K=b.current;K&&typeof K.playbackRate=="number"&&(K.playbackRate=Y||1)}catch{}},[Y]);const la=l.useRef({raf:null,timer:null});l.useEffect(()=>{const K=b.current;if(!K)return;const pe=Math.max(0,Math.min(1,se)),me=la.current,Se=()=>{me.raf!==null&&(cancelAnimationFrame(me.raf),me.raf=null),me.timer!==null&&(clearTimeout(me.timer),me.timer=null)};Se();const Ee=Xo(K);if(K.paused||Math.abs(Ee-pe)<.001||typeof requestAnimationFrame!="function"){try{Ta(K,pe)}catch{}return}const Re=performance.now(),nt=()=>{const wt=Math.min(1,(performance.now()-Re)/150);try{Ta(K,Ee+(pe-Ee)*wt)}catch{}me.raf=wt<1?requestAnimationFrame(nt):null};return me.raf=requestAnimationFrame(nt),me.timer=setTimeout(()=>{Se();try{Ta(K,pe)}catch{}},200),Se},[se]);const Va=ce==="hold",ha=ce==="out",Wa=G==="playMode"&&!A&&!re||Va||ha,ko=j!=="stopped"||Va||ha,Ga=j==="paused",de=Math.max(0,Math.min(100,(T||0)*100)),Be=Te("audio-player__fill",Wa?"is-visible":"",ko?"is-expanded":"",Ga?"is-paused":"",ha?"is-out":"");return r.jsxs("div",{className:`audio-player ${Jt?"is-disabled":""}${s?` ${s}`:""}`,role:"group","aria-label":typeof p=="string"?p:void 0,children:[r.jsxs("div",{className:`audio-player__panel ${$t?"is-playing":""} ${A?"is-loading":""} ${G!=="default"?"is-revealed":""}`,children:[A?r.jsxs("div",{className:"audio-player__loading",role:"status","aria-live":"polite",children:[r.jsx("span",{className:"audio-player__loading-spinner","aria-hidden":"true"}),r.jsx("span",{className:"audio-player__loading-text",children:u(`training.audioStatus.${L}`,{defaultValue:wB[L]})})]}):null,G==="active"?r.jsx("button",{className:"audio-player__button",type:"button",disabled:Jt,onClick:()=>{H.current=zi(),w(),sa()},"aria-label":typeof p=="string"?p:u("training.listen","\uB4E3\uAE30"),onMouseEnter:S,onMouseLeave:w,onFocus:S,onBlur:w,children:r.jsx("span",{ref:B,className:"audio-player__button-triangle-wrap",children:r.jsx("svg",{className:"audio-player__button-triangle",viewBox:"0 0 24 24","aria-hidden":"true",children:r.jsx("path",{ref:_,d:"M13.2 7.7 L16.5 9.85 Q20.2 12 16.5 14.15 L10 18.3 Q7 19.7 7 16.3 L7 7.7 Q7 4.3 10 5.7 L13.2 7.7"})})})}):null,k&&r.jsx(ka,{anchorRect:k,text:typeof p=="string"&&p?p:u("training.listenLabel","\uBB38\uC7A5 \uB4E3\uAE30"),offset:8}),r.jsxs("div",{className:`audio-player__play ${G==="playMode"||$t?"is-visible":""}`,inert:!(G==="playMode"||$t)||void 0,children:[r.jsxs("div",{ref:f,className:"audio-player__buttons",children:[r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-back",onClick:Na,ariaLabel:u("training.prev","\uC774\uC804"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:G!=="playMode"}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:$t?"pause":"play",onClick:sa,ariaLabel:u("common.playPause","\uC7AC\uC0DD / \uBA48\uCDA4"),"aria-pressed":$t,width:"60px",variant:"transparent-white",disabled:G!=="playMode"}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"square",onClick:Sa,ariaLabel:u("training.stop","\uC815\uC9C0"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:G!=="playMode"}),ot>1?r.jsx("div",{ref:g,className:"audio-player__source-buttons",children:Array.from({length:ot}).map((K,pe)=>r.jsx(he,{htmlType:"button",size:32,type:"dot",shape:"pill",useBorder:!1,label:String(pe+1),onClick:()=>{try{oo(pe)}catch{}},ariaLabel:u("training.sourcePlay",{n:pe+1}),variant:"transparent-white",selected:W&&F===pe,disabled:G!=="playMode"||!(Array.isArray(V)&&V[pe]),showTooltipInfo:!0},pe))}):null,!Array.isArray(V)||V.length<=1?r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"repeat",onClick:Ht,ariaLabel:u("common.replay","\uB2E4\uC2DC\uB4E3\uAE30"),width:"60px",variant:"transparent-white",disabled:G!=="playMode"}):null,r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-forward",onClick:yo,ariaLabel:u("training.next","\uB2E4\uC74C"),width:"60px",variant:"transparent-white","aria-hidden":!0,tabIndex:-1,disabled:G!=="playMode"}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"check",onClick:Da,ariaLabel:u("common.done","\uC644\uB8CC"),width:"60px",variant:"transparent-white",disabled:G!=="playMode"})]}),r.jsxs("div",{className:"audio-player__slider",children:[r.jsx("div",{className:Be,ref:x,style:{left:`${de}%`},"aria-hidden":"true"}),(c||d)&&r.jsx(yB,{segments:Ha,progress:T,totalDuration:Q,waveProgressRef:_e,showSoundWaveForm:c,noiseSrc:d&&h?.settings.enabled&&ie>0?Qe:null,noiseRatio:h?kr(h.settings):0,noiseSpeed:h?.settings.speed??1,mainVolume:ne,onReadyChange:fe})]})]}),r.jsx("audio",{ref:b,crossOrigin:"anonymous",preload:"auto"})]}),!c&&r.jsxs("p",{className:"audio-player__no-waveform caption-1",children:[r.jsx(Je,{icon:"triangle-alert",size:14}),u("training.noSoundWaveform","\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")]}),r.jsx(Fo,{message:le,position:ye,onClose:wo})]})}var RB=".ihabdevteam-core-scope .tooltip-textbox{background:var(--color-deepWhite);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-sizing:border-box;max-width:520px;padding:var(--spacing-content)}.ihabdevteam-core-scope .tooltip-textbox__root{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .tooltip-textbox__box{background:transparent}.ihabdevteam-core-scope .tooltip-textbox__label{color:var(--color-darkGray)}.ihabdevteam-core-scope .tooltip-textbox__text{color:var(--color-darkGray);overflow-wrap:anywhere;white-space:normal;word-break:keep-all}.ihabdevteam-core-scope .tooltip-textbox__line{align-items:center;display:flex;gap:var(--spacing-s);margin-bottom:0;min-height:60px;padding:10px 0}.ihabdevteam-core-scope .tooltip-textbox__line:last-child{margin-bottom:0}.ihabdevteam-core-scope .tooltip-textbox__line:not(:last-child){border-bottom:1px solid var(--color-darkWhite)}.ihabdevteam-core-scope .tooltip-textbox.is-dark .tooltip-textbox__line:not(:last-child){border-bottom-color:hsla(0,0%,100%,.06)}.ihabdevteam-core-scope .tooltip-textbox__marker{--marker-pos:50%;align-items:center;background-color:var(--color-main);background:color-mix(in srgb,var(--color-main) 50%,var(--color-sub) 50%);border:2px solid var(--color-pureWhite);border-radius:var(--radius-sm);box-sizing:border-box;color:#fff;display:inline-flex;height:24px;justify-content:center;min-width:24px}@supports (color:color-mix(in lch,red,blue)) and (top:var(--f )){.ihabdevteam-core-scope .tooltip-textbox__marker{background:color-mix(in srgb,var(--color-main) calc(100% - var(--marker-pos)),var(--color-sub) var(--marker-pos))}}.ihabdevteam-core-scope .tooltip-textbox__line-number{color:#fff;min-width:auto;text-align:center}.ihabdevteam-core-scope .tooltip-textbox__line-text{flex:1 1 auto}.ihabdevteam-core-scope .tooltip-textbox__buttons{align-items:center;display:flex;gap:var(--spacing-xs);justify-content:center;margin-top:10px;position:relative}.ihabdevteam-core-scope .tooltip-textbox.is-dark{background:var(--color-darkGray);border-color:var(--color-gray)}.ihabdevteam-core-scope .tooltip-textbox.is-dark .tooltip-textbox__text{color:var(--color-deepWhite)}";oe(RB);function Er(e){const{t}=Ce.useTranslation(),{text:a,label:o,anchorRect:n=null,onClose:i,closeOnOutsideClick:s=!0,isMobilePopup:c=!1}=e||{},[d,u]=l.useState(()=>{try{return localStorage.getItem("tooltip-theme")||"light"}catch{return"light"}});l.useEffect(()=>{try{localStorage.setItem("tooltip-theme",d)}catch{}},[d]);const{increase:p,decrease:h,canIncrease:m,canDecrease:b,fontSize:x,lineHeight:f}=hi({storageKey:"tooltip-fontScale"}),C=l.useCallback(()=>u(B=>B==="dark"?"light":"dark"),[]),g=l.useCallback(B=>{try{B.stopPropagation()}catch{}try{typeof i=="function"&&i()}catch{}},[i]),v=Array.isArray(a)?a:typeof a>"u"||a===null?[]:[a],y={fontSize:`${x}px`,lineHeight:`${f}px`,"--tt-line-height":`${f}px`,"--tt-marker-size":"28px"},_=r.jsxs("div",{className:`tooltip-textbox__root ${d==="dark"?"is-dark":""}`,children:[r.jsxs("div",{className:"tooltip-textbox__box",children:[o&&r.jsx("div",{className:"tooltip-textbox__label body-2b",children:o}),r.jsx("div",{className:"tooltip-textbox__text body-1",style:y,children:v.map((B,k)=>r.jsxs("div",{className:"tooltip-textbox__line",children:[v.length>1?r.jsx("div",{className:"tooltip-textbox__marker",children:r.jsx("span",{className:"tooltip-textbox__line-number button-1",children:k+1})}):null,r.jsx("span",{className:"tooltip-textbox__line-text",children:B})]},k))})]}),r.jsxs("div",{className:"tooltip-textbox__buttons",children:[r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"minus",onClick:h,ariaLabel:t("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),variant:d==="dark"?"transparent-white":"transparent-gray",disabled:!b}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"plus",onClick:p,ariaLabel:t("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),variant:d==="dark"?"transparent-white":"transparent-gray",disabled:!m}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:d==="dark"?"moon":"sun-medium",onClick:C,ariaLabel:t("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:d==="dark"?"transparent-white":"transparent-gray"}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"x",onClick:g,ariaLabel:t("common.close","\uB2EB\uAE30"),variant:d==="dark"?"transparent-white":"transparent-gray"})]})]});return n?r.jsx(ga,{anchorRect:n,className:`tooltip-textbox ${d==="dark"?"is-dark":""}`,onClose:i,closeOnOutsideClick:s,isMobilePopup:c,ariaLabel:o||t("tooltip.textbox","\uBCF8\uBB38"),children:_}):r.jsx("div",{className:`tooltip-textbox ${d==="dark"?"is-dark":""}`,children:_})}var PB=".ihabdevteam-core-scope .training-page-bottom{box-sizing:border-box;width:100%}.ihabdevteam-core-scope .pp-bottom{align-items:center;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);box-sizing:border-box;display:flex;flex:0 0 auto;gap:var(--spacing-s);justify-content:space-between;padding:12px 18px calc(12px + env(safe-area-inset-bottom));width:100%;z-index:5}.ihabdevteam-core-scope .pp-bottom__left{align-items:center;display:flex;gap:var(--spacing-m)}.ihabdevteam-core-scope .pp-bottom__right{align-items:center;display:flex;gap:8px}.ihabdevteam-core-scope .pp-bottom__meters{border:1px solid var(--color-whiteLine);border-radius:14px;display:flex;flex-direction:column;gap:2px;justify-content:center;padding:8px 12px}.ihabdevteam-core-scope .pp-bottom__meter{align-items:center;display:flex;flex-direction:row;gap:var(--spacing-xs)}.ihabdevteam-core-scope .pp-bottom__meter-label{color:var(--color-gray);min-width:28px}.ihabdevteam-core-scope .pp-bottom__settings--desktop{display:none}.ihabdevteam-core-scope .pp-bottom__settings--mobile{display:flex}@media (min-width:768px){.ihabdevteam-core-scope .pp-bottom__settings--desktop{display:block}.ihabdevteam-core-scope .pp-bottom__settings--mobile{display:none}}.ihabdevteam-core-scope .pp-bottom__tooltip-trigger{display:inline-block}.ihabdevteam-core-scope .pp-bottom__meters--floating{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .pp-bottom__meter-trigger{display:inline-flex;flex-shrink:0}.ihabdevteam-core-scope .training-steps{box-sizing:border-box;display:flex;flex-direction:column;overflow:visible;width:100%}.ihabdevteam-core-scope .training-step{align-items:stretch;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--spacing-m);overflow:visible;width:100%}.ihabdevteam-core-scope .training-step__content{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--spacing-s);gap:var(--spacing-m);min-width:0;overflow:visible;width:100%}.ihabdevteam-core-scope .training-step__title{color:#0b2b35;color:var(--text,#0b2b35);margin:0;text-align:left}.ihabdevteam-core-scope .training-step__buttons{-ms-overflow-style:none;align-items:stretch;display:flex;flex-direction:row;gap:var(--spacing-content);overflow-x:auto;scrollbar-width:none;width:100%}.ihabdevteam-core-scope .training-step__buttons::-webkit-scrollbar{display:none}.ihabdevteam-core-scope .training-step__buttons>*{align-self:stretch;flex:1 1 0;margin:0;min-width:0}.ihabdevteam-core-scope .training-step__buttons.training-step__buttons--wrap-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:visible}.ihabdevteam-core-scope .training-step__buttons.training-step__buttons--wrap-3>*{width:100%}.ihabdevteam-core-scope .training-step__buttons .button{align-items:center;align-self:stretch;display:flex}@media (max-width:640px){.ihabdevteam-core-scope .training-step{flex-direction:row;gap:10px}}.ihabdevteam-core-scope .training-step__cards{box-sizing:border-box;display:flex;gap:var(--spacing-s);width:100%}@media (max-width:767px){.ihabdevteam-core-scope .training-step__cards{grid-gap:var(--spacing-s);display:grid;gap:var(--spacing-s);grid-template-columns:repeat(3,1fr)}}.ihabdevteam-core-scope .training-step__listen-sticky{width:100%}.ihabdevteam-core-scope .training-step.training-step--has-nested .training-step__content{margin-bottom:100px}.ihabdevteam-core-scope .training-steps>.training-step:last-child .training-step__content{margin-bottom:0}.ihabdevteam-core-scope .training-step:not(.training-step--last) .training-step__content{margin-bottom:var( --margin-page)}.ihabdevteam-core-scope .training-step.training-step--last .training-step__content{margin-bottom:0}";oe(PB);var zB='.ihabdevteam-core-scope .ts-bullet{--dot-size:28px;--dot-gap:10px;align-items:center;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;position:relative;width:28px;width:var(--dot-size)}.ihabdevteam-core-scope .bullet__dot{align-items:center;border:2px solid rgba(43,138,125,.12);border-radius:50%;display:flex;height:var(--dot-size);justify-content:center;width:var(--dot-size);z-index:2}.ihabdevteam-core-scope .bullet__icon{align-items:center;color:var(--color-darkGray);display:inline-flex;height:20px;justify-content:center;position:relative;width:20px;z-index:1}.ihabdevteam-core-scope .bullet__icon-img{display:block;height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.ihabdevteam-core-scope .bullet__icon-mask{background-color:currentColor;height:100%;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:100%}.ihabdevteam-core-scope .bullet__icon-svg svg{fill:currentColor;height:100%;width:100%}.ihabdevteam-core-scope .ts-bullet__line{background:var(--color-whiteLine);border-radius:var(--radius-xs);bottom:20px;left:50%;position:absolute;top:calc(var(--dot-size) + var(--dot-gap));transform:translateX(-50%);width:2px;z-index:1}.ihabdevteam-core-scope .ts-bullet--done .bullet__icon{color:transparent}.ihabdevteam-core-scope .ts-bullet--active .bullet__icon{color:#fff}.ihabdevteam-core-scope .ts-bullet--disabled .bullet__icon{color:transparent}.ihabdevteam-core-scope .ts-bullet--done .bullet__dot{border:2px solid var(--color-main)}.ihabdevteam-core-scope .ts-bullet--active .bullet__dot{background-color:var(--color-main);position:relative}.ihabdevteam-core-scope .ts-bullet--active .bullet__dot:after,.ihabdevteam-core-scope .ts-bullet--active .bullet__dot:before{animation:bullet-ripple 3s cubic-bezier(.2,.6,.2,1) infinite;background:var(--color-main);border-radius:50%;content:"";inset:0;opacity:.5;pointer-events:none;position:absolute}.ihabdevteam-core-scope .ts-bullet--active .bullet__dot:after{animation-delay:1.5s;opacity:.3}@keyframes bullet-ripple{0%{opacity:.5;transform:scale(1)}to{opacity:0;transform:scale(2.2)}}.ihabdevteam-core-scope .ts-bullet--disabled .bullet__dot{border:2px solid var(--color-whiteLine)}.ihabdevteam-core-scope .ts-bullet--done .bullet__line{background-color:var(--color-main)}.ihabdevteam-core-scope .ts-bullet--active .bullet__line,.ihabdevteam-core-scope .ts-bullet--disabled .bullet__line{background-color:var(--color-whiteLine)}.ihabdevteam-core-scope .training-step--last .ts-bullet__line,.ihabdevteam-core-scope .training-step.training-step--last .ts-bullet__line{display:none}@media (max-width:1024px){.ihabdevteam-core-scope .ts-bullet{--dot-size:26px}}@media (max-width:768px){.ihabdevteam-core-scope .ts-bullet{--dot-size:24px}}';oe(zB);function wu({state:e="disabled"}){const{t}=Ce.useTranslation();return r.jsxs("div",{className:`ts-bullet ts-bullet--${e}`,"aria-hidden":!0,children:[r.jsx("div",{className:"bullet__dot",children:r.jsx(Je,{icon:"chevron-right",label:t("training.next","\uB2E4\uC74C"),className:"bullet__icon",imgClassName:"bullet__icon-img",maskClassName:"bullet__icon-mask",svgClassName:"bullet__icon-svg",wrapperStyle:{},size:20})}),r.jsx("div",{className:"ts-bullet__line"})]})}function I0(e,t,a){const o=l.useRef(t),n=l.useRef(a);l.useEffect(()=>{o.current=t,n.current=a}),l.useEffect(()=>{if(!e||typeof document>"u")return;let i=null,s=10;const c=()=>{i=null;const d=o.current(),u=d?Array.from(d.querySelectorAll(Xa)).find(p=>!p.closest('[aria-hidden="true"]')):void 0;if(u){try{u.focus()}catch{}if(document.activeElement===u)return}--s>0&&(i=requestAnimationFrame(c))};return i=requestAnimationFrame(c),()=>{i!==null&&cancelAnimationFrame(i);const d=document.activeElement;if(!d||d===document.body||!document.contains(d)||d.closest(".tooltip-content")){const u=n.current();if(u)try{u.focus()}catch{}}}},[e])}var IB=".ihabdevteam-core-scope .training-step__title-row{align-items:center;display:flex;gap:var(--spacing-xs);padding-right:72px;position:relative;width:100%}.ihabdevteam-core-scope .training-step__title-row .training-step__title{color:var(--color-black);margin:0;padding:0}.ihabdevteam-core-scope .training-step__title--faded .training-step__title-text{background-color:var(--color-darkWhite);border-radius:var(--radius-xs);color:transparent;opacity:1;transition:color .14s ease,opacity .14s ease}.ihabdevteam-core-scope .training-step__title-row .title-controls{align-items:center;display:flex;gap:6px;margin-left:auto}.ihabdevteam-core-scope .training-step__title-row .title-controls .title-buttons{align-items:center;display:inline-flex;gap:6px;justify-content:center;overflow:visible;position:absolute;right:0;top:50%;transform:translateY(-50%)}.ihabdevteam-core-scope .training-step__title-row .title-controls .title-buttons .button28{align-items:center;display:inline-flex;justify-content:center}.ihabdevteam-core-scope .training-step__title-row--disabled .training-step__title,.ihabdevteam-core-scope .training-step__title-row--done .training-step__title{pointer-events:none}.ihabdevteam-core-scope .training-step__title-row--disabled .title-controls{opacity:.6;pointer-events:none}.ihabdevteam-core-scope .training-step__title-row--active .title-controls,.ihabdevteam-core-scope .training-step__title-row--done .title-controls{opacity:1;pointer-events:auto}.ihabdevteam-core-scope .training-step__title-row--disabled .training-step__title,.ihabdevteam-core-scope .training-step__title-row--done .training-step__title{color:var(--color-disabled)}.ihabdevteam-core-scope .training-step__title-row--active .training-step__title{color:var(--color-black)}";oe(IB);function ku({title:e,children:t,className:a="",state:o="disabled",usePreviewTextBtn:n=!1,onPreviewTextBtn:i,previewText:s=null,useFaded:c,usePlayAllBtn:d=!1,onPlayAll:u,playAllActive:p=!1}){const{t:h}=Ce.useTranslation(),m=na("(max-width: 767px)"),b=`training-step__title h4 ${c&&o==="disabled"?"training-step__title--faded":""} ${a}`.trim(),x=`training-step__title-row training-step__title-row--${o}`.trim(),f=l.useRef(null),[C,g]=l.useState(!1),[v,y]=l.useState(null),[_,B]=l.useState(null);I0(C&&!!v,()=>{if(typeof document>"u")return null;const E=Array.from(document.querySelectorAll(".tooltip-content"));for(let L=E.length-1;L>=0;L--)if(E[L].querySelector(".tooltip-textbox__root"))return E[L];return null},()=>f.current?.querySelector("button")??null);const k=l.useRef(i);l.useEffect(()=>{k.current=i});const S=l.useMemo(()=>s==null?"":typeof s=="string"||typeof s=="number"?String(s):Array.isArray(s)&&s.every(E=>typeof E=="string"||typeof E=="number")?s.join(""):"",[s]),w=l.useCallback(()=>{g(!1),y(null),B(null)},[]);l.useEffect(()=>{if(!C)return;let E;try{typeof k.current=="function"&&(E=k.current())}catch{}if(E===!1){w();return}B(typeof E<"u"&&E!==null?E:null)},[S]);const A=l.useCallback(()=>{let E;try{typeof i=="function"&&(E=i())}catch{}if(E!==!1){if(B(typeof E<"u"&&E!==null?E:s),!f.current){g(L=>!L);return}if(C)g(!1),y(null),B(null);else{const L=f.current.getBoundingClientRect();y(L),g(!0)}}},[i,s,C]);return r.jsxs("div",{className:x,children:[r.jsx("p",{className:b,children:r.jsx("span",{className:"training-step__title-text",children:e??t})}),n||d?r.jsxs("div",{className:"title-controls",children:[r.jsxs("div",{className:"title-buttons",children:[d&&r.jsx(he,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"play-circle",label:m?void 0:h("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),ariaLabel:h("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),selected:p,onClick:u,variant:o==="disabled"?"disabled":"default",disabled:o==="disabled"||p,onDisabledClick:p&&o!=="disabled"?()=>{}:void 0}),n&&r.jsx("div",{ref:f,children:r.jsx(he,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"eye",label:m?void 0:h("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),ariaLabel:h("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),onClick:A,className:C?"is-selected":void 0,"aria-expanded":C,"aria-haspopup":"dialog",variant:o==="disabled"?"disabled":"default",disabled:!s&&typeof i!="function"})})]}),C&&r.jsx(Er,{text:_??s,label:h("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),anchorRect:v,onClose:w,closeOnOutsideClick:!1,isMobilePopup:!0})]}):null]})}function Bu(e,t){return typeof t!="number"||typeof e!="number"?"disabled":e<t?"done":e===t?"active":"disabled"}function Co({index:e,stepIndex:t,isLast:a=!1,title:o="",titleProps:n={},children:i,className:s="",onDone:c=void 0,useTitleFaded:d=void 0}){const{t:u}=Ce.useTranslation(),[p,h]=l.useState(()=>Bu(e,t));l.useEffect(()=>{const B=Bu(e,t);if(B!==p){const k=setTimeout(()=>h(B),0);return()=>clearTimeout(k)}},[e,t,p]);const m=l.useCallback((...B)=>{Bu(e,t)==="done"||p==="done"||typeof c=="function"&&c(...B)},[e,t,p,c]),[b,x]=l.useState(!1),[f,C]=l.useState({text:"",label:"\uBB38\uC7A5 \uB4E3\uAE30",anchorRect:null,backdrop:!1,alignX:null,alignY:null}),g=l.useCallback(B=>{if(!B)return null;try{const k=B;if(typeof B=="object"&&(k.currentTarget||k.target)&&(k.nativeEvent||k.type)){const A=k.currentTarget??k.target;if(A&&typeof A.getBoundingClientRect=="function")return A.getBoundingClientRect()}if(B instanceof DOMRect)return B;const S=B;if(S&&typeof S.getBoundingClientRect=="function")return S.getBoundingClientRect();const w=B?.current;return w&&typeof w.getBoundingClientRect=="function"?w.getBoundingClientRect():null}catch{return null}},[]),v=l.useCallback((B,{text:k="",label:S="\uBB38\uC7A5 \uB4E3\uAE30",backdrop:w=!1,alignX:A="center",alignY:E="top"}={})=>{const L=g(B);C({text:k,label:S,anchorRect:L,backdrop:w,alignX:A,alignY:E}),x(!0)},[g]),y=l.useCallback(()=>{x(!1),C(B=>({...B,anchorRect:null}))},[]),_=l.Children.map(i,B=>{if(l.isValidElement(B)){const k=B;if(typeof k.type=="string")return k;const S=k.props??{},w=typeof S.onDone=="function"?S.onDone:m,A=typeof S.disabled=="boolean";let E=p==="disabled";return A&&(E=!!S.disabled),l.cloneElement(k,{onDone:w,disabled:E,showTooltip:v,hideTooltip:y})}return B});return r.jsxs("div",{className:`training-step training-step--${p} ${a?"training-step--last":""} ${s}`,"aria-current":p==="active",children:[r.jsx(wu,{state:p}),r.jsxs("div",{className:"training-step__content",children:[r.jsx(ku,{state:p,title:o,...n,useFaded:d}),_]}),b?r.jsx(ga,{anchorRect:f.anchorRect,backdrop:f.backdrop,onClose:y,ariaLabel:u("tooltip.textbox","\uBCF8\uBB38"),children:r.jsx(Er,{text:f.text,onClose:y})}):null]})}var OB='.ihabdevteam-core-scope .training-text-box{background:var(--color-darkWhite);border:1px solid var(--color-deepWhite);border-radius:var(--radius-m);color:var(--color-black);display:flex;flex-direction:column;max-width:100%;min-height:160px;overflow:visible;overflow-wrap:anywhere;padding:var(--spacing-content);position:relative;text-align:center;word-break:keep-all}.ihabdevteam-core-scope .training-text-box--disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .training-text-box--disabled .training-text-box__inner{visibility:hidden}.ihabdevteam-core-scope .training-text-box--disabled:after{content:"";pointer-events:none;position:absolute;z-index:5}.ihabdevteam-core-scope .training-text-box__preview{align-items:center;display:flex;justify-content:center;left:50%;pointer-events:auto;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:60}.ihabdevteam-core-scope .training-text-box__buttons{border-radius:999px;gap:4px;height:28px;left:0;right:0}.ihabdevteam-core-scope .training-text-box__area,.ihabdevteam-core-scope .training-text-box__buttons{align-items:center;box-sizing:border-box;display:flex;justify-content:center;pointer-events:auto;position:relative;z-index:40}.ihabdevteam-core-scope .training-text-box__area{flex:1 1 auto;margin:0 auto;min-height:0;text-align:center;width:100%}.ihabdevteam-core-scope .training-text-box--active,.ihabdevteam-core-scope .training-text-box--done{background-color:var(--color-white);border-color:var(--color-main);pointer-events:auto;transition:box-shadow .18s ease,transform .18s ease,opacity .16s ease;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.ihabdevteam-core-scope .training-text-box.is-dark{background:var(--color-darkGray);border:1px solid var(--color-black);color:var(--color-deepWhite)}.ihabdevteam-core-scope .training-text-box .training-text-box__inner{display:block;overflow-wrap:anywhere;text-align:center;white-space:normal;width:100%;word-break:keep-all}.ihabdevteam-core-scope .training-text-box.is-dark .tooltip-textbox__text,.ihabdevteam-core-scope .training-text-box.is-dark .training-text-box__inner{color:var(--color-deepWhite)}';oe(OB);function Au({context:e,state:t="disabled",theme:a="light"}){const{t:o}=Ce.useTranslation(),[n,i]=l.useState("disabled"),[s,c]=l.useState(()=>{try{return localStorage.getItem("tooltip-theme")||a}catch{return a}});l.useEffect(()=>{try{localStorage.setItem("tooltip-theme",s)}catch{}},[s]);const d=()=>c(j=>j==="dark"?"light":"dark"),{increase:u,decrease:p,canIncrease:h,canDecrease:m,fontSize:b,lineHeight:x}=hi({storageKey:"textbox_fontScale"}),[f,C]=l.useState(""),g=l.useRef(null),v=l.useRef(!1),y=l.useCallback(()=>{v.current=zi()&&!!g.current&&g.current.contains(document.activeElement),i("active")},[]),_=l.useCallback(()=>C(""),[]),B=j=>{try{C(j)}catch{}},k=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent||"");l.useEffect(()=>{if(t!=="disabled"){const j=setTimeout(()=>i(t),0);return()=>clearTimeout(j)}},[t]);const S=l.useMemo(()=>e&&typeof e=="object"?String(e.sentence??e.text??""):typeof e=="string"?e:"",[e]),[w,A]=l.useState(S);w!==S&&(A(S),i("disabled"));const E=t==="disabled"?n:t,L=E==="disabled"?"training-text-box--disabled":E==="active"?"training-text-box--active":E==="done"?"training-text-box--done":"",z=l.useMemo(()=>({fontSize:`${b}px`,lineHeight:`${x}px`}),[b,x]);return l.useEffect(()=>{if(E==="disabled"||!v.current)return;v.current=!1;const j=document.activeElement;j&&j!==document.body||g.current?.querySelector(".training-text-box__buttons button")?.focus()},[E]),r.jsxs("div",{ref:g,className:`training-text-box ${L} ${E!=="disabled"&&s==="dark"?"is-dark":""}`,children:[E==="disabled"&&r.jsx("div",{className:"training-text-box__preview",children:r.jsx(he,{htmlType:"button",size:48,type:"bar",onClick:y,icon:"eye",ariaLabel:o("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),label:o("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),useBorder:!1})}),r.jsx("div",{className:"training-text-box__area","aria-hidden":E==="disabled",children:r.jsx("span",{className:"training-text-box__inner h3",style:z,children:S})}),E!=="disabled"&&r.jsxs("div",{className:"training-text-box__buttons","aria-hidden":E==="disabled",children:[r.jsx(he,{htmlType:"button",size:32,type:"dot",onClick:p,onDisabledClick:()=>B(o("training.fontSizeMin","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.")),ariaLabel:o("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),icon:"minus",variant:s==="dark"?"transparent-white":"transparent-gray",disabled:!m,useBorder:!1,showTooltipInfo:!0,...!k&&{width:"60px"}}),r.jsx(he,{htmlType:"button",size:32,type:"dot",onClick:u,onDisabledClick:()=>B(o("training.fontSizeMax","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.")),ariaLabel:o("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),icon:"plus",variant:s==="dark"?"transparent-white":"transparent-gray",disabled:!h,useBorder:!1,showTooltipInfo:!0,...!k&&{width:"60px"}}),r.jsx(he,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:s==="dark"?"moon":"sun-medium",onClick:d,ariaLabel:o("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:s==="dark"?"transparent-white":"transparent-gray"})]}),r.jsx(Fo,{message:f,position:"top",onClose:_})]})}function Ji({index:e,stepIndex:t,isLast:a=!1,title:o,useTitleFaded:n,onDone:i,onChange:s,answer:c,wrongAnswers:d,choices:u,multiSelect:p=!1,correctCount:h=0,useDisabledCovered:m=!1,choiceIcons:b,shuffleChoices:x=!0}){const{t:f}=Ce.useTranslation(),C=o??f("training.selectConfirm","\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694."),g=typeof e=="number"?e:-1,v=typeof t!="number"?"disabled":g<t?"done":g===t?"active":"disabled",y=Array.isArray(u)&&u.length?u:typeof c<"u"?[c].concat(Array.isArray(d)?d:[]):void 0,_=d?d.join("||"):"",B=u?u.join("||"):"",[k,S]=l.useState(()=>Array.isArray(y)?x?tt(y):y.slice():void 0);l.useEffect(()=>{Array.isArray(y)&&y.length?S(x?tt(y):y.slice()):S(void 0)},[c,_,B,x]);const[w,A]=l.useState(null),[E,L]=l.useState(()=>new Set);l.useEffect(()=>{A(null),L(new Set)},[B,c,_]);const z=l.useRef(void 0);l.useEffect(()=>{const D=z.current;typeof D=="number"&&typeof t=="number"&&typeof e=="number"&&D>=e&&t<e&&(A(null),L(new Set)),z.current=t},[t,e]);const j=l.useCallback(D=>{if(v!=="active")return;const T=k?.[D];if(T==null)return;const O=T,G=v==="active"||v==="done";if(p){const Z=new Set(E),H=Z.has(O);H?Z.delete(O):Z.add(O),L(Z),typeof s=="function"&&s({selectedValues:[...Z],__ts:Date.now()}),G&&(typeof h=="number"&&h>0?Z.size>=h:!H)&&typeof i=="function"&&v==="active"&&i({selectedValues:[...Z],__ts:Date.now()})}else A(O),typeof s=="function"&&s({selectedIndex:D,selectedValue:O,__ts:Date.now()}),G&&typeof i=="function"&&v==="active"&&i({selectedIndex:D,selectedValue:O,__ts:Date.now()})},[k,v,p,s,i,h,E]),I=`training-step__buttons${Array.isArray(k)&&k.length>3?" training-step__buttons--wrap-3":""}`;return r.jsx(Co,{index:e,stepIndex:t,isLast:a,title:C,useTitleFaded:n,children:r.jsx("div",{className:I,children:Array.isArray(k)&&k.length>0?k.map((D,T)=>r.jsx(he,{htmlType:"button",size:56,type:"bar",onClick:()=>j(T),ariaLabel:String(D),label:D,useLabel:!0,icon:b?b[String(D)]:void 0,variant:"default",disabled:v==="disabled",selected:p?E.has(D):w===D,useDisabledCovered:m,minWidth:0},String(D))):null})})}function Qi({index:e,stepIndex:t,isLast:a=!1,title:o,onDone:n,onChange:i,context:s,demoSelected:c}){const{t:d}=Ce.useTranslation(),u=o??d("training.confirmTitle","\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694."),p=typeof e=="number"?e:-1,h=typeof t!="number"?"disabled":p<t?"done":p===t?"active":"disabled",m=s&&typeof s=="object"?s.sentence||"":typeof s=="string"?s:"",b=s&&typeof s=="object"?s.choices:void 0,[x,f]=l.useState(c??null),C=`${String(m)}\0${JSON.stringify(b??null)}`,[g,v]=l.useState(C);g!==C&&(v(C),c==null&&f(null));const[y,_]=l.useState(c);Object.is(y,c)||(_(c),f(c??null));const B=l.useRef(void 0);l.useEffect(()=>{const A=B.current;typeof A=="number"&&typeof t=="number"&&typeof e=="number"&&A>=e&&t<e&&c==null&&f(null),B.current=t},[t,e,c]);const k=l.useCallback(A=>{const E=typeof A=="object"&&A!==null?Object.assign({},A,{__ts:Date.now()}):{value:A,__ts:Date.now()};typeof i=="function"&&i(E),h==="active"&&typeof n=="function"&&n(E)},[i,h,n]),S=l.useCallback(()=>{h==="active"&&(f(!1),k(!1))},[k,h]),w=l.useCallback(()=>{h==="active"&&(f(!0),k(!0))},[k,h]);return r.jsxs(Co,{index:e,stepIndex:t,isLast:a,title:u,onDone:n,useTitleFaded:!1,children:[r.jsx(Au,{context:s,state:h}),r.jsx("div",{className:"training-step__buttons",children:Array.isArray(b)&&b.length>0?b.slice(0,6).map((A,E)=>r.jsx(he,{htmlType:"button",size:56,type:"bar",onClick:()=>{h==="active"&&(f(E),k&&k(E))},disabled:h==="disabled",ariaLabel:String(A),label:A,variant:h,selected:x===E},E)):r.jsxs(r.Fragment,{children:[r.jsx(he,{htmlType:"button",size:56,type:"bar",onClick:S,disabled:h==="disabled",icon:"x",ariaLabel:d("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),label:d("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:x===!1}),r.jsx(he,{htmlType:"button",size:56,type:"bar",onClick:w,disabled:h==="disabled",icon:"circle",ariaLabel:d("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),label:d("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:x===!0})]})})]})}function es({index:e,stepIndex:t,isLast:a=!1,title:o,onDone:n,btnLabel:i,soundSrc:s,bucketPath:c,usePreviewTextBtn:d,previewText:u=null,onPreviewTextBtn:p,disabled:h,_pageIndex:m,showSoundWaveForm:b,showNoiseWaveForm:x}){const{t:f}=Ce.useTranslation(),C=o??f("training.listenTitle","\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694."),g=h??(typeof t=="number"&&typeof e=="number"?e>t:!1);return r.jsx(Co,{index:e,stepIndex:t,isLast:a,title:C,onDone:n,titleProps:{usePreviewTextBtn:d,previewText:u,onPreviewTextBtn:p},children:r.jsx(Bn,{soundSrc:s,ttsText:s?null:u??C,bucketPath:c,btnLabel:i||f("training.listenButton","\uBB38\uC7A5 \uB4E3\uAE30"),disabled:g,className:"training-step__listen-sticky",showSoundWaveForm:b,showNoiseWaveForm:x},`audio-p${m??0}-s${e}`)})}var FB=".ihabdevteam-core-scope .page-popup--closing{opacity:0;pointer-events:none;transition:opacity .16s ease}.ihabdevteam-core-scope .page-popup__panel{overflow:auto}.ihabdevteam-core-scope .page-popup__close{font-size:20px;right:12px;top:10px}.ihabdevteam-core-scope .page-popup{align-items:stretch;display:flex;inset:0;justify-content:center;position:fixed;z-index:var(--z-page-popup)}.ihabdevteam-core-scope .page-popup__panel{background:var(--color-deepWhite);border-radius:0;box-shadow:none;color:var(--color-black);display:flex;flex-direction:column;height:100%;max-height:none;max-width:none;overflow:hidden;position:relative;width:100%}.ihabdevteam-core-scope .page-popup__scroll{-webkit-overflow-scrolling:touch;align-items:flex-start;display:flex;flex:1 1 0;justify-content:center;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:rgba(0,0,0,.15) transparent;scrollbar-width:thin;touch-action:pan-y}.ihabdevteam-core-scope .page-popup__scroll::-webkit-scrollbar{width:4px}.ihabdevteam-core-scope .page-popup__scroll::-webkit-scrollbar-track{background:transparent}.ihabdevteam-core-scope .page-popup__scroll::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:var(--radius-xs)}.ihabdevteam-core-scope .page-popup__scroll::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.28)}.ihabdevteam-core-scope .page-popup__panel--measuring .page-popup__scroll{opacity:0;pointer-events:none}.ihabdevteam-core-scope .page-popup__scroll{transition:opacity .12s ease}.ihabdevteam-core-scope .nt-debug{background:rgba(0,0,0,.03);border-radius:var(--radius-sm);color:var(--text,var(--color-black));font-family:monospace;font-size:12px;line-height:1.2;max-width:300px;padding:8px 10px;position:absolute;right:20px;top:84px;white-space:pre-wrap;z-index:calc(var(--z-page-popup) + 1)}.ihabdevteam-core-scope .page-popup--backdrop{display:none}.ihabdevteam-core-scope .page-popup__close{background:transparent;border:none;color:var(--text,var(--color-black));cursor:pointer;font-size:22px;line-height:1;position:absolute;right:14px;top:12px}.ihabdevteam-core-scope .page-popup__panel>*{box-sizing:border-box}.ihabdevteam-core-scope .page-popup__body{padding:16px 20px}.ihabdevteam-core-scope .page-popup__content{box-sizing:border-box;margin:0 auto;max-width:800px;min-width:0;padding:var(--spacing-page);width:100%}.ihabdevteam-core-scope .page-popup__content--full{max-width:none;padding:0}.ihabdevteam-core-scope .page-popup__content--center{margin-bottom:auto;margin-top:auto}.ihabdevteam-core-scope .pp-empty{color:var(--color-gray);padding:24px 0;text-align:center;width:100%}.ihabdevteam-core-scope .page-popup__content .training-steps{box-sizing:border-box;min-width:0;width:100%}.ihabdevteam-core-scope .page-popup__bottom,.ihabdevteam-core-scope .page-popup__top{flex-shrink:0}.ihabdevteam-core-scope .page-popup__panel--center .page-popup__scroll{align-items:center}.ihabdevteam-core-scope .page-popup--result-empty{background:var(--color-deepWhite)}.ihabdevteam-core-scope .page-popup__empty{align-items:center;color:var(--color-gray);display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center;width:100%}";oe(FB);var HB=".ihabdevteam-core-scope .order-list{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .order-list__item{align-items:flex-start;display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .order-list__draggable{align-items:center;border-radius:var(--radius-m);display:flex;flex:1;gap:var(--spacing-xs);justify-content:space-between;min-height:60px;padding:0 0 0 4px;will-change:transform}.ihabdevteam-core-scope .order-list__item-text{color:var(--color-black)}.ihabdevteam-core-scope .order-list__item-buttons{align-items:center;align-self:center;display:inline-flex;gap:2px}@media (max-width:600px){.ihabdevteam-core-scope .order-list__item-buttons{align-items:center;align-self:center;display:flex;flex-direction:column}.ihabdevteam-core-scope .order-list__item-buttons>*{box-sizing:border-box;display:inline-flex}}.ihabdevteam-core-scope .order-list__item.correct{border:1px solid var(--color-main)}.ihabdevteam-core-scope .order-list__slot{align-items:center;background-color:var(--color-darkWhite);border-radius:var(--radius-m);box-sizing:border-box;display:flex;gap:var(--spacing-xs);height:auto;padding:4px 10px;width:100%}.ihabdevteam-core-scope .order-list__marker{--marker-pos:50%;align-items:center;background-color:var(--color-main);background:color-mix(in srgb,var(--color-main) 50%,var(--color-sub) 50%);border:2px solid var(--color-pureWhite);border-radius:var(--radius-sm);box-sizing:border-box;color:#fff;display:inline-flex;height:24px;justify-content:center;width:24px}@supports (color:color-mix(in lch,red,blue)) and (top:var(--f )){.ihabdevteam-core-scope .order-list__marker{background:color-mix(in srgb,var(--color-main) calc(100% - var(--marker-pos)),var(--color-sub) var(--marker-pos))}}@media (max-width:600px){.ihabdevteam-core-scope .order-list__marker{height:24px;min-width:24px;width:24px}}.ihabdevteam-core-scope .order-list__item:hover .order-list__slot{background-color:var(--color-deepWhite);box-shadow:inset 0 0 0 1px var(--color-main);transition:box-shadow .16s cubic-bezier(.22,.9,.39,1)}.ihabdevteam-core-scope .order-list__item.drag-over .order-list__slot{background-color:var(--color-white);box-shadow:inset 0 0 0 1px var(--color-main)}.ihabdevteam-core-scope .order-list__slot.pulse{background-color:var(--color-white);transition:background-color .42s cubic-bezier(.22,.9,.39,1)}.ihabdevteam-core-scope .order-list__slot.pulse.to-dark{background-color:var(--color-darkWhite)}.ihabdevteam-core-scope .order-list__slot-number{align-items:center;align-self:center;border-radius:var(--radius-sm);color:#fff;display:inline-flex;height:32px;justify-content:center;width:32px}.ihabdevteam-core-scope .order-list__draggable.dragging{background-color:var(--color-white);opacity:.2}.ihabdevteam-core-scope .order-list__dragging-object{align-items:center;background:var(--color-white);border-radius:var(--radius-m);box-shadow:0 14px 40px rgba(16,24,40,.18);box-sizing:border-box;color:var(--color-black);display:inline-flex;gap:var(--spacing-s);left:0;max-width:calc(100vw - var(--spacing-page)*3);min-height:60px;opacity:1;overflow-wrap:anywhere;padding:20px;pointer-events:none;position:fixed;top:0;transform:translate3d(-9999px,-9999px,0) scale(1);transition:transform .16s cubic-bezier(.22,.9,.39,1),opacity .18s ease;white-space:normal;width:auto;will-change:transform,opacity;word-break:keep-all;z-index:var(--z-popover)}.ihabdevteam-core-scope .order-list__dragging-object--visible{opacity:1}.ihabdevteam-core-scope .order-list__item.drag-over .order-list__slot:hover{background-color:var(--color-white);border-radius:var(--radius-m);box-shadow:inset 0 0 0 1px var(--color-main);transition:box-shadow .16s cubic-bezier(.22,.9,.39,1)}.ihabdevteam-core-scope .order-list__item-text{display:block;line-height:1.4;margin:0;overflow-wrap:anywhere;white-space:normal;width:100%;word-break:keep-all}.ihabdevteam-core-scope .order-list__draggable[data-disabled=true],.ihabdevteam-core-scope .order-list__draggable[draggable=false]{background-color:var(--color-darkWhite);box-shadow:none!important;cursor:default;opacity:.9;pointer-events:none}.ihabdevteam-core-scope .order-list__draggable[data-disabled=true] .order-list__item-text,.ihabdevteam-core-scope .order-list__draggable[draggable=false] .order-list__item-text{color:var(--color-gray);display:none!important;opacity:.9}.ihabdevteam-core-scope .order-list__draggable[data-disabled=true] .order-list__item-buttons,.ihabdevteam-core-scope .order-list__draggable[data-disabled=true]~.order-list__slot .order-list__slot-number,.ihabdevteam-core-scope .order-list__draggable[draggable=false] .order-list__item-buttons,.ihabdevteam-core-scope .order-list__draggable[draggable=false]~.order-list__slot .order-list__slot-number,.ihabdevteam-core-scope .order-list__slot-number[hidden]{display:none!important}.ihabdevteam-core-scope .order-list__draggable[data-disabled=true] .order-list__slot,.ihabdevteam-core-scope .order-list__draggable[data-disabled=true]+.order-list__slot,.ihabdevteam-core-scope .order-list__draggable[draggable=false] .order-list__slot,.ihabdevteam-core-scope .order-list__draggable[draggable=false]+.order-list__slot,.ihabdevteam-core-scope .order-list__slot[data-disabled=true]{background-color:var(--color-darkWhite)!important;box-shadow:none!important}.ihabdevteam-core-scope .order-list__slot[data-disabled=true]{cursor:default!important;pointer-events:none!important}.ihabdevteam-core-scope .order-list__slot[data-disabled=true] .order-list__slot-number{display:none!important}";oe(HB);const VB=[];function ts({index:e,stepIndex:t,isLast:a=!1,title:o,onDone:n,onChange:i,context:s=VB}){const{t:c}=Ce.useTranslation(),d=o??c("training.orderListDefault","\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694."),u=$=>typeof $=="string"?$:$&&($.context||$.sentence||$.question||"")||"",[p,h]=l.useState(Array.isArray(s)?s:[]),[m,b]=l.useState(()=>(p||[]).map(($,N)=>({id:N,text:u($)}))),x=l.useMemo(()=>typeof t!="number"||typeof e!="number"?"disabled":e<t?"done":e===t?"active":"disabled",[t,e]),f=x!=="disabled",C=l.useRef(void 0);l.useEffect(()=>{if(C.current===s)return;C.current=s;const $=Array.isArray(s)?s:[];h($);const N=(F=>{const R=(F||[]).map((ee,Y)=>({id:Y,text:u(ee)}));if(R.length<=1)return R;const W=(ee,Y)=>{if(ee.length!==Y.length)return!1;for(let ne=0;ne<ee.length;ne++)if(ee[ne].text!==Y[ne].text)return!1;return!0};let P=tt(R),Q=0;for(;W(P,R)&&Q<20;)P=tt(R),Q+=1;return P})($);b(N);try{if(typeof i=="function"){const F=N.filter((R,W)=>R.text===u($[W])).length;i({shuffled:N,score:F,total:($||[]).length,initial:!0,__ts:Date.now()})}if(typeof n=="function"&&x==="active"){const F=N.filter((R,W)=>R.text===u($[W])).length;n({shuffled:N,score:F,total:($||[]).length,initial:!0,__ts:Date.now()})}}catch{}},[s]);const g=($,N)=>{const F=[...m],R=$+N;if(R<0||R>=F.length)return;const W=F[R];F[R]=F[$],F[$]=W,T(F);try{if(typeof n=="function"&&x==="active"){const P=F.filter((Q,ee)=>Q.text===u(p[ee])).length;n({shuffled:F,score:P,total:(p||[]).length,__ts:Date.now()})}}catch{}},[v,y]=l.useState(null),_=l.useRef(null),B=l.useRef(null),k=l.useRef(null),S=l.useRef(null),w=l.useRef(null),A=l.useRef({x:0,y:0}),E=l.useRef(null),L=l.useRef({dx:0,dy:0}),z=()=>{if(E.current!==null)return;const $=()=>{if(!_.current){E.current=null;return}E.current=requestAnimationFrame($);const N=A.current,F=L.current||{dx:0,dy:0};_.current&&(_.current.style.transform=`translate3d(${N.x-F.dx}px, ${N.y-F.dy}px, 0)`)};E.current=requestAnimationFrame($)},j=l.useRef(new Map),I=l.useRef(new Map),D=()=>{const $=new Map;return j.current.forEach((N,F)=>{N&&N.getBoundingClientRect&&$.set(F,N.getBoundingClientRect())}),$},T=$=>{const N=D();b($);try{if(typeof i=="function"){const F=$.filter((R,W)=>R.text===u(p[W])).length;i({shuffled:$,score:F,total:(p||[]).length,__ts:Date.now()})}}catch{}requestAnimationFrame(()=>{const F=D();$.forEach(R=>{const W=N.get(R.id),P=F.get(R.id),Q=j.current.get(R.id);if(!Q||!W||!P)return;const ee=W.top-P.top;ee&&(Q.style.transition="none",Q.style.transform=`translateY(${ee}px)`,requestAnimationFrame(()=>{Q.style.transition="transform 420ms cubic-bezier(.22,.9,.39,1)",Q.style.transform="";const Y=()=>{Q.style.transition="",Q.removeEventListener("transitionend",Y)};Q.addEventListener("transitionend",Y)}))})})},O=($,N)=>{try{try{N.dataTransfer?.setData("text/plain",String($))}catch{}try{N.dataTransfer&&(N.dataTransfer.effectAllowed="move")}catch{}try{const F=document.createElement("div");F.style.cssText="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild(F),N.dataTransfer?.setDragImage(F,0,0),requestAnimationFrame(()=>{try{document.body.removeChild(F)}catch{}})}catch{}}catch{}y($);try{const F=m[$],R=document.createElement("div");R.className="order-list__dragging-object order-list__dragging-object--visible",R.textContent=F&&F.text?F.text:"",document.body.appendChild(R),_.current=R;const W=j.current.get(F.id);let P=N.clientX||0,Q=N.clientY||0;try{if(W&&W.getBoundingClientRect){const ce=W.getBoundingClientRect();P=ce.left+ce.width/2,Q=ce.top+ce.height/2}}catch{}const ee=R.getBoundingClientRect(),Y=ee.width/2,ne=ee.height/2;L.current={dx:Y,dy:ne},R.style.transition="none",A.current={x:P,y:Q},R.style.transform=`translate3d(${P-Y}px, ${Q-ne}px, 0)`,requestAnimationFrame(()=>{try{R.style.transition=""}catch{}z()});const ie=ce=>{const U=ce;A.current={x:U.clientX,y:U.clientY},z()};k.current=ie,document.addEventListener("mousemove",ie);const se=ce=>{const U=ce;A.current={x:U.clientX,y:U.clientY},z()};B.current=se,document.addEventListener("dragover",se);try{N.dataTransfer?.setData("text/plain",String($));try{N.dataTransfer?.setData("application/json",JSON.stringify({idx:$}))}catch{}}catch{}}catch{}},G=($,N)=>{N.preventDefault();try{N.dataTransfer&&(N.dataTransfer.dropEffect="move")}catch{}try{w.current!==null&&(clearTimeout(w.current),w.current=null);const F=N.currentTarget&&N.currentTarget.closest?N.currentTarget.closest(".order-list__item"):null;if(F&&S.current!==F){if(S.current)try{S.current.classList.remove("drag-over")}catch{}try{F.classList.add("drag-over")}catch{}S.current=F}}catch{}},Z=($,N)=>{N.preventDefault();const F=N.dataTransfer?.getData("text/plain")||"",R=F?parseInt(F,10):v,W=$;if(typeof R!="number"||isNaN(R)||R===W){y(null),q(),H();return}const P=fl(m,R,W);T(P),y(null),H();try{if(typeof n=="function"&&x==="active"){const Q=P.filter((ee,Y)=>ee.text===u(p[Y])).length;n({shuffled:P,score:Q,total:(p||[]).length,__ts:Date.now()})}}catch{}try{requestAnimationFrame(()=>{const Q=document.querySelectorAll(".order-list .order-list__item")[W];if(!Q)return;const ee=Q.querySelector(".order-list__slot")||Q;try{ee.classList.add("pulse"),ee.offsetHeight,ee.classList.add("to-dark");const Y=()=>{ee.classList.remove("pulse","to-dark"),ee.removeEventListener("transitionend",Y)};ee.addEventListener("transitionend",Y)}catch{}})}catch{}q()},H=()=>{if(_.current){try{document.body.removeChild(_.current)}catch{}_.current=null}B.current&&(document.removeEventListener("dragover",B.current),B.current=null),k.current&&(document.removeEventListener("mousemove",k.current),k.current=null),E.current!==null&&(cancelAnimationFrame(E.current),E.current=null)},V=()=>{y(null),q(),H()};l.useEffect(()=>()=>H(),[]);const q=()=>{try{if(w.current!==null&&(clearTimeout(w.current),w.current=null),S.current){try{S.current.classList.remove("drag-over")}catch{}S.current=null}document.querySelectorAll(".order-list .order-list__item").forEach($=>$.classList.remove("drag-over"))}catch{}};return l.useEffect(()=>{try{const $=Math.max(1,(m||[]).length);m.forEach((N,F)=>{const R=I.current.get(N.id);if(!R)return;let W=50;$>1&&(W=Math.round(F/($-1)*100));try{R.style.setProperty("--marker-pos",W+"%")}catch{}})}catch{}},[m]),l.useEffect(()=>()=>{H(),w.current!==null&&(clearTimeout(w.current),w.current=null)},[]),r.jsx(Co,{index:e,stepIndex:t,isLast:a,title:d,children:r.jsx("div",{className:"order-list",children:m.map(($,N)=>{const F=Math.max(1,(m||[]).length),R=F>1?Math.round(N/(F-1)*100):50;return r.jsx("div",{className:"order-list__item",children:r.jsxs("div",{className:"order-list__slot","data-disabled":x==="disabled","aria-disabled":x==="disabled",children:[x!=="disabled"?r.jsx("div",{className:"order-list__marker caption-1",style:{"--marker-pos":R+"%"},ref:W=>{const P=I.current;W?P.set($.id,W):P.delete($.id)},children:r.jsx("span",{className:"order-list__slot-number button-1",children:N+1})}):null,r.jsxs("div",{ref:W=>{const P=j.current;W?P.set($.id,W):P.delete($.id)},className:`order-list__draggable ${v===N?"dragging":""}`,"data-disabled":x==="disabled","aria-disabled":x==="disabled",tabIndex:x==="disabled"?-1:0,draggable:f,onDragStart:f?W=>O(N,W):void 0,onDragEnter:f?W=>G(N,W):void 0,onDragOver:f?W=>G(N,W):void 0,onDragLeave:f?()=>{try{w.current!==null&&clearTimeout(w.current),w.current=setTimeout(()=>{try{const W=document.querySelectorAll(".order-list .order-list__item");W&&W[N]&&(W[N].classList.remove("drag-over"),S.current===W[N]&&(S.current=null))}catch{}},80)}catch{}}:void 0,onDrop:f?W=>Z(N,W):void 0,onDragEnd:f?V:void 0,children:[r.jsx("span",{className:"order-list__item-text body-2",children:$.text}),f?r.jsxs("span",{className:"order-list__item-buttons",children:[r.jsx(he,{htmlType:"button",size:32,type:"dot",onClick:()=>g(N,-1),ariaLabel:c("training.up"),icon:"chevron-up",variant:"transparent-gray",width:48,useFaded:"true",disabled:N===0,useBorder:!1,useDisabledInvisible:!0}),r.jsx(he,{htmlType:"button",size:32,type:"dot",onClick:()=>g(N,1),ariaLabel:c("training.down"),icon:"chevron-down",variant:"transparent-gray",width:48,useFaded:"true",disabled:N===m.length-1,useBorder:!1,useDisabledInvisible:!0})]}):null]})]})},$.id)})})})}var WB="";oe(WB);const GB=8e3;function UB(e,t){return new Promise(a=>{let o=!1;const n=()=>{o||(o=!0,a())};e.then(n,n),setTimeout(n,t)})}function Su({index:e,stepIndex:t,isLast:a=!1,title:o,onDone:n,onChange:i,context:s=[],selectable:c=!1,hideLabel:d=!1,hideAudio:u=!1,maxCards:p}){const{t:h}=Ce.useTranslation(),m=o??h("training.cardInstructions","\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694."),b=l.useMemo(()=>Array.isArray(s)?s:s&&s.items||[],[s]),x=p??3,f=(b||[]).slice(0,x);(b||[]).length>x&&console.warn(`TrainingStepCard: ${b.length} items passed but only ${x} shown`);const C=typeof e=="number"?e:-1,g=typeof t!="number"?"disabled":C<t?"done":C===t?"active":"disabled",[v,y]=l.useState(null),_=l.useRef([]),[B,k]=l.useState(!1),S=l.useRef(null),w=l.useRef(!0);l.useEffect(()=>(w.current=!0,()=>{w.current=!1}),[]);const A=l.useMemo(()=>b.map(I=>I?.id??I?.word??"").join("|"),[b]);l.useEffect(()=>{y(null)},[A]);const E=l.useRef(void 0);l.useEffect(()=>{const I=E.current;typeof I=="number"&&typeof t=="number"&&typeof e=="number"&&I>=e&&t<e&&y(null),E.current=t},[t,e]);const L=l.useCallback((I,D)=>{if(c)return;const T={item:I,index:D,__ts:Date.now()};try{typeof i=="function"&&i(T)}catch{}if(g==="active"&&typeof n=="function")try{n(T)}catch{}},[c,i,g,n]),z=l.useCallback(async()=>{if(B||g==="disabled")return;k(!0);let I=!1;const D=new Promise(T=>{S.current=()=>{I=!0,T()}});try{for(let T=0;T<f.length&&!(!w.current||I);T++){const O=_.current[T];O&&await Promise.race([UB(O.play(),GB),D])}}finally{S.current=null,k(!1)}},[B,g,f.length]),j=l.useCallback((I,D)=>{if(g!=="active")return;y(D);const T={selectedValue:I.word||I.title||"",selectedIndex:D,item:I,__ts:Date.now()};try{typeof i=="function"&&i(T)}catch{}if(g==="active"&&typeof n=="function")try{n(T)}catch{}},[i,g,n]);return r.jsx(Co,{index:e,stepIndex:t,isLast:a,title:m,onDone:n,titleProps:{usePlayAllBtn:!u&&f.length>0,onPlayAll:z,playAllActive:B},children:r.jsx("div",{className:"training-step__cards",onClickCapture:I=>{const D=S.current;if(!D)return;const T=I.target;T&&typeof T.closest=="function"&&T.closest(".training-word-card__bottom")&&D()},children:f.length===0?r.jsx("div",{className:"training-step__empty",children:h("training.noCards","\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}):f.map((I,D)=>r.jsx(Oi,{ref:T=>{_.current[D]=T},item:I,disabled:g==="disabled",onPlayDone:()=>L(I,D),selectable:c,selected:c&&v===D,onSelect:c?()=>j(I,D):void 0,flipDelay:D*120,hideLabel:d,hideAudio:u},I&&I.id||D))})})}const qB=160;var YB=".ihabdevteam-core-scope .panel{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);display:flex;flex-direction:column;overflow:visible;padding:0;text-align:left}.ihabdevteam-core-scope .panel--no-border{border:none}.ihabdevteam-core-scope .panel--no-bg{background:transparent;border-radius:0}.ihabdevteam-core-scope .panel--no-border .panel-row{padding-left:0;padding-right:0}.ihabdevteam-core-scope .panel--no-row-border .panel-row+.panel-row{border-top:none}.ihabdevteam-core-scope .panel__header{align-items:center;border-bottom:1px solid var(--color-darkWhite);box-sizing:border-box;display:flex;gap:var(--spacing-xs);justify-content:space-between;margin:0;padding:0 20px}.ihabdevteam-core-scope .panel__header:last-child{border-bottom:none}.ihabdevteam-core-scope .panel--small .panel__header{min-height:48px}.ihabdevteam-core-scope .panel--medium .panel__header{min-height:56px}.ihabdevteam-core-scope .panel--large .panel__header{min-height:64px}.ihabdevteam-core-scope .panel__icon{align-items:center;color:var(--t-item-fg,var(--color-main));display:flex;flex-shrink:0;height:20px;justify-content:center;margin-right:var(--spacing-s);width:20px}.ihabdevteam-core-scope .panel__title-group{display:flex;flex-direction:column;gap:4px;margin-right:auto;min-width:0}.ihabdevteam-core-scope .panel__title{color:var(--color-darkGray);margin:0}.ihabdevteam-core-scope .panel__disc{color:var(--color-gray);margin:0}.ihabdevteam-core-scope .panel__actions{display:flex;flex-shrink:0;gap:6px}.ihabdevteam-core-scope .panel-row{align-items:center;box-sizing:border-box;display:flex;gap:var(--spacing-m);justify-content:space-between;padding:4px 20px}.ihabdevteam-core-scope .panel--small .panel-row{min-height:48px}.ihabdevteam-core-scope .panel--medium .panel-row{min-height:56px}.ihabdevteam-core-scope .panel--large .panel-row{min-height:64px}.ihabdevteam-core-scope .panel--compact-rows .panel-row{min-height:46px;padding-bottom:3px;padding-top:3px}.ihabdevteam-core-scope .panel-row+.panel-row{border-top:1px solid var(--color-darkWhite)}.ihabdevteam-core-scope .panel--fill .panel-row{border-bottom:1px solid var(--color-darkWhite)}.ihabdevteam-core-scope .panel--fill .panel-row+.panel-row{border-top:none}.ihabdevteam-core-scope .panel--no-row-border .panel-row{border-bottom:none}.ihabdevteam-core-scope .panel>:not(.panel-row)+.panel-row{border-top:none}.ihabdevteam-core-scope .panel-grid{grid-gap:1px;background:var(--color-darkWhite);display:grid;gap:1px;grid-template-columns:repeat(2,1fr);grid-template-columns:repeat(var(--panel-grid-cols,2),1fr);overflow:hidden;padding-bottom:1px}.ihabdevteam-core-scope .panel-grid .panel-row{background:var(--color-white)}.ihabdevteam-core-scope .panel-grid .panel-row+.panel-row{border-top:none}.ihabdevteam-core-scope .panel-row--empty{color:var(--color-lightGray);justify-content:center}.ihabdevteam-core-scope .panel-row--loading{justify-content:center}.ihabdevteam-core-scope .panel__body--scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}.ihabdevteam-core-scope .panel__body--gutter-stable{scrollbar-gutter:stable}.ihabdevteam-core-scope .panel-row--content{display:block;min-height:0;padding:16px}.ihabdevteam-core-scope .panel-row--content+.panel-row--content{border-top:none}.ihabdevteam-core-scope .panel-row__icon{align-items:center;display:flex;flex-shrink:0;margin-right:-4px}.ihabdevteam-core-scope .panel-row__left{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row__label{color:var(--color-deepGray)}.ihabdevteam-core-scope .panel-row__sub{color:var(--color-gray);margin-top:2px}.ihabdevteam-core-scope .panel-row__right{align-items:center;display:flex;flex:0 0 auto;justify-content:flex-end}@media (max-width:767px){.ihabdevteam-core-scope .panel-row{flex-wrap:wrap}.ihabdevteam-core-scope .panel-row__right{flex:0 1 auto;min-width:0}}.ihabdevteam-core-scope .panel--form .panel-row{grid-gap:var(--spacing-m);align-items:center;display:grid;gap:var(--spacing-m);grid-template-columns:80px 1fr;grid-template-columns:var(--panel-label-width,80px) 1fr}.ihabdevteam-core-scope .panel--form .panel-row:has(.text-field--full-width){align-items:flex-start}.ihabdevteam-core-scope .panel--form .panel-row:has(.text-field--full-width) .panel-row__left{padding-top:9px}.ihabdevteam-core-scope .panel-row--label-fixed .panel-row__left{flex:0 0 120px;flex:0 0 var(--panel-label-width,120px)}.ihabdevteam-core-scope .panel-row--label-fixed .panel-row__right{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row--fill .panel-row__right{align-items:center;display:flex}.ihabdevteam-core-scope .panel-row--fill .panel-row__right>*,.ihabdevteam-core-scope .panel-row--fill>.dropdown,.ihabdevteam-core-scope .panel-row--fill>.form-input,.ihabdevteam-core-scope .panel-row--fill>.text-field{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row--clickable{cursor:pointer;transition:background .1s,box-shadow .1s}.ihabdevteam-core-scope .panel-row--clickable:hover{background:var(--color-darkWhite)}.ihabdevteam-core-scope .panel-row__text{color:var(--color-darkGray);overflow-wrap:break-word;text-align:right;word-break:break-word}.ihabdevteam-core-scope .panel-row--text .panel-row__right{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row--block{align-items:stretch;display:flex;flex-direction:column;justify-content:center}.ihabdevteam-core-scope .panel-row__description{color:var(--color-gray);line-height:1.6;margin:0;overflow-wrap:break-word;word-break:break-word}.ihabdevteam-core-scope .panel-row__dropdown-group{display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .panel-row__dropdown-group--full,.ihabdevteam-core-scope .panel-row__dropdown-item--full{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row__dropdown-error-wrap{display:flex;flex-direction:column}.ihabdevteam-core-scope .panel-row__dropdown-error-wrap--full{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row__text--full{text-align:left;width:100%}.ihabdevteam-core-scope .panel-row__input-wrap{display:flex;flex-direction:column}.ihabdevteam-core-scope .panel-row__input-wrap--full{flex:1;min-width:0}.ihabdevteam-core-scope .panel-row--vertical{align-items:flex-start;flex-direction:column;gap:8px;gap:var(--spacing-xs,8px)}.ihabdevteam-core-scope .panel-row--vertical .panel-row__left{flex:none;width:100%}.ihabdevteam-core-scope .panel-row--vertical .panel-row__right{align-items:flex-start;flex:none;justify-content:flex-start;width:100%}.ihabdevteam-core-scope .panel-row--vertical .panel-row__text{margin-left:0;text-align:left}.ihabdevteam-core-scope .panel-row--device{grid-gap:0;align-items:stretch;display:grid;gap:0;grid-template-columns:1fr 1fr;min-height:0;padding:0}.ihabdevteam-core-scope .panel-row__device-column{box-sizing:border-box;display:flex;flex-direction:column;gap:0;min-height:164px;padding:14px 16px}.ihabdevteam-core-scope .panel-row__device-column+.panel-row__device-column{border-left:1px solid var(--color-darkWhite)}.ihabdevteam-core-scope .panel-row__device-head{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-bottom:8px;min-height:32px}.ihabdevteam-core-scope .panel-row__device-side{color:var(--color-darkGray);margin:0;text-align:left}.ihabdevteam-core-scope .panel-row__device-info{margin:0;text-align:left}.ihabdevteam-core-scope .panel-row__device-info,.ihabdevteam-core-scope .panel-row__device-kind{align-items:flex-start;display:flex;flex-direction:column;gap:3px}.ihabdevteam-core-scope .panel-row__device-name{color:var(--color-darkGray)}.ihabdevteam-core-scope .panel-row__device-detail{color:var(--color-gray)}.ihabdevteam-core-scope .panel-row__device-date{color:var(--color-lightGray);margin-top:2px}.ihabdevteam-core-scope .panel-row__device-empty{align-items:center;color:var(--color-lightGray);display:flex;flex:1;justify-content:center;text-align:center}.ihabdevteam-core-scope .required-mark{color:var(--color-main);margin-left:2px}.ihabdevteam-core-scope .panel-row__error{color:var(--color-error);margin-top:4px}.ihabdevteam-core-scope .panel-row__helper{color:var(--color-lightGray);margin-top:4px}.ihabdevteam-core-scope .panel-row__button-group{display:flex;gap:6px}@media (max-width:767px){.ihabdevteam-core-scope .panel-row__dropdown-group{flex-wrap:wrap}.ihabdevteam-core-scope .panel-row__dropdown-error-wrap--full,.ihabdevteam-core-scope .panel-row__dropdown-item--full{flex:1 1 104px}}";oe(YB);const KB={\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant"};function ZB(e,t){const a=KB[e];return a?t(`device.type.${a}`,{defaultValue:e}):e}const O0=()=>{};function to(e){const t=l.useId();if(!("variant"in e)){const{label:g,sub:v,onClick:y,children:_,align:B="horizontal",icon:k,useFullWidth:S=!1}=e,w=A=>{y&&A.target===A.currentTarget&&(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),y())};return r.jsxs("div",{className:Te("panel-row",B==="vertical"?"panel-row--vertical":"",S?"panel-row--label-fixed panel-row--fill":"",y?"panel-row--clickable":""),onClick:y,onKeyDown:y?w:void 0,role:y?"button":void 0,tabIndex:y?0:void 0,children:[k!=null&&r.jsx("div",{className:"panel-row__icon",children:k}),g!=null&&r.jsxs("div",{className:"panel-row__left",children:[r.jsx("div",{className:"panel-row__label body-3",children:g}),v&&r.jsx("div",{className:"panel-row__sub caption-1",children:v})]}),r.jsx("div",{className:"panel-row__right",children:_})]})}if(e.variant==="description")return r.jsx("div",{className:"panel-row panel-row--block",children:r.jsx("p",{className:"panel-row__description body-3",children:e.children})});if(e.variant==="empty")return r.jsx("div",{className:"panel-row panel-row--empty body-3",children:e.children});if(e.variant==="loading")return r.jsx("div",{className:"panel-row panel-row--loading",children:r.jsx(xr,{size:28})});if(e.variant==="custom"&&!e.label)return r.jsx("div",{className:"panel-row panel-row--block",children:e.children});const{variant:a,label:o,sub:n,onClick:i,required:s,error:c,align:d="horizontal",useFullWidth:u=!1,icon:p}=e,h=a==="button"?void 0:i;let m=null;const b=a==="toggle"?`panel-toggle-${t}`:void 0,x=c?`panel-error-${t}`:void 0;if(a==="toggle"){const g=e;m=r.jsx(Hd,{checked:g.checked,onChange:g.onChange,id:b})}else if(a==="segmented"){const g=e;m=r.jsx(Ia,{options:g.options,value:g.value,onChange:g.onChange,size:g.size??40,ariaLabel:o})}else if(a==="dropdown"){const g=e,v=g.dropdowns?.length?r.jsx("div",{className:`panel-row__dropdown-group${u?" panel-row__dropdown-group--full":""}`,children:g.dropdowns.map((y,_)=>r.jsx("div",{className:u?"panel-row__dropdown-item--full":void 0,children:r.jsx(fa,{options:y.options,value:y.value,onChange:y.onChange,placeholder:y.placeholder,block:u,error:!!c,ariaDescribedBy:x,ariaLabel:y.ariaLabel??([o,y.placeholder].filter(Boolean).join(" ")||void 0)})},_))}):r.jsx(fa,{options:g.options??[],value:g.value??"",onChange:g.onChange??O0,block:u,error:!!c,ariaLabel:o,ariaDescribedBy:x});m=c?r.jsxs("div",{className:`panel-row__dropdown-error-wrap${u?" panel-row__dropdown-error-wrap--full":""}`,children:[v,r.jsx("span",{id:x,className:"caption-1 panel-row__error",role:"alert",children:c})]}):v}else if(a==="button"){const g=e;g.buttons?.length?m=r.jsx("div",{className:"panel-row__button-group",children:g.buttons.map((v,y)=>r.jsx(he,{htmlType:"button",size:v.btnSize??40,variant:v.btnVariant??"default",disabled:v.disabled,onClick:v.onClick,children:v.label},y))}):m=r.jsx(he,{htmlType:"button",size:g.btnSize??40,variant:g.btnVariant??"default",disabled:g.disabled,onClick:g.onClick,children:g.buttonLabel})}else if(a==="text"){const g=e;m=r.jsx("span",{className:`panel-row__text body-2${u?" panel-row__text--full":""}`,style:g.valueColor?{color:g.valueColor}:void 0,children:g.value})}else if(a==="input"){const g=e;m=r.jsxs("div",{className:`panel-row__input-wrap${u?" panel-row__input-wrap--full":""}`,children:[r.jsx(xo,{value:g.value,onChange:g.onChange??O0,onKeyDown:g.onKeyDown,onEnter:g.onEnter,placeholder:g.placeholder,ghostText:g.ghostText,ghostHint:g.ghostHint,inputMode:g.inputMode,readOnly:g.readOnly,disabled:g.disabled,type:g.type,autoComplete:g.autoComplete,maxLength:g.maxLength,showCount:g.showCount,multiline:g.multiline,rows:g.rows,fullWidth:u,error:c,ariaLabel:o,required:s}),g.helperText&&r.jsx("div",{className:"panel-row__helper caption-1",children:g.helperText})]})}else a==="custom"&&(m=e.children);c&&a!=="input"&&a!=="dropdown"&&(m=r.jsxs("div",{className:`panel-row__dropdown-error-wrap${u?" panel-row__dropdown-error-wrap--full":""}`,children:[m,r.jsx("span",{id:x,className:"caption-1 panel-row__error",role:"alert",children:c})]}));const f=a==="input"||a==="dropdown"||(a==="text"||a==="custom")&&u,C=g=>{h&&g.target===g.currentTarget&&(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),h())};return r.jsxs("div",{className:Te("panel-row",d==="vertical"?"panel-row--vertical":"",f?"panel-row--label-fixed":"",a==="text"?"panel-row--text":"",h?"panel-row--clickable":""),onClick:h,onKeyDown:h?C:void 0,role:h?"button":void 0,tabIndex:h?0:void 0,children:[p!=null&&r.jsx("div",{className:"panel-row__icon",children:p}),r.jsxs("div",{className:"panel-row__left",children:[b?r.jsxs("label",{htmlFor:b,className:"panel-row__label body-3",children:[o,s&&r.jsx("span",{className:"required-mark",children:"*"})]}):r.jsxs("div",{className:"panel-row__label body-3",children:[o,s&&r.jsx("span",{className:"required-mark",children:"*"})]}),n&&r.jsx("div",{className:"panel-row__sub caption-1",children:n})]}),r.jsx("div",{className:"panel-row__right",children:m})]})}function F0(e){const t=e.productName||e.brand,a=[e.brand,e.fitType].filter(o=>!!o&&o!==t);return[...new Set(a)].join(" \xB7 ")}function H0({devices:e,onRelease:t,emptyLabel:a}){const{t:o}=Ce.useTranslation();return r.jsx("div",{className:"panel-row panel-row--device",children:["\uC88C","\uC6B0"].map(n=>{const i=e[n],s=n==="\uC88C"?o("device.direction.left","\uC88C"):o("device.direction.right","\uC6B0");return r.jsxs("div",{className:"panel-row__device-column",children:[r.jsxs("div",{className:"panel-row__device-head",children:[r.jsx("span",{className:"panel-row__device-side body-2b",children:s}),i&&t&&r.jsx(he,{htmlType:"button",size:32,type:"dot",icon:"x",ariaLabel:`${s} ${o("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C")}`,showTooltipInfo:o("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),onClick:()=>t(n)})]}),i?r.jsxs("div",{className:"panel-row__device-info",children:[r.jsxs("span",{className:"panel-row__device-kind",children:[i.device&&r.jsx(_t,{size:"small",variant:_f(i.device),fill:"soft",label:ZB(i.device,o)}),F0(i)&&r.jsx("span",{className:"panel-row__device-detail body-3",children:F0(i)})]}),r.jsx("span",{className:"panel-row__device-name body-2b",children:i.productName||i.brand}),ou(i.wornYear,i.wornMonth,i.wornDay)&&r.jsx("span",{className:"panel-row__device-date caption-1",children:o("customers.device.wornSince",{date:ou(i.wornYear,i.wornMonth,i.wornDay)})})]}):r.jsx("span",{className:"panel-row__device-empty body-3",children:a??o("customers.device.notRegistered","\uBBF8\uB4F1\uB85D")})]},n)})})}function An({title:e,icon:t,disc:a,actions:o,size:n="medium",minHeight:i,maxWidth:s,className:c,scrollable:d,scrollbarGutter:u="auto",compactRows:p=!1,useBorder:h=!0,useBg:m=!0,useRowBorder:b=!0,labelWidth:x,form:f=!1,loading:C,empty:g,children:v}){const y=Te("panel",`panel--${n}`,f?"panel--form":"",i!==void 0?"panel--fill":"",h?"":"panel--no-border",m?"":"panel--no-bg",b?"":"panel--no-row-border",p?"panel--compact-rows":"",c),_={};return i!==void 0&&(_.minHeight=i),s!==void 0&&(_.maxWidth=typeof s=="number"?`${s}px`:s),x!==void 0&&(_["--panel-label-width"]=typeof x=="number"?`${x}px`:x),r.jsxs("div",{className:y,style:Object.keys(_).length?_:void 0,children:[(e!=null||a!=null)&&r.jsxs("div",{className:Te("panel__header",a!=null?"panel__header--with-disc":""),children:[t&&r.jsx(Je,{icon:t,label:typeof e=="string"?e:void 0,className:"panel__icon"}),r.jsxs("div",{className:"panel__title-group",children:[e!=null&&r.jsx("h2",{className:`panel__title ${a!=null?"body-3b":"h5b"}`,children:e}),a!=null&&r.jsx("p",{className:"panel__disc caption-1",children:a})]}),o&&r.jsx("div",{className:"panel__actions",children:o})]}),C?r.jsx(to,{variant:"loading"}):g!=null&&l.Children.toArray(v).length===0?r.jsx(to,{variant:"empty",children:g}):d?r.jsx("div",{className:Te("panel__body--scroll",u==="stable"&&"panel__body--gutter-stable"),children:v}):v]})}function V0({cols:e=2,children:t}){return r.jsx("div",{className:"panel-grid",style:{"--panel-grid-cols":e},children:t})}function XB(e){return[{label:e("training.noise.level.none","\uC5C6\uC74C"),value:0},{label:e("training.noise.level.weak","\uC57D\uD568"),value:1},{label:e("training.noise.level.medium","\uBCF4\uD1B5"),value:2},{label:e("training.noise.level.strong","\uAC15\uD568"),value:3},{label:e("training.noise.level.veryStrong","\uB9E4\uC6B0 \uAC15\uD568"),value:4}]}function W0(e){return[{label:e("training.noise.type.default","\uAE30\uBCF8"),value:"defaultNoise",icon:"party-popper"},{label:e("training.noise.type.street","\uAE38\uAC70\uB9AC"),value:"street",icon:"car"},{label:e("training.noise.type.buzz","\uC640\uAE00\uC640\uAE00"),value:"buzz",icon:"message-square-more"},{label:e("training.noise.type.restaurant","\uC2DD\uB2F9"),value:"restaurant",icon:"coffee"}]}XB(bt.t.bind(bt)),W0(bt.t.bind(bt));var JB='.ihabdevteam-core-scope .noise-settings{border-radius:var(--radius-m);box-sizing:border-box;max-width:calc(100vw - 40px);padding:0 20px 20px}.ihabdevteam-core-scope .tooltip-content:has(.noise-settings__header) .tooltip-content__header{border-bottom:1px solid var(--color-darkWhite);height:60px;padding:0 20px}.ihabdevteam-core-scope .noise-settings__header{align-items:center;display:flex;justify-content:space-between;width:100%}.ihabdevteam-core-scope .noise-settings__header span{color:var(--color-darkGray);font-weight:600}.ihabdevteam-core-scope .noise-settings__slider-input.slider--horizontal{flex:1 1 auto}.ihabdevteam-core-scope .noise-settings__value{font-feature-settings:"tnum";color:var(--color-main);flex:0 0 auto;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;width:44px}';oe(JB);const Eu="none",QB=.5,eA=1.5,tA=.25;function Nu({title:e,valueLabel:t,value:a,min:o,max:n,step:i,tickStep:s,size:c,onChange:d}){return r.jsxs(to,{variant:"custom",label:e,useFullWidth:!0,children:[r.jsx(Xd,{value:a,onChange:d,min:o,max:n,step:i,size:c,showBgTick:!0,tickStep:s,ariaLabel:e,className:"noise-settings__slider-input"}),r.jsx("div",{className:"noise-settings__value button-1",children:t})]})}function Du({anchorRect:e,onClose:t}){const{t:a}=Ce.useTranslation(),o=na("(max-width: 767px)")?40:24,n=kn(),i=kr(n?.settings??Ar),s=n?.settings.type??"defaultNoise",c=n?.settings.enabled??!0,d=n?.playbackRate??1,u=n?.mainVolume??1,p=Math.round(u*100),h=l.useCallback(f=>{try{n?.setMainVolume(Math.max(0,Math.min(1,f/100)))}catch{}},[n]),m=l.useCallback(f=>{try{n?.setPlaybackRate(f)}catch{}},[n]),b=l.useCallback(f=>{const C=Math.min(wr,Math.max(0,Math.round(f*10)/10));try{n?.setSettings({noiseRatio:C})}catch{}},[n]),x=l.useCallback(f=>{try{f===Eu?n?.setSettings({enabled:!1}):n?.setSettings({type:f,enabled:!0})}catch{}},[n]);return r.jsx(ga,{anchorRect:e,offset:12,onClose:t,ariaLabel:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),isMobilePopup:!1,closeOnOutsideClick:!1,header:r.jsxs("div",{className:"noise-settings__header",children:[r.jsx("span",{children:a("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815")}),r.jsx(he,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,ariaLabel:a("common.close","\uB2EB\uAE30"),onClick:t})]}),children:r.jsxs(An,{className:"noise-settings",useBorder:!1,labelWidth:72,children:[r.jsx(Nu,{title:a("training.playVolumeTitle","\uC804\uCCB4 \uC18C\uB9AC"),valueLabel:`${p}%`,value:p,min:0,max:100,step:10,size:o,onChange:h}),r.jsx(Nu,{title:a("training.playSpeedTitle","\uC7AC\uC0DD \uC18D\uB3C4"),valueLabel:`${d.toFixed(2)}x`,value:d,min:QB,max:eA,step:tA,size:o,onChange:m}),r.jsx(to,{variant:"custom",label:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),useFullWidth:!0,children:r.jsx(Ia,{ariaLabel:a("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),size:40,shape:"rounded",options:[{key:Eu,label:a("training.noise.type.none","\uC5C6\uC74C")},...W0(a).map(f=>({key:f.value,label:f.label}))],value:c?s:Eu,onChange:x})}),r.jsx(Nu,{title:a("training.noiseRatioTitle","\uC18C\uC74C \uBE44\uC728"),valueLabel:a("training.noiseRatioValue","{{ratio}}\uBC30",{ratio:i.toFixed(1)}),value:i,min:0,max:wr,step:vu,size:o,onChange:b})]})})}var aA=".ihabdevteam-core-scope .training-page-bottom{box-sizing:border-box;width:100%}.ihabdevteam-core-scope .pp-bottom{align-items:center;background:var(--color-deepWhite);border-top:1px solid var(--color-whiteLine);box-sizing:border-box;display:flex;flex:0 0 auto;gap:var(--spacing-s);justify-content:space-between;padding:12px 18px calc(12px + env(safe-area-inset-bottom));width:100%;z-index:5}.ihabdevteam-core-scope .pp-bottom__left{align-items:center;display:flex;gap:var(--spacing-m)}.ihabdevteam-core-scope .pp-bottom__right{align-items:center;display:flex;gap:8px}.ihabdevteam-core-scope .pp-bottom__meters{border:1px solid var(--color-whiteLine);border-radius:14px;display:flex;flex-direction:column;gap:2px;justify-content:center;padding:8px 12px}.ihabdevteam-core-scope .pp-bottom__meter{align-items:center;display:flex;flex-direction:row;gap:var(--spacing-xs)}.ihabdevteam-core-scope .pp-bottom__meter-label{color:var(--color-gray);min-width:28px}.ihabdevteam-core-scope .pp-bottom__settings--desktop{display:none}.ihabdevteam-core-scope .pp-bottom__settings--mobile{display:flex}@media (min-width:768px){.ihabdevteam-core-scope .pp-bottom__settings--desktop{display:block}.ihabdevteam-core-scope .pp-bottom__settings--mobile{display:none}}.ihabdevteam-core-scope .pp-bottom__tooltip-trigger{display:inline-block}.ihabdevteam-core-scope .pp-bottom__meters--floating{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .pp-bottom__meter-trigger{display:inline-flex;flex-shrink:0}";oe(aA);function Tu({useNoiseSettingBtn:e=!1,onSettings:t,onNext:a,onResult:o,stepIndex:n=0,stepCount:i=0,pageIndex:s=0,pageCount:c=1,resultOpen:d=!1}){const{t:u}=Ce.useTranslation(),[p,h]=l.useState(!1),[m,b]=l.useState(null),[x,f]=l.useState(!1),C=l.useRef(null),g=l.useRef(null),v=kn(),y=c>0,_=y&&s<c-1,B=!y||s>=c-1,k=n===Math.max(0,i);l.useEffect(()=>{e||(h(!1),b(null))},[e]);const S=l.useCallback(()=>{h(!1),b(null)},[]),w=l.useCallback(()=>{if(p){h(!1),b(null);return}const O=C?.current?.getBoundingClientRect();O&&b(O),t?.(),h(!0)},[p,t]),A=l.useCallback(()=>{if(p){h(!1),b(null);return}const O=g?.current?.getBoundingClientRect();O&&b(O),t?.(),h(!0)},[p,t]),E=na("(max-width: 767px)"),L=l.useRef(null),[z,j]=l.useState(null),I=l.useCallback(()=>{f(O=>{const G=!O;return j(G?L.current?.getBoundingClientRect()??null:null),G})},[]),D=l.useCallback(()=>{f(!1),j(null)},[]);l.useEffect(()=>{d&&(f(!1),j(null))},[d]);const T=r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"pp-bottom__meter",children:[r.jsx("span",{className:"pp-bottom__meter-label caption-1",children:u("training.meter.sentence","\uC7AC\uC0DD")}),r.jsx(Ri,{analyser:v?.mainAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:u("training.meter.sentence","\uC7AC\uC0DD")})]}),r.jsxs("div",{className:"pp-bottom__meter",children:[r.jsx("span",{className:"pp-bottom__meter-label caption-1",children:u("training.meter.noise","\uC18C\uC74C")}),r.jsx(Ri,{analyser:v?.noiseAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:u("training.meter.noise","\uC18C\uC74C")})]})]});return I0(e&&p,()=>typeof document<"u"?document.querySelector(".noise-settings__header")?.closest(".tooltip-content")??null:null,()=>[C.current,g.current].map(O=>O?.querySelector("button")??null).find(O=>!!O&&O.getClientRects().length>0)??C.current?.querySelector("button")??null),r.jsxs("div",{className:"pp-bottom",children:[r.jsxs("div",{className:"pp-bottom__left",children:[e?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"pp-bottom__settings--desktop",children:r.jsx("div",{ref:C,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:r.jsx(he,{htmlType:"button",size:56,type:"bar",icon:"settings",onClick:w,className:p?"is-selected":void 0,"aria-expanded":p,"aria-haspopup":"dialog",ariaLabel:u("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),label:u("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),minWidth:140})})}),r.jsx("div",{className:"pp-bottom__settings--mobile",children:r.jsx("div",{ref:g,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:r.jsx(he,{htmlType:"button",size:56,type:"dot",shape:"pill",icon:"settings",onClick:A,className:p?"is-selected":void 0,"aria-expanded":p,"aria-haspopup":"dialog",ariaLabel:u("training.settings","\uC124\uC815")})})})]}):null,e&&r.jsx("div",{ref:L,className:"pp-bottom__meter-trigger","data-tooltip-ignore":!0,children:r.jsx(he,{htmlType:"button",size:40,type:"dot",shape:"pill",icon:"audio-lines",onClick:I,selected:x,"aria-expanded":E?x:void 0,ariaLabel:u("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC")})}),e&&x&&!E&&r.jsx("div",{className:"pp-bottom__meters",children:T})]}),e&&x&&E&&z&&r.jsx(ga,{anchorRect:z,onClose:D,ariaLabel:u("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"),children:r.jsx("div",{className:"pp-bottom__meters pp-bottom__meters--floating",children:T})}),r.jsxs("div",{className:"pp-bottom__right",children:[B&&r.jsx(he,{htmlType:"button",size:56,type:"bar",icon:"check",onClick:typeof o=="function"?o:a,ariaLabel:u("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),label:u("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),variant:"main",disabled:!k}),_&&r.jsx(he,{htmlType:"button",size:56,type:"bar",rightIcon:"chevron-right",align:"right",onClick:a,ariaLabel:u("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),label:u("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),variant:"main",disabled:!k})]}),e&&p&&r.jsx(Du,{anchorRect:m,onClose:S})]})}var oA=".ihabdevteam-core-scope .training-page-top{box-sizing:border-box;width:100%}.ihabdevteam-core-scope .pp-title.training-popup-title{align-items:center;background:var(--color-deepWhite);border-bottom:1px solid var(--color-whiteLine);box-sizing:border-box;display:flex;gap:var(--spacing-s);justify-content:space-between;padding:12px 16px;position:relative;width:100%;z-index:6}.ihabdevteam-core-scope .pp-title__left{align-items:center;display:flex;gap:var(--spacing-s);min-width:0}.ihabdevteam-core-scope .pp-title__text{display:flex;flex-direction:column;min-width:0}.ihabdevteam-core-scope .pp-title__depth{color:var(--color-gray)}.ihabdevteam-core-scope .pp-title__title{font-weight:700;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .pp-title__title--empty{color:var(--color-whiteLine)}.ihabdevteam-core-scope .pp-title__description{color:var(--color-gray);margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:767px){.ihabdevteam-core-scope .pp-title.training-popup-title{gap:var(--spacing-xs);padding:10px 12px}.ihabdevteam-core-scope .pp-title__depth{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .pp-title__left{flex:1;min-width:0;overflow:hidden}}";oe(oA);function ju({title:e,subtitle:t,desc:a,depth:o,icon:n,wrapperStyle:i,iconTooltip:s,pageIndex:c,pageCount:d,progressMax:u,progressIndex:p,onBack:h,onClose:m}){const{t:b}=Ce.useTranslation(),x=na("(max-width: 767px)"),f=Number.isInteger(p)?p:c||0,C=Number.isInteger(u)?u:d||0,g=h||m,v=Array.isArray(o)?x?o[o.length-1]:o.join(" / "):o,y=typeof e=="string"?e.trim():e,_=typeof t=="string"?t.trim():t,B=!!(y||_),k=B?y||_:b("common.emptyTrainingName","\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),S=v||(y?t:void 0),w=x&&typeof S=="string"&&(S.includes(" \xB7 ")||S.includes(" / "))?S.split(/\s[·/]\s/).pop():S,A=l.useMemo(()=>{const E=i&&typeof i=="object"?{...i}:{};return!("width"in E)&&!("height"in E)&&(E.width="40px",E.height="40px"),E},[i]);return r.jsxs("header",{className:"pp-title training-popup-title",children:[r.jsxs("div",{className:"pp-title__left",children:[g?r.jsx(he,{htmlType:"button",size:48,type:"dot",icon:"chevron-left",ariaLabel:b("common.back","\uB4A4\uB85C"),onClick:g,useBorder:!1,iconSize:"large",iconColor:"--color-black",variant:"transparent-gray"}):null,r.jsx("div",{children:n?r.jsx(Ig,{icon:n,label:e,tooltip:s,wrapperStyle:A}):null}),r.jsxs("div",{className:"pp-title__text",children:[w?r.jsx("span",{className:"pp-title__depth caption-1",children:w}):null,r.jsx("span",{className:`pp-title__title h2${B?"":" pp-title__title--empty"}`,children:k}),a?r.jsx("span",{className:"pp-title__description caption-1",children:a}):null]})]}),r.jsx(tu,{max:Math.max(0,C??0),index:Math.max(0,f??0)})]})}function G0(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("speechear.popup.close"))}function U0(e){return!e&&e!==0?[]:Array.isArray(e)?e.flatMap(t=>typeof t=="string"?t.split("|").map(a=>a.trim()).filter(Boolean):t||t===0?[String(t)]:[]):typeof e=="string"?e.split("|").map(t=>t.trim()).filter(Boolean):[String(e)]}const q0=(e,t)=>{if(!t)return t;const a=typeof bt?.t=="function"?bt.t(e,{defaultValue:t}):void 0;return typeof a=="string"&&a?a:t};function Lu(e,t,a){const o=e,n=o?.title||o?.name||(Array.isArray(t)?t[t.length-1]:void 0)||a||"\uD6C8\uB828",i=ei().find(c=>c.key===(o?.category_0||o?.category_main_code)),s=i?.subs?.find(c=>c.key===(o?.category_1||o?.category_sub_code));return{title:n,label:o?.title||n,depth:t,icon:i?.icon,wrapperStyle:i?.color?{"--t-item-fg":i.color}:void 0,iconTooltip:[i?q0(`topic.${i.key}`,i.label):void 0,s?q0(`topic.sub.${s.key}`,s.label):void 0].filter(Boolean).join(" / ")||void 0}}function as(e){return e&&typeof e=="object"&&typeof e.__ts=="number"?e.__ts:0}function Y0(e){const t=e;return Array.isArray(t?.items)?t.items:Array.isArray(e)?e:e?[e]:[]}function K0({idPrefix:e,trainingData:t,depth:a,fallbackTitle:o="\uD6C8\uB828",pages:n=[],emptyMessage:i,buildResults:s,metaPatch:c}){const d=Lu(t,a,o),u=typeof c=="function"?c(d)||{}:c||{},p=t?.id||t?.title||n.length;return{id:`${e}:${p}`,meta:{...d,...u},pages:n,emptyMessage:i,buildResults:s}}function Z0(e){if(typeof e=="string")return e;if(e&&typeof e=="object"){const t=e;return t.context||t.sentence||t.question||""||""}return""}function X0(e){if(e&&typeof e=="object"){const t=e;if(Array.isArray(t.selectedValues))return t.selectedValues;if(t.selectedValue!==void 0)return t.selectedValue;if(t.selectedIndex!==void 0)return t.selectedIndex;if(t.value!==void 0)return t.value}return e}function J0(e,t=[]){if(Array.isArray(e))return e.join(", ");if(typeof e=="number"&&Array.isArray(t))return String(t[e]??"");if(typeof e=="string")return e}function Mu(e,t){if(!(!e||typeof e!="object"))return e[`step-${t}`]}function Q0(e,t,a,o){return Mu(e,t*a+o)}function e1({payload:e,selected:t,choices:a=[],correctAnswers:o=[]}){if(e&&typeof e=="object"){const n=e;if(Array.isArray(n.selectedValues))return o.every(i=>n.selectedValues.includes(i))&&n.selectedValues.every(i=>o.includes(i));if(typeof n.correct=="boolean")return n.correct}if(o.length){if(typeof t=="number"&&Array.isArray(a)&&a.length)return o.some(n=>String(n)===String(a[t]));if(typeof t<"u")return o.some(n=>String(n)===String(t))}}function t1(e){return e?Array.isArray(e.items)?e.items.map(t=>{const a=t;return typeof t=="string"?{sentence:t}:{sentence:a.context||a.sentence||"",contextCode:a.contextCode||a.context_code}}):Array.isArray(e.sentences)?e.sentences.map(t=>{const a=t;return typeof t=="string"?{sentence:t}:{sentence:a.sentence||a.context||"",contextCode:a.contextCode}}):Array.isArray(e.contexts)?e.contexts:e.contextCode?[{contextCode:e.contextCode}]:[]:[]}const a1=l.createContext(null);function rA(){const e=l.useContext(a1);if(!e)throw new Error("useTrainingPagePopupContext must be used inside TrainingPagePopup");return e}function nA({index:e,stepIndex:t,isLast:a=!1,title:o,choices:n=[],onDone:i,onChange:s}){const{t:c}=Ce.useTranslation(),d=typeof e=="number"?e:-1,u=typeof t!="number"?"disabled":d<t?"done":d===t?"active":"disabled",[p,h]=l.useState(()=>n.map(()=>null)),m=JSON.stringify(n),b=n.length;l.useEffect(()=>{h(Array.from({length:b},()=>null))},[m]);const x=l.useRef(void 0);l.useEffect(()=>{const v=x.current;typeof v=="number"&&typeof t=="number"&&typeof e=="number"&&v>=e&&t<e&&h(Array.from({length:b},()=>null)),x.current=t},[t,e,b]);const f=l.useMemo(()=>p.filter(v=>v!==null).length+1,[p]),C=l.useCallback(v=>{if(u!=="active")return;const y=p;let _;if(y[v]!=null){const k=y[v];_=y.map(S=>S!==null&&S>=k?null:S)}else _=[...y],_[v]=f;h(_);const B={selectedOrder:_,words:n,__ts:Date.now()};try{typeof s=="function"&&s(B)}catch{}if(y[v]==null&&_.length>0&&_.every(k=>k!==null))try{typeof i=="function"&&i(B)}catch{}},[u,p,f,s,i,n]),g=o??c("training.selectInOrder","\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.");return r.jsx(Co,{index:e,stepIndex:t,isLast:a,title:g,onDone:i,children:r.jsx("div",{className:"training-step__cards",children:n.map((v,y)=>r.jsx(Oi,{item:{word:v},disabled:u==="disabled",selectable:!0,selected:p[y]!==null,orderRank:p[y],onSelect:()=>C(y),flipDelay:y*120,hideLabel:!1,hideAudio:!0},`${v}-${y}`))})})}function Sn(e){return null}Sn.__isTrainingPage=!0;function Nr(e,t){const a=rA();return{ctx:a,index:e,stepIndex:a.currentStepIndex,isLast:typeof e=="number"&&typeof t=="number"?e===t-1:!1,onDone:o=>a.handleStepDone(o,e),onChange:o=>a.handleStepChange(o,e)}}function $u({_stepIndex:e,_totalSteps:t,...a}){const{index:o,stepIndex:n,isLast:i,onDone:s}=Nr(e,t);return r.jsx(es,{...a,index:o,stepIndex:n,isLast:i,onDone:s})}function Ru({_stepIndex:e,_totalSteps:t,...a}){const{index:o,stepIndex:n,isLast:i,onDone:s,onChange:c}=Nr(e,t);return r.jsx(Ji,{...a,index:o,stepIndex:n,isLast:i,onDone:s,onChange:c})}function Pu({_stepIndex:e,_totalSteps:t,...a}){const{index:o,stepIndex:n,isLast:i,onDone:s,onChange:c}=Nr(e,t);return r.jsx(Qi,{...a,index:o,stepIndex:n,isLast:i,onDone:s,onChange:c})}function zu({_stepIndex:e,_totalSteps:t,...a}){const{index:o,stepIndex:n,isLast:i,onDone:s,onChange:c}=Nr(e,t);return r.jsx(ts,{...a,index:o,stepIndex:n,isLast:i,onDone:s,onChange:c})}function Iu({_stepIndex:e,_totalSteps:t,...a}){const{index:o,stepIndex:n,isLast:i,onDone:s,onChange:c}=Nr(e,t);return r.jsx(Su,{...a,index:o,stepIndex:n,isLast:i,onDone:s,onChange:c})}function iA({_stepIndex:e,_totalSteps:t,...a}){const{index:o,stepIndex:n,isLast:i,onDone:s,onChange:c}=Nr(e,t);return r.jsx(nA,{...a,index:o,stepIndex:n,isLast:i,onDone:s,onChange:c})}var sA=`.ihabdevteam-core-scope .trp-result{display:flex;flex:1;flex-direction:column;min-height:0;padding:0;position:relative}.ihabdevteam-core-scope .popup--training-result .popup-header{padding:var(--spacing-l) var(--spacing-l) 0;position:absolute;right:0;top:0;z-index:1}.ihabdevteam-core-scope .trp-result__head{padding:12px 72px 20px;position:relative;text-align:center}.ihabdevteam-core-scope .trp-result__eyebrow{align-items:center;color:var(--color-main);display:inline-flex;gap:var(--spacing-xs);letter-spacing:.22em;margin:0 0 14px;text-transform:uppercase}.ihabdevteam-core-scope .trp-result__eyebrow:after,.ihabdevteam-core-scope .trp-result__eyebrow:before{background:currentColor;content:"";height:1px;opacity:.35;width:24px}.ihabdevteam-core-scope .trp-result__title{color:var(--color-black);font-size:28px;margin:0}.ihabdevteam-core-scope .trp-result__subtitle{color:var(--color-gray);margin:10px 0 0}.ihabdevteam-core-scope .trp-score{align-items:center;display:flex;flex-direction:column;gap:var(--spacing-m);margin:36px auto 8px}.ihabdevteam-core-scope .trp-score__figure{font-feature-settings:"tnum";align-items:baseline;display:flex;font-variant-numeric:tabular-nums;gap:var(--spacing-s)}.ihabdevteam-core-scope .trp-score__sep,.ihabdevteam-core-scope .trp-score__total{align-self:flex-end;color:var(--color-lightGray);font-size:44px;letter-spacing:-1px;padding-bottom:18px}.ihabdevteam-core-scope .trp-score__big{background:var(--color-main);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:112px;letter-spacing:-5px;line-height:.92}.ihabdevteam-core-scope .trp-result__body{padding:16px 0 0}.ihabdevteam-core-scope .result-table{width:100%}.ihabdevteam-core-scope .result-table__head{grid-gap:var(--spacing-m);border-bottom:1px solid var(--color-whiteLine);color:var(--color-lightGray);display:grid;gap:var(--spacing-m);grid-template-columns:1fr 100px;letter-spacing:.16em;padding:12px 4px 14px;text-transform:uppercase}.ihabdevteam-core-scope .result-table--answer .result-table__head,.ihabdevteam-core-scope .result-table--answer .result-table__row{grid-template-columns:1fr 200px 100px}.ihabdevteam-core-scope .result-table__head .col-right{text-align:center}.ihabdevteam-core-scope .result-table__row{grid-gap:var(--spacing-m);align-items:center;border-bottom:1px solid var(--color-whiteLine);display:grid;gap:var(--spacing-m);grid-template-columns:1fr 100px;padding:22px 4px;transition:background .18s ease}.ihabdevteam-core-scope .result-table__row:hover{background:var(--color-deepWhite)}.ihabdevteam-core-scope .result-table__row:last-child{border-bottom:0}.ihabdevteam-core-scope .trp-row__problem{align-items:baseline;display:flex;gap:10px}.ihabdevteam-core-scope .trp-row__no{font-feature-settings:"tnum";color:var(--color-lightGray);flex-shrink:0;font-variant-numeric:tabular-nums;width:32px}.ihabdevteam-core-scope .trp-row__q{color:var(--color-black);letter-spacing:-.1px}.ihabdevteam-core-scope .trp-row__judge{align-self:center;display:flex;justify-content:center}.ihabdevteam-core-scope .trp-row__answers{align-self:center;display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .trp-row__answer-line{align-items:baseline;display:flex;gap:10px}.ihabdevteam-core-scope .trp-row__answer-label{flex-shrink:0;width:32px}.ihabdevteam-core-scope .trp-row__answer-label.answer-correct{color:var(--color-lightGray)}.ihabdevteam-core-scope .trp-row__answer-label.answer-selected.is-correct{color:var(--color-main)}.ihabdevteam-core-scope .trp-row__answer-label.answer-selected.is-wrong{color:var(--color-error)}.ihabdevteam-core-scope .trp-row__answer-value{color:var(--color-black)}.ihabdevteam-core-scope .trp-row__answer-value.is-correct{color:var(--color-main)}.ihabdevteam-core-scope .trp-row__answer-value.is-wrong{color:var(--color-error)}.ihabdevteam-core-scope .popup-footer.trp-result__foot{align-items:center;background:var(--color-white);display:flex;flex-shrink:0;gap:var(--spacing-s);justify-content:center;padding:var(--spacing-l)}.ihabdevteam-core-scope .trp-actions{display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .popup-footer.trp-result__foot{flex-wrap:wrap}.ihabdevteam-core-scope .trp-actions__reason{flex-basis:100%;margin:0;text-align:center}@keyframes result-rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.ihabdevteam-core-scope .trp-result.is-on{animation:result-rise .5s cubic-bezier(.22,.9,.3,1) both}.ihabdevteam-core-scope .trp-result.is-on .trp-score__big{animation:result-rise .7s cubic-bezier(.22,.9,.3,1) .1s both}.ihabdevteam-core-scope .trp-result.is-on .result-table__row{animation:result-rise .5s cubic-bezier(.22,.9,.3,1) both}.ihabdevteam-core-scope .trp-result.is-on .result-table__row:nth-child(2){animation-delay:.18s}.ihabdevteam-core-scope .trp-result.is-on .result-table__row:nth-child(3){animation-delay:.24s}.ihabdevteam-core-scope .trp-result.is-on .result-table__row:nth-child(4){animation-delay:.3s}.ihabdevteam-core-scope .trp-result.is-on .result-table__row:nth-child(5){animation-delay:.36s}@media (max-width:767px){.ihabdevteam-core-scope .trp-result{padding:0}.ihabdevteam-core-scope .trp-result__head{padding:0 20px 20px}.ihabdevteam-core-scope .trp-result__body{padding:0}.ihabdevteam-core-scope .popup-footer.trp-result__foot{border-top:1px solid var(--color-whiteLine);gap:var(--spacing-xs);padding:var(--spacing-l)}.ihabdevteam-core-scope .trp-actions{display:flex;gap:var(--spacing-xs);width:100%}.ihabdevteam-core-scope .trp-actions>*{flex:1;min-width:0}.ihabdevteam-core-scope .trp-score{gap:10px;margin:20px auto 4px}.ihabdevteam-core-scope .trp-score__big{font-size:72px;letter-spacing:-3px}.ihabdevteam-core-scope .trp-score__sep,.ihabdevteam-core-scope .trp-score__total{font-size:28px;padding-bottom:10px}.ihabdevteam-core-scope .result-table__head{display:none}.ihabdevteam-core-scope .result-table__head,.ihabdevteam-core-scope .result-table__row{gap:var(--spacing-xs);grid-template-columns:1fr auto}.ihabdevteam-core-scope .result-table__row{padding:14px 4px}.ihabdevteam-core-scope .trp-row__judge{justify-content:flex-start}.ihabdevteam-core-scope .result-table--answer .result-table__row{align-items:start;gap:6px;grid-template-columns:1fr;grid-template-rows:auto auto auto;padding:14px 4px}.ihabdevteam-core-scope .result-table--answer .trp-row__judge{grid-row:1;justify-content:flex-start}.ihabdevteam-core-scope .result-table--answer .trp-row__problem{grid-row:2}.ihabdevteam-core-scope .result-table--answer .trp-row__answers{grid-row:3}
1061
1061
  /* !important \uD544\uC694 \u2014 TrainingResultPopup.tsx\uAC00 Badge\uC5D0 minWidth={80}\uC744 \uC778\uB77C\uC778\uC73C\uB85C
1062
- \uC804\uB2EC\uD558\uBBC0\uB85C(\uCF54\uB4DC \uD655\uC778\uB428) \uBAA8\uBC14\uC77C\uC5D0\uC11C \uC790\uC5F0 \uD3ED\uC73C\uB85C \uB418\uB3CC\uB9AC\uB824\uBA74 \uD2B9\uC774\uB3C4\uB85C\uB294 \uBD80\uC871. */.ihabdevteam-core-scope .trp-row__judge .badge{min-width:0!important;min-width:auto!important}.ihabdevteam-core-scope .result-table--answer .trp-row__judge .badge{height:26px;padding:0 12px}}`;oe(sA);function Ou(...e){for(const t of e)if(typeof t=="string"){const a=t.trim();if(a.length)return a}else{if(typeof t=="number"||typeof t=="boolean")return String(t);if(Array.isArray(t)&&t.length)return t.join(", ");if(t&&typeof t=="object"){const a=t,o=[a.text,a.label,a.value];for(const n of o){if(typeof n=="string"&&n.trim().length)return n.trim();if(typeof n=="number"||typeof n=="boolean")return String(n)}}}return null}function lA(e){return Ou(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function o1(e){if(!e)return;if(typeof e.decision=="boolean")return e.decision;if(typeof e.correct=="boolean")return e.correct;if(typeof e.heard=="boolean")return e.heard;if(typeof e.judgement=="boolean")return e.judgement;const t=Ou(e?.status,e?.result,e?.judge,e?.note);if(t){const a=t.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(o=>a.includes(o)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(o=>a.includes(o)))return!1}}function Fu(e){const{score:t,contextsLength:a,results:o=[],subtitle:n,onReplay:i,onClose:s,inline:c=!1,pending:d=!1}=e||{},{t:u}=Ce.useTranslation(),p=l.useId(),h=l.useCallback(()=>!d,[d]);l.useEffect(()=>{const v=a??0;if(t!=null&&v>0&&t/v>.5){const y=window.setTimeout(()=>{window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},0);return()=>window.clearTimeout(y)}},[t,a]);const m=l.useCallback(v=>{const y=o1(v),_=Ou(v?.wording,v?.label);return y===!0?{variant:"main",label:_??u("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:y===!1?{variant:"danger",label:_??u("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:_??u("training.result.notJudged","\uBBF8\uD310\uC815")}},[u]),b=a??0,x=t??0,f=l.useMemo(()=>Array.isArray(o)?o:[],[o]),C=l.useMemo(()=>f.map(v=>{const y=v??{},_=lA(y)||u("training.result.noContent","(\uB0B4\uC6A9\uC5C6\uC74C)"),{variant:B,label:k}=m(y),S=Array.isArray(y.corrects)?y.corrects:[],w=S.length?S.join(", "):y.answer!=null&&y.answer!==""?String(y.answer):null,A=typeof y.selectedText=="string"?y.selectedText:null,E=o1(y)===!0;return{problem:_,variant:B,label:k,answer:w,selectedText:A,isCorrect:E}}),[f,m,u]),g=l.useMemo(()=>C.some(v=>v.answer!==null||v.selectedText!==null),[C]);return r.jsx(eo,{onClose:s,closeOnBackdrop:!1,inline:c,ariaLabel:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",beforeClose:h,footerClassName:"trp-result__foot",footer:({animateThen:v,closeWithAnimation:y})=>r.jsxs(r.Fragment,{children:[d&&r.jsx("p",{id:p,className:"trp-actions__reason caption-1",role:"status",children:u("training.result.pendingDone","\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.")}),r.jsxs("div",{className:"trp-actions",children:[r.jsx(he,{htmlType:"button",size:56,type:"bar",label:u("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>v(i)}),r.jsx(he,{htmlType:"button",size:56,type:"bar",label:u("training.result.done","\uC644\uB8CC"),variant:"main",onClick:y,disabled:d,onDisabledClick:d?()=>{}:void 0,"aria-describedby":d?p:void 0})]})]}),children:()=>r.jsxs("div",{className:"trp-result is-on",children:[r.jsxs("header",{className:"trp-result__head",children:[r.jsx("p",{className:"trp-result__eyebrow caption-1",children:u("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),r.jsx("h1",{className:"trp-result__title h2",children:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),n&&r.jsx("p",{className:"trp-result__subtitle body-3",children:n}),r.jsx("div",{className:"trp-score",children:r.jsxs("div",{className:"trp-score__figure","aria-label":u("training.result.scoreAria",{correct:x,total:b}),children:[r.jsx("span",{className:"trp-score__big",children:x}),r.jsx("span",{className:"trp-score__sep",children:"/"}),r.jsx("span",{className:"trp-score__total",children:b})]})})]}),C.length>0&&r.jsx("section",{className:"trp-result__body",children:r.jsxs("div",{className:`result-table${g?" result-table--answer":""}`,role:"table","aria-label":u("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[r.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[r.jsx("span",{role:"columnheader",children:u("common.col.problem","\uBB38\uC81C")}),g&&r.jsx("span",{role:"columnheader",children:u("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),r.jsx("span",{className:"col-right",role:"columnheader",children:u("training.result.colJudge","\uD310\uC815")})]}),C.map((v,y)=>r.jsxs("div",{className:"result-table__row",role:"row",children:[r.jsxs("div",{className:"trp-row__problem",children:[r.jsx("span",{className:"trp-row__no caption-1",children:String(y+1).padStart(2,"0")}),r.jsx("div",{className:"trp-row__q body-2",children:v.problem})]}),g&&r.jsxs("div",{className:"trp-row__answers",children:[v.answer!==null&&r.jsxs("div",{className:"trp-row__answer-line",children:[r.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:u("training.result.colAnswer","\uC815\uB2F5")}),r.jsx("span",{className:"trp-row__answer-value body-2",children:v.answer})]}),r.jsxs("div",{className:"trp-row__answer-line",children:[r.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${v.isCorrect?"is-correct":"is-wrong"}`,children:u("training.result.colSelected","\uC120\uD0DD")}),r.jsx("span",{className:`trp-row__answer-value body-2 ${v.isCorrect?"is-correct":"is-wrong"}`,children:v.selectedText??"\u2014"})]})]}),r.jsx("div",{className:"trp-row__judge",children:r.jsx(_t,{variant:v.variant,label:v.label,fill:"soft",minWidth:80})})]},y))]})})]})})}function cA(e){l.useEffect(()=>{if(!e)return;const t=()=>typeof document>"u"||document.visibilityState!=="hidden";let a=null,o=null,n=0,i=0;const s=()=>{const p=Date.now();a==null&&(a=p),o==null&&(o=p)},c=()=>{o!=null&&(n+=Date.now()-o,o=null)};t()&&s();const d=()=>{if(c(),a==null||n-i<1e3||i===0&&n<5e3)return;const p=a+i;i=n,Ll({trainingType:e,startedAt:new Date(p).toISOString(),endedAt:new Date(a+n).toISOString()})},u=()=>{t()?s():d()};return typeof document<"u"&&document.addEventListener("visibilitychange",u),typeof window<"u"&&window.addEventListener("pagehide",d),()=>{typeof document<"u"&&document.removeEventListener("visibilitychange",u),typeof window<"u"&&window.removeEventListener("pagehide",d),d()}},[e])}function Hu(e,t){return e&&e.id||`page-${t??0}`}function Vu(e,t){return e&&e.key||`step-${t??0}`}function os(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function dA(e,t){return typeof e?.props=="function"?e.props(t)||{}:e?.props||{}}const uA=300,pA=()=>{try{return typeof window<"u"&&!!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches}catch{return!1}},_o=Object.freeze({}),r1=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]);function n1(e){const t=e,a=t?.results||t?.answers||[],o=Array.isArray(a)&&a.length>0?a.length:null,n=Array.isArray(a)?a.filter(i=>i?.correct===!0||i?.isCorrect===!0||i?.score===1||i?.heard===!0||i?.judgement===!0).length:null;return{results:a,correct:o!=null?n:null,total:o}}const hA=e=>r.jsx(Fu,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose,pending:e.pending});function mA(e){const{scenario:t,title:a,subTitle:o,depth:n,icon:i,wrapperStyle:s,iconTooltip:c,pageIndex:d,pageCount:u,stepIndex:p,stepCount:h,onBack:m,onComplete:b,onNext:x,onSettings:f,useNoiseSetting:C=!0,children:g,ariaLabel:v,label:y,buildResults:_,onResult:B,typeKey:k,entryPoint:S,dailyTotal:w,itemRef:A,renderResultPopup:E,noiseOverride:L}=e;cA(k&&!r1.has(k)?k:"");const z=l.useRef(0);l.useEffect(()=>{z.current=Date.now()},[]);const{t:j}=Ce.useTranslation(),I=B,D=!!t,T=t?.id||null,O=t?.meta||{},G=Array.isArray(t?.pages)?t.pages:[],Z=Array.isArray(g)||l.isValidElement(g)&&typeof g!="function"?l.Children.toArray(g).filter(l.isValidElement):[],H=Z.length>0,V=de=>de===Sn||de?.__isTrainingPage===!0,q=H&&Z.some(de=>V(de.type)),$=q?Z.filter(de=>V(de.type)).map((de,Be)=>{const K=de.props||{};return{id:`children-page-${Be}`,steps:l.Children.toArray(K.children).filter(l.isValidElement),pageTop:K.pageTop||K.top||null,pageBottom:K.pageBottom||K.bottom||null}}):[{id:"children-page-0",steps:Z}],N=H&&!D&&typeof g!="function",F=N?Math.max(1,$.length):0;l.useEffect(()=>{if(!(typeof document>"u"||!document.body)&&!document.body.classList.contains("ihabdevteam-core-scope"))return document.body.classList.add("ihabdevteam-core-scope"),()=>{document.body.classList.remove("ihabdevteam-core-scope")}},[]),l.useEffect(()=>{if(typeof document>"u"||!document.body)return;const de=document.body;return de.dataset.ihabTrainingPopupCount=String(Number(de.dataset.ihabTrainingPopupCount||"0")+1),de.classList.add("ihab-training-popup-open"),()=>{const Be=Number(de.dataset.ihabTrainingPopupCount||"1")-1;Be>0?de.dataset.ihabTrainingPopupCount=String(Be):(delete de.dataset.ihabTrainingPopupCount,de.classList.remove("ihab-training-popup-open"))}},[]),l.useEffect(()=>{if(!(typeof document>"u"||!document.body))return m6()},[]);const[R,W]=l.useState({...Ar,enabled:!1}),P=l.useRef(R);l.useEffect(()=>{P.current=R},[R]);const Q=l.useRef(L),ee=l.useRef(!1),Y=l.useRef(null);l.useEffect(()=>{let de=!1;const Be=K=>{if(de)return;ee.current=!0;const pe=K?Br({...Ar,enabled:!1},K):{...Ar},me=Y.current;Y.current=null;const Se=me?Br(pe,me):pe;P.current=Se,W(Se),me&&!Q.current&&Yn(Se),ir(Se);const Ee=Q.current;if(Ee){const Re=typeof Ee=="function"?Ee(Se):Ee,nt=Br(Se,Re);P.current=nt,W(nt),ir(nt)}};return Pl().then(Be),()=>{de=!0}},[]);const[ne,ie]=l.useState(null),[se,ce]=l.useState(null),U=l.useCallback((de,Be)=>{de==="main"?ie(Be):ce(Be)},[]),le=l.useRef(null),be=l.useRef(null),ye=l.useCallback(()=>{be.current!==null&&(clearTimeout(be.current),be.current=null);const de=le.current;le.current=null,de&&Yn(de)},[]);l.useEffect(()=>{if(typeof window>"u")return;const de=()=>{document.visibilityState==="hidden"&&ye()};return window.addEventListener("pagehide",ye),document.addEventListener("visibilitychange",de),()=>{window.removeEventListener("pagehide",ye),document.removeEventListener("visibilitychange",de),ye()}},[ye]);const xe=l.useCallback(de=>{const Be=Br(P.current,de);if(P.current=Be,W(Be),!ee.current){Y.current={...Y.current??{},...de},ir(Be);return}Q.current||(le.current=Be,be.current!==null&&clearTimeout(be.current),be.current=setTimeout(ye,uA)),ir(Be)},[ye]),ue=R.mainSpeed,_e=R.mainVolume,Ae=l.useCallback(de=>xe({mainSpeed:de}),[xe]),X=l.useCallback(de=>xe({mainVolume:de}),[xe]),we=l.useMemo(()=>({settings:R,setSettings:xe,registerAnalyser:U,mainAnalyser:ne,noiseAnalyser:se,playbackRate:ue,setPlaybackRate:Ae,mainVolume:_e,setMainVolume:X}),[R,xe,U,ne,se,ue,Ae,_e,X]),fe=l.useRef(null),[ae,ge]=l.useState(0),Me=l.useRef([]),[$e,Ye]=l.useState("center"),[ze,Ue]=l.useState(!1),re=l.useRef(!1),Oe=l.useRef(null),Fe=l.useCallback(de=>{re.current||(re.current=!0,Ue(!0),Oe.current=setTimeout(()=>{try{de()}catch{re.current=!1,Ue(!1)}},pA()?0:qB))},[]);l.useEffect(()=>()=>{Oe.current&&clearTimeout(Oe.current)},[]);const Ze=l.useRef(m);l.useEffect(()=>{Ze.current=m}),l.useEffect(()=>{const de=fe.current,Be=document.activeElement;if(cc(de,Be),de){const K=Array.from(de.querySelectorAll(Xa)).filter(pe=>!pe.closest('[aria-hidden="true"]'))[0];if(K)try{K.focus()}catch{}}return()=>{const K=document.activeElement;if(!K||K===document.body||de&&de.contains(K))try{dc(Be)?.focus?.()}catch{}}},[]),l.useEffect(()=>Ro(()=>Fe(()=>{const de=Ze.current;typeof de=="function"&&de()})),[Fe]),sc(fe,!0);const[Qe,De]=l.useState(!1),Le=l.useRef(!1),[ke,Ie]=l.useState(null),pt=l.useRef(0),Lt=()=>{pt.current+=1,Ie(null)},[Yt,At]=l.useState(""),[ct,ot]=l.useState(()=>os()),et=l.useRef(typeof d=="number"?d:null);l.useEffect(()=>{!D&&!N||(ot(os()),Lt())},[D,T,N]),l.useEffect(()=>{N&&ot(de=>{const Be=Math.max(0,Math.min(de.pageIndex,Math.max(0,F-1)));return Be!==de.pageIndex?{...de,pageIndex:Be,stepIndex:0}:de})},[N,F]);const lt=N?Math.max(0,Math.min(ct.pageIndex,F-1)):0,Ke=N?$[lt]:null,dt=N&&Ke&&Array.isArray(Ke.steps)?Ke.steps:[],Xe=D?ct.pageIndex:N?lt:typeof d=="number"?d:0,yt=D?G[Math.max(0,Math.min(ct.pageIndex,Math.max(0,G.length-1)))]:null,Ot=D&&yt&&Array.isArray(yt.steps)?yt.steps:[],Mt=D?Ot.length:N?dt.length:typeof h=="number"?h:0,vt=D||N?Math.max(0,Math.min(ct.stepIndex,Math.max(0,Mt))):typeof p=="number"?p:0,ut=D?G.length:N?F:typeof u=="number"?u:0;l.useLayoutEffect(()=>{const de=et.current;if(typeof Xe=="number"&&de!==null&&Xe!==de&&Xe>de)try{At(j("training.problemNotice",{n:Xe+1}))}catch{}et.current=typeof Xe=="number"?Xe:et.current},[Xe,d,j]),l.useLayoutEffect(()=>{const de=fe.current;if(!de)return;const Be=()=>de.querySelector(".page-popup__scroll");let K=null,pe=null,me=null;const Se=ht=>{const St=Be();if(!St)return;const Kt=St.scrollHeight<=St.clientHeight;if(Ye(Kt?"center":"top"),ht&&!Le.current){Le.current=!0;try{De(!0)}catch{}try{nt.disconnect()}catch{}}},Ee=()=>{K!==null&&cancelAnimationFrame(K),K=requestAnimationFrame(()=>{pe!==null&&clearTimeout(pe),pe=setTimeout(()=>Se(!0),60)})},Re=()=>{me!==null&&cancelAnimationFrame(me),me=requestAnimationFrame(()=>Se(!1))};Ee(),window.addEventListener("resize",Re);const nt=new MutationObserver(Ee);nt.observe(de,{childList:!0,subtree:!0,attributes:!0});const wt=setTimeout(()=>{Le.current||Se(!0)},400);return()=>{window.removeEventListener("resize",Re),K!==null&&cancelAnimationFrame(K),pe!==null&&clearTimeout(pe),me!==null&&cancelAnimationFrame(me),clearTimeout(wt);try{nt.disconnect()}catch{}}},[fe]);const Ve=l.useCallback(de=>{fe.current&&(fe.current._childOnNext=de)},[]),rt=l.useCallback(de=>{fe.current&&(fe.current._childOnResult=de)},[]),xt=l.useCallback((de,Be,K)=>{ot(pe=>{const me=pe.answersByPage[de]||{},Se=me[Be],Ee=as(K),Re=as(Se);return Se&&Re>Ee?pe:{...pe,answersByPage:{...pe.answersByPage,[de]:{...me,[Be]:K}}}})},[ot]),Xt=l.useCallback((de,Be,K)=>{const pe=Hu(yt,Xe),me=Vu(de,Be);xt(pe,me,K)},[yt,Xe,xt]),at=l.useCallback((de,Be,K)=>{const pe=Hu(yt,Xe),me=Vu(de,Be);xt(pe,me,K),!K?.allowChange&&de?.autoAdvance!==!1&&ot(Se=>({...Se,stepIndex:Math.max(Se.stepIndex,Be+1)}))},[yt,Xe,xt,ot]),Ft=l.useCallback((de,Be)=>{const K=Ke?.id||`children-page-${Xe??0}`,pe=typeof Be=="number"?Be:vt??0,me=`step-${pe}`;xt(K,me,de),de?.allowChange||ot(Se=>({...Se,stepIndex:Math.max(Se.stepIndex,pe+1)}))},[Ke,Xe,vt,xt,ot]),sa=l.useCallback((de,Be)=>{const K=Ke?.id||`children-page-${Xe??0}`,pe=`step-${typeof Be=="number"?Be:vt??0}`;xt(K,pe,de)},[Ke,Xe,vt,xt]),Ht=N?{currentPageIndex:Xe??0,currentStepIndex:vt??0,totalStepsInPage:dt.length,handleStepDone:Ft,handleStepChange:sa}:null,Sa=async()=>{const de=typeof t?.buildResults=="function"?await Promise.resolve(t.buildResults({scenario:t,pages:G,flowState:ct,answersByPage:ct.answersByPage})):null;return typeof I=="function"&&await Promise.resolve(I(de))||de},Ea=async()=>{const de=Ke?.id||`children-page-${ct.pageIndex}`,Be=ct.answersByPage[de]||{},K=q?(()=>{const Se={};let Ee=0;return $.forEach(Re=>{const nt=ct.answersByPage[Re.id]||{},wt=Array.isArray(Re.steps)?Re.steps.length:0;for(let ht=0;ht<wt;ht+=1){const St=nt[`step-${ht}`];typeof St<"u"&&(Se[`step-${Ee+ht}`]=St)}Ee+=wt}),Se})():Be;if(typeof _=="function"){const Se=await Promise.resolve(_(K,{pageAnswers:Be,answersByPage:ct.answersByPage,pages:$,currentPageId:de}));return typeof I=="function"&&await Promise.resolve(I(Se))||Se}const pe=Object.entries(Be).map(([Se,Ee],Re)=>({index:Re,key:Se,payload:Ee})),me={results:pe,answers:pe,score:0};return typeof I=="function"&&await Promise.resolve(I(me))||me},Na=()=>{const de=++pt.current,Be=()=>de!==pt.current;try{if(typeof document<"u"&&document.body){try{document.dispatchEvent(new CustomEvent("speechear-close-tooltips"))}catch{}document.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0})),document.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}}catch{}if(D){const me=Sa();Ie(_o);const Se=me;Promise.resolve(Se).then(Ee=>{Be()||Ie(Ee||{isEmpty:!0})}).catch(Ee=>{!Be()&&Ie({isEmpty:!0})});return}if(N){const me=Ea();Ie(_o);const Se=me;Promise.resolve(Se).then(Ee=>{Be()||Ie(Ee||{isEmpty:!0})}).catch(Ee=>{!Be()&&Ie({isEmpty:!0})});return}const K=fe.current&&fe.current._childOnResult,pe=me=>{try{return me?me():void 0}catch{return}};if(typeof K=="function"){const me=pe(K);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}me&&typeof me.then!="function"?Ie(me):Ie(me&&typeof me.then=="function"?_o:{});const Se=()=>{Be()||Ie(Ee=>Ee===_o?{}:Ee)};Promise.resolve(me).then(Ee=>{Ee&&!Be()?Ie(Ee):Se()}).catch(Ee=>{Se()});return}if(typeof I=="function"){const me=pe(I);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}me&&typeof me.then!="function"?Ie(me):Ie(me&&typeof me.then=="function"?_o:{});const Se=()=>{Be()||Ie(Ee=>Ee===_o?{}:Ee)};Promise.resolve(me).then(Ee=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}Ee&&!Be()?Ie(Ee):Se()}).catch(Ee=>{console.error("viewResults external handler failed",Ee),Se()});return}},yo=()=>{if(D){if(typeof Xe=="number"&&typeof ut=="number"&&Xe<ut-1){ot(Be=>({...Be,pageIndex:Be.pageIndex+1,stepIndex:0}));return}return Na()}if(N){const Be=dt.length;if(typeof vt=="number"&&vt<Be-1){ot(K=>({...K,stepIndex:K.stepIndex+1}));return}if(typeof Xe=="number"&&typeof ut=="number"&&Xe<ut-1){ot(K=>({...K,pageIndex:K.pageIndex+1,stepIndex:0}));return}return Na()}if(typeof x=="function"){try{x()}catch{}return}const de=fe.current&&fe.current._childOnNext;if(typeof de=="function"){try{de()}catch{}return}},Da=D?O.title||O.label||v||j("common.popup","\uD31D\uC5C5"):a||y||(Array.isArray(n)?n[n.length-1]:void 0)||v||j("common.popup","\uD31D\uC5C5"),wo=v||Da,oo=D?O.title??O.label??Da:a??y??Da,$t=(de,Be)=>{const K=Hu(yt,Xe),pe=Vu(de,Be),me=ct.answersByPage[K]?.[pe],Se=dA(de,{page:yt,pageIndex:Xe,step:de,stepIndex:Be,storedPayload:me,answersByPage:ct.answersByPage,flowState:ct}),Ee={key:pe,index:Be,stepIndex:vt,isLast:Be===Ot.length-1};switch(de?.type){case"listen":return r.jsx(es,{...Ee,...Se,onDone:Re=>at(de,Be,Re)});case"confirm":return r.jsx(Ji,{...Ee,...Se,onDone:Re=>at(de,Be,Re),onChange:Re=>Xt(de,Be,Re)});case"confirmWithText":return r.jsx(Qi,{...Ee,...Se,onDone:Re=>at(de,Be,Re),onChange:Re=>Xt(de,Be,Re)});case"orderList":return r.jsx(ts,{...Ee,...Se,onDone:Re=>at(de,Be,Re),onChange:Re=>Xt(de,Be,Re)});default:return null}},Ha=l.useRef(void 0);l.useEffect(()=>{const de=Ha.current;if(Ha.current=Xe,de===void 0||de===Xe||!zi())return;const Be=fe.current;if(!Be)return;const K=document.activeElement;if(!(!K||K===document.body||!Be.contains(K)||K.disabled===!0))return;const pe=Be.querySelector(`.training-steps ${Xa.split(", ").join(", .training-steps ")}`)??Array.from(Be.querySelectorAll(Xa)).find(me=>!me.closest('[aria-hidden="true"]'));try{pe?.focus()}catch{}},[Xe]);const Jt=D?G.length>0?r.jsx("div",{className:"training-steps",children:Ot.map((de,Be)=>$t(de,Be))},`replay-${ae}`):r.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:r.jsx("div",{className:"pp-empty",children:t?.emptyMessage||j("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,la=N?r.jsxs(a1.Provider,{value:Ht,children:[Ke?.pageTop?r.jsx("div",{className:"training-page-top",children:Ke.pageTop}):null,r.jsx("div",{className:"training-steps",children:dt.map((de,Be)=>{const K=de;return l.cloneElement(K,{...K.props,_stepIndex:Be,_totalSteps:dt.length,_stepKey:`step-${Be}`,_pageIndex:Xe})})},`replay-${ae}`),Ke?.pageBottom?r.jsx("div",{className:"training-page-bottom",children:Ke.pageBottom}):null]}):null,Va=l.useCallback(()=>{let de;if(k){const Be=ke,{results:K,correct:pe,total:me}=n1(ke);Ml({items:Rl(K),category:r1.has(k)?"sentence":"word",trainingType:k,entryPoint:S??"sentence",itemRef:A??null,correct:pe,total:me,score:typeof Be?.score=="number"?Be.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-z.current)/1e3)),dailyTotal:w??null}),de={correct:pe,total:me,attempt:Me.current.length+1,previousAttempts:[...Me.current]}}Lt(),Fe(()=>{typeof b=="function"&&b(de),typeof m=="function"&&m()})},[b,m,k,S,w,A,ke,Ie,Fe]),ha=l.useCallback(()=>At(""),[At]),Wa=l.useCallback(()=>{Fe(()=>{typeof m=="function"&&m()})},[m,Fe]),ko=r.jsxs("div",{className:`page-popup${ze?" page-popup--closing":""}`,role:"dialog","aria-modal":"true","aria-label":wo,children:[r.jsxs("div",{ref:fe,className:`page-popup__panel ${Qe?"":"page-popup__panel--measuring"} ${$e==="center"?"page-popup__panel--center":$e==="top"?"page-popup__panel--top":""}`,children:[r.jsx(ju,{title:oo,subtitle:D?O.subtitle||O.label:Array.isArray(n)?n.join(" / "):void 0,desc:D?void 0:o,depth:D?O.depth:n,icon:D?O.icon:i,wrapperStyle:D?O.wrapperStyle:s,iconTooltip:D?O.iconTooltip:c,progressMax:ut,progressIndex:Xe,pageIndex:Xe,pageCount:ut,onBack:Wa,onClose:Wa}),r.jsx("div",{className:"page-popup__scroll",children:r.jsx("div",{className:`page-popup__content ${$e==="center"?"page-popup__content--center":"page-popup__content--top"}${e.contentFull?" page-popup__content--full":""}`,children:N?la:D?Jt:typeof g=="function"?g({registerOnNext:Ve,registerOnResult:rt,panelRef:fe,setResultOverlay:Ie}):g})}),r.jsx(Tu,{onSettings:f,onNext:yo,onResult:Na,useNoiseSettingBtn:!!(D?O.useNoiseSetting??!0:C),stepIndex:vt,stepCount:Mt,pageIndex:Xe,pageCount:ut,resultOpen:!!(ke&&!ke.isEmpty)})]}),ke&&!ke.isEmpty&&(E??hA)({score:ke.score,results:ke.results||ke.answers||[],contextsLength:ke.results?ke.results.length:ke.answers?ke.answers.length:0,onReplay:()=>{if(z.current=Date.now(),ke!==_o){const{correct:de,total:Be}=n1(ke);Me.current.push({correct:de,total:Be})}if(Lt(),ge(de=>de+1),D){if(ot(os()),typeof t?.onReplay=="function")try{t.onReplay()}catch{}return}if(N){ot(os());return}try{const de=fe.current&&fe.current._childOnResult;typeof de=="function"&&de({replay:!0})}catch{}},onClose:Va,pending:ke===_o}),ke?.isEmpty&&r.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:r.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[r.jsx("div",{className:"page-popup__scroll",children:r.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:r.jsx("div",{className:"page-popup__empty",children:j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),r.jsx("div",{className:"page-popup__bottom",children:r.jsx(he,{htmlType:"button",variant:"main",size:48,onClick:Va,label:j("training.result.done","\uC644\uB8CC")})})]})}),r.jsx(Fo,{message:Yt,position:"top",onClose:ha})]}),Ga=r.jsx(Ki.Provider,{value:we,children:ko});return typeof document<"u"&&document.body?ca.createPortal(Ga,document.body):Ga}const ao=mA;ao.Page=Sn,ao.ListenStep=$u,ao.ConfirmStep=Ru,ao.ConfirmWithTextStep=Pu,ao.OrderListStep=zu,ao.CardStep=Iu,ao.CardOrderStep=iA;var bA=".ihabdevteam-core-scope .word-search-result-block__actions{display:flex;gap:var(--spacing-xs);justify-content:center}.ihabdevteam-core-scope .word-search-result-block__toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:flex-end}.ihabdevteam-core-scope .word-search-result-block__inner{background:var(--color-white);border:1px solid var(--color-darkWhite);border-radius:var(--radius-m);display:flex;flex-direction:column;gap:var(--spacing-m);padding:var(--spacing-l)}.ihabdevteam-core-scope .word-search-result-block__head{align-items:center;-moz-column-gap:var(--spacing-xs);column-gap:var(--spacing-xs);display:flex;flex-wrap:wrap;row-gap:0}.ihabdevteam-core-scope .word-search-result-block__head-main{align-items:center;display:flex;gap:var(--spacing-xs);min-width:0}.ihabdevteam-core-scope .word-search-result-block__head-icon{color:var(--color-gray);flex-shrink:0}.ihabdevteam-core-scope .word-search-result-block__title{min-width:0;text-align:left}.ihabdevteam-core-scope .word-search-result-block__head-actions{align-items:center;display:flex;gap:var(--spacing-xs);margin-left:auto}.ihabdevteam-core-scope .word-search-result-block__head-disc{color:var(--color-gray);flex:0 0 100%;margin:0;min-width:0}.ihabdevteam-core-scope .word-search-result-block__inner:has(+.word-search-result-block__actions:not(:empty)){margin-bottom:var(--spacing-content)}.ihabdevteam-core-scope .word-search-result-block__items{grid-gap:var(--spacing-xs);display:grid;gap:var(--spacing-xs);grid-template-columns:repeat(auto-fill,200px);justify-content:center}.ihabdevteam-core-scope .word-search-result-block__items .button__label-text,.ihabdevteam-core-scope .word-search-result-block__items .button__sub-label-text{white-space:nowrap;word-break:keep-all}.ihabdevteam-core-scope .word-search-result-block__items .button__label:has(.button__label-text:nth-child(4)){gap:4px 10px;grid-auto-columns:auto;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}.ihabdevteam-core-scope .word-search-result-block__items .button-word:has(.button__label-text:nth-child(4)){height:auto;min-height:72px;padding-bottom:8px;padding-top:8px}@media (max-width:767px){.ihabdevteam-core-scope .word-search-result-block__items{grid-template-columns:repeat(2,1fr);justify-content:normal}.ihabdevteam-core-scope .word-search-result-block__items .button{min-width:0!important;width:100%}}.ihabdevteam-core-scope .word-search-result-block__empty{color:var(--color-gray);margin:0;padding:24px 0;text-align:center}.ihabdevteam-core-scope .word-search-result-block__group{display:flex;flex-direction:column;gap:10px}.ihabdevteam-core-scope .word-search-result-block__group+.word-search-result-block__group{border-top:1px solid var(--color-darkWhite);margin-top:var(--spacing-l);padding-top:var(--spacing-l)}.ihabdevteam-core-scope .word-search-result-block__pagination-bottom{display:flex;justify-content:center;margin-top:16px}.ihabdevteam-core-scope .word-search-result-block__empty-wrap{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--spacing-xs,8px)}.ihabdevteam-core-scope .word-search-result-block__empty-hint{color:var(--color-sub);line-height:1.6;max-width:34em;text-align:center}";oe(bA);var gA='.ihabdevteam-core-scope .tooltip-word-image{background:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:var(--spacing-s);position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-word-image__cells{display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .tooltip-word-image__cell{background:#f5f5f5;background:var(--color-white,#f5f5f5);border-radius:var(--radius-card);flex-shrink:0;height:120px;overflow:hidden;position:relative;width:120px}.ihabdevteam-core-scope .tooltip-word-image__cell img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;transition:opacity .2s;width:100%}.ihabdevteam-core-scope .tooltip-word-image__spinner{align-items:center;display:flex;inset:0;justify-content:center;position:absolute}.ihabdevteam-core-scope .tooltip-word-image__spinner:after{animation:tooltip-spin .7s linear infinite;border:3px solid #e0e0e0;border-radius:50%;border-top:3px solid var(--color-white,#e0e0e0);border:3px solid var(--color-white,#e0e0e0);border-top-color:var(--color-main,#4f6ef7);content:"";height:24px;width:24px}@keyframes tooltip-spin{to{transform:rotate(1turn)}}.ihabdevteam-core-scope .tooltip-word-image__cell--text{align-items:center;color:var(--color-black);display:flex;font-weight:700;justify-content:center}';oe(gA);function fA({label:e,homonum:t}){const a=io()?.(e,t)??"",{imgRef:o,loading:n,hasImage:i,onLoad:s,onError:c}=nu(a);return i?r.jsxs("div",{className:"tooltip-word-image__cell",children:[n&&r.jsx("div",{className:"tooltip-word-image__spinner"}),r.jsx("img",{ref:o,src:a,alt:e,draggable:!1,style:{opacity:n?0:1},onLoad:s,onError:c})]}):r.jsx("div",{className:"tooltip-word-image__cell tooltip-word-image__cell--text h3",children:r.jsx("span",{children:e})})}function Wu({words:e,anchorRect:t}){const a=l.useRef(null),[o,n]=l.useState(null);return l.useLayoutEffect(()=>{if(!t||!a.current)return;const{offsetWidth:i,offsetHeight:s}=a.current,c=window.innerWidth;let d=t.left+t.width/2-i/2,u=t.top-s-8;u<8&&(u=t.bottom+8),d=Math.max(8,Math.min(d,c-i-8)),n({left:d,top:u})},[t]),!t||e.length===0?null:ca.createPortal(r.jsx("div",{ref:a,className:"tooltip-word-image",style:{visibility:o?"visible":"hidden",left:o?.left??0,top:o?.top??-9999},children:r.jsx("div",{className:"tooltip-word-image__cells",children:e.map(i=>r.jsx(fA,{label:i.label,homonum:i.homonum},`${i.label}_${i.homonum??1}`))})}),document.body)}const vA=new Intl.Collator("ko");function i1({titleIcon:e,resultCount:t,resultUnit:a,searchQuery:o,items:n,groups:i,selected:s=[],onSelect:c,maxSelect:d,onClearSelection:u,onPrint:p,onPrintEmpty:h,className:m,emptyHint:b,sectionType:x="page",disc:f}){const{t:C,i18n:g}=Ce.useTranslation(),v=g.language?.startsWith("ko")??!1,{anchorRect:y,openAt:_,close:B}=Io(),[k,S]=l.useState(null),w=l.useCallback(()=>{B(),S(null)},[B]);gd(w,!!k);const A=(o??"").trim(),E=/^[^,[\]\s]+$/.test(A)?A:"",L=E.length>0,z=o===void 0&&t===void 0,j=L?"match":z?"original":"ganada",[I,D]=l.useState(()=>j),[T,O]=l.useState("50"),[G,Z]=l.useState(1),[H,V]=l.useState(L);H!==L&&(V(L),D(j));const q=I==="match"&&!L||I==="original"&&!z?j:I,$=l.useMemo(()=>[...L?[{value:"match",label:C("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],...z?[{value:"original",label:C("wordSearch.sort.original",{defaultValue:"\uBC1B\uC740 \uC21C\uC11C"})}]:[],{value:"ganada",label:C("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:C("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:C("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:C("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:C("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:C("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[C,L,z]),N=l.useMemo(()=>["10","25","50","100"].map(ue=>({value:ue,label:C("wordSearch.pageSize",{count:Number(ue),defaultValue:`${ue}\uAC1C\uC529 \uBCF4\uAE30`})})),[C]),F=ue=>ue.words?.[0],R=l.useMemo(()=>{const ue=[...E].length,_e=Ws(E),Ae=new Map;return X=>{let we=Ae.get(X);return we===void 0&&(we=_e((X.words?.[0]?.label??"").slice(0,ue))?0:1,Ae.set(X,we)),we}},[E]),W=l.useCallback((ue,_e)=>{const Ae=fe=>F(fe)?.label??"",X=fe=>F(fe)?.syllables??[...Ae(fe)].length,we=fe=>(fe.words??[]).reduce((ae,ge)=>{const Me=parseInt(ge.grade??"",10);return Number.isFinite(Me)&&Me<ae?Me:ae},999);switch(q){case"match":return R(ue)-R(_e)||vA.compare(Ae(ue),Ae(_e));case"ganada":return Ae(ue).localeCompare(Ae(_e),"ko");case"ganada_desc":return Ae(_e).localeCompare(Ae(ue),"ko");case"syllable":return X(ue)-X(_e)||Ae(ue).localeCompare(Ae(_e),"ko");case"syllable_desc":return X(_e)-X(ue)||Ae(ue).localeCompare(Ae(_e),"ko");case"grade":return we(ue)-we(_e)||Ae(ue).localeCompare(Ae(_e),"ko");case"grade_desc":return we(_e)-we(ue)||Ae(ue).localeCompare(Ae(_e),"ko");default:return 0}},[q,R]),P=l.useMemo(()=>n.slice().sort(W),[n,W]),Q=Number(T)||10,ee=l.useMemo(()=>(i??[]).flatMap(ue=>ue.items.slice().sort(W).map(_e=>({item:_e,label:ue.label}))),[i,W]),Y=i?ee.length:P.length,ne=Math.max(1,Math.ceil(Y/Q)),ie=Math.min(G,ne),se=l.useMemo(()=>P.slice((ie-1)*Q,ie*Q),[P,ie,Q]),ce=l.useMemo(()=>{if(!i)return null;const ue=ee.slice((ie-1)*Q,ie*Q),_e=new Map;for(const{item:Ae,label:X}of ue)_e.has(X)||_e.set(X,[]),_e.get(X).push(Ae);return[..._e.entries()].map(([Ae,X])=>({label:Ae,items:X}))},[i,ee,ie,Q]);l.useEffect(()=>{Z(1)},[I,T,Y,o]);const U=Y>0?r.jsxs("div",{className:"word-search-result-block__toolbar",children:[r.jsx(fa,{size:40,options:$,value:q,onChange:D,ariaLabel:C("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),r.jsx(fa,{size:40,options:N,value:T,onChange:O,ariaLabel:C("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),r.jsx(_n,{page:ie,totalPages:ne,onChange:Z})]}):void 0,le=ue=>{c&&c(ue)},be=t!==void 0&&a?r.jsxs(r.Fragment,{children:[C("wordSearch.resultTitlePrefix","\uCD1D "),r.jsx("span",{style:{color:"var(--color-main)"},children:t}),C("wordSearch.resultTitleSuffix",{unit:v?ul(a):a})]}):void 0,ye=t!==void 0&&t>0&&d!==void 0&&a?C("wordSearch.resultDisc",{unit:v?hl(a):a,max:d,selected:s.length}):void 0,xe=f??ye;return r.jsxs(Ho,{type:x,className:Te("word-search-result-block",m),children:[r.jsxs("div",{className:"word-search-result-block__inner",children:[(be||U||xe)&&r.jsxs("div",{className:"word-search-result-block__head",children:[r.jsxs("div",{className:"word-search-result-block__head-main",children:[e&&r.jsx(Je,{icon:e,className:"word-search-result-block__head-icon"}),be&&r.jsx("span",{className:"word-search-result-block__title h3",children:be})]}),U&&r.jsx("div",{className:"word-search-result-block__head-actions",children:U}),xe&&r.jsx("div",{className:"word-search-result-block__head-disc body-3",children:xe})]}),(i?i.length===0:n.length===0)&&r.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[r.jsx("p",{className:"word-search-result-block__empty body-3",children:C("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),b&&r.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:b})]}),i?(ce??[]).map(ue=>r.jsx("div",{className:"word-search-result-block__group",children:r.jsx("div",{className:"word-search-result-block__items",children:ue.items.map(_e=>{const Ae=s.includes(_e.id);return r.jsx("div",{onMouseEnter:X=>{_(X.currentTarget),S(_e.words??[])},onMouseLeave:w,children:r.jsx(he,{htmlType:"button",size:"word",align:"grid",label:(_e.words??[]).map(X=>X.label),subLabel:(_e.words??[]).some(X=>X.subLabel)?(_e.words??[]).map(X=>X.subLabel):void 0,selected:Ae,onClick:()=>le(_e.id),minWidth:200})},_e.id)})})},ue.label)):r.jsx("div",{className:"word-search-result-block__items",children:se.map(ue=>{const _e=s.includes(ue.id);return r.jsx("div",{onMouseEnter:Ae=>{_(Ae.currentTarget),S(ue.words??[])},onMouseLeave:w,children:r.jsx(he,{htmlType:"button",size:"word",align:"grid",label:(ue.words??[]).map(Ae=>Ae.label),subLabel:(ue.words??[]).some(Ae=>Ae.subLabel)?(ue.words??[]).map(Ae=>Ae.subLabel):void 0,selected:_e,onClick:()=>le(ue.id),minWidth:200})},ue.id)})}),k&&y&&r.jsx(Wu,{words:k,anchorRect:y})]}),ne>1&&r.jsx("div",{className:"word-search-result-block__pagination-bottom",children:r.jsx(_n,{page:ie,totalPages:ne,onChange:Z})}),(u||p)&&r.jsxs("div",{className:"word-search-result-block__actions",children:[u&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:C("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:s.length===0,onClick:s.length===0?void 0:u}),p&&r.jsx("div",{onClick:s.length===0?h:void 0,children:r.jsx(he,{htmlType:"button",size:"56",type:"bar",variant:"main",label:C("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:s.length===0,onClick:s.length===0?void 0:p})})]})]})}var xA='.ihabdevteam-core-scope .phoneme-select-block{align-items:flex-start;flex:1 1 auto;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell{align-items:center;display:flex;flex-direction:column;gap:12px}.ihabdevteam-core-scope .phoneme-select-block__controls{align-items:center;display:flex;flex-direction:row;gap:var(--spacing-xs);justify-content:center;width:100%}@media (max-width:767px){.ihabdevteam-core-scope .phoneme-select-block__controls{align-items:center;flex-direction:column}}.ihabdevteam-core-scope .phoneme-select-block__count-control{align-self:center}.ihabdevteam-core-scope .phoneme-select-block__cell-group{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .phoneme-select-block__cell-vs{align-self:center;color:var(--color-lightGray);margin-bottom:22px;padding:0 16px}.ihabdevteam-core-scope .phoneme-select-block__pair-panels{display:flex;gap:var(--spacing-s);width:100%}.ihabdevteam-core-scope .phoneme-select-block__panel-group{display:flex;flex:1;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .phoneme-select-block__cells{align-items:flex-start;display:flex;gap:var(--spacing-xs);justify-content:center;padding:var(--spacing-m) 0;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-circle{align-items:center;background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);display:flex;height:80px;justify-content:center;position:relative;width:240px}.ihabdevteam-core-scope .phoneme-select-block__cell-index{color:var(--color-gray);line-height:1}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo{align-items:stretch;display:flex;flex-direction:row;height:100%;justify-content:center;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part{align-items:center;color:var(--color-black);display:flex;flex:1;flex-direction:column;gap:4px;justify-content:center;padding-top:3px;position:relative}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--no-label{padding-top:0}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-char.h1{line-height:1}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-char--excluded{color:var(--color-whiteLine);transform:translateY(-2px)}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--empty .phoneme-select-block__cell-jamo-char{transform:translateY(-2px)}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-label{color:var(--color-lightGray);line-height:1}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--empty .phoneme-select-block__cell-jamo-label{color:var(--color-darkWhite)}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part+.phoneme-select-block__cell-jamo-part:before{background:var(--color-whiteLine);content:"";height:20px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:1px}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--empty{color:var(--color-darkWhite)}.ihabdevteam-core-scope .phoneme-select-block__panels{align-items:stretch;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-m);width:100%}.ihabdevteam-core-scope .phoneme-select-block__detail{align-items:flex-start;display:flex;flex-direction:row;gap:var(--spacing-s);justify-content:center}.ihabdevteam-core-scope .phoneme-select-block__detail>.filter-panel{flex:1}.ihabdevteam-core-scope .phoneme-select-block>.filter-panel{align-self:stretch;width:100%}.ihabdevteam-core-scope .phoneme-select-block__controls .button38--bar{min-width:96px}.ihabdevteam-core-scope .phoneme-select-block__required{color:var(--color-main);line-height:1;margin-left:2px}.ihabdevteam-core-scope .phoneme-select-block__before-search{display:flex;justify-content:center;text-align:center;width:100%}.ihabdevteam-core-scope .phoneme-select-block__search-row{display:flex;gap:var(--spacing-xs);justify-content:center;width:100%}.ihabdevteam-core-scope .phoneme-select-block__checking{align-items:center;background:transparent;border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);color:var(--color-disabled);cursor:default;display:flex;gap:10px;height:60px;min-width:198px;padding:0 28px}.ihabdevteam-core-scope .phoneme-select-block__checking-label{white-space:nowrap}.ihabdevteam-core-scope .phoneme-select-block__spinner{animation:phonemeSpinner .7s linear infinite;border:2px solid var(--color-whiteLine);border-radius:50%;border-top-color:var(--color-disabled);flex-shrink:0;height:18px;width:18px}@keyframes phonemeSpinner{to{transform:rotate(1turn)}}@media (max-width:767px){.ihabdevteam-core-scope .phoneme-select-block__detail,.ihabdevteam-core-scope .phoneme-select-block__pair-panels{flex-direction:column}.ihabdevteam-core-scope .phoneme-select-block__detail>.filter-panel{width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-vs{align-self:center;margin-bottom:0;padding:4px 0}.ihabdevteam-core-scope .phoneme-select-block__cells{flex-wrap:wrap}.ihabdevteam-core-scope .phoneme-select-block__cell-group{flex-shrink:0;width:min(240px,100%)}.ihabdevteam-core-scope .phoneme-select-block__cell-group>.phoneme-select-block__cell{flex:1 1 auto;min-width:0;width:auto}.ihabdevteam-core-scope .phoneme-select-block__cell{flex-shrink:0;width:min(240px,100%)}.ihabdevteam-core-scope .phoneme-select-block__cell-circle{height:64px;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part{font-size:24px}}';oe(xA);function CA(e,t){return t.map(a=>{const o=typeof a=="string"?a:a.label,n=typeof a=="string"?void 0:a.displayLabel;return{label:o,value:e[o]??"",displayLabel:n}})}function s1({sections:e,selectedList:t,count:a,onCountChange:o,maxCount:n=4,minCount:i=1,combinationSections:s,combinationSectionsForSlot:c,onSelect:d,placeholder:u="-",className:p,title:h,titleIcon:m,disc:b,showInfoButton:x=!0,onClearPhoneme:f,onSearch:C,onSearchEmpty:g,searchDisabled:v=!1,searchLabel:y,searchChecking:_=!1,pairMode:B=!1,sectionType:k="page",beforeSearchContent:S,beforeContent:w,afterContent:A,hideCountControl:E=!1,ordinal:L=!1}){const{t:z}=Ce.useTranslation(),j=l.useMemo(()=>z("wordPairs.infoNotes",{returnObjects:!0}),[z]),I=l.useMemo(()=>Array.from({length:n-i+1},(R,W)=>{const P=i+W;return{key:String(P),label:z("wordPairs.count",{n:P})}}),[z,n,i]),D=l.useMemo(()=>z("wordPairs.ordinals",{returnObjects:!0}),[z]),T=l.useCallback(R=>L?z("wordPairs.phonemeOrdinalLabel",{ordinal:D[R-1]??R}):a===1?z("wordPairs.phonemeSingleLabel","\uC74C\uC808"):z("wordPairs.phonemeN",{n:R}),[L,D,a,z]),O=l.useCallback(R=>L?z("wordPairs.phonemeContrastOrdinalLabel",{ordinal:D[R-1]??R}):a===1?z("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):z("wordPairs.phonemeContrast",{n:R}),[L,D,a,z]),G=l.useCallback((R,W)=>W?r.jsxs(r.Fragment,{children:[R,r.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):R,[]),{anchorRect:Z,toggleAt:H,close:V}=Io(),q=l.useCallback(R=>o(Number(R)),[o]),$=na("(max-width: 767px)"),N=l.useCallback(R=>CA(R,e).map(({label:W,value:P,displayLabel:Q})=>{const ee=!!P&&P!=="\uC5C6\uC74C";return r.jsxs("span",{className:Te("phoneme-select-block__cell-jamo-part",P?"":"phoneme-select-block__cell-jamo-part--empty",ee?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[r.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${P==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:P==="\uC5C6\uC74C"?"x":P||u}),ee&&r.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:Q??W})]},W)}),[e,u]),F=r.jsxs(r.Fragment,{children:[r.jsx("div",{"data-tooltip-ignore":!0,children:r.jsx(he,{htmlType:"button",size:40,type:$?"dot":void 0,icon:"info",label:$?void 0:z("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),ariaLabel:z("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),className:Z?"is-selected":void 0,"aria-expanded":!!Z,"aria-haspopup":"dialog",onClick:R=>H(R.currentTarget)})}),Z&&r.jsx(go,{title:z("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:j,anchorRect:Z,onClose:V})]});return r.jsxs(Ho,{type:k,title:h,icon:m,disc:b,action:x?F:void 0,className:Te("phoneme-select-block",p),children:[w,!E&&r.jsx("div",{className:"phoneme-select-block__controls",children:r.jsx(Ia,{options:I,value:String(a),onChange:q,size:40,className:"phoneme-select-block__count-control"})}),r.jsx("div",{className:"phoneme-select-block__cells",children:B?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2]??{};return r.jsxs("div",{className:"phoneme-select-block__cell",children:[r.jsx("div",{className:"phoneme-select-block__cell-circle",children:r.jsx("div",{className:"phoneme-select-block__cell-jamo",children:N(P)})}),r.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:T(W+1)})]},W)})}),r.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:z("wordPairs.phonemeSelect.vs","\uB300")}),r.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2+1]??{};return r.jsxs("div",{className:"phoneme-select-block__cell",children:[r.jsx("div",{className:"phoneme-select-block__cell-circle",children:r.jsx("div",{className:"phoneme-select-block__cell-jamo",children:N(P)})}),r.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:O(W+1)})]},W)})})]}):t.map((R,W)=>r.jsxs("div",{className:"phoneme-select-block__cell",children:[r.jsx("div",{className:"phoneme-select-block__cell-circle",children:r.jsx("div",{className:"phoneme-select-block__cell-jamo",children:N(R)})}),r.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:T(W+1)})]},W))}),(s||c)&&r.jsx("div",{className:"phoneme-select-block__panels",children:r.jsx("div",{className:"phoneme-select-block__detail",children:B?r.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[r.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2]??{};return r.jsx(Fa,{title:G(T(W+1),W===0),sections:c?c(P,W*2):s,selected:P,onSelect:d?.(W*2),align:"newline"},W)})}),r.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2+1]??{};return r.jsx(Fa,{title:O(W+1),sections:c?c(P,W*2+1):s,selected:P,onSelect:d?.(W*2+1),align:"newline"},W)})})]}):t.map((R,W)=>r.jsx(Fa,{title:G(T(W+1),W===0),sections:c?c(R,W):s,selected:R,onSelect:d?.(W),align:"newline"},W))})}),S&&r.jsx("div",{className:"phoneme-select-block__before-search",children:S}),(f||C||_)&&(()=>{const R=t.every(W=>Object.entries(W).every(([P,Q])=>!Q||P==="\uC885\uC131"&&Q==="\uC5C6\uC74C"));return r.jsxs("div",{className:"phoneme-select-block__search-row",onClick:R?g:void 0,children:[f&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:z("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:R,onClick:R?void 0:f}),C?r.jsx(he,{htmlType:"button",size:"56",type:"bar",variant:"main",icon:_?r.jsx("span",{className:"phoneme-select-block__spinner","aria-hidden":"true"}):void 0,label:y??z("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:R||v||_,onDisabledClick:_?()=>{}:void 0,"aria-busy":_||void 0,onClick:C}):_?r.jsxs("div",{className:"phoneme-select-block__checking","aria-busy":"true",children:[r.jsx("div",{className:"phoneme-select-block__spinner"}),r.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:y??z("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):null]})})(),A]})}function l1({title:e,sections:t,selected:a,onSelect:o,collapsible:n,defaultCollapsed:i,collapsed:s,onCollapsedChange:c,headerSummary:d,headerAction:u,className:p}){const{t:h}=Ce.useTranslation();return r.jsx(Fa,{className:p,title:e??h("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:t,selected:a,onSelect:o,collapsible:n,defaultCollapsed:i,collapsed:s,onCollapsedChange:c,headerSummary:d,headerAction:u,align:"inline"})}function c1({title:e,headerAction:t,sections:a,selected:o,onSelect:n,className:i}){const{t:s}=Ce.useTranslation();return a.length===0?null:r.jsx(Fa,{className:i,title:e??s("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:t,sections:a,selected:o,onSelect:n,align:"newline"})}function d1({title:e,mode:t,onModeChange:a,matchMode:o,onMatchModeChange:n,positionCount:i,onPositionCountChange:s,inputMode:c,onInputModeChange:d,className:u}){const{t:p}=Ce.useTranslation(),h={searchMode:p("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:p("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:p("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:p("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:p("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:p("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:p("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:p("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:p("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:p("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:p("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=C=>p("wordPairs.count",{n:C}),b=[{label:h.searchMode,items:[h.include,h.pick,h.explicit],display:"segmented",labelAction:r.jsx(vr,{title:p("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[p("wordPairs.mode.infoInclude","\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."),p("wordPairs.mode.infoPick","\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694."),p("wordPairs.mode.infoContrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.")]})},{label:h.phonemeOrder,items:[h.orderAny,h.orderMatch],display:"segmented",labelAction:r.jsx(vr,{items:p("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:h.count,items:[m(1),m(2)],display:"segmented"},{label:h.inputMode,items:[h.charInput,h.pronInput],display:"segmented",labelAction:r.jsx(vr,{title:p("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[p("wordPairs.input.infoChar","\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."),p("wordPairs.input.infoPron","\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.")]})}],x={[h.searchMode]:t==="explicit"?h.explicit:t==="pick"?h.pick:h.include,[h.phonemeOrder]:o==="ordered"?h.orderMatch:h.orderAny,[h.count]:m(i),[h.inputMode]:c==="phoneme"?h.pronInput:h.charInput},f=(C,g)=>{g===h.searchMode?a(C===h.explicit?"explicit":C===h.pick?"pick":"include"):g===h.phonemeOrder?n(C===h.orderMatch?"ordered":"unordered"):g===h.count?s(C===m(2)?2:1):g===h.inputMode&&d(C===h.pronInput?"phoneme":"word")};return r.jsx(Fa,{className:u,title:e??p("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:b,selected:x,onSelect:f,align:"inline"})}var _A=".ihabdevteam-core-scope .popup-list .popup-panel{max-height:calc(100% - 60px);max-width:880px;width:calc(100% - 40px)}.ihabdevteam-core-scope .popup-list .popup-content{display:flex;flex-direction:column;gap:var(--spacing-m);min-height:0;overflow:hidden}.ihabdevteam-core-scope .popup-list .table-wrap{flex:1;min-height:0;overflow-x:auto;overflow-y:auto;overscroll-behavior-y:contain}.ihabdevteam-core-scope .popup-list .table-fields,.ihabdevteam-core-scope .popup-list .table-row{min-width:520px}.ihabdevteam-core-scope .popup-list__row--selected{background:var(--color-deepWhite);color:var(--color-main);font-weight:600}";oe(_A);function u1(e){const{title:t,items:a,columns:o,gridTemplateColumns:n,mobileGridTemplateColumns:i,searchPlaceholder:s,searchFn:c,defaultSortKey:d,defaultSortAsc:u=!0,selectedId:p,selectedIds:h,onSelect:m,onClose:b,pageSizeOptions:x=[10,25,50,100],initialPageSize:f,emptyText:C,countLabel:g,topContent:v,className:y=""}=e,{t:_}=Ce.useTranslation(),B=s??_("common.search","\uAC80\uC0C9"),k=C??_("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),[S,w]=l.useState(""),[A,E]=l.useState(d??o[0]?.key??""),[L,z]=l.useState(u),[j,I]=l.useState(String(f??x[0]??10)),[D,T]=l.useState(1);l.useEffect(()=>{T(1)},[S,j]);const O=c!==null,G=l.useCallback((P,Q)=>{if(!Q)return!0;const ee=Q.toLowerCase();return o.some(Y=>{const ne=P[Y.key];return ne==null?!1:String(ne).toLowerCase().includes(ee)})},[o]),Z=c??G,H=l.useMemo(()=>{const P=O?a.filter(Q=>Z(Q,S)):a;return A?[...P].sort((Q,ee)=>{const Y=Q[A],ne=ee[A];return Y===ne?0:Kc(Y,ne,L)}):P},[a,S,A,L,O,Z]),V=Math.max(1,Math.ceil(H.length/Number(j)));D>V&&T(V);const q=Math.min(D,V),$=H.slice((q-1)*Number(j),q*Number(j)),N=l.useCallback(P=>{A===P?z(Q=>!Q):(E(P),z(!0)),T(1)},[A]),F=l.useMemo(()=>{if(typeof g=="function"){const P=H.length,Q=g(P);if(typeof Q=="string"){const ee=Q.lastIndexOf(String(P));if(ee>=0)return{prefix:Q.slice(0,ee),suffix:Q.slice(ee+String(P).length)}}return{label:Q}}if(typeof g=="string"&&g.includes("{n}")){const[P,Q]=g.split("{n}");return{prefix:P,suffix:Q}}return{prefix:_("common.totalCountPrefix","\uCD1D "),suffix:_("common.totalCountSuffix","\uAC1C")}},[g,H.length,_]),R=l.useMemo(()=>o.map(P=>({label:P.label,onClick:P.sortable!==!1?()=>N(P.key):void 0,className:P.className,sortDir:P.sortable!==!1&&A===P.key?L?"asc":"desc":null})),[o,A,L,N]),W=l.useMemo(()=>x.map(P=>({value:String(P),label:_("common.pageSizeLabel",{n:P})})),[x,_]);return r.jsxs(eo,{className:`popup-list ${y}`,title:t,onClose:b,children:[v,"label"in F&&r.jsx("p",{className:"toolbar__count body-1",children:F.label}),r.jsx(Ti,{count:"label"in F?void 0:{value:H.length,prefix:F.prefix,suffix:F.suffix},search:O?{value:S,onChange:w,placeholder:B}:void 0,pageSize:{options:W,value:j,onChange:I},pagination:{page:q,total:V,onChange:T}}),r.jsx(Pi,{size:"medium",gridTemplateColumns:n,mobileGridTemplateColumns:i,resizable:!0,fields:R,items:$,onRowClick:m,renderRow:P=>{const Q=h!=null?P.id!=null&&h.has(P.id):p!=null&&P.id===p;return o.map(ee=>({content:ee.render?ee.render(P):P[ee.key]??"",className:Te(ee.className,Q&&"popup-list__row--selected")}))},empty:k})]})}function Gu(e){const{title:t,message:a,topContent:o,details:n,children:i,confirmLabel:s,cancelLabel:c,hideCancel:d=!1,extraAction:u,confirmVariant:p="main",confirmDisabled:h=!1,onConfirm:m,closeOnConfirm:b=!0,onClose:x,inline:f,size:C="small",className:g,initialFocus:v="close"}=e,{t:y}=Ce.useTranslation(),_=l.useRef(null);l.useEffect(()=>{if(f||v==="close")return;const E=_.current?.closest(".popup-panel"),L=Array.from(E?.querySelectorAll(".popup-footer--buttons button")??[]),z=v==="confirm"?L[L.length-1]:d?void 0:L[u?1:0];z&&!z.disabled&&z.focus()},[]);const B=l.useRef(!1),[k,S]=l.useState(!1),w=E=>{let L=!1;return{close:()=>{L=!0,E()},\uB2EB\uC558\uB098:()=>L}},A=async E=>{if(B.current)return;B.current=!0;const L=typeof document<"u"?document.activeElement:null;S(!0);let z=!1;try{z=await E()}catch(j){typeof console<"u"&&console.error(j)}finally{z||(B.current=!1,S(!1),requestAnimationFrame(()=>{const j=document.activeElement;(!j||j===document.body)&&L?.isConnected&&L.focus()}))}};return r.jsxs(eo,{title:t,onClose:x,closeDisabled:k,inline:f,size:C,className:Te("confirm-popup",o!=null&&"confirm-popup--has-top",g),buttons:[...u?[{label:u.label,variant:u.variant??"default",disabled:u.disabled||k,onClick:async({closeWithAnimation:E})=>{await A(async()=>{const L=w(E);await u.onClick(L.close);const z=u.closeOnClick??!0;return z&&E(),z||L.\uB2EB\uC558\uB098()})}}]:[],...d?[]:[{label:c??y("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:k,onClick:({closeWithAnimation:E})=>E()}],{label:s??y("common.confirm","\uD655\uC778"),variant:p,disabled:h||k,onClick:async({closeWithAnimation:E})=>{await A(async()=>{const L=w(E);return await m(L.close),b&&E(),b||L.\uB2EB\uC558\uB098()})}}],children:[o!=null&&r.jsx("div",{className:"confirm-popup__top",children:o}),n&&n.length>0&&r.jsx(An,{children:n.map((E,L)=>r.jsx(to,{label:E.label,children:r.jsx("span",{className:"panel-row__text body-2",children:E.value})},L))}),r.jsx("p",{ref:_,className:"body-2 confirm-popup__message",children:a}),i]})}function p1(e,t,a={}){const{t:o}=Ce.useTranslation(),[n,i]=l.useState(!1),s=l.useRef(!1),c=l.useCallback(()=>{s.current=!0},[]),d=l.useCallback(()=>s.current?(s.current=!1,!0):e?(i(!0),!1):!0,[e]),u=n?r.jsx(Gu,{title:a.title??o("common.discardConfirm.title","\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?"),message:a.message??o("common.discardConfirm.body","\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4."),confirmLabel:a.confirmLabel??o("common.discardConfirm.confirm","\uC785\uB825 \uCDE8\uC18C"),confirmVariant:"danger",onConfirm:()=>{i(!1),t()},onClose:()=>i(!1)}):null;return{beforeClose:d,discardPopup:u,allowClose:c}}var yA=".ihabdevteam-core-scope .coupon-input-popup__input{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-darkGray);font-family:inherit;height:48px;letter-spacing:.06em;padding:0 14px;text-transform:uppercase;transition:border-color .15s;width:100%}.ihabdevteam-core-scope .coupon-input-popup__input:focus{border-color:var(--color-main);outline:none}.ihabdevteam-core-scope .coupon-input-popup__input::-moz-placeholder{color:var(--color-lightGray);letter-spacing:normal;text-transform:none}.ihabdevteam-core-scope .coupon-input-popup__input::placeholder{color:var(--color-lightGray);letter-spacing:normal;text-transform:none}.ihabdevteam-core-scope .coupon-input-popup__error{color:#e84040;color:var(--color-red,#e84040);margin:var(--spacing-xs) 0 0}";oe(yA);function h1({onApply:e,onCancel:t}){const{t:a}=Ce.useTranslation(),[o,n]=l.useState(""),[i,s]=l.useState(!1),[c,d]=l.useState(null),u=l.useRef(null);l.useEffect(()=>{u.current?.focus()},[]);const p=l.useCallback(async b=>{const x=o.trim();if(x){s(!0),d(null);try{await e(x),b()}catch(f){d(Jr(f)),s(!1),requestAnimationFrame(()=>u.current?.focus())}}},[o,e]),h=l.useCallback((b,x)=>{b.key==="Enter"&&!b.nativeEvent.isComposing&&p(x)},[p]),m=b=>{n(b.target.value),d(null)};return r.jsx(eo,{className:"coupon-input-popup",title:a("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:t,closeDisabled:i,buttons:[{label:a("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:i,onClick:({closeWithAnimation:b})=>b()},{label:a("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!o.trim()||i,onClick:({closeWithAnimation:b})=>{p(b)}}],children:({closeWithAnimation:b})=>r.jsxs(r.Fragment,{children:[r.jsx("input",{ref:u,className:"coupon-input-popup__input body-2","aria-label":a("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),placeholder:a("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:o,onChange:m,onKeyDown:x=>h(x,b),disabled:i,autoComplete:"off",spellCheck:!1}),c&&r.jsx("p",{className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}var wA=".ihabdevteam-core-scope .party-container{inset:0;overflow:visible;pointer-events:none;position:fixed}.ihabdevteam-core-scope .confetti{display:none;left:0;opacity:0;position:fixed;top:0;transform:translateZ(0);will-change:transform,opacity}.ihabdevteam-core-scope .confetti--left{transform-origin:left bottom}.ihabdevteam-core-scope .confetti--right{transform-origin:right bottom}.ihabdevteam-core-scope .confetti.show{display:block;opacity:1;transition:opacity .2s linear}";oe(wA);const m1=["var(--color-main)","var(--color-sub)"],kA=2e3;function BA(e,t){if(!t.startsWith("var("))return t;try{const a=t.slice(4,-1).trim();return getComputedStyle(e).getPropertyValue(a).trim()||null}catch{return null}}function rs({active:e=!1,count:t=40,duration:a=2e3,strength:o=1,onComplete:n,trigger:i=0}){const s=l.useMemo(()=>{const f=Math.floor(t/2),C=t-f,g=(v,y)=>Array.from({length:v}).map((_,B)=>{const k=6+Math.random()*12,S=Math.round(Math.min(18,k*Math.min(1.5,1+o*.4))),w=m1[Math.floor(Math.random()*m1.length)],A=Math.random()*300,E=(360+Math.random()*260)*o*1.2,L=(y==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,z=Math.cos(L)*E,j=Math.sin(L)*E*1.35,I=Math.random()*720-360,D=(1200+Math.random()*3e3)*Math.min(1.6,1+o*.3),T=Math.random()>.7?"50%":"3px";return{id:`${y}-${B}`,side:y,size:S,color:w,delay:A,vx:z,vy:j,angularVel:I,life:D,borderRadius:T}});return[...g(f,"left"),...g(C,"right")]},[t,o]),c=l.useRef(null),d=l.useRef({}),u=l.useRef(null),p=l.useRef(n);l.useEffect(()=>{p.current=n},[n]);const h=l.useRef(null),m=l.useRef(null),b=()=>{if(typeof document>"u")return null;let f=document.querySelector("[data-ihab-effect-root]");return f||(f=document.createElement("div"),f.className="app-effect",f.dataset.ihabEffectRoot="",f.style.position="fixed",f.style.inset="0",f.style.pointerEvents="none",f.style.zIndex="99998",document.body.appendChild(f)),f};if(typeof document<"u"&&m.current==null&&(m.current=b()),l.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){const V=setTimeout(()=>p.current?.(),0);return()=>clearTimeout(V)}const f=1200,C=performance.now(),g=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,v=Math.max(60,(window.innerHeight||800)*.05),y=V=>Math.max(40,(V||window.innerWidth)*.02),_=g?.width||window.innerWidth||375,B=g?.height||window.innerHeight||812,k=V=>{const q=[...V].sort(($,N)=>$-N);return q[Math.floor(q.length/2)]||1},S=k(s.map(V=>Math.abs(V.vy))),w=k(s.map(V=>Math.abs(V.vx))),A=Math.sqrt(2*f*(B*.72+v))/S,E=S*A/f,L=_*.5/(w*E),z=(V,q,$)=>Math.min($,Math.max(q,V)),j=z(A,.8,2.4),I=z(L,.7,2.2),D=a>0?a/kA:1,T=s.map(V=>({...V,life:V.life*D,vx:V.vx*I,vy:V.vy*j,startTime:C+V.delay,ended:!1})),O=g?{x:g.left-y(g.width),y:g.top+g.height+v}:{x:-y(window.innerWidth),y:window.innerHeight+v},G=g?{x:g.left+g.width+y(g.width),y:g.top+g.height+v}:{x:window.innerWidth+y(window.innerWidth),y:window.innerHeight+v},Z=V=>{let q=!1;for(const $ of T){const N=d.current[$.id];if(!N||!N)continue;if(V<$.startTime){N.style.display="none",q=!0;continue}if(!$._inited){const se=$.side==="left"?O.x:G.x,ce=$.side==="left"?O.y:G.y;N.style.left=`${se}px`,N.style.top=`${ce}px`,N.style.transform="translate3d(0px, 0px, 0)",N.style.display="block",N.style.zIndex="100000",typeof $.color=="string"&&$.color.startsWith("var(")&&(N.style.background=BA(N,$.color)??"#FF0060"),$._inited=!0}const F=(V-$.startTime)/1e3;if(F<0)continue;const R=$.life/1e3;if(F>=R){N.style.opacity="0",N.style.display="none",$.ended=!0;continue}q=!0;const W=$.side==="left"?O.x:G.x,P=$.side==="left"?O.y:G.y,Q=W+$.vx*F,ee=P+$.vy*F+.5*f*F*F,Y=($.angularVel||0)*F,ne=Q-W,ie=ee-P;N.style.transform=`translate3d(${ne}px, ${ie}px, 0) rotate(${Y}deg)`,N.style.opacity=`${Math.max(0,1-F/R)}`}q?u.current=requestAnimationFrame(Z):p.current?.()};u.current=requestAnimationFrame(Z);const H=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const V=document.createElement("div");V.className="party-container",V.style.position="fixed",V.style.inset="0",V.style.pointerEvents="none",V.style.overflow="visible",V.style.zIndex="2147483647";for(const q of s){const $=document.createElement("span");$.className=`confetti confetti--${q.side}`,$.setAttribute("aria-hidden","true"),$.style.display="none",$.style.position="fixed",$.style.left="0px",$.style.top="0px",$.style.width=`${q.size}px`,$.style.height=`${Math.max(4,q.size*.6)}px`,$.style.background=q.color,$.style.borderRadius=q.borderRadius,$.style.transform="translate3d(0,0,0)",$.style.opacity="0",V.appendChild($),d.current[q.id]=$}(document.body||m.current).appendChild(V),h.current=V}}catch{}},300);return()=>{if(u.current&&cancelAnimationFrame(u.current),clearTimeout(H),h.current){try{h.current.remove()}catch{}h.current=null}}},[e,a,i,s]),!e)return null;const x=r.jsx("div",{className:"party-container",ref:c,children:s.map(f=>r.jsx("span",{"aria-hidden":!0,ref:C=>{d.current[f.id]=C},className:`confetti confetti--${f.side}`,style:{width:`${f.size}px`,height:`${Math.max(4,f.size*.6)}px`,background:f.color,borderRadius:f.borderRadius}},`${f.id}-${i}`))});return typeof document<"u"?ca.createPortal(x,m.current||document.body):x}const Uu=e=>typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0;function b1({trigger:e=0,active:t=!1}){const[a,o]=l.useState(null);l.useEffect(()=>{if(typeof window>"u")return;const i=s=>{const c=s.detail??{};o(d=>({n:(d?.n??0)+1,count:Uu(c.count),strength:Uu(c.strength),duration:Uu(c.duration)}))};return window.addEventListener("party:trigger",i),()=>window.removeEventListener("party:trigger",i)},[]);const n=l.useCallback(()=>o(null),[]);return r.jsxs(r.Fragment,{children:[r.jsx(rs,{active:t,trigger:e}),a&&r.jsx(rs,{active:!0,trigger:a.n,count:a.count,strength:a.strength,duration:a.duration,onComplete:n})]})}var AA=".ihabdevteam-core-scope .page-title{align-items:center;display:flex;gap:12px;justify-content:space-between;padding-bottom:var(--spacing-page)}.ihabdevteam-core-scope .page-title__main{align-items:flex-start;display:flex;flex:1;flex-direction:column;min-width:0;text-align:left}.ihabdevteam-core-scope .page-title__title-row{align-items:center;display:flex;gap:12px}.ihabdevteam-core-scope .page-title__title{margin:0}.ihabdevteam-core-scope .page-title__title-action{align-items:center;display:flex;flex-shrink:0}.ihabdevteam-core-scope .page-title__badge{align-items:center;display:flex}.ihabdevteam-core-scope .page-title__sub{color:var(--color-gray);margin:6px 0 0}.ihabdevteam-core-scope .page-title__action{flex-shrink:0;margin-left:var(--spacing-s)}@media (max-width:767px){.ihabdevteam-core-scope .page-title{align-items:flex-start;flex-direction:column;gap:10px}.ihabdevteam-core-scope .page-title__action{align-self:center;margin-left:0}}.ihabdevteam-core-scope .page-title__back{flex-shrink:0;margin-left:-8px;margin-right:-4px}.ihabdevteam-core-scope .page-title--wrap{flex-wrap:wrap}.ihabdevteam-core-scope .page-title--wrap .page-title__main{min-width:min(320px,100%)}";oe(AA);function g1({title:e,sub:t,rightAction:a,titleAction:o,badge:n,badgeVariant:i="default",documentTitle:s,onBack:c,backLabel:d,wrap:u=!1}){const{t:p}=Ce.useTranslation();Uc(typeof e=="string"?e:s??null);const h=d??p("common.back","\uB4A4\uB85C");return r.jsxs("div",{className:u?"page-title page-title--wrap":"page-title",children:[r.jsxs("div",{className:"page-title__main",children:[r.jsxs("div",{className:"page-title__title-row",children:[c&&r.jsx(he,{htmlType:"button",className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:h,showTooltipInfo:h,onClick:c}),r.jsx("h1",{className:"page-title__title h1",children:e}),n&&r.jsx("div",{className:"page-title__badge",children:r.jsx(_t,{label:n,size:"small",variant:i,fill:"outline"})}),o?r.jsx("div",{className:"page-title__title-action",children:o}):null]}),t&&r.jsx("p",{className:"page-title__sub body-2",children:t})]}),a?r.jsx("div",{className:"page-title__action",children:a}):null]})}function f1(e){return e??""}const v1=l.createContext({words:[],loading:!1});function x1(){return l.useContext(v1)}function C1({words:e,loading:t,error:a,statusMessage:o,localVersion:n,remoteVersion:i,progress:s,clearAndRefetch:c,checkRemoteVersion:d,children:u}){return r.jsx(v1.Provider,{value:{words:e,loading:t,error:a,statusMessage:o,localVersion:n,remoteVersion:i,progress:s,clearAndRefetch:c,checkRemoteVersion:d},children:u})}var SA=".ihabdevteam-core-scope .summary-strip{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:var(--spacing-m) var(--spacing-l);width:100%}.ihabdevteam-core-scope .summary-strip--flat{box-shadow:none}.ihabdevteam-core-scope .summary-strip__row{align-items:center;display:flex;gap:var(--spacing-l)}.ihabdevteam-core-scope .summary-strip__items{grid-gap:var(--spacing-s) var(--spacing-l);display:grid;flex:1;gap:var(--spacing-s) var(--spacing-l);grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}@media (min-width:640px){.ihabdevteam-core-scope .summary-strip__items{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.ihabdevteam-core-scope .summary-strip__items{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1280px){.ihabdevteam-core-scope .summary-strip__items{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-columns:repeat(var(--summary-strip-cols,4),minmax(0,1fr))}}.ihabdevteam-core-scope .summary-strip__item{min-width:0}.ihabdevteam-core-scope .summary-strip__label{color:var(--color-gray);margin:0}.ihabdevteam-core-scope .summary-strip__value{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .summary-strip__actions{align-items:center;display:flex;flex-shrink:0;gap:var(--spacing-xs)}";oe(SA);function _1({items:e,actions:t,columns:a,flat:o=!1,className:n,style:i}){const s=a??e.length;return r.jsx("section",{className:Te("summary-strip",o&&"summary-strip--flat",n),style:{"--summary-strip-cols":String(s),...i},children:r.jsxs("div",{className:"summary-strip__row",children:[r.jsx("div",{className:"summary-strip__items",children:e.map((c,d)=>r.jsxs("div",{className:"summary-strip__item",children:[r.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),r.jsx("p",{className:"summary-strip__value body-3b",title:typeof c.value=="string"||typeof c.value=="number"?String(c.value):void 0,children:c.value})]},d))}),t&&r.jsx("div",{className:"summary-strip__actions",children:t})]})})}var EA='.ihabdevteam-core-scope .report-doc{--report-page-w:210mm;--report-page-h:297mm;--report-margin:14mm;display:flex;justify-content:safe center;max-width:100%;min-width:0;overflow-x:auto;padding-block:var(--spacing-s);position:relative;width:100%}.ihabdevteam-core-scope .report-doc__pages{align-items:center;display:flex;flex-direction:column;gap:var(--spacing-l)}.ihabdevteam-core-scope .report-doc__page{background:#fff;box-shadow:var(--shadow-card);color:#000;display:flex;flex-direction:column;flex-shrink:0;min-height:var(--report-page-h);padding:var(--report-margin);width:var(--report-page-w)}.ihabdevteam-core-scope .report-doc__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--spacing-s)}.ihabdevteam-core-scope .report-doc__title{margin:0}.ihabdevteam-core-scope .report-doc__footer{align-items:center;color:var(--color-gray);display:flex;justify-content:space-between;margin-top:auto;padding-top:var(--spacing-s)}.ihabdevteam-core-scope .report-doc__footer-left{align-items:center;display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .report-doc__page-no{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ihabdevteam-core-scope .report-doc__logo{height:28px;width:auto}.ihabdevteam-core-scope .report-doc__measure{display:flex;flex-direction:column;opacity:0;pointer-events:none;position:absolute;width:calc(var(--report-page-w) - var(--report-margin)*2);z-index:-10}.ihabdevteam-core-scope .report-doc__measure-blocks{display:flex;flex-direction:column}.ihabdevteam-core-scope .report-doc__ruler{height:calc(var(--report-page-h) - var(--report-margin)*2)}@media print{.ihabdevteam-core-scope .report-doc{display:block;overflow:visible;padding-block:0}.ihabdevteam-core-scope .report-doc__pages{display:block}.ihabdevteam-core-scope .report-doc__page{-moz-column-break-after:page;box-shadow:none;break-after:page;page-break-after:always}.ihabdevteam-core-scope .report-doc__page:last-child{-moz-column-break-after:auto;break-after:auto;page-break-after:auto}.ihabdevteam-core-scope .report-doc__measure{height:0;overflow:hidden}.ihabdevteam-core-scope .report-doc__measure>*{flex-shrink:0}}';oe(EA);const NA=(e,t)=>`${e} / ${t}`;function y1({blocks:e,sectionTitles:t,logo:a,footer:o,pageLabel:n=NA,pageWidth:i,pageHeight:s,margin:c,className:d,style:u}){const{t:p}=Ce.useTranslation(),h=l.useRef(null),m=l.useRef(null),b=l.useRef(null),x=l.useRef(null),[f,C]=l.useState(null),[g,v]=l.useState(!1);l.useEffect(()=>{const D=h.current;if(!D)return;const T=()=>v(D.scrollWidth>D.clientWidth+1);if(T(),typeof ResizeObserver>"u")return;const O=new ResizeObserver(T);return O.observe(D),()=>O.disconnect()},[f]);const y=e.map(D=>`${D.id}\0${D.section??""}\0${D.group??""}`).join(""),_=f&&f.shape===y?f.pages:null,[B,k]=l.useState(0);l.useEffect(()=>{const D=x.current;if(!D||typeof ResizeObserver>"u")return;const T=new ResizeObserver(()=>k(D.offsetHeight));return T.observe(D),()=>T.disconnect()},[]);const[S,w]=l.useState(0);l.useEffect(()=>{const D=m.current;if(!D||typeof ResizeObserver>"u")return;let T=null;const O=typeof requestAnimationFrame=="function"?H=>requestAnimationFrame(H):H=>setTimeout(H,16),G=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:H=>clearTimeout(H),Z=new ResizeObserver(()=>{T==null&&(T=O(()=>{T=null,w(H=>H+1)}))});return Array.from(D.children).forEach(H=>Z.observe(H)),()=>{Z.disconnect(),T!=null&&G(T)}},[y]),l.useLayoutEffect(()=>{const D=m.current,T=x.current;if(!D||!T)return;const O=R=>R.getBoundingClientRect().height||R.offsetHeight,G=new Map;b.current?.querySelectorAll("[data-chrome-section]").forEach(R=>{G.set(R.dataset.chromeSection??"",O(R))});const Z=R=>O(T)-(G.get(R??"")??0),H=Array.from(D.children).map(R=>O(R)),V=[];e.forEach((R,W)=>{const P=V[V.length-1],Q=P?e[P[0]]:void 0;Q&&R.group!=null&&Q.group===R.group&&Q.section===R.section?P.push(W):V.push([W])});const q=[];let $=[],N=0;const F=()=>{$.length&&q.push($),$=[],N=0};V.forEach(R=>{const W=R.reduce((Q,ee)=>Q+H[ee],0),P=Z(e[R[0]].section);$.length&&e[$[0]].section!==e[R[0]].section&&F(),W>P?R.forEach(Q=>{$.length&&N+H[Q]>P+.01&&F(),$.push(Q),N+=H[Q]}):($.length&&N+W>P+.01&&F(),R.forEach(Q=>$.push(Q)),N+=W)}),F(),C(R=>R&&R.shape===y&&JSON.stringify(R.pages)===JSON.stringify(q)?R:{shape:y,pages:q})},[y,B,i,s,c,S]);const A=jd,E=A,L=o??r.jsxs(r.Fragment,{children:[r.jsx("img",{src:E,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),z=(D,T,O)=>({header:r.jsxs("div",{className:"report-doc__header",children:[r.jsx("h2",{className:"report-doc__title h3b",children:O!=null&&t?.[O]||null}),a]}),footer:r.jsxs("div",{className:"report-doc__footer caption-1",children:[r.jsx("span",{className:"report-doc__footer-left",children:L}),r.jsx("span",{className:"report-doc__page-no",children:n(D,T)})]})}),j=Array.from(new Set(e.map(D=>D.section??""))),I={...i?{"--report-page-w":i}:null,...s?{"--report-page-h":s}:null,...c?{"--report-margin":c}:null,...u};return r.jsxs("div",{ref:h,className:Te("report-doc",d),style:I,tabIndex:g?0:void 0,role:g?"group":void 0,"aria-label":g?p("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[r.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[r.jsx("div",{ref:x,className:"report-doc__ruler"}),r.jsx("div",{ref:b,children:j.map(D=>{const T=z(1,1,D||void 0);return r.jsxs("div",{"data-chrome-section":D,children:[T.header,T.footer]},D)})}),r.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(D=>r.jsx("div",{children:D.content},D.id))})]}),_&&r.jsx("div",{className:"report-doc__pages",children:_.map((D,T)=>{const{header:O,footer:G}=z(T+1,_.length,e[D[0]].section);return r.jsxs("section",{className:"report-doc__page",children:[O,D.map(Z=>r.jsx("div",{children:e[Z].content},e[Z].id)),G]},T)})})]})}var DA=".ihabdevteam-core-scope .report-info{border:1px solid var(--color-border);border-radius:var(--radius-card);margin-bottom:var(--spacing-l);padding:var(--spacing-s) var(--spacing-m)}.ihabdevteam-core-scope .report-info__title{color:var(--color-darkGray);margin:0 0 var(--spacing-s)}.ihabdevteam-core-scope .report-info__grid{grid-gap:var(--spacing-xs) var(--spacing-l);display:grid;gap:var(--spacing-xs) var(--spacing-l);grid-template-columns:repeat(4,minmax(0,1fr));grid-template-columns:repeat(var(--report-info-cols,4),minmax(0,1fr))}@media (max-width:640px){.ihabdevteam-core-scope .report-info__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.ihabdevteam-core-scope .report-info__field{align-items:baseline;display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .report-info__label{color:var(--color-gray);flex-shrink:0;width:3.5rem}.ihabdevteam-core-scope .report-info__value{color:var(--color-darkGray);white-space:nowrap}";oe(DA);function w1({title:e,fields:t,columns:a=4,className:o,style:n}){return r.jsxs("div",{className:Te("report-info",o),style:{"--report-info-cols":String(a),...n},children:[e&&r.jsx("p",{className:"report-info__title h5b",children:e}),r.jsx("div",{className:"report-info__grid",children:t.map((i,s)=>r.jsxs("div",{className:"report-info__field body-2",children:[r.jsx("span",{className:"report-info__label body-3",children:i.label}),r.jsx("span",{className:"report-info__value",children:i.value})]},s))})]})}const Uo=new Map;let ns=null;const TA=12;function jA(e){for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){const a=window.getComputedStyle(t);if(a.transform&&a.transform!=="none"||a.filter&&a.filter!=="none"||a.perspective&&a.perspective!=="none"||/paint|layout|strict|content/.test(a.contain||""))return t}return document}function is(){const e=new Map;for(const t of Uo.keys()){if(!t.isConnected)continue;const a=jA(t),o=e.get(a)??[];o.push(t),e.set(a,o)}for(const t of e.values()){t.sort((o,n)=>o.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);let a=0;for(const o of t){a>0?o.style.setProperty("--update-alert-stack-offset",`${a}px`):o.style.removeProperty("--update-alert-stack-offset");const n=o.getBoundingClientRect().height;n>0&&(a+=n+TA)}}}function LA(e){return typeof window>"u"?()=>{}:(Uo.set(e,(Uo.get(e)??0)+1),Uo.get(e)===1&&typeof ResizeObserver<"u"&&(ns??(ns=new ResizeObserver(()=>is())),ns.observe(e)),is(),()=>{const t=(Uo.get(e)??1)-1;if(t>0){Uo.set(e,t),is();return}Uo.delete(e),ns?.unobserve(e),e.style.removeProperty("--update-alert-stack-offset"),is()})}var MA=".ihabdevteam-core-scope .update-alert{animation:update-alert-slide-in .32s cubic-bezier(.34,1.56,.64,1) both;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:hsla(0,0%,97%,.92);border:1px solid var(--color-main);border-radius:var(--radius-m);box-shadow:0 4px 24px rgba(0,0,0,.14),0 1px 4px rgba(0,0,0,.08),inset 0 0 0 .5px rgba(0,0,0,.1);padding:var(--spacing-l);width:380px}.ihabdevteam-core-scope .update-alert,.ihabdevteam-core-scope .update-alert-stack{display:flex;flex-direction:column;gap:12px;max-width:calc(100vw - 32px);position:fixed;right:16px;top:16px;top:calc(16px + var(--update-alert-stack-offset, 0px));z-index:var(--z-alert)}.ihabdevteam-core-scope .update-alert-stack{align-items:flex-end}.ihabdevteam-core-scope .update-alert-stack .update-alert{position:relative;top:auto;z-index:auto}.ihabdevteam-core-scope .update-alert:has(.update-alert__close) .update-alert__title{padding-right:24px}.ihabdevteam-core-scope .update-alert__close{align-items:center;background:none;border:none;border-radius:6px;border-radius:var(--radius-s,6px);color:#888;cursor:pointer;display:flex;font-size:20px;height:24px;justify-content:center;line-height:1;position:absolute;right:8px;top:8px;width:24px}.ihabdevteam-core-scope .update-alert__close:hover{background:rgba(0,0,0,.06);color:#333}.ihabdevteam-core-scope .update-alert__top{align-items:center;display:flex;gap:10px}@keyframes update-alert-slide-in{0%{opacity:0;transform:translateX(calc(100% + 24px))}to{opacity:1;transform:translateX(0)}}.ihabdevteam-core-scope .update-alert__icon{align-items:center;color:var(--color-main);display:flex;flex-shrink:0;font-size:20px;height:40px;justify-content:center;width:40px}.ihabdevteam-core-scope .update-alert__body{flex:1;min-width:0}.ihabdevteam-core-scope .update-alert__title{color:#1a1a1a;text-align:left}.ihabdevteam-core-scope .update-alert__message{color:#555;margin-top:2px;text-align:left}.ihabdevteam-core-scope .update-alert__action{width:100%}";oe(MA);function k1({title:e,message:t,actionLabel:a,onAction:o,icon:n,onClose:i,className:s=""}){const{t:c}=Ce.useTranslation(),d=a??c("common.update","\uC5C5\uB370\uC774\uD2B8"),u=l.useRef(null),p=l.useRef(!1);return l.useLayoutEffect(()=>{const h=u.current,m=h?.parentElement?.closest(".update-alert-stack")??h,b=m?LA(m):null;return()=>{b?.(),p.current&&h&&h.contains(document.activeElement)&&ci(h)}},[]),r.jsxs("div",{ref:u,className:Te("update-alert",s),role:"alert",children:[i&&r.jsx("button",{type:"button",className:"update-alert__close",onClick:()=>{p.current=!0,i()},"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),r.jsxs("div",{className:"update-alert__top",children:[r.jsx("div",{className:"update-alert__icon",children:n??r.jsx(cp,{size:20,strokeWidth:2})}),r.jsxs("div",{className:"update-alert__body",children:[r.jsx("div",{className:"update-alert__title h4",children:e}),r.jsx("div",{className:"update-alert__message body-3",children:t})]})]}),o&&r.jsx(he,{htmlType:"button",size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:o,children:d})]})}var $A=".ihabdevteam-core-scope .training-card{background:var(--color-white);border:1px solid transparent;border-radius:var(--radius-card);display:flex;flex-direction:column;gap:10px;max-width:100%;padding:18px;position:relative;transition:border-color .15s,box-shadow .15s;width:360px}.ihabdevteam-core-scope .training-card:hover{border-color:var(--color-main);box-shadow:0 4px 16px var(--color-main-a10)}.ihabdevteam-core-scope .training-card--dragging{opacity:.5}.ihabdevteam-core-scope .training-card--clickable{cursor:pointer}.ihabdevteam-core-scope .training-card__header{grid-column-gap:8px;grid-row-gap:4px;align-items:start;-moz-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:4px}.ihabdevteam-core-scope .training-card__title-row{display:contents}.ihabdevteam-core-scope .training-card__title-row>:first-child{grid-area:1/1;min-width:0}.ihabdevteam-core-scope .training-card__header>:last-child{grid-area:2/1}.ihabdevteam-core-scope .training-card__title{color:var(--color-darkGray);margin:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__top-actions{align-items:center;align-self:start;display:flex;flex-shrink:0;gap:2px;grid-column:2;grid-row:1/3;margin-right:-8px}.ihabdevteam-core-scope .training-card__publisher{background:none;border:none;color:var(--color-gray);cursor:pointer;font-size:11px;font-weight:400;max-width:120px;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:-moz-fit-content;width:fit-content}.ihabdevteam-core-scope .training-card__publisher:hover{color:var(--color-main);text-decoration:underline}.ihabdevteam-core-scope .training-card__description{color:var(--color-gray);margin:0;min-height:1.55em;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__body{display:flex;flex:1;flex-direction:column;gap:8px;justify-content:flex-end}.ihabdevteam-core-scope .training-card__empty{color:var(--color-lightGray)}.ihabdevteam-core-scope .training-card__types{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.ihabdevteam-core-scope .training-card__types .button{min-width:0;padding-inline:12px}.ihabdevteam-core-scope .training-card__words{align-content:flex-start;display:flex;flex-wrap:wrap;gap:4px}.ihabdevteam-core-scope .training-card__footer{align-items:center;display:flex;gap:var(--spacing-xs);justify-content:space-between;margin-top:auto;padding-top:8px}.ihabdevteam-core-scope .training-card__footer-left{align-items:center;display:flex;gap:6px;min-width:0}.ihabdevteam-core-scope .training-card__date{color:var(--color-gray);font-size:11px;white-space:nowrap}.ihabdevteam-core-scope .training-card__meta{align-items:center;display:flex;gap:4px}";oe($A);function B1({title:e,description:t,topActions:a,children:o,footerLeft:n,footerRight:i,onClick:s,draggable:c,onDragStart:d,onDragEnd:u,className:p}){const h=n!=null||i!=null,m=o!=null&&o!==!1,b=l.useCallback(x=>{s&&x.target===x.currentTarget&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),s())},[s]);return r.jsxs("div",{className:Te("training-card",s?"training-card--clickable":"",p),onClick:s,onKeyDown:s?b:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,draggable:c,onDragStart:d,onDragEnd:u,children:[r.jsxs("div",{className:"training-card__header",children:[r.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?r.jsx("h3",{className:"training-card__title h4",children:e}):e,a!=null&&r.jsx("div",{className:"training-card__top-actions",onClick:x=>x.stopPropagation(),children:a})]}),t!=null?typeof t=="string"?r.jsx("p",{className:"training-card__description body-3",children:t}):t:r.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),m&&r.jsx("div",{className:"training-card__body",children:o}),h&&r.jsxs("div",{className:"training-card__footer",children:[n!=null&&r.jsx("div",{className:"training-card__footer-left",children:n}),i!=null&&r.jsx("div",{className:"training-card__meta",children:i})]})]})}var RA=".ihabdevteam-core-scope .training-card-group{background:var(--color-darkWhite);border:1px solid var(--color-darkWhite);border-radius:var(--radius-card);overflow:hidden;transition:border-color .15s,box-shadow .15s}.ihabdevteam-core-scope .training-card-group--dragover{border-color:var(--color-main);box-shadow:0 0 0 2px var(--color-main-a10)}.ihabdevteam-core-scope .training-card-group__header{align-items:center;display:flex;gap:8px;height:60px;padding:0 12px}.ihabdevteam-core-scope .training-card-group--collapsible .training-card-group__header{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .training-card-group__chevron{flex-shrink:0}.ihabdevteam-core-scope .training-card-group__title{color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card-group__count{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .training-card-group__actions{align-items:center;display:flex;flex-shrink:0;gap:8px;margin-left:auto}.ihabdevteam-core-scope .training-card-group__empty{color:var(--color-lightGray);padding:24px 16px;text-align:center}.ihabdevteam-core-scope .training-card-group__grid{align-items:stretch;display:flex;flex-wrap:wrap;gap:12px;padding:0 12px 12px}.ihabdevteam-core-scope .training-card-group__grid>*{min-width:0}";oe(RA);function A1({title:e,count:t,collapsed:a=!1,onToggle:o,sort:n,actions:i,empty:s=!1,emptyContent:c,dragOver:d=!1,onDragOver:u,onDragLeave:p,onDrop:h,children:m,className:b}){const{t:x}=Ce.useTranslation(),f=o!=null,C=Te("training-card-group",d&&"training-card-group--dragover",a&&"training-card-group--collapsed",f&&"training-card-group--collapsible",b);return r.jsxs("div",{className:C,onDragOver:u,onDragLeave:p,onDrop:h,children:[r.jsxs("header",{className:"training-card-group__header",children:[f&&r.jsx(he,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:a?"chevron-right":"chevron-down",ariaLabel:a?x("common.expand","\uD3BC\uCE58\uAE30"):x("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron","aria-expanded":!a,onClick:o}),typeof e=="string"?r.jsx("span",{className:"training-card-group__title h5b",children:e}):e,t!==void 0&&r.jsx("span",{className:"training-card-group__count body-3b",children:t}),(n||i!=null)&&r.jsxs("span",{className:"training-card-group__actions",onClick:g=>g.stopPropagation(),children:[n&&r.jsx(fa,{size:40,options:n.options,value:n.value,placeholder:n.placeholder,onChange:n.onChange}),i]})]}),!a&&(s?r.jsx("div",{className:"training-card-group__empty body-3",children:c}):r.jsx("div",{className:"training-card-group__grid",children:m}))]})}var PA=".ihabdevteam-core-scope .word-table-block__meta{background:transparent}.ihabdevteam-core-scope .word-table-block__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:space-between}.ihabdevteam-core-scope .word-table-block__actions-right{margin-left:auto}.ihabdevteam-core-scope .word-table-block__actions-left,.ihabdevteam-core-scope .word-table-block__actions-right{display:flex;gap:var(--spacing-xs)}@media (max-width:767px){.ihabdevteam-core-scope .word-table-block__actions{align-items:stretch;flex-direction:column}.ihabdevteam-core-scope .word-table-block__actions-left,.ihabdevteam-core-scope .word-table-block__actions-right{display:grid;grid-template-columns:repeat(2,1fr)}.ihabdevteam-core-scope .word-table-block__actions-right{margin-left:0}.ihabdevteam-core-scope .word-table-block__actions .button{min-width:0;width:100%}}.ihabdevteam-core-scope .my-word-table-preview-popup .popup-panel{max-width:none;width:min(1400px,94vw)}.ihabdevteam-core-scope .my-word-table-preview-popup .popup-body{overflow:auto;overscroll-behavior-y:contain}.ihabdevteam-core-scope .word-table-block__pages{display:flex;flex-direction:column;gap:24px;gap:var(--spacing-content,24px)}@media print{.ihabdevteam-core-scope .word-table-block>.filter-panel,.ihabdevteam-core-scope .word-table-block>.section__header,.ihabdevteam-core-scope .word-table-block__actions{display:none}.ihabdevteam-core-scope .word-table-block__pages .word-table{-moz-column-break-after:page;break-after:page;page-break-after:always;position:static}.ihabdevteam-core-scope .word-table-block__pages .word-table:last-child{-moz-column-break-after:auto;break-after:auto;page-break-after:auto}}";oe(PA);const zA="speechear:saved_word_tables";function IA(e){if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.id=="string"&&typeof t.name=="string"&&Array.isArray(t.items)}function OA(){try{const e=localStorage.getItem(zA);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(IA):[]}catch{return[]}}function S1(e){return{label:e.word,subLabel:e.pronunciation,colloquialLabel:e.colloquialPronunciation,homonum:e.homonum,grade:e.grade,syllables:[...e.word].length,pos:e.pos,wordType:e.wordType}}function qu(e){return e.map(t=>t.homonum!=null?`${t.word}#${t.homonum}`:t.word).join("|")}function FA(e){const t=new Set;return e.map(a=>{let o=a.id;for(let n=2;t.has(o);n++)o=`${a.id}~${n}`;return t.add(o),o===a.id?a:{...a,id:o}})}function E1({title:e,titleIcon:t,disc:a,filterTitle:o,filterCollapsible:n,filterDefaultCollapsed:i,filterCollapsed:s,onFilterCollapsedChange:c,filterHeaderSummary:d,brand:u,code:p,items:h,onSaveComplete:m,onLoad:b,onRemoveItem:x,onReset:f,resetLabel:C,saveButtonLabel:g,secondarySaveButtonLabel:v,onReorder:y,showCellCount:_,onAddItem:B,className:k,renderSavePopup:S,renderWordSearch:w,hideControls:A,saveOnly:E,tableName:L,nameValue:z,onNameChange:j,descriptionValue:I,onDescriptionChange:D,namePlaceholder:T,descriptionPlaceholder:O,existingNames:G,editingName:Z,onCancel:H,initialItemsPerPage:V,renderCellAction:q,actionsLeftExtra:$}){const{t:N}=Ce.useTranslation(),F=C??N("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),R=h===void 0,W=!!j,[P,Q]=l.useState([]),ee=(z??"").trim(),Y=ee||(T??"").trim(),ne=(I??"").trim()||(O??"").trim(),ie=(G??[]).map(je=>je.trim().toLowerCase()),se=[Z?.trim().toLowerCase(),...P].filter(je=>!!je),ce=[...ie];for(const je of se){const Ge=ce.indexOf(je);Ge!==-1&&ce.splice(Ge,1)}const U=ee!==""&&ce.includes(ee.toLowerCase()),[le,be]=l.useState(Array(4).fill(null)),[ye,xe]=l.useState(4),[ue,_e]=l.useState(null),Ae=le.slice(0,ye),X=!!u?.show,[we,fe]=l.useState(!0),[ae,ge]=l.useState(!0),Me=u&&{...u,top:we,bottom:ae},[$e,Ye]=l.useState("landscape"),[ze,Ue]=l.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[re,Oe]=l.useState("\uD45C\uC2DC"),[Fe,Ze]=l.useState(!0),[Qe,De]=l.useState(!0),Le=l.useRef(null),ke=l.useRef([]),[Ie,pt]=l.useState(V==="all"?Number.POSITIVE_INFINITY:V??8),[Lt,Yt]=l.useState("right"),[At,ct]=l.useState(!1),[ot,et]=l.useState(!1),{toastMessage:lt,toastType:Ke,showWarning:dt,clearToast:Xe}=wi("warning"),yt=l.useCallback(()=>_e(null),[_e]);B&&!R&&!_&&Ua("word-table-block-add-without-cell-count",'[WordTableBlock] \uD45C\uC2DC \uBAA8\uB4DC\uC5D0\uC11C onAddItem \uC740 showCellCount \uC640 \uD568\uAED8 \uC918\uC57C "\uCD94\uAC00\uD558\uAE30" \uCE78\uC774 \uC0DD\uAE34\uB2E4.');const[Ot,Mt]=l.useState(()=>Math.max(h?.length??1,1)),vt=R?ye:_?Math.max(Ot,h?.length??1,1):Math.max(h?.length??0,1),{width:ut,height:Ve}=Vo[$e],rt=!R&&!_,xt=h?.length??0,Xt=Math.min(Ie,Math.max(xt,1)),at=rt?Xt:vt,Ft=rt?jf(h??[],at):null,sa=!!Ft&&Ft.length>1,Ht=R?Ae.some(je=>je!==null&&je.length>1):(h??[]).some(je=>(je.words??[]).length>1),Sa=L?.trim()||`${Jn(ba())} ${Ht?N("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):N("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,Ea=l.useCallback(()=>sa?ke.current.filter(je=>je!==null):Le.current?[Le.current]:[],[sa]),{print:Na,openNewWindow:yo,downloadHtml:Da}=Gi({getElements:Ea,paperW:ut,paperH:Ve,fileName:Sa,onPopupBlocked:()=>{dt(N("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}}),wo=je=>{xe(je),be(Ge=>Ge.length>=je?Ge:[...Ge,...Array(je-Ge.length).fill(null)]),_e(null)},oo=je=>{be(Ge=>{const Et=[...Ge];return Et[je]=null,Et}),ue===je&&_e(null)},$t=je=>{if(ue===null)return;const Ge=ue;be(Qt=>{const ea=[...Qt];return ea[Ge]=je.length>0?je:null,ea});const Et=Ae.findIndex((Qt,ea)=>ea>Ge&&Qt===null);_e(Et!==-1?Et:null)},Ha=R?Ae.some(je=>je?.some(Ge=>!!Ge.colloquialPronunciation)):(h??[]).some(je=>(je.words??[]).some(Ge=>!!Ge.colloquialLabel)),Jt=l.useMemo(()=>io()?R?le.slice(0,ye).flatMap(je=>(je??[]).map(Ge=>[Ge.word,Ge.homonum])):(h??[]).flatMap(je=>(je.words??[]).map(Ge=>[Ge.label,Ge.homonum])):[],[R,le,ye,h]),[la,Va]=l.useState(!1);l.useEffect(()=>{if(Jt.length===0)return;let je=!1;return Promise.all(Jt.map(([Ge,Et])=>Hr(Ge,Et))).then(Ge=>{je||Va(Ge.some(Boolean))},()=>{}),()=>{je=!0}},[Jt]);const ha=Jt.length>0&&la,Wa=l.useMemo(()=>[...R||_?[{label:N("wordTable.filter.columns","\uCE78 \uC218"),items:Q9.map(je=>({value:`${je}\uCE78`,displayLabel:N("wordTable.filter.column",{count:je})})),display:"segmented"}]:[],...rt&&(h?.length??0)>0?[Uf(N,{hasPairs:Ht,itemCount:xt})]:[],...sa?[eB(N)]:[]],[N,R,_,rt,h?.length,Ht,xt,sa]),ko={...R||_?{[N("wordTable.filter.columns","\uCE78 \uC218")]:`${vt}\uCE78`}:{},...rt&&(h?.length??0)>0?{[N(Ht?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${Xt}\uAC1C`}:{},...sa?{[N("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:Yf[Lt]}:{}},Ga=(je,Ge)=>{Ge===N("wordTable.filter.columns","\uCE78 \uC218")?R?wo(parseInt(je)):Mt(parseInt(je)):Ge===N(Ht?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")?pt(qf(parseInt(je),xt)):Ge===N("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&Yt(Kf(je))},de=R?FA(Ae.filter(je=>je!==null&&je.length>0).map(je=>({id:qu(je),words:je.map(S1)}))):h??[],Be=()=>{R&&be(je=>je.length>ye?je.slice(0,ye):je)},K=(je=!1)=>{if(et(je),W&&m){const Ge=Y.trim().toLowerCase();Ge&&Q(Et=>Et.includes(Ge)?Et:[...Et,Ge]),m(Y,de,ne||void 0,je),Be();return}if(E&&m){m("",de,void 0,je),Be();return}if(m){ct(!0);return}Da()},[pe,me]=l.useState(!1),[Se,Ee]=l.useState(""),Re=Se.trim(),nt=Re!==""&&ie.includes(Re.toLowerCase()),wt=()=>{Ee(Y?N("wordTable.save.copyName",{name:Y,defaultValue:"{{name}} (\uBCF5\uC0AC)"}):""),me(!0)},ht=()=>{!Re||nt||!m||(m(Re,de,ne||void 0,!0),Be(),me(!1))},St=de.length===0,Kt=St||W&&(Y===""||U),Vt=()=>{if(St){dt(N("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(W&&Y===""){dt(N("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}W&&U&&dt(N("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},va=r.jsx(Wo,{items:de,orientation:$e,contentTypes:ze,cutLine:re,showOutline:Fe,showDivLine:Qe,count:vt});return r.jsxs(r.Fragment,{children:[r.jsxs(Ho,{type:"page",icon:t,title:e,disc:a,className:Te("word-table-block",k),children:[pe&&r.jsx(eo,{size:"small",title:v??N("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>me(!1),footer:({closeWithAnimation:je})=>r.jsxs(r.Fragment,{children:[r.jsx(he,{htmlType:"button",size:48,type:"bar",label:N("common.cancel","\uCDE8\uC18C"),onClick:je}),r.jsx(he,{htmlType:"button",size:48,type:"bar",variant:"main",label:N("common.save","\uC800\uC7A5"),disabled:!Re||nt,onClick:ht})]}),children:r.jsx(xo,{label:N("wordTable.save.nameLabel","\uC774\uB984"),value:Se,onChange:Ee,placeholder:N("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),maxLength:40,size:48,fullWidth:!0,autoFocus:!0,onEnter:ht,error:nt?N("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),At&&m&&S?.({defaultName:typeof e=="string"?e:N("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:va,previewW:ut,previewH:Ve,items:de,existingNames:OA().map(je=>je.name),saveAsNew:ot,onSave:(je,Ge)=>{m(je,de,Ge,ot),Be(),ct(!1)},onCancel:()=>ct(!1)}),(R||B)&&ue!==null&&w?.({cellIndex:ue,onConfirm:R?$t:je=>{if(B){const Ge=je[0];if(Ge){const Et=new Set((h??[]).map(ea=>ea.id));let Qt=qu([Ge]);for(let ea=2;Et.has(Qt);ea++)Qt=`${qu([Ge])}~${ea}`;B({id:Qt,words:[S1(Ge)]})}}_e(null)},onClose:yt}),!A&&r.jsx(Vi,{title:o,collapsible:n,defaultCollapsed:i,collapsed:s,onCollapsedChange:c,headerSummary:d,hasImage:ha,hasColloquial:Ha,contentTypes:ze,orientation:$e,showOutline:Fe,cutLine:re,showDivLine:Qe,setters:{setContentTypes:Ue,setOrientation:Ye,setShowOutline:Ze,setCutLine:Oe,setShowDivLine:De,setShowTopInfo:fe,setShowBottomInfo:ge},showCutLine:(rt?at:vt)>1,showDivLine2:Ht,middleSections:Wa,extraSelected:ko,onExtraSelect:Ga,showPaperBands:X,showTopInfo:we,showBottomInfo:ae}),sa&&Ft?r.jsx("div",{className:"word-table-block__pages",children:Ft.map((je,Ge)=>r.jsx(Wo,{orientation:$e,contentTypes:ze,cutLine:re,showOutline:Fe,showDivLine:Qe,count:at,items:je,onRemoveItem:x,onReorder:y&&((Et,Qt)=>y(Et+Ge*at,Qt+Ge*at)),renderCellAction:q&&((Et,Qt)=>q(Et+Ge*at,Qt)),brand:Me,code:p,contentRef:Et=>{ke.current[Ge]=Et},pageNumber:{current:Ge+1,total:Ft.length},pageNumberPosition:Lt},Ge))}):r.jsx(Wo,{orientation:$e,contentTypes:ze,cutLine:re,showOutline:Fe,showDivLine:Qe,count:vt,items:R?void 0:h??[],editCells:R?Ae:void 0,activeCell:ue,onActivateCell:R||B?_e:void 0,onRemoveCell:R?oo:void 0,onRemoveItem:R?void 0:x,onReorder:R?void 0:y,renderCellAction:R?void 0:q,brand:Me,code:p,showFillerAdd:!!B,contentRef:Le}),W&&!A&&r.jsxs(An,{size:"medium",labelWidth:64,useBorder:!1,useRowBorder:!1,className:"word-table-block__meta",children:[r.jsx(to,{variant:"custom",label:N("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:r.jsx(xo,{required:!0,value:z??"",onChange:j,placeholder:T?T+N("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):N("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:N("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:U?N("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:je=>{(je.key==="Tab"&&!je.shiftKey||je.key===" ")&&!(z??"").trim()&&(T??"").trim()&&(je.preventDefault(),j?.(T??""))}})}),r.jsx(to,{variant:"custom",label:N("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:r.jsx(xo,{value:I??"",onChange:D,placeholder:O?O+N("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):N("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:N("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:je=>{(je.key==="Tab"&&!je.shiftKey||je.key===" ")&&!(I??"").trim()&&(O??"").trim()&&(je.preventDefault(),D?.(O??""))}})})]})]}),!A&&r.jsxs("div",{className:"word-table-block__actions",children:[r.jsxs("div",{className:"word-table-block__actions-left",children:[!E&&f&&r.jsx(he,{htmlType:"button",size:40,type:"bar",label:F,onClick:f}),!E&&$,!E&&b&&r.jsx(he,{htmlType:"button",size:40,type:"bar",label:N("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:b}),!E&&r.jsx(he,{htmlType:"button",size:40,type:"bar",label:N("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:yo})]}),r.jsxs("div",{className:"word-table-block__actions-right",children:[H&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:N("common.cancel","\uCDE8\uC18C"),onClick:H}),!E&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:N("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:Na}),v&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:v,onClick:()=>W?wt():K(!0),disabled:St,onDisabledClick:()=>{dt(N("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),r.jsx(he,{htmlType:"button",size:"56",type:"bar",variant:"main",label:g??N("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>K(!1),disabled:Kt,onDisabledClick:Vt})]})]}),r.jsx(Fo,{message:lt,type:Ke,onClose:Xe})]})}var HA=".ihabdevteam-core-scope .word-table-thumb{grid-gap:1px;background:var(--color-darkWhite);border-bottom:1px solid var(--color-darkWhite);display:grid;gap:1px;grid-auto-rows:minmax(min-content,1fr);height:140px;overflow:hidden}.ihabdevteam-core-scope .word-table-thumb__cell{align-items:center;background:var(--color-white);display:flex;flex-direction:column;gap:1px;justify-content:center;min-height:0;overflow:hidden;padding:4px}.ihabdevteam-core-scope .word-table-thumb__word{color:var(--color-black)}.ihabdevteam-core-scope .word-table-thumb .word-table-thumb__word{line-height:1.2}.ihabdevteam-core-scope .word-table-thumb__divider{background:var(--color-darkWhite);display:block;height:1px;margin:1px 0;width:30%}";oe(HA);function Yu({items:e,className:t}){const a=e.length,o=a<=3?1:2,n=Math.ceil(a/o)||1,i=o*n;return r.jsx("div",{className:Te("word-table-thumb",t),style:{gridTemplateColumns:`repeat(${o}, 1fr)`},children:Array.from({length:i},(s,c)=>{const d=e[c];return d?r.jsx("div",{className:"word-table-thumb__cell",children:(d.words?.length?d.words:[{label:d.id}]).map((u,p)=>r.jsxs(l.Fragment,{children:[p>0&&r.jsx("span",{className:"word-table-thumb__divider"}),r.jsx("span",{className:"word-table-thumb__word body-3",children:u.label})]},p))},c):r.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},c)})})}var VA=".ihabdevteam-core-scope .word-table-button{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:8px;border-radius:var(--radius-s,8px);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;overflow:hidden;position:relative;transition:border-color .15s,box-shadow .15s;width:240px}.ihabdevteam-core-scope .word-table-button:hover{border-color:var(--color-main);box-shadow:0 2px 10px rgba(0,0,0,.06)}.ihabdevteam-core-scope .word-table-button:focus-visible{outline:2px solid var(--color-main);outline-offset:1px}.ihabdevteam-core-scope .word-table-button--selected{border-color:var(--color-main);box-shadow:0 0 0 1px var(--color-main) inset}.ihabdevteam-core-scope .word-table-button__thumb{flex:0 0 auto;height:290px}.ihabdevteam-core-scope .word-table-button__info{align-items:flex-start;display:flex;flex-direction:row;gap:8px;min-width:0;padding:12px 14px 0;position:relative}.ihabdevteam-core-scope .word-table-button__more{position:absolute;right:10px;top:8px}.ihabdevteam-core-scope .word-table-button__title{padding-right:34px}.ihabdevteam-core-scope .word-table-button--no-footer .word-table-button__info{flex:1 1 auto;min-height:0}.ihabdevteam-core-scope .word-table-button--no-footer .word-table-button__info-text{align-self:stretch}.ihabdevteam-core-scope .word-table-button__info-text{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;text-align:left}.ihabdevteam-core-scope .word-table-button__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--color-black);display:-webkit-box;overflow:hidden;overflow-wrap:anywhere}.ihabdevteam-core-scope .word-table-button__desc{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--color-gray);display:-webkit-box;overflow:hidden}.ihabdevteam-core-scope .word-table-button__meta{color:var(--color-gray)}.ihabdevteam-core-scope .word-table-button__meta-left{align-items:center;display:flex;gap:6px;min-width:0}.ihabdevteam-core-scope .word-table-button__meta-right{align-items:center;display:flex;flex-shrink:0;gap:8px;min-width:0}.ihabdevteam-core-scope .word-table-button__code{color:var(--color-gray);flex-shrink:0;white-space:nowrap}.ihabdevteam-core-scope .word-table-button__meta-left .word-table-button__meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .word-table-button__meta-row{align-items:center;display:flex;gap:8px;justify-content:space-between;min-width:0;padding:12px 14px 14px}.ihabdevteam-core-scope .word-table-button__badges{align-items:center;display:flex;flex:0 0 auto;gap:4px}.ihabdevteam-core-scope .word-table-button--no-footer .word-table-button__meta-row{margin-top:auto}.ihabdevteam-core-scope .word-table-button__footer{display:flex;flex-direction:column;gap:8px;margin-top:auto;min-width:0;padding:12px 14px 14px}.ihabdevteam-core-scope .word-table-button__store-by{align-items:center;display:inline-flex;gap:6px;min-width:0;overflow:hidden}.ihabdevteam-core-scope .word-table-button__store-by .training-card__date{white-space:nowrap}.ihabdevteam-core-scope .word-table-button__store-stats{align-items:center;align-self:flex-end;display:inline-flex;gap:4px}.ihabdevteam-core-scope .word-table-button__more{flex:0 0 auto}.ihabdevteam-core-scope .word-table-button__badge{pointer-events:none}.ihabdevteam-core-scope .word-table-button__new-dot{background:var(--color-main);border-radius:50%;box-shadow:0 0 0 2px var(--color-white);height:10px;pointer-events:none;position:absolute;right:8px;top:8px;width:10px;z-index:3}";oe(VA);function N1({items:e,name:t,description:a,createdAt:o,code:n,published:i,publishedLabel:s,shared:c,sharedLabel:d,isNew:u,publisherName:p,publishedAt:h,likeCount:m,downloadCount:b,onPublisherClick:x,selected:f,onClick:C,onMore:g,titleNode:v,className:y}){const{t:_}=Ce.useTranslation(),B=v!=null,k=p!=null||h!=null||m!=null||b!=null,S=w=>{w.target===w.currentTarget&&!B&&(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),C?.())};return r.jsxs("div",{className:Te("word-table-button",f?"word-table-button--selected":"",k?"":"word-table-button--no-footer",y),role:"button",tabIndex:0,"aria-label":n?`${t} (${n})`:t,onClick:B?void 0:C,onKeyDown:S,children:[u&&r.jsx("span",{className:"word-table-button__new-dot","aria-label":_("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),r.jsx(Yu,{items:e,className:"word-table-button__thumb"}),r.jsxs("div",{className:"word-table-button__info",children:[r.jsxs("div",{className:"word-table-button__info-text",children:[v??r.jsx("div",{className:"word-table-button__title h4",children:t}),a&&r.jsx("div",{className:"word-table-button__desc body-3",children:a})]}),g&&!B&&r.jsx(he,{htmlType:"button",className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:_("common.moreFor",{name:t}),onClick:w=>{w.stopPropagation(),g(w)}})]}),(n||o||i||c)&&r.jsxs("div",{className:"word-table-button__meta-row",children:[r.jsx("span",{className:"word-table-button__meta-left",children:r.jsx("span",{className:"word-table-button__meta caption-1",children:o?Xn(o,_):""})}),r.jsxs("span",{className:"word-table-button__meta-right",children:[(i||c)&&r.jsxs("span",{className:"word-table-button__badges",children:[i&&r.jsx(_t,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:s??_("myWordTable.publishedBadge","\uBC1C\uD589\uB428")}),c&&r.jsx(_t,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:d??_("myWordTable.sharedBadge","\uACF5\uC720 \uC911")})]}),n&&r.jsx("span",{className:"word-table-button__code caption-1",children:n})]})]}),k&&r.jsxs("div",{className:"word-table-button__footer",children:[r.jsxs("span",{className:"word-table-button__store-by",children:[p&&r.jsx("button",{className:"training-card__publisher body-4",type:"button",onClick:w=>{w.stopPropagation(),x?.()},children:p}),h&&r.jsx("span",{className:"training-card__date body-4",children:Xn(h,_)})]}),r.jsxs("span",{className:"word-table-button__store-stats",children:[m!=null&&r.jsx(_t,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(m)}),b!=null&&r.jsx(_t,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(b)})]})]})]})}/**
1062
+ \uC804\uB2EC\uD558\uBBC0\uB85C(\uCF54\uB4DC \uD655\uC778\uB428) \uBAA8\uBC14\uC77C\uC5D0\uC11C \uC790\uC5F0 \uD3ED\uC73C\uB85C \uB418\uB3CC\uB9AC\uB824\uBA74 \uD2B9\uC774\uB3C4\uB85C\uB294 \uBD80\uC871. */.ihabdevteam-core-scope .trp-row__judge .badge{min-width:0!important;min-width:auto!important}.ihabdevteam-core-scope .result-table--answer .trp-row__judge .badge{height:26px;padding:0 12px}}`;oe(sA);function Ou(...e){for(const t of e)if(typeof t=="string"){const a=t.trim();if(a.length)return a}else{if(typeof t=="number"||typeof t=="boolean")return String(t);if(Array.isArray(t)&&t.length)return t.join(", ");if(t&&typeof t=="object"){const a=t,o=[a.text,a.label,a.value];for(const n of o){if(typeof n=="string"&&n.trim().length)return n.trim();if(typeof n=="number"||typeof n=="boolean")return String(n)}}}return null}function lA(e){return Ou(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function o1(e){if(!e)return;if(typeof e.decision=="boolean")return e.decision;if(typeof e.correct=="boolean")return e.correct;if(typeof e.heard=="boolean")return e.heard;if(typeof e.judgement=="boolean")return e.judgement;const t=Ou(e?.status,e?.result,e?.judge,e?.note);if(t){const a=t.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(o=>a.includes(o)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(o=>a.includes(o)))return!1}}function Fu(e){const{score:t,contextsLength:a,results:o=[],subtitle:n,onReplay:i,onClose:s,inline:c=!1,pending:d=!1}=e||{},{t:u}=Ce.useTranslation(),p=l.useId(),h=l.useCallback(()=>!d,[d]);l.useEffect(()=>{const v=a??0;if(t!=null&&v>0&&t/v>.5){const y=window.setTimeout(()=>{window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},0);return()=>window.clearTimeout(y)}},[t,a]);const m=l.useCallback(v=>{const y=o1(v),_=Ou(v?.wording,v?.label);return y===!0?{variant:"main",label:_??u("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:y===!1?{variant:"danger",label:_??u("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:_??u("training.result.notJudged","\uBBF8\uD310\uC815")}},[u]),b=a??0,x=t??0,f=l.useMemo(()=>Array.isArray(o)?o:[],[o]),C=l.useMemo(()=>f.map(v=>{const y=v??{},_=lA(y)||u("training.result.noContent","(\uB0B4\uC6A9\uC5C6\uC74C)"),{variant:B,label:k}=m(y),S=Array.isArray(y.corrects)?y.corrects:[],w=S.length?S.join(", "):y.answer!=null&&y.answer!==""?String(y.answer):null,A=typeof y.selectedText=="string"?y.selectedText:null,E=o1(y)===!0;return{problem:_,variant:B,label:k,answer:w,selectedText:A,isCorrect:E}}),[f,m,u]),g=l.useMemo(()=>C.some(v=>v.answer!==null||v.selectedText!==null),[C]);return r.jsx(eo,{onClose:s,closeOnBackdrop:!1,inline:c,ariaLabel:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",beforeClose:h,footerClassName:"trp-result__foot",footer:({animateThen:v,closeWithAnimation:y})=>r.jsxs(r.Fragment,{children:[d&&r.jsx("p",{id:p,className:"trp-actions__reason caption-1",role:"status",children:u("training.result.pendingDone","\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.")}),r.jsxs("div",{className:"trp-actions",children:[r.jsx(he,{htmlType:"button",size:56,type:"bar",label:u("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>v(i)}),r.jsx(he,{htmlType:"button",size:56,type:"bar",label:u("training.result.done","\uC644\uB8CC"),variant:"main",onClick:y,disabled:d,onDisabledClick:d?()=>{}:void 0,"aria-describedby":d?p:void 0})]})]}),children:()=>r.jsxs("div",{className:"trp-result is-on",children:[r.jsxs("header",{className:"trp-result__head",children:[r.jsx("p",{className:"trp-result__eyebrow caption-1",children:u("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),r.jsx("h1",{className:"trp-result__title h2",children:u("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),n&&r.jsx("p",{className:"trp-result__subtitle body-3",children:n}),r.jsx("div",{className:"trp-score",children:r.jsxs("div",{className:"trp-score__figure","aria-label":u("training.result.scoreAria",{correct:x,total:b}),children:[r.jsx("span",{className:"trp-score__big",children:x}),r.jsx("span",{className:"trp-score__sep",children:"/"}),r.jsx("span",{className:"trp-score__total",children:b})]})})]}),C.length>0&&r.jsx("section",{className:"trp-result__body",children:r.jsxs("div",{className:`result-table${g?" result-table--answer":""}`,role:"table","aria-label":u("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[r.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[r.jsx("span",{role:"columnheader",children:u("common.col.problem","\uBB38\uC81C")}),g&&r.jsx("span",{role:"columnheader",children:u("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),r.jsx("span",{className:"col-right",role:"columnheader",children:u("training.result.colJudge","\uD310\uC815")})]}),C.map((v,y)=>r.jsxs("div",{className:"result-table__row",role:"row",children:[r.jsxs("div",{className:"trp-row__problem",children:[r.jsx("span",{className:"trp-row__no caption-1",children:String(y+1).padStart(2,"0")}),r.jsx("div",{className:"trp-row__q body-2",children:v.problem})]}),g&&r.jsxs("div",{className:"trp-row__answers",children:[v.answer!==null&&r.jsxs("div",{className:"trp-row__answer-line",children:[r.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:u("training.result.colAnswer","\uC815\uB2F5")}),r.jsx("span",{className:"trp-row__answer-value body-2",children:v.answer})]}),r.jsxs("div",{className:"trp-row__answer-line",children:[r.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${v.isCorrect?"is-correct":"is-wrong"}`,children:u("training.result.colSelected","\uC120\uD0DD")}),r.jsx("span",{className:`trp-row__answer-value body-2 ${v.isCorrect?"is-correct":"is-wrong"}`,children:v.selectedText??"\u2014"})]})]}),r.jsx("div",{className:"trp-row__judge",children:r.jsx(_t,{variant:v.variant,label:v.label,fill:"soft",minWidth:80})})]},y))]})})]})})}function cA(e){l.useEffect(()=>{if(!e)return;const t=()=>typeof document>"u"||document.visibilityState!=="hidden";let a=null,o=null,n=0,i=0;const s=()=>{const p=Date.now();a==null&&(a=p),o==null&&(o=p)},c=()=>{o!=null&&(n+=Date.now()-o,o=null)};t()&&s();const d=()=>{if(c(),a==null||n-i<1e3||i===0&&n<5e3)return;const p=a+i;i=n,Ll({trainingType:e,startedAt:new Date(p).toISOString(),endedAt:new Date(a+n).toISOString()})},u=()=>{t()?s():d()};return typeof document<"u"&&document.addEventListener("visibilitychange",u),typeof window<"u"&&window.addEventListener("pagehide",d),()=>{typeof document<"u"&&document.removeEventListener("visibilitychange",u),typeof window<"u"&&window.removeEventListener("pagehide",d),d()}},[e])}function Hu(e,t){return e&&e.id||`page-${t??0}`}function Vu(e,t){return e&&e.key||`step-${t??0}`}function os(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function dA(e,t){return typeof e?.props=="function"?e.props(t)||{}:e?.props||{}}const uA=300,pA=()=>{try{return typeof window<"u"&&!!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches}catch{return!1}},_o=Object.freeze({}),r1=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]);function n1(e){const t=e,a=t?.results||t?.answers||[],o=Array.isArray(a)&&a.length>0?a.length:null,n=Array.isArray(a)?a.filter(i=>i?.correct===!0||i?.isCorrect===!0||i?.score===1||i?.heard===!0||i?.judgement===!0).length:null;return{results:a,correct:o!=null?n:null,total:o}}const hA=e=>r.jsx(Fu,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose,pending:e.pending});function mA(e){const{scenario:t,title:a,subTitle:o,depth:n,icon:i,wrapperStyle:s,iconTooltip:c,pageIndex:d,pageCount:u,stepIndex:p,stepCount:h,onBack:m,onComplete:b,onNext:x,onSettings:f,useNoiseSetting:C=!0,children:g,ariaLabel:v,label:y,buildResults:_,onResult:B,typeKey:k,entryPoint:S,dailyTotal:w,itemRef:A,renderResultPopup:E,noiseOverride:L}=e;cA(k&&!r1.has(k)?k:"");const z=l.useRef(0);l.useEffect(()=>{z.current=Date.now()},[]);const{t:j}=Ce.useTranslation(),I=B,D=!!t,T=t?.id||null,O=t?.meta||{},G=Array.isArray(t?.pages)?t.pages:[],Z=Array.isArray(g)||l.isValidElement(g)&&typeof g!="function"?l.Children.toArray(g).filter(l.isValidElement):[],H=Z.length>0,V=de=>de===Sn||de?.__isTrainingPage===!0,q=H&&Z.some(de=>V(de.type)),$=q?Z.filter(de=>V(de.type)).map((de,Be)=>{const K=de.props||{};return{id:`children-page-${Be}`,steps:l.Children.toArray(K.children).filter(l.isValidElement),pageTop:K.pageTop||K.top||null,pageBottom:K.pageBottom||K.bottom||null}}):[{id:"children-page-0",steps:Z}],N=H&&!D&&typeof g!="function",F=N?Math.max(1,$.length):0;l.useEffect(()=>{if(!(typeof document>"u"||!document.body)&&!document.body.classList.contains("ihabdevteam-core-scope"))return document.body.classList.add("ihabdevteam-core-scope"),()=>{document.body.classList.remove("ihabdevteam-core-scope")}},[]),l.useEffect(()=>{if(typeof document>"u"||!document.body)return;const de=document.body;return de.dataset.ihabTrainingPopupCount=String(Number(de.dataset.ihabTrainingPopupCount||"0")+1),de.classList.add("ihab-training-popup-open"),()=>{const Be=Number(de.dataset.ihabTrainingPopupCount||"1")-1;Be>0?de.dataset.ihabTrainingPopupCount=String(Be):(delete de.dataset.ihabTrainingPopupCount,de.classList.remove("ihab-training-popup-open"))}},[]),l.useEffect(()=>{if(!(typeof document>"u"||!document.body))return m6()},[]);const[R,W]=l.useState({...Ar,enabled:!1}),P=l.useRef(R);l.useEffect(()=>{P.current=R},[R]);const Q=l.useRef(L),ee=l.useRef(!1),Y=l.useRef(null);l.useEffect(()=>{let de=!1;const Be=K=>{if(de)return;ee.current=!0;const pe=K?Br({...Ar,enabled:!1},K):{...Ar},me=Y.current;Y.current=null;const Se=me?Br(pe,me):pe;P.current=Se,W(Se),me&&!Q.current&&Yn(Se),ir(Se);const Ee=Q.current;if(Ee){const Re=typeof Ee=="function"?Ee(Se):Ee,nt=Br(Se,Re);P.current=nt,W(nt),ir(nt)}};return Pl().then(Be),()=>{de=!0}},[]);const[ne,ie]=l.useState(null),[se,ce]=l.useState(null),U=l.useCallback((de,Be)=>{de==="main"?ie(Be):ce(Be)},[]),le=l.useRef(null),be=l.useRef(null),ye=l.useCallback(()=>{be.current!==null&&(clearTimeout(be.current),be.current=null);const de=le.current;le.current=null,de&&Yn(de)},[]);l.useEffect(()=>{if(typeof window>"u")return;const de=()=>{document.visibilityState==="hidden"&&ye()};return window.addEventListener("pagehide",ye),document.addEventListener("visibilitychange",de),()=>{window.removeEventListener("pagehide",ye),document.removeEventListener("visibilitychange",de),ye()}},[ye]);const xe=l.useCallback(de=>{const Be=Br(P.current,de);if(P.current=Be,W(Be),!ee.current){Y.current={...Y.current??{},...de},ir(Be);return}Q.current||(le.current=Be,be.current!==null&&clearTimeout(be.current),be.current=setTimeout(ye,uA)),ir(Be)},[ye]),ue=R.mainSpeed,_e=R.mainVolume,Ae=l.useCallback(de=>xe({mainSpeed:de}),[xe]),X=l.useCallback(de=>xe({mainVolume:de}),[xe]),we=l.useMemo(()=>({settings:R,setSettings:xe,registerAnalyser:U,mainAnalyser:ne,noiseAnalyser:se,playbackRate:ue,setPlaybackRate:Ae,mainVolume:_e,setMainVolume:X}),[R,xe,U,ne,se,ue,Ae,_e,X]),fe=l.useRef(null),[ae,ge]=l.useState(0),Me=l.useRef([]),[$e,Ye]=l.useState("center"),[ze,Ue]=l.useState(!1),re=l.useRef(!1),Oe=l.useRef(null),Fe=l.useCallback(de=>{re.current||(re.current=!0,Ue(!0),Oe.current=setTimeout(()=>{try{de()}catch{re.current=!1,Ue(!1)}},pA()?0:qB))},[]);l.useEffect(()=>()=>{Oe.current&&clearTimeout(Oe.current)},[]);const Ze=l.useRef(m);l.useEffect(()=>{Ze.current=m}),l.useEffect(()=>{const de=fe.current,Be=document.activeElement;if(cc(de,Be),de){const K=Array.from(de.querySelectorAll(Xa)).filter(pe=>!pe.closest('[aria-hidden="true"]'))[0];if(K)try{K.focus()}catch{}}return()=>{const K=document.activeElement;if(!K||K===document.body||de&&de.contains(K))try{dc(Be)?.focus?.()}catch{}}},[]),l.useEffect(()=>Ro(()=>Fe(()=>{const de=Ze.current;typeof de=="function"&&de()})),[Fe]),sc(fe,!0);const[Qe,De]=l.useState(!1),Le=l.useRef(!1),[ke,Ie]=l.useState(null),pt=l.useRef(0),Lt=()=>{pt.current+=1,Ie(null)},[Yt,At]=l.useState(""),[ct,ot]=l.useState(()=>os()),et=l.useRef(typeof d=="number"?d:null);l.useEffect(()=>{!D&&!N||(ot(os()),Lt())},[D,T,N]),l.useEffect(()=>{N&&ot(de=>{const Be=Math.max(0,Math.min(de.pageIndex,Math.max(0,F-1)));return Be!==de.pageIndex?{...de,pageIndex:Be,stepIndex:0}:de})},[N,F]);const lt=N?Math.max(0,Math.min(ct.pageIndex,F-1)):0,Ke=N?$[lt]:null,dt=N&&Ke&&Array.isArray(Ke.steps)?Ke.steps:[],Xe=D?ct.pageIndex:N?lt:typeof d=="number"?d:0,yt=D?G[Math.max(0,Math.min(ct.pageIndex,Math.max(0,G.length-1)))]:null,Ot=D&&yt&&Array.isArray(yt.steps)?yt.steps:[],Mt=D?Ot.length:N?dt.length:typeof h=="number"?h:0,vt=D||N?Math.max(0,Math.min(ct.stepIndex,Math.max(0,Mt))):typeof p=="number"?p:0,ut=D?G.length:N?F:typeof u=="number"?u:0;l.useLayoutEffect(()=>{const de=et.current;if(typeof Xe=="number"&&de!==null&&Xe!==de&&Xe>de)try{At(j("training.problemNotice",{n:Xe+1}))}catch{}et.current=typeof Xe=="number"?Xe:et.current},[Xe,d,j]),l.useLayoutEffect(()=>{const de=fe.current;if(!de)return;const Be=()=>de.querySelector(".page-popup__scroll");let K=null,pe=null,me=null;const Se=ht=>{const St=Be();if(!St)return;const Kt=St.scrollHeight<=St.clientHeight;if(Ye(Kt?"center":"top"),ht&&!Le.current){Le.current=!0;try{De(!0)}catch{}try{nt.disconnect()}catch{}}},Ee=()=>{K!==null&&cancelAnimationFrame(K),K=requestAnimationFrame(()=>{pe!==null&&clearTimeout(pe),pe=setTimeout(()=>Se(!0),60)})},Re=()=>{me!==null&&cancelAnimationFrame(me),me=requestAnimationFrame(()=>Se(!1))};Ee(),window.addEventListener("resize",Re);const nt=new MutationObserver(Ee);nt.observe(de,{childList:!0,subtree:!0,attributes:!0});const wt=setTimeout(()=>{Le.current||Se(!0)},400);return()=>{window.removeEventListener("resize",Re),K!==null&&cancelAnimationFrame(K),pe!==null&&clearTimeout(pe),me!==null&&cancelAnimationFrame(me),clearTimeout(wt);try{nt.disconnect()}catch{}}},[fe]);const Ve=l.useCallback(de=>{fe.current&&(fe.current._childOnNext=de)},[]),rt=l.useCallback(de=>{fe.current&&(fe.current._childOnResult=de)},[]),xt=l.useCallback((de,Be,K)=>{ot(pe=>{const me=pe.answersByPage[de]||{},Se=me[Be],Ee=as(K),Re=as(Se);return Se&&Re>Ee?pe:{...pe,answersByPage:{...pe.answersByPage,[de]:{...me,[Be]:K}}}})},[ot]),Xt=l.useCallback((de,Be,K)=>{const pe=Hu(yt,Xe),me=Vu(de,Be);xt(pe,me,K)},[yt,Xe,xt]),at=l.useCallback((de,Be,K)=>{const pe=Hu(yt,Xe),me=Vu(de,Be);xt(pe,me,K),!K?.allowChange&&de?.autoAdvance!==!1&&ot(Se=>({...Se,stepIndex:Math.max(Se.stepIndex,Be+1)}))},[yt,Xe,xt,ot]),Ft=l.useCallback((de,Be)=>{const K=Ke?.id||`children-page-${Xe??0}`,pe=typeof Be=="number"?Be:vt??0,me=`step-${pe}`;xt(K,me,de),de?.allowChange||ot(Se=>({...Se,stepIndex:Math.max(Se.stepIndex,pe+1)}))},[Ke,Xe,vt,xt,ot]),sa=l.useCallback((de,Be)=>{const K=Ke?.id||`children-page-${Xe??0}`,pe=`step-${typeof Be=="number"?Be:vt??0}`;xt(K,pe,de)},[Ke,Xe,vt,xt]),Ht=N?{currentPageIndex:Xe??0,currentStepIndex:vt??0,totalStepsInPage:dt.length,handleStepDone:Ft,handleStepChange:sa}:null,Sa=async()=>{const de=typeof t?.buildResults=="function"?await Promise.resolve(t.buildResults({scenario:t,pages:G,flowState:ct,answersByPage:ct.answersByPage})):null;return typeof I=="function"&&await Promise.resolve(I(de))||de},Ea=async()=>{const de=Ke?.id||`children-page-${ct.pageIndex}`,Be=ct.answersByPage[de]||{},K=q?(()=>{const Se={};let Ee=0;return $.forEach(Re=>{const nt=ct.answersByPage[Re.id]||{},wt=Array.isArray(Re.steps)?Re.steps.length:0;for(let ht=0;ht<wt;ht+=1){const St=nt[`step-${ht}`];typeof St<"u"&&(Se[`step-${Ee+ht}`]=St)}Ee+=wt}),Se})():Be;if(typeof _=="function"){const Se=await Promise.resolve(_(K,{pageAnswers:Be,answersByPage:ct.answersByPage,pages:$,currentPageId:de}));return typeof I=="function"&&await Promise.resolve(I(Se))||Se}const pe=Object.entries(Be).map(([Se,Ee],Re)=>({index:Re,key:Se,payload:Ee})),me={results:pe,answers:pe,score:0};return typeof I=="function"&&await Promise.resolve(I(me))||me},Na=()=>{const de=++pt.current,Be=()=>de!==pt.current;try{if(typeof document<"u"&&document.body){try{document.dispatchEvent(new CustomEvent("speechear-close-tooltips"))}catch{}document.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0})),document.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}}catch{}if(D){const me=Sa();Ie(_o);const Se=me;Promise.resolve(Se).then(Ee=>{Be()||Ie(Ee||{isEmpty:!0})}).catch(Ee=>{!Be()&&Ie({isEmpty:!0})});return}if(N){const me=Ea();Ie(_o);const Se=me;Promise.resolve(Se).then(Ee=>{Be()||Ie(Ee||{isEmpty:!0})}).catch(Ee=>{!Be()&&Ie({isEmpty:!0})});return}const K=fe.current&&fe.current._childOnResult,pe=me=>{try{return me?me():void 0}catch{return}};if(typeof K=="function"){const me=pe(K);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}me&&typeof me.then!="function"?Ie(me):Ie(me&&typeof me.then=="function"?_o:{});const Se=()=>{Be()||Ie(Ee=>Ee===_o?{}:Ee)};Promise.resolve(me).then(Ee=>{Ee&&!Be()?Ie(Ee):Se()}).catch(Ee=>{Se()});return}if(typeof I=="function"){const me=pe(I);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}me&&typeof me.then!="function"?Ie(me):Ie(me&&typeof me.then=="function"?_o:{});const Se=()=>{Be()||Ie(Ee=>Ee===_o?{}:Ee)};Promise.resolve(me).then(Ee=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:ma&&ma.tagName.toUpperCase()==="SCRIPT"&&ma.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}Ee&&!Be()?Ie(Ee):Se()}).catch(Ee=>{console.error("viewResults external handler failed",Ee),Se()});return}},yo=()=>{if(D){if(typeof Xe=="number"&&typeof ut=="number"&&Xe<ut-1){ot(Be=>({...Be,pageIndex:Be.pageIndex+1,stepIndex:0}));return}return Na()}if(N){const Be=dt.length;if(typeof vt=="number"&&vt<Be-1){ot(K=>({...K,stepIndex:K.stepIndex+1}));return}if(typeof Xe=="number"&&typeof ut=="number"&&Xe<ut-1){ot(K=>({...K,pageIndex:K.pageIndex+1,stepIndex:0}));return}return Na()}if(typeof x=="function"){try{x()}catch{}return}const de=fe.current&&fe.current._childOnNext;if(typeof de=="function"){try{de()}catch{}return}},Da=D?O.title||O.label||v||j("common.popup","\uD31D\uC5C5"):a||y||(Array.isArray(n)?n[n.length-1]:void 0)||v||j("common.popup","\uD31D\uC5C5"),wo=v||Da,oo=D?O.title??O.label??Da:a??y??Da,$t=(de,Be)=>{const K=Hu(yt,Xe),pe=Vu(de,Be),me=ct.answersByPage[K]?.[pe],Se=dA(de,{page:yt,pageIndex:Xe,step:de,stepIndex:Be,storedPayload:me,answersByPage:ct.answersByPage,flowState:ct}),Ee={key:pe,index:Be,stepIndex:vt,isLast:Be===Ot.length-1};switch(de?.type){case"listen":return r.jsx(es,{...Ee,...Se,onDone:Re=>at(de,Be,Re)});case"confirm":return r.jsx(Ji,{...Ee,...Se,onDone:Re=>at(de,Be,Re),onChange:Re=>Xt(de,Be,Re)});case"confirmWithText":return r.jsx(Qi,{...Ee,...Se,onDone:Re=>at(de,Be,Re),onChange:Re=>Xt(de,Be,Re)});case"orderList":return r.jsx(ts,{...Ee,...Se,onDone:Re=>at(de,Be,Re),onChange:Re=>Xt(de,Be,Re)});default:return null}},Ha=l.useRef(void 0);l.useEffect(()=>{const de=Ha.current;if(Ha.current=Xe,de===void 0||de===Xe||!zi())return;const Be=fe.current;if(!Be)return;const K=document.activeElement;if(!(!K||K===document.body||!Be.contains(K)||K.disabled===!0))return;const pe=Be.querySelector(`.training-steps ${Xa.split(", ").join(", .training-steps ")}`)??Array.from(Be.querySelectorAll(Xa)).find(me=>!me.closest('[aria-hidden="true"]'));try{pe?.focus()}catch{}},[Xe]);const Jt=D?G.length>0?r.jsx("div",{className:"training-steps",children:Ot.map((de,Be)=>$t(de,Be))},`replay-${ae}`):r.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:r.jsx("div",{className:"pp-empty",children:t?.emptyMessage||j("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,la=N?r.jsxs(a1.Provider,{value:Ht,children:[Ke?.pageTop?r.jsx("div",{className:"training-page-top",children:Ke.pageTop}):null,r.jsx("div",{className:"training-steps",children:dt.map((de,Be)=>{const K=de;return l.cloneElement(K,{...K.props,_stepIndex:Be,_totalSteps:dt.length,_stepKey:`step-${Be}`,_pageIndex:Xe})})},`replay-${ae}`),Ke?.pageBottom?r.jsx("div",{className:"training-page-bottom",children:Ke.pageBottom}):null]}):null,Va=l.useCallback(()=>{let de;if(k){const Be=ke,{results:K,correct:pe,total:me}=n1(ke);Ml({items:Rl(K),category:r1.has(k)?"sentence":"word",trainingType:k,entryPoint:S??"sentence",itemRef:A??null,correct:pe,total:me,score:typeof Be?.score=="number"?Be.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-z.current)/1e3)),dailyTotal:w??null}),de={correct:pe,total:me,attempt:Me.current.length+1,previousAttempts:[...Me.current]}}Lt(),Fe(()=>{typeof b=="function"&&b(de),typeof m=="function"&&m()})},[b,m,k,S,w,A,ke,Ie,Fe]),ha=l.useCallback(()=>At(""),[At]),Wa=l.useCallback(()=>{Fe(()=>{typeof m=="function"&&m()})},[m,Fe]),ko=r.jsxs("div",{className:`page-popup${ze?" page-popup--closing":""}`,role:"dialog","aria-modal":"true","aria-label":wo,children:[r.jsxs("div",{ref:fe,className:`page-popup__panel ${Qe?"":"page-popup__panel--measuring"} ${$e==="center"?"page-popup__panel--center":$e==="top"?"page-popup__panel--top":""}`,children:[r.jsx(ju,{title:oo,subtitle:D?O.subtitle||O.label:Array.isArray(n)?n.join(" / "):void 0,desc:D?void 0:o,depth:D?O.depth:n,icon:D?O.icon:i,wrapperStyle:D?O.wrapperStyle:s,iconTooltip:D?O.iconTooltip:c,progressMax:ut,progressIndex:Xe,pageIndex:Xe,pageCount:ut,onBack:Wa,onClose:Wa}),r.jsx("div",{className:"page-popup__scroll",children:r.jsx("div",{className:`page-popup__content ${$e==="center"?"page-popup__content--center":"page-popup__content--top"}${e.contentFull?" page-popup__content--full":""}`,children:N?la:D?Jt:typeof g=="function"?g({registerOnNext:Ve,registerOnResult:rt,panelRef:fe,setResultOverlay:Ie}):g})}),r.jsx(Tu,{onSettings:f,onNext:yo,onResult:Na,useNoiseSettingBtn:!!(D?O.useNoiseSetting??!0:C),stepIndex:vt,stepCount:Mt,pageIndex:Xe,pageCount:ut,resultOpen:!!(ke&&!ke.isEmpty)})]}),ke&&!ke.isEmpty&&(E??hA)({score:ke.score,results:ke.results||ke.answers||[],contextsLength:ke.results?ke.results.length:ke.answers?ke.answers.length:0,onReplay:()=>{if(z.current=Date.now(),ke!==_o){const{correct:de,total:Be}=n1(ke);Me.current.push({correct:de,total:Be})}if(Lt(),ge(de=>de+1),D){if(ot(os()),typeof t?.onReplay=="function")try{t.onReplay()}catch{}return}if(N){ot(os());return}try{const de=fe.current&&fe.current._childOnResult;typeof de=="function"&&de({replay:!0})}catch{}},onClose:Va,pending:ke===_o}),ke?.isEmpty&&r.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:r.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[r.jsx("div",{className:"page-popup__scroll",children:r.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:r.jsx("div",{className:"page-popup__empty",children:j("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),r.jsx("div",{className:"page-popup__bottom",children:r.jsx(he,{htmlType:"button",variant:"main",size:48,onClick:Va,label:j("training.result.done","\uC644\uB8CC")})})]})}),r.jsx(Fo,{message:Yt,position:"top",onClose:ha})]}),Ga=r.jsx(Ki.Provider,{value:we,children:ko});return typeof document<"u"&&document.body?ca.createPortal(Ga,document.body):Ga}const ao=mA;ao.Page=Sn,ao.ListenStep=$u,ao.ConfirmStep=Ru,ao.ConfirmWithTextStep=Pu,ao.OrderListStep=zu,ao.CardStep=Iu,ao.CardOrderStep=iA;var bA=".ihabdevteam-core-scope .word-search-result-block__actions{display:flex;gap:var(--spacing-xs);justify-content:center}.ihabdevteam-core-scope .word-search-result-block__toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:flex-end}.ihabdevteam-core-scope .word-search-result-block__inner{background:var(--color-white);border:1px solid var(--color-darkWhite);border-radius:var(--radius-m);display:flex;flex-direction:column;gap:var(--spacing-m);padding:var(--spacing-l)}.ihabdevteam-core-scope .word-search-result-block__head{align-items:center;-moz-column-gap:var(--spacing-xs);column-gap:var(--spacing-xs);display:flex;flex-wrap:wrap;row-gap:0}.ihabdevteam-core-scope .word-search-result-block__head-main{align-items:center;display:flex;gap:var(--spacing-xs);min-width:0}.ihabdevteam-core-scope .word-search-result-block__head-icon{color:var(--color-gray);flex-shrink:0}.ihabdevteam-core-scope .word-search-result-block__title{min-width:0;text-align:left}.ihabdevteam-core-scope .word-search-result-block__head-actions{align-items:center;display:flex;gap:var(--spacing-xs);margin-left:auto}.ihabdevteam-core-scope .word-search-result-block__head-disc{color:var(--color-gray);flex:0 0 100%;margin:0;min-width:0}.ihabdevteam-core-scope .word-search-result-block__inner:has(+.word-search-result-block__actions:not(:empty)){margin-bottom:var(--spacing-content)}.ihabdevteam-core-scope .word-search-result-block__items{grid-gap:var(--spacing-xs);display:grid;gap:var(--spacing-xs);grid-template-columns:repeat(auto-fill,200px);justify-content:center}.ihabdevteam-core-scope .word-search-result-block__items .button__label-text,.ihabdevteam-core-scope .word-search-result-block__items .button__sub-label-text{white-space:nowrap;word-break:keep-all}.ihabdevteam-core-scope .word-search-result-block__items .button__label:has(.button__label-text:nth-child(4)){gap:4px 10px;grid-auto-columns:auto;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}.ihabdevteam-core-scope .word-search-result-block__items .button-word:has(.button__label-text:nth-child(4)){height:auto;min-height:72px;padding-bottom:8px;padding-top:8px}@media (max-width:767px){.ihabdevteam-core-scope .word-search-result-block__items{grid-template-columns:repeat(2,1fr);justify-content:normal}.ihabdevteam-core-scope .word-search-result-block__items .button{min-width:0!important;width:100%}}.ihabdevteam-core-scope .word-search-result-block__empty{color:var(--color-gray);margin:0;padding:24px 0;text-align:center}.ihabdevteam-core-scope .word-search-result-block__group{display:flex;flex-direction:column;gap:10px}.ihabdevteam-core-scope .word-search-result-block__group+.word-search-result-block__group{border-top:1px solid var(--color-darkWhite);margin-top:var(--spacing-l);padding-top:var(--spacing-l)}.ihabdevteam-core-scope .word-search-result-block__pagination-bottom{display:flex;justify-content:center;margin-top:16px}.ihabdevteam-core-scope .word-search-result-block__empty-wrap{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--spacing-xs,8px)}.ihabdevteam-core-scope .word-search-result-block__empty-hint{color:var(--color-sub);line-height:1.6;max-width:34em;text-align:center}";oe(bA);var gA='.ihabdevteam-core-scope .tooltip-word-image{background:var(--color-white);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:var(--spacing-s);position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .tooltip-word-image__cells{display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .tooltip-word-image__cell{background:#f5f5f5;background:var(--color-white,#f5f5f5);border-radius:var(--radius-card);flex-shrink:0;height:120px;overflow:hidden;position:relative;width:120px}.ihabdevteam-core-scope .tooltip-word-image__cell img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;transition:opacity .2s;width:100%}.ihabdevteam-core-scope .tooltip-word-image__spinner{align-items:center;display:flex;inset:0;justify-content:center;position:absolute}.ihabdevteam-core-scope .tooltip-word-image__spinner:after{animation:tooltip-spin .7s linear infinite;border:3px solid #e0e0e0;border-radius:50%;border-top:3px solid var(--color-white,#e0e0e0);border:3px solid var(--color-white,#e0e0e0);border-top-color:var(--color-main,#4f6ef7);content:"";height:24px;width:24px}@keyframes tooltip-spin{to{transform:rotate(1turn)}}.ihabdevteam-core-scope .tooltip-word-image__cell--text{align-items:center;color:var(--color-black);display:flex;font-weight:700;justify-content:center}';oe(gA);function fA({label:e,homonum:t}){const a=io()?.(e,t)??"",{imgRef:o,loading:n,hasImage:i,onLoad:s,onError:c}=nu(a);return i?r.jsxs("div",{className:"tooltip-word-image__cell",children:[n&&r.jsx("div",{className:"tooltip-word-image__spinner"}),r.jsx("img",{ref:o,src:a,alt:e,draggable:!1,style:{opacity:n?0:1},onLoad:s,onError:c})]}):r.jsx("div",{className:"tooltip-word-image__cell tooltip-word-image__cell--text h3",children:r.jsx("span",{children:e})})}function Wu({words:e,anchorRect:t}){const a=l.useRef(null),[o,n]=l.useState(null);return l.useLayoutEffect(()=>{if(!t||!a.current)return;const{offsetWidth:i,offsetHeight:s}=a.current,c=window.innerWidth;let d=t.left+t.width/2-i/2,u=t.top-s-8;u<8&&(u=t.bottom+8),d=Math.max(8,Math.min(d,c-i-8)),n({left:d,top:u})},[t]),!t||e.length===0?null:ca.createPortal(r.jsx("div",{ref:a,className:"tooltip-word-image",style:{visibility:o?"visible":"hidden",left:o?.left??0,top:o?.top??-9999},children:r.jsx("div",{className:"tooltip-word-image__cells",children:e.map(i=>r.jsx(fA,{label:i.label,homonum:i.homonum},`${i.label}_${i.homonum??1}`))})}),document.body)}const vA=new Intl.Collator("ko");function i1({titleIcon:e,resultCount:t,resultUnit:a,searchQuery:o,items:n,groups:i,selected:s=[],onSelect:c,maxSelect:d,onClearSelection:u,onPrint:p,onPrintEmpty:h,className:m,emptyHint:b,sectionType:x="page",disc:f}){const{t:C,i18n:g}=Ce.useTranslation(),v=g.language?.startsWith("ko")??!1,{anchorRect:y,openAt:_,close:B}=Io(),[k,S]=l.useState(null),w=l.useCallback(()=>{B(),S(null)},[B]);gd(w,!!k);const A=(o??"").trim(),E=/^[^,[\]\s]+$/.test(A)?A:"",L=E.length>0,z=o===void 0&&t===void 0,j=L?"match":z?"original":"ganada",[I,D]=l.useState(()=>j),[T,O]=l.useState("50"),[G,Z]=l.useState(1),[H,V]=l.useState(L);H!==L&&(V(L),D(j));const q=I==="match"&&!L||I==="original"&&!z?j:I,$=l.useMemo(()=>[...L?[{value:"match",label:C("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],...z?[{value:"original",label:C("wordSearch.sort.original",{defaultValue:"\uBC1B\uC740 \uC21C\uC11C"})}]:[],{value:"ganada",label:C("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:C("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:C("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:C("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:C("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:C("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[C,L,z]),N=l.useMemo(()=>["10","25","50","100"].map(ue=>({value:ue,label:C("wordSearch.pageSize",{count:Number(ue),defaultValue:`${ue}\uAC1C\uC529 \uBCF4\uAE30`})})),[C]),F=ue=>ue.words?.[0],R=l.useMemo(()=>{const ue=[...E].length,_e=Ws(E),Ae=new Map;return X=>{let we=Ae.get(X);return we===void 0&&(we=_e((X.words?.[0]?.label??"").slice(0,ue))?0:1,Ae.set(X,we)),we}},[E]),W=l.useCallback((ue,_e)=>{const Ae=fe=>F(fe)?.label??"",X=fe=>F(fe)?.syllables??[...Ae(fe)].length,we=fe=>(fe.words??[]).reduce((ae,ge)=>{const Me=parseInt(ge.grade??"",10);return Number.isFinite(Me)&&Me<ae?Me:ae},999);switch(q){case"match":return R(ue)-R(_e)||vA.compare(Ae(ue),Ae(_e));case"ganada":return Ae(ue).localeCompare(Ae(_e),"ko");case"ganada_desc":return Ae(_e).localeCompare(Ae(ue),"ko");case"syllable":return X(ue)-X(_e)||Ae(ue).localeCompare(Ae(_e),"ko");case"syllable_desc":return X(_e)-X(ue)||Ae(ue).localeCompare(Ae(_e),"ko");case"grade":return we(ue)-we(_e)||Ae(ue).localeCompare(Ae(_e),"ko");case"grade_desc":return we(_e)-we(ue)||Ae(ue).localeCompare(Ae(_e),"ko");default:return 0}},[q,R]),P=l.useMemo(()=>n.slice().sort(W),[n,W]),Q=Number(T)||10,ee=l.useMemo(()=>(i??[]).flatMap(ue=>ue.items.slice().sort(W).map(_e=>({item:_e,label:ue.label}))),[i,W]),Y=i?ee.length:P.length,ne=Math.max(1,Math.ceil(Y/Q)),ie=Math.min(G,ne),se=l.useMemo(()=>P.slice((ie-1)*Q,ie*Q),[P,ie,Q]),ce=l.useMemo(()=>{if(!i)return null;const ue=ee.slice((ie-1)*Q,ie*Q),_e=new Map;for(const{item:Ae,label:X}of ue)_e.has(X)||_e.set(X,[]),_e.get(X).push(Ae);return[..._e.entries()].map(([Ae,X])=>({label:Ae,items:X}))},[i,ee,ie,Q]);l.useEffect(()=>{Z(1)},[I,T,Y,o]);const U=Y>0?r.jsxs("div",{className:"word-search-result-block__toolbar",children:[r.jsx(fa,{size:40,options:$,value:q,onChange:D,ariaLabel:C("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),r.jsx(fa,{size:40,options:N,value:T,onChange:O,ariaLabel:C("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),r.jsx(_n,{page:ie,totalPages:ne,onChange:Z})]}):void 0,le=ue=>{c&&c(ue)},be=t!==void 0&&a?r.jsxs(r.Fragment,{children:[C("wordSearch.resultTitlePrefix","\uCD1D "),r.jsx("span",{style:{color:"var(--color-main)"},children:t}),C("wordSearch.resultTitleSuffix",{unit:v?ul(a):a})]}):void 0,ye=t!==void 0&&t>0&&d!==void 0&&a?C("wordSearch.resultDisc",{unit:v?hl(a):a,max:d,selected:s.length}):void 0,xe=f??ye;return r.jsxs(Ho,{type:x,className:Te("word-search-result-block",m),children:[r.jsxs("div",{className:"word-search-result-block__inner",children:[(be||U||xe)&&r.jsxs("div",{className:"word-search-result-block__head",children:[r.jsxs("div",{className:"word-search-result-block__head-main",children:[e&&r.jsx(Je,{icon:e,className:"word-search-result-block__head-icon"}),be&&r.jsx("span",{className:"word-search-result-block__title h3",children:be})]}),U&&r.jsx("div",{className:"word-search-result-block__head-actions",children:U}),xe&&r.jsx("div",{className:"word-search-result-block__head-disc body-3",children:xe})]}),(i?i.length===0:n.length===0)&&r.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[r.jsx("p",{className:"word-search-result-block__empty body-3",children:C("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),b&&r.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:b})]}),i?(ce??[]).map(ue=>r.jsx("div",{className:"word-search-result-block__group",children:r.jsx("div",{className:"word-search-result-block__items",children:ue.items.map(_e=>{const Ae=s.includes(_e.id);return r.jsx("div",{onMouseEnter:X=>{_(X.currentTarget),S(_e.words??[])},onMouseLeave:w,children:r.jsx(he,{htmlType:"button",size:"word",align:"grid",label:(_e.words??[]).map(X=>X.label),subLabel:(_e.words??[]).some(X=>X.subLabel)?(_e.words??[]).map(X=>X.subLabel):void 0,selected:Ae,onClick:()=>le(_e.id),minWidth:200})},_e.id)})})},ue.label)):r.jsx("div",{className:"word-search-result-block__items",children:se.map(ue=>{const _e=s.includes(ue.id);return r.jsx("div",{onMouseEnter:Ae=>{_(Ae.currentTarget),S(ue.words??[])},onMouseLeave:w,children:r.jsx(he,{htmlType:"button",size:"word",align:"grid",label:(ue.words??[]).map(Ae=>Ae.label),subLabel:(ue.words??[]).some(Ae=>Ae.subLabel)?(ue.words??[]).map(Ae=>Ae.subLabel):void 0,selected:_e,onClick:()=>le(ue.id),minWidth:200})},ue.id)})}),k&&y&&r.jsx(Wu,{words:k,anchorRect:y})]}),ne>1&&r.jsx("div",{className:"word-search-result-block__pagination-bottom",children:r.jsx(_n,{page:ie,totalPages:ne,onChange:Z})}),(u||p)&&r.jsxs("div",{className:"word-search-result-block__actions",children:[u&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:C("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:s.length===0,onClick:s.length===0?void 0:u}),p&&r.jsx("div",{onClick:s.length===0?h:void 0,children:r.jsx(he,{htmlType:"button",size:"56",type:"bar",variant:"main",label:C("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:s.length===0,onClick:s.length===0?void 0:p})})]})]})}var xA='.ihabdevteam-core-scope .phoneme-select-block{align-items:flex-start;flex:1 1 auto;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell{align-items:center;display:flex;flex-direction:column;gap:12px}.ihabdevteam-core-scope .phoneme-select-block__controls{align-items:center;display:flex;flex-direction:row;gap:var(--spacing-xs);justify-content:center;width:100%}@media (max-width:767px){.ihabdevteam-core-scope .phoneme-select-block__controls{align-items:center;flex-direction:column}}.ihabdevteam-core-scope .phoneme-select-block__count-control{align-self:center}.ihabdevteam-core-scope .phoneme-select-block__cell-group{align-items:flex-start;display:flex;gap:var(--spacing-xs)}.ihabdevteam-core-scope .phoneme-select-block__cell-vs{align-self:center;color:var(--color-lightGray);margin-bottom:22px;padding:0 16px}.ihabdevteam-core-scope .phoneme-select-block__pair-panels{display:flex;gap:var(--spacing-s);width:100%}.ihabdevteam-core-scope .phoneme-select-block__panel-group{display:flex;flex:1;flex-direction:column;gap:var(--spacing-m)}.ihabdevteam-core-scope .phoneme-select-block__cells{align-items:flex-start;display:flex;gap:var(--spacing-xs);justify-content:center;padding:var(--spacing-m) 0;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-circle{align-items:center;background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);box-shadow:var(--shadow-tooltip);display:flex;height:80px;justify-content:center;position:relative;width:240px}.ihabdevteam-core-scope .phoneme-select-block__cell-index{color:var(--color-gray);line-height:1}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo{align-items:stretch;display:flex;flex-direction:row;height:100%;justify-content:center;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part{align-items:center;color:var(--color-black);display:flex;flex:1;flex-direction:column;gap:4px;justify-content:center;padding-top:3px;position:relative}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--no-label{padding-top:0}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-char.h1{line-height:1}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-char--excluded{color:var(--color-whiteLine);transform:translateY(-2px)}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--empty .phoneme-select-block__cell-jamo-char{transform:translateY(-2px)}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-label{color:var(--color-lightGray);line-height:1}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--empty .phoneme-select-block__cell-jamo-label{color:var(--color-darkWhite)}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part+.phoneme-select-block__cell-jamo-part:before{background:var(--color-whiteLine);content:"";height:20px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:1px}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part--empty{color:var(--color-darkWhite)}.ihabdevteam-core-scope .phoneme-select-block__panels{align-items:stretch;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-m);width:100%}.ihabdevteam-core-scope .phoneme-select-block__detail{align-items:flex-start;display:flex;flex-direction:row;gap:var(--spacing-s);justify-content:center}.ihabdevteam-core-scope .phoneme-select-block__detail>.filter-panel{flex:1}.ihabdevteam-core-scope .phoneme-select-block>.filter-panel{align-self:stretch;width:100%}.ihabdevteam-core-scope .phoneme-select-block__controls .button38--bar{min-width:96px}.ihabdevteam-core-scope .phoneme-select-block__required{color:var(--color-main);line-height:1;margin-left:2px}.ihabdevteam-core-scope .phoneme-select-block__before-search{display:flex;justify-content:center;text-align:center;width:100%}.ihabdevteam-core-scope .phoneme-select-block__search-row{display:flex;gap:var(--spacing-xs);justify-content:center;width:100%}.ihabdevteam-core-scope .phoneme-select-block__checking{align-items:center;background:transparent;border:1px solid var(--color-whiteLine);border-radius:var(--radius-m);color:var(--color-disabled);cursor:default;display:flex;gap:10px;height:60px;min-width:198px;padding:0 28px}.ihabdevteam-core-scope .phoneme-select-block__checking-label{white-space:nowrap}.ihabdevteam-core-scope .phoneme-select-block__spinner{animation:phonemeSpinner .7s linear infinite;border:2px solid var(--color-whiteLine);border-radius:50%;border-top-color:var(--color-disabled);flex-shrink:0;height:18px;width:18px}@keyframes phonemeSpinner{to{transform:rotate(1turn)}}@media (max-width:767px){.ihabdevteam-core-scope .phoneme-select-block__detail,.ihabdevteam-core-scope .phoneme-select-block__pair-panels{flex-direction:column}.ihabdevteam-core-scope .phoneme-select-block__detail>.filter-panel{width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-vs{align-self:center;margin-bottom:0;padding:4px 0}.ihabdevteam-core-scope .phoneme-select-block__cells{flex-wrap:wrap}.ihabdevteam-core-scope .phoneme-select-block__cell-group{flex-shrink:0;width:min(240px,100%)}.ihabdevteam-core-scope .phoneme-select-block__cell-group>.phoneme-select-block__cell{flex:1 1 auto;min-width:0;width:auto}.ihabdevteam-core-scope .phoneme-select-block__cell{flex-shrink:0;width:min(240px,100%)}.ihabdevteam-core-scope .phoneme-select-block__cell-circle{height:64px;width:100%}.ihabdevteam-core-scope .phoneme-select-block__cell-jamo-part{font-size:24px}}';oe(xA);function CA(e,t){return t.map(a=>{const o=typeof a=="string"?a:a.label,n=typeof a=="string"?void 0:a.displayLabel;return{label:o,value:e[o]??"",displayLabel:n}})}function s1({sections:e,selectedList:t,count:a,onCountChange:o,maxCount:n=4,minCount:i=1,combinationSections:s,combinationSectionsForSlot:c,onSelect:d,placeholder:u="-",className:p,title:h,titleIcon:m,disc:b,showInfoButton:x=!0,onClearPhoneme:f,onSearch:C,onSearchEmpty:g,searchDisabled:v=!1,searchLabel:y,searchChecking:_=!1,pairMode:B=!1,sectionType:k="page",beforeSearchContent:S,beforeContent:w,afterContent:A,hideCountControl:E=!1,ordinal:L=!1}){const{t:z}=Ce.useTranslation(),j=l.useMemo(()=>z("wordPairs.infoNotes",{returnObjects:!0}),[z]),I=l.useMemo(()=>Array.from({length:n-i+1},(R,W)=>{const P=i+W;return{key:String(P),label:z("wordPairs.count",{n:P})}}),[z,n,i]),D=l.useMemo(()=>z("wordPairs.ordinals",{returnObjects:!0}),[z]),T=l.useCallback(R=>L?z("wordPairs.phonemeOrdinalLabel",{ordinal:D[R-1]??R}):a===1?z("wordPairs.phonemeSingleLabel","\uC74C\uC808"):z("wordPairs.phonemeN",{n:R}),[L,D,a,z]),O=l.useCallback(R=>L?z("wordPairs.phonemeContrastOrdinalLabel",{ordinal:D[R-1]??R}):a===1?z("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):z("wordPairs.phonemeContrast",{n:R}),[L,D,a,z]),G=l.useCallback((R,W)=>W?r.jsxs(r.Fragment,{children:[R,r.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):R,[]),{anchorRect:Z,toggleAt:H,close:V}=Io(),q=l.useCallback(R=>o(Number(R)),[o]),$=na("(max-width: 767px)"),N=l.useCallback(R=>CA(R,e).map(({label:W,value:P,displayLabel:Q})=>{const ee=!!P&&P!=="\uC5C6\uC74C";return r.jsxs("span",{className:Te("phoneme-select-block__cell-jamo-part",P?"":"phoneme-select-block__cell-jamo-part--empty",ee?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[r.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${P==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:P==="\uC5C6\uC74C"?"x":P||u}),ee&&r.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:Q??W})]},W)}),[e,u]),F=r.jsxs(r.Fragment,{children:[r.jsx("div",{"data-tooltip-ignore":!0,children:r.jsx(he,{htmlType:"button",size:40,type:$?"dot":void 0,icon:"info",label:$?void 0:z("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),ariaLabel:z("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),className:Z?"is-selected":void 0,"aria-expanded":!!Z,"aria-haspopup":"dialog",onClick:R=>H(R.currentTarget)})}),Z&&r.jsx(go,{title:z("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:j,anchorRect:Z,onClose:V})]});return r.jsxs(Ho,{type:k,title:h,icon:m,disc:b,action:x?F:void 0,className:Te("phoneme-select-block",p),children:[w,!E&&r.jsx("div",{className:"phoneme-select-block__controls",children:r.jsx(Ia,{options:I,value:String(a),onChange:q,size:40,className:"phoneme-select-block__count-control"})}),r.jsx("div",{className:"phoneme-select-block__cells",children:B?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2]??{};return r.jsxs("div",{className:"phoneme-select-block__cell",children:[r.jsx("div",{className:"phoneme-select-block__cell-circle",children:r.jsx("div",{className:"phoneme-select-block__cell-jamo",children:N(P)})}),r.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:T(W+1)})]},W)})}),r.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:z("wordPairs.phonemeSelect.vs","\uB300")}),r.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2+1]??{};return r.jsxs("div",{className:"phoneme-select-block__cell",children:[r.jsx("div",{className:"phoneme-select-block__cell-circle",children:r.jsx("div",{className:"phoneme-select-block__cell-jamo",children:N(P)})}),r.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:O(W+1)})]},W)})})]}):t.map((R,W)=>r.jsxs("div",{className:"phoneme-select-block__cell",children:[r.jsx("div",{className:"phoneme-select-block__cell-circle",children:r.jsx("div",{className:"phoneme-select-block__cell-jamo",children:N(R)})}),r.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:T(W+1)})]},W))}),(s||c)&&r.jsx("div",{className:"phoneme-select-block__panels",children:r.jsx("div",{className:"phoneme-select-block__detail",children:B?r.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[r.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2]??{};return r.jsx(Fa,{title:G(T(W+1),W===0),sections:c?c(P,W*2):s,selected:P,onSelect:d?.(W*2),align:"newline"},W)})}),r.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:a}).map((R,W)=>{const P=t[W*2+1]??{};return r.jsx(Fa,{title:O(W+1),sections:c?c(P,W*2+1):s,selected:P,onSelect:d?.(W*2+1),align:"newline"},W)})})]}):t.map((R,W)=>r.jsx(Fa,{title:G(T(W+1),W===0),sections:c?c(R,W):s,selected:R,onSelect:d?.(W),align:"newline"},W))})}),S&&r.jsx("div",{className:"phoneme-select-block__before-search",children:S}),(f||C||_)&&(()=>{const R=t.every(W=>Object.entries(W).every(([P,Q])=>!Q||P==="\uC885\uC131"&&Q==="\uC5C6\uC74C"));return r.jsxs("div",{className:"phoneme-select-block__search-row",onClick:R?g:void 0,children:[f&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:z("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:R,onClick:R?void 0:f}),C?r.jsx(he,{htmlType:"button",size:"56",type:"bar",variant:"main",icon:_?r.jsx("span",{className:"phoneme-select-block__spinner","aria-hidden":"true"}):void 0,label:y??z("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:R||v||_,onDisabledClick:_?()=>{}:void 0,"aria-busy":_||void 0,onClick:C}):_?r.jsxs("div",{className:"phoneme-select-block__checking","aria-busy":"true",children:[r.jsx("div",{className:"phoneme-select-block__spinner"}),r.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:y??z("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):null]})})(),A]})}function l1({title:e,sections:t,selected:a,onSelect:o,collapsible:n,defaultCollapsed:i,collapsed:s,onCollapsedChange:c,headerSummary:d,headerAction:u,className:p}){const{t:h}=Ce.useTranslation();return r.jsx(Fa,{className:p,title:e??h("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:t,selected:a,onSelect:o,collapsible:n,defaultCollapsed:i,collapsed:s,onCollapsedChange:c,headerSummary:d,headerAction:u,align:"inline"})}function c1({title:e,headerAction:t,sections:a,selected:o,onSelect:n,className:i}){const{t:s}=Ce.useTranslation();return a.length===0?null:r.jsx(Fa,{className:i,title:e??s("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:t,sections:a,selected:o,onSelect:n,align:"newline"})}function d1({title:e,mode:t,onModeChange:a,matchMode:o,onMatchModeChange:n,positionCount:i,onPositionCountChange:s,inputMode:c,onInputModeChange:d,className:u}){const{t:p}=Ce.useTranslation(),h={searchMode:p("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:p("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:p("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:p("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:p("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:p("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:p("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:p("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:p("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:p("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:p("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=C=>p("wordPairs.count",{n:C}),b=[{label:h.searchMode,items:[h.include,h.pick,h.explicit],display:"segmented",labelAction:r.jsx(vr,{title:p("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[p("wordPairs.mode.infoInclude","\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."),p("wordPairs.mode.infoPick","\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694."),p("wordPairs.mode.infoContrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.")]})},{label:h.phonemeOrder,items:[h.orderAny,h.orderMatch],display:"segmented",labelAction:r.jsx(vr,{items:p("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:h.count,items:[m(1),m(2)],display:"segmented"},{label:h.inputMode,items:[h.charInput,h.pronInput],display:"segmented",labelAction:r.jsx(vr,{title:p("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[p("wordPairs.input.infoChar","\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."),p("wordPairs.input.infoPron","\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.")]})}],x={[h.searchMode]:t==="explicit"?h.explicit:t==="pick"?h.pick:h.include,[h.phonemeOrder]:o==="ordered"?h.orderMatch:h.orderAny,[h.count]:m(i),[h.inputMode]:c==="phoneme"?h.pronInput:h.charInput},f=(C,g)=>{g===h.searchMode?a(C===h.explicit?"explicit":C===h.pick?"pick":"include"):g===h.phonemeOrder?n(C===h.orderMatch?"ordered":"unordered"):g===h.count?s(C===m(2)?2:1):g===h.inputMode&&d(C===h.pronInput?"phoneme":"word")};return r.jsx(Fa,{className:u,title:e??p("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:b,selected:x,onSelect:f,align:"inline"})}var _A=".ihabdevteam-core-scope .popup-list .popup-panel{max-height:calc(100% - 60px);max-width:880px;width:calc(100% - 40px)}.ihabdevteam-core-scope .popup-list .popup-content{display:flex;flex-direction:column;gap:var(--spacing-m);min-height:0;overflow:hidden}.ihabdevteam-core-scope .popup-list .table-wrap{flex:1;min-height:0;overflow-x:auto;overflow-y:auto;overscroll-behavior-y:contain}.ihabdevteam-core-scope .popup-list .table-fields,.ihabdevteam-core-scope .popup-list .table-row{min-width:520px}.ihabdevteam-core-scope .popup-list__row--selected{background:var(--color-deepWhite);color:var(--color-main);font-weight:600}";oe(_A);function u1(e){const{title:t,items:a,columns:o,gridTemplateColumns:n,mobileGridTemplateColumns:i,searchPlaceholder:s,searchFn:c,defaultSortKey:d,defaultSortAsc:u=!0,selectedId:p,selectedIds:h,onSelect:m,onClose:b,pageSizeOptions:x=[10,25,50,100],initialPageSize:f,emptyText:C,countLabel:g,topContent:v,className:y=""}=e,{t:_}=Ce.useTranslation(),B=s??_("common.search","\uAC80\uC0C9"),k=C??_("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),[S,w]=l.useState(""),[A,E]=l.useState(d??o[0]?.key??""),[L,z]=l.useState(u),[j,I]=l.useState(String(f??x[0]??10)),[D,T]=l.useState(1);l.useEffect(()=>{T(1)},[S,j]);const O=c!==null,G=l.useCallback((P,Q)=>{if(!Q)return!0;const ee=Q.toLowerCase();return o.some(Y=>{const ne=P[Y.key];return ne==null?!1:String(ne).toLowerCase().includes(ee)})},[o]),Z=c??G,H=l.useMemo(()=>{const P=O?a.filter(Q=>Z(Q,S)):a;return A?[...P].sort((Q,ee)=>{const Y=Q[A],ne=ee[A];return Y===ne?0:Kc(Y,ne,L)}):P},[a,S,A,L,O,Z]),V=Math.max(1,Math.ceil(H.length/Number(j)));D>V&&T(V);const q=Math.min(D,V),$=H.slice((q-1)*Number(j),q*Number(j)),N=l.useCallback(P=>{A===P?z(Q=>!Q):(E(P),z(!0)),T(1)},[A]),F=l.useMemo(()=>{if(typeof g=="function"){const P=H.length,Q=g(P);if(typeof Q=="string"){const ee=Q.lastIndexOf(String(P));if(ee>=0)return{prefix:Q.slice(0,ee),suffix:Q.slice(ee+String(P).length)}}return{label:Q}}if(typeof g=="string"&&g.includes("{n}")){const[P,Q]=g.split("{n}");return{prefix:P,suffix:Q}}return{prefix:_("common.totalCountPrefix","\uCD1D "),suffix:_("common.totalCountSuffix","\uAC1C")}},[g,H.length,_]),R=l.useMemo(()=>o.map(P=>({label:P.label,onClick:P.sortable!==!1?()=>N(P.key):void 0,className:P.className,sortDir:P.sortable!==!1&&A===P.key?L?"asc":"desc":null})),[o,A,L,N]),W=l.useMemo(()=>x.map(P=>({value:String(P),label:_("common.pageSizeLabel",{n:P})})),[x,_]);return r.jsxs(eo,{className:`popup-list ${y}`,title:t,onClose:b,children:[v,"label"in F&&r.jsx("p",{className:"toolbar__count body-1",children:F.label}),r.jsx(Ti,{count:"label"in F?void 0:{value:H.length,prefix:F.prefix,suffix:F.suffix},search:O?{value:S,onChange:w,placeholder:B}:void 0,pageSize:{options:W,value:j,onChange:I},pagination:{page:q,total:V,onChange:T}}),r.jsx(Pi,{size:"medium",gridTemplateColumns:n,mobileGridTemplateColumns:i,resizable:!0,fields:R,items:$,onRowClick:m,renderRow:P=>{const Q=h!=null?P.id!=null&&h.has(P.id):p!=null&&P.id===p;return o.map(ee=>({content:ee.render?ee.render(P):P[ee.key]??"",className:Te(ee.className,Q&&"popup-list__row--selected")}))},empty:k})]})}function Gu(e){const{title:t,message:a,topContent:o,details:n,children:i,confirmLabel:s,cancelLabel:c,hideCancel:d=!1,extraAction:u,confirmVariant:p="main",confirmDisabled:h=!1,onConfirm:m,closeOnConfirm:b=!0,onClose:x,inline:f,size:C="small",className:g,initialFocus:v="close"}=e,{t:y}=Ce.useTranslation(),_=l.useRef(null);l.useEffect(()=>{if(f||v==="close")return;const E=_.current?.closest(".popup-panel"),L=Array.from(E?.querySelectorAll(".popup-footer--buttons button")??[]),z=v==="confirm"?L[L.length-1]:d?void 0:L[u?1:0];z&&!z.disabled&&z.focus()},[]);const B=l.useRef(!1),[k,S]=l.useState(!1),w=E=>{let L=!1;return{close:()=>{L=!0,E()},\uB2EB\uC558\uB098:()=>L}},A=async E=>{if(B.current)return;B.current=!0;const L=typeof document<"u"?document.activeElement:null;S(!0);let z=!1;try{z=await E()}catch(j){typeof console<"u"&&console.error(j)}finally{z||(B.current=!1,S(!1),requestAnimationFrame(()=>{const j=document.activeElement;(!j||j===document.body)&&L?.isConnected&&L.focus()}))}};return r.jsxs(eo,{title:t,onClose:x,closeDisabled:k,inline:f,size:C,className:Te("confirm-popup",o!=null&&"confirm-popup--has-top",g),buttons:[...u?[{label:u.label,variant:u.variant??"default",disabled:u.disabled||k,onClick:async({closeWithAnimation:E})=>{await A(async()=>{const L=w(E);await u.onClick(L.close);const z=u.closeOnClick??!0;return z&&E(),z||L.\uB2EB\uC558\uB098()})}}]:[],...d?[]:[{label:c??y("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:k,onClick:({closeWithAnimation:E})=>E()}],{label:s??y("common.confirm","\uD655\uC778"),variant:p,disabled:h||k,onClick:async({closeWithAnimation:E})=>{await A(async()=>{const L=w(E);return await m(L.close),b&&E(),b||L.\uB2EB\uC558\uB098()})}}],children:[o!=null&&r.jsx("div",{className:"confirm-popup__top",children:o}),n&&n.length>0&&r.jsx(An,{children:n.map((E,L)=>r.jsx(to,{label:E.label,children:r.jsx("span",{className:"panel-row__text body-2",children:E.value})},L))}),r.jsx("p",{ref:_,className:"body-2 confirm-popup__message",children:a}),i]})}function p1(e,t,a={}){const{t:o}=Ce.useTranslation(),[n,i]=l.useState(!1),s=l.useRef(!1),c=l.useCallback(()=>{s.current=!0},[]),d=l.useCallback(()=>s.current?(s.current=!1,!0):e?(i(!0),!1):!0,[e]),u=n?r.jsx(Gu,{title:a.title??o("common.discardConfirm.title","\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?"),message:a.message??o("common.discardConfirm.body","\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4."),confirmLabel:a.confirmLabel??o("common.discardConfirm.confirm","\uC785\uB825 \uCDE8\uC18C"),confirmVariant:"danger",onConfirm:()=>{i(!1),t()},onClose:()=>i(!1)}):null;return{beforeClose:d,discardPopup:u,allowClose:c}}var yA=".ihabdevteam-core-scope .coupon-input-popup__input{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-s);box-sizing:border-box;color:var(--color-darkGray);font-family:inherit;height:48px;letter-spacing:.06em;padding:0 14px;text-transform:uppercase;transition:border-color .15s;width:100%}.ihabdevteam-core-scope .coupon-input-popup__input:focus{border-color:var(--color-main);outline:none}.ihabdevteam-core-scope .coupon-input-popup__input::-moz-placeholder{color:var(--color-lightGray);letter-spacing:normal;text-transform:none}.ihabdevteam-core-scope .coupon-input-popup__input::placeholder{color:var(--color-lightGray);letter-spacing:normal;text-transform:none}.ihabdevteam-core-scope .coupon-input-popup__error{color:#e84040;color:var(--color-red,#e84040);margin:var(--spacing-xs) 0 0}";oe(yA);function h1({onApply:e,onCancel:t}){const{t:a}=Ce.useTranslation(),[o,n]=l.useState(""),[i,s]=l.useState(!1),[c,d]=l.useState(null),u=l.useRef(null);l.useEffect(()=>{u.current?.focus()},[]);const p=l.useCallback(async b=>{const x=o.trim();if(x){s(!0),d(null);try{await e(x),b()}catch(f){d(Jr(f)),s(!1),requestAnimationFrame(()=>u.current?.focus())}}},[o,e]),h=l.useCallback((b,x)=>{b.key==="Enter"&&!b.nativeEvent.isComposing&&p(x)},[p]),m=b=>{n(b.target.value),d(null)};return r.jsx(eo,{className:"coupon-input-popup",title:a("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:t,closeDisabled:i,buttons:[{label:a("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:i,onClick:({closeWithAnimation:b})=>b()},{label:a("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!o.trim()||i,onClick:({closeWithAnimation:b})=>{p(b)}}],children:({closeWithAnimation:b})=>r.jsxs(r.Fragment,{children:[r.jsx("input",{ref:u,className:"coupon-input-popup__input body-2","aria-label":a("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),placeholder:a("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:o,onChange:m,onKeyDown:x=>h(x,b),disabled:i,autoComplete:"off",spellCheck:!1}),c&&r.jsx("p",{className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}var wA=".ihabdevteam-core-scope .party-container{inset:0;overflow:visible;pointer-events:none;position:fixed}.ihabdevteam-core-scope .confetti{display:none;left:0;opacity:0;position:fixed;top:0;transform:translateZ(0);will-change:transform,opacity}.ihabdevteam-core-scope .confetti--left{transform-origin:left bottom}.ihabdevteam-core-scope .confetti--right{transform-origin:right bottom}.ihabdevteam-core-scope .confetti.show{display:block;opacity:1;transition:opacity .2s linear}";oe(wA);const m1=["var(--color-main)","var(--color-sub)"],kA=2e3;function BA(e,t){if(!t.startsWith("var("))return t;try{const a=t.slice(4,-1).trim();return getComputedStyle(e).getPropertyValue(a).trim()||null}catch{return null}}function rs({active:e=!1,count:t=40,duration:a=2e3,strength:o=1,onComplete:n,trigger:i=0}){const s=l.useMemo(()=>{const f=Math.floor(t/2),C=t-f,g=(v,y)=>Array.from({length:v}).map((_,B)=>{const k=6+Math.random()*12,S=Math.round(Math.min(18,k*Math.min(1.5,1+o*.4))),w=m1[Math.floor(Math.random()*m1.length)],A=Math.random()*300,E=(360+Math.random()*260)*o*1.2,L=(y==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,z=Math.cos(L)*E,j=Math.sin(L)*E*1.35,I=Math.random()*720-360,D=(1200+Math.random()*3e3)*Math.min(1.6,1+o*.3),T=Math.random()>.7?"50%":"3px";return{id:`${y}-${B}`,side:y,size:S,color:w,delay:A,vx:z,vy:j,angularVel:I,life:D,borderRadius:T}});return[...g(f,"left"),...g(C,"right")]},[t,o]),c=l.useRef(null),d=l.useRef({}),u=l.useRef(null),p=l.useRef(n);l.useEffect(()=>{p.current=n},[n]);const h=l.useRef(null),m=l.useRef(null),b=()=>{if(typeof document>"u")return null;let f=document.querySelector("[data-ihab-effect-root]");return f||(f=document.createElement("div"),f.className="app-effect",f.dataset.ihabEffectRoot="",f.style.position="fixed",f.style.inset="0",f.style.pointerEvents="none",f.style.zIndex="99998",document.body.appendChild(f)),f};if(typeof document<"u"&&m.current==null&&(m.current=b()),l.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){const V=setTimeout(()=>p.current?.(),0);return()=>clearTimeout(V)}const f=1200,C=performance.now(),g=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,v=Math.max(60,(window.innerHeight||800)*.05),y=V=>Math.max(40,(V||window.innerWidth)*.02),_=g?.width||window.innerWidth||375,B=g?.height||window.innerHeight||812,k=V=>{const q=[...V].sort(($,N)=>$-N);return q[Math.floor(q.length/2)]||1},S=k(s.map(V=>Math.abs(V.vy))),w=k(s.map(V=>Math.abs(V.vx))),A=Math.sqrt(2*f*(B*.72+v))/S,E=S*A/f,L=_*.5/(w*E),z=(V,q,$)=>Math.min($,Math.max(q,V)),j=z(A,.8,2.4),I=z(L,.7,2.2),D=a>0?a/kA:1,T=s.map(V=>({...V,life:V.life*D,vx:V.vx*I,vy:V.vy*j,startTime:C+V.delay,ended:!1})),O=g?{x:g.left-y(g.width),y:g.top+g.height+v}:{x:-y(window.innerWidth),y:window.innerHeight+v},G=g?{x:g.left+g.width+y(g.width),y:g.top+g.height+v}:{x:window.innerWidth+y(window.innerWidth),y:window.innerHeight+v},Z=V=>{let q=!1;for(const $ of T){const N=d.current[$.id];if(!N||!N)continue;if(V<$.startTime){N.style.display="none",q=!0;continue}if(!$._inited){const se=$.side==="left"?O.x:G.x,ce=$.side==="left"?O.y:G.y;N.style.left=`${se}px`,N.style.top=`${ce}px`,N.style.transform="translate3d(0px, 0px, 0)",N.style.display="block",N.style.zIndex="100000",typeof $.color=="string"&&$.color.startsWith("var(")&&(N.style.background=BA(N,$.color)??"#FF0060"),$._inited=!0}const F=(V-$.startTime)/1e3;if(F<0)continue;const R=$.life/1e3;if(F>=R){N.style.opacity="0",N.style.display="none",$.ended=!0;continue}q=!0;const W=$.side==="left"?O.x:G.x,P=$.side==="left"?O.y:G.y,Q=W+$.vx*F,ee=P+$.vy*F+.5*f*F*F,Y=($.angularVel||0)*F,ne=Q-W,ie=ee-P;N.style.transform=`translate3d(${ne}px, ${ie}px, 0) rotate(${Y}deg)`,N.style.opacity=`${Math.max(0,1-F/R)}`}q?u.current=requestAnimationFrame(Z):p.current?.()};u.current=requestAnimationFrame(Z);const H=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const V=document.createElement("div");V.className="party-container",V.style.position="fixed",V.style.inset="0",V.style.pointerEvents="none",V.style.overflow="visible",V.style.zIndex="2147483647";for(const q of s){const $=document.createElement("span");$.className=`confetti confetti--${q.side}`,$.setAttribute("aria-hidden","true"),$.style.display="none",$.style.position="fixed",$.style.left="0px",$.style.top="0px",$.style.width=`${q.size}px`,$.style.height=`${Math.max(4,q.size*.6)}px`,$.style.background=q.color,$.style.borderRadius=q.borderRadius,$.style.transform="translate3d(0,0,0)",$.style.opacity="0",V.appendChild($),d.current[q.id]=$}(document.body||m.current).appendChild(V),h.current=V}}catch{}},300);return()=>{if(u.current&&cancelAnimationFrame(u.current),clearTimeout(H),h.current){try{h.current.remove()}catch{}h.current=null}}},[e,a,i,s]),!e)return null;const x=r.jsx("div",{className:"party-container",ref:c,children:s.map(f=>r.jsx("span",{"aria-hidden":!0,ref:C=>{d.current[f.id]=C},className:`confetti confetti--${f.side}`,style:{width:`${f.size}px`,height:`${Math.max(4,f.size*.6)}px`,background:f.color,borderRadius:f.borderRadius}},`${f.id}-${i}`))});return typeof document<"u"?ca.createPortal(x,m.current||document.body):x}const Uu=e=>typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0;function b1({trigger:e=0,active:t=!1}){const[a,o]=l.useState(null);l.useEffect(()=>{if(typeof window>"u")return;const i=s=>{const c=s.detail??{};o(d=>({n:(d?.n??0)+1,count:Uu(c.count),strength:Uu(c.strength),duration:Uu(c.duration)}))};return window.addEventListener("party:trigger",i),()=>window.removeEventListener("party:trigger",i)},[]);const n=l.useCallback(()=>o(null),[]);return r.jsxs(r.Fragment,{children:[r.jsx(rs,{active:t,trigger:e}),a&&r.jsx(rs,{active:!0,trigger:a.n,count:a.count,strength:a.strength,duration:a.duration,onComplete:n})]})}var AA=".ihabdevteam-core-scope .page-title{align-items:center;display:flex;gap:12px;justify-content:space-between;padding-bottom:var(--spacing-page)}.ihabdevteam-core-scope .page-title__main{align-items:flex-start;display:flex;flex:1;flex-direction:column;min-width:0;text-align:left}.ihabdevteam-core-scope .page-title__title-row{align-items:center;display:flex;gap:12px}.ihabdevteam-core-scope .page-title__title{margin:0}.ihabdevteam-core-scope .page-title__title-action{align-items:center;display:flex;flex-shrink:0}.ihabdevteam-core-scope .page-title__badge{align-items:center;display:flex}.ihabdevteam-core-scope .page-title__sub{color:var(--color-gray);margin:6px 0 0}.ihabdevteam-core-scope .page-title__action{flex-shrink:0;margin-left:var(--spacing-s)}@media (max-width:767px){.ihabdevteam-core-scope .page-title{align-items:flex-start;flex-direction:column;gap:10px}.ihabdevteam-core-scope .page-title__action{align-self:center;margin-left:0}}.ihabdevteam-core-scope .page-title__back{flex-shrink:0;margin-left:-8px;margin-right:-4px}.ihabdevteam-core-scope .page-title--wrap{flex-wrap:wrap}.ihabdevteam-core-scope .page-title--wrap .page-title__main{min-width:min(320px,100%)}";oe(AA);function g1({title:e,sub:t,rightAction:a,titleAction:o,badge:n,badgeVariant:i="default",documentTitle:s,onBack:c,backLabel:d,wrap:u=!1}){const{t:p}=Ce.useTranslation();Uc(typeof e=="string"?e:s??null);const h=d??p("common.back","\uB4A4\uB85C");return r.jsxs("div",{className:u?"page-title page-title--wrap":"page-title",children:[r.jsxs("div",{className:"page-title__main",children:[r.jsxs("div",{className:"page-title__title-row",children:[c&&r.jsx(he,{htmlType:"button",className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:h,showTooltipInfo:h,onClick:c}),r.jsx("h1",{className:"page-title__title h1",children:e}),n&&r.jsx("div",{className:"page-title__badge",children:r.jsx(_t,{label:n,size:"small",variant:i,fill:"outline"})}),o?r.jsx("div",{className:"page-title__title-action",children:o}):null]}),t&&r.jsx("p",{className:"page-title__sub body-2",children:t})]}),a?r.jsx("div",{className:"page-title__action",children:a}):null]})}function f1(e){return e??""}const v1=l.createContext({words:[],loading:!1});function x1(){return l.useContext(v1)}function C1({words:e,loading:t,error:a,statusMessage:o,localVersion:n,remoteVersion:i,progress:s,clearAndRefetch:c,checkRemoteVersion:d,children:u}){return r.jsx(v1.Provider,{value:{words:e,loading:t,error:a,statusMessage:o,localVersion:n,remoteVersion:i,progress:s,clearAndRefetch:c,checkRemoteVersion:d},children:u})}var SA=".ihabdevteam-core-scope .summary-strip{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:var(--spacing-m) var(--spacing-l);width:100%}.ihabdevteam-core-scope .summary-strip--flat{box-shadow:none}.ihabdevteam-core-scope .summary-strip__row{align-items:center;display:flex;gap:var(--spacing-l)}.ihabdevteam-core-scope .summary-strip__items{grid-gap:var(--spacing-s) var(--spacing-l);display:grid;flex:1;gap:var(--spacing-s) var(--spacing-l);grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}@media (min-width:640px){.ihabdevteam-core-scope .summary-strip__items{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.ihabdevteam-core-scope .summary-strip__items{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1280px){.ihabdevteam-core-scope .summary-strip__items{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-columns:repeat(var(--summary-strip-cols,4),minmax(0,1fr))}}.ihabdevteam-core-scope .summary-strip__item{min-width:0}.ihabdevteam-core-scope .summary-strip__label{color:var(--color-gray);margin:0}.ihabdevteam-core-scope .summary-strip__value{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .summary-strip__actions{align-items:center;display:flex;flex-shrink:0;gap:var(--spacing-xs)}";oe(SA);function _1({items:e,actions:t,columns:a,flat:o=!1,className:n,style:i}){const s=a??e.length;return r.jsx("section",{className:Te("summary-strip",o&&"summary-strip--flat",n),style:{"--summary-strip-cols":String(s),...i},children:r.jsxs("div",{className:"summary-strip__row",children:[r.jsx("div",{className:"summary-strip__items",children:e.map((c,d)=>r.jsxs("div",{className:"summary-strip__item",children:[r.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),r.jsx("p",{className:"summary-strip__value body-3b",title:typeof c.value=="string"||typeof c.value=="number"?String(c.value):void 0,children:c.value})]},d))}),t&&r.jsx("div",{className:"summary-strip__actions",children:t})]})})}var EA='.ihabdevteam-core-scope .report-doc{--report-page-w:210mm;--report-page-h:297mm;--report-margin:14mm;display:flex;justify-content:safe center;max-width:100%;min-width:0;overflow-x:auto;padding-block:var(--spacing-s);position:relative;width:100%}.ihabdevteam-core-scope .report-doc__pages{align-items:center;display:flex;flex-direction:column;gap:var(--spacing-l)}.ihabdevteam-core-scope .report-doc__page{background:#fff;box-shadow:var(--shadow-card);color:#000;display:flex;flex-direction:column;flex-shrink:0;min-height:var(--report-page-h);padding:var(--report-margin);width:var(--report-page-w)}.ihabdevteam-core-scope .report-doc__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--spacing-s)}.ihabdevteam-core-scope .report-doc__title{margin:0}.ihabdevteam-core-scope .report-doc__footer{align-items:center;color:var(--color-gray);display:flex;justify-content:space-between;margin-top:auto;padding-top:var(--spacing-s)}.ihabdevteam-core-scope .report-doc__footer-left{align-items:center;display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .report-doc__page-no{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ihabdevteam-core-scope .report-doc__logo{height:28px;width:auto}.ihabdevteam-core-scope .report-doc__measure{display:flex;flex-direction:column;opacity:0;pointer-events:none;position:absolute;width:calc(var(--report-page-w) - var(--report-margin)*2);z-index:-10}.ihabdevteam-core-scope .report-doc__measure-blocks{display:flex;flex-direction:column}.ihabdevteam-core-scope .report-doc__ruler{height:calc(var(--report-page-h) - var(--report-margin)*2)}@media print{.ihabdevteam-core-scope .report-doc{display:block;overflow:visible;padding-block:0}.ihabdevteam-core-scope .report-doc__pages{display:block}.ihabdevteam-core-scope .report-doc__page{-moz-column-break-after:page;box-shadow:none;break-after:page;page-break-after:always}.ihabdevteam-core-scope .report-doc__page:last-child{-moz-column-break-after:auto;break-after:auto;page-break-after:auto}.ihabdevteam-core-scope .report-doc__measure{height:0;overflow:hidden}.ihabdevteam-core-scope .report-doc__measure>*{flex-shrink:0}}';oe(EA);const NA=(e,t)=>`${e} / ${t}`;function y1({blocks:e,sectionTitles:t,logo:a,footer:o,pageLabel:n=NA,pageWidth:i,pageHeight:s,margin:c,className:d,style:u}){const{t:p}=Ce.useTranslation(),h=l.useRef(null),m=l.useRef(null),b=l.useRef(null),x=l.useRef(null),[f,C]=l.useState(null),[g,v]=l.useState(!1);l.useEffect(()=>{const D=h.current;if(!D)return;const T=()=>v(D.scrollWidth>D.clientWidth+1);if(T(),typeof ResizeObserver>"u")return;const O=new ResizeObserver(T);return O.observe(D),()=>O.disconnect()},[f]);const y=e.map(D=>`${D.id}\0${D.section??""}\0${D.group??""}`).join(""),_=f&&f.shape===y?f.pages:null,[B,k]=l.useState(0);l.useEffect(()=>{const D=x.current;if(!D||typeof ResizeObserver>"u")return;const T=new ResizeObserver(()=>k(D.offsetHeight));return T.observe(D),()=>T.disconnect()},[]);const[S,w]=l.useState(0);l.useEffect(()=>{const D=m.current;if(!D||typeof ResizeObserver>"u")return;let T=null;const O=typeof requestAnimationFrame=="function"?H=>requestAnimationFrame(H):H=>setTimeout(H,16),G=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:H=>clearTimeout(H),Z=new ResizeObserver(()=>{T==null&&(T=O(()=>{T=null,w(H=>H+1)}))});return Array.from(D.children).forEach(H=>Z.observe(H)),()=>{Z.disconnect(),T!=null&&G(T)}},[y]),l.useLayoutEffect(()=>{const D=m.current,T=x.current;if(!D||!T)return;const O=R=>R.getBoundingClientRect().height||R.offsetHeight,G=new Map;b.current?.querySelectorAll("[data-chrome-section]").forEach(R=>{G.set(R.dataset.chromeSection??"",O(R))});const Z=R=>O(T)-(G.get(R??"")??0),H=Array.from(D.children).map(R=>O(R)),V=[];e.forEach((R,W)=>{const P=V[V.length-1],Q=P?e[P[0]]:void 0;Q&&R.group!=null&&Q.group===R.group&&Q.section===R.section?P.push(W):V.push([W])});const q=[];let $=[],N=0;const F=()=>{$.length&&q.push($),$=[],N=0};V.forEach(R=>{const W=R.reduce((Q,ee)=>Q+H[ee],0),P=Z(e[R[0]].section);$.length&&e[$[0]].section!==e[R[0]].section&&F(),W>P?R.forEach(Q=>{$.length&&N+H[Q]>P+.01&&F(),$.push(Q),N+=H[Q]}):($.length&&N+W>P+.01&&F(),R.forEach(Q=>$.push(Q)),N+=W)}),F(),C(R=>R&&R.shape===y&&JSON.stringify(R.pages)===JSON.stringify(q)?R:{shape:y,pages:q})},[y,B,i,s,c,S]);const A=jd,E=A,L=o??r.jsxs(r.Fragment,{children:[r.jsx("img",{src:E,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),z=(D,T,O)=>({header:r.jsxs("div",{className:"report-doc__header",children:[r.jsx("h2",{className:"report-doc__title h3b",children:O!=null&&t?.[O]||null}),a]}),footer:r.jsxs("div",{className:"report-doc__footer caption-1",children:[r.jsx("span",{className:"report-doc__footer-left",children:L}),r.jsx("span",{className:"report-doc__page-no",children:n(D,T)})]})}),j=Array.from(new Set(e.map(D=>D.section??""))),I={...i?{"--report-page-w":i}:null,...s?{"--report-page-h":s}:null,...c?{"--report-margin":c}:null,...u};return r.jsxs("div",{ref:h,className:Te("report-doc",d),style:I,tabIndex:g?0:void 0,role:g?"group":void 0,"aria-label":g?p("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[r.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[r.jsx("div",{ref:x,className:"report-doc__ruler"}),r.jsx("div",{ref:b,children:j.map(D=>{const T=z(1,1,D||void 0);return r.jsxs("div",{"data-chrome-section":D,children:[T.header,T.footer]},D)})}),r.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(D=>r.jsx("div",{children:D.content},D.id))})]}),_&&r.jsx("div",{className:"report-doc__pages",children:_.map((D,T)=>{const{header:O,footer:G}=z(T+1,_.length,e[D[0]].section);return r.jsxs("section",{className:"report-doc__page",children:[O,D.map(Z=>r.jsx("div",{children:e[Z].content},e[Z].id)),G]},T)})})]})}var DA=".ihabdevteam-core-scope .report-info{border:1px solid var(--color-border);border-radius:var(--radius-card);margin-bottom:var(--spacing-l);padding:var(--spacing-s) var(--spacing-m)}.ihabdevteam-core-scope .report-info__title{color:var(--color-darkGray);margin:0 0 var(--spacing-s)}.ihabdevteam-core-scope .report-info__grid{grid-gap:var(--spacing-xs) var(--spacing-l);display:grid;gap:var(--spacing-xs) var(--spacing-l);grid-template-columns:repeat(4,minmax(0,1fr));grid-template-columns:repeat(var(--report-info-cols,4),minmax(0,1fr))}@media (max-width:640px){.ihabdevteam-core-scope .report-info__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.ihabdevteam-core-scope .report-info__field{align-items:baseline;display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .report-info__label{color:var(--color-gray);flex-shrink:0;width:3.5rem}.ihabdevteam-core-scope .report-info__value{color:var(--color-darkGray);white-space:nowrap}";oe(DA);function w1({title:e,fields:t,columns:a=4,className:o,style:n}){return r.jsxs("div",{className:Te("report-info",o),style:{"--report-info-cols":String(a),...n},children:[e&&r.jsx("p",{className:"report-info__title h5b",children:e}),r.jsx("div",{className:"report-info__grid",children:t.map((i,s)=>r.jsxs("div",{className:"report-info__field body-2",children:[r.jsx("span",{className:"report-info__label body-3",children:i.label}),r.jsx("span",{className:"report-info__value",children:i.value})]},s))})]})}const Uo=new Map;let ns=null;const TA=12;function jA(e){for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){const a=window.getComputedStyle(t);if(a.transform&&a.transform!=="none"||a.filter&&a.filter!=="none"||a.perspective&&a.perspective!=="none"||/paint|layout|strict|content/.test(a.contain||""))return t}return document}function is(){const e=new Map;for(const t of Uo.keys()){if(!t.isConnected)continue;const a=jA(t),o=e.get(a)??[];o.push(t),e.set(a,o)}for(const t of e.values()){t.sort((o,n)=>o.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);let a=0;for(const o of t){a>0?o.style.setProperty("--update-alert-stack-offset",`${a}px`):o.style.removeProperty("--update-alert-stack-offset");const n=o.getBoundingClientRect().height;n>0&&(a+=n+TA)}}}function LA(e){return typeof window>"u"?()=>{}:(Uo.set(e,(Uo.get(e)??0)+1),Uo.get(e)===1&&typeof ResizeObserver<"u"&&(ns??(ns=new ResizeObserver(()=>is())),ns.observe(e)),is(),()=>{const t=(Uo.get(e)??1)-1;if(t>0){Uo.set(e,t),is();return}Uo.delete(e),ns?.unobserve(e),e.style.removeProperty("--update-alert-stack-offset"),is()})}var MA=".ihabdevteam-core-scope .update-alert{animation:update-alert-slide-in .32s cubic-bezier(.34,1.56,.64,1) both;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:hsla(0,0%,97%,.92);border:1px solid var(--color-main);border-radius:var(--radius-m);box-shadow:0 4px 24px rgba(0,0,0,.14),0 1px 4px rgba(0,0,0,.08),inset 0 0 0 .5px rgba(0,0,0,.1);padding:var(--spacing-l);width:380px}.ihabdevteam-core-scope .update-alert,.ihabdevteam-core-scope .update-alert-stack{display:flex;flex-direction:column;gap:12px;max-width:calc(100vw - 32px);position:fixed;right:16px;top:16px;top:calc(16px + var(--update-alert-stack-offset, 0px));z-index:var(--z-alert)}.ihabdevteam-core-scope .update-alert-stack{align-items:flex-end}.ihabdevteam-core-scope .update-alert-stack .update-alert{position:relative;top:auto;z-index:auto}.ihabdevteam-core-scope .update-alert:has(.update-alert__close) .update-alert__title{padding-right:24px}.ihabdevteam-core-scope .update-alert__close{align-items:center;background:none;border:none;border-radius:6px;border-radius:var(--radius-s,6px);color:#888;cursor:pointer;display:flex;font-size:20px;height:24px;justify-content:center;line-height:1;position:absolute;right:8px;top:8px;width:24px}.ihabdevteam-core-scope .update-alert__close:hover{background:rgba(0,0,0,.06);color:#333}.ihabdevteam-core-scope .update-alert__top{align-items:center;display:flex;gap:10px}@keyframes update-alert-slide-in{0%{opacity:0;transform:translateX(calc(100% + 24px))}to{opacity:1;transform:translateX(0)}}.ihabdevteam-core-scope .update-alert__icon{align-items:center;color:var(--color-main);display:flex;flex-shrink:0;font-size:20px;height:40px;justify-content:center;width:40px}.ihabdevteam-core-scope .update-alert__body{flex:1;min-width:0}.ihabdevteam-core-scope .update-alert__title{color:#1a1a1a;text-align:left}.ihabdevteam-core-scope .update-alert__message{color:#555;margin-top:2px;text-align:left}.ihabdevteam-core-scope .update-alert__action{width:100%}";oe(MA);function k1({title:e,message:t,actionLabel:a,onAction:o,icon:n,onClose:i,className:s=""}){const{t:c}=Ce.useTranslation(),d=a??c("common.update","\uC5C5\uB370\uC774\uD2B8"),u=l.useRef(null),p=l.useRef(!1);return l.useLayoutEffect(()=>{const h=u.current,m=h?.parentElement?.closest(".update-alert-stack")??h,b=m?LA(m):null;return()=>{b?.(),p.current&&h&&h.contains(document.activeElement)&&ci(h)}},[]),r.jsxs("div",{ref:u,className:Te("update-alert",s),role:"alert",children:[i&&r.jsx("button",{type:"button",className:"update-alert__close",onClick:()=>{p.current=!0,i()},"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),r.jsxs("div",{className:"update-alert__top",children:[r.jsx("div",{className:"update-alert__icon",children:n??r.jsx(cp,{size:20,strokeWidth:2})}),r.jsxs("div",{className:"update-alert__body",children:[r.jsx("div",{className:"update-alert__title h4",children:e}),r.jsx("div",{className:"update-alert__message body-3",children:t})]})]}),o&&r.jsx(he,{htmlType:"button",size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:o,children:d})]})}var $A=".ihabdevteam-core-scope .training-card{background:var(--color-white);border:1px solid transparent;border-radius:var(--radius-card);display:flex;flex-direction:column;gap:10px;max-width:100%;padding:18px;position:relative;transition:border-color .15s,box-shadow .15s;width:360px}.ihabdevteam-core-scope .training-card:hover{border-color:var(--color-main);box-shadow:0 4px 16px var(--color-main-a10)}.ihabdevteam-core-scope .training-card--dragging{opacity:.5}.ihabdevteam-core-scope .training-card--clickable{cursor:pointer}.ihabdevteam-core-scope .training-card__header{grid-column-gap:8px;grid-row-gap:4px;align-items:start;-moz-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:4px}.ihabdevteam-core-scope .training-card__title-row{display:contents}.ihabdevteam-core-scope .training-card__title-row>:first-child{grid-area:1/1;min-width:0}.ihabdevteam-core-scope .training-card__header>:last-child{grid-area:2/1}.ihabdevteam-core-scope .training-card__title{color:var(--color-darkGray);margin:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__top-actions{align-items:center;align-self:start;display:flex;flex-shrink:0;gap:2px;grid-column:2;grid-row:1/3;margin-right:-8px}.ihabdevteam-core-scope .training-card__publisher{background:none;border:none;color:var(--color-gray);cursor:pointer;font-size:11px;font-weight:400;max-width:120px;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:-moz-fit-content;width:fit-content}.ihabdevteam-core-scope .training-card__publisher:hover{color:var(--color-main);text-decoration:underline}.ihabdevteam-core-scope .training-card__description{color:var(--color-gray);margin:0;min-height:1.55em;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__body{display:flex;flex:1;flex-direction:column;gap:8px;justify-content:flex-end}.ihabdevteam-core-scope .training-card__empty{color:var(--color-lightGray)}.ihabdevteam-core-scope .training-card__types{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.ihabdevteam-core-scope .training-card__types .button{min-width:0;padding-inline:12px}.ihabdevteam-core-scope .training-card__words{align-content:flex-start;display:flex;flex-wrap:wrap;gap:4px}.ihabdevteam-core-scope .training-card__footer{align-items:center;display:flex;gap:var(--spacing-xs);justify-content:space-between;margin-top:auto;padding-top:8px}.ihabdevteam-core-scope .training-card__footer-left{align-items:center;display:flex;gap:6px;min-width:0}.ihabdevteam-core-scope .training-card__date{color:var(--color-gray);font-size:11px;white-space:nowrap}.ihabdevteam-core-scope .training-card__meta{align-items:center;display:flex;gap:4px}";oe($A);function B1({title:e,description:t,topActions:a,children:o,footerLeft:n,footerRight:i,onClick:s,draggable:c,onDragStart:d,onDragEnd:u,className:p}){const h=n!=null||i!=null,m=o!=null&&o!==!1,b=l.useCallback(x=>{s&&x.target===x.currentTarget&&(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),s())},[s]);return r.jsxs("div",{className:Te("training-card",s?"training-card--clickable":"",p),onClick:s,onKeyDown:s?b:void 0,role:s?"button":void 0,tabIndex:s?0:void 0,draggable:c,onDragStart:d,onDragEnd:u,children:[r.jsxs("div",{className:"training-card__header",children:[r.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?r.jsx("h3",{className:"training-card__title h4",children:e}):e,a!=null&&r.jsx("div",{className:"training-card__top-actions",onClick:x=>x.stopPropagation(),children:a})]}),t!=null?typeof t=="string"?r.jsx("p",{className:"training-card__description body-3",children:t}):t:r.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),m&&r.jsx("div",{className:"training-card__body",children:o}),h&&r.jsxs("div",{className:"training-card__footer",children:[n!=null&&r.jsx("div",{className:"training-card__footer-left",children:n}),i!=null&&r.jsx("div",{className:"training-card__meta",children:i})]})]})}var RA=".ihabdevteam-core-scope .training-card-group{background:var(--color-darkWhite);border:1px solid var(--color-darkWhite);border-radius:var(--radius-card);overflow:hidden;transition:border-color .15s,box-shadow .15s}.ihabdevteam-core-scope .training-card-group--dragover{border-color:var(--color-main);box-shadow:0 0 0 2px var(--color-main-a10)}.ihabdevteam-core-scope .training-card-group__header{align-items:center;display:flex;gap:8px;height:60px;padding:0 12px}.ihabdevteam-core-scope .training-card-group--collapsible .training-card-group__header{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ihabdevteam-core-scope .training-card-group__chevron{flex-shrink:0}.ihabdevteam-core-scope .training-card-group__title{color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card-group__count{color:var(--color-main);flex-shrink:0}.ihabdevteam-core-scope .training-card-group__actions{align-items:center;display:flex;flex-shrink:0;gap:8px;margin-left:auto}.ihabdevteam-core-scope .training-card-group__empty{color:var(--color-lightGray);padding:24px 16px;text-align:center}.ihabdevteam-core-scope .training-card-group__grid{align-items:stretch;display:flex;flex-wrap:wrap;gap:12px;padding:0 12px 12px}.ihabdevteam-core-scope .training-card-group__grid>*{min-width:0}";oe(RA);function A1({title:e,count:t,collapsed:a=!1,onToggle:o,sort:n,actions:i,empty:s=!1,emptyContent:c,dragOver:d=!1,onDragOver:u,onDragLeave:p,onDrop:h,children:m,className:b}){const{t:x}=Ce.useTranslation(),f=o!=null,C=Te("training-card-group",d&&"training-card-group--dragover",a&&"training-card-group--collapsed",f&&"training-card-group--collapsible",b);return r.jsxs("div",{className:C,onDragOver:u,onDragLeave:p,onDrop:h,children:[r.jsxs("header",{className:"training-card-group__header",children:[f&&r.jsx(he,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:a?"chevron-right":"chevron-down",ariaLabel:a?x("common.expand","\uD3BC\uCE58\uAE30"):x("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron","aria-expanded":!a,onClick:o}),typeof e=="string"?r.jsx("span",{className:"training-card-group__title h5b",children:e}):e,t!==void 0&&r.jsx("span",{className:"training-card-group__count body-3b",children:t}),(n||i!=null)&&r.jsxs("span",{className:"training-card-group__actions",onClick:g=>g.stopPropagation(),children:[n&&r.jsx(fa,{size:40,options:n.options,value:n.value,placeholder:n.placeholder,onChange:n.onChange}),i]})]}),!a&&(s?r.jsx("div",{className:"training-card-group__empty body-3",children:c}):r.jsx("div",{className:"training-card-group__grid",children:m}))]})}var PA=".ihabdevteam-core-scope .word-table-block__meta{background:transparent}.ihabdevteam-core-scope .word-table-block__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:space-between}.ihabdevteam-core-scope .word-table-block__actions-right{margin-left:auto}.ihabdevteam-core-scope .word-table-block__actions-left,.ihabdevteam-core-scope .word-table-block__actions-right{display:flex;gap:var(--spacing-xs)}@media (max-width:767px){.ihabdevteam-core-scope .word-table-block__actions{align-items:stretch;flex-direction:column}.ihabdevteam-core-scope .word-table-block__actions-left,.ihabdevteam-core-scope .word-table-block__actions-right{display:grid;grid-template-columns:repeat(2,1fr)}.ihabdevteam-core-scope .word-table-block__actions-right{margin-left:0}.ihabdevteam-core-scope .word-table-block__actions .button{min-width:0;width:100%}}.ihabdevteam-core-scope .my-word-table-preview-popup .popup-panel{max-width:none;width:min(1400px,94vw)}.ihabdevteam-core-scope .my-word-table-preview-popup .popup-body{overflow:auto;overscroll-behavior-y:contain}.ihabdevteam-core-scope .word-table-block__pages{display:flex;flex-direction:column;gap:24px;gap:var(--spacing-content,24px)}@media print{.ihabdevteam-core-scope .word-table-block>.filter-panel,.ihabdevteam-core-scope .word-table-block>.section__header,.ihabdevteam-core-scope .word-table-block__actions{display:none}.ihabdevteam-core-scope .word-table-block__pages .word-table{-moz-column-break-after:page;break-after:page;page-break-after:always;position:static}.ihabdevteam-core-scope .word-table-block__pages .word-table:last-child{-moz-column-break-after:auto;break-after:auto;page-break-after:auto}}";oe(PA);const zA="speechear:saved_word_tables";function IA(e){if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.id=="string"&&typeof t.name=="string"&&Array.isArray(t.items)}function OA(){try{const e=localStorage.getItem(zA);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(IA):[]}catch{return[]}}function S1(e){return{label:e.word,subLabel:e.pronunciation,colloquialLabel:e.colloquialPronunciation,homonum:e.homonum,grade:e.grade,syllables:[...e.word].length,pos:e.pos,wordType:e.wordType}}function qu(e){return e.map(t=>t.homonum!=null?`${t.word}#${t.homonum}`:t.word).join("|")}function FA(e){const t=new Set;return e.map(a=>{let o=a.id;for(let n=2;t.has(o);n++)o=`${a.id}~${n}`;return t.add(o),o===a.id?a:{...a,id:o}})}function E1({title:e,titleIcon:t,disc:a,filterTitle:o,filterCollapsible:n,filterDefaultCollapsed:i,filterCollapsed:s,onFilterCollapsedChange:c,filterHeaderSummary:d,brand:u,code:p,items:h,onSaveComplete:m,onLoad:b,onRemoveItem:x,onReset:f,resetLabel:C,saveButtonLabel:g,secondarySaveButtonLabel:v,onReorder:y,showCellCount:_,onAddItem:B,className:k,renderSavePopup:S,renderWordSearch:w,hideControls:A,saveOnly:E,tableName:L,nameValue:z,onNameChange:j,descriptionValue:I,onDescriptionChange:D,namePlaceholder:T,descriptionPlaceholder:O,existingNames:G,editingName:Z,onCancel:H,initialItemsPerPage:V,renderCellAction:q,actionsLeftExtra:$}){const{t:N}=Ce.useTranslation(),F=C??N("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),R=h===void 0,W=!!j,[P,Q]=l.useState([]),ee=(z??"").trim(),Y=ee||(T??"").trim(),ne=(I??"").trim()||(O??"").trim(),ie=(G??[]).map(je=>je.trim().toLowerCase()),se=[Z?.trim().toLowerCase(),...P].filter(je=>!!je),ce=[...ie];for(const je of se){const Ge=ce.indexOf(je);Ge!==-1&&ce.splice(Ge,1)}const U=ee!==""&&ce.includes(ee.toLowerCase()),[le,be]=l.useState(Array(4).fill(null)),[ye,xe]=l.useState(4),[ue,_e]=l.useState(null),Ae=le.slice(0,ye),X=!!u?.show,[we,fe]=l.useState(!0),[ae,ge]=l.useState(!0),Me=u&&{...u,top:we,bottom:ae},[$e,Ye]=l.useState("landscape"),[ze,Ue]=l.useState(["\uC774\uBBF8\uC9C0","\uB2E8\uC5B4","\uD45C\uC900 \uBC1C\uC74C"]),[re,Oe]=l.useState("\uD45C\uC2DC"),[Fe,Ze]=l.useState(!0),[Qe,De]=l.useState(!0),Le=l.useRef(null),ke=l.useRef([]),[Ie,pt]=l.useState(V==="all"?Number.POSITIVE_INFINITY:V??8),[Lt,Yt]=l.useState("right"),[At,ct]=l.useState(!1),[ot,et]=l.useState(!1),{toastMessage:lt,toastType:Ke,showWarning:dt,clearToast:Xe}=wi("warning"),yt=l.useCallback(()=>_e(null),[_e]);B&&!R&&!_&&Ua("word-table-block-add-without-cell-count",'[WordTableBlock] \uD45C\uC2DC \uBAA8\uB4DC\uC5D0\uC11C onAddItem \uC740 showCellCount \uC640 \uD568\uAED8 \uC918\uC57C "\uCD94\uAC00\uD558\uAE30" \uCE78\uC774 \uC0DD\uAE34\uB2E4.');const[Ot,Mt]=l.useState(()=>Math.max(h?.length??1,1)),vt=R?ye:_?Math.max(Ot,h?.length??1,1):Math.max(h?.length??0,1),{width:ut,height:Ve}=Vo[$e],rt=!R&&!_,xt=h?.length??0,Xt=Math.min(Ie,Math.max(xt,1)),at=rt?Xt:vt,Ft=rt?jf(h??[],at):null,sa=!!Ft&&Ft.length>1,Ht=R?Ae.some(je=>je!==null&&je.length>1):(h??[]).some(je=>(je.words??[]).length>1),Sa=L?.trim()||`${Jn(ba())} ${Ht?N("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):N("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,Ea=l.useCallback(()=>sa?ke.current.filter(je=>je!==null):Le.current?[Le.current]:[],[sa]),{print:Na,openNewWindow:yo,downloadHtml:Da}=Gi({getElements:Ea,paperW:ut,paperH:Ve,fileName:Sa,onPopupBlocked:()=>{dt(N("wordTable.popupBlocked","\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694."))}}),wo=je=>{xe(je),be(Ge=>Ge.length>=je?Ge:[...Ge,...Array(je-Ge.length).fill(null)]),_e(null)},oo=je=>{be(Ge=>{const Et=[...Ge];return Et[je]=null,Et}),ue===je&&_e(null)},$t=je=>{if(ue===null)return;const Ge=ue;be(Qt=>{const ea=[...Qt];return ea[Ge]=je.length>0?je:null,ea});const Et=Ae.findIndex((Qt,ea)=>ea>Ge&&Qt===null);_e(Et!==-1?Et:null)},Ha=R?Ae.some(je=>je?.some(Ge=>!!Ge.colloquialPronunciation)):(h??[]).some(je=>(je.words??[]).some(Ge=>!!Ge.colloquialLabel)),Jt=l.useMemo(()=>io()?R?le.slice(0,ye).flatMap(je=>(je??[]).map(Ge=>[Ge.word,Ge.homonum])):(h??[]).flatMap(je=>(je.words??[]).map(Ge=>[Ge.label,Ge.homonum])):[],[R,le,ye,h]),[la,Va]=l.useState(!1);l.useEffect(()=>{if(Jt.length===0)return;let je=!1;return Promise.all(Jt.map(([Ge,Et])=>Hr(Ge,Et))).then(Ge=>{je||Va(Ge.some(Boolean))},()=>{}),()=>{je=!0}},[Jt]);const ha=Jt.length>0&&la,Wa=l.useMemo(()=>[...R||_?[{label:N("wordTable.filter.columns","\uCE78 \uC218"),items:Q9.map(je=>({value:`${je}\uCE78`,displayLabel:N("wordTable.filter.column",{count:je})})),display:"segmented"}]:[],...rt&&(h?.length??0)>0?[Uf(N,{hasPairs:Ht,itemCount:xt})]:[],...sa?[eB(N)]:[]],[N,R,_,rt,h?.length,Ht,xt,sa]),ko={...R||_?{[N("wordTable.filter.columns","\uCE78 \uC218")]:`${vt}\uCE78`}:{},...rt&&(h?.length??0)>0?{[N(Ht?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${Xt}\uAC1C`}:{},...sa?{[N("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:Yf[Lt]}:{}},Ga=(je,Ge)=>{Ge===N("wordTable.filter.columns","\uCE78 \uC218")?R?wo(parseInt(je)):Mt(parseInt(je)):Ge===N(Ht?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")?pt(qf(parseInt(je),xt)):Ge===N("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&Yt(Kf(je))},de=R?FA(Ae.filter(je=>je!==null&&je.length>0).map(je=>({id:qu(je),words:je.map(S1)}))):h??[],Be=()=>{R&&be(je=>je.length>ye?je.slice(0,ye):je)},K=(je=!1)=>{if(et(je),W&&m){const Ge=Y.trim().toLowerCase();Ge&&Q(Et=>Et.includes(Ge)?Et:[...Et,Ge]),m(Y,de,ne||void 0,je),Be();return}if(E&&m){m("",de,void 0,je),Be();return}if(m){ct(!0);return}Da()},[pe,me]=l.useState(!1),[Se,Ee]=l.useState(""),Re=Se.trim(),nt=Re!==""&&ie.includes(Re.toLowerCase()),wt=()=>{Ee(Y?N("wordTable.save.copyName",{name:Y,defaultValue:"{{name}} (\uBCF5\uC0AC)"}):""),me(!0)},ht=()=>{!Re||nt||!m||(m(Re,de,ne||void 0,!0),Be(),me(!1))},St=de.length===0,Kt=St||W&&(Y===""||U),Vt=()=>{if(St){dt(N("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(W&&Y===""){dt(N("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}W&&U&&dt(N("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},va=r.jsx(Wo,{items:de,orientation:$e,contentTypes:ze,cutLine:re,showOutline:Fe,showDivLine:Qe,count:vt});return r.jsxs(r.Fragment,{children:[r.jsxs(Ho,{type:"page",icon:t,title:e,disc:a,className:Te("word-table-block",k),children:[pe&&r.jsx(eo,{size:"small",title:v??N("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>me(!1),footer:({closeWithAnimation:je})=>r.jsxs(r.Fragment,{children:[r.jsx(he,{htmlType:"button",size:48,type:"bar",label:N("common.cancel","\uCDE8\uC18C"),onClick:je}),r.jsx(he,{htmlType:"button",size:48,type:"bar",variant:"main",label:N("common.save","\uC800\uC7A5"),disabled:!Re||nt,onClick:ht})]}),children:r.jsx(xo,{label:N("wordTable.save.nameLabel","\uC774\uB984"),value:Se,onChange:Ee,placeholder:N("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),maxLength:40,size:48,fullWidth:!0,autoFocus:!0,onEnter:ht,error:nt?N("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),At&&m&&S?.({defaultName:typeof e=="string"?e:N("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:va,previewW:ut,previewH:Ve,items:de,existingNames:OA().map(je=>je.name),saveAsNew:ot,onSave:(je,Ge)=>{m(je,de,Ge,ot),Be(),ct(!1)},onCancel:()=>ct(!1)}),(R||B)&&ue!==null&&w?.({cellIndex:ue,onConfirm:R?$t:je=>{if(B){const Ge=je[0];if(Ge){const Et=new Set((h??[]).map(ea=>ea.id));let Qt=qu([Ge]);for(let ea=2;Et.has(Qt);ea++)Qt=`${qu([Ge])}~${ea}`;B({id:Qt,words:[S1(Ge)]})}}_e(null)},onClose:yt}),!A&&r.jsx(Vi,{title:o,collapsible:n,defaultCollapsed:i,collapsed:s,onCollapsedChange:c,headerSummary:d,hasImage:ha,hasColloquial:Ha,contentTypes:ze,orientation:$e,showOutline:Fe,cutLine:re,showDivLine:Qe,setters:{setContentTypes:Ue,setOrientation:Ye,setShowOutline:Ze,setCutLine:Oe,setShowDivLine:De,setShowTopInfo:fe,setShowBottomInfo:ge},showCutLine:(rt?at:vt)>1,showDivLine2:Ht,middleSections:Wa,extraSelected:ko,onExtraSelect:Ga,showPaperBands:X,showTopInfo:we,showBottomInfo:ae}),sa&&Ft?r.jsx("div",{className:"word-table-block__pages",children:Ft.map((je,Ge)=>r.jsx(Wo,{orientation:$e,contentTypes:ze,cutLine:re,showOutline:Fe,showDivLine:Qe,count:at,items:je,onRemoveItem:x,onReorder:y&&((Et,Qt)=>y(Et+Ge*at,Qt+Ge*at)),renderCellAction:q&&((Et,Qt)=>q(Et+Ge*at,Qt)),brand:Me,code:p,contentRef:Et=>{ke.current[Ge]=Et},pageNumber:{current:Ge+1,total:Ft.length},pageNumberPosition:Lt},Ge))}):r.jsx(Wo,{orientation:$e,contentTypes:ze,cutLine:re,showOutline:Fe,showDivLine:Qe,count:vt,items:R?void 0:h??[],editCells:R?Ae:void 0,activeCell:ue,onActivateCell:R||B?_e:void 0,onRemoveCell:R?oo:void 0,onRemoveItem:R?void 0:x,onReorder:R?void 0:y,renderCellAction:R?void 0:q,brand:Me,code:p,showFillerAdd:!!B,contentRef:Le}),W&&!A&&r.jsxs(An,{size:"medium",labelWidth:64,useBorder:!1,useRowBorder:!1,className:"word-table-block__meta",children:[r.jsx(to,{variant:"custom",label:N("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:r.jsx(xo,{required:!0,value:z??"",onChange:j,placeholder:T?T+N("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):N("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:N("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:U?N("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:je=>{(je.key==="Tab"&&!je.shiftKey||je.key===" ")&&!(z??"").trim()&&(T??"").trim()&&(je.preventDefault(),j?.(T??""))}})}),r.jsx(to,{variant:"custom",label:N("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:r.jsx(xo,{value:I??"",onChange:D,placeholder:O?O+N("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):N("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:N("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:je=>{(je.key==="Tab"&&!je.shiftKey||je.key===" ")&&!(I??"").trim()&&(O??"").trim()&&(je.preventDefault(),D?.(O??""))}})})]})]}),!A&&r.jsxs("div",{className:"word-table-block__actions",children:[r.jsxs("div",{className:"word-table-block__actions-left",children:[!E&&f&&r.jsx(he,{htmlType:"button",size:40,type:"bar",label:F,onClick:f}),!E&&$,!E&&b&&r.jsx(he,{htmlType:"button",size:40,type:"bar",label:N("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:b}),!E&&r.jsx(he,{htmlType:"button",size:40,type:"bar",label:N("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:yo})]}),r.jsxs("div",{className:"word-table-block__actions-right",children:[H&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:N("common.cancel","\uCDE8\uC18C"),onClick:H}),!E&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:N("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:Na}),v&&r.jsx(he,{htmlType:"button",size:"56",type:"bar",label:v,onClick:()=>W?wt():K(!0),disabled:St,onDisabledClick:()=>{dt(N("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),r.jsx(he,{htmlType:"button",size:"56",type:"bar",variant:"main",label:g??N("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>K(!1),disabled:Kt,onDisabledClick:Vt})]})]}),r.jsx(Fo,{message:lt,type:Ke,onClose:Xe})]})}var HA=".ihabdevteam-core-scope .word-table-thumb{grid-gap:1px;background:var(--color-darkWhite);border-bottom:1px solid var(--color-darkWhite);display:grid;gap:1px;grid-auto-rows:minmax(min-content,1fr);height:140px;overflow:hidden}.ihabdevteam-core-scope .word-table-thumb__cell{align-items:center;background:var(--color-white);display:flex;flex-direction:column;gap:1px;justify-content:center;min-height:0;overflow:hidden;padding:4px}.ihabdevteam-core-scope .word-table-thumb__word{color:var(--color-black)}.ihabdevteam-core-scope .word-table-thumb .word-table-thumb__word{line-height:1.2}.ihabdevteam-core-scope .word-table-thumb__divider{background:var(--color-darkWhite);display:block;height:1px;margin:1px 0;width:30%}";oe(HA);function Yu({items:e,className:t}){const a=e.length,o=a<=3?1:2,n=Math.ceil(a/o)||1,i=o*n;return r.jsx("div",{className:Te("word-table-thumb",t),style:{gridTemplateColumns:`repeat(${o}, 1fr)`},children:Array.from({length:i},(s,c)=>{const d=e[c];return d?r.jsx("div",{className:"word-table-thumb__cell",children:(d.words?.length?d.words:[{label:d.id}]).map((u,p)=>r.jsxs(l.Fragment,{children:[p>0&&r.jsx("span",{className:"word-table-thumb__divider"}),r.jsx("span",{className:"word-table-thumb__word body-3",children:u.label})]},p))},c):r.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},c)})})}var VA=".ihabdevteam-core-scope .word-table-button{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:8px;border-radius:var(--radius-s,8px);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;overflow:hidden;position:relative;transition:border-color .15s,box-shadow .15s;width:240px}.ihabdevteam-core-scope .word-table-button:hover{border-color:var(--color-main);box-shadow:0 2px 10px rgba(0,0,0,.06)}.ihabdevteam-core-scope .word-table-button:focus-visible{outline:2px solid var(--color-main);outline-offset:1px}.ihabdevteam-core-scope .word-table-button--selected{border-color:var(--color-main);box-shadow:0 0 0 1px var(--color-main) inset}.ihabdevteam-core-scope .word-table-button__thumb{flex:0 0 auto;height:290px}.ihabdevteam-core-scope .word-table-button__info{align-items:flex-start;display:flex;flex-direction:row;gap:8px;min-width:0;padding:12px 14px 0;position:relative}.ihabdevteam-core-scope .word-table-button__more{position:absolute;right:10px;top:8px}.ihabdevteam-core-scope .word-table-button__title{padding-right:34px}.ihabdevteam-core-scope .word-table-button--no-footer .word-table-button__info{flex:1 1 auto;min-height:0}.ihabdevteam-core-scope .word-table-button--no-footer .word-table-button__info-text{align-self:stretch}.ihabdevteam-core-scope .word-table-button__info-text{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;text-align:left}.ihabdevteam-core-scope .word-table-button__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--color-black);display:-webkit-box;overflow:hidden;overflow-wrap:anywhere}.ihabdevteam-core-scope .word-table-button__desc{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--color-gray);display:-webkit-box;overflow:hidden}.ihabdevteam-core-scope .word-table-button__meta{color:var(--color-gray)}.ihabdevteam-core-scope .word-table-button__meta-left{align-items:center;display:flex;gap:6px;min-width:0}.ihabdevteam-core-scope .word-table-button__meta-right{align-items:center;display:flex;flex-shrink:0;gap:8px;min-width:0}.ihabdevteam-core-scope .word-table-button__code{color:var(--color-gray);flex-shrink:0;white-space:nowrap}.ihabdevteam-core-scope .word-table-button__meta-left .word-table-button__meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .word-table-button__meta-row{align-items:center;display:flex;gap:8px;justify-content:space-between;min-width:0;padding:12px 14px 14px}.ihabdevteam-core-scope .word-table-button__badges{align-items:center;display:flex;flex:0 0 auto;gap:4px}.ihabdevteam-core-scope .word-table-button--no-footer .word-table-button__meta-row{margin-top:auto}.ihabdevteam-core-scope .word-table-button__footer{display:flex;flex-direction:column;gap:8px;margin-top:auto;min-width:0;padding:12px 14px 14px}.ihabdevteam-core-scope .word-table-button__store-by{align-items:center;display:inline-flex;gap:6px;min-width:0;overflow:hidden}.ihabdevteam-core-scope .word-table-button__store-by .training-card__date{white-space:nowrap}.ihabdevteam-core-scope .word-table-button__store-stats{align-items:center;align-self:flex-end;display:inline-flex;gap:4px}.ihabdevteam-core-scope .word-table-button__more{flex:0 0 auto}.ihabdevteam-core-scope .word-table-button__badge{pointer-events:none}.ihabdevteam-core-scope .word-table-button__new-dot{background:var(--color-main);border-radius:50%;box-shadow:0 0 0 2px var(--color-white);height:10px;pointer-events:none;position:absolute;right:8px;top:8px;width:10px;z-index:3}";oe(VA);function N1({items:e,name:t,description:a,createdAt:o,code:n,published:i,publishedLabel:s,shared:c,sharedLabel:d,isNew:u,publisherName:p,publishedAt:h,likeCount:m,downloadCount:b,onPublisherClick:x,selected:f,onClick:C,onMore:g,titleNode:v,className:y}){const{t:_}=Ce.useTranslation(),B=v!=null,k=p!=null||h!=null||m!=null||b!=null,S=w=>{w.target===w.currentTarget&&!B&&(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),C?.())};return r.jsxs("div",{className:Te("word-table-button",f?"word-table-button--selected":"",k?"":"word-table-button--no-footer",y),role:"button",tabIndex:0,"aria-label":n?`${t} (${n})`:t,onClick:B?void 0:C,onKeyDown:S,children:[u&&r.jsx("span",{className:"word-table-button__new-dot","aria-label":_("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),r.jsx(Yu,{items:e,className:"word-table-button__thumb"}),r.jsxs("div",{className:"word-table-button__info",children:[r.jsxs("div",{className:"word-table-button__info-text",children:[v??r.jsx("div",{className:"word-table-button__title h4",children:t}),a&&r.jsx("div",{className:"word-table-button__desc body-3",children:a})]}),g&&!B&&r.jsx(he,{htmlType:"button",className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:_("common.moreFor",{name:t}),onClick:w=>{w.stopPropagation(),g(w)}})]}),(n||o||i||c)&&r.jsxs("div",{className:"word-table-button__meta-row",children:[r.jsx("span",{className:"word-table-button__meta-left",children:r.jsx("span",{className:"word-table-button__meta caption-1",children:o?Xn(o,_):""})}),r.jsxs("span",{className:"word-table-button__meta-right",children:[(i||c)&&r.jsxs("span",{className:"word-table-button__badges",children:[i&&r.jsx(_t,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:s??_("myWordTable.publishedBadge","\uBC1C\uD589\uB428")}),c&&r.jsx(_t,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:d??_("myWordTable.sharedBadge","\uACF5\uC720 \uC911")})]}),n&&r.jsx("span",{className:"word-table-button__code caption-1",children:n})]})]}),k&&r.jsxs("div",{className:"word-table-button__footer",children:[r.jsxs("span",{className:"word-table-button__store-by",children:[p&&r.jsx("button",{className:"training-card__publisher body-4",type:"button",onClick:w=>{w.stopPropagation(),x?.()},children:p}),h&&r.jsx("span",{className:"training-card__date body-4",children:Xn(h,_)})]}),r.jsxs("span",{className:"word-table-button__store-stats",children:[m!=null&&r.jsx(_t,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(m),"aria-label":_("common.likeCount",{count:m,defaultValue:`\uC88B\uC544\uC694 ${m}`})}),b!=null&&r.jsx(_t,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(b),"aria-label":_("common.downloadCount",{count:b,defaultValue:`\uAC00\uC838\uAC04 \uC218 ${b}`})})]})]})]})}/**
1063
1063
  * @license lucide-react v1.38.0 - ISC
1064
1064
  *
1065
1065
  * This source code is licensed under the ISC license.