@vmscloud/moz-ui-components-core 0.1.55 → 0.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";var Bs=Object.defineProperty;var Os=(e,t,s)=>t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var Ae=(e,t,s)=>Os(e,typeof t!="symbol"?t+"":t,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("lit-html"),Ft=require("lit-html/directive.js"),oe=require("lit-html/directives/style-map.js"),Hs=require("clsx"),xe=require("lit-html/directives/if-defined.js"),Lo=require("lit-html/directives/unsafe-html.js"),Lt=require("lit-html/directives/live.js"),lt=require("dayjs"),_s=require("dayjs/plugin/duration.js"),Ns=require("dayjs/plugin/minMax.js"),Us=require("dayjs/plugin/timezone.js"),Ws=require("dayjs/plugin/utc.js"),Ks=require("dayjs/plugin/isSameOrBefore.js"),Gs=require("dayjs/plugin/isSameOrAfter.js");require("dayjs/locale/ko.js");require("dayjs/locale/en.js");require("dayjs/locale/zh.js");require("dayjs/locale/ja.js");const N=require("lit-html/directives/ref.js"),Fe=require("@tanstack/virtual-core");var Ye=typeof document<"u"?document.currentScript:null;class To{constructor(t){Ae(this,"container");Ae(this,"updateScheduled",!1);Ae(this,"mounted",!1);Ae(this,"cleanups",[]);this.container=t}mount(){return this.mounted?this:(this.mounted=!0,this.onMount(),this.renderNow(),this)}requestUpdate(){!this.mounted||this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>{this.updateScheduled=!1,this.mounted&&this.renderNow()}))}renderNow(){o.render(this.template(),this.container)}addCleanup(t){this.cleanups.push(t)}onMount(){}onDestroy(){}destroy(){if(this.mounted){this.mounted=!1,this.onDestroy();for(const t of this.cleanups.splice(0))try{t()}catch{}o.render(o.nothing,this.container)}}get isMounted(){return this.mounted}}class Ys{constructor(){Ae(this,"listeners",new Set)}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}emit(){for(const t of this.listeners)t()}clearListeners(){this.listeners.clear()}}class Mo{constructor(){Ae(this,"renderers",new Map);Ae(this,"resolver",null);Ae(this,"mounted",new Map)}setResolver(t){this.resolver=t}lookup(t){var s;return this.renderers.get(t)??((s=this.resolver)==null?void 0:s.call(this,t))}register(t,s){this.renderers.set(t,s)}unregister(t){for(const s of Array.from(this.mounted.keys()))(s===t||s.startsWith(`${t}#`))&&this.clear(s);this.renderers.delete(t)}has(t){return this.lookup(t)!==void 0}fill(t,s,n,i){var l,h;const a=this.lookup(s);if(!a)return!1;const m=this.mounted.get(t);if(m){if(m.el===n)return(h=(l=m.handle).update)==null||h.call(l,i),!0;m.handle.dispose(),this.mounted.delete(t)}for(const[r,p]of this.mounted)p.el===n&&(p.handle.dispose(),this.mounted.delete(r));const d=a(n,i);return this.mounted.set(t,{el:n,handle:d}),!0}clear(t){const s=this.mounted.get(t);s&&(s.handle.dispose(),this.mounted.delete(t))}clearAll(){for(const t of Array.from(this.mounted.keys()))this.clear(t)}destroy(){this.clearAll(),this.renderers.clear(),this.resolver=null}get mountedCount(){return this.mounted.size}}class kt{constructor(){Ae(this,"el",null)}open(t="",s=document.body){return this.el?this.el:(this.el=document.createElement("div"),t&&(this.el.className=t),s.appendChild(this.el),this.el)}close(){this.el&&(this.el.remove(),this.el=null)}get element(){return this.el}get isOpen(){return this.el!==null}}function zo(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function Le(e,t=16){return e/t}let co=0;function Xe(e=""){return co+=1,`${e}${co}`}const it=(e,t)=>{const s=Object.keys(e),n=Object.keys(t);if(s.length!==n.length)return!1;for(const i of s)if(e[i]!==t[i])return!1;return!0};function ge(e,t){const s={};for(const n of Object.keys(e))t.has(n)||(s[n]=e[n]);return s}function ut(e){const t={},s={};for(const n of Object.keys(e))n.startsWith("aria-")?t[n]=e[n]:s[n]=e[n];return{aria:t,dom:s}}function $e(e){if(!e)return{};if(typeof e=="object")return e;if(typeof e=="string"){const t={};for(const s of e.split(";")){const n=s.indexOf(":");n>0&&(t[s.slice(0,n).trim()]=s.slice(n+1).trim())}return t}return{}}function Tt(e,t,s,n){return e.length>0||t===0||!n||n.getBoundingClientRect().height>0?e:Array.from({length:t},(i,a)=>({index:a,size:s,start:a*s}))}const Bt={Toast:{close:"닫기"},Chip:{remove:"삭제"},Callout:{dismiss:"닫기"},Popup:{title:"팝업",save:"저장",cancel:"취소",ok:"확인",close:"닫기"},Select:{searchPlaceholder:"검색",emptyText:"데이터가 없습니다",requiredMessage:"{label} 은(는) 필수입니다"},MultiSelect:{search:"검색",selectAll:"전체 선택",selectFiltered:"필터 결과 선택",specificResults:"결과만",specificSelect:"선택만",noData:"데이터가 없습니다",required:"{label} 은(는) 필수입니다",headerFormat:"항목 ({count})"},TreeSelect:{search:"검색",selectAll:"전체 선택",selectFiltered:"필터 결과 선택",specificResults:"결과만",noData:"데이터가 없습니다",showSelectedOnly:"선택한 항목만 표시",expandAll:"모두 펼치기",collapseAll:"모두 접기",required:"{label} 은(는) 필수입니다",headerFormat:"항목 ({count})",expand:"펼치기",collapse:"접기"},TagInput:{add:"추가",editTag:"{label} 수정",removeTag:"{label} 삭제"},TimePicker:{hour:"시",minute:"분",currentTime:"현재 시간"},EmptyState:{customEmptyHeader:"데이터 없음",customEmptyContent:"표시할 데이터가 없습니다.",dataEmptyHeader:"데이터가 없습니다.",dataEmptyContent:"필요한 데이터를 추가해 주세요.",resultEmptyHeader:"설정한 조건에 해당되는 데이터가 없습니다.",resultEmptyContent:`조회 조건이 적절하게 설정되었는지 확인해주세요.
2
- 조회 조건을 변경하였다면, 조회 버튼을 다시 눌러주세요.`,searchEmptyHeader:"검색 결과 없음",searchEmptyContent:"필터 값을 확인하고 다시 시도해 주세요."},TableSelect:{searchPlaceholder:"검색",emptyText:"데이터가 없습니다",requiredMessage:"{label} 은(는) 필수입니다",footerSelect:"선택",footerNavigate:"이동",footerClose:"닫기"},Common:{requiredMessage:"{label} 은(는) 필수입니다"},Grid:{layoutSetting:"보기 설정",filter:"필터",sort:"정렬",customCellStyle:"조건부 서식 설정",reset:"초기화",searchFilter:"검색",newView:"새 뷰",selectAll:"전체 선택",columnPicker:"열 표시/숨김 설정",viewToolbar:"Tool Bar 보기",viewFooter:"Footer 보기",viewGroupPanel:"그룹 패널 보기",resetFilterAndSort:"필터 및 정렬 초기화",defaultView:"기본 뷰",filterPopup:"필터 설정",resetFilter:"필터 초기화",addFilter:"필터 추가",sortingPopup:"정렬 설정",ascending:"오름차순",descending:"내림차순",resetSort:"정렬 초기화",addSort:"정렬 추가",symbolEqual:"같음",symbolNotEqual:"같지 않음",symbolContains:"포함",symbolNotContains:"포함하지 않음",symbolLessThan:"보다 작음",symbolGreaterThan:"보다 큼",symbolLessOrEqual:"이하",symbolGreaterOrEqual:"이상",symbolEmpty:"비어 있음",symbolNotEmpty:"비어 있지 않음",customCellRuleNamePlaceholder:"규칙 이름을 입력하세요",addFormulaCondition:"조건 추가",applicationColumn:"적용 열",backgroundColor:"배경색",fontColor:"글꼴 색",resetCustomCell:"초기화",addFormulaConditionSet:"규칙 추가",customColor:"사용자 지정 색상",formulaConditionSet:"새 규칙",contextFilterAndSort:"필터 및 정렬",contextAddFilter:"필터 추가",contextSelectFilter:"선택 값으로 필터",contextResetColumnFilter:"열 필터 초기화",contextResetColumnSort:"열 정렬 초기화",contextResetColumnAll:"열 필터/정렬 초기화",contextDataCopy:"선택한 데이터 복사",contextDataExcelCopy:"Excel 복사",contextDataWithHeaderCopy:"선택한 데이터 복사 (헤더 포함)",contextPin:"열 고정 / 해제",contextColumnPicker:"열 표시/숨김 설정",contextMoveColumnFirst:"첫 번째 열로 보내기",contextAutoSizeColumns:"열 너비 자동 조정",contextGroupPanel:"그룹 패널",contextGroupToggle:"그룹 접기/펼치기",contextGroupCollapseAll:"모든 그룹 접기",contextGroupExpandAll:"모든 그룹 펼치기",groupPanelPlaceholder:"열을 드래그 앤 드롭하여 그룹을 만듭니다.",contextBulkEdit:"데이터 일괄변경 [{name}]",contextImport:"가져오기",contextImportExcel:"Excel 가져오기 (덮어쓰기)",contextImportExcelAppend:"Excel 가져오기 (추가)",contextExport:"내보내기",contextExportXlsx:"엑셀 내보내기 (xlsx)",contextExportCsv:"CSV 내보내기 (csv)",contextSum:"합계",check:"확인",cancel:"취소",save:"저장",remove:"삭제",close:"닫기",pause:"일시 중지",add:"추가",immediateApply:"바로 적용",warning:"경고",mozWarning:"경고",confirmCancel:"취소하시겠습니까?",alreadyExcelProgress:"Excel 작업이 이미 진행 중입니다.",downloadFail:"다운로드에 실패했습니다.",addDataWithFilterSort:"필터/정렬이 적용된 상태에서 데이터를 추가하시겠습니까?",resetAndAdd:"초기화 후 추가",confirmDeleteGeneral:"{name}을(를) 삭제하시겠습니까?",toastCopySuccess:"복사되었습니다.",toastSaveSuccess:"저장되었습니다.",toastSaveError:"저장에 실패했습니다.",toastResetSuccess:"초기화되었습니다.",toastRequiredVal:"필수 값을 입력하세요.",excelInvalidExcel:"유효하지 않은 Excel 파일입니다.",excelInvalidUpload:"유효하지 않은 업로드 데이터입니다.",downloadFormat:"서식 내려받기",click:"클릭",drag:"드래그",overwriteSelected:"선택한 항목을 덮어쓰시겠습니까?",fileOverwrite:"파일을 덮어쓰시겠습니까?",dropHere:"이 곳을 클릭 또는 파일을 드래그 하세요.",dropHerePrefix:"이 곳을 ",dropHereMiddle:" 또는 파일을 ",dropHereSuffix:" 하세요.",withFormatting:"서식 포함",requestTimedOut:"요청 시간이 초과되었습니다.",serverError:"서버 오류가 발생했습니다.",total:"전체",correct:"정상",error:"오류",success:"성공",fail:"실패",excelExportConfirmLargeData:"대용량 데이터를 내보내시겠습니까?",footerTotalRowCount:"총 개수: {totalRowCount}개",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"평균",aggregateCount:"개수",aggregateMin:"최소",aggregateMax:"최대",aggregateSum:"합계",settings:"설정",collapseToolbar:"툴바 접기",expandToolbar:"툴바 펼치기",searchPrev:"이전 검색 결과",searchNext:"다음 검색 결과",searchGoTo:"결과 번호로 이동",searching:"검색 중...",deleteCondition:"조건 삭제",deleteSort:"정렬 삭제",selectPlaceholder:"선택",byValueLabel:"레이블",decrease:"감소",increase:"증가",selectColor:"색상 선택",noColor:"색상 없음",customColorInput:"직접 입력",alignLeft:"왼쪽 정렬",alignCenter:"가운데 정렬",alignRight:"오른쪽 정렬",alignLabel:"정렬",fontStyleLabel:"글자 스타일",bold:"굵게",italic:"기울임",underline:"밑줄",columnOptions:"컬럼 옵션",showAllColumns:"전체 표시",commonSection:"공통",headerLabelField:"헤더 라벨",pinColumn:"고정",pinLeft:"왼쪽",pinNone:"없음",pinRight:"오른쪽",columnWidthPx:"너비(px)",headerSection:"헤더",cellSection:"셀",fontLabel:"글자",sizeLabel:"크기",displayMask:"표시 형식(마스크)",resetThisColumn:"이 컬럼 초기화",selectColumnHint:"컬럼을 선택하세요",showColumnNamed:"{column} 표시",columnTextColor:"글자색",cellStyleTitle:"셀 스타일",formulaHelp:"수식 도움말",validFormula:"유효한 수식",formulaHint:"컬럼을 선택하거나 값을 입력해 수식을 작성하세요.",ruleName:"규칙 이름",targetColumns:"적용 컬럼",allColumns:"전체 컬럼",colorLabel:"색상",cellBgColor:"배경 색상",cellTextColor:"텍스트 색상",moveUp:"위로",moveDown:"아래로",formulaPlaceholder:"예: [수요수량] > [재고수량] AND [우선순위] < 3",helpColumnRef:"컬럼 참조",helpCompare:"비교",helpArithmetic:"산술",helpLogic:"논리",helpString:"문자열",helpNull:"NULL 체크",helpValue:"값",groupColon:"그룹:",groupEmptyHint:"여기에 컬럼을 추가해 그룹화",addGroupBtn:"+ 그룹 추가",ungroup:"해제",removeGroup:"그룹 제거",excelImportTitle:"Excel 가져오기",processing:"처리 중…",excelPreview:"미리보기 {shown}행 / 총 {total}행+",clientImportFile:"파일에서 가져오기 (클라이언트)",clientExportXlsx:"XLSX (클라이언트)",groupExpand:"그룹 펼치기",groupCollapse:"그룹 접기",fontSizeDefault:"기본",maskGroupNone:"없음",maskGroupNumber:"숫자",maskGroupDate:"날짜",maskGroupString:"문자열",maskNoneText:"마스크 없음",maskNoneDesc:"원본 값 그대로 표시",maskThousandsText:"천 단위 구분 (1,234)",maskThousandsDesc:"예: 1234 → 1,234",maskDecimal2Text:"소수 2자리 (#,##0.00)",maskDecimal2Desc:"예: 1234.5 → 1,234.50",maskKrwText:"원화 (₩1,234)",maskKrwDesc:"예: 1234 → ₩1,234",maskUsdText:"달러 ($1,234.00)",maskUsdDesc:"예: 1234.5 → $1,234.50",maskPercentText:"퍼센트 (12%)",maskPercentDesc:"예: 12 → 12%",maskDateIsoDesc:"예: 2026-05-26",maskDateKoDesc:"예: 2026년 05월 26일",maskDatetimeDesc:"예: 2026-05-26 14:30",maskDateUsDesc:"예: 05/26/2026",maskPhoneText:"전화번호 (010-1234-5678)",maskPhoneDesc:"예: 01012345678 → 010-1234-5678",maskRrnText:"주민등록번호 (000000-0000000)",maskRrnDesc:"예: 9501011234567 → 950101-1234567",maskBizText:"사업자등록번호 (000-00-00000)",maskBizDesc:"예: 1234567890 → 123-45-67890"},GridPivot:{setting:"피봇 설정",gridSetting:"그리드 설정",fieldSetting:"값 필드 설정",showRowTotals:"행 합계 표시",showColumnTotals:"열 합계 표시",subtotalCriteria:"소계 기준",subtotalAggregateField:"소계 집계 필드",totalsBeforeData:"합계 먼저 보기",showZeros:"빈 값 채우기",showOutlineMode:"개요 모드",collapsibleSubtotal:"소계 접기",fieldName:"필드 이름",fieldAggregate:"집계",fieldShowAs:"표시 방식",fieldFormat:"형식",openChart:"차트 열기",selectValueField:"값 필드 선택",none:"없음",sum:"합계",count:"개수",average:"평균",max:"최대값",min:"최소값",range:"범위",std:"표준 편차",var:"분산",stdPop:"모표준 편차",varPop:"모분산",cntAll:"전체 개수",cntNumbers:"숫자 개수",showFirstValue:"첫 번째 값",showLastValue:"마지막 값",noCalculation:"계산 없음",diffRow:"이전 행과의 차이",diffRowPct:"이전 행과의 차이 (%)",diffCol:"이전 열과의 차이",diffColPct:"이전 열과의 차이 (%)",grandtotalPct:"전체 합계 대비 (%)",rowTotalPct:"행 합계 대비 (%)",colTotalPct:"열 합계 대비 (%)",prevRowPct:"이전 행 대비 (%)",prevColPct:"이전 열 대비 (%)",runTot:"누적 합계",runTotPct:"누적 합계 (%)",generalFormat:"일반",int:"정수",float:"실수",currency:"통화",percentage:"백분율 (정수)",percentageDot2:"백분율 (실수)",thousands:"천 단위",millions:"백만 단위",billions:"십억 단위",subtotal:"소계",grandtotal:"전체 합계",grandtotalValue:"총합계",category:"범주",chartType:"차트 유형",chartXAxis:"X축 범주",chartYAxis:"Y축 범주",categoryName:"카테고리",barChart:"막대 차트",lineChart:"꺾은선 차트",lineSymbolChart:"기호 꺾은선 차트",areaChart:"영역 차트",chartRenderingErrorHeader:"차트 렌더링 오류",chartRenderingErrorContent:"차트를 표시할 수 없습니다.",contextPivotExportXlsx:"화면 내보내기 (xlsx)",contextPivotExportOriginXlsx:"원본 데이터 내보내기 (xlsx)",contextPivotExportOriginCsv:"원본 데이터 내보내기 (csv)",row:"행",column:"열",value:"값",filter:"필터",searchFieldPlaceholder:"필드 검색...",dropZoneRowPlaceholder:"행 축 필드를 드래그하세요",dropZoneColumnPlaceholder:"열 축 필드를 드래그하세요",dropZoneValuePlaceholder:"값 필드를 드래그하세요",dropZoneFilterPlaceholder:"필터 필드를 드래그하세요",update:"업데이트",selectFieldForReport:"보고서에 추가할 필드 선택:",dragFieldsBetweenAreas:"아래 영역 사이에 필드를 끌어 놓으십시오:",valueSummaryCriteria:"값 요약 기준",roundRound:"반올림",roundFloor:"내림",roundCeil:"올림",roundTrunc:"절삭",roundingMode:"반올림 모드",decimalPlaces:"소수점 자리수",decimalUnlimited:"제한 없음",showOriginalValue:"원본값 병기",back:"뒤로",parentRowPct:"상위 행 그룹(%)",parentColPct:"상위 열 그룹(%)",rankAsc:"오름차순 순위",rankDesc:"내림차순 순위",index:"인덱스",showTotalsGrand:"합계",showTotalsSub:"부분합",fieldPanelSetting:"필드 설정",colSubtotalCriteria:"열 소계 기준",allowRowToggle:"행 확장/축소 허용",allowColToggle:"열 확장/축소 허용",outlineMode:"요약 모드"},Gantt:{searchPlaceholder:"검색",columnSize:"컬럼 크기",rowSize:"행 크기"},Chart:{filterPopup:"필터",resetFilter:"필터 초기화",addFilter:"필터 추가",symbolEqual:"같음",symbolNotEqual:"같지 않음",symbolContains:"포함",symbolNotContains:"포함하지 않음",symbolLessThan:"보다 작음",symbolGreaterThan:"보다 큼",symbolLessOrEqual:"작거나 같음",symbolGreaterOrEqual:"크거나 같음",symbolEmpty:"비어있음",symbolNotEmpty:"비어있지 않음",chartSetting:"차트 설정",chartCategory:"차트 카테고리",chartType:"차트 타입",chartUseZoom:"줌 사용",multiYAxisSetting:"Y축 다중 설정",notUsed:"(사용안함)",chartPopup:"차트 팝업",errorMessage:"데이터를 불러오는 중 오류가 발생했습니다.",valueFieldSetting:"값 필드 설정",valueSummaryCriteria:"값 요약 기준",selectFieldForReport:"보고서에 추가할 필드 선택:",column:"열",row:"행",value:"값",sumValue:"∑ 값",count:"개수",sum:"합계",average:"평균",min:"최소값",max:"최대값",seriesCategory:"일반",pieCategory:"파이",scatterCategory:"산점도",treemapCategory:"트리맵",boxplotCategory:"박스플롯",candlestickCategory:"캔들스틱",barChart:"바 차트",stackBarChart:"스택 바 차트",horizontalStackBarChart:"가로 스택 바 차트",lineChart:"선 차트",lineSymbolChart:"선 차트(심볼)",areaChart:"면적 차트",general:"일반",custom:"사용자 지정",axisCategoryLabel:"축 (범주)",legendSeriesLabel:"범례 (계열)",legendSingleLabel:"범례 (단일 선택)",legendMultiLabel:"범례 (다중 선택 가능)",valueSingleLabel:"값 (단일 선택)",xAxisSingleLabel:"X축 (단일 선택)",yAxisMultiLabel:"Y축 (다중 선택 가능)",notSet:"미지정",legendLimitExceededTitle:"차트 범례 개수가 최대 {limit}개를 초과했습니다.",legendLimitExceededContent:"범례를 {limit}개 이하로 재설정하여 주십시오."},NumberInput:{increase:"값 증가",decrease:"값 감소"},DateInput:{prevDate:"이전 날짜",nextDate:"다음 날짜"},PasswordInput:{showPassword:"비밀번호 표시",hidePassword:"비밀번호 숨기기"},Tab:{closeTab:"{label} 닫기"},SplitPane:{resizeHandle:"영역 크기 조절"},BreadCrumb:{navigation:"탐색 경로"}},Zs={Toast:{close:"Close"},Chip:{remove:"Remove"},Callout:{dismiss:"Dismiss"},Popup:{title:"Popup",save:"Save",cancel:"Cancel",ok:"OK",close:"Close"},Select:{searchPlaceholder:"Search",emptyText:"No data",requiredMessage:"{label} is required"},MultiSelect:{search:"Search",selectAll:"Select All",selectFiltered:"Select Filtered",specificResults:"Only Results",specificSelect:"Only",noData:"No data",required:"{label} is required",headerFormat:"ITEMS ({count})"},TreeSelect:{search:"Search",selectAll:"Select All",selectFiltered:"Select Filtered",specificResults:"Only Results",noData:"No data",showSelectedOnly:"Show selected only",expandAll:"Expand All",collapseAll:"Collapse All",required:"{label} is required",headerFormat:"ITEMS ({count})",expand:"Expand",collapse:"Collapse"},TagInput:{add:"Add",editTag:"Edit {label}",removeTag:"Remove {label}"},TimePicker:{hour:"Hour",minute:"Minute",currentTime:"Current Time"},EmptyState:{customEmptyHeader:"No data",customEmptyContent:"There is no data to display.",dataEmptyHeader:"No data to display",dataEmptyContent:"Please enter the required data.",resultEmptyHeader:"No results",resultEmptyContent:"Check the search conditions and try again.",searchEmptyHeader:"No search results",searchEmptyContent:"Please check the filter value and try again."},TableSelect:{searchPlaceholder:"Search",emptyText:"No data",requiredMessage:"{label} is required",footerSelect:"Select",footerNavigate:"Navigate",footerClose:"Close"},Common:{requiredMessage:"{label} is required"},Grid:{layoutSetting:"Layout Settings",filter:"Filter",sort:"Sort",customCellStyle:"Conditional Formatting",reset:"Reset",searchFilter:"Search",newView:"New View",selectAll:"Select All",columnPicker:"Show/Hide Columns",viewToolbar:"Show Toolbar",viewFooter:"Show Footer",viewGroupPanel:"Show Group Panel",resetFilterAndSort:"Reset Filter & Sort",defaultView:"Default View",filterPopup:"Filter Settings",resetFilter:"Reset Filter",addFilter:"Add Filter",sortingPopup:"Sort Settings",ascending:"Ascending",descending:"Descending",resetSort:"Reset Sort",addSort:"Add Sort",symbolEqual:"Equal",symbolNotEqual:"Not Equal",symbolContains:"Contains",symbolNotContains:"Does Not Contain",symbolLessThan:"Less Than",symbolGreaterThan:"Greater Than",symbolLessOrEqual:"Less Or Equal",symbolGreaterOrEqual:"Greater Or Equal",symbolEmpty:"Empty",symbolNotEmpty:"Not Empty",customCellRuleNamePlaceholder:"Enter rule name",addFormulaCondition:"Add Condition",applicationColumn:"Application Column",backgroundColor:"Background Color",fontColor:"Font Color",resetCustomCell:"Reset",addFormulaConditionSet:"Add Rule",customColor:"Custom Color",formulaConditionSet:"New Rule",contextFilterAndSort:"Filter & Sort",contextAddFilter:"Add Filter",contextSelectFilter:"Filter by Selection",contextResetColumnFilter:"Reset Column Filter",contextResetColumnSort:"Reset Column Sort",contextResetColumnAll:"Reset Column Filter/Sort",contextDataCopy:"Copy",contextDataExcelCopy:"Copy for Excel",contextDataWithHeaderCopy:"Copy with Header",contextPin:"Pin Column",contextColumnPicker:"Column Picker",contextMoveColumnFirst:"Move to First Column",contextAutoSizeColumns:"Auto Size Columns",contextGroupPanel:"Group Panel",contextGroupToggle:"Toggle Collapse",contextGroupCollapseAll:"Collapse All Groups",contextGroupExpandAll:"Expand All Groups",groupPanelPlaceholder:"Drag and drop columns here to create groups.",contextBulkEdit:"Bulk Edit {name}",contextImport:"Import",contextImportExcel:"Import Excel (Overwrite)",contextImportExcelAppend:"Import Excel (Append)",contextExport:"Export",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"Sum",check:"OK",cancel:"Cancel",save:"Save",remove:"Delete",close:"Close",pause:"Pause",add:"Add",immediateApply:"Apply Immediately",warning:"Warning",mozWarning:"Warning",confirmCancel:"Are you sure you want to cancel?",alreadyExcelProgress:"Excel operation is already in progress.",downloadFail:"Download failed.",addDataWithFilterSort:"Add data while filter/sort is applied?",resetAndAdd:"Reset and Add",confirmDeleteGeneral:"Are you sure you want to delete {name}?",toastCopySuccess:"Copied.",toastSaveSuccess:"Saved.",toastSaveError:"Save failed.",toastResetSuccess:"Reset.",toastRequiredVal:"Please enter the required values.",excelInvalidExcel:"Invalid Excel file.",excelInvalidUpload:"Invalid upload data.",downloadFormat:"Download Format",click:"Click",drag:"Drag",overwriteSelected:"Overwrite selected items?",fileOverwrite:"Overwrite the file?",dropHere:"Drop here",dropHerePrefix:"",dropHereMiddle:" here or ",dropHereSuffix:" a file.",withFormatting:"With Formatting",requestTimedOut:"Request timed out.",serverError:"A server error occurred.",total:"Total",correct:"Correct",error:"Error",success:"Success",fail:"Fail",excelExportConfirmLargeData:"Export large data?",footerTotalRowCount:"Total: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"Average",aggregateCount:"Count",aggregateMin:"Min",aggregateMax:"Max",aggregateSum:"Sum",settings:"Settings",collapseToolbar:"Collapse toolbar",expandToolbar:"Expand toolbar",searchPrev:"Previous result",searchNext:"Next result",searchGoTo:"Go to result",searching:"Searching...",deleteCondition:"Delete condition",deleteSort:"Delete sort",selectPlaceholder:"Select",byValueLabel:"Label",decrease:"Decrease",increase:"Increase",selectColor:"Select color",noColor:"No color",customColorInput:"Custom",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignLabel:"Align",fontStyleLabel:"Font style",bold:"Bold",italic:"Italic",underline:"Underline",columnOptions:"Column Options",showAllColumns:"Show all",commonSection:"Common",headerLabelField:"Header label",pinColumn:"Pin",pinLeft:"Left",pinNone:"None",pinRight:"Right",columnWidthPx:"Width (px)",headerSection:"Header",cellSection:"Cell",fontLabel:"Font",sizeLabel:"Size",displayMask:"Display format (mask)",resetThisColumn:"Reset this column",selectColumnHint:"Select a column",showColumnNamed:"Show {column}",columnTextColor:"Text color",cellStyleTitle:"Cell Style",formulaHelp:"Formula help",validFormula:"Valid formula",formulaHint:"Select a column or enter a value to build a formula.",ruleName:"Rule name",targetColumns:"Target columns",allColumns:"All columns",colorLabel:"Color",cellBgColor:"Background color",cellTextColor:"Text color",moveUp:"Move up",moveDown:"Move down",formulaPlaceholder:"e.g. [Demand] > [Stock] AND [Priority] < 3",helpColumnRef:"Column ref",helpCompare:"Compare",helpArithmetic:"Arithmetic",helpLogic:"Logic",helpString:"String",helpNull:"NULL check",helpValue:"Value",groupColon:"Group:",groupEmptyHint:"Drag columns here to group",addGroupBtn:"+ Add group",ungroup:"Clear",removeGroup:"Remove group",excelImportTitle:"Excel Import",processing:"Processing…",excelPreview:"Preview {shown} rows / {total} total+",clientImportFile:"Import from file (client)",clientExportXlsx:"XLSX (client)",groupExpand:"Expand group",groupCollapse:"Collapse group",fontSizeDefault:"Default",maskGroupNone:"None",maskGroupNumber:"Number",maskGroupDate:"Date",maskGroupString:"String",maskNoneText:"No mask",maskNoneDesc:"Show raw value",maskThousandsText:"Thousands (1,234)",maskThousandsDesc:"e.g. 1234 → 1,234",maskDecimal2Text:"2 decimals (#,##0.00)",maskDecimal2Desc:"e.g. 1234.5 → 1,234.50",maskKrwText:"KRW (₩1,234)",maskKrwDesc:"e.g. 1234 → ₩1,234",maskUsdText:"USD ($1,234.00)",maskUsdDesc:"e.g. 1234.5 → $1,234.50",maskPercentText:"Percent (12%)",maskPercentDesc:"e.g. 12 → 12%",maskDateIsoDesc:"e.g. 2026-05-26",maskDateKoDesc:"e.g. 2026-05-26",maskDatetimeDesc:"e.g. 2026-05-26 14:30",maskDateUsDesc:"e.g. 05/26/2026",maskPhoneText:"Phone (010-1234-5678)",maskPhoneDesc:"e.g. 01012345678 → 010-1234-5678",maskRrnText:"RRN (000000-0000000)",maskRrnDesc:"e.g. 9501011234567 → 950101-1234567",maskBizText:"Business No. (000-00-00000)",maskBizDesc:"e.g. 1234567890 → 123-45-67890"},GridPivot:{setting:"Pivot Settings",gridSetting:"Grid Settings",fieldSetting:"Field Settings",showRowTotals:"Show Row Totals",showColumnTotals:"Show Column Totals",subtotalCriteria:"Subtotal Criteria",subtotalAggregateField:"Subtotal Aggregate Field",totalsBeforeData:"Show Totals Before Data",showZeros:"Show Zeros",showOutlineMode:"Outline Mode",collapsibleSubtotal:"Collapsible Subtotal",fieldName:"Field Name",fieldAggregate:"Aggregate",fieldShowAs:"Show As",fieldFormat:"Format",openChart:"Open Chart",selectValueField:"Select Value Field",none:"None",sum:"Sum",count:"Count",average:"Average",max:"Max",min:"Min",range:"Range",std:"Std Dev",var:"Variance",stdPop:"Pop Std Dev",varPop:"Pop Variance",cntAll:"Count All",cntNumbers:"Count Numbers",showFirstValue:"First Value",showLastValue:"Last Value",noCalculation:"No Calculation",diffRow:"Diff from Previous Row",diffRowPct:"Diff from Previous Row (%)",diffCol:"Diff from Previous Column",diffColPct:"Diff from Previous Column (%)",grandtotalPct:"% of Grand Total",rowTotalPct:"% of Row Total",colTotalPct:"% of Column Total",prevRowPct:"% of Previous Row",prevColPct:"% of Previous Column",runTot:"Running Total",runTotPct:"Running Total (%)",generalFormat:"General",int:"Integer",float:"Decimal",currency:"Currency",percentage:"Percentage (Integer)",percentageDot2:"Percentage (Decimal)",thousands:"Thousands",millions:"Millions",billions:"Billions",subtotal:"Subtotal",grandtotal:"Grand Total",grandtotalValue:"Grand Total",category:"Category",chartType:"Chart Type",chartXAxis:"X Axis",chartYAxis:"Y Axis",categoryName:"Category Name",barChart:"Bar Chart",lineChart:"Line Chart",lineSymbolChart:"Symbol Line Chart",areaChart:"Area Chart",chartRenderingErrorHeader:"Chart Rendering Error",chartRenderingErrorContent:"Unable to display the chart.",contextPivotExportXlsx:"View Export (xlsx)",contextPivotExportOriginXlsx:"Source Data Export (xlsx)",contextPivotExportOriginCsv:"Source Data Export (csv)",row:"Rows",column:"Columns",value:"Values",filter:"Filters",searchFieldPlaceholder:"Search fields...",dropZoneRowPlaceholder:"Drag row axis fields here",dropZoneColumnPlaceholder:"Drag column axis fields here",dropZoneValuePlaceholder:"Drag value fields here",dropZoneFilterPlaceholder:"Drag filter fields here",update:"Update",selectFieldForReport:"Choose fields to add to report:",dragFieldsBetweenAreas:"Drag fields between areas below:",valueSummaryCriteria:"Summarize Values By",roundRound:"Round",roundFloor:"Floor",roundCeil:"Ceil",roundTrunc:"Truncate",roundingMode:"Rounding mode",decimalPlaces:"Decimal places",decimalUnlimited:"No limit",showOriginalValue:"Show original value",back:"Back",parentRowPct:"% of Parent Row Group",parentColPct:"% of Parent Column Group",rankAsc:"Rank Ascending",rankDesc:"Rank Descending",index:"Index",showTotalsGrand:"Grand Totals",showTotalsSub:"Subtotals",fieldPanelSetting:"Field Settings",colSubtotalCriteria:"Column Subtotal Criteria",allowRowToggle:"Allow Row Expand/Collapse",allowColToggle:"Allow Column Expand/Collapse",outlineMode:"Outline Mode"},Gantt:{searchPlaceholder:"Search",columnSize:"Column Size",rowSize:"Row Size"},Chart:{filterPopup:"Filter",resetFilter:"Reset Filter",addFilter:"Add Filter",symbolEqual:"Equal",symbolNotEqual:"Not Equal",symbolContains:"Contains",symbolNotContains:"Not Contains",symbolLessThan:"Less Than",symbolGreaterThan:"Greater Than",symbolLessOrEqual:"Less or Equal",symbolGreaterOrEqual:"Greater or Equal",symbolEmpty:"Empty",symbolNotEmpty:"Not Empty",chartSetting:"Chart Setting",chartCategory:"Chart Category",chartType:"Chart Type",chartUseZoom:"Use Zoom",multiYAxisSetting:"Multi Y-Axis Setting",notUsed:"(Not Used)",chartPopup:"Chart Popup",errorMessage:"An error occurred while loading data.",valueFieldSetting:"Value Field Setting",valueSummaryCriteria:"Value Summary Criteria",selectFieldForReport:"Select fields to add to the report:",column:"Column",row:"Row",value:"Value",sumValue:"∑ Value",count:"Count",sum:"Sum",average:"Average",min:"Min",max:"Max",seriesCategory:"General",pieCategory:"Pie",scatterCategory:"Scatter",treemapCategory:"Treemap",boxplotCategory:"Boxplot",candlestickCategory:"Candlestick",barChart:"Bar Chart",stackBarChart:"Stack Bar Chart",horizontalStackBarChart:"Horizontal Stack Bar Chart",lineChart:"Line Chart",lineSymbolChart:"Line Chart (Symbol)",areaChart:"Area Chart",general:"General",custom:"Custom",axisCategoryLabel:"Axis (Category)",legendSeriesLabel:"Legend (Series)",legendSingleLabel:"Legend (Single)",legendMultiLabel:"Legend (Multiple)",valueSingleLabel:"Value (Single)",xAxisSingleLabel:"X-Axis (Single)",yAxisMultiLabel:"Y-Axis (Multiple)",notSet:"Not Set",legendLimitExceededTitle:"The number of chart legends has exceeded the maximum of {limit}.",legendLimitExceededContent:"Please reconfigure the legend to {limit} or fewer."},NumberInput:{increase:"Increase value",decrease:"Decrease value"},DateInput:{prevDate:"Previous date",nextDate:"Next date"},PasswordInput:{showPassword:"Show password",hidePassword:"Hide password"},Tab:{closeTab:"Close {label}"},SplitPane:{resizeHandle:"Resize panes"},BreadCrumb:{navigation:"Breadcrumb"}},js={Toast:{close:"关闭"},Chip:{remove:"删除"},Callout:{dismiss:"关闭"},Popup:{title:"弹窗",save:"保存",cancel:"取消",ok:"确认",close:"关闭"},Select:{searchPlaceholder:"搜索",emptyText:"暂无数据",requiredMessage:"{label} 为必填项"},MultiSelect:{search:"搜索",selectAll:"全选",selectFiltered:"选择筛选结果",specificResults:"仅结果",specificSelect:"仅选择",noData:"暂无数据",required:"{label} 为必填项",headerFormat:"项目 ({count})"},TreeSelect:{search:"搜索",selectAll:"全选",selectFiltered:"选择筛选结果",specificResults:"仅结果",noData:"暂无数据",showSelectedOnly:"仅显示已选项",expandAll:"全部展开",collapseAll:"全部收起",required:"{label} 为必填项",headerFormat:"项目 ({count})",expand:"展开",collapse:"折叠"},TagInput:{add:"添加",editTag:"编辑 {label}",removeTag:"删除 {label}"},TimePicker:{hour:"时",minute:"分",currentTime:"当前时间"},EmptyState:{customEmptyHeader:"暂无数据",customEmptyContent:"没有可显示的数据。",dataEmptyHeader:"暂无数据",dataEmptyContent:"请输入所需数据。",resultEmptyHeader:"无结果",resultEmptyContent:"请检查搜索条件后重试。",searchEmptyHeader:"无搜索结果",searchEmptyContent:"请检查筛选条件后重试。"},TableSelect:{searchPlaceholder:"搜索",emptyText:"暂无数据",requiredMessage:"{label} 为必填项",footerSelect:"选择",footerNavigate:"移动",footerClose:"关闭"},Common:{requiredMessage:"{label} 为必填项"},Grid:{layoutSetting:"布局设置",filter:"筛选",sort:"排序",customCellStyle:"条件格式设置",reset:"重置",searchFilter:"搜索",newView:"新建视图",selectAll:"全选",columnPicker:"列显示/隐藏设置",viewToolbar:"显示工具栏",viewFooter:"显示页脚",viewGroupPanel:"显示分组面板",resetFilterAndSort:"重置筛选和排序",defaultView:"默认视图",filterPopup:"筛选设置",resetFilter:"重置筛选",addFilter:"添加筛选",sortingPopup:"排序设置",ascending:"升序",descending:"降序",resetSort:"重置排序",addSort:"添加排序",symbolEqual:"等于",symbolNotEqual:"不等于",symbolContains:"包含",symbolNotContains:"不包含",symbolLessThan:"小于",symbolGreaterThan:"大于",symbolLessOrEqual:"小于或等于",symbolGreaterOrEqual:"大于或等于",symbolEmpty:"为空",symbolNotEmpty:"不为空",customCellRuleNamePlaceholder:"请输入规则名称",addFormulaCondition:"添加条件",applicationColumn:"应用列",backgroundColor:"背景色",fontColor:"字体颜色",resetCustomCell:"重置",addFormulaConditionSet:"添加规则",customColor:"自定义颜色",formulaConditionSet:"新建规则",contextFilterAndSort:"筛选和排序",contextAddFilter:"添加筛选",contextSelectFilter:"按选定值筛选",contextResetColumnFilter:"重置列筛选",contextResetColumnSort:"重置列排序",contextResetColumnAll:"重置列筛选/排序",contextDataCopy:"复制",contextDataExcelCopy:"Excel 复制",contextDataWithHeaderCopy:"含表头复制",contextPin:"固定列",contextColumnPicker:"列选择",contextMoveColumnFirst:"移至第一列",contextAutoSizeColumns:"自动调整列宽",contextGroupPanel:"分组面板",contextGroupToggle:"折叠/展开组",contextGroupCollapseAll:"折叠所有组",contextGroupExpandAll:"展开所有组",groupPanelPlaceholder:"将列拖放到此处以创建分组。",contextBulkEdit:"批量编辑 {name}",contextImport:"导入",contextImportExcel:"Excel 导入(覆盖)",contextImportExcelAppend:"Excel 导入(追加)",contextExport:"导出",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"合计",check:"确认",cancel:"取消",save:"保存",remove:"删除",close:"关闭",pause:"暂停",add:"添加",immediateApply:"立即应用",warning:"警告",mozWarning:"警告",confirmCancel:"确定要取消吗?",alreadyExcelProgress:"Excel 操作正在进行中。",downloadFail:"下载失败。",addDataWithFilterSort:"在筛选/排序状态下添加数据?",resetAndAdd:"重置后添加",confirmDeleteGeneral:"确定要删除 {name} 吗?",toastCopySuccess:"已复制。",toastSaveSuccess:"已保存。",toastSaveError:"保存失败。",toastResetSuccess:"已重置。",toastRequiredVal:"请输入必填值。",excelInvalidExcel:"无效的 Excel 文件。",excelInvalidUpload:"无效的上传数据。",downloadFormat:"下载格式",click:"点击",drag:"拖拽",overwriteSelected:"覆盖选定项?",fileOverwrite:"覆盖文件?",dropHere:"拖放到此处",dropHerePrefix:"",dropHereMiddle:"此处或",dropHereSuffix:"文件。",withFormatting:"包含格式",requestTimedOut:"请求超时。",serverError:"服务器发生错误。",total:"总计",correct:"正常",error:"错误",success:"成功",fail:"失败",excelExportConfirmLargeData:"确定导出大量数据?",footerTotalRowCount:"总计: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"平均",aggregateCount:"计数",aggregateMin:"最小值",aggregateMax:"最大值",aggregateSum:"合计",settings:"设置",collapseToolbar:"折叠工具栏",expandToolbar:"展开工具栏",searchPrev:"上一个结果",searchNext:"下一个结果",searchGoTo:"跳转到结果",searching:"搜索中...",deleteCondition:"删除条件",deleteSort:"删除排序",selectPlaceholder:"选择",byValueLabel:"标签",decrease:"减少",increase:"增加",selectColor:"选择颜色",noColor:"无颜色",customColorInput:"自定义输入",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignLabel:"对齐",fontStyleLabel:"字体样式",bold:"加粗",italic:"斜体",underline:"下划线",columnOptions:"列选项",showAllColumns:"全部显示",commonSection:"通用",headerLabelField:"表头标签",pinColumn:"固定",pinLeft:"左",pinNone:"无",pinRight:"右",columnWidthPx:"宽度(px)",headerSection:"表头",cellSection:"单元格",fontLabel:"文字",sizeLabel:"大小",displayMask:"显示格式(掩码)",resetThisColumn:"重置此列",selectColumnHint:"请选择列",showColumnNamed:"显示 {column}",columnTextColor:"文字颜色",cellStyleTitle:"单元格样式",formulaHelp:"公式帮助",validFormula:"有效公式",formulaHint:"选择列或输入值以创建公式。",ruleName:"规则名称",targetColumns:"应用列",allColumns:"全部列",colorLabel:"颜色",cellBgColor:"背景色",cellTextColor:"文字色",moveUp:"上移",moveDown:"下移",formulaPlaceholder:"例: [需求量] > [库存量] AND [优先级] < 3",helpColumnRef:"列引用",helpCompare:"比较",helpArithmetic:"算术",helpLogic:"逻辑",helpString:"字符串",helpNull:"NULL 检查",helpValue:"值",groupColon:"分组:",groupEmptyHint:"将列拖到此处进行分组",addGroupBtn:"+ 添加分组",ungroup:"解除",removeGroup:"移除分组",excelImportTitle:"Excel 导入",processing:"处理中…",excelPreview:"预览 {shown} 行 / 共 {total} 行+",clientImportFile:"从文件导入 (客户端)",clientExportXlsx:"XLSX (客户端)",groupExpand:"展开分组",groupCollapse:"折叠分组",fontSizeDefault:"默认",maskGroupNone:"无",maskGroupNumber:"数字",maskGroupDate:"日期",maskGroupString:"字符串",maskNoneText:"无掩码",maskNoneDesc:"按原值显示",maskThousandsText:"千位分隔 (1,234)",maskThousandsDesc:"例: 1234 → 1,234",maskDecimal2Text:"两位小数 (#,##0.00)",maskDecimal2Desc:"例: 1234.5 → 1,234.50",maskKrwText:"韩元 (₩1,234)",maskKrwDesc:"例: 1234 → ₩1,234",maskUsdText:"美元 ($1,234.00)",maskUsdDesc:"例: 1234.5 → $1,234.50",maskPercentText:"百分比 (12%)",maskPercentDesc:"例: 12 → 12%",maskDateIsoDesc:"例: 2026-05-26",maskDateKoDesc:"例: 2026-05-26",maskDatetimeDesc:"例: 2026-05-26 14:30",maskDateUsDesc:"例: 05/26/2026",maskPhoneText:"电话号码 (010-1234-5678)",maskPhoneDesc:"例: 01012345678 → 010-1234-5678",maskRrnText:"身份证号 (000000-0000000)",maskRrnDesc:"例: 9501011234567 → 950101-1234567",maskBizText:"营业执照号 (000-00-00000)",maskBizDesc:"例: 1234567890 → 123-45-67890"},GridPivot:{setting:"数据透视设置",gridSetting:"网格设置",fieldSetting:"字段设置",showRowTotals:"显示行合计",showColumnTotals:"显示列合计",subtotalCriteria:"小计基准",subtotalAggregateField:"小计汇总字段",totalsBeforeData:"在数据前显示合计",showZeros:"显示零值",showOutlineMode:"大纲模式",collapsibleSubtotal:"可折叠小计",fieldName:"字段名称",fieldAggregate:"汇总",fieldShowAs:"显示方式",fieldFormat:"格式",openChart:"打开图表",selectValueField:"选择值字段",none:"无",sum:"求和",count:"计数",average:"平均值",max:"最大值",min:"最小值",range:"范围",std:"标准差",var:"方差",stdPop:"总体标准差",varPop:"总体方差",cntAll:"全部计数",cntNumbers:"数字计数",showFirstValue:"第一个值",showLastValue:"最后一个值",noCalculation:"无计算",diffRow:"与前一行的差",diffRowPct:"与前一行的差 (%)",diffCol:"与前一列的差",diffColPct:"与前一列的差 (%)",grandtotalPct:"占总计百分比",rowTotalPct:"占行合计百分比",colTotalPct:"占列合计百分比",prevRowPct:"占前一行百分比",prevColPct:"占前一列百分比",runTot:"累计",runTotPct:"累计百分比",generalFormat:"常规",int:"整数",float:"小数",currency:"货币",percentage:"百分比 (整数)",percentageDot2:"百分比 (小数)",thousands:"千位",millions:"百万位",billions:"十亿位",subtotal:"小计",grandtotal:"总计",grandtotalValue:"总合计",category:"类别",chartType:"图表类型",chartXAxis:"X轴",chartYAxis:"Y轴",categoryName:"类别名称",barChart:"柱状图",lineChart:"折线图",lineSymbolChart:"符号折线图",areaChart:"面积图",chartRenderingErrorHeader:"图表渲染错误",chartRenderingErrorContent:"无法显示图表。",contextPivotExportXlsx:"视图导出 (xlsx)",contextPivotExportOriginXlsx:"原始数据导出 (xlsx)",contextPivotExportOriginCsv:"原始数据导出 (csv)",row:"行",column:"列",value:"值",filter:"筛选",searchFieldPlaceholder:"搜索字段...",dropZoneRowPlaceholder:"拖动行轴字段到这里",dropZoneColumnPlaceholder:"拖动列轴字段到这里",dropZoneValuePlaceholder:"拖动值字段到这里",dropZoneFilterPlaceholder:"拖动筛选字段到这里",update:"更新",selectFieldForReport:"选择要添加到报表的字段:",dragFieldsBetweenAreas:"在下面的区域之间拖动字段:",valueSummaryCriteria:"值汇总依据",roundRound:"四舍五入",roundFloor:"向下取整",roundCeil:"向上取整",roundTrunc:"截断",roundingMode:"舍入模式",decimalPlaces:"小数位数",decimalUnlimited:"无限制",showOriginalValue:"并列原始值",back:"返回",parentRowPct:"占上级行组百分比",parentColPct:"占上级列组百分比",rankAsc:"升序排名",rankDesc:"降序排名",index:"索引",showTotalsGrand:"总计",showTotalsSub:"小计",fieldPanelSetting:"字段设置",colSubtotalCriteria:"列小计基准",allowRowToggle:"允许行展开/折叠",allowColToggle:"允许列展开/折叠",outlineMode:"大纲模式"},Gantt:{searchPlaceholder:"搜索",columnSize:"列大小",rowSize:"行大小"},Chart:{filterPopup:"筛选",resetFilter:"重置筛选",addFilter:"添加筛选",symbolEqual:"等于",symbolNotEqual:"不等于",symbolContains:"包含",symbolNotContains:"不包含",symbolLessThan:"小于",symbolGreaterThan:"大于",symbolLessOrEqual:"小于等于",symbolGreaterOrEqual:"大于等于",symbolEmpty:"为空",symbolNotEmpty:"不为空",chartSetting:"图表设置",chartCategory:"图表类别",chartType:"图表类型",chartUseZoom:"使用缩放",multiYAxisSetting:"Y轴多轴设置",notUsed:"(未使用)",chartPopup:"图表弹窗",errorMessage:"加载数据时发生错误。",valueFieldSetting:"值字段设置",valueSummaryCriteria:"值汇总基准",selectFieldForReport:"选择要添加到报表的字段:",column:"列",row:"行",value:"值",sumValue:"∑ 值",count:"计数",sum:"合计",average:"平均",min:"最小值",max:"最大值",seriesCategory:"常规",pieCategory:"饼图",scatterCategory:"散点图",treemapCategory:"树状图",boxplotCategory:"箱线图",candlestickCategory:"K线图",barChart:"柱状图",stackBarChart:"堆叠柱状图",horizontalStackBarChart:"水平堆叠柱状图",lineChart:"折线图",lineSymbolChart:"折线图(符号)",areaChart:"面积图",general:"常规",custom:"自定义",axisCategoryLabel:"轴 (类别)",legendSeriesLabel:"图例 (系列)",legendSingleLabel:"图例 (单选)",legendMultiLabel:"图例 (多选)",valueSingleLabel:"值 (单选)",xAxisSingleLabel:"X轴 (单选)",yAxisMultiLabel:"Y轴 (多选)",notSet:"未指定",legendLimitExceededTitle:"图表图例数量已超过最大值 {limit} 个。",legendLimitExceededContent:"请将图例重新设置为 {limit} 个以内。"},NumberInput:{increase:"增加数值",decrease:"减少数值"},DateInput:{prevDate:"上一个日期",nextDate:"下一个日期"},PasswordInput:{showPassword:"显示密码",hidePassword:"隐藏密码"},Tab:{closeTab:"关闭 {label}"},SplitPane:{resizeHandle:"调整区域大小"},BreadCrumb:{navigation:"面包屑导航"}},Xs={Toast:{close:"閉じる"},Chip:{remove:"削除"},Callout:{dismiss:"閉じる"},Popup:{title:"ポップアップ",save:"保存",cancel:"キャンセル",ok:"OK",close:"閉じる"},Select:{searchPlaceholder:"検索",emptyText:"データがありません",requiredMessage:"{label} は必須です"},MultiSelect:{search:"検索",selectAll:"すべて選択",selectFiltered:"フィルター結果を選択",specificResults:"結果のみ",specificSelect:"選択のみ",noData:"データがありません",required:"{label} は必須です",headerFormat:"項目 ({count})"},TreeSelect:{search:"検索",selectAll:"すべて選択",selectFiltered:"フィルター結果を選択",specificResults:"結果のみ",noData:"データがありません",showSelectedOnly:"選択項目のみ表示",expandAll:"すべて展開",collapseAll:"すべて折りたたむ",required:"{label} は必須です",headerFormat:"項目 ({count})",expand:"展開",collapse:"折りたたむ"},TagInput:{add:"追加",editTag:"{label} を編集",removeTag:"{label} を削除"},TimePicker:{hour:"時",minute:"分",currentTime:"現在時刻"},EmptyState:{customEmptyHeader:"データなし",customEmptyContent:"表示するデータがありません。",dataEmptyHeader:"表示するデータがありません",dataEmptyContent:"必要なデータを入力してください。",resultEmptyHeader:"結果なし",resultEmptyContent:"検索条件を確認して再度お試しください。",searchEmptyHeader:"検索結果なし",searchEmptyContent:"フィルター値を確認して再度お試しください。"},TableSelect:{searchPlaceholder:"検索",emptyText:"データがありません",requiredMessage:"{label} は必須です",footerSelect:"選択",footerNavigate:"移動",footerClose:"閉じる"},Common:{requiredMessage:"{label} は必須です"},Grid:{layoutSetting:"レイアウト設定",filter:"フィルター",sort:"ソート",customCellStyle:"条件付き書式設定",reset:"リセット",searchFilter:"検索",newView:"新しいビュー",selectAll:"すべて選択",columnPicker:"列の表示/非表示設定",viewToolbar:"ツールバー表示",viewFooter:"フッター表示",viewGroupPanel:"グループパネル表示",resetFilterAndSort:"フィルター・ソートリセット",defaultView:"デフォルトビュー",filterPopup:"フィルター設定",resetFilter:"フィルターリセット",addFilter:"フィルター追加",sortingPopup:"ソート設定",ascending:"昇順",descending:"降順",resetSort:"ソートリセット",addSort:"ソート追加",symbolEqual:"等しい",symbolNotEqual:"等しくない",symbolContains:"含む",symbolNotContains:"含まない",symbolLessThan:"より小さい",symbolGreaterThan:"より大きい",symbolLessOrEqual:"以下",symbolGreaterOrEqual:"以上",symbolEmpty:"空",symbolNotEmpty:"空でない",customCellRuleNamePlaceholder:"ルール名を入力してください",addFormulaCondition:"条件追加",applicationColumn:"適用列",backgroundColor:"背景色",fontColor:"フォント色",resetCustomCell:"リセット",addFormulaConditionSet:"ルールを追加",customColor:"カスタム色",formulaConditionSet:"新しいルール",contextFilterAndSort:"フィルター・ソート",contextAddFilter:"フィルター追加",contextSelectFilter:"選択値でフィルター",contextResetColumnFilter:"列フィルターリセット",contextResetColumnSort:"列ソートリセット",contextResetColumnAll:"列フィルター/ソートリセット",contextDataCopy:"コピー",contextDataExcelCopy:"Excelコピー",contextDataWithHeaderCopy:"ヘッダー付きコピー",contextPin:"列固定",contextColumnPicker:"列選択",contextMoveColumnFirst:"最初の列に移動",contextAutoSizeColumns:"列幅自動調整",contextGroupPanel:"グループパネル",contextGroupToggle:"グループ折りたたみ/展開",contextGroupCollapseAll:"すべてのグループを折りたたむ",contextGroupExpandAll:"すべてのグループを展開",groupPanelPlaceholder:"列をドラッグ&ドロップしてグループを作成します。",contextBulkEdit:"{name} 一括編集",contextImport:"インポート",contextImportExcel:"Excelインポート(上書き)",contextImportExcelAppend:"Excelインポート(追加)",contextExport:"エクスポート",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"合計",check:"確認",cancel:"キャンセル",save:"保存",remove:"削除",close:"閉じる",pause:"一時停止",add:"追加",immediateApply:"すぐに適用",warning:"警告",mozWarning:"警告",confirmCancel:"キャンセルしますか?",alreadyExcelProgress:"Excel操作が進行中です。",downloadFail:"ダウンロードに失敗しました。",addDataWithFilterSort:"フィルター/ソート適用中にデータを追加しますか?",resetAndAdd:"リセットして追加",confirmDeleteGeneral:"{name}を削除しますか?",toastCopySuccess:"コピーしました。",toastSaveSuccess:"保存しました。",toastSaveError:"保存に失敗しました。",toastResetSuccess:"リセットしました。",toastRequiredVal:"必須値を入力してください。",excelInvalidExcel:"無効なExcelファイルです。",excelInvalidUpload:"無効なアップロードデータです。",downloadFormat:"フォーマットダウンロード",click:"クリック",drag:"ドラッグ",overwriteSelected:"選択項目を上書きしますか?",fileOverwrite:"ファイルを上書きしますか?",dropHere:"ここにドロップ",dropHerePrefix:"ここを",dropHereMiddle:"またはファイルを",dropHereSuffix:"してください。",withFormatting:"書式付き",requestTimedOut:"リクエストがタイムアウトしました。",serverError:"サーバーエラーが発生しました。",total:"合計",correct:"正常",error:"エラー",success:"成功",fail:"失敗",excelExportConfirmLargeData:"大量データをエクスポートしますか?",footerTotalRowCount:"合計: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"平均",aggregateCount:"件数",aggregateMin:"最小値",aggregateMax:"最大値",aggregateSum:"合計",settings:"設定",collapseToolbar:"ツールバーを折りたたむ",expandToolbar:"ツールバーを展開",searchPrev:"前の検索結果",searchNext:"次の検索結果",searchGoTo:"結果番号へ移動",searching:"検索中...",deleteCondition:"条件を削除",deleteSort:"ソートを削除",selectPlaceholder:"選択",byValueLabel:"ラベル",decrease:"減少",increase:"増加",selectColor:"色を選択",noColor:"色なし",customColorInput:"直接入力",alignLeft:"左揃え",alignCenter:"中央揃え",alignRight:"右揃え",alignLabel:"配置",fontStyleLabel:"文字スタイル",bold:"太字",italic:"斜体",underline:"下線",columnOptions:"列オプション",showAllColumns:"すべて表示",commonSection:"共通",headerLabelField:"ヘッダーラベル",pinColumn:"固定",pinLeft:"左",pinNone:"なし",pinRight:"右",columnWidthPx:"幅(px)",headerSection:"ヘッダー",cellSection:"セル",fontLabel:"文字",sizeLabel:"サイズ",displayMask:"表示形式(マスク)",resetThisColumn:"この列をリセット",selectColumnHint:"列を選択してください",showColumnNamed:"{column} を表示",columnTextColor:"文字色",cellStyleTitle:"セルスタイル",formulaHelp:"数式ヘルプ",validFormula:"有効な数式",formulaHint:"列を選択するか値を入力して数式を作成してください。",ruleName:"ルール名",targetColumns:"適用列",allColumns:"全列",colorLabel:"色",cellBgColor:"背景色",cellTextColor:"文字色",moveUp:"上へ",moveDown:"下へ",formulaPlaceholder:"例: [需要数] > [在庫数] AND [優先度] < 3",helpColumnRef:"列参照",helpCompare:"比較",helpArithmetic:"算術",helpLogic:"論理",helpString:"文字列",helpNull:"NULL チェック",helpValue:"値",groupColon:"グループ:",groupEmptyHint:"ここに列をドラッグしてグループ化",addGroupBtn:"+ グループ追加",ungroup:"解除",removeGroup:"グループ削除",excelImportTitle:"Excel 取り込み",processing:"処理中…",excelPreview:"プレビュー {shown}行 / 全 {total}行+",clientImportFile:"ファイルから取り込み (クライアント)",clientExportXlsx:"XLSX (クライアント)",groupExpand:"グループを展開",groupCollapse:"グループを折りたたむ",fontSizeDefault:"既定",maskGroupNone:"なし",maskGroupNumber:"数値",maskGroupDate:"日付",maskGroupString:"文字列",maskNoneText:"マスクなし",maskNoneDesc:"元の値をそのまま表示",maskThousandsText:"桁区切り (1,234)",maskThousandsDesc:"例: 1234 → 1,234",maskDecimal2Text:"小数2桁 (#,##0.00)",maskDecimal2Desc:"例: 1234.5 → 1,234.50",maskKrwText:"ウォン (₩1,234)",maskKrwDesc:"例: 1234 → ₩1,234",maskUsdText:"ドル ($1,234.00)",maskUsdDesc:"例: 1234.5 → $1,234.50",maskPercentText:"パーセント (12%)",maskPercentDesc:"例: 12 → 12%",maskDateIsoDesc:"例: 2026-05-26",maskDateKoDesc:"例: 2026-05-26",maskDatetimeDesc:"例: 2026-05-26 14:30",maskDateUsDesc:"例: 05/26/2026",maskPhoneText:"電話番号 (010-1234-5678)",maskPhoneDesc:"例: 01012345678 → 010-1234-5678",maskRrnText:"住民登録番号 (000000-0000000)",maskRrnDesc:"例: 9501011234567 → 950101-1234567",maskBizText:"事業者登録番号 (000-00-00000)",maskBizDesc:"例: 1234567890 → 123-45-67890"},GridPivot:{setting:"ピボット設定",gridSetting:"グリッド設定",fieldSetting:"フィールド設定",showRowTotals:"行合計表示",showColumnTotals:"列合計表示",subtotalCriteria:"小計基準",subtotalAggregateField:"小計集計フィールド",totalsBeforeData:"データ前に合計表示",showZeros:"ゼロ表示",showOutlineMode:"アウトラインモード",collapsibleSubtotal:"小計折りたたみ",fieldName:"フィールド名",fieldAggregate:"集計",fieldShowAs:"表示方式",fieldFormat:"形式",openChart:"チャートを開く",selectValueField:"値フィールド選択",none:"なし",sum:"合計",count:"個数",average:"平均",max:"最大値",min:"最小値",range:"範囲",std:"標準偏差",var:"分散",stdPop:"母標準偏差",varPop:"母分散",cntAll:"全個数",cntNumbers:"数値の個数",showFirstValue:"最初の値",showLastValue:"最後の値",noCalculation:"計算なし",diffRow:"前の行との差",diffRowPct:"前の行との差 (%)",diffCol:"前の列との差",diffColPct:"前の列との差 (%)",grandtotalPct:"総計に対する割合",rowTotalPct:"行合計に対する割合",colTotalPct:"列合計に対する割合",prevRowPct:"前の行に対する割合",prevColPct:"前の列に対する割合",runTot:"累計",runTotPct:"累計割合",generalFormat:"一般",int:"整数",float:"小数",currency:"通貨",percentage:"パーセント (整数)",percentageDot2:"パーセント (小数)",thousands:"千単位",millions:"百万単位",billions:"十億単位",subtotal:"小計",grandtotal:"総計",grandtotalValue:"総合計",category:"カテゴリ",chartType:"チャートタイプ",chartXAxis:"X軸",chartYAxis:"Y軸",categoryName:"カテゴリ名",barChart:"棒グラフ",lineChart:"折れ線グラフ",lineSymbolChart:"シンボル折れ線グラフ",areaChart:"エリアチャート",chartRenderingErrorHeader:"チャートレンダリングエラー",chartRenderingErrorContent:"チャートを表示できません。",contextPivotExportXlsx:"ビューエクスポート (xlsx)",contextPivotExportOriginXlsx:"元データエクスポート (xlsx)",contextPivotExportOriginCsv:"元データエクスポート (csv)",row:"行",column:"列",value:"値",filter:"フィルター",searchFieldPlaceholder:"フィールド検索...",dropZoneRowPlaceholder:"行軸フィールドをドラッグしてください",dropZoneColumnPlaceholder:"列軸フィールドをドラッグしてください",dropZoneValuePlaceholder:"値フィールドをドラッグしてください",dropZoneFilterPlaceholder:"フィルターフィールドをドラッグしてください",update:"更新",selectFieldForReport:"レポートに追加するフィールドを選択:",dragFieldsBetweenAreas:"下の領域間にフィールドをドラッグしてください:",valueSummaryCriteria:"値の集計方法",roundRound:"四捨五入",roundFloor:"切り捨て",roundCeil:"切り上げ",roundTrunc:"切り捨て(0方向)",roundingMode:"丸めモード",decimalPlaces:"小数点桁数",decimalUnlimited:"制限なし",showOriginalValue:"元の値を併記",back:"戻る",parentRowPct:"上位行グループ比 (%)",parentColPct:"上位列グループ比 (%)",rankAsc:"昇順ランク",rankDesc:"降順ランク",index:"インデックス",showTotalsGrand:"合計",showTotalsSub:"小計",fieldPanelSetting:"フィールド設定",colSubtotalCriteria:"列小計基準",allowRowToggle:"行の展開/折りたたみ許可",allowColToggle:"列の展開/折りたたみ許可",outlineMode:"アウトラインモード"},Gantt:{searchPlaceholder:"検索",columnSize:"列サイズ",rowSize:"行サイズ"},Chart:{filterPopup:"フィルター",resetFilter:"フィルターリセット",addFilter:"フィルター追加",symbolEqual:"等しい",symbolNotEqual:"等しくない",symbolContains:"含む",symbolNotContains:"含まない",symbolLessThan:"より小さい",symbolGreaterThan:"より大きい",symbolLessOrEqual:"以下",symbolGreaterOrEqual:"以上",symbolEmpty:"空",symbolNotEmpty:"空でない",chartSetting:"チャート設定",chartCategory:"チャートカテゴリ",chartType:"チャートタイプ",chartUseZoom:"ズーム使用",multiYAxisSetting:"Y軸マルチ設定",notUsed:"(使用しない)",chartPopup:"チャートポップアップ",errorMessage:"データの読み込み中にエラーが発生しました。",valueFieldSetting:"値フィールド設定",valueSummaryCriteria:"値集計基準",selectFieldForReport:"レポートに追加するフィールドを選択:",column:"列",row:"行",value:"値",sumValue:"∑ 値",count:"件数",sum:"合計",average:"平均",min:"最小値",max:"最大値",seriesCategory:"一般",pieCategory:"パイ",scatterCategory:"散布図",treemapCategory:"ツリーマップ",boxplotCategory:"ボックスプロット",candlestickCategory:"ローソク足",barChart:"棒グラフ",stackBarChart:"スタック棒グラフ",horizontalStackBarChart:"横スタック棒グラフ",lineChart:"折れ線グラフ",lineSymbolChart:"折れ線グラフ(シンボル)",areaChart:"エリアチャート",general:"一般",custom:"カスタム",axisCategoryLabel:"軸 (カテゴリ)",legendSeriesLabel:"凡例 (シリーズ)",legendSingleLabel:"凡例 (単一選択)",legendMultiLabel:"凡例 (複数選択可)",valueSingleLabel:"値 (単一選択)",xAxisSingleLabel:"X軸 (単一選択)",yAxisMultiLabel:"Y軸 (複数選択可)",notSet:"未指定",legendLimitExceededTitle:"チャートの凡例数が最大 {limit} 件を超えました。",legendLimitExceededContent:"凡例を {limit} 件以下に再設定してください。"},NumberInput:{increase:"値を増やす",decrease:"値を減らす"},DateInput:{prevDate:"前の日付",nextDate:"次の日付"},PasswordInput:{showPassword:"パスワードを表示",hidePassword:"パスワードを非表示"},Tab:{closeTab:"{label} を閉じる"},SplitPane:{resizeHandle:"領域サイズの調整"},BreadCrumb:{navigation:"パンくずリスト"}};let Qs=0;function ve(e){return(t,s,n,i)=>{var ue;const a=e.portal?new kt:null,m=a?a.open():t,d=`h${++Qs}:`,l=new Mo;if(i!=null&&i.slots)for(const[W,z]of Object.entries(i.slots))l.register(W,z);i!=null&&i.slotResolver&&l.setResolver(i.slotResolver);const h=new Set(Object.keys(s)),r=i!=null&&i.providedKeys?new Set(i.providedKeys):null,p=W=>{const z=e.defaults;if(!z)return W;const K={...W};for(const ee of Object.keys(z))K[ee]===void 0&&(K[ee]=z[ee]);return K};let u=p({...s}),v=(i==null?void 0:i.locale)??Bt;const $=(i==null?void 0:i.validator)??null,R=[];let b=new Map,y=new Set,V=new Map,S=null;const D={get props(){return u},emit:n,slots:l,requestUpdate:()=>J.requestUpdate(),onCleanup:W=>R.push(W),px:W=>Le(W),get locale(){return v},validator:$,controlled:W=>r?r.has(W):h.has(W),slot(W,z){if(!l.has(W))return o.nothing;const K=V.get(W)??0;V.set(W,K+1);const ee=`${W}#${K}`;return b.set(ee,{name:W,scope:z}),o.html`<span data-moz-slot=${W} data-moz-slot-id=${d+ee}></span>`}},G=e.setup(D);class Z extends To{template(){return b=new Map,V=new Map,G.render()}renderNow(){super.renderNow();let z=null;if(G.renderPortal){const K=G.renderPortal(),ee=G.getPortalContainer?G.getPortalContainer():document.body;K===o.nothing||K==null||ee==null?S&&S.isOpen&&(o.render(o.nothing,S.element),S.close()):(S||(S=new kt),z=S.isOpen?S.element:S.open("moz-overlay-portal",ee),o.render(K,z))}for(const[K,{name:ee,scope:ne}]of b){const Q=`[data-moz-slot-id="${d+K}"]`;let B=this.container.querySelector(Q);!B&&z&&(B=z.querySelector(Q)),B&&l.fill(K,ee,B,ne)}for(const K of y)b.has(K)||l.clear(K);y=new Set(b.keys())}flush(){this.isMounted&&this.renderNow()}onDestroy(){for(const z of R.splice(0))try{z()}catch{}l.destroy()}}const J=new Z(m);return J.mount(),(ue=G.onMounted)==null||ue.call(G,m.firstElementChild),{get el(){return m.firstElementChild},update(W,z){z!=null&&z.replace?(u=p({...W}),h.clear()):u=p({...u,...W});for(const K of Object.keys(W))h.add(K);z!=null&&z.sync?J.flush():J.requestUpdate()},destroy(){J.destroy(),a==null||a.close(),S==null||S.close()},setLocale(W){W!==v&&(v=W??Bt,J.requestUpdate())},api:G.api??{}}}}class Js extends Ft.Directive{constructor(s){super(s);Ae(this,"prevKeys",[]);Ae(this,"listeners",new Map);if(s.type!==Ft.PartType.ELEMENT)throw new Error("spread() 는 element 바인딩(`<el ${spread(obj)}>`)에서만 사용할 수 있습니다.")}render(s){return o.nothing}update(s,[n]){const i=s.element,a=n??{};for(const m of this.prevKeys)if(!(m in a))if(this.isEventKey(m)){const d=this.listeners.get(m);d&&i.removeEventListener(this.eventName(m),d),this.listeners.delete(m)}else i.removeAttribute(m);for(const[m,d]of Object.entries(a))if(!(m==="class"||m==="style"||m==="key"||m==="ref"))if(this.isEventKey(m)&&typeof d=="function"){const l=this.eventName(m),h=this.listeners.get(m);h&&i.removeEventListener(l,h),i.addEventListener(l,d),this.listeners.set(m,d)}else d==null?i.removeAttribute(m):m.startsWith("aria-")?i.setAttribute(m,String(d)):d===!1?i.removeAttribute(m):d===!0?i.setAttribute(m,""):i.setAttribute(m,String(d));return this.prevKeys=Object.keys(a),o.noChange}isEventKey(s){return s.length>2&&s.startsWith("on")&&s[2]===s[2].toUpperCase()}eventName(s){return s.slice(2).toLowerCase()}}const de=Ft.directive(Js);function M(...e){return Hs.clsx(e)}function el(){return lt.extend(Ws),lt.extend(Us),lt.extend(_s),lt.extend(Ns),lt.extend(Ks),lt.extend(Gs),lt.tz.setDefault("Asia/Seoul"),lt}const Pe=el();function tl(){const e=[];return{addValidator:a=>{e.push(a)},removeValidator:a=>{const m=e.findIndex(d=>d.validate===a.validate);m>=0&&e.splice(m,1)},validate:async(a="save")=>(await Promise.all(e.map(d=>d.validate(a).then(l=>l===void 0?!0:l)))).every(d=>d),initValidator:()=>{var a;for(const m of e)(a=m==null?void 0:m.initValidator)==null||a.call(m)}}}const ol=16;function sl(e,t){let s=0;return(...n)=>{const i=Date.now();i-s>=t&&(s=i,e(...n))}}class pt{constructor(t){Ae(this,"opened",!1);Ae(this,"scrollHandler");Ae(this,"clickHandler");this.opts=t,this.scrollHandler=sl(s=>this.onScroll(s),ol),this.clickHandler=s=>this.onOutsideClick(s)}open(){this.opened||(this.opened=!0,document.addEventListener("scroll",this.scrollHandler,{capture:!0}),this.opts.closeOnOutsideClick!==!1&&setTimeout(()=>{this.opened&&document.addEventListener("click",this.clickHandler,{capture:!0})},0),queueMicrotask(()=>this.calcPosition()))}close(){this.opened&&(this.opened=!1,document.removeEventListener("scroll",this.scrollHandler,{capture:!0}),document.removeEventListener("click",this.clickHandler,{capture:!0}))}destroy(){this.close()}calcPosition(){const t=this.opts.anchor(),s=this.opts.panel();if(!t||!s)return;const n=t.getBoundingClientRect(),i=this.opts.maxHeight?this.opts.maxHeight():250,a=window.innerHeight-n.bottom,m=n.top,d=a<i&&m>=i;let l=n.left;const h=s.clientWidth;n.left+h>document.body.clientWidth&&(l-=h-n.width);let r=`${n.width}px`,p=!1;if(this.opts.listWidth){const u=this.opts.listWidth();u&&(typeof u!="number"||u>0)&&(r=typeof u=="number"?`${u}px`:u,p=!0)}s.style.position="fixed",s.style.left=`${l}px`,this.opts.useMinWidth?(s.style.minWidth=`${n.width}px`,p&&(s.style.width=String(r))):p?s.style.width=String(r):s.style.width=`${n.width}px`,d?(s.style.bottom=`${window.innerHeight-n.top}px`,s.style.top="auto"):(s.style.top=`${n.bottom}px`,s.style.bottom="auto")}onScroll(t){const s=t.target;if(this.opts.ignoreScrollTargets&&s&&this.opts.ignoreScrollTargets(s))return;const n=this.opts.anchor();if(n){const i=n.getBoundingClientRect();if(i.bottom<0||i.top>window.innerHeight){this.opts.requestClose();return}}this.calcPosition()}onOutsideClick(t){var n,i,a,m,d;if(this.opts.closeOnOutsideClick===!1)return;const s=t.target;(a=(i=(n=this.opts).container)==null?void 0:i.call(n))!=null&&a.contains(s)||(m=this.opts.panel())!=null&&m.contains(s)||(d=this.opts.anchor())!=null&&d.contains(s)||this.opts.requestClose()}}const tt=[];let Et=!1;function Ao(e){var s;if(e.key!=="Escape")return;const t=tt[tt.length-1];t&&t.kind==="moz"&&((s=t.onEscape)==null||s.call(t,e),e.stopPropagation())}function ll(){Et||typeof window>"u"||(window.addEventListener("keydown",Ao,{capture:!0}),Et=!0)}function nl(){!Et||typeof window>"u"||(window.removeEventListener("keydown",Ao,!0),Et=!1)}function _t(e){tt.push(e),ll();let t=!1;return{release(){if(t)return;t=!0;const s=tt.indexOf(e);s>=0&&tt.splice(s,1),tt.length===0&&nl()},isTopmost(){return tt[tt.length-1]===e}}}function Nt(e){return _t({kind:"moz",onEscape:e})}function il(){return _t({kind:"foreign"})}function ht(){return _t({kind:"self"})}function rl(){return tt.length}function Ut(e={}){const{circleClass:t="",progressClass:s=""}=e;return o.html`<svg
1
+ "use strict";var Bs=Object.defineProperty;var Os=(e,t,s)=>t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var Ae=(e,t,s)=>Os(e,typeof t!="symbol"?t+"":t,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("lit-html"),Ft=require("lit-html/directive.js"),oe=require("lit-html/directives/style-map.js"),Hs=require("clsx"),xe=require("lit-html/directives/if-defined.js"),Lo=require("lit-html/directives/unsafe-html.js"),Lt=require("lit-html/directives/live.js"),lt=require("dayjs"),_s=require("dayjs/plugin/duration.js"),Ns=require("dayjs/plugin/minMax.js"),Us=require("dayjs/plugin/timezone.js"),Ws=require("dayjs/plugin/utc.js"),Ks=require("dayjs/plugin/isSameOrBefore.js"),Gs=require("dayjs/plugin/isSameOrAfter.js");require("dayjs/locale/ko.js");require("dayjs/locale/en.js");require("dayjs/locale/zh.js");require("dayjs/locale/ja.js");const N=require("lit-html/directives/ref.js"),Fe=require("@tanstack/virtual-core");var Ye=typeof document<"u"?document.currentScript:null;class To{constructor(t){Ae(this,"container");Ae(this,"updateScheduled",!1);Ae(this,"mounted",!1);Ae(this,"cleanups",[]);this.container=t}mount(){return this.mounted?this:(this.mounted=!0,this.onMount(),this.renderNow(),this)}requestUpdate(){!this.mounted||this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>{this.updateScheduled=!1,this.mounted&&this.renderNow()}))}renderNow(){o.render(this.template(),this.container)}addCleanup(t){this.cleanups.push(t)}onMount(){}onDestroy(){}destroy(){if(this.mounted){this.mounted=!1,this.onDestroy();for(const t of this.cleanups.splice(0))try{t()}catch{}o.render(o.nothing,this.container)}}get isMounted(){return this.mounted}}class Ys{constructor(){Ae(this,"listeners",new Set)}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}emit(){for(const t of this.listeners)t()}clearListeners(){this.listeners.clear()}}class Mo{constructor(){Ae(this,"renderers",new Map);Ae(this,"resolver",null);Ae(this,"mounted",new Map)}setResolver(t){this.resolver=t}lookup(t){var s;return this.renderers.get(t)??((s=this.resolver)==null?void 0:s.call(this,t))}register(t,s){this.renderers.set(t,s)}unregister(t){for(const s of Array.from(this.mounted.keys()))(s===t||s.startsWith(`${t}#`))&&this.clear(s);this.renderers.delete(t)}has(t){return this.lookup(t)!==void 0}fill(t,s,n,i){var l,h;const a=this.lookup(s);if(!a)return!1;const m=this.mounted.get(t);if(m){if(m.el===n)return(h=(l=m.handle).update)==null||h.call(l,i),!0;m.handle.dispose(),this.mounted.delete(t)}for(const[r,p]of this.mounted)p.el===n&&(p.handle.dispose(),this.mounted.delete(r));const d=a(n,i);return this.mounted.set(t,{el:n,handle:d}),!0}clear(t){const s=this.mounted.get(t);s&&(s.handle.dispose(),this.mounted.delete(t))}clearAll(){for(const t of Array.from(this.mounted.keys()))this.clear(t)}destroy(){this.clearAll(),this.renderers.clear(),this.resolver=null}get mountedCount(){return this.mounted.size}}class kt{constructor(){Ae(this,"el",null)}open(t="",s=document.body){return this.el?this.el:(this.el=document.createElement("div"),t&&(this.el.className=t),s.appendChild(this.el),this.el)}close(){this.el&&(this.el.remove(),this.el=null)}get element(){return this.el}get isOpen(){return this.el!==null}}function zo(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function Le(e,t=16){return e/t}let co=0;function Xe(e=""){return co+=1,`${e}${co}`}const it=(e,t)=>{const s=Object.keys(e),n=Object.keys(t);if(s.length!==n.length)return!1;for(const i of s)if(e[i]!==t[i])return!1;return!0};function ge(e,t){const s={};for(const n of Object.keys(e))t.has(n)||(s[n]=e[n]);return s}function ht(e){const t={},s={};for(const n of Object.keys(e))n.startsWith("aria-")?t[n]=e[n]:s[n]=e[n];return{aria:t,dom:s}}function $e(e){if(!e)return{};if(typeof e=="object")return e;if(typeof e=="string"){const t={};for(const s of e.split(";")){const n=s.indexOf(":");n>0&&(t[s.slice(0,n).trim()]=s.slice(n+1).trim())}return t}return{}}function Tt(e,t,s,n){return e.length>0||t===0||!n||n.getBoundingClientRect().height>0?e:Array.from({length:t},(i,a)=>({index:a,size:s,start:a*s}))}const Bt={Toast:{close:"닫기"},Chip:{remove:"삭제"},Callout:{dismiss:"닫기"},Popup:{title:"팝업",save:"저장",cancel:"취소",ok:"확인",close:"닫기"},Select:{searchPlaceholder:"검색",emptyText:"데이터가 없습니다",requiredMessage:"{label} 은(는) 필수입니다"},MultiSelect:{search:"검색",selectAll:"전체 선택",selectFiltered:"필터 결과 선택",specificResults:"결과만",specificSelect:"선택만",noData:"데이터가 없습니다",required:"{label} 은(는) 필수입니다",headerFormat:"항목 ({count})"},TreeSelect:{search:"검색",selectAll:"전체 선택",selectFiltered:"필터 결과 선택",specificResults:"결과만",noData:"데이터가 없습니다",showSelectedOnly:"선택한 항목만 표시",expandAll:"모두 펼치기",collapseAll:"모두 접기",required:"{label} 은(는) 필수입니다",headerFormat:"항목 ({count})",expand:"펼치기",collapse:"접기"},TagInput:{add:"추가",editTag:"{label} 수정",removeTag:"{label} 삭제"},TimePicker:{hour:"시",minute:"분",currentTime:"현재 시간"},EmptyState:{customEmptyHeader:"데이터 없음",customEmptyContent:"표시할 데이터가 없습니다.",dataEmptyHeader:"데이터가 없습니다.",dataEmptyContent:"필요한 데이터를 추가해 주세요.",resultEmptyHeader:"설정한 조건에 해당되는 데이터가 없습니다.",resultEmptyContent:`조회 조건이 적절하게 설정되었는지 확인해주세요.
2
+ 조회 조건을 변경하였다면, 조회 버튼을 다시 눌러주세요.`,searchEmptyHeader:"검색 결과 없음",searchEmptyContent:"필터 값을 확인하고 다시 시도해 주세요."},TableSelect:{searchPlaceholder:"검색",emptyText:"데이터가 없습니다",requiredMessage:"{label} 은(는) 필수입니다",footerSelect:"선택",footerNavigate:"이동",footerClose:"닫기"},Common:{requiredMessage:"{label} 은(는) 필수입니다"},Grid:{layoutSetting:"보기 설정",filter:"필터",sort:"정렬",customCellStyle:"조건부 서식 설정",reset:"초기화",searchFilter:"검색",newView:"새 뷰",selectAll:"전체 선택",columnPicker:"열 표시/숨김 설정",viewToolbar:"Tool Bar 보기",viewFooter:"Footer 보기",viewGroupPanel:"그룹 패널 보기",resetFilterAndSort:"필터 및 정렬 초기화",defaultView:"기본 뷰",filterPopup:"필터 설정",resetFilter:"필터 초기화",addFilter:"필터 추가",sortingPopup:"정렬 설정",ascending:"오름차순",descending:"내림차순",resetSort:"정렬 초기화",addSort:"정렬 추가",symbolEqual:"같음",symbolNotEqual:"같지 않음",symbolContains:"포함",symbolNotContains:"포함하지 않음",symbolLessThan:"보다 작음",symbolGreaterThan:"보다 큼",symbolLessOrEqual:"이하",symbolGreaterOrEqual:"이상",symbolEmpty:"비어 있음",symbolNotEmpty:"비어 있지 않음",customCellRuleNamePlaceholder:"규칙 이름을 입력하세요",addFormulaCondition:"조건 추가",applicationColumn:"적용 열",backgroundColor:"배경색",fontColor:"글꼴 색",resetCustomCell:"초기화",addFormulaConditionSet:"규칙 추가",customColor:"사용자 지정 색상",formulaConditionSet:"새 규칙",contextFilterAndSort:"필터 및 정렬",contextAddFilter:"필터 추가",contextSelectFilter:"선택 값으로 필터",contextResetColumnFilter:"열 필터 초기화",contextResetColumnSort:"열 정렬 초기화",contextResetColumnAll:"열 필터/정렬 초기화",contextDataCopy:"선택한 데이터 복사",contextDataExcelCopy:"Excel 복사",contextDataWithHeaderCopy:"선택한 데이터 복사 (헤더 포함)",contextPin:"열 고정 / 해제",contextColumnPicker:"열 표시/숨김 설정",contextMoveColumnFirst:"첫 번째 열로 보내기",contextAutoSizeColumns:"열 너비 자동 조정",contextGroupPanel:"그룹 패널",contextGroupToggle:"그룹 접기/펼치기",contextGroupCollapseAll:"모든 그룹 접기",contextGroupExpandAll:"모든 그룹 펼치기",groupPanelPlaceholder:"열을 드래그 앤 드롭하여 그룹을 만듭니다.",contextBulkEdit:"데이터 일괄변경 [{name}]",contextImport:"가져오기",contextImportExcel:"Excel 가져오기 (덮어쓰기)",contextImportExcelAppend:"Excel 가져오기 (추가)",contextExport:"내보내기",contextExportXlsx:"엑셀 내보내기 (xlsx)",contextExportCsv:"CSV 내보내기 (csv)",contextSum:"합계",check:"확인",cancel:"취소",save:"저장",remove:"삭제",close:"닫기",pause:"일시 중지",add:"추가",immediateApply:"바로 적용",warning:"경고",mozWarning:"경고",confirmCancel:"취소하시겠습니까?",alreadyExcelProgress:"Excel 작업이 이미 진행 중입니다.",downloadFail:"다운로드에 실패했습니다.",addDataWithFilterSort:"필터/정렬이 적용된 상태에서 데이터를 추가하시겠습니까?",resetAndAdd:"초기화 후 추가",confirmDeleteGeneral:"{name}을(를) 삭제하시겠습니까?",toastCopySuccess:"복사되었습니다.",toastSaveSuccess:"저장되었습니다.",toastSaveError:"저장에 실패했습니다.",toastResetSuccess:"초기화되었습니다.",toastRequiredVal:"필수 값을 입력하세요.",excelInvalidExcel:"유효하지 않은 Excel 파일입니다.",excelInvalidUpload:"유효하지 않은 업로드 데이터입니다.",downloadFormat:"서식 내려받기",click:"클릭",drag:"드래그",overwriteSelected:"선택한 항목을 덮어쓰시겠습니까?",fileOverwrite:"파일을 덮어쓰시겠습니까?",dropHere:"이 곳을 클릭 또는 파일을 드래그 하세요.",dropHerePrefix:"이 곳을 ",dropHereMiddle:" 또는 파일을 ",dropHereSuffix:" 하세요.",withFormatting:"서식 포함",requestTimedOut:"요청 시간이 초과되었습니다.",serverError:"서버 오류가 발생했습니다.",total:"전체",correct:"정상",error:"오류",success:"성공",fail:"실패",excelExportConfirmLargeData:"대용량 데이터를 내보내시겠습니까?",footerTotalRowCount:"총 개수: {totalRowCount}개",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"평균",aggregateCount:"개수",aggregateMin:"최소",aggregateMax:"최대",aggregateSum:"합계",settings:"설정",collapseToolbar:"툴바 접기",expandToolbar:"툴바 펼치기",searchPrev:"이전 검색 결과",searchNext:"다음 검색 결과",searchGoTo:"결과 번호로 이동",searching:"검색 중...",deleteCondition:"조건 삭제",deleteSort:"정렬 삭제",selectPlaceholder:"선택",byValueLabel:"레이블",decrease:"감소",increase:"증가",selectColor:"색상 선택",noColor:"색상 없음",customColorInput:"직접 입력",alignLeft:"왼쪽 정렬",alignCenter:"가운데 정렬",alignRight:"오른쪽 정렬",alignLabel:"정렬",fontStyleLabel:"글자 스타일",bold:"굵게",italic:"기울임",underline:"밑줄",columnOptions:"컬럼 옵션",showAllColumns:"전체 표시",commonSection:"공통",headerLabelField:"헤더 라벨",pinColumn:"고정",pinLeft:"왼쪽",pinNone:"없음",pinRight:"오른쪽",columnWidthPx:"너비(px)",headerSection:"헤더",cellSection:"셀",fontLabel:"글자",sizeLabel:"크기",displayMask:"표시 형식(마스크)",resetThisColumn:"이 컬럼 초기화",selectColumnHint:"컬럼을 선택하세요",showColumnNamed:"{column} 표시",columnTextColor:"글자색",cellStyleTitle:"셀 스타일",formulaHelp:"수식 도움말",validFormula:"유효한 수식",formulaHint:"컬럼을 선택하거나 값을 입력해 수식을 작성하세요.",ruleName:"규칙 이름",targetColumns:"적용 컬럼",allColumns:"전체 컬럼",colorLabel:"색상",cellBgColor:"배경 색상",cellTextColor:"텍스트 색상",moveUp:"위로",moveDown:"아래로",formulaPlaceholder:"예: [수요수량] > [재고수량] AND [우선순위] < 3",helpColumnRef:"컬럼 참조",helpCompare:"비교",helpArithmetic:"산술",helpLogic:"논리",helpString:"문자열",helpNull:"NULL 체크",helpValue:"값",groupColon:"그룹:",groupEmptyHint:"여기에 컬럼을 추가해 그룹화",addGroupBtn:"+ 그룹 추가",ungroup:"해제",removeGroup:"그룹 제거",excelImportTitle:"Excel 가져오기",processing:"처리 중…",excelPreview:"미리보기 {shown}행 / 총 {total}행+",clientImportFile:"파일에서 가져오기 (클라이언트)",clientExportXlsx:"XLSX (클라이언트)",groupExpand:"그룹 펼치기",groupCollapse:"그룹 접기",fontSizeDefault:"기본",maskGroupNone:"없음",maskGroupNumber:"숫자",maskGroupDate:"날짜",maskGroupString:"문자열",maskNoneText:"마스크 없음",maskNoneDesc:"원본 값 그대로 표시",maskThousandsText:"천 단위 구분 (1,234)",maskThousandsDesc:"예: 1234 → 1,234",maskDecimal2Text:"소수 2자리 (#,##0.00)",maskDecimal2Desc:"예: 1234.5 → 1,234.50",maskKrwText:"원화 (₩1,234)",maskKrwDesc:"예: 1234 → ₩1,234",maskUsdText:"달러 ($1,234.00)",maskUsdDesc:"예: 1234.5 → $1,234.50",maskPercentText:"퍼센트 (12%)",maskPercentDesc:"예: 12 → 12%",maskDateIsoDesc:"예: 2026-05-26",maskDateKoDesc:"예: 2026년 05월 26일",maskDatetimeDesc:"예: 2026-05-26 14:30",maskDateUsDesc:"예: 05/26/2026",maskPhoneText:"전화번호 (010-1234-5678)",maskPhoneDesc:"예: 01012345678 → 010-1234-5678",maskRrnText:"주민등록번호 (000000-0000000)",maskRrnDesc:"예: 9501011234567 → 950101-1234567",maskBizText:"사업자등록번호 (000-00-00000)",maskBizDesc:"예: 1234567890 → 123-45-67890"},GridPivot:{setting:"피봇 설정",gridSetting:"그리드 설정",fieldSetting:"값 필드 설정",showRowTotals:"행 합계 표시",showColumnTotals:"열 합계 표시",subtotalCriteria:"소계 기준",subtotalAggregateField:"소계 집계 필드",totalsBeforeData:"합계 먼저 보기",showZeros:"빈 값 채우기",showOutlineMode:"개요 모드",collapsibleSubtotal:"소계 접기",fieldName:"필드 이름",fieldAggregate:"집계",fieldShowAs:"표시 방식",fieldFormat:"형식",openChart:"차트 열기",selectValueField:"값 필드 선택",none:"없음",sum:"합계",count:"개수",average:"평균",max:"최대값",min:"최소값",range:"범위",std:"표준 편차",var:"분산",stdPop:"모표준 편차",varPop:"모분산",cntAll:"전체 개수",cntNumbers:"숫자 개수",showFirstValue:"첫 번째 값",showLastValue:"마지막 값",noCalculation:"계산 없음",diffRow:"이전 행과의 차이",diffRowPct:"이전 행과의 차이 (%)",diffCol:"이전 열과의 차이",diffColPct:"이전 열과의 차이 (%)",grandtotalPct:"전체 합계 대비 (%)",rowTotalPct:"행 합계 대비 (%)",colTotalPct:"열 합계 대비 (%)",prevRowPct:"이전 행 대비 (%)",prevColPct:"이전 열 대비 (%)",runTot:"누적 합계",runTotPct:"누적 합계 (%)",generalFormat:"일반",int:"정수",float:"실수",currency:"통화",percentage:"백분율 (정수)",percentageDot2:"백분율 (실수)",thousands:"천 단위",millions:"백만 단위",billions:"십억 단위",subtotal:"소계",grandtotal:"전체 합계",grandtotalValue:"총합계",category:"범주",chartType:"차트 유형",chartXAxis:"X축 범주",chartYAxis:"Y축 범주",categoryName:"카테고리",barChart:"막대 차트",lineChart:"꺾은선 차트",lineSymbolChart:"기호 꺾은선 차트",areaChart:"영역 차트",chartRenderingErrorHeader:"차트 렌더링 오류",chartRenderingErrorContent:"차트를 표시할 수 없습니다.",contextPivotExportXlsx:"화면 내보내기 (xlsx)",contextPivotExportOriginXlsx:"원본 데이터 내보내기 (xlsx)",contextPivotExportOriginCsv:"원본 데이터 내보내기 (csv)",row:"행",column:"열",value:"값",filter:"필터",searchFieldPlaceholder:"필드 검색...",dropZoneRowPlaceholder:"행 축 필드를 드래그하세요",dropZoneColumnPlaceholder:"열 축 필드를 드래그하세요",dropZoneValuePlaceholder:"값 필드를 드래그하세요",dropZoneFilterPlaceholder:"필터 필드를 드래그하세요",update:"업데이트",selectFieldForReport:"보고서에 추가할 필드 선택:",dragFieldsBetweenAreas:"아래 영역 사이에 필드를 끌어 놓으십시오:",valueSummaryCriteria:"값 요약 기준",roundRound:"반올림",roundFloor:"내림",roundCeil:"올림",roundTrunc:"절삭",roundingMode:"반올림 모드",decimalPlaces:"소수점 자리수",decimalUnlimited:"제한 없음",showOriginalValue:"원본값 병기",back:"뒤로",parentRowPct:"상위 행 그룹(%)",parentColPct:"상위 열 그룹(%)",rankAsc:"오름차순 순위",rankDesc:"내림차순 순위",index:"인덱스",showTotalsGrand:"합계",showTotalsSub:"부분합",fieldPanelSetting:"필드 설정",colSubtotalCriteria:"열 소계 기준",allowRowToggle:"행 확장/축소 허용",allowColToggle:"열 확장/축소 허용",outlineMode:"요약 모드"},Gantt:{searchPlaceholder:"검색",columnSize:"컬럼 크기",rowSize:"행 크기"},Chart:{filterPopup:"필터",resetFilter:"필터 초기화",addFilter:"필터 추가",symbolEqual:"같음",symbolNotEqual:"같지 않음",symbolContains:"포함",symbolNotContains:"포함하지 않음",symbolLessThan:"보다 작음",symbolGreaterThan:"보다 큼",symbolLessOrEqual:"작거나 같음",symbolGreaterOrEqual:"크거나 같음",symbolEmpty:"비어있음",symbolNotEmpty:"비어있지 않음",chartSetting:"차트 설정",chartCategory:"차트 카테고리",chartType:"차트 타입",chartUseZoom:"줌 사용",multiYAxisSetting:"Y축 다중 설정",notUsed:"(사용안함)",chartPopup:"차트 팝업",errorMessage:"데이터를 불러오는 중 오류가 발생했습니다.",valueFieldSetting:"값 필드 설정",valueSummaryCriteria:"값 요약 기준",selectFieldForReport:"보고서에 추가할 필드 선택:",column:"열",row:"행",value:"값",sumValue:"∑ 값",count:"개수",sum:"합계",average:"평균",min:"최소값",max:"최대값",seriesCategory:"일반",pieCategory:"파이",scatterCategory:"산점도",treemapCategory:"트리맵",boxplotCategory:"박스플롯",candlestickCategory:"캔들스틱",barChart:"바 차트",stackBarChart:"스택 바 차트",horizontalStackBarChart:"가로 스택 바 차트",lineChart:"선 차트",lineSymbolChart:"선 차트(심볼)",areaChart:"면적 차트",general:"일반",custom:"사용자 지정",axisCategoryLabel:"축 (범주)",legendSeriesLabel:"범례 (계열)",legendSingleLabel:"범례 (단일 선택)",legendMultiLabel:"범례 (다중 선택 가능)",valueSingleLabel:"값 (단일 선택)",xAxisSingleLabel:"X축 (단일 선택)",yAxisMultiLabel:"Y축 (다중 선택 가능)",notSet:"미지정",legendLimitExceededTitle:"차트 범례 개수가 최대 {limit}개를 초과했습니다.",legendLimitExceededContent:"범례를 {limit}개 이하로 재설정하여 주십시오."},NumberInput:{increase:"값 증가",decrease:"값 감소"},DateInput:{prevDate:"이전 날짜",nextDate:"다음 날짜"},PasswordInput:{showPassword:"비밀번호 표시",hidePassword:"비밀번호 숨기기"},Tab:{closeTab:"{label} 닫기"},SplitPane:{resizeHandle:"영역 크기 조절"},BreadCrumb:{navigation:"탐색 경로"}},Zs={Toast:{close:"Close"},Chip:{remove:"Remove"},Callout:{dismiss:"Dismiss"},Popup:{title:"Popup",save:"Save",cancel:"Cancel",ok:"OK",close:"Close"},Select:{searchPlaceholder:"Search",emptyText:"No data",requiredMessage:"{label} is required"},MultiSelect:{search:"Search",selectAll:"Select All",selectFiltered:"Select Filtered",specificResults:"Only Results",specificSelect:"Only",noData:"No data",required:"{label} is required",headerFormat:"ITEMS ({count})"},TreeSelect:{search:"Search",selectAll:"Select All",selectFiltered:"Select Filtered",specificResults:"Only Results",noData:"No data",showSelectedOnly:"Show selected only",expandAll:"Expand All",collapseAll:"Collapse All",required:"{label} is required",headerFormat:"ITEMS ({count})",expand:"Expand",collapse:"Collapse"},TagInput:{add:"Add",editTag:"Edit {label}",removeTag:"Remove {label}"},TimePicker:{hour:"Hour",minute:"Minute",currentTime:"Current Time"},EmptyState:{customEmptyHeader:"No data",customEmptyContent:"There is no data to display.",dataEmptyHeader:"No data to display",dataEmptyContent:"Please enter the required data.",resultEmptyHeader:"No results",resultEmptyContent:"Check the search conditions and try again.",searchEmptyHeader:"No search results",searchEmptyContent:"Please check the filter value and try again."},TableSelect:{searchPlaceholder:"Search",emptyText:"No data",requiredMessage:"{label} is required",footerSelect:"Select",footerNavigate:"Navigate",footerClose:"Close"},Common:{requiredMessage:"{label} is required"},Grid:{layoutSetting:"Layout Settings",filter:"Filter",sort:"Sort",customCellStyle:"Conditional Formatting",reset:"Reset",searchFilter:"Search",newView:"New View",selectAll:"Select All",columnPicker:"Show/Hide Columns",viewToolbar:"Show Toolbar",viewFooter:"Show Footer",viewGroupPanel:"Show Group Panel",resetFilterAndSort:"Reset Filter & Sort",defaultView:"Default View",filterPopup:"Filter Settings",resetFilter:"Reset Filter",addFilter:"Add Filter",sortingPopup:"Sort Settings",ascending:"Ascending",descending:"Descending",resetSort:"Reset Sort",addSort:"Add Sort",symbolEqual:"Equal",symbolNotEqual:"Not Equal",symbolContains:"Contains",symbolNotContains:"Does Not Contain",symbolLessThan:"Less Than",symbolGreaterThan:"Greater Than",symbolLessOrEqual:"Less Or Equal",symbolGreaterOrEqual:"Greater Or Equal",symbolEmpty:"Empty",symbolNotEmpty:"Not Empty",customCellRuleNamePlaceholder:"Enter rule name",addFormulaCondition:"Add Condition",applicationColumn:"Application Column",backgroundColor:"Background Color",fontColor:"Font Color",resetCustomCell:"Reset",addFormulaConditionSet:"Add Rule",customColor:"Custom Color",formulaConditionSet:"New Rule",contextFilterAndSort:"Filter & Sort",contextAddFilter:"Add Filter",contextSelectFilter:"Filter by Selection",contextResetColumnFilter:"Reset Column Filter",contextResetColumnSort:"Reset Column Sort",contextResetColumnAll:"Reset Column Filter/Sort",contextDataCopy:"Copy",contextDataExcelCopy:"Copy for Excel",contextDataWithHeaderCopy:"Copy with Header",contextPin:"Pin Column",contextColumnPicker:"Column Picker",contextMoveColumnFirst:"Move to First Column",contextAutoSizeColumns:"Auto Size Columns",contextGroupPanel:"Group Panel",contextGroupToggle:"Toggle Collapse",contextGroupCollapseAll:"Collapse All Groups",contextGroupExpandAll:"Expand All Groups",groupPanelPlaceholder:"Drag and drop columns here to create groups.",contextBulkEdit:"Bulk Edit {name}",contextImport:"Import",contextImportExcel:"Import Excel (Overwrite)",contextImportExcelAppend:"Import Excel (Append)",contextExport:"Export",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"Sum",check:"OK",cancel:"Cancel",save:"Save",remove:"Delete",close:"Close",pause:"Pause",add:"Add",immediateApply:"Apply Immediately",warning:"Warning",mozWarning:"Warning",confirmCancel:"Are you sure you want to cancel?",alreadyExcelProgress:"Excel operation is already in progress.",downloadFail:"Download failed.",addDataWithFilterSort:"Add data while filter/sort is applied?",resetAndAdd:"Reset and Add",confirmDeleteGeneral:"Are you sure you want to delete {name}?",toastCopySuccess:"Copied.",toastSaveSuccess:"Saved.",toastSaveError:"Save failed.",toastResetSuccess:"Reset.",toastRequiredVal:"Please enter the required values.",excelInvalidExcel:"Invalid Excel file.",excelInvalidUpload:"Invalid upload data.",downloadFormat:"Download Format",click:"Click",drag:"Drag",overwriteSelected:"Overwrite selected items?",fileOverwrite:"Overwrite the file?",dropHere:"Drop here",dropHerePrefix:"",dropHereMiddle:" here or ",dropHereSuffix:" a file.",withFormatting:"With Formatting",requestTimedOut:"Request timed out.",serverError:"A server error occurred.",total:"Total",correct:"Correct",error:"Error",success:"Success",fail:"Fail",excelExportConfirmLargeData:"Export large data?",footerTotalRowCount:"Total: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"Average",aggregateCount:"Count",aggregateMin:"Min",aggregateMax:"Max",aggregateSum:"Sum",settings:"Settings",collapseToolbar:"Collapse toolbar",expandToolbar:"Expand toolbar",searchPrev:"Previous result",searchNext:"Next result",searchGoTo:"Go to result",searching:"Searching...",deleteCondition:"Delete condition",deleteSort:"Delete sort",selectPlaceholder:"Select",byValueLabel:"Label",decrease:"Decrease",increase:"Increase",selectColor:"Select color",noColor:"No color",customColorInput:"Custom",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignLabel:"Align",fontStyleLabel:"Font style",bold:"Bold",italic:"Italic",underline:"Underline",columnOptions:"Column Options",showAllColumns:"Show all",commonSection:"Common",headerLabelField:"Header label",pinColumn:"Pin",pinLeft:"Left",pinNone:"None",pinRight:"Right",columnWidthPx:"Width (px)",headerSection:"Header",cellSection:"Cell",fontLabel:"Font",sizeLabel:"Size",displayMask:"Display format (mask)",resetThisColumn:"Reset this column",selectColumnHint:"Select a column",showColumnNamed:"Show {column}",columnTextColor:"Text color",cellStyleTitle:"Cell Style",formulaHelp:"Formula help",validFormula:"Valid formula",formulaHint:"Select a column or enter a value to build a formula.",ruleName:"Rule name",targetColumns:"Target columns",allColumns:"All columns",colorLabel:"Color",cellBgColor:"Background color",cellTextColor:"Text color",moveUp:"Move up",moveDown:"Move down",formulaPlaceholder:"e.g. [Demand] > [Stock] AND [Priority] < 3",helpColumnRef:"Column ref",helpCompare:"Compare",helpArithmetic:"Arithmetic",helpLogic:"Logic",helpString:"String",helpNull:"NULL check",helpValue:"Value",groupColon:"Group:",groupEmptyHint:"Drag columns here to group",addGroupBtn:"+ Add group",ungroup:"Clear",removeGroup:"Remove group",excelImportTitle:"Excel Import",processing:"Processing…",excelPreview:"Preview {shown} rows / {total} total+",clientImportFile:"Import from file (client)",clientExportXlsx:"XLSX (client)",groupExpand:"Expand group",groupCollapse:"Collapse group",fontSizeDefault:"Default",maskGroupNone:"None",maskGroupNumber:"Number",maskGroupDate:"Date",maskGroupString:"String",maskNoneText:"No mask",maskNoneDesc:"Show raw value",maskThousandsText:"Thousands (1,234)",maskThousandsDesc:"e.g. 1234 → 1,234",maskDecimal2Text:"2 decimals (#,##0.00)",maskDecimal2Desc:"e.g. 1234.5 → 1,234.50",maskKrwText:"KRW (₩1,234)",maskKrwDesc:"e.g. 1234 → ₩1,234",maskUsdText:"USD ($1,234.00)",maskUsdDesc:"e.g. 1234.5 → $1,234.50",maskPercentText:"Percent (12%)",maskPercentDesc:"e.g. 12 → 12%",maskDateIsoDesc:"e.g. 2026-05-26",maskDateKoDesc:"e.g. 2026-05-26",maskDatetimeDesc:"e.g. 2026-05-26 14:30",maskDateUsDesc:"e.g. 05/26/2026",maskPhoneText:"Phone (010-1234-5678)",maskPhoneDesc:"e.g. 01012345678 → 010-1234-5678",maskRrnText:"RRN (000000-0000000)",maskRrnDesc:"e.g. 9501011234567 → 950101-1234567",maskBizText:"Business No. (000-00-00000)",maskBizDesc:"e.g. 1234567890 → 123-45-67890"},GridPivot:{setting:"Pivot Settings",gridSetting:"Grid Settings",fieldSetting:"Field Settings",showRowTotals:"Show Row Totals",showColumnTotals:"Show Column Totals",subtotalCriteria:"Subtotal Criteria",subtotalAggregateField:"Subtotal Aggregate Field",totalsBeforeData:"Show Totals Before Data",showZeros:"Show Zeros",showOutlineMode:"Outline Mode",collapsibleSubtotal:"Collapsible Subtotal",fieldName:"Field Name",fieldAggregate:"Aggregate",fieldShowAs:"Show As",fieldFormat:"Format",openChart:"Open Chart",selectValueField:"Select Value Field",none:"None",sum:"Sum",count:"Count",average:"Average",max:"Max",min:"Min",range:"Range",std:"Std Dev",var:"Variance",stdPop:"Pop Std Dev",varPop:"Pop Variance",cntAll:"Count All",cntNumbers:"Count Numbers",showFirstValue:"First Value",showLastValue:"Last Value",noCalculation:"No Calculation",diffRow:"Diff from Previous Row",diffRowPct:"Diff from Previous Row (%)",diffCol:"Diff from Previous Column",diffColPct:"Diff from Previous Column (%)",grandtotalPct:"% of Grand Total",rowTotalPct:"% of Row Total",colTotalPct:"% of Column Total",prevRowPct:"% of Previous Row",prevColPct:"% of Previous Column",runTot:"Running Total",runTotPct:"Running Total (%)",generalFormat:"General",int:"Integer",float:"Decimal",currency:"Currency",percentage:"Percentage (Integer)",percentageDot2:"Percentage (Decimal)",thousands:"Thousands",millions:"Millions",billions:"Billions",subtotal:"Subtotal",grandtotal:"Grand Total",grandtotalValue:"Grand Total",category:"Category",chartType:"Chart Type",chartXAxis:"X Axis",chartYAxis:"Y Axis",categoryName:"Category Name",barChart:"Bar Chart",lineChart:"Line Chart",lineSymbolChart:"Symbol Line Chart",areaChart:"Area Chart",chartRenderingErrorHeader:"Chart Rendering Error",chartRenderingErrorContent:"Unable to display the chart.",contextPivotExportXlsx:"View Export (xlsx)",contextPivotExportOriginXlsx:"Source Data Export (xlsx)",contextPivotExportOriginCsv:"Source Data Export (csv)",row:"Rows",column:"Columns",value:"Values",filter:"Filters",searchFieldPlaceholder:"Search fields...",dropZoneRowPlaceholder:"Drag row axis fields here",dropZoneColumnPlaceholder:"Drag column axis fields here",dropZoneValuePlaceholder:"Drag value fields here",dropZoneFilterPlaceholder:"Drag filter fields here",update:"Update",selectFieldForReport:"Choose fields to add to report:",dragFieldsBetweenAreas:"Drag fields between areas below:",valueSummaryCriteria:"Summarize Values By",roundRound:"Round",roundFloor:"Floor",roundCeil:"Ceil",roundTrunc:"Truncate",roundingMode:"Rounding mode",decimalPlaces:"Decimal places",decimalUnlimited:"No limit",showOriginalValue:"Show original value",back:"Back",parentRowPct:"% of Parent Row Group",parentColPct:"% of Parent Column Group",rankAsc:"Rank Ascending",rankDesc:"Rank Descending",index:"Index",showTotalsGrand:"Grand Totals",showTotalsSub:"Subtotals",fieldPanelSetting:"Field Settings",colSubtotalCriteria:"Column Subtotal Criteria",allowRowToggle:"Allow Row Expand/Collapse",allowColToggle:"Allow Column Expand/Collapse",outlineMode:"Outline Mode"},Gantt:{searchPlaceholder:"Search",columnSize:"Column Size",rowSize:"Row Size"},Chart:{filterPopup:"Filter",resetFilter:"Reset Filter",addFilter:"Add Filter",symbolEqual:"Equal",symbolNotEqual:"Not Equal",symbolContains:"Contains",symbolNotContains:"Not Contains",symbolLessThan:"Less Than",symbolGreaterThan:"Greater Than",symbolLessOrEqual:"Less or Equal",symbolGreaterOrEqual:"Greater or Equal",symbolEmpty:"Empty",symbolNotEmpty:"Not Empty",chartSetting:"Chart Setting",chartCategory:"Chart Category",chartType:"Chart Type",chartUseZoom:"Use Zoom",multiYAxisSetting:"Multi Y-Axis Setting",notUsed:"(Not Used)",chartPopup:"Chart Popup",errorMessage:"An error occurred while loading data.",valueFieldSetting:"Value Field Setting",valueSummaryCriteria:"Value Summary Criteria",selectFieldForReport:"Select fields to add to the report:",column:"Column",row:"Row",value:"Value",sumValue:"∑ Value",count:"Count",sum:"Sum",average:"Average",min:"Min",max:"Max",seriesCategory:"General",pieCategory:"Pie",scatterCategory:"Scatter",treemapCategory:"Treemap",boxplotCategory:"Boxplot",candlestickCategory:"Candlestick",barChart:"Bar Chart",stackBarChart:"Stack Bar Chart",horizontalStackBarChart:"Horizontal Stack Bar Chart",lineChart:"Line Chart",lineSymbolChart:"Line Chart (Symbol)",areaChart:"Area Chart",general:"General",custom:"Custom",axisCategoryLabel:"Axis (Category)",legendSeriesLabel:"Legend (Series)",legendSingleLabel:"Legend (Single)",legendMultiLabel:"Legend (Multiple)",valueSingleLabel:"Value (Single)",xAxisSingleLabel:"X-Axis (Single)",yAxisMultiLabel:"Y-Axis (Multiple)",notSet:"Not Set",legendLimitExceededTitle:"The number of chart legends has exceeded the maximum of {limit}.",legendLimitExceededContent:"Please reconfigure the legend to {limit} or fewer."},NumberInput:{increase:"Increase value",decrease:"Decrease value"},DateInput:{prevDate:"Previous date",nextDate:"Next date"},PasswordInput:{showPassword:"Show password",hidePassword:"Hide password"},Tab:{closeTab:"Close {label}"},SplitPane:{resizeHandle:"Resize panes"},BreadCrumb:{navigation:"Breadcrumb"}},js={Toast:{close:"关闭"},Chip:{remove:"删除"},Callout:{dismiss:"关闭"},Popup:{title:"弹窗",save:"保存",cancel:"取消",ok:"确认",close:"关闭"},Select:{searchPlaceholder:"搜索",emptyText:"暂无数据",requiredMessage:"{label} 为必填项"},MultiSelect:{search:"搜索",selectAll:"全选",selectFiltered:"选择筛选结果",specificResults:"仅结果",specificSelect:"仅选择",noData:"暂无数据",required:"{label} 为必填项",headerFormat:"项目 ({count})"},TreeSelect:{search:"搜索",selectAll:"全选",selectFiltered:"选择筛选结果",specificResults:"仅结果",noData:"暂无数据",showSelectedOnly:"仅显示已选项",expandAll:"全部展开",collapseAll:"全部收起",required:"{label} 为必填项",headerFormat:"项目 ({count})",expand:"展开",collapse:"折叠"},TagInput:{add:"添加",editTag:"编辑 {label}",removeTag:"删除 {label}"},TimePicker:{hour:"时",minute:"分",currentTime:"当前时间"},EmptyState:{customEmptyHeader:"暂无数据",customEmptyContent:"没有可显示的数据。",dataEmptyHeader:"暂无数据",dataEmptyContent:"请输入所需数据。",resultEmptyHeader:"无结果",resultEmptyContent:"请检查搜索条件后重试。",searchEmptyHeader:"无搜索结果",searchEmptyContent:"请检查筛选条件后重试。"},TableSelect:{searchPlaceholder:"搜索",emptyText:"暂无数据",requiredMessage:"{label} 为必填项",footerSelect:"选择",footerNavigate:"移动",footerClose:"关闭"},Common:{requiredMessage:"{label} 为必填项"},Grid:{layoutSetting:"布局设置",filter:"筛选",sort:"排序",customCellStyle:"条件格式设置",reset:"重置",searchFilter:"搜索",newView:"新建视图",selectAll:"全选",columnPicker:"列显示/隐藏设置",viewToolbar:"显示工具栏",viewFooter:"显示页脚",viewGroupPanel:"显示分组面板",resetFilterAndSort:"重置筛选和排序",defaultView:"默认视图",filterPopup:"筛选设置",resetFilter:"重置筛选",addFilter:"添加筛选",sortingPopup:"排序设置",ascending:"升序",descending:"降序",resetSort:"重置排序",addSort:"添加排序",symbolEqual:"等于",symbolNotEqual:"不等于",symbolContains:"包含",symbolNotContains:"不包含",symbolLessThan:"小于",symbolGreaterThan:"大于",symbolLessOrEqual:"小于或等于",symbolGreaterOrEqual:"大于或等于",symbolEmpty:"为空",symbolNotEmpty:"不为空",customCellRuleNamePlaceholder:"请输入规则名称",addFormulaCondition:"添加条件",applicationColumn:"应用列",backgroundColor:"背景色",fontColor:"字体颜色",resetCustomCell:"重置",addFormulaConditionSet:"添加规则",customColor:"自定义颜色",formulaConditionSet:"新建规则",contextFilterAndSort:"筛选和排序",contextAddFilter:"添加筛选",contextSelectFilter:"按选定值筛选",contextResetColumnFilter:"重置列筛选",contextResetColumnSort:"重置列排序",contextResetColumnAll:"重置列筛选/排序",contextDataCopy:"复制",contextDataExcelCopy:"Excel 复制",contextDataWithHeaderCopy:"含表头复制",contextPin:"固定列",contextColumnPicker:"列选择",contextMoveColumnFirst:"移至第一列",contextAutoSizeColumns:"自动调整列宽",contextGroupPanel:"分组面板",contextGroupToggle:"折叠/展开组",contextGroupCollapseAll:"折叠所有组",contextGroupExpandAll:"展开所有组",groupPanelPlaceholder:"将列拖放到此处以创建分组。",contextBulkEdit:"批量编辑 {name}",contextImport:"导入",contextImportExcel:"Excel 导入(覆盖)",contextImportExcelAppend:"Excel 导入(追加)",contextExport:"导出",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"合计",check:"确认",cancel:"取消",save:"保存",remove:"删除",close:"关闭",pause:"暂停",add:"添加",immediateApply:"立即应用",warning:"警告",mozWarning:"警告",confirmCancel:"确定要取消吗?",alreadyExcelProgress:"Excel 操作正在进行中。",downloadFail:"下载失败。",addDataWithFilterSort:"在筛选/排序状态下添加数据?",resetAndAdd:"重置后添加",confirmDeleteGeneral:"确定要删除 {name} 吗?",toastCopySuccess:"已复制。",toastSaveSuccess:"已保存。",toastSaveError:"保存失败。",toastResetSuccess:"已重置。",toastRequiredVal:"请输入必填值。",excelInvalidExcel:"无效的 Excel 文件。",excelInvalidUpload:"无效的上传数据。",downloadFormat:"下载格式",click:"点击",drag:"拖拽",overwriteSelected:"覆盖选定项?",fileOverwrite:"覆盖文件?",dropHere:"拖放到此处",dropHerePrefix:"",dropHereMiddle:"此处或",dropHereSuffix:"文件。",withFormatting:"包含格式",requestTimedOut:"请求超时。",serverError:"服务器发生错误。",total:"总计",correct:"正常",error:"错误",success:"成功",fail:"失败",excelExportConfirmLargeData:"确定导出大量数据?",footerTotalRowCount:"总计: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"平均",aggregateCount:"计数",aggregateMin:"最小值",aggregateMax:"最大值",aggregateSum:"合计",settings:"设置",collapseToolbar:"折叠工具栏",expandToolbar:"展开工具栏",searchPrev:"上一个结果",searchNext:"下一个结果",searchGoTo:"跳转到结果",searching:"搜索中...",deleteCondition:"删除条件",deleteSort:"删除排序",selectPlaceholder:"选择",byValueLabel:"标签",decrease:"减少",increase:"增加",selectColor:"选择颜色",noColor:"无颜色",customColorInput:"自定义输入",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignLabel:"对齐",fontStyleLabel:"字体样式",bold:"加粗",italic:"斜体",underline:"下划线",columnOptions:"列选项",showAllColumns:"全部显示",commonSection:"通用",headerLabelField:"表头标签",pinColumn:"固定",pinLeft:"左",pinNone:"无",pinRight:"右",columnWidthPx:"宽度(px)",headerSection:"表头",cellSection:"单元格",fontLabel:"文字",sizeLabel:"大小",displayMask:"显示格式(掩码)",resetThisColumn:"重置此列",selectColumnHint:"请选择列",showColumnNamed:"显示 {column}",columnTextColor:"文字颜色",cellStyleTitle:"单元格样式",formulaHelp:"公式帮助",validFormula:"有效公式",formulaHint:"选择列或输入值以创建公式。",ruleName:"规则名称",targetColumns:"应用列",allColumns:"全部列",colorLabel:"颜色",cellBgColor:"背景色",cellTextColor:"文字色",moveUp:"上移",moveDown:"下移",formulaPlaceholder:"例: [需求量] > [库存量] AND [优先级] < 3",helpColumnRef:"列引用",helpCompare:"比较",helpArithmetic:"算术",helpLogic:"逻辑",helpString:"字符串",helpNull:"NULL 检查",helpValue:"值",groupColon:"分组:",groupEmptyHint:"将列拖到此处进行分组",addGroupBtn:"+ 添加分组",ungroup:"解除",removeGroup:"移除分组",excelImportTitle:"Excel 导入",processing:"处理中…",excelPreview:"预览 {shown} 行 / 共 {total} 行+",clientImportFile:"从文件导入 (客户端)",clientExportXlsx:"XLSX (客户端)",groupExpand:"展开分组",groupCollapse:"折叠分组",fontSizeDefault:"默认",maskGroupNone:"无",maskGroupNumber:"数字",maskGroupDate:"日期",maskGroupString:"字符串",maskNoneText:"无掩码",maskNoneDesc:"按原值显示",maskThousandsText:"千位分隔 (1,234)",maskThousandsDesc:"例: 1234 → 1,234",maskDecimal2Text:"两位小数 (#,##0.00)",maskDecimal2Desc:"例: 1234.5 → 1,234.50",maskKrwText:"韩元 (₩1,234)",maskKrwDesc:"例: 1234 → ₩1,234",maskUsdText:"美元 ($1,234.00)",maskUsdDesc:"例: 1234.5 → $1,234.50",maskPercentText:"百分比 (12%)",maskPercentDesc:"例: 12 → 12%",maskDateIsoDesc:"例: 2026-05-26",maskDateKoDesc:"例: 2026-05-26",maskDatetimeDesc:"例: 2026-05-26 14:30",maskDateUsDesc:"例: 05/26/2026",maskPhoneText:"电话号码 (010-1234-5678)",maskPhoneDesc:"例: 01012345678 → 010-1234-5678",maskRrnText:"身份证号 (000000-0000000)",maskRrnDesc:"例: 9501011234567 → 950101-1234567",maskBizText:"营业执照号 (000-00-00000)",maskBizDesc:"例: 1234567890 → 123-45-67890"},GridPivot:{setting:"数据透视设置",gridSetting:"网格设置",fieldSetting:"字段设置",showRowTotals:"显示行合计",showColumnTotals:"显示列合计",subtotalCriteria:"小计基准",subtotalAggregateField:"小计汇总字段",totalsBeforeData:"在数据前显示合计",showZeros:"显示零值",showOutlineMode:"大纲模式",collapsibleSubtotal:"可折叠小计",fieldName:"字段名称",fieldAggregate:"汇总",fieldShowAs:"显示方式",fieldFormat:"格式",openChart:"打开图表",selectValueField:"选择值字段",none:"无",sum:"求和",count:"计数",average:"平均值",max:"最大值",min:"最小值",range:"范围",std:"标准差",var:"方差",stdPop:"总体标准差",varPop:"总体方差",cntAll:"全部计数",cntNumbers:"数字计数",showFirstValue:"第一个值",showLastValue:"最后一个值",noCalculation:"无计算",diffRow:"与前一行的差",diffRowPct:"与前一行的差 (%)",diffCol:"与前一列的差",diffColPct:"与前一列的差 (%)",grandtotalPct:"占总计百分比",rowTotalPct:"占行合计百分比",colTotalPct:"占列合计百分比",prevRowPct:"占前一行百分比",prevColPct:"占前一列百分比",runTot:"累计",runTotPct:"累计百分比",generalFormat:"常规",int:"整数",float:"小数",currency:"货币",percentage:"百分比 (整数)",percentageDot2:"百分比 (小数)",thousands:"千位",millions:"百万位",billions:"十亿位",subtotal:"小计",grandtotal:"总计",grandtotalValue:"总合计",category:"类别",chartType:"图表类型",chartXAxis:"X轴",chartYAxis:"Y轴",categoryName:"类别名称",barChart:"柱状图",lineChart:"折线图",lineSymbolChart:"符号折线图",areaChart:"面积图",chartRenderingErrorHeader:"图表渲染错误",chartRenderingErrorContent:"无法显示图表。",contextPivotExportXlsx:"视图导出 (xlsx)",contextPivotExportOriginXlsx:"原始数据导出 (xlsx)",contextPivotExportOriginCsv:"原始数据导出 (csv)",row:"行",column:"列",value:"值",filter:"筛选",searchFieldPlaceholder:"搜索字段...",dropZoneRowPlaceholder:"拖动行轴字段到这里",dropZoneColumnPlaceholder:"拖动列轴字段到这里",dropZoneValuePlaceholder:"拖动值字段到这里",dropZoneFilterPlaceholder:"拖动筛选字段到这里",update:"更新",selectFieldForReport:"选择要添加到报表的字段:",dragFieldsBetweenAreas:"在下面的区域之间拖动字段:",valueSummaryCriteria:"值汇总依据",roundRound:"四舍五入",roundFloor:"向下取整",roundCeil:"向上取整",roundTrunc:"截断",roundingMode:"舍入模式",decimalPlaces:"小数位数",decimalUnlimited:"无限制",showOriginalValue:"并列原始值",back:"返回",parentRowPct:"占上级行组百分比",parentColPct:"占上级列组百分比",rankAsc:"升序排名",rankDesc:"降序排名",index:"索引",showTotalsGrand:"总计",showTotalsSub:"小计",fieldPanelSetting:"字段设置",colSubtotalCriteria:"列小计基准",allowRowToggle:"允许行展开/折叠",allowColToggle:"允许列展开/折叠",outlineMode:"大纲模式"},Gantt:{searchPlaceholder:"搜索",columnSize:"列大小",rowSize:"行大小"},Chart:{filterPopup:"筛选",resetFilter:"重置筛选",addFilter:"添加筛选",symbolEqual:"等于",symbolNotEqual:"不等于",symbolContains:"包含",symbolNotContains:"不包含",symbolLessThan:"小于",symbolGreaterThan:"大于",symbolLessOrEqual:"小于等于",symbolGreaterOrEqual:"大于等于",symbolEmpty:"为空",symbolNotEmpty:"不为空",chartSetting:"图表设置",chartCategory:"图表类别",chartType:"图表类型",chartUseZoom:"使用缩放",multiYAxisSetting:"Y轴多轴设置",notUsed:"(未使用)",chartPopup:"图表弹窗",errorMessage:"加载数据时发生错误。",valueFieldSetting:"值字段设置",valueSummaryCriteria:"值汇总基准",selectFieldForReport:"选择要添加到报表的字段:",column:"列",row:"行",value:"值",sumValue:"∑ 值",count:"计数",sum:"合计",average:"平均",min:"最小值",max:"最大值",seriesCategory:"常规",pieCategory:"饼图",scatterCategory:"散点图",treemapCategory:"树状图",boxplotCategory:"箱线图",candlestickCategory:"K线图",barChart:"柱状图",stackBarChart:"堆叠柱状图",horizontalStackBarChart:"水平堆叠柱状图",lineChart:"折线图",lineSymbolChart:"折线图(符号)",areaChart:"面积图",general:"常规",custom:"自定义",axisCategoryLabel:"轴 (类别)",legendSeriesLabel:"图例 (系列)",legendSingleLabel:"图例 (单选)",legendMultiLabel:"图例 (多选)",valueSingleLabel:"值 (单选)",xAxisSingleLabel:"X轴 (单选)",yAxisMultiLabel:"Y轴 (多选)",notSet:"未指定",legendLimitExceededTitle:"图表图例数量已超过最大值 {limit} 个。",legendLimitExceededContent:"请将图例重新设置为 {limit} 个以内。"},NumberInput:{increase:"增加数值",decrease:"减少数值"},DateInput:{prevDate:"上一个日期",nextDate:"下一个日期"},PasswordInput:{showPassword:"显示密码",hidePassword:"隐藏密码"},Tab:{closeTab:"关闭 {label}"},SplitPane:{resizeHandle:"调整区域大小"},BreadCrumb:{navigation:"面包屑导航"}},Xs={Toast:{close:"閉じる"},Chip:{remove:"削除"},Callout:{dismiss:"閉じる"},Popup:{title:"ポップアップ",save:"保存",cancel:"キャンセル",ok:"OK",close:"閉じる"},Select:{searchPlaceholder:"検索",emptyText:"データがありません",requiredMessage:"{label} は必須です"},MultiSelect:{search:"検索",selectAll:"すべて選択",selectFiltered:"フィルター結果を選択",specificResults:"結果のみ",specificSelect:"選択のみ",noData:"データがありません",required:"{label} は必須です",headerFormat:"項目 ({count})"},TreeSelect:{search:"検索",selectAll:"すべて選択",selectFiltered:"フィルター結果を選択",specificResults:"結果のみ",noData:"データがありません",showSelectedOnly:"選択項目のみ表示",expandAll:"すべて展開",collapseAll:"すべて折りたたむ",required:"{label} は必須です",headerFormat:"項目 ({count})",expand:"展開",collapse:"折りたたむ"},TagInput:{add:"追加",editTag:"{label} を編集",removeTag:"{label} を削除"},TimePicker:{hour:"時",minute:"分",currentTime:"現在時刻"},EmptyState:{customEmptyHeader:"データなし",customEmptyContent:"表示するデータがありません。",dataEmptyHeader:"表示するデータがありません",dataEmptyContent:"必要なデータを入力してください。",resultEmptyHeader:"結果なし",resultEmptyContent:"検索条件を確認して再度お試しください。",searchEmptyHeader:"検索結果なし",searchEmptyContent:"フィルター値を確認して再度お試しください。"},TableSelect:{searchPlaceholder:"検索",emptyText:"データがありません",requiredMessage:"{label} は必須です",footerSelect:"選択",footerNavigate:"移動",footerClose:"閉じる"},Common:{requiredMessage:"{label} は必須です"},Grid:{layoutSetting:"レイアウト設定",filter:"フィルター",sort:"ソート",customCellStyle:"条件付き書式設定",reset:"リセット",searchFilter:"検索",newView:"新しいビュー",selectAll:"すべて選択",columnPicker:"列の表示/非表示設定",viewToolbar:"ツールバー表示",viewFooter:"フッター表示",viewGroupPanel:"グループパネル表示",resetFilterAndSort:"フィルター・ソートリセット",defaultView:"デフォルトビュー",filterPopup:"フィルター設定",resetFilter:"フィルターリセット",addFilter:"フィルター追加",sortingPopup:"ソート設定",ascending:"昇順",descending:"降順",resetSort:"ソートリセット",addSort:"ソート追加",symbolEqual:"等しい",symbolNotEqual:"等しくない",symbolContains:"含む",symbolNotContains:"含まない",symbolLessThan:"より小さい",symbolGreaterThan:"より大きい",symbolLessOrEqual:"以下",symbolGreaterOrEqual:"以上",symbolEmpty:"空",symbolNotEmpty:"空でない",customCellRuleNamePlaceholder:"ルール名を入力してください",addFormulaCondition:"条件追加",applicationColumn:"適用列",backgroundColor:"背景色",fontColor:"フォント色",resetCustomCell:"リセット",addFormulaConditionSet:"ルールを追加",customColor:"カスタム色",formulaConditionSet:"新しいルール",contextFilterAndSort:"フィルター・ソート",contextAddFilter:"フィルター追加",contextSelectFilter:"選択値でフィルター",contextResetColumnFilter:"列フィルターリセット",contextResetColumnSort:"列ソートリセット",contextResetColumnAll:"列フィルター/ソートリセット",contextDataCopy:"コピー",contextDataExcelCopy:"Excelコピー",contextDataWithHeaderCopy:"ヘッダー付きコピー",contextPin:"列固定",contextColumnPicker:"列選択",contextMoveColumnFirst:"最初の列に移動",contextAutoSizeColumns:"列幅自動調整",contextGroupPanel:"グループパネル",contextGroupToggle:"グループ折りたたみ/展開",contextGroupCollapseAll:"すべてのグループを折りたたむ",contextGroupExpandAll:"すべてのグループを展開",groupPanelPlaceholder:"列をドラッグ&ドロップしてグループを作成します。",contextBulkEdit:"{name} 一括編集",contextImport:"インポート",contextImportExcel:"Excelインポート(上書き)",contextImportExcelAppend:"Excelインポート(追加)",contextExport:"エクスポート",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"合計",check:"確認",cancel:"キャンセル",save:"保存",remove:"削除",close:"閉じる",pause:"一時停止",add:"追加",immediateApply:"すぐに適用",warning:"警告",mozWarning:"警告",confirmCancel:"キャンセルしますか?",alreadyExcelProgress:"Excel操作が進行中です。",downloadFail:"ダウンロードに失敗しました。",addDataWithFilterSort:"フィルター/ソート適用中にデータを追加しますか?",resetAndAdd:"リセットして追加",confirmDeleteGeneral:"{name}を削除しますか?",toastCopySuccess:"コピーしました。",toastSaveSuccess:"保存しました。",toastSaveError:"保存に失敗しました。",toastResetSuccess:"リセットしました。",toastRequiredVal:"必須値を入力してください。",excelInvalidExcel:"無効なExcelファイルです。",excelInvalidUpload:"無効なアップロードデータです。",downloadFormat:"フォーマットダウンロード",click:"クリック",drag:"ドラッグ",overwriteSelected:"選択項目を上書きしますか?",fileOverwrite:"ファイルを上書きしますか?",dropHere:"ここにドロップ",dropHerePrefix:"ここを",dropHereMiddle:"またはファイルを",dropHereSuffix:"してください。",withFormatting:"書式付き",requestTimedOut:"リクエストがタイムアウトしました。",serverError:"サーバーエラーが発生しました。",total:"合計",correct:"正常",error:"エラー",success:"成功",fail:"失敗",excelExportConfirmLargeData:"大量データをエクスポートしますか?",footerTotalRowCount:"合計: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"平均",aggregateCount:"件数",aggregateMin:"最小値",aggregateMax:"最大値",aggregateSum:"合計",settings:"設定",collapseToolbar:"ツールバーを折りたたむ",expandToolbar:"ツールバーを展開",searchPrev:"前の検索結果",searchNext:"次の検索結果",searchGoTo:"結果番号へ移動",searching:"検索中...",deleteCondition:"条件を削除",deleteSort:"ソートを削除",selectPlaceholder:"選択",byValueLabel:"ラベル",decrease:"減少",increase:"増加",selectColor:"色を選択",noColor:"色なし",customColorInput:"直接入力",alignLeft:"左揃え",alignCenter:"中央揃え",alignRight:"右揃え",alignLabel:"配置",fontStyleLabel:"文字スタイル",bold:"太字",italic:"斜体",underline:"下線",columnOptions:"列オプション",showAllColumns:"すべて表示",commonSection:"共通",headerLabelField:"ヘッダーラベル",pinColumn:"固定",pinLeft:"左",pinNone:"なし",pinRight:"右",columnWidthPx:"幅(px)",headerSection:"ヘッダー",cellSection:"セル",fontLabel:"文字",sizeLabel:"サイズ",displayMask:"表示形式(マスク)",resetThisColumn:"この列をリセット",selectColumnHint:"列を選択してください",showColumnNamed:"{column} を表示",columnTextColor:"文字色",cellStyleTitle:"セルスタイル",formulaHelp:"数式ヘルプ",validFormula:"有効な数式",formulaHint:"列を選択するか値を入力して数式を作成してください。",ruleName:"ルール名",targetColumns:"適用列",allColumns:"全列",colorLabel:"色",cellBgColor:"背景色",cellTextColor:"文字色",moveUp:"上へ",moveDown:"下へ",formulaPlaceholder:"例: [需要数] > [在庫数] AND [優先度] < 3",helpColumnRef:"列参照",helpCompare:"比較",helpArithmetic:"算術",helpLogic:"論理",helpString:"文字列",helpNull:"NULL チェック",helpValue:"値",groupColon:"グループ:",groupEmptyHint:"ここに列をドラッグしてグループ化",addGroupBtn:"+ グループ追加",ungroup:"解除",removeGroup:"グループ削除",excelImportTitle:"Excel 取り込み",processing:"処理中…",excelPreview:"プレビュー {shown}行 / 全 {total}行+",clientImportFile:"ファイルから取り込み (クライアント)",clientExportXlsx:"XLSX (クライアント)",groupExpand:"グループを展開",groupCollapse:"グループを折りたたむ",fontSizeDefault:"既定",maskGroupNone:"なし",maskGroupNumber:"数値",maskGroupDate:"日付",maskGroupString:"文字列",maskNoneText:"マスクなし",maskNoneDesc:"元の値をそのまま表示",maskThousandsText:"桁区切り (1,234)",maskThousandsDesc:"例: 1234 → 1,234",maskDecimal2Text:"小数2桁 (#,##0.00)",maskDecimal2Desc:"例: 1234.5 → 1,234.50",maskKrwText:"ウォン (₩1,234)",maskKrwDesc:"例: 1234 → ₩1,234",maskUsdText:"ドル ($1,234.00)",maskUsdDesc:"例: 1234.5 → $1,234.50",maskPercentText:"パーセント (12%)",maskPercentDesc:"例: 12 → 12%",maskDateIsoDesc:"例: 2026-05-26",maskDateKoDesc:"例: 2026-05-26",maskDatetimeDesc:"例: 2026-05-26 14:30",maskDateUsDesc:"例: 05/26/2026",maskPhoneText:"電話番号 (010-1234-5678)",maskPhoneDesc:"例: 01012345678 → 010-1234-5678",maskRrnText:"住民登録番号 (000000-0000000)",maskRrnDesc:"例: 9501011234567 → 950101-1234567",maskBizText:"事業者登録番号 (000-00-00000)",maskBizDesc:"例: 1234567890 → 123-45-67890"},GridPivot:{setting:"ピボット設定",gridSetting:"グリッド設定",fieldSetting:"フィールド設定",showRowTotals:"行合計表示",showColumnTotals:"列合計表示",subtotalCriteria:"小計基準",subtotalAggregateField:"小計集計フィールド",totalsBeforeData:"データ前に合計表示",showZeros:"ゼロ表示",showOutlineMode:"アウトラインモード",collapsibleSubtotal:"小計折りたたみ",fieldName:"フィールド名",fieldAggregate:"集計",fieldShowAs:"表示方式",fieldFormat:"形式",openChart:"チャートを開く",selectValueField:"値フィールド選択",none:"なし",sum:"合計",count:"個数",average:"平均",max:"最大値",min:"最小値",range:"範囲",std:"標準偏差",var:"分散",stdPop:"母標準偏差",varPop:"母分散",cntAll:"全個数",cntNumbers:"数値の個数",showFirstValue:"最初の値",showLastValue:"最後の値",noCalculation:"計算なし",diffRow:"前の行との差",diffRowPct:"前の行との差 (%)",diffCol:"前の列との差",diffColPct:"前の列との差 (%)",grandtotalPct:"総計に対する割合",rowTotalPct:"行合計に対する割合",colTotalPct:"列合計に対する割合",prevRowPct:"前の行に対する割合",prevColPct:"前の列に対する割合",runTot:"累計",runTotPct:"累計割合",generalFormat:"一般",int:"整数",float:"小数",currency:"通貨",percentage:"パーセント (整数)",percentageDot2:"パーセント (小数)",thousands:"千単位",millions:"百万単位",billions:"十億単位",subtotal:"小計",grandtotal:"総計",grandtotalValue:"総合計",category:"カテゴリ",chartType:"チャートタイプ",chartXAxis:"X軸",chartYAxis:"Y軸",categoryName:"カテゴリ名",barChart:"棒グラフ",lineChart:"折れ線グラフ",lineSymbolChart:"シンボル折れ線グラフ",areaChart:"エリアチャート",chartRenderingErrorHeader:"チャートレンダリングエラー",chartRenderingErrorContent:"チャートを表示できません。",contextPivotExportXlsx:"ビューエクスポート (xlsx)",contextPivotExportOriginXlsx:"元データエクスポート (xlsx)",contextPivotExportOriginCsv:"元データエクスポート (csv)",row:"行",column:"列",value:"値",filter:"フィルター",searchFieldPlaceholder:"フィールド検索...",dropZoneRowPlaceholder:"行軸フィールドをドラッグしてください",dropZoneColumnPlaceholder:"列軸フィールドをドラッグしてください",dropZoneValuePlaceholder:"値フィールドをドラッグしてください",dropZoneFilterPlaceholder:"フィルターフィールドをドラッグしてください",update:"更新",selectFieldForReport:"レポートに追加するフィールドを選択:",dragFieldsBetweenAreas:"下の領域間にフィールドをドラッグしてください:",valueSummaryCriteria:"値の集計方法",roundRound:"四捨五入",roundFloor:"切り捨て",roundCeil:"切り上げ",roundTrunc:"切り捨て(0方向)",roundingMode:"丸めモード",decimalPlaces:"小数点桁数",decimalUnlimited:"制限なし",showOriginalValue:"元の値を併記",back:"戻る",parentRowPct:"上位行グループ比 (%)",parentColPct:"上位列グループ比 (%)",rankAsc:"昇順ランク",rankDesc:"降順ランク",index:"インデックス",showTotalsGrand:"合計",showTotalsSub:"小計",fieldPanelSetting:"フィールド設定",colSubtotalCriteria:"列小計基準",allowRowToggle:"行の展開/折りたたみ許可",allowColToggle:"列の展開/折りたたみ許可",outlineMode:"アウトラインモード"},Gantt:{searchPlaceholder:"検索",columnSize:"列サイズ",rowSize:"行サイズ"},Chart:{filterPopup:"フィルター",resetFilter:"フィルターリセット",addFilter:"フィルター追加",symbolEqual:"等しい",symbolNotEqual:"等しくない",symbolContains:"含む",symbolNotContains:"含まない",symbolLessThan:"より小さい",symbolGreaterThan:"より大きい",symbolLessOrEqual:"以下",symbolGreaterOrEqual:"以上",symbolEmpty:"空",symbolNotEmpty:"空でない",chartSetting:"チャート設定",chartCategory:"チャートカテゴリ",chartType:"チャートタイプ",chartUseZoom:"ズーム使用",multiYAxisSetting:"Y軸マルチ設定",notUsed:"(使用しない)",chartPopup:"チャートポップアップ",errorMessage:"データの読み込み中にエラーが発生しました。",valueFieldSetting:"値フィールド設定",valueSummaryCriteria:"値集計基準",selectFieldForReport:"レポートに追加するフィールドを選択:",column:"列",row:"行",value:"値",sumValue:"∑ 値",count:"件数",sum:"合計",average:"平均",min:"最小値",max:"最大値",seriesCategory:"一般",pieCategory:"パイ",scatterCategory:"散布図",treemapCategory:"ツリーマップ",boxplotCategory:"ボックスプロット",candlestickCategory:"ローソク足",barChart:"棒グラフ",stackBarChart:"スタック棒グラフ",horizontalStackBarChart:"横スタック棒グラフ",lineChart:"折れ線グラフ",lineSymbolChart:"折れ線グラフ(シンボル)",areaChart:"エリアチャート",general:"一般",custom:"カスタム",axisCategoryLabel:"軸 (カテゴリ)",legendSeriesLabel:"凡例 (シリーズ)",legendSingleLabel:"凡例 (単一選択)",legendMultiLabel:"凡例 (複数選択可)",valueSingleLabel:"値 (単一選択)",xAxisSingleLabel:"X軸 (単一選択)",yAxisMultiLabel:"Y軸 (複数選択可)",notSet:"未指定",legendLimitExceededTitle:"チャートの凡例数が最大 {limit} 件を超えました。",legendLimitExceededContent:"凡例を {limit} 件以下に再設定してください。"},NumberInput:{increase:"値を増やす",decrease:"値を減らす"},DateInput:{prevDate:"前の日付",nextDate:"次の日付"},PasswordInput:{showPassword:"パスワードを表示",hidePassword:"パスワードを非表示"},Tab:{closeTab:"{label} を閉じる"},SplitPane:{resizeHandle:"領域サイズの調整"},BreadCrumb:{navigation:"パンくずリスト"}};let Qs=0;function ve(e){return(t,s,n,i)=>{var ue;const a=e.portal?new kt:null,m=a?a.open():t,d=`h${++Qs}:`,l=new Mo;if(i!=null&&i.slots)for(const[W,z]of Object.entries(i.slots))l.register(W,z);i!=null&&i.slotResolver&&l.setResolver(i.slotResolver);const h=new Set(Object.keys(s)),r=i!=null&&i.providedKeys?new Set(i.providedKeys):null,p=W=>{const z=e.defaults;if(!z)return W;const K={...W};for(const ee of Object.keys(z))K[ee]===void 0&&(K[ee]=z[ee]);return K};let u=p({...s}),v=(i==null?void 0:i.locale)??Bt;const $=(i==null?void 0:i.validator)??null,R=[];let b=new Map,y=new Set,V=new Map,S=null;const D={get props(){return u},emit:n,slots:l,requestUpdate:()=>J.requestUpdate(),onCleanup:W=>R.push(W),px:W=>Le(W),get locale(){return v},validator:$,controlled:W=>r?r.has(W):h.has(W),slot(W,z){if(!l.has(W))return o.nothing;const K=V.get(W)??0;V.set(W,K+1);const ee=`${W}#${K}`;return b.set(ee,{name:W,scope:z}),o.html`<span data-moz-slot=${W} data-moz-slot-id=${d+ee}></span>`}},G=e.setup(D);class Z extends To{template(){return b=new Map,V=new Map,G.render()}renderNow(){super.renderNow();let z=null;if(G.renderPortal){const K=G.renderPortal(),ee=G.getPortalContainer?G.getPortalContainer():document.body;K===o.nothing||K==null||ee==null?S&&S.isOpen&&(o.render(o.nothing,S.element),S.close()):(S||(S=new kt),z=S.isOpen?S.element:S.open("moz-overlay-portal",ee),o.render(K,z))}for(const[K,{name:ee,scope:ne}]of b){const Q=`[data-moz-slot-id="${d+K}"]`;let B=this.container.querySelector(Q);!B&&z&&(B=z.querySelector(Q)),B&&l.fill(K,ee,B,ne)}for(const K of y)b.has(K)||l.clear(K);y=new Set(b.keys())}flush(){this.isMounted&&this.renderNow()}onDestroy(){for(const z of R.splice(0))try{z()}catch{}l.destroy()}}const J=new Z(m);return J.mount(),(ue=G.onMounted)==null||ue.call(G,m.firstElementChild),{get el(){return m.firstElementChild},update(W,z){z!=null&&z.replace?(u=p({...W}),h.clear()):u=p({...u,...W});for(const K of Object.keys(W))h.add(K);z!=null&&z.sync?J.flush():J.requestUpdate()},destroy(){J.destroy(),a==null||a.close(),S==null||S.close()},setLocale(W){W!==v&&(v=W??Bt,J.requestUpdate())},api:G.api??{}}}}class Js extends Ft.Directive{constructor(s){super(s);Ae(this,"prevKeys",[]);Ae(this,"listeners",new Map);if(s.type!==Ft.PartType.ELEMENT)throw new Error("spread() 는 element 바인딩(`<el ${spread(obj)}>`)에서만 사용할 수 있습니다.")}render(s){return o.nothing}update(s,[n]){const i=s.element,a=n??{};for(const m of this.prevKeys)if(!(m in a))if(this.isEventKey(m)){const d=this.listeners.get(m);d&&i.removeEventListener(this.eventName(m),d),this.listeners.delete(m)}else i.removeAttribute(m);for(const[m,d]of Object.entries(a))if(!(m==="class"||m==="style"||m==="key"||m==="ref"))if(this.isEventKey(m)&&typeof d=="function"){const l=this.eventName(m),h=this.listeners.get(m);h&&i.removeEventListener(l,h),i.addEventListener(l,d),this.listeners.set(m,d)}else d==null?i.removeAttribute(m):m.startsWith("aria-")?i.setAttribute(m,String(d)):d===!1?i.removeAttribute(m):d===!0?i.setAttribute(m,""):i.setAttribute(m,String(d));return this.prevKeys=Object.keys(a),o.noChange}isEventKey(s){return s.length>2&&s.startsWith("on")&&s[2]===s[2].toUpperCase()}eventName(s){return s.slice(2).toLowerCase()}}const de=Ft.directive(Js);function M(...e){return Hs.clsx(e)}function el(){return lt.extend(Ws),lt.extend(Us),lt.extend(_s),lt.extend(Ns),lt.extend(Ks),lt.extend(Gs),lt.tz.setDefault("Asia/Seoul"),lt}const Pe=el();function tl(){const e=[];return{addValidator:a=>{e.push(a)},removeValidator:a=>{const m=e.findIndex(d=>d.validate===a.validate);m>=0&&e.splice(m,1)},validate:async(a="save")=>(await Promise.all(e.map(d=>d.validate(a).then(l=>l===void 0?!0:l)))).every(d=>d),initValidator:()=>{var a;for(const m of e)(a=m==null?void 0:m.initValidator)==null||a.call(m)}}}const ol=16;function sl(e,t){let s=0;return(...n)=>{const i=Date.now();i-s>=t&&(s=i,e(...n))}}class mt{constructor(t){Ae(this,"opened",!1);Ae(this,"scrollHandler");Ae(this,"clickHandler");this.opts=t,this.scrollHandler=sl(s=>this.onScroll(s),ol),this.clickHandler=s=>this.onOutsideClick(s)}open(){this.opened||(this.opened=!0,document.addEventListener("scroll",this.scrollHandler,{capture:!0}),this.opts.closeOnOutsideClick!==!1&&setTimeout(()=>{this.opened&&document.addEventListener("click",this.clickHandler,{capture:!0})},0),queueMicrotask(()=>this.calcPosition()))}close(){this.opened&&(this.opened=!1,document.removeEventListener("scroll",this.scrollHandler,{capture:!0}),document.removeEventListener("click",this.clickHandler,{capture:!0}))}destroy(){this.close()}calcPosition(){const t=this.opts.anchor(),s=this.opts.panel();if(!t||!s)return;const n=t.getBoundingClientRect(),i=this.opts.maxHeight?this.opts.maxHeight():250,a=window.innerHeight-n.bottom,m=n.top,d=a<i&&m>=i;let l=n.left;const h=s.clientWidth;n.left+h>document.body.clientWidth&&(l-=h-n.width);let r=`${n.width}px`,p=!1;if(this.opts.listWidth){const u=this.opts.listWidth();u&&(typeof u!="number"||u>0)&&(r=typeof u=="number"?`${u}px`:u,p=!0)}s.style.position="fixed",s.style.left=`${l}px`,this.opts.useMinWidth?(s.style.minWidth=`${n.width}px`,p&&(s.style.width=String(r))):p?s.style.width=String(r):s.style.width=`${n.width}px`,d?(s.style.bottom=`${window.innerHeight-n.top}px`,s.style.top="auto"):(s.style.top=`${n.bottom}px`,s.style.bottom="auto")}onScroll(t){const s=t.target;if(this.opts.ignoreScrollTargets&&s&&this.opts.ignoreScrollTargets(s))return;const n=this.opts.anchor();if(n){const i=n.getBoundingClientRect();if(i.bottom<0||i.top>window.innerHeight){this.opts.requestClose();return}}this.calcPosition()}onOutsideClick(t){var n,i,a,m,d;if(this.opts.closeOnOutsideClick===!1)return;const s=t.target;(a=(i=(n=this.opts).container)==null?void 0:i.call(n))!=null&&a.contains(s)||(m=this.opts.panel())!=null&&m.contains(s)||(d=this.opts.anchor())!=null&&d.contains(s)||this.opts.requestClose()}}const tt=[];let Et=!1;function Ao(e){var s;if(e.key!=="Escape")return;const t=tt[tt.length-1];t&&t.kind==="moz"&&((s=t.onEscape)==null||s.call(t,e),e.stopPropagation())}function ll(){Et||typeof window>"u"||(window.addEventListener("keydown",Ao,{capture:!0}),Et=!0)}function nl(){!Et||typeof window>"u"||(window.removeEventListener("keydown",Ao,!0),Et=!1)}function _t(e){tt.push(e),ll();let t=!1;return{release(){if(t)return;t=!0;const s=tt.indexOf(e);s>=0&&tt.splice(s,1),tt.length===0&&nl()},isTopmost(){return tt[tt.length-1]===e}}}function Nt(e){return _t({kind:"moz",onEscape:e})}function il(){return _t({kind:"foreign"})}function ft(){return _t({kind:"self"})}function rl(){return tt.length}function Ut(e={}){const{circleClass:t="",progressClass:s=""}=e;return o.html`<svg
3
3
  aria-hidden="true"
4
4
  role="status"
5
5
  class="moz-circle-loader"
@@ -20,7 +20,7 @@
20
20
  fill="var(--moz-color-accent)"
21
21
  class=${s}
22
22
  ></path>
23
- </svg>`}function Do(e="default"){switch(e){case"text":return"moz-text-button";case"outline":return"moz-outline-button";case"icon":return"moz-icon-button";case"icon-accent":return"moz-icon-button moz-icon-accent-button";case"no-interaction":return"moz-icon-button moz-no-interaction-button";case"default":default:return"moz-default-button"}}const al=new Set(["action","text","type","nativeType","width","loading","disabled","class","style"]);function at(e,t={}){const s=!!e.disabled||!!e.loading,n=t.icon!=null&&t.icon!==o.nothing,i=e.width==null?void 0:typeof e.width=="number"?`${Le(e.width)}rem`:e.width,a=e.width==null?void 0:typeof e.width=="number"?`${e.width}px`:e.width,m={width:i,minWidth:i,"--moz-btn-loading-width":a,...$e(e.style)},d=l=>{var h;s||(h=t.onClick)==null||h.call(t,l)};return o.html`
23
+ </svg>`}function Do(e="default"){switch(e){case"text":return"moz-text-button";case"outline":return"moz-outline-button";case"icon":return"moz-icon-button";case"icon-accent":return"moz-icon-button moz-icon-accent-button";case"no-interaction":return"moz-icon-button moz-no-interaction-button";case"default":default:return"moz-default-button"}}const al=new Set(["action","text","type","nativeType","width","loading","disabled","class","style"]);function dt(e,t={}){const s=!!e.disabled||!!e.loading,n=t.icon!=null&&t.icon!==o.nothing,i=e.width==null?void 0:typeof e.width=="number"?`${Le(e.width)}rem`:e.width,a=e.width==null?void 0:typeof e.width=="number"?`${e.width}px`:e.width,m={width:i,minWidth:i,"--moz-btn-loading-width":a,...$e(e.style)},d=l=>{var h;s||(h=t.onClick)==null||h.call(t,l)};return o.html`
24
24
  <button
25
25
  type=${e.nativeType??"button"}
26
26
  class=${M("moz-button",Do(e.type),{loading:!!e.loading,disabled:s,"moz-icon-text-button":n},e.class)}
@@ -87,7 +87,7 @@
87
87
  ${e.labelPosition==="right"?Be({for:e.id,disabled:e.disabled},e.label??"","label-right"):o.nothing}
88
88
  </div>
89
89
  </div>
90
- `}const qo=ve({name:"moz-toggle",defaults:{labelPosition:"left",required:!1,readonly:!1,disabled:!1,visible:!0},setup(e){const t=Xe("switch_"),s=i=>{const a=e.props;(a.disabled||a.readonly)&&(i.preventDefault(),i.stopPropagation())},n=i=>{const a=e.props;if(a.disabled||a.readonly)return;const m=i.target.checked;e.emit("change",!!m)};return{render(){const i=e.props,{aria:a,dom:m}=ut(ge(i,pl));return Pt({id:t,class:i.class,rest:m,inputRest:a,model:!!i.modelValue,label:i.label,labelPosition:i.labelPosition,required:i.required,disabled:i.disabled,visible:i.visible,onChange:n,onClick:s})}}}}),hl={name:"MozToggle",core:qo,props:["label","labelPosition","required","readonly","disabled","visible"],emits:["change"],models:{modelValue:{prop:"modelValue",event:"change"}},slots:[],expose:!1};function Kt(e=""){return o.html`<svg class=${e} xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
90
+ `}const qo=ve({name:"moz-toggle",defaults:{labelPosition:"left",required:!1,readonly:!1,disabled:!1,visible:!0},setup(e){const t=Xe("switch_"),s=i=>{const a=e.props;(a.disabled||a.readonly)&&(i.preventDefault(),i.stopPropagation())},n=i=>{const a=e.props;if(a.disabled||a.readonly)return;const m=i.target.checked;e.emit("change",!!m)};return{render(){const i=e.props,{aria:a,dom:m}=ht(ge(i,pl));return Pt({id:t,class:i.class,rest:m,inputRest:a,model:!!i.modelValue,label:i.label,labelPosition:i.labelPosition,required:i.required,disabled:i.disabled,visible:i.visible,onChange:n,onClick:s})}}}}),hl={name:"MozToggle",core:qo,props:["label","labelPosition","required","readonly","disabled","visible"],emits:["change"],models:{modelValue:{prop:"modelValue",event:"change"}},slots:[],expose:!1};function Kt(e=""){return o.html`<svg class=${e} xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
91
91
  <path
92
92
  fill-rule="evenodd"
93
93
  clip-rule="evenodd"
@@ -697,7 +697,7 @@
697
697
  d="M3 2H12C12.5304 2 13.0391 2.21071 13.4142 2.58579C13.7893 2.96086 14 3.46957 14 4V6H1V4C1 3.46957 1.21071 2.96086 1.58579 2.58579C1.96086 2.21071 2.46957 2 3 2Z"
698
698
  fill=${e}
699
699
  ></path>
700
- </svg>`}const en="YYYY-MM-DD",tn=new Set(["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue","class","style"]),Jo=ve({name:"moz-date-input",defaults:{label:"",width:200,required:!1,disabled:!1,readonly:!1,showSpin:!1,min:null,max:null},setup(e){let t=!1,s=270,n=e.props.modelValue,i=null,a=null;const m=new kt,d=b=>{const y=e.props.modelValue;let V;b&&y instanceof Date?V=Pe(b).toDate():b&&Pe.isDayjs(y)||!y&&b?V=Pe(b):V=void 0,e.emit("update:modelValue",V)},l=((b,...y)=>{b==="update:modelValue"?d(y[0]):b==="setMaxHeight"&&(s=y[0],h.calcPosition())}),h=new pt({anchor:()=>i==null?void 0:i.querySelector(".moz-date-input-wrapper"),panel:()=>m.element,maxHeight:()=>s,ignoreScrollTargets:b=>(b&&typeof b.className=="string"?b.className:"").split(" ").includes("moz-calendar-row"),container:()=>i,requestClose:()=>{t&&(t=!1,p(),e.requestUpdate())}}),r=()=>{const b=m.open("calendar-container");a=eo(b,{modelValue:e.props.modelValue,min:e.props.min,max:e.props.max},l),h.open()},p=()=>{h.close(),a==null||a.destroy(),a=null,m.close(),e.emit("close")},u=()=>{var y;const b=e.props;b.disabled||b.readonly||(t=!t,t?((y=i==null?void 0:i.querySelector("input"))==null||y.focus(),r()):p(),e.requestUpdate())},v=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).subtract(1,"d"))},$=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).add(1,"d"))},R=b=>{const y=b.target,V=e.props.modelValue;V?Pe.isDayjs(V)&&Pe(y.value).isValid()?d(Pe(y.value)):V instanceof Date&&!Number.isNaN(Date.parse(y.value))?d(new Date(y.value)):d(void 0):d(Pe(y.value))};return e.onCleanup(()=>{h.destroy(),a==null||a.destroy(),m.close()}),{onMounted:b=>{i=b},render(){const b=e.props;if(b.modelValue!==n){n=b.modelValue;const le=b.modelValue;queueMicrotask(()=>e.emit("change",le)),a&&a.update({modelValue:b.modelValue})}const y=b.format||en,V=typeof b.width=="number"?`${Le(b.width)}rem`:b.width,S=b.modelValue?Pe(b.modelValue).format(y):"",D=!!b.min&&Pe(S).isSameOrBefore(Pe(b.min),"day"),G=!!b.max&&Pe(S).isSameOrAfter(Pe(b.max),"day"),Z=ge(b,tn),J=(le,ue,W,z)=>o.html`<button
700
+ </svg>`}const en="YYYY-MM-DD",tn=new Set(["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue","class","style"]),Jo=ve({name:"moz-date-input",defaults:{label:"",width:200,required:!1,disabled:!1,readonly:!1,showSpin:!1,min:null,max:null},setup(e){let t=!1,s=270,n=e.props.modelValue,i=null,a=null;const m=new kt,d=b=>{const y=e.props.modelValue;let V;b&&y instanceof Date?V=Pe(b).toDate():b&&Pe.isDayjs(y)||!y&&b?V=Pe(b):V=void 0,e.emit("update:modelValue",V)},l=((b,...y)=>{b==="update:modelValue"?d(y[0]):b==="setMaxHeight"&&(s=y[0],h.calcPosition())}),h=new mt({anchor:()=>i==null?void 0:i.querySelector(".moz-date-input-wrapper"),panel:()=>m.element,maxHeight:()=>s,ignoreScrollTargets:b=>(b&&typeof b.className=="string"?b.className:"").split(" ").includes("moz-calendar-row"),container:()=>i,requestClose:()=>{t&&(t=!1,p(),e.requestUpdate())}}),r=()=>{const b=m.open("calendar-container");a=eo(b,{modelValue:e.props.modelValue,min:e.props.min,max:e.props.max},l),h.open()},p=()=>{h.close(),a==null||a.destroy(),a=null,m.close(),e.emit("close")},u=()=>{var y;const b=e.props;b.disabled||b.readonly||(t=!t,t?((y=i==null?void 0:i.querySelector("input"))==null||y.focus(),r()):p(),e.requestUpdate())},v=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).subtract(1,"d"))},$=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).add(1,"d"))},R=b=>{const y=b.target,V=e.props.modelValue;V?Pe.isDayjs(V)&&Pe(y.value).isValid()?d(Pe(y.value)):V instanceof Date&&!Number.isNaN(Date.parse(y.value))?d(new Date(y.value)):d(void 0):d(Pe(y.value))};return e.onCleanup(()=>{h.destroy(),a==null||a.destroy(),m.close()}),{onMounted:b=>{i=b},render(){const b=e.props;if(b.modelValue!==n){n=b.modelValue;const le=b.modelValue;queueMicrotask(()=>e.emit("change",le)),a&&a.update({modelValue:b.modelValue})}const y=b.format||en,V=typeof b.width=="number"?`${Le(b.width)}rem`:b.width,S=b.modelValue?Pe(b.modelValue).format(y):"",D=!!b.min&&Pe(S).isSameOrBefore(Pe(b.min),"day"),G=!!b.max&&Pe(S).isSameOrAfter(Pe(b.max),"day"),Z=ge(b,tn),J=(le,ue,W,z)=>o.html`<button
701
701
  type="button"
702
702
  aria-label=${ue==="left"?e.locale.DateInput.prevDate:e.locale.DateInput.nextDate}
703
703
  class=${M("moz-button","moz-icon-button","moz-icon-accent-button","moz-icon-text-button","date-move-btn",`date-move-btn--${ue}`,{"date-move-btn--disabled":W})}
@@ -733,7 +733,7 @@
733
733
  ${b.showSpin?J(Ql("var(--moz-color-on-accent)","14",b.disabled||G),"right",G,$):o.nothing}
734
734
  </div>
735
735
  </div>
736
- `}}}}),on={name:"MozDateInput",core:Jo,props:["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue"],emits:["change","focus","focusOut","close","update:modelValue"],slots:[],expose:!1};function mt(e){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:12,height:12}}function sn(e="10",t="var(--moz-color-text-muted)",s=!1,n=!1,i=""){const a=mt(e),m=i||o.nothing;return a.width<=10?o.html`<svg class=${m} width=${a.width} height=${a.height} viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
736
+ `}}}}),on={name:"MozDateInput",core:Jo,props:["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue"],emits:["change","focus","focusOut","close","update:modelValue"],slots:[],expose:!1};function gt(e){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:12,height:12}}function sn(e="10",t="var(--moz-color-text-muted)",s=!1,n=!1,i=""){const a=gt(e),m=i||o.nothing;return a.width<=10?o.html`<svg class=${m} width=${a.width} height=${a.height} viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
737
737
  <path d="M8.5 1.5L1.49999 8.50001" stroke=${t} stroke-width="1.75" stroke-linecap="round"></path>
738
738
  <path d="M1.5 1.5L8.50001 8.50001" stroke=${t} stroke-width="1.75" stroke-linecap="round"></path>
739
739
  </svg>`:a.width<=13&&a.width>=11&&!n?o.html`<svg class=${m} width=${a.width} height=${a.height} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -759,7 +759,7 @@
759
759
  ></path>
760
760
  </g>
761
761
  </g>
762
- </svg>`}function ln(e="30",t="var(--moz-color-danger)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
762
+ </svg>`}function ln(e="30",t="var(--moz-color-danger)",s=""){const n=gt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
763
763
  <mask id="mask0_6027_4458" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
764
764
  <g><path d="M30 0H0V30H30V0Z" fill="#FFF"></path></g>
765
765
  </mask>
@@ -771,7 +771,7 @@
771
771
  ></path>
772
772
  </g>
773
773
  </g>
774
- </svg>`}function nn(e="30",t="var(--moz-color-accent)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
774
+ </svg>`}function nn(e="30",t="var(--moz-color-accent)",s=""){const n=gt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
775
775
  <g>
776
776
  <path
777
777
  fill-rule="evenodd"
@@ -780,7 +780,7 @@
780
780
  fill=${t}
781
781
  ></path>
782
782
  </g>
783
- </svg>`}function rn(e="30",t="var(--moz-color-success)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
783
+ </svg>`}function rn(e="30",t="var(--moz-color-success)",s=""){const n=gt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
784
784
  <g>
785
785
  <path
786
786
  fill-rule="evenodd"
@@ -789,7 +789,7 @@
789
789
  fill=${t}
790
790
  ></path>
791
791
  </g>
792
- </svg>`}function an(e="30",t="var(--moz-color-warning)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
792
+ </svg>`}function an(e="30",t="var(--moz-color-warning)",s=""){const n=gt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
793
793
  <mask id="mask0_6027_4463" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
794
794
  <g><path d="M30 0H0V30H30V0Z" fill="#FFF"></path></g>
795
795
  </mask>
@@ -801,12 +801,12 @@
801
801
  ></path>
802
802
  </g>
803
803
  </g>
804
- </svg>`}const cn=new Set(["title","minWidth","minHeight","maxWidth","maxHeight","draggable","resizeable","keepAspectRatio","disabledConfirmButton","showCloseButton","dialogClass","showHeader","closeOnOutsideClick","preset","dialogIcon","dialogMessage","onCancel","onBeforeClose","onBeforeUnload","onConfirm","onBeforeConfirm","loading","contentsPadding","class","style","useVShow","top","left","showFooterBorder","action","saveText","cancelText","okText","closeText","visible","width","height","focusTrap","lockScroll","side","showBackdrop","autoPosition","hideOthers"]);let ct=0,es="";const dn=()=>{ct===0&&(es=document.body.style.overflow,document.body.style.overflow="hidden"),ct+=1},un=()=>{ct!==0&&(ct-=1,ct===0&&(document.body.style.overflow=es))},pn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',ts=ve({name:"moz-popup",portal:!0,defaults:{title:"Popup",minWidth:300,minHeight:100,maxWidth:800,maxHeight:600,draggable:!0,resizeable:!1,keepAspectRatio:!1,disabledConfirmButton:!1,showCloseButton:!0,showHeader:!0,closeOnOutsideClick:!0,preset:"close",dialogIcon:"info",loading:!1,contentsPadding:"24px 16px",useVShow:!1,top:null,left:null,showFooterBorder:!0,focusTrap:!1,lockScroll:!1,showBackdrop:!0,autoPosition:!0,hideOthers:!1},setup(e){const t=N.createRef(),s=N.createRef(),n=Xe("moz-popup-title-"),i=Xe("moz-popup-desc-");let a=null,m=e.props.visible??!1,d=e.props.width,l=e.props.height;const h=()=>e.controlled("visible")?!!e.props.visible:m,r=C=>{e.controlled("visible")||(m=C),e.emit("update:visible",C),e.requestUpdate()},p=()=>e.controlled("width")?e.props.width:d,u=C=>{e.controlled("width")||(d=C),e.emit("update:width",C),e.requestUpdate()},v=()=>e.controlled("height")?e.props.height:l,$=C=>{e.controlled("height")||(l=C),e.emit("update:height",C),e.requestUpdate()};let R=0,b=0,y=!1;const V=!0;let S=null;const D={mouseDown:!1,dragging:!1,offset:{x:0,y:0}};let G=h(),Z=!1,J=!1,le=null,ue=[];const W=()=>{const C=t.value;if(C)for(const q of Array.from(document.body.children))q instanceof HTMLElement&&(q.contains(C)||q.getAttribute("aria-hidden")!=="true"&&(q.setAttribute("aria-hidden","true"),ue.push(q)))},z=()=>{for(const C of ue)C.removeAttribute("aria-hidden");ue=[]},K=()=>{const C=t.value;return C?Array.from(C.querySelectorAll(pn)).filter(q=>q.getAttribute("aria-hidden")!=="true"):[]},ee=()=>{const C=document.querySelectorAll(".moz-popup");return C.length>0&&C[C.length-1]===t.value},ne=()=>{a||(a=Nt(()=>A()))},Q=()=>{a==null||a.release(),a=null},B=()=>{Z||(Z=!0,ne(),e.props.lockScroll&&(dn(),J=!0),e.props.focusTrap&&(le=document.activeElement instanceof HTMLElement?document.activeElement:null,queueMicrotask(()=>{const C=t.value;!C||!h()||(K()[0]??C).focus()})),e.props.hideOthers&&queueMicrotask(()=>{h()&&W()}))},E=()=>{if(Q(),!Z)return;Z=!1,J&&(un(),J=!1),z();const C=le;le=null,C&&C.isConnected&&C.focus()},T=()=>{e.props.side||e.props.autoPosition===!1||queueMicrotask(()=>{const C=t.value;if(!C)return;const q=e.props;b=q.top!=null?q.top:window.innerHeight/2-C.offsetHeight/2,R=q.left!=null?q.left:window.innerWidth/2-C.offsetWidth/2,e.requestUpdate()})},U=()=>{!h()||e.props.side||e.props.autoPosition===!1||y||T()},k=()=>{h()||r(!0),e.emit("open"),T(),B()},L=async()=>{let C=!0;return e.props.onBeforeClose?C=await e.props.onBeforeClose()??!0:e.emit("close:before",C),C},A=async()=>{await L()&&h()&&(r(!1),e.props.onCancel?e.props.onCancel():e.emit("close"),e.emit("hidden"))},F=async()=>{let C=!0;return e.props.onBeforeConfirm?C=await e.props.onBeforeConfirm()??!0:e.emit("confirm:before",C),C},f=async()=>{await F()&&h()&&(r(!1),e.props.onConfirm?e.props.onConfirm():e.emit("confirm"),e.emit("hidden"))},O=()=>{e.props.onBeforeUnload&&e.props.onBeforeUnload()},Y=()=>{e.props.closeOnOutsideClick&&A()},X=C=>{C?k():(E(),O(),A())},we=(C,q)=>{document.addEventListener("mouseup",C),document.addEventListener("mousemove",q)},De=(C,q)=>{document.removeEventListener("mouseup",C),document.removeEventListener("mousemove",q)},Ne=C=>{const q=R-C.clientX,Ce=b-C.clientY;D.mouseDown=!0,D.offset.x=q,D.offset.y=Ce,e.emit("drag-start")},Oe=C=>{e.props.draggable&&(C.clientX===0&&S&&(C=S),C&&C.clientX&&C.clientY&&(R=C.clientX+D.offset.x,b=C.clientY+D.offset.y,y=!0,e.requestUpdate()))},c=C=>{C.clientX!==0&&C.clientY!==0&&(S=C),D.mouseDown&&V&&(D.dragging=!0,Oe(C))},x=()=>{D.dragging&&e.emit("drag-end"),D.mouseDown=!1,setTimeout(()=>{D.dragging=!1,De(x,c)},100)},j=C=>{e.props.side||e.props.autoPosition===!1||(C.preventDefault(),we(x,c),Ne(C))},ie=C=>{C.preventDefault();const q=t.value;if(!q)return;const Ce=q.getBoundingClientRect(),ke=p()??Ce.width,Ee=v()??Ce.height;if(!ke||!Ee)return;const Te=ke/Ee,Ve={x:C.clientX,y:C.clientY},Ue=e.props,Qe=Je=>{let Ze=Je.clientX-Ve.x,g=Je.clientY-Ve.y;if(Ue.keepAspectRatio){const te=Ze/Te;Math.abs(g)>Math.abs(te)?g=te:Ze=g*Te}const H=Math.max(Ue.minWidth,Math.min(ke+Ze,Ue.maxWidth));let I=Math.max(Ue.minHeight,Math.min(Ee+g,Ue.maxHeight));Ue.keepAspectRatio&&H/I!==Te&&(I=H/Te),u(H),$(I)},ot=()=>{document.removeEventListener("mousemove",Qe),document.removeEventListener("mouseup",ot)};document.addEventListener("mousemove",Qe),document.addEventListener("mouseup",ot)},ce=C=>{if(C.key==="Tab"&&e.props.focusTrap&&h()&&ee()){if(a&&!a.isTopmost())return;const q=t.value;if(!q)return;const Ce=K();if(Ce.length===0){C.preventDefault(),q.focus();return}const ke=Ce[0],Ee=Ce[Ce.length-1],Te=document.activeElement,Ve=Te instanceof Node&&q.contains(Te);C.shiftKey?(!Ve||Te===ke||Te===q)&&(C.preventDefault(),Ee.focus()):(!Ve||Te===Ee)&&(C.preventDefault(),ke.focus());return}};e.onCleanup(()=>{E(),window.removeEventListener("keydown",ce),window.removeEventListener("resize",U),O(),window.removeEventListener("unload",O),De(x,c)});const Se=()=>{const C=e.props;if(C.action)return C.action;const q=e.locale.Popup;switch(C.preset){case"save":return{positive:C.saveText??q.save,negative:C.cancelText??q.cancel};case"check":return{positive:C.okText??q.ok};case"close":return{negative:C.closeText??q.close};case"confirm":default:return{positive:C.okText??q.ok,negative:C.cancelText??q.cancel}}},be=C=>{switch(C){case"error":return ln("30","var(--moz-color-danger)","dialog-icon");case"info":return nn("30","var(--moz-color-accent)","dialog-icon");case"success":return rn("30","var(--moz-color-success)","dialog-icon");case"warning":return an("30","var(--moz-color-warning)","dialog-icon");default:return o.nothing}};return{api:{resetPosition:T},onMounted:()=>{window.addEventListener("keydown",ce),window.addEventListener("resize",U),window.addEventListener("unload",O),queueMicrotask(()=>e.emit("init",s.value??null)),h()&&(T(),B())},render(){const C=e.props,q=h();if(q!==G){const fe=q;G=q,fe?ne():Q(),queueMicrotask(()=>X(fe))}if(!(C.useVShow?!0:q))return o.nothing;const ke=C.useVShow?!q:!1,Ee=p(),Te=v(),Ve=C.side,Ue=!!Ve||C.autoPosition===!1,Qe={...$e(C.style),...Ee?{width:`${Le(Ee)}rem`}:{},...Te?{height:`${Le(Te)}rem`}:{},...Ue?{}:{left:`${Le(R)}rem`,top:`${Le(b)}rem`}},ot=!!C.draggable&&!Ue,Je=!!C.resizeable&&!Ve,Ze=typeof C.contentsPadding=="number"?`${Le(C.contentsPadding)}rem`:C.contentsPadding,g=Se(),H=ge(C,cn),I=e.slots.has("title")?e.slot("title"):o.html`<span class="truncate">${C.title}</span>`,te=e.slots.has("description"),se=e.slots.has("default")?e.slot("default"):o.html`<div class="moz-dialog-body">
804
+ </svg>`}const cn=new Set(["title","minWidth","minHeight","maxWidth","maxHeight","draggable","resizeable","keepAspectRatio","disabledConfirmButton","showCloseButton","dialogClass","showHeader","closeOnOutsideClick","preset","dialogIcon","dialogMessage","onCancel","onBeforeClose","onBeforeUnload","onConfirm","onBeforeConfirm","loading","contentsPadding","class","style","useVShow","top","left","showFooterBorder","action","saveText","cancelText","okText","closeText","visible","width","height","focusTrap","lockScroll","side","showBackdrop","autoPosition","hideOthers"]);let ut=0,es="";const dn=()=>{ut===0&&(es=document.body.style.overflow,document.body.style.overflow="hidden"),ut+=1},un=()=>{ut!==0&&(ut-=1,ut===0&&(document.body.style.overflow=es))},pn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',ts=ve({name:"moz-popup",portal:!0,defaults:{title:"Popup",minWidth:300,minHeight:100,maxWidth:800,maxHeight:600,draggable:!0,resizeable:!1,keepAspectRatio:!1,disabledConfirmButton:!1,showCloseButton:!0,showHeader:!0,closeOnOutsideClick:!0,preset:"close",dialogIcon:"info",loading:!1,contentsPadding:"24px 16px",useVShow:!1,top:null,left:null,showFooterBorder:!0,focusTrap:!1,lockScroll:!1,showBackdrop:!0,autoPosition:!0,hideOthers:!1},setup(e){const t=N.createRef(),s=N.createRef(),n=Xe("moz-popup-title-"),i=Xe("moz-popup-desc-");let a=null,m=e.props.visible??!1,d=e.props.width,l=e.props.height;const h=()=>e.controlled("visible")?!!e.props.visible:m,r=C=>{e.controlled("visible")||(m=C),e.emit("update:visible",C),e.requestUpdate()},p=()=>e.controlled("width")?e.props.width:d,u=C=>{e.controlled("width")||(d=C),e.emit("update:width",C),e.requestUpdate()},v=()=>e.controlled("height")?e.props.height:l,$=C=>{e.controlled("height")||(l=C),e.emit("update:height",C),e.requestUpdate()};let R=0,b=0,y=!1;const V=!0;let S=null;const D={mouseDown:!1,dragging:!1,offset:{x:0,y:0}};let G=h(),Z=!1,J=!1,le=null,ue=[];const W=()=>{const C=t.value;if(C)for(const q of Array.from(document.body.children))q instanceof HTMLElement&&(q.contains(C)||q.getAttribute("aria-hidden")!=="true"&&(q.setAttribute("aria-hidden","true"),ue.push(q)))},z=()=>{for(const C of ue)C.removeAttribute("aria-hidden");ue=[]},K=()=>{const C=t.value;return C?Array.from(C.querySelectorAll(pn)).filter(q=>q.getAttribute("aria-hidden")!=="true"):[]},ee=()=>{const C=document.querySelectorAll(".moz-popup");return C.length>0&&C[C.length-1]===t.value},ne=()=>{a||(a=Nt(()=>A()))},Q=()=>{a==null||a.release(),a=null},B=()=>{Z||(Z=!0,ne(),e.props.lockScroll&&(dn(),J=!0),e.props.focusTrap&&(le=document.activeElement instanceof HTMLElement?document.activeElement:null,queueMicrotask(()=>{const C=t.value;!C||!h()||(K()[0]??C).focus()})),e.props.hideOthers&&queueMicrotask(()=>{h()&&W()}))},E=()=>{if(Q(),!Z)return;Z=!1,J&&(un(),J=!1),z();const C=le;le=null,C&&C.isConnected&&C.focus()},T=()=>{e.props.side||e.props.autoPosition===!1||queueMicrotask(()=>{const C=t.value;if(!C)return;const q=e.props;b=q.top!=null?q.top:window.innerHeight/2-C.offsetHeight/2,R=q.left!=null?q.left:window.innerWidth/2-C.offsetWidth/2,e.requestUpdate()})},U=()=>{!h()||e.props.side||e.props.autoPosition===!1||y||T()},k=()=>{h()||r(!0),e.emit("open"),T(),B()},L=async()=>{let C=!0;return e.props.onBeforeClose?C=await e.props.onBeforeClose()??!0:e.emit("close:before",C),C},A=async()=>{await L()&&h()&&(r(!1),e.props.onCancel?e.props.onCancel():e.emit("close"),e.emit("hidden"))},F=async()=>{let C=!0;return e.props.onBeforeConfirm?C=await e.props.onBeforeConfirm()??!0:e.emit("confirm:before",C),C},f=async()=>{await F()&&h()&&(r(!1),e.props.onConfirm?e.props.onConfirm():e.emit("confirm"),e.emit("hidden"))},O=()=>{e.props.onBeforeUnload&&e.props.onBeforeUnload()},Y=()=>{e.props.closeOnOutsideClick&&A()},X=C=>{C?k():(E(),O(),A())},we=(C,q)=>{document.addEventListener("mouseup",C),document.addEventListener("mousemove",q)},De=(C,q)=>{document.removeEventListener("mouseup",C),document.removeEventListener("mousemove",q)},Ne=C=>{const q=R-C.clientX,Ce=b-C.clientY;D.mouseDown=!0,D.offset.x=q,D.offset.y=Ce,e.emit("drag-start")},Oe=C=>{e.props.draggable&&(C.clientX===0&&S&&(C=S),C&&C.clientX&&C.clientY&&(R=C.clientX+D.offset.x,b=C.clientY+D.offset.y,y=!0,e.requestUpdate()))},c=C=>{C.clientX!==0&&C.clientY!==0&&(S=C),D.mouseDown&&V&&(D.dragging=!0,Oe(C))},x=()=>{D.dragging&&e.emit("drag-end"),D.mouseDown=!1,setTimeout(()=>{D.dragging=!1,De(x,c)},100)},j=C=>{e.props.side||e.props.autoPosition===!1||(C.preventDefault(),we(x,c),Ne(C))},ie=C=>{C.preventDefault();const q=t.value;if(!q)return;const Ce=q.getBoundingClientRect(),ke=p()??Ce.width,Ee=v()??Ce.height;if(!ke||!Ee)return;const Te=ke/Ee,Ve={x:C.clientX,y:C.clientY},Ue=e.props,Qe=Je=>{let Ze=Je.clientX-Ve.x,g=Je.clientY-Ve.y;if(Ue.keepAspectRatio){const te=Ze/Te;Math.abs(g)>Math.abs(te)?g=te:Ze=g*Te}const H=Math.max(Ue.minWidth,Math.min(ke+Ze,Ue.maxWidth));let I=Math.max(Ue.minHeight,Math.min(Ee+g,Ue.maxHeight));Ue.keepAspectRatio&&H/I!==Te&&(I=H/Te),u(H),$(I)},ot=()=>{document.removeEventListener("mousemove",Qe),document.removeEventListener("mouseup",ot)};document.addEventListener("mousemove",Qe),document.addEventListener("mouseup",ot)},ce=C=>{if(C.key==="Tab"&&e.props.focusTrap&&h()&&ee()){if(a&&!a.isTopmost())return;const q=t.value;if(!q)return;const Ce=K();if(Ce.length===0){C.preventDefault(),q.focus();return}const ke=Ce[0],Ee=Ce[Ce.length-1],Te=document.activeElement,Ve=Te instanceof Node&&q.contains(Te);C.shiftKey?(!Ve||Te===ke||Te===q)&&(C.preventDefault(),Ee.focus()):(!Ve||Te===Ee)&&(C.preventDefault(),ke.focus());return}};e.onCleanup(()=>{E(),window.removeEventListener("keydown",ce),window.removeEventListener("resize",U),O(),window.removeEventListener("unload",O),De(x,c)});const Se=()=>{const C=e.props;if(C.action)return C.action;const q=e.locale.Popup;switch(C.preset){case"save":return{positive:C.saveText??q.save,negative:C.cancelText??q.cancel};case"check":return{positive:C.okText??q.ok};case"close":return{negative:C.closeText??q.close};case"confirm":default:return{positive:C.okText??q.ok,negative:C.cancelText??q.cancel}}},be=C=>{switch(C){case"error":return ln("30","var(--moz-color-danger)","dialog-icon");case"info":return nn("30","var(--moz-color-accent)","dialog-icon");case"success":return rn("30","var(--moz-color-success)","dialog-icon");case"warning":return an("30","var(--moz-color-warning)","dialog-icon");default:return o.nothing}};return{api:{resetPosition:T},onMounted:()=>{window.addEventListener("keydown",ce),window.addEventListener("resize",U),window.addEventListener("unload",O),queueMicrotask(()=>e.emit("init",s.value??null)),h()&&(T(),B())},render(){const C=e.props,q=h();if(q!==G){const fe=q;G=q,fe?ne():Q(),queueMicrotask(()=>X(fe))}if(!(C.useVShow?!0:q))return o.nothing;const ke=C.useVShow?!q:!1,Ee=p(),Te=v(),Ve=C.side,Ue=!!Ve||C.autoPosition===!1,Qe={...$e(C.style),...Ee?{width:`${Le(Ee)}rem`}:{},...Te?{height:`${Le(Te)}rem`}:{},...Ue?{}:{left:`${Le(R)}rem`,top:`${Le(b)}rem`}},ot=!!C.draggable&&!Ue,Je=!!C.resizeable&&!Ve,Ze=typeof C.contentsPadding=="number"?`${Le(C.contentsPadding)}rem`:C.contentsPadding,g=Se(),H=ge(C,cn),I=e.slots.has("title")?e.slot("title"):o.html`<span class="truncate">${C.title}</span>`,te=e.slots.has("description"),se=e.slots.has("default")?e.slot("default"):o.html`<div class="moz-dialog-body">
805
805
  ${be(C.dialogIcon)}
806
806
  <div class="dialog-message">${C.dialogMessage!=null?Lo.unsafeHTML(C.dialogMessage):o.nothing}</div>
807
807
  </div>`,pe=e.slots.has("footer")?e.slot("footer",{onConfirm:f,onCancel:A}):o.html`
808
- ${g.positive?at({class:"preset-btn",loading:C.loading,disabled:C.disabledConfirmButton,style:"min-width: 80px"},{onClick:f,content:g.positive}):o.nothing}
809
- ${g.negative?at({class:"preset-btn",type:"outline",disabled:C.loading,style:"min-width: 80px"},{onClick:A,content:g.negative}):o.nothing}
808
+ ${g.positive?dt({class:"preset-btn",loading:C.loading,disabled:C.disabledConfirmButton,style:"min-width: 80px"},{onClick:f,content:g.positive}):o.nothing}
809
+ ${g.negative?dt({class:"preset-btn",type:"outline",disabled:C.loading,style:"min-width: 80px"},{onClick:A,content:g.negative}):o.nothing}
810
810
  `;return o.html`
811
811
  <div
812
812
  class=${M("moz-popup-container",C.class,Ve?`moz-popup-side moz-popup-side-${Ve}`:null,C.showBackdrop===!1?"moz-popup-no-backdrop":null)}
@@ -831,7 +831,7 @@
831
831
  @touchstart=${j}
832
832
  >
833
833
  ${I}
834
- ${C.showCloseButton?at({type:"icon",class:"close-button","aria-label":e.locale.Popup.close},{onClick:A,icon:sn("14","var(--moz-color-text-subtle)")}):o.nothing}
834
+ ${C.showCloseButton?dt({type:"icon",class:"close-button","aria-label":e.locale.Popup.close},{onClick:A,icon:sn("14","var(--moz-color-text-subtle)")}):o.nothing}
835
835
  </div>`}
836
836
  ${te?o.html`<div id=${i} class="moz-popup-description">${e.slot("description")}</div>`:o.nothing}
837
837
  <div class="moz-popup-body" style=${oe.styleMap({padding:Ze})} ${N.ref(s)}>${se}</div>
@@ -878,7 +878,7 @@
878
878
  d="M5.84944 0.402344C2.83893 0.402344 0.398438 2.84284 0.398438 5.85334C0.398438 8.86385 2.83893 11.3043 5.84944 11.3043C7.0308 11.3043 8.12438 10.9285 9.01716 10.29L12.0619 13.3347C12.4134 13.6862 12.9832 13.6862 13.3347 13.3347C13.6862 12.9832 13.6862 12.4134 13.3347 12.0619L10.2893 9.01651C10.9259 8.12457 11.3004 7.03269 11.3004 5.85334C11.3004 2.84284 8.85994 0.402344 5.84944 0.402344ZM2.19844 5.85334C2.19844 3.83695 3.83305 2.20234 5.84944 2.20234C7.86583 2.20234 9.50044 3.83695 9.50044 5.85334C9.50044 7.86974 7.86583 9.50434 5.84944 9.50434C3.83305 9.50434 2.19844 7.86974 2.19844 5.85334Z"
879
879
  fill=${i}
880
880
  ></path>
881
- </svg>`}const po=250,gt=24,mn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProp","rules","useObjBinding","useFilter","listWidth","placeholder","searchPlaceholder","emptyText","requiredMessage","modelValue","class","style"]);function fn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function gn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const os=ve({name:"moz-select",defaults:{label:null,width:200,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProp:"text",rules:[],useObjBinding:!1,useFilter:!0,listWidth:100,modelValue:null},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="";const v=Xe("moz-select-listbox-"),$={change:"",blur:"",save:""};let R=h();const b=()=>e.props.keyProp||"id",y=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>gt,measureElement:c=>c.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{B==null||B.release(),B=null}),e.onCleanup(y._didMount());const V=c=>{d=c??null,c&&(y._willUpdate(),e.requestUpdate())},S=c=>e.props.itemsSource?e.props.itemsSource.find(j=>j[b()]===c)??null:null,D=c=>c?typeof e.props.displayProp=="function"?e.props.displayProp(c):typeof c=="object"?c[e.props.displayProp]:String(c):"",G=()=>{const c=h();if(!c&&isNaN(Number(c)))return null;const x=e.props.useObjBinding?c:S(c);return x?typeof e.props.displayProp=="function"?e.props.displayProp(x):x[e.props.displayProp]:null},Z=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(x=>D(x).toLowerCase().indexOf(c)>-1)},J=c=>{if(!u)return[{part:c,highlight:!1}];const x=gn(u),j=new RegExp(`(${x})`,"gi");return c.split(j).map(ie=>({part:ie,highlight:u.toLowerCase()===ie.toLowerCase()}))},le=()=>$.save||$.blur||$.change,ue=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.Select.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...c,...e.props.rules??[]]},W=async(c,x)=>{const j=ue();if(j.length<=0||e.props.disabled)return!0;$[x]="",e.requestUpdate();const ie=j.filter(ce=>ce.type===x);for(const ce of ie)if(!await ce.validator(c))return $[x]=ce.message,e.requestUpdate(),!1;return!0},z=async(c="save")=>le()!==""?!1:await W(h(),c),K={validate:z,initValidator:()=>{$.change="",$.blur="",$.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(K),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(K)}));const ee=new pt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>po,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&E(!1)}});e.onCleanup(()=>ee.destroy());const ne=c=>{`${c.ctrlKey?"ctrl+":""}${c.altKey?"alt+":""}${c.key.toLowerCase()}`==="escape"&&E(!1)},Q=c=>{const j=gt*c-po/2;return Math.max(0,j+gt)};let B=null;const E=c=>{p!==c&&(p=c,e.requestUpdate(),c?(B=ht(),ee.open(),$.save="",window.addEventListener("keydown",ne),queueMicrotask(()=>{var j;const x=h();if(x&&d){const ie=(e.props.itemsSource??[]).findIndex(ce=>ce[b()]===x);d.scrollTop=Q(ie)}m.value?m.value.focus():(j=a.value)==null||j.focus()})):(B==null||B.release(),B=null,ee.close(),e.emit("close"),W(h(),"blur"),window.removeEventListener("keydown",ne),u="",e.emit("close"),queueMicrotask(()=>{var x;return(x=a.value)==null?void 0:x.focus()})))},T=()=>{var c;e.props.disabled||(E(!p),(c=a.value)==null||c.focus())},U=c=>{var x;r(c),E(!1),(x=a.value)==null||x.focus()},k=fn(c=>{u=c.target.value,e.requestUpdate(),queueMicrotask(()=>{const x=Z().length;y.setOptions({...y.options,count:x}),y.measure(),d&&(d.scrollTop=0,y.scrollToIndex(0),y.measure())})},300),L=c=>{var x;if(p){c.stopPropagation(),c.preventDefault();const j=m.value??((x=i.value)==null?void 0:x.querySelector("div:first-child"));j==null||j.focus()}},A=c=>{var Se,be,C;const x=((Se=n.value)==null?void 0:Se.querySelectorAll('[tabindex="0"]'))??[],j=[...Array.from(x)];m.value&&j.unshift(m.value);const ie=j[0],ce=j[j.length-1];(c.target===ie||c.target===ce)&&a.value&&(c.target===ie&&c.shiftKey?(c.stopPropagation(),c.preventDefault(),(be=a.value)==null||be.focus()):c.target===ce&&!c.shiftKey&&(c.stopPropagation(),c.preventDefault(),(C=a.value)==null||C.focus()))},F=c=>{d&&(c.shiftKey?d.scrollTop-=24:d.scrollTop+=24)},f=()=>{var x;const c=Array.from(((x=n.value)==null?void 0:x.querySelectorAll('[tabindex="0"]'))??[]);return m.value&&!c.includes(m.value)&&c.unshift(m.value),c},O=c=>{var ce;const x=f();if(x.length===0)return;const j=x.indexOf(document.activeElement),ie=j<0?c>0?0:x.length-1:Math.min(x.length-1,Math.max(0,j+c));(ce=x[ie])==null||ce.focus()},Y=c=>c.find(x=>x.getAttribute("aria-selected")==="true")??null,X=c=>{E(!0),queueMicrotask(()=>queueMicrotask(()=>{if(m.value)return;const x=f();x.length!==0&&(Y(x)??x[c<0?x.length-1:0]).focus()}))},we=()=>{var c;E(!1),(c=a.value)==null||c.focus()},De=c=>{if(c.key==="Tab"){L(c);return}if(c.key==="Enter"||c.key===" "){p||(c.preventDefault(),c.stopPropagation(),X(1));return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation();const x=c.key==="ArrowDown"?1:-1;p?O(x):X(x);return}c.key==="Escape"&&p&&(c.preventDefault(),we())},Ne=c=>{if(c.key==="Tab"){A(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),O(c.key==="ArrowDown"?1:-1);return}c.key==="Escape"&&(c.preventDefault(),we())},Oe=(c,x)=>{if(c.key==="Tab"){F(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation(),O(c.key==="ArrowDown"?1:-1);return}if(c.key==="Escape"){c.preventDefault(),c.stopPropagation(),we();return}(c.key==="Enter"||c.key===" ")&&U(x)};return{api:{validate:z},render(){const c=e.props,x=h();if(x!==R){R=x;const Ce=x;queueMicrotask(()=>{W(Ce,"change"),e.emit("change",c.useObjBinding?Ce:Ce&&Ce[b()],Ce)})}const j=typeof c.width=="number"?`${Le(c.width)}rem`:c.width,ie=ge(c,mn),{aria:ce,dom:Se}=ut(ie),be=e.slots.has("icon")?e.slot("icon",{isOpen:p}):p?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",c.disabled),C=o.html`<button
881
+ </svg>`}const po=250,at=24,mn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProp","rules","useObjBinding","useFilter","listWidth","placeholder","searchPlaceholder","emptyText","requiredMessage","modelValue","class","style"]);function fn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function gn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const os=ve({name:"moz-select",defaults:{label:null,width:200,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProp:"text",rules:[],useObjBinding:!1,useFilter:!0,listWidth:100,modelValue:null},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="";const v=Xe("moz-select-listbox-"),$={change:"",blur:"",save:""};let R=h();const b=()=>e.props.keyProp||"id",y=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>at,measureElement:c=>{const x=c.getBoundingClientRect().height;return x>0?x:at},overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{B==null||B.release(),B=null}),e.onCleanup(y._didMount());const V=c=>{d=c??null,c&&(y._willUpdate(),e.requestUpdate())},S=c=>e.props.itemsSource?e.props.itemsSource.find(j=>j[b()]===c)??null:null,D=c=>c?typeof e.props.displayProp=="function"?e.props.displayProp(c):typeof c=="object"?c[e.props.displayProp]:String(c):"",G=()=>{const c=h();if(!c&&isNaN(Number(c)))return null;const x=e.props.useObjBinding?c:S(c);return x?typeof e.props.displayProp=="function"?e.props.displayProp(x):x[e.props.displayProp]:null},Z=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(x=>D(x).toLowerCase().indexOf(c)>-1)},J=c=>{if(!u)return[{part:c,highlight:!1}];const x=gn(u),j=new RegExp(`(${x})`,"gi");return c.split(j).map(ie=>({part:ie,highlight:u.toLowerCase()===ie.toLowerCase()}))},le=()=>$.save||$.blur||$.change,ue=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.Select.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...c,...e.props.rules??[]]},W=async(c,x)=>{const j=ue();if(j.length<=0||e.props.disabled)return!0;$[x]="",e.requestUpdate();const ie=j.filter(ce=>ce.type===x);for(const ce of ie)if(!await ce.validator(c))return $[x]=ce.message,e.requestUpdate(),!1;return!0},z=async(c="save")=>le()!==""?!1:await W(h(),c),K={validate:z,initValidator:()=>{$.change="",$.blur="",$.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(K),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(K)}));const ee=new mt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>po,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&E(!1)}});e.onCleanup(()=>ee.destroy());const ne=c=>{`${c.ctrlKey?"ctrl+":""}${c.altKey?"alt+":""}${c.key.toLowerCase()}`==="escape"&&E(!1)},Q=c=>{const j=at*c-po/2;return Math.max(0,j+at)};let B=null;const E=c=>{p!==c&&(p=c,e.requestUpdate(),c?(B=ft(),ee.open(),$.save="",window.addEventListener("keydown",ne),queueMicrotask(()=>{var j;const x=h();if(x&&d){const ie=(e.props.itemsSource??[]).findIndex(ce=>ce[b()]===x);d.scrollTop=Q(ie)}m.value?m.value.focus():(j=a.value)==null||j.focus()})):(B==null||B.release(),B=null,ee.close(),e.emit("close"),W(h(),"blur"),window.removeEventListener("keydown",ne),u="",e.emit("close"),queueMicrotask(()=>{var x;return(x=a.value)==null?void 0:x.focus()})))},T=()=>{var c;e.props.disabled||(E(!p),(c=a.value)==null||c.focus())},U=c=>{var x;r(c),E(!1),(x=a.value)==null||x.focus()},k=fn(c=>{u=c.target.value,e.requestUpdate(),queueMicrotask(()=>{const x=Z().length;y.setOptions({...y.options,count:x}),y.measure(),d&&(d.scrollTop=0,y.scrollToIndex(0),y.measure())})},300),L=c=>{var x;if(p){c.stopPropagation(),c.preventDefault();const j=m.value??((x=i.value)==null?void 0:x.querySelector("div:first-child"));j==null||j.focus()}},A=c=>{var Se,be,C;const x=((Se=n.value)==null?void 0:Se.querySelectorAll('[tabindex="0"]'))??[],j=[...Array.from(x)];m.value&&j.unshift(m.value);const ie=j[0],ce=j[j.length-1];(c.target===ie||c.target===ce)&&a.value&&(c.target===ie&&c.shiftKey?(c.stopPropagation(),c.preventDefault(),(be=a.value)==null||be.focus()):c.target===ce&&!c.shiftKey&&(c.stopPropagation(),c.preventDefault(),(C=a.value)==null||C.focus()))},F=c=>{d&&(c.shiftKey?d.scrollTop-=24:d.scrollTop+=24)},f=()=>{var x;const c=Array.from(((x=n.value)==null?void 0:x.querySelectorAll('[tabindex="0"]'))??[]);return m.value&&!c.includes(m.value)&&c.unshift(m.value),c},O=c=>{var ce;const x=f();if(x.length===0)return;const j=x.indexOf(document.activeElement),ie=j<0?c>0?0:x.length-1:Math.min(x.length-1,Math.max(0,j+c));(ce=x[ie])==null||ce.focus()},Y=c=>c.find(x=>x.getAttribute("aria-selected")==="true")??null,X=c=>{E(!0),queueMicrotask(()=>queueMicrotask(()=>{if(m.value)return;const x=f();x.length!==0&&(Y(x)??x[c<0?x.length-1:0]).focus()}))},we=()=>{var c;E(!1),(c=a.value)==null||c.focus()},De=c=>{if(c.key==="Tab"){L(c);return}if(c.key==="Enter"||c.key===" "){p||(c.preventDefault(),c.stopPropagation(),X(1));return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation();const x=c.key==="ArrowDown"?1:-1;p?O(x):X(x);return}c.key==="Escape"&&p&&(c.preventDefault(),we())},Ne=c=>{if(c.key==="Tab"){A(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),O(c.key==="ArrowDown"?1:-1);return}c.key==="Escape"&&(c.preventDefault(),we())},Oe=(c,x)=>{if(c.key==="Tab"){F(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation(),O(c.key==="ArrowDown"?1:-1);return}if(c.key==="Escape"){c.preventDefault(),c.stopPropagation(),we();return}(c.key==="Enter"||c.key===" ")&&U(x)};return{api:{validate:z},render(){const c=e.props,x=h();if(x!==R){R=x;const Ce=x;queueMicrotask(()=>{W(Ce,"change"),e.emit("change",c.useObjBinding?Ce:Ce&&Ce[b()],Ce)})}const j=typeof c.width=="number"?`${Le(c.width)}rem`:c.width,ie=ge(c,mn),{aria:ce,dom:Se}=ht(ie),be=e.slots.has("icon")?e.slot("icon",{isOpen:p}):p?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",c.disabled),C=o.html`<button
882
882
  type="button"
883
883
  class="icon-container"
884
884
  ${de(ce)}
@@ -935,7 +935,7 @@
935
935
 
936
936
  ${le()!==""?o.html`<span class="moz-input-invalid-message">${le()}</span>`:o.nothing}
937
937
  </div>
938
- `},renderPortal(){if(!p)return o.nothing;const c=e.props,x=h(),j=b(),ie=Z();y.options.count!==ie.length&&y.setOptions({...y.options,count:ie.length}),y._willUpdate();const ce=Tt(y.getVirtualItems(),ie.length,gt,d),Se=y.getTotalSize(),be=ce.map(C=>{if(C.index>=ie.length)return null;const q=ie[C.index];return q?{index:C.index,value:q,size:C.size,start:C.start}:null}).filter(C=>C!==null);return o.html`<div
938
+ `},renderPortal(){if(!p)return o.nothing;const c=e.props,x=h(),j=b(),ie=Z();y.options.count!==ie.length&&y.setOptions({...y.options,count:ie.length}),y._willUpdate();const ce=Tt(y.getVirtualItems(),ie.length,at,d),Se=y.getTotalSize(),be=ce.map(C=>{if(C.index>=ie.length)return null;const q=ie[C.index];return q?{index:C.index,value:q,size:C.size,start:C.start}:null}).filter(C=>C!==null);return o.html`<div
939
939
  class=${M("list-box",{"no-label":!c.label})}
940
940
  @keydown=${Ne}
941
941
  ${N.ref(n)}
@@ -1003,7 +1003,7 @@
1003
1003
  d="M5.84944 0.402344C2.83893 0.402344 0.398438 2.84284 0.398438 5.85334C0.398438 8.86385 2.83893 11.3043 5.84944 11.3043C7.0308 11.3043 8.12438 10.9285 9.01716 10.29L12.0619 13.3347C12.4134 13.6862 12.9832 13.6862 13.3347 13.3347C13.6862 12.9832 13.6862 12.4134 13.3347 12.0619L10.2893 9.01651C10.9259 8.12457 11.3004 7.03269 11.3004 5.85334C11.3004 2.84284 8.85994 0.402344 5.84944 0.402344ZM2.19844 5.85334C2.19844 3.83695 3.83305 2.20234 5.84944 2.20234C7.86583 2.20234 9.50044 3.83695 9.50044 5.85334C9.50044 7.86974 7.86583 9.50434 5.84944 9.50434C3.83305 9.50434 2.19844 7.86974 2.19844 5.85334Z"
1004
1004
  fill=${i}
1005
1005
  ></path>
1006
- </svg>`}const yn=new Set(["itemsSource","inline","filterMode","filterValue","searchPlaceholder","preserveMissingValues","loading","loadingText","listBoxHeight","label","width","required","readonly","disabled","keyProp","displayProp","disabledProp","rules","useSelectAll","useFilter","headerFormat","listBoxWidth","useSpecificSelect","autoSelectNewItems","selectAllWhenEmpty","modelValue","class","style","dropdown-item-height"]);function $n(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ss=ve({name:"moz-multi-select",defaults:{inline:!1,filterMode:"local",preserveMissingValues:!1,loading:!1,listBoxHeight:224,label:null,width:200,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProp:"text",disabledProp:"disabled",rules:[],useSelectAll:!0,useFilter:!1,headerFormat:"ITEMS ({count})",listBoxWidth:0,useSpecificSelect:!0,autoSelectNewItems:!1,selectAllWhenEmpty:!1,modelValue:null},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=()=>e.props.keyProp||"id",l=()=>e.props.disabledProp||"disabled";let h=e.props.modelValue??null;const r=()=>{const g=e.controlled("modelValue")?e.props.modelValue:h;return Array.isArray(g)?g:[]},p=g=>{e.controlled("modelValue")||(h=g),e.emit("update:modelValue",g),e.requestUpdate()};let u=!1;const v=Xe("moz-multiselect-listbox-");let $=e.props.filterValue??"",R=!1,b=!1,y={},V=[];const S={change:"",blur:"",save:""};let D=e.props.itemsSource;const G=(()=>{const g=e.props["dropdown-item-height"];if(g!=null)return+g;try{return+getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height").trim().replace("px","")||24}catch{return 24}})(),Z=new Fe.Virtualizer({count:0,getScrollElement:()=>m,estimateSize:()=>G,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{C==null||C.release(),C=null}),e.onCleanup(Z._didMount());const J=g=>{m=g??null,g&&(Z._willUpdate(),e.requestUpdate())},le=g=>typeof e.props.displayProp=="function"?e.props.displayProp(g):typeof g=="object"?g[e.props.displayProp]??"":g,ue=()=>{const g=new Map;return(e.props.itemsSource??[]).forEach(H=>g.set(H[d()],H)),g},W=()=>{if(e.props.filterMode==="remote"||!$)return e.props.itemsSource??[];const g=$.toLowerCase();return(e.props.itemsSource??[]).filter(H=>le(H).toLowerCase().indexOf(g)>-1)},z=g=>{if(!$)return[{part:g,highlight:!1}];const H=$n($),I=new RegExp(`(${H})`,"gi");return g.split(I).map(te=>({part:te,highlight:$.toLowerCase()===te.toLowerCase()}))},K=g=>new Set(r()).has(g[d()]),ee=g=>V.some(H=>it(H.item,g)),ne=()=>{const g=r(),H=W();if(g.length<H.length||g.length===0||H.length===0)return!1;const I=new Set(g);return H.every(te=>I.has(te[d()]))},Q=()=>new Set(W().map(g=>g[d()])),B=()=>new Set(r()),E=()=>{const g=Q(),H=B();return!g.size||!H.size||H.size<g.size?!1:Array.from(g).every(I=>H.has(I))},T=()=>S.save||S.blur||S.change,U=()=>{const g=[];return e.props.required&&g.push({message:e.locale.MultiSelect.required.replace("{label}",e.props.label||""),type:"save",validator:H=>!!H.length}),[...g,...e.props.rules??[]]},k=async(g,H)=>{const I=U();if(I.length<=0)return;if(e.props.disabled)return!0;S[H]="",e.requestUpdate();const te=I.filter(se=>se.type===H);for(const se of te)if(!await se.validator(g))return S[H]=se.message,e.requestUpdate(),!1;return!0},L=async(g="save")=>T()!==""?!1:await k(r(),g)??!0,A={validate:L,initValidator:()=>{S.change="",S.blur="",S.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(A),e.onCleanup(()=>{var g;return(g=e.validator)==null?void 0:g.removeValidator(A)}));const F=g=>{if(e.props.disabled||e.props.readonly||e.props.loading)return;const H=ue(),I=new Set;r().forEach(se=>{const pe=H.get(se);(pe==null?void 0:pe[l()])===!0&&I.add(se)}),g.forEach(se=>{const pe=H.get(se);(pe&&pe[l()]!==!0||!pe&&e.props.preserveMissingValues)&&I.add(se)});const te=Array.from(I);it(r(),te)||(p(te),e.emit("change",te,te.map(se=>H.get(se)).filter(Boolean)),k(te,"change"))},f=(g,H)=>g.filter(I=>K(I)!==H).map(I=>I[d()]),O=(g,H,I)=>{if(I.shiftKey&&V.length>0){const te=V[0],se=Math.min(te.index,H),pe=Math.max(te.index,H);V=W().slice(se,pe+1).map((fe,ye)=>({item:fe,index:se+ye}))}else I.ctrlKey?V.push({item:g,index:H}):V=[{item:g,index:H}];return V.length},Y=(g=!0)=>{const H=V.map(se=>se.item),I=f(H,g);let te=r();g?te=[...te,...I]:te=te.filter(se=>!I.some(pe=>se===pe)),F(te)},X=(g,H,I)=>{if(g[l()]===!0)return;const te=V.some(pe=>pe.item[d()]===g[d()]);(V.length<=1||!te)&&O(g,H,{shiftKey:!1,ctrlKey:!1});const se=r().some(pe=>pe===g[d()]);Y(!se),I.stopPropagation()},we=(g,H,I)=>{g[l()]!==!0&&(!I.ctrlKey&&!I.shiftKey&&V.length<=1&&X(g,H,I),O(g,H,I),e.requestUpdate())},De=(g,H,I)=>{if(g[l()]===!0)return;const te=r(),se=B().size!==0&&te.every(pe=>pe===g[d()]);F(se?[]:[g[d()]]),O(g,H,I),I.stopPropagation()},Ne=g=>{g.stopPropagation();const H=Q().size===B().size&&[...Q()].every(I=>B().has(I));if(ne()&&H){const I=new Set((e.props.itemsSource??[]).filter(te=>te[l()]===!0).map(te=>te[d()]));F(Array.from(I))}else{const I=new Set(W().filter(te=>te[l()]!==!0).map(te=>te[d()]));F(Array.from(I))}},Oe=g=>{if(g.stopPropagation(),E()){const H=Q();F(r().filter(I=>!H.has(I)))}else{const H=new Set([...r(),...Q()]);F(Array.from(H))}},c=g=>{R=g.target.scrollTop>0,e.requestUpdate()},x=()=>{const g=r();if(!(g!=null&&g.length))return"";const H=ue(),I=g.map(se=>H.get(se)).filter(Boolean).map(se=>typeof e.props.displayProp=="function"?e.props.displayProp(se):se[e.props.displayProp]||""),te=e.props.itemsSource??[];return I.length===te.length&&I.length>2?`${e.props.headerFormat.replace(/\{count(:.*?)?}/g,"ALL")}`:I.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${I.length.toLocaleString()}`):I.join(", ")||""},j=(g,H,I=10)=>{const te=window.innerHeight||document.documentElement.clientHeight,se=window.innerWidth||document.documentElement.clientWidth,pe=g.getBoundingClientRect(),fe=H.getBoundingClientRect(),ye=pe.bottom+fe.height+I>te;if(!ye)return!1;const Me=pe.top-fe.height-I<0,We=pe.right+fe.width+I>se,et=pe.left-fe.width-I<0;return ye&&!Me||We&&!et},ie=()=>{const g=s.value;if(!g)return;const H=g.getBoundingClientRect();let I=`${H.width}px`;e.props.listBoxWidth&&(I=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),y={width:String(I),left:`${H.left}px`,top:`${H.top+(b?0:H.height)}px`},e.requestUpdate()},ce=g=>{var H;(H=n.value)!=null&&H.contains(g.target)||q(!1)},Se=g=>{var H,I;!((H=t.value)!=null&&H.contains(g.target))&&!((I=n.value)!=null&&I.contains(g.target))&&(q(!1),document.removeEventListener("click",Se,{capture:!0}))},be=g=>{var I;`${g.ctrlKey?"ctrl+":""}${g.altKey?"alt+":""}${g.key.toLowerCase()}`==="escape"&&(q(!1),(I=i.value)==null||I.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",ce,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),window.removeEventListener("keydown",be)});let C=null;const q=g=>{if(u===g)return;const H=u;if(u=g,e.requestUpdate(),g)C=ht(),document.body.addEventListener("scroll",ce,{capture:!0}),document.addEventListener("click",Se,{capture:!0}),S.save="",window.addEventListener("keydown",be),ie(),queueMicrotask(()=>{var I;s.value&&m&&(b=j(s.value,m)),ie(),Z.measure(),m&&(m.scrollTop=0),a.value?a.value.focus():(I=i.value)==null||I.focus()});else if(C==null||C.release(),C=null,$="",a.value&&(a.value.value=""),document.body.removeEventListener("scroll",ce,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),k(r(),"blur"),window.removeEventListener("keydown",be),H&&!g){const I=r();if(e.props.selectAllWhenEmpty&&(!I||I.length===0)){const te=(e.props.itemsSource??[]).filter(se=>se[l()]!==!0).map(se=>se[d()]);te.length>0&&(p(te),e.emit("change",te,(e.props.itemsSource??[]).filter(se=>te.includes(se[d()]))))}e.emit("close")}},Ce=g=>{var H;if(u){g.stopPropagation(),g.preventDefault();const I=(H=n.value)==null?void 0:H.querySelector("input:first-child, button:first-child");I==null||I.focus()}},ke=g=>{var se,pe,fe;const H=((se=n.value)==null?void 0:se.querySelectorAll("input, button"))??[],I=H[0],te=H[H.length-1];(g.target===I||g.target===te)&&i.value&&(g.target===I&&g.shiftKey?(g.stopPropagation(),g.preventDefault(),(pe=i.value)==null||pe.focus()):g.target===te&&!g.shiftKey&&(g.stopPropagation(),g.preventDefault(),(fe=i.value)==null||fe.focus()))},Ee=g=>{g.key==="Tab"&&Ce(g)},Te=g=>{!e.props.inline&&g.key==="Tab"&&ke(g)},Ve=g=>{!u&&!e.props.inline||($=g.target.value,V=[],e.emit("update:filterValue",$),e.requestUpdate(),queueMicrotask(()=>{Z.setOptions({...Z.options,count:W().length}),Z.measure(),m&&(m.scrollTop=0)}))},Ue=()=>{var g;e.props.disabled||(q(!u),(g=i.value)==null||g.focus())},Qe=(g,H)=>{var I,te;if(g.key==="Enter"||g.key===" "){g.preventDefault(),g.stopPropagation(),H();return}if(g.key==="ArrowDown"||g.key==="ArrowUp"){g.preventDefault(),g.stopPropagation();const se=Array.from(((I=n.value)==null?void 0:I.querySelectorAll('[tabindex="0"]'))??[]),pe=se.indexOf(g.currentTarget),fe=se[pe+(g.key==="ArrowDown"?1:-1)];fe==null||fe.focus();return}g.key==="Escape"&&!e.props.inline&&(g.preventDefault(),g.stopPropagation(),q(!1),(te=i.value)==null||te.focus())},ot=(g,H)=>{we(g,H,{ctrlKey:!1,shiftKey:!1,stopPropagation(){}})},Je=(g,H)=>{if(V=[],e.props.preserveMissingValues||JSON.stringify(g)===JSON.stringify(H))return;const I=new Set(g.map(se=>se[d()])),te=r();if(e.props.autoSelectNewItems&&H){const se=new Set(H.map(fe=>fe[d()])),pe=g.filter(fe=>!se.has(fe[d()])).map(fe=>fe[d()]);if(pe.length>0){const fe=te.filter(ye=>I.has(ye));p([...new Set([...fe,...pe])])}else p(te.filter(fe=>I.has(fe)))}else{const se=te.filter(pe=>I.has(pe));if(it(te,se))return;p(se)}},Ze=()=>{const g=e.props,H=d(),I=g.loading?[]:W();Z.options.count!==I.length&&Z.setOptions({...Z.options,count:I.length}),Z._willUpdate();const te=new Set(r()),se=Tt(Z.getVirtualItems(),I.length,G,m).map(ye=>{if(ye.index>=I.length)return null;const Me=I[ye.index];return Me?{index:ye.index,value:Me,size:ye.size,start:ye.start,isSelected:te.has(Me[H]),isDisabled:!!g.disabled||!!g.readonly||Me[l()]===!0,isFocused:ee(Me)}:null}).filter(ye=>ye!==null),pe=Z.getTotalSize(),fe=$?e.locale.MultiSelect.selectFiltered:e.locale.MultiSelect.selectAll;return o.html`<div
1006
+ </svg>`}const yn=new Set(["itemsSource","inline","filterMode","filterValue","searchPlaceholder","preserveMissingValues","loading","loadingText","listBoxHeight","label","width","required","readonly","disabled","keyProp","displayProp","disabledProp","rules","useSelectAll","useFilter","headerFormat","listBoxWidth","useSpecificSelect","autoSelectNewItems","selectAllWhenEmpty","modelValue","class","style","dropdown-item-height"]);function $n(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ss=ve({name:"moz-multi-select",defaults:{inline:!1,filterMode:"local",preserveMissingValues:!1,loading:!1,listBoxHeight:224,label:null,width:200,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProp:"text",disabledProp:"disabled",rules:[],useSelectAll:!0,useFilter:!1,headerFormat:"ITEMS ({count})",listBoxWidth:0,useSpecificSelect:!0,autoSelectNewItems:!1,selectAllWhenEmpty:!1,modelValue:null},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=()=>e.props.keyProp||"id",l=()=>e.props.disabledProp||"disabled";let h=e.props.modelValue??null;const r=()=>{const g=e.controlled("modelValue")?e.props.modelValue:h;return Array.isArray(g)?g:[]},p=g=>{e.controlled("modelValue")||(h=g),e.emit("update:modelValue",g),e.requestUpdate()};let u=!1;const v=Xe("moz-multiselect-listbox-");let $=e.props.filterValue??"",R=!1,b=!1,y={},V=[];const S={change:"",blur:"",save:""};let D=e.props.itemsSource;const G=(()=>{const g=e.props["dropdown-item-height"];if(g!=null)return+g;try{return+getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height").trim().replace("px","")||24}catch{return 24}})(),Z=new Fe.Virtualizer({count:0,getScrollElement:()=>m,estimateSize:()=>G,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{C==null||C.release(),C=null}),e.onCleanup(Z._didMount());const J=g=>{m=g??null,g&&(Z._willUpdate(),e.requestUpdate())},le=g=>typeof e.props.displayProp=="function"?e.props.displayProp(g):typeof g=="object"?g[e.props.displayProp]??"":g,ue=()=>{const g=new Map;return(e.props.itemsSource??[]).forEach(H=>g.set(H[d()],H)),g},W=()=>{if(e.props.filterMode==="remote"||!$)return e.props.itemsSource??[];const g=$.toLowerCase();return(e.props.itemsSource??[]).filter(H=>le(H).toLowerCase().indexOf(g)>-1)},z=g=>{if(!$)return[{part:g,highlight:!1}];const H=$n($),I=new RegExp(`(${H})`,"gi");return g.split(I).map(te=>({part:te,highlight:$.toLowerCase()===te.toLowerCase()}))},K=g=>new Set(r()).has(g[d()]),ee=g=>V.some(H=>it(H.item,g)),ne=()=>{const g=r(),H=W();if(g.length<H.length||g.length===0||H.length===0)return!1;const I=new Set(g);return H.every(te=>I.has(te[d()]))},Q=()=>new Set(W().map(g=>g[d()])),B=()=>new Set(r()),E=()=>{const g=Q(),H=B();return!g.size||!H.size||H.size<g.size?!1:Array.from(g).every(I=>H.has(I))},T=()=>S.save||S.blur||S.change,U=()=>{const g=[];return e.props.required&&g.push({message:e.locale.MultiSelect.required.replace("{label}",e.props.label||""),type:"save",validator:H=>!!H.length}),[...g,...e.props.rules??[]]},k=async(g,H)=>{const I=U();if(I.length<=0)return;if(e.props.disabled)return!0;S[H]="",e.requestUpdate();const te=I.filter(se=>se.type===H);for(const se of te)if(!await se.validator(g))return S[H]=se.message,e.requestUpdate(),!1;return!0},L=async(g="save")=>T()!==""?!1:await k(r(),g)??!0,A={validate:L,initValidator:()=>{S.change="",S.blur="",S.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(A),e.onCleanup(()=>{var g;return(g=e.validator)==null?void 0:g.removeValidator(A)}));const F=g=>{if(e.props.disabled||e.props.readonly||e.props.loading)return;const H=ue(),I=new Set;r().forEach(se=>{const pe=H.get(se);(pe==null?void 0:pe[l()])===!0&&I.add(se)}),g.forEach(se=>{const pe=H.get(se);(pe&&pe[l()]!==!0||!pe&&e.props.preserveMissingValues)&&I.add(se)});const te=Array.from(I);it(r(),te)||(p(te),e.emit("change",te,te.map(se=>H.get(se)).filter(Boolean)),k(te,"change"))},f=(g,H)=>g.filter(I=>K(I)!==H).map(I=>I[d()]),O=(g,H,I)=>{if(I.shiftKey&&V.length>0){const te=V[0],se=Math.min(te.index,H),pe=Math.max(te.index,H);V=W().slice(se,pe+1).map((fe,ye)=>({item:fe,index:se+ye}))}else I.ctrlKey?V.push({item:g,index:H}):V=[{item:g,index:H}];return V.length},Y=(g=!0)=>{const H=V.map(se=>se.item),I=f(H,g);let te=r();g?te=[...te,...I]:te=te.filter(se=>!I.some(pe=>se===pe)),F(te)},X=(g,H,I)=>{if(g[l()]===!0)return;const te=V.some(pe=>pe.item[d()]===g[d()]);(V.length<=1||!te)&&O(g,H,{shiftKey:!1,ctrlKey:!1});const se=r().some(pe=>pe===g[d()]);Y(!se),I.stopPropagation()},we=(g,H,I)=>{g[l()]!==!0&&(!I.ctrlKey&&!I.shiftKey&&V.length<=1&&X(g,H,I),O(g,H,I),e.requestUpdate())},De=(g,H,I)=>{if(g[l()]===!0)return;const te=r(),se=B().size!==0&&te.every(pe=>pe===g[d()]);F(se?[]:[g[d()]]),O(g,H,I),I.stopPropagation()},Ne=g=>{g.stopPropagation();const H=Q().size===B().size&&[...Q()].every(I=>B().has(I));if(ne()&&H){const I=new Set((e.props.itemsSource??[]).filter(te=>te[l()]===!0).map(te=>te[d()]));F(Array.from(I))}else{const I=new Set(W().filter(te=>te[l()]!==!0).map(te=>te[d()]));F(Array.from(I))}},Oe=g=>{if(g.stopPropagation(),E()){const H=Q();F(r().filter(I=>!H.has(I)))}else{const H=new Set([...r(),...Q()]);F(Array.from(H))}},c=g=>{R=g.target.scrollTop>0,e.requestUpdate()},x=()=>{const g=r();if(!(g!=null&&g.length))return"";const H=ue(),I=g.map(se=>H.get(se)).filter(Boolean).map(se=>typeof e.props.displayProp=="function"?e.props.displayProp(se):se[e.props.displayProp]||""),te=e.props.itemsSource??[];return I.length===te.length&&I.length>2?`${e.props.headerFormat.replace(/\{count(:.*?)?}/g,"ALL")}`:I.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${I.length.toLocaleString()}`):I.join(", ")||""},j=(g,H,I=10)=>{const te=window.innerHeight||document.documentElement.clientHeight,se=window.innerWidth||document.documentElement.clientWidth,pe=g.getBoundingClientRect(),fe=H.getBoundingClientRect(),ye=pe.bottom+fe.height+I>te;if(!ye)return!1;const Me=pe.top-fe.height-I<0,We=pe.right+fe.width+I>se,et=pe.left-fe.width-I<0;return ye&&!Me||We&&!et},ie=()=>{const g=s.value;if(!g)return;const H=g.getBoundingClientRect();let I=`${H.width}px`;e.props.listBoxWidth&&(I=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),y={width:String(I),left:`${H.left}px`,top:`${H.top+(b?0:H.height)}px`},e.requestUpdate()},ce=g=>{var H;(H=n.value)!=null&&H.contains(g.target)||q(!1)},Se=g=>{var H,I;!((H=t.value)!=null&&H.contains(g.target))&&!((I=n.value)!=null&&I.contains(g.target))&&(q(!1),document.removeEventListener("click",Se,{capture:!0}))},be=g=>{var I;`${g.ctrlKey?"ctrl+":""}${g.altKey?"alt+":""}${g.key.toLowerCase()}`==="escape"&&(q(!1),(I=i.value)==null||I.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",ce,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),window.removeEventListener("keydown",be)});let C=null;const q=g=>{if(u===g)return;const H=u;if(u=g,e.requestUpdate(),g)C=ft(),document.body.addEventListener("scroll",ce,{capture:!0}),document.addEventListener("click",Se,{capture:!0}),S.save="",window.addEventListener("keydown",be),ie(),queueMicrotask(()=>{var I;s.value&&m&&(b=j(s.value,m)),ie(),Z.measure(),m&&(m.scrollTop=0),a.value?a.value.focus():(I=i.value)==null||I.focus()});else if(C==null||C.release(),C=null,$="",a.value&&(a.value.value=""),document.body.removeEventListener("scroll",ce,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),k(r(),"blur"),window.removeEventListener("keydown",be),H&&!g){const I=r();if(e.props.selectAllWhenEmpty&&(!I||I.length===0)){const te=(e.props.itemsSource??[]).filter(se=>se[l()]!==!0).map(se=>se[d()]);te.length>0&&(p(te),e.emit("change",te,(e.props.itemsSource??[]).filter(se=>te.includes(se[d()]))))}e.emit("close")}},Ce=g=>{var H;if(u){g.stopPropagation(),g.preventDefault();const I=(H=n.value)==null?void 0:H.querySelector("input:first-child, button:first-child");I==null||I.focus()}},ke=g=>{var se,pe,fe;const H=((se=n.value)==null?void 0:se.querySelectorAll("input, button"))??[],I=H[0],te=H[H.length-1];(g.target===I||g.target===te)&&i.value&&(g.target===I&&g.shiftKey?(g.stopPropagation(),g.preventDefault(),(pe=i.value)==null||pe.focus()):g.target===te&&!g.shiftKey&&(g.stopPropagation(),g.preventDefault(),(fe=i.value)==null||fe.focus()))},Ee=g=>{g.key==="Tab"&&Ce(g)},Te=g=>{!e.props.inline&&g.key==="Tab"&&ke(g)},Ve=g=>{!u&&!e.props.inline||($=g.target.value,V=[],e.emit("update:filterValue",$),e.requestUpdate(),queueMicrotask(()=>{Z.setOptions({...Z.options,count:W().length}),Z.measure(),m&&(m.scrollTop=0)}))},Ue=()=>{var g;e.props.disabled||(q(!u),(g=i.value)==null||g.focus())},Qe=(g,H)=>{var I,te;if(g.key==="Enter"||g.key===" "){g.preventDefault(),g.stopPropagation(),H();return}if(g.key==="ArrowDown"||g.key==="ArrowUp"){g.preventDefault(),g.stopPropagation();const se=Array.from(((I=n.value)==null?void 0:I.querySelectorAll('[tabindex="0"]'))??[]),pe=se.indexOf(g.currentTarget),fe=se[pe+(g.key==="ArrowDown"?1:-1)];fe==null||fe.focus();return}g.key==="Escape"&&!e.props.inline&&(g.preventDefault(),g.stopPropagation(),q(!1),(te=i.value)==null||te.focus())},ot=(g,H)=>{we(g,H,{ctrlKey:!1,shiftKey:!1,stopPropagation(){}})},Je=(g,H)=>{if(V=[],e.props.preserveMissingValues||JSON.stringify(g)===JSON.stringify(H))return;const I=new Set(g.map(se=>se[d()])),te=r();if(e.props.autoSelectNewItems&&H){const se=new Set(H.map(fe=>fe[d()])),pe=g.filter(fe=>!se.has(fe[d()])).map(fe=>fe[d()]);if(pe.length>0){const fe=te.filter(ye=>I.has(ye));p([...new Set([...fe,...pe])])}else p(te.filter(fe=>I.has(fe)))}else{const se=te.filter(pe=>I.has(pe));if(it(te,se))return;p(se)}},Ze=()=>{const g=e.props,H=d(),I=g.loading?[]:W();Z.options.count!==I.length&&Z.setOptions({...Z.options,count:I.length}),Z._willUpdate();const te=new Set(r()),se=Tt(Z.getVirtualItems(),I.length,G,m).map(ye=>{if(ye.index>=I.length)return null;const Me=I[ye.index];return Me?{index:ye.index,value:Me,size:ye.size,start:ye.start,isSelected:te.has(Me[H]),isDisabled:!!g.disabled||!!g.readonly||Me[l()]===!0,isFocused:ee(Me)}:null}).filter(ye=>ye!==null),pe=Z.getTotalSize(),fe=$?e.locale.MultiSelect.selectFiltered:e.locale.MultiSelect.selectAll;return o.html`<div
1007
1007
  class=${M("list-box",{"no-label":!g.label,"show-top":b,"moz-multiselect-inline-list":!!g.inline},g.class)}
1008
1008
  style=${oe.styleMap(g.inline?{"--moz-multiselect-list-height":`${g.listBoxHeight??224}px`}:y)}
1009
1009
  @keydown=${Te}
@@ -1087,7 +1087,7 @@
1087
1087
  ${g.loading?g.loadingText??"Loading…":e.slots.has("empty")?e.slot("empty"):e.locale.MultiSelect.noData}
1088
1088
  </div>`:o.nothing}
1089
1089
  </div>
1090
- </div>`};return{api:{validate:L},render(){const g=e.props;if(e.controlled("filterValue")&&($=g.filterValue??""),g.itemsSource!==D){const fe=D,ye=g.itemsSource;D=g.itemsSource,queueMicrotask(()=>Je(ye??[],fe??[]))}const H=typeof g.width=="number"?`${Le(g.width)}rem`:g.width,I=ge(g,yn),{aria:te,dom:se}=ut(I);if(g.inline)return o.html`<div class="moz-multi-select moz-multi-select-inline"
1090
+ </div>`};return{api:{validate:L},render(){const g=e.props;if(e.controlled("filterValue")&&($=g.filterValue??""),g.itemsSource!==D){const fe=D,ye=g.itemsSource;D=g.itemsSource,queueMicrotask(()=>Je(ye??[],fe??[]))}const H=typeof g.width=="number"?`${Le(g.width)}rem`:g.width,I=ge(g,yn),{aria:te,dom:se}=ht(I);if(g.inline)return o.html`<div class="moz-multi-select moz-multi-select-inline"
1091
1091
  style=${oe.styleMap({width:H,...$e(g.style)})}
1092
1092
  ${N.ref(t)}>${Ze()}</div>`;const pe=e.slots.has("icon")?e.slot("icon",{isOpen:u}):u?Cn("14","var(--moz-color-accent)"):wn("14",g.disabled?"var(--moz-color-text-muted)":"var(--moz-color-text-subtle)");return o.html`
1093
1093
  <div
@@ -1152,7 +1152,7 @@
1152
1152
  transform="translate(-829.971 -686.318)"
1153
1153
  ></path>
1154
1154
  </g>
1155
- </svg>`}const En=new Set(["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required","class","style"]),Pn=Array.from({length:24},(e,t)=>t),xn=Array.from({length:60},(e,t)=>t),ns=ve({name:"moz-time-picker",defaults:{width:"160px",modelValue:"09:00",label:"",disabled:!1,required:!1},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=!1,l=9,h=0,r="",p="";const u=z=>{if(z&&z.includes(":")){const[K,ee]=z.split(":").map(Number);!isNaN(K)&&!isNaN(ee)&&(l=K,h=ee,r=z,p=z)}};u(e.props.modelValue);let v=e.props.modelValue,$=r;const R=new pt({anchor:()=>s.value??null,panel:()=>i.value??null,maxHeight:()=>210,container:()=>t.value??null,listWidth:()=>"160px",requestClose:()=>{d&&y(!1)}});e.onCleanup(()=>R.destroy());const b=()=>{a.value&&(a.value.scrollTop=l*24-72),m.value&&(m.value.scrollTop=h*24-72)},y=z=>{d!==z&&(d=z,e.requestUpdate(),z?(R.open(),queueMicrotask(b)):R.close())},V=()=>{const z=`${l.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`;r=z,p=z,e.emit("update:modelValue",z),e.requestUpdate()},S=z=>{l=z,V()},D=z=>{h=z,y(!1),V()},G=()=>{l=new Date().getHours(),h=new Date().getMinutes(),V(),y(!1)},Z=z=>{let K=z.replace(/[^\d:]/g,"");return K.length>5&&(K=K.slice(0,5)),K},J=z=>{y(!1);const K=z.target,ee=z.key;if(!/^\d$/.test(ee))return;const ne=K.selectionStart||0,Q=r;if(K.selectionStart!==K.selectionEnd||ne>=Q.length)return;z.preventDefault();const B=Q.replace(/:/g,""),E=(Q.slice(0,ne).match(/:/g)||[]).length,T=ne-E;let U=B.substring(0,T)+ee;T+1<B.length&&(U+=B.substring(T+1)),U.length>4&&(U=U.slice(0,4));let k=U,L=T+1;if(U.length>=2){const A=U.slice(0,2),F=U.slice(2);k=`${A}:${F}`,L>2&&(L=L+1)}r=k,p=k,e.requestUpdate(),queueMicrotask(()=>K.setSelectionRange(L,L))},le=z=>{const K=z.target,ee=K.selectionStart||0,ne=p;let Q=K.value;const B=Q.length<ne.length;Q=Z(Q);const E=Q.replace(/:/g,"");if(!B&&E.length>=2){const T=(Q.slice(0,ee).match(/:/g)||[]).length,U=ee-T,k=E.slice(0,2),L=E.slice(2);Q=k+(L?`:${L}`:":");let A=U;U>2&&(A=U+1),r=Q,p=Q,e.requestUpdate(),setTimeout(()=>K.setSelectionRange(A,A),0);return}r=Q,p=Q,e.requestUpdate()},ue=()=>y(!0),W=()=>{if(!r){V();return}let z=r;!z.includes(":")&&z.length>=2&&(z=`${z.slice(0,2)}:${z.slice(2)}`);const K=z.split(":");let ee=l,ne=h;if(K[0]){const Q=parseInt(K[0],10);isNaN(Q)||(Q>=0&&Q<=23?ee=Q:Q>23?ee=23:ee=0)}if(K[1]){const Q=parseInt(K[1],10);isNaN(Q)||(Q>=0&&Q<=59?ne=Q:Q>59?ne=59:ne=0)}l=ee,h=ne,V()};return{render(){const z=e.props;if(z.modelValue!==v&&(v=z.modelValue,u(z.modelValue)),r!==$){$=r;const B=r;if(/^\d{2}:\d{2}$/.test(B)){const[E,T]=B.split(":").map(Number);!isNaN(E)&&!isNaN(T)&&E>=0&&E<=23&&T>=0&&T<=59&&B!==z.modelValue&&(l=E,h=T,queueMicrotask(()=>e.emit("update:modelValue",B)))}}const K=z.disabled?"var(--moz-color-text-muted)":d?"var(--moz-color-accent)":"var(--moz-color-text-subtle)",ee=ge(z,En),ne="__:__",Q=[];for(let B=0;B<ne.length;B++)B<r.length?Q.push({char:r[B],isInput:!0}):Q.push({char:ne[B],isInput:!1});return o.html`
1155
+ </svg>`}const En=new Set(["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required","class","style"]),Pn=Array.from({length:24},(e,t)=>t),xn=Array.from({length:60},(e,t)=>t),ns=ve({name:"moz-time-picker",defaults:{width:"160px",modelValue:"09:00",label:"",disabled:!1,required:!1},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=!1,l=9,h=0,r="",p="";const u=z=>{if(z&&z.includes(":")){const[K,ee]=z.split(":").map(Number);!isNaN(K)&&!isNaN(ee)&&(l=K,h=ee,r=z,p=z)}};u(e.props.modelValue);let v=e.props.modelValue,$=r;const R=new mt({anchor:()=>s.value??null,panel:()=>i.value??null,maxHeight:()=>210,container:()=>t.value??null,listWidth:()=>"160px",requestClose:()=>{d&&y(!1)}});e.onCleanup(()=>R.destroy());const b=()=>{a.value&&(a.value.scrollTop=l*24-72),m.value&&(m.value.scrollTop=h*24-72)},y=z=>{d!==z&&(d=z,e.requestUpdate(),z?(R.open(),queueMicrotask(b)):R.close())},V=()=>{const z=`${l.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`;r=z,p=z,e.emit("update:modelValue",z),e.requestUpdate()},S=z=>{l=z,V()},D=z=>{h=z,y(!1),V()},G=()=>{l=new Date().getHours(),h=new Date().getMinutes(),V(),y(!1)},Z=z=>{let K=z.replace(/[^\d:]/g,"");return K.length>5&&(K=K.slice(0,5)),K},J=z=>{y(!1);const K=z.target,ee=z.key;if(!/^\d$/.test(ee))return;const ne=K.selectionStart||0,Q=r;if(K.selectionStart!==K.selectionEnd||ne>=Q.length)return;z.preventDefault();const B=Q.replace(/:/g,""),E=(Q.slice(0,ne).match(/:/g)||[]).length,T=ne-E;let U=B.substring(0,T)+ee;T+1<B.length&&(U+=B.substring(T+1)),U.length>4&&(U=U.slice(0,4));let k=U,L=T+1;if(U.length>=2){const A=U.slice(0,2),F=U.slice(2);k=`${A}:${F}`,L>2&&(L=L+1)}r=k,p=k,e.requestUpdate(),queueMicrotask(()=>K.setSelectionRange(L,L))},le=z=>{const K=z.target,ee=K.selectionStart||0,ne=p;let Q=K.value;const B=Q.length<ne.length;Q=Z(Q);const E=Q.replace(/:/g,"");if(!B&&E.length>=2){const T=(Q.slice(0,ee).match(/:/g)||[]).length,U=ee-T,k=E.slice(0,2),L=E.slice(2);Q=k+(L?`:${L}`:":");let A=U;U>2&&(A=U+1),r=Q,p=Q,e.requestUpdate(),setTimeout(()=>K.setSelectionRange(A,A),0);return}r=Q,p=Q,e.requestUpdate()},ue=()=>y(!0),W=()=>{if(!r){V();return}let z=r;!z.includes(":")&&z.length>=2&&(z=`${z.slice(0,2)}:${z.slice(2)}`);const K=z.split(":");let ee=l,ne=h;if(K[0]){const Q=parseInt(K[0],10);isNaN(Q)||(Q>=0&&Q<=23?ee=Q:Q>23?ee=23:ee=0)}if(K[1]){const Q=parseInt(K[1],10);isNaN(Q)||(Q>=0&&Q<=59?ne=Q:Q>59?ne=59:ne=0)}l=ee,h=ne,V()};return{render(){const z=e.props;if(z.modelValue!==v&&(v=z.modelValue,u(z.modelValue)),r!==$){$=r;const B=r;if(/^\d{2}:\d{2}$/.test(B)){const[E,T]=B.split(":").map(Number);!isNaN(E)&&!isNaN(T)&&E>=0&&E<=23&&T>=0&&T<=59&&B!==z.modelValue&&(l=E,h=T,queueMicrotask(()=>e.emit("update:modelValue",B)))}}const K=z.disabled?"var(--moz-color-text-muted)":d?"var(--moz-color-accent)":"var(--moz-color-text-subtle)",ee=ge(z,En),ne="__:__",Q=[];for(let B=0;B<ne.length;B++)B<r.length?Q.push({char:r[B],isInput:!0}):Q.push({char:ne[B],isInput:!1});return o.html`
1156
1156
  <div
1157
1157
  class=${M("custom-time-picker",z.class,{"custom-time-picker--has-class":!!z.class})}
1158
1158
  style=${oe.styleMap({width:z.width,...$e(z.style)})}
@@ -1393,7 +1393,7 @@
1393
1393
  >
1394
1394
  ${B(T,0,r,"root")}
1395
1395
  </div>
1396
- `}}}}),qn={name:"MozContextMenu",core:rs,props:["itemSource","beforeClose","transition","minWidth","direction","fixPosition","toTopCenter","toBottomCenter","noPadding","disableCloseOnClickBackdrop"],emits:["open","close"],slots:[],expose:!0},vt=32,fo=300,In=29,Fn=32,go=120,Bn=34,On=12,vo=30,Hn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProps","columnWidths","separator","rules","useFilter","listWidth","searchPlaceholder","emptyText","requiredMessage","useObjKeyProp","columnHeaders","modelValue","class","style"]);function _n(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function Nn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const as=ve({name:"moz-table-select",defaults:{label:null,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProps:["text"],columnWidths:[],separator:" / ",rules:[],useFilter:!0,useObjKeyProp:!1,modelValue:null},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="",v=-1;const $={change:"",blur:"",save:""};let R=h();const b=()=>e.props.keyProp||"id",y=()=>e.props.displayProps??["text"],V=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>vt,measureElement:c=>c.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{A==null||A.release(),A=null}),e.onCleanup(V._didMount());const S=c=>{d=c??null,c&&(V._willUpdate(),e.requestUpdate())},D=c=>{const x=h();return x==null?!1:e.props.useObjKeyProp?typeof x!="object"?!1:y().every(j=>c[j]===x[j]):c[b()]===x},G=()=>h()==null||!e.props.itemsSource?null:e.props.itemsSource.find(c=>D(c))??null,Z=c=>e.props.itemsSource?e.props.itemsSource.find(x=>x[b()]===c)??null:null,J=()=>{const c=h();if(c==null)return null;const x=e.props.useObjKeyProp?G():Z(c);return x?y().map(j=>String(x[j]??"")).join(e.props.separator):null},le=()=>{const c=y(),x=e.props.columnWidths??[],j=c.reduce((ce,Se,be)=>ce+(x[be]??go),0),ie=Math.max(0,c.length-1)*On;return j+ie+Bn+vo},ue=()=>{const c=e.props.width;return c!=null?typeof c=="number"?`${Le(c)}rem`:c:`${le()}px`},W=c=>{const x=(e.props.columnWidths??[])[c]??go,j=c===y().length-1;return`${x+(j?vo:0)}px`},z=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(x=>y().some(j=>String(x[j]??"").toLowerCase().indexOf(c)>-1))},K=c=>{if(!u)return[{part:c,highlight:!1}];const x=Nn(u),j=new RegExp(`(${x})`,"gi");return c.split(j).map(ie=>({part:ie,highlight:u.toLowerCase()===ie.toLowerCase()}))},ee=()=>{const c=h();return e.props.useObjKeyProp?c==null?"":String(c):c},ne=()=>$.save||$.blur||$.change,Q=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.TableSelect.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...c,...e.props.rules??[]]},B=async(c,x)=>{const j=Q();if(j.length<=0||e.props.disabled)return!0;$[x]="",e.requestUpdate();const ie=j.filter(ce=>ce.type===x);for(const ce of ie)if(!await ce.validator(c))return $[x]=ce.message,e.requestUpdate(),!1;return!0},E=async(c="save")=>ne()!==""?!1:await B(ee(),c),T={validate:E,initValidator:()=>{$.change="",$.blur="",$.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(T),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(T)}));const U=new pt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>fo,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&F(!1)}});e.onCleanup(()=>U.destroy());const k=c=>{c.key==="Escape"&&F(!1)},L=c=>{const x=!!e.props.columnHeaders&&e.props.columnHeaders.length>0,j=fo-(e.props.useFilter?In:0)-(x?Fn:0),ce=vt*c-j/2;return Math.max(0,ce+vt)};let A=null;const F=c=>{p!==c&&(p=c,e.requestUpdate(),c?(A=ht(),U.open(),$.save="",window.addEventListener("keydown",k),queueMicrotask(()=>{var j;if(h()!=null){const ie=z().findIndex(ce=>D(ce));ie>=0&&(v=ie,d&&(d.scrollTop=L(ie)),e.requestUpdate())}m.value?m.value.focus():(j=a.value)==null||j.focus()})):(A==null||A.release(),A=null,U.close(),e.emit("close"),B(ee(),"blur"),v=-1,window.removeEventListener("keydown",k),u="",e.emit("close"),queueMicrotask(()=>{var x;return(x=a.value)==null?void 0:x.focus()})))};e.onCleanup(()=>window.removeEventListener("keydown",k));const f=()=>{var c;e.props.disabled||(F(!p),(c=a.value)==null||c.focus())},O=c=>{r(e.props.useObjKeyProp?{...c}:c[b()]),F(!1)},Y=()=>{queueMicrotask(()=>V.scrollToIndex(v,{align:"auto"}))},X=c=>{c.preventDefault();const x=z().length-1;x<0||(v=v>=x?0:v+1,e.requestUpdate(),Y())},we=c=>{c.preventDefault();const x=z().length-1;x<0||(v=v<=0?x:v-1,e.requestUpdate(),Y())},De=c=>{c.preventDefault();const x=z();v>=0&&v<x.length&&O(x[v])},Ne=c=>{c.key==="ArrowDown"?X(c):c.key==="ArrowUp"?we(c):c.key==="Enter"&&De(c)},Oe=_n(c=>{u=c.target.value;const x=z().length;v=x>0?0:-1,e.requestUpdate(),queueMicrotask(()=>{V.setOptions({...V.options,count:x}),V.measure(),d&&(d.scrollTop=0,V.scrollToIndex(0),V.measure())})},300);return{api:{validate:E},render(){const c=e.props,x=h();if(x!==R){R=x;const Se=x;queueMicrotask(()=>{B(ee(),"change");let be=null;c.useObjKeyProp?be=G():Se!=null&&(be=Z(Se)),e.emit("change",Se,be)})}const j=ge(c,Hn),{aria:ie,dom:ce}=ut(j);return o.html`
1396
+ `}}}}),qn={name:"MozContextMenu",core:rs,props:["itemSource","beforeClose","transition","minWidth","direction","fixPosition","toTopCenter","toBottomCenter","noPadding","disableCloseOnClickBackdrop"],emits:["open","close"],slots:[],expose:!0},ct=32,fo=300,In=29,Fn=32,go=120,Bn=34,On=12,vo=30,Hn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProps","columnWidths","separator","rules","useFilter","listWidth","searchPlaceholder","emptyText","requiredMessage","useObjKeyProp","columnHeaders","modelValue","class","style"]);function _n(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function Nn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const as=ve({name:"moz-table-select",defaults:{label:null,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProps:["text"],columnWidths:[],separator:" / ",rules:[],useFilter:!0,useObjKeyProp:!1,modelValue:null},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="",v=-1;const $={change:"",blur:"",save:""};let R=h();const b=()=>e.props.keyProp||"id",y=()=>e.props.displayProps??["text"],V=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>ct,measureElement:c=>{const x=c.getBoundingClientRect().height;return x>0?x:ct},overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{A==null||A.release(),A=null}),e.onCleanup(V._didMount());const S=c=>{d=c??null,c&&(V._willUpdate(),e.requestUpdate())},D=c=>{const x=h();return x==null?!1:e.props.useObjKeyProp?typeof x!="object"?!1:y().every(j=>c[j]===x[j]):c[b()]===x},G=()=>h()==null||!e.props.itemsSource?null:e.props.itemsSource.find(c=>D(c))??null,Z=c=>e.props.itemsSource?e.props.itemsSource.find(x=>x[b()]===c)??null:null,J=()=>{const c=h();if(c==null)return null;const x=e.props.useObjKeyProp?G():Z(c);return x?y().map(j=>String(x[j]??"")).join(e.props.separator):null},le=()=>{const c=y(),x=e.props.columnWidths??[],j=c.reduce((ce,Se,be)=>ce+(x[be]??go),0),ie=Math.max(0,c.length-1)*On;return j+ie+Bn+vo},ue=()=>{const c=e.props.width;return c!=null?typeof c=="number"?`${Le(c)}rem`:c:`${le()}px`},W=c=>{const x=(e.props.columnWidths??[])[c]??go,j=c===y().length-1;return`${x+(j?vo:0)}px`},z=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(x=>y().some(j=>String(x[j]??"").toLowerCase().indexOf(c)>-1))},K=c=>{if(!u)return[{part:c,highlight:!1}];const x=Nn(u),j=new RegExp(`(${x})`,"gi");return c.split(j).map(ie=>({part:ie,highlight:u.toLowerCase()===ie.toLowerCase()}))},ee=()=>{const c=h();return e.props.useObjKeyProp?c==null?"":String(c):c},ne=()=>$.save||$.blur||$.change,Q=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.TableSelect.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...c,...e.props.rules??[]]},B=async(c,x)=>{const j=Q();if(j.length<=0||e.props.disabled)return!0;$[x]="",e.requestUpdate();const ie=j.filter(ce=>ce.type===x);for(const ce of ie)if(!await ce.validator(c))return $[x]=ce.message,e.requestUpdate(),!1;return!0},E=async(c="save")=>ne()!==""?!1:await B(ee(),c),T={validate:E,initValidator:()=>{$.change="",$.blur="",$.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(T),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(T)}));const U=new mt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>fo,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&F(!1)}});e.onCleanup(()=>U.destroy());const k=c=>{c.key==="Escape"&&F(!1)},L=c=>{const x=!!e.props.columnHeaders&&e.props.columnHeaders.length>0,j=fo-(e.props.useFilter?In:0)-(x?Fn:0),ce=ct*c-j/2;return Math.max(0,ce+ct)};let A=null;const F=c=>{p!==c&&(p=c,e.requestUpdate(),c?(A=ft(),U.open(),$.save="",window.addEventListener("keydown",k),queueMicrotask(()=>{var j;if(h()!=null){const ie=z().findIndex(ce=>D(ce));ie>=0&&(v=ie,d&&(d.scrollTop=L(ie)),e.requestUpdate())}m.value?m.value.focus():(j=a.value)==null||j.focus()})):(A==null||A.release(),A=null,U.close(),e.emit("close"),B(ee(),"blur"),v=-1,window.removeEventListener("keydown",k),u="",e.emit("close"),queueMicrotask(()=>{var x;return(x=a.value)==null?void 0:x.focus()})))};e.onCleanup(()=>window.removeEventListener("keydown",k));const f=()=>{var c;e.props.disabled||(F(!p),(c=a.value)==null||c.focus())},O=c=>{r(e.props.useObjKeyProp?{...c}:c[b()]),F(!1)},Y=()=>{queueMicrotask(()=>V.scrollToIndex(v,{align:"auto"}))},X=c=>{c.preventDefault();const x=z().length-1;x<0||(v=v>=x?0:v+1,e.requestUpdate(),Y())},we=c=>{c.preventDefault();const x=z().length-1;x<0||(v=v<=0?x:v-1,e.requestUpdate(),Y())},De=c=>{c.preventDefault();const x=z();v>=0&&v<x.length&&O(x[v])},Ne=c=>{c.key==="ArrowDown"?X(c):c.key==="ArrowUp"?we(c):c.key==="Enter"&&De(c)},Oe=_n(c=>{u=c.target.value;const x=z().length;v=x>0?0:-1,e.requestUpdate(),queueMicrotask(()=>{V.setOptions({...V.options,count:x}),V.measure(),d&&(d.scrollTop=0,V.scrollToIndex(0),V.measure())})},300);return{api:{validate:E},render(){const c=e.props,x=h();if(x!==R){R=x;const Se=x;queueMicrotask(()=>{B(ee(),"change");let be=null;c.useObjKeyProp?be=G():Se!=null&&(be=Z(Se)),e.emit("change",Se,be)})}const j=ge(c,Hn),{aria:ie,dom:ce}=ht(j);return o.html`
1397
1397
  <div
1398
1398
  class=${M("moz-table-select",{"is-invalid":ne()!=="","is-open":p,disabled:!!c.disabled})}
1399
1399
  style=${oe.styleMap($e(c.style))}
@@ -1433,7 +1433,7 @@
1433
1433
  </div>
1434
1434
  ${ne()!==""?o.html`<span class="moz-input-invalid-message">${ne()}</span>`:o.nothing}
1435
1435
  </div>
1436
- `},renderPortal(){if(!p)return o.nothing;const c=e.props,x=y(),j=z(),ie=!!c.columnHeaders&&c.columnHeaders.length>0;V.options.count!==j.length&&V.setOptions({...V.options,count:j.length}),V._willUpdate();const ce=V.getTotalSize(),Se=Tt(V.getVirtualItems(),j.length,vt,d).map(C=>{if(C.index>=j.length)return null;const q=j[C.index];return q?{index:C.index,value:q,start:C.start}:null}).filter(C=>C!==null),be=c.listWidth?typeof c.listWidth=="number"?`${c.listWidth}px`:c.listWidth:void 0;return o.html`<div
1436
+ `},renderPortal(){if(!p)return o.nothing;const c=e.props,x=y(),j=z(),ie=!!c.columnHeaders&&c.columnHeaders.length>0;V.options.count!==j.length&&V.setOptions({...V.options,count:j.length}),V._willUpdate();const ce=V.getTotalSize(),Se=Tt(V.getVirtualItems(),j.length,ct,d).map(C=>{if(C.index>=j.length)return null;const q=j[C.index];return q?{index:C.index,value:q,start:C.start}:null}).filter(C=>C!==null),be=c.listWidth?typeof c.listWidth=="number"?`${c.listWidth}px`:c.listWidth:void 0;return o.html`<div
1437
1437
  class=${M("table-list-box",{"no-label":!c.label},c.class)}
1438
1438
  style=${oe.styleMap({width:be})}
1439
1439
  @keydown=${Ne}
@@ -1515,7 +1515,7 @@
1515
1515
  <path d="M3.8501 2.35718H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1516
1516
  <path d="M3.8501 6H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1517
1517
  <path d="M3.8501 9.64282H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1518
- </svg>`}const Ht={keyProp:"code",displayProp:"name",categoryLv1ID:"categoryLv1ID",categoryLv1Label:"categoryLv1Label",categoryLv2ID:"categoryLv2ID",categoryLv2Label:"categoryLv2Label",description:"description"};function Zn(e,t){const s=a=>t.displayProp&&a[t.displayProp]?a[t.displayProp]:a[t.keyProp],n=a=>t.categoryLv1Label&&a[t.categoryLv1Label]?a[t.categoryLv1Label]:t.categoryLv1ID?a[t.categoryLv1ID]:"",i=a=>t.categoryLv2Label&&a[t.categoryLv2Label]?a[t.categoryLv2Label]:t.categoryLv2ID?a[t.categoryLv2ID]:"";return e.map(a=>({code:a[t.keyProp],name:s(a),categoryLv1ID:t.categoryLv1ID&&a[t.categoryLv1ID]||"",categoryLv1Label:n(a),categoryLv2ID:t.categoryLv2ID&&a[t.categoryLv2ID]||"",categoryLv2Label:i(a),description:t.description&&a[t.description]||""}))}function wt(e,t){let s=e.get(t);return s||(s=[],e.set(t,s)),s}function jn(e){const t=new Map([["depth0",[]],["depth1",[]],["depth2",[]]]),s=new Map,n=new Map;e.forEach(m=>{const d=m.categoryLv1ID;if(!s.get(d)){const l={code:d,name:m.categoryLv1Label??d};s.set(d,l),wt(t,"depth0").push(l)}if(!m.categoryLv2ID||m.categoryLv2ID.trim()==="")wt(t,"depth1").push({...m,parent:m.categoryLv1ID});else{const l=`${m.categoryLv1ID}-${m.categoryLv2ID}`;if(!n.get(l)){const h={code:m.categoryLv2ID,name:m.categoryLv2Label??m.categoryLv2ID,parent:m.categoryLv1ID,isSubCategory:!0};n.set(l,h),wt(t,"depth1").push(h)}wt(t,"depth2").push({...m,parent:m.categoryLv2ID})}});function i(m,d,l,h){const r=`depth${d}`,p=`depth${d+1}`,u=l.get(p),v={...m,depth:d};if(d!==0&&(v.isHidden=!1),u&&u.length>0){const $=h[r],R=h[p],b=u.filter(V=>V[R]===(m.isSubCategory?m.code:m[$]));v.isExpanded=!0;const y=[v];return b.forEach(V=>{y.push(...i(V,d+1,l,h))}),y}return[v]}const a={depth0:"code",depth1:"parent",depth2:"parent"};return(t.get("depth0")??[]).flatMap(m=>i(m,0,t,a))}function Xn(e){return new Set(e.map(t=>t.code))}function Ke(e,t){return t===e}function St(e,t){return e.filter(s=>s.categoryLv1ID===t.code||s.categoryLv2ID===t.code)}function Ct(e){return new Set(e.map(t=>t.code))}function Vt(e,t){return{childDepthList:St(e,t)}}function wo(e,t){for(const s of e)if(!t.has(s))return!1;return!0}function xt(e,t,s){t===0&&e.categoryLv1Set.delete(s),t===1&&e.categoryLv2Set.delete(s)}function dt(e,t,s){t===0&&e.categoryLv1Set.add(s),t===1&&e.categoryLv2Set.add(s)}function Qn(e,t,s){t.length&&e.categoryLv1Set.add(t),s.length&&e.categoryLv2Set.add(s)}function bt(e){e.categoryLv1Set.clear(),e.categoryLv2Set.clear()}function cs(e,t,s,n){if(dt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&cs(e,t,i)}}function ds(e,t,s,n){if(dt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||ds(e,t,a,n)})}function Co(e,t,s,n){cs(e,t,s),ds(e,t,s,n)}function us(e,t,s,n){if(xt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&us(e,t,i)}}function ps(e,t,s,n){if(xt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||ps(e,t,a,n)})}function bo(e,t,s,n){us(e,t,s),ps(e,t,s,n)}const Jn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","useFilter","useSelectAll","class","style"]),hs=ve({name:"moz-tree-select",defaults:{label:null,width:200,required:!1,readonly:!1,disabled:!1,disabledProp:"disabled",rules:[],useSelectAll:!0,useFilter:!0,headerFormat:"ITEMS ({count})",listBoxWidth:0,useSpecificSelect:!0,treeLevels:1,useMultiSelect:!1,treeProps:Ht,modelValue:[]},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=(e.props.treeLevels??1)-1,l=d,h=()=>!!e.props.useMultiSelect,r=()=>e.props.disabledProp||"disabled",p=()=>e.props.treeProps??Ht;let u=e.props.modelValue??(h()?[]:"");const v=()=>e.controlled("modelValue")?e.props.modelValue??[]:u,$=()=>{const w=v();return Array.isArray(w)?w:w?[w]:[]},R=w=>{e.controlled("modelValue")||(u=w),e.emit("update:modelValue",w),e.requestUpdate()};let b=!1,y="",V=!1,S=!1,D=!1,G={},Z=[];const J={change:"",blur:"",save:""},le=new Set,ue=new Set,W={categoryLv1Set:le,categoryLv2Set:ue},z=(()=>{try{const w=getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height");return w?+w.trim().replace("px",""):24}catch{return 24}})();let K=z;const ee=()=>e.slots.has("list-item");let ne=[],Q=[],B=e.props.itemsSource;const E=()=>{ne=Zn(e.props.itemsSource??[],p()),Q=jn(ne)};E();const T=()=>{const w=new Map;return ne.forEach(P=>w.set(P.code,P)),w},U=w=>w.name??"",k=w=>new Set($()).has(w.code),L=w=>Z.some(P=>it(P.item,w)),A=()=>new Set($()),F=()=>{let w=[];if(!y)w=Q;else{const P=[],_=new Set,ae=re=>`depth${re.depth}_${re.code}`;for(const re of Q)if(re.depth!==l){for(;P.length&&P[P.length-1].depth>=re.depth;)P.pop();P.push(re)}else if(U(re).toLowerCase().indexOf(y.toLowerCase())>-1){for(const me of P){const ze=ae(me);_.has(ze)||(w.push(me),_.add(ze))}const he=ae(re);_.has(he)||(w.push(re),_.add(he))}}if(D){const P=new Set,_=T(),ae=A();w.filter(he=>{if(we(he,ae))return!0;if(h()&&!Ke(d,he.depth)){const me=St(Q,he);if(me.length>0&&me.some(ze=>ae.has(ze.code)))return!0}return!1}).forEach(he=>{let me=he;for(;me&&(P.add(me.code),!!me.parent);)me=_.get(me.parent)}),w=w.filter(he=>P.has(he.code))}return w},f=()=>F().filter(w=>!(w.categoryLv1ID||w.categoryLv2ID)),O=()=>{const w=f();return F().filter(P=>!w.includes(P))},Y=()=>new Set(O().map(w=>w.code)),X=()=>Xn(O()),we=(w,P)=>h()?Ke(l,w.depth)?P.has(w.code):le.has(w.code)||ue.has(w.code):v()===w.code,De=w=>{if(Ke(d,w.depth))return!0;const P=St(F(),w);return P.length===0?!0:wo(Ct(P),A())},Ne=()=>{const w=$().length,P=f().length;if(w<P||w===0||P===0)return!1;for(const _ of X())if(!A().has(_))return!1;return!0},Oe=()=>{const w=X(),P=A();return!w.size||!P.size||P.size<w.size?!1:Array.from(w).every(_=>P.has(_))},c=()=>h()?!!e.props.useSelectAll:!1,x=()=>{const w=v(),P=T();if(typeof w=="string")return P.has(w)?P.get(w).name:w;const _=Array.isArray(w)?w:[],ae=_.filter(re=>P.has(re)).map(re=>P.get(re).name);return _.length?h()&&ae.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${ae.length.toLocaleString()}`):ae.join(", ")||"":""},j=()=>J.save||J.blur||J.change,ie=()=>{const w=[];return e.props.required&&w.push({message:e.locale.TreeSelect.required.replace("{label}",e.props.label||""),type:"save",validator:P=>!!P.length}),[...w,...e.props.rules??[]]},ce=async(w,P)=>{const _=ie();if(_.length<=0)return;if(e.props.disabled)return!0;J[P]="",e.requestUpdate();const ae=_.filter(re=>re.type===P);for(const re of ae)if(!await re.validator(w))return J[P]=re.message,e.requestUpdate(),!1;return!0},Se=async(w="save")=>j()!==""?!1:await ce($(),w)??!0,be={validate:Se,initValidator:()=>{J.change="",J.blur="",J.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(be),e.onCleanup(()=>{We==null||We.release(),We=null}),e.onCleanup(()=>{var w;return(w=e.validator)==null?void 0:w.removeValidator(be)}));const C=(w,P)=>w.filter(_=>k(_)!==P).map(_=>_.code),q=w=>{const P=Array.from(new Set(w));it($(),P)||(R(P),e.emit("change",P,P.filter(Boolean)),ce(P,"change"),Ce(P))},Ce=w=>{w.length===ne.length?f().forEach(P=>dt(W,P.depth,P.code)):w.forEach(P=>{const _=O().find(ae=>ae.code===P);_&&Qn(W,_.categoryLv1ID??"",_.categoryLv2ID??"")})},ke=(w,P,_)=>{if(_.shiftKey&&Z.length>0){const ae=Z[0],re=Math.min(ae.index,P),he=Math.max(ae.index,P);Z=F().slice(re,he+1).map((me,ze)=>({item:me,index:re+ze}))}else _.ctrlKey?Z.push({item:w,index:P}):Z=[{item:w,index:P}]},Ee=(w,P)=>{if(!Ke(d,w.depth)){const{childDepthList:_}=Vt(F(),w);if(P){const ae=Ct(_);R($().filter(re=>!ae.has(re))),bo(W,F(),w,l)}else{const ae=_.map(re=>re.code);R([...$(),...ae])}}},Te=(w,P)=>{const ae=Z.map(me=>me.item).filter(me=>me.depth===l),re=C(ae,w);let he=[];if(P.depth!==d){const{childDepthList:me}=Vt(F(),P),ze=Ct(me);he=$().filter(He=>!ze.has(He))}else he=$();w?P.depth===d?he=[...he,...re]:Co(W,F(),P,l):(bt(W),he=he.filter(me=>!re.some(ze=>me===ze))),q(he)},Ve=(w,P,_,ae)=>{const re=Z.some(he=>he.item.code===w.code);(Z.length<=1||!re)&&ke(w,P,{shiftKey:!1,ctrlKey:!1}),Te(!ae,w),Ee(w,ae),e.requestUpdate()},Ue=(w,P,_,ae)=>{w[r()]!==!0&&(!_.ctrlKey&&!_.shiftKey&&Z.length<=1&&Ve(w,P,_,ae),ke(w,P,_),e.requestUpdate())},Qe=(w,P,_)=>{if(w[r()]===!0)return;let ae=[],re=!1;const he=w.code;if(Ke(d,w.depth))re=$().length===1&&$()[0]===he,re||(ae=[he]),bt(W);else{const{childDepthList:me}=Vt(F(),w),ze=Ct(me);re=wo(ze,A())&&ze.size===A().size,re?bo(W,F(),w,l):(ae=[],bt(W),Co(W,F(),w,l))}q(ae),Ee(w,re),ke(w,P,_),e.requestUpdate()},ot=w=>{R(w),et(!1)},Je=(w,P)=>{F().filter(ae=>ae.parent===w).forEach(ae=>{if(ae.isHidden=P,ae.depth===l)return;const he=!P&&!ae.isExpanded?!0:P;Je(ae.code,he)})},Ze=(w,P)=>{P.stopPropagation(),w.isExpanded=!w.isExpanded,Je(w.code,!w.isExpanded),queueMicrotask(()=>Re.measure()),e.requestUpdate()},g=w=>{Q.forEach(P=>{P.isExpanded=w,P.depth>0?P.isHidden=!w:P.isHidden=!1}),queueMicrotask(()=>Re.measure()),e.requestUpdate()},H=w=>{w.stopPropagation(),Y().size===A().size&&[...Y()].every(_=>A().has(_))?(f().forEach(_=>xt(W,_.depth,_.code)),q([])):(bt(W),f().forEach(_=>dt(W,_.depth,_.code)),q([...Y()]))},I=w=>{if(w.stopPropagation(),Oe()){const P=X();q($().filter(_=>!P.has(_))),f().forEach(_=>xt(W,_.depth,_.code))}else{const P=new Set([...$(),...Y()]);q(Array.from(P)),f().forEach(_=>dt(W,_.depth,_.code))}},te=w=>{V=w.target.scrollTop>0,e.requestUpdate()},se=()=>{const w=s.value;if(!w)return;const P=w.getBoundingClientRect();let _=`${P.width}px`;e.props.listBoxWidth&&(_=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),G={width:String(_),left:`${P.left}px`,top:`${P.top+(S?0:P.height)}px`},e.requestUpdate()},pe=(w,P,_=10)=>{const ae=window.innerHeight||document.documentElement.clientHeight,re=window.innerWidth||document.documentElement.clientWidth,he=w.getBoundingClientRect(),me=P.getBoundingClientRect(),ze=he.bottom+me.height+_>ae;if(!ze)return!1;const He=he.top-me.height-_<0,qe=he.right+me.width+_>re,_e=he.left-me.width-_<0;return ze&&!He||qe&&!_e},fe=w=>{w.target!==m&&et(!1)},ye=w=>{var P,_;!((P=t.value)!=null&&P.contains(w.target))&&!((_=n.value)!=null&&_.contains(w.target))&&(et(!1),document.removeEventListener("click",ye,{capture:!0}))},Me=w=>{var _;`${w.ctrlKey?"ctrl+":""}${w.altKey?"alt+":""}${w.key.toLowerCase()}`==="escape"&&(et(!1),(_=i.value)==null||_.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),window.removeEventListener("keydown",Me)});let We=null;const et=w=>{b!==w&&(b=w,e.requestUpdate(),w?(We=ht(),document.body.addEventListener("scroll",fe,{capture:!0}),document.addEventListener("click",ye,{capture:!0}),J.save="",window.addEventListener("keydown",Me),se(),queueMicrotask(()=>{var P;s.value&&m&&(S=pe(s.value,m)),se(),a.value?a.value.focus():(P=i.value)==null||P.focus()})):(We==null||We.release(),We=null,document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),ce($(),"blur"),window.removeEventListener("keydown",Me),y="",e.emit("close")))},rt=()=>{e.props.disabled||et(!b)};let st;const zt=w=>{const P=w.target.value;st&&clearTimeout(st),st=setTimeout(()=>{y=P,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},300)},Ge=w=>{D=w,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},Re=new Fe.Virtualizer({count:0,getScrollElement:()=>m,estimateSize:w=>{const P=F()[w];return P!=null&&P.isHidden?0:ee()&&P&&Ke(d,P.depth)?K:z},measureElement:w=>{const P=w.getBoundingClientRect().height;return P>0?P:Re.options.estimateSize(Number(w.dataset.index))},overscan:3,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(Re._didMount());const Rs=w=>{m=w??null,w&&(Re._willUpdate(),e.requestUpdate())},qs=(w,P)=>{if(!w||P!==d)return;const _=w.getBoundingClientRect().height;_>0&&(K=_)},Is=w=>w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ro=(w,P)=>{if(!y||!Ke(d,P))return[{part:w,highlight:!1}];const _=new RegExp(`(${Is(y)})`,"gi");return w.split(_).map(ae=>({part:ae,highlight:y.toLowerCase()===ae.toLowerCase()}))};let ao=v();const Fs=w=>{const{index:P,item:_,start:ae,isSelected:re,isIndeterminate:he,isDisabled:me,isFocused:ze}=w;if(_.isHidden)return o.nothing;const He=e.props,qe=_.depth,_e=Ke(d,qe),je=h(),nt=Ie=>{qe!==d?Ze(_,Ie):ot(_.code)},ft=Ie=>{je?Ue(_,P,Ie,re&&De(_)):nt(Ie)},At=()=>{Ve(_,P,{},re&&De(_))},Dt=_e?"하나만":"그룹만";return o.html`<div
1518
+ </svg>`}const Ht={keyProp:"code",displayProp:"name",categoryLv1ID:"categoryLv1ID",categoryLv1Label:"categoryLv1Label",categoryLv2ID:"categoryLv2ID",categoryLv2Label:"categoryLv2Label",description:"description"};function Zn(e,t){const s=a=>t.displayProp&&a[t.displayProp]?a[t.displayProp]:a[t.keyProp],n=a=>t.categoryLv1Label&&a[t.categoryLv1Label]?a[t.categoryLv1Label]:t.categoryLv1ID?a[t.categoryLv1ID]:"",i=a=>t.categoryLv2Label&&a[t.categoryLv2Label]?a[t.categoryLv2Label]:t.categoryLv2ID?a[t.categoryLv2ID]:"";return e.map(a=>({code:a[t.keyProp],name:s(a),categoryLv1ID:t.categoryLv1ID&&a[t.categoryLv1ID]||"",categoryLv1Label:n(a),categoryLv2ID:t.categoryLv2ID&&a[t.categoryLv2ID]||"",categoryLv2Label:i(a),description:t.description&&a[t.description]||""}))}function wt(e,t){let s=e.get(t);return s||(s=[],e.set(t,s)),s}function jn(e){const t=new Map([["depth0",[]],["depth1",[]],["depth2",[]]]),s=new Map,n=new Map;e.forEach(m=>{const d=m.categoryLv1ID;if(!s.get(d)){const l={code:d,name:m.categoryLv1Label??d};s.set(d,l),wt(t,"depth0").push(l)}if(!m.categoryLv2ID||m.categoryLv2ID.trim()==="")wt(t,"depth1").push({...m,parent:m.categoryLv1ID});else{const l=`${m.categoryLv1ID}-${m.categoryLv2ID}`;if(!n.get(l)){const h={code:m.categoryLv2ID,name:m.categoryLv2Label??m.categoryLv2ID,parent:m.categoryLv1ID,isSubCategory:!0};n.set(l,h),wt(t,"depth1").push(h)}wt(t,"depth2").push({...m,parent:m.categoryLv2ID})}});function i(m,d,l,h){const r=`depth${d}`,p=`depth${d+1}`,u=l.get(p),v={...m,depth:d};if(d!==0&&(v.isHidden=!1),u&&u.length>0){const $=h[r],R=h[p],b=u.filter(V=>V[R]===(m.isSubCategory?m.code:m[$]));v.isExpanded=!0;const y=[v];return b.forEach(V=>{y.push(...i(V,d+1,l,h))}),y}return[v]}const a={depth0:"code",depth1:"parent",depth2:"parent"};return(t.get("depth0")??[]).flatMap(m=>i(m,0,t,a))}function Xn(e){return new Set(e.map(t=>t.code))}function Ke(e,t){return t===e}function St(e,t){return e.filter(s=>s.categoryLv1ID===t.code||s.categoryLv2ID===t.code)}function Ct(e){return new Set(e.map(t=>t.code))}function Vt(e,t){return{childDepthList:St(e,t)}}function wo(e,t){for(const s of e)if(!t.has(s))return!1;return!0}function xt(e,t,s){t===0&&e.categoryLv1Set.delete(s),t===1&&e.categoryLv2Set.delete(s)}function pt(e,t,s){t===0&&e.categoryLv1Set.add(s),t===1&&e.categoryLv2Set.add(s)}function Qn(e,t,s){t.length&&e.categoryLv1Set.add(t),s.length&&e.categoryLv2Set.add(s)}function bt(e){e.categoryLv1Set.clear(),e.categoryLv2Set.clear()}function cs(e,t,s,n){if(pt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&cs(e,t,i)}}function ds(e,t,s,n){if(pt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||ds(e,t,a,n)})}function Co(e,t,s,n){cs(e,t,s),ds(e,t,s,n)}function us(e,t,s,n){if(xt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&us(e,t,i)}}function ps(e,t,s,n){if(xt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||ps(e,t,a,n)})}function bo(e,t,s,n){us(e,t,s),ps(e,t,s,n)}const Jn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","useFilter","useSelectAll","class","style"]),hs=ve({name:"moz-tree-select",defaults:{label:null,width:200,required:!1,readonly:!1,disabled:!1,disabledProp:"disabled",rules:[],useSelectAll:!0,useFilter:!0,headerFormat:"ITEMS ({count})",listBoxWidth:0,useSpecificSelect:!0,treeLevels:1,useMultiSelect:!1,treeProps:Ht,modelValue:[]},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=(e.props.treeLevels??1)-1,l=d,h=()=>!!e.props.useMultiSelect,r=()=>e.props.disabledProp||"disabled",p=()=>e.props.treeProps??Ht;let u=e.props.modelValue??(h()?[]:"");const v=()=>e.controlled("modelValue")?e.props.modelValue??[]:u,$=()=>{const w=v();return Array.isArray(w)?w:w?[w]:[]},R=w=>{e.controlled("modelValue")||(u=w),e.emit("update:modelValue",w),e.requestUpdate()};let b=!1,y="",V=!1,S=!1,D=!1,G={},Z=[];const J={change:"",blur:"",save:""},le=new Set,ue=new Set,W={categoryLv1Set:le,categoryLv2Set:ue},z=(()=>{try{const w=getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height");return w?+w.trim().replace("px",""):24}catch{return 24}})();let K=z;const ee=()=>e.slots.has("list-item");let ne=[],Q=[],B=e.props.itemsSource;const E=()=>{ne=Zn(e.props.itemsSource??[],p()),Q=jn(ne)};E();const T=()=>{const w=new Map;return ne.forEach(P=>w.set(P.code,P)),w},U=w=>w.name??"",k=w=>new Set($()).has(w.code),L=w=>Z.some(P=>it(P.item,w)),A=()=>new Set($()),F=()=>{let w=[];if(!y)w=Q;else{const P=[],_=new Set,ae=re=>`depth${re.depth}_${re.code}`;for(const re of Q)if(re.depth!==l){for(;P.length&&P[P.length-1].depth>=re.depth;)P.pop();P.push(re)}else if(U(re).toLowerCase().indexOf(y.toLowerCase())>-1){for(const me of P){const ze=ae(me);_.has(ze)||(w.push(me),_.add(ze))}const he=ae(re);_.has(he)||(w.push(re),_.add(he))}}if(D){const P=new Set,_=T(),ae=A();w.filter(he=>{if(we(he,ae))return!0;if(h()&&!Ke(d,he.depth)){const me=St(Q,he);if(me.length>0&&me.some(ze=>ae.has(ze.code)))return!0}return!1}).forEach(he=>{let me=he;for(;me&&(P.add(me.code),!!me.parent);)me=_.get(me.parent)}),w=w.filter(he=>P.has(he.code))}return w},f=()=>F().filter(w=>!(w.categoryLv1ID||w.categoryLv2ID)),O=()=>{const w=f();return F().filter(P=>!w.includes(P))},Y=()=>new Set(O().map(w=>w.code)),X=()=>Xn(O()),we=(w,P)=>h()?Ke(l,w.depth)?P.has(w.code):le.has(w.code)||ue.has(w.code):v()===w.code,De=w=>{if(Ke(d,w.depth))return!0;const P=St(F(),w);return P.length===0?!0:wo(Ct(P),A())},Ne=()=>{const w=$().length,P=f().length;if(w<P||w===0||P===0)return!1;for(const _ of X())if(!A().has(_))return!1;return!0},Oe=()=>{const w=X(),P=A();return!w.size||!P.size||P.size<w.size?!1:Array.from(w).every(_=>P.has(_))},c=()=>h()?!!e.props.useSelectAll:!1,x=()=>{const w=v(),P=T();if(typeof w=="string")return P.has(w)?P.get(w).name:w;const _=Array.isArray(w)?w:[],ae=_.filter(re=>P.has(re)).map(re=>P.get(re).name);return _.length?h()&&ae.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${ae.length.toLocaleString()}`):ae.join(", ")||"":""},j=()=>J.save||J.blur||J.change,ie=()=>{const w=[];return e.props.required&&w.push({message:e.locale.TreeSelect.required.replace("{label}",e.props.label||""),type:"save",validator:P=>!!P.length}),[...w,...e.props.rules??[]]},ce=async(w,P)=>{const _=ie();if(_.length<=0)return;if(e.props.disabled)return!0;J[P]="",e.requestUpdate();const ae=_.filter(re=>re.type===P);for(const re of ae)if(!await re.validator(w))return J[P]=re.message,e.requestUpdate(),!1;return!0},Se=async(w="save")=>j()!==""?!1:await ce($(),w)??!0,be={validate:Se,initValidator:()=>{J.change="",J.blur="",J.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(be),e.onCleanup(()=>{We==null||We.release(),We=null}),e.onCleanup(()=>{var w;return(w=e.validator)==null?void 0:w.removeValidator(be)}));const C=(w,P)=>w.filter(_=>k(_)!==P).map(_=>_.code),q=w=>{const P=Array.from(new Set(w));it($(),P)||(R(P),e.emit("change",P,P.filter(Boolean)),ce(P,"change"),Ce(P))},Ce=w=>{w.length===ne.length?f().forEach(P=>pt(W,P.depth,P.code)):w.forEach(P=>{const _=O().find(ae=>ae.code===P);_&&Qn(W,_.categoryLv1ID??"",_.categoryLv2ID??"")})},ke=(w,P,_)=>{if(_.shiftKey&&Z.length>0){const ae=Z[0],re=Math.min(ae.index,P),he=Math.max(ae.index,P);Z=F().slice(re,he+1).map((me,ze)=>({item:me,index:re+ze}))}else _.ctrlKey?Z.push({item:w,index:P}):Z=[{item:w,index:P}]},Ee=(w,P)=>{if(!Ke(d,w.depth)){const{childDepthList:_}=Vt(F(),w);if(P){const ae=Ct(_);R($().filter(re=>!ae.has(re))),bo(W,F(),w,l)}else{const ae=_.map(re=>re.code);R([...$(),...ae])}}},Te=(w,P)=>{const ae=Z.map(me=>me.item).filter(me=>me.depth===l),re=C(ae,w);let he=[];if(P.depth!==d){const{childDepthList:me}=Vt(F(),P),ze=Ct(me);he=$().filter(He=>!ze.has(He))}else he=$();w?P.depth===d?he=[...he,...re]:Co(W,F(),P,l):(bt(W),he=he.filter(me=>!re.some(ze=>me===ze))),q(he)},Ve=(w,P,_,ae)=>{const re=Z.some(he=>he.item.code===w.code);(Z.length<=1||!re)&&ke(w,P,{shiftKey:!1,ctrlKey:!1}),Te(!ae,w),Ee(w,ae),e.requestUpdate()},Ue=(w,P,_,ae)=>{w[r()]!==!0&&(!_.ctrlKey&&!_.shiftKey&&Z.length<=1&&Ve(w,P,_,ae),ke(w,P,_),e.requestUpdate())},Qe=(w,P,_)=>{if(w[r()]===!0)return;let ae=[],re=!1;const he=w.code;if(Ke(d,w.depth))re=$().length===1&&$()[0]===he,re||(ae=[he]),bt(W);else{const{childDepthList:me}=Vt(F(),w),ze=Ct(me);re=wo(ze,A())&&ze.size===A().size,re?bo(W,F(),w,l):(ae=[],bt(W),Co(W,F(),w,l))}q(ae),Ee(w,re),ke(w,P,_),e.requestUpdate()},ot=w=>{R(w),et(!1)},Je=(w,P)=>{F().filter(ae=>ae.parent===w).forEach(ae=>{if(ae.isHidden=P,ae.depth===l)return;const he=!P&&!ae.isExpanded?!0:P;Je(ae.code,he)})},Ze=(w,P)=>{P.stopPropagation(),w.isExpanded=!w.isExpanded,Je(w.code,!w.isExpanded),queueMicrotask(()=>Re.measure()),e.requestUpdate()},g=w=>{Q.forEach(P=>{P.isExpanded=w,P.depth>0?P.isHidden=!w:P.isHidden=!1}),queueMicrotask(()=>Re.measure()),e.requestUpdate()},H=w=>{w.stopPropagation(),Y().size===A().size&&[...Y()].every(_=>A().has(_))?(f().forEach(_=>xt(W,_.depth,_.code)),q([])):(bt(W),f().forEach(_=>pt(W,_.depth,_.code)),q([...Y()]))},I=w=>{if(w.stopPropagation(),Oe()){const P=X();q($().filter(_=>!P.has(_))),f().forEach(_=>xt(W,_.depth,_.code))}else{const P=new Set([...$(),...Y()]);q(Array.from(P)),f().forEach(_=>pt(W,_.depth,_.code))}},te=w=>{V=w.target.scrollTop>0,e.requestUpdate()},se=()=>{const w=s.value;if(!w)return;const P=w.getBoundingClientRect();let _=`${P.width}px`;e.props.listBoxWidth&&(_=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),G={width:String(_),left:`${P.left}px`,top:`${P.top+(S?0:P.height)}px`},e.requestUpdate()},pe=(w,P,_=10)=>{const ae=window.innerHeight||document.documentElement.clientHeight,re=window.innerWidth||document.documentElement.clientWidth,he=w.getBoundingClientRect(),me=P.getBoundingClientRect(),ze=he.bottom+me.height+_>ae;if(!ze)return!1;const He=he.top-me.height-_<0,qe=he.right+me.width+_>re,_e=he.left-me.width-_<0;return ze&&!He||qe&&!_e},fe=w=>{w.target!==m&&et(!1)},ye=w=>{var P,_;!((P=t.value)!=null&&P.contains(w.target))&&!((_=n.value)!=null&&_.contains(w.target))&&(et(!1),document.removeEventListener("click",ye,{capture:!0}))},Me=w=>{var _;`${w.ctrlKey?"ctrl+":""}${w.altKey?"alt+":""}${w.key.toLowerCase()}`==="escape"&&(et(!1),(_=i.value)==null||_.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),window.removeEventListener("keydown",Me)});let We=null;const et=w=>{b!==w&&(b=w,e.requestUpdate(),w?(We=ft(),document.body.addEventListener("scroll",fe,{capture:!0}),document.addEventListener("click",ye,{capture:!0}),J.save="",window.addEventListener("keydown",Me),se(),queueMicrotask(()=>{var P;s.value&&m&&(S=pe(s.value,m)),se(),a.value?a.value.focus():(P=i.value)==null||P.focus()})):(We==null||We.release(),We=null,document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),ce($(),"blur"),window.removeEventListener("keydown",Me),y="",e.emit("close")))},rt=()=>{e.props.disabled||et(!b)};let st;const zt=w=>{const P=w.target.value;st&&clearTimeout(st),st=setTimeout(()=>{y=P,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},300)},Ge=w=>{D=w,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},Re=new Fe.Virtualizer({count:0,getScrollElement:()=>m,estimateSize:w=>{const P=F()[w];return P!=null&&P.isHidden?0:ee()&&P&&Ke(d,P.depth)?K:z},measureElement:w=>{const P=w.getBoundingClientRect().height;return P>0?P:Re.options.estimateSize(Number(w.dataset.index))},overscan:3,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(Re._didMount());const Rs=w=>{m=w??null,w&&(Re._willUpdate(),e.requestUpdate())},qs=(w,P)=>{if(!w||P!==d)return;const _=w.getBoundingClientRect().height;_>0&&(K=_)},Is=w=>w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ro=(w,P)=>{if(!y||!Ke(d,P))return[{part:w,highlight:!1}];const _=new RegExp(`(${Is(y)})`,"gi");return w.split(_).map(ae=>({part:ae,highlight:y.toLowerCase()===ae.toLowerCase()}))};let ao=v();const Fs=w=>{const{index:P,item:_,start:ae,isSelected:re,isIndeterminate:he,isDisabled:me,isFocused:ze}=w;if(_.isHidden)return o.nothing;const He=e.props,qe=_.depth,_e=Ke(d,qe),je=h(),nt=Ie=>{qe!==d?Ze(_,Ie):ot(_.code)},vt=Ie=>{je?Ue(_,P,Ie,re&&De(_)):nt(Ie)},At=()=>{Ve(_,P,{},re&&De(_))},Dt=_e?"하나만":"그룹만";return o.html`<div
1519
1519
  data-index=${P}
1520
1520
  ${N.ref(Ie=>{Ie&&(Re.measureElement(Ie),qs(Ie,qe))})}
1521
1521
  style=${oe.styleMap({transform:`translateY(${ae}px)`})}
@@ -1526,7 +1526,7 @@
1526
1526
  style=${oe.styleMap({"--depth":String(qe),"--last-depth-item-height":String(K)})}
1527
1527
  @click=${Ie=>{je||nt(Ie)}}
1528
1528
  ></div>
1529
- <div class="item-content" @click=${ft}>
1529
+ <div class="item-content" @click=${vt}>
1530
1530
  ${_e?o.nothing:o.html`<button
1531
1531
  type="button"
1532
1532
  class="icon-container"
@@ -1545,7 +1545,7 @@
1545
1545
  ${Dt}
1546
1546
  </button>`:o.nothing}
1547
1547
  </div>
1548
- </div>`};return{api:{validate:Se},render(){const w=e.props;w.itemsSource!==B&&(B=w.itemsSource,E());const P=v();P!==ao&&(ao=P,typeof P!="string"&&Ce($()));const _=typeof w.width=="number"?`${Le(w.width)}rem`:w.width,ae=e.slots.has("icon")?e.slot("icon",{isOpen:b}):b?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",w.disabled),re=ge(w,Jn),{aria:he,dom:me}=ut(re);return o.html`
1548
+ </div>`};return{api:{validate:Se},render(){const w=e.props;w.itemsSource!==B&&(B=w.itemsSource,E());const P=v();P!==ao&&(ao=P,typeof P!="string"&&Ce($()));const _=typeof w.width=="number"?`${Le(w.width)}rem`:w.width,ae=e.slots.has("icon")?e.slot("icon",{isOpen:b}):b?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",w.disabled),re=ge(w,Jn),{aria:he,dom:me}=ht(re);return o.html`
1549
1549
  <div
1550
1550
  ${de(me)}
1551
1551
  class=${M("moz-multi-select moz-tree-select",w.class,{"is-invalid":j()!=="","is-open":b,disabled:!!w.disabled})}
@@ -1573,7 +1573,7 @@
1573
1573
  </div>
1574
1574
  ${j()!==""?o.html`<span class="moz-input-invalid-message">${j()}</span>`:o.nothing}
1575
1575
  </div>
1576
- `},renderPortal(){if(!b)return o.nothing;const w=e.props,P=F();Re.options.count!==P.length&&Re.setOptions({...Re.options,count:P.length}),Re._willUpdate();const _=Re.getTotalSize(),ae=A(),re=Tt(Re.getVirtualItems(),P.length,z,m).map(He=>{if(He.index>=P.length)return null;const qe=P[He.index];if(!qe)return null;let _e=we(qe,ae),je=!1;if(h()&&!Ke(d,qe.depth)){const nt=St(Q,qe);if(nt.length>0){const ft=nt.reduce((At,Dt)=>At+(ae.has(Dt.code)?1:0),0);ft===0?_e=!1:ft<nt.length?(_e=!0,je=!0):_e=!0}}return{index:He.index,item:qe,start:He.start,isSelected:_e,isIndeterminate:je,isDisabled:qe[r()]===!0,isFocused:L(qe)}}).filter(He=>He!==null),he=y?e.locale.TreeSelect.selectFiltered:e.locale.TreeSelect.selectAll,me=v(),ze=Array.isArray(me)?me.length:me?1:0;return o.html`<div
1576
+ `},renderPortal(){if(!b)return o.nothing;const w=e.props,P=F();Re.options.count!==P.length&&Re.setOptions({...Re.options,count:P.length}),Re._willUpdate();const _=Re.getTotalSize(),ae=A(),re=Tt(Re.getVirtualItems(),P.length,z,m).map(He=>{if(He.index>=P.length)return null;const qe=P[He.index];if(!qe)return null;let _e=we(qe,ae),je=!1;if(h()&&!Ke(d,qe.depth)){const nt=St(Q,qe);if(nt.length>0){const vt=nt.reduce((At,Dt)=>At+(ae.has(Dt.code)?1:0),0);vt===0?_e=!1:vt<nt.length?(_e=!0,je=!0):_e=!0}}return{index:He.index,item:qe,start:He.start,isSelected:_e,isIndeterminate:je,isDisabled:qe[r()]===!0,isFocused:L(qe)}}).filter(He=>He!==null),he=y?e.locale.TreeSelect.selectFiltered:e.locale.TreeSelect.selectAll,me=v(),ze=Array.isArray(me)?me.length:me?1:0;return o.html`<div
1577
1577
  class=${M("list-box",{"no-label":!w.label,"show-top":S})}
1578
1578
  style=${oe.styleMap(G)}
1579
1579
  ${N.ref(n)}
@@ -1729,7 +1729,7 @@
1729
1729
  ${u.showFilterButton?o.html`<div class="spacer between-buttons" style="margin: 0 6px"></div>`:o.nothing}
1730
1730
  ${e.slot("action")}
1731
1731
  ${$&&y.length>0?o.html`<div class="spacer between-buttons"></div>`:o.nothing}
1732
- ${y.map(S=>at({action:S.action,text:S.text,disabled:S.disabled,loading:S.loading,width:S.text?void 0:30,style:{padding:S.text?void 0:"0"}},{icon:di(S.icon),onClick:()=>{S.click&&S.click()},rest:{title:S.action}}))}
1732
+ ${y.map(S=>dt({action:S.action,text:S.text,disabled:S.disabled,loading:S.loading,width:S.text?void 0:30,style:{padding:S.text?void 0:"0"}},{icon:di(S.icon),onClick:()=>{S.click&&S.click()},rest:{title:S.action}}))}
1733
1733
  </div>
1734
1734
  </div>
1735
1735
 
@@ -2038,5 +2038,5 @@
2038
2038
  >
2039
2039
  ${Wi()}
2040
2040
  </button>`:o.nothing}
2041
- </div>`}}}}),Zi={name:"MozCallout",core:Vs,props:["tone","title","text","dismissible","dismissLabel","hideIcon","compact","live"],emits:["dismiss"],slots:["icon","heading","default"],expose:!1,syncUpdate:!0};exports.AVATAR_SPEC=Di;exports.BADGE_APPEARANCES=Ps;exports.BADGE_SIZES=xs;exports.BADGE_SPEC=Fi;exports.BADGE_TONES=Es;exports.BREADCRUMB_SPEC=ml;exports.BUTTON_SPEC=cl;exports.CALENDAR_SPEC=jl;exports.CALLOUT_SPEC=Zi;exports.CALLOUT_TONES=Ds;exports.CHECKBOX_SPEC=kl;exports.CHIP_APPEARANCES=Ms;exports.CHIP_SIZES=zs;exports.CHIP_SPEC=Oi;exports.CHIP_TONES=Ts;exports.COLLAPSIBLE_HEIGHT_VAR=ys;exports.COLLAPSIBLE_SPEC=zi;exports.CONTEXTMENU_SPEC=qn;exports.CONTROLLER_SPEC=ui;exports.ChromeComponent=To;exports.DATEINPUT_SPEC=on;exports.DEFAULT_TREE_PROPS=Ht;exports.EMPTYSTATE_SPEC=$l;exports.INPUT_SPEC=Ll;exports.LABEL_SPEC=ul;exports.MULTISELECT_SPEC=Sn;exports.NUMBERINPUT_SPEC=Bl;exports.Observable=Ys;exports.Overlay=pt;exports.PASSWORDINPUT_SPEC=zl;exports.POPOVER_SPEC=Ti;exports.POPUP_SPEC=hn;exports.PortalHost=kt;exports.RADIO_SPEC=Pl;exports.SCROLLAREA_SPEC=qi;exports.SEGMENT_TONES=_o;exports.SELECT_SPEC=vn;exports.SLIDER_SPEC=Nl;exports.SPLITPANE_SPEC=oi;exports.SlotHost=Mo;exports.TABLESELECT_SPEC=Un;exports.TAB_SPEC=Hl;exports.TAGINPUT_SPEC=An;exports.TEXTAREA_SPEC=Dl;exports.TIMEPICKER_SPEC=Ln;exports.TOAST_SPEC=$i;exports.TOGGLE_SPEC=hl;exports.TOOLTIP_SPEC=Pi;exports.TREESELECT_SPEC=ei;exports.Timer=gs;exports.breadcrumbTemplate=Zt;exports.buttonTemplate=at;exports.checkboxTemplate=$t;exports.circleLoader=Ut;exports.cn=M;exports.computeTooltipPlacement=ws;exports.createAvatar=Ss;exports.createBadge=Ls;exports.createBreadCrumb=Io;exports.createButton=Vo;exports.createCalendar=eo;exports.createCallout=Vs;exports.createCheckBox=Ho;exports.createChip=As;exports.createCollapsible=$s;exports.createContextMenu=rs;exports.createController=fs;exports.createDateInput=Jo;exports.createEmptyState=Oo;exports.createInput=Uo;exports.createLabel=Ro;exports.createMultiSelect=ss;exports.createNumberInput=Zo;exports.createPasswordInput=Go;exports.createPopover=bs;exports.createPopup=ts;exports.createRadio=No;exports.createScrollArea=ks;exports.createSelect=os;exports.createSlider=Qo;exports.createSplitPane=ms;exports.createTab=Xo;exports.createTableSelect=as;exports.createTagInput=is;exports.createTextArea=Yo;exports.createTimePicker=ns;exports.createToast=io;exports.createToggle=qo;exports.createTooltip=Cs;exports.createTreeSelect=hs;exports.createValidator=tl;exports.dayjs=Pe;exports.defaultEmptyStateMessages=Fo;exports.defineHeadless=ve;exports.dismissLayerCount=rl;exports.enUS=Zs;exports.generateUUID=zo;exports.iconArrowRight=Kt;exports.iconCheckBox=jt;exports.iconCheckBoxChecked=Xt;exports.iconCheckboxIndeterminate=Qt;exports.iconClose=jo;exports.iconFavorite=Gt;exports.iconFavoriteFilled=Yt;exports.iconInfo=Jt;exports.iconPasswordHidden=Wo;exports.iconPasswordVisible=Ko;exports.jaJP=Xs;exports.koKR=Bt;exports.labelClass=Wt;exports.labelTemplate=Be;exports.normalizeStyle=$e;exports.pickRest=ge;exports.pxToRem=Le;exports.registerDismissLayer=Nt;exports.registerForeignLayer=il;exports.registerSelfHandledLayer=ht;exports.shallowEqual=it;exports.spread=de;exports.toggleTemplate=Pt;exports.uniqueId=Xe;exports.useToast=yi;exports.zhCN=js;
2041
+ </div>`}}}}),Zi={name:"MozCallout",core:Vs,props:["tone","title","text","dismissible","dismissLabel","hideIcon","compact","live"],emits:["dismiss"],slots:["icon","heading","default"],expose:!1,syncUpdate:!0};exports.AVATAR_SPEC=Di;exports.BADGE_APPEARANCES=Ps;exports.BADGE_SIZES=xs;exports.BADGE_SPEC=Fi;exports.BADGE_TONES=Es;exports.BREADCRUMB_SPEC=ml;exports.BUTTON_SPEC=cl;exports.CALENDAR_SPEC=jl;exports.CALLOUT_SPEC=Zi;exports.CALLOUT_TONES=Ds;exports.CHECKBOX_SPEC=kl;exports.CHIP_APPEARANCES=Ms;exports.CHIP_SIZES=zs;exports.CHIP_SPEC=Oi;exports.CHIP_TONES=Ts;exports.COLLAPSIBLE_HEIGHT_VAR=ys;exports.COLLAPSIBLE_SPEC=zi;exports.CONTEXTMENU_SPEC=qn;exports.CONTROLLER_SPEC=ui;exports.ChromeComponent=To;exports.DATEINPUT_SPEC=on;exports.DEFAULT_TREE_PROPS=Ht;exports.EMPTYSTATE_SPEC=$l;exports.INPUT_SPEC=Ll;exports.LABEL_SPEC=ul;exports.MULTISELECT_SPEC=Sn;exports.NUMBERINPUT_SPEC=Bl;exports.Observable=Ys;exports.Overlay=mt;exports.PASSWORDINPUT_SPEC=zl;exports.POPOVER_SPEC=Ti;exports.POPUP_SPEC=hn;exports.PortalHost=kt;exports.RADIO_SPEC=Pl;exports.SCROLLAREA_SPEC=qi;exports.SEGMENT_TONES=_o;exports.SELECT_SPEC=vn;exports.SLIDER_SPEC=Nl;exports.SPLITPANE_SPEC=oi;exports.SlotHost=Mo;exports.TABLESELECT_SPEC=Un;exports.TAB_SPEC=Hl;exports.TAGINPUT_SPEC=An;exports.TEXTAREA_SPEC=Dl;exports.TIMEPICKER_SPEC=Ln;exports.TOAST_SPEC=$i;exports.TOGGLE_SPEC=hl;exports.TOOLTIP_SPEC=Pi;exports.TREESELECT_SPEC=ei;exports.Timer=gs;exports.breadcrumbTemplate=Zt;exports.buttonTemplate=dt;exports.checkboxTemplate=$t;exports.circleLoader=Ut;exports.cn=M;exports.computeTooltipPlacement=ws;exports.createAvatar=Ss;exports.createBadge=Ls;exports.createBreadCrumb=Io;exports.createButton=Vo;exports.createCalendar=eo;exports.createCallout=Vs;exports.createCheckBox=Ho;exports.createChip=As;exports.createCollapsible=$s;exports.createContextMenu=rs;exports.createController=fs;exports.createDateInput=Jo;exports.createEmptyState=Oo;exports.createInput=Uo;exports.createLabel=Ro;exports.createMultiSelect=ss;exports.createNumberInput=Zo;exports.createPasswordInput=Go;exports.createPopover=bs;exports.createPopup=ts;exports.createRadio=No;exports.createScrollArea=ks;exports.createSelect=os;exports.createSlider=Qo;exports.createSplitPane=ms;exports.createTab=Xo;exports.createTableSelect=as;exports.createTagInput=is;exports.createTextArea=Yo;exports.createTimePicker=ns;exports.createToast=io;exports.createToggle=qo;exports.createTooltip=Cs;exports.createTreeSelect=hs;exports.createValidator=tl;exports.dayjs=Pe;exports.defaultEmptyStateMessages=Fo;exports.defineHeadless=ve;exports.dismissLayerCount=rl;exports.enUS=Zs;exports.generateUUID=zo;exports.iconArrowRight=Kt;exports.iconCheckBox=jt;exports.iconCheckBoxChecked=Xt;exports.iconCheckboxIndeterminate=Qt;exports.iconClose=jo;exports.iconFavorite=Gt;exports.iconFavoriteFilled=Yt;exports.iconInfo=Jt;exports.iconPasswordHidden=Wo;exports.iconPasswordVisible=Ko;exports.jaJP=Xs;exports.koKR=Bt;exports.labelClass=Wt;exports.labelTemplate=Be;exports.normalizeStyle=$e;exports.pickRest=ge;exports.pxToRem=Le;exports.registerDismissLayer=Nt;exports.registerForeignLayer=il;exports.registerSelfHandledLayer=ft;exports.shallowEqual=it;exports.spread=de;exports.toggleTemplate=Pt;exports.uniqueId=Xe;exports.useToast=yi;exports.zhCN=js;
2042
2042
  //# sourceMappingURL=index.cjs.map