@ihabdevteam/core 0.451.0 → 0.451.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/components.cjs.js +1 -1
- package/dist/components.esm.css +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +2 -2
- package/dist/ihabdevteam-core.d.ts +1 -1
- package/dist/packages/core/src/components/Training/TrainingCard.css +3 -2
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var yt=require("i18next"),we=require("react-i18next"),s=require("react"),a=require("react/jsx-runtime"),jo=require("react-dom"),zo=typeof document<"u"?document.currentScript:null;function ky(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(o){if(o!=="default"){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}}),t.default=e,Object.freeze(t)}var mm=ky(s);function se(e,t){t===void 0&&(t={});var o=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",o==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}var By=':where(.ihabdevteam-core-scope){--side-nav-width:220px;--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:#fff;--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-on-brand-fill:#fff;--color-on-gray-fill:#fff;--color-card-edge:rgba(0,0,0,.06);--color-control-edge:transparent;--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-0-size:clamp(44px,7.2vw,92px);--text-display-0-line:1.05;--text-display-0-spacing:-0.04em;--text-display-0-weight:800;--text-display-0-weight-bold:900;--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;--count-tile-size:72px;--training-card-tile-gap:6px;--training-card-padding:18px;--training-card-width:calc(var(--count-tile-size)*4 + var(--training-card-tile-gap)*3 + var(--training-card-padding)*2 + 2px);--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{--side-nav-width:232px;--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{--side-nav-width:236px;--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{--side-nav-width:260px;--text-h4-size:23px;--text-h4-line:35px;--text-h5-size:21px;--text-h5-line:32px;--text-body-1-size:27px;--text-body-1-line:42px;--text-body-2-size:24px;--text-body-2-line:37px;--text-body-3-size:21px;--text-body-3-line:33px;--text-button-1-size:21px;--text-button-1-line:30px;--text-button-2-size:20px;--text-button-2-line:29px;--text-caption-1-size:18px;--text-caption-1-line:25px;--text-caption-2-size:17px;--text-caption-2-line:24px}.ihabdevteam-core-scope [data-contrast=more],.ihabdevteam-core-scope[data-contrast=more],[data-contrast=more] .ihabdevteam-core-scope{--color-main:#2a6db0;--color-deepMain:#1e5a8f;--color-darkMain:#164a78;--color-sub:#257e76;--color-deepSub:#1f6b64;--color-darkSub:#185a54;--color-text-main:var(--color-darkMain);--color-text-sub:var(--color-darkSub);--color-lightGray:#5f6b7a;--color-softGray:#56616f;--color-gray:#434d56;--color-deepGray:#36404a;--color-darkGray:#2a3138;--color-whiteLine:#7b8798;--color-error:#b52f2b;--color-success:#1d7a6e;--color-infoLink:#1f62a8;--color-on-brand-fill:#fff;--color-black:#000;--color-hc-edge:var(--color-whiteLine);--color-card-edge:var(--color-whiteLine);--color-control-edge:var(--color-whiteLine);--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-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--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)}.ihabdevteam-core-scope [data-theme=dark],.ihabdevteam-core-scope[data-theme=dark],[data-theme=dark] .ihabdevteam-core-scope{--color-white:#2a3037;--color-deepWhite:#1b1f24;--color-darkWhite:#353c44;--color-whiteLine:hsla(0,0%,100%,.08);--color-black:#f0f2f5;--color-softBlack:#dde1e7;--color-lightBlack:#d4d9e0;--color-darkGray:#cbd1da;--color-deepGray:#c3cad4;--color-gray:#b8c0cc;--color-softGray:#aeb7c3;--color-lightGray:#a1aab7;--color-main-ink:var(--color-softMain);--color-error-ink:#ef9490;--color-like-ink:#ee8f8c;--color-on-gray-fill:#0f1215;--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:#4a525d;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:#2a3037;--color-deepWhite:#1b1f24;--color-darkWhite:#353c44;--color-whiteLine:hsla(0,0%,100%,.08);--color-black:#f0f2f5;--color-softBlack:#dde1e7;--color-lightBlack:#d4d9e0;--color-darkGray:#cbd1da;--color-deepGray:#c3cad4;--color-gray:#b8c0cc;--color-softGray:#aeb7c3;--color-lightGray:#a1aab7;--color-main-ink:var(--color-softMain);--color-error-ink:#ef9490;--color-like-ink:#ee8f8c;--color-on-gray-fill:#0f1215;--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:#4a525d;color-scheme:dark}}.ihabdevteam-core-scope [data-theme=dark][data-contrast=more],.ihabdevteam-core-scope[data-theme=dark][data-contrast=more],[data-theme=dark][data-contrast=more] .ihabdevteam-core-scope{--color-main:#78b2ee;--color-deepMain:#6aa8ea;--color-darkMain:#5b9be0;--color-sub:#4dcdc0;--color-deepSub:#45bbaf;--color-darkSub:#3aa89c;--color-on-brand-fill:#0f1215;--color-black:#fff;--color-hc-edge:var(--color-whiteLine);--color-card-edge:var(--color-whiteLine);--color-control-edge:var(--color-whiteLine);--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-lightGray:#b0b8c4;--color-softGray:#bec5cf;--color-gray:#cbd1da;--color-deepGray:#d6dbe2;--color-darkGray:#e2e6eb;--color-whiteLine:hsla(0,0%,100%,.52);--color-error:#f09a96;--color-success:#2fae9e;--color-infoLink:#6aa8ea;--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-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--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)}@media (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark])[data-contrast=more],.ihabdevteam-core-scope [data-theme=auto][data-contrast=more],.ihabdevteam-core-scope[data-theme=auto][data-contrast=more],[data-theme=auto][data-contrast=more] .ihabdevteam-core-scope{--color-main:#78b2ee;--color-deepMain:#6aa8ea;--color-darkMain:#5b9be0;--color-sub:#4dcdc0;--color-deepSub:#45bbaf;--color-darkSub:#3aa89c;--color-on-brand-fill:#0f1215;--color-black:#fff;--color-hc-edge:var(--color-whiteLine);--color-card-edge:var(--color-whiteLine);--color-control-edge:var(--color-whiteLine);--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-lightGray:#b0b8c4;--color-softGray:#bec5cf;--color-gray:#cbd1da;--color-deepGray:#d6dbe2;--color-darkGray:#e2e6eb;--color-whiteLine:hsla(0,0%,100%,.52);--color-error:#f09a96;--color-success:#2fae9e;--color-infoLink:#6aa8ea;--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-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--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)}}@media (prefers-contrast:more){.ihabdevteam-core-scope :root:not([data-contrast]),.ihabdevteam-core-scope:not([data-contrast] *):not([data-contrast]){--color-main:#2a6db0;--color-deepMain:#1e5a8f;--color-darkMain:#164a78;--color-sub:#257e76;--color-deepSub:#1f6b64;--color-darkSub:#185a54;--color-text-main:var(--color-darkMain);--color-text-sub:var(--color-darkSub);--color-lightGray:#5f6b7a;--color-softGray:#56616f;--color-gray:#434d56;--color-deepGray:#36404a;--color-darkGray:#2a3138;--color-whiteLine:#7b8798;--color-error:#b52f2b;--color-success:#1d7a6e;--color-infoLink:#1f62a8;--color-on-brand-fill:#fff;--color-black:#000;--color-hc-edge:var(--color-whiteLine);--color-card-edge:var(--color-whiteLine);--color-control-edge:var(--color-whiteLine);--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-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--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)}.ihabdevteam-core-scope [data-theme=dark]:not([data-contrast]),.ihabdevteam-core-scope[data-theme=dark]:not([data-contrast]),[data-theme=dark]:not([data-contrast]) .ihabdevteam-core-scope{--color-main:#78b2ee;--color-deepMain:#6aa8ea;--color-darkMain:#5b9be0;--color-sub:#4dcdc0;--color-deepSub:#45bbaf;--color-darkSub:#3aa89c;--color-on-brand-fill:#0f1215;--color-black:#fff;--color-hc-edge:var(--color-whiteLine);--color-card-edge:var(--color-whiteLine);--color-control-edge:var(--color-whiteLine);--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-lightGray:#b0b8c4;--color-softGray:#bec5cf;--color-gray:#cbd1da;--color-deepGray:#d6dbe2;--color-darkGray:#e2e6eb;--color-whiteLine:hsla(0,0%,100%,.52);--color-error:#f09a96;--color-success:#2fae9e;--color-infoLink:#6aa8ea;--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-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--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)}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){.ihabdevteam-core-scope :root:not([data-theme=light]):not([data-theme=dark]):not([data-contrast]),.ihabdevteam-core-scope [data-theme=auto]:not([data-contrast]),.ihabdevteam-core-scope[data-theme=auto]:not([data-contrast]),[data-theme=auto]:not([data-contrast]) .ihabdevteam-core-scope{--color-main:#78b2ee;--color-deepMain:#6aa8ea;--color-darkMain:#5b9be0;--color-sub:#4dcdc0;--color-deepSub:#45bbaf;--color-darkSub:#3aa89c;--color-on-brand-fill:#0f1215;--color-black:#fff;--color-hc-edge:var(--color-whiteLine);--color-card-edge:var(--color-whiteLine);--color-control-edge:var(--color-whiteLine);--color-text-main:var(--color-softMain);--color-text-sub:var(--color-softSub);--color-lightGray:#b0b8c4;--color-softGray:#bec5cf;--color-gray:#cbd1da;--color-deepGray:#d6dbe2;--color-darkGray:#e2e6eb;--color-whiteLine:hsla(0,0%,100%,.52);--color-error:#f09a96;--color-success:#2fae9e;--color-infoLink:#6aa8ea;--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-sub-a10:color-mix(in srgb,var(--color-sub) 10%,transparent);--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)}}.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-main-ink:initial;--color-error-ink:initial;--color-on-gray-fill:#fff;--color-like-ink:initial;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-0),:where(.ihabdevteam-core-scope) :where(.display-0b){font-size:clamp(44px,7.2vw,92px);font-size:var(--text-display-0-size);letter-spacing:-.04em;letter-spacing:var(--text-display-0-spacing);line-height:1.05;line-height:var(--text-display-0-line);margin:0}: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-0){font-weight:800;font-weight:var(--text-display-0-weight)}: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-0b){font-weight:900;font-weight:var(--text-display-0-weight-bold)}: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-0{font-size:clamp(44px,7.2vw,92px);font-size:var(--text-display-0-size);font-weight:800;font-weight:var(--text-display-0-weight)}:where(.ihabdevteam-core-scope) :where(h1,h2,h3,h4,h5,h6).display-0b{font-size:clamp(44px,7.2vw,92px);font-size:var(--text-display-0-size);font-weight:900;font-weight:var(--text-display-0-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}}';se(By);var Ay={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",selectedOfMax:"\uCD5C\uB300 {{max}}\uAC1C \uC911 {{count}}\uAC1C",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",discardConfirm:{title:"\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?",body:"\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",confirm:"\uC785\uB825 \uCDE8\uC18C"},close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",likeCount:"\uC88B\uC544\uC694 {{count}}",downloadCount:"\uAC00\uC838\uAC04 \uC218 {{count}}",descriptionFor:"{{name}} \uC124\uBA85",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",collapseFor:"{{name}} \uC811\uAE30",expandFor:"{{name}} \uD3BC\uCE58\uAE30",sortFor:"{{name}} \uC815\uB82C",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",loading:"\uBD88\uB7EC\uC624\uB294 \uC911",playFor:"{{name}} \uC7AC\uC0DD",pauseFor:"{{name}} \uBA48\uCDA4",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",noMatches:"\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",networkError:"\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.",add:"\uCD94\uAC00"},Sy={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],weekOrdinal:["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"],yearMonthCompact:"{{year}}.{{month}}",weekLabel:"{{ord}}\uC8FC",weekLabelCompact:"{{ord}}\uC8FC",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704",visitCount:"\uBC29\uBB38 {{count}}\uAC74",statusCount:"{{label}} {{count}}\uAC74"},Ey={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",expired:"\uB9CC\uB8CC\uB428",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},Dy={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},jy={selected:"\uC120\uD0DD\uB428"},Ny={placeholder:"\uC120\uD0DD"},Ty={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},Ly={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"},My={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",feedback:"\uBC84\uADF8\uC2E0\uACE0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274",badgeLabel:"{{label}}, {{count}}\uAC1C",badgeInsideLabel:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"},$y={cache:{cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"}}}},Ry={couponButton:"\uCFE0\uD3F0 \uC785\uB825"},Py={security:{password:{currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}}},zy={settings:"\uC124\uC815",filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB09C\uC774\uB3C4",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playSoundFor:"{{name}} \uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",selectInOrder:"\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",previewFor:"{{name}} \uBBF8\uB9AC \uB4E3\uAE30",stopFor:"{{name}} \uC815\uC9C0",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",ttsUnavailable:"\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{pendingDone:"\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",replaySound:"{{no}}\uBC88 \uB2E4\uC2DC \uB4E3\uAE30",replaySoundStop:"{{no}}\uBC88 \uB4E3\uAE30 \uBA48\uCDA4",done:"\uC644\uB8CC",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30",audioStatus:{synthesizing:"\uC18C\uB9AC\uB97C \uB9CC\uB4E4\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026",preparing:"\uC18C\uB9AC\uB97C \uC900\uBE44\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026"}},Iy={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addButton:"\uAE30\uAE30 \uCD94\uAC00",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D"},visitHistory:{empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"},consent:{record:"\uB3D9\uC758 \uBC1B\uAE30",kinds:"\uBC1B\uC740 \uAC08\uB798",methodTitle:"\uBC1B\uC740 \uBC29\uBC95",sourceTitle:"\uC218\uC9D1 \uCD9C\uCC98",day:"\uBC1B\uC740 \uB0A0",note:"\uBA54\uBAA8",notePlaceholder:"\uC758\uB8B0\uAE30\uAD00 \uC774\uB984 \uB4F1 \u2014 \uBBFC\uAC10\uD55C \uB0B4\uC6A9\uC740 \uC801\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",submit:"\uC800\uC7A5\uD558\uAE30",allTaken:"\uC138 \uAC08\uB798\uB97C \uC774\uBBF8 \uB2E4 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBC1B\uC73C\uB824\uBA74 \uBA3C\uC800 \uCCA0\uD68C\uD558\uC138\uC694.",kind:{personal:"\uC77C\uBC18 \uAC1C\uC778\uC815\uBCF4",sensitive:"\uBBFC\uAC10\uC815\uBCF4(\uCCAD\uB825\xB7\uC9C4\uB2E8)",marketing:"\uAD11\uACE0\uC131 \uC815\uBCF4 \uC218\uC2E0"},method:{paper:"\uC11C\uBA74",verbal:"\uAD6C\uB450",electronic:"\uC804\uC790"},source:{self:"\uBCF8\uC778",guardian:"\uBCF4\uD638\uC790",referral:"\uC758\uB8B0\uAE30\uAD00"}}},Oy={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"}}}},Fy={input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9"},Wy={showN:"{{n}}\uAC1C\uC529"},Gy={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."}},Hy={newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},Vy={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},Uy={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",caption:"\uC720\uD615",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",topInfo:"\uC0C1\uB2E8 \uC815\uBCF4",bottomInfo:"\uD558\uB2E8 \uC815\uBCF4",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",copyItem:"\uD55C \uCE78 \uB354",copyItemAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uD55C \uCE78 \uB354",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)",copyName:"{{name}} (\uBCF5\uC0AC)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"{{name}} \uC0AD\uC81C",viewLabel:"\uBCF4\uAE30 \uBC29\uC2DD",sortLabel:"\uC815\uB82C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},publisherFilter:"{{name}} \uAC8C\uC2DC\uD55C \uAC83\uB9CC \uBCF4\uAE30",groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",markName:{o:"\uB9DE\uC74C",triangle:"\uC560\uB9E4",x:"\uD2C0\uB9BC"},button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78 \uC544\uB798 \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB20C\uB7EC \uB9E4\uAE30\uC138\uC694. \uB9C8\uC6B0\uC2A4\uB85C\uB294 \uCE78\uC5D0 \uC190\uC744 \uC5B9\uC73C\uBA74, \uC790\uD310\uC73C\uB85C\uB294 \uCE78\uC5D0 \uCD08\uC810\uC774 \uAC00\uBA74 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"},info:{grade:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808",pos:"\uD488\uC0AC: {{v}}",wordType:"\uC720\uD615: {{v}}"},pos:{noun:"\uBA85\uC0AC",verb:"\uB3D9\uC0AC",adjective:"\uD615\uC6A9\uC0AC",adverb:"\uBD80\uC0AC",numeral:"\uC218\uC0AC",determiner:"\uAD00\uD615\uC0AC",interjection:"\uAC10\uD0C4\uC0AC",particle:"\uC870\uC0AC",affix:"\uC811\uC0AC",dependentNoun:"\uC758\uC874\uBA85\uC0AC",pronoun:"\uB300\uBA85\uC0AC",auxVerb:"\uBCF4\uC870\uB3D9\uC0AC",auxAdjective:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},reorder:{moved:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40",handle:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)",hint:"Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"},thumbMore:"+{{count}}",replaceItem:"\uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePair:"\uB2E4\uB978 \uC30D\uC73C\uB85C",replaceItemAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePairAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uC30D\uC73C\uB85C",thumbMoreAria:"\uADF8 \uBC16 {{count}}\uCE78: {{words}}",pickForm:"\uB2E4\uB978 \uAF34\uB85C",pickFormAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C",pickFormBaseAria:"\uAE30\uBCF8\uD615 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C"},qy={filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB09C\uC774\uB3C4",grade:"{{n}}\uB4F1\uAE09",age:"{{n}}\uC138",agePlus:"{{n}}\uC138 \uC774\uC0C1",ageRange:"{{from}}\uC138~{{to}}\uC138",difficultyInfoAge:"3\uC138~7\uC138: \uAC00\uC7A5 \uC26C\uC6B4 \uB0B1\uB9D0(1\uB4F1\uAE09)\uC744 \uB610\uB798\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoGrade:"2~4\uB4F1\uAE09: \uADF8\uBCF4\uB2E4 \uC5B4\uB824\uC6B4 \uB0B1\uB9D0\uC774\uACE0, \uB098\uC774\uB85C\uB294 \uB098\uB204\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",difficultyInfoNone:"\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAge:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC744 \uB098\uC774\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandGrade:"{{grade}}: {{ages}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeNamed:"{{ages}}: \uB098\uC774\uB85C \uB098\uB208 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",gradeNone:"\uC5C6\uC74C",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",field:"\uC758\uBBF8\uBC94\uC8FC",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193",original:"\uBC1B\uC740 \uC21C\uC11C"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30"},Yy={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removePairFor:"{{name}} \uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30",removeWordFor:"{{name}} \uBE7C\uAE30"},Ky={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"}},Xy={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C",type:{hearingAid:"\uBCF4\uCCAD\uAE30",cochlearImplant:"\uC778\uACF5\uC640\uC6B0",other:"\uAE30\uD0C0"}},Zy={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"}},Jy={phonemeSelect:{vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",countLabel:"\uC74C\uC18C \uAC1C\uC218",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:["1\uB4F1\uAE09 : \uD559\uB839\uC804\uAE30\uC5D0 \uC2B5\uB4DD\uD558\uC5EC \uD3C9\uC0DD\uC5D0 \uAC78\uCCD0 \uC77C\uC0C1 \uC5B8\uC5B4\uC0DD\uD65C\uC744 \uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uC5B4\uD718","2\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 1-2\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","3\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 3-4\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","4\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 5-6\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","\uB4F1\uAE09\uC5C6\uC74C : \uAD6D\uB9BD\uAD6D\uC5B4\uC6D0 \uD45C\uC900 \uC5B4\uD718 \uC678 \uACE0\uBE48\uB3C4 \uC0DD\uD65C \uC5B4\uD718, \uC2E0\uC870\uC5B4 \uBC0F \uC678\uB798\uC5B4"],selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlyHighUsage:"\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},Qy={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
|
|
2
2
|
\uC2E0\uB8B0\uB97C \uC313\uACE0
|
|
3
|
-
\uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},ew={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},tw={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"},ow={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30",showPassword:"\uBE44\uBC00\uBC88\uD638 \uBCF4\uAE30"},aw={ariaLabel:"\uC120\uD0DD \uD0ED"},rw={ariaLabel:"\uD0ED"},nw={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},iw={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},lw={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},sw={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},cw={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"}},uw={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},dw={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},pw={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},hw={viewWords:"\uB0B1\uB9D0"},mw={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},bw={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},gw={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},fw={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},vw={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},xw={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Cw={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},_w={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},yw={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},ww={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},kw={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},Bw={list:"\uD3F4\uB354",open:"{{name}} \uD3F4\uB354 \uC5F4\uAE30, {{count}}\uAC1C",menu:"{{name}} \uD3F4\uB354 \uBA54\uB274",placeMenu:"{{name}} \uBA54\uB274",tree:"\uD3F4\uB354 \uAD6C\uC870 \uBCF4\uAE30",fold:"{{name}} \uC811\uAE30",unfold:"{{name}} \uD3BC\uCE58\uAE30",up:"\uC704\uB85C",upTo:"\uD55C \uCE35 \uC704\uB85C \u2014 {{name}}",add:{title:"\uD3F4\uB354 \uCD94\uAC00",sub:"\uC0C8 \uD3F4\uB354 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uD3F4\uB354 \uC774\uB984"}},Aw={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Sw={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"},Ew={common:Ay,calendar:Sy,passCard:Ey,rating:Dy,colorPicker:jy,dropdown:Ny,accordion:Ty,header:Ly,nav:My,settings:$y,usage:Ry,account:Py,training:zy,customers:Iy,payment:Oy,coupons:Fy,visits:Wy,trainingType:Gy,myWordTable:Hy,keyWords:Vy,wordTable:Uy,wordSearch:qy,wordPrint:Yy,topic:Ky,device:Xy,manager:Zy,wordPairs:Jy,footer:Qy,date:ew,wordData:tw,textField:ow,segmentedControl:aw,tabs:rw,fileUpload:nw,avatar:iw,myHomework:lw,trainingStatus:sw,store:cw,progress:uw,trainingMiss:dw,table:pw,wordScore:hw,topBanner:mw,datePicker:bw,report:gw,tooltip:fw,phonemeProfile:vw,bulkBar:xw,debug:Cw,badge:_w,loader:yw,soundCompass:ww,breadcrumb:kw,folder:Bw,board:Aw,promoBannerBg:Sw},Dw={filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",agePlus:"Age {{n}}+",ageRange:"Age {{from}}\u2013{{to}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",difficultyInfoBandAge:"{{ages}}: {{grade}} words, split by age.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} words.",difficultyInfoBandGrade:"{{grade}}: words for {{ages}}.",difficultyInfoBandAgeNamed:"{{ages}}: words split by age.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"}},jw={filter:{onlyHighUsage:"High-use words only"}},Nw={wordSearch:Dw,wordPairs:jw};const _i="0.451.
|
|
3
|
+
\uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},ew={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},tw={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"},ow={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30",showPassword:"\uBE44\uBC00\uBC88\uD638 \uBCF4\uAE30"},aw={ariaLabel:"\uC120\uD0DD \uD0ED"},rw={ariaLabel:"\uD0ED"},nw={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},iw={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},lw={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},sw={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},cw={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"}},uw={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},dw={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},pw={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},hw={viewWords:"\uB0B1\uB9D0"},mw={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},bw={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},gw={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},fw={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},vw={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},xw={clearSelection:"\uC120\uD0DD \uD574\uC81C"},Cw={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},_w={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},yw={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},ww={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},kw={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},Bw={list:"\uD3F4\uB354",open:"{{name}} \uD3F4\uB354 \uC5F4\uAE30, {{count}}\uAC1C",menu:"{{name}} \uD3F4\uB354 \uBA54\uB274",placeMenu:"{{name}} \uBA54\uB274",tree:"\uD3F4\uB354 \uAD6C\uC870 \uBCF4\uAE30",fold:"{{name}} \uC811\uAE30",unfold:"{{name}} \uD3BC\uCE58\uAE30",up:"\uC704\uB85C",upTo:"\uD55C \uCE35 \uC704\uB85C \u2014 {{name}}",add:{title:"\uD3F4\uB354 \uCD94\uAC00",sub:"\uC0C8 \uD3F4\uB354 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uD3F4\uB354 \uC774\uB984"}},Aw={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},Sw={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"},Ew={common:Ay,calendar:Sy,passCard:Ey,rating:Dy,colorPicker:jy,dropdown:Ny,accordion:Ty,header:Ly,nav:My,settings:$y,usage:Ry,account:Py,training:zy,customers:Iy,payment:Oy,coupons:Fy,visits:Wy,trainingType:Gy,myWordTable:Hy,keyWords:Vy,wordTable:Uy,wordSearch:qy,wordPrint:Yy,topic:Ky,device:Xy,manager:Zy,wordPairs:Jy,footer:Qy,date:ew,wordData:tw,textField:ow,segmentedControl:aw,tabs:rw,fileUpload:nw,avatar:iw,myHomework:lw,trainingStatus:sw,store:cw,progress:uw,trainingMiss:dw,table:pw,wordScore:hw,topBanner:mw,datePicker:bw,report:gw,tooltip:fw,phonemeProfile:vw,bulkBar:xw,debug:Cw,badge:_w,loader:yw,soundCompass:ww,breadcrumb:kw,folder:Bw,board:Aw,promoBannerBg:Sw},Dw={filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",agePlus:"Age {{n}}+",ageRange:"Age {{from}}\u2013{{to}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",difficultyInfoBandAge:"{{ages}}: {{grade}} words, split by age.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} words.",difficultyInfoBandGrade:"{{grade}}: words for {{ages}}.",difficultyInfoBandAgeNamed:"{{ages}}: words split by age.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"}},jw={filter:{onlyHighUsage:"High-use words only"}},Nw={wordSearch:Dw,wordPairs:jw};const _i="0.451.1";var bm;const bn=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Ka="ko",js="ihab_display_language",Ns={en:()=>Promise.resolve().then(function(){return ZT})},yi=new Set(["ko"]),Ts={},gn=e=>e.split("-")[0];function Ls(e){const t=gn(e),o=Ns[t];return!o||yi.has(t)?Promise.resolve():Ts[t]??(Ts[t]=o().then(r=>{const n=r.default??r;yt.addResourceBundle(t,"translation",n,!0,!1),yi.add(t)},r=>{throw Ts[t]=void 0,r}))}function gm(){if(typeof window>"u")return Ka;try{const e=localStorage.getItem(js);if(e&&bn.some(t=>t.code===e))return e}catch{}return Ka}function Tw(e){try{localStorage.setItem(js,e)}catch{}}function fm(e){try{document.documentElement.lang=e}catch{}}yt.on("languageChanged",fm),fm(gm());const vm=(bm=yt).__ihabRawChangeLanguage??(bm.__ihabRawChangeLanguage=yt.changeLanguage);yt.changeLanguage=vm,yt.use(we.initReactI18next).init({resources:{ko:{translation:Ew},en:{translation:Nw}},lng:gm(),fallbackLng:Ka,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Ms=vm.bind(yt);let $s;yt.changeLanguage=((e,t)=>{if($s=e,!e||yi.has(gn(e))||!Ns[gn(e)])return Ms(e,t);const o=()=>$s===e?Ms(e,t):Promise.resolve(yt.t);return Ls(e).then(o,r=>(console.error(r),o()))});{const e=yt.language;e&&!yi.has(gn(e))&&Ns[gn(e)]&&Ls(e).then(()=>{yt.language===e&&($s??e)===e&&Ms(e)},t=>console.error(t))}const xm=s.createContext({locale:Ka,supportedLocales:bn});function Lw(){return s.useContext(xm)}function Mw(e){const t=r=>bn.some(n=>n.code===r);if(t(e))return e;const o=e.split(/[-_]/)[0]?.toLowerCase()??"";return t(o)?o:Ka}function $w({locale:e=Ka,children:t}){const o=Mw(e);s.useEffect(()=>{yt.language!==o&&yt.changeLanguage(o)},[o]);const r=s.useMemo(()=>({locale:o,supportedLocales:bn}),[o]);return a.jsx(xm.Provider,{value:r,children:t})}function ke(...e){return e.filter(Boolean).join(" ")}var Rw=".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}";se(Rw);const Cm=new Set,ja=(()=>{try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function Pt(e,...t){!ja||Cm.has(e)||(Cm.add(e),console.warn(...t))}/**
|
|
4
4
|
* @license lucide-react v1.38.0 - ISC
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the ISC license.
|
|
@@ -1073,7 +1073,7 @@ ${y.badge}`:y.badge:void 0;if(B&&h(y.code))return null;if(!y.badge&&!m)return b(
|
|
|
1073
1073
|
\uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`).split(`
|
|
1074
1074
|
`).map((l,c,u)=>a.jsxs(s.Fragment,{children:[l,c<u.length-1&&a.jsx("br",{})]},c))})}),a.jsxs("div",{className:"site-footer__links",children:[a.jsxs("div",{className:"site-footer__column",children:[a.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.site.title","\uC0AC\uC774\uD2B8")}),a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx("a",{className:"footer-link",href:"https://www.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:"IHAB"})}),a.jsx("li",{children:a.jsx("a",{className:"footer-link",href:"https://speechear.ihab.co.kr/",target:"_blank",rel:"noopener noreferrer",children:i("footer.site.malgwi","\uB9D0\uADC0")})}),a.jsx("li",{children:a.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")})}),a.jsx("li",{children:a.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")})}),a.jsx("li",{children:a.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")})})]})]}),a.jsxs("div",{className:"site-footer__column",children:[a.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.sns.title","SNS")}),a.jsxs("ul",{children:[a.jsx("li",{children:a.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")})}),a.jsx("li",{children:a.jsx("a",{className:"footer-link",href:"https://www.instagram.com/ihab.official.yt/",target:"_blank",rel:"noopener noreferrer",children:"Instagram"})}),a.jsx("li",{children:a.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"})})]})]}),a.jsxs("div",{className:"site-footer__column",children:[a.jsx("div",{className:"site-footer__column-title footer-title",children:i("footer.policy.title","\uC815\uCC45")}),a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx("a",{className:"footer-link",href:"#",onClick:l=>{e&&(l.preventDefault(),e())},children:i("footer.policy.terms","\uC774\uC6A9\uC57D\uAD00")})}),a.jsx("li",{children:a.jsx("a",{className:"footer-link",href:"#",onClick:l=>{t&&(l.preventDefault(),t())},children:i("footer.policy.privacy","\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68")})})]})]})]})]}),a.jsx("hr",{className:"site-footer__rule"}),a.jsxs("div",{className:"site-footer__bottom",children:[a.jsx("div",{className:"site-footer__brand",children:a.jsx("img",{src:Pp,alt:"IHAB",className:"site-footer__logo"})}),a.jsxs("div",{className:"site-footer__meta",children:[a.jsxs("div",{children:[a.jsx("span",{className:"footer-title",children:i("footer.ceo","\uB300\uD45C")})," ",a.jsx("span",{className:"footer-meta caption-1",children:i("footer.ceoName","\uD55C\uC9C0\uD61C")})]}),a.jsxs("div",{children:[a.jsx("span",{className:"footer-title",children:i("footer.address","\uC8FC\uC18C")})," ",a.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")})]}),a.jsxs("div",{children:[a.jsx("span",{className:"footer-title",children:i("footer.bizNo","\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638")})," ",a.jsx("span",{className:"footer-meta caption-1",children:i("footer.bizNoValue","526-81-02926")})]}),a.jsxs("div",{children:[a.jsx("span",{className:"footer-title",children:i("footer.support","\uACE0\uAC1D\uC13C\uD130")})," ",a.jsxs("span",{className:"footer-meta caption-1",children:[r," \xA0 ",n]})]})]})]}),a.jsx("div",{className:"site-footer__copyright footer-copyright caption-1",children:"\xA9 IHAB, Inc. All rights reserved."})]})})}var Hj='.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}}';se(Hj);function pC({logo:e,logoAlt:t="",logoHref:o,links:r=[],actions:n,className:i,containerClassName:l,renderLink:c,menuLabel:u}){const{t:p}=we.useTranslation(),h=u??{open:p("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),close:p("header.menuClose","\uBA54\uB274 \uB2EB\uAE30")},[d,m]=s.useState(!1),b=s.useId(),C=s.useRef(null);s.useEffect(()=>{if(!d)return;const g=cr(()=>{const w=document.getElementById(b);w&&w.contains(document.activeElement)&&C.current?.focus(),m(!1)}),_=typeof window<"u"&&window.matchMedia?window.matchMedia("(min-width: 961px)"):null,v=w=>{w.matches&&m(!1)};return _&&(_.matches&&m(!1),_.addEventListener?.("change",v)),()=>{g(),_?.removeEventListener?.("change",v)}},[d,b]);const x=l?`${l} landing-header__inner`:"landing-header__inner",f=(g,_)=>c?c(g,{onClick:_}):a.jsx("a",{href:g.href,onClick:_,"aria-current":g.current?"page":void 0,children:g.label});return a.jsxs("header",{className:i?`landing-header ${i}`:"landing-header",children:[a.jsxs("div",{className:x,children:[e!=null&&(()=>{const g=typeof e=="string"?a.jsx("img",{src:e,alt:t,className:"landing-header__logo"}):e;return o?a.jsx("a",{href:o,className:"landing-header__brand",children:g}):a.jsx("div",{className:"landing-header__brand",children:g})})(),r.length>0&&a.jsx("nav",{className:"landing-header__links",children:r.map((g,_)=>a.jsx("span",{children:f(g)},`${_}:${g.href}`))}),a.jsxs("div",{className:"landing-header__actions",children:[n,r.length>0&&a.jsx("button",{ref:C,type:"button",onClick:()=>m(g=>!g),"aria-expanded":d,"aria-controls":b,"aria-label":d?h.close:h.open,className:d?"landing-header__toggle landing-header__toggle--open":"landing-header__toggle",children:a.jsxs("span",{className:"landing-header__burger",children:[a.jsx("span",{}),a.jsx("span",{}),a.jsx("span",{})]})})]})]}),r.length>0&&a.jsx("nav",{id:b,hidden:!d,className:"landing-header__drawer",children:a.jsx("div",{className:l??void 0,children:r.map((g,_)=>a.jsx("span",{className:"landing-header__drawer-item",children:f(g,()=>m(!1))},`${_}:${g.href}`))})})]})}var Vj=".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}}";se(Vj);function hC({children:e,action:t,onClick:o,className:r}){const n=o?"bottom-sticky__inner bottom-sticky__inner--clickable":"bottom-sticky__inner";return a.jsx("div",{className:r?`bottom-sticky ${r}`:"bottom-sticky",children:a.jsxs("div",{className:n,onClick:o,...dx(o),children:[a.jsx("div",{className:"bottom-sticky__content",children:e}),t]})})}function Uj({mountedRef:e}){const t=s.useRef({phase:"sound",at:0}),o=s.useRef(0),r=s.useRef(null),n=s.useRef(null),i=s.useCallback(()=>{const x=t.current,f=x.phase!=="sound"&&x.at>0;n.current=f?{phase:x.phase,elapsed:Math.max(0,Date.now()-x.at)}:null},[]),l=s.useCallback(()=>{const x=n.current;return n.current=null,x},[]),c=s.useCallback(()=>{o.current+=1,t.current={phase:"sound",at:0}},[]),u=s.useCallback((x,f,g=0)=>{if(!(x>0))return Promise.resolve(!0);const _=o.current;return t.current={phase:f,at:Date.now()-Math.max(0,g)},new Promise(v=>{const w=setTimeout(()=>{r.current===w&&(r.current=null),v(!!e.current&&_===o.current)},x);r.current=w})},[e]),p=s.useCallback(()=>{t.current={phase:"sound",at:Date.now()}},[]),h=s.useCallback(()=>{t.current={phase:"sound",at:0}},[]),d=s.useCallback(()=>{const x=t.current;return x.phase!=="sound"&&x.at>0},[]),m=s.useCallback(()=>o.current,[]),b=s.useCallback(x=>x===o.current,[]),C=s.useCallback(()=>{o.current+=1},[]);return s.useEffect(()=>()=>{r.current&&(clearTimeout(r.current),r.current=null)},[]),s.useMemo(()=>({positionRef:t,isRunning:d,generation:m,isCurrent:b,abort:c,waitPad:u,enterSound:p,leave:h,pause:i,resume:l,__bumpGenerationForTest:C}),[d,m,b,c,u,p,h,i,l,C])}const kr=9,mC=e=>Math.round(Math.min(kr,Math.max(0,e))/kr*100),bC=e=>e/100*kr,un=2,$h=.1,qj=e=>Math.min(un,Math.max(0,e)),Yj=.1,Kj=e=>Math.round(e*1e6)/1e6;function dn(e){const{noiseRatio:t}=e;if(typeof t=="number"&&Number.isFinite(t))return qj(t);const o=Math.min(kr,Math.max(0,Number(e.level)||0))/kr,r=Number(e.mainVolume);return r>0?o>0?Kj(Math.min(un,Math.max(Yj,o/r))):0:1}const gC=e=>Math.min(1,Math.max(0,Number(e.mainVolume)||0));function Rh(e){return gC(e)}function ds(e){return gC(e)*dn(e)}function ps(e,t=tc()){const o=Number.isFinite(t)&&t>0?t:1;return Math.min(1,ds(e)/o)}function Ua(e,t){const o={...e,...t??{}};return t&&"level"in t&&typeof t.noiseRatio!="number"&&(o.noiseRatio=dn({level:o.level,mainVolume:o.mainVolume})),o}const qa={enabled:!0,type:"defaultNoise",level:4.5,noiseRatio:1,speed:1,mainVolume:1,mainSpeed:1},hs=s.createContext(null);function bi(){return s.useContext(hs)}const Ph=e=>`${ec()}/${e}`,fC=e=>Array.from({length:10},(t,o)=>Ph(`${e}-${String(o+1).padStart(2,"0")}.mp3`)),ms={get defaultNoise(){return Ph("noise1.mp3")},get street(){return fC("noise2")},get restaurant(){return fC("noise3")},get buzz(){return Ph("noise4.mp3")}};function Xj(e){const t=Math.floor(Math.random()*10);switch(e){case"defaultNoise":return ms.defaultNoise;case"street":return ms.street[t];case"restaurant":return ms.restaurant[t];case"buzz":return ms.buzz;default:return null}}function Zj({noisePlayer:e,audioRef:t,playbackStateRef:o,sequencer:r}){const n=s.useRef(e?.registerAnalyser);n.current=e?.registerAnalyser;const i=s.useRef(null),[l,c]=s.useState(null),u=s.useRef(null),p=s.useRef(null),h=s.useRef(null),d=s.useRef(null),m=s.useRef(0),b=s.useRef(null),C=s.useCallback(()=>!!r?.isRunning(),[r]),x=s.useCallback(()=>{d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),b.current!==null&&(clearTimeout(b.current),b.current=null)},[]),f=s.useCallback((S,y=250)=>{const k=i.current;if(!k)return;const B=p.current;if(B){p.current=null;try{k.pause()}catch{}k.src=B,k.load()}if(!k.src)return;m.current+=1,x();try{Bn(),Tr(k).then(D=>{if(i.current===k)try{n.current?.("noise",D)}catch{}})}catch{}const E=k.paused?0:Lr(k);k.paused&&aa(k,0),k.play().catch(()=>{});const A=performance.now(),j=()=>{const D=Math.min(1,(performance.now()-A)/y);try{aa(k,E+(S-E)*D)}catch{}D<1?d.current=requestAnimationFrame(j):d.current=null};d.current=requestAnimationFrame(j)},[x]),g=s.useCallback((S=250,y)=>{const k=i.current;if(!k||k.paused){y?.();return}const B=++m.current;x();const E=performance.now(),A=Lr(k),j=()=>{const D=Math.min(1,(performance.now()-E)/S);try{aa(k,A*(1-D))}catch{}if(D<1)d.current=requestAnimationFrame(j);else{d.current=null,b.current!==null&&(clearTimeout(b.current),b.current=null);try{k.pause()}catch{}y?.()}};d.current=requestAnimationFrame(j),b.current=setTimeout(()=>{if(b.current=null,m.current===B){d.current!==null&&(cancelAnimationFrame(d.current),d.current=null);try{k.paused||(aa(k,0),k.pause(),y?.())}catch{}}},S+150)},[x]);s.useEffect(()=>{const S=document.createElement("audio");return S.loop=!0,S.crossOrigin="anonymous",i.current=S,()=>{x();try{S.pause(),S.removeAttribute("src"),S.load()}catch{}i.current=null,u.current=null,p.current=null}},[x]);const _=e?ps(e.settings):0,v=!!e?.settings.enabled&&_>0;s.useEffect(()=>{if(!v)return;let S=0;const y=setInterval(()=>{const k=i.current;if(!k||k.paused){S=0;return}const B=t.current;if(B&&!B.paused&&!B.ended||C()||o.current==="playing"){S=0;return}S+=1,S>=2&&(S=0,g())},400);return()=>clearInterval(y)},[g,v,t,o,C]),s.useEffect(()=>{const S=()=>{const y=i.current;if(document.hidden){if(y&&!y.paused){x();try{y.pause()}catch{}}return}if(!y||!y.paused)return;const k=t.current,B=!!k&&!k.paused&&!k.ended||C()||o.current==="playing",E=h.current;B&&E?.enabled&&E.volume>0&&f(E.volume)};return document.addEventListener("visibilitychange",S),()=>document.removeEventListener("visibilitychange",S)},[x,f,t,o,C]),s.useEffect(()=>{h.current=e?{enabled:e.settings.enabled,volume:_,type:e.settings.type}:null},[e,e?.settings.enabled,_,e?.settings.type]);const w=s.useRef(null);return s.useEffect(()=>()=>{w.current?.(),w.current=null},[]),s.useEffect(()=>{const S=e?.settings,y=i.current;if(!y)return;const k=S?ps(S):0;if(!S||!S.enabled||k===0){g();return}if(u.current!==S.type){const B=Xj(S.type);B&&(u.current=S.type,c(B),p.current=B,g(150,()=>{if(p.current!==B)return;p.current=null,y.src=B,y.load();const E=t.current;if(E&&!E.paused||C()){w.current?.();const A=()=>{y.removeEventListener("canplay",A),w.current===j&&(w.current=null);const D=t.current,L=h.current;(D&&!D.paused&&!D.ended||C())&&L?.enabled&&L.volume>0&&f(L.volume)},j=()=>y.removeEventListener("canplay",A);w.current=j,y.addEventListener("canplay",A)}}))}else{const B=t.current,E=!!B&&!B.paused&&!B.ended||C()||o.current==="playing";if(E&&p.current)f(k);else if(E&&y.paused&&y.src)f(k);else if(!y.paused)if(!E)g();else{x();const A=Lr(y),j=performance.now(),D=()=>{const L=Math.min(1,(performance.now()-j)/150);try{aa(y,A+(k-A)*L)}catch{}L<1?d.current=requestAnimationFrame(D):d.current=null};d.current=requestAnimationFrame(D)}}},[e?.settings,e?.settings.enabled,_,e?.settings.type,x,f,g,t,o,h,C]),s.useEffect(()=>{const S=i.current;if(S)try{S.playbackRate=Math.min(1.25,Math.max(.75,e?.settings.speed??1))}catch{}},[e?.settings.speed]),{noiseAudioRef:i,activeNoiseUrl:l,noiseSettingsRef:h,cancelNoiseFade:x,fadeInNoise:f,fadeOutNoise:g}}function Jj({ttsText:e,playbackRate:t,mainVolume:o,fillRef:r,waveProgressRef:n,setProgress:i,setPlaybackState:l,setStateLocal:c,fadeInNoise:u,fadeOutNoise:p,noiseSettingsRef:h,onDoneRef:d,handleEndRef:m}){const b=s.useRef(null),C=s.useRef(0),x=s.useRef(null),f=s.useRef(0),g=s.useRef(!1);s.useEffect(()=>()=>{f.current++;try{if(x.current&&(cancelAnimationFrame(x.current),x.current=null),g.current&&window.speechSynthesis){try{window.speechSynthesis.cancel()}catch{}g.current=!1}}catch{}},[]);const _=(S,y=1)=>{try{const k=(S||"").trim().split(/\s+/).filter(Boolean).length||Math.max(1,(S||"").length);return Math.max(700,Math.round(k*300/Math.max(.25,y)))}catch{return 1200}},v=s.useCallback(S=>{if(typeof window>"u"||!window.speechSynthesis){try{typeof d.current=="function"&&d.current(!1)}catch{}return}const y=window.speechSynthesis,k=++f.current;try{try{y.cancel()}catch{}const B=S??e,E=Array.isArray(B)?B.filter(R=>!!R):[B||""];E.length===0&&E.push("");const A=Math.max(.3,Math.min(3,t));C.current=E.reduce((R,H)=>R+_(H,A||1),0),b.current=performance.now(),i(0),l("playing"),c("playMode");const j=h.current;j?.enabled&&(j?.volume??0)>0&&u(j.volume);const D=()=>{try{const R=b.current||performance.now(),H=performance.now()-R,T=C.current||1200,F=Math.min(1,H/T);try{r.current&&(r.current.style.left=`${F*100}%`),n.current&&n.current.style.setProperty("--progress",String(F))}catch{}F<1&&(x.current=requestAnimationFrame(D))}catch{}},L=()=>{if(k===f.current)try{x.current&&(cancelAnimationFrame(x.current),x.current=null),i(1),l("stopped");try{m.current?.()}catch{try{typeof d.current=="function"&&d.current(!0)}catch{}}}catch{}},I=R=>{const H=new SpeechSynthesisUtterance(E[R]);try{H.rate=A}catch{}try{H.volume=Math.max(0,Math.min(1,o))}catch{}H.onend=()=>{if(k===f.current){if(R<E.length-1){try{I(R+1)}catch{L()}return}L()}},H.onerror=()=>{L()},H.onstart=()=>{if(!(R>0))try{x.current&&(cancelAnimationFrame(x.current),x.current=null),x.current=requestAnimationFrame(D)}catch{}},g.current=!0,y.speak(H)};try{I(0)}catch{try{typeof d.current=="function"&&d.current(!0)}catch{}}}catch{try{typeof d.current=="function"&&d.current(!0)}catch{}}},[e,t,o,u,r,n,i,l,c,h,d,m]),w=s.useCallback(()=>{f.current++;try{if(window.speechSynthesis)try{window.speechSynthesis.cancel()}catch{}x.current&&(cancelAnimationFrame(x.current),x.current=null),p(),b.current=null}catch{}l("stopped"),c("active"),i(0)},[p,l,c,i]);return{startTTS:v,stopTTS:w}}var Qj='.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{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.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}.ihabdevteam-core-scope .audio-player__source-buttons .button--variant-transparent-white[aria-pressed=true]{background:var(--color-white);color:var(--color-darkGray)}';se(Qj);const eN=.01,tN=.3;async function oN(e,t,o,r=!1){let n=null;try{const i=window.AudioContext||window.webkitAudioContext;n=new i;const l=await n.decodeAudioData(e.slice(0)),c=l.numberOfChannels>0?l.getChannelData(0):null;if(!c)return null;let u=0;if(r){const b=Math.floor(tN*l.sampleRate),C=Math.min(c.length,b);for(;u<C&&Math.abs(c[u])<=eN;)u++;u>=C&&(u=0)}const p=c.length-u,h=o&&o>0?Math.min(p,Math.floor(o*l.sampleRate)):p,d=Math.max(t,h),m=Math.floor(d/t)||1;return new Array(t).fill(0).map((b,C)=>{const x=u+C*m,f=Math.min(x+m,u+d,c.length);let g=0;for(let _=x;_<f;_++){const v=Math.abs(c[_]);v>g&&(g=v)}return g})}catch{return null}finally{try{n?.close?.()}catch{}}}async function vC(e,t,o,r=!1){try{const n=await fetch(e);if(n.ok===!1)return null;const i=await n.arrayBuffer();return await oN(i,t,o,r)}catch(n){try{const i=Wr(n)}catch{}return null}}const bs=45,xC=74,CC=2;function gi(e){const t=Math.min(2,Math.max(0,Number(e)||0));return t<=1?t*45:45+(t-1)*29}function fi(e){return gi(e)/45}const aN=e=>Math.max(0,(typeof e=="number"&&Number.isFinite(e)?e:0)*1e3),_C=e=>Math.max(0,typeof e=="number"&&Number.isFinite(e)?e:0);function yC({durationsSec:e,leadInMs:t=0,tailMs:o=0}){const r=_C(t),n=_C(o),i=[];let l=0;return e.forEach((c,u)=>{for(const[p,h]of[["lead",r],["sound",aN(c)],["tail",n]])i.push({kind:p,track:u,startMs:l,durMs:h}),l+=h}),{segments:i,totalMs:l,trackCount:e.length}}function wC(e,t){const o=(t|0)*3;if(t<0||o+2>=e.segments.length)return null;const[r,n,i]=[e.segments[o],e.segments[o+1],e.segments[o+2]];return{lead:r,sound:n,tail:i,totalMs:r.durMs+n.durMs+i.durMs}}function rN(e,t){const o=wC(e,t.track);if(!o||!(o.totalMs>0))return 0;const r=o[t.kind],n=Math.min(Math.max(0,Number.isFinite(t.elapsedMs)?t.elapsedMs:0),r.durMs);return Math.max(0,Math.min(1,(r.startMs-o.lead.startMs+n)/o.totalMs))}function nN(e,t,o){const r=Math.max(0,Math.floor(o)),n=wC(e,t);if(!n||r===0||!(n.totalMs>0)||n.lead.durMs===0&&n.tail.durMs===0||!(n.sound.durMs>0))return{lead:0,sound:r,tail:0};const i=Math.round(n.lead.durMs/n.totalMs*r),l=Math.round(n.tail.durMs/n.totalMs*r),c=Math.max(1,r-i-l),u=i+c+l-r;return{lead:Math.max(0,i-Math.ceil(u/2)),sound:c,tail:Math.max(0,l-Math.floor(u/2))}}function iN({currentTime:e,sources:t,index:o,audioDuration:r}){const n=o||0,i=Array.isArray(t)&&t.length>0?t[n]:void 0,l=i?i.duration||r||0:r||0;if(!(l>0))return 0;const c=Number.isFinite(e)?e:0;return Math.max(0,Math.min(1,c/l))}function lN({phase:e,phaseElapsedMs:t,currentTime:o,trackDurationSec:r,leadInMs:n,tailMs:i}){const l=yC({durationsSec:[r],leadInMs:n,tailMs:i});return rN(l,{track:0,kind:e,elapsedMs:e==="sound"?(Number.isFinite(o)?o:0)*1e3:t})}function sN({bars:e,trackDurationSec:t,leadInMs:o,tailMs:r}){return nN(yC({durationsSec:[t],leadInMs:o,tailMs:r}),0,e)}function cN(e,t){if(!Array.isArray(e))return null;const o=t||0;return o<e.length-1?o+1:null}function uN({ended:e,completedByEnd:t}){return!!e||!!t}function dN(e){return e.map((t,o)=>({src:t.src,label:String(o+1),color:void 0,duration:t.duration||0}))}function pN(e){return e.reduce((t,o)=>t+(o.duration||0),0)}function hN(e,t,o){const r=Array.isArray(e)?e:e?[e]:[],n=[];for(const i of r)if(i){if(typeof i=="object"&&i!==null&&"src"in i&&i.src){const l=i;n.push({code:l.code??null,src:l.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 l=String(i),c=o(l,t);c&&n.push({code:l,resolvedPath:c})}}return n}function mN(e,t){if(!t||e.readyState<1)return!0;const o=e.currentSrc||e.src;return o?kC(o)!==kC(t):!0}function kC(e){try{return new URL(e,typeof location>"u"?"http://localhost/":location.href).href}catch{return e}}const BC=4,bN=fi(BC/bs);function gN(e){const{src:t,segments:o,progress:r=0,waveProgressRef:n,noiseSrc:i,noiseRatio:l=0,noiseSpeed:c=1,totalDuration:u=0,mainVolume:p=1,onReadyChange:h,showSoundWaveForm:d=!0,leadInMs:m=0,tailMs:b=0,trackDurationSec:C=0}=e,x=s.useRef(null),f=s.useRef(null),[g,_]=s.useState(null),[v,w]=s.useState(!1),[S,y]=s.useState(null),[k,B]=s.useState(2),[E,A]=s.useState(0),[j,D]=s.useState(null),[L,I]=s.useState(!1),[R,H]=s.useState(!1),T=3,F=3,W=1,K=300,Y=s.useRef(0),z=s.useCallback(()=>{const ie=x.current,O=f&&f.current?f.current:ie?ie.closest(".audio-player__wave"):null,he=O?O.getBoundingClientRect():ie?ie.getBoundingClientRect():null,me=he?he.width:0,ve=he?Math.max(100,he.width):320,xe=he?he.height:0,Ie=Math.max(W,Math.min(K,Math.floor((ve+F)/(T+F)))),Be=Ie*T,Ee=Math.max(0,Ie-1),Ae=Math.max(0,Ee>0?(ve-Be)/Ee:F);return{bars:Ie,gap:Ae,height:xe,width:me}},[]),X=s.useRef(void 0),Z=s.useRef(null),J=s.useCallback(async(ie,O,{quiet:he=!1}={})=>{const me=++Y.current,ve=()=>Y.current===me;try{if(he||w(!1),X.current=ie,!ie){ve()&&_(null);return}let xe=O;if(!xe)try{for(let Ee=0;Ee<4&&!(x.current||f.current);Ee++)await new Promise(Ae=>requestAnimationFrame(Ae));await new Promise(Ee=>requestAnimationFrame(Ee));const Be=z();Be.height>0&&A(Be.height),xe=Be.bars,B(Be.gap)}catch{xe=120}Z.current=xe;const Ie=await vC(ie,xe);if(!ve())return;if(!Ie){_(null),w(!1);return}_(Ie),y(xe),w(!0)}catch{if(!ve())return;_(null),w(!1)}},[w,_,A,B,y,z]);s.useEffect(()=>{const ie=f.current;if(!ie||typeof ResizeObserver>"u")return;let O=null;const he=new ResizeObserver(()=>{O!==null&&cancelAnimationFrame(O),O=requestAnimationFrame(()=>{O=null;try{const me=z();if(me.width<=0||(me.height>0&&A(me.height),Z.current===null||me.bars===Z.current))return;const ve=X.current;B(me.gap),ve?J(ve,me.bars,{quiet:!0}).catch(()=>{}):Z.current=me.bars}catch{}})});return he.observe(ie),()=>{he.disconnect(),O!==null&&cancelAnimationFrame(O)}},[z,J]),s.useEffect(()=>{const ie=o&&o[0]&&o[0].src||t||o&&o.length===1&&o[0]&&o[0].src;J(typeof ie=="string"?ie:void 0).catch(()=>{}),H(!1)},[t,o,J]),s.useEffect(()=>{let ie=!1;if(I(!1),D(null),!i||!S)return;const O=u>0?u*(c||1):void 0;return vC(i,S,O,!0).then(he=>{ie||(D(he),he||I(!0))}).catch(()=>{ie||(D(null),I(!0))}),()=>{ie=!0}},[i,S,u,c]);const M=Math.max(0,Math.min(1,p)),P=s.useMemo(()=>g&&g.length&&Math.max(...g)||1,[g]),N=S||40,U=s.useMemo(()=>sN({bars:N,trackDurationSec:C,leadInMs:m,tailMs:b}),[N,C,m,b]),ne=s.useMemo(()=>Array.from({length:N}).map((ie,O)=>{const he=O>=U.lead&&O<U.lead+U.sound,me=U.sound>0&&he?Math.min(N-1,Math.round((O-U.lead)/U.sound*N)):-1,ve=he?g&&g[me]!=null?g[me]:null:g?0:null,xe=ve==null?null:Math.min(1,ve/P*M),Ie=xe!=null&&E>0&&gi(xe)<=BC,Be=xe==null?.15:Ie?0:fi(xe),Ee=Ie,Ae=N>1?O/(N-1):0;return a.jsx("div",{className:Ee?"audio-player__bar audio-player__bar--hidden":"audio-player__bar",style:{"--val":Be,"--i":O,"--mix":Ae}},O)}),[N,g,P,M,E,U]),re={"--progress":String(Math.max(0,Math.min(1,r)))},Q=s.useMemo(()=>j&&j.length&&Math.max(...j.map(ie=>Number.isFinite(ie)?Math.abs(ie):0))||1,[j]),ce=M*Math.max(0,l),Se=!i||!j||!j.length?1:Math.max(1,ce),ue={"--bar-gap":`${k}px`,"--wave-h":`${gi(Se)}px`,"--wave-h1":`${bs}px`},oe=v&&(i?!!j||L:!0);s.useEffect(()=>{oe&&H(!0)},[oe]);const G=R?v:oe;s.useEffect(()=>{h?.(G)},[G,h]);const V=S||40,q=s.useMemo(()=>Array.from({length:V}).map((ie,O)=>{const he=j&&j[O]!=null?j[O]:null,me=he==null?0:Math.abs(he)/Q*ce,ve=Math.max(bN,fi(me)),xe=V>1?O/(V-1):0;return a.jsx("div",{className:"audio-player__bar",style:{"--val":ve,"--i":O,"--mix":xe}},O)}),[V,j,Q,ce,E]);return a.jsxs("div",{className:"audio-player__wave",ref:f,style:ue,children:[i&&a.jsx("div",{className:`audio-player__wave-noise ${oe?"is-ready":""}`,"aria-hidden":"true",children:q}),d&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:`audio-player__wave-inner audio-player__wave-unplayed ${G?"is-ready":""}`,ref:x,children:ne}),a.jsx("div",{className:`audio-player__wave-inner audio-player__wave-played ${G?"is-ready":""}`,ref:n,style:re,children:ne})]})]})}const AC={idle:!1,synthesizing:!0,resolving:!0,checking_exists:!0,getting_signed_url:!0,downloading:!0,measuring_duration:!0,ready:!1,error:!0};function zh(e,t){return new Promise((o,r)=>{const n=document.createElement("audio");let i=!1;const l=()=>{try{n.removeAttribute("src"),n.load()}catch{}},c=()=>{if(i)return;i=!0;const p=isFinite(n.duration)&&n.duration||0;l(),o(p)},u=p=>{i||(i=!0,l(),t.rejectOnError?r(new Error(p)):o(0))};n.addEventListener("loadedmetadata",c),n.addEventListener("error",()=>u("audio load failed")),setTimeout(()=>u("audio load timeout"),t.timeoutMs),n.src=e})}const fN=2e3;function SC(e,t=fN){return new Promise(o=>{let r=!1;const n=()=>{r||(r=!0,o())};e.addEventListener("canplay",n,{once:!0}),e.addEventListener("error",n,{once:!0}),setTimeout(n,t)})}function vN({showSoundWaveForm:e,showNoiseWaveForm:t,timeoutMs:o=2500}){const r=s.useRef(!1),n=s.useRef([]),i=s.useCallback(u=>{if(r.current=u,!u||!n.current.length)return;const p=n.current;n.current=[];for(const h of p)h(!0)},[]),l=s.useCallback(()=>{r.current=!1},[]),c=s.useCallback(()=>!e&&!t||r.current?Promise.resolve(!0):new Promise(u=>{const p=d=>{clearTimeout(h),n.current=n.current.filter(m=>m!==p),u(d)},h=setTimeout(()=>p(!0),o);n.current.push(p)}),[e,t,o]);return s.useEffect(()=>()=>{const u=n.current;n.current=[];for(const p of u)p(!1)},[]),{onReadyChange:i,waitForReady:c,markNotReady:l}}function xN(){const e=s.useRef([]),t=s.useCallback(n=>(e.current.push(n),n),[]),o=s.useCallback(n=>{const i=new Set([...n].filter(Boolean));e.current=e.current.filter(l=>{if(i.has(l))return!0;try{URL.revokeObjectURL(l)}catch{}return!1})},[]),r=s.useCallback(()=>{o([])},[o]);return s.useEffect(()=>()=>{for(const n of e.current)try{URL.revokeObjectURL(n)}catch{}e.current=[]},[]),{track:t,keepOnly:o,revokeAll:r}}function CN({offsetY:e=8}={}){const t=s.useRef(null),[o,r]=s.useState(null),n=s.useCallback(()=>r(null),[]),i=s.useCallback(()=>{try{const l=t.current?.getBoundingClientRect();if(!l)return;r({left:l.left,right:l.right,width:l.width,height:l.height,x:l.x,top:l.top+e,bottom:l.bottom+e,y:l.y+e,toJSON:l.toJSON.bind(l)})}catch{}},[e]);return s.useEffect(()=>{if(o)return document.addEventListener("mousedown",n),()=>document.removeEventListener("mousedown",n)},[o,n]),{ref:t,rect:o,show:i,hide:n}}function _N(e){if(!e)return 0;const t=e.duration;if(Number.isFinite(t)&&t>0)return t;if(t===0)return 0;try{const o=e.seekable;if(o&&o.length>0){const r=o.end(o.length-1);if(Number.isFinite(r)&&r>0)return r}}catch{}return null}const yN=400,wN=2e3,EC=5;function kN({audioRef:e,fillRef:t,waveProgressRef:o,sourcesRef:r,currentIndexRef:n,sequencer:i,leadInMs:l=0,tailMs:c=0}){const u=s.useRef(null),p=s.useRef(0),h=s.useRef(null),d=s.useCallback(()=>{u.current!==null&&(cancelAnimationFrame(u.current),u.current=null)},[]),m=s.useCallback(()=>{if(u.current!==null)return;let C=0;const x=()=>{if(ja){const f=typeof performance<"u"&&performance.now?performance.now():Date.now();if(C>0&&f-C>yN){const g=h.current===null||f-h.current>wN;if(h.current=f,g&&p.current<EC){p.current+=1;const _=p.current;let v=null;try{v=typeof document<"u"?document.visibilityState:null}catch{}Pt(`progress-ticker-slow-frames#${_}`,`[ihab-core] \uC9C4\uD589 \uC0AC\uC2AC\uC758 \uD2C0 \uC0AC\uC774\uAC00 ${Math.round(f-C)}ms \uC785\uB2C8\uB2E4(\uBCF4\uD1B5 16ms).`,v==="hidden"?"\uC774 \uCE78\uC774 **\uC228\uC5B4 \uC788\uC5B4** \uBE0C\uB77C\uC6B0\uC800\uAC00 \uD2C0\uC744 \uC904\uC600\uC2B5\uB2C8\uB2E4 \u2014 \uC7AC\uC0DD\uBC14\xB7\uD30C\uD615\uC740 \uD2C0\uB9C8\uB2E4 \uADF8\uB824\uC9C0\uBBC0\uB85C, \uC9C0\uAE08 \uC7AC\uB294 \uAC12\uC740 **\uC0AC\uB78C\uC774 \uBCF4\uB294 \uD654\uBA74\uACFC \uB2E4\uB985\uB2C8\uB2E4.** \uCE78\uC744 \uC55E\uC73C\uB85C \uAEBC\uB0B4\uACE0 \uB2E4\uC2DC \uC7AC\uC2ED\uC2DC\uC624.":"\uCE78\uC740 \uBCF4\uC774\uB294\uB370 \uD2C0\uC774 \uB290\uB9BD\uB2C8\uB2E4 \u2014 \uAC19\uC740 \uD654\uBA74\uC5D0\uC11C \uBB34\uAC70\uC6B4 \uC77C\uC774 \uB3C4\uB294\uC9C0 \uBCF4\uC2ED\uC2DC\uC624. \uC7AC\uC0DD\uBC14\xB7\uD30C\uD615\uC774 \uB04A\uACA8 \uBCF4\uC774\uB294 \uAC83\uC740 \uC774 \uD0D3\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4.",_>=EC?`(${_}\uBC88\uC9F8 \u2014 \uB354\uB294 \uC548 \uC54C\uB9BD\uB2C8\uB2E4)`:`(${_}\uBC88\uC9F8)`)}}C=f}try{const f=e.current,g=Array.isArray(r.current)?r.current[n.current||0]:void 0,_=!!g&&Number.isFinite(g.duration)&&(g.duration??0)>0,v=_?0:_N(f),w=t.current,S=(l||0)>0||(c||0)>0,y=S&&(i?.positionRef.current?.phase??"sound")!=="sound";if(v===null&&!y)try{w&&w.style.visibility!=="hidden"&&(w.style.visibility="hidden")}catch{}else{const k=_?g.duration:v||0;ja&&y&&!(k>0)&&Pt("progress-ticker-pad-without-duration","[ihab-core] \uB738\uC774 \uB3C4\uB294\uB370 **\uC18C\uB9AC \uAE38\uC774\uB97C \uBAA8\uB985\uB2C8\uB2E4** \u2014 \uC7AC\uC0DD\uBC14\uAC00 \uB738\uB9CC\uC73C\uB85C \uC5B4\uB9BC\uC7A1\uC544 \uC6C0\uC9C1\uC785\uB2C8\uB2E4.","\uC18C\uB9AC \uAE38\uC774 \uC7AC\uAE30(measureAudioDuration)\uAC00 0 \uC744 \uC92C\uAC70\uB098 `<audio>` \uAC00 \uC544\uC9C1 \uC548 \uC2E4\uB838\uC2B5\uB2C8\uB2E4. \uAE38\uC774\uB97C \uC54C\uAC8C \uB418\uBA74 \uB9C8\uCEE4\uAC00 \uADF8 \uC21C\uAC04 **\uB4A4\uB85C \uBB3C\uB7EC\uB0A9\uB2C8\uB2E4**(\uC5B4\uB9BC\uC740 \uB298 \uCC38\uBCF4\uB2E4 \uD07D\uB2C8\uB2E4). \uC774 \uC904\uC774 \uBCF4\uC774\uBA74 \uADF8 \uC790\uB9AC\uB97C \uC54C\uB824 \uC8FC\uC2ED\uC2DC\uC624 \u2014 \uD3C9\uC18C \uAE38\uC5D0\uC11C\uB294 \uC548 \uB098\uC640\uC57C \uD569\uB2C8\uB2E4.");const B=S?lN({phase:i?.positionRef.current?.phase??"sound",phaseElapsedMs:i?.positionRef.current?Math.max(0,Date.now()-i.positionRef.current.at):0,currentTime:f&&typeof f.currentTime=="number"?f.currentTime:0,trackDurationSec:k,leadInMs:l||0,tailMs:c||0}):iN({currentTime:f&&typeof f.currentTime=="number"?f.currentTime:0,sources:r.current,index:n.current,audioDuration:v??0});try{w&&(w.style.visibility&&(w.style.visibility=""),w.style.left=`${B*100}%`)}catch{}try{o.current?.style.setProperty("--progress",String(B))}catch{}}}catch{}u.current=requestAnimationFrame(x)};u.current=requestAnimationFrame(x)},[e,t,o,r,n,i,l,c]),b=s.useCallback(C=>{d();try{t.current&&(t.current.style.visibility="",t.current.style.left=`${C*100}%`)}catch{}try{o.current?.style.setProperty("--progress",String(C))}catch{}},[d,t,o]);return s.useEffect(()=>d,[d]),{start:m,stop:d,settleTo:b}}function vi({btnLabel:e,soundSrc:t,bucketPath:o,onDone:r,disabled:n=!1,ttsText:i=null,className:l,showSoundWaveForm:c=!0,showNoiseWaveForm:u=!0,leadInMs:p=0,tailMs:h=0}){const{t:d}=we.useTranslation(),m=e,b=bi(),C=s.useRef(b?.registerAnalyser);s.useEffect(()=>{C.current=b?.registerAnalyser});const x=s.useRef(null),f=s.useRef(null),g=s.useRef(null),_=xN(),v=s.useRef(null),w=s.useRef(!1),S=s.useRef(null),{ref:y,rect:k,show:B,hide:E}=CN();s.useEffect(()=>()=>{C.current?.("main",null),C.current?.("noise",null)},[]);const[A,j]=s.useState(!1),[D,L]=s.useState("idle"),[I,R]=s.useState("stopped"),H=s.useRef("stopped");s.useEffect(()=>{H.current=I},[I]);const[T,F]=s.useState(0),[W,K]=s.useState("active"),Y=s.useRef(!1);s.useEffect(()=>{if(W!=="playMode"||!Y.current)return;Y.current=!1;const ee=typeof document<"u"?document.activeElement:null;if(ee&&ee!==document.body)return;const pe=g.current?.querySelectorAll("button")[1];try{pe?.focus()}catch{}},[W]);const[z,X]=s.useState(null),[Z,J]=s.useState(null),[M,P]=s.useState(0),[N,U]=s.useState(!1),[ne,re]=s.useState(0),Q=b?.playbackRate??1,ce=b?.mainVolume??1,Se=b?ds(b.settings):0,ue=b?Rh(b.settings):ce,[oe,G]=s.useState("idle"),[V,q]=s.useState(""),[ie]=s.useState("top"),O=s.useRef(null),he=s.useRef(0),me=s.useRef(null),ve=s.useRef(!0),xe=Uj({mountedRef:ve}),Ie=s.useRef(null),Be=s.useRef(p),Ee=s.useRef(h);s.useEffect(()=>{Be.current=Math.max(0,p||0)},[p]),s.useEffect(()=>{Ee.current=Math.max(0,h||0)},[h]);const{start:Ae,stop:Ne,settleTo:We}=kN({audioRef:x,fillRef:f,waveProgressRef:me,sourcesRef:O,currentIndexRef:he,sequencer:xe,leadInMs:p,tailMs:h}),{onReadyChange:st,waitForReady:ut,markNotReady:Oe}=vN({showSoundWaveForm:c,showNoiseWaveForm:u}),qe=s.useRef(null),rt=s.useRef(n),Le=s.useRef(r),Je=s.useRef(null),nt=s.useRef(!1),[dt,Ct]=s.useState(!1),At=s.useCallback(ee=>{nt.current=ee,Ct(ee)},[]),mt=s.useRef(null),{activeNoiseUrl:ao,noiseSettingsRef:jt,fadeInNoise:pt,fadeOutNoise:je}=Zj({noisePlayer:b,audioRef:x,playbackStateRef:H,sequencer:xe}),{startTTS:ct,stopTTS:ft}=Jj({ttsText:i,playbackRate:Q,mainVolume:ue,fillRef:f,waveProgressRef:me,setProgress:F,setPlaybackState:R,setStateLocal:K,fadeInNoise:pt,fadeOutNoise:je,noiseSettingsRef:jt,onDoneRef:Le,handleEndRef:mt});s.useEffect(()=>{Ht.current=ft});const vt=ee=>{if(typeof window>"u"||!window.speechSynthesis){try{q(d("training.ttsUnavailable","\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."))}catch{}ct(ee);return}fe("tts"),ct(ee)},Tt=Array.isArray(t)?t.filter(Boolean):t?[t]:[],Gt=(!Tt||Tt.length===0)&&!!i,wt=Array.isArray(z)&&z.length>0?z:Array.isArray(Z)&&Z.length>0?Z:null,kt=Math.max(Array.isArray(wt)?wt.length:0,Tt.length);s.useEffect(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Lt=()=>{xe.abort()},Ht=s.useRef(null),Qe=s.useRef(null),Nt=s.useRef(null),tt=s.useRef(null);tt.current||(tt.current=()=>{Nt.current=null;const ee=x.current;if(Qe.current==="audio"&&ee&&(!ee.paused||xe.isRunning())){Lt();try{ee.pause()}catch{}ve.current&&(R("paused"),Ne(),je())}else if(Qe.current==="tts")try{Ht.current?.()}catch{}});const fe=ee=>{Qe.current=ee,Nt.current=ui(tt.current)},Re=()=>{Nt.current?.(),Nt.current=null};s.useEffect(()=>()=>{tt.current&&Vl(tt.current)},[]);const ze=s.useRef(Q);s.useEffect(()=>{ze.current=Q||1},[Q]);const Ge=s.useCallback(ee=>{const pe=ze.current||1;try{ee.defaultPlaybackRate=pe}catch{}try{ee.playbackRate=pe}catch{}},[]),ht=s.useCallback((ee,pe)=>{if(!mN(ee,pe)){try{ee.currentTime=0}catch{}Ge(ee);return}ee.src=pe,Ge(ee),ee.load(),Ge(ee)},[Ge]),yo=s.useCallback(()=>{Je.current&&(clearTimeout(Je.current),Je.current=null),G("idle")},[]),bt=s.useCallback(async(ee,pe=3,De=50,$e=0)=>{yo();const Ve=xe.generation(),Ze=!!ee&&ee.currentTime>0&&!ee.ended,St=Math.max(0,Be.current-Math.max(0,$e));if(St>0&&!Ze){fe("audio"),Ae(),R("playing");const _t=jt.current;if(_t?.enabled&&(_t.volume??0)>0)try{pt(_t.volume)}catch{}if(!await xe.waitPad(St,"lead",$e)||!ve.current||!xe.isCurrent(Ve))return!1}xe.enterSound();for(let _t=0;_t<pe;_t++){if(!ve.current||!xe.isCurrent(Ve))return!1;try{return fe("audio"),await ee.play(),!0}catch(ye){if((ye instanceof Error||typeof ye=="object"&&ye&&"name"in ye?ye.name:void 0)==="AbortError"){if(!xe.isCurrent(Ve))return!1;await new Promise($=>setTimeout($,De));continue}try{q(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1}}try{q(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}return!1},[d,Ae,xe,pt,jt,yo]),Ke=s.useCallback(ee=>{const pe=xe.generation(),De=Math.max(0,Ee.current-Math.max(0,ee));Ae();const $e=jt.current;if($e?.enabled&&($e.volume??0)>0)try{pt($e.volume)}catch{}const Ve=()=>{try{Ie.current?.()}catch{}};if(De<=0){xe.leave(),Ve();return}xe.waitPad(De,"tail",ee).then(Ze=>{xe.leave(),Ze&&xe.isCurrent(pe)&&Ve()}).catch(()=>{})},[xe,Ae,pt,jt]),Bt=s.useCallback(()=>{const ee=x.current;if(!ee)return;const pe=()=>{R("playing"),K("playMode"),U(!0),Ae();try{Bn(),Tr(ee).then(Ze=>{if(ve.current)try{C.current?.("main",Ze)}catch{}})}catch{}const Ve=jt.current;Ve?.enabled&&(Ve?.volume??0)>0&&pt(Ve.volume)},De=()=>{uN({ended:!!ee?.ended,completedByEnd:nt.current})||(R("paused"),Ne(),je())},$e=()=>{const Ve=()=>{try{const Ze=O.current,St=cN(Ze,he.current);if(St!==null){he.current=St,P(St),U(!0);const _t=Ze?.[St]&&Ze[St].src;if(_t&&ee){ht(ee,_t),bt(ee).catch(()=>{});return}}}catch{}R("stopped"),F(1);try{if(ee)try{ee.currentTime=0}catch{}}catch{}Ne(),U(!1),je();try{!rt.current&&mt.current&&mt.current()}catch{}};if(Ie.current=Ve,Ee.current>0){Ae(),xe.waitPad(Ee.current,"tail").then(Ze=>{xe.leave(),Ze&&Ve()}).catch(()=>{});return}Ve()};return ee.addEventListener("play",pe),ee.addEventListener("pause",De),ee.addEventListener("ended",$e),()=>{try{ee.removeEventListener("play",pe),ee.removeEventListener("pause",De),ee.removeEventListener("ended",$e),Ne()}catch{}}},[pt,je,bt,jt,Ae,Ne,xe]);s.useEffect(()=>Bt(),[Bt]),s.useEffect(()=>{rt.current=n},[n]),s.useEffect(()=>{Le.current=r},[r]),s.useEffect(()=>{if(n||W!=="active")return;const ee=S.current;if(!ee)return;let pe=null;const De=requestAnimationFrame(()=>{try{const $e=ee.getTotalLength();if(!$e)return;const Ve=$e*.2;ee.style.strokeDasharray=`${$e-Ve} ${Ve}`;const Ze="triFlow_"+Math.random().toString(36).slice(2);pe=document.createElement("style"),pe.textContent=`@keyframes ${Ze}{from{stroke-dashoffset:0}to{stroke-dashoffset:-${$e}}}`,document.head.appendChild(pe),ee.style.animation=`${Ze} 2.4s linear infinite`}catch{}});return()=>{cancelAnimationFrame(De),pe?.remove()}},[W,n]),s.useEffect(()=>{O.current=z},[z]),s.useEffect(()=>{he.current=M},[M]),s.useEffect(()=>{const ee=g.current,pe=v.current;if(!ee||!pe)return;let De=null;const $e=32,Ve=60,Ze=()=>{try{const _t=Array.from(ee.querySelectorAll(":scope > .button"));let ye=0;_t.forEach(Ue=>{if(Ue===pe)return;const at=Ue.getBoundingClientRect();ye+=at.width});const $=ee.getBoundingClientRect().width,te=Math.max(0,Math.floor($-ye-8)),_e=kt;if(!_e||te<=0){Array.from(pe.children).forEach(Ue=>{try{Ue.style.width=""}catch{}});return}let Pe=Math.floor(te/_e);Pe>Ve&&(Pe=Ve),Pe<$e&&(Pe=Math.max($e,Math.floor(te/_e))),Array.from(pe.querySelectorAll(".button")).forEach(Ue=>{try{Ue.style.width=`${Pe}px`}catch{}})}catch{}},St=requestAnimationFrame(Ze);try{De=new ResizeObserver(()=>{requestAnimationFrame(Ze)}),De.observe(ee),De.observe(pe),window.addEventListener("resize",Ze)}catch{}return()=>{try{cancelAnimationFrame(St)}catch{}try{De&&(De.disconnect(),De=null)}catch{}try{window.removeEventListener("resize",Ze)}catch{}}},[z,Z,kt]),s.useEffect(()=>()=>{try{qe.current&&(clearTimeout(qe.current),qe.current=null),Je.current&&(clearTimeout(Je.current),Je.current=null)}catch{}},[]);const Mt=(ee,pe)=>{X(ee),re(pe),Oe(),J(dN(ee)),O.current=ee},ae=()=>{K("playMode"),P(0),U(!0)},Ce=async(ee,pe)=>{At(!1),w.current=!1,ht(ee,pe),await SC(ee),await ut()!==!1&&(j(!1),ae(),await bt(ee))},Ye=async(ee,pe=!1)=>{const De=x.current;j(!0),L("measuring_duration");try{const $e=await zh(ee,{timeoutMs:1e4,rejectOnError:!0});Mt([{src:ee,objectUrl:null,duration:$e}],$e),L("ready"),pe&&De&&await Ce(De,ee)}finally{w.current=!1,j(!1)}},Xe=async(ee,pe=!1)=>{const De=x.current;j(!0),L("measuring_duration");try{const $e=await Promise.all(ee.map(Ze=>zh(Ze,{timeoutMs:1e4})));if(!ve.current)return;const Ve=ee.map((Ze,St)=>({src:Ze,objectUrl:null,duration:$e[St]||0}));Mt(Ve,pN(Ve)),L("ready"),pe&&De&&Ve.length>0&&await Ce(De,Ve[0].src)}finally{w.current=!1,j(!1)}},it=async(ee=!1,pe=!0)=>{const De=x.current,$e=t?Array.isArray(t)?t:[t]:[];if(!$e||$e.length===0||!$e.some(Boolean))return!1;if(w.current)return null;w.current=!0,pe&&j(!0),L("resolving");try{const Ve=hN(t,o,ki),Ze=[];let St=0;for(const _t of Ve){let ye=_t.src??null,$=null;if(!ye&&_t.resolvedPath){try{L("getting_signed_url"),ye=await wn(_t.resolvedPath)}catch{ye=null}if(!ve.current)return!1;if(!ye)try{L("downloading");const _e=await Bi(_t.resolvedPath);if(!ve.current)return!1;if(_e){const Pe=_e instanceof Blob?_e:new Blob([_e]);$=_.track(URL.createObjectURL(Pe)),ye=$}}catch{L("error");try{q(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.")),K("active")}catch{}}}if(!ye)continue;let te=0;try{L("measuring_duration"),te=await zh(ye,{timeoutMs:3e3})}catch{te=0}if(!ve.current){if($)try{URL.revokeObjectURL($)}catch{}for(const _e of Ze)if(_e.objectUrl)try{URL.revokeObjectURL(_e.objectUrl)}catch{}return!1}St+=te||0,Ze.push({..._t,src:ye,objectUrl:$,duration:te})}if(Mt(Ze,St),Ze.length>0&&ee&&De){const _t=Ze[0];At(!1);try{_.keepOnly(Ze.map(ye=>ye.objectUrl))}catch{}if(L("ready"),w.current=!1,_t.src&&De)try{if(ht(De,_t.src),await SC(De),await ut()===!1)return!1;pe&&j(!1),ae(),De&&await bt(De)}catch{pe&&j(!1)}else pe&&j(!1);K("playMode"),P(0),U(!0)}return Ze.length>0}finally{w.current=!1,pe&&j(!1),L(Ve=>Ve==="ready"?"ready":"idle")}},gt=async ee=>{const pe=xe.isRunning();if(ee.paused&&!pe){if(nt.current){await Vt();return}const De=xe.resume();if(De){if(R("playing"),De.phase==="tail"){Ke(De.elapsed);return}await bt(ee,3,50,De.elapsed);return}await bt(ee),R("playing")}else xe.pause(),Lt(),ee.pause(),R("paused"),pe&&(Ne(),je())},zt=async()=>{const ee=x.current;if(!(!ee&&!Gt)){if(Gt){const pe=window.speechSynthesis;if(W==="active"){const De=Ja(),$e=Array.isArray(i)?i.filter(Boolean):i?[i]:[];if(De&&$e.length>0){if(w.current)return;K("load"),j(!0),L("synthesizing"),w.current=!0;try{const Ve=await Promise.all($e.map(Ze=>Promise.resolve(De(Ze))));Ve.length>1?await Xe(Ve,!0):await Ye(Ve[0],!0)}catch{w.current=!1,j(!1),K("active"),vt($e.length>0?$e:void 0)}return}vt($e.length>0?$e:void 0);return}if(W==="playMode"){const De=!!pe&&(pe.speaking||pe.paused)&&!(ee&&(ee.currentSrc||ee.getAttribute("src")));if(ee&&!De){await gt(ee);return}try{if(pe&&pe.paused)try{fe("tts"),pe.resume(),R("playing")}catch{}else try{pe.pause(),R("paused")}catch{}}catch{}}return}if(W==="active"){if(n&&Array.isArray(O.current)&&O.current.length>0){const De=O.current[0];try{if(De.src&&ee)try{ht(ee,De.src),ae(),ee&&await bt(ee)}catch{}ae();return}catch{}}K("load");let pe;try{pe=await it(!0)}catch{pe=!1}if(pe===!1&&ve.current){try{q(d("training.audioFetchError","\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."))}catch{}K("active")}return}if(W!=="load"&&(W==="playMode"||W==="active"))try{ee&&await gt(ee)}catch(pe){(pe instanceof Error||typeof pe=="object"&&pe&&"name"in pe)&&pe.name}}},Vt=async()=>{const ee=x.current;if(ee)try{const pe=O.current;if(Array.isArray(pe)&&pe.length>1){await Do(0);return}At(!1);try{ee.currentTime=0}catch{}ee&&await bt(ee),R("playing"),K("playMode")}catch{}},Qo=()=>{Lt(),Re(),Ht.current?.();const ee=x.current;try{if(ee){try{ee.pause()}catch{}try{ee.currentTime=0}catch{}}}catch{}je(),R("stopped"),K("active"),F(0),U(!1)},no=async(ee,{sameSegment:pe=!1}={})=>{Lt();const De=xe.generation(),$e=x.current,Ve=O.current?.[ee]?.src;try{if(At(!1),P(ee),U(!0),he.current=ee,!Ve||!$e||(pe||Oe(),ht($e,Ve),!pe&&await ut()===!1)||!xe.isCurrent(De)||(await bt($e),!xe.isCurrent(De)))return;R("playing"),K("playMode")}catch{}},ea=async()=>{const ee=O.current,pe=he.current||0;if(!ee||pe<=0){await Vt();return}await no(pe-1)},wo=async()=>{const ee=O.current,pe=he.current||0;if(!ee||pe>=ee.length-1){Qo();return}await no(pe+1)},io=()=>{if(nt.current)return;const ee=200,pe=340;At(!0),Lt(),Re();try{F(1)}catch{}We(1);try{G("hold")}catch{}try{const De=x.current,$e=Gt&&!!De?.src;if(!Gt||$e){if(De){De.pause();try{De.currentTime=0}catch{}}}else ft();je()}catch{}try{R("stopped")}catch{}if(U(!1),!rt.current)try{Je.current&&(clearTimeout(Je.current),Je.current=null),Je.current=setTimeout(()=>{try{G("out")}catch{}Je.current=setTimeout(()=>{try{typeof Le.current=="function"&&Le.current(!0)}catch{}try{G("idle")}catch{}Je.current=null},pe)},ee)}catch{}};s.useEffect(()=>{mt.current=io});const uo=s.useCallback(()=>q(""),[]),Do=async ee=>{(O.current||[])[ee]&&await no(ee,{sameSegment:ee===he.current})},po=I==="playing",Ft=s.useMemo(()=>{if(!Z||Z.length<=1)return Z;const ee=Z[M];return ee?[ee]:Z},[Z,M]),$t=n===!0;s.useEffect(()=>{try{const ee=x.current;ee&&typeof ee.playbackRate=="number"&&Ge(ee)}catch{}},[Q,Ge]);const Jt=s.useRef({raf:null,timer:null});s.useEffect(()=>{const ee=x.current;if(!ee)return;const pe=Math.max(0,Math.min(1,ue)),De=Jt.current,$e=()=>{De.raf!==null&&(cancelAnimationFrame(De.raf),De.raf=null),De.timer!==null&&(clearTimeout(De.timer),De.timer=null)};$e();const Ve=Lr(ee);if(ee.paused||Math.abs(Ve-pe)<.001||typeof requestAnimationFrame!="function"){try{aa(ee,pe)}catch{}return}const Ze=performance.now(),St=()=>{const _t=Math.min(1,(performance.now()-Ze)/150);try{aa(ee,Ve+(pe-Ve)*_t)}catch{}De.raf=_t<1?requestAnimationFrame(St):null};return De.raf=requestAnimationFrame(St),De.timer=setTimeout(()=>{$e();try{aa(ee,pe)}catch{}},200),$e},[ue]);const Ut=oe==="hold",ta=oe==="out",oa=W==="playMode"&&!A&&!dt||Ut||ta,fa=I!=="stopped"||Ut||ta,be=I==="paused",Te=Math.max(0,Math.min(100,(T||0)*100)),He=ke("audio-player__fill",oa?"is-visible":"",fa?"is-expanded":"",be?"is-paused":"",ta?"is-out":"");return a.jsxs("div",{className:`audio-player ${$t?"is-disabled":""}${l?` ${l}`:""}`,role:"group","aria-label":typeof m=="string"?m:void 0,children:[a.jsxs("div",{className:`audio-player__panel ${po?"is-playing":""} ${A?"is-loading":""} ${W!=="default"?"is-revealed":""}`,children:[A?a.jsxs("div",{className:"audio-player__loading",role:AC[D]?"status":void 0,"aria-live":AC[D]?"polite":"off",children:[a.jsx("span",{className:"audio-player__loading-spinner","aria-hidden":"true"}),a.jsx("span",{className:"audio-player__loading-text",children:d("training.audioStatus.preparing",{defaultValue:"\uC18C\uB9AC\uB97C \uC900\uBE44\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026"})})]}):null,W==="active"?a.jsx("button",{className:"audio-player__button",type:"button",disabled:$t,onClick:()=>{Y.current=as(),E(),zt()},"aria-label":typeof m=="string"?m:d("training.listen","\uB4E3\uAE30"),onMouseEnter:B,onMouseLeave:E,onFocus:B,onBlur:E,children:a.jsx("span",{ref:y,className:"audio-player__button-triangle-wrap",children:a.jsx("svg",{className:"audio-player__button-triangle",viewBox:"0 0 24 24","aria-hidden":"true",children:a.jsx("path",{ref:S,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&&a.jsx(Xo,{anchorRect:k,text:typeof m=="string"&&m?m:d("training.listenLabel","\uBB38\uC7A5 \uB4E3\uAE30"),offset:8}),a.jsxs("div",{className:`audio-player__play ${W==="playMode"||po?"is-visible":""}`,inert:!(W==="playMode"||po)||void 0,children:[a.jsxs("div",{ref:g,className:"audio-player__buttons",children:[a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-back",onClick:ea,ariaLabel:d("training.prev","\uC774\uC804"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:W!=="playMode"}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:po?"pause":"play",onClick:zt,ariaLabel:d("common.playPause","\uC7AC\uC0DD / \uBA48\uCDA4"),"aria-pressed":po,width:"60px",variant:"transparent-white",disabled:W!=="playMode"}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"square",onClick:Qo,ariaLabel:d("training.stop","\uC815\uC9C0"),width:"60px",variant:"transparent-white","aria-hidden":"true",tabIndex:-1,disabled:W!=="playMode"}),kt>1?a.jsx("div",{ref:v,className:"audio-player__source-buttons",children:Array.from({length:kt}).map((ee,pe)=>a.jsx(ge,{htmlType:"button",size:32,type:"dot",shape:"pill",useBorder:!1,label:String(pe+1),onClick:()=>{try{Do(pe)}catch{}},ariaLabel:d("training.sourcePlay",{n:pe+1}),variant:"transparent-white",selected:N&&M===pe,disabled:W!=="playMode"||!(Array.isArray(z)&&z[pe]),showTooltipInfo:!0},pe))}):null,!Array.isArray(z)||z.length<=1?a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"repeat",onClick:Vt,ariaLabel:d("common.replay","\uB2E4\uC2DC\uB4E3\uAE30"),width:"60px",variant:"transparent-white",disabled:W!=="playMode"}):null,a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"skip-forward",onClick:wo,ariaLabel:d("training.next","\uB2E4\uC74C"),width:"60px",variant:"transparent-white","aria-hidden":!0,tabIndex:-1,disabled:W!=="playMode"}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",shape:"pill",useBorder:!1,icon:"check",onClick:io,ariaLabel:d("common.done","\uC644\uB8CC"),width:"60px",variant:"transparent-white",disabled:W!=="playMode"})]}),a.jsxs("div",{className:"audio-player__slider",children:[a.jsx("div",{className:He,ref:f,style:{left:`${Te}%`},"aria-hidden":"true"}),(c||u)&&a.jsx(gN,{segments:Ft,progress:T,totalDuration:ne,waveProgressRef:me,showSoundWaveForm:c,leadInMs:p,tailMs:h,trackDurationSec:z?.[M]?.duration??0,noiseSrc:u&&b?.settings.enabled&&Se>0?ao:null,noiseRatio:b?dn(b.settings):0,noiseSpeed:b?.settings.speed??1,mainVolume:ce,onReadyChange:st})]})]}),a.jsx("audio",{ref:x,crossOrigin:"anonymous",preload:"auto"})]}),!c&&a.jsxs("p",{className:"audio-player__no-waveform caption-1",children:[a.jsx(lt,{icon:"triangle-alert",size:14}),d("training.noSoundWaveform","\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")]}),a.jsx(_r,{message:V,position:ie,onClose:uo})]})}var BN=".ihabdevteam-core-scope .text-box-tooltip{background:var(--color-deepWhite);border:1px solid var(--color-darkWhite);border-radius:var(--radius-m);box-sizing:border-box;max-width:520px;padding:var(--spacing-content)}.ihabdevteam-core-scope .text-box-tooltip__root{display:flex;flex-direction:column;gap:var(--spacing-xs)}.ihabdevteam-core-scope .text-box-tooltip__box{background:transparent}.ihabdevteam-core-scope .text-box-tooltip__label{color:var(--color-darkGray)}.ihabdevteam-core-scope .text-box-tooltip__text{color:var(--color-darkGray);overflow-wrap:anywhere;white-space:normal;word-break:keep-all}.ihabdevteam-core-scope .text-box-tooltip__line{align-items:center;display:flex;gap:var(--spacing-s);margin-bottom:0;min-height:60px;padding:10px 0}.ihabdevteam-core-scope .text-box-tooltip__line:last-child{margin-bottom:0}.ihabdevteam-core-scope .text-box-tooltip__line:not(:last-child){border-bottom:1px solid var(--color-darkWhite)}.ihabdevteam-core-scope .text-box-tooltip.is-dark .text-box-tooltip__line:not(:last-child){border-bottom-color:hsla(0,0%,100%,.06)}.ihabdevteam-core-scope .text-box-tooltip__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;color:var(--color-on-brand-fill,#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 .text-box-tooltip__marker{background:color-mix(in srgb,var(--color-main) calc(100% - var(--marker-pos)),var(--color-sub) var(--marker-pos))}}.ihabdevteam-core-scope .text-box-tooltip__line-number{color:#fff;min-width:auto;text-align:center}.ihabdevteam-core-scope .text-box-tooltip__line-text{flex:1 1 auto}.ihabdevteam-core-scope .text-box-tooltip__buttons{align-items:center;display:flex;gap:var(--spacing-xs);justify-content:center;margin-top:10px;position:relative}.ihabdevteam-core-scope .text-box-tooltip.is-dark{background:var(--color-darkGray);border-color:var(--color-gray)}.ihabdevteam-core-scope .text-box-tooltip.is-dark .text-box-tooltip__text{color:var(--color-deepWhite)}";se(BN);function pn(e){const{t}=we.useTranslation(),{text:o,label:r,anchorRect:n=null,onClose:i,closeOnOutsideClick:l=!0,isMobilePopup:c=!1}=e||{},[u,p]=s.useState(()=>{try{return localStorage.getItem("tooltip-theme")||"light"}catch{return"light"}});s.useEffect(()=>{try{localStorage.setItem("tooltip-theme",u)}catch{}},[u]);const{increase:h,decrease:d,canIncrease:m,canDecrease:b,fontSize:C,lineHeight:x}=kl({storageKey:"tooltip-fontScale"}),f=s.useCallback(()=>p(S=>S==="dark"?"light":"dark"),[]),g=s.useCallback(S=>{try{S.stopPropagation()}catch{}try{typeof i=="function"&&i()}catch{}},[i]),_=Array.isArray(o)?o:typeof o>"u"||o===null?[]:[o],v={fontSize:`${C}px`,lineHeight:`${x}px`,"--tt-line-height":`${x}px`,"--tt-marker-size":"28px"},w=a.jsxs("div",{className:de(`text-box-tooltip__root ${u==="dark"?"is-dark":""}`),children:[a.jsxs("div",{className:de("text-box-tooltip__box"),children:[r&&a.jsx("div",{className:de("text-box-tooltip__label body-2b"),children:r}),a.jsx("div",{className:de("text-box-tooltip__text body-1"),style:v,children:_.map((S,y)=>a.jsxs("div",{className:de("text-box-tooltip__line"),children:[_.length>1?a.jsx("div",{className:de("text-box-tooltip__marker"),children:a.jsx("span",{className:de("text-box-tooltip__line-number button-1"),children:y+1})}):null,a.jsx("span",{className:de("text-box-tooltip__line-text"),children:S})]},y))})]}),a.jsxs("div",{className:de("text-box-tooltip__buttons"),children:[a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"minus",onClick:d,ariaLabel:t("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),variant:u==="dark"?"transparent-white":"transparent-gray",disabled:!b}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"plus",onClick:h,ariaLabel:t("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),variant:u==="dark"?"transparent-white":"transparent-gray",disabled:!m}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:u==="dark"?"moon":"sun-medium",onClick:f,ariaLabel:t("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:u==="dark"?"transparent-white":"transparent-gray"}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:"x",onClick:g,ariaLabel:t("common.close","\uB2EB\uAE30"),variant:u==="dark"?"transparent-white":"transparent-gray"})]})]});return n?a.jsx(fo,{anchorRect:n,className:de(`text-box-tooltip ${u==="dark"?"is-dark":""}`),onClose:i,closeOnOutsideClick:l,isMobilePopup:c,ariaLabel:r||t("tooltip.textbox","\uBCF8\uBB38"),children:w}):a.jsx("div",{className:de(`text-box-tooltip ${u==="dark"?"is-dark":""}`),children:w})}var AN=".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;box-sizing:border-box;display:flex;flex-direction:column;gap:2px;height:56px;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__locked-hint{color:var(--color-gray);margin:0}.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}";se(AN);var SN='.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}}@media (forced-colors:active){.ihabdevteam-core-scope .bullet__dot{forced-color-adjust:none}.ihabdevteam-core-scope .ts-bullet--active .bullet__dot{background-color:Highlight;border-color:Highlight}.ihabdevteam-core-scope .ts-bullet--active .bullet__icon{color:HighlightText}.ihabdevteam-core-scope .ts-bullet--active .bullet__dot:after,.ihabdevteam-core-scope .ts-bullet--active .bullet__dot:before{display:none}.ihabdevteam-core-scope .ts-bullet--done .bullet__dot{border:3px solid CanvasText}.ihabdevteam-core-scope .ts-bullet--disabled .bullet__dot{border-color:GrayText}.ihabdevteam-core-scope .ts-bullet__line{background:GrayText;forced-color-adjust:none}.ihabdevteam-core-scope .ts-bullet--done .ts-bullet__line{background:CanvasText}}';se(SN);function Ih({state:e="disabled"}){const{t}=we.useTranslation();return a.jsxs("div",{className:`ts-bullet ts-bullet--${e}`,"aria-hidden":!0,children:[a.jsx("div",{className:"bullet__dot",children:a.jsx(lt,{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})}),a.jsx("div",{className:"ts-bullet__line"})]})}function DC(e,t,o){const r=s.useRef(t),n=s.useRef(o);s.useEffect(()=>{r.current=t,n.current=o}),s.useEffect(()=>{if(!e||typeof document>"u")return;let i=null,l=10;const c=()=>{i=null;const u=r.current(),p=u?Array.from(u.querySelectorAll(Ko)).find(h=>!h.closest('[aria-hidden="true"]')):void 0;if(p){try{p.focus()}catch{}if(document.activeElement===p)return}--l>0&&(i=requestAnimationFrame(c))};return i=requestAnimationFrame(c),()=>{i!==null&&cancelAnimationFrame(i);const u=document.activeElement;if(!u||u===document.body||!document.contains(u)||u.closest(".tooltip__content")){const p=n.current();if(p)try{p.focus()}catch{}}}},[e])}var EN=".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)}";se(EN);function Oh({title:e,children:t,className:o="",state:r="disabled",usePreviewTextBtn:n=!1,onPreviewTextBtn:i,previewText:l=null,useFaded:c,usePlayAllBtn:u=!1,onPlayAll:p,playAllActive:h=!1}){const{t:d}=we.useTranslation(),m=Ao("(max-width: 767px)"),b=`training-step__title h4 ${c&&r==="disabled"?"training-step__title--faded":""} ${o}`.trim(),C=`training-step__title-row training-step__title-row--${r}`.trim(),x=s.useRef(null),[f,g]=s.useState(!1),[_,v]=s.useState(null),[w,S]=s.useState(null);DC(f&&!!_,()=>{if(typeof document>"u")return null;const A=Array.from(document.querySelectorAll(".tooltip__content"));for(let j=A.length-1;j>=0;j--)if(A[j].querySelector(".text-box-tooltip__root"))return A[j];return null},()=>x.current?.querySelector("button")??null);const y=s.useRef(i);s.useEffect(()=>{y.current=i});const k=s.useMemo(()=>l==null?"":typeof l=="string"||typeof l=="number"?String(l):Array.isArray(l)&&l.every(A=>typeof A=="string"||typeof A=="number")?l.join(""):"",[l]),B=s.useCallback(()=>{g(!1),v(null),S(null)},[]);s.useEffect(()=>{if(!f)return;let A;try{typeof y.current=="function"&&(A=y.current())}catch{}if(A===!1){B();return}S(typeof A<"u"&&A!==null?A:null)},[k]);const E=s.useCallback(()=>{let A;try{typeof i=="function"&&(A=i())}catch{}if(A!==!1){if(S(typeof A<"u"&&A!==null?A:l),!x.current){g(j=>!j);return}if(f)g(!1),v(null),S(null);else{const j=x.current.getBoundingClientRect();v(j),g(!0)}}},[i,l,f]);return a.jsxs("div",{className:C,children:[a.jsx("p",{className:b,children:a.jsx("span",{className:"training-step__title-text",children:e??t})}),n||u?a.jsxs("div",{className:"title-controls",children:[a.jsxs("div",{className:"title-buttons",children:[u&&a.jsx(ge,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"play-circle",label:m?void 0:d("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),ariaLabel:d("training.playAll","\uBAA8\uB450 \uB4E3\uAE30"),selected:h,onClick:p,variant:r==="disabled"?"disabled":"default",disabled:r==="disabled"||h,onDisabledClick:h&&r!=="disabled"?()=>{}:void 0}),n&&a.jsx("div",{ref:x,children:a.jsx(ge,{htmlType:"button",size:32,type:m?"dot":"bar",icon:"eye",label:m?void 0:d("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),ariaLabel:d("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),onClick:E,className:f?"is-selected":void 0,"aria-expanded":f,"aria-haspopup":"dialog",variant:r==="disabled"?"disabled":"default",disabled:!l&&typeof i!="function"})})]}),f&&a.jsx(pn,{text:w??l,label:d("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),anchorRect:_,onClose:B,closeOnOutsideClick:!1,isMobilePopup:!0})]}):null]})}function Fh(e,t){return typeof t!="number"||typeof e!="number"?"disabled":e<t?"done":e===t?"active":"disabled"}function Ya({index:e,stepIndex:t,isLast:o=!1,title:r="",titleProps:n={},children:i,className:l="",onDone:c=void 0,useTitleFaded:u=void 0,lockedHint:p}){const{t:h}=we.useTranslation(),[d,m]=s.useState(()=>Fh(e,t));s.useEffect(()=>{const y=Fh(e,t);if(y!==d){const k=setTimeout(()=>m(y),0);return()=>clearTimeout(k)}},[e,t,d]);const b=s.useCallback((...y)=>{Fh(e,t)==="done"||d==="done"||typeof c=="function"&&c(...y)},[e,t,d,c]),[C,x]=s.useState(!1),[f,g]=s.useState({text:"",label:"\uBB38\uC7A5 \uB4E3\uAE30",anchorRect:null,backdrop:!1,alignX:null,alignY:null}),_=s.useCallback(y=>{if(!y)return null;try{const k=y;if(typeof y=="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(y instanceof DOMRect)return y;const B=y;if(B&&typeof B.getBoundingClientRect=="function")return B.getBoundingClientRect();const E=y?.current;return E&&typeof E.getBoundingClientRect=="function"?E.getBoundingClientRect():null}catch{return null}},[]),v=s.useCallback((y,{text:k="",label:B="\uBB38\uC7A5 \uB4E3\uAE30",backdrop:E=!1,alignX:A="center",alignY:j="top"}={})=>{const D=_(y);g({text:k,label:B,anchorRect:D,backdrop:E,alignX:A,alignY:j}),x(!0)},[_]),w=s.useCallback(()=>{x(!1),g(y=>({...y,anchorRect:null}))},[]),S=s.Children.map(i,y=>{if(s.isValidElement(y)){const k=y;if(typeof k.type=="string")return k;const B=k.props??{},E=typeof B.onDone=="function"?B.onDone:b,A=typeof B.disabled=="boolean";let j=d==="disabled";return A&&(j=!!B.disabled),s.cloneElement(k,{onDone:E,disabled:j,showTooltip:v,hideTooltip:w})}return y});return a.jsxs("div",{className:`training-step training-step--${d} ${o?"training-step--last":""} ${l}`,"aria-current":d==="active",children:[a.jsx(Ih,{state:d}),a.jsxs("div",{className:"training-step__content",children:[a.jsx(Oh,{state:d,title:r,...n,useFaded:u}),d==="disabled"&&p&&typeof e=="number"&&typeof t=="number"&&e===t+1&&a.jsx("p",{className:"training-step__locked-hint caption-1",role:"status",children:p}),S]}),C?a.jsx(fo,{anchorRect:f.anchorRect,backdrop:f.backdrop,onClose:w,ariaLabel:h("tooltip.textbox","\uBCF8\uBB38"),children:a.jsx(pn,{text:f.text,onClose:w})}):null]})}var DN='.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 .text-box-tooltip__text,.ihabdevteam-core-scope .training-text-box.is-dark .training-text-box__inner{color:var(--color-deepWhite)}';se(DN);function Wh({context:e,state:t="disabled",theme:o="light"}){const{t:r}=we.useTranslation(),[n,i]=s.useState("disabled"),[l,c]=s.useState(()=>{try{return localStorage.getItem("tooltip-theme")||o}catch{return o}});s.useEffect(()=>{try{localStorage.setItem("tooltip-theme",l)}catch{}},[l]);const u=()=>c(L=>L==="dark"?"light":"dark"),{increase:p,decrease:h,canIncrease:d,canDecrease:m,fontSize:b,lineHeight:C}=kl({storageKey:"textbox_fontScale"}),[x,f]=s.useState(""),g=s.useRef(null),_=s.useRef(!1),v=s.useCallback(()=>{_.current=as()&&!!g.current&&g.current.contains(document.activeElement),i("active")},[]),w=s.useCallback(()=>f(""),[]),S=L=>{try{f(L)}catch{}},y=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent||"");s.useEffect(()=>{if(t!=="disabled"){const L=setTimeout(()=>i(t),0);return()=>clearTimeout(L)}},[t]);const k=s.useMemo(()=>e&&typeof e=="object"?String(e.sentence??e.text??""):typeof e=="string"?e:"",[e]),[B,E]=s.useState(k);B!==k&&(E(k),i("disabled"));const A=t==="disabled"?n:t,j=A==="disabled"?"training-text-box--disabled":A==="active"?"training-text-box--active":A==="done"?"training-text-box--done":"",D=s.useMemo(()=>({fontSize:`${b}px`,lineHeight:`${C}px`}),[b,C]);return s.useEffect(()=>{if(A==="disabled"||!_.current)return;_.current=!1;const L=document.activeElement;L&&L!==document.body||g.current?.querySelector(".training-text-box__buttons button")?.focus()},[A]),a.jsxs("div",{ref:g,className:`training-text-box ${j} ${A!=="disabled"&&l==="dark"?"is-dark":""}`,children:[A==="disabled"&&a.jsx("div",{className:"training-text-box__preview",children:a.jsx(ge,{htmlType:"button",size:48,type:"bar",onClick:v,icon:"eye",ariaLabel:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),label:r("training.sentencePreview","\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30"),useBorder:!1})}),a.jsx("div",{className:"training-text-box__area","aria-hidden":A==="disabled",children:a.jsx("span",{className:"training-text-box__inner h3",style:D,children:k})}),A!=="disabled"&&a.jsxs("div",{className:"training-text-box__buttons","aria-hidden":A==="disabled",children:[a.jsx(ge,{htmlType:"button",size:32,type:"dot",onClick:h,onDisabledClick:()=>S(r("training.fontSizeMin","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeDecrease","\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C"),icon:"minus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!m,useBorder:!1,showTooltipInfo:!0,...!y&&{width:"60px"}}),a.jsx(ge,{htmlType:"button",size:32,type:"dot",onClick:p,onDisabledClick:()=>S(r("training.fontSizeMax","\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.")),ariaLabel:r("training.fontSizeIncrease","\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00"),icon:"plus",variant:l==="dark"?"transparent-white":"transparent-gray",disabled:!d,useBorder:!1,showTooltipInfo:!0,...!y&&{width:"60px"}}),a.jsx(ge,{htmlType:"button",size:32,showTooltipInfo:!0,type:"dot",useBorder:!1,width:48,icon:l==="dark"?"moon":"sun-medium",onClick:u,ariaLabel:r("training.toggleBackground","\uBC30\uACBD \uC804\uD658"),variant:l==="dark"?"transparent-white":"transparent-gray"})]}),a.jsx(_r,{message:x,position:"top",onClose:w})]})}function Br(e){return e==="active"||e==="done"}function gs({index:e,stepIndex:t,isLast:o=!1,lockedHint:r,title:n,useTitleFaded:i,onDone:l,onChange:c,answer:u,wrongAnswers:p,choices:h,multiSelect:d=!1,correctCount:m=0,useDisabledCovered:b=!1,choiceIcons:C,shuffleChoices:x=!0}){const{t:f}=we.useTranslation(),g=n??f("training.selectConfirm","\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694."),_=typeof e=="number"?e:-1,v=typeof t!="number"?"disabled":_<t?"done":_===t?"active":"disabled",w=Array.isArray(h)&&h.length?h:typeof u<"u"?[u].concat(Array.isArray(p)?p:[]):void 0,S=p?p.join("||"):"",y=h?h.join("||"):"",[k,B]=s.useState(()=>Array.isArray(w)?x?xt(w):w.slice():void 0);s.useEffect(()=>{Array.isArray(w)&&w.length?B(x?xt(w):w.slice()):B(void 0)},[u,S,y,x]);const[E,A]=s.useState(null),[j,D]=s.useState(()=>new Set);s.useEffect(()=>{A(null),D(new Set)},[y,u,S]);const L=s.useRef(void 0);s.useEffect(()=>{const H=L.current;typeof H=="number"&&typeof t=="number"&&typeof e=="number"&&H>=e&&t<e&&(A(null),D(new Set)),L.current=t},[t,e]);const I=s.useCallback(H=>{if(!Br(v))return;const T=k?.[H];if(T==null)return;const F=T;if(d){const W=new Set(j);W.has(F)?W.delete(F):W.add(F),D(W),typeof c=="function"&&c({selectedValues:[...W],__ts:Date.now()}),typeof l=="function"&&l({selectedValues:[...W],__ts:Date.now()})}else A(F),typeof c=="function"&&c({selectedIndex:H,selectedValue:F,__ts:Date.now()}),typeof l=="function"&&l({selectedIndex:H,selectedValue:F,__ts:Date.now()})},[k,v,d,c,j]),R=`training-step__buttons${Array.isArray(k)&&k.length>3?" training-step__buttons--wrap-3":""}`;return a.jsx(Ya,{index:e,stepIndex:t,isLast:o,lockedHint:r,title:g,useTitleFaded:i,children:a.jsx("div",{className:R,children:Array.isArray(k)&&k.length>0?k.map((H,T)=>a.jsx(ge,{htmlType:"button",size:56,type:"bar",onClick:()=>I(T),ariaLabel:String(H),label:H,useLabel:!0,icon:C?C[String(H)]:void 0,variant:"default",disabled:v==="disabled",selected:d?j.has(H):E===H,useDisabledCovered:b,minWidth:0},String(H))):null})})}function fs({index:e,stepIndex:t,isLast:o=!1,lockedHint:r,title:n,onDone:i,onChange:l,context:c,demoSelected:u}){const{t:p}=we.useTranslation(),h=n??p("training.confirmTitle","\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694."),d=typeof e=="number"?e:-1,m=typeof t!="number"?"disabled":d<t?"done":d===t?"active":"disabled",b=c&&typeof c=="object"?c.sentence||"":typeof c=="string"?c:"",C=c&&typeof c=="object"?c.choices:void 0,[x,f]=s.useState(u??null),g=`${String(b)}\0${JSON.stringify(C??null)}`,[_,v]=s.useState(g);_!==g&&(v(g),u==null&&f(null));const[w,S]=s.useState(u);Object.is(w,u)||(S(u),f(u??null));const y=s.useRef(void 0);s.useEffect(()=>{const A=y.current;typeof A=="number"&&typeof t=="number"&&typeof e=="number"&&A>=e&&t<e&&u==null&&f(null),y.current=t},[t,e,u]);const k=s.useCallback(A=>{const j=typeof A=="object"&&A!==null?Object.assign({},A,{__ts:Date.now()}):{value:A,__ts:Date.now()};typeof l=="function"&&l(j),Br(m)&&typeof i=="function"&&i(j)},[l,m,i]),B=s.useCallback(()=>{Br(m)&&(f(!1),k(!1))},[k,m]),E=s.useCallback(()=>{Br(m)&&(f(!0),k(!0))},[k,m]);return a.jsxs(Ya,{index:e,stepIndex:t,isLast:o,lockedHint:r,title:h,onDone:i,useTitleFaded:!1,children:[a.jsx(Wh,{context:c,state:m}),a.jsx("div",{className:"training-step__buttons",children:Array.isArray(C)&&C.length>0?C.slice(0,6).map((A,j)=>a.jsx(ge,{htmlType:"button",size:56,type:"bar",onClick:()=>{Br(m)&&(f(j),k&&k(j))},disabled:m==="disabled",ariaLabel:String(A),label:A,variant:m,selected:x===j},j)):a.jsxs(a.Fragment,{children:[a.jsx(ge,{htmlType:"button",size:56,type:"bar",onClick:B,disabled:m==="disabled",icon:"x",ariaLabel:p("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),label:p("training.notHeard","\uC548 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:x===!1}),a.jsx(ge,{htmlType:"button",size:56,type:"bar",onClick:E,disabled:m==="disabled",icon:"circle",ariaLabel:p("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),label:p("training.heardWell","\uC798 \uB4E4\uB838\uC5B4\uC694."),variant:"default",selected:x===!0})]})})]})}function vs({index:e,stepIndex:t,isLast:o=!1,title:r,onDone:n,btnLabel:i,soundSrc:l,bucketPath:c,usePreviewTextBtn:u,previewText:p=null,onPreviewTextBtn:h,disabled:d,_pageIndex:m,showSoundWaveForm:b,showNoiseWaveForm:C,leadInMs:x,tailMs:f}){const{t:g}=we.useTranslation(),_=r??g("training.listenTitle","\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694."),v=d??(typeof t=="number"&&typeof e=="number"?e>t:!1);return a.jsx(Ya,{index:e,stepIndex:t,isLast:o,title:_,onDone:n,titleProps:{usePreviewTextBtn:u,previewText:p,onPreviewTextBtn:h},children:a.jsx(vi,{soundSrc:l,ttsText:l?null:p??_,bucketPath:c,btnLabel:i||g("training.listenButton","\uBB38\uC7A5 \uB4E3\uAE30"),disabled:v,className:"training-step__listen-sticky",showSoundWaveForm:b,showNoiseWaveForm:C,leadInMs:x,tailMs:f},`audio-p${m??0}-s${e}`)})}var jN=".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;color:var(--color-on-brand-fill,#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}";se(jN);const NN=[];function xs({index:e,stepIndex:t,isLast:o=!1,lockedHint:r,title:n,onDone:i,onChange:l,context:c=NN}){const{t:u}=we.useTranslation(),p=n??u("training.orderListDefault","\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694."),h=J=>typeof J=="string"?J:J&&(J.context||J.sentence||J.question||"")||"",[d,m]=s.useState(Array.isArray(c)?c:[]),[b,C]=s.useState(()=>(d||[]).map((J,M)=>({id:M,text:h(J)}))),x=s.useMemo(()=>typeof t!="number"||typeof e!="number"?"disabled":e<t?"done":e===t?"active":"disabled",[t,e]),f=x!=="disabled",g=s.useRef(void 0),_=s.useRef(void 0);s.useEffect(()=>{if(g.current===c)return;g.current=c;const J=Array.isArray(c)?c:[];m(J);const M=(P=>{const N=(P||[]).map((Q,ce)=>({id:ce,text:h(Q)}));if(N.length<=1)return N;const U=(Q,ce)=>{if(Q.length!==ce.length)return!1;for(let Se=0;Se<Q.length;Se++)if(Q[Se].text!==ce[Se].text)return!1;return!0};let ne=xt(N),re=0;for(;U(ne,N)&&re<20;)ne=xt(N),re+=1;return ne})(J);C(M);try{if(typeof l=="function"){const P=M.filter((N,U)=>N.text===h(J[U])).length;l({shuffled:M,score:P,total:(J||[]).length,initial:!0,__ts:Date.now()})}if(typeof i=="function"&&x==="active"){const P=M.filter((N,U)=>N.text===h(J[U])).length;_.current=c,i({shuffled:M,score:P,total:(J||[]).length,initial:!0,__ts:Date.now()})}}catch{}},[c]),s.useEffect(()=>{if(x!=="active"||_.current===c||(_.current=c,typeof i!="function"))return;const J=Array.isArray(c)?c:[],M=b.filter((P,N)=>P.text===h(J[N])).length;i({shuffled:b,score:M,total:J.length,initial:!0,__ts:Date.now()})},[x,c]);const v=(J,M)=>{const P=[...b],N=J+M;if(N<0||N>=P.length)return;const U=P[N];P[N]=P[J],P[J]=U,F(P);try{if(typeof i=="function"&&x==="active"){const ne=P.filter((re,Q)=>re.text===h(d[Q])).length;i({shuffled:P,score:ne,total:(d||[]).length,__ts:Date.now()})}}catch{}},[w,S]=s.useState(null),y=s.useRef(null),k=s.useRef(null),B=s.useRef(null),E=s.useRef(null),A=s.useRef(null),j=s.useRef({x:0,y:0}),D=s.useRef(null),L=s.useRef({dx:0,dy:0}),I=()=>{if(D.current!==null)return;const J=()=>{if(!y.current){D.current=null;return}D.current=requestAnimationFrame(J);const M=j.current,P=L.current||{dx:0,dy:0};y.current&&(y.current.style.transform=`translate3d(${M.x-P.dx}px, ${M.y-P.dy}px, 0)`)};D.current=requestAnimationFrame(J)},R=s.useRef(new Map),H=s.useRef(new Map),T=()=>{const J=new Map;return R.current.forEach((M,P)=>{M&&M.getBoundingClientRect&&J.set(P,M.getBoundingClientRect())}),J},F=J=>{const M=T();C(J);try{if(typeof l=="function"){const P=J.filter((N,U)=>N.text===h(d[U])).length;l({shuffled:J,score:P,total:(d||[]).length,__ts:Date.now()})}}catch{}requestAnimationFrame(()=>{const P=T();J.forEach(N=>{const U=M.get(N.id),ne=P.get(N.id),re=R.current.get(N.id);if(!re||!U||!ne)return;const Q=U.top-ne.top;Q&&(re.style.transition="none",re.style.transform=`translateY(${Q}px)`,requestAnimationFrame(()=>{re.style.transition="transform 420ms cubic-bezier(.22,.9,.39,1)",re.style.transform="";const ce=()=>{re.style.transition="",re.removeEventListener("transitionend",ce)};re.addEventListener("transitionend",ce)}))})})},W=(J,M)=>{try{try{M.dataTransfer?.setData("text/plain",String(J))}catch{}try{M.dataTransfer&&(M.dataTransfer.effectAllowed="move")}catch{}try{const P=document.createElement("div");P.style.cssText="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild(P),M.dataTransfer?.setDragImage(P,0,0),requestAnimationFrame(()=>{try{document.body.removeChild(P)}catch{}})}catch{}}catch{}S(J);try{const P=b[J],N=document.createElement("div");N.className="order-list__dragging-object order-list__dragging-object--visible",N.textContent=P&&P.text?P.text:"",document.body.appendChild(N),y.current=N;const U=R.current.get(P.id);let ne=M.clientX||0,re=M.clientY||0;try{if(U&&U.getBoundingClientRect){const G=U.getBoundingClientRect();ne=G.left+G.width/2,re=G.top+G.height/2}}catch{}const Q=N.getBoundingClientRect(),ce=Q.width/2,Se=Q.height/2;L.current={dx:ce,dy:Se},N.style.transition="none",j.current={x:ne,y:re},N.style.transform=`translate3d(${ne-ce}px, ${re-Se}px, 0)`,requestAnimationFrame(()=>{try{N.style.transition=""}catch{}I()});const ue=G=>{const V=G;j.current={x:V.clientX,y:V.clientY},I()};B.current=ue,document.addEventListener("mousemove",ue);const oe=G=>{const V=G;j.current={x:V.clientX,y:V.clientY},I()};k.current=oe,document.addEventListener("dragover",oe);try{M.dataTransfer?.setData("text/plain",String(J));try{M.dataTransfer?.setData("application/json",JSON.stringify({idx:J}))}catch{}}catch{}}catch{}},K=(J,M)=>{M.preventDefault();try{M.dataTransfer&&(M.dataTransfer.dropEffect="move")}catch{}try{A.current!==null&&(clearTimeout(A.current),A.current=null);const P=M.currentTarget&&M.currentTarget.closest?M.currentTarget.closest(".order-list__item"):null;if(P&&E.current!==P){if(E.current)try{E.current.classList.remove("drag-over")}catch{}try{P.classList.add("drag-over")}catch{}E.current=P}}catch{}},Y=(J,M)=>{M.preventDefault();const P=M.dataTransfer?.getData("text/plain")||"",N=P?parseInt(P,10):w,U=J;if(typeof N!="number"||isNaN(N)||N===U){S(null),Z(),z();return}const ne=Zc(b,N,U);F(ne),S(null),z();try{if(typeof i=="function"&&x==="active"){const re=ne.filter((Q,ce)=>Q.text===h(d[ce])).length;i({shuffled:ne,score:re,total:(d||[]).length,__ts:Date.now()})}}catch{}try{requestAnimationFrame(()=>{const re=document.querySelectorAll(".order-list .order-list__item")[U];if(!re)return;const Q=re.querySelector(".order-list__slot")||re;try{Q.classList.add("pulse"),Q.offsetHeight,Q.classList.add("to-dark");const ce=()=>{Q.classList.remove("pulse","to-dark"),Q.removeEventListener("transitionend",ce)};Q.addEventListener("transitionend",ce)}catch{}})}catch{}Z()},z=()=>{if(y.current){try{document.body.removeChild(y.current)}catch{}y.current=null}k.current&&(document.removeEventListener("dragover",k.current),k.current=null),B.current&&(document.removeEventListener("mousemove",B.current),B.current=null),D.current!==null&&(cancelAnimationFrame(D.current),D.current=null)},X=()=>{S(null),Z(),z()};s.useEffect(()=>()=>z(),[]);const Z=()=>{try{if(A.current!==null&&(clearTimeout(A.current),A.current=null),E.current){try{E.current.classList.remove("drag-over")}catch{}E.current=null}document.querySelectorAll(".order-list .order-list__item").forEach(J=>J.classList.remove("drag-over"))}catch{}};return s.useEffect(()=>{try{const J=Math.max(1,(b||[]).length);b.forEach((M,P)=>{const N=H.current.get(M.id);if(!N)return;let U=50;J>1&&(U=Math.round(P/(J-1)*100));try{N.style.setProperty("--marker-pos",U+"%")}catch{}})}catch{}},[b]),s.useEffect(()=>()=>{z(),A.current!==null&&(clearTimeout(A.current),A.current=null)},[]),a.jsx(Ya,{index:e,stepIndex:t,isLast:o,lockedHint:r,title:p,children:a.jsx("div",{className:"order-list",children:b.map((J,M)=>{const P=Math.max(1,(b||[]).length),N=P>1?Math.round(M/(P-1)*100):50;return a.jsx("div",{className:"order-list__item",children:a.jsxs("div",{className:"order-list__slot","data-disabled":x==="disabled","aria-disabled":x==="disabled",children:[x!=="disabled"?a.jsx("div",{className:"order-list__marker caption-1",style:{"--marker-pos":N+"%"},ref:U=>{const ne=H.current;U?ne.set(J.id,U):ne.delete(J.id)},children:a.jsx("span",{className:"order-list__slot-number button-1",children:M+1})}):null,a.jsxs("div",{ref:U=>{const ne=R.current;U?ne.set(J.id,U):ne.delete(J.id)},className:`order-list__draggable ${w===M?"dragging":""}`,"data-disabled":x==="disabled","aria-disabled":x==="disabled",tabIndex:x==="disabled"?-1:0,draggable:f,onDragStart:f?U=>W(M,U):void 0,onDragEnter:f?U=>K(M,U):void 0,onDragOver:f?U=>K(M,U):void 0,onDragLeave:f?()=>{try{A.current!==null&&clearTimeout(A.current),A.current=setTimeout(()=>{try{const U=document.querySelectorAll(".order-list .order-list__item");U&&U[M]&&(U[M].classList.remove("drag-over"),E.current===U[M]&&(E.current=null))}catch{}},80)}catch{}}:void 0,onDrop:f?U=>Y(M,U):void 0,onDragEnd:f?X:void 0,children:[a.jsx("span",{className:"order-list__item-text body-2",children:J.text}),f?a.jsxs("span",{className:"order-list__item-buttons",children:[a.jsx(ge,{htmlType:"button",size:32,type:"dot",onClick:()=>v(M,-1),ariaLabel:u("training.up"),icon:"chevron-up",variant:"transparent-gray",width:48,useFaded:"true",disabled:M===0,useBorder:!1,useDisabledInvisible:!0}),a.jsx(ge,{htmlType:"button",size:32,type:"dot",onClick:()=>v(M,1),ariaLabel:u("training.down"),icon:"chevron-down",variant:"transparent-gray",width:48,useFaded:"true",disabled:M===b.length-1,useBorder:!1,useDisabledInvisible:!0})]}):null]})]})},J.id)})})})}var TN="";se(TN);const LN=8e3;function MN(e,t){return new Promise(o=>{let r=!1;const n=()=>{r||(r=!0,o())};e.then(n,n),setTimeout(n,t)})}function Gh({index:e,stepIndex:t,isLast:o=!1,lockedHint:r,title:n,onDone:i,onChange:l,context:c=[],selectable:u=!1,hideLabel:p=!1,hideAudio:h=!1,maxCards:d,playAllGapMs:m=0}){const{t:b}=we.useTranslation(),C=n??b("training.cardInstructions","\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694."),x=s.useMemo(()=>Array.isArray(c)?c:c&&c.items||[],[c]),f=d??3,g=(x||[]).slice(0,f);(x||[]).length>f&&console.warn(`TrainingStepCard: ${x.length} items passed but only ${f} shown`);const _=typeof e=="number"?e:-1,v=typeof t!="number"?"disabled":_<t?"done":_===t?"active":"disabled",[w,S]=s.useState(null),y=s.useRef([]),[k,B]=s.useState(!1),E=s.useRef(null),A=s.useRef(!0);s.useEffect(()=>(A.current=!0,()=>{A.current=!1}),[]);const j=s.useMemo(()=>x.map(T=>T?.id??T?.word??"").join("|"),[x]);s.useEffect(()=>{S(null)},[j]);const D=s.useRef(void 0);s.useEffect(()=>{const T=D.current;typeof T=="number"&&typeof t=="number"&&typeof e=="number"&&T>=e&&t<e&&S(null),D.current=t},[t,e]);const L=s.useCallback((T,F)=>{if(u)return;const W={item:T,index:F,__ts:Date.now()};try{typeof l=="function"&&l(W)}catch{}if(v==="active"&&typeof i=="function")try{i(W)}catch{}},[u,l,v,i]),I=s.useRef(m);s.useEffect(()=>{I.current=Math.max(0,m||0)},[m]);const R=s.useCallback(async()=>{if(k||v==="disabled")return;B(!0);let T=!1;const F=new Promise(W=>{E.current=()=>{T=!0,W()}});try{for(let W=0;W<g.length&&!(!A.current||T);W++){const K=y.current[W];if(!K)continue;await Promise.race([MN(K.play(),LN),F]);const Y=Math.max(0,I.current||0);Y>0&&W<g.length-1&&!T&&A.current&&await Promise.race([new Promise(z=>{setTimeout(z,Y)}),F])}}finally{E.current=null,B(!1)}},[k,v,g.length]),H=s.useCallback((T,F)=>{if(!Br(v))return;S(F);const W={selectedValue:T.word||T.title||"",selectedIndex:F,item:T,__ts:Date.now()};try{typeof l=="function"&&l(W)}catch{}if(typeof i=="function")try{i(W)}catch{}},[l,v,i]);return a.jsx(Ya,{index:e,stepIndex:t,isLast:o,lockedHint:r,title:C,onDone:i,titleProps:{usePlayAllBtn:!h&&g.length>0,onPlayAll:R,playAllActive:k},children:a.jsx("div",{className:"training-step__cards",onClickCapture:T=>{const F=E.current;if(!F)return;const W=T.target;W&&typeof W.closest=="function"&&W.closest(".training-word-card__bottom")&&F()},children:g.length===0?a.jsx("div",{className:"training-step__empty",children:b("training.noCards","\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}):g.map((T,F)=>a.jsx(ns,{ref:W=>{y.current[F]=W},item:T,disabled:v==="disabled",onPlayDone:()=>L(T,F),selectable:u,selected:u&&w===F,onSelect:u?()=>H(T,F):void 0,flipDelay:F*120,hideLabel:p,hideAudio:h},T&&T.id||F))})})}function $N(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 jC(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"}]}$N(yt.t.bind(yt)),jC(yt.t.bind(yt));var RN='.ihabdevteam-core-scope .noise-settings-tooltip{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-tooltip__header) .tooltip__header{border-bottom:1px solid var(--color-darkWhite);height:60px;padding:0 20px}.ihabdevteam-core-scope .noise-settings-tooltip__header{align-items:center;display:flex;justify-content:space-between;width:100%}.ihabdevteam-core-scope .noise-settings-tooltip__header span{color:var(--color-darkGray);font-weight:600}.ihabdevteam-core-scope .noise-settings-tooltip__slider-input.slider--horizontal{flex:1 1 auto}.ihabdevteam-core-scope .noise-settings-tooltip__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}.ihabdevteam-core-scope .noise-settings-tooltip__value--disabled{opacity:.4}.ihabdevteam-core-scope .noise-settings-tooltip__width-ghost{height:0;overflow:hidden;pointer-events:none;visibility:hidden}.ihabdevteam-core-scope .noise-settings-tooltip__width-ghost .panel-row{border:0;margin:0;min-height:0;padding-bottom:0;padding-top:0}';se(RN);const Cs="none",PN=.5,zN=1.5,IN=.25;function Hh({title:e,valueLabel:t,value:o,min:r,max:n,step:i,tickStep:l,size:c,disabled:u,onChange:p}){return a.jsxs(_o,{variant:"custom",label:e,useFullWidth:!0,children:[a.jsx(ph,{value:o,onChange:p,min:r,max:n,step:i,size:c,showBgTick:!0,tickStep:l,ariaLabel:e,disabled:u,className:de("noise-settings-tooltip__slider-input")}),a.jsx("div",{className:de(ke("noise-settings-tooltip__value","button-1",u?"noise-settings-tooltip__value--disabled":"")),children:t})]})}function Vh({anchorRect:e,onClose:t,hideNoiseRows:o=!1}){const{t:r}=we.useTranslation(),n=Ao("(max-width: 767px)")?40:24,i=bi(),l=dn(i?.settings??qa),c=i?.settings.type??"defaultNoise",u=i?.settings.enabled??!0,p=i?.playbackRate??1,h=i?.mainVolume??1,d=Math.round(h*100),m=s.useCallback(g=>{try{i?.setMainVolume(Math.max(0,Math.min(1,g/100)))}catch{}},[i]),b=s.useCallback(g=>{try{i?.setPlaybackRate(g)}catch{}},[i]),C=s.useCallback(g=>{const _=Math.min(un,Math.max(0,Math.round(g*10)/10));try{i?.setSettings({noiseRatio:_})}catch{}},[i]),x=s.useCallback(g=>{try{g===Cs?i?.setSettings({enabled:!1}):i?.setSettings({type:g,enabled:!0})}catch{}},[i]),f=[{key:Cs,label:r("training.noise.type.none","\uC5C6\uC74C")},...jC(r).map(g=>({key:g.value,label:g.label}))];return a.jsx(fo,{anchorRect:e,offset:12,onClose:t,ariaLabel:r("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),isMobilePopup:!1,closeOnOutsideClick:!1,header:a.jsxs("div",{className:de("noise-settings-tooltip__header"),children:[a.jsx("span",{children:r("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815")}),a.jsx(ge,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,ariaLabel:r("common.close","\uB2EB\uAE30"),onClick:t})]}),children:a.jsxs(vr,{className:de("noise-settings-tooltip"),useBorder:!1,labelWidth:72,children:[a.jsx(Hh,{title:r("training.playVolumeTitle","\uC804\uCCB4 \uC18C\uB9AC"),valueLabel:`${d}%`,value:d,min:0,max:100,step:10,size:n,onChange:m}),a.jsx(Hh,{title:r("training.playSpeedTitle","\uC7AC\uC0DD \uC18D\uB3C4"),valueLabel:`${p.toFixed(2)}x`,value:p,min:PN,max:zN,step:IN,size:n,onChange:b}),!o&&a.jsxs(a.Fragment,{children:[a.jsx(_o,{variant:"custom",label:r("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),useFullWidth:!0,children:a.jsx($o,{ariaLabel:r("training.noiseTypeTitle","\uC18C\uC74C \uC885\uB958"),size:40,shape:"rounded",options:f,value:u?c:Cs,onChange:x})}),a.jsx(Hh,{title:r("training.noiseRatioTitle","\uC18C\uC74C \uBE44\uC728"),valueLabel:r("training.noiseRatioValue","{{ratio}}\uBC30",{ratio:l.toFixed(1)}),value:l,min:0,max:un,step:$h,size:n,disabled:!u,onChange:C})]}),o&&a.jsx("div",{className:de("noise-settings-tooltip__width-ghost"),"aria-hidden":"true",inert:!0,children:a.jsx(_o,{variant:"custom",label:"\xA0",useFullWidth:!0,children:a.jsx($o,{ariaLabel:"width-ghost",size:40,shape:"rounded",options:f,value:Cs,onChange:()=>{}})})})]})})}var ON=".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;box-sizing:border-box;display:flex;flex-direction:column;gap:2px;height:56px;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}";se(ON);function Uh({useNoiseSettingBtn:e=!1,onSettings:t,onNext:o,onResult:r,stepIndex:n=0,stepCount:i=0,pageIndex:l=0,pageCount:c=1,resultOpen:u=!1,hideNoiseRows:p=!1}){const{t:h}=we.useTranslation(),[d,m]=s.useState(!1),[b,C]=s.useState(null),[x,f]=s.useState(!1),g=s.useRef(null),_=s.useRef(null),v=bi(),w=c>0,S=w&&l<c-1,y=!w||l>=c-1,k=n===Math.max(0,i);s.useEffect(()=>{e||(m(!1),C(null))},[e]);const B=s.useCallback(()=>{m(!1),C(null)},[]),E=s.useCallback(()=>{if(d){m(!1),C(null);return}const F=g?.current?.getBoundingClientRect();F&&C(F),t?.(),m(!0)},[d,t]),A=s.useCallback(()=>{if(d){m(!1),C(null);return}const F=_?.current?.getBoundingClientRect();F&&C(F),t?.(),m(!0)},[d,t]),j=Ao("(max-width: 767px)"),D=s.useRef(null),[L,I]=s.useState(null),R=s.useCallback(()=>{f(F=>{const W=!F;return I(W?D.current?.getBoundingClientRect()??null:null),W})},[]),H=s.useCallback(()=>{f(!1),I(null)},[]);s.useEffect(()=>{u&&(f(!1),I(null))},[u]);const T=a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"pp-bottom__meter",children:[a.jsx("span",{className:"pp-bottom__meter-label caption-1",children:h("training.meter.sentence","\uC7AC\uC0DD")}),a.jsx(ts,{analyser:v?.mainAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:h("training.meter.sentence","\uC7AC\uC0DD")})]}),a.jsxs("div",{className:"pp-bottom__meter",children:[a.jsx("span",{className:"pp-bottom__meter-label caption-1",children:h("training.meter.noise","\uC18C\uC74C")}),a.jsx(ts,{analyser:v?.noiseAnalyser??null,orientation:"horizontal",length:112,label:"db",labelPos:"left",ariaLabel:h("training.meter.noise","\uC18C\uC74C")})]})]});return DC(e&&d,()=>typeof document<"u"?document.querySelector(".noise-settings-tooltip__header")?.closest(".tooltip__content")??null:null,()=>[g.current,_.current].map(F=>F?.querySelector("button")??null).find(F=>!!F&&F.getClientRects().length>0)??g.current?.querySelector("button")??null),a.jsxs("div",{className:"pp-bottom",children:[a.jsxs("div",{className:"pp-bottom__left",children:[e?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"pp-bottom__settings--desktop",children:a.jsx("div",{ref:g,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:a.jsx(ge,{htmlType:"button",size:56,type:"bar",icon:"settings",onClick:E,className:d?"is-selected":void 0,"aria-expanded":d,"aria-haspopup":"dialog",ariaLabel:h("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),label:h("training.trainingSettingsTitle","\uD6C8\uB828 \uC124\uC815"),minWidth:140})})}),a.jsx("div",{className:"pp-bottom__settings--mobile",children:a.jsx("div",{ref:_,className:"pp-bottom__tooltip-trigger","data-tooltip-ignore":!0,children:a.jsx(ge,{htmlType:"button",size:56,type:"dot",shape:"pill",icon:"settings",onClick:A,className:d?"is-selected":void 0,"aria-expanded":d,"aria-haspopup":"dialog",ariaLabel:h("training.settings","\uC124\uC815")})})})]}):null,e&&a.jsx("div",{ref:D,className:"pp-bottom__meter-trigger","data-tooltip-ignore":!0,children:a.jsx(ge,{htmlType:"button",size:40,type:"dot",shape:"pill",icon:"audio-lines",onClick:R,selected:x,"aria-expanded":j?x:void 0,ariaLabel:h("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC")})}),e&&x&&!j&&a.jsx("div",{className:"pp-bottom__meters",children:T})]}),e&&x&&j&&L&&a.jsx(fo,{anchorRect:L,onClose:H,ariaLabel:h("training.meter.toggle","\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"),children:a.jsx("div",{className:"pp-bottom__meters pp-bottom__meters--floating",children:T})}),a.jsxs("div",{className:"pp-bottom__right",children:[y&&a.jsx(ge,{htmlType:"button",size:56,type:"bar",icon:"check",onClick:typeof r=="function"?r:o,ariaLabel:h("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),label:h("training.viewResult","\uACB0\uACFC\uBCF4\uAE30"),variant:"main",disabled:!k}),S&&a.jsx(ge,{htmlType:"button",size:56,type:"bar",rightIcon:"chevron-right",align:"right",onClick:o,ariaLabel:h("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),label:h("training.nextQuestion","\uB2E4\uC74C \uBB38\uC81C"),variant:"main",disabled:!k})]}),e&&d&&a.jsx(Vh,{anchorRect:b,onClose:B,hideNoiseRows:p})]})}var FN=".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}}";se(FN);function qh({title:e,subtitle:t,desc:o,depth:r,icon:n,wrapperStyle:i,iconTooltip:l,pageIndex:c,pageCount:u,progressMax:p,progressIndex:h,onBack:d,onClose:m}){const{t:b}=we.useTranslation(),C=Ao("(max-width: 767px)"),x=Number.isInteger(h)?h:c||0,f=Number.isInteger(p)?p:u||0,g=d||m,_=Array.isArray(r)?C?r[r.length-1]:r.join(" / "):r,v=typeof e=="string"?e.trim():e,w=typeof t=="string"?t.trim():t,S=!!(v||w),y=S?v||w:b("common.emptyTrainingName","\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."),k=_||(v?t:void 0),B=C&&typeof k=="string"&&(k.includes(" \xB7 ")||k.includes(" / "))?k.split(/\s[·/]\s/).pop():k,E=s.useMemo(()=>{const A=i&&typeof i=="object"?{...i}:{};return!("width"in A)&&!("height"in A)&&(A.width="40px",A.height="40px"),A},[i]);return a.jsxs("header",{className:"pp-title training-popup-title",children:[a.jsxs("div",{className:"pp-title__left",children:[g?a.jsx(ge,{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,a.jsx("div",{children:n?a.jsx(k1,{icon:n,label:e,tooltip:l,wrapperStyle:E}):null}),a.jsxs("div",{className:"pp-title__text",children:[B?a.jsx("span",{className:"pp-title__depth caption-1",children:B}):null,a.jsx("span",{className:`pp-title__title h2${S?"":" pp-title__title--empty"}`,children:y}),o?a.jsx("span",{className:"pp-title__description caption-1",children:o}):null]})]}),a.jsx(gh,{max:Math.max(0,f??0),index:Math.max(0,x??0)})]})}function NC(){typeof window<"u"&&window.dispatchEvent(new CustomEvent("speechear.popup.close"))}function TC(e){return!e&&e!==0?[]:Array.isArray(e)?e.flatMap(t=>typeof t=="string"?t.split("|").map(o=>o.trim()).filter(Boolean):t||t===0?[String(t)]:[]):typeof e=="string"?e.split("|").map(t=>t.trim()).filter(Boolean):[String(e)]}const LC=(e,t)=>{if(!t)return t;const o=typeof yt?.t=="function"?yt.t(e,{defaultValue:t}):void 0;return typeof o=="string"&&o?o:t};function Yh(e,t,o){const r=e,n=r?.title||r?.name||(Array.isArray(t)?t[t.length-1]:void 0)||o||"\uD6C8\uB828",i=il().find(c=>c.key===(r?.category_0||r?.category_main_code)),l=i?.subs?.find(c=>c.key===(r?.category_1||r?.category_sub_code));return{title:n,label:r?.title||n,depth:t,icon:i?.icon,wrapperStyle:i?.color?{"--t-item-fg":i.color}:void 0,iconTooltip:[i?LC(`topic.${i.key}`,i.label):void 0,l?LC(`topic.sub.${l.key}`,l.label):void 0].filter(Boolean).join(" / ")||void 0}}function _s(e){return e&&typeof e=="object"&&typeof e.__ts=="number"?e.__ts:0}function Kh(e,t,o){if(!e||typeof e!="object"||Array.isArray(e))return e;const r=e,n=typeof o=="number"&&o>0?o:Date.now();return{...r,...r.shownAt===void 0&&t?{shownAt:t}:{},...r.answeredAt===void 0?{answeredAt:new Date(n).toISOString()}:{}}}function MC(e){const t=e;return Array.isArray(t?.items)?t.items:Array.isArray(e)?e:e?[e]:[]}function $C({idPrefix:e,trainingData:t,depth:o,fallbackTitle:r="\uD6C8\uB828",pages:n=[],emptyMessage:i,buildResults:l,metaPatch:c}){const u=Yh(t,o,r),p=typeof c=="function"?c(u)||{}:c||{},h=t?.id||t?.title||n.length;return{id:`${e}:${h}`,meta:{...u,...p},pages:n,emptyMessage:i,buildResults:l}}function RC(e){if(typeof e=="string")return e;if(e&&typeof e=="object"){const t=e;return t.context||t.sentence||t.question||""||""}return""}function PC(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 zC(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 Xh(e,t){if(!(!e||typeof e!="object"))return e[`step-${t}`]}function IC(e,t,o,r){return Xh(e,t*o+r)}function OC({payload:e,selected:t,choices:o=[],correctAnswers:r=[]}){if(e&&typeof e=="object"){const n=e;if(Array.isArray(n.selectedValues))return r.every(i=>n.selectedValues.includes(i))&&n.selectedValues.every(i=>r.includes(i));if(typeof n.correct=="boolean")return n.correct}if(r.length){if(typeof t=="number"&&Array.isArray(o)&&o.length)return r.some(n=>String(n)===String(o[t]));if(typeof t<"u")return r.some(n=>String(n)===String(t))}}function FC(e){return e?Array.isArray(e.items)?e.items.map(t=>{const o=t;return typeof t=="string"?{sentence:t}:{sentence:o.context||o.sentence||"",contextCode:o.contextCode||o.context_code}}):Array.isArray(e.sentences)?e.sentences.map(t=>{const o=t;return typeof t=="string"?{sentence:t}:{sentence:o.sentence||o.context||"",contextCode:o.contextCode}}):Array.isArray(e.contexts)?e.contexts:e.contextCode?[{contextCode:e.contextCode}]:[]:[]}const WC=s.createContext(null);function WN(){const e=s.useContext(WC);if(!e)throw new Error("useTrainingPagePopupContext must be used inside TrainingPagePopup");return e}function GN({index:e,stepIndex:t,isLast:o=!1,lockedHint:r,title:n,choices:i=[],onDone:l,onChange:c}){const{t:u}=we.useTranslation(),p=typeof e=="number"?e:-1,h=typeof t!="number"?"disabled":p<t?"done":p===t?"active":"disabled",[d,m]=s.useState(()=>i.map(()=>null)),b=JSON.stringify(i),C=i.length;s.useEffect(()=>{m(Array.from({length:C},()=>null))},[b]);const x=s.useRef(void 0);s.useEffect(()=>{const v=x.current;typeof v=="number"&&typeof t=="number"&&typeof e=="number"&&v>=e&&t<e&&m(Array.from({length:C},()=>null)),x.current=t},[t,e,C]);const f=s.useMemo(()=>d.filter(v=>v!==null).length+1,[d]),g=s.useCallback(v=>{if(!Br(h))return;const w=d;let S;if(w[v]!=null){const k=w[v];S=w.map(B=>B!==null&&B>=k?null:B)}else S=[...w],S[v]=f;m(S);const y={selectedOrder:S,words:i,__ts:Date.now()};try{typeof c=="function"&&c(y)}catch{}if(w[v]==null&&S.length>0&&S.every(k=>k!==null))try{typeof l=="function"&&l(y)}catch{}},[h,d,f,c,l,i]),_=n??u("training.selectInOrder","\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.");return a.jsx(Ya,{index:e,stepIndex:t,isLast:o,lockedHint:r,title:_,onDone:l,children:a.jsx("div",{className:"training-step__cards",children:i.map((v,w)=>a.jsx(ns,{item:{word:v},disabled:h==="disabled",selectable:!0,selected:d[w]!==null,orderRank:d[w],onSelect:()=>g(w),flipDelay:w*120,hideLabel:!1,hideAudio:!0},`${v}-${w}`))})})}function xi(e){return null}xi.__isTrainingPage=!0;function hn(e,t){const o=WN();return{ctx:o,index:e,stepIndex:o.currentStepIndex,isLast:typeof e=="number"&&typeof t=="number"?e===t-1:!1,onDone:r=>o.handleStepDone(r,e),onChange:r=>o.handleStepChange(r,e)}}function Zh({_stepIndex:e,_totalSteps:t,...o}){const{index:r,stepIndex:n,isLast:i,onDone:l}=hn(e,t);return a.jsx(vs,{...o,index:r,stepIndex:n,isLast:i,onDone:l})}function Jh({_stepIndex:e,_totalSteps:t,...o}){const{index:r,stepIndex:n,isLast:i,onDone:l,onChange:c}=hn(e,t);return a.jsx(gs,{...o,index:r,stepIndex:n,isLast:i,onDone:l,onChange:c})}function Qh({_stepIndex:e,_totalSteps:t,...o}){const{index:r,stepIndex:n,isLast:i,onDone:l,onChange:c}=hn(e,t);return a.jsx(fs,{...o,index:r,stepIndex:n,isLast:i,onDone:l,onChange:c})}function em({_stepIndex:e,_totalSteps:t,...o}){const{index:r,stepIndex:n,isLast:i,onDone:l,onChange:c}=hn(e,t);return a.jsx(xs,{...o,index:r,stepIndex:n,isLast:i,onDone:l,onChange:c})}function tm({_stepIndex:e,_totalSteps:t,...o}){const{index:r,stepIndex:n,isLast:i,onDone:l,onChange:c}=hn(e,t);return a.jsx(Gh,{...o,index:r,stepIndex:n,isLast:i,onDone:l,onChange:c})}function HN({_stepIndex:e,_totalSteps:t,...o}){const{index:r,stepIndex:n,isLast:i,onDone:l,onChange:c}=hn(e,t);return a.jsx(GN,{...o,index:r,stepIndex:n,isLast:i,onDone:l,onChange:c})}const GC=3e4,VN=/^(https?:|blob:|data:audio|\/|\.\/)/;function HC(e){return typeof e=="string"&&VN.test(e)?e:null}const UN=e=>typeof e=="string"&&e.trim()!==""?e:null,om=Symbol("timed-out");function qN(e,t){if(t<=0)return Promise.resolve(om);let o;return Promise.race([Promise.resolve(e),new Promise(r=>{o=setTimeout(()=>r(om),t)})]).finally(()=>clearTimeout(o))}function YN(e){return e?Ja()||Nr()?!0:typeof window<"u"&&!!window.speechSynthesis:!1}function KN(e,t){const o=[],r=HC(t);r&&o.push({kind:"raw",resolve:async()=>r});const n=(e??"").trim();if(!n)return o;for(const[i,l]of[["urlResolver",Ja()],["fallbackUrlResolver",Nr()]])l&&o.push({kind:i,resolve:async c=>{let u;try{u=await qN(l(n),c)}catch(h){return Pt(`question-sound-threw-${i}`,`[core] configureTTS \uC758 ${i} \uAC00 \uB358\uC84C\uB2E4 \u2014 \uADF8 \uCC28\uB840\uB294 \uAC74\uB108\uB6F4\uB2E4.`,h),null}return u===om?(Pt(`question-sound-slow-${i}`,`[core] configureTTS \uC758 ${i} \uAC00 ${GC}ms \uBC14\uD034 \uC548\uC5D0 \uC548 \uD480\uB838\uB2E4 \u2014 \uADF8 \uCC28\uB840\uB97C \uBC84\uB9AC\uACE0 \uB2E4\uC74C\uC73C\uB85C \uAC04\uB2E4. \uC11C\uBC84 \uD569\uC131\uC744 \uAE30\uB2E4\uB9AC\uB294 \uB9AC\uC878\uBC84\uB77C\uBA74 \uC774 \uC790\uB9AC\uAC00 \uAE38\uC5B4\uC9C4\uB2E4. \uC18C\uB9AC\uAC00 \uC544\uC608 \uC548 \uB098\uBA74 \uC5EC\uAE30\uBD80\uD130 \uBCF4\uB77C.`),null):UN(u)||(Pt(`question-sound-empty-${i}`,`[core] configureTTS \uC758 ${i} \uAC00 \uC8FC\uC18C\uB97C \uC548 \uC92C\uB2E4(\uBC1B\uC740 \uAC83: ${JSON.stringify(u)}) \u2014 \uADF8 \uCC28\uB840\uB294 \uAC74\uB108\uB6F4\uB2E4.`),null)}});return o}function XN(){return Date.now()+GC}const ZN=(e,t)=>Math.max(0,e-Date.now())/Math.max(1,t);function JN(e){Pt("question-sound-none",`[core] "${e}" \uC758 \uC18C\uB9AC \uC8FC\uC18C\uB97C \uD55C \uC790\uB9AC\uC5D0\uC11C\uB3C4 \uBABB \uC5BB\uC5C8\uB2E4 \u2014 \uBE0C\uB77C\uC6B0\uC800 \uB0AD\uB3C5\uC73C\uB85C \uAC04\uB2E4. configureTTS \uAC00 \uAC78\uB824 \uC788\uB294\uC9C0, \uB9AC\uC878\uBC84\uAC00 \uC8FC\uC18C\uB97C \uC8FC\uB294\uC9C0 \uC704 \uC904\uB4E4\uC744 \uBCF4\uB77C.`)}var QN=`.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:center;display:flex;gap:10px}.ihabdevteam-core-scope .trp-row__replay{flex-shrink:0}.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-ink,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-ink,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}
|
|
1075
1075
|
/* !important \uD544\uC694 \u2014 TrainingResultPopup.tsx\uAC00 Badge\uC5D0 minWidth={80}\uC744 \uC778\uB77C\uC778\uC73C\uB85C
|
|
1076
|
-
\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}}`;se(QN);function ys(...e){for(const t of e)if(typeof t=="string"){const o=t.trim();if(o.length)return o}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 o=t,r=[o.text,o.label,o.value];for(const n of r){if(typeof n=="string"&&n.trim().length)return n.trim();if(typeof n=="number"||typeof n=="boolean")return String(n)}}}return null}function eT(e){return ys(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function tT(e){return HC(ys(e?.questionSound,e?.soundSrc,e?.audioSrc,e?.sound,e?.audio,e?.src))}function VC(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=ys(e?.status,e?.result,e?.judge,e?.note);if(t){const o=t.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(r=>o.includes(r)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(r=>o.includes(r)))return!1}}function am(e){const{score:t,contextsLength:o,results:r=[],subtitle:n,onReplay:i,onClose:l,inline:c=!1,pending:u=!1}=e||{},{t:p}=we.useTranslation(),h=s.useId(),d=s.useCallback(()=>!u,[u]);s.useEffect(()=>{const A=o??0;if(t!=null&&A>0&&t/A>.5){const j=window.setTimeout(()=>{window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},0);return()=>window.clearTimeout(j)}},[t,o]);const m=s.useCallback(A=>{const j=VC(A),D=ys(A?.wording,A?.label);return j===!0?{variant:"main",label:D??p("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:j===!1?{variant:"danger",label:D??p("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:D??p("training.result.notJudged","\uBBF8\uD310\uC815")}},[p]),b=o??0,C=t??0,x=s.useMemo(()=>Array.isArray(r)?r:[],[r]),f=s.useRef(null),[g,_]=s.useState(null),v=s.useCallback(()=>{f.current?.(),f.current=null,_(null)},[]);s.useEffect(()=>v,[v]);const w=s.useRef(0),S=(A,j)=>{if(!ja)return;const D=Math.round(performance.now()-w.current);console.debug(`[core][\uB2E4\uC2DC\uB4E3\uAE30] +${D}ms ${A}`,j??"")},y=s.useRef(0),k=s.useCallback((A,j,D)=>{v();const L=++y.current,I=()=>y.current===L;w.current=ja?performance.now():0,S(`\uB20C\uB800\uB2E4 \u2014 \uC904 ${A}`,{text:j,rawUrl:D}),_(A),f.current=()=>{S("\uBA48\uCD94\uAC1C\uAC00 \uBD88\uB838\uB2E4(\uC8FC\uC18C \uC5BB\uAE30 \uC804)"),y.current++,_n()};const R=W=>{S("\uD2BC\uB2E4",W);const K=di(W,Y=>{S(`\uB05D\uB0AC\uB2E4 \u2014 ${Y?"\uB05D\uAE4C\uC9C0 \uB4E4\uC5C8\uB2E4":"\uBABB \uD2C0\uC5C8\uAC70\uB098 \uBA48\uCDC4\uB2E4"}`,{mine:I()}),Y&&I()&&(f.current=null,_(null))});return f.current=()=>{S("\uBA48\uCD94\uAC1C\uAC00 \uBD88\uB838\uB2E4(\uD2B8\uB294 \uC911)"),y.current++,K.stop(),_n()},K.done},H=KN(j,D);S("\uCC28\uB840",H.map(W=>W.kind));const T=H[0]?.kind==="raw",F=T?R(D):Promise.resolve(!1);(async()=>{if(await F||!I())return;const W=XN(),K=T?H.slice(1):H;for(let Y=0;Y<K.length;Y++){if(!I())return;S(`${K[Y].kind} \uC5D0\uAC8C \uBB3B\uB294\uB2E4`);const z=await K[Y].resolve(ZN(W,K.length-Y));if(S(`${K[Y].kind} \uAC00 \uB2F5\uD588\uB2E4`,z),!I()||z&&(await R(z)||!I()))return}I()&&(S("\uC8FC\uC18C\uB97C \uD558\uB098\uB3C4 \uBABB \uC5BB\uC5C8\uB2E4 \u2014 \uB0AD\uB3C5\uC73C\uB85C \uAC04\uB2E4"),JN(j),f.current=()=>{y.current++,_n()},S("\uB0AD\uB3C5\uD55C\uB2E4"),Ks(j,{onEnd:()=>{I()&&(f.current=null,_(null))}}))})()},[v]),B=s.useMemo(()=>x.map(A=>{const j=A??{},D=eT(j)||p("training.result.noContent","(\uB0B4\uC6A9\uC5C6\uC74C)"),{variant:L,label:I}=m(j),R=Array.isArray(j.corrects)?j.corrects:[],H=R.length?R.join(", "):j.answer!=null&&j.answer!==""?String(j.answer):null,T=typeof j.selectedText=="string"?j.selectedText:null,F=VC(j)===!0,W=tT(j),K=!!W||YN(D);return{problem:D,variant:L,label:I,answer:H,selectedText:T,isCorrect:F,sound:W,canHear:K}}),[x,m,p]),E=s.useMemo(()=>B.some(A=>A.answer!==null||A.selectedText!==null),[B]);return a.jsx(pa,{onClose:l,closeOnBackdrop:!1,inline:c,ariaLabel:p("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",beforeClose:d,footerClassName:"trp-result__foot",footer:({animateThen:A,closeWithAnimation:j})=>a.jsxs(a.Fragment,{children:[u&&a.jsx("p",{id:h,className:"trp-actions__reason caption-1",role:"status",children:p("training.result.pendingDone","\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.")}),a.jsxs("div",{className:"trp-actions",children:[a.jsx(ge,{htmlType:"button",size:56,type:"bar",label:p("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>A(i)}),a.jsx(ge,{htmlType:"button",size:56,type:"bar",label:p("training.result.done","\uC644\uB8CC"),variant:"main",onClick:j,disabled:u,onDisabledClick:u?()=>{}:void 0,"aria-describedby":u?h:void 0})]})]}),children:()=>a.jsxs("div",{className:"trp-result is-on",children:[a.jsxs("header",{className:"trp-result__head",children:[a.jsx("p",{className:"trp-result__eyebrow caption-1",children:p("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),a.jsx("h1",{className:"trp-result__title h2",children:p("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),n&&a.jsx("p",{className:"trp-result__subtitle body-3",children:n}),a.jsx("div",{className:"trp-score",children:a.jsxs("div",{className:"trp-score__figure","aria-label":p("training.result.scoreAria",{correct:C,total:b}),children:[a.jsx("span",{className:"trp-score__big",children:C}),a.jsx("span",{className:"trp-score__sep",children:"/"}),a.jsx("span",{className:"trp-score__total",children:b})]})})]}),B.length>0&&a.jsx("section",{className:"trp-result__body",children:a.jsxs("div",{className:`result-table${E?" result-table--answer":""}`,role:"table","aria-label":p("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[a.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[a.jsx("span",{role:"columnheader",children:p("common.col.problem","\uBB38\uC81C")}),E&&a.jsx("span",{role:"columnheader",children:p("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),a.jsx("span",{className:"col-right",role:"columnheader",children:p("training.result.colJudge","\uD310\uC815")})]}),B.map((A,j)=>a.jsxs("div",{className:"result-table__row",role:"row",children:[a.jsxs("div",{className:"trp-row__problem",children:[a.jsx("span",{className:"trp-row__no caption-1",children:String(j+1).padStart(2,"0")}),a.jsx("div",{className:"trp-row__q body-2",children:A.problem}),A.canHear&&a.jsx(ge,{htmlType:"button",size:32,type:"dot",useBorder:!1,icon:g===j?"square":"volume-2",className:"trp-row__replay",ariaLabel:g===j?p("training.result.replaySoundStop",{no:j+1,defaultValue:"{{no}}\uBC88 \uB4E3\uAE30 \uBA48\uCDA4"}):p("training.result.replaySound",{no:j+1,defaultValue:"{{no}}\uBC88 \uB2E4\uC2DC \uB4E3\uAE30"}),onClick:()=>g===j?v():k(j,A.problem,A.sound)})]}),E&&a.jsxs("div",{className:"trp-row__answers",children:[A.answer!==null&&a.jsxs("div",{className:"trp-row__answer-line",children:[a.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:p("training.result.colAnswer","\uC815\uB2F5")}),a.jsx("span",{className:"trp-row__answer-value body-2",children:A.answer})]}),a.jsxs("div",{className:"trp-row__answer-line",children:[a.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${A.isCorrect?"is-correct":"is-wrong"}`,children:p("training.result.colSelected","\uC120\uD0DD")}),a.jsx("span",{className:`trp-row__answer-value body-2 ${A.isCorrect?"is-correct":"is-wrong"}`,children:A.selectedText??"\u2014"})]})]}),a.jsx("div",{className:"trp-row__judge",children:a.jsx(Co,{variant:A.variant,label:A.label,fill:"soft",minWidth:80})})]},j))]})})]})})}const rm=new Set;function oT(e){s.useEffect(()=>{if(!e||rm.has(e))return;rm.add(e);const t=()=>typeof document>"u"||document.visibilityState!=="hidden";let o=null,r=null,n=0,i=0;const l=()=>{const h=Date.now();o==null&&(o=h),r==null&&(r=h)},c=()=>{r!=null&&(n+=Date.now()-r,r=null)};t()&&l();const u=()=>{if(c(),o==null)return;const h=n-i;if(h<1e3||i===0&&n<5e3)return;const d=Date.now(),m=d-h;i=n,xu({trainingType:e,startedAt:new Date(m).toISOString(),endedAt:new Date(d).toISOString()})},p=()=>{t()?l():u()};return typeof document<"u"&&document.addEventListener("visibilitychange",p),typeof window<"u"&&window.addEventListener("pagehide",u),()=>{typeof document<"u"&&document.removeEventListener("visibilitychange",p),typeof window<"u"&&window.removeEventListener("pagehide",u),u(),rm.delete(e)}},[e])}function ws(e,t){return e&&e.id||`page-${t??0}`}function ks(e,t){return e&&e.key||`step-${t??0}`}function Bs(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function aT(e,t){return typeof e?.props=="function"?e.props(t)||{}:e?.props||{}}const rT=300,nT=()=>{try{return typeof window<"u"&&!!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches}catch{return!1}},Ea=Object.freeze({}),UC=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]);function nm(e){const t=e,o=t?.results||t?.answers||[],r=Array.isArray(o)&&o.length>0?o.length:null,n=Array.isArray(o)?o.filter(i=>i?.correct===!0||i?.isCorrect===!0||i?.score===1||i?.heard===!0||i?.judgement===!0).length:null;return{results:o,correct:r!=null?n:null,total:r}}const iT=e=>a.jsx(am,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose,pending:e.pending});function lT(e){const{scenario:t,title:o,subTitle:r,depth:n,icon:i,wrapperStyle:l,iconTooltip:c,pageIndex:u,pageCount:p,stepIndex:h,stepCount:d,onBack:m,onComplete:b,onRoundFinished:C,onNext:x,onSettings:f,useNoiseSetting:g=!0,children:_,ariaLabel:v,label:w,buildResults:S,onResult:y,typeKey:k,entryPoint:B,dailyTotal:E,itemRef:A,renderResultPopup:j,noiseOverride:D,hideNoiseRows:L=!1,inline:I=!1,height:R}=e;oT(k&&!UC.has(k)?k:"");const H=s.useRef(0);s.useEffect(()=>{H.current=Date.now()},[]);const{t:T}=we.useTranslation(),F=y,W=!!t,K=t?.id||null,Y=t?.meta||{},z=Array.isArray(t?.pages)?t.pages:[],X=Array.isArray(_)||s.isValidElement(_)&&typeof _!="function"?s.Children.toArray(_).filter(s.isValidElement):[],Z=X.length>0,J=be=>be===xi||be?.__isTrainingPage===!0,M=Z&&X.some(be=>J(be.type)),P=M?X.filter(be=>J(be.type)).map((be,Te)=>{const He=be.props||{};return{id:`children-page-${Te}`,steps:s.Children.toArray(He.children).filter(s.isValidElement),pageTop:He.pageTop||He.top||null,pageBottom:He.pageBottom||He.bottom||null}}):[{id:"children-page-0",steps:X}],N=Z&&!W&&typeof _!="function",U=N?Math.max(1,P.length):0;s.useEffect(()=>{if(!I&&!(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")}},[]),s.useEffect(()=>{if(I||typeof document>"u"||!document.body)return;const be=document.body;return be.dataset.ihabTrainingPopupCount=String(Number(be.dataset.ihabTrainingPopupCount||"0")+1),be.classList.add("ihab-training-popup-open"),()=>{const Te=Number(be.dataset.ihabTrainingPopupCount||"1")-1;Te>0?be.dataset.ihabTrainingPopupCount=String(Te):(delete be.dataset.ihabTrainingPopupCount,be.classList.remove("ihab-training-popup-open"))}},[]),s.useEffect(()=>{if(!I&&!(typeof document>"u"||!document.body))return e1()},[]);const[ne,re]=s.useState({...qa,enabled:!1}),Q=s.useRef(ne);s.useEffect(()=>{Q.current=ne},[ne]);const ce=s.useRef(D),Se=s.useRef(!1),ue=s.useRef(null);s.useEffect(()=>{let be=!1;const Te=He=>{if(be)return;Se.current=!0;const ee=He?Ua({...qa,enabled:!1},He):{...qa},pe=ue.current;ue.current=null;const De=pe?Ua(ee,pe):ee;Q.current=De,re(De),pe&&!ce.current&&In(De),Yr(De);const $e=ce.current;if($e){const Ve=typeof $e=="function"?$e(De):$e,Ze=Ua(De,Ve);Q.current=Ze,re(Ze),Yr(Ze)}};return Bu().then(He=>{if(be){const ee=ue.current;if(ue.current=null,ee&&!ce.current){const pe=He?Ua({...qa,enabled:!1},He):{...qa};In(Ua(pe,ee))}return}Te(He)}),()=>{be=!0}},[]);const[oe,G]=s.useState(null),[V,q]=s.useState(null),ie=s.useCallback((be,Te)=>{be==="main"?G(Te):q(Te)},[]),O=s.useRef(null),he=s.useRef(null),me=s.useCallback(()=>{he.current!==null&&(clearTimeout(he.current),he.current=null);const be=O.current;O.current=null,be&&In(be)},[]);s.useEffect(()=>{if(typeof window>"u")return;const be=()=>{document.visibilityState==="hidden"&&me()};return window.addEventListener("pagehide",me),document.addEventListener("visibilitychange",be),()=>{window.removeEventListener("pagehide",me),document.removeEventListener("visibilitychange",be),me()}},[me]);const ve=s.useCallback(be=>{const Te=Ua(Q.current,be);if(Q.current=Te,re(Te),!Se.current){ue.current={...ue.current??{},...be},Yr(Te);return}ce.current||(O.current=Te,he.current!==null&&clearTimeout(he.current),he.current=setTimeout(me,rT)),Yr(Te)},[me]),xe=ne.mainSpeed,Ie=ne.mainVolume,Be=s.useCallback(be=>ve({mainSpeed:be}),[ve]),Ee=s.useCallback(be=>ve({mainVolume:be}),[ve]),Ae=s.useMemo(()=>({settings:ne,setSettings:ve,registerAnalyser:ie,mainAnalyser:oe,noiseAnalyser:V,playbackRate:xe,setPlaybackRate:Be,mainVolume:Ie,setMainVolume:Ee}),[ne,ve,ie,oe,V,xe,Be,Ie,Ee]),Ne=s.useRef(null),[We,st]=s.useState(0),ut=s.useRef([]),[Oe,qe]=s.useState("center"),[rt,Le]=s.useState(!1),Je=s.useRef(!1),nt=s.useRef(null),dt=s.useCallback(be=>{Je.current||(Je.current=!0,Le(!0),nt.current=setTimeout(()=>{try{be()}catch{Je.current=!1,Le(!1)}},nT()?0:h1))},[]);s.useEffect(()=>()=>{nt.current&&clearTimeout(nt.current)},[]);const Ct=s.useRef(m);s.useEffect(()=>{Ct.current=m});const At=s.useRef(typeof document>"u"?null:document.activeElement);s.useEffect(()=>{if(I)return;const be=Ne.current,Te=At.current;if(nd(be,Te),be){const He=Array.from(be.querySelectorAll(Ko)).filter(ee=>!ee.closest('[aria-hidden="true"]'))[0];if(He)try{He.focus()}catch{}}return()=>{const He=document.activeElement;if(!He||He===document.body||be&&be.contains(He))try{id(Te)?.focus?.()}catch{}}},[]),s.useEffect(()=>{if(!I)return cr(()=>dt(()=>{const be=Ct.current;typeof be=="function"&&be()}))},[dt,I]),fl(Ne,!I);const[mt,ao]=s.useState(!1),jt=s.useRef(!1),[pt,je]=s.useState(null),ct=s.useRef(0),ft=s.useRef(0),vt=()=>{ct.current+=1,ft.current+=1,je(null)},[Tt,Gt]=s.useState(""),[wt,kt]=s.useState(()=>Bs()),Lt=s.useRef(typeof u=="number"?u:null);s.useEffect(()=>{!W&&!N||(kt(Bs()),vt())},[W,K,N]),s.useEffect(()=>{N&&kt(be=>{const Te=Math.max(0,Math.min(be.pageIndex,Math.max(0,U-1)));return Te!==be.pageIndex?{...be,pageIndex:Te,stepIndex:0}:be})},[N,U]);const Ht=N?Math.max(0,Math.min(wt.pageIndex,U-1)):0,Qe=N?P[Ht]:null,Nt=N&&Qe&&Array.isArray(Qe.steps)?Qe.steps:[],tt=W?wt.pageIndex:N?Ht:typeof u=="number"?u:0,fe=W?z[Math.max(0,Math.min(wt.pageIndex,Math.max(0,z.length-1)))]:null,Re=W&&fe&&Array.isArray(fe.steps)?fe.steps:[],ze=W?Re.length:N?Nt.length:typeof d=="number"?d:0,Ge=W||N?Math.max(0,Math.min(wt.stepIndex,Math.max(0,ze))):typeof h=="number"?h:0,ht=W?z.length:N?U:typeof p=="number"?p:0;s.useEffect(()=>{if(!W&&!N)return;const be=W?ws(fe,tt):Qe?.id||`children-page-${tt??0}`,Te=new Date().toISOString();for(let He=0;He<=Ge;He+=1){const ee=W?ks(Re[He],He):`step-${He}`,pe=Bt(be,ee);Ke.current.has(pe)||Ke.current.set(pe,Te)}},[W,N,tt,Ge,Qe?.id]),s.useLayoutEffect(()=>{const be=Lt.current;if(typeof tt=="number"&&be!==null&&tt!==be&&tt>be)try{Gt(T("training.problemNotice",{n:tt+1}))}catch{}Lt.current=typeof tt=="number"?tt:Lt.current},[tt,u,T]),s.useLayoutEffect(()=>{const be=Ne.current;if(!be)return;const Te=()=>be.querySelector(".page-popup__scroll");let He=null,ee=null,pe=null;const De=_t=>{const ye=Te();if(!ye)return;const $=ye.scrollHeight<=ye.clientHeight;if(qe($?"center":"top"),_t&&!jt.current){jt.current=!0;try{ao(!0)}catch{}try{Ze.disconnect()}catch{}}},$e=()=>{He!==null&&cancelAnimationFrame(He),He=requestAnimationFrame(()=>{ee!==null&&clearTimeout(ee),ee=setTimeout(()=>De(!0),60)})},Ve=()=>{pe!==null&&cancelAnimationFrame(pe),pe=requestAnimationFrame(()=>De(!1))};$e(),window.addEventListener("resize",Ve);const Ze=new MutationObserver($e);Ze.observe(be,{childList:!0,subtree:!0,attributes:!0});const St=setTimeout(()=>{jt.current||De(!0)},400);return()=>{window.removeEventListener("resize",Ve),He!==null&&cancelAnimationFrame(He),ee!==null&&clearTimeout(ee),pe!==null&&cancelAnimationFrame(pe),clearTimeout(St);try{Ze.disconnect()}catch{}}},[Ne]);const yo=s.useCallback(be=>{Ne.current&&(Ne.current._childOnNext=be)},[]),bt=s.useCallback(be=>{Ne.current&&(Ne.current._childOnResult=be)},[]),Ke=s.useRef(new Map),Bt=(be,Te)=>`${be}\0${Te}`,Mt=s.useCallback((be,Te,He)=>{kt(ee=>{const pe=ee.answersByPage[be]||{},De=pe[Te],$e=_s(He),Ve=_s(De);if(De&&Ve>$e)return ee;const Ze=Kh(He,Ke.current.get(Bt(be,Te)),$e);return{...ee,answersByPage:{...ee.answersByPage,[be]:{...pe,[Te]:Ze}}}})},[kt]),ae=s.useCallback((be,Te,He)=>{const ee=ws(fe,tt),pe=ks(be,Te);Mt(ee,pe,He)},[fe,tt,Mt]),Ce=s.useCallback((be,Te,He)=>{const ee=ws(fe,tt),pe=ks(be,Te);Mt(ee,pe,He),!He?.allowChange&&be?.autoAdvance!==!1&&kt(De=>({...De,stepIndex:Math.max(De.stepIndex,Te+1)}))},[fe,tt,Mt,kt]),Ye=s.useCallback((be,Te)=>{const He=Qe?.id||`children-page-${tt??0}`,ee=typeof Te=="number"?Te:Ge??0,pe=`step-${ee}`;Mt(He,pe,be),be?.allowChange||kt(De=>({...De,stepIndex:Math.max(De.stepIndex,ee+1)}))},[Qe,tt,Ge,Mt,kt]),Xe=s.useCallback((be,Te)=>{const He=Qe?.id||`children-page-${tt??0}`,ee=`step-${typeof Te=="number"?Te:Ge??0}`;Mt(He,ee,be)},[Qe,tt,Ge,Mt]),it=N?{currentPageIndex:tt??0,currentStepIndex:Ge??0,totalStepsInPage:Nt.length,handleStepDone:Ye,handleStepChange:Xe}:null,gt=async()=>{const be=typeof t?.buildResults=="function"?await Promise.resolve(t.buildResults({scenario:t,pages:z,flowState:wt,answersByPage:wt.answersByPage})):null;return typeof F=="function"&&await Promise.resolve(F(be))||be},zt=async()=>{const be=Qe?.id||`children-page-${wt.pageIndex}`,Te=wt.answersByPage[be]||{},He=M?(()=>{const De={};let $e=0;return P.forEach(Ve=>{const Ze=wt.answersByPage[Ve.id]||{},St=Array.isArray(Ve.steps)?Ve.steps.length:0;for(let _t=0;_t<St;_t+=1){const ye=Ze[`step-${_t}`];typeof ye<"u"&&(De[`step-${$e+_t}`]=ye)}$e+=St}),De})():Te;if(typeof S=="function"){const De=await Promise.resolve(S(He,{pageAnswers:Te,answersByPage:wt.answersByPage,pages:P,currentPageId:be}));return typeof F=="function"&&await Promise.resolve(F(De))||De}const ee=Object.entries(Te).map(([De,$e],Ve)=>({index:Ve,key:De,payload:$e})),pe={results:ee,answers:ee,score:0};return typeof F=="function"&&await Promise.resolve(F(pe))||pe},Vt=()=>{const be=++ct.current,Te=()=>be!==ct.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(W){const pe=gt();je(Ea);const De=pe;Promise.resolve(De).then($e=>{Te()||je($e||{isEmpty:!0})}).catch($e=>{!Te()&&je({isEmpty:!0})});return}if(N){const pe=zt();je(Ea);const De=pe;Promise.resolve(De).then($e=>{Te()||je($e||{isEmpty:!0})}).catch($e=>{!Te()&&je({isEmpty:!0})});return}const He=Ne.current&&Ne.current._childOnResult,ee=pe=>{try{return pe?pe():void 0}catch{return}};if(typeof He=="function"){const pe=ee(He);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:zo&&zo.tagName.toUpperCase()==="SCRIPT"&&zo.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}pe&&typeof pe.then!="function"?je(pe):je(pe&&typeof pe.then=="function"?Ea:{});const De=()=>{Te()||je($e=>$e===Ea?{}:$e)};Promise.resolve(pe).then($e=>{$e&&!Te()?je($e):De()}).catch($e=>{De()});return}if(typeof F=="function"){const pe=ee(F);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:zo&&zo.tagName.toUpperCase()==="SCRIPT"&&zo.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}pe&&typeof pe.then!="function"?je(pe):je(pe&&typeof pe.then=="function"?Ea:{});const De=()=>{Te()||je($e=>$e===Ea?{}:$e)};Promise.resolve(pe).then($e=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:zo&&zo.tagName.toUpperCase()==="SCRIPT"&&zo.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}$e&&!Te()?je($e):De()}).catch($e=>{console.error("viewResults external handler failed",$e),De()});return}},Qo=()=>{if(W){if(typeof tt=="number"&&typeof ht=="number"&&tt<ht-1){kt(Te=>({...Te,pageIndex:Te.pageIndex+1,stepIndex:0}));return}return Vt()}if(N){const Te=Nt.length;if(typeof Ge=="number"&&Ge<Te-1){kt(He=>({...He,stepIndex:He.stepIndex+1}));return}if(typeof tt=="number"&&typeof ht=="number"&&tt<ht-1){kt(He=>({...He,pageIndex:He.pageIndex+1,stepIndex:0}));return}return Vt()}if(typeof x=="function"){try{x()}catch{}return}const be=Ne.current&&Ne.current._childOnNext;if(typeof be=="function"){try{be()}catch{}return}},no=W?Y.title||Y.label||v||T("common.popup","\uD31D\uC5C5"):o||w||(Array.isArray(n)?n[n.length-1]:void 0)||v||T("common.popup","\uD31D\uC5C5"),ea=v||no,wo=W?Y.title??Y.label??no:o??w??no,io=(be,Te)=>{const He=ws(fe,tt),ee=ks(be,Te),pe=wt.answersByPage[He]?.[ee],De=aT(be,{page:fe,pageIndex:tt,step:be,stepIndex:Te,storedPayload:pe,answersByPage:wt.answersByPage,flowState:wt}),$e={key:ee,index:Te,stepIndex:Ge,isLast:Te===Re.length-1};switch(be?.type){case"listen":return a.jsx(vs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve)});case"confirm":return a.jsx(gs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve),onChange:Ve=>ae(be,Te,Ve)});case"confirmWithText":return a.jsx(fs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve),onChange:Ve=>ae(be,Te,Ve)});case"orderList":return a.jsx(xs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve),onChange:Ve=>ae(be,Te,Ve)});default:return null}},uo=s.useRef(void 0);s.useEffect(()=>{const be=uo.current;if(uo.current=tt,be===void 0||be===tt||!as())return;const Te=Ne.current;if(!Te)return;const He=document.activeElement;if(!(!He||He===document.body||!Te.contains(He)||He.disabled===!0))return;const ee=Te.querySelector(`.training-steps ${Ko.split(", ").join(", .training-steps ")}`)??Array.from(Te.querySelectorAll(Ko)).find(pe=>!pe.closest('[aria-hidden="true"]'));try{ee?.focus()}catch{}},[tt]);const Do=W?z.length>0?a.jsx("div",{className:"training-steps",children:Re.map((be,Te)=>io(be,Te))},`replay-${We}`):a.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:a.jsx("div",{className:"pp-empty",children:t?.emptyMessage||T("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,po=N?a.jsxs(WC.Provider,{value:it,children:[Qe?.pageTop?a.jsx("div",{className:"training-page-top",children:Qe.pageTop}):null,a.jsx("div",{className:"training-steps",children:Nt.map((be,Te)=>{const He=be;return s.cloneElement(He,{...He.props,_stepIndex:Te,_totalSteps:Nt.length,_stepKey:`step-${Te}`,_pageIndex:tt})})},`replay-${We}`),Qe?.pageBottom?a.jsx("div",{className:"training-page-bottom",children:Qe.pageBottom}):null]}):null,Ft=s.useRef(-1),$t=s.useCallback(()=>{if(!k)return;const be=pt,{results:Te,correct:He,total:ee}=nm(pt),pe={correct:He,total:ee,attempt:ut.current.length+1,previousAttempts:[...ut.current]};if(Ft.current===ft.current)return pe;Ft.current=ft.current,Cu({items:ku(Te),category:UC.has(k)?"sentence":"word",trainingType:k,entryPoint:B??"sentence",itemRef:A??null,correct:He,total:ee,score:typeof be?.score=="number"?be.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-H.current)/1e3)),dailyTotal:E??null});try{C?.(pe)}catch{}return pe},[k,B,E,A,pt,C]);s.useEffect(()=>{!pt||pt===Ea||pt?.isEmpty||(nm(pt).total??0)>0&&$t()},[pt,$t]);const Jt=s.useCallback(()=>{const be=$t();vt(),dt(()=>{typeof b=="function"&&b(be),typeof m=="function"&&m()})},[b,m,$t,je,dt]),Ut=s.useCallback(()=>Gt(""),[Gt]),ta=s.useCallback(()=>{dt(()=>{typeof m=="function"&&m()})},[m,dt]),oa=a.jsxs("div",{className:`page-popup${rt?" page-popup--closing":""}${I?" page-popup--inline":""}${I&&R!=null?" page-popup--has-height":""}`,role:I?"region":"dialog","aria-modal":I?void 0:"true","aria-label":ea,style:I&&R!=null?{"--page-popup-inline-height":typeof R=="number"?`${R}px`:R}:void 0,children:[a.jsxs("div",{ref:Ne,className:`page-popup__panel ${mt?"":"page-popup__panel--measuring"} ${Oe==="center"?"page-popup__panel--center":Oe==="top"?"page-popup__panel--top":""}`,children:[a.jsx(qh,{title:wo,subtitle:W?Y.subtitle||Y.label:Array.isArray(n)?n.join(" / "):void 0,desc:W?void 0:r,depth:W?Y.depth:n,icon:W?Y.icon:i,wrapperStyle:W?Y.wrapperStyle:l,iconTooltip:W?Y.iconTooltip:c,progressMax:ht,progressIndex:tt,pageIndex:tt,pageCount:ht,onBack:I?void 0:ta,onClose:I?void 0:ta}),a.jsx("div",{className:"page-popup__scroll",children:a.jsx("div",{className:`page-popup__content ${Oe==="center"?"page-popup__content--center":"page-popup__content--top"}${e.contentFull?" page-popup__content--full":""}`,children:N?po:W?Do:typeof _=="function"?_({registerOnNext:yo,registerOnResult:bt,panelRef:Ne,setResultOverlay:je}):_})}),a.jsx(Uh,{onSettings:f,onNext:Qo,onResult:Vt,useNoiseSettingBtn:!!(W?Y.useNoiseSetting??!0:g),stepIndex:Ge,stepCount:ze,pageIndex:tt,pageCount:ht,resultOpen:!!(pt&&!pt.isEmpty),hideNoiseRows:L})]}),pt&&!pt.isEmpty&&(j??iT)({score:pt.score,results:pt.results||pt.answers||[],contextsLength:pt.results?pt.results.length:pt.answers?pt.answers.length:0,onReplay:()=>{if(H.current=Date.now(),pt!==Ea){const{correct:be,total:Te}=nm(pt);ut.current.push({correct:be,total:Te})}if(vt(),st(be=>be+1),W){if(kt(Bs()),typeof t?.onReplay=="function")try{t.onReplay()}catch{}return}if(N){kt(Bs());return}try{const be=Ne.current&&Ne.current._childOnResult;typeof be=="function"&&be({replay:!0})}catch{}},onClose:Jt,pending:pt===Ea}),pt?.isEmpty&&a.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":T("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:a.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[a.jsx("div",{className:"page-popup__scroll",children:a.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:a.jsx("div",{className:"page-popup__empty",children:T("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),a.jsx("div",{className:"page-popup__bottom",children:a.jsx(ge,{htmlType:"button",variant:"main",size:48,onClick:Jt,label:T("training.result.done","\uC644\uB8CC")})})]})}),a.jsx(_r,{message:Tt,position:"top",onClose:Ut})]}),fa=a.jsx(hs.Provider,{value:Ae,children:oa});return I?fa:typeof document<"u"&&document.body?jo.createPortal(fa,document.body):fa}const Da=lT;Da.Page=xi,Da.ListenStep=Zh,Da.ConfirmStep=Jh,Da.ConfirmWithTextStep=Qh,Da.OrderListStep=em,Da.CardStep=tm,Da.CardOrderStep=HN;function sT(e=[]){const t=s.useRef(null),o=s.useCallback(n=>{const i=getComputedStyle(n),l=i.gridTemplateColumns.split(" ").filter(Boolean),c=parseFloat(l[0]??"0"),u=parseFloat(i.columnGap||"0")||0;if(!c||l.length<2){for(const p of n.children)p.style.gridColumn="";return}for(const p of n.children){const h=p;h.style.gridColumn="",h.removeAttribute("data-wide");const d=h.querySelector("button"),m=d?d.getBoundingClientRect().width:0;if(m<=c+.5)continue;const b=Math.min(l.length,Math.ceil((m+u)/(c+u)));b<=1||(h.style.gridColumn=`span ${b}`,h.setAttribute("data-wide",""))}},[]),r=s.useCallback(()=>{const n=t.current;if(n)for(const i of n.querySelectorAll(".word-search-result-block__items"))o(i)},[o]);return s.useLayoutEffect(()=>{r();const n=t.current;if(!n||typeof ResizeObserver>"u")return;const i=new ResizeObserver(()=>r());return i.observe(n),()=>i.disconnect()},[r,...e]),t}var cT=".ihabdevteam-core-scope .word-search-result-block__actions{display:flex;flex-wrap:wrap;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>[data-wide]>button{width:100%}.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-label{color:var(--color-gray)}.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__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}.ihabdevteam-core-scope .word-search-result-block__inner--head-only{gap:0;padding-bottom:0;padding-top:0}.ihabdevteam-core-scope .word-search-result-block__inner--head-only .word-search-result-block__head{min-height:60px}";se(cT);var uT='.ihabdevteam-core-scope .word-image-tooltip{background:var(--color-white);border:1px solid var(--color-darkWhite);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:var(--spacing-s);position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .word-image-tooltip__cells{display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .word-image-tooltip__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 .word-image-tooltip__cell img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;transition:opacity .2s;width:100%}.ihabdevteam-core-scope .word-image-tooltip__spinner{align-items:center;display:flex;inset:0;justify-content:center;position:absolute}.ihabdevteam-core-scope .word-image-tooltip__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 .word-image-tooltip__cell--text{align-items:center;color:var(--color-black);display:flex;font-weight:700;justify-content:center}';se(uT);function dT({label:e,homonum:t}){const o=La()?.(e,t)??"",{imgRef:r,loading:n,hasImage:i,onLoad:l,onError:c}=xh(o);return i?a.jsxs("div",{className:de("word-image-tooltip__cell"),children:[n&&a.jsx("div",{className:de("word-image-tooltip__spinner")}),a.jsx("img",{ref:r,src:o,alt:e,draggable:!1,style:{opacity:n?0:1},onLoad:l,onError:c})]}):a.jsx("div",{className:de("word-image-tooltip__cell word-image-tooltip__cell--text h3"),children:a.jsx("span",{children:e})})}function im({words:e,anchorRect:t}){const o=s.useRef(null),[r,n]=s.useState(null);return s.useLayoutEffect(()=>{if(!t||!o.current)return;const{offsetWidth:i,offsetHeight:l}=o.current,c=window.innerWidth,u=window.innerHeight,p=8,h=t.top,d=u-t.bottom,m=h>=l+p*2||h>d,b=(f,g)=>Math.min(Math.max(p,f),Math.max(p,g)),C=b(t.left+t.width/2-i/2,c-i-p),x=b(m?t.top-l-p:t.bottom+p,u-l-p);n({left:C,top:x})},[t]),!t||e.length===0?null:jo.createPortal(a.jsx("div",{ref:o,className:de("word-image-tooltip"),style:{visibility:r?"visible":"hidden",left:r?.left??0,top:r?.top??-9999},children:a.jsx("div",{className:de("word-image-tooltip__cells"),children:e.map(i=>a.jsx(dT,{label:i.label,homonum:i.homonum},`${i.label}_${i.homonum??1}`))})}),document.body)}function qC({titleIcon:e,resultCount:t,resultUnit:o,searchQuery:r,items:n,groups:i,selected:l=[],onSelect:c,maxSelect:u,onClearSelection:p,onPrint:h,onPrintEmpty:d,className:m,emptyHint:b,showEmptyText:C=!0,sectionType:x="page",disc:f}){const g=Oo()??Eo,{t:_,i18n:v}=we.useTranslation(),w=v.language?.startsWith("ko")??!1,{anchorRect:S,openAt:y,close:k}=an(),[B,E]=s.useState(null),A=s.useCallback(()=>{k(),E(null)},[k]);up(A,!!B);const j=(r??"").trim(),D=/^[^,[\]\s]+$/.test(j)?j:"",L=D.length>0,I=r===void 0&&t===void 0,R=L?"match":I?"original":"ganada",[H,T]=s.useState(()=>R),[F,W]=s.useState("50"),[K,Y]=s.useState(1),[z,X]=s.useState(L);z!==L&&(X(L),T(R));const Z=H==="match"&&!L||H==="original"&&!I?R:H,J=s.useMemo(()=>[...L?[{value:"match",label:_("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],...I?[{value:"original",label:_("wordSearch.sort.original",{defaultValue:"\uBC1B\uC740 \uC21C\uC11C"})}]:[],{value:"ganada",label:_("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:_("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:_("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:_("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:_("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:_("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[_,L,I]),M=s.useMemo(()=>["10","25","50","100"].map(Be=>({value:Be,label:_("wordSearch.pageSize",{count:Number(Be),defaultValue:`${Be}\uAC1C\uC529 \uBCF4\uAE30`})})),[_]),P=Be=>Be.words?.[0],N=s.useMemo(()=>{const Be=[...D].length,Ee=_c(D),Ae=new Map;return Ne=>{let We=Ae.get(Ne);return We===void 0&&(We=Ee((Ne.words?.[0]?.label??"").slice(0,Be))?0:1,Ae.set(Ne,We)),We}},[D]),U=s.useCallback((Be,Ee)=>{const Ae=st=>P(st)?.label??"",Ne=st=>P(st)?.syllables??[...Ae(st)].length,We=st=>(st.words??[]).reduce((ut,Oe)=>{const qe=parseInt(Oe.grade??"",10);return Number.isFinite(qe)&&qe<ut?qe:ut},999);switch(Z){case"match":return N(Be)-N(Ee)||Mo(Ae(Be),Ae(Ee));case"ganada":return Mo(Ae(Be),Ae(Ee));case"ganada_desc":return Mo(Ae(Ee),Ae(Be));case"syllable":return Ne(Be)-Ne(Ee)||Mo(Ae(Be),Ae(Ee));case"syllable_desc":return Ne(Ee)-Ne(Be)||Mo(Ae(Be),Ae(Ee));case"grade":return We(Be)-We(Ee)||Mo(Ae(Be),Ae(Ee));case"grade_desc":return We(Ee)-We(Be)||Mo(Ae(Be),Ae(Ee));default:return 0}},[Z,N]),ne=s.useMemo(()=>n.slice().sort(U),[n,U]),re=Number(F)||10,Q=s.useMemo(()=>(i??[]).flatMap(Be=>Be.items.slice().sort(U).map(Ee=>({item:Ee,label:Be.label}))),[i,U]),ce=i?Q.length:ne.length,Se=Math.max(1,Math.ceil(ce/re)),ue=Math.min(K,Se),oe=s.useMemo(()=>ne.slice((ue-1)*re,ue*re),[ne,ue,re]),G=s.useId(),V=s.useMemo(()=>{if(!i)return null;const Be=Q.slice((ue-1)*re,ue*re),Ee=new Map;for(const{item:Ae,label:Ne}of Be)Ee.has(Ne)||Ee.set(Ne,[]),Ee.get(Ne).push(Ae);return[...Ee.entries()].map(([Ae,Ne])=>({label:Ae,items:Ne}))},[i,Q,ue,re]);s.useEffect(()=>{Y(1)},[H,F,ce,r]);const q=ce>0?a.jsxs("div",{className:"word-search-result-block__toolbar",children:[a.jsx(Ro,{size:g,options:J,value:Z,onChange:T,ariaLabel:_("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),a.jsx(Ro,{size:g,options:M,value:F,onChange:W,ariaLabel:_("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),a.jsx(Kl,{page:ue,totalPages:Se,onChange:Y})]}):void 0,ie=Be=>{c&&c(Be)},O=t!==void 0&&o?a.jsxs(a.Fragment,{children:[_("wordSearch.resultTitlePrefix","\uCD1D "),a.jsx("span",{style:{color:"var(--color-main)"},children:t}),_("wordSearch.resultTitleSuffix",{unit:w?Vc(o):o})]}):void 0,he=t!==void 0&&t>0&&u!==void 0&&o?_("wordSearch.resultDisc",{unit:w?qc(o):o,max:u,selected:l.length}):void 0,me=f??he,ve=i?i.length===0:n.length===0,xe=sT([i,oe,H,re,K]),Ie=ve&&!C&&!b;return a.jsxs(yr,{type:x,className:ke("word-search-result-block",m),children:[a.jsxs("div",{ref:xe,className:ke("word-search-result-block__inner",Ie&&"word-search-result-block__inner--head-only"),children:[(O||q||me)&&a.jsxs("div",{className:"word-search-result-block__head",children:[a.jsxs("div",{className:"word-search-result-block__head-main",children:[e&&a.jsx(lt,{icon:e,className:"word-search-result-block__head-icon"}),O&&a.jsx("span",{className:"word-search-result-block__title h3",children:O})]}),q&&a.jsx("div",{className:"word-search-result-block__head-actions",children:q}),me&&a.jsx("div",{className:"word-search-result-block__head-disc body-3",children:me})]}),ve&&(C||b)&&a.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[C&&a.jsx("p",{className:"word-search-result-block__empty body-3",children:_("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),b&&a.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:b})]}),i?(V??[]).map(Be=>a.jsxs("div",{className:"word-search-result-block__group",role:"group","aria-labelledby":`${G}-${Be.label}`,children:[a.jsx("div",{className:"word-search-result-block__group-label caption-1b",id:`${G}-${Be.label}`,children:Be.label}),a.jsx("div",{className:"word-search-result-block__items",children:Be.items.map(Ee=>{const Ae=l.includes(Ee.id);return a.jsx("div",{onMouseEnter:Ne=>{y(Ne.currentTarget),E(Ee.words??[])},onMouseLeave:A,children:a.jsx(ge,{htmlType:"button",size:"word",align:"grid",label:(Ee.words??[]).map(Ne=>Ne.label),subLabel:(Ee.words??[]).some(Ne=>Ne.subLabel)?(Ee.words??[]).map(Ne=>Ne.subLabel):void 0,selected:Ae,onClick:()=>ie(Ee.id),minWidth:200})},Ee.id)})})]},Be.label)):a.jsx("div",{className:"word-search-result-block__items",children:oe.map(Be=>{const Ee=l.includes(Be.id);return a.jsx("div",{onMouseEnter:Ae=>{y(Ae.currentTarget),E(Be.words??[])},onMouseLeave:A,children:a.jsx(ge,{htmlType:"button",size:"word",align:"grid",label:(Be.words??[]).map(Ae=>Ae.label),subLabel:(Be.words??[]).some(Ae=>Ae.subLabel)?(Be.words??[]).map(Ae=>Ae.subLabel):void 0,selected:Ee,onClick:()=>ie(Be.id),minWidth:200})},Be.id)})}),B&&S&&a.jsx(im,{words:B,anchorRect:S})]}),(p||h)&&a.jsxs("div",{className:"word-search-result-block__actions",children:[p&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:_("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:l.length===0,onClick:l.length===0?void 0:p}),h&&a.jsx("div",{onClick:l.length===0?d:void 0,children:a.jsx(ge,{htmlType:"button",size:"56",type:"bar",variant:"main",label:_("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:l.length===0,onClick:l.length===0?void 0:h})})]})]})}var pT='.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}}';se(pT);function hT(e,t){return t.map(o=>{const r=typeof o=="string"?o:o.label,n=typeof o=="string"?void 0:o.displayLabel;return{label:r,value:e[r]??"",displayLabel:n}})}function YC({sections:e,selectedList:t,count:o,onCountChange:r,maxCount:n=4,minCount:i=1,combinationSections:l,combinationSectionsForSlot:c,onSelect:u,placeholder:p="-",className:h,title:d,titleIcon:m,disc:b,showInfoButton:C=!0,onClearPhoneme:x,onSearch:f,onSearchEmpty:g,searchDisabled:_=!1,searchLabel:v,searchChecking:w=!1,pairMode:S=!1,sectionType:y="page",beforeSearchContent:k,beforeContent:B,afterContent:E,hideCountControl:A=!1,ordinal:j=!1}){const{t:D}=we.useTranslation(),L=s.useMemo(()=>D("wordPairs.infoNotes",{returnObjects:!0}),[D]),I=s.useMemo(()=>Array.from({length:n-i+1},(M,P)=>{const N=i+P;return{key:String(N),label:D("wordPairs.count",{n:N})}}),[D,n,i]),R=s.useMemo(()=>D("wordPairs.ordinals",{returnObjects:!0}),[D]),H=s.useCallback(M=>j?D("wordPairs.phonemeOrdinalLabel",{ordinal:R[M-1]??M}):o===1?D("wordPairs.phonemeSingleLabel","\uC74C\uC808"):D("wordPairs.phonemeN",{n:M}),[j,R,o,D]),T=s.useCallback(M=>j?D("wordPairs.phonemeContrastOrdinalLabel",{ordinal:R[M-1]??M}):o===1?D("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):D("wordPairs.phonemeContrast",{n:M}),[j,R,o,D]),F=s.useCallback((M,P)=>P?a.jsxs(a.Fragment,{children:[M,a.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):M,[]),{anchorRect:W,toggleAt:K,close:Y}=an(),z=s.useCallback(M=>r(Number(M)),[r]),X=Ao("(max-width: 767px)"),Z=s.useCallback(M=>hT(M,e).map(({label:P,value:N,displayLabel:U})=>{const ne=!!N&&N!=="\uC5C6\uC74C";return a.jsxs("span",{className:ke("phoneme-select-block__cell-jamo-part",N?"":"phoneme-select-block__cell-jamo-part--empty",ne?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[a.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${N==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:N==="\uC5C6\uC74C"?"x":N||p}),ne&&a.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:U??P})]},P)}),[e,p]),J=a.jsxs(a.Fragment,{children:[a.jsx("div",{"data-tooltip-ignore":!0,children:a.jsx(ge,{htmlType:"button",size:40,type:X?"dot":void 0,icon:"info",label:X?void 0:D("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),ariaLabel:D("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),className:W?"is-selected":void 0,"aria-expanded":!!W,"aria-haspopup":"dialog",onClick:M=>K(M.currentTarget)})}),W&&a.jsx(ka,{title:D("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:L,anchorRect:W,onClose:Y})]});return a.jsxs(yr,{type:y,title:d,icon:m,disc:b,action:C?J:void 0,className:ke("phoneme-select-block",h),children:[B,!A&&a.jsx("div",{className:"phoneme-select-block__controls",children:a.jsx($o,{options:I,value:String(o),onChange:z,size:40,ariaLabel:D("wordPairs.countLabel","\uC74C\uC18C \uAC1C\uC218"),className:"phoneme-select-block__count-control"})}),a.jsx("div",{className:"phoneme-select-block__cells",children:S?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2]??{};return a.jsxs("div",{className:"phoneme-select-block__cell",children:[a.jsx("div",{className:"phoneme-select-block__cell-circle",children:a.jsx("div",{className:"phoneme-select-block__cell-jamo",children:Z(N)})}),a.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:H(P+1)})]},P)})}),a.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:D("wordPairs.phonemeSelect.vs","\uB300")}),a.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2+1]??{};return a.jsxs("div",{className:"phoneme-select-block__cell",children:[a.jsx("div",{className:"phoneme-select-block__cell-circle",children:a.jsx("div",{className:"phoneme-select-block__cell-jamo",children:Z(N)})}),a.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:T(P+1)})]},P)})})]}):t.map((M,P)=>a.jsxs("div",{className:"phoneme-select-block__cell",children:[a.jsx("div",{className:"phoneme-select-block__cell-circle",children:a.jsx("div",{className:"phoneme-select-block__cell-jamo",children:Z(M)})}),a.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:H(P+1)})]},P))}),(l||c)&&a.jsx("div",{className:"phoneme-select-block__panels",children:a.jsx("div",{className:"phoneme-select-block__detail",children:S?a.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[a.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2]??{};return a.jsx(ba,{title:F(H(P+1),P===0),sections:c?c(N,P*2):l,selected:N,onSelect:u?.(P*2),align:"newline"},P)})}),a.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2+1]??{};return a.jsx(ba,{title:T(P+1),sections:c?c(N,P*2+1):l,selected:N,onSelect:u?.(P*2+1),align:"newline"},P)})})]}):t.map((M,P)=>a.jsx(ba,{title:F(H(P+1),P===0),sections:c?c(M,P):l,selected:M,onSelect:u?.(P),align:"newline"},P))})}),k&&a.jsx("div",{className:"phoneme-select-block__before-search",children:k}),(x||f||w)&&(()=>{const M=t.every(P=>{const N=m3(P);return Object.entries(N).every(([U,ne])=>!ne||U==="coda"&&ne===Nb)});return a.jsxs("div",{className:"phoneme-select-block__search-row",onClick:M?g:void 0,children:[x&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:D("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:M,onClick:M?void 0:x}),f?a.jsx(ge,{htmlType:"button",size:"56",type:"bar",variant:"main",icon:w?a.jsx("span",{className:"phoneme-select-block__spinner","aria-hidden":"true"}):void 0,label:v??D("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:M||_||w,onDisabledClick:w?()=>{}:void 0,"aria-busy":w||void 0,onClick:f}):w?a.jsxs("div",{className:"phoneme-select-block__checking","aria-busy":"true",children:[a.jsx("div",{className:"phoneme-select-block__spinner"}),a.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:v??D("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):null]})})(),E]})}function KC({title:e,sections:t,selected:o,onSelect:r,collapsible:n,defaultCollapsed:i,collapsed:l,onCollapsedChange:c,headerSummary:u,headerAction:p,className:h}){const{t:d}=we.useTranslation();return a.jsx(ba,{className:h,title:e??d("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:t,selected:o,onSelect:r,collapsible:n,defaultCollapsed:i,collapsed:l,onCollapsedChange:c,headerSummary:u,headerAction:p,align:"inline"})}function XC({title:e,headerAction:t,sections:o,selected:r,onSelect:n,className:i}){const{t:l}=we.useTranslation();return o.length===0?null:a.jsx(ba,{className:i,title:e??l("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:t,sections:o,selected:r,onSelect:n,align:"newline"})}function ZC({title:e,mode:t,onModeChange:o,matchMode:r,onMatchModeChange:n,positionCount:i,onPositionCountChange:l,inputMode:c,onInputModeChange:u,className:p}){const{t:h}=we.useTranslation(),d={searchMode:h("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:h("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:h("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:h("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:h("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:h("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:h("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:h("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:h("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:h("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:h("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=f=>h("wordPairs.count",{n:f}),b=[{label:d.searchMode,items:[d.include,d.pick,d.explicit],display:"segmented",labelAction:a.jsx(nn,{title:h("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[h("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."),h("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."),h("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:d.phonemeOrder,items:[d.orderAny,d.orderMatch],display:"segmented",labelAction:a.jsx(nn,{items:h("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:d.count,items:[m(1),m(2)],display:"segmented"},{label:d.inputMode,items:[d.charInput,d.pronInput],display:"segmented",labelAction:a.jsx(nn,{title:h("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[h("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."),h("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.")]})}],C={[d.searchMode]:t==="explicit"?d.explicit:t==="pick"?d.pick:d.include,[d.phonemeOrder]:r==="ordered"?d.orderMatch:d.orderAny,[d.count]:m(i),[d.inputMode]:c==="phoneme"?d.pronInput:d.charInput},x=(f,g)=>{g===d.searchMode?o(f===d.explicit?"explicit":f===d.pick?"pick":"include"):g===d.phonemeOrder?n(f===d.orderMatch?"ordered":"unordered"):g===d.count?l(f===m(2)?2:1):g===d.inputMode&&u(f===d.pronInput?"phoneme":"word")};return a.jsx(ba,{className:p,title:e??h("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:b,selected:C,onSelect:x,align:"inline"})}var mT=".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}";se(mT);function JC(e){const{title:t,items:o,columns:r,resizeStorageKey:n,gridTemplateColumns:i,mobileGridTemplateColumns:l,searchPlaceholder:c,searchFn:u,defaultSortKey:p,defaultSortAsc:h=!0,selectedId:d,selectedIds:m,onSelect:b,onClose:C,pageSizeOptions:x=[10,25,50,100],initialPageSize:f,emptyText:g,noMatchText:_,countLabel:v,topContent:w,className:S=""}=e,{t:y}=we.useTranslation(),k=c??y("common.search","\uAC80\uC0C9"),B=g??y("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),E=_??y("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"),[A,j]=s.useState(""),[D,L]=s.useState(p??r[0]?.key??""),[I,R]=s.useState(h),[H,T]=s.useState(String(f??x[0]??10)),[F,W]=s.useState(1);s.useEffect(()=>{W(1)},[A,H]);const K=u!==null,Y=s.useCallback((re,Q)=>{if(!Q)return!0;const ce=Q.toLowerCase();return r.some(Se=>{const ue=re[Se.key];return ue==null?!1:String(ue).toLowerCase().includes(ce)})},[r]),z=u??Y,X=s.useMemo(()=>{const re=K?o.filter(Q=>z(Q,A)):o;return D?[...re].sort((Q,ce)=>{const Se=Q[D],ue=ce[D];return Se===ue?0:Al(Se,ue,I)}):re},[o,A,D,I,K,z]),Z=Math.max(1,Math.ceil(X.length/Number(H)));F>Z&&W(Z);const J=Math.min(F,Z),M=X.slice((J-1)*Number(H),J*Number(H)),P=s.useCallback(re=>{D===re?R(Q=>!Q):(L(re),R(!0)),W(1)},[D]),N=s.useMemo(()=>{if(typeof v=="function"){const re=X.length,Q=v(re);if(typeof Q=="string"){const ce=Q.lastIndexOf(String(re));if(ce>=0)return{prefix:Q.slice(0,ce),suffix:Q.slice(ce+String(re).length)}}return{label:Q}}if(typeof v=="string"&&v.includes("{n}")){const[re,Q]=v.split("{n}");return{prefix:re,suffix:Q}}return{prefix:y("common.totalCountPrefix","\uCD1D "),suffix:y("common.totalCountSuffix","\uAC1C")}},[v,X.length,y]),U=s.useMemo(()=>r.map(re=>({label:re.label,onClick:re.sortable!==!1?()=>P(re.key):void 0,className:re.className,sortDir:re.sortable!==!1&&D===re.key?I?"asc":"desc":null})),[r,D,I,P]),ne=_p(x);return a.jsxs(pa,{className:`popup-list ${S}`,title:t,onClose:C,children:[w,"label"in N&&a.jsx("p",{className:"toolbar__count body-1",children:N.label}),a.jsx(Xl,{count:"label"in N?void 0:{value:X.length,prefix:N.prefix,suffix:N.suffix},search:K?{value:A,onChange:j,placeholder:k}:void 0,pageSize:{options:ne,value:H,onChange:T},pagination:{page:J,total:Z,onChange:W}}),a.jsx(os,{gridTemplateColumns:i,mobileGridTemplateColumns:l,resizable:!0,resizeStorageKey:n,fields:U,items:M,onRowClick:b,renderRow:re=>{const Q=m!=null?re.id!=null&&m.has(re.id):d!=null&&re.id===d;return r.map(ce=>({content:ce.render?ce.render(re):re[ce.key]??"",className:ke(ce.className,Q&&"popup-list__row--selected")}))},empty:K&&A!==""&&o.length>0?E:B})]})}function lm(e,t,o={}){const{t:r}=we.useTranslation(),[n,i]=s.useState(!1),l=s.useRef(!1),c=s.useCallback(()=>{l.current=!0},[]),u=s.useCallback(()=>l.current?(l.current=!1,!0):e?(i(!0),!1):!0,[e]),p=n?a.jsx(li,{title:o.title??r("common.discardConfirm.title","\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?"),message:o.message??r("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:o.confirmLabel??r("common.discardConfirm.confirm","\uC785\uB825 \uCDE8\uC18C"),confirmVariant:"danger",onConfirm:()=>{i(!1),t()},onClose:()=>i(!1)}):null;return{beforeClose:u,discardPopup:p,allowClose:c}}function QC(e,t,o={}){const r=JSON.stringify(e),[n,i]=s.useState(r),l=r!==n,c=lm(l,t,o),u=s.useRef(r);u.current=r;const p=s.useCallback(()=>i(u.current),[]);return{...c,isDirty:l,rebase:p}}var bT=".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}";se(bT);function e_({onApply:e,onCancel:t}){const{t:o}=we.useTranslation(),[r,n]=s.useState(""),[i,l]=s.useState(!1),[c,u]=s.useState(null),p=s.useRef(null),h=s.useId();s.useEffect(()=>{p.current?.focus()},[]);const d=s.useCallback(async C=>{const x=r.trim();if(x){l(!0),u(null);try{await e(x),C()}catch(f){u(Wr(f)),l(!1),requestAnimationFrame(()=>p.current?.focus())}}},[r,e]),m=s.useCallback((C,x)=>{C.key==="Enter"&&!C.nativeEvent.isComposing&&d(x)},[d]),b=C=>{n(C.target.value),u(null)};return a.jsx(pa,{className:"coupon-input-popup",title:o("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:t,closeDisabled:i,buttons:[{label:o("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:i,onClick:({closeWithAnimation:C})=>C()},{label:o("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!r.trim()||i,onClick:({closeWithAnimation:C})=>{d(C)}}],children:({closeWithAnimation:C})=>a.jsxs(a.Fragment,{children:[a.jsx("input",{ref:p,className:"coupon-input-popup__input body-2","aria-label":o("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),"aria-invalid":c?!0:void 0,"aria-errormessage":c?h:void 0,"aria-describedby":c?h:void 0,placeholder:o("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:r,onChange:b,onKeyDown:x=>m(x,C),disabled:i,autoComplete:"off",spellCheck:!1}),c&&a.jsx("p",{id:h,className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}var gT=".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}";se(gT);const t_=["var(--color-main)","var(--color-sub)"],fT=2e3;function vT(e,t){if(!t.startsWith("var("))return t;try{const o=t.slice(4,-1).trim();return getComputedStyle(e).getPropertyValue(o).trim()||null}catch{return null}}function As({active:e=!1,count:t=40,duration:o=2e3,strength:r=1,onComplete:n,trigger:i=0}){const l=s.useMemo(()=>{const x=Math.floor(t/2),f=t-x,g=(_,v)=>Array.from({length:_}).map((w,S)=>{const y=6+Math.random()*12,k=Math.round(Math.min(18,y*Math.min(1.5,1+r*.4))),B=t_[Math.floor(Math.random()*t_.length)],E=Math.random()*300,A=(360+Math.random()*260)*r*1.2,j=(v==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,D=Math.cos(j)*A,L=Math.sin(j)*A*1.35,I=Math.random()*720-360,R=(1200+Math.random()*3e3)*Math.min(1.6,1+r*.3),H=Math.random()>.7?"50%":"3px";return{id:`${v}-${S}`,side:v,size:k,color:B,delay:E,vx:D,vy:L,angularVel:I,life:R,borderRadius:H}});return[...g(x,"left"),...g(f,"right")]},[t,r]),c=s.useRef(null),u=s.useRef({}),p=s.useRef(null),h=s.useRef(n);s.useEffect(()=>{h.current=n},[n]);const d=s.useRef(null),m=s.useRef(null),b=()=>{if(typeof document>"u")return null;let x=document.querySelector("[data-ihab-effect-root]");return x||(x=document.createElement("div"),x.className="app-effect",x.dataset.ihabEffectRoot="",x.style.position="fixed",x.style.inset="0",x.style.pointerEvents="none",x.style.zIndex="99998",document.body.appendChild(x)),x};if(typeof document<"u"&&m.current==null&&(m.current=b()),s.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){const Y=setTimeout(()=>h.current?.(),0);return()=>clearTimeout(Y)}const x=1200,f=performance.now(),g=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,_=Math.max(60,(window.innerHeight||800)*.05),v=Y=>Math.max(40,(Y||window.innerWidth)*.02),w=g?.width||window.innerWidth||375,S=g?.height||window.innerHeight||812,y=Y=>{const z=[...Y].sort((X,Z)=>X-Z);return z[Math.floor(z.length/2)]||1},k=y(l.map(Y=>Math.abs(Y.vy))),B=y(l.map(Y=>Math.abs(Y.vx))),E=Math.sqrt(2*x*(S*.72+_))/k,A=k*E/x,j=w*.5/(B*A),D=(Y,z,X)=>Math.min(X,Math.max(z,Y)),L=D(E,.8,2.4),I=D(j,.7,2.2),R=o>0?o/fT:1,H=l.map(Y=>({...Y,life:Y.life*R,vx:Y.vx*I,vy:Y.vy*L,startTime:f+Y.delay,ended:!1})),T=g?{x:g.left-v(g.width),y:g.top+g.height+_}:{x:-v(window.innerWidth),y:window.innerHeight+_},F=g?{x:g.left+g.width+v(g.width),y:g.top+g.height+_}:{x:window.innerWidth+v(window.innerWidth),y:window.innerHeight+_},W=Y=>{let z=!1;for(const X of H){const Z=u.current[X.id];if(!Z||!Z)continue;if(Y<X.startTime){Z.style.display="none",z=!0;continue}if(!X._inited){const Se=X.side==="left"?T.x:F.x,ue=X.side==="left"?T.y:F.y;Z.style.left=`${Se}px`,Z.style.top=`${ue}px`,Z.style.transform="translate3d(0px, 0px, 0)",Z.style.display="block",Z.style.zIndex="100000",typeof X.color=="string"&&X.color.startsWith("var(")&&(Z.style.background=vT(Z,X.color)??"#FF0060"),X._inited=!0}const J=(Y-X.startTime)/1e3;if(J<0)continue;const M=X.life/1e3;if(J>=M){Z.style.opacity="0",Z.style.display="none",X.ended=!0;continue}z=!0;const P=X.side==="left"?T.x:F.x,N=X.side==="left"?T.y:F.y,U=P+X.vx*J,ne=N+X.vy*J+.5*x*J*J,re=(X.angularVel||0)*J,Q=U-P,ce=ne-N;Z.style.transform=`translate3d(${Q}px, ${ce}px, 0) rotate(${re}deg)`,Z.style.opacity=`${Math.max(0,1-J/M)}`}z?p.current=requestAnimationFrame(W):h.current?.()};p.current=requestAnimationFrame(W);const K=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const Y=document.createElement("div");Y.className="party-container",Y.style.position="fixed",Y.style.inset="0",Y.style.pointerEvents="none",Y.style.overflow="visible",Y.style.zIndex="2147483647";for(const z of l){const X=document.createElement("span");X.className=`confetti confetti--${z.side}`,X.setAttribute("aria-hidden","true"),X.style.display="none",X.style.position="fixed",X.style.left="0px",X.style.top="0px",X.style.width=`${z.size}px`,X.style.height=`${Math.max(4,z.size*.6)}px`,X.style.background=z.color,X.style.borderRadius=z.borderRadius,X.style.transform="translate3d(0,0,0)",X.style.opacity="0",Y.appendChild(X),u.current[z.id]=X}(document.body||m.current).appendChild(Y),d.current=Y}}catch{}},300);return()=>{if(p.current&&cancelAnimationFrame(p.current),clearTimeout(K),d.current){try{d.current.remove()}catch{}d.current=null}}},[e,o,i,l]),!e)return null;const C=a.jsx("div",{className:"party-container",ref:c,children:l.map(x=>a.jsx("span",{"aria-hidden":!0,ref:f=>{u.current[x.id]=f},className:`confetti confetti--${x.side}`,style:{width:`${x.size}px`,height:`${Math.max(4,x.size*.6)}px`,background:x.color,borderRadius:x.borderRadius}},`${x.id}-${i}`))});return typeof document<"u"?jo.createPortal(C,m.current||document.body):C}const sm=e=>typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0;function o_({trigger:e=0,active:t=!1}){const[o,r]=s.useState(null);s.useEffect(()=>{if(typeof window>"u")return;const i=l=>{const c=l.detail??{};r(u=>({n:(u?.n??0)+1,count:sm(c.count),strength:sm(c.strength),duration:sm(c.duration)}))};return window.addEventListener("party:trigger",i),()=>window.removeEventListener("party:trigger",i)},[]);const n=s.useCallback(()=>r(null),[]);return a.jsxs(a.Fragment,{children:[a.jsx(As,{active:t,trigger:e}),o&&a.jsx(As,{active:!0,trigger:o.n,count:o.count,strength:o.strength,duration:o.duration,onComplete:n})]})}var xT=".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%)}";se(xT);function a_({title:e,sub:t,rightAction:o,titleAction:r,badge:n,badgeVariant:i="default",documentTitle:l,onBack:c,backLabel:u,wrap:p=!1}){const{t:h}=we.useTranslation();Fd(typeof e=="string"?e:l??null);const d=u??h("common.back","\uB4A4\uB85C");return a.jsxs("div",{className:p?"page-title page-title--wrap":"page-title",children:[a.jsxs("div",{className:"page-title__main",children:[a.jsxs("div",{className:"page-title__title-row",children:[c&&a.jsx(ge,{htmlType:"button",className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:d,showTooltipInfo:d,onClick:c}),a.jsx("h1",{className:"page-title__title h1",children:e}),n&&a.jsx("div",{className:"page-title__badge",children:a.jsx(Co,{label:n,size:"small",variant:i,fill:"outline"})}),r?a.jsx("div",{className:"page-title__title-action",children:r}):null]}),t&&a.jsx("p",{className:"page-title__sub body-2",children:t})]}),o?a.jsx("div",{className:"page-title__action",children:o}):null]})}function r_(e){return e??""}const n_=s.createContext({words:[],loading:!1});function i_(){return s.useContext(n_)}function l_({words:e,loading:t,error:o,statusMessage:r,localVersion:n,remoteVersion:i,progress:l,clearAndRefetch:c,checkRemoteVersion:u,children:p}){const h=s.useMemo(()=>({words:e,loading:t,error:o,statusMessage:r,localVersion:n,remoteVersion:i,progress:l,clearAndRefetch:c,checkRemoteVersion:u}),[e,t,o,r,n,i,l,c,u]);return a.jsx(n_.Provider,{value:h,children:p})}var CT=".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)}";se(CT);function s_({items:e,actions:t,columns:o,flat:r=!1,className:n,style:i}){const l=o??e.length;return a.jsx("section",{className:ke("summary-strip",r&&"summary-strip--flat",n),style:{"--summary-strip-cols":String(l),...i},children:a.jsxs("div",{className:"summary-strip__row",children:[a.jsx("div",{className:"summary-strip__items",children:e.map((c,u)=>a.jsxs("div",{className:"summary-strip__item",children:[a.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),a.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})]},u))}),t&&a.jsx("div",{className:"summary-strip__actions",children:t})]})})}var _T='.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}}';se(_T);const yT=(e,t)=>`${e} / ${t}`;function c_({blocks:e,sectionTitles:t,logo:o,footer:r,pageLabel:n=yT,pageWidth:i,pageHeight:l,margin:c,className:u,style:p}){const{t:h}=we.useTranslation(),d=s.useRef(null),m=s.useRef(null),b=s.useRef(null),C=s.useRef(null),[x,f]=s.useState(null),[g,_]=s.useState(!1);s.useEffect(()=>{const R=d.current;if(!R)return;const H=()=>_(R.scrollWidth>R.clientWidth+1);if(H(),typeof ResizeObserver>"u")return;const T=new ResizeObserver(H);return T.observe(R),()=>T.disconnect()},[x]);const v=e.map(R=>`${R.id}\0${R.section??""}\0${R.group??""}`).join(""),w=x&&x.shape===v?x.pages:null,[S,y]=s.useState(0);s.useEffect(()=>{const R=C.current;if(!R||typeof ResizeObserver>"u")return;const H=new ResizeObserver(()=>y(R.offsetHeight));return H.observe(R),()=>H.disconnect()},[]);const[k,B]=s.useState(0);s.useEffect(()=>{const R=m.current;if(!R||typeof ResizeObserver>"u")return;let H=null;const T=typeof requestAnimationFrame=="function"?K=>requestAnimationFrame(K):K=>setTimeout(K,16),F=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:K=>clearTimeout(K),W=new ResizeObserver(()=>{H==null&&(H=T(()=>{H=null,B(K=>K+1)}))});return Array.from(R.children).forEach(K=>W.observe(K)),()=>{W.disconnect(),H!=null&&F(H)}},[v]),s.useLayoutEffect(()=>{const R=m.current,H=C.current;if(!R||!H)return;const T=M=>M.getBoundingClientRect().height||M.offsetHeight,F=new Map;b.current?.querySelectorAll("[data-chrome-section]").forEach(M=>{F.set(M.dataset.chromeSection??"",T(M))});const W=M=>T(H)-(F.get(M??"")??0),K=Array.from(R.children).map(M=>T(M)),Y=[];e.forEach((M,P)=>{const N=Y[Y.length-1],U=N?e[N[0]]:void 0;U&&M.group!=null&&U.group===M.group&&U.section===M.section?N.push(P):Y.push([P])});const z=[];let X=[],Z=0;const J=()=>{X.length&&z.push(X),X=[],Z=0};Y.forEach(M=>{const P=M.reduce((U,ne)=>U+K[ne],0),N=W(e[M[0]].section);X.length&&e[X[0]].section!==e[M[0]].section&&J(),P>N?M.forEach(U=>{X.length&&Z+K[U]>N+.01&&J(),X.push(U),Z+=K[U]}):(X.length&&Z+P>N+.01&&J(),M.forEach(U=>X.push(U)),Z+=P)}),J(),f(M=>M&&M.shape===v&&JSON.stringify(M.pages)===JSON.stringify(z)?M:{shape:v,pages:z})},[v,S,i,l,c,k]);const E=Pp,A=E,j=r??a.jsxs(a.Fragment,{children:[a.jsx("img",{src:A,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),D=(R,H,T)=>({header:a.jsxs("div",{className:"report-doc__header",children:[a.jsx("h2",{className:"report-doc__title h3b",children:T!=null&&t?.[T]||null}),o]}),footer:a.jsxs("div",{className:"report-doc__footer caption-1",children:[a.jsx("span",{className:"report-doc__footer-left",children:j}),a.jsx("span",{className:"report-doc__page-no",children:n(R,H)})]})}),L=Array.from(new Set(e.map(R=>R.section??""))),I={...i?{"--report-page-w":i}:null,...l?{"--report-page-h":l}:null,...c?{"--report-margin":c}:null,...p};return a.jsxs("div",{ref:d,className:ke("report-doc",u),style:I,tabIndex:g?0:void 0,role:g?"group":void 0,"aria-label":g?h("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[a.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[a.jsx("div",{ref:C,className:"report-doc__ruler"}),a.jsx("div",{ref:b,children:L.map(R=>{const H=D(1,1,R||void 0);return a.jsxs("div",{"data-chrome-section":R,children:[H.header,H.footer]},R)})}),a.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(R=>a.jsx("div",{children:R.content},R.id))})]}),w&&a.jsx("div",{className:"report-doc__pages",children:w.map((R,H)=>{const{header:T,footer:F}=D(H+1,w.length,e[R[0]].section);return a.jsxs("section",{className:"report-doc__page",children:[T,R.map(W=>a.jsx("div",{children:e[W].content},e[W].id)),F]},H)})})]})}var wT=".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);min-width:0}.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);min-width:0;overflow-wrap:anywhere}";se(wT);function u_({title:e,fields:t,columns:o=4,className:r,style:n}){return a.jsxs("div",{className:ke("report-info",r),style:{"--report-info-cols":String(o),...n},children:[e&&a.jsx("p",{className:"report-info__title h5b",children:e}),a.jsx("div",{className:"report-info__grid",children:t.map((i,l)=>a.jsxs("div",{className:"report-info__field body-2",children:[a.jsx("span",{className:"report-info__label body-3",children:i.label}),a.jsx("span",{className:"report-info__value",children:i.value})]},l))})]})}const Ar=new Map;let Ss=null;const kT=12;function BT(e){for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){const o=window.getComputedStyle(t);if(o.transform&&o.transform!=="none"||o.filter&&o.filter!=="none"||o.perspective&&o.perspective!=="none"||/paint|layout|strict|content/.test(o.contain||""))return t}return document}function Es(){const e=new Map;for(const t of Ar.keys()){if(!t.isConnected)continue;const o=BT(t),r=e.get(o)??[];r.push(t),e.set(o,r)}for(const t of e.values()){t.sort((r,n)=>r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);let o=0;for(const r of t){o>0?r.style.setProperty("--update-alert-stack-offset",`${o}px`):r.style.removeProperty("--update-alert-stack-offset");const n=r.getBoundingClientRect().height;n>0&&(o+=n+kT)}}}function AT(e){return typeof window>"u"?()=>{}:(Ar.set(e,(Ar.get(e)??0)+1),Ar.get(e)===1&&typeof ResizeObserver<"u"&&(Ss??(Ss=new ResizeObserver(()=>Es())),Ss.observe(e)),Es(),()=>{const t=(Ar.get(e)??1)-1;if(t>0){Ar.set(e,t),Es();return}Ar.delete(e),Ss?.unobserve(e),e.style.removeProperty("--update-alert-stack-offset"),Es()})}var ST=".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:color-mix(in srgb,var(--color-white) 92%,transparent);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:var(--color-gray);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:var(--color-text-primary)}.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:var(--color-text-primary);text-align:left}.ihabdevteam-core-scope .update-alert__message{color:var(--color-darkGray);margin-top:2px;text-align:left}.ihabdevteam-core-scope .update-alert__action{width:100%}";se(ST);function d_({title:e,message:t,actionLabel:o,onAction:r,icon:n,onClose:i,className:l=""}){const{t:c}=we.useTranslation(),u=o??c("common.update","\uC5C5\uB370\uC774\uD2B8"),p=s.useRef(null),h=s.useRef(!1);return s.useLayoutEffect(()=>{const d=p.current,m=d?.parentElement?.closest(".update-alert-stack")??d,b=m?AT(m):null;return()=>{b?.(),h.current&&d&&d.contains(document.activeElement)&&vl(d)}},[]),a.jsxs("div",{ref:p,className:ke("update-alert",l),role:"alert",children:[i&&a.jsx("button",{type:"button",className:"update-alert__close",onClick:()=>{h.current=!0,i()},"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),a.jsxs("div",{className:"update-alert__top",children:[a.jsx("div",{className:"update-alert__icon",children:n??a.jsx(Em,{size:20,strokeWidth:2})}),a.jsxs("div",{className:"update-alert__body",children:[a.jsx("div",{className:"update-alert__title h4",children:e}),a.jsx("div",{className:"update-alert__message body-3",children:t})]})]}),r&&a.jsx(ge,{htmlType:"button",size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:r,children:u})]})}var ET=".ihabdevteam-core-scope .training-card{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);display:flex;flex:none;flex-direction:column;gap:10px;max-width:100%;padding:18px;padding:var(--training-card-padding,18px);position:relative;transition:border-color .15s,box-shadow .15s;width:344px;width:var(--training-card-width,344px)}.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:0;align-items:start;-moz-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;row-gap:0}.ihabdevteam-core-scope .training-card__title-row{display:contents}.ihabdevteam-core-scope .training-card__header>.training-card__category{grid-area:1/1;margin-bottom:2px;min-width:0}.ihabdevteam-core-scope .training-card__title-row>:first-child{grid-area:2/1;min-width:0}.ihabdevteam-core-scope .training-card__header>:last-child{grid-area:3/1;margin-top:6px}.ihabdevteam-core-scope .training-card__category{color:var(--color-main-ink,var(--color-main));font-weight:600;margin:0;min-height:1lh;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__category--sub{color:var(--color-sub)}.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/4;margin-right:-20px;margin-top:-20px}.ihabdevteam-core-scope .training-card__top-actions--framed{margin-right:0;margin-top:0}.ihabdevteam-core-scope .training-card__publisher{background:none;border:none;color:var(--color-gray);cursor:pointer;font-size:11px;font-weight:400;margin-block:-6px;max-width:120px;min-height:24px;overflow:hidden;padding:0;padding-block:6px;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-lightGray);margin:0;min-height:1.55em;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__body{align-items:center;display:flex;flex:1;flex-direction:column;gap:8px;justify-content:center;min-height:72px}.ihabdevteam-core-scope .training-card__empty{color:var(--color-lightGray)}.ihabdevteam-core-scope .training-card__body--empty,.ihabdevteam-core-scope .training-card__footer--empty{pointer-events:none}.ihabdevteam-core-scope .training-card__menu-host{display:contents}.ihabdevteam-core-scope .training-card__types{display:flex;flex-wrap:wrap;gap:6px;gap:var(--training-card-tile-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;box-sizing:border-box;display:flex;gap:var(--spacing-xs);justify-content:space-between;margin-top:auto;min-height:28px;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}.ihabdevteam-core-scope .training-card__publisher--static{cursor:default}.ihabdevteam-core-scope .training-card__publisher--static:hover{color:var(--color-gray);text-decoration:none}";se(ET);function p_({title:e,titleLevel:t=3,category:o,categoryVariant:r="main",description:n,topActions:i,actions:l,children:c,footerLeft:u,footerRight:p,ariaLabel:h,onClick:d,draggable:m,onDragStart:b,onDragEnd:C,className:x}){const f=t?`h${t}`:"div",{t:g}=we.useTranslation(),[_,v]=s.useState(null),w=s.useCallback(()=>v(null),[]),S=s.useCallback(j=>{const D=j.currentTarget.getBoundingClientRect();v(L=>L?null:{left:D.left,right:D.right,top:D.top,bottom:D.bottom,width:D.width,height:D.height,x:D.x,y:D.y})},[]),y=(l??[]).filter(Boolean),k=(y.length===1?a.jsx(ge,{htmlType:"button",type:"dot",size:40,icon:y[0].icon,ariaLabel:y[0].label,showTooltipInfo:y[0].label,selected:y[0].selected,disabled:y[0].disabled,variant:y[0].variant??"default",onClick:y[0].onClick}):y.length>1?a.jsx(ge,{htmlType:"button",type:"dot",size:40,icon:"ellipsis",ariaLabel:g("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:g("common.more","\uB354\uBCF4\uAE30"),variant:"transparent-lightGray",useBorder:!1,"aria-haspopup":"menu","aria-expanded":!!_,onClick:S}):null)??i,B=u!=null||p!=null,E=c!=null&&c!==!1,A=s.useCallback(j=>{d&&j.target===j.currentTarget&&(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),d())},[d]);return a.jsxs("div",{className:ke("training-card",d?"training-card--clickable":"",x),onClick:d,onKeyDown:d?A:void 0,role:d?"button":void 0,"aria-label":d?h??(typeof e=="string"?e:void 0):void 0,tabIndex:d?0:void 0,draggable:m,onDragStart:b,onDragEnd:C,children:[a.jsxs("div",{className:"training-card__header",children:[o!=null?a.jsx("p",{className:ke("training-card__category","caption-1",r==="sub"&&"training-card__category--sub"),children:o}):a.jsx("p",{className:"training-card__category caption-1","aria-hidden":"true",children:" "}),a.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?a.jsx(f,{className:"training-card__title h4",children:e}):e,k!=null&&a.jsx("div",{className:ke("training-card__top-actions",y.length===1&&"training-card__top-actions--framed"),onClick:j=>j.stopPropagation(),children:k})]}),n!=null?typeof n=="string"?a.jsx("p",{className:"training-card__description body-3",children:n}):n:a.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),E?a.jsx("div",{className:"training-card__body",children:c}):a.jsx("div",{className:"training-card__body training-card__body--empty","aria-hidden":"true"}),B?a.jsxs("div",{className:"training-card__footer",children:[u!=null&&a.jsx("div",{className:"training-card__footer-left",children:u}),p!=null&&a.jsx("div",{className:"training-card__meta",children:p})]}):a.jsx("div",{className:"training-card__footer training-card__footer--empty","aria-hidden":"true"}),_&&y.length>1&&a.jsx("div",{className:"training-card__menu-host",onClick:j=>j.stopPropagation(),children:a.jsx(fo,{anchorRect:_,onClose:w,ariaLabel:g("tooltip.menu","\uBA54\uB274"),children:a.jsx(Aa,{columns:[{items:y.map(j=>({label:j.label,icon:j.icon,selected:j.selected,disabled:j.disabled,onClick:j.onClick}))}],onClose:w,size:"small"})})})]})}var DT=".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;flex-wrap:wrap;gap:8px;min-height:60px;min-width:0;padding:10px 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-ink,var(--color-main));flex-shrink:0}.ihabdevteam-core-scope .training-card-group__actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;min-width:0}.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}";se(DT);function h_({title:e,titleLevel:t=3,count:o,collapsed:r=!1,onToggle:n,beforeSort:i,sort:l,actions:c,empty:u=!1,emptyContent:p,dragOver:h=!1,onDragOver:d,onDragLeave:m,onDrop:b,children:C,className:x}){const{t:f}=we.useTranslation(),g=s.useId(),_=t?`h${t}`:"span",v=n!=null,w=ke("training-card-group",h&&"training-card-group--dragover",r&&"training-card-group--collapsed",v&&"training-card-group--collapsible",x);return a.jsxs("div",{className:w,onDragOver:d,onDragLeave:m,onDrop:b,role:typeof e=="string"&&e?"group":void 0,"aria-labelledby":typeof e=="string"&&e?g:void 0,children:[a.jsxs("header",{className:"training-card-group__header",children:[v&&a.jsx(ge,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:r?"chevron-right":"chevron-down",ariaLabel:typeof e=="string"&&e?r?f("common.expandFor",{name:e}):f("common.collapseFor",{name:e}):r?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron","aria-expanded":!r,onClick:n}),typeof e=="string"?a.jsx(_,{id:g,className:"training-card-group__title h5b",children:e}):e,o!==void 0&&a.jsx("span",{className:"training-card-group__count body-3b",children:o}),(i!=null||l||c!=null)&&a.jsxs("span",{className:"training-card-group__actions",onClick:S=>S.stopPropagation(),children:[i,l&&a.jsx(Ro,{size:40,options:l.options,value:l.value,placeholder:l.placeholder,onChange:l.onChange,ariaLabel:typeof e=="string"&&e?f("common.sortFor",{name:e}):void 0}),c]})]}),!r&&(u?a.jsx("div",{className:"training-card-group__empty body-3",children:p}):a.jsx("div",{className:"training-card-group__grid",children:C}))]})}var jT=".ihabdevteam-core-scope .word-table-block__meta{background:transparent}.ihabdevteam-core-scope .word-table-block__table-actions{display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:center}.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 .word-table-block__table-actions{display:grid;grid-template-columns:repeat(2,1fr)}.ihabdevteam-core-scope .word-table-block__table-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}}";se(jT);const NT="speechear:saved_word_tables";function TT(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 LT(){try{const e=localStorage.getItem(NT);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(TT):[]}catch{return[]}}function m_(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 cm(e){return e.map(t=>t.homonum!=null?`${t.word}#${t.homonum}`:t.word).join("|")}function MT(e){const t=new Set;return e.map(o=>{let r=o.id;for(let n=2;t.has(r);n++)r=`${o.id}~${n}`;return t.add(r),r===o.id?o:{...o,id:r}})}function b_({title:e,titleIcon:t,disc:o,filterTitle:r,filterCollapsible:n,filterDefaultCollapsed:i,filterCollapsed:l,onFilterCollapsedChange:c,filterHeaderSummary:u,brand:p,code:h,baseItem:d,baseContentTypes:m,cellCapacity:b,maxItemsPerPage:C,items:x,onSaveComplete:f,onLoad:g,onRemoveItem:_,onCopyItem:v,onReplaceItem:w,onPickForm:S,onReset:y,resetLabel:k,saveButtonLabel:B,secondarySaveButtonLabel:E,onReorder:A,showCellCount:j,onAddItem:D,fillerAdd:L,className:I,renderSavePopup:R,renderWordSearch:H,hideControls:T,saveOnly:F,tableName:W,nameValue:K,onNameChange:Y,descriptionValue:z,onDescriptionChange:X,namePlaceholder:Z,descriptionPlaceholder:J,existingNames:M,editingName:P,onCancel:N,initialItemsPerPage:U,onItemsPerPageChange:ne,renderCellAction:re,actionsLeftExtra:Q}){const{t:ce}=we.useTranslation(),Se=k??ce("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),ue=x===void 0,oe=!!Y,[G,V]=s.useState([]),q=(K??"").trim(),ie=q||(Z??"").trim(),O=(z??"").trim()||(J??"").trim(),he=(M??[]).map(Me=>Me.trim().toLowerCase()),me=[P?.trim().toLowerCase(),...G].filter(Me=>!!Me),ve=[...he];for(const Me of me){const ot=ve.indexOf(Me);ot!==-1&&ve.splice(ot,1)}const xe=q!==""&&ve.includes(q.toLowerCase()),[Ie,Be]=s.useState(Array(4).fill(null)),[Ee,Ae]=s.useState(4),[Ne,We]=s.useState(null),st=Ie.slice(0,Ee),ut=!!p?.show,[Oe,qe]=s.useState(!0),[rt,Le]=s.useState(!0),Je=p&&{...p,top:Oe,bottom:rt},[nt,dt]=s.useState("landscape"),[Ct,At]=s.useState([...wx]),[mt,ao]=s.useState("show"),[jt,pt]=s.useState(!0),[je,ct]=s.useState(!0),ft=s.useRef(null),vt=s.useRef([]),[Tt,Gt]=s.useState(U==="all"?Number.POSITIVE_INFINITY:U??8),[wt,kt]=s.useState("right"),[Lt,Ht]=s.useState(!1),[Qe,Nt]=s.useState(!1),{toastMessage:tt,toastType:fe,showWarning:Re,clearToast:ze}=Ll("warning"),Ge=s.useCallback(()=>We(null),[We]);d&&ue&&Pt("word-table-block-base-item-in-edit","[WordTableBlock] baseItem \uC740 \uD45C\uC2DC \uBAA8\uB4DC(items \uB97C \uC8FC\uB294 \uAF34)\uC5D0\uC11C\uB9CC \uAC78\uB9B0\uB2E4 \u2014 \uD3B8\uC9D1 \uACA9\uC790\uC5D0\uB294 \uC11C\uC9C0 \uC54A\uB294\uB2E4.");const[ht,yo]=s.useState(()=>Math.max(x?.length??1,1)),bt=Math.max(b??0,x?.length??0,1),Ke=b!=null||!!j,Bt=ue?Ee:j?Math.max(ht,x?.length??1,1):bt,{width:Mt,height:ae}=Va[nt],Ce=!ue&&!j,Ye=Math.max(1,Math.min(bt,C??bt)),Xe=Math.min(Tt,Ye),it=Ce?Xe:Bt,gt=C!=null&&b!=null,zt=gt?Math.max(1,Math.min(Tt,C)):Xe,Vt=s.useRef(ne);s.useEffect(()=>{Vt.current=ne}),s.useEffect(()=>{Ce&&Vt.current?.(zt)},[Ce,zt]);const Qo=Math.ceil((x?.length??0)/Math.max(1,it)),no=(x?.length??0)<bt?Math.floor((x?.length??0)/Math.max(1,it))+1:0,ea=Ce?Math.max(1,Qo,no):0,wo=Ce?Array.from({length:ea},(Me,ot)=>(x??[]).slice(ot*it,(ot+1)*it)):null,io=!!wo&&wo.length>1,uo=ue?st.some(Me=>Me!==null&&Me.length>1):(x??[]).some(Me=>(Me.words??[]).length>1),Do=W?.trim()||`${ol(Io())} ${uo?ce("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):ce("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,po=s.useCallback(()=>io?vt.current.filter(Me=>Me!==null):ft.current?[ft.current]:[],[io]),{print:Ft,openNewWindow:$t,downloadHtml:Jt}=cs({getElements:po,paperW:Mt,paperH:ae,fileName:Do,onPopupBlocked:()=>{Re(ce("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."))}}),Ut=Me=>{Ae(Me),Be(ot=>ot.length>=Me?ot:[...ot,...Array(Me-ot.length).fill(null)]),We(null)},ta=Me=>{Be(ot=>{const Ot=[...ot];return Ot[Me]=null,Ot}),Ne===Me&&We(null)},oa=Me=>{if(Ne===null)return;const ot=Ne;Be(Wo=>{const va=[...Wo];return va[ot]=Me.length>0?Me:null,va});const Ot=st.findIndex((Wo,va)=>va>ot&&Wo===null);We(Ot!==-1?Ot:null)},fa=ue?st.some(Me=>Me?.some(ot=>!!ot.colloquialPronunciation)):(x??[]).some(Me=>(Me.words??[]).some(ot=>!!ot.colloquialLabel)),be=!ue&&kx([...d?[d]:[],...x??[]]),Te=s.useMemo(()=>La()?ue?Ie.slice(0,Ee).flatMap(Me=>(Me??[]).map(ot=>[ot.word,ot.homonum])):(Me=>Me.flatMap(ot=>(ot.words??[]).map(Ot=>[Ot.label,Ot.homonum])))([...d?[d]:[],...x??[]]):[],[ue,Ie,Ee,x,d]),[He,ee]=s.useState(!1);s.useEffect(()=>{if(Te.length===0)return;let Me=!1;return Promise.all(Te.map(([ot,Ot])=>Ei(ot,Ot))).then(ot=>{Me||ee(ot.some(Boolean))},()=>{}),()=>{Me=!0}},[Te]);const pe=Te.length>0&&He,De=s.useMemo(()=>[...ue||j?[{label:ce("wordTable.filter.columns","\uCE78 \uC218"),items:Dj.map(Me=>({value:`${Me}\uCE78`,displayLabel:ce("wordTable.filter.column",{count:Me})})),display:"segmented"}]:[],...Ce&&(x?.length??0)>0?[Tx(ce,{hasPairs:uo,itemCount:gt?C:bt,max:C})]:[],...io?[Nj(ce)]:[]],[ce,ue,j,Ce,x?.length,uo,bt,C,io]),$e={...ue||j?{[ce("wordTable.filter.columns","\uCE78 \uC218")]:`${Bt}\uCE78`}:{},...Ce&&(x?.length??0)>0?{[ce(uo?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${zt}\uAC1C`}:{},...io?{[ce("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:wt}:{}},Ve=(Me,ot)=>{if(ot===ce("wordTable.filter.columns","\uCE78 \uC218"))ue?Ut(parseInt(Me)):yo(parseInt(Me));else if(ot===ce(uo?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")){const Ot=parseInt(Me);Gt(gt?Ot:Lx(Ot,bt))}else ot===ce("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&kt(Mx(Me))},Ze=ue?MT(st.filter(Me=>Me!==null&&Me.length>0).map(Me=>({id:cm(Me),words:Me.map(m_)}))):x??[],St=()=>{ue&&Be(Me=>Me.length>Ee?Me.slice(0,Ee):Me)},_t=(Me=!1)=>{if(Nt(Me),oe&&f){const ot=ie.trim().toLowerCase();ot&&V(Ot=>Ot.includes(ot)?Ot:[...Ot,ot]),f(ie,Ze,O||void 0,Me),St();return}if(F&&f){f("",Ze,void 0,Me),St();return}if(f){Ht(!0);return}Jt()},[ye,$]=s.useState(!1),[te,_e]=s.useState(""),Pe=te.trim(),Ue=Pe!==""&&he.includes(Pe.toLowerCase()),at=()=>{_e(ie?ce("wordTable.save.copyName",{name:ie,defaultValue:"{{name}} (\uBCF5\uC0AC)"}):""),$(!0)},Rt=()=>{!Pe||Ue||!f||(f(Pe,Ze,O||void 0,!0),St(),$(!1))},It=Ze.length===0,ho=It||oe&&(ie===""||xe),mo=()=>{if(It){Re(ce("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(oe&&ie===""){Re(ce("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}oe&&xe&&Re(ce("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},mn=a.jsx(wr,{items:Ze,orientation:nt,contentTypes:Ct,baseItem:d,baseContentTypes:m,cutLine:mt,showOutline:jt,showDivLine:je,count:Bt});return a.jsxs(a.Fragment,{children:[a.jsxs(yr,{type:"page",icon:t,title:e,disc:o,className:ke("word-table-block",I),children:[ye&&a.jsx(pa,{size:"small",title:E??ce("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>$(!1),footer:({closeWithAnimation:Me})=>a.jsxs(a.Fragment,{children:[a.jsx(ge,{htmlType:"button",size:48,type:"bar",label:ce("common.cancel","\uCDE8\uC18C"),onClick:Me}),a.jsx(ge,{htmlType:"button",size:48,type:"bar",variant:"main",label:ce("common.save","\uC800\uC7A5"),disabled:!Pe||Ue,onClick:Rt})]}),children:a.jsx(ha,{label:ce("wordTable.save.nameLabel","\uC774\uB984"),value:te,onChange:_e,placeholder:ce("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:Rt,error:Ue?ce("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),Lt&&f&&R?.({defaultName:typeof e=="string"?e:ce("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:mn,previewW:Mt,previewH:ae,items:Ze,existingNames:LT().map(Me=>Me.name),saveAsNew:Qe,onSave:(Me,ot)=>{f(Me,Ze,ot,Qe),St(),Ht(!1)},onCancel:()=>Ht(!1)}),(ue||D)&&Ne!==null&&H?.({cellIndex:Ne,onConfirm:ue?oa:Me=>{if(D){const ot=Me[0];if(ot){const Ot=new Set((x??[]).map(va=>va.id));let Wo=cm([ot]);for(let va=2;Ot.has(Wo);va++)Wo=`${cm([ot])}~${va}`;D({id:Wo,words:[m_(ot)]})}}We(null)},onClose:Ge}),!T&&a.jsx(ls,{title:r,collapsible:n,defaultCollapsed:i,collapsed:l,onCollapsedChange:c,headerSummary:u,hasImage:pe,hasColloquial:fa,hasCaption:be,contentTypes:Ct,orientation:nt,showOutline:jt,cutLine:mt,showDivLine:je,setters:{setContentTypes:At,setOrientation:dt,setShowOutline:pt,setCutLine:ao,setShowDivLine:ct,setShowTopInfo:qe,setShowBottomInfo:Le},showCutLine:(Ce?it:Bt)>1,showDivLine2:uo,middleSections:De,extraSelected:$e,onExtraSelect:Ve,showPaperBands:ut,showTopInfo:Oe,showBottomInfo:rt}),io&&wo?a.jsx("div",{className:"word-table-block__pages",children:wo.map((Me,ot)=>a.jsx(wr,{orientation:nt,contentTypes:Ct,cutLine:mt,showOutline:jt,showDivLine:je,count:it,items:Me,baseItem:d,baseContentTypes:m,onRemoveItem:_,onCopyItem:v,onReplaceItem:w,onPickForm:S,onReorder:A&&((Ot,Wo)=>A(Ot+ot*it,Wo+ot*it)),indexOffset:ot*it,totalCount:x?.length??0,renderCellAction:re&&((Ot,Wo)=>re(Ot+ot*it,Wo)),showFillerAdd:!!D,fillerAdd:L,onActivateCell:D?(Ot=>We(Ot+ot*it)):void 0,addableCount:Ke?Math.max(0,Math.min(it,bt-ot*it)):void 0,brand:Je,code:h,contentRef:Ot=>{vt.current[ot]=Ot},pageNumber:{current:ot+1,total:wo.length},pageNumberPosition:wt},ot))}):a.jsx(wr,{orientation:nt,contentTypes:Ct,cutLine:mt,showOutline:jt,showDivLine:je,count:it,items:ue?void 0:x??[],baseItem:ue?void 0:d,baseContentTypes:m,editCells:ue?st:void 0,activeCell:Ne,onActivateCell:ue||D?We:void 0,onRemoveCell:ue?ta:void 0,onRemoveItem:ue?void 0:_,onCopyItem:ue?void 0:v,onReplaceItem:ue?void 0:w,onPickForm:ue?void 0:S,onReorder:ue?void 0:A,addableCount:Ke?Ce?Math.min(it,bt):Bt:void 0,renderCellAction:ue?void 0:re,brand:Je,code:h,showFillerAdd:!!D,fillerAdd:L,contentRef:ft}),!T&&!F&&Q!=null&&a.jsx("div",{className:"word-table-block__table-actions",children:Q}),oe&&!T&&a.jsxs(vr,{labelWidth:64,useBorder:!1,className:"word-table-block__meta",children:[a.jsx(_o,{variant:"custom",label:ce("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:a.jsx(ha,{required:!0,value:K??"",onChange:Y,placeholder:Z?Z+ce("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):ce("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:ce("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:xe?ce("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:Me=>{(Me.key==="Tab"&&!Me.shiftKey||Me.key===" ")&&!(K??"").trim()&&(Z??"").trim()&&(Me.preventDefault(),Y?.(Z??""))}})}),a.jsx(_o,{variant:"custom",label:ce("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:a.jsx(ha,{value:z??"",onChange:X,placeholder:J?J+ce("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):ce("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:ce("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:Me=>{(Me.key==="Tab"&&!Me.shiftKey||Me.key===" ")&&!(z??"").trim()&&(J??"").trim()&&(Me.preventDefault(),X?.(J??""))}})})]})]}),!T&&a.jsxs("div",{className:"word-table-block__actions",children:[a.jsxs("div",{className:"word-table-block__actions-left",children:[!F&&g&&a.jsx(ge,{htmlType:"button",size:40,type:"bar",label:ce("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:g}),!F&&y&&a.jsx(ge,{htmlType:"button",size:40,type:"bar",label:Se,onClick:y}),!F&&a.jsx(ge,{htmlType:"button",size:40,type:"bar",label:ce("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:$t})]}),a.jsxs("div",{className:"word-table-block__actions-right",children:[N&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:ce("common.cancel","\uCDE8\uC18C"),onClick:N}),!F&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:ce("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:Ft}),E&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:E,onClick:()=>oe?at():_t(!0),disabled:It,onDisabledClick:()=>{Re(ce("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),a.jsx(ge,{htmlType:"button",size:"56",type:"bar",variant:"main",label:B??ce("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>_t(!1),disabled:ho,onDisabledClick:mo})]})]}),a.jsx(_r,{message:tt,type:fe,onClose:ze})]})}var $T=".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-darkGray)}.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%}.ihabdevteam-core-scope .word-table-thumb__cell--more{justify-content:center;outline-offset:-2px}.ihabdevteam-core-scope .word-table-thumb__cell--more:focus-visible{outline:2px solid var(--color-main)}.ihabdevteam-core-scope .word-table-thumb__more{color:var(--color-gray)}";se($T);const RT=8;function um({items:e,className:t}){const{t:o}=we.useTranslation(),r=s.useRef(null),[n,i]=s.useState(null),l=s.useCallback(()=>i(r.current?.getBoundingClientRect()??null),[]),c=s.useCallback(()=>i(null),[]),u=yl(!!n,v=>{v?l():c()},r),p=e.length,h=p<=3?1:2,d=RT,m=p>d,b=e.slice(0,m?d-1:d),C=p-b.length,x=e.slice(b.length).map(v=>v.words?.length?v.words.map(w=>w.label).join(" / "):v.id),f=Math.min(5,Math.ceil(x.length/25)),g=Math.ceil(Math.min(p,d)/h)||1,_=h*g;return a.jsx("div",{className:ke("word-table-thumb",t),style:{gridTemplateColumns:`repeat(${h}, 1fr)`},children:Array.from({length:_},(v,w)=>{if(m&&w===d-1)return a.jsxs("div",{ref:r,className:"word-table-thumb__cell word-table-thumb__cell--more",tabIndex:0,"aria-label":o("wordTable.thumbMoreAria",{count:C,words:x.join(", "),defaultValue:"\uADF8 \uBC16 {{count}}\uCE78: {{words}}"}),onPointerEnter:y=>{Fa(y)||l()},onPointerLeave:y=>{Fa(y)||c()},onFocus:()=>{dr()||l()},onBlur:c,onClick:y=>{y.stopPropagation(),u.touchPress()},children:[a.jsx("span",{className:"word-table-thumb__more body-3",children:o("wordTable.thumbMore",{count:C,defaultValue:"+{{count}}"})}),n&&x.length>0&&a.jsx(ka,{anchorRect:n,items:x,showIndex:!1,closeOnOutsideClick:!1,columns:f})]},w);const S=b[w];return S?a.jsx("div",{className:"word-table-thumb__cell",children:(S.words?.length?S.words:[{label:S.id}]).map((y,k)=>a.jsxs(s.Fragment,{children:[k>0&&a.jsx("span",{className:"word-table-thumb__divider"}),a.jsx("span",{className:"word-table-thumb__word body-3",children:y.label})]},k))},w):a.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},w)})})}var PT=".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:280px}.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-lightGray);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}";se(PT);function g_({items:e,name:t,description:o,createdAt:r,code:n,published:i,publishedLabel:l,shared:c,sharedLabel:u,isNew:p,publisherName:h,publishedAt:d,likeCount:m,downloadCount:b,onPublisherClick:C,selected:x,onClick:f,onMore:g,titleNode:_,className:v}){const{t:w}=we.useTranslation(),S=_!=null,y=h!=null||d!=null||m!=null||b!=null,k=B=>{B.target===B.currentTarget&&!S&&(B.key==="Enter"||B.key===" ")&&(B.preventDefault(),f?.())};return a.jsxs("div",{className:ke("word-table-button",x?"word-table-button--selected":"",y?"":"word-table-button--no-footer",v),role:"button",tabIndex:0,"aria-label":n?`${t} (${n})`:t,onClick:S?void 0:f,onKeyDown:k,children:[p&&a.jsx("span",{className:"word-table-button__new-dot","aria-label":w("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),a.jsx(um,{items:e,className:"word-table-button__thumb"}),a.jsxs("div",{className:"word-table-button__info",children:[a.jsxs("div",{className:"word-table-button__info-text",children:[_??a.jsx("div",{className:"word-table-button__title h4",children:t}),o&&a.jsx("div",{className:"word-table-button__desc body-3",children:o})]}),g&&!S&&a.jsx(ge,{htmlType:"button",className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:w("common.moreFor",{name:t}),onClick:B=>{B.stopPropagation(),g(B)}})]}),(n||r||i||c)&&a.jsxs("div",{className:"word-table-button__meta-row",children:[a.jsx("span",{className:"word-table-button__meta-left",children:a.jsx("span",{className:"word-table-button__meta caption-1",children:r?tl(r,w):""})}),a.jsxs("span",{className:"word-table-button__meta-right",children:[(i||c)&&a.jsxs("span",{className:"word-table-button__badges",children:[i&&a.jsx(Co,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:l??w("myWordTable.publishedBadge","\uBC1C\uD589\uB428")}),c&&a.jsx(Co,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:u??w("myWordTable.sharedBadge","\uACF5\uC720 \uC911")})]}),n&&a.jsx("span",{className:"word-table-button__code caption-1",children:n})]})]}),y&&a.jsxs("div",{className:"word-table-button__footer",children:[a.jsxs("span",{className:"word-table-button__store-by",children:[h&&(C?a.jsx("button",{className:"training-card__publisher body-4",type:"button","aria-label":w("wordTable.publisherFilter",{name:h,defaultValue:"{{name}} \uAC8C\uC2DC\uD55C \uAC83\uB9CC \uBCF4\uAE30"}),onClick:B=>{B.stopPropagation(),C()},children:h}):a.jsx("span",{className:"training-card__publisher training-card__publisher--static body-4",children:h})),d&&a.jsx("span",{className:"training-card__date body-4",children:tl(d,w)})]}),a.jsxs("span",{className:"word-table-button__store-stats",children:[m!=null&&a.jsx(Co,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(m),"aria-label":w("common.likeCount",{count:m,defaultValue:`\uC88B\uC544\uC694 ${m}`})}),b!=null&&a.jsx(Co,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(b),"aria-label":w("common.downloadCount",{count:b,defaultValue:`\uAC00\uC838\uAC04 \uC218 ${b}`})})]})]})]})}/**
|
|
1076
|
+
\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}}`;se(QN);function ys(...e){for(const t of e)if(typeof t=="string"){const o=t.trim();if(o.length)return o}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 o=t,r=[o.text,o.label,o.value];for(const n of r){if(typeof n=="string"&&n.trim().length)return n.trim();if(typeof n=="number"||typeof n=="boolean")return String(n)}}}return null}function eT(e){return ys(e?.question,e?.q,e?.sentence,e?.text,e?.prompt,e?.wording)}function tT(e){return HC(ys(e?.questionSound,e?.soundSrc,e?.audioSrc,e?.sound,e?.audio,e?.src))}function VC(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=ys(e?.status,e?.result,e?.judge,e?.note);if(t){const o=t.toLowerCase();if(["ok","true","\uB9DE\uC74C","\uC815\uB2F5"].some(r=>o.includes(r)))return!0;if(["ng","false","\uD2C0\uB9BC","\uC624\uB2F5"].some(r=>o.includes(r)))return!1}}function am(e){const{score:t,contextsLength:o,results:r=[],subtitle:n,onReplay:i,onClose:l,inline:c=!1,pending:u=!1}=e||{},{t:p}=we.useTranslation(),h=s.useId(),d=s.useCallback(()=>!u,[u]);s.useEffect(()=>{const A=o??0;if(t!=null&&A>0&&t/A>.5){const j=window.setTimeout(()=>{window.dispatchEvent(new CustomEvent("party:trigger",{detail:{count:140,strength:1.6,duration:2200}}))},0);return()=>window.clearTimeout(j)}},[t,o]);const m=s.useCallback(A=>{const j=VC(A),D=ys(A?.wording,A?.label);return j===!0?{variant:"main",label:D??p("training.result.heardWell","\uC798 \uB4E4\uC5C8\uC5B4\uC694")}:j===!1?{variant:"danger",label:D??p("training.result.notHeard","\uBABB \uB4E4\uC5C8\uC5B4\uC694")}:{variant:"disabled",label:D??p("training.result.notJudged","\uBBF8\uD310\uC815")}},[p]),b=o??0,C=t??0,x=s.useMemo(()=>Array.isArray(r)?r:[],[r]),f=s.useRef(null),[g,_]=s.useState(null),v=s.useCallback(()=>{f.current?.(),f.current=null,_(null)},[]);s.useEffect(()=>v,[v]);const w=s.useRef(0),S=(A,j)=>{if(!ja)return;const D=Math.round(performance.now()-w.current);console.debug(`[core][\uB2E4\uC2DC\uB4E3\uAE30] +${D}ms ${A}`,j??"")},y=s.useRef(0),k=s.useCallback((A,j,D)=>{v();const L=++y.current,I=()=>y.current===L;w.current=ja?performance.now():0,S(`\uB20C\uB800\uB2E4 \u2014 \uC904 ${A}`,{text:j,rawUrl:D}),_(A),f.current=()=>{S("\uBA48\uCD94\uAC1C\uAC00 \uBD88\uB838\uB2E4(\uC8FC\uC18C \uC5BB\uAE30 \uC804)"),y.current++,_n()};const R=W=>{S("\uD2BC\uB2E4",W);const K=di(W,Y=>{S(`\uB05D\uB0AC\uB2E4 \u2014 ${Y?"\uB05D\uAE4C\uC9C0 \uB4E4\uC5C8\uB2E4":"\uBABB \uD2C0\uC5C8\uAC70\uB098 \uBA48\uCDC4\uB2E4"}`,{mine:I()}),Y&&I()&&(f.current=null,_(null))});return f.current=()=>{S("\uBA48\uCD94\uAC1C\uAC00 \uBD88\uB838\uB2E4(\uD2B8\uB294 \uC911)"),y.current++,K.stop(),_n()},K.done},H=KN(j,D);S("\uCC28\uB840",H.map(W=>W.kind));const T=H[0]?.kind==="raw",F=T?R(D):Promise.resolve(!1);(async()=>{if(await F||!I())return;const W=XN(),K=T?H.slice(1):H;for(let Y=0;Y<K.length;Y++){if(!I())return;S(`${K[Y].kind} \uC5D0\uAC8C \uBB3B\uB294\uB2E4`);const z=await K[Y].resolve(ZN(W,K.length-Y));if(S(`${K[Y].kind} \uAC00 \uB2F5\uD588\uB2E4`,z),!I()||z&&(await R(z)||!I()))return}I()&&(S("\uC8FC\uC18C\uB97C \uD558\uB098\uB3C4 \uBABB \uC5BB\uC5C8\uB2E4 \u2014 \uB0AD\uB3C5\uC73C\uB85C \uAC04\uB2E4"),JN(j),f.current=()=>{y.current++,_n()},S("\uB0AD\uB3C5\uD55C\uB2E4"),Ks(j,{onEnd:()=>{I()&&(f.current=null,_(null))}}))})()},[v]),B=s.useMemo(()=>x.map(A=>{const j=A??{},D=eT(j)||p("training.result.noContent","(\uB0B4\uC6A9\uC5C6\uC74C)"),{variant:L,label:I}=m(j),R=Array.isArray(j.corrects)?j.corrects:[],H=R.length?R.join(", "):j.answer!=null&&j.answer!==""?String(j.answer):null,T=typeof j.selectedText=="string"?j.selectedText:null,F=VC(j)===!0,W=tT(j),K=!!W||YN(D);return{problem:D,variant:L,label:I,answer:H,selectedText:T,isCorrect:F,sound:W,canHear:K}}),[x,m,p]),E=s.useMemo(()=>B.some(A=>A.answer!==null||A.selectedText!==null),[B]);return a.jsx(pa,{onClose:l,closeOnBackdrop:!1,inline:c,ariaLabel:p("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4."),className:"popup--training-result",beforeClose:d,footerClassName:"trp-result__foot",footer:({animateThen:A,closeWithAnimation:j})=>a.jsxs(a.Fragment,{children:[u&&a.jsx("p",{id:h,className:"trp-actions__reason caption-1",role:"status",children:p("training.result.pendingDone","\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.")}),a.jsxs("div",{className:"trp-actions",children:[a.jsx(ge,{htmlType:"button",size:56,type:"bar",label:p("training.result.replay","\uB2E4\uC2DC\uD558\uAE30"),onClick:()=>A(i)}),a.jsx(ge,{htmlType:"button",size:56,type:"bar",label:p("training.result.done","\uC644\uB8CC"),variant:"main",onClick:j,disabled:u,onDisabledClick:u?()=>{}:void 0,"aria-describedby":u?h:void 0})]})]}),children:()=>a.jsxs("div",{className:"trp-result is-on",children:[a.jsxs("header",{className:"trp-result__head",children:[a.jsx("p",{className:"trp-result__eyebrow caption-1",children:p("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")}),a.jsx("h1",{className:"trp-result__title h2",children:p("training.result.title","\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.")}),n&&a.jsx("p",{className:"trp-result__subtitle body-3",children:n}),a.jsx("div",{className:"trp-score",children:a.jsxs("div",{className:"trp-score__figure","aria-label":p("training.result.scoreAria",{correct:C,total:b}),children:[a.jsx("span",{className:"trp-score__big",children:C}),a.jsx("span",{className:"trp-score__sep",children:"/"}),a.jsx("span",{className:"trp-score__total",children:b})]})})]}),B.length>0&&a.jsx("section",{className:"trp-result__body",children:a.jsxs("div",{className:`result-table${E?" result-table--answer":""}`,role:"table","aria-label":p("training.result.tableAriaLabel","\uBB38\uD56D\uBCC4 \uD310\uC815"),children:[a.jsxs("div",{className:"result-table__head caption-1",role:"row",children:[a.jsx("span",{role:"columnheader",children:p("common.col.problem","\uBB38\uC81C")}),E&&a.jsx("span",{role:"columnheader",children:p("training.result.colAnswerSelected","\uC815\uB2F5 \xB7 \uC120\uD0DD")}),a.jsx("span",{className:"col-right",role:"columnheader",children:p("training.result.colJudge","\uD310\uC815")})]}),B.map((A,j)=>a.jsxs("div",{className:"result-table__row",role:"row",children:[a.jsxs("div",{className:"trp-row__problem",children:[a.jsx("span",{className:"trp-row__no caption-1",children:String(j+1).padStart(2,"0")}),a.jsx("div",{className:"trp-row__q body-2",children:A.problem}),A.canHear&&a.jsx(ge,{htmlType:"button",size:32,type:"dot",useBorder:!1,icon:g===j?"square":"volume-2",className:"trp-row__replay",ariaLabel:g===j?p("training.result.replaySoundStop",{no:j+1,defaultValue:"{{no}}\uBC88 \uB4E3\uAE30 \uBA48\uCDA4"}):p("training.result.replaySound",{no:j+1,defaultValue:"{{no}}\uBC88 \uB2E4\uC2DC \uB4E3\uAE30"}),onClick:()=>g===j?v():k(j,A.problem,A.sound)})]}),E&&a.jsxs("div",{className:"trp-row__answers",children:[A.answer!==null&&a.jsxs("div",{className:"trp-row__answer-line",children:[a.jsx("span",{className:"trp-row__answer-label answer-correct caption-1",children:p("training.result.colAnswer","\uC815\uB2F5")}),a.jsx("span",{className:"trp-row__answer-value body-2",children:A.answer})]}),a.jsxs("div",{className:"trp-row__answer-line",children:[a.jsx("span",{className:`trp-row__answer-label answer-selected caption-1 ${A.isCorrect?"is-correct":"is-wrong"}`,children:p("training.result.colSelected","\uC120\uD0DD")}),a.jsx("span",{className:`trp-row__answer-value body-2 ${A.isCorrect?"is-correct":"is-wrong"}`,children:A.selectedText??"\u2014"})]})]}),a.jsx("div",{className:"trp-row__judge",children:a.jsx(Co,{variant:A.variant,label:A.label,fill:"soft",minWidth:80})})]},j))]})})]})})}const rm=new Set;function oT(e){s.useEffect(()=>{if(!e||rm.has(e))return;rm.add(e);const t=()=>typeof document>"u"||document.visibilityState!=="hidden";let o=null,r=null,n=0,i=0;const l=()=>{const h=Date.now();o==null&&(o=h),r==null&&(r=h)},c=()=>{r!=null&&(n+=Date.now()-r,r=null)};t()&&l();const u=()=>{if(c(),o==null)return;const h=n-i;if(h<1e3||i===0&&n<5e3)return;const d=Date.now(),m=d-h;i=n,xu({trainingType:e,startedAt:new Date(m).toISOString(),endedAt:new Date(d).toISOString()})},p=()=>{t()?l():u()};return typeof document<"u"&&document.addEventListener("visibilitychange",p),typeof window<"u"&&window.addEventListener("pagehide",u),()=>{typeof document<"u"&&document.removeEventListener("visibilitychange",p),typeof window<"u"&&window.removeEventListener("pagehide",u),u(),rm.delete(e)}},[e])}function ws(e,t){return e&&e.id||`page-${t??0}`}function ks(e,t){return e&&e.key||`step-${t??0}`}function Bs(){return{pageIndex:0,stepIndex:0,answersByPage:{}}}function aT(e,t){return typeof e?.props=="function"?e.props(t)||{}:e?.props||{}}const rT=300,nT=()=>{try{return typeof window<"u"&&!!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches}catch{return!1}},Ea=Object.freeze({}),UC=new Set(["LISTEN_IN_NOISE","SHORT_STORY","LONG_STORY","ORDERING_SENTENCE"]);function nm(e){const t=e,o=t?.results||t?.answers||[],r=Array.isArray(o)&&o.length>0?o.length:null,n=Array.isArray(o)?o.filter(i=>i?.correct===!0||i?.isCorrect===!0||i?.score===1||i?.heard===!0||i?.judgement===!0).length:null;return{results:o,correct:r!=null?n:null,total:r}}const iT=e=>a.jsx(am,{score:e.score,contextsLength:e.contextsLength,results:e.results,onReplay:e.onReplay,onClose:e.onClose,pending:e.pending});function lT(e){const{scenario:t,title:o,subTitle:r,depth:n,icon:i,wrapperStyle:l,iconTooltip:c,pageIndex:u,pageCount:p,stepIndex:h,stepCount:d,onBack:m,onComplete:b,onRoundFinished:C,onNext:x,onSettings:f,useNoiseSetting:g=!0,children:_,ariaLabel:v,label:w,buildResults:S,onResult:y,typeKey:k,entryPoint:B,dailyTotal:E,itemRef:A,renderResultPopup:j,noiseOverride:D,hideNoiseRows:L=!1,inline:I=!1,height:R}=e;oT(k&&!UC.has(k)?k:"");const H=s.useRef(0);s.useEffect(()=>{H.current=Date.now()},[]);const{t:T}=we.useTranslation(),F=y,W=!!t,K=t?.id||null,Y=t?.meta||{},z=Array.isArray(t?.pages)?t.pages:[],X=Array.isArray(_)||s.isValidElement(_)&&typeof _!="function"?s.Children.toArray(_).filter(s.isValidElement):[],Z=X.length>0,J=be=>be===xi||be?.__isTrainingPage===!0,M=Z&&X.some(be=>J(be.type)),P=M?X.filter(be=>J(be.type)).map((be,Te)=>{const He=be.props||{};return{id:`children-page-${Te}`,steps:s.Children.toArray(He.children).filter(s.isValidElement),pageTop:He.pageTop||He.top||null,pageBottom:He.pageBottom||He.bottom||null}}):[{id:"children-page-0",steps:X}],N=Z&&!W&&typeof _!="function",U=N?Math.max(1,P.length):0;s.useEffect(()=>{if(!I&&!(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")}},[]),s.useEffect(()=>{if(I||typeof document>"u"||!document.body)return;const be=document.body;return be.dataset.ihabTrainingPopupCount=String(Number(be.dataset.ihabTrainingPopupCount||"0")+1),be.classList.add("ihab-training-popup-open"),()=>{const Te=Number(be.dataset.ihabTrainingPopupCount||"1")-1;Te>0?be.dataset.ihabTrainingPopupCount=String(Te):(delete be.dataset.ihabTrainingPopupCount,be.classList.remove("ihab-training-popup-open"))}},[]),s.useEffect(()=>{if(!I&&!(typeof document>"u"||!document.body))return e1()},[]);const[ne,re]=s.useState({...qa,enabled:!1}),Q=s.useRef(ne);s.useEffect(()=>{Q.current=ne},[ne]);const ce=s.useRef(D),Se=s.useRef(!1),ue=s.useRef(null);s.useEffect(()=>{let be=!1;const Te=He=>{if(be)return;Se.current=!0;const ee=He?Ua({...qa,enabled:!1},He):{...qa},pe=ue.current;ue.current=null;const De=pe?Ua(ee,pe):ee;Q.current=De,re(De),pe&&!ce.current&&In(De),Yr(De);const $e=ce.current;if($e){const Ve=typeof $e=="function"?$e(De):$e,Ze=Ua(De,Ve);Q.current=Ze,re(Ze),Yr(Ze)}};return Bu().then(He=>{if(be){const ee=ue.current;if(ue.current=null,ee&&!ce.current){const pe=He?Ua({...qa,enabled:!1},He):{...qa};In(Ua(pe,ee))}return}Te(He)}),()=>{be=!0}},[]);const[oe,G]=s.useState(null),[V,q]=s.useState(null),ie=s.useCallback((be,Te)=>{be==="main"?G(Te):q(Te)},[]),O=s.useRef(null),he=s.useRef(null),me=s.useCallback(()=>{he.current!==null&&(clearTimeout(he.current),he.current=null);const be=O.current;O.current=null,be&&In(be)},[]);s.useEffect(()=>{if(typeof window>"u")return;const be=()=>{document.visibilityState==="hidden"&&me()};return window.addEventListener("pagehide",me),document.addEventListener("visibilitychange",be),()=>{window.removeEventListener("pagehide",me),document.removeEventListener("visibilitychange",be),me()}},[me]);const ve=s.useCallback(be=>{const Te=Ua(Q.current,be);if(Q.current=Te,re(Te),!Se.current){ue.current={...ue.current??{},...be},Yr(Te);return}ce.current||(O.current=Te,he.current!==null&&clearTimeout(he.current),he.current=setTimeout(me,rT)),Yr(Te)},[me]),xe=ne.mainSpeed,Ie=ne.mainVolume,Be=s.useCallback(be=>ve({mainSpeed:be}),[ve]),Ee=s.useCallback(be=>ve({mainVolume:be}),[ve]),Ae=s.useMemo(()=>({settings:ne,setSettings:ve,registerAnalyser:ie,mainAnalyser:oe,noiseAnalyser:V,playbackRate:xe,setPlaybackRate:Be,mainVolume:Ie,setMainVolume:Ee}),[ne,ve,ie,oe,V,xe,Be,Ie,Ee]),Ne=s.useRef(null),[We,st]=s.useState(0),ut=s.useRef([]),[Oe,qe]=s.useState("center"),[rt,Le]=s.useState(!1),Je=s.useRef(!1),nt=s.useRef(null),dt=s.useCallback(be=>{Je.current||(Je.current=!0,Le(!0),nt.current=setTimeout(()=>{try{be()}catch{Je.current=!1,Le(!1)}},nT()?0:h1))},[]);s.useEffect(()=>()=>{nt.current&&clearTimeout(nt.current)},[]);const Ct=s.useRef(m);s.useEffect(()=>{Ct.current=m});const At=s.useRef(typeof document>"u"?null:document.activeElement);s.useEffect(()=>{if(I)return;const be=Ne.current,Te=At.current;if(nd(be,Te),be){const He=Array.from(be.querySelectorAll(Ko)).filter(ee=>!ee.closest('[aria-hidden="true"]'))[0];if(He)try{He.focus()}catch{}}return()=>{const He=document.activeElement;if(!He||He===document.body||be&&be.contains(He))try{id(Te)?.focus?.()}catch{}}},[]),s.useEffect(()=>{if(!I)return cr(()=>dt(()=>{const be=Ct.current;typeof be=="function"&&be()}))},[dt,I]),fl(Ne,!I);const[mt,ao]=s.useState(!1),jt=s.useRef(!1),[pt,je]=s.useState(null),ct=s.useRef(0),ft=s.useRef(0),vt=()=>{ct.current+=1,ft.current+=1,je(null)},[Tt,Gt]=s.useState(""),[wt,kt]=s.useState(()=>Bs()),Lt=s.useRef(typeof u=="number"?u:null);s.useEffect(()=>{!W&&!N||(kt(Bs()),vt())},[W,K,N]),s.useEffect(()=>{N&&kt(be=>{const Te=Math.max(0,Math.min(be.pageIndex,Math.max(0,U-1)));return Te!==be.pageIndex?{...be,pageIndex:Te,stepIndex:0}:be})},[N,U]);const Ht=N?Math.max(0,Math.min(wt.pageIndex,U-1)):0,Qe=N?P[Ht]:null,Nt=N&&Qe&&Array.isArray(Qe.steps)?Qe.steps:[],tt=W?wt.pageIndex:N?Ht:typeof u=="number"?u:0,fe=W?z[Math.max(0,Math.min(wt.pageIndex,Math.max(0,z.length-1)))]:null,Re=W&&fe&&Array.isArray(fe.steps)?fe.steps:[],ze=W?Re.length:N?Nt.length:typeof d=="number"?d:0,Ge=W||N?Math.max(0,Math.min(wt.stepIndex,Math.max(0,ze))):typeof h=="number"?h:0,ht=W?z.length:N?U:typeof p=="number"?p:0;s.useEffect(()=>{if(!W&&!N)return;const be=W?ws(fe,tt):Qe?.id||`children-page-${tt??0}`,Te=new Date().toISOString();for(let He=0;He<=Ge;He+=1){const ee=W?ks(Re[He],He):`step-${He}`,pe=Bt(be,ee);Ke.current.has(pe)||Ke.current.set(pe,Te)}},[W,N,tt,Ge,Qe?.id]),s.useLayoutEffect(()=>{const be=Lt.current;if(typeof tt=="number"&&be!==null&&tt!==be&&tt>be)try{Gt(T("training.problemNotice",{n:tt+1}))}catch{}Lt.current=typeof tt=="number"?tt:Lt.current},[tt,u,T]),s.useLayoutEffect(()=>{const be=Ne.current;if(!be)return;const Te=()=>be.querySelector(".page-popup__scroll");let He=null,ee=null,pe=null;const De=_t=>{const ye=Te();if(!ye)return;const $=ye.scrollHeight<=ye.clientHeight;if(qe($?"center":"top"),_t&&!jt.current){jt.current=!0;try{ao(!0)}catch{}try{Ze.disconnect()}catch{}}},$e=()=>{He!==null&&cancelAnimationFrame(He),He=requestAnimationFrame(()=>{ee!==null&&clearTimeout(ee),ee=setTimeout(()=>De(!0),60)})},Ve=()=>{pe!==null&&cancelAnimationFrame(pe),pe=requestAnimationFrame(()=>De(!1))};$e(),window.addEventListener("resize",Ve);const Ze=new MutationObserver($e);Ze.observe(be,{childList:!0,subtree:!0,attributes:!0});const St=setTimeout(()=>{jt.current||De(!0)},400);return()=>{window.removeEventListener("resize",Ve),He!==null&&cancelAnimationFrame(He),ee!==null&&clearTimeout(ee),pe!==null&&cancelAnimationFrame(pe),clearTimeout(St);try{Ze.disconnect()}catch{}}},[Ne]);const yo=s.useCallback(be=>{Ne.current&&(Ne.current._childOnNext=be)},[]),bt=s.useCallback(be=>{Ne.current&&(Ne.current._childOnResult=be)},[]),Ke=s.useRef(new Map),Bt=(be,Te)=>`${be}\0${Te}`,Mt=s.useCallback((be,Te,He)=>{kt(ee=>{const pe=ee.answersByPage[be]||{},De=pe[Te],$e=_s(He),Ve=_s(De);if(De&&Ve>$e)return ee;const Ze=Kh(He,Ke.current.get(Bt(be,Te)),$e);return{...ee,answersByPage:{...ee.answersByPage,[be]:{...pe,[Te]:Ze}}}})},[kt]),ae=s.useCallback((be,Te,He)=>{const ee=ws(fe,tt),pe=ks(be,Te);Mt(ee,pe,He)},[fe,tt,Mt]),Ce=s.useCallback((be,Te,He)=>{const ee=ws(fe,tt),pe=ks(be,Te);Mt(ee,pe,He),!He?.allowChange&&be?.autoAdvance!==!1&&kt(De=>({...De,stepIndex:Math.max(De.stepIndex,Te+1)}))},[fe,tt,Mt,kt]),Ye=s.useCallback((be,Te)=>{const He=Qe?.id||`children-page-${tt??0}`,ee=typeof Te=="number"?Te:Ge??0,pe=`step-${ee}`;Mt(He,pe,be),be?.allowChange||kt(De=>({...De,stepIndex:Math.max(De.stepIndex,ee+1)}))},[Qe,tt,Ge,Mt,kt]),Xe=s.useCallback((be,Te)=>{const He=Qe?.id||`children-page-${tt??0}`,ee=`step-${typeof Te=="number"?Te:Ge??0}`;Mt(He,ee,be)},[Qe,tt,Ge,Mt]),it=N?{currentPageIndex:tt??0,currentStepIndex:Ge??0,totalStepsInPage:Nt.length,handleStepDone:Ye,handleStepChange:Xe}:null,gt=async()=>{const be=typeof t?.buildResults=="function"?await Promise.resolve(t.buildResults({scenario:t,pages:z,flowState:wt,answersByPage:wt.answersByPage})):null;return typeof F=="function"&&await Promise.resolve(F(be))||be},zt=async()=>{const be=Qe?.id||`children-page-${wt.pageIndex}`,Te=wt.answersByPage[be]||{},He=M?(()=>{const De={};let $e=0;return P.forEach(Ve=>{const Ze=wt.answersByPage[Ve.id]||{},St=Array.isArray(Ve.steps)?Ve.steps.length:0;for(let _t=0;_t<St;_t+=1){const ye=Ze[`step-${_t}`];typeof ye<"u"&&(De[`step-${$e+_t}`]=ye)}$e+=St}),De})():Te;if(typeof S=="function"){const De=await Promise.resolve(S(He,{pageAnswers:Te,answersByPage:wt.answersByPage,pages:P,currentPageId:be}));return typeof F=="function"&&await Promise.resolve(F(De))||De}const ee=Object.entries(Te).map(([De,$e],Ve)=>({index:Ve,key:De,payload:$e})),pe={results:ee,answers:ee,score:0};return typeof F=="function"&&await Promise.resolve(F(pe))||pe},Vt=()=>{const be=++ct.current,Te=()=>be!==ct.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(W){const pe=gt();je(Ea);const De=pe;Promise.resolve(De).then($e=>{Te()||je($e||{isEmpty:!0})}).catch($e=>{!Te()&&je({isEmpty:!0})});return}if(N){const pe=zt();je(Ea);const De=pe;Promise.resolve(De).then($e=>{Te()||je($e||{isEmpty:!0})}).catch($e=>{!Te()&&je({isEmpty:!0})});return}const He=Ne.current&&Ne.current._childOnResult,ee=pe=>{try{return pe?pe():void 0}catch{return}};if(typeof He=="function"){const pe=ee(He);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:zo&&zo.tagName.toUpperCase()==="SCRIPT"&&zo.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}pe&&typeof pe.then!="function"?je(pe):je(pe&&typeof pe.then=="function"?Ea:{});const De=()=>{Te()||je($e=>$e===Ea?{}:$e)};Promise.resolve(pe).then($e=>{$e&&!Te()?je($e):De()}).catch($e=>{De()});return}if(typeof F=="function"){const pe=ee(F);try{typeof document>"u"?require("url").pathToFileURL(__filename).href:zo&&zo.tagName.toUpperCase()==="SCRIPT"&&zo.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}pe&&typeof pe.then!="function"?je(pe):je(pe&&typeof pe.then=="function"?Ea:{});const De=()=>{Te()||je($e=>$e===Ea?{}:$e)};Promise.resolve(pe).then($e=>{try{typeof document>"u"?require("url").pathToFileURL(__filename).href:zo&&zo.tagName.toUpperCase()==="SCRIPT"&&zo.src||new URL("ihabdevteam-core.cjs.js",document.baseURI).href}catch{}$e&&!Te()?je($e):De()}).catch($e=>{console.error("viewResults external handler failed",$e),De()});return}},Qo=()=>{if(W){if(typeof tt=="number"&&typeof ht=="number"&&tt<ht-1){kt(Te=>({...Te,pageIndex:Te.pageIndex+1,stepIndex:0}));return}return Vt()}if(N){const Te=Nt.length;if(typeof Ge=="number"&&Ge<Te-1){kt(He=>({...He,stepIndex:He.stepIndex+1}));return}if(typeof tt=="number"&&typeof ht=="number"&&tt<ht-1){kt(He=>({...He,pageIndex:He.pageIndex+1,stepIndex:0}));return}return Vt()}if(typeof x=="function"){try{x()}catch{}return}const be=Ne.current&&Ne.current._childOnNext;if(typeof be=="function"){try{be()}catch{}return}},no=W?Y.title||Y.label||v||T("common.popup","\uD31D\uC5C5"):o||w||(Array.isArray(n)?n[n.length-1]:void 0)||v||T("common.popup","\uD31D\uC5C5"),ea=v||no,wo=W?Y.title??Y.label??no:o??w??no,io=(be,Te)=>{const He=ws(fe,tt),ee=ks(be,Te),pe=wt.answersByPage[He]?.[ee],De=aT(be,{page:fe,pageIndex:tt,step:be,stepIndex:Te,storedPayload:pe,answersByPage:wt.answersByPage,flowState:wt}),$e={key:ee,index:Te,stepIndex:Ge,isLast:Te===Re.length-1};switch(be?.type){case"listen":return a.jsx(vs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve)});case"confirm":return a.jsx(gs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve),onChange:Ve=>ae(be,Te,Ve)});case"confirmWithText":return a.jsx(fs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve),onChange:Ve=>ae(be,Te,Ve)});case"orderList":return a.jsx(xs,{...$e,...De,onDone:Ve=>Ce(be,Te,Ve),onChange:Ve=>ae(be,Te,Ve)});default:return null}},uo=s.useRef(void 0);s.useEffect(()=>{const be=uo.current;if(uo.current=tt,be===void 0||be===tt||!as())return;const Te=Ne.current;if(!Te)return;const He=document.activeElement;if(!(!He||He===document.body||!Te.contains(He)||He.disabled===!0))return;const ee=Te.querySelector(`.training-steps ${Ko.split(", ").join(", .training-steps ")}`)??Array.from(Te.querySelectorAll(Ko)).find(pe=>!pe.closest('[aria-hidden="true"]'));try{ee?.focus()}catch{}},[tt]);const Do=W?z.length>0?a.jsx("div",{className:"training-steps",children:Re.map((be,Te)=>io(be,Te))},`replay-${We}`):a.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:a.jsx("div",{className:"pp-empty",children:t?.emptyMessage||T("training.noQuestions","\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):null,po=N?a.jsxs(WC.Provider,{value:it,children:[Qe?.pageTop?a.jsx("div",{className:"training-page-top",children:Qe.pageTop}):null,a.jsx("div",{className:"training-steps",children:Nt.map((be,Te)=>{const He=be;return s.cloneElement(He,{...He.props,_stepIndex:Te,_totalSteps:Nt.length,_stepKey:`step-${Te}`,_pageIndex:tt})})},`replay-${We}`),Qe?.pageBottom?a.jsx("div",{className:"training-page-bottom",children:Qe.pageBottom}):null]}):null,Ft=s.useRef(-1),$t=s.useCallback(()=>{if(!k)return;const be=pt,{results:Te,correct:He,total:ee}=nm(pt),pe={correct:He,total:ee,attempt:ut.current.length+1,previousAttempts:[...ut.current]};if(Ft.current===ft.current)return pe;Ft.current=ft.current,Cu({items:ku(Te),category:UC.has(k)?"sentence":"word",trainingType:k,entryPoint:B??"sentence",itemRef:A??null,correct:He,total:ee,score:typeof be?.score=="number"?be.score:null,durationSeconds:Math.max(0,Math.round((Date.now()-H.current)/1e3)),dailyTotal:E??null});try{C?.(pe)}catch{}return pe},[k,B,E,A,pt,C]);s.useEffect(()=>{!pt||pt===Ea||pt?.isEmpty||(nm(pt).total??0)>0&&$t()},[pt,$t]);const Jt=s.useCallback(()=>{const be=$t();vt(),dt(()=>{typeof b=="function"&&b(be),typeof m=="function"&&m()})},[b,m,$t,je,dt]),Ut=s.useCallback(()=>Gt(""),[Gt]),ta=s.useCallback(()=>{dt(()=>{typeof m=="function"&&m()})},[m,dt]),oa=a.jsxs("div",{className:`page-popup${rt?" page-popup--closing":""}${I?" page-popup--inline":""}${I&&R!=null?" page-popup--has-height":""}`,role:I?"region":"dialog","aria-modal":I?void 0:"true","aria-label":ea,style:I&&R!=null?{"--page-popup-inline-height":typeof R=="number"?`${R}px`:R}:void 0,children:[a.jsxs("div",{ref:Ne,className:`page-popup__panel ${mt?"":"page-popup__panel--measuring"} ${Oe==="center"?"page-popup__panel--center":Oe==="top"?"page-popup__panel--top":""}`,children:[a.jsx(qh,{title:wo,subtitle:W?Y.subtitle||Y.label:Array.isArray(n)?n.join(" / "):void 0,desc:W?void 0:r,depth:W?Y.depth:n,icon:W?Y.icon:i,wrapperStyle:W?Y.wrapperStyle:l,iconTooltip:W?Y.iconTooltip:c,progressMax:ht,progressIndex:tt,pageIndex:tt,pageCount:ht,onBack:I?void 0:ta,onClose:I?void 0:ta}),a.jsx("div",{className:"page-popup__scroll",children:a.jsx("div",{className:`page-popup__content ${Oe==="center"?"page-popup__content--center":"page-popup__content--top"}${e.contentFull?" page-popup__content--full":""}`,children:N?po:W?Do:typeof _=="function"?_({registerOnNext:yo,registerOnResult:bt,panelRef:Ne,setResultOverlay:je}):_})}),a.jsx(Uh,{onSettings:f,onNext:Qo,onResult:Vt,useNoiseSettingBtn:!!(W?Y.useNoiseSetting??!0:g),stepIndex:Ge,stepCount:ze,pageIndex:tt,pageCount:ht,resultOpen:!!(pt&&!pt.isEmpty),hideNoiseRows:L})]}),pt&&!pt.isEmpty&&(j??iT)({score:pt.score,results:pt.results||pt.answers||[],contextsLength:pt.results?pt.results.length:pt.answers?pt.answers.length:0,onReplay:()=>{if(H.current=Date.now(),pt!==Ea){const{correct:be,total:Te}=nm(pt);ut.current.push({correct:be,total:Te})}if(vt(),st(be=>be+1),W){if(kt(Bs()),typeof t?.onReplay=="function")try{t.onReplay()}catch{}return}if(N){kt(Bs());return}try{const be=Ne.current&&Ne.current._childOnResult;typeof be=="function"&&be({replay:!0})}catch{}},onClose:Jt,pending:pt===Ea}),pt?.isEmpty&&a.jsx("div",{className:"page-popup page-popup--result-empty",role:"dialog","aria-modal":"true","aria-label":T("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC"),children:a.jsxs("div",{className:"page-popup__panel page-popup__panel--center",children:[a.jsx("div",{className:"page-popup__scroll",children:a.jsx("div",{className:`page-popup__content page-popup__content--center${e.contentFull?" page-popup__content--full":""}`,children:a.jsx("div",{className:"page-popup__empty",children:T("training.result.eyebrow","\uD6C8\uB828 \uC644\uB8CC")})})}),a.jsx("div",{className:"page-popup__bottom",children:a.jsx(ge,{htmlType:"button",variant:"main",size:48,onClick:Jt,label:T("training.result.done","\uC644\uB8CC")})})]})}),a.jsx(_r,{message:Tt,position:"top",onClose:Ut})]}),fa=a.jsx(hs.Provider,{value:Ae,children:oa});return I?fa:typeof document<"u"&&document.body?jo.createPortal(fa,document.body):fa}const Da=lT;Da.Page=xi,Da.ListenStep=Zh,Da.ConfirmStep=Jh,Da.ConfirmWithTextStep=Qh,Da.OrderListStep=em,Da.CardStep=tm,Da.CardOrderStep=HN;function sT(e=[]){const t=s.useRef(null),o=s.useCallback(n=>{const i=getComputedStyle(n),l=i.gridTemplateColumns.split(" ").filter(Boolean),c=parseFloat(l[0]??"0"),u=parseFloat(i.columnGap||"0")||0;if(!c||l.length<2){for(const p of n.children)p.style.gridColumn="";return}for(const p of n.children){const h=p;h.style.gridColumn="",h.removeAttribute("data-wide");const d=h.querySelector("button"),m=d?d.getBoundingClientRect().width:0;if(m<=c+.5)continue;const b=Math.min(l.length,Math.ceil((m+u)/(c+u)));b<=1||(h.style.gridColumn=`span ${b}`,h.setAttribute("data-wide",""))}},[]),r=s.useCallback(()=>{const n=t.current;if(n)for(const i of n.querySelectorAll(".word-search-result-block__items"))o(i)},[o]);return s.useLayoutEffect(()=>{r();const n=t.current;if(!n||typeof ResizeObserver>"u")return;const i=new ResizeObserver(()=>r());return i.observe(n),()=>i.disconnect()},[r,...e]),t}var cT=".ihabdevteam-core-scope .word-search-result-block__actions{display:flex;flex-wrap:wrap;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>[data-wide]>button{width:100%}.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-label{color:var(--color-gray)}.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__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}.ihabdevteam-core-scope .word-search-result-block__inner--head-only{gap:0;padding-bottom:0;padding-top:0}.ihabdevteam-core-scope .word-search-result-block__inner--head-only .word-search-result-block__head{min-height:60px}";se(cT);var uT='.ihabdevteam-core-scope .word-image-tooltip{background:var(--color-white);border:1px solid var(--color-darkWhite);border-radius:var(--radius-m);box-shadow:var(--shadow-dropdown);padding:var(--spacing-s);position:fixed;z-index:var(--z-tooltip)}.ihabdevteam-core-scope .word-image-tooltip__cells{display:flex;gap:var(--spacing-s)}.ihabdevteam-core-scope .word-image-tooltip__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 .word-image-tooltip__cell img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;transition:opacity .2s;width:100%}.ihabdevteam-core-scope .word-image-tooltip__spinner{align-items:center;display:flex;inset:0;justify-content:center;position:absolute}.ihabdevteam-core-scope .word-image-tooltip__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 .word-image-tooltip__cell--text{align-items:center;color:var(--color-black);display:flex;font-weight:700;justify-content:center}';se(uT);function dT({label:e,homonum:t}){const o=La()?.(e,t)??"",{imgRef:r,loading:n,hasImage:i,onLoad:l,onError:c}=xh(o);return i?a.jsxs("div",{className:de("word-image-tooltip__cell"),children:[n&&a.jsx("div",{className:de("word-image-tooltip__spinner")}),a.jsx("img",{ref:r,src:o,alt:e,draggable:!1,style:{opacity:n?0:1},onLoad:l,onError:c})]}):a.jsx("div",{className:de("word-image-tooltip__cell word-image-tooltip__cell--text h3"),children:a.jsx("span",{children:e})})}function im({words:e,anchorRect:t}){const o=s.useRef(null),[r,n]=s.useState(null);return s.useLayoutEffect(()=>{if(!t||!o.current)return;const{offsetWidth:i,offsetHeight:l}=o.current,c=window.innerWidth,u=window.innerHeight,p=8,h=t.top,d=u-t.bottom,m=h>=l+p*2||h>d,b=(f,g)=>Math.min(Math.max(p,f),Math.max(p,g)),C=b(t.left+t.width/2-i/2,c-i-p),x=b(m?t.top-l-p:t.bottom+p,u-l-p);n({left:C,top:x})},[t]),!t||e.length===0?null:jo.createPortal(a.jsx("div",{ref:o,className:de("word-image-tooltip"),style:{visibility:r?"visible":"hidden",left:r?.left??0,top:r?.top??-9999},children:a.jsx("div",{className:de("word-image-tooltip__cells"),children:e.map(i=>a.jsx(dT,{label:i.label,homonum:i.homonum},`${i.label}_${i.homonum??1}`))})}),document.body)}function qC({titleIcon:e,resultCount:t,resultUnit:o,searchQuery:r,items:n,groups:i,selected:l=[],onSelect:c,maxSelect:u,onClearSelection:p,onPrint:h,onPrintEmpty:d,className:m,emptyHint:b,showEmptyText:C=!0,sectionType:x="page",disc:f}){const g=Oo()??Eo,{t:_,i18n:v}=we.useTranslation(),w=v.language?.startsWith("ko")??!1,{anchorRect:S,openAt:y,close:k}=an(),[B,E]=s.useState(null),A=s.useCallback(()=>{k(),E(null)},[k]);up(A,!!B);const j=(r??"").trim(),D=/^[^,[\]\s]+$/.test(j)?j:"",L=D.length>0,I=r===void 0&&t===void 0,R=L?"match":I?"original":"ganada",[H,T]=s.useState(()=>R),[F,W]=s.useState("50"),[K,Y]=s.useState(1),[z,X]=s.useState(L);z!==L&&(X(L),T(R));const Z=H==="match"&&!L||H==="original"&&!I?R:H,J=s.useMemo(()=>[...L?[{value:"match",label:_("wordSearch.sort.match",{defaultValue:"\uC2DC\uC791 \uC6B0\uC120"})}]:[],...I?[{value:"original",label:_("wordSearch.sort.original",{defaultValue:"\uBC1B\uC740 \uC21C\uC11C"})}]:[],{value:"ganada",label:_("wordSearch.sort.ganada",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2191"})},{value:"ganada_desc",label:_("wordSearch.sort.ganadaDesc",{defaultValue:"\uAC00\uB098\uB2E4\uC21C \u2193"})},{value:"syllable",label:_("wordSearch.sort.syllable",{defaultValue:"\uC74C\uC808 \uC218 \u2191"})},{value:"syllable_desc",label:_("wordSearch.sort.syllableDesc",{defaultValue:"\uC74C\uC808 \uC218 \u2193"})},{value:"grade",label:_("wordSearch.sort.grade",{defaultValue:"\uB4F1\uAE09\uC21C \u2191"})},{value:"grade_desc",label:_("wordSearch.sort.gradeDesc",{defaultValue:"\uB4F1\uAE09\uC21C \u2193"})}],[_,L,I]),M=s.useMemo(()=>["10","25","50","100"].map(Be=>({value:Be,label:_("wordSearch.pageSize",{count:Number(Be),defaultValue:`${Be}\uAC1C\uC529 \uBCF4\uAE30`})})),[_]),P=Be=>Be.words?.[0],N=s.useMemo(()=>{const Be=[...D].length,Ee=_c(D),Ae=new Map;return Ne=>{let We=Ae.get(Ne);return We===void 0&&(We=Ee((Ne.words?.[0]?.label??"").slice(0,Be))?0:1,Ae.set(Ne,We)),We}},[D]),U=s.useCallback((Be,Ee)=>{const Ae=st=>P(st)?.label??"",Ne=st=>P(st)?.syllables??[...Ae(st)].length,We=st=>(st.words??[]).reduce((ut,Oe)=>{const qe=parseInt(Oe.grade??"",10);return Number.isFinite(qe)&&qe<ut?qe:ut},999);switch(Z){case"match":return N(Be)-N(Ee)||Mo(Ae(Be),Ae(Ee));case"ganada":return Mo(Ae(Be),Ae(Ee));case"ganada_desc":return Mo(Ae(Ee),Ae(Be));case"syllable":return Ne(Be)-Ne(Ee)||Mo(Ae(Be),Ae(Ee));case"syllable_desc":return Ne(Ee)-Ne(Be)||Mo(Ae(Be),Ae(Ee));case"grade":return We(Be)-We(Ee)||Mo(Ae(Be),Ae(Ee));case"grade_desc":return We(Ee)-We(Be)||Mo(Ae(Be),Ae(Ee));default:return 0}},[Z,N]),ne=s.useMemo(()=>n.slice().sort(U),[n,U]),re=Number(F)||10,Q=s.useMemo(()=>(i??[]).flatMap(Be=>Be.items.slice().sort(U).map(Ee=>({item:Ee,label:Be.label}))),[i,U]),ce=i?Q.length:ne.length,Se=Math.max(1,Math.ceil(ce/re)),ue=Math.min(K,Se),oe=s.useMemo(()=>ne.slice((ue-1)*re,ue*re),[ne,ue,re]),G=s.useId(),V=s.useMemo(()=>{if(!i)return null;const Be=Q.slice((ue-1)*re,ue*re),Ee=new Map;for(const{item:Ae,label:Ne}of Be)Ee.has(Ne)||Ee.set(Ne,[]),Ee.get(Ne).push(Ae);return[...Ee.entries()].map(([Ae,Ne])=>({label:Ae,items:Ne}))},[i,Q,ue,re]);s.useEffect(()=>{Y(1)},[H,F,ce,r]);const q=ce>0?a.jsxs("div",{className:"word-search-result-block__toolbar",children:[a.jsx(Ro,{size:g,options:J,value:Z,onChange:T,ariaLabel:_("wordSearch.sort.aria",{defaultValue:"\uC815\uB82C"})}),a.jsx(Ro,{size:g,options:M,value:F,onChange:W,ariaLabel:_("wordSearch.pageSizeAria",{defaultValue:"\uD398\uC774\uC9C0 \uD06C\uAE30"})}),a.jsx(Kl,{page:ue,totalPages:Se,onChange:Y})]}):void 0,ie=Be=>{c&&c(Be)},O=t!==void 0&&o?a.jsxs(a.Fragment,{children:[_("wordSearch.resultTitlePrefix","\uCD1D "),a.jsx("span",{style:{color:"var(--color-main)"},children:t}),_("wordSearch.resultTitleSuffix",{unit:w?Vc(o):o})]}):void 0,he=t!==void 0&&t>0&&u!==void 0&&o?_("wordSearch.resultDisc",{unit:w?qc(o):o,max:u,selected:l.length}):void 0,me=f??he,ve=i?i.length===0:n.length===0,xe=sT([i,oe,H,re,K]),Ie=ve&&!C&&!b;return a.jsxs(yr,{type:x,className:ke("word-search-result-block",m),children:[a.jsxs("div",{ref:xe,className:ke("word-search-result-block__inner",Ie&&"word-search-result-block__inner--head-only"),children:[(O||q||me)&&a.jsxs("div",{className:"word-search-result-block__head",children:[a.jsxs("div",{className:"word-search-result-block__head-main",children:[e&&a.jsx(lt,{icon:e,className:"word-search-result-block__head-icon"}),O&&a.jsx("span",{className:"word-search-result-block__title h3",children:O})]}),q&&a.jsx("div",{className:"word-search-result-block__head-actions",children:q}),me&&a.jsx("div",{className:"word-search-result-block__head-disc body-3",children:me})]}),ve&&(C||b)&&a.jsxs("div",{className:"word-search-result-block__empty-wrap",children:[C&&a.jsx("p",{className:"word-search-result-block__empty body-3",children:_("wordSearch.emptyResult","\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")}),b&&a.jsx("p",{className:"word-search-result-block__empty-hint body-3",children:b})]}),i?(V??[]).map(Be=>a.jsxs("div",{className:"word-search-result-block__group",role:"group","aria-labelledby":`${G}-${Be.label}`,children:[a.jsx("div",{className:"word-search-result-block__group-label caption-1b",id:`${G}-${Be.label}`,children:Be.label}),a.jsx("div",{className:"word-search-result-block__items",children:Be.items.map(Ee=>{const Ae=l.includes(Ee.id);return a.jsx("div",{onMouseEnter:Ne=>{y(Ne.currentTarget),E(Ee.words??[])},onMouseLeave:A,children:a.jsx(ge,{htmlType:"button",size:"word",align:"grid",label:(Ee.words??[]).map(Ne=>Ne.label),subLabel:(Ee.words??[]).some(Ne=>Ne.subLabel)?(Ee.words??[]).map(Ne=>Ne.subLabel):void 0,selected:Ae,onClick:()=>ie(Ee.id),minWidth:200})},Ee.id)})})]},Be.label)):a.jsx("div",{className:"word-search-result-block__items",children:oe.map(Be=>{const Ee=l.includes(Be.id);return a.jsx("div",{onMouseEnter:Ae=>{y(Ae.currentTarget),E(Be.words??[])},onMouseLeave:A,children:a.jsx(ge,{htmlType:"button",size:"word",align:"grid",label:(Be.words??[]).map(Ae=>Ae.label),subLabel:(Be.words??[]).some(Ae=>Ae.subLabel)?(Be.words??[]).map(Ae=>Ae.subLabel):void 0,selected:Ee,onClick:()=>ie(Be.id),minWidth:200})},Be.id)})}),B&&S&&a.jsx(im,{words:B,anchorRect:S})]}),(p||h)&&a.jsxs("div",{className:"word-search-result-block__actions",children:[p&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:_("common.resetSelection","\uC120\uD0DD \uCD08\uAE30\uD654"),selected:!1,disabled:l.length===0,onClick:l.length===0?void 0:p}),h&&a.jsx("div",{onClick:l.length===0?d:void 0,children:a.jsx(ge,{htmlType:"button",size:"56",type:"bar",variant:"main",label:_("wordTable.title","\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30"),disabled:l.length===0,onClick:l.length===0?void 0:h})})]})]})}var pT='.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}}';se(pT);function hT(e,t){return t.map(o=>{const r=typeof o=="string"?o:o.label,n=typeof o=="string"?void 0:o.displayLabel;return{label:r,value:e[r]??"",displayLabel:n}})}function YC({sections:e,selectedList:t,count:o,onCountChange:r,maxCount:n=4,minCount:i=1,combinationSections:l,combinationSectionsForSlot:c,onSelect:u,placeholder:p="-",className:h,title:d,titleIcon:m,disc:b,showInfoButton:C=!0,onClearPhoneme:x,onSearch:f,onSearchEmpty:g,searchDisabled:_=!1,searchLabel:v,searchChecking:w=!1,pairMode:S=!1,sectionType:y="page",beforeSearchContent:k,beforeContent:B,afterContent:E,hideCountControl:A=!1,ordinal:j=!1}){const{t:D}=we.useTranslation(),L=s.useMemo(()=>D("wordPairs.infoNotes",{returnObjects:!0}),[D]),I=s.useMemo(()=>Array.from({length:n-i+1},(M,P)=>{const N=i+P;return{key:String(N),label:D("wordPairs.count",{n:N})}}),[D,n,i]),R=s.useMemo(()=>D("wordPairs.ordinals",{returnObjects:!0}),[D]),H=s.useCallback(M=>j?D("wordPairs.phonemeOrdinalLabel",{ordinal:R[M-1]??M}):o===1?D("wordPairs.phonemeSingleLabel","\uC74C\uC808"):D("wordPairs.phonemeN",{n:M}),[j,R,o,D]),T=s.useCallback(M=>j?D("wordPairs.phonemeContrastOrdinalLabel",{ordinal:R[M-1]??M}):o===1?D("wordPairs.phonemeContrastSingleLabel","\uB300\uB9BD \uC74C\uC808"):D("wordPairs.phonemeContrast",{n:M}),[j,R,o,D]),F=s.useCallback((M,P)=>P?a.jsxs(a.Fragment,{children:[M,a.jsx("span",{className:"phoneme-select-block__required",children:"*"})]}):M,[]),{anchorRect:W,toggleAt:K,close:Y}=an(),z=s.useCallback(M=>r(Number(M)),[r]),X=Ao("(max-width: 767px)"),Z=s.useCallback(M=>hT(M,e).map(({label:P,value:N,displayLabel:U})=>{const ne=!!N&&N!=="\uC5C6\uC74C";return a.jsxs("span",{className:ke("phoneme-select-block__cell-jamo-part",N?"":"phoneme-select-block__cell-jamo-part--empty",ne?"":"phoneme-select-block__cell-jamo-part--no-label"),children:[a.jsx("span",{className:`phoneme-select-block__cell-jamo-char h1${N==="\uC5C6\uC74C"?" phoneme-select-block__cell-jamo-char--excluded":""}`,children:N==="\uC5C6\uC74C"?"x":N||p}),ne&&a.jsx("span",{className:"phoneme-select-block__cell-jamo-label caption-2",children:U??P})]},P)}),[e,p]),J=a.jsxs(a.Fragment,{children:[a.jsx("div",{"data-tooltip-ignore":!0,children:a.jsx(ge,{htmlType:"button",size:40,type:X?"dot":void 0,icon:"info",label:X?void 0:D("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),ariaLabel:D("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),className:W?"is-selected":void 0,"aria-expanded":!!W,"aria-haspopup":"dialog",onClick:M=>K(M.currentTarget)})}),W&&a.jsx(ka,{title:D("wordPairs.caution","\uC720\uC758\uC0AC\uD56D"),items:L,anchorRect:W,onClose:Y})]});return a.jsxs(yr,{type:y,title:d,icon:m,disc:b,action:C?J:void 0,className:ke("phoneme-select-block",h),children:[B,!A&&a.jsx("div",{className:"phoneme-select-block__controls",children:a.jsx($o,{options:I,value:String(o),onChange:z,size:40,ariaLabel:D("wordPairs.countLabel","\uC74C\uC18C \uAC1C\uC218"),className:"phoneme-select-block__count-control"})}),a.jsx("div",{className:"phoneme-select-block__cells",children:S?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2]??{};return a.jsxs("div",{className:"phoneme-select-block__cell",children:[a.jsx("div",{className:"phoneme-select-block__cell-circle",children:a.jsx("div",{className:"phoneme-select-block__cell-jamo",children:Z(N)})}),a.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:H(P+1)})]},P)})}),a.jsx("span",{className:"phoneme-select-block__cell-vs h3",children:D("wordPairs.phonemeSelect.vs","\uB300")}),a.jsx("div",{className:"phoneme-select-block__cell-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2+1]??{};return a.jsxs("div",{className:"phoneme-select-block__cell",children:[a.jsx("div",{className:"phoneme-select-block__cell-circle",children:a.jsx("div",{className:"phoneme-select-block__cell-jamo",children:Z(N)})}),a.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:T(P+1)})]},P)})})]}):t.map((M,P)=>a.jsxs("div",{className:"phoneme-select-block__cell",children:[a.jsx("div",{className:"phoneme-select-block__cell-circle",children:a.jsx("div",{className:"phoneme-select-block__cell-jamo",children:Z(M)})}),a.jsx("span",{className:"phoneme-select-block__cell-index caption-1",children:H(P+1)})]},P))}),(l||c)&&a.jsx("div",{className:"phoneme-select-block__panels",children:a.jsx("div",{className:"phoneme-select-block__detail",children:S?a.jsxs("div",{className:"phoneme-select-block__pair-panels",children:[a.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2]??{};return a.jsx(ba,{title:F(H(P+1),P===0),sections:c?c(N,P*2):l,selected:N,onSelect:u?.(P*2),align:"newline"},P)})}),a.jsx("div",{className:"phoneme-select-block__panel-group",children:Array.from({length:o}).map((M,P)=>{const N=t[P*2+1]??{};return a.jsx(ba,{title:T(P+1),sections:c?c(N,P*2+1):l,selected:N,onSelect:u?.(P*2+1),align:"newline"},P)})})]}):t.map((M,P)=>a.jsx(ba,{title:F(H(P+1),P===0),sections:c?c(M,P):l,selected:M,onSelect:u?.(P),align:"newline"},P))})}),k&&a.jsx("div",{className:"phoneme-select-block__before-search",children:k}),(x||f||w)&&(()=>{const M=t.every(P=>{const N=m3(P);return Object.entries(N).every(([U,ne])=>!ne||U==="coda"&&ne===Nb)});return a.jsxs("div",{className:"phoneme-select-block__search-row",onClick:M?g:void 0,children:[x&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:D("wordPairs.resetOptions","\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654"),selected:!1,disabled:M,onClick:M?void 0:x}),f?a.jsx(ge,{htmlType:"button",size:"56",type:"bar",variant:"main",icon:w?a.jsx("span",{className:"phoneme-select-block__spinner","aria-hidden":"true"}):void 0,label:v??D("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30"),disabled:M||_||w,onDisabledClick:w?()=>{}:void 0,"aria-busy":w||void 0,onClick:f}):w?a.jsxs("div",{className:"phoneme-select-block__checking","aria-busy":"true",children:[a.jsx("div",{className:"phoneme-select-block__spinner"}),a.jsx("span",{className:"button-1 phoneme-select-block__checking-label",children:v??D("wordSearch.searchButton","\uAC80\uC0C9\uD558\uAE30")})]}):null]})})(),E]})}function KC({title:e,sections:t,selected:o,onSelect:r,collapsible:n,defaultCollapsed:i,collapsed:l,onCollapsedChange:c,headerSummary:u,headerAction:p,className:h}){const{t:d}=we.useTranslation();return a.jsx(ba,{className:h,title:e??d("wordSearch.filterTitle","\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815"),sections:t,selected:o,onSelect:r,collapsible:n,defaultCollapsed:i,collapsed:l,onCollapsedChange:c,headerSummary:u,headerAction:p,align:"inline"})}function XC({title:e,headerAction:t,sections:o,selected:r,onSelect:n,className:i}){const{t:l}=we.useTranslation();return o.length===0?null:a.jsx(ba,{className:i,title:e??l("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),headerAction:t,sections:o,selected:r,onSelect:n,align:"newline"})}function ZC({title:e,mode:t,onModeChange:o,matchMode:r,onMatchModeChange:n,positionCount:i,onPositionCountChange:l,inputMode:c,onInputModeChange:u,className:p}){const{t:h}=we.useTranslation(),d={searchMode:h("wordPairs.filter.searchModeLabel","\uB300\uB9BD \uBC29\uC2DD"),phonemeOrder:h("wordPairs.filter.phonemeOrder","\uC785\uB825 \uC74C\uC808 \uC704\uCE58"),count:h("wordPairs.filter.countLabel","\uC785\uB825 \uC74C\uC808 \uAC2F\uC218"),inputMode:h("wordPairs.filter.inputModeLabel","\uC785\uB825 \uBC29\uC2DD"),orderAny:h("wordPairs.filter.orderAny","\uBB34\uAD00"),orderMatch:h("wordPairs.filter.orderMatch","\uC77C\uCE58"),include:h("wordPairs.mode.include","\uC74C\uC18C \uD3EC\uD568"),pick:h("wordPairs.mode.pick","\uC74C\uC18C \uB300\uB9BD"),explicit:h("wordPairs.mode.contrast","\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815"),charInput:h("wordPairs.input.char","\uAE00\uC790 \uC120\uD0DD"),pronInput:h("wordPairs.input.pron","\uBC1C\uC74C \uC120\uD0DD")},m=f=>h("wordPairs.count",{n:f}),b=[{label:d.searchMode,items:[d.include,d.pick,d.explicit],display:"segmented",labelAction:a.jsx(nn,{title:h("wordPairs.mode.infoTitle","\uB300\uB9BD \uBC29\uC2DD"),items:[h("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."),h("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."),h("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:d.phonemeOrder,items:[d.orderAny,d.orderMatch],display:"segmented",labelAction:a.jsx(nn,{items:h("wordPairs.filter.phonemeOrderInfo",{returnObjects:!0})})},{label:d.count,items:[m(1),m(2)],display:"segmented"},{label:d.inputMode,items:[d.charInput,d.pronInput],display:"segmented",labelAction:a.jsx(nn,{title:h("wordPairs.input.infoTitle","\uC785\uB825 \uBC29\uC2DD"),items:[h("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."),h("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.")]})}],C={[d.searchMode]:t==="explicit"?d.explicit:t==="pick"?d.pick:d.include,[d.phonemeOrder]:r==="ordered"?d.orderMatch:d.orderAny,[d.count]:m(i),[d.inputMode]:c==="phoneme"?d.pronInput:d.charInput},x=(f,g)=>{g===d.searchMode?o(f===d.explicit?"explicit":f===d.pick?"pick":"include"):g===d.phonemeOrder?n(f===d.orderMatch?"ordered":"unordered"):g===d.count?l(f===m(2)?2:1):g===d.inputMode&&u(f===d.pronInput?"phoneme":"word")};return a.jsx(ba,{className:p,title:e??h("wordPairs.filter.searchOptionsTitle","\uB300\uB9BD \uC124\uC815"),sections:b,selected:C,onSelect:x,align:"inline"})}var mT=".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}";se(mT);function JC(e){const{title:t,items:o,columns:r,resizeStorageKey:n,gridTemplateColumns:i,mobileGridTemplateColumns:l,searchPlaceholder:c,searchFn:u,defaultSortKey:p,defaultSortAsc:h=!0,selectedId:d,selectedIds:m,onSelect:b,onClose:C,pageSizeOptions:x=[10,25,50,100],initialPageSize:f,emptyText:g,noMatchText:_,countLabel:v,topContent:w,className:S=""}=e,{t:y}=we.useTranslation(),k=c??y("common.search","\uAC80\uC0C9"),B=g??y("common.emptyList","\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."),E=_??y("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"),[A,j]=s.useState(""),[D,L]=s.useState(p??r[0]?.key??""),[I,R]=s.useState(h),[H,T]=s.useState(String(f??x[0]??10)),[F,W]=s.useState(1);s.useEffect(()=>{W(1)},[A,H]);const K=u!==null,Y=s.useCallback((re,Q)=>{if(!Q)return!0;const ce=Q.toLowerCase();return r.some(Se=>{const ue=re[Se.key];return ue==null?!1:String(ue).toLowerCase().includes(ce)})},[r]),z=u??Y,X=s.useMemo(()=>{const re=K?o.filter(Q=>z(Q,A)):o;return D?[...re].sort((Q,ce)=>{const Se=Q[D],ue=ce[D];return Se===ue?0:Al(Se,ue,I)}):re},[o,A,D,I,K,z]),Z=Math.max(1,Math.ceil(X.length/Number(H)));F>Z&&W(Z);const J=Math.min(F,Z),M=X.slice((J-1)*Number(H),J*Number(H)),P=s.useCallback(re=>{D===re?R(Q=>!Q):(L(re),R(!0)),W(1)},[D]),N=s.useMemo(()=>{if(typeof v=="function"){const re=X.length,Q=v(re);if(typeof Q=="string"){const ce=Q.lastIndexOf(String(re));if(ce>=0)return{prefix:Q.slice(0,ce),suffix:Q.slice(ce+String(re).length)}}return{label:Q}}if(typeof v=="string"&&v.includes("{n}")){const[re,Q]=v.split("{n}");return{prefix:re,suffix:Q}}return{prefix:y("common.totalCountPrefix","\uCD1D "),suffix:y("common.totalCountSuffix","\uAC1C")}},[v,X.length,y]),U=s.useMemo(()=>r.map(re=>({label:re.label,onClick:re.sortable!==!1?()=>P(re.key):void 0,className:re.className,sortDir:re.sortable!==!1&&D===re.key?I?"asc":"desc":null})),[r,D,I,P]),ne=_p(x);return a.jsxs(pa,{className:`popup-list ${S}`,title:t,onClose:C,children:[w,"label"in N&&a.jsx("p",{className:"toolbar__count body-1",children:N.label}),a.jsx(Xl,{count:"label"in N?void 0:{value:X.length,prefix:N.prefix,suffix:N.suffix},search:K?{value:A,onChange:j,placeholder:k}:void 0,pageSize:{options:ne,value:H,onChange:T},pagination:{page:J,total:Z,onChange:W}}),a.jsx(os,{gridTemplateColumns:i,mobileGridTemplateColumns:l,resizable:!0,resizeStorageKey:n,fields:U,items:M,onRowClick:b,renderRow:re=>{const Q=m!=null?re.id!=null&&m.has(re.id):d!=null&&re.id===d;return r.map(ce=>({content:ce.render?ce.render(re):re[ce.key]??"",className:ke(ce.className,Q&&"popup-list__row--selected")}))},empty:K&&A!==""&&o.length>0?E:B})]})}function lm(e,t,o={}){const{t:r}=we.useTranslation(),[n,i]=s.useState(!1),l=s.useRef(!1),c=s.useCallback(()=>{l.current=!0},[]),u=s.useCallback(()=>l.current?(l.current=!1,!0):e?(i(!0),!1):!0,[e]),p=n?a.jsx(li,{title:o.title??r("common.discardConfirm.title","\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?"),message:o.message??r("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:o.confirmLabel??r("common.discardConfirm.confirm","\uC785\uB825 \uCDE8\uC18C"),confirmVariant:"danger",onConfirm:()=>{i(!1),t()},onClose:()=>i(!1)}):null;return{beforeClose:u,discardPopup:p,allowClose:c}}function QC(e,t,o={}){const r=JSON.stringify(e),[n,i]=s.useState(r),l=r!==n,c=lm(l,t,o),u=s.useRef(r);u.current=r;const p=s.useCallback(()=>i(u.current),[]);return{...c,isDirty:l,rebase:p}}var bT=".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}";se(bT);function e_({onApply:e,onCancel:t}){const{t:o}=we.useTranslation(),[r,n]=s.useState(""),[i,l]=s.useState(!1),[c,u]=s.useState(null),p=s.useRef(null),h=s.useId();s.useEffect(()=>{p.current?.focus()},[]);const d=s.useCallback(async C=>{const x=r.trim();if(x){l(!0),u(null);try{await e(x),C()}catch(f){u(Wr(f)),l(!1),requestAnimationFrame(()=>p.current?.focus())}}},[r,e]),m=s.useCallback((C,x)=>{C.key==="Enter"&&!C.nativeEvent.isComposing&&d(x)},[d]),b=C=>{n(C.target.value),u(null)};return a.jsx(pa,{className:"coupon-input-popup",title:o("usage.couponButton","\uCFE0\uD3F0 \uC785\uB825"),size:"small",onClose:t,closeDisabled:i,buttons:[{label:o("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:i,onClick:({closeWithAnimation:C})=>C()},{label:o("coupons.applyButton","\uC801\uC6A9"),variant:"main",disabled:!r.trim()||i,onClick:({closeWithAnimation:C})=>{d(C)}}],children:({closeWithAnimation:C})=>a.jsxs(a.Fragment,{children:[a.jsx("input",{ref:p,className:"coupon-input-popup__input body-2","aria-label":o("coupons.input.label","\uCFE0\uD3F0 \uCF54\uB4DC"),"aria-invalid":c?!0:void 0,"aria-errormessage":c?h:void 0,"aria-describedby":c?h:void 0,placeholder:o("coupons.input.placeholder","\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"),value:r,onChange:b,onKeyDown:x=>m(x,C),disabled:i,autoComplete:"off",spellCheck:!1}),c&&a.jsx("p",{id:h,className:"coupon-input-popup__error caption-1",role:"alert",children:c})]})})}var gT=".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}";se(gT);const t_=["var(--color-main)","var(--color-sub)"],fT=2e3;function vT(e,t){if(!t.startsWith("var("))return t;try{const o=t.slice(4,-1).trim();return getComputedStyle(e).getPropertyValue(o).trim()||null}catch{return null}}function As({active:e=!1,count:t=40,duration:o=2e3,strength:r=1,onComplete:n,trigger:i=0}){const l=s.useMemo(()=>{const x=Math.floor(t/2),f=t-x,g=(_,v)=>Array.from({length:_}).map((w,S)=>{const y=6+Math.random()*12,k=Math.round(Math.min(18,y*Math.min(1.5,1+r*.4))),B=t_[Math.floor(Math.random()*t_.length)],E=Math.random()*300,A=(360+Math.random()*260)*r*1.2,j=(v==="left"?-95+Math.random()*40:-85-Math.random()*40)*Math.PI/180,D=Math.cos(j)*A,L=Math.sin(j)*A*1.35,I=Math.random()*720-360,R=(1200+Math.random()*3e3)*Math.min(1.6,1+r*.3),H=Math.random()>.7?"50%":"3px";return{id:`${v}-${S}`,side:v,size:k,color:B,delay:E,vx:D,vy:L,angularVel:I,life:R,borderRadius:H}});return[...g(x,"left"),...g(f,"right")]},[t,r]),c=s.useRef(null),u=s.useRef({}),p=s.useRef(null),h=s.useRef(n);s.useEffect(()=>{h.current=n},[n]);const d=s.useRef(null),m=s.useRef(null),b=()=>{if(typeof document>"u")return null;let x=document.querySelector("[data-ihab-effect-root]");return x||(x=document.createElement("div"),x.className="app-effect",x.dataset.ihabEffectRoot="",x.style.position="fixed",x.style.inset="0",x.style.pointerEvents="none",x.style.zIndex="99998",document.body.appendChild(x)),x};if(typeof document<"u"&&m.current==null&&(m.current=b()),s.useEffect(()=>{if(!e)return;if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){const Y=setTimeout(()=>h.current?.(),0);return()=>clearTimeout(Y)}const x=1200,f=performance.now(),g=m.current&&m.current!==document.body?m.current.getBoundingClientRect():null,_=Math.max(60,(window.innerHeight||800)*.05),v=Y=>Math.max(40,(Y||window.innerWidth)*.02),w=g?.width||window.innerWidth||375,S=g?.height||window.innerHeight||812,y=Y=>{const z=[...Y].sort((X,Z)=>X-Z);return z[Math.floor(z.length/2)]||1},k=y(l.map(Y=>Math.abs(Y.vy))),B=y(l.map(Y=>Math.abs(Y.vx))),E=Math.sqrt(2*x*(S*.72+_))/k,A=k*E/x,j=w*.5/(B*A),D=(Y,z,X)=>Math.min(X,Math.max(z,Y)),L=D(E,.8,2.4),I=D(j,.7,2.2),R=o>0?o/fT:1,H=l.map(Y=>({...Y,life:Y.life*R,vx:Y.vx*I,vy:Y.vy*L,startTime:f+Y.delay,ended:!1})),T=g?{x:g.left-v(g.width),y:g.top+g.height+_}:{x:-v(window.innerWidth),y:window.innerHeight+_},F=g?{x:g.left+g.width+v(g.width),y:g.top+g.height+_}:{x:window.innerWidth+v(window.innerWidth),y:window.innerHeight+_},W=Y=>{let z=!1;for(const X of H){const Z=u.current[X.id];if(!Z||!Z)continue;if(Y<X.startTime){Z.style.display="none",z=!0;continue}if(!X._inited){const Se=X.side==="left"?T.x:F.x,ue=X.side==="left"?T.y:F.y;Z.style.left=`${Se}px`,Z.style.top=`${ue}px`,Z.style.transform="translate3d(0px, 0px, 0)",Z.style.display="block",Z.style.zIndex="100000",typeof X.color=="string"&&X.color.startsWith("var(")&&(Z.style.background=vT(Z,X.color)??"#FF0060"),X._inited=!0}const J=(Y-X.startTime)/1e3;if(J<0)continue;const M=X.life/1e3;if(J>=M){Z.style.opacity="0",Z.style.display="none",X.ended=!0;continue}z=!0;const P=X.side==="left"?T.x:F.x,N=X.side==="left"?T.y:F.y,U=P+X.vx*J,ne=N+X.vy*J+.5*x*J*J,re=(X.angularVel||0)*J,Q=U-P,ce=ne-N;Z.style.transform=`translate3d(${Q}px, ${ce}px, 0) rotate(${re}deg)`,Z.style.opacity=`${Math.max(0,1-J/M)}`}z?p.current=requestAnimationFrame(W):h.current?.()};p.current=requestAnimationFrame(W);const K=setTimeout(()=>{try{if((m.current?m.current.querySelectorAll(".confetti"):document.querySelectorAll(".confetti")).length===0&&!document.querySelector(".party-container")){const Y=document.createElement("div");Y.className="party-container",Y.style.position="fixed",Y.style.inset="0",Y.style.pointerEvents="none",Y.style.overflow="visible",Y.style.zIndex="2147483647";for(const z of l){const X=document.createElement("span");X.className=`confetti confetti--${z.side}`,X.setAttribute("aria-hidden","true"),X.style.display="none",X.style.position="fixed",X.style.left="0px",X.style.top="0px",X.style.width=`${z.size}px`,X.style.height=`${Math.max(4,z.size*.6)}px`,X.style.background=z.color,X.style.borderRadius=z.borderRadius,X.style.transform="translate3d(0,0,0)",X.style.opacity="0",Y.appendChild(X),u.current[z.id]=X}(document.body||m.current).appendChild(Y),d.current=Y}}catch{}},300);return()=>{if(p.current&&cancelAnimationFrame(p.current),clearTimeout(K),d.current){try{d.current.remove()}catch{}d.current=null}}},[e,o,i,l]),!e)return null;const C=a.jsx("div",{className:"party-container",ref:c,children:l.map(x=>a.jsx("span",{"aria-hidden":!0,ref:f=>{u.current[x.id]=f},className:`confetti confetti--${x.side}`,style:{width:`${x.size}px`,height:`${Math.max(4,x.size*.6)}px`,background:x.color,borderRadius:x.borderRadius}},`${x.id}-${i}`))});return typeof document<"u"?jo.createPortal(C,m.current||document.body):C}const sm=e=>typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0;function o_({trigger:e=0,active:t=!1}){const[o,r]=s.useState(null);s.useEffect(()=>{if(typeof window>"u")return;const i=l=>{const c=l.detail??{};r(u=>({n:(u?.n??0)+1,count:sm(c.count),strength:sm(c.strength),duration:sm(c.duration)}))};return window.addEventListener("party:trigger",i),()=>window.removeEventListener("party:trigger",i)},[]);const n=s.useCallback(()=>r(null),[]);return a.jsxs(a.Fragment,{children:[a.jsx(As,{active:t,trigger:e}),o&&a.jsx(As,{active:!0,trigger:o.n,count:o.count,strength:o.strength,duration:o.duration,onComplete:n})]})}var xT=".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%)}";se(xT);function a_({title:e,sub:t,rightAction:o,titleAction:r,badge:n,badgeVariant:i="default",documentTitle:l,onBack:c,backLabel:u,wrap:p=!1}){const{t:h}=we.useTranslation();Fd(typeof e=="string"?e:l??null);const d=u??h("common.back","\uB4A4\uB85C");return a.jsxs("div",{className:p?"page-title page-title--wrap":"page-title",children:[a.jsxs("div",{className:"page-title__main",children:[a.jsxs("div",{className:"page-title__title-row",children:[c&&a.jsx(ge,{htmlType:"button",className:"page-title__back",size:48,type:"dot",icon:"chevron-left",iconSize:"large",useBorder:!1,iconColor:"var(--color-text-primary)",ariaLabel:d,showTooltipInfo:d,onClick:c}),a.jsx("h1",{className:"page-title__title h1",children:e}),n&&a.jsx("div",{className:"page-title__badge",children:a.jsx(Co,{label:n,size:"small",variant:i,fill:"outline"})}),r?a.jsx("div",{className:"page-title__title-action",children:r}):null]}),t&&a.jsx("p",{className:"page-title__sub body-2",children:t})]}),o?a.jsx("div",{className:"page-title__action",children:o}):null]})}function r_(e){return e??""}const n_=s.createContext({words:[],loading:!1});function i_(){return s.useContext(n_)}function l_({words:e,loading:t,error:o,statusMessage:r,localVersion:n,remoteVersion:i,progress:l,clearAndRefetch:c,checkRemoteVersion:u,children:p}){const h=s.useMemo(()=>({words:e,loading:t,error:o,statusMessage:r,localVersion:n,remoteVersion:i,progress:l,clearAndRefetch:c,checkRemoteVersion:u}),[e,t,o,r,n,i,l,c,u]);return a.jsx(n_.Provider,{value:h,children:p})}var CT=".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)}";se(CT);function s_({items:e,actions:t,columns:o,flat:r=!1,className:n,style:i}){const l=o??e.length;return a.jsx("section",{className:ke("summary-strip",r&&"summary-strip--flat",n),style:{"--summary-strip-cols":String(l),...i},children:a.jsxs("div",{className:"summary-strip__row",children:[a.jsx("div",{className:"summary-strip__items",children:e.map((c,u)=>a.jsxs("div",{className:"summary-strip__item",children:[a.jsx("p",{className:"summary-strip__label caption-1",children:c.label}),a.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})]},u))}),t&&a.jsx("div",{className:"summary-strip__actions",children:t})]})})}var _T='.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}}';se(_T);const yT=(e,t)=>`${e} / ${t}`;function c_({blocks:e,sectionTitles:t,logo:o,footer:r,pageLabel:n=yT,pageWidth:i,pageHeight:l,margin:c,className:u,style:p}){const{t:h}=we.useTranslation(),d=s.useRef(null),m=s.useRef(null),b=s.useRef(null),C=s.useRef(null),[x,f]=s.useState(null),[g,_]=s.useState(!1);s.useEffect(()=>{const R=d.current;if(!R)return;const H=()=>_(R.scrollWidth>R.clientWidth+1);if(H(),typeof ResizeObserver>"u")return;const T=new ResizeObserver(H);return T.observe(R),()=>T.disconnect()},[x]);const v=e.map(R=>`${R.id}\0${R.section??""}\0${R.group??""}`).join(""),w=x&&x.shape===v?x.pages:null,[S,y]=s.useState(0);s.useEffect(()=>{const R=C.current;if(!R||typeof ResizeObserver>"u")return;const H=new ResizeObserver(()=>y(R.offsetHeight));return H.observe(R),()=>H.disconnect()},[]);const[k,B]=s.useState(0);s.useEffect(()=>{const R=m.current;if(!R||typeof ResizeObserver>"u")return;let H=null;const T=typeof requestAnimationFrame=="function"?K=>requestAnimationFrame(K):K=>setTimeout(K,16),F=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:K=>clearTimeout(K),W=new ResizeObserver(()=>{H==null&&(H=T(()=>{H=null,B(K=>K+1)}))});return Array.from(R.children).forEach(K=>W.observe(K)),()=>{W.disconnect(),H!=null&&F(H)}},[v]),s.useLayoutEffect(()=>{const R=m.current,H=C.current;if(!R||!H)return;const T=M=>M.getBoundingClientRect().height||M.offsetHeight,F=new Map;b.current?.querySelectorAll("[data-chrome-section]").forEach(M=>{F.set(M.dataset.chromeSection??"",T(M))});const W=M=>T(H)-(F.get(M??"")??0),K=Array.from(R.children).map(M=>T(M)),Y=[];e.forEach((M,P)=>{const N=Y[Y.length-1],U=N?e[N[0]]:void 0;U&&M.group!=null&&U.group===M.group&&U.section===M.section?N.push(P):Y.push([P])});const z=[];let X=[],Z=0;const J=()=>{X.length&&z.push(X),X=[],Z=0};Y.forEach(M=>{const P=M.reduce((U,ne)=>U+K[ne],0),N=W(e[M[0]].section);X.length&&e[X[0]].section!==e[M[0]].section&&J(),P>N?M.forEach(U=>{X.length&&Z+K[U]>N+.01&&J(),X.push(U),Z+=K[U]}):(X.length&&Z+P>N+.01&&J(),M.forEach(U=>X.push(U)),Z+=P)}),J(),f(M=>M&&M.shape===v&&JSON.stringify(M.pages)===JSON.stringify(z)?M:{shape:v,pages:z})},[v,S,i,l,c,k]);const E=Pp,A=E,j=r??a.jsxs(a.Fragment,{children:[a.jsx("img",{src:A,alt:"IHAB",className:"report-doc__logo"}),"\xA9 IHAB, Inc. All rights reserved."]}),D=(R,H,T)=>({header:a.jsxs("div",{className:"report-doc__header",children:[a.jsx("h2",{className:"report-doc__title h3b",children:T!=null&&t?.[T]||null}),o]}),footer:a.jsxs("div",{className:"report-doc__footer caption-1",children:[a.jsx("span",{className:"report-doc__footer-left",children:j}),a.jsx("span",{className:"report-doc__page-no",children:n(R,H)})]})}),L=Array.from(new Set(e.map(R=>R.section??""))),I={...i?{"--report-page-w":i}:null,...l?{"--report-page-h":l}:null,...c?{"--report-margin":c}:null,...p};return a.jsxs("div",{ref:d,className:ke("report-doc",u),style:I,tabIndex:g?0:void 0,role:g?"group":void 0,"aria-label":g?h("report.previewRegion","\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30"):void 0,children:[a.jsxs("div",{className:"report-doc__measure","aria-hidden":!0,children:[a.jsx("div",{ref:C,className:"report-doc__ruler"}),a.jsx("div",{ref:b,children:L.map(R=>{const H=D(1,1,R||void 0);return a.jsxs("div",{"data-chrome-section":R,children:[H.header,H.footer]},R)})}),a.jsx("div",{ref:m,className:"report-doc__measure-blocks",children:e.map(R=>a.jsx("div",{children:R.content},R.id))})]}),w&&a.jsx("div",{className:"report-doc__pages",children:w.map((R,H)=>{const{header:T,footer:F}=D(H+1,w.length,e[R[0]].section);return a.jsxs("section",{className:"report-doc__page",children:[T,R.map(W=>a.jsx("div",{children:e[W].content},e[W].id)),F]},H)})})]})}var wT=".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);min-width:0}.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);min-width:0;overflow-wrap:anywhere}";se(wT);function u_({title:e,fields:t,columns:o=4,className:r,style:n}){return a.jsxs("div",{className:ke("report-info",r),style:{"--report-info-cols":String(o),...n},children:[e&&a.jsx("p",{className:"report-info__title h5b",children:e}),a.jsx("div",{className:"report-info__grid",children:t.map((i,l)=>a.jsxs("div",{className:"report-info__field body-2",children:[a.jsx("span",{className:"report-info__label body-3",children:i.label}),a.jsx("span",{className:"report-info__value",children:i.value})]},l))})]})}const Ar=new Map;let Ss=null;const kT=12;function BT(e){for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){const o=window.getComputedStyle(t);if(o.transform&&o.transform!=="none"||o.filter&&o.filter!=="none"||o.perspective&&o.perspective!=="none"||/paint|layout|strict|content/.test(o.contain||""))return t}return document}function Es(){const e=new Map;for(const t of Ar.keys()){if(!t.isConnected)continue;const o=BT(t),r=e.get(o)??[];r.push(t),e.set(o,r)}for(const t of e.values()){t.sort((r,n)=>r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);let o=0;for(const r of t){o>0?r.style.setProperty("--update-alert-stack-offset",`${o}px`):r.style.removeProperty("--update-alert-stack-offset");const n=r.getBoundingClientRect().height;n>0&&(o+=n+kT)}}}function AT(e){return typeof window>"u"?()=>{}:(Ar.set(e,(Ar.get(e)??0)+1),Ar.get(e)===1&&typeof ResizeObserver<"u"&&(Ss??(Ss=new ResizeObserver(()=>Es())),Ss.observe(e)),Es(),()=>{const t=(Ar.get(e)??1)-1;if(t>0){Ar.set(e,t),Es();return}Ar.delete(e),Ss?.unobserve(e),e.style.removeProperty("--update-alert-stack-offset"),Es()})}var ST=".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:color-mix(in srgb,var(--color-white) 92%,transparent);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:var(--color-gray);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:var(--color-text-primary)}.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:var(--color-text-primary);text-align:left}.ihabdevteam-core-scope .update-alert__message{color:var(--color-darkGray);margin-top:2px;text-align:left}.ihabdevteam-core-scope .update-alert__action{width:100%}";se(ST);function d_({title:e,message:t,actionLabel:o,onAction:r,icon:n,onClose:i,className:l=""}){const{t:c}=we.useTranslation(),u=o??c("common.update","\uC5C5\uB370\uC774\uD2B8"),p=s.useRef(null),h=s.useRef(!1);return s.useLayoutEffect(()=>{const d=p.current,m=d?.parentElement?.closest(".update-alert-stack")??d,b=m?AT(m):null;return()=>{b?.(),h.current&&d&&d.contains(document.activeElement)&&vl(d)}},[]),a.jsxs("div",{ref:p,className:ke("update-alert",l),role:"alert",children:[i&&a.jsx("button",{type:"button",className:"update-alert__close",onClick:()=>{h.current=!0,i()},"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"}),a.jsxs("div",{className:"update-alert__top",children:[a.jsx("div",{className:"update-alert__icon",children:n??a.jsx(Em,{size:20,strokeWidth:2})}),a.jsxs("div",{className:"update-alert__body",children:[a.jsx("div",{className:"update-alert__title h4",children:e}),a.jsx("div",{className:"update-alert__message body-3",children:t})]})]}),r&&a.jsx(ge,{htmlType:"button",size:32,variant:"main",shape:"pill",className:"update-alert__action",onClick:r,children:u})]})}var ET=".ihabdevteam-core-scope .training-card{background:var(--color-white);border:1px solid var(--color-whiteLine);border-radius:var(--radius-card);display:flex;flex:none;flex-direction:column;gap:10px;max-width:100%;padding:18px;padding:var(--training-card-padding,18px);position:relative;transition:border-color .15s,box-shadow .15s;width:344px;width:var(--training-card-width,344px)}.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:0;align-items:start;-moz-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;row-gap:0}.ihabdevteam-core-scope .training-card__title-row{display:contents}.ihabdevteam-core-scope .training-card__header>.training-card__category{grid-area:1/1;margin-bottom:2px;min-width:0}.ihabdevteam-core-scope .training-card__title-row>:first-child{grid-area:2/1;min-width:0}.ihabdevteam-core-scope .training-card__header>:last-child{grid-area:3/1;margin-top:2px}.ihabdevteam-core-scope .training-card__category{color:var(--color-main-ink,var(--color-main));font-weight:600;margin:0;min-height:1lh;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__category--sub{color:var(--color-sub)}.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/4;margin-right:-20px;margin-top:-20px}.ihabdevteam-core-scope .training-card__top-actions--framed{margin-right:0;margin-top:0}.ihabdevteam-core-scope .training-card__publisher{background:none;border:none;color:var(--color-gray);cursor:pointer;font-size:11px;font-weight:400;margin-block:-6px;max-width:120px;min-height:24px;overflow:hidden;padding:0;padding-block:6px;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-lightGray);margin:0;min-height:1.55em;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ihabdevteam-core-scope .training-card__body{align-items:center;display:flex;flex:1;flex-direction:column;gap:8px;justify-content:center;min-height:72px}.ihabdevteam-core-scope .training-card__empty{color:var(--color-lightGray)}.ihabdevteam-core-scope .training-card__body--empty,.ihabdevteam-core-scope .training-card__footer--empty{pointer-events:none}.ihabdevteam-core-scope .training-card__menu-host{display:contents}.ihabdevteam-core-scope .training-card__types{display:flex;flex-wrap:wrap;gap:6px;gap:var(--training-card-tile-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;box-sizing:border-box;display:flex;gap:var(--spacing-xs);justify-content:space-between;margin-top:auto;min-height:28px;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}.ihabdevteam-core-scope .training-card__publisher--static{cursor:default}.ihabdevteam-core-scope .training-card__publisher--static:hover{color:var(--color-gray);text-decoration:none}";se(ET);function p_({title:e,titleLevel:t=3,category:o,categoryVariant:r="main",description:n,topActions:i,actions:l,children:c,footerLeft:u,footerRight:p,ariaLabel:h,onClick:d,draggable:m,onDragStart:b,onDragEnd:C,className:x}){const f=t?`h${t}`:"div",{t:g}=we.useTranslation(),[_,v]=s.useState(null),w=s.useCallback(()=>v(null),[]),S=s.useCallback(j=>{const D=j.currentTarget.getBoundingClientRect();v(L=>L?null:{left:D.left,right:D.right,top:D.top,bottom:D.bottom,width:D.width,height:D.height,x:D.x,y:D.y})},[]),y=(l??[]).filter(Boolean),k=(y.length===1?a.jsx(ge,{htmlType:"button",type:"dot",size:40,icon:y[0].icon,ariaLabel:y[0].label,showTooltipInfo:y[0].label,selected:y[0].selected,disabled:y[0].disabled,variant:y[0].variant??"default",onClick:y[0].onClick}):y.length>1?a.jsx(ge,{htmlType:"button",type:"dot",size:40,icon:"ellipsis",ariaLabel:g("common.more","\uB354\uBCF4\uAE30"),showTooltipInfo:g("common.more","\uB354\uBCF4\uAE30"),variant:"transparent-lightGray",useBorder:!1,"aria-haspopup":"menu","aria-expanded":!!_,onClick:S}):null)??i,B=u!=null||p!=null,E=c!=null&&c!==!1,A=s.useCallback(j=>{d&&j.target===j.currentTarget&&(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),d())},[d]);return a.jsxs("div",{className:ke("training-card",d?"training-card--clickable":"",x),onClick:d,onKeyDown:d?A:void 0,role:d?"button":void 0,"aria-label":d?h??(typeof e=="string"?e:void 0):void 0,tabIndex:d?0:void 0,draggable:m,onDragStart:b,onDragEnd:C,children:[a.jsxs("div",{className:"training-card__header",children:[o!=null?a.jsx("p",{className:ke("training-card__category","caption-1",r==="sub"&&"training-card__category--sub"),children:o}):a.jsx("p",{className:"training-card__category caption-1","aria-hidden":"true",children:" "}),a.jsxs("div",{className:"training-card__title-row",children:[typeof e=="string"?a.jsx(f,{className:"training-card__title h4",children:e}):e,k!=null&&a.jsx("div",{className:ke("training-card__top-actions",y.length===1&&"training-card__top-actions--framed"),onClick:j=>j.stopPropagation(),children:k})]}),n!=null?typeof n=="string"?a.jsx("p",{className:"training-card__description body-3",children:n}):n:a.jsx("p",{className:"training-card__description body-3","aria-hidden":"true",children:" "})]}),E?a.jsx("div",{className:"training-card__body",children:c}):a.jsx("div",{className:"training-card__body training-card__body--empty","aria-hidden":"true"}),B?a.jsxs("div",{className:"training-card__footer",children:[u!=null&&a.jsx("div",{className:"training-card__footer-left",children:u}),p!=null&&a.jsx("div",{className:"training-card__meta",children:p})]}):a.jsx("div",{className:"training-card__footer training-card__footer--empty","aria-hidden":"true"}),_&&y.length>1&&a.jsx("div",{className:"training-card__menu-host",onClick:j=>j.stopPropagation(),children:a.jsx(fo,{anchorRect:_,onClose:w,ariaLabel:g("tooltip.menu","\uBA54\uB274"),children:a.jsx(Aa,{columns:[{items:y.map(j=>({label:j.label,icon:j.icon,selected:j.selected,disabled:j.disabled,onClick:j.onClick}))}],onClose:w,size:"small"})})})]})}var DT=".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;flex-wrap:wrap;gap:8px;min-height:60px;min-width:0;padding:10px 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-ink,var(--color-main));flex-shrink:0}.ihabdevteam-core-scope .training-card-group__actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;min-width:0}.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}";se(DT);function h_({title:e,titleLevel:t=3,count:o,collapsed:r=!1,onToggle:n,beforeSort:i,sort:l,actions:c,empty:u=!1,emptyContent:p,dragOver:h=!1,onDragOver:d,onDragLeave:m,onDrop:b,children:C,className:x}){const{t:f}=we.useTranslation(),g=s.useId(),_=t?`h${t}`:"span",v=n!=null,w=ke("training-card-group",h&&"training-card-group--dragover",r&&"training-card-group--collapsed",v&&"training-card-group--collapsible",x);return a.jsxs("div",{className:w,onDragOver:d,onDragLeave:m,onDrop:b,role:typeof e=="string"&&e?"group":void 0,"aria-labelledby":typeof e=="string"&&e?g:void 0,children:[a.jsxs("header",{className:"training-card-group__header",children:[v&&a.jsx(ge,{htmlType:"button",size:40,type:"dot",variant:"transparent-gray",useBorder:!1,icon:r?"chevron-right":"chevron-down",ariaLabel:typeof e=="string"&&e?r?f("common.expandFor",{name:e}):f("common.collapseFor",{name:e}):r?f("common.expand","\uD3BC\uCE58\uAE30"):f("common.collapse","\uC811\uAE30"),className:"training-card-group__chevron","aria-expanded":!r,onClick:n}),typeof e=="string"?a.jsx(_,{id:g,className:"training-card-group__title h5b",children:e}):e,o!==void 0&&a.jsx("span",{className:"training-card-group__count body-3b",children:o}),(i!=null||l||c!=null)&&a.jsxs("span",{className:"training-card-group__actions",onClick:S=>S.stopPropagation(),children:[i,l&&a.jsx(Ro,{size:40,options:l.options,value:l.value,placeholder:l.placeholder,onChange:l.onChange,ariaLabel:typeof e=="string"&&e?f("common.sortFor",{name:e}):void 0}),c]})]}),!r&&(u?a.jsx("div",{className:"training-card-group__empty body-3",children:p}):a.jsx("div",{className:"training-card-group__grid",children:C}))]})}var jT=".ihabdevteam-core-scope .word-table-block__meta{background:transparent}.ihabdevteam-core-scope .word-table-block__table-actions{display:flex;flex-wrap:wrap;gap:var(--spacing-xs);justify-content:center}.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 .word-table-block__table-actions{display:grid;grid-template-columns:repeat(2,1fr)}.ihabdevteam-core-scope .word-table-block__table-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}}";se(jT);const NT="speechear:saved_word_tables";function TT(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 LT(){try{const e=localStorage.getItem(NT);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(TT):[]}catch{return[]}}function m_(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 cm(e){return e.map(t=>t.homonum!=null?`${t.word}#${t.homonum}`:t.word).join("|")}function MT(e){const t=new Set;return e.map(o=>{let r=o.id;for(let n=2;t.has(r);n++)r=`${o.id}~${n}`;return t.add(r),r===o.id?o:{...o,id:r}})}function b_({title:e,titleIcon:t,disc:o,filterTitle:r,filterCollapsible:n,filterDefaultCollapsed:i,filterCollapsed:l,onFilterCollapsedChange:c,filterHeaderSummary:u,brand:p,code:h,baseItem:d,baseContentTypes:m,cellCapacity:b,maxItemsPerPage:C,items:x,onSaveComplete:f,onLoad:g,onRemoveItem:_,onCopyItem:v,onReplaceItem:w,onPickForm:S,onReset:y,resetLabel:k,saveButtonLabel:B,secondarySaveButtonLabel:E,onReorder:A,showCellCount:j,onAddItem:D,fillerAdd:L,className:I,renderSavePopup:R,renderWordSearch:H,hideControls:T,saveOnly:F,tableName:W,nameValue:K,onNameChange:Y,descriptionValue:z,onDescriptionChange:X,namePlaceholder:Z,descriptionPlaceholder:J,existingNames:M,editingName:P,onCancel:N,initialItemsPerPage:U,onItemsPerPageChange:ne,renderCellAction:re,actionsLeftExtra:Q}){const{t:ce}=we.useTranslation(),Se=k??ce("wordPrint.clearAllSelection","\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C"),ue=x===void 0,oe=!!Y,[G,V]=s.useState([]),q=(K??"").trim(),ie=q||(Z??"").trim(),O=(z??"").trim()||(J??"").trim(),he=(M??[]).map(Me=>Me.trim().toLowerCase()),me=[P?.trim().toLowerCase(),...G].filter(Me=>!!Me),ve=[...he];for(const Me of me){const ot=ve.indexOf(Me);ot!==-1&&ve.splice(ot,1)}const xe=q!==""&&ve.includes(q.toLowerCase()),[Ie,Be]=s.useState(Array(4).fill(null)),[Ee,Ae]=s.useState(4),[Ne,We]=s.useState(null),st=Ie.slice(0,Ee),ut=!!p?.show,[Oe,qe]=s.useState(!0),[rt,Le]=s.useState(!0),Je=p&&{...p,top:Oe,bottom:rt},[nt,dt]=s.useState("landscape"),[Ct,At]=s.useState([...wx]),[mt,ao]=s.useState("show"),[jt,pt]=s.useState(!0),[je,ct]=s.useState(!0),ft=s.useRef(null),vt=s.useRef([]),[Tt,Gt]=s.useState(U==="all"?Number.POSITIVE_INFINITY:U??8),[wt,kt]=s.useState("right"),[Lt,Ht]=s.useState(!1),[Qe,Nt]=s.useState(!1),{toastMessage:tt,toastType:fe,showWarning:Re,clearToast:ze}=Ll("warning"),Ge=s.useCallback(()=>We(null),[We]);d&&ue&&Pt("word-table-block-base-item-in-edit","[WordTableBlock] baseItem \uC740 \uD45C\uC2DC \uBAA8\uB4DC(items \uB97C \uC8FC\uB294 \uAF34)\uC5D0\uC11C\uB9CC \uAC78\uB9B0\uB2E4 \u2014 \uD3B8\uC9D1 \uACA9\uC790\uC5D0\uB294 \uC11C\uC9C0 \uC54A\uB294\uB2E4.");const[ht,yo]=s.useState(()=>Math.max(x?.length??1,1)),bt=Math.max(b??0,x?.length??0,1),Ke=b!=null||!!j,Bt=ue?Ee:j?Math.max(ht,x?.length??1,1):bt,{width:Mt,height:ae}=Va[nt],Ce=!ue&&!j,Ye=Math.max(1,Math.min(bt,C??bt)),Xe=Math.min(Tt,Ye),it=Ce?Xe:Bt,gt=C!=null&&b!=null,zt=gt?Math.max(1,Math.min(Tt,C)):Xe,Vt=s.useRef(ne);s.useEffect(()=>{Vt.current=ne}),s.useEffect(()=>{Ce&&Vt.current?.(zt)},[Ce,zt]);const Qo=Math.ceil((x?.length??0)/Math.max(1,it)),no=(x?.length??0)<bt?Math.floor((x?.length??0)/Math.max(1,it))+1:0,ea=Ce?Math.max(1,Qo,no):0,wo=Ce?Array.from({length:ea},(Me,ot)=>(x??[]).slice(ot*it,(ot+1)*it)):null,io=!!wo&&wo.length>1,uo=ue?st.some(Me=>Me!==null&&Me.length>1):(x??[]).some(Me=>(Me.words??[]).length>1),Do=W?.trim()||`${ol(Io())} ${uo?ce("wordTable.printFileNamePair","\uB300\uB9BD\uC30D\uD45C"):ce("wordTable.printFileNameSingle","\uB2E8\uC5B4\uD45C")}`,po=s.useCallback(()=>io?vt.current.filter(Me=>Me!==null):ft.current?[ft.current]:[],[io]),{print:Ft,openNewWindow:$t,downloadHtml:Jt}=cs({getElements:po,paperW:Mt,paperH:ae,fileName:Do,onPopupBlocked:()=>{Re(ce("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."))}}),Ut=Me=>{Ae(Me),Be(ot=>ot.length>=Me?ot:[...ot,...Array(Me-ot.length).fill(null)]),We(null)},ta=Me=>{Be(ot=>{const Ot=[...ot];return Ot[Me]=null,Ot}),Ne===Me&&We(null)},oa=Me=>{if(Ne===null)return;const ot=Ne;Be(Wo=>{const va=[...Wo];return va[ot]=Me.length>0?Me:null,va});const Ot=st.findIndex((Wo,va)=>va>ot&&Wo===null);We(Ot!==-1?Ot:null)},fa=ue?st.some(Me=>Me?.some(ot=>!!ot.colloquialPronunciation)):(x??[]).some(Me=>(Me.words??[]).some(ot=>!!ot.colloquialLabel)),be=!ue&&kx([...d?[d]:[],...x??[]]),Te=s.useMemo(()=>La()?ue?Ie.slice(0,Ee).flatMap(Me=>(Me??[]).map(ot=>[ot.word,ot.homonum])):(Me=>Me.flatMap(ot=>(ot.words??[]).map(Ot=>[Ot.label,Ot.homonum])))([...d?[d]:[],...x??[]]):[],[ue,Ie,Ee,x,d]),[He,ee]=s.useState(!1);s.useEffect(()=>{if(Te.length===0)return;let Me=!1;return Promise.all(Te.map(([ot,Ot])=>Ei(ot,Ot))).then(ot=>{Me||ee(ot.some(Boolean))},()=>{}),()=>{Me=!0}},[Te]);const pe=Te.length>0&&He,De=s.useMemo(()=>[...ue||j?[{label:ce("wordTable.filter.columns","\uCE78 \uC218"),items:Dj.map(Me=>({value:`${Me}\uCE78`,displayLabel:ce("wordTable.filter.column",{count:Me})})),display:"segmented"}]:[],...Ce&&(x?.length??0)>0?[Tx(ce,{hasPairs:uo,itemCount:gt?C:bt,max:C})]:[],...io?[Nj(ce)]:[]],[ce,ue,j,Ce,x?.length,uo,bt,C,io]),$e={...ue||j?{[ce("wordTable.filter.columns","\uCE78 \uC218")]:`${Bt}\uCE78`}:{},...Ce&&(x?.length??0)>0?{[ce(uo?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")]:`${zt}\uAC1C`}:{},...io?{[ce("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")]:wt}:{}},Ve=(Me,ot)=>{if(ot===ce("wordTable.filter.columns","\uCE78 \uC218"))ue?Ut(parseInt(Me)):yo(parseInt(Me));else if(ot===ce(uo?"wordTable.filter.itemsPerPagePair":"wordTable.filter.itemsPerPageWord")){const Ot=parseInt(Me);Gt(gt?Ot:Lx(Ot,bt))}else ot===ce("wordTable.filter.pageNumber","\uD398\uC774\uC9C0 \uBC88\uD638")&&kt(Mx(Me))},Ze=ue?MT(st.filter(Me=>Me!==null&&Me.length>0).map(Me=>({id:cm(Me),words:Me.map(m_)}))):x??[],St=()=>{ue&&Be(Me=>Me.length>Ee?Me.slice(0,Ee):Me)},_t=(Me=!1)=>{if(Nt(Me),oe&&f){const ot=ie.trim().toLowerCase();ot&&V(Ot=>Ot.includes(ot)?Ot:[...Ot,ot]),f(ie,Ze,O||void 0,Me),St();return}if(F&&f){f("",Ze,void 0,Me),St();return}if(f){Ht(!0);return}Jt()},[ye,$]=s.useState(!1),[te,_e]=s.useState(""),Pe=te.trim(),Ue=Pe!==""&&he.includes(Pe.toLowerCase()),at=()=>{_e(ie?ce("wordTable.save.copyName",{name:ie,defaultValue:"{{name}} (\uBCF5\uC0AC)"}):""),$(!0)},Rt=()=>{!Pe||Ue||!f||(f(Pe,Ze,O||void 0,!0),St(),$(!1))},It=Ze.length===0,ho=It||oe&&(ie===""||xe),mo=()=>{if(It){Re(ce("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."));return}if(oe&&ie===""){Re(ce("wordTable.save.nameRequired","\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694."));return}oe&&xe&&Re(ce("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."))},mn=a.jsx(wr,{items:Ze,orientation:nt,contentTypes:Ct,baseItem:d,baseContentTypes:m,cutLine:mt,showOutline:jt,showDivLine:je,count:Bt});return a.jsxs(a.Fragment,{children:[a.jsxs(yr,{type:"page",icon:t,title:e,disc:o,className:ke("word-table-block",I),children:[ye&&a.jsx(pa,{size:"small",title:E??ce("wordTable.saveAsNewButton","\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"),onClose:()=>$(!1),footer:({closeWithAnimation:Me})=>a.jsxs(a.Fragment,{children:[a.jsx(ge,{htmlType:"button",size:48,type:"bar",label:ce("common.cancel","\uCDE8\uC18C"),onClick:Me}),a.jsx(ge,{htmlType:"button",size:48,type:"bar",variant:"main",label:ce("common.save","\uC800\uC7A5"),disabled:!Pe||Ue,onClick:Rt})]}),children:a.jsx(ha,{label:ce("wordTable.save.nameLabel","\uC774\uB984"),value:te,onChange:_e,placeholder:ce("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:Rt,error:Ue?ce("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0})}),Lt&&f&&R?.({defaultName:typeof e=="string"?e:ce("wordTable.defaultName","\uB2E8\uC5B4 \uD45C"),preview:mn,previewW:Mt,previewH:ae,items:Ze,existingNames:LT().map(Me=>Me.name),saveAsNew:Qe,onSave:(Me,ot)=>{f(Me,Ze,ot,Qe),St(),Ht(!1)},onCancel:()=>Ht(!1)}),(ue||D)&&Ne!==null&&H?.({cellIndex:Ne,onConfirm:ue?oa:Me=>{if(D){const ot=Me[0];if(ot){const Ot=new Set((x??[]).map(va=>va.id));let Wo=cm([ot]);for(let va=2;Ot.has(Wo);va++)Wo=`${cm([ot])}~${va}`;D({id:Wo,words:[m_(ot)]})}}We(null)},onClose:Ge}),!T&&a.jsx(ls,{title:r,collapsible:n,defaultCollapsed:i,collapsed:l,onCollapsedChange:c,headerSummary:u,hasImage:pe,hasColloquial:fa,hasCaption:be,contentTypes:Ct,orientation:nt,showOutline:jt,cutLine:mt,showDivLine:je,setters:{setContentTypes:At,setOrientation:dt,setShowOutline:pt,setCutLine:ao,setShowDivLine:ct,setShowTopInfo:qe,setShowBottomInfo:Le},showCutLine:(Ce?it:Bt)>1,showDivLine2:uo,middleSections:De,extraSelected:$e,onExtraSelect:Ve,showPaperBands:ut,showTopInfo:Oe,showBottomInfo:rt}),io&&wo?a.jsx("div",{className:"word-table-block__pages",children:wo.map((Me,ot)=>a.jsx(wr,{orientation:nt,contentTypes:Ct,cutLine:mt,showOutline:jt,showDivLine:je,count:it,items:Me,baseItem:d,baseContentTypes:m,onRemoveItem:_,onCopyItem:v,onReplaceItem:w,onPickForm:S,onReorder:A&&((Ot,Wo)=>A(Ot+ot*it,Wo+ot*it)),indexOffset:ot*it,totalCount:x?.length??0,renderCellAction:re&&((Ot,Wo)=>re(Ot+ot*it,Wo)),showFillerAdd:!!D,fillerAdd:L,onActivateCell:D?(Ot=>We(Ot+ot*it)):void 0,addableCount:Ke?Math.max(0,Math.min(it,bt-ot*it)):void 0,brand:Je,code:h,contentRef:Ot=>{vt.current[ot]=Ot},pageNumber:{current:ot+1,total:wo.length},pageNumberPosition:wt},ot))}):a.jsx(wr,{orientation:nt,contentTypes:Ct,cutLine:mt,showOutline:jt,showDivLine:je,count:it,items:ue?void 0:x??[],baseItem:ue?void 0:d,baseContentTypes:m,editCells:ue?st:void 0,activeCell:Ne,onActivateCell:ue||D?We:void 0,onRemoveCell:ue?ta:void 0,onRemoveItem:ue?void 0:_,onCopyItem:ue?void 0:v,onReplaceItem:ue?void 0:w,onPickForm:ue?void 0:S,onReorder:ue?void 0:A,addableCount:Ke?Ce?Math.min(it,bt):Bt:void 0,renderCellAction:ue?void 0:re,brand:Je,code:h,showFillerAdd:!!D,fillerAdd:L,contentRef:ft}),!T&&!F&&Q!=null&&a.jsx("div",{className:"word-table-block__table-actions",children:Q}),oe&&!T&&a.jsxs(vr,{labelWidth:64,useBorder:!1,className:"word-table-block__meta",children:[a.jsx(_o,{variant:"custom",label:ce("wordTable.save.nameLabel","\uC774\uB984"),required:!0,align:"vertical",useFullWidth:!0,children:a.jsx(ha,{required:!0,value:K??"",onChange:Y,placeholder:Z?Z+ce("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):ce("wordTable.save.placeholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:ce("wordTable.save.nameLabel","\uC774\uB984"),maxLength:40,size:48,fullWidth:!0,error:xe?ce("wordTable.save.duplicateName","\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4."):void 0,onKeyDown:Me=>{(Me.key==="Tab"&&!Me.shiftKey||Me.key===" ")&&!(K??"").trim()&&(Z??"").trim()&&(Me.preventDefault(),Y?.(Z??""))}})}),a.jsx(_o,{variant:"custom",label:ce("wordTable.save.descriptionLabel","\uC124\uBA85"),align:"vertical",useFullWidth:!0,children:a.jsx(ha,{value:z??"",onChange:X,placeholder:J?J+ce("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)"):ce("wordTable.save.descriptionPlaceholder","\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694."),ariaLabel:ce("wordTable.save.descriptionLabel","\uC124\uBA85"),maxLength:200,multiline:!0,rows:2,fullWidth:!0,onKeyDown:Me=>{(Me.key==="Tab"&&!Me.shiftKey||Me.key===" ")&&!(z??"").trim()&&(J??"").trim()&&(Me.preventDefault(),X?.(J??""))}})})]})]}),!T&&a.jsxs("div",{className:"word-table-block__actions",children:[a.jsxs("div",{className:"word-table-block__actions-left",children:[!F&&g&&a.jsx(ge,{htmlType:"button",size:40,type:"bar",label:ce("wordTable.load","\uBD88\uB7EC\uC624\uAE30"),onClick:g}),!F&&y&&a.jsx(ge,{htmlType:"button",size:40,type:"bar",label:Se,onClick:y}),!F&&a.jsx(ge,{htmlType:"button",size:40,type:"bar",label:ce("wordTable.openNewWindow","\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30"),onClick:$t})]}),a.jsxs("div",{className:"word-table-block__actions-right",children:[N&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:ce("common.cancel","\uCDE8\uC18C"),onClick:N}),!F&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:ce("wordTable.print","\uC778\uC1C4\uD558\uAE30"),onClick:Ft}),E&&a.jsx(ge,{htmlType:"button",size:"56",type:"bar",label:E,onClick:()=>oe?at():_t(!0),disabled:It,onDisabledClick:()=>{Re(ce("wordTable.emptyItems","\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694."))}}),a.jsx(ge,{htmlType:"button",size:"56",type:"bar",variant:"main",label:B??ce("wordTable.saveButton","\uC800\uC7A5\uD558\uAE30"),onClick:()=>_t(!1),disabled:ho,onDisabledClick:mo})]})]}),a.jsx(_r,{message:tt,type:fe,onClose:ze})]})}var $T=".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-darkGray)}.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%}.ihabdevteam-core-scope .word-table-thumb__cell--more{justify-content:center;outline-offset:-2px}.ihabdevteam-core-scope .word-table-thumb__cell--more:focus-visible{outline:2px solid var(--color-main)}.ihabdevteam-core-scope .word-table-thumb__more{color:var(--color-gray)}";se($T);const RT=8;function um({items:e,className:t}){const{t:o}=we.useTranslation(),r=s.useRef(null),[n,i]=s.useState(null),l=s.useCallback(()=>i(r.current?.getBoundingClientRect()??null),[]),c=s.useCallback(()=>i(null),[]),u=yl(!!n,v=>{v?l():c()},r),p=e.length,h=p<=3?1:2,d=RT,m=p>d,b=e.slice(0,m?d-1:d),C=p-b.length,x=e.slice(b.length).map(v=>v.words?.length?v.words.map(w=>w.label).join(" / "):v.id),f=Math.min(5,Math.ceil(x.length/25)),g=Math.ceil(Math.min(p,d)/h)||1,_=h*g;return a.jsx("div",{className:ke("word-table-thumb",t),style:{gridTemplateColumns:`repeat(${h}, 1fr)`},children:Array.from({length:_},(v,w)=>{if(m&&w===d-1)return a.jsxs("div",{ref:r,className:"word-table-thumb__cell word-table-thumb__cell--more",tabIndex:0,"aria-label":o("wordTable.thumbMoreAria",{count:C,words:x.join(", "),defaultValue:"\uADF8 \uBC16 {{count}}\uCE78: {{words}}"}),onPointerEnter:y=>{Fa(y)||l()},onPointerLeave:y=>{Fa(y)||c()},onFocus:()=>{dr()||l()},onBlur:c,onClick:y=>{y.stopPropagation(),u.touchPress()},children:[a.jsx("span",{className:"word-table-thumb__more body-3",children:o("wordTable.thumbMore",{count:C,defaultValue:"+{{count}}"})}),n&&x.length>0&&a.jsx(ka,{anchorRect:n,items:x,showIndex:!1,closeOnOutsideClick:!1,columns:f})]},w);const S=b[w];return S?a.jsx("div",{className:"word-table-thumb__cell",children:(S.words?.length?S.words:[{label:S.id}]).map((y,k)=>a.jsxs(s.Fragment,{children:[k>0&&a.jsx("span",{className:"word-table-thumb__divider"}),a.jsx("span",{className:"word-table-thumb__word body-3",children:y.label})]},k))},w):a.jsx("div",{className:"word-table-thumb__cell word-table-thumb__cell--empty"},w)})})}var PT=".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:280px}.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-lightGray);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}";se(PT);function g_({items:e,name:t,description:o,createdAt:r,code:n,published:i,publishedLabel:l,shared:c,sharedLabel:u,isNew:p,publisherName:h,publishedAt:d,likeCount:m,downloadCount:b,onPublisherClick:C,selected:x,onClick:f,onMore:g,titleNode:_,className:v}){const{t:w}=we.useTranslation(),S=_!=null,y=h!=null||d!=null||m!=null||b!=null,k=B=>{B.target===B.currentTarget&&!S&&(B.key==="Enter"||B.key===" ")&&(B.preventDefault(),f?.())};return a.jsxs("div",{className:ke("word-table-button",x?"word-table-button--selected":"",y?"":"word-table-button--no-footer",v),role:"button",tabIndex:0,"aria-label":n?`${t} (${n})`:t,onClick:S?void 0:f,onKeyDown:k,children:[p&&a.jsx("span",{className:"word-table-button__new-dot","aria-label":w("myWordTable.newBadge","\uC0C8\uB85C \uB9CC\uB4E0 \uD45C")}),a.jsx(um,{items:e,className:"word-table-button__thumb"}),a.jsxs("div",{className:"word-table-button__info",children:[a.jsxs("div",{className:"word-table-button__info-text",children:[_??a.jsx("div",{className:"word-table-button__title h4",children:t}),o&&a.jsx("div",{className:"word-table-button__desc body-3",children:o})]}),g&&!S&&a.jsx(ge,{htmlType:"button",className:"word-table-button__more",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:w("common.moreFor",{name:t}),onClick:B=>{B.stopPropagation(),g(B)}})]}),(n||r||i||c)&&a.jsxs("div",{className:"word-table-button__meta-row",children:[a.jsx("span",{className:"word-table-button__meta-left",children:a.jsx("span",{className:"word-table-button__meta caption-1",children:r?tl(r,w):""})}),a.jsxs("span",{className:"word-table-button__meta-right",children:[(i||c)&&a.jsxs("span",{className:"word-table-button__badges",children:[i&&a.jsx(Co,{className:"word-table-button__badge",size:"small",variant:"main",fill:"soft",iconLeft:"book-marked",label:l??w("myWordTable.publishedBadge","\uBC1C\uD589\uB428")}),c&&a.jsx(Co,{className:"word-table-button__badge",size:"small",fill:"soft",iconLeft:"link",label:u??w("myWordTable.sharedBadge","\uACF5\uC720 \uC911")})]}),n&&a.jsx("span",{className:"word-table-button__code caption-1",children:n})]})]}),y&&a.jsxs("div",{className:"word-table-button__footer",children:[a.jsxs("span",{className:"word-table-button__store-by",children:[h&&(C?a.jsx("button",{className:"training-card__publisher body-4",type:"button","aria-label":w("wordTable.publisherFilter",{name:h,defaultValue:"{{name}} \uAC8C\uC2DC\uD55C \uAC83\uB9CC \uBCF4\uAE30"}),onClick:B=>{B.stopPropagation(),C()},children:h}):a.jsx("span",{className:"training-card__publisher training-card__publisher--static body-4",children:h})),d&&a.jsx("span",{className:"training-card__date body-4",children:tl(d,w)})]}),a.jsxs("span",{className:"word-table-button__store-stats",children:[m!=null&&a.jsx(Co,{size:"small",fill:"soft",variant:"like",iconLeft:"heart",label:String(m),"aria-label":w("common.likeCount",{count:m,defaultValue:`\uC88B\uC544\uC694 ${m}`})}),b!=null&&a.jsx(Co,{size:"small",fill:"soft",variant:"main",iconLeft:"download",label:String(b),"aria-label":w("common.downloadCount",{count:b,defaultValue:`\uAC00\uC838\uAC04 \uC218 ${b}`})})]})]})]})}/**
|
|
1077
1077
|
* @license lucide-react v1.38.0 - ISC
|
|
1078
1078
|
*
|
|
1079
1079
|
* This source code is licensed under the ISC license.
|